/* Tec-C landing — "Instinct on a leash"
   Dark amber jaguar hero that slowly turns into the green jungle of the Command Center. */

:root {
  --ink: #0b0d0a;
  --ink-2: #121510;
  --bone: #f1ede4;
  --muted: #a39e92;
  --amber: #e8a64b;
  --amber-deep: #b86b1f;
  --moss: #8fb573;
  --lime: #cde38a;
  --sage: #b9c4ae;
  --line: rgba(241, 237, 228, 0.14);
  --sage-2: #9aa88f;
  --display: 'Bebas Neue', 'Oswald', Impact, sans-serif;
  --serif: 'Instrument Serif', Georgia, serif;
  --sans: 'Manrope', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --ease: cubic-bezier(.77, 0, .175, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --gutter: clamp(16px, 4.5vw, 64px);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  background: #9aa88f;
  color: var(--bone);
  font-family: var(--sans);
  font-size: 15px;
  line-height: 1.55;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
body.is-loading { overflow: hidden; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
img { display: block; max-width: 100%; }
em { font-family: var(--serif); font-style: italic; font-weight: 400; color: var(--amber); }

/* ---------- preloader ---------- */
.preloader {
  position: fixed; inset: 0; z-index: 1000;
  background: var(--ink);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 18px;
  transition: transform 1.1s var(--ease);
}
.preloader.done { transform: translateY(-100%); }
.pre-eyes { display: flex; gap: 34px; }
.pre-eye {
  width: 34px; height: 16px; border-radius: 50%;
  background: radial-gradient(circle at 50% 50%, #120a02 0 18%, var(--amber) 22% 60%, #7a3e0c 100%);
  box-shadow: 0 0 30px rgba(232, 166, 75, .55);
  animation: blink 2.6s infinite;
}
@keyframes blink { 0%, 44%, 52%, 100% { transform: scaleY(1); } 48% { transform: scaleY(.08); } }
.pre-brand { font-family: var(--display); font-size: clamp(64px, 12vw, 150px); letter-spacing: .04em; line-height: .9; }
.pre-brand span { color: var(--amber); }
.pre-count { font-family: var(--display); font-size: 22px; letter-spacing: .2em; color: var(--muted); }
.pre-bar { width: min(320px, 70vw); height: 1px; background: var(--line); overflow: hidden; }
.pre-bar i { display: block; height: 100%; width: 0; background: var(--amber); transition: width .2s linear; }
.pre-note { font-size: 11px; letter-spacing: .3em; text-transform: uppercase; color: var(--muted); }

/* ---------- ambient layers ---------- */
#fireflies { position: fixed; inset: 0; z-index: 6; pointer-events: none; }
.grain {
  position: fixed; inset: -50%; z-index: 7; pointer-events: none; opacity: .06;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
  animation: grain 1s steps(6) infinite;
}
@keyframes grain {
  0% { transform: translate(0, 0); } 20% { transform: translate(-3%, 2%); } 40% { transform: translate(2%, -3%); }
  60% { transform: translate(-2%, -1%); } 80% { transform: translate(3%, 3%); } 100% { transform: translate(0, 0); }
}
.cursor-dot, .cursor-ring { position: fixed; top: 0; left: 0; z-index: 999; pointer-events: none; border-radius: 50%; }
.cursor-dot { width: 6px; height: 6px; background: var(--amber); margin: -3px 0 0 -3px; }
.cursor-ring {
  width: 38px; height: 38px; margin: -19px 0 0 -19px; border: 1px solid rgba(232, 166, 75, .55);
  transition: width .3s var(--ease-out), height .3s var(--ease-out), margin .3s var(--ease-out), background .3s, border-color .3s;
}
.cursor-ring.hover { width: 70px; height: 70px; margin: -35px 0 0 -35px; background: rgba(232, 166, 75, .12); border-color: transparent; }
@media (hover: none) { .cursor-dot, .cursor-ring { display: none; } }

/* ---------- header ---------- */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding: 26px var(--gutter);
  transition: padding .4s var(--ease-out), background .4s;
}
.site-header.scrolled { padding-top: 14px; padding-bottom: 14px; background: linear-gradient(rgba(11, 13, 10, .85), rgba(11, 13, 10, 0)); }
.logo { display: flex; align-items: center; gap: 10px; font-family: var(--display); font-size: 30px; letter-spacing: .06em; }
.logo-mark { width: 34px; height: 34px; color: var(--bone); }
.main-nav { display: flex; gap: 38px; margin-left: auto; font-size: 13px; font-weight: 600; letter-spacing: .04em; }
.main-nav a { position: relative; padding: 4px 0; }
.main-nav a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--amber);
  transform: scaleX(0); transform-origin: right; transition: transform .45s var(--ease-out);
}
.main-nav a:hover::after { transform: scaleX(1); transform-origin: left; }
.circle-btn {
  width: 46px; height: 46px; border-radius: 50%; border: 1px solid rgba(241, 237, 228, .6);
  display: grid; place-items: center; transition: background .3s, color .3s, transform .3s;
}
.circle-btn svg { width: 18px; height: 18px; }
.circle-btn:hover { background: var(--bone); color: var(--ink); }

/* ---------- hero ---------- */
.hero { position: relative; height: 100vh; min-height: 640px; overflow: hidden; background: var(--ink); }
.slides { position: absolute; inset: 0; }
.slide { position: absolute; inset: 0; pointer-events: none; }
.slide.is-active { pointer-events: auto; }
.slide-media {
  position: absolute; inset: 0; overflow: hidden;
  clip-path: inset(0 0 0 100%);
  transition: clip-path 1.3s var(--ease);
}
.slide.is-active .slide-media, .slide.is-leaving .slide-media { clip-path: inset(0 0 0 0); }
.slide.is-leaving { z-index: 0; }
.slide.is-active { z-index: 1; }
.slide-media img {
  position: absolute; inset: -4%; width: 108%; height: 108%; object-fit: cover; object-position: 30% 40%;
  filter: saturate(1.08) contrast(1.06) brightness(.82);
  transform: translateX(var(--shift, 0)) scaleX(var(--flip, 1)) scale(1.18) translate3d(var(--px, 0), var(--py, 0), 0);
  transition: transform 7s cubic-bezier(.2, .6, .2, 1);
}
.slide.is-active .slide-media img { transform: translateX(var(--shift, 0)) scaleX(var(--flip, 1)) scale(1.04) translate3d(var(--px, 0), var(--py, 0), 0); }
.slide[data-index="1"] .slide-media img { --shift: -20%; object-position: 50% 40%; }
.slide[data-index="2"] .slide-media img { --flip: -1; --shift: -12%; }
.slide[data-index="3"] .slide-media img { --shift: -22%; object-position: 50% 30%; }
.slide-media::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(11, 13, 10, .25) 0%, rgba(11, 13, 10, .1) 30%, rgba(11, 13, 10, .82) 55%, rgba(11, 13, 10, .95) 100%),
    linear-gradient(0deg, rgba(11, 13, 10, .9) 0%, rgba(11, 13, 10, 0) 35%),
    radial-gradient(ellipse at 30% 45%, rgba(232, 166, 75, .12), transparent 60%);
}
.spotlight {
  position: absolute; inset: 0; z-index: 2; pointer-events: none;
  background: radial-gradient(420px circle at var(--mx, 30%) var(--my, 45%), rgba(255, 214, 160, .09), transparent 70%);
}

