/* =====================================================================
   Fuentes Investments — shared styles
   Design system is locked to colour + Poppins (see CLAUDE.md). Everything
   else is intentionally loose and easy to hand-edit.
   ===================================================================== */

/* Tokens come from the design system — ../../styles.css (tokens/*). */

* { margin: 0; padding: 0; box-sizing: border-box; }
/* Keep auto — CSS smooth scrolling interferes with GSAP ScrollTrigger/ScrollTo. */
html { scroll-behavior: auto; }
body {
  background: var(--fi-bg);
  color: var(--fi-text);
  font-family: var(--fi-font);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
img, svg { display: block; max-width: 100%; }

::selection { background: rgba(0,229,143,0.28); color: #fff; }

:focus-visible {
  outline: 2px solid var(--fi-green);
  outline-offset: 3px;
  border-radius: 3px;
}

/* ---------- Layout helpers ---------- */
.wrap { max-width: 1180px; margin: 0 auto; padding: 0 32px; }
.wrap.wide { max-width: 1320px; }
.section { padding: 130px 0; position: relative; }
.section.tight { padding: 96px 0; }
.divider { border-top: 1px solid var(--fi-border); }

.label {
  display: inline-block;
  font-weight: 500; font-size: 12px; letter-spacing: 0.2em;
  text-transform: uppercase; color: var(--fi-green);
}
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-weight: 500; font-size: 12px; letter-spacing: 0.2em;
  text-transform: uppercase; color: var(--fi-text-dim);
}
.eyebrow::before {
  content: ""; width: 28px; height: 1px; background: var(--fi-green); display: inline-block;
}

.section h2 {
  font-weight: 600; font-size: clamp(28px, 3.8vw, 48px);
  letter-spacing: -0.025em; line-height: 1.08; max-width: 20ch;
}
.section .lead { color: var(--fi-text-dim); font-size: clamp(16px, 1.4vw, 19px); max-width: 62ch; }
.head { margin-bottom: 60px; }
.head .eyebrow { margin-bottom: 20px; }
.head h2 { margin-bottom: 22px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 9px;
  font-weight: 500; font-size: 15px; font-family: var(--fi-font);
  color: var(--fi-bg); background: var(--fi-green);
  padding: 13px 26px; border-radius: 9px; border: none; cursor: pointer;
  box-shadow: 0 0 0 1px rgba(0,229,143,.25), 0 12px 38px rgba(0,229,143,.18);
  transition: transform .15s var(--fi-ease), box-shadow .2s var(--fi-ease), background .2s var(--fi-ease);
}
.btn:hover { box-shadow: 0 0 0 1px rgba(0,229,143,.45), 0 16px 46px rgba(0,229,143,.3); }
.btn .arrow { transition: transform .2s var(--fi-ease); }
.btn:hover .arrow { transform: translateX(4px); }
.btn.ghost { color: var(--fi-text); background: transparent; border: 1px solid var(--fi-border); box-shadow: none; }
.btn.ghost:hover { border-color: var(--fi-green-deep); box-shadow: none; }
.cta-row { display: flex; gap: 14px; flex-wrap: wrap; }

/* Magnetic wrapper (JS moves the inner toward the cursor) */
.magnetic { display: inline-block; will-change: transform; }

/* ---------- Section "go big" clipping ---------- */
.bigsec { position: relative; overflow: hidden; }

/* ---------- Page-transition wipe ---------- */
.page-wipe {
  position: fixed; inset: 0; z-index: 100; pointer-events: none;
  background: var(--fi-surface);
  transform: translateY(100%);
  display: flex; align-items: center; justify-content: center;
}
.page-wipe .mark { font-weight: 600; font-size: 20px; color: var(--fi-green); opacity: 0; letter-spacing: -0.01em; }
.page-wipe .mark b { color: var(--fi-green); }

/* ---------- Reveal (JS-gated so no-JS users see everything) ---------- */
.js .reveal { opacity: 0; transform: translateY(24px); }
.js [data-split] { visibility: hidden; }

/* ===================================================================
   NAV
   =================================================================== */
nav.site {
  position: fixed; top: 0; left: 0; right: 0; z-index: 80;
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px 32px;
  backdrop-filter: blur(10px);
  background: linear-gradient(180deg, rgba(8,11,10,0.82), rgba(8,11,10,0.16) 70%, transparent);
  border-bottom: 1px solid transparent;
  transition: border-color .3s ease, background .3s ease, padding .3s ease, transform .4s var(--fi-ease);
}
nav.site.scrolled { border-bottom-color: var(--fi-border); background: rgba(8,11,10,0.9); padding: 13px 32px; }
nav.site.hidden { transform: translateY(-100%); }
nav.site .brand { display: inline-flex; align-items: center; gap: 11px; color: var(--fi-text); }
nav.site .brand .brand-mark { height: 32px; width: auto; flex: none; display: block; overflow: hidden;
  transition: opacity .3s ease, width .3s ease, margin .3s ease; }
nav.site .brand .brand-mark .cls-1 { fill: var(--fi-green); }
/* the green "f" only reads well on a dark bar — hide it otherwise (incl. the
   light/on-light hero, so it appears exactly when the bar turns dark) */
nav.site:not(.scrolled):not(.nav-solid) .brand .brand-mark,
nav.site.on-light .brand .brand-mark { opacity: 0; width: 0; margin-right: -11px; }
nav.site .brand .brand-word { color: var(--fi-text); font-weight: 700; font-size: 21px; letter-spacing: -0.022em; line-height: 1; }
nav.site .nav-right { display: flex; align-items: center; gap: 30px; }
.lang-switch { display: inline-flex; align-items: center; gap: 0; font-size: 12px; font-weight: 600;
  border: 1px solid var(--fi-border); border-radius: 999px; padding: 2px; line-height: 1; }
.lang-switch a { color: var(--fi-text-dim); transition: color .2s ease, background .2s ease;
  padding: 5px 11px; border-radius: 999px; letter-spacing: .02em; }
.lang-switch a:hover { color: var(--fi-text); }
.lang-switch a.lang-active { color: var(--fi-bg); background: var(--fi-green); }
nav.site.on-light .lang-switch { border-color: var(--fi-ink-faint); }
nav.site.on-light .lang-switch a { color: var(--fi-ink-dim); }
nav.site.on-light .lang-switch a:hover { color: var(--fi-ink); }
nav.site.on-light .lang-switch a.lang-active { color: var(--fi-bg); background: var(--fi-green-deep); }
nav.site .links { display: flex; gap: 26px; font-size: 14px; color: var(--fi-text-dim); }
nav.site .links a { position: relative; transition: color .2s ease; }
nav.site .links a::after {
  content: ""; position: absolute; left: 0; right: 100%; bottom: -5px; height: 1px;
  background: var(--fi-green); transition: right .25s var(--fi-ease);
}
nav.site .links a:hover { color: var(--fi-text); }
nav.site .links a:hover::after, nav.site .links a.active::after { right: 0; }
nav.site .links a.active { color: var(--fi-text); }
nav.site .nav-cta {
  font-size: 14px; font-weight: 500; color: var(--fi-text); white-space: nowrap;
  border: 1px solid var(--fi-border); padding: 9px 18px; border-radius: 8px;
  transition: border-color .2s ease, color .2s ease;
}
nav.site .nav-cta:hover { border-color: var(--fi-green); color: var(--fi-green); }

/* LEGAL / PRIVACY PAGE */
.legal-hero { padding: 150px 0 56px; border-bottom: 1px solid var(--fi-border); }
.legal-hero .pill-label { margin-bottom: 22px; }
.legal-hero h1 { font-weight: 600; font-size: clamp(38px, 5vw, 64px); letter-spacing: -0.03em; line-height: 1.04; }
.legal-hero .intro { color: var(--fi-text-dim); font-size: clamp(16px, 1.5vw, 19px); line-height: 1.55; margin-top: 22px; max-width: 60ch; }
.legal { max-width: 760px; }
.legal h2 { font-weight: 600; font-size: clamp(20px, 2vw, 26px); letter-spacing: -0.02em; margin: 48px 0 14px; }
.legal h3 { font-weight: 600; font-size: 17px; letter-spacing: -0.01em; color: var(--fi-green); margin: 32px 0 12px; }
.legal p { color: var(--fi-text-dim); font-size: 15.5px; line-height: 1.7; margin-bottom: 16px; }
.legal p strong { color: var(--fi-text); font-weight: 600; }
.legal ul { list-style: none; display: grid; gap: 10px; margin: 8px 0 22px; }
.legal ul li { position: relative; padding-left: 22px; color: var(--fi-text-dim); font-size: 15.5px; line-height: 1.6; }
.legal ul li::before { content: ""; position: absolute; left: 0; top: 10px; width: 7px; height: 7px; border-radius: 50%; background: var(--fi-green); }
.legal ul li strong { color: var(--fi-text); font-weight: 600; }

/* always-solid dark nav (pages with a light/green hero) */
nav.site.nav-solid, nav.site.nav-solid.scrolled { background: rgba(8,11,10,0.92); border-bottom-color: var(--fi-border); backdrop-filter: blur(10px); }

/* intro loader (home + services) */
.site-loader { position: fixed; inset: 0; z-index: 9999; background: var(--fi-bg);
  display: flex; align-items: center; justify-content: center;
  transition: opacity .6s ease, visibility .6s ease; }
.site-loader.done { opacity: 0; visibility: hidden; }
.loader-dots { display: flex; gap: 16px; }
.loader-dots .ld { width: 16px; height: 16px; border-radius: 50%; box-sizing: border-box;
  border: 1.5px solid var(--fi-green-deep); background: transparent; animation: ldfill 1.5s infinite ease-in-out; }
.loader-dots .ld:nth-child(1) { animation-delay: 0s; }
.loader-dots .ld:nth-child(2) { animation-delay: .16s; }
.loader-dots .ld:nth-child(3) { animation-delay: .32s; }
.loader-dots .ld:nth-child(4) { animation-delay: .48s; }
.loader-dots .ld:nth-child(5) { animation-delay: .64s; }
@keyframes ldfill {
  0%, 100% { background: transparent; border-color: var(--fi-green-deep); box-shadow: none; }
  45%, 55% { background: var(--fi-green); border-color: var(--fi-green); box-shadow: 0 0 14px rgba(0,229,143,0.45); }
}
@media (prefers-reduced-motion: reduce) { .loader-dots .ld { animation-duration: .01ms; background: var(--fi-green); border-color: var(--fi-green); } }

/* consent bar */
.consent-bar { position: fixed; left: 50%; bottom: 22px; transform: translate(-50%, 140%); z-index: 200;
  width: min(720px, calc(100vw - 32px)); display: flex; align-items: center; gap: 22px; flex-wrap: wrap;
  background: rgba(15,21,18,0.92); backdrop-filter: blur(14px); border: 1px solid var(--fi-border);
  border-radius: 16px; padding: 18px 22px; box-shadow: 0 20px 60px rgba(0,0,0,0.45);
  opacity: 0; transition: transform .5s var(--fi-ease), opacity .4s ease; }
.consent-bar.show { transform: translate(-50%, 0); opacity: 1; }
.consent-copy { flex: 1 1 280px; color: var(--fi-text-dim); font-size: 13.5px; line-height: 1.55; margin: 0; }
.consent-copy a { color: var(--fi-green); }
.consent-copy a:hover { text-decoration: underline; }
.consent-actions { display: flex; gap: 10px; flex-shrink: 0; }
.consent-btn { font-family: var(--fi-font); font-size: 13.5px; font-weight: 500; cursor: pointer;
  border-radius: var(--fi-radius-sm, 8px); padding: 10px 20px; transition: background .2s ease, border-color .2s ease, color .2s ease; }
.consent-btn.reject { background: transparent; color: var(--fi-text-dim); border: 1px solid var(--fi-border); }
.consent-btn.reject:hover { color: var(--fi-text); border-color: var(--fi-text-dim); }
.consent-btn.accept { background: var(--fi-green); color: var(--fi-bg); border: 1px solid var(--fi-green); }
.consent-btn.accept:hover { background: #fff; border-color: #fff; }
@media (max-width: 520px) { .consent-bar { gap: 14px; } .consent-actions { width: 100%; } .consent-btn { flex: 1; } }

/* nav over the inverted (white) hero — dark text, transparent bg */
nav.site.on-light { background: transparent; backdrop-filter: none; border-bottom-color: transparent; }
nav.site.on-light .brand { color: var(--fi-ink); }
nav.site.on-light .brand .brand-word { color: var(--fi-ink); }
nav.site.on-light .brand b { color: var(--fi-green-deep); }
nav.site.on-light .links { color: var(--fi-ink-dim); }
nav.site.on-light .links a:hover, nav.site.on-light .links a.active { color: var(--fi-ink); }
nav.site.on-light .nav-cta { color: var(--fi-ink); border-color: var(--fi-ink-faint); }
nav.site.on-light .nav-cta:hover { color: var(--fi-green-deep); border-color: var(--fi-green-deep); }
nav.site.on-light .nav-toggle { border-color: var(--fi-ink-faint); }
nav.site.on-light .nav-toggle span { background: var(--fi-ink); }

/* Mobile nav */
.nav-toggle { display: none; width: 40px; height: 40px; border: 1px solid var(--fi-border);
  background: transparent; border-radius: 9px; cursor: pointer; position: relative; }
.nav-toggle span { position: absolute; left: 10px; right: 10px; height: 1.5px; background: var(--fi-text);
  transition: transform .3s var(--fi-ease), opacity .2s ease; }
.nav-toggle span:nth-child(1) { top: 14px; }
.nav-toggle span:nth-child(2) { top: 20px; }
.nav-toggle span:nth-child(3) { top: 26px; }
body.menu-open .nav-toggle span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
body.menu-open .nav-toggle span:nth-child(2) { opacity: 0; }
body.menu-open .nav-toggle span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 860px) {
  nav.site .links, nav.site .nav-cta { display: none; }
  nav.site .lang-switch { margin-left: auto; margin-right: 8px; }
  .nav-toggle { display: block; }
  .mobile-menu {
    position: fixed; inset: 0; z-index: 79; background: var(--fi-bg);
    display: flex; flex-direction: column; justify-content: center; gap: 8px; padding: 0 40px;
    clip-path: inset(0 0 100% 0); transition: clip-path .5s var(--fi-ease);
  }
  body.menu-open .mobile-menu { clip-path: inset(0 0 0 0); }
  .mobile-menu a { font-size: 30px; font-weight: 600; color: var(--fi-text); padding: 10px 0;
    border-bottom: 1px solid var(--fi-border); letter-spacing: -0.02em; }
  .mobile-menu a .i { color: var(--fi-green); font-size: 14px; margin-right: 14px; }
}
@media (min-width: 861px) { .mobile-menu { display: none; } }

/* ===================================================================
   HERO (home)
   =================================================================== */
.hero-track { height: 260vh; }
.hero-pin { position: relative; height: 100vh; width: 100%; overflow: hidden; display: flex; align-items: center; }
#scene { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 2; }
.hero-fallback { position: absolute; inset: 0; z-index: 1;
  background:
    radial-gradient(120% 120% at 78% 12%, rgba(0,229,143,0.20), transparent 52%),
    radial-gradient(90% 90% at 12% 92%, rgba(11,143,94,0.24), transparent 58%),
    linear-gradient(180deg, var(--fi-surface) 0%, var(--fi-bg) 70%);
}
.hero-fallback .routes { position: absolute; inset: 0; width: 100%; height: 100%; opacity: .55; will-change: transform; }
.hero-fallback .grid-veil {
  position: absolute; inset: -10%;
  background-image:
    linear-gradient(rgba(33,48,42,0.35) 1px, transparent 1px),
    linear-gradient(90deg, rgba(33,48,42,0.35) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(80% 80% at 50% 40%, #000 30%, transparent 78%);
  -webkit-mask-image: radial-gradient(80% 80% at 50% 40%, #000 30%, transparent 78%);
  will-change: transform;
}
.hero-content { position: relative; z-index: 3; max-width: 1180px; margin: 0 auto; padding: 0 32px; width: 100%;
  pointer-events: none; }
.hero-content .eyebrow { margin-bottom: 26px; }
.hero-content h1 {
  font-weight: 600; font-size: clamp(40px, 6.4vw, 84px);
  line-height: 1.04; letter-spacing: -0.03em; max-width: 17ch; margin-bottom: 26px;
}
.hero-content h1 .accent { color: var(--fi-green); }
.hero-content p.sub { color: var(--fi-text-dim); font-size: clamp(16px, 1.6vw, 20px); max-width: 52ch; margin-bottom: 18px; }
.hero-content .cta-row { margin-top: 20px; pointer-events: auto; }

/* glass scroll pill — centered bottom, fades away once scrolling begins */
.scroll-pill {
  position: absolute; bottom: clamp(26px, 4vh, 44px); left: 50%; transform: translateX(-50%);
  z-index: 5; pointer-events: auto; cursor: pointer;
  display: inline-flex; align-items: center; gap: 8px;
  padding: 11px 20px; border-radius: 999px;
  font-family: var(--fi-font); font-size: 14px; font-weight: 500; letter-spacing: -0.01em;
  color: var(--fi-ink);
  background: rgba(255, 255, 255, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.6);
  -webkit-backdrop-filter: blur(14px) saturate(1.2); backdrop-filter: blur(14px) saturate(1.2);
  box-shadow: 0 8px 30px rgba(8, 11, 10, 0.12);
  transition: opacity 0.5s var(--fi-ease), transform 0.5s var(--fi-ease), box-shadow 0.3s var(--fi-ease);
}
.scroll-pill svg { width: 16px; height: 16px; color: var(--fi-green-deep); animation: pillBob 1.8s ease-in-out infinite; }
.scroll-pill:hover { box-shadow: 0 12px 36px rgba(8, 11, 10, 0.18); }
.scroll-pill.is-hidden { opacity: 0; transform: translate(-50%, 14px); pointer-events: none; }
@keyframes pillBob { 0%, 100% { transform: translateY(-2px); } 50% { transform: translateY(3px); } }
@media (prefers-reduced-motion: reduce) { .scroll-pill svg { animation: none; } }

.scroll-cue { position: absolute; bottom: 26px; left: 50%; transform: translateX(-50%); z-index: 4;
  color: var(--fi-text-dim); font-size: 10.5px; letter-spacing: 0.24em; text-transform: uppercase;
  display: flex; flex-direction: column; align-items: center; gap: 9px; }
.scroll-cue .line { width: 1px; height: 40px; background: linear-gradient(var(--fi-green), transparent);
  position: relative; overflow: hidden; }
.scroll-cue .line::after { content: ""; position: absolute; top: -40px; left: 0; width: 1px; height: 40px;
  background: linear-gradient(var(--fi-lime), transparent); animation: cueDrop 2.2s ease-in-out infinite; }
@keyframes cueDrop { 0% { top: -40px; } 60%,100% { top: 40px; } }

/* ===================================================================
   PAGE HERO (inner pages — simpler, animated)
   =================================================================== */
.page-hero { min-height: 100vh; display: flex; align-items: center; padding: 130px 0 90px; position: relative; overflow: hidden; }
/* cursor-following Spline orb */
.cursor-orb { position: absolute; top: 0; left: 0; width: 200px; height: 200px; border-radius: 50%;
  overflow: hidden; background: var(--fi-green); pointer-events: none; z-index: 1;
  opacity: 0; transform: translate(-50%, -50%); transition: opacity .45s var(--fi-ease); }
.cursor-orb.ready.show { opacity: 1; }
.cursor-orb .orb-layer { position: absolute; inset: 0; width: 100%; height: 100%; display: block;
  opacity: 0; transition: opacity 1s var(--fi-ease); }
.cursor-orb .orb-layer.active { opacity: 1; }
@media (hover: none) { .cursor-orb { display: none; } }
.page-hero .eyebrow { margin-bottom: 22px; }
.page-hero h1 { font-weight: 600; font-size: clamp(34px, 4.6vw, 60px); letter-spacing: -0.03em; line-height: 1.08;
  max-width: 18ch; margin-bottom: 26px; }
.page-hero h1 .accent { color: var(--fi-green); }
.page-hero p.intro { color: var(--fi-text-dim); font-size: clamp(16px, 1.6vw, 20px); max-width: 58ch; }
.page-hero .glow { position: absolute; top: -10%; right: -5%; width: 50vw; height: 50vw; z-index: -1;
  background: radial-gradient(circle, rgba(0,229,143,0.12), transparent 60%); filter: blur(20px); }

/* ===================================================================
   HOME — horizontal sectors
   =================================================================== */
.h-pin { position: relative; height: 100vh; overflow: hidden; }
.h-track { display: flex; height: 100%; align-items: stretch; will-change: transform; }
.h-intro, .h-panel { flex: 0 0 clamp(360px, 46vw, 620px); height: 100%; display: flex; flex-direction: column;
  justify-content: center; padding: 0 clamp(32px, 5vw, 90px); border-right: 1px solid var(--fi-border); }
.h-intro { flex-basis: clamp(360px, 42vw, 560px); }
.h-intro .eyebrow { margin-bottom: 22px; }
.h-intro h2 { font-weight: 600; font-size: clamp(30px, 4vw, 56px); letter-spacing: -0.03em; line-height: 1.06; margin-bottom: 22px; }
.h-intro p { color: var(--fi-text-dim); font-size: 17px; max-width: 40ch; }
.h-panel .pn { font-size: 13px; letter-spacing: .16em; color: var(--fi-green); font-weight: 600; margin-bottom: 22px; }
.h-panel h3 { font-weight: 600; font-size: clamp(26px, 2.6vw, 36px); letter-spacing: -0.02em; margin-bottom: 16px; max-width: 14ch; }
.h-panel p { color: var(--fi-text-dim); font-size: 16px; max-width: 38ch; }
.h-panel .pico { width: 46px; height: 46px; border-radius: 12px; border: 1px solid var(--fi-border);
  display: flex; align-items: center; justify-content: center; margin-bottom: 26px; color: var(--fi-green); }
/* anchor panel content to a common top so every title lines up across the row */
.h-panel, .h-intro { justify-content: flex-start; padding-top: clamp(150px, 30vh, 320px); }
.h-progress { position: absolute; left: 0; bottom: 0; height: 2px; background: var(--fi-green); width: 0%; z-index: 5; }

/* Marquee ticker */
.marquee { overflow: hidden; border-top: 1px solid var(--fi-border); border-bottom: 1px solid var(--fi-border);
  padding: 26px 0; }
.marquee-row { display: flex; gap: 48px; width: max-content; will-change: transform; }
.marquee-row span { font-size: clamp(22px, 3vw, 40px); font-weight: 600; letter-spacing: -0.02em; color: var(--fi-surface-2);
  -webkit-text-stroke: 1px var(--fi-border); display: inline-flex; align-items: center; gap: 48px; white-space: nowrap; }
.marquee-row span::after { content: "•"; color: var(--fi-green); -webkit-text-stroke: 0; }

/* Stats band */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
@media (max-width: 880px) { .stats { grid-template-columns: repeat(2, 1fr); gap: 36px 24px; } }
.stat-block .sv { font-size: clamp(34px, 4vw, 52px); font-weight: 600; letter-spacing: -0.02em; line-height: 1; }
.stat-block .sv span { color: var(--fi-green); }
.stat-block .sl { color: var(--fi-text-dim); font-size: 14px; margin-top: 12px; max-width: 24ch; }

/* Case study draggable slider (home teaser + reusable) */
.slider-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; margin-bottom: 40px; }
.slider-hint { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--fi-text-dim);
  display: inline-flex; align-items: center; gap: 10px; }
.slider-hint::before { content: ""; width: 22px; height: 1px; background: var(--fi-green); }
.drag-track { cursor: grab; }
.drag-track:active { cursor: grabbing; }
.drag-row { display: flex; gap: 18px; width: max-content; will-change: transform; }
.slide-card { flex: 0 0 clamp(300px, 36vw, 440px); background: var(--fi-surface); border: 1px solid var(--fi-border);
  border-radius: 18px; padding: 32px; min-height: 320px; display: flex; flex-direction: column;
  transition: border-color .25s ease; }
.slide-card:hover { border-color: var(--fi-green-deep); }
.slide-card .region-tag { font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: var(--fi-green); font-weight: 500; }
.slide-card h3 { font-weight: 600; font-size: 22px; margin: 14px 0; letter-spacing: -0.02em; }
.slide-card p { color: var(--fi-text-dim); font-size: 14.5px; }
.slide-card .go { margin-top: auto; color: var(--fi-green); font-size: 14px; font-weight: 500;
  display: inline-flex; align-items: center; gap: 8px; }
.drag-progress { height: 2px; background: var(--fi-border); margin-top: 32px; border-radius: 2px; overflow: hidden; }
.drag-progress .bar { height: 100%; width: 20%; background: var(--fi-green); border-radius: 2px; }

/* CTA band */
.cta-band { text-align: center; padding: 120px 0; }
.cta-band h2 { font-size: clamp(30px, 4.5vw, 58px); letter-spacing: -0.03em; line-height: 1.06; margin: 0 auto 28px; max-width: 18ch; }
.cta-band .cta-row { justify-content: center; }

/* OUTRO — CTA + footer merged into one 100vh section, big green f spans full height */
footer.site.outro { min-height: 100vh; padding: 0; display: flex; align-items: stretch; }
.outro .footer-f { top: 0; bottom: 0; right: -6%; height: 100%; width: auto; }
@media (max-width: 860px) { .outro .footer-f { opacity: 0.12; height: 100%; right: -10%; } }
.outro-inner { display: flex; flex-direction: column; min-height: 100vh;
  padding-top: clamp(80px, 12vh, 140px); padding-bottom: clamp(28px, 4vh, 48px); }
.outro-cta { flex: 1 1 auto; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; }
.outro-cta h2 { font-size: clamp(30px, 4.5vw, 58px); letter-spacing: -0.03em; line-height: 1.06; margin: 0 auto 24px; max-width: 18ch; color: var(--fi-text); }
.outro-cta p { color: var(--fi-text-dim); max-width: 46ch; margin: 0 auto 30px; }
.outro-cta .cta-row { justify-content: center; }
/* footer part: full-width glass band sitting above the green f, content in a row */
.outro-foot { position: relative; z-index: 1; background: rgba(15,21,18,0.66);
  backdrop-filter: blur(16px) saturate(1.15); -webkit-backdrop-filter: blur(16px) saturate(1.15);
  border: 1px solid var(--fi-border); border-radius: 18px; padding: clamp(24px, 3vw, 40px); }
.outro .footer-top { max-width: 100%; flex-wrap: nowrap; align-items: flex-start; justify-content: space-between; gap: 70px; margin-bottom: 0; }
.outro .footer-top > div:first-child { flex: 0 1 360px; }
.outro .footer-links { flex: 0 0 auto; }
.outro .footer-bottom { margin-top: 22px; padding-top: 22px; border-top: 1px solid var(--fi-border); }
@media (max-width: 760px) { .outro .footer-top { flex-wrap: wrap; gap: 32px; } }

/* ===================================================================
   SHARED CONTENT COMPONENTS (cards, chips, etc.)
   =================================================================== */
.statement { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.statement h2 { font-size: clamp(30px, 4vw, 52px); }
.statement .body p { color: var(--fi-text-dim); font-size: 18px; margin-bottom: 20px; }
.statement .body p:last-child { margin-bottom: 0; }
@media (max-width: 880px) { .statement { grid-template-columns: 1fr; gap: 28px; } }

.sector-chips { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 40px; }
.chip { font-size: 13px; color: var(--fi-text-dim); border: 1px solid var(--fi-border); border-radius: 999px;
  padding: 9px 18px; background: var(--fi-surface); transition: border-color .2s ease, color .2s ease; }
.chip:hover { border-color: var(--fi-green-deep); color: var(--fi-text); }

.grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.persp-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0; border-top: 1px solid var(--fi-border); }
.page-hero .persp-grid { margin-top: clamp(36px, 5vw, 64px); }
.persp-grid .card { background: transparent; border: none; border-bottom: 1px solid var(--fi-border);
  border-radius: 0; position: relative; overflow: hidden; isolation: isolate; padding: clamp(26px, 2.6vw, 38px) clamp(24px, 2.4vw, 34px); }
.persp-grid .card:nth-child(odd) { border-right: 1px solid var(--fi-border); }
.persp-grid .card::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--fi-green);
  transform: scaleX(0); transform-origin: left center; transition: transform .55s var(--fi-ease); }
