/* ============================================================
   WeatherSens — website · dark editorial grade
   Canvas #0c0a09 · white ink · colour is rationed to orbs + data.
   Rebuilt for continuous scroll: variable section heights, one
   ambient canvas, hairline surfaces, small fast motion.
   ============================================================ */

:root{
  --canvas:#0c0a09; --surface:#1c1917;
  --text:#ffffff;   /* PURE WHITE — hero + close statements only */
  --strong:#f0efed; --body:#d6d3d1; --muted:#a8a29e; --faint:#777169;
  --hair:#292524; --hair-strong:#44403c; --plate:#292524;

  /* surface ladder — warm-tinted raise (white-alpha reads cold on stone black) */
  --line:rgba(255,255,255,.08); --line-strong:rgba(255,255,255,.16);
  --window:#0a0908; /* recessed stage inside a card */

  /* semantic data colours — never decorative */
  --measured:#9fe8cd; --drift:#c96a5c;

  --display:"General Sans","Aeonik Pro","Inter Tight",Inter,system-ui,sans-serif;
  --ui:"Inter",system-ui,-apple-system,sans-serif;

  --e-enter:cubic-bezier(0.2,0,0,1);
  --e-move:cubic-bezier(0.65,0,0.35,1);
  --e-mask:cubic-bezier(0.16,1,0.3,1);
  --e-pop:cubic-bezier(0.34,1.3,0.4,1);
  --e-draw:cubic-bezier(0.6,0,0.2,1);
}

*{margin:0;padding:0;box-sizing:border-box}
html{scroll-behavior:smooth;-webkit-text-size-adjust:100%}
body{
  background:var(--canvas);
  color:var(--body);
  font-family:var(--ui);
  line-height:1.5;
  overflow-x:hidden;
  -webkit-font-smoothing:antialiased;
  text-rendering:optimizeLegibility;
}
img,svg,video,canvas{display:block;max-width:100%}
a{color:inherit}

/* ---------- film stock: over everything ---------- */
#grain{
  position:fixed;inset:0;z-index:100;pointer-events:none;
  mix-blend-mode:soft-light;opacity:.05;
  background-repeat:repeat;background-size:170px 170px;
}
#vig{
  position:fixed;inset:0;z-index:99;pointer-events:none;
  background:radial-gradient(ellipse at center, transparent 55%, rgba(0,0,0,.36) 100%);
}

/* soft white glow that trails the cursor (desktop pointers only).
   Anchored at -230,-230 so its UNTRANSFORMED box never overflows the
   viewport: a fixed element escapes body's overflow clip, and one wider
   than the screen expands the mobile layout viewport (broke the phone
   layout once). JS translates it by the raw cursor position. */
