/* Axsys Solutions · Blog / Case studies
   Theme taken from axsyssolutions.com: #181818 page, #0f0f0f footer, Overused Grotesk,
   JetBrains Mono labels, uppercase nav, thin white rules, pill buttons. */

@font-face { font-family: 'Overusedgrotesk'; src: url('https://cdn.prod.website-files.com/6721f3bc32b7872d325626ab/6811705b41a77430da45b644_OverusedGrotesk-Light.ttf') format('truetype'); font-weight: 300; font-display: swap; }
@font-face { font-family: 'Overusedgrotesk'; src: url('https://cdn.prod.website-files.com/6721f3bc32b7872d325626ab/6811705b29aacfbe04ce5ca4_OverusedGrotesk-Book.ttf') format('truetype'); font-weight: 400; font-display: swap; }
@font-face { font-family: 'Overusedgrotesk'; src: url('https://cdn.prod.website-files.com/6721f3bc32b7872d325626ab/6811705b045234e62e9d96e5_OverusedGrotesk-Medium.ttf') format('truetype'); font-weight: 500; font-display: swap; }
@font-face { font-family: 'Overusedgrotesk'; src: url('https://cdn.prod.website-files.com/6721f3bc32b7872d325626ab/6811705b29aacfbe04ce5ce8_OverusedGrotesk-SemiBold.ttf') format('truetype'); font-weight: 600; font-display: swap; }
@font-face { font-family: 'Overusedgrotesk'; src: url('https://cdn.prod.website-files.com/6721f3bc32b7872d325626ab/6811705b3be9cc156dbdc836_OverusedGrotesk-Bold.ttf') format('truetype'); font-weight: 700; font-display: swap; }
@font-face { font-family: 'Jetbrainsmono'; src: url('https://cdn.prod.website-files.com/6721f3bc32b7872d325626ab/683db6264c3282a4d6944325_JetBrainsMono%5Bwght%5D.ttf') format('truetype'); font-weight: 100 800; font-display: swap; }