.persp-grid .card:hover::before { transform: scaleX(1); }
.persp-grid .card h3, .persp-grid .card p { transition: color .4s var(--fi-ease); }
.persp-grid .card:hover h3 { color: var(--fi-bg); }
.persp-grid .card:hover p { color: rgba(8,11,10,0.8); }
@media (max-width: 720px) { .persp-grid { grid-template-columns: 1fr; }
  .persp-grid .card:nth-child(odd) { border-right: none; } }

/* green-wash sections (e.g. about top) — ink text, dark cards stay dark */
.greenwash { background: var(--fi-green); }
.page-hero.greenwash { min-height: 72vh; }
.page-hero.hero-compact { min-height: 0; padding: 150px 0 40px; }
.hero-center .wrap { text-align: center; }
.hero-center .wrap h1, .hero-center .wrap .intro { margin-left: auto; margin-right: auto; }
.hero-center .wrap .intro { max-width: 60ch; }

/* video stage with a green passepartout matte (reads as part of the green hero) */
.video-stage.matte { height: auto; background: var(--fi-green); padding: 0 clamp(16px, 4vw, 64px) clamp(16px, 4vw, 64px); overflow: visible; }
.video-stage.matte .video-frame { position: relative; height: 100vh; border-radius: 30px; overflow: hidden; transform: translateZ(0); -webkit-mask-image: -webkit-radial-gradient(white, black); }
.video-stage.matte .video-bg { border-radius: 0; overflow: hidden; }
.video-stage.matte .video-el { will-change: transform; }
.greenwash.divider { border-top: none; }
.greenwash h1, .greenwash h2 { color: var(--fi-ink); }
.greenwash h1 .accent { color: #F2FBF6; }
.greenwash .intro, .greenwash .statement .body p, .greenwash p.reveal { color: var(--fi-ink-dim); }
.greenwash .card h3 { color: var(--fi-text); }
.greenwash .card p { color: var(--fi-text-dim); }
@media (max-width: 720px) { .persp-grid { grid-template-columns: 1fr; } }
@media (max-width: 980px) { .grid3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .grid3 { grid-template-columns: 1fr; } }

.card { position: relative; background: var(--fi-surface); border: 1px solid var(--fi-border); border-radius: 16px;
  padding: 30px 28px; overflow: hidden; transition: border-color .25s ease, transform .25s ease; }
.card::before { content: ""; position: absolute; inset: 0;
  background: radial-gradient(120% 120% at 100% 0%, rgba(0,229,143,0.08), transparent 60%);
  opacity: 0; transition: opacity .3s ease; }
.card:hover { border-color: var(--fi-green-deep); transform: translateY(-4px); }
.card:hover::before { opacity: 1; }
.card .num { color: var(--fi-green); font-weight: 600; font-size: 12px; letter-spacing: .14em; }
.card h3 { font-weight: 600; font-size: 19px; margin: 16px 0 10px; letter-spacing: -0.01em; }
.card p { color: var(--fi-text-dim); font-size: 14.5px; }
.card .relevance { margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--fi-border); font-size: 13px; color: var(--fi-text-dim); }
.card .relevance b { color: var(--fi-text); font-weight: 500; }

