/* ==========================================================================
   CornerSearch Consultants — one-page website
   Brand: Deep Evergreen · Closing Brick · Warm Ivory · Soft Sage · Clay Tint · Search Ink
   Type:  Helvetica Neue (Regular for headlines, Bold for emphasis, numbers and action)
   ========================================================================== */

:root {
  /* Brand palette (Brand_Variables.css) */
  --cs-evergreen: #173D38;
  --cs-brick: #A54A3A;
  --cs-ivory: #F5F1E8;
  --cs-sage: #DCE5DE;
  --cs-clay: #E7D8CE;
  --cs-ink: #2C3533;
  --cs-font: "Helvetica Neue", Helvetica, Arial, sans-serif;

  /* Working tones derived only from the palette */
  --white: #FFFFFF;
  --evergreen-deep: #12312D;          /* evergreen with 20% shade — footer only */
  --brick-press: #8E3D30;             /* brick with 14% shade — hover/press only */
  --ink-soft: rgba(44, 53, 51, .74);
  --line: rgba(23, 61, 56, .14);
  --line-light: rgba(245, 241, 232, .16);
  --ivory-soft: rgba(245, 241, 232, .78);

  /* Layout */
  --maxw: 1320px;
  --gutter: clamp(20px, 4.4vw, 64px);
  --section-y: clamp(96px, 9vw, 168px);
  --header-h: 114px;                  /* 85px logo + clear space of one frame-stroke (≈14px) each side */

  /* Motion */
  --ease: cubic-bezier(.22, 1, .36, 1);
  --ease-io: cubic-bezier(.65, 0, .35, 1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) - 10px);
}
body {
  margin: 0;
  font-family: var(--cs-font);
  font-size: 0.95rem;
  line-height: 1.65;
  color: var(--cs-ink);
  background: var(--cs-ivory);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
h1, h2, h3, p, figure, blockquote, ol, ul { margin: 0; }
ol, ul { padding: 0; list-style: none; }
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
::selection { background: var(--cs-evergreen); color: var(--cs-ivory); }

:focus-visible { outline: 2px solid var(--cs-brick); outline-offset: 3px; }
.on-dark :focus-visible,
.hero :focus-visible, .approach :focus-visible, .testimonials :focus-visible,
.contact-copy :focus-visible, .site-footer :focus-visible, .mobile-menu :focus-visible,
.site-header[data-state="top"] :focus-visible, .statement :focus-visible { outline-color: var(--cs-sage); }

.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: fixed; left: 16px; top: 16px; z-index: 100;
  padding: 12px 18px; background: var(--cs-brick); color: var(--cs-ivory); font-weight: 700;
  transform: translateY(-160%); transition: transform .3s var(--ease);
}
.skip-link:focus { transform: none; }

.container {
  width: 100%;
  max-width: calc(var(--maxw) + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.section { padding-block: var(--section-y); position: relative; }

/* ---------- Type ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 14px;
  font-size: .75rem; font-weight: 700; letter-spacing: .22em; text-transform: uppercase;
  color: var(--cs-brick);
  margin-bottom: 26px;
}
.eyebrow::before { content: ""; width: 32px; height: 2px; background: currentColor; }
.eyebrow--light { color: var(--cs-sage); }
.eyebrow--light::before { background: var(--cs-brick); height: 3px; }

.h2 {
  font-size: clamp(2.3rem, 1.25rem + 2.9vw, 4.5rem);
  font-weight: 400;
  line-height: 1.03;
  letter-spacing: -.035em;
  color: var(--cs-evergreen);
  text-wrap: balance;
}
.h2 strong { font-weight: 700; }
.h2--light { color: var(--cs-ivory); }

.lead { font-size: clamp(1.025rem, 1rem + .4vw, 1rem); line-height: 1.6; color: var(--cs-ink); }

/* ---------- Buttons ---------- */
.btn {
  --btn-bg: var(--cs-evergreen);
  --btn-fg: var(--cs-ivory);
  --btn-hover: var(--cs-brick);
  position: relative; isolation: isolate; overflow: hidden;
  display: inline-flex; align-items: center; justify-content: center; gap: .7em;
  min-height: 56px; padding: .95em 1.55em;
  font-size: .95rem; font-weight: 700; letter-spacing: .01em; line-height: 1.2;
  color: var(--btn-fg); background: var(--btn-bg);
  border: 1px solid transparent;
  transition: color .45s var(--ease), border-color .45s var(--ease);
}
.btn::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: var(--btn-hover);
  transform: scaleY(0); transform-origin: 50% 100%;
  transition: transform .55s var(--ease);
}
.btn:hover::before, .btn:focus-visible::before { transform: scaleY(1); }
.btn-arrow { display: inline-block; transition: transform .45s var(--ease); }
.btn:hover .btn-arrow, .btn:focus-visible .btn-arrow { transform: translate(3px, -3px); }
.btn:hover .btn-arrow--down, .btn:focus-visible .btn-arrow--down { transform: translateY(4px); }

.btn--brick { --btn-bg: var(--cs-brick); --btn-hover: var(--brick-press); }
.btn--evergreen { --btn-bg: var(--cs-evergreen); --btn-hover: var(--cs-brick); }
.btn--ghost-light {
  --btn-bg: transparent; --btn-hover: var(--cs-ivory);
  border-color: rgba(245, 241, 232, .42);
}
.btn--ghost-light:hover, .btn--ghost-light:focus-visible { color: var(--cs-evergreen); border-color: var(--cs-ivory); }
.btn--sm { min-height: 46px; padding: .7em 1.2em; font-size: .88rem; }
.btn--block { width: 100%; }

/* ---------- Scroll progress ---------- */
.scroll-progress { position: fixed; inset: 0 0 auto; height: 3px; z-index: 70; pointer-events: none; }
.scroll-progress span {
  display: block; height: 100%; background: var(--cs-brick);
  transform: scaleX(var(--p, 0)); transform-origin: 0 50%;
}

/* ==========================================================================
   Frame motif — the open evergreen frame closed by a brick corner.
   Proportions follow the approved mark (684 × 724, bottom bar 69.3%, corner 30.7% × 32.6%).
   ========================================================================== */
.hero-frame, .av-frame, .portrait-frame {
  --t: 4px;            /* stroke */
  --fw: 100%;          /* frame width */
  --fc: var(--cs-ivory);
  --cc: var(--cs-brick);
  position: relative;
}
.hf { position: absolute; display: block; background: var(--fc); pointer-events: none; z-index: 2; }
.hf-top     { left: 0; top: 0; height: var(--t); width: var(--fw); transform-origin: 0 50%; }
.hf-left    { left: 0; top: 0; width: var(--t); height: 100%; transform-origin: 50% 0; }
.hf-bottom  { left: 0; bottom: 0; height: var(--t); width: calc(var(--fw) * .693); transform-origin: 0 50%; }
.hf-corner-h { left: calc(var(--fw) * .693); bottom: 0; height: var(--t); width: calc(var(--fw) * .307); background: var(--cc); transform-origin: 0 50%; }
.hf-corner-v { left: calc(var(--fw) - var(--t)); bottom: 0; width: var(--t); height: 32.6%; background: var(--cc); transform-origin: 50% 100%; }

.js .hf { transition: transform 1s var(--ease-io); }
.js .hf-top, .js .hf-bottom, .js .hf-corner-h { transform: scaleX(0); }
.js .hf-left, .js .hf-corner-v { transform: scaleY(0); }
.js .hf-bottom   { transition-delay: .55s; }
.js .hf-corner-h { transition-delay: 1.15s; transition-duration: .55s; transition-timing-function: var(--ease); }
.js .hf-corner-v { transition-delay: 1.55s; transition-duration: .55s; transition-timing-function: var(--ease); }
.js .is-drawn > .hf, .js .is-drawn > * > .hf { transform: none; }

/* ==========================================================================
   Header
   ========================================================================== */
.site-header {
  position: fixed; inset: 0 0 auto; z-index: 60;
  transition: background-color .45s var(--ease), box-shadow .45s var(--ease), transform .6s var(--ease), backdrop-filter .45s;
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 32px; height: var(--header-h); }

.brand { position: relative; display: block; width: 220px; height: 85px; flex: none; }
.brand-logo { position: absolute; inset: 0; width: 220px; height: 85px; transition: opacity .45s var(--ease); }
.brand-logo--primary { opacity: 0; }

.site-header[data-state="solid"] {
  background: rgba(245, 241, 232, .9);
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
  backdrop-filter: saturate(1.4) blur(14px);
  box-shadow: 0 1px 0 var(--line), 0 18px 40px -28px rgba(23, 61, 56, .35);
}
.site-header[data-state="solid"] .brand-logo--primary { opacity: 1; }
.site-header[data-state="solid"] .brand-logo--reversed { opacity: 0; }
.site-header.is-hidden { transform: translateY(-100%); }

.primary-nav { display: flex; align-items: center; gap: clamp(24px, 3vw, 44px); }
.primary-nav ul { display: flex; gap: clamp(20px, 2.4vw, 36px); }
.primary-nav ul a {
  position: relative; display: inline-block; padding: 8px 0;
  font-size: .92rem; font-weight: 500; letter-spacing: .005em;
  color: var(--cs-ivory); transition: color .35s;
}
.primary-nav ul a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 2px; height: 2px;
  background: var(--cs-brick); transform: scaleX(0); transform-origin: 100% 50%;
  transition: transform .5s var(--ease);
}
.primary-nav ul a:hover::after, .primary-nav ul a[aria-current="true"]::after { transform: scaleX(1); transform-origin: 0 50%; }
.site-header[data-state="solid"] .primary-nav ul a { color: var(--cs-evergreen); }

