:root {
  --ink: #13314a;
  --ink-soft: #456176;
  --moss: #6e8e5d;
  --moss-deep: #4c6a3e;
  --amber: #d77433;
  --amber-soft: #f3c48c;
  --cream: #f7f1e7;
  --paper: rgba(255, 250, 244, 0.82);
  --line: rgba(19, 49, 74, 0.12);
  --shadow: 0 30px 80px rgba(19, 49, 74, 0.12);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: "Avenir Next", "Segoe UI", "Trebuchet MS", sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at top left, rgba(215, 116, 51, 0.18), transparent 34%),
    radial-gradient(circle at 82% 12%, rgba(110, 142, 93, 0.2), transparent 26%),
    linear-gradient(180deg, #fffaf3 0%, #f4ede1 54%, #efe4d1 100%);
}

body::before,
body::after {
  content: "";
  position: fixed;
  width: 26rem;
  height: 26rem;
  border-radius: 999px;
  filter: blur(22px);
  opacity: 0.38;
  pointer-events: none;
  z-index: 0;
  animation: drift 18s ease-in-out infinite;
}

body::before {
  top: -9rem;
  left: -8rem;
  background: rgba(215, 116, 51, 0.24);
}

body::after {
  right: -10rem;
  bottom: -11rem;
  background: rgba(110, 142, 93, 0.24);
  animation-delay: -8s;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  display: block;
}

.page-shell {
  position: relative;
  z-index: 1;
  overflow: hidden;
}

.site-header,
.hero,
.signal-bar,
.section,
.site-footer {
  width: min(1180px, calc(100% - 2rem));
  margin: 0 auto;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.6rem 0 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.9rem;
  font-size: 0.86rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.brand-mark {
  display: inline-grid;
  place-items: center;
  width: 2.7rem;
  height: 2.7rem;
  border-radius: 0.9rem;
  background:
    linear-gradient(135deg, rgba(110, 142, 93, 0.96), rgba(19, 49, 74, 0.94));
  box-shadow: 0 12px 32px rgba(19, 49, 74, 0.18);
  color: #fffaf3;
  font-family: "Iowan Old Style", "Palatino Linotype", "Book Antiqua", Georgia, serif;
  font-size: 1.28rem;
  letter-spacing: 0;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.1rem;
  flex-wrap: wrap;
  font-size: 0.95rem;
  color: var(--ink-soft);
}

.nav-links a {
  padding-bottom: 0.15rem;
  border-bottom: 1px solid transparent;
  transition: border-color 180ms ease, color 180ms ease;
}

.nav-links a:hover,
.nav-links a:focus-visible {
  color: var(--ink);
  border-color: rgba(19, 49, 74, 0.38);
  outline: none;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(20rem, 0.85fr);
  gap: 2.4rem;
  align-items: center;
  padding: 3.6rem 0 4.4rem;
}

.hero-copy,
.hero-panel,
.section,
.signal-bar {
  animation: rise 720ms ease both;
}

.hero-copy {
  animation-delay: 80ms;
}

.hero-panel {
  animation-delay: 180ms;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.5rem 0.95rem;
  border: 1px solid rgba(19, 49, 74, 0.08);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.54);
  color: var(--ink-soft);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  backdrop-filter: blur(12px);
}

.eyebrow::before {
  content: "";
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--amber), var(--moss));
  box-shadow: 0 0 0 0.2rem rgba(110, 142, 93, 0.12);
}

h1,
h2,
h3 {
  margin: 0;
  font-family: "Iowan Old Style", "Palatino Linotype", "Book Antiqua", Georgia, serif;
  font-weight: 700;
  letter-spacing: -0.03em;
}

h1 {
  margin-top: 1rem;
  max-width: 11ch;
  font-size: clamp(3.4rem, 7vw, 6.2rem);
  line-height: 0.92;
}

h2 {
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 0.96;
}