/* Checklist */
.checklist { list-style: none; display: grid; gap: 14px; }
.checklist li { display: grid; grid-template-columns: auto 1fr; gap: 14px; align-items: start; color: var(--fi-text-dim); font-size: 15px; }
.checklist li::before { content: ""; width: 20px; height: 20px; border-radius: 50%; border: 1px solid var(--fi-green-deep);
  margin-top: 2px; flex-shrink: 0;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%2300E58F' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center / 12px no-repeat; }

/* ===================================================================
   APPROACH — split pinned + drawSVG steps
   =================================================================== */
.split { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 70px; align-items: start; }

/* OUTPUT / FIT — green section with dark cards + corner icon */
.out-sec { background: var(--fi-green); }
.out-sec .num { color: var(--fi-green); }
.out-card { position: relative; background: var(--fi-surface); border-color: rgba(0,0,0,0.32); }
.out-ic { display: inline-flex; width: 38px; height: 38px; border-radius: 11px; align-items: center; justify-content: center;
  background: var(--fi-surface-2); border: 1px solid var(--fi-border); color: var(--fi-green); margin-bottom: 20px; }
.out-ic svg { width: 20px; height: 20px; }

/* full-height video stage with a small corner card */
.video-stage { position: relative; height: 100vh; min-height: 560px; overflow: hidden; background: var(--fi-surface); }
.video-bg { position: absolute; inset: 0; z-index: 0;
  background: radial-gradient(120% 100% at 70% 20%, #16201B 0%, var(--fi-bg) 70%); }
.video-bg .video-el { width: 100%; height: 100%; object-fit: cover; display: block; }
.video-bg .parallax-img { position: absolute; left: 0; top: 0; width: 100%; height: 128%; object-fit: cover; will-change: transform; }
.video-bg .video-scrim { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(8,11,10,0.72) 0%, rgba(8,11,10,0.38) 45%, rgba(8,11,10,0.15) 100%); }
.video-card { position: absolute; left: clamp(20px, 4vw, 56px); bottom: clamp(20px, 4vw, 56px); z-index: 1;
  max-width: 440px; background: rgba(15,21,18,0.72); backdrop-filter: blur(14px) saturate(1.2);
  -webkit-backdrop-filter: blur(14px) saturate(1.2); border: 1px solid var(--fi-border); border-radius: 18px;
  padding: clamp(24px, 2.4vw, 34px); }
.video-card h2 { font-weight: 600; font-size: clamp(20px, 2vw, 27px); letter-spacing: -0.02em; line-height: 1.16; }
.video-card p { color: var(--fi-text-dim); font-size: 14px; line-height: 1.55; }
.video-card h2 + p { margin-top: 14px; }
@media (max-width: 560px) { .video-card { left: 14px; right: 14px; bottom: 14px; max-width: none; } }
@media (max-width: 920px) { .split { grid-template-columns: 1fr; gap: 40px; } }
.split-sticky { position: sticky; top: 120px; align-self: start; }
.split-sticky .big-step { font-size: clamp(80px, 12vw, 160px); font-weight: 600; color: var(--fi-surface-2);
  -webkit-text-stroke: 1px var(--fi-green-deep); line-height: 1; letter-spacing: -0.04em; }
.split-sticky .cur-title { font-size: clamp(24px, 3vw, 34px); font-weight: 600; letter-spacing: -0.02em; margin-top: 18px; min-height: 2.2em; }
.split-sticky .cur-meta { color: var(--fi-text-dim); margin-top: 16px; font-size: 15px; max-width: 32ch; }

/* horizontal 4-step row with a drawn connecting line through the markers */
.steps-h { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; padding-top: 4px; }
.steps-h .track-line-h { position: absolute; left: 0; right: 0; top: 24px; width: 100%; height: 2px; }
.step-h { position: relative; }
.step-h .marker { position: relative; z-index: 1; width: 48px; height: 48px; border-radius: 13px;
  border: 1px solid var(--fi-border); background: var(--fi-surface-2); display: flex; align-items: center; justify-content: center;
  font-weight: 600; color: var(--fi-green); font-size: 16px; margin-bottom: 24px; transition: border-color .3s ease, box-shadow .3s ease; }
.step-h.is-active .marker { border-color: var(--fi-green); box-shadow: 0 0 0 4px rgba(0,229,143,0.12); }
.step-h h3 { font-weight: 600; font-size: 18px; margin-bottom: 8px; letter-spacing: -0.01em; }
.steps-sec .head h2 { font-size: clamp(20px, 2.3vw, 27px); }
.steps-sec .step-h h3 { font-size: 14.5px; }
.step-h p { color: var(--fi-text-dim); font-size: 14px; line-height: 1.5; }
@media (max-width: 920px) { .steps-h { grid-template-columns: 1fr 1fr; gap: 28px 24px; }
  .steps-h .track-line-h { display: none; } }
@media (max-width: 560px) { .steps-h { grid-template-columns: 1fr; } }

/* ===================================================================
   SERVICES — sticky scroll index
   =================================================================== */
.svc-layout { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 0; align-items: start; }
.svc-nav { padding-right: 0; }
.svc-layout > div:last-child { border-left: 1px solid var(--fi-border); padding-left: 64px; }
@media (max-width: 960px) { .svc-layout { grid-template-columns: 1fr; gap: 8px; }
  .svc-nav { padding-right: 0; }
  .svc-layout > div:last-child { border-left: none; padding-left: 0; } }
.svc-nav { position: sticky; top: 130px; align-self: start; display: flex; flex-direction: column; gap: 6px; }
@media (max-width: 960px) { .svc-nav { display: none; } }
.svc-nav ul { list-style: none; margin-top: 0; display: flex; flex-direction: column; gap: 0; }
.svc-nav li a { position: relative; display: block; padding: 16px 24px 16px 18px; color: var(--fi-text-dim);
  font-size: clamp(16px, 1.4vw, 20px); font-weight: 600; letter-spacing: -0.02em; line-height: 1.15;
  border-bottom: 1px solid var(--fi-border); overflow: hidden; isolation: isolate; transition: color .35s var(--fi-ease); }
.svc-nav li:first-child a { border-top: 1px solid var(--fi-border); }
.svc-nav li a::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--fi-green);
  transform: scaleX(0); transform-origin: left center; transition: transform .5s var(--fi-ease); }
