/* Celeris concept — "precision & altitude"
   Loaded after the production stylesheet so the concept can be reviewed locally. */

:root {
  --ink: #11130f;
  --ink-soft: #242720;
  --bone: #e9e2d3;
  --bone-deep: #dcd2bf;
  --cream: #f3eddf;
  --paper: #fbf7ec;
  --stone: #5f5a50;
  --stone-soft: #a39c8d;
  --line: #bdb4a2;
  --accent: #c45022;
  --accent-deep: #913311;
  --blue: #18394a;
  --green: #4c7b5e;
  --max: 1440px;
  --section-y: clamp(96px, 10vw, 168px);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --ease-spring: cubic-bezier(.2, .85, .25, 1.15);
  --section-progress: 0;
}

html { scroll-padding-top: 0; }
body {
  background: var(--cream);
  cursor: default;
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    linear-gradient(rgba(17, 19, 15, .022) 1px, transparent 1px),
    linear-gradient(90deg, rgba(17, 19, 15, .022) 1px, transparent 1px);
  background-size: 48px 48px;
}

.cursor-glow {
  --x: 50vw;
  --y: 50vh;
  position: fixed;
  inset: 0;
  z-index: 80;
  pointer-events: none;
  opacity: 0;
  background: radial-gradient(420px circle at var(--x) var(--y), rgba(196, 80, 34, .075), transparent 66%);
  transition: opacity .4s ease;
}
@media (hover: hover) and (pointer: fine) {
  body:hover .cursor-glow { opacity: 1; }
}

.grain {
  opacity: .03;
  mix-blend-mode: soft-light;
}

/* Navigation */
.nav {
  height: 78px;
  color: var(--paper);
  border: 0;
  transition: height .45s var(--ease-out), color .35s, background .35s, border-color .35s;
}
.nav.is-stuck,
.nav.is-menu-open {
  height: 66px;
  color: var(--ink);
  background: rgba(243, 237, 223, .82);
  border-bottom-color: rgba(17, 19, 15, .14);
  box-shadow: 0 8px 30px rgba(17, 19, 15, .05);
  backdrop-filter: blur(18px) saturate(1.15);
}
.nav__inner {
  height: 100%;
  grid-template-columns: auto 1fr;
}
.logo__mark { color: currentColor; }
.logo__monogram { width: 29px; height: 32px; overflow: visible; }
.logo__monogram path:last-child { color: var(--accent); }
.logo__word { font-size: 26px; }
.nav__links a { font-size: 12px; letter-spacing: .01em; }
.nav__links a::after { background: currentColor; }
.nav__links a.is-active::after { transform: scaleX(1); }
.nav:not(.is-stuck):not(.is-menu-open) .language button { color: rgba(251,247,236,.58); }
.nav:not(.is-stuck):not(.is-menu-open) .language button.is-active { color: var(--paper); }
.nav:not(.is-stuck):not(.is-menu-open) .nav__access { background: rgba(255,255,255,.07); border-color: rgba(255,255,255,.2); }
.nav:not(.is-stuck):not(.is-menu-open) .nav__cta { color: var(--ink); background: var(--paper); }
.scroll-progress {
  position: absolute;
  left: 0;
  bottom: -1px;
  width: var(--scroll, 0%);
  height: 2px;
  background: var(--accent);
  transition: width .08s linear;
}

/* Shared controls */
.btn {
  position: relative;
  overflow: hidden;
  min-height: 50px;
  padding: 12px 22px;
  border-radius: 999px;
  transition: color .35s, background .35s, border-color .35s, transform .35s var(--ease-out);
}
.btn::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--accent);
  transform: translateY(104%);
  transition: transform .45s var(--ease-out);
}
.btn:hover::before { transform: translateY(0); }
.btn > * { position: relative; z-index: 1; }
.btn--primary:hover,
.btn--ghost:hover,
.btn--outline:hover { color: var(--paper); border-color: var(--accent); background: var(--ink); }
.btn--small { min-height: 40px; padding-block: 8px; }
.text-link { transition: color .25s, transform .35s var(--ease-out); }
.text-link:hover { transform: translateX(5px); }

