:root {
  --bg: #efe7da;
  --bg-deep: #d8ccb8;
  --surface: rgba(255, 252, 245, 0.7);
  --surface-strong: rgba(255, 252, 245, 0.9);
  --ink: #16241f;
  --ink-soft: #415149;
  --line: rgba(22, 36, 31, 0.14);
  --line-strong: rgba(22, 36, 31, 0.26);
  --accent: #c67d32;
  --accent-soft: rgba(198, 125, 50, 0.15);
  --forest: #10231d;
  --moss: #335246;
  --shadow: 0 24px 70px rgba(16, 35, 29, 0.08);
  --font-head: "Sora", sans-serif;
  --font-body: "IBM Plex Sans", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  background:
    radial-gradient(circle at top left, rgba(198, 125, 50, 0.12), transparent 36%),
    linear-gradient(180deg, #f6f0e7 0%, var(--bg) 38%, #e7decf 100%);
  color: var(--ink);
  line-height: 1.55;
}

img {
  max-width: 100%;
}

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

p {
  margin: 0;
}

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.shell {
  width: min(1200px, calc(100vw - 40px));
  margin: 0 auto;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -48px;
  background: var(--forest);
  color: #f8f4ed;
  padding: 10px 14px;
  border-radius: 999px;
  z-index: 100;
}

.skip-link:focus {
  top: 16px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(16px);
  background: rgba(246, 240, 231, 0.72);
  border-bottom: 1px solid rgba(16, 35, 29, 0.08);
}

.site-header.is-scrolled {
  background: rgba(246, 240, 231, 0.9);
  border-bottom-color: rgba(16, 35, 29, 0.14);
}

.nav-shell {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 76px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-head);
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.brand-mark {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), #efbb76);
  box-shadow: 0 0 0 6px var(--accent-soft);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 24px;
  font-size: 0.95rem;
  color: var(--ink-soft);
}

.site-nav a:not(.button) {
  position: relative;
}

.site-nav a:not(.button)::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 100%;
  height: 1px;
  background: var(--forest);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 180ms ease;
}