.svc-nav li a:hover { color: var(--fi-text); }
.svc-nav li a.active { color: var(--fi-bg); }
.svc-nav li a.active::before { transform: scaleX(1); }

.svc-block { display: none; scroll-margin-top: 120px; }
.svc-block.active { display: block; }
@media (prefers-reduced-motion: no-preference) {
  .svc-block.active { animation: svcFade .4s var(--fi-ease) forwards; }
}
@keyframes svcFade { from { transform: translateY(8px); } to { transform: none; } }
.svc-block h3 { font-weight: 600; font-size: clamp(22px, 2.4vw, 30px); letter-spacing: -0.02em; margin: 0 0 14px; }
.svc-block > p { color: var(--fi-text-dim); font-size: 15px; line-height: 1.55; max-width: 60ch; margin-bottom: 4px; }
/* two columns split by a middle hairline; tab title becomes the column heading */
.svc-cols { margin-top: 24px; display: grid; grid-template-columns: 1fr 1fr; gap: 0; border-top: 1px solid var(--fi-border); }
.svc-col { padding: 22px 0; }
.svc-col:first-child { padding-right: 36px; border-right: 1px solid var(--fi-border); }
.svc-col:last-child { padding-left: 36px; }
.svc-col h4 { font-size: 11px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--fi-text-dim); margin-bottom: 16px; }
.svc-list { list-style: none; display: grid; gap: 8px; }
.svc-list li { font-size: 13px; color: var(--fi-text-dim); line-height: 1.45;
  display: grid; grid-template-columns: 16px 1fr; gap: 10px; align-items: start; }