/* Hero */
.hero {
  min-height: max(820px, 100svh);
  padding-top: 116px;
  color: var(--paper);
  background:
    radial-gradient(circle at 82% 22%, rgba(65, 101, 89, .3), transparent 26%),
    radial-gradient(circle at 18% 85%, rgba(196, 80, 34, .12), transparent 30%),
    #10130f;
  isolation: isolate;
}
.hero::before {
  width: min(64vw, 920px);
  height: min(64vw, 920px);
  top: -34vw;
  left: 54%;
  border: 1px solid rgba(255,255,255,.06);
  border-radius: 50%;
  background: transparent;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  opacity: .24;
  background-image: linear-gradient(90deg, transparent 49.9%, rgba(255,255,255,.12) 50%, transparent 50.1%);
  background-size: 25% 100%;
  mask-image: linear-gradient(to bottom, black, transparent 88%);
}
.hero__terrain {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: -2;
  opacity: .58;
}
.hero__orb {
  position: absolute;
  z-index: -1;
  border-radius: 50%;
  filter: blur(1px);
  pointer-events: none;
}
.hero__orb--one {
  width: 10px;
  height: 10px;
  right: 18%;
  top: 24%;
  background: var(--accent);
  box-shadow: 0 0 0 10px rgba(196,80,34,.08), 0 0 50px 16px rgba(196,80,34,.18);
  animation: orbitFloat 7s ease-in-out infinite;
}
.hero__orb--two {
  width: 5px;
  height: 5px;
  right: 41%;
  bottom: 18%;
  background: #6da47c;
  box-shadow: 0 0 0 8px rgba(109,164,124,.08), 0 0 32px 12px rgba(109,164,124,.13);
  animation: orbitFloat 9s ease-in-out -2s infinite reverse;
}
.hero__grid {
  position: relative;
  z-index: 1;
  min-height: calc(100svh - 116px);
}
.hero__eyebrow {
  color: rgba(251,247,236,.7);
  border-bottom-color: rgba(251,247,236,.18);
}
.hero__eyebrow-place { color: rgba(251,247,236,.42); }
.status-dot {
  background: #6da47c;
  box-shadow: 0 0 0 5px rgba(109,164,124,.1), 0 0 18px rgba(109,164,124,.45);
}
.hero__title {
  max-width: 1350px;
  margin-top: clamp(36px, 5vh, 74px);
  font-size: clamp(72px, 9.3vw, 148px);
  line-height: .82;
  letter-spacing: -.068em;
  text-wrap: balance;
}
.hero__title > span,
.hero__title > em {
  display: block;
  opacity: 0;
  filter: blur(10px);
  transform: translateY(45px);
  animation: heroEnter 1.1s var(--ease-out) forwards;
}
.hero__title > em {
  margin-top: .08em;
  padding: 0;
  color: #d86532;
  animation-delay: .12s;
}
.hero__content {
  margin-top: clamp(42px, 6vh, 82px);
  grid-template-columns: minmax(0, 1.08fr) minmax(410px, .92fr);
  gap: clamp(55px, 9vw, 150px);
}
.hero__content--editorial {
  grid-template-columns: minmax(0, 760px);
  justify-content: start;
}
.hero__content--editorial .hero__copy { width: 100%; }
.hero__content--editorial .hero__lede { max-width: 720px; }
.hero__copy { align-self: center; }
.hero__lede {
  max-width: 560px;
  color: rgba(251,247,236,.72);
  font-size: clamp(17px, 1.4vw, 21px);
}
.hero__actions { margin-top: 32px; }
.hero__actions .btn--primary {
  color: var(--ink);
  background: var(--paper);
}
.hero__actions .btn--ghost {
  color: var(--paper);
  border-color: rgba(255,255,255,.28);
}
.hero__promises { gap: 12px 24px; margin-top: 28px; }
.hero__promises li { color: rgba(251,247,236,.5); }
.promise-mark { color: #d86532; }

.control-card {
  --rx: 0deg;
  --ry: 0deg;
  width: 100%;
  max-width: 560px;
  justify-self: end;
  border: 1px solid rgba(255,255,255,.18);
  background: linear-gradient(135deg, rgba(255,255,255,.095), rgba(255,255,255,.025));
  box-shadow: 0 30px 90px rgba(0,0,0,.28);
  backdrop-filter: blur(14px);
  transform: perspective(900px) rotateX(var(--rx)) rotateY(var(--ry));
  transform-style: preserve-3d;
  transition: transform .18s ease-out, border-color .35s;
}
.control-card:hover { border-color: rgba(255,255,255,.35); }
.control-card__head {
  min-height: 58px;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(255,255,255,.14);
  color: rgba(251,247,236,.52);
  font-size: 8px;
}
.control-card__live { display: flex; align-items: center; gap: 7px; color: #80bb90; font: 500 8px var(--mono); }
.control-card__live i { width: 6px; height: 6px; border-radius: 50%; background: currentColor; box-shadow: 0 0 14px currentColor; animation: pulse 2s infinite; }
.control-card__radar {
  width: min(58%, 260px);
  aspect-ratio: 1;
  margin: 30px auto;
  position: relative;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background:
    linear-gradient(rgba(255,255,255,.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.08) 1px, transparent 1px);
  background-size: 25% 25%;
  overflow: hidden;
}
.radar__ring {
  position: absolute;
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 50%;
}
.radar__ring--1 { inset: 10%; }
.radar__ring--2 { inset: 26%; }
.radar__ring--3 { inset: 42%; }
.radar__sweep {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: conic-gradient(from 0deg, transparent 0 76%, rgba(196,80,34,.28) 94%, rgba(196,80,34,.55));
  animation: radarSpin 7s linear infinite;
}
.radar__core {
  position: relative;
  z-index: 2;
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255,255,255,.5);
  border-radius: 50%;
  color: var(--paper);
  background: rgba(16,19,15,.8);
  font: 450 21px var(--serif);
  box-shadow: 0 0 40px rgba(196,80,34,.2);
}
.radar__point { position: absolute; z-index: 3; width: 5px; height: 5px; border-radius: 50%; background: #d86532; box-shadow: 0 0 12px #d86532; }
.radar__point--1 { top: 27%; left: 30%; }
.radar__point--2 { right: 17%; bottom: 35%; animation: pointBlink 2.5s infinite; }
.radar__point--3 { left: 38%; bottom: 15%; animation: pointBlink 2.5s .8s infinite; }
.control-card__areas {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-block: 1px solid rgba(255,255,255,.14);
}
.control-card__areas > span {
  min-width: 0;
  padding: 14px 10px;
  display: flex;
  flex-direction: column;
  border-right: 1px solid rgba(255,255,255,.12);
}
.control-card__areas > span:last-child { border: 0; }
.control-card__areas i { color: #d86532; font: normal 7px var(--mono); }
.control-card__areas b { margin-top: 8px; overflow: hidden; text-overflow: ellipsis; font-size: 10px; font-weight: 500; }
.control-card__areas em { color: rgba(251,247,236,.4); font: 400 7px var(--sans); }
.control-card__cta {
  width: 100%;
  padding: 18px 20px;
  display: flex;
  justify-content: space-between;
  color: var(--paper);
  text-align: left;
  font-size: 12px;
  transition: background .3s, padding .35s var(--ease-out);
}
.control-card__cta:hover { padding-inline: 26px; background: var(--accent); }
.hero__signature { color: rgba(251,247,236,.38); }
.hero__signature > span:nth-child(2) { background: rgba(251,247,236,.16); }
.hero__scroll {
  position: absolute;
  right: 0;
  bottom: 36px;
  display: flex;
  align-items: center;
  gap: 12px;
  color: rgba(251,247,236,.45);
  font-size: 8px;
  writing-mode: vertical-rl;
}
.hero__scroll i { width: 1px; height: 52px; background: rgba(251,247,236,.28); overflow: hidden; }
.hero__scroll i::after {
  content: "";
  display: block;
  width: 1px;
  height: 18px;
  background: var(--accent);
  animation: scrollLine 2.2s ease-in-out infinite;
}

/* Proof strip */
.proof-bar {
  padding: 0 var(--gutter);
  background: var(--cream);
  border-bottom: 1px solid var(--line);
}
.proof-bar__inner {
  max-width: var(--max);
  margin: auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
.proof-bar span {
  min-height: 150px;
  padding: 32px clamp(18px, 3vw, 42px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  border-right: 1px solid var(--line);
}
.proof-bar span:first-child { border-left: 1px solid var(--line); }
.proof-bar strong { font: 430 clamp(34px, 4vw, 58px)/1 var(--serif); letter-spacing: -.04em; }
.proof-bar small { margin-top: 9px; color: var(--stone); font-size: 10px; }

/* Editorial statement */
.statement {
  position: relative;
  overflow: clip;
  color: var(--ink);
  background: var(--cream);
  border-bottom: 1px solid var(--line);
}
.statement::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: .45;
  background: radial-gradient(circle at 84% 50%, rgba(196,80,34,.14), transparent 31%);
}
.statement__inner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(220px, .3fr);
  gap: clamp(48px, 8vw, 130px);
  align-items: center;
}
.statement__copy { min-width: 0; }
.statement__quote { max-width: 1060px; font-size: clamp(42px, 5.6vw, 82px); line-height: .99; }
.statement__quote em { color: var(--accent); }
.statement__text { color: var(--stone); }
.statement__signal {
  min-height: 410px;
  padding: 36px 0 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: flex-end;
  border-left: 1px solid var(--line);
}
.statement__signal svg {
  width: min(100%, 270px);
  margin: auto;
  filter: drop-shadow(0 30px 40px rgba(17,19,15,.08));
  transform: rotate(calc((var(--section-progress) - .5) * 8deg));
  transition: transform .15s linear;
}
.statement__signal .signal-c { stroke: var(--ink); stroke-width: 10; stroke-linecap: round; }
.statement__signal .signal-lines { stroke: var(--accent); stroke-width: 7; stroke-linecap: round; }
.statement__signal span { color: var(--stone); font-size: 9px; line-height: 1.7; text-align: right; }

/* Kinetic chapter dividers: visual punctuation between long-form sections. */
.chapter-transition {
  --chapter-bg: var(--paper);
  --chapter-fg: var(--ink);
  --chapter-accent: var(--accent);
  width: 100%;
  overflow: hidden;
  color: var(--chapter-fg);
  background: var(--chapter-bg);
  border-block: 1px solid color-mix(in srgb, var(--chapter-fg) 20%, transparent);
}
.chapter-transition > div {
  width: max-content;
  min-width: 180%;
  padding: clamp(21px, 2.4vw, 36px) 0;
  display: flex;
  align-items: center;
  gap: clamp(24px, 4vw, 70px);
  font: 400 clamp(21px, 3vw, 44px)/1 var(--serif);
  letter-spacing: -.035em;
  white-space: nowrap;
  transform: translate3d(calc(var(--marquee-shift, 0) * -1px),0,0);
  will-change: transform;
}
.chapter-transition i { color: var(--chapter-accent); font: 500 .38em var(--mono); letter-spacing: .12em; }
.chapter-transition--dark { --chapter-bg: var(--ink); --chapter-fg: var(--paper); }
.chapter-transition--accent { --chapter-bg: var(--accent); --chapter-fg: var(--paper); --chapter-accent: var(--ink); }

/* Situation pathfinder */
.audiences { background: var(--bone); }
.section-head > p { max-width: 510px; }
.pathfinder {
  display: grid;
  grid-template-columns: minmax(250px, .52fr) minmax(0, 1.48fr);
  border: 1px solid var(--ink);
  background: var(--cream);
  min-height: 570px;
}
.pathfinder__nav {
  display: flex;
  flex-direction: column;
  border-right: 1px solid var(--ink);
}
.pathfinder__nav button {
  flex: 1;
  min-height: 110px;
  padding: 24px;
  display: grid;
  grid-template-columns: 28px 1fr 18px;
  gap: 12px;
  align-items: center;
  border-bottom: 1px solid var(--line);
  text-align: left;
  transition: color .35s, background .35s;
}
.pathfinder__nav button:last-child { border-bottom: 0; }
.pathfinder__nav button span { color: var(--accent); font: 500 9px var(--mono); }
.pathfinder__nav button b { font-size: 11px; font-weight: 520; letter-spacing: .04em; }
.pathfinder__nav button i { font-style: normal; transition: transform .35s var(--ease-out); }
.pathfinder__nav button:hover i { transform: translate(3px,-3px); }
.pathfinder__nav button[aria-selected="true"] { color: var(--paper); background: var(--ink); }
.pathfinder__stage { min-width: 0; position: relative; overflow: hidden; }
.path-panel {
  min-height: 570px;
  padding: clamp(34px, 5vw, 72px);
  position: relative;
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: clamp(35px, 6vw, 90px);
  align-content: center;
  background:
    radial-gradient(circle at 82% 18%, rgba(196,80,34,.13), transparent 27%),
    var(--cream);
}
.path-panel[hidden] { display: none; }
.path-panel.is-entering { animation: panelIn .55s var(--ease-out); }
.path-panel__index {
  position: absolute;
  right: 32px;
  top: 14px;
  color: rgba(17,19,15,.06);
  font: 320 clamp(100px, 16vw, 230px)/1 var(--serif);
  pointer-events: none;
}
.path-panel > div:not(.path-panel__detail) { position: relative; z-index: 1; align-self: center; }
.path-panel > div:not(.path-panel__detail) > p { color: var(--accent); font-size: 8px; }
.path-panel h3 { max-width: 640px; margin-top: 22px; font: 430 clamp(42px, 5vw, 76px)/.98 var(--serif); letter-spacing: -.048em; }
.path-panel__detail { position: relative; z-index: 1; align-self: end; }
.path-panel__detail > p { color: var(--stone); font-size: 14px; }
.path-panel__detail ul { margin-top: 25px; border-top: 1px solid var(--line); }
.path-panel__detail li { padding: 11px 0; border-bottom: 1px solid var(--line); font-size: 11px; }
.path-panel__detail li::before { content: "↳"; margin-right: 10px; color: var(--accent); }
.path-panel__detail .text-link { width: 100%; margin-top: 35px; padding-top: 0; }

/* Services — structured practice directory */
.services {
  background:
    radial-gradient(circle at 75% 5%, rgba(196,80,34,.1), transparent 24%),
    var(--ink);
}
.service-index {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border: 1px solid rgba(255,255,255,.2);
}
.service-index a {
  min-height: 132px;
  padding: 22px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border-right: 1px solid rgba(255,255,255,.16);
  transition: color .3s, background .3s;
}
.service-index a:last-child { border-right: 0; }
.service-index a:hover { color: var(--ink); background: var(--paper); }
.service-index span { color: #d86532; font: 500 9px var(--mono); }
.service-index b { max-width: 170px; font-size: 13px; font-weight: 500; line-height: 1.35; }
.service-catalog { margin-top: clamp(65px, 9vw, 130px); }
.service-cluster {
  display: grid;
  grid-template-columns: minmax(250px, .7fr) minmax(0, 1.3fr);
  gap: clamp(45px, 8vw, 120px);
  padding: clamp(54px, 7vw, 95px) 0;
  border-top: 1px solid rgba(255,255,255,.2);
  scroll-margin-top: 80px;
}
.service-cluster:last-child { padding-bottom: 0; }
.service-cluster__head {
  position: sticky;
  top: 105px;
  height: fit-content;
  display: grid;
  grid-template-columns: 50px 1fr;
  gap: 20px;
}
.service-cluster__head > span { padding-top: 8px; color: #d86532; font-size: 8px; }
.service-cluster__head h3 { font: 400 clamp(34px, 3.4vw, 53px)/1 var(--serif); letter-spacing: -.04em; }
.service-cluster__head p { max-width: 360px; margin-top: 18px; color: #918b79; font-size: 13px; }
.service-cluster__grid { border-top: 1px solid rgba(255,255,255,.18); }
.service-card {
  position: relative;
  min-height: 280px;
  padding: 30px 46px 28px 68px;
  display: grid;
  grid-template-columns: minmax(190px, .75fr) minmax(230px, 1.25fr);
  gap: 8px 45px;
  align-content: start;
  border-bottom: 1px solid rgba(255,255,255,.18);
  transition: background .35s;
}
.service-card:hover { background: rgba(255,255,255,.035); }
.service-card__number { position: absolute; top: 35px; left: 0; color: #d86532; font: 500 8px var(--mono); }
.service-card h4 { font: 420 clamp(24px, 2.4vw, 34px)/1.05 var(--serif); letter-spacing: -.025em; }
.service-card > p:not(.service-card__scope) { color: #b0aa9b; font-size: 13px; }
.service-card__scope {
  grid-column: 2;
  margin-top: 25px;
  padding-top: 17px;
  border-top: 1px solid rgba(255,255,255,.12);
  color: #837e72;
  font: 500 8px/1.8 var(--mono);
  text-transform: uppercase;
}
.service-card button {
  grid-column: 2;
  width: 100%;
  margin-top: 24px;
  padding-top: 16px;
  display: flex;
  justify-content: space-between;
  border-top: 1px solid rgba(255,255,255,.12);
  color: var(--paper);
  font-size: 11px;
  text-align: left;
  transition: color .25s, padding .3s;
}
.service-card button i { color: #d86532; font-style: normal; }
.service-card button:hover { padding-inline: 8px; color: #e8733d; }
.service-card--accent { background: rgba(196,80,34,.09); }

/* Pricing — details on demand */
.pricing { background: var(--cream); }
.plans { border-color: var(--ink); }
.plan {
  min-height: 390px;
  padding: 28px;
  transition: color .35s, background .35s, transform .45s var(--ease-out);
}
.plan:hover { background: rgba(255,255,255,.32); }
.plan--featured {
  color: var(--paper);
  background: var(--blue);
  transform: translateY(-10px);
}
.plan header p { min-height: 42px; }
.plan__price { margin-bottom: 14px; }
.plan__toggle {
  width: 100%;
  padding: 11px 0;
  display: flex;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
  font-size: 10px;
}
.plan__toggle i { color: var(--accent); font: normal 18px var(--sans); }
.plan ul {
  max-height: 0;
  margin: 0;
  opacity: 0;
  overflow: hidden;
  transition: max-height .45s var(--ease-out), opacity .3s, margin .35s;
}
.plan.is-open ul { max-height: 190px; margin: 16px 0 22px; opacity: 1; }
.plan .btn { margin-top: auto; }
.orientative {
  padding: 0 clamp(20px, 3vw, 45px);
  border: 1px solid var(--ink);
}
.orientative > header { border-bottom-color: var(--ink); }
.orientative__all > summary { display: none; }

/* Sofia, process and portal */
.sofia {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 78% 30%, rgba(100,155,127,.18), transparent 25%),
    linear-gradient(135deg, #173546, #0e2937);
}
.sofia::before {
  content: "";
  position: absolute;
  width: 560px;
  height: 560px;
  right: -180px;
  top: -230px;
  border: 1px solid rgba(255,255,255,.09);
  border-radius: 50%;
  box-shadow: 0 0 0 80px rgba(255,255,255,.025), 0 0 0 160px rgba(255,255,255,.018);
}
.sofia__demo {
  position: relative;
  z-index: 1;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 35px 90px rgba(0,0,0,.35);
  transform: rotate(1.2deg);
  transition: transform .55s var(--ease-out);
}
.sofia__demo:hover { transform: rotate(0) translateY(-7px); }
.sofia__message { border-radius: 0 14px 14px 14px; }
.sofia__message--user { border-radius: 14px 0 14px 14px; }

.process { background: var(--cream); }
.process__steps { position: relative; }
.process__steps::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 3px;
  height: var(--process, 0%);
  background: var(--accent);
  transition: height .5s var(--ease-out);
}
.process__steps li {
  opacity: .4;
  transition: opacity .4s, padding-left .45s var(--ease-out), background .4s;
}
.process__steps li.is-current {
  padding-left: 24px;
  opacity: 1;
  background: rgba(196,80,34,.035);
}
.process__steps li.is-past { opacity: .78; }

.portal { background: #ddd4c1; }
.portal__mock {
  --rx: 0deg;
  --ry: 0deg;
  transform: perspective(1200px) rotateX(var(--rx)) rotateY(var(--ry)) rotate(-1deg);
  transition: transform .2s ease-out;
  border: 1px solid rgba(17,19,15,.12);
  box-shadow: 0 45px 100px rgba(17,19,15,.2);
}
.portal__progress i { animation: portalProgress 3s var(--ease-out) infinite alternate; }
.portal__cards article { transition: transform .35s var(--ease-out), box-shadow .35s; }
.portal__cards article:hover { transform: translateY(-5px); box-shadow: 0 12px 24px rgba(17,19,15,.08); }

/* Trust — one story at a time */
.trust { background: var(--cream); }
.trust__principles article {
  transition: color .35s, background .35s;
}
.trust__principles article:hover { color: var(--paper); background: var(--ink); }
.trust__principles article:hover p { color: rgba(251,247,236,.58); }
.trust__stories {
  min-height: 410px;
  position: relative;
  display: block;
  background: var(--bone);
  overflow: hidden;
}
.trust__stories-nav {
  min-height: 62px;
  padding: 0 22px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--line);
}
.trust__stories-nav > span { color: var(--stone); font-size: 8px; }
.trust__stories-nav div { display: flex; }
.trust__stories-nav button {
  width: 42px;
  height: 42px;
  border-left: 1px solid var(--line);
  transition: color .25s, background .25s;
}
.trust__stories-nav button:last-child { border-right: 1px solid var(--line); }
.trust__stories-nav button:hover { color: var(--paper); background: var(--accent); }
.trust__stories figure {
  min-height: 345px;
  padding: clamp(32px, 5vw, 70px);
  border: 0;
}
.trust__stories figure[hidden] { display: none; }
.trust__stories figure.is-entering { animation: storyIn .55s var(--ease-out); }
.trust__stories blockquote { max-width: 1000px; margin-top: 25px; }

.faq__list details { transition: background .25s, padding .35s var(--ease-out); }
.faq__list details[open] { padding-left: 18px; background: rgba(255,255,255,.28); }
.faq__list p { animation: faqIn .35s var(--ease-out); }
.contact {
  background:
    radial-gradient(circle at 20% 10%, rgba(196,80,34,.13), transparent 25%),
    var(--ink);
}

/* Give each chapter a distinct edge while keeping a coherent continuous canvas. */
.audiences,
.pricing,
.process,
.trust,
.faq { position: relative; }
.audiences::before,
.pricing::before,
.process::before,
.trust::before {
  content: attr(data-chapter-index);
  position: absolute;
  top: 28px;
  right: var(--gutter);
  color: color-mix(in srgb, var(--stone) 45%, transparent);
  font: 500 8px var(--mono);
  letter-spacing: .12em;
}
.section-head h2 { text-wrap: balance; }
.section-head > p { color: #5f5a50; }
.section-kicker { color: var(--accent-deep); }
.proof-bar small,
.statement__text,
.trust__stories figcaption,
.footer__brand p,
.footer__top h3,
.footer__bottom { color: #5f5a50; }

/* Richer reveal choreography, composited to avoid layout work. */
.reveal[data-reveal-kind="line"] { clip-path: inset(0 100% 0 0); transform: none; filter: none; }
.reveal[data-reveal-kind="line"].in { clip-path: inset(0 0 0 0); }
.section-head.reveal h2,
.statement__copy.reveal .statement__quote {
  transform: translateY(24px);
  transition: transform 1s var(--ease-out);
}
.section-head.reveal.in h2,
.statement__copy.reveal.in .statement__quote { transform: translateY(0); }
.plan,
.trust__principles article,
.portal__cards article { transform-origin: 50% 100%; }
.pathfinder__nav button > span,
.plan header > .mono,
.trust__principles article > span,
.trust__stories figure > .mono,
.portal__cards article > span { color: var(--accent-deep); }
.pathfinder__nav button[aria-selected="true"] > span,
.plan--featured header > .mono { color: #ef8b5d; }
.plan--featured .plan__price > span,
.plan--featured .plan__price > small { color: #d8e1e5; }
.plan__badge { background: var(--accent-deep); }
.trust__principles article p,
.plan header p,
.plan__price > span,
.plan__price small { color: #5f5a50; }
.plan--featured header > p { color: #d8e1e5; }
.sofia__online > span { color: #315d43; }
.process__steps > li > .mono,
.lead-form__head > .mono { color: var(--accent-deep); }
.lead-form {
  border-radius: 18px;
  box-shadow: 0 30px 90px rgba(0,0,0,.24);
}
.lead-form input:not([type="checkbox"]),
.lead-form textarea,
.lead-form select { transition: border-color .25s, background .25s, transform .25s; }
.lead-form input:focus,
.lead-form textarea:focus,
.lead-form select:focus { background: var(--paper); transform: translateY(-1px); }

/* Chat */
.chat-fab {
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 999px;
  box-shadow: 0 15px 40px rgba(0,0,0,.24);
  backdrop-filter: blur(12px);
}
.drawer__panel { box-shadow: -30px 0 90px rgba(0,0,0,.2); }

/* Reading scale — larger body copy without flattening the hierarchy */
body { font-size: 17px; }
.nav__links a { font-size: 13px; }
.section-head > p { font-size: clamp(17px, 1.45vw, 20px); }
.hero__lede { font-size: clamp(18px, 1.5vw, 22px); }
.hero__promises li { font-size: 13px; }
.proof-bar small { font-size: 12px; }
.pathfinder__nav button b { font-size: 14px; }
.path-panel > div:not(.path-panel__detail) > p { font-size: 10px; }
.path-panel > .path-panel__detail > p { max-width: 540px; font-size: 19px; line-height: 1.55; }
.path-panel__detail li { padding-block: 14px; font-size: 15px; }
.path-panel__detail .text-link { font-size: 16px; }
.service-index b { font-size: 16px; }
.service-cluster__head p { font-size: 17px; line-height: 1.6; }
.service-card > p:not(.service-card__scope) { font-size: 18px; line-height: 1.55; }
.service-card__scope { font-size: 12px; line-height: 1.75; }
.service-card button { font-size: 15px; }
.sofia__intro li strong { font-size: 14px; }
.sofia__intro li small { font-size: 13px; }
.sofia__message { padding: 14px 16px; font-size: 14px; line-height: 1.55; }
.sofia__demo > button { font-size: 14px; }
.sofia__demo > p { font-size: 9px; }
.process__steps p { font-size: 15px; }
.portal__access strong { font-size: 14px; }
.portal__access small { font-size: 12px; }
.trust__principles p { font-size: 14px; }
.trust__stories figcaption { font-size: 12px; }
.faq__list summary { min-height: 80px; font-size: 16px; }
.faq__list p { font-size: 15px; }
.contact__copy > p:not(.section-kicker) { font-size: 18px; }
.contact__channels a,
.contact__channels b { font-size: 14px; }
.lead-form label > span { font-size: 12px; }
.lead-form input:not([type="checkbox"]),
.lead-form textarea,
.lead-form select { font-size: 15px; }
.lead-form__consent span { font-size: 11px !important; }
.field-error { font-size: 11px; }
.lead-form__status { font-size: 12px; }
.footer__brand p { max-width: 320px; font-size: 14px; }
.footer__top a,
.footer__top button,
.footer__top span { font-size: 13px; }
.footer__bottom { font-size: 9px; }
.chat-fab strong { font-size: 12px; }
.chat-fab small { font-size: 9px; }
.msg { padding: 13px 15px; font-size: 14px; }
.drawer__suggested button { padding: 8px 10px; font-size: 11px; }
.drawer__compose textarea { font-size: 14px; }
.drawer__compose small { font-size: 9px; }

/* Motion system */
.reveal {
  opacity: 0;
  filter: blur(7px);
  transform: translateY(35px) scale(.985);
  animation: revealFallback 0s 2.2s forwards;
  transition:
    opacity .8s var(--ease-out),
    filter .8s var(--ease-out),
    transform .8s var(--ease-out);
}
.reveal.in { opacity: 1; filter: blur(0); transform: none; animation: none; }
.reveal:nth-child(2) { transition-delay: .07s; }
.reveal:nth-child(3) { transition-delay: .14s; }
.reveal:nth-child(4) { transition-delay: .21s; }

@keyframes heroEnter {
  to { opacity: 1; filter: blur(0); transform: translateY(0); }
}
@keyframes radarSpin { to { transform: rotate(1turn); } }
@keyframes pointBlink { 50% { opacity: .2; } }
@keyframes orbitFloat { 50% { transform: translate(18px, -25px); } }
@keyframes scrollLine {
  0% { transform: translateY(-20px); opacity: 0; }
  30%, 70% { opacity: 1; }
  100% { transform: translateY(56px); opacity: 0; }
}
@keyframes panelIn {
  from { opacity: 0; transform: translateX(30px); filter: blur(5px); }
}
@keyframes storyIn {
  from { opacity: 0; transform: translateY(20px); filter: blur(5px); }
}
@keyframes revealFallback {
  to { opacity: 1; filter: blur(0); transform: none; }
}
@keyframes faqIn {
  from { opacity: 0; transform: translateY(-8px); }
}
@keyframes portalProgress {
  from { width: 48%; }
  to { width: 76%; }
}

@media (max-width: 1100px) {
  .hero__content:not(.hero__content--editorial) { grid-template-columns: 1fr .9fr; gap: 45px; }
  .hero__content--editorial { grid-template-columns: minmax(0, 720px); }
  .control-card__areas { grid-template-columns: 1fr 1fr; }
  .control-card__areas > span:nth-child(2) { border-right: 0; }
  .control-card__areas > span:nth-child(-n+2) { border-bottom: 1px solid rgba(255,255,255,.12); }
  .pathfinder { grid-template-columns: 230px 1fr; }
  .path-panel { grid-template-columns: 1fr; align-content: center; }
  .path-panel__detail { max-width: 620px; }
  .plans { grid-template-columns: 1fr 1fr; }
  .plan { border-bottom: 1px solid var(--line); }
}

@media (max-width: 800px) {
  .cursor-glow { display: none; }
  .nav:not(.is-stuck):not(.is-menu-open) .nav__toggle { border-color: rgba(255,255,255,.3); }
  .nav:not(.is-stuck):not(.is-menu-open) .nav__toggle span { background: var(--paper); }
  .nav__menu { top: 65px; }
  .hero { min-height: auto; padding-top: 105px; }
  .hero__grid { min-height: auto; }
  .hero__title { font-size: clamp(58px, 14vw, 95px); }
  .hero__content { grid-template-columns: 1fr; }
  .control-card { max-width: 620px; justify-self: start; }
  .hero__signature { padding-bottom: 68px; }
  .hero__scroll { display: none; }
  .proof-bar__inner { grid-template-columns: 1fr 1fr; }
  .proof-bar span { min-height: 120px; border-bottom: 1px solid var(--line); }
  .statement__inner { grid-template-columns: 1fr; }
  .statement__signal { min-height: 250px; padding-top: 0; border-left: 0; border-top: 1px solid var(--line); }
  .statement__signal svg { width: 180px; margin-block: 28px 4px; }
  .pathfinder { display: block; min-height: 0; }
  .pathfinder__nav {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    border: 0;
    border-bottom: 1px solid var(--ink);
  }
  .pathfinder__nav button {
    min-height: 100px;
    grid-template-columns: 1fr;
    border: 0;
    border-right: 1px solid var(--line);
  }
  .pathfinder__nav button:last-child { border: 0; }
  .pathfinder__nav button i { display: none; }
  .path-panel { min-height: 590px; }
  .service-cluster { grid-template-columns: 250px 1fr; gap: 45px; }
  .service-card { grid-template-columns: 1fr; padding-right: 25px; }
  .service-card__scope, .service-card button { grid-column: 1; }
  .portal__mock { transform: none; }
  .trust__stories { min-height: 440px; }
}

@media (max-width: 600px) {
  .hero { padding-inline: 20px; }
  .hero__grid,
  .hero__content,
  .hero__copy,
  .hero__actions,
  .control-card {
    width: calc(100vw - 40px);
    max-width: calc(100vw - 40px);
    min-width: 0;
  }
  .hero__grid { flex: 0 0 calc(100vw - 40px); }
  .hero__title { max-width: 100%; font-size: 14vw; line-height: .87; }
  .hero__title > span { font-size: 14vw; }
  .hero__title > em { width: 100%; font-size: 12vw; white-space: nowrap; }
  .hero__lede { width: 100%; max-width: 100%; overflow-wrap: break-word; }
  .hero__actions { display: grid; }
  .hero__actions .btn { min-width: 0; }
  .hero__promises { display: none; }
  .control-card__radar { width: 52%; margin-block: 22px; }
  .control-card__areas em { display: none; }
  .proof-bar { padding: 0 20px; }
  .proof-bar span { padding: 23px 16px; }
  .statement__quote { font-size: 41px; }
  .statement__text { margin-top: 28px; font-size: 16px; }
  .statement__signal { min-height: 220px; }
  .chapter-transition > div { min-width: 310%; padding-block: 18px; font-size: 24px; }
  .pathfinder__nav button { padding: 16px 11px; }
  .pathfinder__nav button b { font-size: 10px; line-height: 1.35; }
  .path-panel { min-height: 620px; padding: 30px 22px; }
  .path-panel h3 { font-size: 43px; }
  .service-index { grid-template-columns: 1fr 1fr; }
  .service-index a { min-height: 105px; }
  .service-index a:nth-child(2) { border-right: 0; }
  .service-index a:nth-child(-n+2) { border-bottom: 1px solid rgba(255,255,255,.16); }
  .service-cluster { grid-template-columns: 1fr; gap: 35px; }
  .service-cluster__head { position: static; grid-template-columns: 45px 1fr; }
  .service-card { min-height: 0; padding: 28px 0 30px 48px; }
  .plans { grid-template-columns: 1fr; }
  .plan, .plan:nth-child(2), .plan:nth-child(n+3) { min-height: 0; padding-block: 30px; }
  .orientative { padding: 0 18px; }
  .orientative__all > summary { display: flex; min-height: 64px; align-items: center; }
  .orientative__all:not([open]) > summary { border-bottom: 0; }
  .sofia__demo { transform: none; }
  .portal__mock { min-width: 0; width: 100%; grid-template-columns: 42px minmax(0, 1fr); overflow: hidden; }
  .process__steps li.is-current { padding-left: 14px; }
  .trust__stories figure { min-height: 390px; }
  .trust__stories blockquote { font-size: 25px; }
}

@media (prefers-reduced-motion: reduce) {
  .hero__title > span,
  .hero__title > em { opacity: 1; filter: none; transform: none; }
  .hero__terrain { display: none; }
  .reveal { opacity: 1; filter: none; transform: none; animation: none; }
  .control-card,
  .portal__mock { transform: none !important; }
  .chapter-transition > div,
  .statement__signal svg { transform: none !important; }
}
