/* OJ Labs — ojlabs.ltd
   Typographic and restrained on purpose. No frameworks, no web fonts, no
   external requests: the page should load instantly and say what it does. */

:root {
  --ink: #12120f;
  --ink-2: #1c1c19;
  --paper: #faf9f5;
  --muted: #a3a196;
  --muted-2: #6b6a62;
  --accent: #a5341f;
  --rule: #2a2a26;
  --rule-light: #e3e1d8;
  --wrap: 1080px;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 17px/1.65 ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI",
        "Helvetica Neue", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}

/* overflow-x guards the full-bleed .case-shot breakout further down: 100vw
   can exceed the visible viewport by the scrollbar's own width in some
   browsers, which would otherwise add a horizontal scrollbar for the whole
   page. Scoped to main (not html/body) so it never sits in the sticky
   header's ancestor chain — overflow on html/body is a known WebKit trigger
   for breaking position: sticky, and .bar is a sibling of main, not a
   descendant, so this can't reach it. */
main { overflow-x: hidden; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 28px; }

a { color: inherit; }

.skip {
  position: absolute; left: -9999px; top: 0; background: var(--ink); color: var(--paper);
  padding: 12px 18px; z-index: 10;
}
.skip:focus { left: 0; }

:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

/* ── header ─────────────────────────────────────────────────────────────── */

.bar {
  position: sticky; top: 0; z-index: 20;
  background: var(--ink); color: var(--paper);
}
.bar-in {
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px; min-height: 68px;
  transition: min-height .2s ease-out;
}
.bar.is-stuck { box-shadow: 0 1px 0 rgba(0, 0, 0, .4); }
.bar.is-stuck .bar-in { min-height: 54px; }
.bar.is-stuck nav a.cta { background: var(--accent); border-color: var(--accent); }
.mark {
  font-weight: 650; font-size: 19px; letter-spacing: -0.02em; text-decoration: none;
}
.mark span { color: var(--accent); }
.bar nav { display: flex; align-items: center; gap: 26px; }
.bar nav a { color: var(--muted); text-decoration: none; font-size: 15px; }
.bar nav a:hover { color: var(--paper); }
.bar nav a.cta {
  color: var(--paper); border: 1px solid #3a3a34; padding: 8px 16px; border-radius: 3px;
}
.bar nav a.cta:hover { background: var(--accent); border-color: var(--accent); }

/* ── hero ───────────────────────────────────────────────────────────────── */

.hero {
  background: var(--ink); color: var(--paper); padding: 92px 0 104px;
  position: relative; overflow: hidden;
}
/* Pipeline centrepiece (OJL-13, graduated to 3D by OJL-20): the canvas fills
   the hero behind the copy. Selector contract shared with public/pipeline.js
   (2D fallback) and public/pipeline3d.js (Three.js scene) — whichever claims
   the context first owns it; see pipeline3d.js for the handoff. */
.hero-canvas {
  position: absolute; inset: 0; z-index: 0;
  width: 100%; height: 100%;
  pointer-events: none;
}
/* Vignette: dims the band the copy and the animation's mid-height token
   lane both occupy, so text contrast holds regardless of what the canvas
   is drawing underneath — 2D or 3D, same guarantee. The unpainted sliver at
   top/bottom padding lets the scene read through without risking legibility. */
.hero::before {
  content: "";
  position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(to bottom,
    transparent 0%, var(--ink) 22%, var(--ink) 80%, transparent 100%);
  opacity: .88;
  pointer-events: none;
}
.hero .wrap { position: relative; z-index: 2; }
.hero h1 {
  margin: 0 0 26px;
  font-size: clamp(34px, 5.6vw, 60px);
  line-height: 1.06;
  letter-spacing: -0.032em;
  font-weight: 650;
  max-width: 16ch;
}
.lede {
  margin: 0 0 36px; max-width: 68ch; font-size: clamp(17px, 2vw, 20px);
  line-height: 1.6; color: var(--rule-light);
}
.actions { margin: 0; display: flex; flex-wrap: wrap; align-items: center; gap: 14px; }