.svc-list li::before { content: ""; width: 14px; height: 14px; margin-top: 3px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%2300E58F' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") no-repeat center / contain; }
.svc-col p { font-size: 13px; color: var(--fi-text-dim); line-height: 1.55; }
@media (max-width: 600px) {
  .svc-cols { grid-template-columns: 1fr; }
  .svc-col:first-child { padding-right: 0; border-right: none; border-bottom: 1px solid var(--fi-border); }
  .svc-col:last-child { padding-left: 0; }
}

/* ===================================================================
   CASE STUDIES — horizontal pinned panels
   =================================================================== */
.cs-pin { position: relative; height: 100vh; overflow: hidden; }
.cs-track { display: flex; height: 100%; will-change: transform; position: relative; z-index: 1; }

/* Spline background scene (3D only, no bg) over a paper/mint fill */
.cs-pin.cs-light { background: var(--fi-paper); }
.cs-scene { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.cs-scene canvas, .cs-scene spline-viewer { width: 100%; height: 100%; display: block; }
/* invert the on-mint copy to ink so it stays legible over the light background */
.cs-light .cs-panel h3 { color: var(--fi-ink); }
.cs-light .cs-panel > .inner > div > p { color: var(--fi-ink-dim); }
.cs-light .cs-panel .region-tag { color: var(--fi-green-deep); border-color: var(--fi-ink-faint); }
.cs-light .focus-chips span { color: var(--fi-ink-dim); border-color: var(--fi-ink-faint); }
.cs-light .takeaway { color: var(--fi-ink); }
.cs-light .cs-stat .takeaway { color: var(--fi-text); }
.cs-light .cs-counter { color: var(--fi-ink-dim); }
.cs-panel { flex: 0 0 100vw; height: 100%; display: flex; align-items: center; }
.cs-panel .inner { max-width: 1180px; margin: 0 auto; padding: 110px 32px 60px; width: 100%;
  display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
@media (max-width: 880px) { .cs-panel .inner { grid-template-columns: 1fr; gap: 30px; } }
.cs-panel .region-tag { display: inline-flex; align-items: center; font-size: 13px; letter-spacing: -0.01em; text-transform: none; color: var(--fi-green); font-weight: 500; border: 1px solid var(--fi-border); border-radius: 999px; padding: 6px 14px; }
.cs-panel h3 { font-weight: 600; font-size: clamp(28px, 3.4vw, 44px); letter-spacing: -0.025em; margin: 16px 0 18px; line-height: 1.08; }
.cs-panel > .inner > div > p { color: var(--fi-text-dim); font-size: 16px; max-width: 46ch; margin-bottom: 22px; }
.cs-stat { border: 1px solid var(--fi-border); border-radius: 20px; padding: 40px; background:
  radial-gradient(80% 90% at 80% 10%, rgba(0,229,143,0.08), transparent 60%), var(--fi-surface); }
.cs-stat .big { font-size: clamp(48px, 7vw, 90px); font-weight: 600; letter-spacing: -0.03em; line-height: 1; }
.cs-stat .big span { color: var(--fi-green); }
.cs-stat .cap { color: var(--fi-text-dim); font-size: 14.5px; margin-top: 18px; max-width: 30ch; }
.focus-chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 22px; }
.focus-chips span { font-size: 12px; color: var(--fi-text-dim); border: 1px solid var(--fi-border); border-radius: 6px; padding: 5px 10px; }
.takeaway { font-size: 14px; color: var(--fi-text); padding-left: 16px; border-left: 2px solid var(--fi-green); line-height: 1.5; margin-top: 26px; }
.takeaway .tk-bolt { width: 16px; height: 16px; color: var(--fi-green); display: block; margin-bottom: 8px; }
.cs-counter { position: absolute; top: 96px; left: 50%; transform: translateX(-50%); z-index: 5;
  display: flex; gap: 11px; }
.cs-counter .cs-dot { width: 13px; height: 13px; border-radius: 50%; box-sizing: border-box;
  border: 1.5px solid var(--fi-green-deep); background: transparent; transition: background .35s var(--fi-ease); }
.cs-counter .cs-dot.fill { background: var(--fi-green); border-color: var(--fi-green); }
.cs-bar { position: absolute; left: 0; bottom: 0; height: 2px; background: var(--fi-green); width: 0; z-index: 5; }

/* ===================================================================
   ABOUT — draggable carousel + split
   =================================================================== */
.values { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
@media (max-width: 860px) { .values { grid-template-columns: 1fr; } }
.value { border: 1px solid var(--fi-border); border-radius: 16px; padding: 28px; background: var(--fi-surface); }
.value h3 { font-weight: 600; font-size: 17px; margin-bottom: 12px; }
.value p { color: var(--fi-text-dim); font-size: 14.5px; }

.affiliates { }
.affiliates .eyebrow { margin-bottom: 22px; }
.affiliates p.note { color: var(--fi-text-dim); font-size: 15px; max-width: 70ch; margin-bottom: 28px; }
.logos { display: flex; flex-wrap: wrap; gap: 14px; }

/* centered variant with a pill label + larger lead */
.affiliates-c { text-align: center; max-width: 760px; margin: 0 auto; display: flex; flex-direction: column; align-items: center; }
.affiliates-c .pill-label { margin-bottom: 26px; }
.pill-label { display: inline-flex; align-items: center; align-self: flex-start; font-size: 12.5px; color: var(--fi-green);
  border: 1px solid var(--fi-border); border-radius: 999px; padding: 6px 16px; }
.affiliates-c p.note { font-size: clamp(16px, 1.4vw, 19px); line-height: 1.55; color: var(--fi-text-dim); max-width: 64ch; margin-bottom: 30px; }
.affiliates-c .logos { justify-content: center; }
.logos a { display: inline-flex; align-items: center; justify-content: center; border: 1px solid var(--fi-border); border-radius: 10px;
  padding: 20px 28px; background: var(--fi-surface);
  transition: border-color .2s ease, background .2s ease; }
.logos a:hover { border-color: var(--fi-green); background: var(--fi-surface-2); }
.logos a img { height: 26px; width: auto; display: block; opacity: 0.85; transition: opacity .2s ease; }
.logos a:hover img { opacity: 1; }

/* ===================================================================
   CONTACT
   =================================================================== */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
@media (max-width: 920px) { .contact-grid { grid-template-columns: 1fr; gap: 44px; } }
.contact-intro p { color: var(--fi-text-dim); font-size: 16px; margin-bottom: 18px; max-width: 46ch; }
.offices { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; margin-top: 40px; }
@media (max-width: 520px) { .offices { grid-template-columns: 1fr; } }
.office { border: 1px solid var(--fi-border); border-radius: 14px; padding: 22px; background: var(--fi-surface); display: flex; flex-direction: column; }
.office-pic { position: relative; display: inline-flex; align-items: center; justify-content: center;
  width: 56px; height: 56px; border-radius: 50%; padding: 3px; background: var(--fi-green); margin-bottom: 16px; }
.office-pic::before { content: attr(data-city); position: absolute; inset: 3px; border-radius: 50%;
  background: var(--fi-surface-2); color: var(--fi-green); display: flex; align-items: center; justify-content: center;
  font-weight: 600; font-size: 20px; border: 2px solid var(--fi-surface); }
.office-pic img { position: relative; z-index: 1; width: 100%; height: 100%; border-radius: 50%; object-fit: cover;
  display: block; border: 2px solid var(--fi-surface); }
.office h4 { font-size: 14px; color: var(--fi-green); letter-spacing: .1em; text-transform: uppercase; margin-bottom: 12px; font-weight: 600; }
.office p { color: var(--fi-text-dim); font-size: 14px; line-height: 1.7; }
.office p a { color: var(--fi-text-dim); transition: color .2s ease; }
.office p a:hover { color: var(--fi-green); }
.office-mail { display: inline-flex; align-self: flex-start; align-items: center; gap: 7px; margin-top: auto; padding-top: 16px; color: var(--fi-green);
  font-size: 14px; font-weight: 500; }
.office-mail .arrow { transition: transform .25s var(--fi-ease); }
.office-mail:hover .arrow { transform: translateX(4px); }

form { display: grid; gap: 16px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 520px) { .form-row { grid-template-columns: 1fr; } }
.field { display: flex; flex-direction: column; gap: 7px; position: relative; }
.field label { font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--fi-text-dim); }
.field input, .field select, .field textarea { background: var(--fi-surface); border: 1px solid var(--fi-border);
  border-radius: 10px; padding: 13px 15px; color: var(--fi-text); font-family: var(--fi-font); font-size: 15px;
  transition: border-color .2s ease, box-shadow .2s ease; }
.field input::placeholder, .field textarea::placeholder { color: #59695f; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--fi-green);
  box-shadow: 0 0 0 3px rgba(0,229,143,0.12); }
.field textarea { resize: vertical; min-height: 120px; }
.field select { appearance: none; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%238DA096' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center; }
form .btn { justify-content: center; margin-top: 6px; }
.form-note { font-size: 13px; color: var(--fi-text-dim); }
.form-status { font-size: 14px; color: var(--fi-green); min-height: 1em; }

/* ===================================================================
   FOOTER
   =================================================================== */
footer.site { border-top: 1px solid var(--fi-border); padding: 64px 0 40px; color: var(--fi-text-dim); font-size: 14px; position: relative; overflow: hidden; }
footer.site .wrap { position: relative; z-index: 1; }
.footer-f { position: absolute; right: -16%; bottom: -64%; height: 250%; width: auto; z-index: 0;
  fill: var(--fi-green); opacity: 1; pointer-events: none; }
@media (max-width: 860px) { .footer-top { max-width: 100%; } .footer-f { opacity: 0.12; right: -15%; height: 150%; } }
.footer-top { display: flex; justify-content: flex-start; gap: 70px; flex-wrap: wrap; margin-bottom: 44px; max-width: 66%; }
.footer-brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; font-size: 19px; letter-spacing: -0.022em; color: var(--fi-text); margin-bottom: 12px; }
.footer-brand .brand-mark { height: 28px; width: auto; flex: none; display: block; }
.footer-brand .brand-mark .cls-1 { fill: var(--fi-green); }
.footer-tag { max-width: 38ch; }
.footer-links { display: flex; gap: 60px; flex-wrap: wrap; }
.footer-col h5 { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--fi-text); margin-bottom: 14px; font-weight: 600; }
.footer-col a { display: block; color: var(--fi-text-dim); margin-bottom: 9px; transition: color .2s ease; }
.footer-col a:hover { color: var(--fi-green); }
.footer-bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-top: 28px; }
.footer-bottom a { color: var(--fi-text-dim); transition: color .2s ease; }
.footer-bottom a:hover { color: var(--fi-green); }

