/* ==========================================================================
   GREDION — stylesheet

   Visual system adopted from the CREDION Materials design: logo navy as the
   ink, the logo's dot blue as the single accent, an ice-white ground, and
   Be Vietnam Pro as the type family (Space Grotesk for the hero claim only).

   The depth scale is retained from the previous build and restyled into that
   system. Each section sits at a stated depth in the wafer stack, so the page
   reads top-to-bottom as a cross-section. It replaces the repeated uppercase
   eyebrow label the CREDION source used above every heading, and it carries
   real information: where in the 225 um substrate that section's subject is.
   ========================================================================== */

/* ---------- design tokens ---------- */
:root {
  /* ground + surface */
  --ink:        #0B3040;            /* logo navy — body ink */
  --abyss:      #061E2A;            /* deep section ground */
  --paper:      #FFFFFF;
  --ice:        #F1F6FA;            /* recessed light surface */

  /* accent — the logo's lime dot, rationed: buttons, links, the moving
     border, the reuse-ring light, timeline dots, 100x, word hover. Lime is
     light, so anything that sits ON a lime fill uses --on-lime (navy). */
  --pulse:      #C6CB53;
  --pulse-deep: #C6CB53;            /* accent text on light grounds */
  --pulse-fill: #C6CB53;            /* lime surfaces (buttons, pills, badges) */
  --on-lime:    #0B3040;            /* text and icons on lime, 8:1 */
  --pulse-soft: #EEF0CF;
  --mist:       rgba(198, 203, 83, .1);

  /* muted text */
  --steel:      #52707F;            /* on light */
  --steel-2:    #9FB6C2;            /* on dark */
  --wafer:      #C9D8E0;            /* brighter body text on dark */

  /* lines */
  --line:       #D9E4EB;
  --line-dark:  rgba(255, 255, 255, .12);

  --radius: 10px;
  --wrap: 1440px;
  --gutter: clamp(28px, 4vw, 64px);
  --nav-h: 84px;
  --scale-w: 108px;                 /* width of the micron depth-scale gutter */

  /* Be Vietnam Pro sets the whole site; --body and --mono are kept as names
     for the text and label voices. Space Grotesk (--hero) is used for the
     hero claim "Every single atom matters" alone. */
  --display: 'Be Vietnam Pro', 'Helvetica Neue', Arial, sans-serif;
  --body: 'Be Vietnam Pro', 'Helvetica Neue', Arial, sans-serif;
  --mono: 'Be Vietnam Pro', 'Helvetica Neue', Arial, sans-serif;
  --hero: 'Space Grotesk', 'Helvetica Neue', Arial, sans-serif;

  --ease: cubic-bezier(.2, .6, .2, 1);
}

/* ---------- reset ---------- */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

html {
  font-size: 112.5%;              /* 18px rem: every rem-sized text steps up */
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-h) + 20px);
  -webkit-text-size-adjust: 100%;
  /* Clip horizontal overflow without making a separate scroll container.
     Historical note: overflow-x on body alone is unreliable: when html has the default
     `visible`, the browser propagates body's value up to the viewport and
     body itself stops clipping, so a wide child can still push the page
     sideways. Setting it on both makes body a real clipping box. */
  overflow-x: clip;
  /* The canvas behind the page is dark, so nothing light can show at the
     edges. Safari otherwise picks its own colour for the gap it opens when
     the page is pulled past the top (often white over the transparent nav),
     and the rubber-band bounce at either end is switched off altogether. */
  background-color: #02060B;
  overscroll-behavior-y: none;
}

body {
  overscroll-behavior-y: none;
  font-family: var(--body);
  color: var(--ink);
  background: var(--abyss);
  line-height: 1.6;
  font-size: 1.05rem;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
}

main { display: block; }

/* A dark backing prevents compositor rounding at dark section boundaries
   from exposing white. Light sections paint their own opaque backgrounds. */
main { background: #02060B; }
main > section { background-color: var(--paper); }

/* Preserve the existing one-pixel overlap without changing scroll timing. */
.parallax,
.descent-seam,
.stack-panel {
  margin-top: -1px;
  box-shadow: 0 -1px 0 0 #02060B;
}
.parallax { padding: 1px 0 0; }

img { max-width: 100%; display: block; height: auto; }
a { color: inherit; }
:focus-visible {
  outline: 2.5px solid var(--pulse);
  outline-offset: 3px;
  border-radius: 4px;
}
::selection { background: var(--pulse); color: var(--on-lime); }

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 200;
  background: var(--pulse-fill);
  color: var(--on-lime);
  padding: 13px 22px;
  font-family: var(--display);
  font-weight: 600;
  text-decoration: none;
  border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; }

/* ---------- layout ---------- */
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
section { padding: 104px 0; position: relative; }

/* Sections carry their depth on the scale rule, drawn in the left gutter
   whenever the viewport is wide enough to hold it. */
.depth-mark {
  position: absolute;
  left: calc(50% - var(--wrap) / 2 + var(--gutter) - var(--scale-w) - 28px);
  top: 110px;
  width: var(--scale-w);
  text-align: right;
  font-family: var(--mono);
  font-size: .7rem;
  letter-spacing: .04em;
  color: var(--steel);
  pointer-events: none;
  user-select: none;
}
.dark .depth-mark { color: var(--steel-2); }
.depth-mark b {
  font-weight: 500;
  display: block;
  color: var(--pulse-deep);
  font-size: .78rem;
  letter-spacing: .06em;
}
.dark .depth-mark b { color: var(--pulse); }
.depth-mark i {
  display: block;
  font-style: normal;
  margin-top: 7px;
  padding-top: 9px;
  border-top: 1px solid var(--line);
  margin-left: auto;
  max-width: 84px;
  line-height: 1.45;
  font-size: .66rem;
  text-transform: lowercase;
}
.dark .depth-mark i { border-top-color: var(--line-dark); }

/* Below the width that can hold the gutter, the mark becomes an inline
   caption above the heading — still the section's marker, never an eyebrow. */
@media (max-width: 1500px) {
  .depth-mark {
    position: static;
    width: auto;
    margin-bottom: 20px;
    display: flex;
    align-items: baseline;
    gap: 12px;
    text-align: left;
  }
  .depth-mark i {
    margin: 0;
    padding: 0;
    border-top: none;
    max-width: none;
  }
  .dark .depth-mark i { border-top: none; }
}

@media (max-width: 760px) {
  section { padding: 72px 0; }
  body { font-size: 15.5px; }
}

/* A phone shows roughly a third of the lines a desktop does, so desktop
   section padding turns the page into a long scroll of empty bands. The
   gutter narrows with it — 28px of side padding on a 375px screen spends
   15% of the width on margin. */
@media (max-width: 600px) {
  :root { --gutter: 20px; --nav-h: 72px; }
  section { padding: 56px 0; }
}

/* ---------- typography ---------- */
h1, h2, h3, h4 {
  font-family: var(--display);
  line-height: 1.08;
  letter-spacing: -.02em;
  font-weight: 600;
}

h1 {
  font-size: clamp(2.6rem, 5.4vw, 4.4rem);
  letter-spacing: -.028em;
}
/* The hero headline is the page's one loud element. It sits on the dark
   claim panel, so it is set in white here rather than --ink; the display
   size is set alongside the panel (see .hero-claim .hero-title). */
.hero-title {
  font-weight: 700;
  line-height: .98;
  letter-spacing: -.035em;
  color: #fff;
}

/* The canvas is layered over the real h1. Until js confirms it can run the
   effect, the h1 is the visible headline — so no-js and reduced-motion both
   get plain, styled text with no blank space. */
.hero-title-stage { position: relative; }
.hero-title-stage canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}
/* Set only once the particle system is live, and then never removed — the
   canvas owns the headline for the whole cycle, resting phrase included,
   because handing back and forth between canvas type and DOM type moved the
   phrase a pixel on every swap (see initVaporTitle in js/main.js).

   The h1 keeps its box: the stage has no height of its own and the canvas is
   sized to it, so pulling the heading out of flow would collapse both. It is
   made transparent instead of hidden, which also leaves it in the
   accessibility tree as the page's real heading. */
.hero-title-stage.is-vapor .hero-title {
  opacity: 0;
}
/* The nucleus is a painted pseudo-element, so transparent text does not
   silence it — it would sit as a stray blue dot over the particle phrase,
   which draws its own. */
.hero-title-stage.is-vapor .hero-title .atom .o::after { display: none; }

@media (prefers-reduced-motion: reduce) {
  .hero-title-stage.is-vapor .hero-title { color: #fff; opacity: 1; }
  .hero-title-stage.is-vapor .hero-title .atom .o::after { display: none; }
  .hero-title-stage canvas { display: none; }
}

/* "atom" keeps a normal o for layout and screen readers; the ring and the
   blue nucleus are drawn over it, so the accent is spent in exactly one place. */
.atom .o {
  position: relative;
  display: inline-block;
}
.atom .o::before,
.atom .o::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
}
/* The counter of the o is the shell; a single nucleus sits inside it —
   the same dot as the lattice field behind the hero. */
.atom .o::before { display: none; }
/* top is nudged off 50% because the counter sits below the line-box centre */
.atom .o::after {
  top: 68%;
  width: .1em;
  height: .1em;
  background: var(--pulse);
}

h2 {
  font-size: clamp(1.9rem, 3.4vw, 2.7rem);
  margin-bottom: 18px;
}

h3 { font-size: 1.18rem; letter-spacing: -.012em; }

/* No heading in the current copy overflows 375px on its own, but a long
   technical term added later (a chemical name, a hyphenated compound) would.
   These keep such a word inside the column instead of pushing a scrollbar
   onto the whole page. */
h1, h2, h3, h4 { overflow-wrap: break-word; }

/* The clamp floors were set for desktop, where 1.9rem is a modest h2. On a
   375px screen that same floor is the widest thing on the page. The vw term
   has already bottomed out by this width, so the floors themselves are what
   have to come down. */
@media (max-width: 600px) {
  h2 { font-size: clamp(1.6rem, 6.6vw, 1.9rem); }
  .hero-h2 { font-size: clamp(1.6rem, 6.6vw, 1.9rem); }
  h3 { font-size: 1.08rem; }
  .lead { font-size: 1.02rem; }
}

.lead {
  font-size: 1.13rem;
  color: var(--steel);
  max-width: 62ch;
  line-height: 1.6;
  text-wrap: pretty;
}
.dark .lead { color: var(--steel-2); }

.mono { font-family: var(--mono); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  font-family: var(--display);
  font-weight: 600;
  font-size: .95rem;
  text-decoration: none;
  padding: 12px 24px;
  border-radius: 8px;
  border: 1.5px solid transparent;
  cursor: pointer;
  min-height: 44px;
  transition: transform .18s var(--ease), box-shadow .18s var(--ease),
              background .18s var(--ease), border-color .18s var(--ease),
              color .18s var(--ease);
}
.btn-solid {
  background: var(--pulse-fill);
  color: var(--on-lime);
  box-shadow: 0 4px 16px rgba(198, 203, 83, .3);
}
.btn-solid:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(198, 203, 83, .38);
}
/* On the narrowest screens the CTA pairs already wrap onto two lines, which
   leaves two buttons of different widths stacked ragged against the left
   edge. Given they are stacking anyway, they take the full column: a
   full-width button is both a cleaner block and a far easier thumb target
   than a 190px one. The cap keeps them from stretching absurdly wide on a
   tablet that happens to hit this rule. */
@media (max-width: 480px) {
  .hero-ctas {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
  }
  .hero-ctas .btn {
    width: 100%;
    max-width: 340px;
  }
}