.menu-toggle { display: none; width: 52px; height: 52px; position: relative; color: var(--cs-ivory); }
.site-header[data-state="solid"] .menu-toggle { color: var(--cs-evergreen); }
.menu-toggle-lines { position: absolute; inset: 0; display: grid; place-content: center; gap: 7px; }
.menu-toggle-lines i { display: block; width: 28px; height: 2px; background: currentColor; transition: transform .45s var(--ease); }
.menu-toggle-lines i:last-child { width: 20px; justify-self: end; }
.menu-open .menu-toggle-lines i:first-child { transform: translateY(4.5px) rotate(45deg); }
.menu-open .menu-toggle-lines i:last-child { width: 28px; transform: translateY(-4.5px) rotate(-45deg); }

/* While the menu is open the header sits on evergreen */
.menu-open .site-header { background: transparent; box-shadow: none; backdrop-filter: none; -webkit-backdrop-filter: none; transform: none; }
.menu-open .site-header .brand-logo--primary { opacity: 0; }
.menu-open .site-header .brand-logo--reversed { opacity: 1; }
.menu-open .site-header .menu-toggle { color: var(--cs-ivory); }

.mobile-menu {
  position: fixed; inset: 0; z-index: 55;
  display: flex; flex-direction: column; justify-content: space-between;
  padding: calc(var(--header-h) + 24px) var(--gutter) calc(32px + env(safe-area-inset-bottom));
  background: var(--cs-evergreen); color: var(--cs-ivory);
  clip-path: inset(0 0 100% 0);
  transition: clip-path .7s var(--ease-io);
  overflow-y: auto;
}
.mobile-menu.is-open { clip-path: inset(0 0 0 0); }
.mobile-menu ol { display: grid; gap: 4px; }
.mobile-menu ol a {
  display: flex; align-items: baseline; gap: 18px; padding: 10px 0;
  font-size: clamp(2rem, 8vw, 3rem); letter-spacing: -.03em; line-height: 1.1;
  border-bottom: 1px solid var(--line-light);
  opacity: 0; transform: translateY(24px);
  transition: opacity .6s var(--ease), transform .6s var(--ease);
}
.mobile-menu ol a span { font-size: .75rem; font-weight: 700; letter-spacing: .18em; color: var(--cs-sage); }
.mobile-menu.is-open ol a { opacity: 1; transform: none; }
.mobile-menu.is-open li:nth-child(1) a { transition-delay: .18s; }
.mobile-menu.is-open li:nth-child(2) a { transition-delay: .24s; }
.mobile-menu.is-open li:nth-child(3) a { transition-delay: .30s; }
.mobile-menu.is-open li:nth-child(4) a { transition-delay: .36s; }
.mobile-menu.is-open li:nth-child(5) a { transition-delay: .42s; }
.mobile-menu-foot { display: grid; gap: 6px; margin-top: 40px; font-size: .95rem; color: var(--ivory-soft); }

/* ==========================================================================
   Hero
   ========================================================================== */
.hero {
  position: relative; isolation: isolate; overflow: hidden;
  min-height: max(720px, 100svh);
  display: flex; flex-direction: column; justify-content: center;
  padding: calc(var(--header-h) + 32px) 0 clamp(150px, 16vh, 200px);
  color: var(--cs-ivory);
  background: var(--cs-evergreen);
}
.hero-media { position: absolute; inset: 0; z-index: -1; }
.hero-media-inner { position: absolute; inset: -10% 0; will-change: transform; }
.hero-media img {
  width: 100%; height: 100%; object-fit: cover; object-position: 70% 42%;
  animation: heroZoom 2.8s var(--ease) both, heroDrift 26s 2.8s ease-in-out infinite alternate;
}
@keyframes heroZoom { from { transform: scale(1.16); } to { transform: scale(1.02); } }
@keyframes heroDrift { from { transform: scale(1.02); } to { transform: scale(1.09) translateX(-1.5%); } }
.hero-shade {
  position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(23, 61, 56, .97) 0%, rgba(23, 61, 56, .9) 34%, rgba(23, 61, 56, .55) 64%, rgba(23, 61, 56, .22) 100%),
    linear-gradient(0deg, rgba(23, 61, 56, .92) 0%, rgba(23, 61, 56, 0) 38%),
    linear-gradient(180deg, rgba(23, 61, 56, .55) 0%, rgba(23, 61, 56, 0) 22%);
}
.hero-grain {
  position: absolute; inset: 0; opacity: .07; mix-blend-mode: overlay; pointer-events: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='180' height='180'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}