/* non-outro footers (about / contact / privacy): glass card, same layout as the outro band */
footer.site:not(.outro) .wrap { position: relative; z-index: 1;
  background: rgba(15,21,18,0.66); backdrop-filter: blur(16px) saturate(1.15); -webkit-backdrop-filter: blur(16px) saturate(1.15);
  border: 1px solid var(--fi-border); border-radius: 18px; padding: clamp(26px, 3vw, 44px); }
footer.site:not(.outro) .footer-top { max-width: 100%; flex-wrap: nowrap; align-items: flex-start; justify-content: space-between; gap: 70px; margin-bottom: 0; }
footer.site:not(.outro) .footer-top > div:first-child { flex: 0 1 360px; }
footer.site:not(.outro) .footer-links { flex: 0 0 auto; }
footer.site:not(.outro) .footer-bottom { margin-top: 22px; padding-top: 22px; border-top: 1px solid var(--fi-border); }
@media (max-width: 760px) { footer.site:not(.outro) .footer-top { flex-wrap: wrap; gap: 32px; } }

/* ===================================================================
   REDUCED MOTION
   =================================================================== */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1 !important; transform: none !important; }
  .js [data-split] { visibility: visible !important; }
  .scroll-cue .line::after { animation: none; }
  .marquee-row { animation: none; }
}