.slide-copy {
  position: absolute; z-index: 3; right: var(--gutter); top: 50%; transform: translateY(-38%);
  width: min(560px, 46vw);
}
.eyebrow {
  display: flex; align-items: center; gap: 14px; margin-bottom: 18px;
  font-size: 11px; font-weight: 700; letter-spacing: .32em; text-transform: uppercase; color: var(--amber);
  opacity: 0; transform: translateY(14px); transition: opacity .8s .5s, transform .8s .5s var(--ease-out);
}
.eyebrow-line { width: 0; height: 1px; background: var(--amber); transition: width 1s .6s var(--ease-out); }
.slide.is-active .eyebrow { opacity: 1; transform: none; }
.slide.is-active .eyebrow-line { width: 42px; }
.headline {
  font-family: var(--display); font-weight: 400; text-transform: uppercase;
  font-size: clamp(52px, min(8.4vw, 15vh), 132px); line-height: .9; letter-spacing: .01em;
}
.headline .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .04em; }
.headline .ch { display: inline-block; transform: translateY(110%) rotate(6deg); transition: transform 1s var(--ease-out); }
.slide.is-active .headline .ch { transform: none; }
.copy-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; margin-top: 26px; font-size: 13px; color: #cfc9bc; }
.copy-cols p { opacity: 0; transform: translateY(18px); transition: opacity .9s, transform .9s var(--ease-out); }
.slide.is-active .copy-cols p:nth-child(1) { opacity: 1; transform: none; transition-delay: .9s; }
.slide.is-active .copy-cols p:nth-child(2) { opacity: 1; transform: none; transition-delay: 1.02s; }
.cta-row { display: flex; gap: 16px; align-items: center; margin-top: 34px; flex-wrap: wrap; opacity: 0; transform: translateY(18px); transition: opacity .9s 1.15s, transform .9s 1.15s var(--ease-out); }
.slide.is-active .cta-row { opacity: 1; transform: none; }