.lead,
.section-intro,
.cta-copy,
.contact-copy,
.signal-copy {
  margin: 0;
  max-width: 42rem;
  font-size: 1.1rem;
  line-height: 1.7;
  color: var(--ink-soft);
}

.lead {
  margin-top: 1.5rem;
}

.hero-actions,
.pill-list,
.hero-metrics {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.hero-actions {
  margin-top: 2rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  min-height: 3.3rem;
  padding: 0.8rem 1.35rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-size: 0.96rem;
  font-weight: 700;
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    border-color 180ms ease,
    background-color 180ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
  outline: none;
}

.button-primary {
  background: linear-gradient(135deg, var(--amber), #cb5d2c);
  color: #fffaf3;
  box-shadow: 0 18px 40px rgba(215, 116, 51, 0.26);
}

.button-primary:hover,
.button-primary:focus-visible {
  box-shadow: 0 24px 48px rgba(215, 116, 51, 0.3);
}

.button-secondary {
  border-color: rgba(19, 49, 74, 0.12);
  background: rgba(255, 255, 255, 0.56);
  color: var(--ink);
  backdrop-filter: blur(12px);
}

.button-secondary:hover,
.button-secondary:focus-visible {
  border-color: rgba(19, 49, 74, 0.24);
  box-shadow: 0 16px 34px rgba(19, 49, 74, 0.12);
}

.pill-list {
  margin-top: 1.45rem;
}

.pill {
  padding: 0.45rem 0.85rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.6);
  border: 1px solid rgba(19, 49, 74, 0.08);
  color: var(--ink-soft);
  font-size: 0.92rem;
}

.hero-panel {
  position: relative;
}

.panel-frame {
  position: relative;
  padding: 1.25rem;
  border-radius: 2rem;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.74), rgba(255, 250, 244, 0.5)),
    linear-gradient(135deg, rgba(110, 142, 93, 0.14), rgba(215, 116, 51, 0.16));
  border: 1px solid rgba(255, 255, 255, 0.65);
  box-shadow: var(--shadow);
  backdrop-filter: blur(22px);
}

.panel-frame::before {
  content: "";
  position: absolute;
  inset: -1.5rem auto auto -1.2rem;
  width: 5rem;
  height: 5rem;
  border-radius: 1.4rem;
  background: linear-gradient(135deg, rgba(243, 196, 140, 0.7), rgba(255, 255, 255, 0.2));
  filter: blur(2px);
  transform: rotate(18deg);
}

.panel-stack {
  display: grid;
  gap: 1rem;
}

.floating-card,
.metric-card,
.quote-card,
.service-card,
.step-card,
.contact-card,
.info-card,
.cta-panel {
  border-radius: 1.5rem;
  background: var(--paper);
  border: 1px solid rgba(255, 255, 255, 0.6);
  box-shadow: 0 18px 44px rgba(19, 49, 74, 0.08);
  backdrop-filter: blur(16px);
}

.floating-card {
  padding: 1.2rem 1.2rem 1.3rem;
  animation: drift 14s ease-in-out infinite;
}

.floating-card:nth-child(2) {
  animation-delay: -4s;
}

.floating-card:nth-child(3) {
  animation-delay: -7s;
}