/* ===================================================================
   "GO BIG" CONCEPT — bold display type on a hairline grid.
   Hairlines (horizontal AND vertical) are treated as texture: framing
   rules, a center spine, row dividers. Use .bigsec as a full-bleed
   bolder section; height derives from its content.
   =================================================================== */
.bigsec { border-top: 1px solid var(--fi-border); border-bottom: 1px solid var(--fi-border); }
.bigsec .bigsec-grid {
  /* asymmetric: full-bleed to the right edge; left content aligns to the site column */
  max-width: none; margin: 0;
  display: grid; grid-template-columns: 1fr 1fr; align-items: stretch;
}
/* left: the statement column */
.bigsec-left { padding: clamp(48px, 6vw, 96px) clamp(28px, 3.5vw, 56px);
  padding-left: max(28px, calc((100vw - var(--fi-wrap-wide)) / 2));
  display: flex; flex-direction: column; }
.bigsec-left .eyebrow { margin-bottom: 26px; }
.bigsec-left .big-h { font-weight: 600; letter-spacing: -0.035em; line-height: 1.0;
  font-size: clamp(40px, 5vw, 76px); }
.bigsec-left .big-lead { color: var(--fi-text-dim); font-size: clamp(16px, 1.4vw, 19px);
  line-height: 1.55; max-width: 34ch; margin-top: 28px; }
.bigsec-left .big-foot { margin-top: auto; padding-top: 40px; display: flex; gap: 12px; flex-wrap: wrap; }
.bigsec-left .big-foot span { display: inline-flex; align-items: center; gap: 9px;
  font-size: 14px; color: var(--fi-text); border: 1px solid var(--fi-border); border-radius: 999px; padding: 8px 16px; }
.bigsec-left .big-foot span::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--fi-green); }

/* right: stacked oversized rows that distribute across the column height */
.bigsec-right { border-left: 1px solid var(--fi-border); display: grid; grid-auto-rows: 1fr; }
.big-row { position: relative; display: flex; flex-direction: column; justify-content: center;
  padding: clamp(28px, 3vw, 46px) clamp(28px, 3.5vw, 56px);
  border-top: 1px solid var(--fi-border); overflow: hidden; isolation: isolate; }
.big-row:first-child { border-top: none; }
/* hover: a green fill sweeps in on X, text flips to the dark base */
.big-row::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--fi-green);
  transform: scaleX(0); transform-origin: left center;
  transition: transform 0.55s var(--fi-ease); }
.big-row:hover::before, .big-row.is-hover::before { transform: scaleX(1); }
.big-row > * { transition: color 0.4s var(--fi-ease); }
.big-row:hover .big-name, .big-row.is-hover .big-name { color: var(--fi-bg); }
.big-row:hover .big-desc, .big-row.is-hover .big-desc { color: rgba(8, 11, 10, 0.78); }
.big-row .big-name { font-weight: 600; letter-spacing: -0.03em; line-height: 1;
  font-size: clamp(40px, 5.5vw, 88px); }
.bigsec-sm .big-h { font-size: clamp(28px, 3.2vw, 46px); }
.bigsec-sm .big-name { font-size: clamp(28px, 3.4vw, 52px); }
.big-row .big-desc { color: var(--fi-text-dim); font-size: clamp(14px, 1.1vw, 16px);
  line-height: 1.5; max-width: 32ch; margin-top: 16px; }

@media (max-width: 820px) {
  .bigsec .bigsec-grid { grid-template-columns: 1fr; }
  .bigsec-right { border-left: none; border-top: 1px solid var(--fi-border); }
}

/* ===================================================================
   SELECTED ENGAGEMENTS — pinned deck of huge cards, cropped at the
   bottom (we only ever see the top of each card). Green section.
   =================================================================== */
.deck-sec { background: var(--fi-surface); color: var(--fi-text); height: 100vh; overflow: hidden; display: flex; align-items: center; }
.deck-wrap { width: 100%; max-width: var(--fi-wrap-wide); margin: 0 auto; padding: 0 clamp(24px, 4vw, 64px); }
.deck-head { display: flex; align-items: center; justify-content: space-between; gap: 20px;
  margin-bottom: clamp(28px, 3.5vw, 48px); }
.deck-head h2 { color: var(--fi-text); font-weight: 600; letter-spacing: -0.025em;
  font-size: clamp(24px, 3vw, 42px); }

/* huge cards on a strong-perspective stage; cropped at the bottom, advanced on scroll */
.deck-stage { position: relative; height: clamp(400px, 56vh, 600px); overflow: hidden; perspective: 1100px; perspective-origin: 50% 38%; }
.deck { position: absolute; inset: 0; transform-style: preserve-3d; }
.deck-card {
  position: absolute; left: 50%; top: 70px; width: 100%; height: auto;
  transform: translateX(-50%); transform-origin: top center; box-sizing: border-box;
  background: var(--fi-surface-2); border: 1px solid var(--fi-border);
  border-radius: 22px; padding: clamp(30px, 3.4vw, 52px); box-shadow: 0 40px 80px rgba(0,0,0,0.45);
  backface-visibility: hidden; will-change: transform, opacity; }
.deck-card:active { cursor: default; }
.dc-bar { display: flex; align-items: center; justify-content: space-between; gap: 16px;
  margin-bottom: clamp(24px, 3vw, 40px); }
.dc-dots { display: flex; gap: 11px; }
.dc-dot { width: 13px; height: 13px; border-radius: 50%; box-sizing: border-box; }
.dc-dot.fill { background: var(--fi-green); }
.dc-dot.open { border: 1.5px solid var(--fi-green-deep); }
.dc-tags { display: flex; gap: 8px; flex-wrap: wrap; justify-content: flex-end; }
.dc-chip { font-size: 12.5px; padding: 6px 14px; border-radius: 999px;
  border: 1px solid var(--fi-border); background: var(--fi-surface-2); color: var(--fi-text-dim); white-space: nowrap; }

/* horizontal split: small title left, large paragraph right */
.dc-split { display: grid; grid-template-columns: 0.78fr 1fr; gap: clamp(24px, 4vw, 72px); align-items: start; }
.deck-card h3 { color: var(--fi-text-dim); font-weight: 600; letter-spacing: -0.01em;
  font-size: clamp(17px, 1.5vw, 21px); line-height: 1.25; }
.deck-card p { color: var(--fi-text); font-weight: 500; letter-spacing: -0.015em;
  font-size: clamp(21px, 2.5vw, 36px); line-height: 1.28; }

/* controls */
.deck-controls { display: flex; align-items: center; gap: 14px; margin-top: clamp(26px, 3vw, 40px); }
.deck-btn { width: 52px; height: 52px; border-radius: 50%; border: 1px solid rgba(8,11,10,0.28);
  background: transparent; color: var(--fi-bg); cursor: pointer; display: inline-flex; align-items: center;
  justify-content: center; transition: background var(--fi-dur-base) var(--fi-ease), border-color var(--fi-dur-base) var(--fi-ease), opacity var(--fi-dur-base) var(--fi-ease); }
.deck-btn:hover { background: var(--fi-bg); color: var(--fi-green); border-color: var(--fi-bg); }
.deck-btn:disabled { opacity: 0.3; cursor: default; }
.deck-btn:disabled:hover { background: transparent; color: var(--fi-bg); border-color: rgba(8,11,10,0.28); }
.deck-btn svg { width: 20px; height: 20px; }
.deck-count { margin-left: 6px; font-size: 13px; letter-spacing: 0.14em; color: rgba(8,11,10,0.7);
  font-variant-numeric: tabular-nums; }