.hero-content { position: relative; }
.hero-frame {
  --t: clamp(3px, .34vw, 5px);
  font-size: min(clamp(2.7rem, 1.2rem + 6vw, 7.25rem), 11.5vh);
  display: block; width: fit-content; max-width: 100%;
  padding: .3em .62em .5em .38em;   /* right padding keeps the closing corner clear of the headline */
}
.hero-title {
  font-size: 1em; font-weight: 400; line-height: .98; letter-spacing: -.045em;
  color: var(--cs-ivory);
}
.hero-title strong { font-weight: 700; letter-spacing: -.05em; }
.hero-title .line { display: block; overflow: hidden; padding-bottom: .06em; margin-bottom: -.06em; }
.hero-title .line-inner { display: block; }

.hero-copy {
  max-width: 35rem; margin-top: clamp(24px, 3.4vh, 36px);
  font-size: clamp(1.08rem, .95rem + .4vw, 1rem); line-height: 1.6;
  color: var(--ivory-soft);
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: clamp(28px, 4vh, 40px); }
.hero-credential {
  display: flex; gap: 14px; align-items: flex-start;
  max-width: 34rem; margin-top: clamp(32px, 5vh, 52px);
  font-size: .9rem; line-height: 1.55; color: rgba(245, 241, 232, .7);
}
.hero-credential b { color: var(--cs-ivory); font-weight: 700; }
.hero-credential .tick { flex: none; width: 22px; height: 3px; margin-top: .62em; background: var(--cs-brick); }

/* Load sequence */
.js .hero-eyebrow, .js .hero-copy, .js .hero-actions, .js .hero-credential {
  animation: fadeUp 1.1s var(--ease) both;
}
.js .hero-eyebrow   { animation-delay: .15s; }
.js .hero-copy      { animation-delay: .95s; }
.js .hero-actions   { animation-delay: 1.1s; }
.js .hero-credential{ animation-delay: 1.25s; }
.js .hero-title .line-inner { animation: lineUp 1.2s var(--ease) both; }
.js .hero-title .line:nth-child(1) .line-inner { animation-delay: .3s; }
.js .hero-title .line:nth-child(2) .line-inner { animation-delay: .46s; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: none; } }
@keyframes lineUp { from { transform: translateY(105%); } to { transform: none; } }

.scroll-cue {
  position: absolute; right: var(--gutter); bottom: clamp(170px, 19vh, 220px); z-index: 2;
  display: flex; flex-direction: column; align-items: center; gap: 14px;
  font-size: .68rem; font-weight: 700; letter-spacing: .26em; text-transform: uppercase;
  color: rgba(245, 241, 232, .7);
}
.scroll-cue span { writing-mode: vertical-rl; }
.scroll-cue i { position: relative; width: 1px; height: 64px; background: rgba(245, 241, 232, .25); overflow: hidden; }
.scroll-cue i::after {
  content: ""; position: absolute; left: 0; top: 0; width: 1px; height: 40%;
  background: var(--cs-ivory); animation: cue 2.2s var(--ease-io) infinite;
}
@keyframes cue { from { transform: translateY(-100%); } to { transform: translateY(260%); } }

/* ==========================================================================
   Stats
   ========================================================================== */
.stats { position: relative; z-index: 3; margin-top: clamp(-120px, -10vh, -80px); }
.stats-panel {
  display: grid; grid-template-columns: repeat(4, 1fr);
  background: var(--white);
  box-shadow: 0 40px 80px -40px rgba(23, 61, 56, .45), 0 2px 0 rgba(23, 61, 56, .04);
}
.stat { position: relative; padding: clamp(28px, 3vw, 44px) clamp(22px, 2.6vw, 40px); }
.stat + .stat { border-left: 1px solid var(--line); }
.stat::before {
  content: ""; position: absolute; left: 0; top: 0; height: 3px; width: 100%;
  background: var(--cs-evergreen); transform: scaleX(0); transform-origin: 0 50%;
  transition: transform 1.2s var(--ease);
}
.stat--accent::before { background: var(--cs-brick); }
.is-in .stat::before { transform: scaleX(1); }
.is-in .stat:nth-child(2)::before { transition-delay: .12s; }
.is-in .stat:nth-child(3)::before { transition-delay: .24s; }
.is-in .stat:nth-child(4)::before { transition-delay: .36s; }
.stat-num {
  display: flex; align-items: flex-start; gap: 6px;
  font-size: clamp(2.8rem, 1.6rem + 3.2vw, 4.6rem); font-weight: 700; line-height: 1; letter-spacing: -.04em;
  color: var(--cs-evergreen); font-variant-numeric: tabular-nums;
}
.stat-num sup { font-size: .9rem; letter-spacing: .04em; margin-top: .5em; font-weight: 700; color: var(--cs-brick); }
.stat--accent .stat-num { color: var(--cs-brick); }
.stat-label { margin-top: 14px; max-width: 15rem; font-size: .8rem; line-height: 1.5; color: var(--ink-soft); }

/* ==========================================================================
   Scenarios
   ========================================================================== */
.section-head { max-width: 900px; margin-bottom: clamp(48px, 6vw, 88px); }
.scenario-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(16px, 2vw, 28px); }
.scenario {
  position: relative; isolation: isolate; overflow: hidden;
  display: flex; flex-direction: column;
  min-height: 440px; padding: clamp(32px, 3vw, 48px) clamp(28px, 2.6vw, 40px) clamp(56px, 5vw, 72px);
  background: var(--white);
  transition: transform .7s var(--ease), box-shadow .7s var(--ease), color .5s var(--ease);
}
.scenario::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: var(--cs-evergreen);
  transform: scaleY(0); transform-origin: 50% 100%;
  transition: transform .7s var(--ease);
}
.scenario-num {
  display: inline-flex; align-items: center; gap: 12px;
  font-size: .8rem; font-weight: 700; letter-spacing: .18em; color: var(--cs-brick);
  transition: color .5s var(--ease);
}
.scenario-num::after { content: ""; width: 28px; height: 1px; background: currentColor; opacity: .5; }
.scenario h3 {
  margin-top: clamp(40px, 3vw, 88px);
  font-size: clamp(1.45rem, 1.1rem + .9vw, 1.5rem); font-weight: 400; line-height: 1.18; letter-spacing: -.025em;
  color: var(--cs-evergreen); transition: color .5s var(--ease);
}
.scenario p { margin-top: 20px; padding-top: 28px; font-size: 0.9rem; color: var(--ink-soft); transition: color .5s var(--ease); }
.card-corner {
  position: absolute; right: 24px; bottom: 24px; width: 34px; height: 34px;
  border-right: 4px solid var(--cs-brick); border-bottom: 4px solid var(--cs-brick);
  opacity: 0; transform: scale(.5); transform-origin: 100% 100%;
  transition: opacity .5s var(--ease), transform .6s var(--ease);
}
@media (hover: hover) {
  .scenario:hover { transform: translateY(-8px); box-shadow: 0 40px 70px -40px rgba(23, 61, 56, .55); color: var(--cs-ivory); }
  .scenario:hover::before { transform: scaleY(1); }
  .scenario:hover h3 { color: var(--cs-ivory); }
  .scenario:hover p { color: var(--ivory-soft); }
  .scenario:hover .scenario-num { color: var(--cs-sage); }
  .scenario:hover .card-corner { opacity: 1; transform: none; transition-delay: .25s; }
}