:root {
  --bg: #181818;
  --bg-deep: #0f0f0f;
  --panel: #1e1e1e;
  --panel-2: #232323;
  --line: rgba(255, 255, 255, .14);
  --line-2: rgba(255, 255, 255, .28);
  --rule: rgba(255, 255, 255, .75);
  --text: #ffffff;
  --text-2: #eaeaea;
  --body: #cfcfcf;
  --muted: #8f8f8f;
  --heat: #ff9a4a;
  --cool: #9fc3d6;
  --pad: 40px;
  --nav-h: 76px;
  --ease: cubic-bezier(.16, 1, .3, 1);
  --f-sans: 'Overusedgrotesk', 'Helvetica Neue', Arial, sans-serif;
  --f-mono: 'Jetbrainsmono', ui-monospace, Menlo, Consolas, monospace;
  --fs-body: 18px;
  --fs-lead: clamp(20px, 1.55vw, 24px);
  --fs-beat: clamp(24px, 2.3vw, 36px);
  --fs-h2: clamp(40px, 5vw, 84px);
  --fs-statement: clamp(34px, 4.4vw, 74px);
  --fs-display: clamp(50px, 8.2vw, 148px);
  --sec: clamp(96px, 11vw, 190px);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font-family: var(--f-sans); font-weight: 300; font-size: 16px; line-height: 1.6;
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
  overflow-x: clip; text-rendering: optimizeLegibility;
}
img { display: block; max-width: 100%; vertical-align: baseline; }
/* Webflow's base CSS resets these; restore the browser defaults the approved pages were designed on */
p { margin: 1em 0; }
figure { margin: 1em 40px; }
figcaption { margin-top: 0; }
h3, h4, h5, h6 { line-height: inherit; }
svg.corner__svg, svg.radius-gauge { overflow: visible; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
::selection { background: #fff; color: #111; }
:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }

.mono { font-family: var(--f-mono); font-size: 12px; font-weight: 400; letter-spacing: .14em; text-transform: uppercase; }
.muted { color: var(--muted); }
.pad { padding-left: var(--pad); padding-right: var(--pad); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Nav (matches the live site) ---------- */
.nav { position: fixed; inset: 0 0 auto 0; z-index: 90; padding: 0 var(--pad); transition: transform .6s var(--ease), background-color .4s; }
.nav__bar { display: grid; grid-template-columns: 1fr 1fr 1fr auto; align-items: center; height: var(--nav-h); border-bottom: 1px solid var(--rule); }
.nav__logo img { width: 178px; height: auto; }
.nav__link { justify-self: start; padding-left: 40px; font-weight: 500; font-size: 15px; letter-spacing: .01em; text-transform: uppercase; position: relative; }
.nav__link::after { content: ""; position: absolute; left: 40px; right: 0; bottom: -4px; height: 1px; background: #fff; transform: scaleX(0); transform-origin: right; transition: transform .5s var(--ease); }
.nav__link:hover::after, .nav__link[aria-current]::after { transform: scaleX(1); transform-origin: left; }
.nav__burger { width: 26px; height: 20px; display: grid; align-content: space-between; }
.nav__burger span { display: block; height: 1.5px; background: #fff; transition: transform .5s var(--ease), opacity .3s; }
.nav.is-scrolled { background: rgba(15, 15, 15, .72); -webkit-backdrop-filter: blur(16px) saturate(1.2); backdrop-filter: blur(16px) saturate(1.2); }
.nav.is-scrolled .nav__bar { border-bottom-color: var(--line); }
.nav.is-hidden { transform: translateY(-100%); }

.progress { position: fixed; top: 0; left: 0; right: 0; height: 2px; z-index: 95; pointer-events: none; }
.progress span { display: block; height: 100%; background: #fff; transform-origin: left; transform: scaleX(0); }

.chapter-pill { position: fixed; left: 50%; top: 18px; z-index: 80; display: flex; align-items: center; gap: 12px;
  padding: 10px 16px 10px 12px; border: 1px solid var(--line-2); border-radius: 2rem; background: rgba(15, 15, 15, .72);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); opacity: 0; transform: translate(-50%, -14px); transition: opacity .5s, transform .6s var(--ease); pointer-events: none; white-space: nowrap; }
.chapter-pill.is-on { opacity: 1; transform: translate(-50%, 0); }
.chapter-pill__dot { width: 8px; height: 8px; border-radius: 50%; background: #fff; box-shadow: 0 0 12px rgba(255,255,255,.7); }
.chapter-pill__text { display: inline-block; min-width: 10ch; }

/* ---------- Menu overlay ---------- */
.menu { position: fixed; inset: 0; z-index: 120; background: var(--bg-deep); display: grid; grid-template-rows: auto 1fr auto; padding: 0 var(--pad) 40px;
  clip-path: inset(0 0 100% 0); transition: clip-path .9s var(--ease); visibility: hidden; }
.menu.is-open { clip-path: inset(0 0 0 0); visibility: visible; }
.menu__top { display: flex; justify-content: space-between; align-items: center; height: var(--nav-h); border-bottom: 1px solid var(--line); }
.menu__close { font-family: var(--f-mono); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; padding: 10px 18px; border: 1px solid var(--line-2); border-radius: 2rem; }
.menu__list { list-style: none; margin: 0; padding: 6vh 0 0; display: grid; align-content: start; gap: .2em; }
.menu__list a { display: inline-flex; align-items: baseline; gap: 18px; font-size: clamp(38px, 6vw, 92px); font-weight: 300; line-height: 1.05; letter-spacing: -.03em; transition: color .3s, transform .6s var(--ease); }
.menu__list a .mono { font-size: 12px; color: var(--muted); letter-spacing: .14em; transform: translateY(-1.4em); }
.menu__list a:hover { transform: translateX(14px); }
.menu__list li { overflow: hidden; }
.menu__list li > a { transform: translateY(110%); transition: transform 1s var(--ease); }
.menu.is-open .menu__list li > a { transform: translateY(0); }
.menu.is-open .menu__list li:nth-child(2) > a { transition-delay: .05s; }
.menu.is-open .menu__list li:nth-child(3) > a { transition-delay: .1s; }
.menu.is-open .menu__list li:nth-child(4) > a { transition-delay: .15s; }
.menu.is-open .menu__list li:nth-child(5) > a { transition-delay: .2s; }
.menu.is-open .menu__list li:nth-child(6) > a { transition-delay: .25s; }
.menu__foot { display: flex; flex-wrap: wrap; gap: 12px 40px; color: var(--body); font-size: 15px; border-top: 1px solid var(--line); padding-top: 22px; }

/* ---------- Shared text system ---------- */
.eyebrow { display: inline-flex; align-items: center; gap: 12px; color: var(--text-2); }
.eyebrow::before { content: ""; width: 28px; height: 1px; background: currentColor; }
.sec-head { display: flex; align-items: center; gap: 14px; color: var(--muted); margin-bottom: 28px; }
.sec-head b { font-weight: 400; color: #fff; }
.sec-head i { flex: 0 0 48px; height: 1px; background: var(--line-2); }
h1, h2, h3, h4 { margin: 0; font-weight: 400; letter-spacing: -.03em; color: #fff; }
.h2 { font-size: var(--fs-h2); line-height: .98; letter-spacing: -.035em; }
.h3 { font-size: clamp(26px, 2.6vw, 42px); line-height: 1.08; letter-spacing: -.025em; }
.statement { font-size: var(--fs-statement); line-height: 1.04; letter-spacing: -.035em; font-weight: 400; max-width: 18ch; }
.statement.wide { max-width: 24ch; }
.lead { font-size: var(--fs-lead); line-height: 1.5; color: var(--text-2); }
.prose { max-width: 660px; font-size: var(--fs-body); line-height: 1.68; color: var(--body); }
.prose p { margin: 0 0 1.15em; }
.prose p:last-child { margin-bottom: 0; }
.beat { font-size: var(--fs-beat); line-height: 1.22; letter-spacing: -.02em; color: #fff; font-weight: 400; margin: 1.1em 0; }
.beat:first-child { margin-top: 0; }
.kicker { font-size: var(--fs-beat); line-height: 1.2; letter-spacing: -.02em; color: #fff; font-weight: 400; margin-top: 1.2em; display: flex; gap: 14px; align-items: baseline; }
.kicker::before { content: "→"; color: var(--muted); font-size: .8em; }
.formula { font-family: var(--f-mono); font-size: clamp(13px, 1.05vw, 15px); letter-spacing: .08em; text-transform: uppercase; color: #fff; display: flex; flex-wrap: wrap; gap: 10px 14px; align-items: center; margin: 1.6em 0; }
.formula span { padding: 9px 16px; border: 1px solid var(--line-2); border-radius: 2rem; }
.formula em { font-style: normal; color: var(--muted); }

.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 1em 0 1.2em; padding: 0; list-style: none; }
.chips li { font-size: 14.5px; line-height: 1; padding: 10px 15px 11px; border: 1px solid var(--line-2); border-radius: 2rem; color: var(--text-2); background: rgba(255,255,255,.02); transition: background .3s, color .3s, border-color .3s; }
.chips li:hover { background: #fff; color: #111; border-color: #fff; }

.btn { display: inline-flex; align-items: center; gap: 12px; padding: 15px 26px; border-radius: 2rem; border: 1px solid #fff; font-size: 14px; font-weight: 500; letter-spacing: .06em; text-transform: uppercase; transition: background .35s, color .35s; will-change: transform; }
.btn:hover { background: #fff; color: #111; }
.btn--solid { background: #fff; color: #111; }
.btn--solid:hover { background: transparent; color: #fff; }
.btn svg { width: 16px; height: 16px; }

/* word split (built by JS) */
.w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .16em; margin-bottom: -.16em; }
.wi { display: inline-block; will-change: transform; }
[data-split="scrub"] .w { overflow: visible; }

/* parallax frames */
.px { position: relative; overflow: hidden; background: var(--panel); }
.px img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.16); will-change: transform; }

/* ---------- Article hero ---------- */
.hero { position: relative; height: 100vh; height: 100svh; min-height: 640px; perspective: 1500px; perspective-origin: 50% 30%; background: var(--bg); }
.hero__media { position: absolute; inset: 0; overflow: hidden; transform-origin: 50% 70%; will-change: transform, border-radius; }
.hero__tilt { position: absolute; inset: -3%; will-change: transform; }
.hero__img { width: 100%; height: 100%; object-fit: cover; }
.hero__media::after { content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(90deg, rgba(15,15,15,.72) 0%, rgba(15,15,15,.35) 38%, rgba(15,15,15,0) 62%),
    linear-gradient(180deg, rgba(15,15,15,.7) 0%, rgba(15,15,15,.12) 30%, rgba(15,15,15,.25) 55%, rgba(15,15,15,.92) 100%); }
.hero__inner { position: absolute; left: var(--pad); right: var(--pad); bottom: clamp(32px, 6vh, 64px); display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 40px; align-items: end; z-index: 2; }
.hero__title { font-size: var(--fs-display); line-height: .92; letter-spacing: -.045em; margin: 22px 0 0; }
.hero__title .tline { display: block; overflow: hidden; padding-bottom: .16em; margin-bottom: -.16em; }
.hero__title .tline > span { display: block; will-change: transform; }
.hero__sub { margin: 22px 0 0; font-size: var(--fs-lead); color: var(--text-2); max-width: 34ch; }
.hero__side { display: grid; gap: 14px; justify-items: end; text-align: right; color: var(--text-2); }
.scroll-cue { display: inline-flex; align-items: center; gap: 12px; }
.scroll-cue i { position: relative; width: 1px; height: 46px; background: rgba(255,255,255,.25); overflow: hidden; }
.scroll-cue i::after { content: ""; position: absolute; left: 0; top: -40%; width: 1px; height: 40%; background: #fff; animation: cue 2.2s var(--ease) infinite; }
@keyframes cue { to { top: 110%; } }

/* ---------- At a glance ---------- */
.glance { padding: clamp(72px, 8vw, 120px) var(--pad) 0; }
.glance__grid { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line-2); }
.glance__item { padding: 26px 24px 30px 0; border-bottom: 1px solid var(--line); display: grid; gap: 10px; align-content: start; }
.glance__item + .glance__item { padding-left: 24px; border-left: 1px solid var(--line); }
.glance__item:nth-child(4n+1) { padding-left: 0; border-left: 0; }
.glance__item p { margin: 0; font-size: 17px; line-height: 1.45; color: var(--text-2); }
.glance__big { font-size: clamp(56px, 6vw, 104px); line-height: .9; letter-spacing: -.05em; color: #fff; font-weight: 300; display: flex; align-items: baseline; gap: 6px; }
.glance__big small { font-size: .32em; letter-spacing: 0; color: var(--muted); font-weight: 400; }

/* ---------- Sections ---------- */
.section { position: relative; padding: var(--sec) var(--pad); }
.split { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(40px, 6vw, 120px); align-items: start; }
.split__sticky { position: sticky; top: calc(var(--nav-h) + 40px); }
.card-img { border-radius: 22px; aspect-ratio: 4 / 5; margin-top: 40px; }
.card-img.land { aspect-ratio: 3 / 2; }
.caption { margin-top: 14px; color: var(--muted); display: flex; justify-content: space-between; gap: 18px; }

/* corner morph (pinned) */
.corner { position: relative; height: 100vh; height: 100svh; display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); align-items: center; gap: 40px; padding: calc(var(--nav-h) + 20px) var(--pad) 40px; overflow: hidden; }
.corner__caps { position: relative; min-height: 15em; }
.corner__cap { position: absolute; inset: 0 0 auto 0; font-size: var(--fs-beat); line-height: 1.22; letter-spacing: -.02em; color: #fff; opacity: 0; transform: translateY(24px); transition: opacity .6s, transform .8s var(--ease); }
.corner__cap.is-on { opacity: 1; transform: none; }
.corner__cap .mono { display: block; color: var(--muted); margin-bottom: 18px; }
.corner__steps { display: flex; gap: 8px; margin-top: 30px; }
.corner__steps i { width: 34px; height: 2px; background: var(--line-2); transition: background .4s; }
.corner__steps i.is-on { background: #fff; }
.corner__svg { width: 100%; height: auto; max-height: calc(100svh - var(--nav-h) - 80px); overflow: visible; }
.corner__svg text { font-family: var(--f-mono); font-size: 15px; letter-spacing: .12em; fill: var(--muted); text-transform: uppercase; }
.corner__svg .big { font-family: var(--f-sans); font-size: 58px; letter-spacing: -.03em; fill: #fff; }

/* need list */
.need-list { list-style: none; padding: 0; margin: 40px 0 0; display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--line-2); counter-reset: n; }
.need-list li { counter-increment: n; display: grid; grid-template-columns: 52px 1fr; gap: 10px; padding: 22px 26px 22px 0; border-bottom: 1px solid var(--line); font-size: 19px; line-height: 1.38; color: var(--text-2); transition: background .4s, padding .5s var(--ease); }
.need-list li::before { content: counter(n, decimal-leading-zero); font-family: var(--f-mono); font-size: 12px; letter-spacing: .1em; color: var(--muted); padding-top: 5px; }
.need-list li:nth-child(even) { padding-left: 26px; border-left: 1px solid var(--line); }
.need-list li:hover { color: #fff; }

.scale { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); gap: clamp(40px, 6vw, 110px); align-items: center; margin-top: var(--sec); }
.scale__fig { position: relative; aspect-ratio: 1 / 1; border: 1px solid var(--line); border-radius: 22px; background:
  radial-gradient(120% 80% at 30% 10%, rgba(255,255,255,.06), transparent 60%), var(--bg-deep); overflow: hidden; }
.scale__fig svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.scale__fig text { font-family: var(--f-mono); font-size: 13px; letter-spacing: .12em; fill: #fff; text-transform: uppercase; }
.consequences { list-style: none; padding: 0; margin: 34px 0; display: grid; gap: 0; border-top: 1px solid var(--line); }
.consequences li { display: grid; grid-template-columns: 54px 1fr; padding: 20px 0; border-bottom: 1px solid var(--line); font-size: 21px; line-height: 1.35; color: #fff; }
.consequences li span { font-family: var(--f-mono); font-size: 12px; letter-spacing: .1em; color: var(--muted); padding-top: 6px; }
.closing { padding-top: var(--sec); }
.closing .statement { max-width: 20ch; }

/* challenge stack */
.stack { margin-top: 70px; display: grid; gap: 28px; }
.stack-card { position: sticky; top: calc(var(--nav-h) + 22px + var(--i, 0) * 14px); --dim: 0; border: 1px solid var(--line-2); border-radius: 28px; background:
  linear-gradient(160deg, #222 0%, #1a1a1a 55%, #151515 100%); padding: clamp(28px, 3.4vw, 54px); min-height: calc(100vh - var(--nav-h) - 80px); min-height: calc(100svh - var(--nav-h) - 80px);
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(28px, 4vw, 70px); transform-origin: 50% 0; will-change: transform; overflow: hidden; }
.stack-card::after { content: ""; position: absolute; inset: 0; border-radius: inherit; background: #0b0b0b; opacity: var(--dim); pointer-events: none; }
.stack-card::before { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; background: radial-gradient(60% 50% at 85% 0%, rgba(255,255,255,.08), transparent 70%); }
.stack-card__no { font-size: clamp(90px, 11vw, 190px); line-height: .8; letter-spacing: -.06em; font-weight: 300; color: transparent; -webkit-text-stroke: 1px rgba(255,255,255,.55); }
.stack-card__title { font-size: clamp(28px, 2.8vw, 46px); line-height: 1.04; letter-spacing: -.03em; margin: 26px 0 0; }
.stack-card__big { margin-top: 26px; font-size: clamp(20px, 1.7vw, 26px); line-height: 1.3; color: #fff; max-width: 22ch; }
.stack-card__body { font-size: 16.5px; line-height: 1.62; color: var(--body); align-self: center; }
.stack-card__body p { margin: 0 0 .9em; }
.stack-card .chips li { font-size: 13.5px; padding: 9px 13px 10px; }
.stack-card .kicker { font-size: clamp(20px, 1.8vw, 28px); }
.radius-gauge { margin-top: 34px; width: 100%; max-width: 360px; height: auto; overflow: visible; }
.radius-gauge text { font-family: var(--f-mono); font-size: 11px; letter-spacing: .12em; fill: var(--muted); }

.question { padding-top: var(--sec); display: grid; gap: 28px; }
.question .mono { color: var(--muted); }
.q-strike { position: relative; display: inline-block; font-size: var(--fs-statement); line-height: 1.04; letter-spacing: -.035em; color: rgba(255,255,255,.45); width: fit-content; }
.q-strike i { position: absolute; left: -2%; right: -2%; top: 54%; height: 3px; background: #fff; transform-origin: left; transform: scaleX(1); }
.q-real { font-size: var(--fs-statement); line-height: 1.04; letter-spacing: -.035em; max-width: 22ch; }

/* full-bleed interlude */
.interlude { position: relative; height: 120vh; height: 120svh; overflow: hidden; }
.interlude .px { position: absolute; inset: 0; background: #111; }
.interlude .px img { height: 100%; }
.interlude__cap { position: absolute; left: var(--pad); right: var(--pad); bottom: 40px; display: flex; justify-content: space-between; gap: 20px; z-index: 2; color: #fff; text-shadow: 0 1px 12px rgba(0,0,0,.4); }
.interlude::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, var(--bg) 0%, transparent 18%, transparent 70%, rgba(15,15,15,.75) 100%); pointer-events: none; }

/* steps */
.steps { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: clamp(40px, 6vw, 110px); margin-top: 90px; }
.steps__aside { position: sticky; top: calc(var(--nav-h) + 40px); align-self: start; display: grid; gap: 28px; }
.counter { display: flex; align-items: flex-start; gap: 18px; }
.counter__win { height: 1em; overflow: hidden; font-size: clamp(110px, 12vw, 210px); line-height: 1; letter-spacing: -.06em; font-weight: 300; }
.counter__col { display: block; transition: transform 1s var(--ease); }
.counter__col span { display: block; height: 1em; }
.counter__of { padding-top: 1.2em; color: var(--muted); }
.steps__nav { list-style: none; margin: 0; padding: 0 0 0 18px; position: relative; display: grid; gap: 2px; }
.steps__nav::before { content: ""; position: absolute; left: 0; top: 6px; bottom: 6px; width: 1px; background: var(--line-2); }
.steps__rail { position: absolute; left: 0; top: 6px; bottom: 6px; width: 1px; background: #fff; transform-origin: top; transform: scaleY(0); }
.steps__nav a { display: block; padding: 6px 0; font-size: 15px; color: var(--muted); transition: color .4s, transform .5s var(--ease); }
.steps__nav a.is-on { color: #fff; transform: translateX(6px); }
.step { padding: 0 0 clamp(80px, 9vw, 150px); }
.step:last-child { padding-bottom: 0; }
.step__label { color: var(--muted); display: flex; gap: 14px; align-items: center; margin-bottom: 20px; }
.step__label::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.step__title { font-size: clamp(30px, 3.2vw, 54px); line-height: 1.02; letter-spacing: -.035em; margin-bottom: 30px; max-width: 18ch; }
.module { margin: 36px 0; border: 1px solid var(--line); border-radius: 22px; background: var(--bg-deep); padding: clamp(22px, 2.6vw, 36px); overflow: hidden; position: relative; }
.module__head { display: flex; justify-content: space-between; gap: 20px; color: var(--muted); margin-bottom: 22px; }

/* thermal curve */
.thermal svg { width: 100%; height: auto; overflow: visible; }
.thermal__nodes { display: grid; grid-template-columns: repeat(6, 1fr); gap: 6px; margin-top: 18px; }
.thermal__nodes span { font-family: var(--f-mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); border-top: 1px solid var(--line-2); padding-top: 12px; transition: color .4s, border-color .4s; }
.thermal__nodes span.is-on { color: #fff; border-color: #fff; }
.thermal__nodes span.is-hot { color: var(--heat); border-color: var(--heat); }

/* lamination */
.lam svg { width: 100%; height: auto; overflow: visible; }
.lam text { font-family: var(--f-mono); font-size: 12px; letter-spacing: .12em; fill: var(--muted); text-transform: uppercase; }

/* optical sweep */
.sweep { position: relative; border-radius: 22px; overflow: hidden; aspect-ratio: 3 / 2; margin: 36px 0; }
.sweep img { width: 100%; height: 100%; object-fit: cover; }
.sweep__band { position: absolute; inset: -20% -60%; background: linear-gradient(105deg, transparent 42%, rgba(255,255,255,.0) 44%, rgba(255,255,255,.32) 50%, rgba(255,255,255,0) 56%, transparent 58%); mix-blend-mode: soft-light; transform: translateX(-40%); pointer-events: none; }
.sweep .mono { position: absolute; left: 18px; bottom: 16px; color: #fff; text-shadow: 0 1px 10px rgba(0,0,0,.5); }

/* QC checklist */
.checks { list-style: none; padding: 0; margin: 24px 0; display: grid; grid-template-columns: 1fr 1fr; gap: 0 28px; }
.checks li { display: grid; grid-template-columns: 28px 1fr; gap: 10px; align-items: start; padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 17px; color: var(--text-2); }
.checks svg { width: 22px; height: 22px; margin-top: 2px; }
.checks path { fill: none; stroke: #fff; stroke-width: 1.6; stroke-dasharray: 30; stroke-dashoffset: 0; }
.checks circle { fill: none; stroke: var(--line-2); }

/* 3D bend showpiece (pinned) */
.bend { position: relative; height: 100vh; height: 100svh; overflow: hidden; display: grid; grid-template-rows: auto 1fr auto; padding: calc(var(--nav-h) + 34px) var(--pad) 40px; background:
  radial-gradient(70% 60% at 50% 55%, #252525 0%, var(--bg) 70%); }
.bend__top { display: flex; justify-content: space-between; align-items: flex-end; gap: 30px; }
.bend__title { font-size: clamp(30px, 3.6vw, 60px); line-height: 1; letter-spacing: -.035em; display: flex; flex-wrap: wrap; gap: .2em .45em; align-items: baseline; }
.bend__title em { font-style: normal; color: var(--muted); }
.bend__scene { position: relative; perspective: 1700px; perspective-origin: 50% 35%; display: grid; place-items: center; }
.bend__world { position: relative; width: 0; height: 0; transform-style: preserve-3d; }
.bend__slice { position: absolute; left: 0; top: 0; transform-style: preserve-3d; backface-visibility: visible;
  background:
    repeating-linear-gradient(180deg, transparent 0 calc(25% - 3px), rgba(205,205,205,.75) calc(25% - 3px) 25%),
    linear-gradient(180deg, rgba(170,200,220, calc(.10 + var(--l, .3) * .42)) 0%, rgba(60,80,96, calc(.18 + var(--l, .3) * .32)) 100%);
  border-top: 3px solid rgba(220,220,220,.85); border-bottom: 3px solid rgba(220,220,220,.85); }
.bend__slice.joint { box-shadow: inset 1px 0 0 rgba(255,255,255,.55); }
.bend__floor { position: absolute; left: 50%; top: 50%; width: 900px; height: 260px; transform: translate(-50%, 140px) rotateX(90deg); background: radial-gradient(closest-side, rgba(255,255,255,.08), transparent); pointer-events: none; }
.bend__labels { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; border-top: 1px solid var(--line); padding-top: 18px; }
.bend__labels div { color: var(--muted); transition: color .4s; }
.bend__labels div.is-on { color: #fff; }
.bend__labels p { margin: 6px 0 0; font-size: 16px; color: var(--body); max-width: 32ch; }
.bend__meter { display: flex; align-items: baseline; gap: 10px; color: var(--muted); }
.bend__meter b { font-weight: 300; font-size: clamp(40px, 4.4vw, 72px); letter-spacing: -.04em; color: #fff; min-width: 2.4ch; text-align: right; }

/* day → night wipe (pinned) */
.dn { position: relative; height: 100vh; height: 100svh; overflow: hidden; background: #000; }
.dn__layer { position: absolute; inset: 0; }
.dn__layer img { width: 100%; height: 100%; object-fit: cover; }
.dn__layer + .dn__layer { clip-path: inset(0 0 0 100%); }
.dn__edge { position: absolute; top: 0; bottom: 0; width: 1px; background: rgba(255,255,255,.9); box-shadow: 0 0 24px 2px rgba(255,255,255,.5); left: 100%; z-index: 3; }
.dn::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(15,15,15,.55), transparent 30%, transparent 62%, rgba(15,15,15,.85)); pointer-events: none; z-index: 2; }
.dn__ui { position: absolute; left: var(--pad); right: var(--pad); bottom: 40px; z-index: 4; display: flex; justify-content: space-between; align-items: flex-end; gap: 30px; }
.dn__ui h3 { font-size: clamp(30px, 3.2vw, 52px); line-height: 1; letter-spacing: -.035em; max-width: 22ch; }
.dn__times { display: flex; gap: 8px; }
.dn__times span { padding: 9px 16px; border: 1px solid rgba(255,255,255,.4); border-radius: 2rem; color: rgba(255,255,255,.6); transition: background .4s, color .4s, border-color .4s; }
.dn__times span.is-on { background: #fff; color: #111; border-color: #fff; }

/* advantage */
.adv-cols { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px, 5vw, 90px); margin-top: 70px; }
.adv-col h3 { font-size: 15px; font-family: var(--f-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); font-weight: 400; margin-bottom: 20px; }
.adv-list { list-style: none; padding: 0; margin: 0; border-top: 1px solid var(--line-2); }
.adv-list li { display: flex; justify-content: space-between; gap: 20px; padding: 18px 0; border-bottom: 1px solid var(--line); font-size: clamp(19px, 1.6vw, 24px); color: #fff; line-height: 1.25; }
.adv-list li span { font-family: var(--f-mono); font-size: 12px; letter-spacing: .1em; color: var(--muted); padding-top: 6px; }

/* vocabulary tiles */
.tiles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: 60px; perspective: 1200px; }
.tile { position: relative; aspect-ratio: 1 / 1.05; border: 1px solid var(--line-2); border-radius: 22px; padding: 22px; display: flex; flex-direction: column; justify-content: space-between;
  background: linear-gradient(150deg, rgba(255,255,255,.06), rgba(255,255,255,0) 60%), var(--panel); transform-style: preserve-3d; will-change: transform; overflow: hidden; }
.tile::after { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; background: radial-gradient(240px 240px at var(--mx, 50%) var(--my, 0%), rgba(255,255,255,.14), transparent 70%); opacity: 0; transition: opacity .4s; }
.tile:hover::after { opacity: 1; }
.tile__no { color: var(--muted); }
.tile__name { font-size: clamp(22px, 1.9vw, 30px); line-height: 1.05; letter-spacing: -.025em; color: #fff; transform: translateZ(30px); }
.tile svg { width: 92px; height: 92px; transform: translateZ(40px); }
.tile svg path, .tile svg line, .tile svg rect, .tile svg circle { fill: none; stroke: #fff; stroke-width: 1.2; }
.quote { margin-top: var(--sec); display: grid; grid-template-columns: 80px 1fr; gap: 20px; }
.quote__mark { font-size: 120px; line-height: .8; color: var(--muted); font-weight: 300; }

/* result */
.result-hero { display: grid; gap: 30px; }
.result-hero .statement { max-width: 16ch; }
.marquee { margin: 70px calc(var(--pad) * -1) 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); overflow: hidden; padding: 26px 0; }
.marquee__track { display: flex; width: max-content; animation: marquee 48s linear infinite; }
.marquee__skew { will-change: transform; }
.marquee__track span { font-size: clamp(30px, 3.6vw, 58px); letter-spacing: -.03em; padding: 0 28px; white-space: nowrap; display: inline-flex; align-items: center; gap: 56px; }
.marquee__track span::after { content: ""; width: 10px; height: 10px; border-radius: 50%; border: 1px solid #fff; }
@keyframes marquee { to { transform: translateX(-50%); } }
.finale { margin-top: var(--sec); display: grid; gap: 4px; }
.finale p { margin: 0; font-size: var(--fs-statement); line-height: 1.04; letter-spacing: -.035em; color: #fff; }
.finale p span { color: var(--muted); }

/* gallery (pinned horizontal) */
.gallery { position: relative; height: 100vh; height: 100svh; overflow: hidden; display: grid; grid-template-rows: auto 1fr; padding-top: calc(var(--nav-h) + 30px); }
.gallery__head { padding: 0 var(--pad); display: flex; justify-content: space-between; align-items: flex-end; gap: 30px; }
.gallery__viewport { position: relative; perspective: 1400px; display: flex; align-items: center; overflow: visible; }
.gallery__track { display: flex; gap: 26px; padding: 0 30vw 0 var(--pad); will-change: transform; transform-style: preserve-3d; }
.gitem { flex: 0 0 auto; width: clamp(320px, 46vw, 780px); transform-style: preserve-3d; will-change: transform; cursor: zoom-in; }
.gitem.tall { width: clamp(240px, 26vw, 440px); }
.gitem__frame { border-radius: 18px; overflow: hidden; aspect-ratio: 3 / 2; background: var(--panel); }
.gitem.tall .gitem__frame { aspect-ratio: 4 / 5; }
.gitem img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.gitem:hover img { transform: scale(1.05); }
.gitem figcaption { margin-top: 14px; display: flex; gap: 14px; color: var(--muted); font-size: 15px; line-height: 1.4; }
.gitem figcaption .mono { flex: 0 0 auto; padding-top: 3px; }
.gallery__count { color: var(--muted); }

/* sign-off + next */
.signoff { padding: var(--sec) var(--pad); text-align: center; display: grid; justify-items: center; gap: 26px; border-top: 1px solid var(--line); }
.signoff__brand { font-size: clamp(64px, 11vw, 200px); line-height: .85; letter-spacing: -.06em; font-weight: 300; }
.signoff p { margin: 0; font-size: var(--fs-lead); color: var(--text-2); }
.nextup { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.nextup__card { position: relative; min-height: 70vh; overflow: hidden; display: flex; align-items: flex-end; padding: 40px var(--pad); }
.nextup__card .px { position: absolute; inset: 0; }
.nextup__card .px::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(15,15,15,.1), rgba(15,15,15,.88)); }
.nextup__card > div:last-child { position: relative; z-index: 2; display: grid; gap: 16px; }
.nextup__card h3 { font-size: clamp(32px, 3.6vw, 60px); line-height: 1; letter-spacing: -.035em; max-width: 16ch; }
.nextup__cta { padding: 40px var(--pad); display: flex; flex-direction: column; justify-content: space-between; gap: 40px; border-left: 1px solid var(--line); background: var(--bg-deep); }
.nextup__cta h3 { font-size: clamp(30px, 3vw, 50px); line-height: 1.02; letter-spacing: -.035em; }

/* ---------- Footer (matches the live site) ---------- */
.footer { background: var(--bg-deep); border-top: 1px solid var(--rule); padding: 80px var(--pad) 50px; }
.footer__grid { display: grid; grid-template-columns: 2.4fr 2.4fr 1.8fr 1.2fr; gap: 40px; align-items: start; }
.footer__badge { width: 238px; height: 238px; border: 1px solid rgba(255,255,255,.7); border-radius: 50%; display: grid; place-items: center; margin-left: 15%; }
.footer__badge img { width: 150px; opacity: .72; }
.footer h4 { font-size: 15px; font-weight: 500; text-transform: uppercase; letter-spacing: .01em; margin-bottom: 26px; }
.footer__col a, .footer__col p { display: block; margin: 0 0 16px; font-size: 15px; font-weight: 400; color: var(--text-2); transition: color .3s; }
.footer__col a:hover { color: #fff; text-decoration: underline; text-underline-offset: 4px; }
.footer__social { display: flex; gap: 16px; }
.footer__social a { width: 24px; height: 24px; display: grid; place-items: center; border-radius: 5px; }
.footer__bottom { display: grid; grid-template-columns: 2.4fr 2.4fr 1.8fr 1.2fr; gap: 40px; margin-top: 40px; font-size: 15px; color: var(--text-2); font-weight: 400; }
.footer__bottom > span:first-child { padding-left: calc(15% + 60px); }
.footer__bottom > span:last-child { text-align: right; }

/* ---------- Lightbox ---------- */
.lightbox { position: fixed; inset: 0; z-index: 150; background: rgba(8,8,8,.96); display: grid; grid-template-rows: auto 1fr auto; padding: 22px var(--pad); opacity: 0; visibility: hidden; transition: opacity .45s, visibility .45s; }
.lightbox.is-open { opacity: 1; visibility: visible; }
.lightbox__top, .lightbox__bottom { display: flex; justify-content: space-between; align-items: center; gap: 20px; color: var(--muted); }
.lightbox__stage { display: grid; place-items: center; min-height: 0; padding: 18px 0; }
.lightbox__stage img { max-width: 100%; max-height: 78vh; border-radius: 12px; object-fit: contain; }
.lightbox button { padding: 10px 18px; border: 1px solid var(--line-2); border-radius: 2rem; font-family: var(--f-mono); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; }
.lightbox button:hover { background: #fff; color: #111; }

/* ---------- Listing page ---------- */
.lhero { position: relative; min-height: 100vh; min-height: 100svh; padding: calc(var(--nav-h) + 6vh) var(--pad) 50px; display: grid; grid-template-rows: auto 1fr auto; overflow: hidden; perspective: 1600px; }
.lhero__title { font-size: clamp(64px, 13.5vw, 250px); line-height: .84; letter-spacing: -.06em; font-weight: 300; position: relative; z-index: 3; margin-top: 26px; }
.lhero__title .tline { display: block; overflow: hidden; padding-bottom: .14em; margin-bottom: -.14em; }
.lhero__title .tline > span { display: block; }
.lhero__title .tline.indent { padding-left: 18vw; }
.lhero__float { position: absolute; inset: 0; z-index: 1; transform-style: preserve-3d; pointer-events: none; }
.fpanel { position: absolute; border-radius: 16px; overflow: hidden; box-shadow: 0 40px 80px -30px rgba(0,0,0,.8); will-change: transform; }
.fpanel img { width: 100%; height: 100%; object-fit: cover; }
.fpanel::after { content: ""; position: absolute; inset: 0; background: linear-gradient(160deg, rgba(255,255,255,.18), rgba(255,255,255,0) 40%, rgba(15,15,15,.25)); }
.lhero__bottom { position: relative; z-index: 3; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 40px; align-items: end; border-top: 1px solid var(--line-2); padding-top: 26px; }
.lhero__bottom p { margin: 0; max-width: 44ch; font-size: var(--fs-lead); color: var(--text-2); line-height: 1.45; }

.ticker { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); overflow: hidden; padding: 22px 0; }

.featured { padding: var(--sec) var(--pad) 0; }
.fcard { position: relative; display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); border: 1px solid var(--line-2); border-radius: 28px; overflow: hidden; background: var(--panel); transform-style: preserve-3d; will-change: transform; }
.fcard__media { position: relative; min-height: 640px; }
.fcard__media .px { position: absolute; inset: 0; }
.fcard__body { padding: clamp(28px, 3.4vw, 56px); display: flex; flex-direction: column; justify-content: space-between; gap: 40px; }
.fcard__body h2 { font-size: clamp(34px, 3.6vw, 62px); line-height: 1; letter-spacing: -.04em; }
.fcard__body p { margin: 0; color: var(--body); font-size: 17px; line-height: 1.6; }
.tagrow { display: flex; flex-wrap: wrap; gap: 8px; }
.tagrow span { font-family: var(--f-mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; padding: 8px 12px; border: 1px solid var(--line-2); border-radius: 2rem; color: var(--text-2); }
.badge-live { background: #fff; color: #111 !important; border-color: #fff !important; }

.cards { padding: clamp(60px, 7vw, 120px) var(--pad) var(--sec); display: grid; grid-template-columns: 1fr 1fr; gap: clamp(26px, 3vw, 48px) clamp(20px, 2.4vw, 40px); }
.lcard { display: grid; gap: 22px; transform-style: preserve-3d; }
.lcard:nth-child(even) { margin-top: clamp(60px, 9vw, 160px); }
.lcard__media { position: relative; border-radius: 22px; overflow: hidden; aspect-ratio: 4 / 3; transform-style: preserve-3d; will-change: transform; }
.lcard__media .px { position: absolute; inset: 0; }
.lcard__media .tagrow { position: absolute; left: 18px; top: 18px; z-index: 2; }
.lcard__media .tagrow span { background: rgba(15,15,15,.55); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.lcard__meta { display: flex; justify-content: space-between; gap: 20px; color: var(--muted); }
.lcard h3 { font-size: clamp(26px, 2.3vw, 38px); line-height: 1.04; letter-spacing: -.03em; max-width: 20ch; }
.lcard p { margin: 0; color: var(--body); font-size: 16.5px; line-height: 1.6; max-width: 56ch; }
.lcard__more { display: inline-flex; align-items: center; gap: 10px; color: var(--muted); }
.lcard:hover .lcard__more { color: #fff; }

/* ---------- Initial states for JS animation (only when .js is on <html>) ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(46px); }
.js [data-reveal="fade"] { transform: none; }
.js [data-stagger] > * { opacity: 0; transform: translateY(34px); }
.js .hero__title .tline > span, .js .lhero__title .tline > span { transform: translateY(112%); }
.js .hero [data-intro], .js .lhero [data-intro] { opacity: 0; transform: translateY(20px); }
.js .nav { transform: translateY(-100%); }
.js .nav.is-in { transform: none; }
.js .nav.is-in.is-hidden { transform: translateY(-100%); }

/* ---------- Elan Epic modules ---------- */
.systems { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line-2); counter-reset: s; }
.systems li { counter-increment: s; display: grid; grid-template-columns: 64px minmax(0, 1fr) auto; gap: 20px; align-items: baseline; padding: 26px 0; border-bottom: 1px solid var(--line); transition: padding .6s var(--ease); }
.systems li::before { content: counter(s, decimal-leading-zero); font-family: var(--f-mono); font-size: 12px; letter-spacing: .12em; color: var(--muted); }
.systems li:hover { padding-left: 14px; }
.systems h3 { font-size: clamp(26px, 2.8vw, 46px); line-height: 1.05; letter-spacing: -.03em; }
.systems p { margin: 0; color: var(--body); font-size: 16px; text-align: right; }
.pano { position: relative; height: 100vh; height: 100svh; overflow: hidden; background: #0b0b0b; }
.pano img { position: absolute; top: 50%; left: 0; width: max(180vw, 225vh); height: auto; max-width: none; transform: translateY(-50%); will-change: transform; }
.pano::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(15,15,15,.55), transparent 28%, transparent 62%, rgba(15,15,15,.88)); pointer-events: none; }
.pano__ui { position: absolute; left: var(--pad); right: var(--pad); bottom: 40px; z-index: 2; display: flex; justify-content: space-between; align-items: flex-end; gap: 30px; }
.pano__ui h3 { font-size: clamp(30px, 3.4vw, 56px); line-height: 1; letter-spacing: -.035em; }
.pano__caps { position: relative; min-width: 16ch; text-align: right; }
.pano__caps span { display: block; opacity: 0; transform: translateY(10px); transition: opacity .5s, transform .6s var(--ease); }
.pano__caps span + span { position: absolute; right: 0; top: 0; }
.pano__caps span.is-on { opacity: 1; transform: none; }
.cols { position: relative; height: 150vh; overflow: hidden; display: grid; grid-template-columns: 1fr 1fr; gap: 18px; padding: 0 var(--pad); }
.cols__col { display: grid; gap: 18px; align-content: start; will-change: transform; }
.cols__col .px { border-radius: 20px; aspect-ratio: 4 / 5; }
.cols__col .px.land { aspect-ratio: 3 / 2; }
.cols__label { position: sticky; top: calc(var(--nav-h) + 20px); z-index: 2; justify-self: start; padding: 9px 16px; border-radius: 2rem; background: rgba(15,15,15,.6); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); border: 1px solid var(--line-2); }
.duo { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 18px; align-items: end; margin-top: 60px; }
.duo .px { border-radius: 22px; aspect-ratio: 3 / 2; }
.duo .px.tall { aspect-ratio: 4 / 5; }
.details { display: grid; grid-template-columns: repeat(12, 1fr); gap: 18px; margin-top: 60px; }
.detail { grid-column: span 4; margin: 0; }
.detail.wide { grid-column: span 8; }
.detail.half { grid-column: span 6; }
.detail .px { border-radius: 20px; aspect-ratio: 4 / 5; }
.detail.wide .px, .detail.half .px { aspect-ratio: 3 / 2; }
.detail figcaption { margin-top: 12px; display: flex; gap: 12px; color: var(--muted); font-size: 15px; }
.detail figcaption b { font-weight: 400; color: #fff; }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line-2); margin-top: 50px; }
.stat { padding: 34px 24px 34px 0; border-bottom: 1px solid var(--line); }
.stat:not(:nth-child(3n+1)) { padding-left: 24px; border-left: 1px solid var(--line); }
.stat__n { font-size: clamp(56px, 6.4vw, 112px); line-height: .9; letter-spacing: -.05em; font-weight: 300; color: #fff; display: flex; align-items: baseline; gap: 6px; }
.stat__n small { font-size: .34em; letter-spacing: 0; color: var(--muted); font-weight: 400; }
.stat__l { margin-top: 16px; color: var(--muted); }
figcaption { text-align: left; }
@media (max-width: 900px) {
  .systems li { grid-template-columns: 44px 1fr; }
  .systems p { grid-column: 2; text-align: left; }
  .pano__ui { flex-direction: column; align-items: flex-start; }
  .pano__caps { text-align: left; }
  .pano__caps span + span { left: 0; right: auto; }
  .cols { height: 120vh; gap: 10px; }
  .cols__col { gap: 10px; }
  .duo { grid-template-columns: 1fr; }
  .detail, .detail.wide, .detail.half { grid-column: span 12; }
  .stats { grid-template-columns: 1fr 1fr; }
  .stat:not(:nth-child(3n+1)) { padding-left: 0; border-left: 0; }
  .stat:nth-child(even) { padding-left: 18px; border-left: 1px solid var(--line); }
}

/* ---------- Static fallback (no GSAP, or reduced motion) ---------- */
.no-motion .corner { height: auto; min-height: 0; padding-top: 60px; padding-bottom: 60px; }
.no-motion .corner__caps { min-height: 0; display: grid; gap: 22px; }
.no-motion .corner__cap { position: relative; opacity: 1; transform: none; }
.no-motion .corner__steps { display: none; }
.no-motion .gallery { height: auto; padding-bottom: 90px; }
.no-motion .gallery__track { overflow-x: auto; scroll-snap-type: x mandatory; padding-right: var(--pad); }
.no-motion .gitem { scroll-snap-align: start; }
.no-motion .bend { height: auto; min-height: 90vh; }
.no-motion .scroll-cue i::after { animation: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .glance__grid { grid-template-columns: repeat(2, 1fr); }
  .glance__item:nth-child(4n+1) { padding-left: 24px; border-left: 1px solid var(--line); }
  .glance__item:nth-child(odd) { padding-left: 0; border-left: 0; }
  .tiles { grid-template-columns: repeat(2, 1fr); }
  .footer__grid, .footer__bottom { grid-template-columns: 1fr 1fr; }
  .footer__bottom > span:first-child { padding-left: 0; }
}
@media (max-width: 900px) {
  :root { --pad: 20px; --nav-h: 64px; --fs-body: 17px; }
  .nav__bar { grid-template-columns: 1fr auto; }
  .nav__link { display: none; }
  .nav__logo img { width: 140px; }
  .chapter-pill { top: 12px; }
  .hero__inner { grid-template-columns: 1fr; }
  .hero__side { justify-items: start; text-align: left; }
  .split, .scale, .steps, .adv-cols, .nextup { grid-template-columns: 1fr; }
  .split__sticky, .steps__aside { position: relative; top: 0; }
  .steps__nav, .counter__of { display: none; }
  .counter__win { font-size: 96px; }
  .corner { height: auto; min-height: 0; grid-template-columns: 1fr; padding: 60px var(--pad); }
  .corner__caps { min-height: 0; display: grid; gap: 26px; }
  .corner__cap { position: relative; opacity: 1; transform: none; }
  .corner__steps { display: none; }
  .need-list, .checks { grid-template-columns: 1fr; }
  .need-list li:nth-child(even) { padding-left: 0; border-left: 0; }
  .stack-card { position: relative; top: 0; grid-template-columns: 1fr; min-height: 0; }
  .stack-card__no { font-size: 80px; }
  .bend { height: 92svh; padding-top: calc(var(--nav-h) + 20px); }
  .bend__top { flex-direction: column; align-items: flex-start; }
  .bend__labels { grid-template-columns: 1fr; gap: 8px; }
  .bend__labels p { display: none; }
  .dn__ui { flex-direction: column; align-items: flex-start; }
  .gallery { height: auto; padding: 90px 0; }
  .gallery__viewport { perspective: none; }
  .gallery__track { overflow-x: auto; scroll-snap-type: x mandatory; padding-right: var(--pad); -webkit-overflow-scrolling: touch; scrollbar-width: none; }
  .gallery__track::-webkit-scrollbar { display: none; }
  .gitem, .gitem.tall { width: 82vw; scroll-snap-align: start; }
  .nextup__cta { border-left: 0; border-top: 1px solid var(--line); }
  .footer__grid, .footer__bottom { grid-template-columns: 1fr; }
  .footer__badge { margin-left: 0; width: 180px; height: 180px; }
  .footer__badge img { width: 112px; }
  .footer__bottom > span:last-child { text-align: left; }
  .fcard { grid-template-columns: 1fr; }
  .fcard__media { min-height: 62vw; }
  .cards { grid-template-columns: 1fr; }
  .lcard:nth-child(even) { margin-top: 0; }
  .lhero__bottom { grid-template-columns: 1fr; }
  .lhero__title .tline.indent { padding-left: 10vw; }
  .quote { grid-template-columns: 1fr; }
  .quote__mark { font-size: 80px; }
  .thermal__nodes { grid-template-columns: repeat(3, 1fr); row-gap: 14px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
}
