/* FOG.tools — "Kinetic Porcelain" v3 (cinetica effect-identical rebuild, 2026-07) */

@font-face { font-family: "Gabarito"; src: url("../fonts/gabarito-var.woff2") format("woff2"); font-weight: 400 900; font-display: swap; }
@font-face { font-family: "Instrument Serif"; src: url("../fonts/instrument-400.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Instrument Serif"; src: url("../fonts/instrument-italic.woff2") format("woff2"); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: "Martian Mono"; src: url("../fonts/martian-var.woff2") format("woff2"); font-weight: 400 500; font-display: swap; }

:root {
  --bg: #F3F2EF;
  --bg-2: #ECEBE6;
  --ink: #131312;
  --ink-2: #47463F;
  --line: #D9D7D0;
  --dark: #0B0B0D;
  --dark-2: #141417;
  --on-dark: #EDECE8;
  --on-dark-2: #A8A6A0;
  --dark-line: #2A2A2E;
  --acc: #2D5BFF;
  --acc-text: #2247D9;
  --pink: #DD23BB;
  --f-display: "Gabarito", "Avenir Next", "Segoe UI", sans-serif;
  --f-serif: "Instrument Serif", Georgia, serif;
  --f-mono: "Martian Mono", "SFMono-Regular", monospace;
  --ez-ui: cubic-bezier(.625, .05, 0, 1);
  --ez-clip: cubic-bezier(.9, 0, .1, 1);
  --pad: clamp(20px, 4vw, 64px);
  /* legacy aliases (thanks/privacy inline styles) */
  --text: #131312; --text-2: #47463F; --text-3: #6B6961;
  /* hero flip animation */
  --hero-flip-duration: 1.2s;
  --hero-flip-stagger: 0.05s;
  --hero-flip-ease: "expo.out";
  --hero-flip-perspective: 800px;
  --hero-flip-backface: hidden;
  /* capwall flip animation */
  --cap-flip-duration: 0.8s;
  --cap-flip-delay: 1400ms;
  --cap-flip-ease: "power4.inOut";
  --cap-flip-perspective: 400px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }

body {
  background: var(--bg);
  color: var(--ink);
  font: 400 clamp(16px, .35vw + 13.8px, 17px)/1.65 var(--f-display);
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
body[data-theme="dark"] { background: var(--dark); color: var(--on-dark); }
body.bg-anim { transition: none; } /* bg tweened by GSAP, not CSS */
::selection { background: var(--ink); color: var(--bg); }
img, svg, video { display: block; max-width: 100%; }
a { color: inherit; }

.wrap { max-width: 1360px; margin: 0 auto; padding-inline: var(--pad); }
.skip { position: absolute; left: -9999px; top: 8px; background: var(--ink); color: var(--bg); padding: 10px 16px; z-index: 999; font-family: var(--f-mono); font-size: .8rem; }
.skip:focus { left: 8px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
:is(a, button, input, textarea, summary):focus-visible { outline: 2px solid var(--acc); outline-offset: 3px; }

/* ============ ornament kit ============ */
.star4 { width: 1em; height: 1em; flex: none; }
.hairline { position: relative; border: 0; border-top: 1px solid currentColor; opacity: .28; }
.grad-blob { position: absolute; width: 60vw; height: 60vw; max-width: 900px; max-height: 900px; border-radius: 50%; pointer-events: none; z-index: 0;
  background: radial-gradient(circle at 50% 50%, rgba(45,91,255,.16), rgba(120,80,255,.07) 45%, transparent 70%); filter: blur(20px); }

/* corner-bracket button */
.cbtn { position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px; font: 500 .78rem/1 var(--f-mono); letter-spacing: .18em; text-transform: uppercase; text-decoration: none; color: inherit; background: none; border: 0; padding: 16px 22px; cursor: pointer; }
.cbtn i { position: absolute; width: 9px; height: 9px; border: 1.5px solid currentColor; transition: transform .35s var(--ez-ui); font-style: normal; }
.cbtn i:nth-child(1) { top: 0; left: 0; border-right: 0; border-bottom: 0; }
.cbtn i:nth-child(2) { top: 0; right: 0; border-left: 0; border-bottom: 0; }
.cbtn i:nth-child(3) { bottom: 0; left: 0; border-right: 0; border-top: 0; }
.cbtn i:nth-child(4) { bottom: 0; right: 0; border-left: 0; border-top: 0; }
.cbtn:hover i:nth-child(1) { transform: translate(-3px, -3px); }
.cbtn:hover i:nth-child(2) { transform: translate(3px, -3px); }
.cbtn:hover i:nth-child(3) { transform: translate(-3px, 3px); }
.cbtn:hover i:nth-child(4) { transform: translate(3px, 3px); }
.cbtn-solid { background: var(--acc); color: #fff; }
.cbtn-solid i { border-color: var(--acc); }

/* ============ intro filmstrip ============ */
.intro { position: relative; height: 260svh; background: var(--dark); z-index: 5; }
.intro-stage { position: sticky; top: 0; height: 100svh; overflow: hidden; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: clamp(14px, 2.6svh, 26px); padding-top: clamp(56px, 8svh, 84px); }
/* headline block — 5-second clarity above the rings */
.intro-head { text-align: center; z-index: 3; display: flex; flex-direction: column; align-items: center; gap: 12px; padding: 0 var(--pad); }
.intro-eyebrow { font: 400 .62rem/1 var(--f-mono); letter-spacing: .28em; color: #8B93B8; text-transform: uppercase; }
.intro-title { font: 800 clamp(1.4rem, 3vw, 2.25rem)/1.12 var(--f-display); text-transform: uppercase; letter-spacing: .01em; color: #EDECE8; }
.intro-title .accent { color: #6E8FFF; }
.intro-cta { display: flex; align-items: center; gap: 18px; margin-top: 4px; flex-wrap: wrap; justify-content: center; }
.intro-cta .plain { color: #B9BDD4; font: 500 .78rem/1 var(--f-mono); letter-spacing: .04em; text-decoration-color: rgba(185, 189, 212, .4); }
/* two counter-rotating 10-card rings — half the density of one 20-card ring,
   so the facing cards never overlap and every title reads clean */
.intro-cyl { width: 100%; perspective: 1600px; cursor: grab; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: clamp(16px, 3svh, 30px); padding-top: clamp(22px, 4.5svh, 48px); touch-action: pan-y; } /* vertical swipes scroll the page; horizontal drag spins the rings */
.intro-cyl:active { cursor: grabbing; }
.intro-strip { position: relative; width: min(210px, 30vw); aspect-ratio: 3/4; transform-style: preserve-3d; will-change: transform; }
.intro-strip.cyl { width: min(150px, 22vw); height: auto; aspect-ratio: 3/4; }
.intro-strip .intro-tile { position: absolute; inset: 0; backface-visibility: hidden; display: flex; flex-direction: column; justify-content: flex-end; gap: 5px; padding: 12px; }
/* service-card chrome: each card a distinct in-brand gradient, shared type system */
.intro-tile > svg { position: absolute; top: 12px; left: 12px; right: auto; bottom: auto; margin: 0; width: 30%; height: auto; opacity: .85; }
.intro-tile i { font: 400 .46rem/1 var(--f-mono); letter-spacing: .18em; color: #AFC0F2; text-transform: uppercase; font-style: normal; }
.intro-tile h3 { font: 800 .9rem/1.08 var(--f-display); text-transform: uppercase; letter-spacing: .01em; color: #EDECE8; }
.intro-tile ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 3px; }
.intro-tile ul li { font: 500 .46rem/1 var(--f-mono); letter-spacing: .06em; color: #EDECE8; background: rgba(237, 236, 232, .12); border: 1px solid rgba(237, 236, 232, .22); border-radius: 999px; padding: 3px 6px; text-transform: uppercase; }
.intro-tile b { font: 500 .5rem/1 var(--f-mono); letter-spacing: .1em; color: #DCE4FF; text-transform: uppercase; }
.t-c1 { background: linear-gradient(150deg, #1B2C68, #2D5BFF 125%); }
.t-c2 { background: linear-gradient(200deg, #101426, #24418F 130%); }
.t-c3 { background: linear-gradient(160deg, #2D1F5E, #6C4BD8 135%); }
.t-c4 { background: linear-gradient(215deg, #0E1220, #2B6BAB 140%); }
.t-c5 { background: linear-gradient(145deg, #12203A, #1F7FD1 150%); }
.t-c6 { background: linear-gradient(190deg, #171233, #4A3AA8 130%); }
.t-c7 { background: linear-gradient(155deg, #0F1B2E, #2D5BFF 170%); }
.t-c8 { background: linear-gradient(205deg, #131731, #4E5FE0 135%); }
.intro-tile { aspect-ratio: 3/4; border-radius: 2px; overflow: hidden; position: relative; background: linear-gradient(160deg, #17203f, #0e1220 60%); }
/* product tiles + ring light/dark alternation — light cards carry ink text */
.intro-tile.p-tile > svg { color: #DCE4FF; }
.intro-tile.tile-light { background: linear-gradient(160deg, #F4F2EC, #D8D4C9 130%); }
.intro-tile.tile-light i { color: #2247D9; }
.intro-tile.tile-light h3 { color: #131312; }
.intro-tile.tile-light b { color: #2247D9; }
.intro-tile.tile-light ul li { color: #131312; background: rgba(19, 19, 18, .06); border-color: rgba(19, 19, 18, .28); }
.intro-tile.tile-light.p-tile > svg { color: #131312; }
.intro-tile.tile-light svg [stroke="#EDECE8"] { stroke: #131312; }
.intro-tile.tile-light svg [fill="#EDECE8"] { fill: #131312; }
.intro-word { position: absolute; bottom: 2.6vh; left: 0; right: 0; text-align: center; font: 400 .7rem/1 var(--f-mono); letter-spacing: .3em; color: #8B8A93; text-transform: uppercase; }

/* ============ header ============ */
.hd { position: fixed; top: 0; left: 0; right: 0; z-index: 90; padding: 18px var(--pad); display: flex; align-items: center; justify-content: space-between; gap: 16px; mix-blend-mode: difference; color: #EDECE8; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: inherit; }
.brand svg { width: 34px; height: 34px; }
.brand b { font: 800 1.25rem/1 var(--f-display); letter-spacing: .04em; }
.hd-right { display: flex; align-items: center; gap: 10px; }
.hd .cbtn { padding: 16px 16px; }
/* phone button always visible — key conversion channel on mobile */

/* header mobile optimization: hide Contact button on small screens, compact header */
.hd-right a[href="#contact"] { display: none !important; } /* hide Contact button by href attribute */
@media (min-width: 500px) {
  .hd-right a[href="#contact"] { display: inline-flex !important; } /* show on larger screens */
  .hd-right { gap: 10px; }
}
@media (max-width: 499px) {
  .hd-right { gap: 6px; }
  /* .hd .cbtn (0-2-0) outweighs .hd-tel-btn (0-1-0) — match it or the shrink never lands */
  .hd .cbtn.hd-tel-btn { padding: 12px 8px; font-size: .68rem; letter-spacing: .04em; }
  .hd { padding: 12px 14px; }
}

/* hamburger */
.menu-button { position: relative; width: 46px; height: 44px; background: none; border: 0; cursor: pointer; display: grid; place-items: center; color: inherit; }
.menu-button-line { position: absolute; width: 26px; height: 2px; background: currentColor; left: 10px; will-change: transform, opacity; }
.menu-button-line:nth-child(1) { top: 13px; }
.menu-button-line:nth-child(2) { top: 19px; }
.menu-button-line:nth-child(3) { top: 25px; }

/* ============ menu overlay ============ */
.menu { position: fixed; inset: 0; z-index: 80; display: grid; place-items: center; visibility: hidden; pointer-events: none;
  background: rgba(8, 8, 10, .72); -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px);
  clip-path: inset(0 0 100% 0); transition: clip-path 1s var(--ez-clip), visibility 0s 1s; }
body[data-menu-status="open"] .menu { visibility: visible; pointer-events: auto; clip-path: inset(0 0 0% 0); transition: clip-path 1s var(--ez-clip); }
.menu ul { list-style: none; text-align: center; display: grid; gap: 8px; }
.menu li { overflow: hidden; }
.menu a { display: inline-block; font: 600 clamp(2rem, 5.4vw, 3.4rem)/1.18 var(--f-display); letter-spacing: .06em; text-transform: uppercase; color: #C9C8C2; text-decoration: none;
  transform: translateY(110%) rotate(4deg); transition: transform .75s cubic-bezier(.7, 0, .3, 1), color .3s; }
.menu a:hover { color: #fff; }
body[data-menu-status="open"] .menu a { transform: translateY(0) rotate(0); }
.menu li:nth-child(1) a { transition-delay: .3s; } .menu li:nth-child(2) a { transition-delay: .35s; }
.menu li:nth-child(3) a { transition-delay: .4s; } .menu li:nth-child(4) a { transition-delay: .45s; }
.menu li:nth-child(5) a { transition-delay: .5s; } .menu li:nth-child(6) a { transition-delay: .55s; }
body[data-menu-status="closed"] .menu li a { transition-delay: 0s; }
.menu-meta { position: absolute; bottom: 28px; left: 0; right: 0; display: flex; justify-content: center; gap: 28px; font: 400 .66rem/1 var(--f-mono); letter-spacing: .2em; color: #9C9AA4; text-transform: uppercase; }
.menu-meta a { color: #A8A6B0; text-decoration: none; }

/* ============ hero / about (light act) ============ */
.hero { position: relative; min-height: 100svh; display: grid; align-content: center; gap: clamp(30px, 5vh, 64px); padding: 120px var(--pad) 80px; overflow: clip; }
.hero .grad-blob { bottom: -20%; left: -15%; }
.eyebrow { font-family: var(--f-mono); font-size: .7rem; letter-spacing: .22em; text-transform: uppercase; color: var(--ink-2); display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; position: relative; z-index: 1; }
.dots { display: inline-flex; gap: 5px; }
.dots i { width: 7px; height: 7px; border-radius: 50%; background: var(--acc); animation: blink 1.4s infinite both; }
.dots i:nth-child(2) { animation-delay: .2s; }
.dots i:nth-child(3) { animation-delay: .4s; }
@keyframes blink { 0%, 100% { opacity: .2; } 50% { opacity: 1; } }

.hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(28px, 4vw, 72px); align-items: end; }
.hero-serif { font: 400 clamp(1.5rem, 2.6vw, 2.25rem)/1.32 var(--f-serif); letter-spacing: -.01em; max-width: 22ch; }
.hero-serif em { font-style: italic; color: var(--acc-text); }
.hero-right p { color: var(--ink-2); max-width: 44ch; }
.hero-caps { font: 800 clamp(2.6rem, 7.2vw, 6.4rem)/0.96 var(--f-display); letter-spacing: -.02em; text-transform: uppercase; margin-top: 18px; }
.hero-caps .accent { color: var(--acc); }

/* Character 3D flip effect (flip animation state) */
.js [data-split="flip"] { visibility: hidden; }
.js [data-split="flip"].split-ready { visibility: visible; }

/* Individual character styling for flip */
.flip-char {
  display: inline-block;
  will-change: transform;
  backface-visibility: hidden;
  perspective: var(--hero-flip-perspective);
  transform-style: preserve-3d;
}

/* Static fallback (reduced-motion & html.static) */
@media (prefers-reduced-motion: reduce) {
  .flip-char { transform: none !important; }
}
html.static .flip-char { transform: none !important; }

.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; align-items: center; }
.hero-cta .plain { font: 500 .95rem var(--f-display); text-decoration: underline; text-underline-offset: 4px; }
.hero-scrolldown { position: absolute; right: var(--pad); bottom: 26px; font: 400 .6rem/1 var(--f-mono); letter-spacing: .25em; color: var(--ink-2); writing-mode: vertical-rl; z-index: 1; }
@media (max-width: 860px) { .hero-grid { grid-template-columns: 1fr; align-items: start; } .hero-scrolldown { display: none; } }

/* hero text reflow on very narrow screens (390px) */
@media (max-width: 500px) {
  .hero-serif { font-size: clamp(1.2rem, 2vw, 1.8rem); max-width: none; }
  .hero-caps { font-size: clamp(2rem, 5vw, 4rem); }
}

/* ============ mobile overrides (pinned sections) ============ */
@media (max-width: 768px) {
  /* intro filmstrip: reduce scroll height on mobile */
  .intro { height: 180svh; }
  .intro-strip.cyl { width: min(160px, 31vw); }
  .intro-cta .cbtn { font-size: .8rem; }
  .intro-eyebrow { font-size: .52rem; letter-spacing: .2em; white-space: nowrap; }
  /* short mobile tiles: content rides up over the icon — fade it to a watermark */
  .intro-strip.cyl .intro-tile > svg { opacity: .22; }

  /* horizontal words: disable pan, stack vertically */
  /* mobile hwords: JS pan is skipped <768px, so the section renders as a
     static centered statement — same treatment as reduced-motion/static modes. */
  .hwords { height: auto; }
  .hwords-stage { position: static; height: auto; min-height: 60svh; padding: 60px var(--pad); overflow: visible; }
  .hwords-wrap { transform: none; }
  .hwords-text { white-space: normal; text-align: center; font-size: clamp(2rem, 9vw, 3.4rem); line-height: 1.15; }

  /* process gauge: reduce pinned scroll height on mobile */
  .pin-height { height: 200svh; }
  .process-stage { position: relative; grid-template-columns: 1fr; gap: 20px; }
  .process-list_left, .process-list_right { position: relative; min-height: auto; }
  .process-list_item { position: relative; opacity: 1 !important; visibility: visible !important; margin-top: 16px; }

  /* journey: reduce pinned scroll on mobile */
  .j-pin { height: 200svh; }
  .j-stage { position: relative; grid-template-columns: 1fr; gap: 16px; }
  .j-right { height: auto; }
}

/* ============ ticker ============ */
.tick { overflow: clip; padding-block: 16px; border-block: 1px solid var(--line); position: relative; z-index: 1; }
.tick-in { display: flex; gap: 48px; width: max-content; animation: tick 36s linear infinite; }
.tick span { font: 700 clamp(1rem, 1.9vw, 1.4rem)/1 var(--f-display); letter-spacing: .02em; white-space: nowrap; text-transform: uppercase; }
.tick em { font-family: var(--f-serif); font-style: italic; font-weight: 400; text-transform: none; color: var(--acc-text); }
@keyframes tick { to { transform: translateX(-50%); } }
.tick.paused .tick-in { animation-play-state: paused; }

/* ============ marquee loop (M13) ============ */
[data-css-marquee] { overflow: hidden; }
[data-css-marquee-list] { display: flex; gap: 24px; width: max-content; animation: marqueeLoop linear infinite; will-change: transform; }
@keyframes marqueeLoop { from { transform: translateX(0); } to { transform: translateX(-100%); } }

/* ============ divisions intro ============ */
.divisions { position: relative; padding: clamp(90px, 14vh, 170px) var(--pad); overflow: clip; }
.divisions .grad-blob { top: -30%; right: -25%; }
.div-head { font: 700 clamp(1.7rem, 3.6vw, 3rem)/1.1 var(--f-display); letter-spacing: -.02em; text-align: right; max-width: 15em; margin-left: auto; position: relative; z-index: 1; }
.div-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px, 5vw, 90px); margin-top: clamp(50px, 8vh, 110px); position: relative; z-index: 1; }
.div-item { position: relative; }
.div-item > b { font: 800 clamp(4rem, 8vw, 7rem)/1 var(--f-display); color: var(--acc); display: block; }
.div-item h3 { font: 700 clamp(1.3rem, 2.2vw, 1.8rem)/1.15 var(--f-display); text-transform: uppercase; letter-spacing: .01em; margin-top: 14px; }
.div-item p { color: var(--ink-2); margin-top: 12px; max-width: 42ch; }
.div-item .star4 { position: absolute; top: 0; right: 0; font-size: 2rem; color: var(--ink); opacity: .8; }
@media (max-width: 760px) { .div-grid { grid-template-columns: 1fr; } .div-head { text-align: left; margin-left: 0; } }

/* ============ dark statement ============ */
.statement { min-height: 110svh; display: grid; place-items: end center; padding: 20vh var(--pad) 26vh; background: linear-gradient(to bottom, var(--bg) 0%, #8E8D89 26%, #3A3A3E 44%, var(--dark) 60%); }
.statement p { font: 400 clamp(1.7rem, 3.6vw, 3rem)/1.3 var(--f-serif); text-align: center; max-width: 26ch; color: #C9C8C2; }
.statement p em { font-style: italic; color: #7E93E8; }

/* ============ horizontal letter pan ============ */
.hwords { position: relative; height: 300svh; background: var(--dark); color: var(--on-dark); }
.hwords-stage { position: sticky; top: 0; height: 100svh; display: grid; align-items: center; overflow: hidden; }
.hwords-wrap { will-change: transform; }
.hwords-text { font: 800 clamp(4rem, 13vw, 11rem)/1 var(--f-display); letter-spacing: -.01em; text-transform: uppercase; white-space: nowrap; color: var(--on-dark); visibility: visible; opacity: 1; display: block; }
.hwords-text .accent { color: var(--acc); }
.hwords .letter { display: inline-block; will-change: transform; visibility: visible; opacity: 1; }

/* ============ services divisions ============ */
.services { padding: clamp(90px, 14vh, 170px) var(--pad); background: var(--dark); color: var(--on-dark); }
.svc-intro { font: 400 .95rem var(--f-display); color: var(--on-dark-2); text-align: center; }
.svc-title { font: 800 clamp(2.2rem, 6vw, 5rem)/1 var(--f-display); text-transform: uppercase; letter-spacing: -.01em; text-align: right; margin-top: 10px; }
.svc-title .thin { color: var(--on-dark-2); }
.svc-list { margin-top: clamp(40px, 7vh, 90px); }
.svc-item { padding: clamp(26px, 4vh, 44px) 0; position: relative; }
.svc-item + .svc-item { border-top: 1px solid var(--dark-line); }
.svc-item .star4 { position: absolute; top: -0.55em; font-size: 1.1rem; color: var(--on-dark-2); background: transparent; }
.svc-item:nth-child(odd) .star4 { left: 0; }
.svc-item:nth-child(even) .star4 { right: 0; }
.svc-item h3 { font: 800 clamp(1.4rem, 3vw, 2.4rem)/1.08 var(--f-display); text-transform: uppercase; letter-spacing: .01em; }
.svc-item:nth-child(even) h3, .svc-item:nth-child(even) p { text-align: right; }
.svc-item:nth-child(even) p { margin-left: auto; }
.svc-item h3 b { color: var(--acc); }
.svc-item p { font: 400 clamp(1.05rem, 1.6vw, 1.35rem)/1.5 var(--f-serif); color: var(--on-dark-2); max-width: 62ch; margin-top: 12px; }
.svc-item p strong { color: var(--on-dark); font-weight: 400; }

/* ============ work grid ============ */
.work { padding: clamp(90px, 14vh, 170px) var(--pad); background: var(--dark); color: var(--on-dark); }
.work-head { display: flex; align-items: baseline; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.work-head h2 { font: 800 clamp(2rem, 5vw, 4rem)/1 var(--f-display); text-transform: uppercase; }
.work-head span { font: 400 .7rem var(--f-mono); letter-spacing: .2em; color: var(--on-dark-2); text-transform: uppercase; }
.work-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(20px, 3vw, 44px); margin-top: clamp(36px, 6vh, 70px); }
.work-card { display: block; text-decoration: none; color: inherit; }
.work-media { aspect-ratio: 4/5; overflow: hidden; border-radius: 2px; position: relative; background: var(--dark-2); transform-style: preserve-3d; will-change: transform;; display: block; }
.work-media img { width: 100%; height: 100%; object-fit: cover; object-position: top;
  filter: grayscale(1) sepia(.3) hue-rotate(195deg) saturate(2.6) brightness(.72); transition: filter .5s var(--ez-ui), transform .7s var(--ez-ui); }
.work-card:hover .work-media img { filter: none; transform: scale(1.03); }
.work-media.is-slot { display: grid; place-items: center; border: 1px dashed var(--dark-line); background: transparent; }
.slot-in { text-align: center; padding: 20px; }
.slot-in b { display: block; font: 800 clamp(2.4rem, 5vw, 4rem)/1 var(--f-display); color: var(--acc); }
.slot-in span { display: block; font: 400 .66rem/1.7 var(--f-mono); letter-spacing: .18em; text-transform: uppercase; color: var(--on-dark-2); margin-top: 12px; }
.work-cap { display: flex; align-items: baseline; justify-content: space-between; gap: 14px; margin-top: 14px; }
.work-cap b { font: 700 1.05rem var(--f-display); }
.work-cap span { font: 400 .62rem var(--f-mono); letter-spacing: .16em; text-transform: uppercase; color: var(--on-dark-2); }
@media (max-width: 760px) { .work-grid { grid-template-columns: 1fr; } }

/* ============ process gauge ============ */
.process { position: relative; background: var(--dark); color: var(--on-dark); }
.pin-height { height: 400svh; position: relative; }
.process-stage { position: sticky; top: 0; height: 100svh; overflow: hidden; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: clamp(16px, 3vw, 48px); padding: 0 var(--pad); }
.process-kicker { position: absolute; top: 12vh; left: 0; right: 0; text-align: center; font: 400 .7rem/1 var(--f-mono); letter-spacing: .22em; color: var(--on-dark-2); text-transform: uppercase; }
.process-lede { position: absolute; top: 16vh; left: 0; right: 0; margin: 0 auto; max-width: 56ch; text-align: center; font: 400 clamp(1.05rem, 1.7vw, 1.4rem)/1.5 var(--f-serif); color: var(--on-dark-2); padding: 0 var(--pad); }
.gauge { width: clamp(240px, 34vw, 460px); height: auto; perspective: 1200px; animation: gauge-spin 8s linear infinite; transform-style: preserve-3d; }
@keyframes gauge-spin { from { transform: rotateX(0deg) rotateY(0deg); } to { transform: rotateX(360deg) rotateY(360deg); } }
.speed-block { stroke: #3A3A40; stroke-width: 1; }
.process-list_left, .process-list_right { position: relative; min-height: 8em; }
.process-list_item { position: absolute; inset: 0; display: grid; align-content: center; opacity: 0; visibility: hidden; }
.process-list_item.is--left { text-align: right; font: 800 clamp(1.8rem, 4vw, 3.4rem)/1 var(--f-display); text-transform: uppercase; color: var(--on-dark); }
.process-list_item.is--left small { display: block; font: 400 .62rem/1 var(--f-mono); letter-spacing: .22em; color: #7E93E8; margin-bottom: 10px; }
.process-list_item.is--right { font: 400 .98rem/1.6 var(--f-display); color: var(--on-dark-2); max-width: 30ch; }
@media (max-width: 860px) {
  .process-stage { grid-template-columns: 1fr; place-items: center; text-align: center; }
  .process-list_left, .process-list_right { width: 100%; min-height: 6em; }
  .process-list_item.is--left, .process-list_item.is--right { text-align: center; margin: 0 auto; }
  .process-lede { display: none; }
}

/* ============ pricing (dark) ============ */
.pricing { padding: clamp(90px, 14vh, 170px) var(--pad); background: var(--dark); color: var(--on-dark); }
.sec-head { max-width: 820px; }
.sec-head .eyebrow { color: var(--on-dark-2); }
.sec-head .eyebrow::before { content: attr(data-n); color: var(--acc); font-family: var(--f-mono); }
.sec-head h2 { font: 800 clamp(1.9rem, 4vw, 3.2rem)/1.05 var(--f-display); text-transform: uppercase; margin-top: 16px; }
.sec-head h2 em { font-family: var(--f-serif); font-style: italic; font-weight: 400; text-transform: none; color: #7E93E8; }
.sec-head > p { color: var(--on-dark-2); margin-top: 14px; }
.build0 { display: flex; align-items: center; gap: 22px; border: 1px solid var(--on-dark); padding: 20px 26px; margin-top: 44px; }
.build0 b { font: 800 clamp(2.2rem, 4.6vw, 3.4rem)/1 var(--f-display); color: var(--acc); }
.build0 span { color: var(--on-dark-2); font-size: .95rem; }
.build0 strong { color: var(--on-dark); }
.price-g { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(14px, 2vw, 28px); margin-top: 28px; }
.plan { position: relative; border: 1px solid var(--dark-line); padding: clamp(24px, 3vw, 38px); display: flex; flex-direction: column; transition: transform 0.3s ease-out, box-shadow 0.3s ease-out; }
.plan:hover { transform: scale(0.98); box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15); }
@media (prefers-reduced-motion: reduce) {
  .plan, .plan:hover { transform: scale(1); box-shadow: none; }
}
.plan.hot { border-color: var(--acc); }
.plan .tag { position: absolute; top: -1px; right: -1px; background: var(--acc); color: #fff; font: 500 .58rem/1 var(--f-mono); letter-spacing: .16em; text-transform: uppercase; padding: 7px 12px; }
.plan h3 { font: 700 1.1rem var(--f-display); text-transform: uppercase; letter-spacing: .04em; }
.amt { font: 800 clamp(2rem, 3.8vw, 2.9rem)/1 var(--f-display); margin-top: 12px; }
.amt small { font: 400 .75rem var(--f-mono); color: var(--on-dark-2); }
.for { font: 400 1.05rem var(--f-serif); font-style: italic; color: #7E93E8; margin-top: 8px; }
.plan ul { list-style: none; margin: 20px 0 26px; display: grid; gap: 10px; flex: 1; }
.plan ul li { padding-left: 20px; position: relative; color: var(--on-dark-2); font-size: .92rem; }
.plan ul li::before { content: "—"; position: absolute; left: 0; color: var(--acc); }
.plan .cbtn { align-self: stretch; }
.fine { font-size: .84rem; color: var(--on-dark-2); margin-top: 26px; max-width: 74ch; }
.fine em { color: var(--on-dark); }
@media (max-width: 860px) { .price-g { grid-template-columns: 1fr; } }

/* ============ faq (dark) ============ */
.faq-sec { padding: clamp(90px, 14vh, 170px) var(--pad); background: var(--dark); color: var(--on-dark); }
.faq { border-top: 1px solid var(--dark-line); margin-top: 44px; }
.faq details { border-bottom: 1px solid var(--dark-line); }
.faq summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 18px; padding: 22px 4px; font: 600 clamp(1rem, 1.6vw, 1.2rem)/1.4 var(--f-display); transition: color .3s var(--ez-ui); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: var(--f-mono); color: var(--acc); transition: rotate .4s var(--ez-ui); flex: none; }
.faq details[open] summary::after { rotate: 45deg; }
.faq summary:hover { color: #7E93E8; }
.faq details p { color: var(--on-dark-2); padding: 0 4px 24px; max-width: 74ch; }

/* ============ contact (dark) ============ */
.contact { padding: clamp(90px, 14vh, 150px) var(--pad) clamp(60px, 8vh, 100px); background: var(--dark); color: var(--on-dark); }
.con-g { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(32px, 5vw, 80px); align-items: start; }
.con-side h2 { font: 800 clamp(1.9rem, 3.8vw, 3rem)/1.05 var(--f-display); text-transform: uppercase; margin-top: 16px; }
.con-side h2 em { font-family: var(--f-serif); font-style: italic; font-weight: 400; text-transform: none; color: #7E93E8; }
.con-side > p { color: var(--on-dark-2); margin-top: 14px; max-width: 46ch; }
.con-mark { margin: 36px 0; width: clamp(90px, 10vw, 140px); animation: markspin 14s linear infinite; transform-style: preserve-3d; }
@keyframes markspin { from { transform: rotateY(0); } to { transform: rotateY(360deg); } }
.chan { list-style: none; margin-top: 10px; display: grid; gap: 8px; }
.chan a { display: flex; align-items: center; gap: 16px; text-decoration: none; padding: 13px 0; border-bottom: 1px solid var(--dark-line); }
.chan i { font: 400 .58rem/1 var(--f-mono); font-style: normal; letter-spacing: .2em; color: #7E93E8; width: 44px; flex: none; }

/* A1: Link Underline ScaleX Reveal (footer underline links).
   Underline lives on a pseudo-element — scaling the anchor itself would collapse the text. */
[data-underline-link] {
  position: relative;
  opacity: .85;
  transition: opacity .3s var(--ez-ui);
}

[data-underline-link]::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 2px;
  background: var(--on-dark);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform .735s var(--ez-ui);
}

[data-underline-link]:hover { opacity: 1; }
[data-underline-link]:hover::after { transform: scaleX(1); }

@media (prefers-reduced-motion: reduce) {
  [data-underline-link],
  [data-underline-link]::after { transition: none; }
}

form.lead { border: 1px solid var(--on-dark-2); padding: clamp(22px, 3vw, 38px); position: relative; }
form.lead::before { content: "FOG // NEW PROJECT INTAKE"; display: block; font: 400 .6rem/1 var(--f-mono); letter-spacing: .22em; color: #7E93E8; margin-bottom: 22px; }
.fstep-label { font: 400 .62rem/1 var(--f-mono); letter-spacing: .2em; text-transform: uppercase; color: var(--on-dark-2); margin-bottom: 16px; }
fieldset { border: 0; }
legend { font: 700 1.1rem var(--f-display); margin-bottom: 16px; }
.fgrid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.fgrid .full { grid-column: 1 / -1; }
.fl { display: block; font: 400 .6rem/1 var(--f-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--on-dark-2); margin-bottom: 7px; }
.fi { width: 100%; border: 1px solid var(--dark-line); background: var(--dark-2); color: var(--on-dark); font: 400 1.05rem var(--f-mono); padding: 13px 14px; transition: border-color .25s; }
.fi::placeholder { color: #8B8A93; }
.fi:focus { border-color: var(--acc); outline: none; }
textarea.fi { min-height: 92px; resize: vertical; }
.pills { display: flex; flex-wrap: wrap; gap: 8px; }
.pills input { position: absolute; opacity: 0; pointer-events: none; }
.pills label { border: 1px solid var(--dark-line); padding: 9px 15px; font: 400 .8rem var(--f-mono); cursor: pointer; transition: all .25s var(--ez-ui); }
.pills input:checked + label { background: var(--on-dark); color: var(--dark); border-color: var(--on-dark); }
.pills input:focus-visible + label { outline: 2px solid var(--acc); outline-offset: 2px; }
.fnav { display: flex; gap: 14px; margin-top: 24px; align-items: center; }
.fback { background: none; border: 0; font: 500 .85rem var(--f-mono); color: var(--on-dark-2); cursor: pointer; }
.fmsg { margin-top: 16px; font-size: .95rem; }
.fmsg.ok { color: #8FA5F5; font-weight: 600; }
.fmsg.err { color: #F58F8F; font-weight: 600; }
.fmsg a { color: inherit; }
.fnote { font-size: .74rem; color: var(--on-dark-2); margin-top: 18px; }
.fnote a { color: var(--on-dark); }
.hpx { position: absolute; left: -9999px; }
@media (max-width: 900px) { .con-g { grid-template-columns: 1fr; } .fgrid { grid-template-columns: 1fr; } }

/* ============ footer ============ */
.ft { background: var(--dark); border-top: 1px solid var(--dark-line); padding: 26px var(--pad) 90px; display: flex; justify-content: space-between; gap: 12px 28px; flex-wrap: wrap; font: 400 .72rem/1.9 var(--f-mono); color: var(--on-dark-2); }
.ft a { color: var(--on-dark); text-decoration: underline; text-underline-offset: 3px; }
.ft a:hover { text-decoration: underline; }
@media (min-width: 761px) { .ft { padding-bottom: 34px; } }

/* ============ sticky mobile bar ============ */
.abar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 70; display: none; grid-template-columns: 1fr 1fr 1.4fr; background: var(--dark); border-top: 1px solid var(--dark-line); padding-bottom: env(safe-area-inset-bottom); }
.abar a { display: grid; place-content: center; min-height: 54px; color: var(--on-dark); text-decoration: none; font: 600 .9rem var(--f-display); }
.abar a + a { border-left: 1px solid var(--dark-line); }
.abar .go { background: var(--acc); color: #fff; }
@media (max-width: 760px) { .abar { display: grid; } }

/* ============ thanks page ============ */
.tk { min-height: 80svh; display: grid; place-content: center; text-align: center; padding: 60px var(--pad); }
.tk h1 { font: 800 clamp(2rem, 5vw, 3.4rem)/1.05 var(--f-display); text-transform: uppercase; margin: 18px 0 14px; }
.tk h1 em, .tk .free { font-family: var(--f-serif); font-style: italic; font-weight: 400; text-transform: none; color: var(--acc-text); }
.tk p { color: var(--ink-2); max-width: 48ch; margin: 0 auto 26px; }
.tk .eyebrow { justify-content: center; }
.btn, .btn-acc, .btn-ghost { display: inline-flex; align-items: center; gap: 10px; font: 600 .95rem/1 var(--f-display); text-decoration: none; border: 1px solid var(--ink); padding: 14px 24px; cursor: pointer; }
.btn-acc { background: var(--acc); border-color: var(--acc); color: #fff; }
.btn-ghost { background: transparent; color: inherit; }

/* ============ reveal defaults (JS-gated) ============ */
.js [data-reveal="true"] { opacity: 0; }
.js [data-reveal="true"].revealed, html:not(.js) [data-reveal="true"] { opacity: 1; }
.js [data-split] { visibility: hidden; }
.js [data-split].split-ready, html:not(.js) [data-split] { visibility: visible; }
.split-line { overflow: hidden; display: block; }
[data-current-time], [data-current-date] { font-feature-settings: "tnum"; font-variant-numeric: tabular-nums; }

/* ============ reduced motion / static ============ */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js [data-reveal="true"], .js [data-split] { opacity: 1; visibility: visible; }
  .intro { height: auto; } .intro-stage { position: static; height: auto; padding: 100px 0 40px; }
  .intro-cyl { height: auto; perspective: none; }
  .intro-strip { aspect-ratio: auto; display: flex; flex-direction: column; gap: 10px; transform: none !important; }
  .intro-strip.cyl { width: min(260px, 70vw); }
  .intro-strip .intro-tile { position: relative; inset: auto; transform: none !important; aspect-ratio: 3/4; opacity: 1 !important; filter: none !important; }
  .hwords { height: auto; } .hwords-stage { position: static; height: auto; padding: 15vh 0; }
  .hwords-text { white-space: normal; font-size: clamp(2.4rem, 8vw, 6rem); text-align: center; }
  .pin-height { height: auto; } .process-stage { position: static; height: auto; padding: 12vh 0; }
  .process-list_item { position: static; opacity: 1 !important; visibility: visible !important; margin-top: 22px; }
  .tick-in { animation: none !important; flex-wrap: wrap; width: auto; }
}
html.static .intro { height: auto; } html.static .intro-stage { position: static; height: auto; padding: 100px 0 40px; }
html.static .intro-cyl { height: auto; perspective: none; }
html.static .intro-strip { aspect-ratio: auto; display: flex; flex-direction: column; gap: 10px; transform: none !important; }
html.static .intro-strip.cyl { width: min(260px, 70vw); }
html.static .intro-strip .intro-tile { position: relative; inset: auto; transform: none !important; aspect-ratio: 3/4; opacity: 1 !important; filter: none !important; }
html.static .hwords { height: auto; } html.static .hwords-stage { position: static; height: auto; padding: 10vh 0; }
html.static .hwords-text { white-space: normal; font-size: clamp(2.4rem, 8vw, 6rem); text-align: center; }
html.static .pin-height { height: auto; } html.static .process-stage { position: static; height: auto; padding: 10vh 0; }
html.static .process-list_item { position: static; opacity: 1 !important; visibility: visible !important; margin-top: 22px; }
html.static [data-reveal="true"], html.static [data-split] { opacity: 1 !important; visibility: visible !important; }

/* ============ v4: custom cursor ============ */
.cur { display: none; opacity: 0; transition: opacity .25s linear; } /* hidden until first pointer move — otherwise parks at 0,0 */
.cur.is-on { opacity: 1; }
@media (pointer: fine) {
  .cur { display: block; position: fixed; inset: 0; pointer-events: none; z-index: 999; }
  .cur i { position: absolute; top: 0; left: 0; border-radius: 50%; will-change: transform; }
  .cur-dot { width: 8px; height: 8px; background: var(--acc); margin: -4px 0 0 -4px; }
  .cur-ring { width: 34px; height: 34px; border: 1.5px solid #fff; mix-blend-mode: difference; margin: -17px 0 0 -17px; transition: width .3s var(--ez-ui), height .3s var(--ez-ui), margin .3s var(--ez-ui); }
  .cur.is-link .cur-ring { width: 56px; height: 56px; margin: -28px 0 0 -28px; }
}

/* ============ v4: capability wall ============ */
.capwall { padding: clamp(70px, 10vh, 120px) var(--pad); }
.capwall .eyebrow { justify-content: center; margin-bottom: 34px; }
.capgrid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; max-width: 1100px; margin: 0 auto; }
.cap { position: relative; height: 66px; border: 1px solid var(--line); background: var(--paper, #FAF9F6); overflow: hidden; perspective: 400px; }

/* Cap text spans: initial and incoming */
.cap-text-out,
.cap-text-in {
  position: absolute;
  inset: 0;
  display: grid;
  place-content: center;
  font: 500 .72rem/1 var(--f-mono);
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--ink-2);
  backface-visibility: hidden;
  will-change: transform;
  perspective: var(--cap-flip-perspective);
  transform-style: preserve-3d;
}

.cap-text-out b,
.cap-text-in b {
  color: var(--acc-text);
  font-weight: 500;
}

/* Reduced motion: disable flip */
@media (prefers-reduced-motion: reduce) {
  .cap-text-out,
  .cap-text-in {
    transform: none !important;
  }
}

html.static .cap-text-out,
html.static .cap-text-in {
  transform: none !important;
}

@media (max-width: 860px) { .capgrid { grid-template-columns: repeat(2, 1fr); } .cap { height: 54px; } }

/* ============ v4: voice feature carousel ============ */
.fvoice { background: var(--dark); color: var(--on-dark); padding: clamp(90px, 14vh, 170px) 0 clamp(40px, 6vh, 80px); overflow: clip; }
.fvoice .wrap { padding-inline: var(--pad); }
.cyl-stage { height: 460px; display: grid; place-items: center; perspective: 1400px; margin-top: clamp(30px, 5vh, 60px); cursor: grab; }
.cyl-stage:active { cursor: grabbing; }
.cyl { position: relative; width: 260px; height: 340px; transform-style: preserve-3d; will-change: transform; }
.fcard { position: absolute; inset: 0; border: 1px solid var(--dark-line); background: var(--dark-2); padding: 22px; display: flex; flex-direction: column; gap: 10px; backface-visibility: hidden; transition: clip-path .4s var(--ez-ui); }
.fcard i { font: 400 .58rem/1 var(--f-mono); letter-spacing: .2em; color: #7E93E8; font-style: normal; }
.fcard h3 { font: 800 1.15rem/1.15 var(--f-display); text-transform: uppercase; letter-spacing: .01em; }
.fcard p { font-size: .82rem; color: var(--on-dark-2); flex: 1; }
.fcard b { font: 500 .68rem/1 var(--f-mono); color: var(--on-dark); }
.fcard:hover { clip-path: inset(4%); }
.cyl-hint { text-align: center; padding-inline: var(--pad); margin-top: 20px; }
@media (max-width: 700px) { .cyl-stage { height: 400px; perspective: 1100px; } .cyl { width: 220px; height: 300px; } }

/* ============ v4: journey narrative ============ */
.journey { background: var(--dark); color: var(--on-dark); }
.j-pin { height: 400svh; position: relative; }
.j-stage { position: sticky; top: 0; height: 100svh; overflow: hidden; display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: clamp(20px, 4vw, 80px); padding: 0 var(--pad); }
.j-left { position: relative; min-height: 14em; }
.j-step { position: absolute; inset: 0; display: grid; align-content: center; gap: 12px; opacity: 0; visibility: hidden; }
.j-step small { font: 400 .62rem/1 var(--f-mono); letter-spacing: .22em; color: #7E93E8; }
.j-step h3 { font: 800 clamp(1.8rem, 4vw, 3.2rem)/1 var(--f-display); text-transform: uppercase; }
.j-step p { color: var(--on-dark-2); max-width: 38ch; }
.j-right { position: relative; height: min(60vh, 480px); }
.j-vis { position: absolute; inset: 0; display: grid; place-items: center; opacity: 0; visibility: hidden; will-change: transform; }
.jv-hero, .jv-chat, .jv-card, .jv-proof { border: 1px solid var(--dark-line); background: var(--dark-2); }
.jv-hero { padding: 34px; display: grid; gap: 8px; width: min(85%, 360px); }
.jv-hero b { font: 800 1.5rem/1.05 var(--f-display); }
.jv-acc { font-family: var(--f-serif) !important; font-style: italic; font-weight: 400 !important; color: #7E93E8; }
.jv-btn { display: inline-block; background: var(--acc); color: #fff; font: 600 .62rem/1 var(--f-mono); letter-spacing: .14em; padding: 10px 16px; width: fit-content; margin-top: 10px; }
.jv-ghost { background: transparent; border: 1px solid var(--dark-line); color: var(--on-dark); }
.jv-bar { position: absolute; top: 12%; left: 10%; right: 10%; height: 6px; background: var(--dark-line); overflow: hidden; }
.jv-bar::after { content: ""; position: absolute; inset: 0; background: var(--acc); transform-origin: left; animation: jvload 1.2s var(--ez-ui) infinite; }
@keyframes jvload { 0% { transform: scaleX(0); } 60%, 100% { transform: scaleX(1); } }
.jv-proof { padding: 12px 18px; font: 400 .72rem/1 var(--f-mono); color: var(--on-dark-2); position: absolute; top: 18%; }
.jv-cta-row { display: flex; gap: 8px; }
.jv-chat { padding: 24px; display: grid; gap: 10px; width: min(85%, 340px); }
.jv-in, .jv-out { font: 400 .95rem/1.5 var(--f-serif); }
.jv-out { color: #AFC0F2; }
.jv-tag { font: 400 .56rem/1 var(--f-mono); letter-spacing: .18em; color: var(--on-dark-2); }
.jv-card { padding: 28px 34px; display: grid; gap: 6px; position: relative; }
.jv-card b { font: 800 1.2rem var(--f-display); }
.jv-card span { font: 400 .62rem/1 var(--f-mono); letter-spacing: .16em; color: var(--on-dark-2); }
.jv-check { position: absolute; top: -14px; right: -14px; width: 34px; height: 34px; border-radius: 50%; background: var(--acc); color: #fff; display: grid; place-content: center; font-style: normal; }
@media (max-width: 860px) { .j-stage { grid-template-columns: 1fr; align-content: center; gap: 24px; } .j-right { height: 34vh; } .j-left { min-height: 11em; } }

/* ============ v4: proof wall ============ */
.proof { background: var(--dark); color: var(--on-dark); padding: clamp(90px, 14vh, 170px) var(--pad); }
.proof-g { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--dark-line); border: 1px solid var(--dark-line); margin-top: 48px; }
.proof .stat { background: var(--dark); padding: clamp(20px, 2.6vw, 36px); display: grid; gap: 10px; align-content: start; }
.proof .stat b { font: 800 clamp(2rem, 3.8vw, 3.2rem)/1 var(--f-display); color: var(--acc); letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.proof .stat span { color: var(--on-dark-2); font-size: .88rem; }
.proof .stat i { font: 400 .52rem/1.5 var(--f-mono); letter-spacing: .14em; color: #A8A6A0; font-style: normal; margin-top: auto; }
@media (max-width: 1000px) { .proof-g { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .proof-g { grid-template-columns: 1fr; } }

/* ============ v4: demo lightbox ============ */
.demo { border: 1px solid var(--dark-line); background: var(--dark); color: var(--on-dark); padding: 0; max-width: min(92vw, 900px); width: 100%; }
.demo::backdrop { background: rgba(5, 5, 8, .8); backdrop-filter: blur(8px); }
.demo-x { position: absolute; top: 10px; right: 10px; z-index: 2; background: none; border: 1px solid var(--dark-line); color: var(--on-dark); width: 40px; height: 40px; font-size: 1.2rem; cursor: pointer; }
.demo-stage { position: relative; aspect-ratio: 16/9; overflow: hidden; }
.dm { position: absolute; inset: 0; display: grid; place-items: center; opacity: 0; animation: dmcycle 16s infinite; }
.dm-1 { animation-delay: 0s; } .dm-2 { animation-delay: 4s; } .dm-3 { animation-delay: 8s; } .dm-4 { animation-delay: 12s; }
@keyframes dmcycle { 0%, 22% { opacity: 1; } 25%, 97% { opacity: 0; } 100% { opacity: 1; } }
.dm-cap { position: absolute; top: 18px; left: 22px; font: 400 .62rem/1 var(--f-mono); letter-spacing: .22em; color: #7E93E8; }
.dm-page { width: min(70%, 480px); aspect-ratio: 16/10; border: 1px solid var(--dark-line); background: var(--dark-2); display: grid; place-content: center; gap: 8px; position: relative; }
.dm-h { font: 800 clamp(1.2rem, 3vw, 2rem)/1.05 var(--f-display); text-transform: uppercase; text-align: center; }
.dm-acc { font-family: var(--f-serif); font-style: italic; font-weight: 400; text-transform: none; color: #7E93E8; }
.dm-cursorline { width: 40%; height: 3px; background: var(--acc); animation: dmtype 2s var(--ez-ui) infinite; }
@keyframes dmtype { 0% { transform: scaleX(0); transform-origin: left; } 70%, 100% { transform: scaleX(1); } }
.dm-3 .dm-page { grid-auto-flow: column; gap: 10px; }
.dm-btn { border: 1px solid var(--dark-line); padding: 12px 18px; font: 600 .62rem/1 var(--f-mono); letter-spacing: .14em; }
.dm-solid { background: var(--acc); border-color: var(--acc); color: #fff; }
.dm-ping { position: absolute; top: 14px; right: 14px; width: 10px; height: 10px; border-radius: 50%; background: var(--acc); animation: blink 1s infinite both; }
.dm-check { width: 54px; height: 54px; border-radius: 50%; background: var(--acc); color: #fff; display: grid; place-content: center; font-size: 1.4rem; margin: 0 auto; }

/* ============ v4: 3D F + time widget ============ */
.f3d-wrap { margin: 36px 0; perspective: 800px; width: fit-content; }
.f3d { width: clamp(100px, 11vw, 150px); height: clamp(100px, 11vw, 150px); position: relative; transform-style: preserve-3d; animation: f3dspin 16s linear infinite; }
.f3d-l { position: absolute; inset: 0; }
.f3d-l:nth-child(1) { transform: translateZ(-14px); }
.f3d-l:nth-child(2) { transform: translateZ(-7px); }
.f3d-l:nth-child(3) { transform: translateZ(0); }
@keyframes f3dspin { from { transform: rotateY(0) rotateX(8deg); } to { transform: rotateY(360deg) rotateX(8deg); } }
.hq-dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: #4ADE80; margin-right: 4px; vertical-align: baseline; }
.hq-dot.closed { background: #F5B84F; }

/* v4 scramble */
[data-scramble] { display: inline-block; min-width: 2ch; }

/* ============ products page (pr- namespace) ============ */
.pr-hero { background: var(--bg); color: var(--ink); }
.pr-hero .grad-blob { bottom: -20%; left: -15%; }

html:not(.js) .pr-filter-sec { display: none; } /* filter/search is JS-only; without JS all cards show */
.pr-filter-sec { padding: clamp(40px, 6vh, 80px) var(--pad); background: var(--bg); color: var(--ink); border-bottom: 1px solid var(--line); }
.pr-filter { display: flex; flex-wrap: wrap; gap: clamp(16px, 3vw, 40px); align-items: flex-start; margin-bottom: 16px; }
.pr-pills { display: flex; flex-wrap: wrap; gap: 8px; }
.pr-pill { background: var(--bg-2); border: 1px solid var(--line); color: var(--ink); font: 500 .75rem/1 var(--f-mono); letter-spacing: .12em; text-transform: uppercase; padding: 10px 16px; border-radius: 999px; cursor: pointer; transition: all .25s var(--ez-ui); }
.pr-pill:hover { background: var(--ink); color: var(--bg); }
.pr-pill-active { background: var(--ink); color: var(--bg); border-color: var(--ink); }
@media (prefers-reduced-motion: reduce) { .pr-pill { transition: none; } }

.pr-search { position: relative; flex: 1; min-width: 240px; }
.pr-search input { width: 100%; border: 1px solid var(--line); background: var(--bg-2); color: var(--ink); font: 400 1rem var(--f-display); padding: 12px 14px 12px 40px; border-radius: 2px; transition: border-color .25s; }
.pr-search input::placeholder { color: var(--ink-2); }
.pr-search input:focus { border-color: var(--acc); outline: none; }
.pr-search svg { position: absolute; width: 20px; height: 20px; left: 12px; top: 50%; transform: translateY(-50%); pointer-events: none; stroke: var(--ink-2); }

.pr-count { font: 500 .75rem/1 var(--f-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--ink-2); }

.pr-grid-sec { padding: clamp(60px, 10vh, 120px) var(--pad); background: var(--bg); }
.pr-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: clamp(20px, 3vw, 40px); }
.pr-card { position: relative; display: flex; flex-direction: column; gap: 12px; padding: clamp(24px, 3vw, 32px); border: 1px solid var(--line); background: #fff; border-radius: 2px; transition: all .3s var(--ez-ui); }
.pr-card:hover { transform: translateY(-2px); box-shadow: 0 4px 12px rgba(0, 0, 0, .08); }
@media (prefers-reduced-motion: reduce) { .pr-card, .pr-card:hover { transform: none; box-shadow: none; transition: none; } }

.pr-icon { width: 44px; height: 44px; margin-bottom: 8px; }
.pr-icon svg { width: 100%; height: 100%; color: var(--acc); }

.pr-card h3 { font: 700 clamp(1rem, 1.8vw, 1.3rem)/1.2 var(--f-display); text-transform: uppercase; letter-spacing: .01em; color: var(--ink); }
.pr-tagline { font: 400 .95rem/1.4 var(--f-display); color: var(--ink-2); }
.pr-bullets { list-style: none; margin: 8px 0 0; padding: 0; display: grid; gap: 6px; }
.pr-bullets li { font: 400 .88rem/1.5 var(--f-display); color: var(--ink-2); padding-left: 16px; position: relative; }
.pr-bullets li::before { content: "—"; position: absolute; left: 0; color: var(--acc); }

.pr-footer { margin-top: auto; padding-top: 12px; border-top: 1px solid var(--line); display: flex; flex-direction: column; gap: 12px; }
.pr-price { font: 700 .9rem/1 var(--f-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--acc); margin: 0; }
.pr-cta { width: 100%; }

.pr-closing { padding: clamp(80px, 12vh, 140px) var(--pad); background: var(--bg); }
.pr-closing-head { font: 800 clamp(1.9rem, 4vw, 3.2rem)/1.05 var(--f-display); text-transform: uppercase; margin-top: 16px; color: var(--ink); }

.pr-contact { background: var(--dark); }

.pr-service-chip { display: none; align-items: center; gap: 12px; padding: 10px 14px; background: var(--dark-2); border: 1px solid var(--acc); border-radius: 999px; font: 500 .85rem/1 var(--f-display); color: var(--on-dark); }
.pr-service-chip button { background: none; border: 0; color: var(--on-dark-2); cursor: pointer; font-size: 1.2rem; padding: 0; }
.pr-service-chip button:hover { color: var(--on-dark); }

@media (max-width: 760px) {
  .pr-grid { grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); }
  .pr-filter { flex-direction: column; gap: 12px; }
  .pr-search { min-width: auto; }
}

/* ============ v4 reduced-motion additions */
@media (prefers-reduced-motion: reduce) {
  .cur { display: none !important; }
  .j-pin { height: auto; } .j-stage { position: static; height: auto; padding: 12vh var(--pad); }
  .j-step, .j-vis { position: static; opacity: 1 !important; visibility: visible !important; margin-top: 20px; }
  .cyl { width: auto; height: auto; transform: none !important; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 12px; }
  .fcard { position: static; }
  .cyl-stage { height: auto; perspective: none; }
  .f3d { animation: none; }
  .dm { animation: none; } .dm-1 { opacity: 1; }
}
html.static .j-pin { height: auto; } html.static .j-stage { position: static; height: auto; padding: 10vh var(--pad); }
html.static .j-step, html.static .j-vis { position: static; opacity: 1 !important; visibility: visible !important; margin-top: 20px; }
html.static .cyl { width: auto; height: auto; transform: none !important; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 12px; }
html.static .fcard { position: static; } html.static .cyl-stage { height: auto; perspective: none; }

/* ============ mobile pinned-section overrides — MUST stay last: the ≤768
   block near the top of the file loses the cascade to component rules
   declared after it (same specificity, later wins) ============ */
@media (max-width: 768px) {
  .hwords { height: auto; }
  .hwords-stage { position: static; height: auto; min-height: 60svh; padding: 60px var(--pad); overflow: visible; display: grid; align-items: center; }
  .hwords-wrap { transform: none !important; }
  .hwords-text { white-space: normal; text-align: center; font-size: clamp(2rem, 9vw, 3.4rem); line-height: 1.15; }
  .pin-height { height: auto; }
  .process-stage { position: relative; height: auto; grid-template-columns: 1fr; gap: 20px; padding: 70px var(--pad) 40px; }
  .process-kicker { position: static; margin-bottom: 8px; }
  .process-list_left, .process-list_right { position: relative; min-height: auto; }
  .process-list_item { position: relative; inset: auto; opacity: 1 !important; visibility: visible !important; margin-top: 28px; }
  .process-list_item.is--left, .process-list_item.is--right { text-align: center; margin-left: auto; margin-right: auto; }
  .process-list_right { counter-reset: pstep; }
  .process-list_item.is--right { counter-increment: pstep; }
  .process-list_item.is--right::before { content: "step 0" counter(pstep); display: block; font: 400 .62rem/1 var(--f-mono); letter-spacing: .22em; text-transform: uppercase; color: #7E93E8; margin-bottom: 6px; }
}

/* mid-page conversion band (after the Voice feature set) */
.midcta { text-align: center; padding: clamp(30px, 6vh, 70px) var(--pad) clamp(50px, 8vh, 90px); display: flex; flex-direction: column; align-items: center; gap: 16px; }
.midcta p { font: 400 clamp(1.05rem, 1.8vw, 1.35rem)/1.5 var(--f-serif); color: var(--on-dark-2); max-width: 44ch; }
.midcta .plain { color: #B9BDD4; font: 500 .78rem/1 var(--f-mono); letter-spacing: .04em; }