/* ==========================================================================
   Statement band
   ========================================================================== */
.statement {
  position: relative; isolation: isolate; overflow: hidden;
  min-height: min(92vh, 900px);
  display: flex; align-items: center;
  padding-block: clamp(110px, 9vw, 200px);
  background: var(--cs-evergreen); color: var(--cs-ivory);
}
.statement-media { position: absolute; inset: 0; z-index: -1; }
.statement-media::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(23, 61, 56, .94) 0%, rgba(23, 61, 56, .78) 55%, rgba(23, 61, 56, .55) 100%);
}
.statement-media-inner { position: absolute; inset: -16% 0; will-change: transform; }
.statement-media img { width: 100%; height: 100%; object-fit: cover; object-position: 60% 50%; }
.statement-text {
  max-width: 13ch;
  font-size: clamp(2.8rem, 1rem + 6vw, 8.25rem); line-height: .98; letter-spacing: -.05em; font-weight: 400;
}
.statement-text strong { font-weight: 700; }
.js .statement-text .sw { opacity: .16; transition: opacity .5s var(--ease); }
.js .statement-text .sw.is-lit { opacity: 1; }
.statement-sub { max-width: 30rem; margin-top: clamp(32px, 4vw, 48px); font-size: 1rem; color: var(--ivory-soft); }

/* ==========================================================================
   Approach — scroll-told 100 → 8 → 1
   ========================================================================== */
.approach { background: var(--cs-evergreen); color: var(--cs-ivory); }
.approach-head { max-width: 900px; }
.approach-body {
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  gap: clamp(48px, 7vw, 120px);
  margin-top: clamp(32px, 7vw, 96px);
}
.approach-visual-wrap { position: sticky; top: max(calc(var(--header-h) + 24px), calc(50vh - 280px)); align-self: start; }
.approach-visual { position: relative; width: 100%; max-width: 520px; }
.av-frame { --t: 3px; --fc: rgba(245, 241, 232, .28); aspect-ratio: 1; padding: 10%; }
.av-frame > .hf-corner-h, .av-frame > .hf-corner-v { --t: 6px; }
/* positioned off the figure width so the grid sits centred inside the square frame, not the frame + label */
.av-dots { position: absolute; left: 10%; top: 0; margin-top: 10%; width: 80%; height: auto; aspect-ratio: 1; overflow: visible; }
.av-dots circle:not(.av-ring) {
  fill: var(--cs-ivory);
  transform-box: fill-box; transform-origin: center;
  opacity: .16; transform: scale(.72);
  transition: opacity .7s var(--ease), transform .8s var(--ease), fill .6s var(--ease);
  transition-delay: var(--d, 0ms);
}
.av-dots .av-ring {
  fill: none; stroke: var(--cs-brick); stroke-width: 2; opacity: 0;
  transform-box: fill-box; transform-origin: center;
}
.approach-visual[data-stage="1"] circle:not(.av-ring) { opacity: .88; transform: scale(1); }
.approach-visual[data-stage="2"] circle:not(.av-ring) { opacity: .1; transform: scale(.55); transition-delay: calc(var(--d, 0ms) * .4); }
.approach-visual[data-stage="2"] circle.sel { opacity: 1; transform: scale(1.45); fill: var(--cs-sage); }
.approach-visual[data-stage="3"] circle:not(.av-ring) { opacity: .08; transform: scale(.5); transition-delay: 0ms; }
.approach-visual[data-stage="3"] circle.sel { opacity: .32; transform: scale(1); fill: var(--cs-sage); }
.approach-visual[data-stage="3"] circle.fin { opacity: 1; transform: scale(2.3); fill: var(--cs-brick); transition-delay: .2s; }
.approach-visual[data-stage="3"] .av-ring { animation: ring 2.4s .6s var(--ease) infinite; }
@keyframes ring { 0% { opacity: .9; transform: scale(1); } 100% { opacity: 0; transform: scale(3.4); } }

.av-label { display: flex; align-items: baseline; gap: 16px; margin-top: 28px; min-height: 5rem; }
.av-num { font-size: clamp(3rem, 2rem + 3vw, 5rem); font-weight: 700; line-height: 1; letter-spacing: -.045em; font-variant-numeric: tabular-nums; }
.av-word { font-size: .78rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--cs-sage); }
.av-label.is-swapping .av-num, .av-label.is-swapping .av-word { opacity: 0; transform: translateY(10px); }
.av-num, .av-word { transition: opacity .35s var(--ease), transform .45s var(--ease); }

.approach-steps { position: relative; padding-left: 28px; }
.approach-steps::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 1px; background: var(--line-light); }
.approach-steps::after {
  content: ""; position: absolute; left: -1px; top: 0; width: 3px; height: 100%;
  background: var(--cs-brick); transform: scaleY(var(--sp, .25)); transform-origin: 50% 0;
  transition: transform .8s var(--ease);
}
.step {
  display: grid; grid-template-columns: 64px 1fr; gap: 8px;
  min-height: 58vh; align-content: center;
  padding-block: 24px;
  opacity: .3; transition: opacity .6s var(--ease);
}
.step.is-active { opacity: 1; }
.step-num { font-size: .82rem; font-weight: 700; letter-spacing: .16em; color: var(--cs-sage); padding-top: .55em; }
.step h3 { font-size: clamp(1.7rem, 1.2rem + 1.4vw, 2.6rem); font-weight: 400; line-height: 1.1; letter-spacing: -.03em; }
.step.is-active h3 { font-weight: 400; }
.step p { margin-top: 18px; max-width: 32rem; font-size: 0.95rem; color: var(--ivory-soft); }

.curated {
  display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); align-items: center;
  gap: clamp(40px, 6vw, 96px);
  margin-top: clamp(80px, 10vw, 140px); padding-top: clamp(48px, 6vw, 72px);
  border-top: 1px solid var(--line-light);
}
.curated-numbers { display: flex; align-items: center; gap: clamp(14px, 2vw, 28px); }
.curated-numbers div { display: grid; gap: 10px; }
.curated-numbers b { font-size: clamp(3.2rem, 2rem + 4.4vw, 6.5rem); line-height: .9; letter-spacing: -.05em; font-weight: 700; }
.curated-numbers span { font-size: .72rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--cs-sage); }
.curated-numbers i { flex: 1; height: 1px; min-width: 24px; background: rgba(245, 241, 232, .35); transform: scaleX(0); transform-origin: 0 50%; transition: transform 1.1s var(--ease) .3s; }
.curated.is-in .curated-numbers i { transform: scaleX(1); }
.curated.is-in .curated-numbers i:nth-of-type(2) { transition-delay: .7s; }
.curated-numbers .is-closed b {
  display: grid; place-items: center;
  width: .9em; height: .9em; padding-top: .04em;
  background: var(--cs-brick); color: var(--cs-ivory);
}
.curated-copy h3 { font-size: clamp(1.6rem, 1.2rem + 1vw, 2.2rem); font-weight: 700; letter-spacing: -.025em; }
.curated-copy p { margin-top: 16px; color: var(--ivory-soft); }