.btn {
  display: inline-block; text-decoration: none; font-size: 16px; font-weight: 500;
  padding: 13px 26px; border-radius: 3px; background: var(--accent); color: #fff;
  border: 1px solid var(--accent); transition: opacity .15s ease;
}
.btn:hover { opacity: .9; }
/* Arrow-family micro-link (reference §8): monospace, underlined, no button
   chrome — it reads as inline text on either surface, so only the colour
   needs to swap on the light bands. The arrow is generated content, never
   part of the DOM copy. */
.btn.ghost {
  padding: 0; background: none; border: none; border-radius: 0;
  color: var(--paper); font: 650 15px/1.4 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  text-decoration: underline; text-underline-offset: 4px; text-decoration-color: currentColor;
}
.btn.ghost::after { content: "→"; margin-left: 8px; text-decoration: none; }
.band .btn.ghost { color: var(--ink); }
.btn.light { background: var(--paper); color: var(--ink); border-color: var(--paper); }

/* ── bands ──────────────────────────────────────────────────────────────── */

.band { padding: 86px 0; border-bottom: 1px solid var(--rule-light); }
.band.alt { background: #f2f0e9; }

h2 {
  margin: 0 0 10px; font-size: clamp(26px, 3.4vw, 36px); line-height: 1.15;
  letter-spacing: -0.024em; font-weight: 650;
}
.sub { margin: 0 0 46px; color: var(--muted-2); font-size: 18px; max-width: 62ch; }
.wide { max-width: 72ch; margin: 0; font-size: 18px; }

/* ── steps ──────────────────────────────────────────────────────────────── */

.steps {
  list-style: none; counter-reset: s; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); gap: 34px 40px;
}
.steps li { counter-increment: s; position: relative; padding-top: 34px; }
.steps li::before {
  content: counter(s, decimal-leading-zero);
  position: absolute; top: 0; left: 0;
  font-size: 13px; font-weight: 650; letter-spacing: .1em; color: var(--accent);
}
.steps h3 { margin: 0 0 8px; font-size: 18px; font-weight: 650; letter-spacing: -0.01em; }
.steps p { margin: 0; color: var(--muted-2); font-size: 16px; }

/* ── what we build (OJL-18): pinned theme-inversion word stack ───────────
   Reference technique #4 (design/reference.md). The word stack and caption
   are presentational only (aria-hidden) — the three prose items remain the
   accessible content and are never hidden. The stack is hidden entirely
   until html.js marks the document as scripted (motion.js), so a
   JS-disabled visitor sees today's static light list, unchanged. The
   pinned scroll choreography (pin, cross-fade, per-word brightening) is
   wired up by a later ticket task; this stylesheet only defines the word
   typography and the CSS-only "finished dark" end-state below, shared by
   prefers-reduced-motion and the motion script's no-GSAP fallback (applied
   there via the .wwb-static class on the section). ────────────────────── */

.wwb-stack { display: none; }

html.js .wwb-stack {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .01em;
  padding: 72px 28px 56px;
  text-align: center;
}

.wwb-word {
  font-size: clamp(40px, 14vw, 220px);
  line-height: .94;
  font-weight: 650;
  letter-spacing: -0.03em;
  color: var(--muted);
  opacity: .45;
}

.wwb-caption {
  margin: 30px 0 0;
  font: 650 14px/1 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--muted-2);
  opacity: 0;
}

/* Finished dark end-state: the section as it reads at the end of the
   pinned choreography — dark surface, full-brightness words and caption,
   prose readable on --ink — with no pin and no scroll-scrub. */
@media (prefers-reduced-motion: reduce) {
  html.js .wwb { background: var(--ink); border-bottom-color: var(--rule); }
  html.js .wwb h2, html.js .wwb h3 { color: var(--paper); }
  html.js .wwb .sub, html.js .wwb .note, html.js .wwb .steps p { color: var(--rule-light); }
  html.js .wwb .wwb-word { color: var(--paper); opacity: 1; }
  html.js .wwb .wwb-caption { color: var(--muted); opacity: 1; }
}

html.js .wwb.wwb-static { background: var(--ink); border-bottom-color: var(--rule); }
html.js .wwb.wwb-static h2, html.js .wwb.wwb-static h3 { color: var(--paper); }
html.js .wwb.wwb-static .sub, html.js .wwb.wwb-static .note, html.js .wwb.wwb-static .steps p { color: var(--rule-light); }
html.js .wwb.wwb-static .wwb-word { color: var(--paper); opacity: 1; }
html.js .wwb.wwb-static .wwb-caption { color: var(--muted); opacity: 1; }