.btn-ghost { border-color: var(--line); color: var(--ink); background: transparent; }
.btn-ghost:hover { border-color: var(--pulse); color: var(--pulse-deep); }
.dark .btn-ghost { border-color: var(--line-dark); color: #fff; }
.dark .btn-ghost:hover { border-color: var(--pulse); color: var(--pulse); }

/* ---------- navigation ---------- */
/* The bar has no background of its own: only the logo and the links sit
   over the page. Over the dark grounds (the opening panels, the .dark
   sections and the footer) they switch to the light logo and white links.
   Past the end of panel 2 (the orbit) the bar is out of sight; moving the
   cursor to the top of the window brings it in as a solid bar in the colour
   of the section beneath (on touch screens, scrolling up does). js/main.js
   (initNavTint) sets .nav-over-dark, .nav-hidden, .nav-solid and --nav-bg. */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 60;
  background: transparent;
  transition: transform .35s var(--ease);
}
.nav.nav-hidden { transform: translateY(-100%); }
.nav.nav-solid {
  background: var(--nav-bg, #fff);
  box-shadow: 0 6px 24px rgba(11, 48, 64, .12);
}
.nav.nav-solid.nav-over-dark { box-shadow: 0 6px 24px rgba(0, 0, 0, .35); }
@media (prefers-reduced-motion: reduce) { .nav { transition: none; } }
.nav.nav-over-dark .nav-links a { color: #fff; }
/* The active link resolves to --ink on the light bar, which is the same navy
   as the dark panels' ground - it vanished there. Over dark it stays white
   and the blue underline alone marks it as current. */
.nav.nav-over-dark .nav-links a[aria-current="true"]:not(.nav-cta) { color: #fff; }
.nav.nav-over-dark .menu-btn span { background: #fff; }
/* The solid CTA keeps its fill so it stays the one lit control up there. */
.nav.nav-over-dark .nav-cta,
.nav.nav-over-dark .nav-links a.nav-cta {
  background: var(--pulse-fill);
  border-color: var(--pulse-fill);
  color: var(--on-lime);
}
.nav.nav-over-dark .nav-links a.nav-cta:hover { background: #D3D76C; border-color: #D3D76C; }
.nav-in {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 var(--gutter);
  height: var(--nav-h);
  display: flex;
  align-items: center;
  gap: 36px;
}
.brand {
  display: flex;
  align-items: center;
  text-decoration: none;
  margin-right: auto;
}
/* The two lockups (mark, GREDION wordmark and tagline) are stacked in one
   box and cross-faded, so the swap happens on the same 0.4s curve as the
   bar's own background and nothing shifts in the layout. Both files are
   trimmed to the same 462:208 canvas so they register exactly. */
.brand-mark {
  position: relative;
  display: block;
  height: 64px;
  width: calc(64px * 462 / 208);
  flex: none;
}
@media (max-width: 600px) {
  .brand-mark { height: 52px; width: calc(52px * 462 / 208); }
}
.brand-mark img {
  position: absolute;
  inset: 0;
  height: 100%;
  width: 100%;
  transition: opacity .4s var(--ease);
}
.brand-mark-light { opacity: 0; }
.nav.nav-over-dark .brand-mark-dark { opacity: 0; }
.nav.nav-over-dark .brand-mark-light { opacity: 1; }

.nav-links { display: flex; gap: clamp(12px, 2vw, 28px); align-items: center; }
.nav-links a {
  text-decoration: none;
  font-size: .92rem;
  font-weight: 500;
  color: var(--steel);
  position: relative;
  transition: color .18s var(--ease);
}
.nav-links a:hover,
.nav.nav-over-dark .nav-links a:not(.nav-cta):hover { color: var(--pulse); }

.nav-links a[aria-current="true"]:not(.nav-cta) { color: var(--ink); }
.nav-links a[aria-current="true"]:not(.nav-cta):hover { color: var(--pulse); }
.nav-links a[aria-current="true"]:not(.nav-cta)::after {
  content: "";
  position: absolute;
  left: 0; right: 0;
  bottom: -7px;
  height: 2px;
  background: var(--pulse);
  border-radius: 2px;
}
.nav-links a.nav-cta,
.nav-links a.nav-cta:hover,
.nav-links a.nav-cta[aria-current="true"] {
  color: var(--on-lime);
  padding: 9px 18px;
  font-size: .88rem;
  min-height: 40px;
}
.nav-links a.nav-cta[aria-current="true"]::after { display: none; }
.nav-links a.nav-cta:hover { background: #D3D76C; border-color: #D3D76C; }

.menu-btn { display: none; background: none; border: none; cursor: pointer; padding: 8px; }
.menu-btn span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--ink);
  margin: 5px 0;
  border-radius: 2px;
  transition: transform .2s var(--ease), opacity .2s var(--ease);
}
.menu-btn[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-btn[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-btn[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 1100px) {
  .nav-links {
    position: fixed;
    top: var(--nav-h);
    left: 0; right: 0;
    background: #fff;
    flex-direction: column;
    align-items: stretch;
    padding: 22px var(--gutter) 26px;
    gap: 4px;
    border-bottom: 1px solid var(--line);
    visibility: hidden;
    pointer-events: none;
    transform: translateY(-130%);
    transition: transform .25s var(--ease);
    max-height: calc(100dvh - var(--nav-h));
    overscroll-behavior: contain;
    overflow-y: auto;
  }
  .nav-links.open { transform: translateY(0); visibility: visible; pointer-events: auto; }
  .nav.nav-over-dark .nav-links a:not(.nav-cta),
  .nav.nav-over-dark .nav-links a[aria-current="true"]:not(.nav-cta) { color: var(--ink); }
  .no-js .nav { position: relative; }
  .no-js .nav-in { height: auto; flex-wrap: wrap; padding-block: 12px; gap: 12px; }
  .no-js .menu-btn { display: none; }
  .no-js .nav-links {
    position: static; visibility: visible; pointer-events: auto; transform: none;
    width: 100%; max-height: none; padding: 0; transition: none;
  }
  /* Set by js/main.js while the panel is open — see setOpen in initNav. */
  .nav-open, .nav-open body { overflow: hidden; }
  .nav-links a {
    padding: 12px 0;
    font-size: 1rem;
    border-bottom: 1px solid var(--line);
    min-height: 44px;
    display: flex;
    align-items: center;
  }
  .nav-links a[aria-current="true"]:not(.nav-cta)::after { display: none; }
  .nav-links a.nav-cta { margin-top: 14px; border-bottom: none; }
  .menu-btn { display: block; min-width: 44px; min-height: 44px; }
}

/* ==========================================================================
   HERO — three panels, one descent

   1. .hero-claim   the claim, held in the void      (solid --abyss)
   2. .parallax     the stakes, seen from orbit      (scroll-scrubbed)
   3. .hero         the mechanism, on the bench      (light ground)

   The panels step abyss → space → abyss → light, so the hero resolves onto
   the same paper the rest of the page is set on. One accent throughout,
   --pulse, which is already the blue in the earth's limb and the satellite's
   solar panels.
   ========================================================================== */

/* ---------- panel 1: the claim ---------- */
/* Nothing but the sentence. The void is the argument: one scarce thing,
   lots of empty space around it. */
/* Height is svh, not vh, and it is the ONLY full-viewport claim: on mobile the
   two differ by the browser chrome, and vh here left a strip of panel 1 still
   on screen after the headline had scrolled away.

   The headline is NOT centred in the viewport. place-items:center put it at
   50% and left the whole bottom half as empty navy before panel 2's frame
   arrived — that is the gap between panels 1 and 2. It is aligned slightly
   above centre instead, so the empty space sits where the ::after limb of
   light is, and panel 2 begins while the claim is still in view. */
.hero-claim {
  position: relative;
  min-height: 100svh;
  background: var(--abyss);
  display: grid;
  place-items: center;
  /* Pulls the headline up off dead centre. The bottom padding is larger than
     the top, so the grid's centred cell resolves above the midpoint. */
  padding: calc(var(--nav-h) + 24px) var(--gutter) clamp(96px, 18svh, 220px);
  overflow: hidden;
}

/* A single faint limb of light from below, hinting at the horizon that
   panel 2 opens on. Not decoration — it is the seam between the panels. */
.hero-claim::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -58vh;
  width: 150vw;
  height: 100vh;
  transform: translateX(-50%);
  background: radial-gradient(50% 50% at 50% 50%,
              rgba(198, 203, 83, .16), transparent 68%);
  pointer-events: none;
}

/* The claim panel's navy resolves into the orbit panel's deeper space black
   across the last slice of the panel, so the two grounds meet as a gradient
   rather than as a visible seam between two flat colours. */
.hero-claim::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 42svh;
  background: linear-gradient(180deg, transparent 0%, rgba(2, 6, 11, .55) 58%, #02060B 100%);
  pointer-events: none;
  z-index: 1;
}
/* The headline stays above that wash. */
.hero-claim .hero-title-stage { z-index: 2; }

/* The canvas is sized to this element, so it stays full-bleed: constraining
   it would clip the particle text. The line width is governed by font-size
   and the explicit <br>, not by a max-width. */
.hero-claim .hero-title-stage {
  position: relative;
  width: 100%;
  max-width: var(--wrap);
}

.hero-claim .hero-title {
  font-family: var(--hero);
  font-weight: 600;
  font-size: clamp(2.5rem, 7.6vw, 7rem);
  line-height: 1.04;
  letter-spacing: -.035em;
  text-align: center;
  color: #fff;
  margin: 0;
}
.hero-claim .atom .o { color: inherit; }

/* ---------- panel 2: orbit parallax ---------- */
/* Four layers scrubbed against scroll by js/main.js. The stage is twice the
   viewport tall so the scrub has room to run; the layers are over-sized and
   offset upward so nothing reveals an edge as they travel. */
/* The panel's own ground carries the backdrop gradient, rather than a flat
   colour with a separate backdrop element inside the sticky container. The
   container is only flush with the viewport while the panel is pinned, so
   anything painted inside it leaves a hard band of panel background visible
   on the way in and out. Painting it here means whatever shows through is
   always the intended field, never a bare rectangle. */
/* THE GROUND IS FLAT BLACK, deliberately. It previously carried two blue
   radial washes, and because the sticky layer stack is only one screen tall
   while the panel is two, those washes painted bare for the last stretch of
   the panel — a hard-edged blue band across the full width, visible between
   the end of the fade and the start of the wafer panel. Nothing but black
   here means that strip is now indistinguishable from the frame above it. */
.parallax {
  position: relative;
  background: #02060B;
}

/* The scroll distance the panel occupies. The sticky stack inside is one
   screen tall, so (height - 100svh) is how far the frame is held pinned —
   and, once the scrub finishes, how much EMPTY black is left to scroll past
   before the next thing arrives.

   THIS VALUE IS THE VIDEO'S TRANSPORT. The clip (js/main.js → initScrubVideo)
   is mapped across the pin, so:

       scrub distance = height - 100svh
       pixels per frame = scrub distance / 144

   and that second number is literally how far you must scroll to advance the
   footage by one frame. Raise the height and the video moves more slowly per
   scroll; lower it and the video moves faster.

   The history worth keeping:
     320vh → 1980px → 13.8px/frame — readable, but far too slow to get through
     200vh →  900px →  6.3px/frame — twice the speed of 320vh
     138vh →  346px →  2.4px/frame — 2.6x the speed of 200vh, the setting

   138vh is the setting: 900 / 2.6 = 346px of pin. The whole six seconds now
   runs inside roughly a third of a viewport of scrolling, so the footage moves
   decisively under the wheel.

   NOTE THE TRADE. At 2.4px/frame a fast flick asks the decoder for a long jump
   in one go, and the source carries only 2 keyframes in 144 frames, so each
   such seek decodes forward from a keyframe. The rAF easing in initScrubVideo
   is what keeps that legible, and it is doing real work at this speed. If the
   clip looks soft or steppy on a hard flick, that is the keyframe spacing, not
   the mapping — re-encode per Videos/README-scrub.md.

   IT ALSO CLOSES THE DEAD AIR. The sticky stack inside is exactly 100svh, so
   it releases the moment the stage's bottom reaches it — at which point the
   scrub is finished and there is nothing left to show. Every vh of stage
   beyond the pin is therefore empty black between the video and the greeting.
   At 320vh that tail was a screen and a half of nothing. Because the stack is
   the last thing in the stage, height == pin + one viewport exactly, so there
   is no tail at any value; what changed is that the pin is now short enough
   that the panel hands over while the footage is still fresh.

   Changing this does NOT rescale the parallax: that scrub is triggered on
   .parallax__layers and measured against that element's own travel, so the
   layer rates stay exactly as they are. */
.parallax__visuals {
  position: relative;
  height: 138svh;
}
.parallax__layers {
  position: sticky;
  top: 0;
  height: 100svh;
  /* Clips every over-sized layer to this window. */
  overflow: hidden;
  transform-style: preserve-3d;
}

/* Each layer is translated DOWN by a percentage of ITS OWN height, from 0 at
   the start of the scrub to yPercent at the end. So a layer must cover the
   sticky viewport at BOTH ends: at the start it sits at its raw CSS top, and
   at the end it sits that top plus (height x yPercent).

   The constraint is therefore:
       top <= 0                       cover the top edge at the start
       top + height >= 100svh         cover the bottom edge at the start
       top + travel <= 0              still cover the top edge at the end

   Getting this wrong on one side leaves a bare strip of the panel's own
   background showing at the bottom of the viewport — the black bar. Each
   layer below states its travel so the numbers can be checked against it. */
.parallax__layer {
  position: absolute;
  left: 0;
  right: 0;
  width: 100%;
  will-change: transform;
}

/* layer 1 — starfield, generated rather than shipped as an image.
   Constraint solved for BOTH ends of the scrub (see .parallax__layer):
     height 380svh, travel 70% = 266svh, top -272svh
     start: -272 .. 108  (covers 0..100)   end: -6 .. 374  (covers 0..100)
   The 6svh of slack keeps both edges just off-screen rather than landing
   exactly on an edge, which is what showed as a band. */
.parallax__stars {
  top: -272svh;
  height: 380svh;
  background-color: #02060B;
  background-image:
    radial-gradient(1.5px 1.5px at 12% 18%, rgba(255,255,255,.75), transparent 100%),
    radial-gradient(1px 1px at 34% 42%, rgba(255,255,255,.55), transparent 100%),
    radial-gradient(1.5px 1.5px at 58% 12%, rgba(255,255,255,.7), transparent 100%),
    radial-gradient(1px 1px at 72% 56%, rgba(199,222,255,.6), transparent 100%),
    radial-gradient(2px 2px at 88% 28%, rgba(255,255,255,.8), transparent 100%),
    radial-gradient(1px 1px at 22% 68%, rgba(255,255,255,.5), transparent 100%),
    radial-gradient(1.5px 1.5px at 46% 82%, rgba(199,222,255,.55), transparent 100%),
    radial-gradient(1px 1px at 64% 34%, rgba(255,255,255,.45), transparent 100%);
}

/* layer 3 — the wordmark, between earth and craft so the satellite
   passes in front of the type. That occlusion is the depth cue.
   Travels 40% of 150svh = 60svh, resting centred at the end of the scrub. */
/* THE TYPE IS CENTRED. It previously held the left of the frame so the
   hardware could occupy the right without burying it — that constraint came
   from the still image, whose satellite sat hard right. The panel is footage
   now and the composition moves, so there is no fixed safe corner to hide in;
   centring instead makes the wordmark the deliberate subject of the frame and
   lets the footage play behind it. The blur-out below is what keeps it legible
   as the frame changes under it. */
/* The type must stay readable for the whole scrub, so its absolute travel is
   the smallest of the background layers: 100svh x 40% = 40svh. Centred in a
   layer that starts 22svh high, it drifts from just above centre to just
   below, and never leaves the screen. */
.parallax__layer-title {
  /* -45svh, not the -22svh this sat at while the type was centred. The layer
     is scrubbed DOWN by 40% of its own height (main.js), so wherever the type
     rests inside the box, it then travels a further 40svh down the screen.
     Anchored to the bottom of the box at -22svh the lockup started at ~675px
     on a 900px viewport and ended at ~1035px — driven off the bottom edge
     before the pin finished. Starting the box higher absorbs that travel: the
     type now runs ~468px to ~828px, low in the frame for the whole scrub and
     still on screen at the end. */
  top: -45svh;
  height: 100svh;
  display: grid;
  /* SEATED LOW IN THE FRAME, not centred in it. The lockup is anchored to the
     bottom of the layer and held off the edge by the padding below, so the
     type sits under the earth's limb rather than across the middle of it.

     Note the layer itself starts at -22svh, so `end` is the bottom of a box
     that is already lifted 22svh above the viewport's bottom edge — the
     padding is measured from there, which is why it is small. */
  align-content: end;
  justify-items: center;
  gap: clamp(14px, 2.2vh, 26px);
  padding: 0 clamp(24px, 7vw, 120px) clamp(10px, 3svh, 34px);
  text-align: center;
  /* In FRONT of the frame AND of the bottom fade (z-index 3). The old
     composition was a cutout satellite that could pass over the type; this
     layer is a full-bleed photograph, so type behind it would simply be
     invisible, and the fade would wash it out on the way down. */
  z-index: 4;
}
/* SET TO MATCH THE MARK. The logo is a thin, wide-open monoline C with large
   counters and a lot of air in it. The old setting fought that on every axis:
   weight 700 against a hairline curve, and -.045em tracking jamming the
   letters together where the mark is all openness. So:

     weight 400   — the lightest Be Vietnam Pro we load, nearest the monoline
     +.18em       — open tracking, echoing the mark's counters
     uppercase    — as the logo lockup itself presents it

   The last letter carries the full tracking as trailing space, which throws a
   centred line visibly off-centre; the negative margin-right takes it back. */
.orbit-mark {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(2.4rem, 7.4vw, 6.5rem);
  line-height: 1;
  letter-spacing: .18em;
  text-transform: uppercase;
  margin: 0 -.18em 0 0;
  color: #fff;
  text-shadow: 0 2px 70px rgba(2, 6, 11, .8);
  /* The resting end of the blur-out (js/main.js). Declared as blur(0px) rather
     than left at `none`: GSAP interpolates between two filter FUNCTIONS, and
     from the keyword `none` it has nothing to interpolate, so the first frame
     of the tween snaps straight to a visible blur. */
  filter: blur(0px);
  will-change: filter, opacity;
}
/* Tracked out and set light to sit with the wordmark above rather than read as
   body copy under it — the two lines are one lockup now that they are centred.

   SET ON ONE LINE. The max-width that used to hold a two-line break is gone
   and nowrap keeps it single-line; the font-size is driven by vw so the line
   scales with the viewport instead of wrapping when it runs out of room. The
   min term is small enough that the full 39-character string still fits on a
   360px phone. */
.orbit-line {
  font-family: var(--body);
  font-weight: 400;
  font-size: clamp(.62rem, 1.55vw, 1.2rem);
  line-height: 1.5;
  letter-spacing: .08em;
  max-width: 100%;
  text-wrap: balance;
  color: var(--wafer);
  margin: 0;
  text-shadow: 0 1px 24px rgba(2, 6, 11, .9);
  /* See .orbit-mark — same reason this is blur(0px) and not `none`. */
  filter: blur(0px);
  will-change: filter, opacity;
}

/* layer 2 — the whole scene in one frame: satellite, earth and robot. It is
   the subject of the panel and the one layer that does NOT move, holding its
   position for the entire pin while the stars drift behind it. So the depth
   reads as the world moving past the hardware rather than everything sliding
   at once. js/main.js excludes it from the scrub, so with no travel it only
   has to cover the sticky viewport once. */
.parallax__craft {
  top: 0;
  height: 100svh;
  z-index: 2;
  background: #02060B url('../images/orbit-poster.jpg') 58% 50% / cover no-repeat;
}
.parallax__craft-video {
  /* The frame is a full composition on a black ground, so it covers the
     viewport rather than floating as a cutout in a corner. A video element is
     inline by default, which would leave a baseline gap under it; `block`
     removes that. */
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* Holds the robot and the earth in frame as the panel narrows: the right
     side of the source carries the robot, the centre the earth. */
  object-position: 58% 50%;
  /* Graded toward the page's navy — the source is brighter and more saturated
     than the rest of the site and would otherwise read as footage dropped in
     rather than part of the system. */
  filter: saturate(.82) brightness(.78) contrast(1.04);
  /* The video is never played, only seeked, so nothing here should look or
     behave like a player: no tap-to-play affordance, no selection. */
  pointer-events: none;
  -webkit-user-select: none;
  user-select: none;
  background: #02060B;
}
/* iOS Safari paints its own play button over an unplayed inline video. */
.parallax__craft-video::-webkit-media-controls,
.parallax__craft-video::-webkit-media-controls-start-playback-button {
  display: none !important;
  -webkit-appearance: none;
}

/* Grades the frame into the panel at top and bottom.

   THIS NO LONGER REACHES FULL OPACITY. It used to end on solid #02060B at
   100%, and .parallax__fade then laid ANOTHER 42svh of opaque black over the
   same area — two stacked washes that together blacked out the lower part of
   the frame and left a hard horizontal edge across the video with dead black
   under it. That edge was the bug in the screenshot; it is worst on short
   viewports, where 42svh is most of the frame.

   The bottom stop is now .72 alpha, so the footage stays visible all the way
   down and simply sits deeper in shadow. The single opaque handover to panel 3
   is .parallax__fade's job alone — one gradient doing it, not two.

   The TOP stop is the panel-1 handover: panel 1 already resolves its navy down
   to #02060B across its last 42svh, and this picks that same black up at the
   top of the frame and clears it by 22%, so the two panels meet on one
   continuous black instead of at a visible seam. */
.parallax__craft::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg,
    #02060B 0%,
    rgba(2, 6, 11, .55) 10%,
    transparent 22%,
    transparent 58%,
    rgba(2, 6, 11, .72) 100%);
  pointer-events: none;
}

/* Resolves the space panel into the dark ground of panel 3. Both panels are
   dark now, so this is a soft handover rather than a transition to light —
   the gradient only has to kill the starfield and settle to the stack panel's
   navy, with no visible boundary between the two. */
/* Resolves the frame into the panel's black. It ends on the SAME colour the
   panel ground is, so there is no step where the fade stops — the previous
   version landed on a navy that read as a separate band against the black
   below it. Panel 3 then picks up from that same black. */
/* Now a CHILD of .parallax__layers (see index.html), which is `position:
   sticky` and so establishes the containing block for this — meaning bottom:0
   is the bottom of the 100svh sticky FRAME, which is where the video is, not
   the bottom of the 200vh stage two screens below it. Its overflow:hidden also
   clips this to that window. z-index 3 keeps it above the video (2) and below
   the wordmark (4), which is why the wordmark is faded separately in main.js. */
.parallax__fade {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  /* svh, matching the sticky parent it now resolves against.

     Was 42svh, which on a short viewport covered most of the frame and — on
     top of the craft gradient above — is what cut the video off with a hard
     edge. Capped in px as well as svh so it stays a resolving edge rather than
     a curtain: on a tall display it is a generous fade, on a 450px-tall window
     it is 135px, not 190px of the 450 available. */
  height: min(30svh, 260px);
  background: linear-gradient(180deg, transparent 0%, rgba(2, 6, 11, .55) 46%, #02060B 100%);
  pointer-events: none;
  z-index: 3;
}

/* On narrow screens the hardware drops below the type rather than beside it,
   so the wordmark keeps a clear field. */
@media (max-width: 760px) {
  /* Shorter than the desktop 138vh on purpose. A phone viewport is tall, so
     each vh is a lot of pixels, and touch scrolling covers ground far faster
     than a wheel — matching the desktop number would make the clip feel
     sluggish to get through on a phone. Scaled by the same 2.6. */
  .parallax__visuals { height: 127svh; }
}

/* THE REAL CONDITION IS THE VIEWPORT'S SHAPE, NOT ITS WIDTH. The source frame
   is 2:1 (1366x684), so any viewport narrower than that crops it — and `cover`
   crops from the sides, which is exactly where the satellite and the robot are.
   Below 3:2 the frame is fitted whole instead, letterboxed against the panel's
   own black. Because the footage's ground is that same black, the letterboxing
   is invisible and the full composition stays in shot. The threshold sits just
   under 16:10 (1.6) so the common laptop shapes still fill the screen, and
   only genuinely narrow viewports — tablets, phones, short windows — letterbox. */
@media (max-aspect-ratio: 3 / 2) {
  .parallax__craft { background-size: contain; background-position: 50% 42%; }
  .parallax__craft-video {
    object-fit: contain;
    object-position: 50% 42%;
  }
  /* align-content:end is the base rule now that the lockup is seated low, so
     only the extra clearance is set here: with the frame letterboxed rather
     than filling, the type needs to clear the video's bottom edge instead of
     just the viewport's. */
  .parallax__layer-title {
    padding-bottom: 8svh;
  }
}

/* Without scroll-linked motion the layers still compose correctly; the
   stage just collapses to a single static viewport. */
@media (prefers-reduced-motion: reduce) {
  .parallax__visuals { height: 100svh; }
  .parallax__layer { transform: none !important; }
}

/* ---------- panel 2b: the greeting ----------
   A full viewport pause between orbit and the wafer stage. Symmetric padding
   keeps the greeting centered while allowing clearance on short screens. */
.descent-seam {
  background: #02060B;
  min-height: 100vh;
  min-height: 100svh;
  display: grid;
  place-items: center;
  padding: calc(var(--nav-h) + 24px) var(--gutter);
  text-align: center;
  position: relative;
}

.descent-seam__inner {
  display: grid;
  justify-items: center;
  gap: .9rem;
}

/* The light crossing the greeting is the only motion in the panel, so the type
   is set large and quiet enough to carry it. The gradient is clipped to the
   glyphs and slid across them; --steel-2 is the resting tone and near-white
   the crest, which keeps the sweep inside the palette instead of flashing. */
.descent-seam__greeting {
  font-family: var(--display);
  font-size: clamp(2rem, 5.2vw, 3.75rem);
  font-weight: 600;
  line-height: 1.06;
  letter-spacing: -.03em;
  /* A fallback colour for any engine that ignores background-clip: text —
     without it the text would be transparent on transparent. */
  color: var(--wafer);
  background-image: linear-gradient(110deg,
    var(--steel-2) 30%, #EEF6FF 50%, var(--steel-2) 70%);
  background-size: 200% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: seam-shimmer 3.2s linear infinite;
}

@keyframes seam-shimmer {
  from { background-position: 200% 0; }
  to   { background-position: -200% 0; }
}

/* The status line does not shimmer: two moving things at once would make the
   seam busy, and this is the part that should read as steady. */
.descent-seam__status {
  font-family: var(--mono);
  font-size: clamp(.78rem, 1.1vw, .9rem);
  letter-spacing: .04em;
  color: var(--steel-2);
}

/* ---------- the two seam transitions ----------
   PANEL 2 -> 2b and PANEL 2b -> 3.

   There is no colour to cross-fade here: panel 2's fade, panel 2b and panel 3
   all resolve to the SAME #02060B, which is exactly why the descent reads as
   continuous. Fading the grounds into each other would therefore be a no-op —
   black dissolving into identical black. What can transition is the CONTENT,
   so each seam is a fade of the type across the join: the greeting rises out
   of the black panel 2 ends on, holds while the panel is the subject, and
   sinks back into the black panel 3 opens on.

   Driven by scroll position, not by time — the descent is scroll-scrubbed
   throughout (see initParallaxEarth/initScrubVideo), so a timed fade would run
   independently of the motion it belongs to and drift out of step with it.

   `animation-timeline: view()` does this natively with no script and no
   scroll listener, on the compositor. js/main.js carries a ScrollTrigger
   fallback for engines without it; the @supports below keeps exactly one of
   the two in charge so they can never both drive the same property. */
@keyframes seam-rise {
  /* Entering: the greeting is still in the black of panel 2 and comes up out
     of it. The small lift is what stops it reading as a lamp being switched
     on — it arrives with the descent rather than appearing in place. */
  from { opacity: 0; transform: translateY(26px); }
  to   { opacity: 1; transform: none; }
}
@keyframes seam-sink {
  /* Leaving: it settles back into the black that panel 3 opens on. */
  from { opacity: 1; transform: none; }
  to   { opacity: 0; transform: translateY(-26px); }
}

@supports (animation-timeline: view()) {
  /* THE TIMELINE BELONGS TO THE PANEL, NOT THE TYPE.

     `view()` measures the element the animation sits on. Put it directly on
     .descent-seam__inner and it tracks a ~64px-tall text block: its entry and
     exit ranges are then 64px of scroll in the middle of an 800px panel, which
     is nowhere near either seam — the timeline never even activates for most of
     the panel's pass (measured: currentTime null, opacity pinned at 1).

     The seams are the PANEL's edges, so the panel is what carries the timeline.
     It publishes it under a name and the type inside consumes it, which is the
     whole reason view-timeline-name exists. */
  .descent-seam {
    view-timeline-name: --seam;
  }

  .descent-seam__inner {
    /* Two ranges on the panel's timeline: entry covers the 2 -> 2b seam, exit
       covers the 2b -> 3 seam. `entry 10% 55%` starts the rise once the panel
       is genuinely arriving rather than at the first pixel of overlap, and
       finishes it before the panel is centred, so the greeting is fully lit for
       the pause the panel exists to hold. Exit mirrors it into panel 3. */
    animation: seam-rise linear both, seam-sink linear both;
    animation-timeline: --seam, --seam;
    animation-range: entry 10% entry 55%, exit 45% exit 90%;
    will-change: opacity, transform;
  }
}

/* Both seams are a fade, and a fade IS motion for anyone who asked for less of
   it. The type simply sits at full strength on the black instead — which is
   the panel as it was before these transitions. */
@media (prefers-reduced-motion: reduce) {
  .descent-seam__inner {
    animation: none;
    opacity: 1;
    transform: none;
  }
}

/* With motion suppressed the gradient holds at its crest, so the greeting is
   simply a lit line of type rather than a stalled animation mid-sweep. */
@media (prefers-reduced-motion: reduce) {
  .descent-seam__greeting {
    animation: none;
    background-position: 50% 0;
  }
}

/* ---------- panel 3: the mechanism, alone on the dark ----------
   Continues the orbit panel's ground rather than starting a new one. There
   is no border, card or panel edge anywhere in here: the stack is lit out of
   the same dark the satellite was in, so panels 2 and 3 read as one descent
   that ends on the bench. The ground resolves to the light of panel 4 at the
   very bottom, which is the page's single transition back to paper. */
.stack-panel {
  position: relative;
  min-height: 100svh;
  display: grid;
  place-items: center;
  align-content: center;
  gap: clamp(12px, 2vh, 24px);
  /* The +1px is the seam overlap (see the note by main, top of file). */
  padding: calc(clamp(72px, 10vh, 120px) + 1px) var(--gutter) clamp(72px, 10vh, 120px);
  /* Opens on the SAME black the orbit panel ends on and STAYS on it — one flat
     ground, edge to edge.

     There used to be a ramp here from #02060B to #061E2A across the first 26%,
     with a blue radial wash over it. Coming straight off panel 2b's flat black
     that ramp read as a faded blue band across the top of the panel rather
     than as a ground, so both are gone: panel 2b and panel 3 are now the same
     black with no visible handover between them. Panel 4 still begins on its
     own light ground, as a separate panel. */
  background: #02060B;
  overflow: hidden;
}

/* Keep the title in normal flow above the wafer stage at every width. */
.stack-word {
  position: relative;
  z-index: 1;
  margin: 0;
  text-align: center;
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(2.9rem, 12vw, 10rem);
  line-height: .9;
  letter-spacing: -.055em;
  white-space: nowrap;
  color: rgba(190, 219, 255, .45);
  pointer-events: none;
  user-select: none;
}

/* ---------- panel 4: the claim, centred ---------- */
.hero {
  background: linear-gradient(180deg, var(--ice) 0%, #fff 100%);
  padding: clamp(80px, 12vh, 128px) 0 104px;
  position: relative;
  overflow: hidden;
}

/* Panel 3 leads with an h2 now that the h1 lives in panel 1. It carries the
   old h1's optical weight without competing with the claim. */
.hero-h2 {
  font-family: var(--display);
  font-size: clamp(2rem, 3.6vw, 3.4rem);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -.025em;
  color: var(--ink);
  margin: 0;
}
/* crystal-lattice dot field, faded out toward the fold */
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(var(--line) 1px, transparent 1px);
  background-size: 34px 34px;
  opacity: .5;
  -webkit-mask-image: linear-gradient(180deg, #000 0%, transparent 75%);
  mask-image: linear-gradient(180deg, #000 0%, transparent 75%);
  pointer-events: none;
}
/* Copy on the left, the wafer photograph on the right. */
.hero-in {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr);
  gap: clamp(36px, 4vw, 72px);
  align-items: center;
}
.hero-figure {
  margin: 0;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 30px 80px rgba(11, 48, 64, .16);
}
.hero-figure img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  object-position: 50% 50%;
}

/* the ratio the whole business rests on, stated before the headline */
.ratio {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 16px;
  font-family: var(--mono);
  font-size: .72rem;
  line-height: 1.5;
  letter-spacing: .08em;
  color: var(--steel);
  margin-bottom: 26px;
  text-transform: uppercase;
}
.ratio b {
  font-family: var(--display);
  font-size: 1.6rem;
  font-weight: 700;
  letter-spacing: -.02em;
  color: var(--ink);
  text-transform: none;
  white-space: nowrap;
}
.ratio s { text-decoration: none; color: var(--pulse); }
/* Below this width the caption crowds the figure, so it sits underneath. */
@media (max-width: 560px) {
  .ratio { flex-direction: column; gap: 6px; }
  .ratio b { font-size: 1.45rem; }
}

.hero .hero-h2 { margin-top: 2px; }
.hero .lead { margin: 26px 0 0; max-width: 54ch; }
.hero-ctas {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 36px;
}

@media (max-width: 1100px) {
  .hero-in { grid-template-columns: 1fr; gap: 48px; }
}
@media (max-width: 980px) {
  .hero { padding: calc(var(--nav-h) + 56px) 0 76px; }
}

/* ---------- Lift-Off: supplied Germanium Hero ---------- */
.wafer-stage {
  position: relative;
  z-index: 1;
  width: min(100%, 90svh);
  max-width: 900px;
  margin-inline: auto;
}
/* Reserve the same dimensions as the component's shadow-root stage. */
.germanium-hero {
  display: block;
  width: 100%;
  aspect-ratio: 1.36;
  min-height: 280px;
  max-height: 850px;
}
.germanium-hero > img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.ge-caption {
  position: relative;
  z-index: 2;
  margin: 16px auto 0;
  text-align: center;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .08em;
  color: var(--steel-2);
}
@media (max-width: 620px) {
  .stack-panel {
    padding: calc(var(--nav-h) + 24px) 16px 48px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: 92svh;
  }
  .stack-word {
    font-size: clamp(2.9rem, 15vw, 4.6rem);
  }
  .wafer-stage { width: 100%; }
  .ge-caption {
    font-size: 10px;
    letter-spacing: .02em;
    line-height: 1.9;
    max-width: 30ch;
  }
}
/* The component switches to its phone layout at a 560px viewport. */
@media (max-width: 560px) {
  .germanium-hero { aspect-ratio: 1.03; min-height: 300px; }
}

/* ---------- shared section helpers ---------- */
.dark { background: var(--abyss); color: #fff; }
.dark h2, .dark h3, .dark h4 { color: #fff; }

/* ---------- dark-panel shader background ----------
   A continuous canvas sits behind the sections. Light sections cover it with
   their own opaque grounds; dark shader panels reveal it. There is no mask
   whose position can lag behind native scrolling. The dark main backing also
   covers the first frame, context loss, and fractional section boundaries. */
.shader-bg {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  z-index: 0;
  pointer-events: none;
  background: #02060B;
}

/* Confine the fixed canvas to main, below every section and the navigation. */
.has-shader-bg main { position: relative; isolation: isolate; }
.has-shader-bg main > section { position: relative; z-index: 1; }

/* The dark panels hand their ground to the shader. The recipe's own colours
   are the background on these four sections.

   The one thing painted over it is a legibility floor, and only where the
   text is: measured against the live field, the bright lobe peaks at #677E88,
   which puts white body copy at 4.27:1 and --wafer at 2.93:1 — both under the
   4.5 AA minimum. A soft --abyss wash in the text column, fading out well
   before the edges, lifts that back over AA without flattening the field or
   changing a single one of its colours. */
.has-shader-bg .dark { background: transparent; }

.has-shader-bg .dark { position: relative; }
.has-shader-bg .dark::before {
  content: "";
  position: absolute;
  /* Full-bleed: anchored to the section, not the text box. A wash sized to
     the wrap ends on a straight vertical edge partway across the panel, which
     reads as a rectangle sitting on the artwork. */
  inset: 0;
  z-index: 0;
  pointer-events: none;
  /* Weighted to the left, where the copy column sits, and gone by the right
     edge so the field's blue lobe stays fully visible. */
  background: rgba(6, 30, 42, .88);
}
/* The section's own children sit above that wash. */
.has-shader-bg .dark > * { position: relative; z-index: 1; }

/* #contact painted its own gradient plus a radial wash over --abyss. Both are
   dropped so the shader is the ground here too, exactly as on the others. */
.has-shader-bg .contact { background: transparent; }
.has-shader-bg .contact::before { display: block; }

/* Panel 3 reveals the same continuous field as the other dark panels. */
.has-shader-bg .stack-panel { background: transparent; }

/* The legibility layer, now matching the .dark panels' in KIND as well as in
   presence: a soft directional wash rather than a pool centred on the subject.

   The stack still needs the field settled behind it — a bright lobe drifting
   under the wafer flattens its edges and the pores stop reading — but the old
   radial did that by removing half the field precisely where the panel is most
   looked at. This keeps the same idea at the strength the .dark wash uses, and
   weights it to the vertical band the stack occupies rather than clamping a
   dark disc over the middle of the artwork. */
.has-shader-bg .stack-panel::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background: radial-gradient(46% 40% at 50% 62%,
              rgba(2, 9, 16, .30) 0%,
              rgba(2, 9, 16, .14) 55%,
              rgba(2, 9, 16, 0) 100%);
}
/* Both foreground elements sit above the background wash. */
.has-shader-bg .stack-word { z-index: 1; }
.has-shader-bg .wafer-stage { position: relative; z-index: 2; }

/* The caption is the only text this low in the panel, and what sits behind it
   is the FIELD, not the ground gradient — a bright lobe drifting under it can
   put an 11px mono line on near-white at any moment. The gradient cannot solve
   that, because the lobe moves and the gradient does not.

   A wash behind the line was the obvious answer and the wrong one: any shape
   large enough to cover the text is large enough to be seen as a lozenge lying
   on the artwork. The shading goes on the GLYPHS instead — a tight dark halo
   tracing the letterforms, which costs no shape at all because it only exists
   where there is already a letter. The text is lifted to near-white so the
   pair reads as lit type on whatever ground the lobe puts under it. */
.has-shader-bg .ge-caption {
  color: #EAF3F8;
  text-shadow:
    0 0 1px rgba(3, 14, 24, .92),
    0 0 3px rgba(3, 14, 24, .85),
    0 0 8px rgba(3, 14, 24, .6),
    0 1px 2px rgba(3, 14, 24, .7);
}

/* ---------- "Lift-Off", outlined above the wafer stage ---------- */
.has-shader-bg .stack-word {
  font-weight: 500;
  letter-spacing: -.012em;
  /* The thin inner wash. Vertical, so the tops of the letters — the part the
     stack never covers — carry the most light and the baseline falls away
     into the field. */
  color: transparent;
  background-image: linear-gradient(180deg,
    rgba(234, 249, 255, .30) 0%,
    rgba(90, 210, 244, .17) 52%,
    rgba(90, 210, 244, .05) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  /* The cut edge. Inside the glyph rather than centred on it, so the stroke
     does not thicken the letterforms and close the counters at this size. */
  -webkit-text-stroke: 1.5px rgba(198, 234, 250, .46);
  paint-order: stroke fill;
}

/* Safari and Chrome both honour -webkit-text-stroke, but a browser that
   supports background-clip without it would render the word as a bare wash
   with no edge — too faint to read at this scale. This restores a definite
   edge there, and is overridden back to the hairline wherever the stroke
   actually paints. */
@supports not (-webkit-text-stroke: 1px #000) {
  .has-shader-bg .stack-word {
    -webkit-text-fill-color: rgba(214, 240, 253, .17);
    color: rgba(214, 240, 253, .17);
    background-image: none;
  }
}

@media (max-width: 620px) {
  /* The word is set far smaller here and sits clear above the stack rather
     than behind it, so the hairline that reads as a cut edge at 17rem reads
     as a broken outline at 4rem. It is scaled with the type and the inner
     wash brought up to carry the word on its own. */
  .has-shader-bg .stack-word {
    -webkit-text-stroke-width: .9px;
    background-image: linear-gradient(180deg,
      rgba(234, 249, 255, .46) 0%,
      rgba(90, 210, 244, .28) 100%);
  }
}

.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
@media (max-width: 900px) { .grid-3 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 620px) { .grid-3 { grid-template-columns: 1fr; } }

/* ---------- problem: the figures ---------- */
.figures { margin-top: 52px; }

.figure-cell {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 26px;
  position: relative;
  transition: transform .2s var(--ease), box-shadow .2s var(--ease),
              border-color .2s var(--ease);
}
.figure-cell:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 34px rgba(11, 48, 64, .1);
  border-color: var(--pulse);
}
/* the rule that appears under a card on hover */
.figure-cell::after {
  content: "";
  position: absolute;
  left: 26px;
  bottom: 0;
  width: 34px;
  height: 3px;
  background: var(--pulse);
  border-radius: 3px 3px 0 0;
  opacity: 0;
  transition: opacity .2s var(--ease);
}
.figure-cell:hover::after { opacity: 1; }

.figure-cell .num {
  font-family: var(--display);
  font-size: 2.5rem;
  font-weight: 700;
  letter-spacing: -.03em;
  line-height: 1;
  color: var(--ink);
}
.figure-cell p {
  color: var(--steel);
  font-size: .94rem;
  margin-top: 12px;
  line-height: 1.5;
}
.figure-cell.alert .num { color: var(--pulse-deep); }

/* ---------- problem: the thinning diagram ----------
   One sentence on the left, the bars on the right. The bars are the
   argument; the sentence only names what they show. */
.thin-panel {
  background: var(--ice);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 40px;
  margin-top: 56px;
  display: grid;
  grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr);
  gap: 52px;
  align-items: center;
}
@media (max-width: 860px) { .thin-panel { grid-template-columns: 1fr; gap: 30px; padding: 28px; } }

.thin-head h3 { font-size: 1.4rem; }
.thin-head p { color: var(--steel); font-size: .97rem; margin-top: 12px; max-width: 40ch; }

/* Bar widths are proportional to substrate thickness; 225 um anchors 100%. */
.bar-row {
  display: grid;
  grid-template-columns: 108px 1fr auto;
  align-items: center;
  gap: 16px;
  margin-bottom: 20px;
  font-family: var(--mono);
  font-size: .74rem;
  color: var(--steel);
}
@media (max-width: 520px) { .bar-row { grid-template-columns: 88px 1fr; } }
.bar-track { position: relative; min-width: 0; }
.bar {
  height: 30px;
  border-radius: 5px;
  position: relative;
  background: linear-gradient(90deg, var(--ink), #1A4A63);
  overflow: hidden;
  transform-origin: left center;
}
.bar .func {
  position: absolute;
  left: 0; top: 0; bottom: 0;
  background: var(--pulse);
  border-radius: 5px 0 0 5px;
}
.bar.is-target { background: var(--pulse); }
.bar-val { color: var(--ink); white-space: nowrap; font-size: .72rem; }
@media (max-width: 520px) { .bar-val { grid-column: 2; text-align: right; } }

.bar-legend {
  font-size: .7rem;
  letter-spacing: .08em;
  color: var(--steel);
  margin-top: 6px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.bar-legend i {
  width: 9px;
  height: 9px;
  background: var(--pulse);
  border-radius: 2px;
  flex: none;
}

/* ---------- solution: copy beside the reuse ring ---------- */
.solution-grid {
  display: grid;
  grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr);
  gap: 56px;
  align-items: center;
}
@media (max-width: 1000px) { .solution-grid { grid-template-columns: minmax(0, 1fr); gap: 24px; } }

.big-claim { margin-top: 40px; }
.big-claim b {
  font-family: var(--display);
  font-size: clamp(3.4rem, 8vw, 6rem);
  font-weight: 700;
  letter-spacing: -.04em;
  line-height: 1;
  background: linear-gradient(90deg, #fff 30%, var(--pulse));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  display: inline-block;
}
.big-claim p {
  font-family: var(--mono);
  font-size: .78rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--steel-2);
  margin-top: 10px;
}

.compare {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  max-width: 470px;
  margin-top: 32px;
}
.compare-card {
  border-radius: var(--radius);
  padding: 20px 22px;
}
.compare-card.was { border: 1px solid var(--line-dark); color: var(--steel-2); }
.compare-card.now {
  background: var(--pulse-fill);
  color: var(--on-lime);
  box-shadow: 0 16px 44px rgba(198, 203, 83, .3);
}
.compare-card small {
  font-family: var(--mono);
  font-size: .66rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  display: block;
  margin-bottom: 8px;
  opacity: .85;
}
.compare-card b {
  font-family: var(--display);
  font-size: clamp(1.45rem, 2.4vw, 1.8rem);
  font-weight: 700;
  letter-spacing: -.02em;
  display: block;
  white-space: nowrap;
}
/* Two values side by side on a phone: the figure steps down to stay inside its card. */
@media (max-width: 420px) {
  .compare-card { padding: 16px; }
  .compare-card b { font-size: 1.2rem; }
}
.compare-note {
  font-family: var(--mono);
  font-size: .7rem;
  letter-spacing: .1em;
  color: var(--steel-2);
  margin-top: 12px;
}

/* ---------- solution: the reuse ring ----------
   The SVG draws the track, the five numbered nodes and a light that runs the
   loop on a 12 s turn. Node k sits at 72k degrees, so the light reaches it at
   2.4k s — which is the delay each node and its label lights on. The labels
   are an HTML list positioned at the same coordinates (percentages of the
   400-unit viewBox), so they stay real, readable text. */
.cycle-ring {
  position: relative;
  width: clamp(300px, 34vw, 480px);
  margin: 72px auto;
}
/* Stacked under the copy (tablets), the ring has the full width to use. */
@media (max-width: 1000px) { .cycle-ring { width: min(440px, 52vw); } }
.ring-stage { position: relative; aspect-ratio: 1; }
.ring-art {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
}
.ring-track {
  fill: none;
  stroke: rgba(255, 255, 255, .16);
  stroke-width: 1.5;
  stroke-dasharray: 2 7;
}
.ring-orbit {
  transform-box: view-box;
  transform-origin: 50% 50%;
  animation: ring-spin 12s linear infinite;
}
/* circumference 2π·152 = 955; the dash is the comet tail trailing the light */
.ring-tail {
  fill: none;
  stroke: var(--pulse);
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-dasharray: 150 805;
  stroke-dashoffset: 150;
  opacity: .8;
}
.ring-glow { fill: var(--pulse); opacity: .28; }
.ring-dot { fill: #fff; }

.ring-node circle {
  fill: var(--abyss);
  stroke: var(--pulse);
  stroke-width: 1.5;
  animation: ring-node-lit 12s linear infinite;
  animation-delay: calc(var(--i) * 2.4s);
}
.ring-node text {
  fill: #fff;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: .06em;
  text-anchor: middle;
}

@keyframes ring-spin { to { transform: rotate(360deg); } }
@keyframes ring-node-lit {
  0%, 5%  { fill: #495B38; }  /* lime at 35% over --abyss, solid */
  16%, 100% { fill: var(--abyss); }
}
@keyframes ring-step-lit {
  0%, 5%  { color: var(--pulse); }
  16%, 100% { color: #fff; }
}

.ring-core {
  position: absolute;
  inset: 0;
  display: grid;
  place-content: center;
  text-align: center;
  pointer-events: none;
}
.ring-core b {
  font-family: var(--display);
  font-size: clamp(2.4rem, 4.4vw, 3.8rem);
  font-weight: 700;
  letter-spacing: -.03em;
  line-height: 1;
  color: #fff;
}
.ring-core span {
  display: block;
  margin-top: 10px;
  font-family: var(--mono);
  font-size: .76rem;
  line-height: 1.5;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--steel-2);
}

/* Labels around the ring. The list is laid over the stage, so each item's
   --x/--y resolves against the same square the nodes are drawn in. */
.ring-steps {
  list-style: none;
  position: absolute;
  inset: 0;
}
.ring-steps li {
  position: absolute;
  left: var(--x);
  top: var(--y);
  width: 160px;
}
.ring-steps b {
  display: block;
  font-family: var(--display);
  font-weight: 600;
  font-size: 1.15rem;
  line-height: 1.2;
  color: #fff;
  animation: ring-step-lit 12s linear infinite;
  animation-delay: calc(var(--i) * 2.4s);
}
.ring-steps span {
  display: block;
  margin-top: 5px;
  font-family: var(--mono);
  font-size: .8rem;
  line-height: 1.4;
  letter-spacing: .03em;
  color: var(--steel-2);
}
/* Labels clear the node's edge, not its centre. The node radius is 19/400
   of the stage (4.75%); percentage margins resolve against the stage width,
   so the gap stays the same however large the ring is drawn. */
.ring-steps { --clear: calc(4.75% + 18px); }
.ring-steps .s1 { transform: translate(-50%, -100%); margin-top: calc(-1 * var(--clear)); text-align: center; }
.ring-steps .s2 { transform: translate(0, -50%); margin-left: var(--clear); }
.ring-steps .s3 { transform: translate(-22px, 0); margin-top: var(--clear); }
.ring-steps .s4 { transform: translate(calc(-100% + 22px), 0); margin-top: var(--clear); text-align: right; }
.ring-steps .s5 { transform: translate(-100%, -50%); margin-left: calc(-1 * var(--clear)); text-align: right; }

/* A phone cannot hold labels on both flanks of the ring, so the ring keeps
   its numbered nodes and the labels become the numbered list beneath it. */
@media (max-width: 620px) {
  .cycle-ring { width: 100%; margin: 36px 0 0; }
  .ring-stage { width: min(100%, 320px); margin: 0 auto; }
  .ring-steps {
    position: static;
    margin-top: 28px;
    border-top: 1px solid var(--line-dark);
    counter-reset: ring;
  }
  .ring-steps li {
    position: static;
    width: auto;
    transform: none !important;
    text-align: left !important;
    margin: 0 !important;
    display: grid;
    grid-template-columns: 40px 1fr;
    align-items: baseline;
    padding: 13px 0;
    border-bottom: 1px solid var(--line-dark);
  }
  .ring-steps li::before {
    counter-increment: ring;
    content: "0" counter(ring);
    grid-row: span 2;
    font-family: var(--mono);
    font-size: .7rem;
    letter-spacing: .12em;
    color: var(--pulse);
  }
}

@media (prefers-reduced-motion: reduce) {
  .ring-orbit, .ring-node circle, .ring-steps b { animation: none !important; }
}

/* ---------- technology: the annotated cross-section ---------- */
.tech-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 64px;
  align-items: center;
}
/* Copy leads in the source; the image takes the left column on wide screens. */
.pge-figure { order: -1; }
@media (max-width: 960px) {
  .tech-layout { grid-template-columns: 1fr; gap: 40px; }
  .pge-figure { order: 0; max-width: 560px; }
}

.tech-steps {
  list-style: none;
  margin-top: 34px;
  border-top: 1px solid var(--line);
  counter-reset: tech;
}
.tech-steps li {
  display: grid;
  grid-template-columns: 44px 1fr;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}
.tech-steps li::before {
  counter-increment: tech;
  content: "0" counter(tech);
  grid-row: span 2;
  padding-top: 4px;
  font-family: var(--mono);
  font-size: .72rem;
  letter-spacing: .12em;
  color: var(--pulse-deep);
}
.tech-steps h3 { font-size: 1.08rem; }
.tech-steps p { color: var(--steel); font-size: .95rem; margin-top: 4px; }

.pge-frame {
  position: relative;
  aspect-ratio: 16 / 9;
  border-radius: 14px;
  overflow: hidden;
  background: #1b1d21;
  box-shadow: 0 32px 64px -28px rgba(11, 48, 64, .45);
}
.pge-frame img { width: 100%; height: 100%; object-fit: cover; }

/* A slow sweep down the frame, like a beam rastering the sample. It is the
   only motion on this panel and pauses between passes. */
.pge-scan {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 16%;
  background: linear-gradient(180deg, transparent 0%,
              rgba(124, 179, 255, .12) 80%, rgba(206, 228, 255, .55) 100%);
  mix-blend-mode: screen;
  transform: translateY(-100%);
  animation: pge-scan 7s cubic-bezier(.45, 0, .55, 1) infinite;
  pointer-events: none;
}
@keyframes pge-scan {
  0%        { transform: translateY(-100%); }
  72%, 100% { transform: translateY(625%); }
}
@media (prefers-reduced-motion: reduce) { .pge-scan { display: none; } }

/* Layer names sit on the layer they name. */
.pge-tags { list-style: none; }
.pge-tags li {
  position: absolute;
  left: 16px;
  top: var(--y);
  transform: translateY(-50%);
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 14px;
  border-radius: 8px;
  background: rgba(6, 30, 42, .8);
  border: 1px solid rgba(255, 255, 255, .12);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  color: #fff;
}
.pge-tags b {
  display: block;
  font-family: var(--display);
  font-weight: 600;
  font-size: .88rem;
  line-height: 1.2;
}
.pge-tags span {
  display: block;
  font-family: var(--mono);
  font-size: .64rem;
  letter-spacing: .06em;
  color: var(--steel-2);
}
@media (max-width: 420px) {
  .pge-tags li { left: 10px; padding: 6px 10px; gap: 8px; }
  .pge-tags b { font-size: .8rem; }
  .pge-tags span { font-size: .6rem; }
}

.pge-figure figcaption {
  margin-top: 14px;
  font-family: var(--mono);
  font-size: .7rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--steel);
}

/* ---------- technology: the process film ----------
   A wide, dark frame under the copy. Before play it shows a still cover with
   one lime control; once playing, the cover fades away and the browser's own
   controls take over. */
.tech-film { margin: clamp(72px, 9vw, 120px) 0 0; }
.film-head { margin-bottom: 24px; }
.film-eyebrow {
  font-family: var(--mono);
  font-size: .72rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--steel);
}
.film-title {
  font-family: var(--display);
  font-size: clamp(1.5rem, 2.6vw, 2.2rem);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -.025em;
  color: var(--ink);
  margin-top: 10px;
}

.film-frame {
  position: relative;
  aspect-ratio: 16 / 9;
  border-radius: 18px;
  overflow: hidden;
  isolation: isolate;
  background: #04080c;
  box-shadow:
    0 1px 0 rgba(255, 255, 255, .06) inset,
    0 2px 6px rgba(6, 30, 42, .12),
    0 40px 80px -36px rgba(6, 30, 42, .65);
}
.film-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;   /* the frame is 16:9 like the film, so nothing is lost */
  background: #04080c;
  transition: transform 1.2s var(--ease);
}
/* Fullscreen: show the whole film, letterboxed on black, never zoomed or
   cropped, whatever the shape of the screen. */
.film-video:fullscreen {
  position: static;
  width: 100%;
  height: 100%;
  object-fit: contain;
  transform: none !important;
  transition: none;
  background: #000;
}
.film-video:-webkit-full-screen {
  position: static;
  width: 100%;
  height: 100%;
  object-fit: contain;
  transform: none !important;
  transition: none;
  background: #000;
}

/* The cover: vignette, a centred play control and the running time. */
.film-play {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: grid;
  place-content: center;
  justify-items: center;
  gap: 18px;
  border: 0;
  padding: 0;
  font: inherit;
  color: #fff;
  cursor: pointer;
  background:
    radial-gradient(60% 70% at 50% 50%, rgba(4, 8, 12, .05), rgba(4, 8, 12, .55) 100%),
    linear-gradient(180deg, rgba(4, 8, 12, .15), rgba(4, 8, 12, .35));
  transition: opacity .5s var(--ease), visibility .5s;
}
.film-play-btn {
  position: relative;
  display: grid;
  place-items: center;
  width: clamp(64px, 7vw, 88px);
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--pulse-fill);
  color: var(--on-lime);
  box-shadow: 0 18px 50px rgba(198, 203, 83, .32);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.film-play-btn::before {
  content: "";
  position: absolute;
  inset: -10px;
  border-radius: 50%;
  border: 1px solid rgba(198, 203, 83, .55);
  animation: film-halo 2.8s var(--ease) infinite;
}
.film-play-btn svg { display: block; width: 42%; height: 42%; fill: currentColor; }
.film-play-text {
  display: flex;
  align-items: baseline;
  gap: 12px;
  text-shadow: 0 1px 12px rgba(0, 0, 0, .5);
}
.film-play-text b { font-size: clamp(1rem, 1.4vw, 1.15rem); font-weight: 600; letter-spacing: -.005em; }
.film-play-text span {
  font-family: var(--mono);
  font-size: .72rem;
  letter-spacing: .14em;
  color: rgba(255, 255, 255, .72);
}
.film-play:hover .film-play-btn { transform: scale(1.07); box-shadow: 0 22px 60px rgba(198, 203, 83, .45); }
.film-frame:hover .film-video { transform: scale(1.025); }
.film-play:focus-visible { outline: none; }
.film-play:focus-visible .film-play-btn { outline: 3px solid #fff; outline-offset: 6px; }

@keyframes film-halo {
  0%   { transform: scale(.92); opacity: 0; }
  30%  { opacity: 1; }
  100% { transform: scale(1.35); opacity: 0; }
}

.tech-film.is-playing .film-play { opacity: 0; visibility: hidden; pointer-events: none; }
.tech-film.is-playing .film-video,
.tech-film.is-playing .film-frame:hover .film-video { transform: none; }

/* The six chapters of the film, numbered, under the frame. */
.film-steps {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  margin-top: 18px;
  border-top: 1px solid var(--line);
  counter-reset: film;
}
.film-steps span {
  padding: 14px 12px 0 0;
  font-family: var(--mono);
  font-size: .72rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--steel);
}
.film-steps span::before {
  counter-increment: film;
  content: "0" counter(film);
  display: block;
  margin-bottom: 4px;
  color: var(--pulse-deep);
}
@media (max-width: 700px) {
  .film-frame { border-radius: 14px; }
  .film-steps { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 6px; }
  .film-play-text b { font-size: .95rem; }
}
@media (prefers-reduced-motion: reduce) {
  .film-play-btn::before { animation: none; opacity: 0; }
  .film-video, .film-play-btn { transition: none; }
  .film-frame:hover .film-video { transform: none; }
}

/* ---------- applications: layout grid ----------
   Six photo cards in a three-column grid; the primary market takes a 2x2
   block. Every cell keeps roughly the photos' own 3:2 shape, so nothing is
   heavily cropped. A click opens the card in the middle of the screen at
   the photo's full proportions with its description over it; only the
   photo dims, the page behind stays as it is. js/main.js (initAppGrid)
   animates the card from its cell and back. */
#applications { background: var(--ice); }
/* Lifted over the sections around it while a card is open (below the nav). */
#applications.is-raised { z-index: 50; }

.app-grid {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 40px;
}
.app-cell { position: relative; aspect-ratio: 3 / 2; }
.app-cell.is-feature { grid-column: span 2; grid-row: span 2; aspect-ratio: auto; }

.app-card {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  padding: 0;
  border: 0;
  border-radius: 16px;
  overflow: hidden;
  background: #02060B;
  color: #fff;
  font: inherit;
  text-align: left;
  cursor: pointer;
  transform-origin: 0 0;
}
.app-card:focus-visible { outline: 3px solid var(--pulse); outline-offset: 3px; }
.app-card > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: filter .3s var(--ease);
}
.app-card:hover > img { filter: brightness(1.08); }
/* Shade at the foot so the title reads over any photo. */
.app-card::after {
  content: "";
  position: absolute;
  inset: 45% 0 0;
  background: linear-gradient(180deg, rgba(2, 6, 11, 0), rgba(2, 6, 11, .85));
  pointer-events: none;
  transition: inset .4s var(--ease), background .4s var(--ease);
}
.app-cap {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
  padding: 20px 22px;
  transform-origin: 0 100%;
}
.app-num {
  display: block;
  font-family: var(--mono);
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .12em;
  color: var(--pulse);
}
.app-cap .pill { margin-top: 8px; font-size: .7rem; padding: 4px 11px; }
.app-cap h3 {
  margin-top: 6px;
  font-size: clamp(1.1rem, 1.5vw, 1.35rem);
  line-height: 1.2;
  color: #fff;
}
.is-feature .app-cap { padding: 30px 32px; }
.is-feature .app-cap h3 { font-size: clamp(1.6rem, 2.6vw, 2.4rem); }
/* The description only shows once a card is opened. */
.app-cap p {
  display: none;
  margin-top: 10px;
  max-width: 46ch;
  font-size: clamp(1rem, 1.3vw, 1.2rem);
  line-height: 1.5;
  color: var(--wafer);
}
.app-close {
  display: none;
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 2;
  width: 40px;
  height: 40px;
  place-items: center;
  border-radius: 50%;
  background: rgba(2, 6, 11, .55);
  color: #fff;
}
.app-close svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }

/* Open: the card lifts out of its cell into the middle of the screen, sized
   to the photo's own width:height (set as --ratio by the script). */
.app-card.is-open,
.app-card.is-closing { position: fixed; z-index: 1001; cursor: default; box-shadow: 0 40px 120px rgba(2, 6, 11, .35); }
/* On the way back the script pins the card to its cell's exact spot
   (inline top/left/width/height), so it can never stretch to the viewport. */
.app-card.is-closing { inset: auto; }
.app-card.is-open {
  inset: auto;
  top: 50%;
  left: 50%;
  width: min(1000px, 92vw, calc(84vh * var(--ratio, 1.5)));
  height: auto;
  aspect-ratio: var(--ratio, 1.5);
  translate: -50% -50%;
}
/* Dimming and shade switch at once on open, so the text reads from the
   first frame rather than after a fade. */
.app-card.is-open > img { filter: brightness(.65); transition: none; }
.app-card.is-open::after { transition: none; }
.app-card.is-open::after { inset: 40% 0 0; background: linear-gradient(180deg, rgba(2, 6, 11, 0), rgba(2, 6, 11, .6)); }
.app-card.is-open .app-cap { padding: clamp(22px, 3vw, 40px); }
.app-card.is-open .app-cap h3 { font-size: clamp(1.6rem, 3vw, 2.6rem); }
.app-card.is-open .app-cap p { display: block; color: #fff; }
.app-card.is-open .app-close { display: grid; }

/* Invisible layer under the open card: it only catches the click outside
   the card that closes it. Nothing on the page is darkened. */
.app-backdrop {
  position: fixed;
  inset: 0;
  z-index: 1000;
  pointer-events: none;
}
.app-backdrop.is-on { pointer-events: auto; }

@media (max-width: 860px) {
  .app-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .app-cell.is-feature { grid-row: auto; aspect-ratio: 3 / 2; }
}
@media (max-width: 560px) {
  .app-grid { grid-template-columns: minmax(0, 1fr); gap: 14px; }
  .app-cell.is-feature { grid-column: auto; }
  .is-feature .app-cap { padding: 20px 22px; }
  .is-feature .app-cap h3 { font-size: 1.35rem; }
  .app-card.is-open .app-cap p { font-size: .95rem; }
}
@media (prefers-reduced-motion: reduce) {
  .app-card > img, .app-card::after { transition: none; }
}

.pill {
  display: inline-block;
  font-family: var(--mono);
  font-size: .62rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  background: var(--pulse-fill);
  color: var(--on-lime);
  padding: 4px 10px;
  border-radius: 99px;
  font-weight: 500;
}

/* ---------- team ---------- */
/* Image accordion. Three portraits share one row; the open panel takes most
   of the width and carries the caption, the folded ones keep a vertical
   name. Only flex-grow animates, so the photos never distort - each one is
   cropped live by object-fit as its panel widens. */
.team-acc {
  display: flex;
  gap: 10px;
  height: clamp(260px, 24vw, 340px);
  margin-top: 40px;
}
.acc-panel {
  position: relative;
  flex: 1 1 0;
  min-width: 0;
  overflow: hidden;
  border: 0;
  padding: 0;
  border-radius: 16px;  /* same corners as the application photo cards */
  background: var(--abyss);
  color: #fff;
  font: inherit;
  text-align: left;
  cursor: pointer;
  transition: flex-grow .6s var(--ease);
}
.acc-panel.is-active { flex-grow: 2; cursor: default; }
.acc-panel:focus-visible { outline: 3px solid var(--pulse); outline-offset: 3px; }

.acc-panel img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: var(--pos, 50% 82%);
  filter: saturate(.75) brightness(.72);
  transition: filter .6s var(--ease);
}
.acc-panel.is-active img { filter: none; }
.acc-panel:not(.is-active):hover img { filter: saturate(.9) brightness(.85); }

/* Darkening at the foot of every panel so the caption on the open one and
   the vertical name on the folded ones always read over busy clothing. */
.acc-panel::after {
  content: "";
  position: absolute;
  inset: 34% 0 0;
  background: linear-gradient(180deg, transparent 0%, rgba(6, 30, 42, .5) 45%, rgba(6, 30, 42, .92) 100%);
  pointer-events: none;
}

/* Photo credit, small in the top corner, readable on the light backdrop. */
.acc-credit {
  position: absolute;
  top: 10px;
  right: 12px;
  z-index: 1;
  font-family: var(--mono);
  font-size: .6rem;
  letter-spacing: .04em;
  color: rgba(11, 48, 64, .62);
  pointer-events: none;
}

/* Folded panels: the name runs up the strip. */
.acc-strip {
  position: absolute;
  left: 16px;
  bottom: 22px;
  transform: rotate(180deg);
  writing-mode: vertical-rl;
  white-space: nowrap;
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: .01em;
  z-index: 1;
  transition: opacity .3s var(--ease);
}
.acc-panel.is-active .acc-strip { opacity: 0; }

.acc-caption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 18px 22px;
  display: flex;
  flex-direction: column;
  gap: 3px;
  z-index: 1;
  opacity: 0;
  transform: translateY(10px);
  text-shadow: 0 1px 10px rgba(6, 30, 42, .45);
  transition: opacity .35s var(--ease), transform .35s var(--ease);
}
.acc-panel.is-active .acc-caption {
  opacity: 1;
  transform: none;
  transition-delay: .25s;
}
.acc-group { font-size: .82rem; font-weight: 500; color: var(--wafer); }
.acc-name {
  font-size: clamp(1.25rem, 1.7vw, 1.5rem);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -.02em;
}
.acc-role { font-size: .95rem; color: #fff; opacity: .88; max-width: 34ch; }

/* Phones: the accordion turns vertical - folded panels become short bars
   with the name laid flat, the open one becomes a tall photo. */
@media (max-width: 700px) {
  .team-acc { flex-direction: column; height: auto; gap: 10px; }
  .acc-panel { flex: none; height: 68px; transition: height .5s var(--ease); }
  .acc-panel.is-active { height: min(85vw, 320px); }
  .acc-strip {
    left: 20px;
    bottom: 50%;
    transform: translateY(50%);
    writing-mode: horizontal-tb;
  }
  .acc-caption { padding: 20px 20px; }
  .acc-panel:not(.is-active)::after { inset: 0; background: rgba(6, 30, 42, .45); }
}

@media (prefers-reduced-motion: reduce) {
  .acc-panel, .acc-panel img, .acc-strip, .acc-caption { transition: none; }
}

.team-note { margin-top: 56px; color: var(--steel); font-size: 1.05rem; }

/* ---------- contact ---------- */
.contact {
  background: linear-gradient(180deg, var(--abyss), #0A2A3A);
  position: relative;
  overflow: hidden;
}
.contact::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(700px 340px at 15% 0%, rgba(198, 203, 83, .12), transparent 60%);
  pointer-events: none;
}
.contact .wrap { position: relative; }
section.contact { padding: 72px 0; }

/* One invitation on the section's own ground: the headline and one line
   on the left, the one way to reach us beside them on the right. */
.talk {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px 56px;
}
.talk-copy { position: relative; z-index: 1; max-width: 520px; }
.talk h2 {
  font-size: clamp(2.8rem, 5.6vw, 5rem);
  line-height: 1;
  letter-spacing: -.035em;
  white-space: nowrap;
  margin: 0;
}
.talk-copy p {
  margin-top: 22px;
  max-width: 26ch;
  font-size: clamp(1.2rem, 1.8vw, 1.5rem);
  line-height: 1.45;
  color: var(--wafer);
}

.talk-action {
  position: relative;
  display: inline-flex;
  align-items: center;
  flex: none;
  gap: 18px;
  padding: 20px 24px 20px 20px;
  border-radius: 16px;
  background: var(--pulse-fill);
  box-shadow: 0 18px 50px rgba(198, 203, 83, .28);
  color: var(--on-lime);
  text-decoration: none;
  --mb-color: #fff;
  transition: background .25s var(--ease), transform .25s var(--ease), box-shadow .25s var(--ease);
}
.talk-action:hover {
  background: #D3D76C;
  transform: translateY(-2px);
  box-shadow: 0 22px 60px rgba(198, 203, 83, .38);
}
.talk-action:focus-visible { outline: 3px solid var(--pulse); outline-offset: 3px; }

.talk-icon {
  flex: none;
  display: grid;
  place-items: center;
  width: 50px;
  height: 50px;
  border-radius: 14px;
  background: rgba(11, 48, 64, .1);
}
.talk-action svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.talk-text { display: flex; flex-direction: column; gap: 3px; }
.talk-text b { font-size: clamp(1.15rem, 1.6vw, 1.3rem); font-weight: 600; letter-spacing: -.01em; }
.talk-text span { font-size: 1rem; color: var(--on-lime); opacity: .8; }
.talk-arrow { flex: none; display: grid; margin-left: 10px; transition: transform .25s var(--ease); }
.talk-action:hover .talk-arrow { transform: translateX(5px); }

@media (max-width: 860px) {
  .talk { flex-direction: column; align-items: flex-start; }
  .talk-copy { max-width: none; }
  section.contact { padding: 56px 0; }
}
@media (max-width: 480px) {
  .talk { align-items: stretch; }
  .talk-action { display: flex; padding: 16px; gap: 14px; }
  .talk-icon { width: 44px; height: 44px; border-radius: 12px; }
  .talk-arrow { margin-left: auto; }
}
@media (prefers-reduced-motion: reduce) {
  .talk-action, .talk-arrow { transition: none; }
  .talk-action:hover, .talk-action:hover .talk-arrow { transform: none; }
}

/* ---------- investors & partners ---------- */
.partners { background: var(--paper); }

/* A responsive logo row with room for both wide and tall supplied artwork. */
.backer-row {
  margin: 40px 0 0;
  padding: 34px 0 0;
  border-top: 1px solid var(--line);
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  align-items: center;
  gap: 28px 32px;
}
.backer-item { min-width: 0; }
.backer-link {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 112px;
  text-decoration: none;
  color: inherit;
  border-radius: 4px;
  transition: opacity .2s var(--ease), color .2s var(--ease);
}
.backer-link:hover { opacity: .68; }
.backer-link:hover .backer-wordmark { color: var(--pulse-deep); }
.backer-link:focus-visible {
  outline: 2px solid var(--pulse);
  outline-offset: 6px;
}
/* Contain the complete logo, including the DESY Makerspace lockup. */
.backer-item img {
  width: 100%;
  height: auto;
  max-width: 220px;
  max-height: 112px;
  object-fit: contain;
  display: block;
}
/* Start-up Labs retains its text mark until a logo is supplied. */
.backer-wordmark {
  font-family: var(--display);
  font-size: 1.02rem;
  font-weight: 600;
  letter-spacing: -.005em;
  line-height: 1.25;
  color: var(--ink);
  text-align: center;
}
@media (max-width: 720px) {
  .backer-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px 28px;
  }
  .backer-wordmark { font-size: .92rem; }
  .backer-link { min-height: 88px; }
  .backer-item img { max-height: 88px; }
}

/* ---------- footer ---------- */
.footer {
  /* Cover the fixed shader after main ends, including the footer's text. */
  position: relative;
  z-index: 1;
  background: var(--abyss);
  border-top: 1px solid var(--line-dark);
  padding: 64px 0 0;
  color: var(--steel-2);
  font-size: .9rem;
}
.foot-in { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.foot-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 44px;
  padding-bottom: 52px;
}
@media (max-width: 900px) { .foot-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 540px) { .foot-grid { grid-template-columns: 1fr; } }

.foot-logo { display: block; height: 96px; width: auto; }
.foot-brand p {
  margin-top: 18px;
  max-width: 34ch;
  font-size: .88rem;
  line-height: 1.65;
  color: var(--steel-2);
}
.foot-col h4 {
  font-family: var(--mono);
  font-size: .68rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--pulse);
  font-weight: 500;
  margin-bottom: 18px;
}
.foot-col ul { list-style: none; }
.foot-col li { margin-bottom: 12px; }
.foot-col a {
  color: var(--wafer);
  text-decoration: none;
  font-size: .92rem;
  transition: color .18s var(--ease);
}
.foot-col a:hover { color: #fff; }
.foot-col address { font-style: normal; color: var(--wafer); font-size: .92rem; line-height: 1.9; }
.foot-col .foot-mail { display: inline-block; margin-top: 16px; color: var(--wafer); }

.foot-bottom {
  border-top: 1px solid var(--line-dark);
  padding: 22px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  font-size: .8rem;
}
.foot-legal { display: flex; gap: 26px; flex-wrap: wrap; }
.foot-legal a { color: var(--steel-2); text-decoration: none; transition: color .18s var(--ease); }
.foot-legal a:hover { color: #fff; }

/* ---------- motion ----------
   One orchestrated page-load sequence in the hero, and the bars drawing when
   the thinning panel comes into view. Nothing else moves on scroll. */
@keyframes rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes draw { from { transform: scaleX(0); } to { transform: scaleX(1); } }

.hero-in > * {
  animation: rise .7s var(--ease) both;
}
.hero-in > *:nth-child(1) { animation-delay: .05s; }
.hero-in > *:nth-child(2) { animation-delay: .13s; }
.hero-in > *:nth-child(3) { animation-delay: .21s; }
.hero-in > *:nth-child(4) { animation-delay: .29s; }
.hero-in > *:nth-child(5) { animation-delay: .37s; }

.bar { transform: scaleX(0); }
.bars-in .bar { animation: draw .8s var(--ease) forwards; }
.bars-in .bar-row:nth-child(2) .bar { animation-delay: .06s; }
.bars-in .bar-row:nth-child(3) .bar { animation-delay: .12s; }

/* ---------- reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
  html { scroll-behavior: auto; }
  .hero-in > * { opacity: 1; transform: none; }
  .bar { transform: scaleX(1); }
  .btn-solid:hover, .figure-cell:hover, .founder:hover { transform: none; }
}

/* Without JS the bars never get their trigger class, so show them drawn. */
.no-js .bar { transform: scaleX(1); }

/* ==========================================================================
   TOUCH TARGETS — coarse pointers only

   Everything above is laid out for a mouse, where a 20px link is a fine
   target. On a finger it is not: the guidance is 44x44px with room around it.
   Rather than inflate these links for every visitor, the rules are scoped to
   pointer: coarse, so the desktop rhythm of the footer is left exactly as
   it was drawn.
   ========================================================================== */
@media (pointer: coarse) {
  /* Footer links are set in running lists, so they get their
     height from padding and are spaced apart rather than merely enlarged —
     two adjacent 44px targets with no gap still mis-fire under a thumb. */
  .foot-col li { margin-bottom: 4px; }
  .foot-col a,
  .foot-col .foot-mail,
  .foot-legal a,
  .founder li a {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
  }
  .foot-legal { gap: 8px 26px; }

}

/* ---------- word hover ----------
   js/main.js wraps each word of a .word-hover block in .hover-word. Only the
   colour changes, never size or weight, so the text cannot shift. The word
   lights in 0.2s and fades back over 0.4s, which leaves a short blue trail
   behind the cursor, in the brand lime on every ground. Touch screens never
   get it. */
.hover-word { transition: color .4s ease-out; }
@media (hover: hover) {
  .hover-word:hover { color: var(--pulse); transition-duration: .2s; }
}
@media (prefers-reduced-motion: reduce) {
  .hover-word, .hover-word:hover { transition: none; }
}

/* ---------- print ---------- */
@media print {
  .nav, .menu-btn, .hero::before, .wafer-stage, .skip-link,
  .shader-bg { display: none !important; }
  body, main { background: #fff; color: #000; }
  /* !important also covers the .has-shader-bg veil, which is the more
     specific selector once the field is live. */
  .dark, .contact, .footer,
  .stack-panel { background: #fff !important; color: #000 !important; }
  .stack-panel::after { display: none !important; }
  /* The watermark is a texture, not content — on paper it is only a grey
     smear across the caption, so it goes with the stage it sat behind. */
  .stack-word { display: none !important; }
  .dark h2, .dark h3, .dark .lead, .dark p { color: #000 !important; }
  section { padding: 24px 0; page-break-inside: avoid; }
}

/* Readable fallbacks and compact layouts. */
.no-js .parallax__visuals { height: 100svh; }
.founder a, .foot-mail { overflow-wrap: anywhere; }
@media (max-width: 600px) {
  .lead { font-size: 1.02rem; }
  .hero-h2 { font-size: clamp(1.6rem, 6.6vw, 1.9rem); }
}
@media print {
  .hero-title-stage canvas, .parallax, .descent-seam, .stack-panel { display: none !important; }
  .hero-claim { min-height: 0; padding: 24px 0; background: white; }
  .hero-claim::before, .hero-claim::after, .has-shader-bg .dark::before { display: none; }
  .hero-claim .hero-title { color: black !important; opacity: 1 !important; font-size: 32pt; }
  .dark *, .footer * { color: black !important; text-shadow: none !important; }
  .bar { transform: scaleX(1) !important; }
  section { break-inside: auto; }
  h2, h3, h4 { break-after: avoid; }
}

/* ---------- moving border ----------
   js/moving-border.js adds one .mb-ring to each button, card and panel.
   The mask leaves only the outline visible; the glow inside it travels
   round that outline in the site blue while the cursor is on it. */
.mb-ring {
  position: absolute;
  inset: calc(var(--mb-b, 0px) * -1);
  z-index: 2;
  padding: max(2px, calc(var(--mb-b, 0px) + 1px));
  border-radius: inherit;
  overflow: hidden;
  pointer-events: none;
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
}
.mb-glow {
  position: absolute;
  left: 0;
  top: 0;
  border-radius: 50%;
  background: radial-gradient(var(--mb-color, var(--pulse)) 40%, transparent 60%);
  opacity: 0;
  transition: opacity .25s var(--ease, ease);
  will-change: transform;
}
.mb-ring.is-on .mb-glow { opacity: .9; }
/* On the blue-filled buttons the light runs in a paler tint of the same blue. */
.btn-solid, .nav-cta { --mb-color: #fff; }
/* Over the team photos a 2px line gets lost in the detail; 3px holds. */
.acc-panel .mb-ring { padding: 3px; }
