/* ============================================================
   Honour Agriculture — Enterprise Landing
   Two-tone editorial: forest-ink dark ⇄ warm paper light.
   Fraunces display · Inter UI · JetBrains Mono data.
   One signal-green accent. Hairlines. Big type. GSAP motion.
   ============================================================ */

/* ---------- section theming tokens ---------- */
.s-dark {
  --bg:        #0a0e0c;
  --surface:   #121a15;
  --surface-2: #0d1310;
  --ink:       #eef2ec;
  --ink-80:    rgba(238,242,236,.82);
  --muted:     rgba(238,242,236,.60);
  --muted-2:   rgba(238,242,236,.40);
  --line:      rgba(238,242,236,.14);
  --line-soft: rgba(238,242,236,.07);
  --accent:    #37d67f;
  --accent-ink:#06120b;
  background: var(--bg);
  color: var(--ink);
}
.s-light {
  --bg:        #f4f3ec;
  --surface:   #ffffff;
  --surface-2: #eeede5;
  --ink:       #12160f;
  --ink-80:    rgba(18,22,15,.82);
  --muted:     rgba(18,22,15,.56);
  --muted-2:   rgba(18,22,15,.40);
  --line:      rgba(18,22,15,.13);
  --line-soft: rgba(18,22,15,.07);
  --accent:    #16a34a;
  --accent-ink:#ffffff;
  background: var(--bg);
  color: var(--ink);
}

:root {
  --serif: "Fraunces", Georgia, "Times New Roman", serif;
  --sans:  "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono:  "JetBrains Mono", ui-monospace, "SF Mono", Menlo, monospace;

  /* default (dark) palette — inner pages read these directly;
     index sections override locally via .s-dark / .s-light */
  --bg:        #0a0e0c;
  --bg-soft:   #121a15;
  --surface:   #121a15;
  --surface-2: #0d1310;
  --ink:       #eef2ec;
  --ink-80:    rgba(238,242,236,.82);
  --muted:     rgba(238,242,236,.60);
  --muted-2:   rgba(238,242,236,.40);
  --line:      rgba(238,242,236,.14);
  --line-soft: rgba(238,242,236,.07);
  --accent:    #37d67f;
  --accent-ink:#06120b;
  --tomato:    #37d67f;

  --container: 1200px;
  --gutter: clamp(22px, 5vw, 72px);
  --section-y: clamp(84px, 11vw, 176px);

  --ease: cubic-bezier(.2, .7, .2, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);

  --radius: 14px;
  --radius-lg: 22px;
  --radius-pill: 999px;

  color-scheme: dark;
}

/* ============================================================ Reset ===== */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; background: #0a0e0c; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0; color: var(--ink);
  font-family: var(--sans);
  font-size: clamp(15px, 1.02vw, 17px);
  line-height: 1.62; letter-spacing: -0.011em;
  background: #0a0e0c;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
em { font-style: italic; }
strong { font-weight: 600; color: var(--ink); }
::selection { background: var(--accent); color: var(--accent-ink); }

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.mono { font-family: var(--mono); font-weight: 400; }

/* ============================================================ Progress = */
.progress { position: fixed; inset: 0 0 auto 0; height: 2px; z-index: 300; pointer-events: none; background: transparent; }
.progress span { display: block; height: 100%; width: 100%; background: #37d67f; transform: scaleX(0); transform-origin: left; }

/* ============================================================ Type ===== */
.display {
  font-family: var(--serif); font-weight: 350;
  font-size: clamp(2.1rem, 5.2vw, 4.1rem);
  line-height: 1.05; letter-spacing: -0.03em; margin: 0; color: var(--ink);
  font-optical-sizing: auto; text-wrap: balance;
}
.display em { font-style: italic; font-weight: 400; color: var(--accent); }

.lede { font-size: clamp(1.06rem, 1.5vw, 1.3rem); line-height: 1.6; color: var(--muted); letter-spacing: -0.012em; margin: 0; }

.kicker {
  display: inline-flex; align-items: center; gap: .7em;
  font-family: var(--mono); font-size: .72rem; letter-spacing: .16em; text-transform: uppercase;
  color: var(--muted); margin: 0 0 1.5rem;
}
.kicker__idx { color: var(--accent); }

.eyebrow {
  display: inline-flex; align-items: center; gap: .65em;
  font-family: var(--mono); font-size: .74rem; letter-spacing: .1em;
  color: var(--ink-80); margin: 0 0 1.7rem;
}
.eyebrow__dot { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px rgba(55,214,127,.18); }

/* ============================================================ Buttons == */
.btn {
  position: relative; display: inline-flex; align-items: center; gap: .6em;
  padding: .92em 1.5em; border-radius: var(--radius-pill);
  font-size: .93rem; font-weight: 500; letter-spacing: -0.01em;
  border: 1px solid transparent; cursor: pointer; white-space: nowrap;
  transition: background-color .35s var(--ease), color .35s var(--ease), border-color .35s var(--ease), transform .5s var(--ease-out);
  will-change: transform;
}
.btn svg { width: 15px; height: 15px; transition: transform .4s var(--ease-out); }
.btn:hover svg { transform: translateX(3px); }

.btn--solid { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); font-weight: 600; }
.btn--solid:hover { filter: brightness(1.08); }

.btn--ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn--ghost:hover { border-color: var(--ink); background: color-mix(in srgb, var(--ink) 6%, transparent); }

.btn--lg { padding: 1.05em 1.7em; font-size: 1rem; }