/* Pinned choreography (whatwebuild.js, reference technique 4): the section,
   the words and the caption are all tweened by the scrub timeline — this is
   only a paint-cost hint for the properties that timeline actually touches
   (background/border colour, text colour, opacity), never a new colour or a
   layout change. */
html.js .wwb { will-change: background-color, border-color; }
html.js .wwb-word,
html.js .wwb-caption { will-change: opacity, color; }

/* Slat wipe (reference technique 9): 6–8 bars injected by whatwebuild.js
   only — never present in this markup — that sweep this section's entry
   and exit. Fixed over the viewport (not the section) so the wipe reads the
   same whether the section is mid-pin or has just released it; pointer-
   events:none keeps them out of the way of scroll/click at all times, and
   the transform-only default position (set inline by the script) keeps a
   bar that never starts its tween from ever painting on top of anything. */
.wwb-slats { position: fixed; inset: 0; z-index: 15; pointer-events: none; }
.wwb-slat { position: absolute; left: 0; width: 100%; background: var(--ink); }
.wwb-slat:nth-child(even) { background: var(--paper); }

/* ── stats ──────────────────────────────────────────────────────────────── */

/* Fixed column counts, not auto-fit: with exactly 6 stats, auto-fit's
   greedy packing produces uneven rows (5+1, then 4+2) as the container
   shrinks. 3/2/1 all divide 6 evenly, so every breakpoint below keeps the
   top and bottom rows equal. */
.stats {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.stat {
  background: #f2f0e9; padding: 40px 32px;
  border: 1px solid var(--rule-light); border-radius: 6px;
}
.band.alt .stat { background: var(--paper); }
.stat b {
  display: block; font-size: clamp(30px, 4vw, 40px); line-height: 1.1;
  letter-spacing: -0.03em; font-weight: 650;
}
.stat i { font-style: normal; font-size: .5em; color: var(--muted-2); letter-spacing: -0.01em; }
.stat span { display: block; margin-top: 6px; font-size: 15px; color: var(--muted-2); }
.stat.accent b { color: var(--accent); }
.stat.accent { border-color: var(--accent); }
.note { margin: 30px 0 0; max-width: 66ch; color: var(--muted-2); font-size: 17px; }

/* ── marquee (OJL-19) ───────────────────────────────────────────────────── */

/* Ghost/outline display type (design/reference.md technique 5). This is the
   no-JS/reduced-motion end state: the five words once, static, centred.
   public/marquee.js (a later ticket) turns .marquee-strip into the looping,
   scroll-tied strip; overflow is hidden here so that enhancement has
   somewhere to slide without a scrollbar appearing. */
.marquee {
  background: var(--ink);
  overflow: hidden;
  padding: 100px 0 78px;
  text-align: center;
}
.marquee-strip {
  margin: 0 0 36px;
  padding: 0 24px;
  font-size: clamp(30px, 6.6vw, 104px);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.01em;
  color: var(--muted);
}
/* Outline fill only where the browser can render it; the solid --muted fill
   above is the fallback and stays perfectly legible on its own. */
@supports (-webkit-text-stroke: 1px black) {
  .marquee-strip {
    color: transparent;
    -webkit-text-stroke: 1.5px var(--paper);
  }
}
.marquee-caption { margin: 0; color: var(--muted); font-size: 16px; letter-spacing: .02em; }

/* Live-loop state, built by public/marquee.js: it clones .marquee-strip into
   a two-up flex track and translates it. Scoped under html.js so a no-JS or
   reduced-motion visitor — where marquee.js never runs and .marquee-track is
   never created — keeps exactly the single static strip above. */
html.js .marquee-track {
  display: flex;
  width: max-content;
  margin: 0 0 36px;
}
html.js .marquee-track .marquee-strip {
  flex: none;
  margin: 0;
  font-size: 12vw;
  white-space: nowrap;
}

/* ── case study (OJL-21: full-bleed screenshot, reference technique 8) ────
   .case-shot breaks out of .wrap to run edge to edge (100vw, centred by the
   classic negative-margin trick) while staying a normal-flow child of .wrap
   in the DOM — no structural change, so the wrap/case order site.test.mjs
   checks holds. What's below is the complete, at-rest presentation: the
   whole screenshot, natural scale, nothing translated — exactly what a
   JS-disabled or prefers-reduced-motion visitor gets, permanently. */
.case-shot { display: block; width: 100vw; margin: 0 calc(50% - 50vw) 34px; }
.case-shot img { display: block; width: 100%; height: auto; }

/* Parallax/scale-in scaffolding for a later ticket's public/case.js: a clip
   container plus a paint-cost hint for the one property that script tweens.
   Scoped under html.js only — case.js itself bails under reduced motion or a
   missing gsap/ScrollTrigger, in which case .case-shot never clips and
   .case-shot img never receives a transform, so nothing here ever crops or
   moves the image for those visitors; they get the at-rest state above. */
html.js .case-shot { overflow: hidden; }
html.js .case-shot img { will-change: transform; }

.case { display: grid; grid-template-columns: 1.65fr 1fr; gap: 52px; align-items: start; }
.case p { margin: 0 0 18px; color: var(--muted-2); max-width: 60ch; }
.case .btn { margin-top: 6px; }
.facts { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--rule-light); }
.facts li {
  padding: 15px 0; border-bottom: 1px solid var(--rule-light);
  font-size: 15px; color: var(--muted-2);
}
.facts b { display: block; font-size: 21px; color: var(--ink); font-weight: 650; letter-spacing: -0.02em; }