.btn-pill {
  display: inline-flex; align-items: center; gap: 12px;
  background: var(--bone); color: var(--ink); font-weight: 700; font-size: 13px;
  padding: 7px 7px 7px 20px; border-radius: 999px;
  transition: background .3s, box-shadow .3s;
}
.btn-pill .sq { width: 32px; height: 32px; border-radius: 50%; background: var(--ink); color: var(--bone); display: grid; place-items: center; transition: transform .45s var(--ease-out); }
.btn-pill .sq svg { width: 14px; height: 14px; }
.btn-pill:hover { background: var(--amber); box-shadow: 0 10px 40px -10px rgba(232, 166, 75, .6); }
.btn-pill:hover .sq { transform: rotate(45deg); }
.btn-ghost { font-size: 13px; font-weight: 600; border-bottom: 1px solid var(--line); padding-bottom: 3px; transition: border-color .3s, color .3s; }
.btn-ghost:hover { color: var(--amber); border-color: var(--amber); }

.slide-index { position: absolute; z-index: 4; left: var(--gutter); top: 50%; transform: translateY(-10%); display: flex; flex-direction: column; gap: 6px; }
.si { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; padding: 4px 0; font-family: var(--display); color: #d6d0c3; }
.si-num { font-size: 15px; text-shadow: 0 1px 8px rgba(0,0,0,.8); letter-spacing: .1em; transition: font-size .5s var(--ease-out), color .5s; }
.si-track { width: 1px; height: 0; background: var(--line); position: relative; overflow: hidden; margin-left: 8px; transition: height .6s var(--ease-out); }
.si-track i { position: absolute; left: 0; top: 0; width: 100%; height: 0; background: var(--bone); }
.si.is-active .si-num { font-size: 30px; color: var(--bone); }
.si.is-active .si-track { height: 90px; }
.si:hover .si-num { color: var(--bone); }

.socials { position: absolute; z-index: 4; left: var(--gutter); bottom: 34px; display: flex; gap: 34px; font-size: 12px; font-weight: 600; }
.socials a { opacity: .8; transition: opacity .3s, color .3s; }
.socials a:hover { opacity: 1; color: var(--amber); }
.scroll-hint { position: absolute; z-index: 4; right: var(--gutter); bottom: 34px; display: flex; align-items: center; gap: 14px; font-size: 11px; letter-spacing: .22em; text-transform: uppercase; color: var(--muted); }
.scroll-hint i { width: 1px; height: 46px; background: var(--line); position: relative; overflow: hidden; }
.scroll-hint i::after { content: ""; position: absolute; left: 0; top: -40%; width: 100%; height: 40%; background: var(--amber); animation: drip 1.8s var(--ease) infinite; }
@keyframes drip { to { top: 100%; } }

/* ---------- hero → mist → forest ---------- */
/* A sticky stage over a tall track; scroll progress drives it (landing.js):
   the jaguar softens while mist rolls in from both sides, the screen becomes pale mist,
   then the stage fades and the forest behind it emerges through the thinning fog. */
.hero-track { position: relative; z-index: 5; height: 280vh; }
.stage { position: sticky; top: 0; height: 100vh; min-height: 560px; overflow: hidden; background: var(--ink); will-change: opacity; }
.stage > * { position: absolute; inset: 0; }
.stage .hero { height: 100%; min-height: 0; will-change: opacity, transform; }
/* Performance: every animated property below is transform or opacity (GPU-composited, no repaint).
   No filters, masks or background-position animation on these full-screen layers. */
.fog, .fog-veil { pointer-events: none; opacity: 0; will-change: transform, opacity; contain: strict; }
.fog-back { inset: -10% 0; overflow: hidden; }
.fog-back::before { /* a 200%-wide strip of tiling mist sliding slowly left */
  content: ""; position: absolute; top: 0; bottom: 0; left: 0; width: 200%;
  background: url(../img/fog.webp) repeat-x 0 0 / 50% 100%;
  animation: drift 70s linear infinite; will-change: transform;
}
@keyframes drift { to { transform: translate3d(-50%, 0, 0); } }
.fog-left, .fog-right { top: -12%; bottom: -12%; width: 130%; background: url(../img/fog-bank.webp) center / 100% 100% no-repeat; }
.fog-left { left: -15%; transform: translate3d(var(--fx, -60%), 0, 0) scale(var(--fs, 1)); }
.fog-right { right: -15%; transform: translate3d(var(--fx, 60%), 0, 0) scale(var(--fs, 1)) scaleX(-1); }
.fog-veil { pointer-events: none; opacity: 0; background:
  radial-gradient(ellipse at 50% 55%, rgba(236, 241, 230, .96), rgba(205, 215, 196, .92) 60%, rgba(170, 184, 160, .9)); }

.nature { position: fixed; inset: 0; z-index: 0; overflow: hidden; background: var(--sage-2); }
.nature-photo {
  position: absolute; inset: -8%;
  background: url(../img/mist-canopy-graded.jpg) center 40% / cover no-repeat; /* grade baked into the file: no live filter */
  transform: translateY(var(--ny, 0)) scale(1.06);
}
.nature-haze { position: absolute; inset: 0; background:
  radial-gradient(ellipse at 50% 45%, rgba(200, 210, 190, .28), transparent 65%),
  linear-gradient(180deg, rgba(118, 134, 106, .62), rgba(112, 128, 100, .6) 55%, rgba(96, 114, 88, .7)); }
.nature-moss {
  position: absolute; width: 58vw; height: 90vh; background: url(../img/moss-forest-lush.jpg) center / cover;
  -webkit-mask-image: radial-gradient(closest-side, #000 25%, transparent 100%); mask-image: radial-gradient(closest-side, #000 25%, transparent 100%);
  opacity: .75; animation: breathe 16s ease-in-out infinite alternate; will-change: transform;
}
.nature-moss-l { left: -24vw; bottom: -34vh; }
.nature-moss-r { right: -26vw; top: -30vh; animation-delay: -8s; }
@keyframes breathe { from { transform: scale(1) rotate(0deg); } to { transform: scale(1.12) rotate(5deg); } }
.nature-leaves { position: absolute; inset: 0; }
.nleaf { position: absolute; top: -60px; animation: fall linear infinite; }
.nleaf svg { width: 100%; height: 100%; animation: sway ease-in-out infinite alternate; }
@keyframes fall { to { transform: translateY(115vh); } }
@keyframes sway { from { transform: rotate(-35deg) translateX(-20px); } to { transform: rotate(35deg) translateX(20px); } }

/* everything after the hero: one airy palette — light sage air, clear white type, white cards */
main > :not(.hero-track) { position: relative; z-index: 4; }
.on-light .site-header .main-nav a::after { background: #fff; }
.on-light .cursor-dot { background: #fff; }
.on-light .cursor-ring { border-color: rgba(255, 255, 255, .7); }
.on-light .cursor-ring.hover { background: rgba(255, 255, 255, .18); }

/* intro — straight out of the reference: centred serif headline, white pill, floating cards */
.intro { min-height: 100vh; display: grid; place-items: center; text-align: center; padding: 140px var(--gutter) 120px; overflow: hidden; }
.intro-arch {
  position: absolute; left: 50%; top: 50%; width: min(980px, 104vw, 94vh); aspect-ratio: 1; transform: translate(-50%, -50%);
  border-radius: 50%; background: url(../img/moss-forest-ring.jpg) center / cover;
  -webkit-mask-image: radial-gradient(circle closest-side, transparent 72%, #000 78%, #000 90%, transparent 99%); mask-image: radial-gradient(circle closest-side, transparent 72%, #000 78%, #000 90%, transparent 99%);
  opacity: .85; animation: spin 140s linear infinite; will-change: transform;
}
@keyframes spin { to { transform: translate(-50%, -50%) rotate(360deg); } }
.intro-inner { position: relative; z-index: 2; }
.kicker { font-size: 11px; font-weight: 700; letter-spacing: .3em; text-transform: uppercase; color: rgba(255, 255, 255, .85); margin-bottom: 18px; }
.intro-title { font-family: var(--sans); font-weight: 500; font-size: clamp(40px, min(7vw, 12vh), 104px); line-height: .98; letter-spacing: -.045em; color: #fff; margin-bottom: 34px; text-shadow: 0 2px 30px rgba(60, 76, 52, .25); }
.intro-title em, .section h2 em, .cta-title em, .lit-text em { color: #fff; font-family: var(--serif); font-style: italic; font-weight: 400; letter-spacing: -.01em; }
.intro-card {
  position: absolute; z-index: 3; text-align: left; padding: 14px 16px; border-radius: 16px; width: 210px;
  background: rgba(255, 255, 255, .94); color: #1e2a1c; box-shadow: 0 24px 60px -24px rgba(40, 56, 34, .45);
  animation: floaty 7s ease-in-out infinite;
}
.intro-card.dark { background: rgba(28, 38, 26, .93); color: #fff; }
.ic-1 { left: max(20px, 5%); top: 16%; } .ic-2 { left: max(20px, 7%); bottom: 14%; animation-delay: -2s; } .ic-3 { right: max(20px, 5%); bottom: 18%; animation-delay: -4s; }
.ic-k { font-size: 11px; font-weight: 600; opacity: .6; }
.ic-t { font-size: 13px; font-weight: 600; margin-top: 2px; }
.ic-v { font-size: 28px; font-weight: 800; letter-spacing: -.03em; }
.ic-bar { height: 4px; border-radius: 4px; background: rgba(0, 0, 0, .1); margin-top: 8px; }
.ic-bar i { display: block; width: 58%; height: 100%; border-radius: 4px; background: #7fa66a; }
.ic-btn { display: inline-block; margin-top: 10px; font-size: 11.5px; font-weight: 700; padding: 6px 10px; border-radius: 8px; background: #fff; color: #1e2a1c; }
@keyframes floaty { 50% { transform: translateY(-14px) rotate(-1.5deg); } }
.intro-foot { position: absolute; left: var(--gutter); bottom: 40px; max-width: 340px; text-align: left; font-size: 13px; color: rgba(255, 255, 255, .9); z-index: 2; }

/* marquee */
.marquee { border-top: 1px solid rgba(255, 255, 255, .35); border-bottom: 1px solid rgba(255, 255, 255, .35); overflow: hidden; padding: 20px 0; background: rgba(104, 122, 94, .55); }
.marquee-track { display: flex; gap: 38px; width: max-content; animation: marquee 38s linear infinite; will-change: transform; backface-visibility: hidden; font-family: var(--sans); font-weight: 600; font-size: 34px; letter-spacing: -.03em; white-space: nowrap; color: #fff; }
.marquee-track b { color: rgba(255, 255, 255, .7); font-weight: 400; font-size: 20px; align-self: center; }
.marquee-track span:nth-of-type(3n) { font-family: var(--serif); font-style: italic; font-weight: 400; }
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes marquee { from { transform: translate3d(0, 0, 0); } to { transform: translate3d(-50%, 0, 0); } }

/* generic sections */
.section { padding: clamp(90px, 12vw, 160px) var(--gutter); }
.section-head { max-width: 900px; margin-bottom: clamp(44px, 6vw, 80px); }
.section h2 { font-family: var(--sans); font-weight: 500; font-size: clamp(40px, 5.8vw, 86px); line-height: 1; letter-spacing: -.045em; color: #fff; text-shadow: 0 2px 30px rgba(60, 76, 52, .2); }
.reveal { opacity: 0; transform: translateY(40px); transition: opacity 1.1s var(--ease-out), transform 1.1s var(--ease-out); }
.reveal.in { opacity: 1; transform: none; }
.card-w { background: rgba(255, 255, 255, .93); color: #1e2a1c; border-radius: 22px; box-shadow: 0 30px 70px -40px rgba(40, 56, 34, .55); }

/* stats — white cards on the air */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.stat { padding: 26px; background: rgba(255, 255, 255, .93); color: #1e2a1c; border-radius: 22px; box-shadow: 0 30px 70px -40px rgba(40, 56, 34, .55); }
.stat-num { font-family: var(--sans); font-weight: 800; font-size: clamp(48px, 5.5vw, 84px); line-height: 1; letter-spacing: -.05em; }
.stat:nth-child(4) { background: rgba(28, 38, 26, .94); color: #fff; }
.stat-label { color: #5b6a57; font-size: 13px; max-width: 220px; margin-top: 10px; }
.stat:nth-child(4) .stat-label { color: rgba(255, 255, 255, .7); }
.stats .stat:nth-child(2) { transition-delay: .1s; } .stats .stat:nth-child(3) { transition-delay: .2s; } .stats .stat:nth-child(4) { transition-delay: .3s; }

/* statement — a slowly turning moss ring behind words that light up as you scroll */
.statement { min-height: 120vh; display: flex; align-items: center; justify-content: center; padding: 0 var(--gutter); overflow: hidden; }
.scope {
  position: absolute; left: 50%; top: 50%; width: min(1000px, 100vw, 104vh); aspect-ratio: 1; pointer-events: none;
  transform: translate(-50%, -50%);
}
.scope svg { width: 100%; height: 100%; overflow: visible; }
.scope .sc-line { fill: none; stroke: rgba(255, 255, 255, .38); stroke-width: 1.5; }
.scope .sc-dash { stroke-dasharray: 2 14; stroke-width: 2; }
.scope .sc-ticks line { stroke: rgba(255, 255, 255, .45); stroke-width: 1.5; }
.scope .sc-ticks line.major { stroke: rgba(255, 255, 255, .8); stroke-width: 2; }
.scope .sc-cross line { stroke: rgba(255, 255, 255, .55); stroke-width: 1.5; }
.scope .sc-brackets path { fill: none; stroke: rgba(255, 255, 255, .8); stroke-width: 3; stroke-linecap: round; transition: stroke .5s; }
.scope .sc-label { fill: rgba(255, 255, 255, .78); font: 600 15px var(--sans); letter-spacing: .32em; transition: fill .5s; }
.scope .sc-ticks, .scope #sc-inner, .scope .sc-brackets { transform-box: view-box; transform-origin: 0 0; will-change: transform; }
.scope.locked .sc-brackets path { stroke: var(--amber); }
.scope.locked #sc-odds { fill: var(--amber); }
.lit-text { position: relative; max-width: 1050px; text-align: center; font-family: var(--serif); font-size: clamp(32px, 4.6vw, 70px); line-height: 1.1; letter-spacing: -.01em; }
.lit-text .lw { color: rgba(255, 255, 255, .32); transition: color .4s; }
.lit-text .lw.on { color: #fff; }
.lit-text .lw.on.hl { font-style: italic; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 8px; }

/* six senses — white cards, numbered; no connecting line */
.nodes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.node { position: relative; padding: 26px; min-height: 210px; background: rgba(255, 255, 255, .93); color: #1e2a1c; border-radius: 22px; box-shadow: 0 30px 70px -40px rgba(40, 56, 34, .55); transition: transform .5s var(--ease-out), box-shadow .5s, opacity 1.1s var(--ease-out); }
.node.reveal.in:hover { transform: translateY(-6px); box-shadow: 0 40px 80px -40px rgba(40, 56, 34, .7); }
.node-dot { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; margin-bottom: 26px; font-family: var(--serif); font-style: italic; font-size: 22px; background: #1e2a1c; color: #fff; }
.node:nth-child(2) { transition-delay: .08s; } .node:nth-child(3) { transition-delay: .16s; } .node:nth-child(4) { transition-delay: .24s; }
.node:nth-child(5) { transition-delay: .32s; } .node:nth-child(6) { transition-delay: .4s; }
.node h3 { font-size: 17px; font-weight: 700; letter-spacing: -.01em; margin-bottom: 8px; }
.node p { font-size: 13.5px; color: #5b6a57; }

/* territories — a misty photo band behind glass-white cards */
.territories { overflow: hidden; }
.terr-band { will-change: transform; position: absolute; left: 0; right: 0; top: 18%; bottom: 8%; background: url(../img/mist-canopy-band.jpg) center 30% / cover; opacity: .55;
  -webkit-mask-image: linear-gradient(transparent, #000 25%, #000 75%, transparent); mask-image: linear-gradient(transparent, #000 25%, #000 75%, transparent); transform: translateY(var(--ty, 0)); }
.territories .section-head, .terr-grid { position: relative; }
.terr-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.terr {
  position: relative; padding: 24px; border-radius: 22px; min-height: 290px; display: flex; flex-direction: column; gap: 8px;
  /* frosted look without backdrop-filter (live blur over the moving forest froze the page) */
  background: linear-gradient(160deg, rgba(150, 166, 138, .72), rgba(112, 130, 102, .66)); border: 1px solid rgba(255, 255, 255, .55); color: #fff;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .25), 0 30px 60px -40px rgba(30, 42, 26, .6);
  transition: transform .5s var(--ease-out), background .4s, color .4s, opacity 1.1s var(--ease-out);
}
.terr:hover { background: rgba(255, 255, 255, .94); color: #1e2a1c; }
.terr-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: auto; }
.terr-n { font-family: var(--serif); font-style: italic; font-size: 34px; }
.chip { font-size: 10px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; padding: 5px 10px; border-radius: 999px; background: #fff; color: #1e2a1c; }
.terr:hover .chip { background: #1e2a1c; color: #fff; }
.terr h3 { font-weight: 600; font-size: 30px; letter-spacing: -.035em; line-height: 1.05; }
.terr-chain { font-size: 12px; font-weight: 700; opacity: .85; }
.terr p { font-size: 13px; opacity: .9; }
.terr-grid .terr:nth-child(2) { transition-delay: .08s; } .terr-grid .terr:nth-child(3) { transition-delay: .16s; } .terr-grid .terr:nth-child(4) { transition-delay: .24s; }

/* oath — clean white rules on the air */
.oath-list { list-style: none; border-top: 1px solid rgba(255, 255, 255, .45); }
.oath-list li { display: grid; grid-template-columns: 120px 1fr; gap: 20px; align-items: baseline; padding: 30px 0; border-bottom: 1px solid rgba(255, 255, 255, .45); position: relative; color: #fff; }
.oath-list li::after { content: ""; position: absolute; left: 0; bottom: -1px; height: 2px; width: 0; background: #fff; transition: width 1s var(--ease-out); }
.oath-list li:hover::after { width: 100%; }
.oath-list span { font-family: var(--serif); font-style: italic; font-size: 44px; opacity: .8; }
.oath-list h3 { font-weight: 500; font-size: clamp(30px, 3.8vw, 52px); letter-spacing: -.04em; line-height: 1.05; transition: transform .5s var(--ease-out); }
.oath-list li:hover h3 { transform: translateX(14px); }
.oath-list p { color: rgba(255, 255, 255, .85); font-size: 14px; margin-top: 8px; max-width: 560px; }

/* cta */
.cta { min-height: 90vh; display: grid; place-items: center; text-align: center; overflow: hidden; }
.cta-arch {
  position: absolute; left: 50%; top: 50%; width: min(820px, 104vw, 84vh); aspect-ratio: 1; transform: translate(-50%, -50%); border-radius: 50%;
  background: url(../img/moss-forest.jpg) center / cover;
  -webkit-mask-image: radial-gradient(circle closest-side, transparent 72%, #000 79%, #000 90%, transparent 99%); mask-image: radial-gradient(circle closest-side, transparent 72%, #000 79%, #000 90%, transparent 99%);
  animation: spin 120s linear infinite reverse; opacity: .85; will-change: transform;
}
.cta-inner { position: relative; padding: 0 var(--gutter); }
.cta .kicker { margin-bottom: 14px; }
.cta-title { font-family: var(--sans); font-weight: 500; font-size: clamp(56px, 10vw, 160px); line-height: .92; letter-spacing: -.055em; color: #fff; margin-bottom: 38px; }
.btn-xl { font-size: 15px; padding: 9px 9px 9px 26px; }
.btn-xl .sq { width: 42px; height: 42px; }
.on-light .btn-pill { background: #fff; color: #1e2a1c; }
.on-light .btn-pill .sq { background: #1e2a1c; color: #fff; }
.on-light .btn-pill:hover { background: #eef3e6; box-shadow: 0 14px 40px -14px rgba(40, 56, 34, .5); }

.footer { position: relative; z-index: 4; padding: 40px var(--gutter); border-top: 1px solid rgba(255, 255, 255, .4); display: flex; flex-wrap: wrap; gap: 20px; justify-content: space-between; align-items: flex-start; font-size: 12px; color: rgba(255, 255, 255, .85); background: rgba(60, 76, 52, .72); }
.foot-brand { font-weight: 800; font-size: 22px; color: #fff; letter-spacing: -.02em; }
.foot-brand span { font-size: 12px; font-weight: 500; letter-spacing: 0; color: rgba(255, 255, 255, .75); margin-left: 10px; }
/* credits: one word; the full attribution appears on hover / focus (tap on touch screens) */
.footer { align-items: center; }
.credits { position: relative; }
.credits-btn { font-size: 13px; font-weight: 700; letter-spacing: .04em; color: #fff; padding: 8px 16px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .55); transition: background .3s, color .3s; }
.credits:hover .credits-btn, .credits:focus-within .credits-btn, .credits.open .credits-btn { background: #fff; color: #1e2a1c; }
.credits-pop {
  position: absolute; right: 0; bottom: calc(100% + 12px); width: min(520px, calc(100vw - 2 * var(--gutter)));
  padding: 16px 18px; border-radius: 16px; background: rgba(28, 38, 26, .96); color: rgba(255, 255, 255, .88);
  font-size: 12.5px; line-height: 1.7; box-shadow: 0 24px 60px -20px rgba(0, 0, 0, .55);
  opacity: 0; visibility: hidden; transform: translateY(8px); transition: opacity .3s, transform .3s var(--ease-out), visibility .3s;
}
.credits-pop::after { content: ""; position: absolute; left: 0; right: 0; top: 100%; height: 14px; } /* hover bridge to the button */
.credits:hover .credits-pop, .credits:focus-within .credits-pop, .credits.open .credits-pop { opacity: 1; visibility: visible; transform: none; }
.credits-pop a { color: #fff; border-bottom: 1px solid rgba(255, 255, 255, .4); }

/* ---------- responsive ---------- */
@media (max-width: 1100px) {
  .nodes { grid-template-columns: repeat(2, 1fr); }
  .terr-grid { grid-template-columns: repeat(2, 1fr); }
  .stats { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 1240px), (max-height: 760px) { .intro-card { display: none; } }
@media (max-width: 860px) {
  .main-nav { display: none; }
  .slide-copy { left: var(--gutter); right: var(--gutter); width: auto; top: auto; bottom: 110px; transform: none; }
  .slide-media img { object-position: 35% 30%; }
  .slide-media::after { background: linear-gradient(0deg, rgba(11, 13, 10, .97) 0%, rgba(11, 13, 10, .75) 45%, rgba(11, 13, 10, .15) 75%); }
  .copy-cols { grid-template-columns: 1fr; gap: 10px; }
  .copy-cols p:nth-child(2) { display: none; }
  .slide-index { top: 110px; transform: none; flex-direction: row; gap: 14px; }
  .si-track { display: none; }
  .si.is-active .si-num { font-size: 22px; }
  .scroll-hint { display: none; }
  .intro-foot { position: relative; left: 0; bottom: 0; margin-top: 40px; }
  .intro { display: flex; flex-direction: column; justify-content: center; }
}
@media (max-width: 560px) {
  .nodes, .terr-grid, .stats { grid-template-columns: 1fr; }
  .oath-list li { grid-template-columns: 1fr; gap: 4px; }
  .socials { gap: 18px; }
  .headline { font-size: 58px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001s !important; animation-iteration-count: 1 !important; transition-duration: .001s !important; }
  html { scroll-behavior: auto; }
}

/* header over the forest */
.on-light .site-header.scrolled { background: linear-gradient(rgba(96, 114, 88, .55), rgba(96, 114, 88, 0)); }
.on-light .logo-mark { color: #fff; }
#fireflies { transition: opacity .8s; }
.on-light #fireflies { opacity: 0; visibility: hidden; }


html, body { overflow-x: clip; }

/* ---------- performance ---------- */
/* the forest layer sits hidden behind the hero until the mist clears: don't animate it before then */
.nature-moss, .nleaf, .nleaf svg { animation-play-state: paused; }
.on-light .nature-moss, .on-light .nleaf, .on-light .nleaf svg { animation-play-state: running; }
/* no content-visibility: the page is short, and skipping off-screen sections made the browser re-lay-out and re-paint
   each one every time it scrolled back into view (the stutter when scrolling up). Contain paint instead. */
.section, .statement, .cta, .marquee { contain: layout paint; }
.slide.is-active .slide-media img { will-change: transform; }

/* no live backdrop blur anywhere on the landing: it forced a re-blur of the animated forest every frame */

/* soft dark edge across the top of the screen over the forest (like the Pyko reference): a plain gradient, no live blur */
.top-shade { position: fixed; left: 0; right: 0; top: 0; height: 46vh; z-index: 8; pointer-events: none; opacity: 0; transition: opacity .8s;
  background: linear-gradient(180deg, rgba(6, 9, 6, .94) 0%, rgba(6, 9, 6, .86) 8%, rgba(6, 9, 6, .74) 17%, rgba(6, 9, 6, .60) 28%, rgba(6, 9, 6, .45) 40%, rgba(6, 9, 6, .31) 53%, rgba(6, 9, 6, .18) 67%, rgba(6, 9, 6, .08) 82%, rgba(6, 9, 6, 0) 100%); }
.on-light .top-shade { opacity: 1; }
.on-light .site-header.scrolled { background: none; }

/* CTA fail-safe: brief "checking the Brain" state while /health answers */
a.is-checking { cursor: progress; opacity: .75; }