/* ==========================================================================
   Marquee
   ========================================================================== */
.marquee {
  overflow: hidden; padding-block: clamp(36px, 5vw, 64px);
  background: var(--cs-ivory); border-bottom: 1px solid var(--line);
}
.marquee-track { display: flex; align-items: center; width: max-content; animation: marquee 48s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee span {
  padding-inline: clamp(20px, 2.4vw, 40px);
  font-size: clamp(2.2rem, 1.2rem + 3vw, 5.25rem); line-height: 1.05; letter-spacing: -.04em; white-space: nowrap;
  color: var(--cs-evergreen);
}
.marquee b { font-weight: 700; }
.marquee i { flex: none; width: 12px; height: 12px; background: var(--cs-brick); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ==========================================================================
   Services
   ========================================================================== */
.services { padding-top: clamp(80px, 9vw, 140px); }
.service-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(16px, 2vw, 28px); }
.service {
  position: relative;
  display: flex; flex-direction: column;
  min-height: 540px; padding: clamp(32px, 3vw, 48px) clamp(28px, 2.6vw, 40px);
  background: var(--white);
  transition: transform .7s var(--ease), box-shadow .7s var(--ease);
}
.service-top { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: clamp(48px, 5vw, 50px); }
.service-num { font-size: .8rem; font-weight: 700; letter-spacing: .18em; color: var(--cs-brick); }
.service-glyph { width: 60px; height: 60px; fill: none; stroke: var(--cs-evergreen); stroke-width: 3; stroke-linecap: square; }
.service-glyph .g-brick { stroke: var(--cs-brick); stroke-width: 6; }
.service-glyph .g-brick-fill { fill: var(--cs-brick); stroke: none; }
.service-glyph .g-fill { fill: var(--cs-evergreen); stroke: none; opacity: .5; }
.service-glyph path { stroke-dasharray: 200; stroke-dashoffset: 0; }
.service h3 { font-size: clamp(1.55rem, 1.2rem + .9vw, 2.05rem); font-weight: 700; line-height: 1.12; letter-spacing: -.03em; color: var(--cs-evergreen); }
.service p { margin-top: 20px; font-size: 1rem; color: var(--ink-soft); }
.service-link {
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  margin-top: auto; padding-top: 28px;
  border-top: 1px solid var(--line);
  font-size: .92rem; font-weight: 700; color: var(--cs-brick);
}
.service p + .service-link { margin-top: auto; }
.service-link span { transition: transform .45s var(--ease); }
.service-link:hover span { transform: translateX(6px); }
.service { gap: 0; }
.service > p { margin-bottom: 36px; }

.service--feature { background: var(--cs-evergreen); color: var(--cs-ivory); }
.service--feature h3 { color: var(--cs-ivory); }
.service--feature p { color: var(--ivory-soft); }
.service--feature .service-num { color: var(--cs-sage); }
.service--feature .service-glyph { stroke: var(--cs-ivory); }
.service--feature .service-link { color: var(--cs-ivory); border-top-color: var(--line-light); }
@media (hover: hover) {
  .service:hover { transform: translateY(-10px); box-shadow: 0 50px 80px -50px rgba(23, 61, 56, .6); }
  .service:hover .service-glyph path { animation: draw 1.2s var(--ease) both; }
}
@keyframes draw { from { stroke-dashoffset: 200; } to { stroke-dashoffset: 0; } }

.roles {
  display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: clamp(28px, 5vw, 80px);
  margin-top: clamp(16px, 2vw, 28px); padding: clamp(32px, 4.5vw, 64px);
  background: var(--cs-clay);
}
.roles .eyebrow { margin-bottom: 14px; }
.roles h3 { font-size: clamp(1.6rem, 1.2rem + 1vw, 2.2rem); font-weight: 400; letter-spacing: -.03em; color: var(--cs-evergreen); }
.roles-copy p { font-size: 1rem; color: var(--cs-ink); max-width: 46rem; }
.tags { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.tags li {
  padding: .55em 1.05em; font-size: .85rem; font-weight: 500;
  color: var(--cs-evergreen); background: rgba(245, 241, 232, .7); border: 1px solid rgba(23, 61, 56, .18);
}

/* ==========================================================================
   Calculator
   ========================================================================== */
.calc { background: var(--cs-sage); }
.calc-intro { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(32px, 6vw, 96px); align-items: end; }
.calc-intro-side { display: grid; gap: 32px; justify-items: start; }
#calculatorToggle .btn-arrow { transition: transform .5s var(--ease); }
#calculatorToggle[aria-expanded="true"] .btn-arrow { transform: rotate(180deg); }

.calc-panel { overflow: hidden; }
.calc-panel-inner { padding-top: clamp(48px, 6vw, 80px); }
.calculator { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(16px, 2vw, 24px); align-items: start; }
.calc-inputs { background: var(--white); padding: clamp(28px, 3.6vw, 52px); }
.calc-instruction { font-size: .95rem; color: var(--ink-soft); padding-bottom: 28px; margin-bottom: 32px; border-bottom: 1px solid var(--line); }
.calc-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 36px; }
.calc-row { display: grid; grid-template-columns: 38px minmax(0, 1fr); column-gap: 14px; align-content: start; }
.calc-code {
  grid-row: span 2; width: 38px; height: 38px; display: grid; place-items: center;
  font-size: .9rem; font-weight: 700; color: var(--cs-brick);
  border: 1.5px solid var(--cs-brick);
}
.calc-row label { font-size: .9rem; font-weight: 500; line-height: 1.4; color: var(--cs-ink); min-height: 2.8em; }
.input-wrap {
  display: flex; align-items: center; gap: 6px; margin-top: 8px;
  border-bottom: 2px solid rgba(23, 61, 56, .22);
  transition: border-color .3s var(--ease);
}
.input-wrap:focus-within { border-color: var(--cs-brick); }
.input-wrap input {
  flex: 1; min-width: 0; width: 100%; padding: .4em 0;
  border: 0; outline: 0; background: transparent; border-radius: 0;
  font-size: 1.4rem; font-weight: 700; letter-spacing: -.01em; color: var(--cs-evergreen);
  -moz-appearance: textfield; appearance: textfield;
}
.input-wrap input::-webkit-outer-spin-button, .input-wrap input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.input-wrap input::placeholder { color: rgba(23, 61, 56, .3); }
.prefix, .suffix { font-size: 1.15rem; font-weight: 700; color: var(--ink-soft); }
.calc-actions { margin-top: 36px; }
.btn-clear {
  display: inline-flex; align-items: center; gap: 10px;
  padding: .75em 1.2em; font-size: .88rem; font-weight: 700;
  color: var(--cs-evergreen); border: 1px solid rgba(23, 61, 56, .3);
  transition: background-color .35s var(--ease), color .35s var(--ease), border-color .35s;
}
.btn-clear span { display: inline-block; transition: transform .6s var(--ease); }
.btn-clear:hover { background: var(--cs-evergreen); color: var(--cs-ivory); border-color: var(--cs-evergreen); }
.btn-clear:hover span { transform: rotate(-200deg); }

.calc-results-wrap { position: sticky; top: calc(var(--header-h) + 16px); background: var(--cs-evergreen); color: var(--cs-ivory); padding: clamp(28px, 3.2vw, 44px); }
.result { padding-block: 22px; border-bottom: 1px solid var(--line-light); }
.result:first-child { padding-top: 0; }
.result-label strong { display: block; font-size: .95rem; font-weight: 700; }
.result-label span { display: block; margin-top: 2px; font-size: .78rem; letter-spacing: .02em; color: rgba(220, 229, 222, .8); }
.result-value {
  display: block; margin-top: 8px;
  font-size: clamp(1.9rem, 1.3rem + 1.6vw, 2.75rem); font-weight: 700; line-height: 1.1; letter-spacing: -.03em;
  font-variant-numeric: tabular-nums; overflow-wrap: anywhere;
  transition: color .4s;
}
.result--accent { margin: 18px calc(clamp(28px, 3.2vw, 44px) * -1) 0; padding: 24px clamp(28px, 3.2vw, 44px); background: var(--cs-brick); border: 0; }
.result--accent .result-label span { color: rgba(245, 241, 232, .82); }
.result.is-updated .result-value { animation: tick .6s var(--ease); }
@keyframes tick { 0% { transform: translateY(6px); opacity: .5; } 100% { transform: none; opacity: 1; } }
.calculator-note { margin-top: 22px; font-size: .82rem; line-height: 1.55; color: rgba(245, 241, 232, .74); }

.calc-end {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px 32px;
  margin-top: clamp(16px, 2vw, 24px); padding: clamp(24px, 3vw, 36px) clamp(28px, 3.6vw, 52px);
  background: var(--cs-ivory); border-left: 4px solid var(--cs-brick);
}
.calc-end p { font-size: clamp(1.15rem, 1rem + .5vw, 1.45rem); letter-spacing: -.015em; color: var(--cs-evergreen); }

/* ==========================================================================
   Founder
   ========================================================================== */
.founder-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(48px, 8vw, 128px); align-items: center; }
.founder-portrait { position: relative; }
.portrait-frame { --t: clamp(8px, 1vw, 14px); --fc: var(--cs-evergreen); padding: calc(var(--t) + clamp(12px, 1.6vw, 22px)); }
.portrait-img { position: relative; overflow: hidden; aspect-ratio: 640 / 700; background: var(--cs-clay); }
.portrait-img img { width: 100%; height: 100%; object-fit: cover; }
/*.js .portrait-img { clip-path: inset(100% 0 0 0); transition: clip-path 1.4s var(--ease-io) .2s; }*/
/*.js .portrait-img img { transform: scale(1.18); transition: transform 1.8s var(--ease) .2s; }*/
/*.js .is-in .portrait-img { clip-path: inset(0 0 0 0); }*/
/*.js .is-in .portrait-img img { transform: none; }*/
.portrait-card {
  position: absolute; right: clamp(-48px, 0.2vw, 0px); bottom: clamp(-48px, 1vw, 0px); z-index: 3;
  padding: 22px 26px 22px 30px; background: var(--cs-evergreen); color: var(--cs-ivory);
  border-left: 4px solid var(--cs-brick);
  box-shadow: 0 30px 60px -30px rgba(23, 61, 56, .6);
}
.portrait-name { font-size: 1.3rem; font-weight: 700; letter-spacing: -.02em; line-height: 1.2; }
.portrait-role { margin-top: 4px; font-size: .85rem; color: rgba(245, 241, 232, .85); }