/* ── contact ────────────────────────────────────────────────────────────── */

/* Kicker (OJL-22, reference §10): small caps, sitting above the existing
   "Tell us what you need" heading, which — like the form below it — is
   otherwise untouched. */
.kicker {
  margin: 0 0 12px;
  font-size: 15px;
  font-weight: 650;
  font-variant: small-caps;
  letter-spacing: .06em;
  color: var(--muted-2);
}

.contact-form { max-width: 520px; margin-top: 6px; }
.field { margin-bottom: 22px; }
.field label { display: block; margin-bottom: 8px; font-size: 15px; font-weight: 600; }
.field input, .field textarea {
  width: 100%; padding: 12px 14px; font: inherit; font-size: 16px; color: var(--ink);
  background: var(--paper); border: 1px solid var(--rule); border-radius: 3px;
}
.field textarea { min-height: 140px; resize: vertical; }
/* Offscreen, not display:none, so the label stays paired with the input for
   any assistive tech that ignores aria-hidden — the same technique as .skip. */
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-actions { margin: 8px 0 0; }
/* Hidden submission target for contact.js — never meant to be seen, so
   offscreen rather than accessible-and-hidden like .hp above. */
.contact-frame { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; border: 0; }

/* OJL-26: validation modal for the one case native constraint validation lets
   through (a non-empty message under the ten-character minimum). The <dialog>
   UA stylesheet already keeps it display:none without an "open" attribute and
   centres it once contact.js calls showModal() — only the surface, backdrop
   and controls are restyled here, and only with the site's own tokens. The
   accent border doubles as the "rejected" cue used elsewhere on the page. */
.contact-modal {
  width: min(420px, calc(100% - 56px));
  padding: 40px 32px;
  border: 1px solid var(--accent);
  border-radius: 6px;
  background: var(--paper);
  color: var(--ink);
}
.contact-modal::backdrop {
  background: var(--ink);
  opacity: .75;
}
.contact-modal h3 {
  margin: 0 0 12px;
  font-size: 20px;
  font-weight: 650;
  letter-spacing: -0.01em;
}
.contact-modal-reason { margin: 0 0 26px; color: var(--muted-2); }
.contact-modal-close {
  padding: 10px 22px;
  font: inherit;
  font-size: 15px;
  font-weight: 500;
  border-radius: 3px;
  border: 1px solid var(--rule);
  background: var(--paper);
  color: var(--ink);
  cursor: pointer;
}
.contact-modal-close:hover { border-color: var(--ink); }

/* OJL-29: success modal shown in place of the /thanks page once JS confirms
   the send. Same <dialog> pattern as the OJL-26 validation modal above; the
   neutral rule border (rather than the accent "rejected" cue) reads as a
   plain confirmation, not an alert. */