.site-nav a:not(.button):hover::after {
  transform: scaleX(1);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 600;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease, color 180ms ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button-primary {
  background: var(--forest);
  color: #f6f0e7;
  box-shadow: 0 16px 32px rgba(16, 35, 29, 0.18);
}

.button-primary:hover {
  background: #183028;
}

.button-secondary,
.button-ghost {
  border-color: rgba(16, 35, 29, 0.14);
  background: rgba(255, 252, 245, 0.42);
  color: var(--ink);
}

.button-secondary:hover,
.button-ghost:hover {
  border-color: rgba(16, 35, 29, 0.28);
  background: rgba(255, 252, 245, 0.7);
}

.hero {
  position: relative;
  overflow: clip;
  min-height: calc(100svh - 76px);
  padding: 56px 0 72px;
}

.hero-backdrop {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hero-grid,
.hero-orbit,
.hero-glow {
  position: absolute;
}

.hero-grid {
  inset: 0;
  background-image:
    linear-gradient(rgba(16, 35, 29, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(16, 35, 29, 0.08) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.9), rgba(0, 0, 0, 0.12));
}

.hero-orbit {
  width: min(58vw, 760px);
  aspect-ratio: 1;
  right: -10%;
  top: 5%;
  border-radius: 50%;
  border: 1px solid rgba(16, 35, 29, 0.16);
  box-shadow:
    inset 0 0 0 24px rgba(255, 252, 245, 0.25),
    inset 0 0 0 120px rgba(16, 35, 29, 0.03);
}

.hero-orbit::before,
.hero-orbit::after {
  content: "";
  position: absolute;
  inset: 11%;
  border-radius: 50%;
  border: 1px dashed rgba(16, 35, 29, 0.18);
}

.hero-orbit::after {
  inset: 29%;
  border-style: solid;
  border-color: rgba(198, 125, 50, 0.32);
}

.hero-glow-a {
  width: 440px;
  height: 440px;
  right: 18%;
  top: 10%;
  background: radial-gradient(circle, rgba(198, 125, 50, 0.23), transparent 70%);
}

.hero-glow-b {
  width: 560px;
  height: 560px;
  left: -6%;
  bottom: -16%;
  background: radial-gradient(circle, rgba(51, 82, 70, 0.22), transparent 72%);
}

.hero-shell {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(320px, 0.75fr);
  gap: 48px;
  align-items: end;
}

.hero-copy {
  max-width: 760px;
  padding-top: min(10svh, 90px);
}

.kicker,
.section-kicker,
.rail-label,
.brandline {
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.78rem;
  font-weight: 700;
}

.kicker,
.section-kicker,
.rail-label {
  color: var(--moss);
}

.brandline {
  margin-top: 10px;
  color: var(--accent);
}

h1,
h2,
h3 {
  margin: 0;
  font-family: var(--font-head);
  line-height: 1.02;
  letter-spacing: -0.04em;
}

h1 {
  margin-top: 20px;
  font-size: clamp(3rem, 7vw, 6rem);
  max-width: 13ch;
}

h2 {
  font-size: clamp(2rem, 4vw, 3.35rem);
}

h3 {
  font-size: clamp(1.35rem, 2vw, 1.8rem);
}

.hero-summary,
.section-intro p,
.service-copy p,
.approach-step p,
.proof-copy p,
.proof-list p,
.fit-panel p {
  color: var(--ink-soft);
  font-size: 1.08rem;
}

.hero-summary {
  margin-top: 24px;
  max-width: 58ch;
  font-size: clamp(1.08rem, 2vw, 1.25rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 32px;
}

.hero-proof {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.hero-proof li {
  padding: 10px 14px;
  border: 1px solid rgba(16, 35, 29, 0.14);
  border-radius: 999px;
  color: var(--ink-soft);
  background: rgba(255, 252, 245, 0.42);
}

.hero-rail {
  padding: 26px 0 0 30px;
  border-left: 1px solid rgba(16, 35, 29, 0.16);
  align-self: stretch;
  display: flex;
  flex-direction: column;
  justify-content: end;
}

.rail-group {
  display: grid;
  gap: 20px;
  margin-top: 18px;
}

.rail-item {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 14px;
  align-items: start;
  padding-top: 18px;
  border-top: 1px solid rgba(16, 35, 29, 0.12);
}

.rail-item h2 {
  font-size: 1.15rem;
  letter-spacing: -0.03em;
}

.rail-item p {
  margin-top: 8px;
  color: var(--ink-soft);
}

.rail-item strong {
  display: inline-block;
  margin-top: 10px;
  font-size: 0.95rem;
}

.rail-index {
  font-family: var(--font-head);
  color: var(--accent);
  font-weight: 700;
  font-size: 0.95rem;
}

.signal-band {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: rgba(255, 252, 245, 0.5);
}

.signal-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  padding: 20px 0;
}

.signal-grid p {
  color: var(--ink);
  font-weight: 500;
}

.section {
  padding: 110px 0;
}

.two-column,
.proof-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 460px);
  gap: 44px;
  align-items: start;
}

.section-intro,
.section-head {
  max-width: 760px;
}

.section-intro h2,
.section-head h2,
.proof-copy h2,
.cta-layout h2 {
  margin-top: 16px;
}

.section-intro p,
.proof-copy p {
  margin-top: 18px;
}

.fit-panel,
.proof-list {
  display: grid;
  gap: 18px;
}

.fit-panel > div,
.proof-list > div {
  padding: 18px 0;
  border-top: 1px solid var(--line);
}

.label {
  display: inline-block;
  margin-bottom: 8px;
  color: var(--accent);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.section-services {
  background:
    linear-gradient(180deg, rgba(255, 252, 245, 0.34), rgba(255, 252, 245, 0.58)),
    linear-gradient(90deg, transparent, rgba(198, 125, 50, 0.04), transparent);
}

.service-strip {
  display: grid;
  grid-template-columns: 100px minmax(0, 1.15fr) minmax(280px, 0.9fr);
  gap: 28px;
  padding: 28px 0;
  border-top: 1px solid var(--line-strong);
}

.service-strip:last-of-type {
  border-bottom: 1px solid var(--line-strong);
}

.service-meta {
  display: grid;
  gap: 6px;
  align-content: start;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.78rem;
  color: var(--moss);
}

.service-meta span {
  font-family: var(--font-head);
  font-size: 1rem;
  color: var(--accent);
}

.service-copy h3 {
  max-width: 16ch;
}

.service-copy p,
.service-detail p {
  margin-top: 14px;
}

.service-detail {
  padding-left: 20px;
  border-left: 1px solid var(--line);
}

.service-detail ul {
  display: grid;
  gap: 10px;
  margin-top: 16px;
}

.service-detail li {
  position: relative;
  padding-left: 18px;
  color: var(--ink-soft);
}

.service-detail li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 10px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
}

.service-detail strong {
  display: inline-block;
  margin-top: 18px;
}

.approach-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  margin-top: 34px;
}