.deck-count b { color: var(--fi-bg); font-weight: 600; }

@media (max-width: 760px) {
  .dc-split { grid-template-columns: 1fr; gap: 18px; }
  .deck-stage { height: clamp(320px, 50vh, 480px); }
}

.btn-ink { display: inline-flex; align-items: center; gap: 9px; font-weight: 500; font-size: 15px;
  color: var(--fi-bg); background: var(--fi-green); padding: 13px 26px; border-radius: var(--fi-radius-sm);
  white-space: nowrap; transition: transform var(--fi-dur-fast) var(--fi-ease), box-shadow var(--fi-dur-base) var(--fi-ease); }
.btn-ink:hover { box-shadow: 0 14px 36px rgba(0,229,143,0.3); }
.btn-ink .arrow { transition: transform var(--fi-dur-base) var(--fi-ease); }
.btn-ink:hover .arrow { transform: translateX(4px); }

/* static fallback (no GSAP / reduced motion): stack the cards in flow */
.deck-sec.is-static .deck-stage { height: auto; perspective: none; }
.deck-sec.is-static .deck { position: static; display: grid; gap: 2px; }
.deck-sec.is-static .deck-card { position: relative; left: auto; top: auto; height: auto;
  width: 100%; transform: none !important; border-bottom: 1px solid rgba(0,0,0,0.4); border-radius: 16px; }
.deck-sec.is-static .deck-controls { display: none; }

/* ===================================================================
   HERO CINEMA — pinned, scroll-driven 4-beat timeline.
   Big empty stage = the Spline scene (placeholder: fallback motif).
   Content lives compact in the bottom-left as a beat "slider".
   =================================================================== */
.hero-cinema { position: relative; height: 100vh; width: 100%; overflow: hidden; background: var(--fi-paper); }
.hero-cinema #scene { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 2; }
.hero-cinema .hero-fallback { display: none; } /* inverted hero: no grid/dots/gradient backdrop */

/* inverted (light) hero theme — text flips to ink so the next dark section reads as a plunge */
.hero-cinema .beat h1, .hero-cinema .beat h2 { color: var(--fi-ink); }
.hero-cinema .beat h1 .accent, .hero-cinema .beat h2 .accent { color: var(--fi-green-deep); }
.hero-cinema .beat p, .hero-cinema .beat .kicker { color: var(--fi-ink-dim); }
.hero-cinema .scroll-cue { color: var(--fi-ink-dim); }
.hero-cinema .scroll-cue .line { background: var(--fi-ink-faint); }
.hero-cinema .scroll-cue .line::after { background: var(--fi-green-deep); }

.hero-ui { position: absolute; inset: 0; z-index: 3; pointer-events: none; }
.hero-ui .inner {
  position: absolute; left: clamp(24px, 5vw, 88px); bottom: clamp(44px, 8vh, 92px);
  width: min(440px, 86vw); pointer-events: auto;
}

/* beat rail — 3 segments, one per CARD beat; hidden on the title beat */
.beat-rail { display: flex; align-items: center; gap: 8px; margin-bottom: 16px;
  opacity: 0; transform: translateY(6px); transition: opacity 0.4s var(--fi-ease), transform 0.4s var(--fi-ease); }
.beat-rail.is-on { opacity: 1; transform: none; }
.beat-seg { width: 46px; height: 3px; border-radius: 999px; background: var(--fi-ink-faint);
  transition: background 0.45s var(--fi-ease), box-shadow 0.45s var(--fi-ease); }
.beat-seg.on { background: var(--fi-green-deep); box-shadow: 0 0 12px var(--fi-green-45); }

/* the stacked beats (only one shown at a time) — bottom-aligned so the card
   sits flush at the bottom of the stack and grows upward */
.beat-stack { position: relative; min-height: 200px; display: flex; align-items: flex-end; }
.beat { position: absolute; left: 0; right: 0; bottom: 0; top: auto; }
.js .hero-cinema .beat { opacity: 0; visibility: hidden; }
.beat .kicker { display: inline-block; font-size: 12px; font-weight: 500; letter-spacing: 0.2em;
  text-transform: uppercase; color: var(--fi-text-dim); margin-bottom: 18px; }
.beat h1 { font-weight: 600; font-size: clamp(27px, 3.1vw, 44px); line-height: 1.08; letter-spacing: -0.03em; max-width: 17ch; }
.beat h2 { font-weight: 600; font-size: clamp(24px, 2.7vw, 38px); line-height: 1.1; letter-spacing: -0.025em; max-width: 18ch; }
.beat h1 .accent, .beat h2 .accent { color: var(--fi-green); }
.beat p { color: var(--fi-text-dim); font-size: clamp(15px, 1.25vw, 17.5px); line-height: 1.55; max-width: 48ch; margin-top: 14px; }
.beat p + p { margin-top: 12px; }

/* hero card beats — borrow the Market Insights deck look: dark surface,
   green circle dots top-left. Smaller/compact for the hero. */
.hero-card {
  background: var(--fi-surface);
  border: 1px solid var(--fi-border);
  border-radius: 14px; box-sizing: border-box; min-height: 190px;
  padding: clamp(16px, 1.6vw, 22px) clamp(18px, 1.8vw, 24px);
  box-shadow: 0 14px 40px rgba(8, 11, 10, 0.22);
}
.hero-card .hc-dots { display: flex; gap: 8px; margin-bottom: 14px; }
.hero-card .hc-dots .dc-dot { width: 11px; height: 11px; border-radius: 50%; box-sizing: border-box; }
.hero-card .hc-dots .dc-dot.fill { background: var(--fi-green); }
.hero-card .hc-dots .dc-dot.open { border: 1.5px solid var(--fi-green-deep); }
.hero-card p { color: var(--fi-text); font-size: clamp(13.5px, 1.05vw, 15.5px); line-height: 1.5; max-width: none; margin-top: 0; }
.hero-cinema .hero-card p { color: var(--fi-text); }
.hero-card p + p { margin-top: 10px; }

.hero-cta { margin-top: 30px; pointer-events: auto;
  transition: opacity 0.4s var(--fi-ease), transform 0.4s var(--fi-ease); }
.hero-cta.is-gone { opacity: 0; transform: translateY(8px); pointer-events: none; display: none; }

/* reduced-motion / no-pin fallback: beats stack and flow normally */
.hero-cinema.is-static { height: auto; }
.hero-cinema.is-static .hero-ui { position: relative; inset: auto; }
.hero-cinema.is-static .hero-ui .inner { position: relative; left: auto; bottom: auto;
  width: min(900px, 92vw); margin: 0 auto; padding: 168px 32px 96px; }
.hero-cinema.is-static .beat-rail { display: none; }
.hero-cinema.is-static .beat-stack { min-height: 0; }
.hero-cinema.is-static .beat { position: relative; opacity: 1 !important; visibility: visible !important;
  transform: none !important; margin-bottom: 52px; }
.hero-cinema.is-static .hero-cta { margin-top: 8px; }

@media (max-width: 600px) {
  .hero-ui .inner { width: calc(100vw - 40px); left: 20px; bottom: 36px; }
  .beat-stack { min-height: 290px; }
}

/* ===================================================================
   SMALL-SCREEN POLISH — tighten the big components for phones.
   =================================================================== */
@media (max-width: 700px) {
  /* breathing room: large desktop section rhythm is wasteful on phones */
  .wrap { padding: 0 22px; }
  .section { padding: 84px 0; }
  .section.tight { padding: 64px 0; }
  .cta-band { padding: 88px 0; }
  .page-hero { padding: 132px 0 60px; }
  .head { margin-bottom: 40px; }

  /* deck header: let the button drop below the title instead of squeezing */
  .deck-head { flex-wrap: wrap; }
  .deck-head h2 { flex: 1 1 100%; }

  /* approach: don't let the sticky giant number hang over the stacked steps */
  .split-sticky { position: static; top: auto; }
  .split-sticky .cur-title { min-height: 0; }

  /* stats: 2-up can get cramped with long captions — go single column */
  .stats { grid-template-columns: 1fr; gap: 30px; }

  /* slider head: stack the "drag" hint under the heading */
  .slider-head { flex-direction: column; align-items: flex-start; gap: 14px; }
}