#cursorglow{
  position:fixed;top:-230px;left:-230px;width:460px;height:460px;border-radius:50%;
  pointer-events:none;z-index:104;opacity:0;transition:opacity .5s ease;will-change:transform;
  mix-blend-mode:screen;
  background:radial-gradient(circle closest-side, rgba(255,255,255,.12), rgba(255,255,255,.04) 44%, transparent 72%);
}
#cursorglow.on{opacity:1}
@media (pointer:coarse){#cursorglow{display:none}}

/* ---------- fixed header ---------- */
.nav{
  position:fixed;top:0;left:0;right:0;z-index:110;
  border-bottom:1px solid transparent;
  opacity:0;
  transition:opacity .7s ease .15s, background-color .25s ease, border-color .25s ease;
}
.nav.in{opacity:1}
.nav.scrolled{
  background:rgba(12,10,9,.72);
  backdrop-filter:blur(16px) saturate(160%);-webkit-backdrop-filter:blur(16px) saturate(160%);
  border-bottom-color:var(--line);
}
.nav__inner{
  max-width:1200px;margin-inline:auto;padding-inline:clamp(22px,5vw,64px);
  height:clamp(60px,7vh,72px);
  display:flex;align-items:center;gap:clamp(20px,3vw,40px);
}
.nav__brand{
  display:flex;align-items:center;gap:.42em;margin-right:auto;
  font-family:var(--display);font-weight:500;font-size:clamp(17px,1.8vw,19px);
  letter-spacing:-.02em;color:var(--text);text-decoration:none;
}
.nav__brand .prop{height:.95em;width:auto}
.nav__links{display:flex;gap:clamp(18px,2.4vw,32px)}
.nav__links a{
  font-family:var(--ui);font-weight:500;font-size:13.5px;letter-spacing:.01em;
  color:var(--muted);text-decoration:none;transition:color .15s ease;
}
.nav__links a:hover,.nav__links a:focus-visible{color:var(--text)}
.nav__cta{padding:9px 18px;font-size:13px}
@media (max-width:720px){.nav__links{display:none}}

/* ---------- buttons · chips · arrow links ---------- */
.btn{
  display:inline-flex;align-items:center;justify-content:center;gap:.5em;
  padding:12px 24px;border-radius:999px;border:1px solid transparent;
  font-family:var(--ui);font-weight:600;font-size:14px;letter-spacing:.02em;line-height:1;
  text-decoration:none;cursor:pointer;
  transition:transform .2s var(--e-enter),background-color .2s ease,border-color .2s ease,color .2s ease;
}
.btn:active{transform:scale(.98)}
.btn--primary{background:var(--strong);color:var(--canvas)}
.btn--primary:hover,.btn--primary:focus-visible{background:#fff;transform:translateY(-1px)}
.btn--ghost{border-color:var(--line-strong);color:var(--body)}
.btn--ghost:hover,.btn--ghost:focus-visible{border-color:rgba(255,255,255,.32);color:var(--text);transform:translateY(-1px)}
.btn--lg{padding:15px 30px;font-size:15px}

.chips{display:inline-flex;gap:8px;flex-wrap:wrap;vertical-align:middle}
.chip{
  display:inline-flex;align-items:center;padding:7px 14px;border-radius:999px;
  border:1px solid var(--line);
  font-family:var(--ui);font-weight:600;font-size:clamp(11px,1vw,12.5px);line-height:1;
  letter-spacing:.08em;text-transform:uppercase;color:var(--body);
  transition:border-color .2s ease,color .2s ease;
}
.chip:hover{border-color:var(--line-strong);color:var(--strong)}

.arrowlink{
  display:inline-flex;align-items:baseline;gap:.35em;
  font-family:var(--ui);font-weight:600;font-size:clamp(13.5px,1.2vw,15px);
  color:var(--strong);text-decoration:none;
  transition:color .15s ease;
}
.arrowlink span{transition:transform .2s var(--e-enter);display:inline-block}
.arrowlink:hover,.arrowlink:focus-visible{color:var(--text)}
.arrowlink:hover span{transform:translateX(3px)}

/* ---------- layout ---------- */
.wrap{
  position:relative;z-index:2;width:100%;max-width:1200px;margin-inline:auto;
  padding-inline:clamp(22px,5vw,64px);
}
/* overflow-x:CLIP, not hidden: kills the horizontal scrollable overflow of
   the huge unclipped glows (which expanded the mobile layout viewport and
   squeezed the whole page) WITHOUT creating a scroll container — so the
   Windwall sticky pin keeps working and vertical bleed stays free */
main{position:relative;overflow-x:clip}
section{position:relative;scroll-margin-top:88px}

/* section rhythm: heights come from content, not the viewport.
   Only the hero gets a min-height; everything else is a band. */
.hero{min-height:92svh;display:flex;align-items:center;justify-content:center}
.insight{padding-block:clamp(96px,11vw,160px) clamp(84px,10vw,150px)}
.flight{padding-block:clamp(24px,4vw,64px) clamp(84px,10vw,150px)}
.rail,.diff{padding-block:clamp(84px,10vw,150px)}
.globe{padding-block:clamp(96px,12vw,170px)}
.close{padding-block:clamp(150px,18vw,250px)}

/* faint chapter seams — connective tissue, not slide boundaries */
.insight>.wrap,.rail>.wrap,.diff>.wrap{
  border-top:1px solid var(--hair);padding-top:clamp(40px,5.5vw,72px);
}

/* ---------- type scale ---------- */
.s-h96{font-family:var(--display);font-weight:500;font-size:clamp(46px,8.4vw,96px);line-height:1.0;letter-spacing:-.03em;color:var(--text)}
.s-h72{font-family:var(--display);font-weight:500;font-size:clamp(33px,6vw,72px);line-height:1.05;letter-spacing:-.02em;color:var(--text)}
.s-h54{font-family:var(--display);font-weight:500;font-size:clamp(27px,4.4vw,54px);line-height:1.1;letter-spacing:-.018em;color:var(--strong)}
.s-h44{font-family:var(--display);font-weight:500;font-size:clamp(22px,3.2vw,40px);line-height:1.12;letter-spacing:-.015em;color:var(--strong)}

.label{
  font-family:var(--ui);font-weight:600;font-size:clamp(12px,1.05vw,15px);
  letter-spacing:.16em;text-transform:uppercase;color:var(--muted);
}
.label.faint{color:var(--faint)}

/* numbered section eyebrow — the "coherent tour" index (Problem 01 → Scale 06) */
.eyebrow{
  display:inline-flex;align-items:center;gap:.95em;margin:0;
  font-family:var(--ui);font-weight:600;font-size:clamp(11px,1vw,13px);
  letter-spacing:.2em;text-transform:uppercase;color:var(--muted);
}
.eyebrow__n{
  display:inline-flex;align-items:center;color:var(--faint);
  font-variant-numeric:tabular-nums;font-feature-settings:"tnum" 1;letter-spacing:.06em;
}

/* ---------- reveal system: small, fast, once ---------- */
.reveal-up{
  opacity:0;transform:translateY(20px);
  transition:opacity .65s var(--e-mask),transform .65s var(--e-mask);
  transition-delay:var(--d,0ms);will-change:transform,opacity;
}
.is-in .reveal-up{opacity:1;transform:none}

.statement{margin:0}
.statement .line{display:block}

/* signature statements (.rise = hero + close): masked word-rise — the one
   theatrical move, reserved for the two pure-white blooms */
.word{display:inline-block;overflow:hidden;vertical-align:top;padding-bottom:.16em;margin-bottom:-.16em}
.word__i{
  display:inline-block;transform:translateY(114%);opacity:0;
  transition:transform 1.05s var(--e-mask),opacity .7s ease;
  transition-delay:calc(var(--wi,0)*80ms + var(--wbase,0ms));
  will-change:transform,opacity;
}
.is-in .word__i{transform:none;opacity:1}
.hero .statement{--wbase:150ms}

/* every other statement: a quiet per-line fade-rise */
.statement:not(.rise) .line{
  opacity:0;transform:translateY(14px);
  transition:opacity .7s var(--e-mask),transform .7s var(--e-mask);
  transition-delay:calc(var(--li,0)*100ms);will-change:transform,opacity;
}
.is-in .statement:not(.rise) .line{opacity:1;transform:none}

/* ---------- one continuous atmosphere ---------- */
.ambient{position:absolute;inset:0;overflow:hidden;pointer-events:none;z-index:0}
.orb{
  position:absolute;width:var(--d);height:var(--d);left:var(--x);top:var(--y);
  border-radius:50%;opacity:var(--o);
  background:radial-gradient(closest-side, var(--c) 0%, var(--c) 10%, transparent 66%);
  transform:translate(-50%,-50%);will-change:transform;
}

/* ---------- shared card surface: the dissolve ----------
   No plate, no outline. The warm tint and its 1px hairline exist only
   where light hits — the top — and fade to nothing before the bottom,
   so the card melts into the canvas instead of sitting on it as an
   outlined box. Hover = small rise + cursor spotlight (--x/--y from JS). */
.card{
  position:relative;overflow:hidden;
  background:linear-gradient(180deg,
    rgba(231,222,213,.05), rgba(231,222,213,.014) 48%, rgba(231,222,213,0) 88%);
  border-radius:20px;transition:transform .25s var(--e-enter);
}
/* recessed stage window — the darker "screen" inside any card */
.step__stage,.diff__stage{
  background:var(--window);
  border:1px solid rgba(255,255,255,.06);
  border-radius:10px;overflow:hidden;
}
/* dissolving hairline: drawn as a masked 1px ring, brightest at top,
   gone by ~3/4 down the sides — never a full white outline */
.card::after{
  content:"";position:absolute;inset:0;border-radius:inherit;padding:1px;pointer-events:none;
  background:linear-gradient(180deg,
    rgba(255,255,255,.15), rgba(255,255,255,.045) 40%, rgba(255,255,255,0) 78%);
  -webkit-mask:linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite:xor;mask-composite:exclude;
  opacity:.75;transition:opacity .3s ease;
}
.card::before{
  content:"";position:absolute;inset:0;border-radius:inherit;pointer-events:none;
  background:radial-gradient(560px circle at var(--x,-999px) var(--y,-999px),
             rgba(255,255,255,.05), transparent 45%);
  opacity:0;transition:opacity .4s ease;
}
@media (hover:hover){
  .card:hover{transform:translateY(-2px)}
  .card:hover::before{opacity:1}
  .card:hover::after{opacity:1}
}

/* ============================================================
   1 · HERO / PROBLEM
   ============================================================ */
/* the wind field: transparent canvas over the orbs, under the type.
   It runs 32% PAST the hero's bottom edge so strands dissolve across the
   section boundary (glow law: never a hard seam), and wakes up AFTER the
   text is already readable. */
.hero__wind{
  /* width MUST be explicit: an absolutely-positioned canvas with only
     left+right resolves the over-constraint to its INTRINSIC bitmap width,
     which blew the layout viewport on DPR>1 screens (mobile squeeze bug) */
  position:absolute;top:0;left:0;width:100%;height:132%;z-index:1;
  pointer-events:none;opacity:0;transition:opacity 1.6s ease .4s;
  will-change:transform,opacity;
}
.hero.is-in .hero__wind{opacity:1}

.hero__inner{padding-block:16vh 6vh;text-align:center;will-change:transform,opacity}
/* the claim — pure white, centered, word-rise */
.hero__stmt{color:var(--text);margin-inline:auto}
.subline{
  margin:clamp(22px,3vw,34px) auto 0;max-width:52ch;
  font-family:var(--ui);font-weight:500;font-size:clamp(16px,1.8vw,21px);
  line-height:1.45;color:var(--muted);
}
.hero__cta{
  margin-top:clamp(28px,3.6vw,42px);
  display:flex;justify-content:center;gap:12px;flex-wrap:wrap;
}
.worst{margin-top:clamp(30px,4.2vw,52px);display:flex;align-items:center;gap:1em;flex-wrap:wrap}
.worst__k{color:var(--faint)}

.scrollcue{position:absolute;left:50%;bottom:clamp(20px,4vh,44px);transform:translateX(-50%);width:1px;height:clamp(72px,11vh,104px);z-index:2}
.scrollcue__line{display:block;width:1px;height:100%;background:linear-gradient(to bottom,transparent,var(--hair-strong))}
.scrollcue::after{
  content:'';position:absolute;left:50%;top:0;width:6px;height:6px;border-radius:50%;
  background:var(--body);box-shadow:0 0 10px rgba(255,255,255,.35);
  transform:translateX(-50%);animation:cue 3s var(--e-move) infinite;
}
@keyframes cue{0%{top:0;opacity:0}18%{opacity:1}82%{opacity:1}100%{top:100%;opacity:0}}

/* ============================================================
   2 · PROBLEM + THE INSIGHT — farm left, self-running wheel right
   ============================================================ */
/* text column widened (v2.1): the statements are nowrap two-liners, so their
   max size is bound by this column — the farm cedes a little width to type */
.insight__grid{
  display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.06fr);
  gap:clamp(32px,4.5vw,64px);align-items:center;
}
.insight__scene{display:flex;flex-direction:column;gap:clamp(20px,2.6vw,32px);min-width:0}
/* the wheel: with JS live (.wheel-live), beats share one grid cell and cycle
   on a timer — in from below, hold, out through the top (wheel() in main.js).
   Without JS they stack readably. */
.insight__wheel{
  display:grid;min-width:0;align-content:center;gap:clamp(44px,7vw,72px);
  container-type:inline-size;
}
.wheel-live .insight__beat{
  grid-area:1/1;align-self:center;pointer-events:none;
  opacity:0;transform:translateY(24px);
  transition:opacity .75s var(--e-mask),transform .75s var(--e-mask);
  will-change:transform,opacity;
}
.wheel-live .insight__beat.on{opacity:1;transform:none;pointer-events:auto}
.wheel-live .insight__beat.off{opacity:0;transform:translateY(-24px)}
/* each .line = exactly one row (never wraps): fitStatements() in main.js
   measures the lines and applies the largest shared size that fills the
   column; the cqi clamp is only the no-JS fallback */
.insight__stmt{font-size:clamp(17px,6cqi,44px)}
.insight__stmt .line{white-space:nowrap}
/* wheel indicator: two hairline bars — shows there ARE two beats, and the
   active bar's fill (transform-only) telegraphs when the next switch lands */
.wheel__ind{display:none}
.wheel-live .wheel__ind{display:flex;gap:10px;grid-row:2;grid-column:1}
.wheel-live{row-gap:clamp(26px,3.2vw,38px)}
.wheel__dot{
  position:relative;width:34px;height:2px;border-radius:2px;
  background:var(--line);overflow:hidden;
}
.wheel__dot i{
  position:absolute;inset:0;border-radius:inherit;
  background:rgba(255,255,255,.55);
  transform:scaleX(0);transform-origin:0 50%;
}
.wheel__dot.act i{animation:wfill var(--hold,5200ms) linear forwards}
@keyframes wfill{from{transform:scaleX(0)}to{transform:scaleX(1)}}
.insight .eyebrow{margin-bottom:clamp(20px,2.6vw,30px)}
/* the farm column carries its labels below the square, which drags the grid's
   center down — lift the wheel so it sits centered on the farm square itself */
@media (min-width:821px){
  .insight__wheel{transform:translateY(clamp(-26px,-1.8vw,-12px))}
}
.insight__sub{
  margin-top:clamp(20px,2.6vw,30px);max-width:36ch;
  font-family:var(--ui);font-weight:500;font-size:clamp(17px,2vw,24px);
  line-height:1.4;color:var(--muted);
}

/* line-art wind farm (viewBox cropped to the survey square for the column) */
.site__farm{width:100%;height:auto;display:block;overflow:hidden}
/* dashed survey grid: crisp 1.5px dashes (non-scaling), fading in cell by cell */
.site__grid line{
  stroke:#6e6760;stroke-width:1.5;stroke-dasharray:5 10;vector-effect:non-scaling-stroke;
  opacity:0;transition:opacity .9s var(--e-enter);transition-delay:calc(var(--gi,0)*45ms);
}
.insight.is-in .site__grid line{opacity:.7}
/* the one highlighted cell = the site */
.site__cell{
  fill:rgba(255,255,255,.035);stroke:#8f877e;stroke-width:1.5;stroke-dasharray:5 10;
  vector-effect:non-scaling-stroke;opacity:0;transition:opacity 1s var(--e-enter) .55s;
}
.insight.is-in .site__cell{opacity:1}
/* the perimeter of the survey grid — the region assigned to the turbines */
.site__perim{
  fill:none;stroke:#e7e5e3;stroke-width:2;stroke-dasharray:5 10;
  vector-effect:non-scaling-stroke;opacity:0;transition:opacity 1s var(--e-enter) .7s;
}
.insight.is-in .site__perim{opacity:.9}
.rotor{transform-box:fill-box;transform-origin:center}
.insight.drawn .rotor{animation:spin var(--spin,9s) linear infinite}
.site__labels{text-align:center;line-height:1.75}
.site__labels .label{display:block;color:var(--text)}

/* shared line-art primitives */
.dp{fill:none;stroke-linecap:round;stroke-linejoin:round}
.pp{transform-box:fill-box;transform-origin:center}
@keyframes spin{to{transform:rotate(360deg)}}

/* ============================================================
   3 · THE FLIGHT — framed footage
   ============================================================ */
.flight__media{
  position:relative;margin:0;overflow:hidden;
  border-radius:clamp(14px,1.8vw,22px);border:1px solid rgba(255,255,255,.06);
  aspect-ratio:16/9;min-height:340px;background:#000;
}
.flight__video{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.flight__scrim{
  position:absolute;inset:0;
  background:linear-gradient(to top, rgba(8,7,7,.72) 0%, rgba(8,7,7,.30) 32%, rgba(8,7,7,0) 55%);
}
.flight__text{
  position:absolute;z-index:1;
  left:clamp(20px,3.5vw,44px);right:clamp(20px,3.5vw,44px);bottom:clamp(20px,3.2vw,40px);
}
.flight__stmt{color:var(--text);text-shadow:0 2px 28px rgba(5,4,4,.8)}
.flight__label{margin-top:clamp(12px,1.6vw,20px);color:var(--body);text-shadow:0 1px 16px rgba(5,4,4,.85)}

/* ============================================================
   4 · MISSION RAIL — three cards
   ============================================================ */
.rail__title{margin-top:clamp(20px,2.6vw,30px)}
/* the lede sits under the title as its subtext */
.rail__lede{
  margin-top:clamp(16px,2vw,26px);max-width:44ch;
  font-family:var(--ui);font-weight:400;font-size:clamp(16px,1.6vw,21px);line-height:1.45;
  color:var(--muted);
}
.rail__steps{
  list-style:none;margin:clamp(44px,6vw,72px) 0 0;padding:0;
  display:grid;grid-template-columns:repeat(3,1fr);gap:clamp(14px,1.8vw,24px);
}
/* card anatomy: recessed visual stage on top, caption below (never text-only) */
.step{display:flex;flex-direction:column;padding:10px}
.step__stage{aspect-ratio:16/10;flex:none}
.step__stage svg{width:100%;height:100%;display:block}
.step__cap{padding:clamp(18px,2.2vw,26px) clamp(14px,1.6vw,20px) clamp(20px,2.4vw,30px)}
.step__title{
  display:flex;align-items:baseline;gap:.7em;
  font-family:var(--display);font-weight:500;font-size:clamp(20px,2vw,25px);
  letter-spacing:-.01em;color:rgba(255,255,255,.92);
}
.step__num{
  font-family:var(--ui);font-weight:600;font-size:.62em;color:var(--faint);
  font-feature-settings:"tnum" 1;letter-spacing:.1em;
}
.step__body{
  margin-top:10px;
  font-family:var(--ui);font-weight:400;font-size:clamp(14px,1.2vw,16px);
  line-height:1.55;color:rgba(255,255,255,.6);
}
.step__body b{font-weight:600;color:rgba(255,255,255,.9)}

/* ============================================================
   5 · WHY WE'RE DIFFERENT
   ============================================================ */
.diff__head{margin-top:clamp(22px,3vw,32px)}
.diff__grid{
  margin-top:clamp(38px,5vw,56px);
  display:grid;grid-template-columns:1fr 1.08fr;gap:clamp(32px,5vw,72px);align-items:start;
}
.diff__col-h{margin-bottom:clamp(10px,1.2vw,14px);color:var(--strong)}
/* WS card: same anatomy as the solution cards — stage window + caption */
.diff__col--ws{padding:10px;display:flex;flex-direction:column}
.diff__stage{aspect-ratio:16/3.8;flex:none}
.diff__stage svg{width:100%;height:100%;display:block}
/* caption text sits a hair inside the stage window's left edge above it */
.diff__cap{padding:clamp(8px,1vw,12px) clamp(6px,.8vw,10px) clamp(10px,1.2vw,14px)}
.diff__list{list-style:none}
.diff__list li{
  padding:clamp(7px,.9vw,10px) 0;border-top:1px solid var(--hair);
  font-family:var(--ui);font-weight:400;font-size:clamp(15px,1.35vw,17.5px);line-height:1.45;
  color:var(--muted);
}
.diff__list li:first-child{border-top:none}
.diff__list b{font-weight:600;color:var(--strong)}
.diff__col--ws .diff__list li{color:var(--body);border-top-color:rgba(255,255,255,.06)}
.diff__col--ws .diff__list li:first-child{border-top:none}
.diff__col--ws .arrowlink{margin-top:clamp(8px,1vw,12px)}

/* ============================================================
   6 · WINDWALL — pinned scroll scene, layered 3D chart
   ============================================================ */
/* the section is tall; the pin holds one viewport while scroll (native!)
   drives the drawing + the tilt of the chart plane */
.windwall{height:260vh}
.windwall__pin{
  position:sticky;top:0;height:100svh;
  display:flex;align-items:center;
  padding-top:clamp(76px,9vh,110px);   /* keep the headline clear of the fixed nav */
  box-sizing:border-box;
}
/* staged glows: containers fade via [data-pinfade]; orbs inside keep their
   own --o strength and the global drift animation. NO overflow clipping —
   the glow must bleed across the section boundary, never cut at it. */
.windwall__glow{position:absolute;inset:0;pointer-events:none;z-index:0}
.windwall__glow>div{position:absolute;inset:0}
.windwall .wrap{width:100%}
/* eyebrow rides to the right of the headline instead of stacking above it —
   no longer tucked under the nav, and the chart gains the vertical room */
.windwall__head{
  display:flex;justify-content:space-between;align-items:flex-start;
  gap:24px;flex-wrap:wrap;
}
.windwall__head .eyebrow{order:2;margin:.5em 0 0;flex:none}
.windwall__stmt{margin-bottom:0}
.windwall__head{margin-bottom:clamp(18px,2.4vw,32px)}
/* no box: the chart floats free in the pinned viewport as a 3D plane */
.windwall__scene{
  max-width:1000px;
  perspective:1100px;   /* the camera for the chart plane */
  padding-block:clamp(12px,2vw,28px);
}
.chart{position:relative;width:100%;max-width:920px;margin-inline:auto}
/* the 3D plane: JS spins it with scroll; layers hold their own depth.
   Pivot sits low so the spinning top edge tips AWAY from the headline. */
.chart--3d{transform-style:preserve-3d;will-change:transform;transform-origin:50% 80%}
.windwall__head{will-change:opacity,transform}
.chart__layer{position:absolute;inset:0;width:100%;height:100%;overflow:visible}
.chart__wall{transform:translateZ(-110px)}
.chart__mid{transform:translateZ(-55px)}
/* --fy carries the JS fade-rise so it composes with the 3D depth */
.chart--3d .chart__cap{transform:translateZ(40px) translateY(var(--fy,0px))}
.windwall__head{transform:translateY(var(--fy,0px))}
.chart__svg{width:100%;height:auto;display:block;overflow:visible}
.chart .axis{stroke:#6e6760;stroke-width:1.5}
.chart .drift{fill:none;stroke:#c96a5c;stroke-width:1.8;stroke-dasharray:5 10;stroke-linecap:round;opacity:.55}
.chart .drift--mid{stroke:#e2796a;stroke-width:2.5;opacity:1}
.chart .anchor{stroke:#9fe8cd;stroke-width:3}
.chart .dot{fill:#fff}
.chart__cap{
  position:absolute;right:0;max-width:44%;text-align:right;pointer-events:none;
  font-family:var(--ui);font-weight:600;font-size:clamp(13px,1.35vw,18px);letter-spacing:.01em;
}
.chart__cap--drift{top:1%;color:#d99a90}
.chart__cap--anchor{top:62%;color:#a7e5d3}
@media (max-width:640px){
  .chart__cap{position:static;display:inline-block;max-width:none;margin:14px 18px 0 0;text-align:left}
}

/* ============================================================
   7 · THE GLOBE — copy left, globe right
   ============================================================ */
.globe__grid{
  display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.1fr);
  gap:clamp(32px,6vw,90px);align-items:center;
}
.globe .eyebrow{margin-bottom:clamp(20px,2.6vw,30px)}
.globe__sub{
  margin-top:clamp(20px,2.6vw,30px);max-width:34ch;
  font-family:var(--ui);font-weight:500;font-size:clamp(16px,1.7vw,21px);
  line-height:1.45;color:var(--muted);
}
.globe__stage{display:flex;justify-content:center;min-width:0}
.globe__canvas{width:min(100%,640px);aspect-ratio:1;height:auto}

/* ============================================================
   8 · CLOSE — the end-of-page CTA
   ============================================================ */
/* the Contact anchor scrolls a bit PAST the section top so the
   statement + CTA cluster sits centred in the viewport, not low */
.close{scroll-margin-top:-24px}
.close__inner{text-align:center}
.tagline{
  margin:clamp(24px,3.2vw,34px) auto 0;max-width:30ch;
  font-family:var(--display);font-weight:500;font-size:clamp(20px,2.6vw,34px);
  line-height:1.3;letter-spacing:-.01em;color:var(--body);
}
.close__cta{
  margin-top:clamp(36px,5vw,56px);
  display:flex;flex-direction:column;align-items:center;gap:clamp(18px,2.4vw,26px);
}
.close__cta .arrowlink{color:var(--muted);font-weight:500}
.close__cta .arrowlink:hover{color:var(--text)}

/* ============================================================
   footer
   ============================================================ */
.foot{
  position:relative;z-index:2;border-top:1px solid var(--hair);
  padding-block:clamp(40px,6vw,64px) clamp(30px,4vw,46px);
}
.foot__inner{display:flex;justify-content:space-between;align-items:flex-start;gap:28px;flex-wrap:wrap}
.foot__brand{display:flex;flex-direction:column;gap:10px}
.foot__lock{display:flex;align-items:center;gap:.42em;font-family:var(--display);font-weight:500;font-size:clamp(17px,1.9vw,20px);letter-spacing:-.02em;color:var(--text)}
.foot__lock .prop{height:.95em;width:auto}
.foot__legal{font-family:var(--ui);font-size:clamp(13px,1.2vw,15px);color:var(--faint)}
.foot__links{display:flex;flex-direction:column;gap:10px;text-align:right}
.foot__links a{font-family:var(--ui);font-size:clamp(13px,1.2vw,15px);color:var(--muted);text-decoration:none;transition:color .3s ease}
.foot__links a:hover{color:var(--text)}
.foot__base{
  margin-top:clamp(28px,4vw,44px);display:flex;justify-content:space-between;align-items:center;
  gap:16px;flex-wrap:wrap;font-family:var(--ui);font-size:clamp(12px,1.1vw,13px);color:var(--faint)
}
.foot__base a{color:var(--faint);text-decoration:none;transition:color .3s ease}
.foot__base a:hover{color:var(--muted)}
@media (max-width:560px){.foot__links{text-align:left}}

/* ---------- legal pages (privacy.html) ----------
   Quiet long-form prose: one narrow measure, chapter-seam hairlines on the
   h2s, no cards, no pure white (hard rule 8 — .rise only). */
.legal{padding-block:clamp(140px,17vw,208px) clamp(84px,10vw,150px)}
.legal__head,.legal__body{max-width:680px}
.legal h1{
  margin-top:16px;
  font-family:var(--display);font-weight:500;letter-spacing:-.025em;
  font-size:clamp(34px,5vw,56px);line-height:1.04;color:var(--strong);
}
.legal__meta{
  margin-top:16px;font-family:var(--ui);
  font-size:clamp(13px,1.2vw,14px);color:var(--faint);
}
.legal__lede{
  margin-top:clamp(26px,3vw,38px);
  font-size:clamp(16.5px,1.6vw,19px);line-height:1.6;color:var(--body);
}
.legal__body{margin-top:clamp(20px,2.5vw,32px)}
.legal__body h2{
  margin-top:clamp(40px,5vw,60px);padding-top:clamp(26px,3.2vw,36px);
  border-top:1px solid var(--hair);
  font-family:var(--display);font-weight:500;letter-spacing:-.015em;
  font-size:clamp(19px,2.1vw,24px);line-height:1.2;color:var(--strong);
}
.legal__body h3{
  margin-top:clamp(22px,2.6vw,30px);
  font-family:var(--ui);font-weight:600;
  font-size:clamp(14.5px,1.35vw,16px);color:var(--strong);
}
.legal__body p{
  margin-top:14px;
  font-size:clamp(15px,1.35vw,16.5px);line-height:1.68;color:var(--body);
}
.legal__body ul{
  margin-top:14px;padding-left:1.2em;display:grid;gap:9px;
  font-size:clamp(15px,1.35vw,16.5px);line-height:1.6;color:var(--body);
}
.legal__body li::marker{color:var(--faint)}
.legal__body a{
  color:var(--strong);text-decoration:underline;
  text-decoration-color:var(--hair-strong);text-underline-offset:3px;
  transition:text-decoration-color .15s ease;
}
.legal__body a:hover,.legal__body a:focus-visible{text-decoration-color:var(--muted)}

/* ============================================================
   responsive
   ============================================================ */
@media (max-width:820px){
  .rail__steps{grid-template-columns:1fr;gap:clamp(14px,3vw,20px)}
  .diff__grid{grid-template-columns:1fr;gap:clamp(30px,7vw,44px)}
  .insight__grid{grid-template-columns:1fr;gap:clamp(32px,7vw,48px)}
  .insight__scene{order:2}
  .globe__grid{grid-template-columns:1fr;gap:clamp(36px,8vw,52px)}
  .globe__canvas{width:min(80vw,480px)}
}
@media (max-width:520px){
  .hero__inner{padding-block:18vh 8vh}
  .worst{gap:.7em}
  .flight__media{min-height:300px;aspect-ratio:4/5}
}

/* ============================================================
   reduced motion
   ============================================================ */
@media (prefers-reduced-motion:reduce){
  html{scroll-behavior:auto}
  .windwall{height:auto;padding-block:clamp(84px,10vw,150px)}
  .windwall__pin{position:static;height:auto}
  .insight__beat{opacity:1!important;transform:none!important}
  .hero__wind{opacity:1!important;transition:none!important;transform:none!important}
  .chart--3d{transform:none!important}
  .chart__wall,.chart__mid,.chart--3d .chart__cap{transform:none!important}
  [data-pinfade]{opacity:1!important;transform:none!important}
  .reveal-up,.word__i,.statement:not(.rise) .line{transition:none!important;opacity:1!important;transform:none!important}
  .card::before{display:none!important}
  .scrollcue::after{animation:none!important;opacity:.6}
  .nav{transition:none!important;opacity:1!important}
  .hero__inner{transform:none!important;opacity:1!important}
  .card,.card:hover{transform:none!important}
  .rotor{animation:none!important}
  .site__grid line{opacity:.7!important;transition:none!important}
  .site__cell{opacity:1!important;transition:none!important}
  .site__perim{opacity:.9!important;transition:none!important}
}