.approach-step {
  min-height: 240px;
  padding: 24px;
  background: rgba(255, 252, 245, 0.55);
  border: 1px solid rgba(16, 35, 29, 0.1);
  box-shadow: var(--shadow);
}

.approach-step span {
  display: inline-block;
  color: var(--accent);
  font-family: var(--font-head);
  font-weight: 700;
  margin-bottom: 18px;
}

.approach-step h3 {
  margin-bottom: 12px;
}

.section-cta {
  padding-top: 70px;
}

.cta-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 32px;
  align-items: end;
  padding: 36px;
  background: var(--forest);
  color: #f6f0e7;
  border-radius: 28px;
  overflow: hidden;
  position: relative;
}

.cta-layout::after {
  content: "";
  position: absolute;
  inset: auto -10% -45% auto;
  width: 340px;
  height: 340px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(198, 125, 50, 0.45), transparent 68%);
  pointer-events: none;
}

.cta-layout .section-kicker {
  color: rgba(246, 240, 231, 0.72);
}

.cta-layout h2 {
  max-width: 16ch;
}

.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: flex-end;
}

.cta-actions .button-secondary {
  color: #f6f0e7;
  border-color: rgba(246, 240, 231, 0.18);
  background: rgba(255, 255, 255, 0.05);
}

.cta-actions .button-secondary:hover {
  background: rgba(255, 255, 255, 0.11);
}

.text-link {
  align-self: center;
  color: rgba(246, 240, 231, 0.85);
  text-decoration: underline;
  text-decoration-color: rgba(246, 240, 231, 0.3);
  text-underline-offset: 5px;
}

.site-footer {
  padding: 34px 0 48px;
}

.footer-shell {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  border-top: 1px solid var(--line);
  padding-top: 24px;
  color: var(--ink-soft);
}

.reveal,
.reveal-sequence {
  opacity: 0;
  transform: translateY(22px);
}

.reveal.is-visible,
.reveal-sequence.is-visible {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 720ms ease, transform 720ms ease;
}

.reveal-sequence:nth-child(1) {
  transition-delay: 0ms;
}

.reveal-sequence:nth-child(2) {
  transition-delay: 80ms;
}

.reveal-sequence:nth-child(3) {
  transition-delay: 160ms;
}

.reveal-sequence:nth-child(4) {
  transition-delay: 240ms;
}

.reveal-sequence:nth-child(5) {
  transition-delay: 320ms;
}

@media (max-width: 1080px) {
  .hero-shell,
  .two-column,
  .proof-layout,
  .service-strip,
  .cta-layout {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .hero-rail,
  .service-detail {
    padding-left: 0;
    border-left: 0;
  }

  .hero-rail {
    padding-top: 28px;
    border-top: 1px solid var(--line);
  }

  .signal-grid,
  .approach-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .cta-actions {
    justify-content: flex-start;
  }
}

@media (max-width: 760px) {
  .shell {
    width: min(100vw - 24px, 1200px);
  }

  .site-header {
    position: static;
  }

  .nav-shell,
  .site-nav,
  .footer-shell {
    flex-direction: column;
    align-items: flex-start;
  }

  .site-nav {
    gap: 14px;
    padding-bottom: 18px;
  }

  .hero {
    padding-top: 26px;
  }

  .hero-copy {
    padding-top: 12px;
  }

  .hero-orbit {
    width: 94vw;
    right: -34%;
    top: 16%;
  }

  .signal-grid,
  .approach-grid {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 78px 0;
  }

  .approach-step,
  .cta-layout {
    padding: 22px;
  }

  .hero-proof {
    gap: 8px;
  }

  .hero-proof li {
    width: 100%;
  }
}

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

  .button,
  .reveal,
  .reveal-sequence,
  .hero-orbit {
    transition: none !important;
    animation: none !important;
    transform: none !important;
  }

  .reveal,
  .reveal-sequence {
    opacity: 1 !important;
  }
}