.founder-copy .lead { margin-top: 32px; }
.founder-copy p:not(.eyebrow):not(.lead) { margin-top: 20px; color: var(--ink-soft); }
.founder-meta { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 40px; padding-top: 28px; border-top: 1px solid var(--line); }
.founder-meta span { display: block; font-size: .72rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--cs-brick); }
.founder-meta b { display: block; margin-top: 6px; font-size: 1rem; color: var(--cs-evergreen); }

/* ==========================================================================
   Testimonials
   ========================================================================== */
.testimonials { background: var(--cs-evergreen); color: var(--cs-ivory); overflow: hidden; }
.t-grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: clamp(48px, 7vw, 120px); align-items: start; }
.t-controls { display: flex; align-items: center; gap: 18px; margin-top: 48px; }
.t-btn {
  width: 58px; height: 58px; display: grid; place-items: center;
  font-size: 1.2rem; color: var(--cs-ivory);
  border: 1px solid rgba(245, 241, 232, .3);
  transition: background-color .35s var(--ease), color .35s var(--ease), border-color .35s;
}
.t-btn:hover { background: var(--cs-ivory); color: var(--cs-evergreen); border-color: var(--cs-ivory); }
.t-count { font-size: .95rem; color: rgba(245, 241, 232, .6); font-variant-numeric: tabular-nums; min-width: 72px; text-align: center; }
.t-count b { font-size: 1.4rem; color: var(--cs-ivory); }

.t-stage { position: relative; padding-top: clamp(64px, 7vw, 96px); touch-action: pan-y; }
.t-mark {
  position: absolute; left: -.06em; top: -.12em;
  font-size: clamp(8rem, 12vw, 13rem); font-weight: 700; line-height: 1; color: var(--cs-brick);
  pointer-events: none; user-select: none;
}
.t-slides { display: grid; }
.t-slide {
  grid-area: 1 / 1;
  opacity: 0; visibility: hidden; transform: translateY(28px);
  transition: opacity .7s var(--ease), transform .9s var(--ease), visibility 0s .7s;
}
.t-slide.is-active { opacity: 1; visibility: visible; transform: none; transition-delay: .12s, .12s, 0s; }
.t-slide blockquote p {
  font-size: clamp(1.3rem, .95rem + 0.8vw, 2rem); line-height: 1.38; letter-spacing: -.02em;
  text-wrap: pretty;
}
.t-slide figcaption { display: flex; align-items: center; gap: 16px; margin-top: 40px; }
.t-avatar {
  flex: none; width: 54px; height: 54px; display: grid; place-items: center; border-radius: 50%;
  background: var(--cs-sage); color: var(--cs-evergreen); font-size: .9rem; font-weight: 700; letter-spacing: .04em;
}
.t-slide figcaption b { display: block; font-size: 1.05rem; color: var(--cs-ivory); }
.t-slide figcaption > span:last-child { font-size: .88rem; line-height: 1.45; color: rgba(245, 241, 232, .68); }
.t-progress { display: flex; gap: 8px; margin-top: 52px; }
.t-progress div { position: relative; flex: 1; height: 3px; background: rgba(245, 241, 232, .16); cursor: pointer; }
.t-progress div::before { content: ""; position: absolute; inset: -10px 0; }
.t-progress div span { position: absolute; inset: 0; background: var(--cs-ivory); transform: scaleX(0); transform-origin: 0 50%; }
.t-progress div.is-done span { transform: scaleX(1); }
.t-progress div.is-active span { animation: tFill var(--t-dur, 7s) linear forwards; }
.t-progress.is-paused div.is-active span { animation-play-state: paused; }
.t-progress.is-static div.is-active span { animation: none; transform: scaleX(1); }
@keyframes tFill { to { transform: scaleX(1); } }

/* ==========================================================================
   FAQs
   ========================================================================== */