.contact-sent-modal {
  width: min(420px, calc(100% - 56px));
  padding: 40px 32px;
  border: 1px solid var(--rule);
  border-radius: 6px;
  background: var(--paper);
  color: var(--ink);
}
.contact-sent-modal::backdrop {
  background: var(--ink);
  opacity: .75;
}
.contact-sent-modal h3 {
  margin: 0 0 12px;
  font-size: 20px;
  font-weight: 650;
  letter-spacing: -0.01em;
}
.contact-sent-modal-body { margin: 0 0 26px; color: var(--muted-2); }
.contact-sent-modal-close {
  padding: 10px 22px;
  font: inherit;
  font-size: 15px;
  font-weight: 500;
  border-radius: 3px;
  border: 1px solid var(--rule);
  background: var(--paper);
  color: var(--ink);
  cursor: pointer;
}
.contact-sent-modal-close:hover { border-color: var(--ink); }

/* ── closing band ───────────────────────────────────────────────────────── */

.cta-band { background: var(--ink); color: var(--paper); padding: 84px 0; text-align: center; }
.cta-band h2 { margin-bottom: 14px; }
.cta-band p { margin: 0 auto 26px; max-width: 56ch; color: var(--rule-light); font-size: 18px; }

/* ── footer ─────────────────────────────────────────────────────────────── */

.foot { background: var(--ink-2); color: var(--muted); padding: 44px 0 0; font-size: 14.5px; overflow: hidden; }
.foot p { margin: 0 0 8px; }
.foot b { color: var(--paper); font-weight: 600; }
.reg { color: var(--muted-2); }
.links { margin-top: 18px; display: flex; gap: 22px; }
.links a { color: var(--muted); }
.links a:hover { color: var(--paper); }

/* Giant scanline wordmark (OJL-22, reference §10): closes the page. The
   line-height is deliberately shorter than the glyphs it holds, so the
   letters overflow their own box and .foot's overflow:hidden crops them at
   the true bottom edge of the page rather than leaving a gap beneath them
   — the "bleed". (.foot .foot-mark, not .foot-mark, because .foot p's
   margin-bottom otherwise wins on specificity.) The scanline itself is a
   repeating-linear-gradient used as a text mask — no image — and is
   deliberately not applied to the trailing full stop, which keeps its
   accent colour solid. */
.foot .foot-mark {
  margin: 46px 0 0;
  padding: 0 28px;
  font-size: clamp(64px, 17vw, 240px);
  line-height: .62;
  font-weight: 650;
  letter-spacing: -0.03em;
  text-align: center;
  background-image: repeating-linear-gradient(
    to bottom,
    var(--paper) 0, var(--paper) 2px,
    transparent 2px, transparent 5px
  );
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
}
.foot-mark span { color: var(--accent); -webkit-text-fill-color: var(--accent); }

/* Reveal-from-below (public/footer.js): hidden only once the document is
   marked as scripted. A no-JS visitor never gets the html.js class, so the
   wordmark above renders in its finished, fully risen state by default. */
html.js .foot-mark { opacity: 0; transform: translateY(60px); }
html.js .foot-mark.is-risen { opacity: 1; transform: translateY(0); }

/* ── motion (OJL-11) ────────────────────────────────────────────────────── */

/* Scoped under html.js only: without JavaScript nothing here applies and the
   page is fully visible and static, per the progressive-enhancement contract.
   The transition lives on the .is-visible rule only, not the hidden state —
   otherwise a hide that lands after first paint animates as a spurious
   fade-out instead of snapping to hidden. */
html.js [data-reveal] {
  opacity: 0;
  transform: translateY(18px);
}
html.js [data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
  transition: opacity .6s ease-out, transform .6s ease-out;
  transition-delay: var(--reveal-delay, 0ms);
}

/* ── intro (OJL-16) ─────────────────────────────────────────────────────── */

/* Built entirely by public/intro.js — there is no markup for this here, so a
   visitor with JS disabled (or GSAP failing to load) never sees an inert
   half-built overlay, only the page below. */