.card-label {
  display: inline-block;
  margin-bottom: 0.65rem;
  color: var(--moss-deep);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.floating-card h3,
.metric-card strong,
.contact-card h3,
.info-card h3,
.service-card h3,
.step-card h3 {
  font-family: inherit;
  font-size: 1.18rem;
  letter-spacing: -0.01em;
}

.floating-card p,
.service-card p,
.step-card p,
.contact-card p,
.info-card p,
.quote-card p {
  margin: 0.55rem 0 0;
  color: var(--ink-soft);
  line-height: 1.7;
}

.signal-bar {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  padding-bottom: 4.2rem;
  animation-delay: 260ms;
}

.metric-card {
  padding: 1.25rem 1.2rem 1.3rem;
}

.metric-card strong {
  display: block;
  margin-bottom: 0.45rem;
  color: var(--ink);
}

.metric-card span {
  color: var(--ink-soft);
  line-height: 1.6;
}

.section {
  padding: 1.4rem 0 4.4rem;
}

.section-heading {
  display: grid;
  gap: 0.9rem;
  max-width: 44rem;
}

.section-grid,
.steps-grid,
.contact-grid {
  display: grid;
  gap: 1rem;
  margin-top: 2rem;
}

.section-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.steps-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.service-card,
.step-card,
.contact-card,
.info-card {
  padding: 1.4rem;
}

.service-card {
  min-height: 100%;
}

.service-card h3,
.step-card h3,
.contact-card h3,
.info-card h3 {
  margin-top: 0.15rem;
}

.step-number {
  display: inline-grid;
  place-items: center;
  width: 2.3rem;
  height: 2.3rem;
  border-radius: 999px;
  background: rgba(110, 142, 93, 0.16);
  color: var(--moss-deep);
  font-size: 0.88rem;
  font-weight: 700;
}

.quote-card,
.cta-panel {
  margin-top: 2rem;
  padding: 1.6rem;
}

.quote-card {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1rem;
  align-items: start;
}

.quote-mark {
  display: inline-grid;
  place-items: center;
  width: 2.8rem;
  height: 2.8rem;
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(110, 142, 93, 0.22), rgba(215, 116, 51, 0.18));
  font-family: "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  font-size: 1.8rem;
  color: var(--ink);
}

.quote-card p {
  margin-top: 0;
  font-size: 1.02rem;
}

.quote-credit {
  display: block;
  margin-top: 0.75rem;
  color: var(--moss-deep);
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.cta-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 1rem;
  align-items: center;
  background:
    linear-gradient(135deg, rgba(19, 49, 74, 0.94), rgba(71, 95, 56, 0.94)),
    linear-gradient(180deg, rgba(255, 255, 255, 0.2), transparent);
  color: #fffaf3;
}

.cta-panel .cta-copy {
  color: rgba(255, 250, 243, 0.8);
}

.contact-grid {
  grid-template-columns: minmax(0, 1.3fr) minmax(17rem, 0.9fr);
  align-items: start;
}

.contact-card a {
  color: var(--amber);
  font-weight: 700;
}

.contact-card small,
.info-card small {
  display: block;
  margin-top: 0.8rem;
  color: var(--ink-soft);
  line-height: 1.6;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  padding: 0 0 2.4rem;
  color: rgba(19, 49, 74, 0.72);
  font-size: 0.94rem;
}

.site-footer a {
  color: var(--ink);
}

.accent {
  color: var(--amber);
}

.contact-hero {
  padding-bottom: 2.6rem;
}

.contact-hero h1 {
  max-width: 12ch;
}

.contact-copy {
  margin-top: 1.5rem;
}

.contact-actions {
  margin-top: 2rem;
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(18px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes drift {
  0%,
  100% {
    transform: translate3d(0, 0, 0);
  }

  50% {
    transform: translate3d(0, -12px, 0);
  }
}

@media (max-width: 980px) {
  .hero,
  .contact-grid,
  .cta-panel,
  .signal-bar,
  .section-grid,
  .steps-grid {
    grid-template-columns: 1fr;
  }

  .site-header {
    align-items: flex-start;
    flex-direction: column;
  }

  .hero {
    padding-top: 2.7rem;
  }

  .quote-card {
    grid-template-columns: 1fr;
  }

  .cta-panel {
    align-items: start;
  }
}

@media (max-width: 640px) {
  .site-header,
  .hero,
  .signal-bar,
  .section,
  .site-footer {
    width: min(100% - 1.3rem, 1180px);
  }

  .hero {
    gap: 1.5rem;
    padding-bottom: 3.2rem;
  }

  .panel-frame,
  .service-card,
  .step-card,
  .contact-card,
  .info-card,
  .quote-card,
  .cta-panel {
    border-radius: 1.3rem;
  }

  .button {
    width: 100%;
  }

  .hero-actions {
    flex-direction: column;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}