.faq-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(40px, 7vw, 120px); align-items: start; }
.faq-head { position: sticky; top: calc(var(--header-h) + 24px); }
.faq-aside { margin-top: 32px; color: var(--ink-soft); }
.faq-aside a { font-weight: 700; color: var(--cs-brick); white-space: nowrap; }
.faq-aside a span { display: inline-block; transition: transform .4s var(--ease); }
.faq-aside a:hover span { transform: translateX(5px); }
.faq-list { border-top: 1px solid var(--line); }
.faq { border-bottom: 1px solid var(--line); }
.faq summary {
  display: flex; align-items: center; justify-content: space-between; gap: 28px;
  padding: 28px 0; cursor: pointer; list-style: none;
  font-size: clamp(1.08rem, .98rem + .4vw, 1.12rem); font-weight: 500; line-height: 1.35; letter-spacing: -.01em;
  color: var(--cs-evergreen); transition: color .3s var(--ease);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { color: var(--cs-brick); }
.faq summary i {
  position: relative; flex: none; width: 40px; height: 40px; border: 1px solid rgba(23, 61, 56, .25);
  transition: background-color .4s var(--ease), border-color .4s var(--ease), transform .5s var(--ease);
}
.faq summary i::before, .faq summary i::after {
  content: ""; position: absolute; left: 50%; top: 50%; width: 14px; height: 2px; margin: -1px 0 0 -7px;
  background: var(--cs-evergreen); transition: transform .5s var(--ease), background-color .4s;
}
.faq summary i::after { transform: rotate(90deg); }
.faq[open] summary i { background: var(--cs-brick); border-color: var(--cs-brick); transform: rotate(180deg); }
.faq[open] summary i::before, .faq[open] summary i::after { background: var(--cs-ivory); }
.faq[open] summary i::after { transform: rotate(0deg); }
.faq-body { overflow: hidden; }
.faq-body p { padding: 0 68px 30px 0; max-width: 46rem; color: var(--ink-soft); }

/* ==========================================================================
   Contact
   ========================================================================== */
.contact { position: relative; isolation: isolate; overflow: hidden; background: var(--cs-evergreen); color: var(--cs-ivory); }
.contact-media { position: absolute; inset: 0 0 0 auto; width: 58%; z-index: -1; }
.contact-media img {
  width: 100%; height: 100%; object-fit: cover; object-position: 20% 50%;
  opacity: .16; filter: grayscale(1) contrast(1.1);
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 60%);
  mask-image: linear-gradient(90deg, transparent 0%, #000 60%);
}
.contact-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(48px, 7vw, 112px); align-items: start; }
.contact-copy .lead { margin-top: 28px; color: var(--ivory-soft); }
.whatsapp-block { margin-top: 44px; }
.whatsapp-block p { font-size: .95rem; color: var(--cs-sage); margin-bottom: 14px; }
.btn--wa { text-align: left; }
.wa-icon { width: 22px; height: 22px; fill: currentColor; flex: none; }
.contact-direct { display: grid; gap: 6px; margin-top: 48px; padding-top: 32px; border-top: 1px solid var(--line-light); }
.contact-person b { display: block; font-size: 1.1rem; }
.contact-person span { display: block; font-size: .88rem; color: rgba(245, 241, 232, .65); margin-bottom: 10px; }
.contact-direct a {
  justify-self: start; font-size: 1.02rem;
  background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat;
  transition: background-size .5s var(--ease);
  overflow-wrap: anywhere;
}
.contact-direct a:hover { background-size: 100% 1px; }

.contact-form { position: relative; background: var(--cs-ivory); color: var(--cs-ink); padding: clamp(28px, 4vw, 56px); box-shadow: 0 60px 100px -60px rgba(0, 0, 0, .6); }
.form-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 18px; }
.form-title { font-size: clamp(1.35rem, 1.1rem + .6vw, 1.7rem); font-weight: 700; letter-spacing: -.02em; color: var(--cs-evergreen); }
.form-corner { width: 44px; height: 4px; background: var(--cs-brick); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 28px; }
.field { position: relative; margin-top: 14px; }
.field input, .field textarea {
  display: block; width: 100%;
  padding: 28px 0 10px; border: 0; border-bottom: 1.5px solid rgba(23, 61, 56, .28); border-radius: 0;
  background: transparent; outline: 0; font-size: 1rem; color: var(--cs-ink);
  transition: border-color .3s var(--ease), box-shadow .3s var(--ease);
}
.field textarea { resize: vertical; min-height: 140px; line-height: 1.55; }
.field input:focus, .field textarea:focus { border-color: var(--cs-brick); box-shadow: 0 1.5px 0 var(--cs-brick); }
.field label {
  position: absolute; left: 0; top: 28px; pointer-events: none;
  font-size: 1.05rem; color: var(--ink-soft); transform-origin: 0 0;
  transition: transform .35s var(--ease), color .3s;
}
.field label small { font-size: .85em; color: rgba(44, 53, 51, .55); }
.field input:focus + label, .field input:not(:placeholder-shown) + label,
.field textarea:focus + label, .field textarea:not(:placeholder-shown) + label {
  transform: translateY(-24px) scale(.78); color: var(--cs-evergreen); font-weight: 700;
}
.field input:focus + label, .field textarea:focus + label { color: var(--cs-brick); }
.field-hint { display: block; margin-top: 8px; font-size: .8rem; color: var(--ink-soft); }
.field-error { display: none; margin-top: 6px; font-size: .82rem; font-weight: 700; color: var(--cs-brick); }
.field.is-invalid .field-error { display: block; }
.field.is-invalid input, .field.is-invalid textarea { border-color: var(--cs-brick); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.contact-form .btn--block { margin-top: 32px; }
.contact-form.is-sending .btn--block { pointer-events: none; opacity: .8; }
.form-message { margin-top: 18px; font-size: .95rem; line-height: 1.5; }
.form-message:empty { display: none; }
.form-message.is-success { padding: 14px 16px; background: var(--cs-sage); color: var(--cs-evergreen); font-weight: 500; border-left: 4px solid var(--cs-evergreen); }
.form-message.is-error { padding: 14px 16px; background: var(--cs-clay); color: var(--cs-ink); border-left: 4px solid var(--cs-brick); }

/* ==========================================================================
   Footer
   ========================================================================== */
  .site-cta { background: var(--evergreen-deep); color: var(--cs-ivory); }
   .site-footer {  }

.footer-top {
  display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 32px;
  padding: clamp(80px, 9vw, 128px) 0 clamp(56px, 6vw, 80px);
  border-bottom: 1px solid var(--line-light);
}
.footer-tagline { font-size: clamp(2.5rem, 1.2rem + 4vw, 5.75rem); line-height: 1; letter-spacing: -.045em; }
.footer-tagline strong { font-weight: 700; }
.footer-grid { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr) minmax(0, 1.4fr); gap: 48px; padding-block: clamp(48px, 6vw, 72px); }
.footer-brand img { width: 240px; height: auto; }
.footer-brand p { margin-top: 24px; max-width: 22rem; font-size: .95rem; color: var(--cs-evergreen); }
.footer-label { margin-bottom: 16px; font-size: .72rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--cs-evergreen); }
.footer-nav, .footer-contact { display: grid; align-content: start; gap: 4px; }
.footer-nav a, .footer-contact a {
  justify-self: start; padding: 4px 0; font-size: .98rem; color: var(--cs-evergreen);
  background: linear-gradient(currentColor, currentColor) 0 calc(100% - 2px) / 0 1px no-repeat;
  transition: background-size .45s var(--ease), color .3s; overflow-wrap: anywhere;
}
.footer-nav a:hover, .footer-contact a:hover { color: var(--cs-evergreen); background-size: 100% 1px; }
.footer-contact p:not(.footer-label) { margin-bottom: 10px; font-size: .95rem; color: var(--cs-evergreen); }
.footer-contact p b { color: var(--cs-evergreen); }
.footer-bottom {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px;
  padding: 26px 0 calc(32px + env(safe-area-inset-bottom));
  border-top: 1px solid var(--line);
  font-size: .85rem; color: var(--cs-evergreen);
}
.to-top:hover { color: var(--cs-ivory); }