.intro {
  position: fixed; inset: 0; z-index: 100;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 22px;
  background: var(--ink); color: var(--paper);
}
.intro-crop { position: absolute; width: 22px; height: 22px; }
.intro-crop.tl { top: 26px; left: 26px; border-top: 1px solid var(--muted); border-left: 1px solid var(--muted); }
.intro-crop.tr { top: 26px; right: 26px; border-top: 1px solid var(--muted); border-right: 1px solid var(--muted); }
.intro-crop.bl { bottom: 26px; left: 26px; border-bottom: 1px solid var(--muted); border-left: 1px solid var(--muted); }
.intro-crop.br { bottom: 26px; right: 26px; border-bottom: 1px solid var(--muted); border-right: 1px solid var(--muted); }

/* The mark's viewBox is the full OJ Labs lockup — the widest the animation
   ever gets — so "Labs" and the dot can be positioned by transform alone
   throughout, never by resizing the box itself. */
.intro-mark { width: 300px; height: auto; overflow: visible; }
/* Phase 1: O and J draw as a stroke only (fill hidden). Phase 2 fades the
   stroke out as the real fill (set inline on each path, verbatim from the
   kit SVG) fades in, so the end state is fill-only with no stroke left
   visible. The full stop never strokes — see .intro-dot below. */
.intro-o, .intro-j {
  fill-opacity: 0; stroke: #faf9f5; stroke-width: 2; stroke-opacity: 1;
  stroke-linecap: round; stroke-linejoin: round;
}
/* pathLength="1" on both shapes normalises total length to 1 unit, so a
   single dasharray/dashoffset pair draws each at the same rate regardless of
   its real geometry — offset 1 hides it, animating to 0 draws it in. */
.intro-o, .intro-j { stroke-dasharray: 1; stroke-dashoffset: 1; }
/* Ripple pulse targets scale from their own baseline, not the SVG origin. */
.intro-o, .intro-j, .intro-labs0, .intro-labs1, .intro-labs2, .intro-labs3 {
  transform-box: fill-box; transform-origin: center bottom;
}
.intro-dot {
  transform-box: fill-box; transform-origin: center; transform: scale(0);
}

.intro-pct, .intro-copy {
  font: 650 13px/1 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  letter-spacing: .04em; color: var(--muted);
}
.intro-copy { letter-spacing: .18em; text-transform: uppercase; opacity: 0; white-space: nowrap; }

/* Sized well past any viewport diagonal (vmax-based, so it scales with the
   screen) and centred with the classic negative-margin trick, so growing it
   from scale(0) to scale(1) reads as a circle expanding from the centre and
   is guaranteed to cover corner-to-corner regardless of aspect ratio. Fill
   matches the ink field and the ink hero, so the reveal is seamless once the
   overlay is removed — the border is what makes the wipe itself visible: it
   scales with the circle, reading as an expanding ring, and is long past the
   viewport edges (and so invisible) well before the tween completes. */
.intro-panel {
  position: fixed; top: 50%; left: 50%; z-index: 1;
  width: 300vmax; height: 300vmax; margin: -150vmax 0 0 -150vmax;
  border-radius: 50%;
  background: var(--ink);
  border: 3px solid var(--muted);
  transform: scale(0);
  pointer-events: none;
}

/* ── responsive ─────────────────────────────────────────────────────────── */

@media (max-width: 820px) {
  .case { grid-template-columns: 1fr; gap: 34px; }
  .hero { padding: 66px 0 74px; }
  .band { padding: 62px 0; }
  .marquee { padding: 70px 0 54px; }
  .bar nav { gap: 16px; }
  .bar nav a:not(.cta) { display: none; }
  .intro-mark { width: 220px; }
  .stats { grid-template-columns: repeat(2, 1fr); }

  /* §4 word stack on narrow viewports (OJL-25): the base clamp's 14vw ceiling
     is already sized against the longest word ("OPERATIONS") at close to the
     available width on a phone, so it reads as sparse in absolute terms once
     the pin runs (task 1). Reclaiming the side gutter buys a little more
     width headroom for a taller clamp; the bigger gain is vertical — a
     looser line-height and gap let the stack occupy far more of a tall,
     narrow viewport without any word growing wide enough to overflow.
     Scoped under html.js — a JS-disabled visitor never sees .wwb-stack at
     all (base rule above stays display:none for them). */
  html.js .wwb-stack { padding-left: 6px; padding-right: 6px; gap: .15em; }
  html.js .wwb-word { font-size: clamp(48px, 16vw, 160px); line-height: 1.05; }
}

@media (max-width: 480px) {
  .stats { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; }
}