/* ============================================================ Nav ====== */
.nav { position: fixed; inset: 0 0 auto 0; z-index: 200; padding-top: 18px; transition: transform .5s var(--ease); }
.nav.is-hidden { transform: translateY(-140%); }
.nav__inner {
  display: flex; align-items: center; gap: 1.5rem;
  padding: .55rem .7rem .55rem 1.3rem;
  margin-inline: max(var(--gutter), calc((100vw - var(--container)) / 2 + var(--gutter)));
  border-radius: var(--radius-pill);
  border: 1px solid transparent;
  transition: background-color .4s var(--ease), border-color .4s var(--ease), box-shadow .4s var(--ease), padding .4s var(--ease);
}
.nav.is-stuck .nav__inner {
  background: rgba(10,14,12,.62);
  border-color: rgba(238,242,236,.12);
  box-shadow: 0 18px 50px -28px rgba(0,0,0,.7);
  backdrop-filter: blur(16px) saturate(1.4); -webkit-backdrop-filter: blur(16px) saturate(1.4);
}

.brand { display: inline-flex; align-items: center; gap: .55em; font-family: var(--serif); font-weight: 500; font-size: 1.16rem; letter-spacing: -0.02em; color: #fff; margin-right: auto; }
.brand__mark { width: 27px; height: 27px; flex: none; color: var(--accent); }
.brand__mark svg { width: 100%; height: 100%; }
.brand__name { display: inline-flex; align-items: baseline; gap: .42em; }
.brand__sub { font-family: var(--sans); font-size: .58rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: rgba(255,255,255,.5); }

.nav__links { display: flex; align-items: center; gap: .3rem; }
.nav__links a { position: relative; font-size: .9rem; font-weight: 450; color: rgba(255,255,255,.72); padding: .55em .95em; border-radius: var(--radius-pill); transition: color .3s var(--ease), background-color .3s var(--ease); }
.nav__links a::after { content: ""; position: absolute; left: 50%; bottom: 6px; width: 0; height: 1.5px; background: var(--accent); transform: translateX(-50%); transition: width .35s var(--ease-out); border-radius: 2px; }
.nav__links a:hover { color: #fff; }
.nav__links a:hover::after { width: 18px; }

.nav__cta { padding: .68em 1.15em; font-size: .88rem; }
.nav__toggle { display: none; }

/* ============================================================ Menu ===== */
.menu { position: fixed; inset: 0; z-index: 199; background: #0a0e0c; clip-path: circle(0% at calc(100% - 44px) 44px); transition: clip-path .7s var(--ease); pointer-events: none; }
body.menu-open .menu { clip-path: circle(150% at calc(100% - 44px) 44px); pointer-events: auto; }
.menu__inner { height: 100%; display: flex; flex-direction: column; justify-content: center; gap: 2.5rem; padding: 6rem var(--gutter) 3rem; }
.menu__nav { display: flex; flex-direction: column; gap: .2rem; }
.menu__nav a { display: flex; align-items: baseline; gap: 1rem; font-family: var(--serif); font-weight: 400; font-size: clamp(2rem, 8vw, 3.4rem); letter-spacing: -0.03em; color: #eef2ec; padding: .35rem 0; opacity: 0; transform: translateY(24px); transition: color .3s var(--ease); }
body.menu-open .menu__nav a { opacity: 1; transform: none; }
.menu__nav a:hover { color: var(--accent); }
.menu__idx { font-family: var(--mono); font-size: .8rem; color: var(--accent); letter-spacing: .1em; }
.menu__foot { display: flex; gap: 1.6rem; flex-wrap: wrap; font-family: var(--mono); font-size: .84rem; color: rgba(238,242,236,.6); }
.menu__foot a:hover { color: var(--accent); }

/* ============================================================ Hero ===== */
.hero { position: relative; min-height: 100svh; display: flex; align-items: center; padding: 148px 0 clamp(70px, 10vh, 120px); overflow: hidden; }
.hero__bg { position: absolute; inset: 0; z-index: 0; }
.hero__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .5; }
.hero__veil { position: absolute; inset: 0;
  background:
    radial-gradient(120% 90% at 78% 12%, rgba(55,214,127,.16), transparent 55%),
    linear-gradient(180deg, rgba(10,14,12,.78) 0%, rgba(10,14,12,.62) 42%, rgba(10,14,12,.92) 100%),
    linear-gradient(100deg, rgba(10,14,12,.86) 0%, rgba(10,14,12,.35) 60%, rgba(10,14,12,.55) 100%);
}
.hero__dots { position: absolute; inset: 0; width: 100%; height: 100%; opacity: .6; }

.hero__grid { position: relative; z-index: 2; width: 100%; }
.hero__copy { max-width: min(72ch, 100%); margin-inline: auto; text-align: center; }

.hero__title { font-family: var(--serif); font-weight: 330; font-size: clamp(2.9rem, 7.4vw, 5.7rem); line-height: .98; letter-spacing: -0.04em; margin: 0 0 1.6rem; font-optical-sizing: auto; color: #fff; }
.hero__title .line { display: block; overflow: hidden; }
.hero__title em { font-style: italic; color: var(--accent); }
.hero__title .word { display: inline-block; }

.hero__sub { font-size: .9rem; letter-spacing: .01em; color: var(--accent); margin: 0 0 1.5rem; }
.hero__lede { max-width: 60ch; font-size: clamp(1.04rem, 1.4vw, 1.22rem); line-height: 1.62; color: rgba(238,242,236,.78); margin: 0 auto 2.2rem; }
.hero__lede strong { color: #fff; }
.hero__actions { display: flex; flex-wrap: wrap; gap: .8rem; justify-content: center; margin-bottom: clamp(2.4rem, 5vw, 3.4rem); }

.hero__stats { display: grid; grid-template-columns: repeat(3, auto); gap: clamp(1.6rem, 4vw, 3.4rem); margin-inline: auto; padding-top: 1.9rem; border-top: 1px solid rgba(238,242,236,.16); width: fit-content; max-width: 100%; }
.stat { text-align: center; }
.stat dd { margin: 0; font-family: var(--serif); font-weight: 360; font-size: clamp(1.9rem, 3.4vw, 2.8rem); line-height: 1; letter-spacing: -0.03em; color: #fff; display: flex; align-items: baseline; justify-content: center; }
.stat dt { font-family: var(--mono); font-size: .68rem; letter-spacing: .04em; color: rgba(238,242,236,.56); margin-top: .6rem; max-width: 15ch; margin-inline: auto; }

.hero__cue { position: absolute; left: 50%; bottom: 22px; transform: translateX(-50%); z-index: 3; display: flex; flex-direction: column; align-items: center; gap: .55rem; font-size: .64rem; letter-spacing: .24em; text-transform: uppercase; color: rgba(238,242,236,.55); }
.hero__cue-line { width: 1px; height: 42px; background: rgba(238,242,236,.24); position: relative; overflow: hidden; }
.hero__cue-line::after { content: ""; position: absolute; top: -50%; left: 0; width: 100%; height: 50%; background: var(--accent); animation: cue 2.2s var(--ease) infinite; }
@keyframes cue { 0% { top: -60%; } 60%, 100% { top: 110%; } }

/* ============================================================ Marquee = */
.marquee { border-block: 1px solid var(--line); background: #0a0e0c; color: #eef2ec; overflow: hidden; padding: 1.15rem 0; }
.marquee__track { display: inline-flex; align-items: center; gap: 1.6rem; white-space: nowrap; font-family: var(--serif); font-style: italic; font-weight: 340; font-size: clamp(1.15rem, 2vw, 1.5rem); letter-spacing: -0.02em; will-change: transform; }
.marquee__track i { font-style: normal; color: var(--accent); }

/* ============================================================ Section = */
.section { position: relative; padding-block: var(--section-y); }
.section__head { max-width: 760px; margin-bottom: clamp(2.8rem, 5vw, 4.4rem); }
.section__head .lede { margin-top: 1.4rem; max-width: 62ch; }

/* ============================================================ Problem = */
.loss { display: grid; grid-template-columns: auto 1fr; gap: clamp(1.5rem, 4vw, 3.5rem); align-items: center; padding: clamp(1.8rem, 4vw, 2.8rem) 0; margin-bottom: clamp(2.4rem, 4vw, 3.2rem); border-block: 1px solid var(--line); }
.loss__num { font-family: var(--serif); font-weight: 340; font-size: clamp(3.6rem, 11vw, 8rem); line-height: .9; letter-spacing: -0.04em; color: var(--accent); }
.loss__cap { font-size: clamp(1.05rem, 1.5vw, 1.28rem); line-height: 1.55; color: var(--ink-80); max-width: 40ch; margin: 0; }

.pcards { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.pcard { position: relative; border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(1.7rem, 2.6vw, 2.3rem); background: var(--surface); overflow: hidden; transition: border-color .4s var(--ease), transform .5s var(--ease-out); }
.pcard::before { content: ""; position: absolute; left: 0; top: 0; width: 100%; height: 2px; background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform .5s var(--ease-out); }
.pcard:hover { border-color: color-mix(in srgb, var(--ink) 30%, transparent); transform: translateY(-4px); }
.pcard:hover::before { transform: scaleX(1); }
.pcard__idx { font-size: .74rem; letter-spacing: .08em; color: var(--accent); }
.pcard h3 { font-family: var(--serif); font-weight: 460; font-size: 1.3rem; letter-spacing: -0.02em; margin: 1.1rem 0 .7rem; color: var(--ink); }
.pcard p { font-size: .95rem; color: var(--muted); margin: 0; line-height: 1.58; }

/* ============================================================ System (pin) = */
.system { position: relative; padding-top: var(--section-y); overflow: hidden; }
.system__intro { max-width: 820px; margin-bottom: clamp(2.6rem, 5vw, 4rem); }
.system__intro .lede { margin-top: 1.4rem; }

.pin { position: relative; }
.pin__track { display: flex; gap: clamp(1.2rem, 2.4vw, 2rem); padding: 0 var(--gutter) var(--section-y); will-change: transform; }

.pill-panel { position: relative; flex: 0 0 min(78vw, 460px); min-height: 440px; display: flex; flex-direction: column; justify-content: space-between; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(1.8rem, 3vw, 2.6rem); background: linear-gradient(165deg, var(--surface), var(--surface-2)); overflow: hidden; }
.pill-panel::after { content: ""; position: absolute; right: -30%; top: -30%; width: 60%; height: 60%; background: radial-gradient(circle, rgba(55,214,127,.14), transparent 70%); pointer-events: none; }
.pill-panel__idx { font-size: .74rem; letter-spacing: .12em; color: var(--muted-2); }
.pill-panel__tag { display: inline-block; font-size: .68rem; letter-spacing: .12em; text-transform: uppercase; color: var(--accent); margin-bottom: .9rem; }
.pill-panel__body h3 { font-family: var(--serif); font-weight: 400; font-size: clamp(1.6rem, 2.6vw, 2.1rem); line-height: 1.08; letter-spacing: -0.025em; margin: 0 0 1rem; color: var(--ink); }
.pill-panel__body h3 em { color: var(--accent); }
.pill-panel__body p { color: var(--muted); font-size: 1rem; line-height: 1.6; margin: 0; }
.pill-panel__stat { margin-top: 1.6rem; display: flex; align-items: baseline; gap: .6rem; font-family: var(--serif); font-weight: 340; font-size: clamp(2.4rem, 4vw, 3.4rem); line-height: 1; color: var(--accent); }
.pill-panel__stat em { font-style: normal; font-family: var(--mono); font-size: .8rem; letter-spacing: .02em; color: var(--muted); align-self: center; }
.pill-panel__unit { align-self: center; }
.pill-panel--cta { background: var(--accent); border-color: var(--accent); }
.pill-panel--cta::after { display: none; }
.pill-panel--cta .pill-panel__tag { color: var(--accent-ink); opacity: .7; }
.pill-panel--cta h3, .pill-panel--cta h3 em { color: var(--accent-ink); }
.pill-panel--cta p { color: color-mix(in srgb, var(--accent-ink) 78%, transparent); }
.pill-panel--cta .btn { margin-top: 1.6rem; background: var(--accent-ink); color: var(--accent); border-color: var(--accent-ink); }

.pin__hint { position: absolute; right: var(--gutter); top: -2.6rem; font-family: var(--mono); font-size: .72rem; letter-spacing: .1em; color: var(--muted-2); display: inline-flex; align-items: center; gap: .5em; }

/* ============================================================ Process — scrollytelling = */
.flowx__grid { display: grid; grid-template-columns: 0.92fr 1.08fr; gap: clamp(2rem, 6vw, 5.5rem); align-items: start; }

.flowx__stage { position: sticky; top: 108px; align-self: start; }
.flowx__card { position: relative; border: 1px solid var(--line); border-radius: var(--radius-lg); background: linear-gradient(165deg, var(--surface), var(--surface-2)); padding: clamp(2rem, 3.4vw, 3rem); padding-left: clamp(2.4rem, 3.8vw, 3.6rem); overflow: hidden; min-height: 400px; }
.flowx__rail { position: absolute; left: 0; top: 0; bottom: 0; width: 4px; background: var(--line-soft); }
.flowx__rail-fill { display: block; width: 100%; height: 100%; background: var(--accent); transform: scaleY(0); transform-origin: top; }
.flowx__stageinner { display: flex; flex-direction: column; }
.flowx__total { font-family: var(--mono); font-size: .72rem; letter-spacing: .16em; text-transform: uppercase; color: var(--muted-2); }
.flowx__count { font-family: var(--serif); font-weight: 320; font-size: clamp(4.4rem, 9vw, 7.5rem); line-height: .9; letter-spacing: -0.04em; color: var(--accent); margin: .4rem 0 .2rem; }
.flowx__glyphs { position: relative; width: 64px; height: 64px; margin: 1rem 0 1.6rem; }
.flowx__glyph { position: absolute; inset: 0; width: 64px; height: 64px; color: var(--ink); opacity: 0; transform: scale(.7) rotate(-10deg); transition: opacity .5s var(--ease), transform .5s var(--ease-out); }
.flowx__glyph.is-active { opacity: 1; transform: none; }
.flowx__phase { font-family: var(--serif); font-weight: 440; font-size: clamp(1.5rem, 2.4vw, 2rem); letter-spacing: -0.02em; line-height: 1.12; color: var(--ink); min-height: 2.1em; }
.flowx__hint { margin: 1.5rem 0 0; font-size: .74rem; letter-spacing: .03em; color: var(--muted-2); }

.flowx__steps { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: clamp(.9rem, 1.6vw, 1.3rem); }
.flowx__step { display: grid; grid-template-columns: 54px 1fr; gap: 1.4rem; padding: clamp(1.4rem, 2.4vw, 2rem); border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); transition: opacity .5s var(--ease), border-color .5s var(--ease), transform .5s var(--ease-out), box-shadow .5s var(--ease); }
.is-animate .flowx__step:not(.is-active) { opacity: .46; }
.flowx__step.is-active { border-color: color-mix(in srgb, var(--accent) 42%, var(--line)); box-shadow: 0 26px 54px -36px color-mix(in srgb, var(--accent) 65%, transparent); }
.flowx__badge { width: 54px; height: 54px; flex: none; border-radius: 50%; border: 1px solid var(--line); display: grid; place-items: center; font-family: var(--serif); font-style: italic; font-size: 1.1rem; color: var(--muted); transition: background-color .5s var(--ease), color .5s var(--ease), border-color .5s var(--ease), transform .5s var(--ease-out); }
.flowx__step.is-active .flowx__badge { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); transform: scale(1.06); }
.flowx__body { align-self: center; }
.flowx__tag { display: inline-block; font-size: .68rem; letter-spacing: .14em; text-transform: uppercase; color: var(--accent); margin-bottom: .5rem; }
.flowx__body h3 { font-family: var(--serif); font-weight: 460; font-size: clamp(1.25rem, 2vw, 1.5rem); letter-spacing: -0.02em; margin: 0 0 .5rem; color: var(--ink); }
.flowx__body p { margin: 0; color: var(--muted); line-height: 1.58; }

/* ============================================================ Impact == */
.ocards { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.ocard { border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(1.8rem, 2.8vw, 2.4rem); background: var(--surface); transition: border-color .4s var(--ease), transform .5s var(--ease-out); }
.ocard:hover { border-color: rgba(238,242,236,.3); transform: translateY(-4px); }
.ocard__top { display: flex; align-items: center; gap: .9rem; margin-bottom: 1.1rem; }
.ocard__no { width: 34px; height: 34px; flex: none; display: grid; place-items: center; border: 1px solid var(--accent); color: var(--accent); border-radius: 50%; font-size: .82rem; }
.ocard h3 { font-family: var(--serif); font-weight: 440; font-size: 1.28rem; letter-spacing: -0.02em; margin: 0; color: var(--ink); }
.ocard p { font-size: .96rem; color: var(--muted); margin: 0; line-height: 1.58; }

/* ============================================================ CTA ===== */
.cta__panel { position: relative; text-align: center; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(3rem, 7vw, 6rem) var(--gutter); background: var(--surface); overflow: hidden; }
.cta__panel::before { content: ""; position: absolute; inset: auto -10% -60% -10%; height: 120%; background: radial-gradient(60% 60% at 50% 100%, color-mix(in srgb, var(--accent) 24%, transparent), transparent 70%); pointer-events: none; animation: ctaGlow 7s var(--ease) infinite; transform-origin: 50% 100%; }
@keyframes ctaGlow { 0%, 100% { opacity: .55; transform: scale(1); } 50% { opacity: 1; transform: scale(1.09); } }
.cta__panel > * { position: relative; }
.cta__panel .kicker { justify-content: center; }
.cta__panel .display { max-width: 20ch; margin-inline: auto; }
.cta__panel .lede { max-width: 58ch; margin: 1.4rem auto 0; }
.cta__actions { display: flex; flex-wrap: wrap; gap: .8rem; justify-content: center; margin-top: 2.4rem; }
.cta__contact { display: inline-flex; align-items: center; gap: .8rem; flex-wrap: wrap; justify-content: center; margin-top: 1.8rem; font-family: var(--mono); font-size: .86rem; color: var(--muted); }
.cta__contact a { color: var(--ink-80); border-bottom: 1px solid var(--line); padding-bottom: 1px; transition: color .3s var(--ease), border-color .3s var(--ease); }
.cta__contact a:hover { color: var(--accent); border-color: var(--accent); }
.cta__sep { color: var(--muted-2); }

/* ============================================================ Footer == */
.footer { position: relative; background: #0a0e0c; color: #eef2ec; overflow: hidden; padding-top: 0; border-top: 1px solid rgba(238,242,236,.12); }
.footer__wordmark {
  display: block; text-align: center; text-wrap: balance;
  font-family: var(--serif); font-weight: 320;
  font-size: clamp(3.4rem, 15vw, 12rem); line-height: .92; letter-spacing: -0.04em;
  padding: clamp(1.6rem, 4vw, 3rem) var(--gutter) clamp(2rem, 5vw, 3.6rem); user-select: none; pointer-events: none;
  color: transparent;
  background: radial-gradient(circle 260px at var(--mx, -999px) var(--my, -999px),
              var(--accent) 0%, color-mix(in srgb, var(--accent) 60%, transparent) 26%,
              rgba(238,242,236,.16) 58%);
  -webkit-background-clip: text; background-clip: text;
}
.footer__inner { display: grid; grid-template-columns: 1.3fr 1.7fr; gap: 2.5rem; padding-block: clamp(2.6rem, 5vw, 4rem); border-bottom: 1px solid rgba(238,242,236,.1); position: relative; z-index: 1; }
.brand--footer { color: #fff; margin: 0; }
.footer__tag { margin: 1.2rem 0 0; color: rgba(238,242,236,.6); max-width: 42ch; font-size: .96rem; }
.footer__contact { display: flex; flex-direction: column; gap: .45rem; margin-top: 1.4rem; }
.footer__contact a { width: fit-content; font-family: var(--mono); font-size: .86rem; color: rgba(238,242,236,.8); border-bottom: 1px solid rgba(238,242,236,.16); padding-bottom: 1px; transition: color .3s var(--ease), border-color .3s var(--ease); }
.footer__contact a:hover { color: var(--accent); border-color: var(--accent); }
.footer__cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.footer__col { display: flex; flex-direction: column; gap: .8rem; }
.footer__ch { font-size: .68rem; letter-spacing: .16em; text-transform: uppercase; color: rgba(238,242,236,.4); margin-bottom: .3rem; }
.footer__col a { color: rgba(238,242,236,.66); font-size: .93rem; width: fit-content; position: relative; transition: color .3s var(--ease); }
.footer__col a::after { content: ""; position: absolute; left: 0; bottom: -2px; width: 0; height: 1px; background: var(--accent); transition: width .35s var(--ease-out); }
.footer__col a:hover { color: #fff; }
.footer__col a:hover::after { width: 100%; }
.footer__static { color: rgba(238,242,236,.55); font-size: .93rem; }

.post-footer { position: relative; margin-top: 0; line-height: 0; overflow: hidden; }
.post-footer video { width: 100%; height: clamp(200px, 30vw, 380px); object-fit: cover; opacity: .5; }
.post-footer__veil { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10,14,12,.45) 0%, transparent 38%, #0a0e0c 100%); }

.footer__meta { display: flex; justify-content: space-between; gap: 1.5rem; flex-wrap: wrap; padding-block: 1.7rem; font-family: var(--mono); font-size: .76rem; color: rgba(238,242,236,.42); position: relative; z-index: 1; }
.footer__credit a { display: inline-flex; align-items: center; gap: .3em; color: rgba(238,242,236,.7); border-bottom: 1px solid rgba(238,242,236,.16); padding-bottom: 1px; transition: color .3s var(--ease), border-color .3s var(--ease); }
.footer__credit a svg { width: 12px; height: 12px; transition: transform .4s var(--ease-out); }
.footer__credit a:hover { color: var(--accent); border-color: var(--accent); }
.footer__credit a:hover svg { transform: translate(2px, -2px); }

/* ============================================================ GSAP init states = */
.is-animate [data-hero] { opacity: 0; transform: translateY(26px); }
.is-animate .hero__title .word { opacity: 0; transform: translateY(115%); }
.is-animate [data-fade] { opacity: 0; transform: translateY(28px); }
.is-animate .pcard[data-fade] { opacity: 0; transform: translateY(36px); }
.is-animate [data-ocard] { opacity: 0; transform: translateY(44px); }
.is-animate [data-cta-panel] { opacity: 0; }

/* ============================================================ Reduced motion = */
@media (prefers-reduced-motion: reduce) {
  .marquee__track, .hero__cue-line::after, .cta__panel::before { animation: none !important; }
  [data-hero], [data-fade], .hero__title .word,
  [data-ocard], [data-cta-panel] { opacity: 1 !important; transform: none !important; }
  .flowx__step { opacity: 1 !important; }
  .flowx__glyph { opacity: 1 !important; }
  .flowx__rail-fill { transform: scaleY(1) !important; }
}

/* ============================================================ Responsive = */
@media (max-width: 900px) {
  .nav__inner { margin-inline: var(--gutter); padding-left: 1rem; }
  .nav__links, .nav__cta { display: none; }
  .nav__toggle { display: inline-flex; flex-direction: column; gap: 5px; justify-content: center; align-items: center; width: 46px; height: 46px; border-radius: 50%; border: 1px solid rgba(238,242,236,.2); background: rgba(10,14,12,.4); cursor: pointer; }
  .nav__toggle span { width: 17px; height: 1.6px; background: #fff; transition: transform .4s var(--ease), opacity .3s var(--ease); }
  body.menu-open .nav__toggle span:first-child { transform: translateY(3.3px) rotate(45deg); }
  body.menu-open .nav__toggle span:last-child { transform: translateY(-3.3px) rotate(-45deg); }
  .pcards, .ocards { grid-template-columns: 1fr; }
  .footer__inner { grid-template-columns: 1fr; }
  .footer__cols { grid-template-columns: repeat(3, 1fr); }
  .flowx__grid { grid-template-columns: 1fr; gap: 2rem; }
  .flowx__stage { display: none; }
  .flowx__step { grid-template-columns: 48px 1fr; gap: 1.1rem; }
  .flowx__badge { width: 48px; height: 48px; }
}
@media (max-width: 620px) {
  .hero__stats { grid-template-columns: 1fr 1fr; gap: 1.4rem 1.2rem; }
  .stat:last-child { grid-column: 1 / -1; }
  .loss { grid-template-columns: 1fr; gap: 1rem; }
  .footer__cols { grid-template-columns: 1fr; gap: 1.6rem; }
  .footer__meta { flex-direction: column; gap: .6rem; }
  .btn--lg { width: 100%; justify-content: center; }
  .hero__actions { width: 100%; }
}

/* ============================================================
   Inner-page components (Technology · Company · How-it-works · Contact)
   Ported to the dark design system. Token-based, hairline, editorial.
   ============================================================ */

/* ---------- pill buttons (alias of .btn look) ---------- */
.pill { position: relative; display: inline-flex; align-items: center; gap: .6em; padding: .92em 1.5em; border-radius: var(--radius-pill); font-size: .93rem; font-weight: 500; letter-spacing: -0.01em; border: 1px solid var(--line); cursor: pointer; color: var(--ink); background: transparent; white-space: nowrap; transition: background-color .35s var(--ease), color .35s var(--ease), border-color .35s var(--ease); }
.pill svg { width: 15px; height: 15px; transition: transform .4s var(--ease-out); }
.pill:hover svg { transform: translateX(3px); }
.pill--solid { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); font-weight: 600; }
.pill--solid:hover { filter: brightness(1.08); }
.pill--ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.pill--ghost:hover { border-color: var(--ink); background: color-mix(in srgb, var(--ink) 8%, transparent); }
.pill--lg { padding: 1.05em 1.7em; font-size: 1rem; }

/* ---------- section modifiers ---------- */
.section--tint { background: var(--bg-soft); }
.section__head--center { text-align: center; max-width: 720px; margin-inline: auto; }
.section__head--center .kicker { justify-content: center; }
.section__head--center .lede { margin-inline: auto; }
.section__head--sticky { position: sticky; top: 116px; }
.grid-2 { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(2.6rem, 7vw, 7rem); }
.grid-2--top { align-items: start; }

/* ---------- page hero (inner pages) ---------- */
.page-hero { position: relative; color: #fff; padding-top: clamp(150px, 19vh, 230px); padding-bottom: clamp(58px, 9vw, 110px); border-bottom: 1px solid rgba(238,242,236,.14); overflow: hidden; }
.page-hero__bg { position: absolute; inset: 0; z-index: 0; overflow: hidden; pointer-events: none; }
.page-hero__bg video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .5; }
.page-hero__bg::after { content: ""; position: absolute; inset: 0; background: radial-gradient(120% 90% at 78% 12%, rgba(55,214,127,.16), transparent 55%), linear-gradient(180deg, rgba(10,14,12,.78) 0%, rgba(10,14,12,.6) 45%, rgba(10,14,12,.92) 100%), linear-gradient(100deg, rgba(10,14,12,.86) 0%, rgba(10,14,12,.4) 60%, rgba(10,14,12,.6) 100%); }
.page-hero__inner { position: relative; z-index: 1; }
.page-hero__title { font-family: var(--serif); font-weight: 340; font-size: clamp(2.4rem, 6vw, 4.4rem); line-height: 1.04; letter-spacing: -0.032em; margin: 0 0 1.4rem; max-width: 20ch; font-optical-sizing: auto; color: #fff; }
.page-hero__title em { font-style: italic; color: var(--accent); }
.page-hero__lede { color: rgba(238,242,236,.86); font-size: clamp(1.05rem, 1.5vw, 1.3rem); line-height: 1.62; max-width: 60ch; margin: 0; }
.page-hero .eyebrow { color: rgba(238,242,236,.82); }

/* ---------- chip ---------- */
.chip { display: inline-flex; align-items: center; gap: .6em; padding: .55em 1.1em; border: 1px solid var(--line); border-radius: var(--radius-pill); font-size: .82rem; color: var(--muted); background: var(--surface); }
.chip__dot { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); }

/* ---------- metrics ---------- */
.metrics { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.metric { border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(1.7rem, 2.6vw, 2.5rem); background: var(--surface); transition: border-color .4s var(--ease), transform .5s var(--ease-out); }
.metric:hover { border-color: rgba(238,242,236,.3); transform: translateY(-4px); }
.metric__num { font-family: var(--serif); font-weight: 360; letter-spacing: -0.03em; font-size: clamp(2.5rem, 5vw, 3.6rem); line-height: 1; color: var(--accent); display: flex; align-items: baseline; gap: .1em; }
.metric__num small { font-family: var(--sans); font-size: .32em; letter-spacing: .02em; color: var(--muted-2); text-transform: uppercase; }
.metric h3 { font-family: var(--serif); font-weight: 440; font-size: 1.2rem; letter-spacing: -0.02em; margin: 1.2rem 0 .5rem; color: var(--ink); }
.metric p { font-size: .92rem; color: var(--muted); margin: 0; line-height: 1.55; }

/* ---------- steps ---------- */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--surface); }
.steps--3 { grid-template-columns: repeat(3, 1fr); }
.step { position: relative; padding: clamp(1.7rem, 2.6vw, 2.6rem); border-right: 1px solid var(--line); transition: background-color .4s var(--ease); }
.step:last-child { border-right: none; }
.step:hover { background: var(--bg-soft); }
.step__no { font-family: var(--serif); font-style: italic; font-size: .95rem; color: var(--accent); display: block; margin-bottom: 1.7rem; }
.step__icon { width: 44px; height: 44px; color: var(--ink); margin-bottom: 1.4rem; transition: color .4s var(--ease); }
.step__icon svg { width: 100%; height: 100%; }
.step:hover .step__icon { color: var(--accent); }
.step h3 { font-family: var(--serif); font-weight: 440; font-size: 1.24rem; letter-spacing: -0.02em; margin: 0 0 .6rem; color: var(--ink); }
.step p { font-size: .92rem; color: var(--muted); margin: 0; line-height: 1.55; }

/* ---------- stack panel ---------- */
.stack { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--surface); }
.stack__head { display: flex; align-items: center; gap: .7em; padding: 1.1rem clamp(1.5rem, 2.4vw, 2rem); border-bottom: 1px solid var(--line); font-size: .72rem; letter-spacing: .18em; text-transform: uppercase; color: var(--muted-2); }
.stack__head .stack__dot { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); }
.stack__item { display: grid; grid-template-columns: auto 1fr; gap: 1.3rem; padding: clamp(1.5rem, 2.4vw, 2rem); border-bottom: 1px solid var(--line); transition: background-color .4s var(--ease); }
.stack__item:last-child { border-bottom: none; }
.stack__item:hover { background: var(--bg-soft); }
.stack__no { font-family: var(--serif); font-style: italic; color: var(--accent); font-size: 1.3rem; line-height: 1.2; }
.stack__item h3 { font-family: var(--serif); font-weight: 440; font-size: 1.22rem; letter-spacing: -0.02em; margin: 0 0 .4rem; color: var(--ink); }
.stack__item p { margin: 0; color: var(--muted); font-size: .95rem; line-height: 1.6; }
.stack__item p strong { color: var(--ink); }

/* ---------- bento ---------- */
.bento { display: grid; grid-template-columns: repeat(6, 1fr); gap: 1rem; grid-auto-flow: dense; }
.bento__tile { position: relative; grid-column: span 2; border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(1.5rem, 2.4vw, 2.1rem); background: var(--surface); display: flex; flex-direction: column; transition: border-color .4s var(--ease), transform .5s var(--ease-out); }
.bento__tile:hover { border-color: rgba(238,242,236,.3); transform: translateY(-4px); }
.bento__tile--lg { grid-column: span 3; }
.bento__tile--wide { grid-column: span 4; }
.bento__tile--tall { grid-row: span 2; }
.bento__icon { width: 42px; height: 42px; flex: none; display: grid; place-items: center; border-radius: var(--radius); color: var(--ink); border: 1px solid var(--line); margin-bottom: 1.2rem; }
.bento__icon svg { width: 21px; height: 21px; }
.bento__metric { font-family: var(--serif); font-weight: 360; font-size: clamp(2rem, 3.6vw, 2.8rem); line-height: 1; letter-spacing: -0.03em; margin-bottom: .5rem; color: var(--accent); }
.bento__tile h3 { font-family: var(--serif); font-weight: 440; font-size: 1.18rem; letter-spacing: -0.02em; margin: 0 0 .4rem; color: var(--ink); }
.bento__tile p { margin: 0; color: var(--muted); font-size: .92rem; line-height: 1.55; }
.bento__tile p strong { color: var(--ink); }
.bento__tag { margin-top: auto; padding-top: 1.1rem; font-size: .7rem; letter-spacing: .12em; text-transform: uppercase; font-weight: 500; color: var(--muted-2); }
@media (max-width: 980px) { .bento { grid-template-columns: repeat(2, 1fr); } .bento__tile, .bento__tile--lg, .bento__tile--wide { grid-column: span 1; } .bento__tile--tall { grid-row: auto; } }
@media (max-width: 560px) { .bento { grid-template-columns: 1fr; } }

/* ---------- vertical timeline ---------- */
.timeline { position: relative; max-width: 780px; margin: 0 auto; }
.timeline__item { position: relative; display: grid; grid-template-columns: 46px 1fr; gap: 1.6rem; padding-bottom: 2.6rem; }
.timeline__item:last-child { padding-bottom: 0; }
.timeline__rail { position: relative; display: flex; flex-direction: column; align-items: center; }
.timeline__dot { width: 46px; height: 46px; flex: none; border-radius: 50%; display: grid; place-items: center; color: var(--accent); background: var(--surface); border: 1px solid var(--accent); z-index: 1; font-family: var(--serif); font-style: italic; font-size: 1.05rem; }
.timeline__line { flex: 1; width: 1px; margin: .5rem 0 -.6rem; background: var(--line); }
.timeline__item:last-child .timeline__line { display: none; }
.timeline__body { padding-top: .7rem; }
.timeline__tag { display: block; font-size: .7rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 600; margin-bottom: .4rem; color: var(--accent); }
.timeline__body h3 { font-family: var(--serif); font-weight: 440; font-size: 1.3rem; letter-spacing: -0.02em; margin: 0 0 .45rem; color: var(--ink); }
.timeline__body p { margin: 0; color: var(--muted); line-height: 1.6; }
.timeline__body p strong { color: var(--ink); }
@media (max-width: 560px) { .timeline__item { grid-template-columns: 38px 1fr; gap: 1.2rem; } .timeline__dot { width: 38px; height: 38px; font-size: .92rem; } }

/* ---------- facts table ---------- */
.facts { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; max-width: 880px; margin-inline: auto; background: var(--surface); }
.facts__row { display: grid; grid-template-columns: .82fr 1.4fr; gap: 1.5rem; align-items: baseline; padding: 1.2rem clamp(1.5rem, 2.4vw, 2rem); border-bottom: 1px solid var(--line); }
.facts__row:last-child { border-bottom: none; }
.facts__key { font-family: var(--mono); font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted-2); }
.facts__val { font-family: var(--serif); font-weight: 440; font-size: 1.05rem; letter-spacing: -0.015em; color: var(--ink); }
.facts__val a { border-bottom: 1px solid var(--line); padding-bottom: 1px; transition: color .3s var(--ease), border-color .3s var(--ease); }
.facts__val a:hover { color: var(--accent); border-color: var(--accent); }
@media (max-width: 600px) { .facts__row { grid-template-columns: 1fr; gap: .35rem; } }

/* ---------- cost table ---------- */
.cost { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; max-width: 940px; margin-inline: auto; background: var(--surface); }
.cost__row { display: grid; grid-template-columns: 1.1fr 1.8fr .9fr; gap: 1.5rem; align-items: center; padding: 1.35rem clamp(1.5rem, 2.4vw, 2.2rem); border-bottom: 1px solid var(--line); transition: background-color .4s var(--ease); }
.cost__row:last-child { border-bottom: none; }
.cost__row:not(.cost__row--head):not(.cost__row--total):hover { background: var(--bg-soft); }
.cost__row--head { font-family: var(--mono); font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted-2); background: var(--bg-soft); }
.cost__name { font-family: var(--serif); font-weight: 440; font-size: 1.08rem; letter-spacing: -0.015em; color: var(--ink); }
.cost__desc { font-size: .9rem; color: var(--muted); }
.cost__amt { text-align: right; font-family: var(--serif); font-size: 1.18rem; white-space: nowrap; color: var(--ink); }
.cost__amt small { display: block; font-family: var(--sans); font-size: .68rem; letter-spacing: .05em; text-transform: uppercase; color: var(--muted-2); margin-top: .2rem; }
.cost__row--total { background: var(--bg-soft); }
.cost__row--total .cost__name { font-size: 1.2rem; color: var(--ink); }
.cost__row--total .cost__desc { color: var(--muted); }
.cost__row--total .cost__amt { font-size: 1.6rem; color: var(--accent); }
.cost__row--total .cost__amt small { color: var(--muted-2); }
@media (max-width: 760px) { .cost__row { grid-template-columns: 1fr auto; gap: .4rem .8rem; } .cost__desc { grid-column: 1 / -1; order: 3; } .cost__row--head .cost__desc { display: none; } .cost__row--head { grid-template-columns: 1fr auto; } }

/* ---------- figure ---------- */
.figure { margin: clamp(2.8rem, 5vw, 4.4rem) 0 0; }
.figure__media { position: relative; overflow: hidden; border-radius: var(--radius); border: 1px solid var(--line); background: var(--surface); }
.figure__media--wide { aspect-ratio: 16 / 7; }
.figure__media--cine { aspect-ratio: 16 / 6; }
.figure__media img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) contrast(1.02); transition: filter .6s var(--ease), transform 1.2s var(--ease-out); }
.figure__media:hover img { filter: grayscale(0); }
.figure__media--auto { aspect-ratio: auto; }
.figure__media--auto img { position: static; width: 100%; height: auto; object-fit: contain; filter: none !important; }
.figure__media--auto:hover img { transform: none; }
@media (max-width: 700px) { .figure__media--wide, .figure__media--cine { aspect-ratio: 4 / 3; } }
figcaption { display: flex; justify-content: space-between; gap: 1.5rem; flex-wrap: wrap; padding: 1.1rem .2rem 0; font-size: .9rem; color: var(--muted); }
.figure__label { display: inline-flex; align-items: center; gap: .55em; font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 600; color: var(--ink); white-space: nowrap; }
.figure__dot { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }

/* ---------- contact form ---------- */
.form-card { border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); padding: clamp(1.7rem, 3vw, 2.7rem); }
.form { display: grid; gap: 1.2rem; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; }
.field { display: grid; gap: .5rem; }
.field label { font-family: var(--mono); font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.field input, .field select, .field textarea { font-family: inherit; font-size: .98rem; color: var(--ink); background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius); padding: .85em 1em; width: 100%; outline: none; transition: border-color .3s var(--ease); }
.field textarea { resize: vertical; min-height: 134px; }
.field input::placeholder, .field textarea::placeholder { color: var(--muted-2); }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--ink); }
.field select { appearance: none; -webkit-appearance: none; cursor: pointer; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 16 16' fill='none' stroke='%23eef2ec' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 6l4 4 4-4'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 1em center; padding-right: 2.6em; }
.form__actions { display: flex; align-items: center; gap: 1rem; flex-wrap: wrap; margin-top: .4rem; }
.form__note { font-size: .82rem; color: var(--muted-2); margin: 0; }
.form__note--ok { color: var(--accent); font-weight: 600; }
@media (max-width: 600px) { .form__row { grid-template-columns: 1fr; } }

/* ---------- inner-page responsive ---------- */
@media (max-width: 980px) {
  .grid-2 { grid-template-columns: 1fr; }
  .section__head--sticky { position: static; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .metrics { grid-template-columns: 1fr; }
  .steps--3 { grid-template-columns: 1fr; }
}