/* ==========================================================================
   Floating WhatsApp
   ========================================================================== */
.wa-float {
  position: fixed; right: max(18px, env(safe-area-inset-right)); bottom: max(18px, env(safe-area-inset-bottom)); z-index: 45;
  display: flex; align-items: center; height: 58px; padding: 0 17px;
  background: var(--cs-evergreen); color: var(--cs-ivory); border-radius: 29px;
  box-shadow: 0 18px 40px -14px rgba(23, 61, 56, .7), 0 0 0 1px rgba(245, 241, 232, .14) inset;
  opacity: 0; transform: translateY(24px) scale(.9); pointer-events: none;
  transition: opacity .5s var(--ease), transform .6s var(--ease), background-color .3s;
}
.wa-float.is-visible { opacity: 1; transform: none; pointer-events: auto; }
.wa-float svg { width: 24px; height: 24px; fill: currentColor; flex: none; }
.wa-float-label {
  max-width: 0; overflow: hidden; white-space: nowrap;
  font-size: .9rem; font-weight: 700;
  transition: max-width .6s var(--ease), margin .6s var(--ease);
}
.wa-float:hover, .wa-float:focus-visible { background: var(--cs-brick); }
.wa-float:hover .wa-float-label, .wa-float:focus-visible .wa-float-label { max-width: 340px; margin-left: 12px; }
.wa-float::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit; border: 2px solid var(--cs-brick);
  opacity: 0; animation: waPulse 4s 3s var(--ease) infinite; pointer-events: none;
}
@keyframes waPulse { 0% { opacity: .8; transform: scale(1); } 45%, 100% { opacity: 0; transform: scale(1.35); } }

/* ==========================================================================
   Reveal system (JS adds .js to <html>)
   ========================================================================== */
.js [data-reveal] {
  opacity: 0; transform: translateY(36px);
  transition: opacity 1.1s var(--ease), transform 1.1s var(--ease);
  transition-delay: var(--rd, 0s);
}
.js [data-reveal].is-in { opacity: 1; transform: none; }
.js .scenario[data-reveal], .js .service[data-reveal] {
  transition: opacity 1.1s var(--ease) var(--rd, 0s), transform 1.1s var(--ease) var(--rd, 0s), box-shadow .7s var(--ease), color .5s var(--ease);
}
.js .scenario[data-reveal].is-in, .js .service[data-reveal].is-in { transition: opacity 1.1s var(--ease) var(--rd, 0s), transform .7s var(--ease), box-shadow .7s var(--ease), color .5s var(--ease); }

.js [data-split] .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .1em; margin-bottom: -.1em; }
.js [data-split] .wi { display: inline-block; transform: translateY(108%); transition: transform 1.15s var(--ease); transition-delay: calc(var(--i, 0) * 42ms); }
.js [data-split].is-in .wi { transform: none; }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1100px) {
  .primary-nav { display: none; }
  .menu-toggle { display: block; }
  .stats-panel { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(3) { border-left: 0; }
  .stat:nth-child(n+3) { border-top: 1px solid var(--line); }
  .scroll-cue { display: none; }
}

@media (max-width: 960px) {
  :root { --header-h: 113px; }
  .scenario-grid, .service-grid { grid-template-columns: 1fr; }
  .scenario { min-height: 0; }
  .scenario h3 { margin-top: 32px; }
  .service { min-height: 0; }
  .service-top { margin-bottom: 36px; }

  .approach-body { grid-template-columns: 1fr; }
  .approach-visual-wrap { position: relative; top: 0; max-width: 440px; }
  .approach-steps { padding-left: 24px; }
  .approach-steps::after { display: none; }
  .step { min-height: 0; padding-block: 28px; opacity: 1; grid-template-columns: 52px 1fr; }
  .step + .step { border-top: 1px solid var(--line-light); }
  .curated { grid-template-columns: 1fr; }
  .curated-numbers b { font-size: clamp(2.6rem, 13vw, 4.5rem); }
  .curated-numbers span { font-size: .64rem; letter-spacing: .16em; }

  .roles { grid-template-columns: 1fr; }
  .calc-intro, .calculator { grid-template-columns: 1fr; }
  .calc-results-wrap { position: relative; top: 0; }

  .founder-grid { grid-template-columns: 1fr; }
  .founder-portrait { max-width: 520px; }

  .t-grid { grid-template-columns: 1fr; }
  .faq-grid { grid-template-columns: 1fr; }
  .faq-head { position: static; }
  .contact-grid { grid-template-columns: 1fr; }
  .contact-media { width: 100%; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 680px) {
  body { font-size: 1rem; }
  .hero { padding-bottom: 150px; min-height: max(640px, 100svh); }
  .hero-shade {
    background:
      linear-gradient(180deg, rgba(23, 61, 56, .7) 0%, rgba(23, 61, 56, .82) 45%, rgba(23, 61, 56, .96) 100%);
  }
  .hero-media img { object-position: 78% 50%; }
  .hero-frame { --fw: 100%; font-size: clamp(2.45rem, 11.5vw, 3.4rem); padding: .32em .2em .72em .36em; display: block; }
  .hero-actions .btn { width: 100%; }
  .stats { margin-top: -84px; }
  .stat { padding: 24px 18px; }
  .stat-label { font-size: .82rem; }
  .calc-fields { grid-template-columns: 1fr; gap: 26px; }
  .calc-row label { min-height: 0; }
  .field-row { grid-template-columns: 1fr; }
  .founder-meta { grid-template-columns: 1fr; }
  .portrait-card { position: relative; right: auto; top: auto; margin: -28px 0 0 auto; width: max-content; max-width: 90%; }
  .faq-body p { padding-right: 0; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-top .btn { width: 100%; }
  .calc-end .btn { width: 100%; }
  .wa-float { height: 54px; padding: 0 15px; }
}

/* ==========================================================================
   Reduced motion
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; transition-delay: 0s !important; }
  .js [data-reveal], .js [data-split] .wi { opacity: 1; transform: none; }
  .js .statement-text .sw { opacity: 1; }
  .marquee-track { animation: none; flex-wrap: wrap; width: auto; }
  .marquee-track > :nth-child(n+9) { display: none; }
  .wa-float::after { display: none; }
}
