/* Kalos v3
   A structural and motion study of the qoves.com homepage, rebuilt for Kalos.
   Desktop is authored in rem at 1rem = 10px (1440 design width) and scales up above 1441px.
   Breakpoints: 1099px (tablet) and 767px (mobile). */

:root {
  --ink: #1f2b2f;
  --tone: #93a2a5;
  --tone-2: #b3bfc1;
  --tone-3: #d3dbdc;
  --t2: #4f5658;
  --t3: #727c7f;
  --line: #eceff0;
  --border: #e3e7e8;
  --surface: #f6f8f8;
  --p100: #eef0f0;
  --mist: #eef0f0;
  --mist-2: #e3e9ea;
  --paper: #fbfcfc;
  --glow: 0 30px 80px -36px rgba(96, 120, 126, .38);
  --glow-sm: 0 16px 40px -24px rgba(96, 120, 126, .4);
  --scan: rgba(120, 178, 184, .9);
  --rc: rgba(31, 43, 47, .4);
  --green: #0c6826;
  --orange: #eb850a;
  --red: #bb3030;
  --hero: #7d7c72;

  --sans: "Inter Tight", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "Geist Mono", ui-monospace, "SF Mono", Menlo, monospace;

  --e-expo: cubic-bezier(.22, 1, .36, 1);
  --e-out: cubic-bezier(.33, 1, .68, 1);
  --e-inout: cubic-bezier(.65, 0, .35, 1);
  --e-back: cubic-bezier(.34, 1.56, .64, 1);
  --e-nav: cubic-bezier(0, 0, .2, 1);
  --vh: 100vh;
}
@supports (height: 100svh) { :root { --vh: 100svh; } }

html { font-size: 62.5%; scroll-behavior: smooth; -webkit-text-size-adjust: 100%; overscroll-behavior: none; }
@media (min-width: 1441px) { html { font-size: .6944vw; } }

*, *::before, *::after { box-sizing: border-box; }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font-family: var(--sans); font-size: 1.6rem; line-height: 1.5;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
h1, h2, h3, p, ul, ol, figure, blockquote, dl, dd { margin: 0; padding: 0; }
ul, ol { list-style: none; }
h1, h2, h3 { font-weight: 400; }
a { color: inherit; }
button { font: inherit; color: inherit; cursor: pointer; }
img, video { display: block; max-width: 100%; }
svg { flex: none; }
:focus-visible { outline: 2px solid var(--tone); outline-offset: 3px; }
[hidden] { display: none !important; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 1.6rem; top: -10rem; z-index: 100; background: #fff; padding: 1rem 1.6rem; border-radius: 999px; }
.skip:focus { top: 1.6rem; }
.mono { font-family: var(--mono); text-transform: uppercase; letter-spacing: -.004em; }
.tone { color: var(--tone); }

/* ---------- Ruled frame ---------- */
.col { width: calc(100% - 8rem); max-width: 136rem; margin-inline: auto; border-inline: 1px solid var(--line); }
.spacer { height: 12rem; border-block: 1px solid var(--line); }

/* ---------- Section header ---------- */
.sh { padding: 8rem 3.2rem 4rem; }
.sh-center { text-align: center; }
.sh-center .sub { margin-inline: auto; }
.eyebrow {
  display: inline-block; margin-bottom: 2.4rem; padding: .7rem 1rem .5rem;
  font-family: var(--mono); font-size: 1.4rem; line-height: 1; text-transform: uppercase;
  color: var(--tone); border: 1px solid var(--border); border-radius: 99px;
}
.title, .title-sm, .title-xs { letter-spacing: -.015em; text-wrap: balance; }
.title { font-size: 4.8rem; line-height: 5.6rem; }
.title-sm { font-size: 4rem; line-height: 4.8rem; }
.title-xs { font-size: 3.2rem; line-height: 4rem; }
.sh h2 .tone, .rows-title .tone { display: block; }
.sub { margin-top: 1.6rem; max-width: 58.7rem; font-size: 1.6rem; line-height: 2.4rem; color: var(--t2); }
.sh-glass { color: #fff; }
.sh-glass .tone { color: rgba(255, 255, 255, .55); }
.sh-glass .eyebrow { color: #fff; background: rgba(255, 255, 255, .1); border: 2px solid rgba(255, 255, 255, .2); }
.sh-glass .sub { color: rgba(255, 255, 255, .78); }
.footnote { padding: 1.6rem 3.2rem; font-size: 1.2rem; line-height: 1.6rem; color: var(--t3); }
.footnote-light { color: var(--t3); }
.ref {
  display: inline-block; margin-left: .2em; padding: 0 .35em; min-width: 1.6em; text-align: center;
  font-family: var(--mono); font-size: .7em; line-height: 1.6; vertical-align: super;
  color: var(--t3); border: 1px solid var(--border); border-radius: 99px; text-decoration: none;
}
.ref:hover { color: var(--ink); border-color: var(--tone); }
.ref-light { color: rgba(255, 255, 255, .8); border-color: rgba(255, 255, 255, .3); }
.tcard:not(.tcard-photo) .ref-light { color: var(--t3); border-color: var(--border); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 1rem;
  height: 4.8rem; padding: 0 2.4rem; border: 0; border-radius: 999px;
  font-size: 1.6rem; line-height: 2.4rem; text-decoration: none; white-space: nowrap;
  transition: background-color .3s, color .3s, transform .3s var(--e-out);
}
.btn:active { transform: scale(.98); }
.btn-sm { height: 4rem; padding: 0 2rem; font-size: 1.4rem; }
.btn-white { background: #fff; color: var(--ink); }
.btn-white:hover { background: rgba(255, 255, 255, .85); }
.btn-glass { background: rgba(255, 255, 255, .2); color: #fff; backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
.btn-glass:hover { background: rgba(255, 255, 255, .3); }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: #33464e; }
.btn-chev { padding-right: .6rem; }
.btn-chev span { display: grid; place-items: center; width: 3.6rem; height: 3.6rem; border-radius: 999px; background: rgba(255, 255, 255, .15); }
.btn-chev svg { width: 1.6rem; height: 1.6rem; }

/* ---------- Navigation ---------- */
.nav { position: fixed; top: 0; left: 0; right: 0; z-index: 60; pointer-events: none; }
.nav-bar {
  pointer-events: auto; position: relative;
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center;
  max-width: 100%; height: 9.6rem; margin: 0 auto; padding: 0 5.6rem;
  color: #fff; border-radius: 0; background: rgba(0, 0, 0, 0);
  transition: max-width .2s var(--e-nav), height .2s var(--e-nav), transform .2s var(--e-nav), border-radius .2s var(--e-nav), background-color .2s var(--e-nav), box-shadow .2s var(--e-nav), padding .2s var(--e-nav), backdrop-filter .2s var(--e-nav);
}
.nav.is-scrolled .nav-bar {
  max-width: min(calc(100% - 12rem), 136rem); height: 6.4rem; padding: 0 1.2rem 0 2.4rem;
  transform: translateY(8px); border-radius: 999rem; background: rgba(250, 251, 251, .74); color: var(--ink);
  backdrop-filter: blur(40px) saturate(1.2); -webkit-backdrop-filter: blur(40px) saturate(1.2);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .85), 0 18px 50px -26px rgba(96, 120, 126, .45);
}
.brand { display: inline-flex; align-items: center; gap: .9rem; text-decoration: none; font-size: 2rem; letter-spacing: -.02em; justify-self: start; }
.brand svg { width: 3rem; height: 3rem; }
.nav-links { display: flex; gap: 3.2rem; }
.nav-links a { position: relative; font-size: 1.4rem; text-decoration: none; transition: color .3s; }
.nav-links a::after { content: ""; position: absolute; left: 25%; right: 25%; bottom: -.6rem; height: 2px; background: currentColor; opacity: 0; transition: opacity .5s, left .5s, right .5s; }
.nav-links a:hover { opacity: .7; }
.nav-links a:hover::after { opacity: 1; left: 0; right: 0; }
.nav-actions { justify-self: end; display: flex; align-items: center; gap: .8rem; }
.nav.is-scrolled .nav-cta { background: var(--ink); color: #fff; }
.nav-burger { display: none; width: 4rem; height: 4rem; border: 0; background: none; padding: 0; position: relative; }
.nav-burger span:not(.visually-hidden) { position: absolute; left: 1rem; right: 1rem; height: 1.5px; background: currentColor; transition: transform .3s var(--e-expo); }
.nav-burger span:nth-child(1) { top: 1.6rem; }
.nav-burger span:nth-child(2) { top: 2.3rem; }
.nav.is-open .nav-burger span:nth-child(1) { transform: translateY(3.5px) rotate(45deg); }
.nav.is-open .nav-burger span:nth-child(2) { transform: translateY(-3.5px) rotate(-45deg); }

/* ---------- Before / after component ---------- */
.ba { position: relative; overflow: hidden; border-radius: 8px; touch-action: pan-y; user-select: none; -webkit-user-select: none; cursor: ew-resize; background: var(--mist); color: #fff; }
.ba img, .ba video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.ba-before { position: absolute; inset: 0; clip-path: inset(0 calc(100% - var(--pos) * 1%) 0 0); }
.ba-line {
  position: absolute; top: 0; bottom: 0; left: calc(var(--pos) * 1%); width: 1px; margin-left: -.5px; pointer-events: none;
  background: linear-gradient(currentColor 0 calc(50% - 2.2rem), transparent calc(50% - 2.2rem) calc(50% + 2.2rem), currentColor calc(50% + 2.2rem));
}
.ba-knob { position: absolute; top: 50%; left: 50%; width: 2.6rem; height: 2.6rem; transform: translate(-50%, -50%); border-radius: 50%; transition: transform .3s var(--e-out); }
.ba.is-dragging .ba-knob { transform: translate(-50%, -50%) scale(1.15); }
.ba-range { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; pointer-events: none; }
.ba:has(.ba-range:focus-visible) .ba-knob { outline: 2px solid #fff; outline-offset: 3px; }
.ba-tag { position: absolute; top: 1.6rem; z-index: 2; font-family: var(--mono); font-size: 1.2rem; text-transform: uppercase; color: currentColor; pointer-events: none; text-shadow: 0 1px 8px rgba(0, 0, 0, .25); }
.ba-tag-l { left: 1.6rem; }
.ba-tag-r { right: 1.6rem; }

/* ---------- S1 Hero ---------- */
.hero { position: relative; height: max(var(--vh), 68rem); max-height: 100rem; background: var(--hero); color: #fff; overflow: hidden; }
.hero-media { position: absolute; top: 0; right: 0; bottom: 0; width: 70%; border-radius: 0; background: var(--hero); }
.hero-media video, .hero-media img { object-position: 50% 22%; }
/* Hero scenes: one person at a time, a slow push-in, then a long cross-fade to the next. */
.scenes { position: absolute; inset: 0; }
.scenes .scene { opacity: 0; transform: scale(1); transition: opacity 1.6s ease, transform 8s linear; }
.scenes .scene.is-on { opacity: 1; transform: scale(1.05); }
@media (prefers-reduced-motion: reduce) { .scenes .scene, .scenes .scene.is-on { transform: none; transition: opacity .01s; } }
.hero-media .ba-tag { top: 12rem; }
.hero-shade { position: absolute; inset: 0; pointer-events: none; }
.hero-shade::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 82rem; max-width: 72%;
  background: linear-gradient(90deg, #67665e 30%, rgba(103, 102, 94, .88) 58%, rgba(103, 102, 94, .3) 86%, transparent); }
.hero-shade::after { content: ""; position: absolute; inset: 0;
  background: linear-gradient(rgba(0, 0, 0, .2), transparent 30%), linear-gradient(transparent 62%, rgba(0, 0, 0, .22)); }
.hero-inner { position: relative; height: 100%; max-width: 136rem; margin: 0 auto; padding: 18rem 2.8rem 4.8rem; display: flex; flex-direction: column; justify-content: space-between; pointer-events: none; }
.hero-inner > * { pointer-events: auto; }
.hero-copy { max-width: 56rem; }
.hero-eyebrow { font-size: 1.6rem; margin-bottom: 4.8rem; }
.hero-eyebrow b { font-weight: 400; font-size: 1.8rem; }
.hero h1 { font-size: 5.6rem; line-height: 6.4rem; letter-spacing: -.112rem; }
.hero h1 .tone { display: block; color: rgba(255, 255, 255, .62); }
.hero-sub { margin-top: 2.4rem; max-width: 46rem; font-size: 1.6rem; line-height: 2.4rem; color: rgba(255, 255, 255, .85); }
.hero-ctas { display: flex; gap: 1.6rem; margin-top: 4rem; }
.hero-trio { display: flex; }
.hero-trio div { padding: 0 2rem; border-left: 1px solid rgba(255, 255, 255, .2); }
.hero-trio div:first-child { padding-left: 0; border-left: 0; }
.hero-trio dt { font-size: 1.6rem; }
.hero-trio dd { margin-top: .6rem; font-size: 1.4rem; color: rgba(255, 255, 255, .7); }
.hero-note { position: absolute; right: 2.8rem; bottom: 2rem; font-size: 1.2rem; color: rgba(255, 255, 255, .75); }
.hero-strip { display: flex; justify-content: center; flex-wrap: wrap; gap: 1rem 4.8rem; padding: 2.4rem 3.2rem; font-family: var(--mono); font-size: 1.3rem; text-transform: uppercase; color: var(--t3); border-bottom: 1px solid var(--line); }

/* ---------- Split layout ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; }
.split-l { padding-bottom: 4rem; border-right: 1px solid var(--line); }
.numlist { padding: 0 3.2rem; }
.numlist li { display: flex; gap: 1.6rem; padding: 1.2rem 0; font-size: 1.4rem; border-top: 1px solid var(--line); }
.numlist li span { font-family: var(--mono); font-size: 1.2rem; color: var(--tone); padding-top: .1rem; }
.numlist-light li { border-color: rgba(255, 255, 255, .2); color: #fff; }
.numlist-light li span { color: rgba(255, 255, 255, .6); }
.benefits-media { display: grid; grid-template-columns: 1fr 1fr; gap: 1.6rem; padding: 3.2rem 3.2rem 0; align-content: center; }
.benefits-media .footnote { grid-column: 1 / -1; padding: 0 0 1.6rem; }
.ba-card { aspect-ratio: .8; }
.ba-card, .ba-lg { color: rgba(31, 43, 47, .7); --knob-fill: rgba(255, 255, 255, .8); }
.ba-card .ba-tag, .ba-lg .ba-tag { text-shadow: none; color: var(--t3); }

/* ---------- S3 Studies ---------- */
.statement { padding: 8rem 3.2rem 4rem; }
.statement .title { max-width: 86rem; }
.tabs { position: relative; display: inline-flex; margin: 0 3.2rem 2.4rem; padding: .4rem; border: 1px solid var(--line); border-radius: 999px; }
.tabs button { position: relative; z-index: 1; padding: 1rem 2rem; font-size: 1.4rem; border: 0; background: none; color: var(--t3); border-radius: 999px; white-space: nowrap; transition: color .3s; }
.tabs button:hover { color: var(--ink); }
.tabs button[aria-selected="true"] { color: #fff; }
.tabs-pill { position: absolute; top: .4rem; left: 0; height: calc(100% - .8rem); width: 0; border-radius: 999px; background: var(--ink); transition: transform .4s var(--e-inout), width .4s var(--e-inout); }
.tabpanels { padding: 0 .8rem .8rem; }
.ecards { display: grid; grid-template-columns: repeat(4, 1fr); gap: .8rem; }
.ecard {
  position: relative; isolation: isolate; overflow: hidden; display: flex; flex-direction: column;
  min-height: 40rem; padding: 1.6rem; background: var(--surface); border-radius: 12px;
  transition: box-shadow .4s, color .4s;
}
.ecard::before { content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0; transition: opacity .4s;
  background: radial-gradient(80% 60% at 50% 0%, #ffffff, transparent 70%), linear-gradient(var(--scan), var(--scan)) 0 0 / 100% 1px no-repeat, var(--paper); }
.ecard h3 { font-size: 2rem; line-height: 2.4rem; }
.ecard p { margin-top: .8rem; font-size: 1.4rem; line-height: 2rem; color: var(--t2); transition: color .4s; }
.ecard cite { margin-top: auto; display: flex; align-items: flex-start; gap: .6rem; font-style: normal; font-size: 1.2rem; line-height: 1.6rem; color: var(--t3); transition: color .4s; }
.ecard cite svg { width: 1.4rem; height: 1.4rem; margin-top: .1rem; }
.ecard:hover { box-shadow: var(--glow); }
.ecard:hover::before { opacity: 1; }

.ecards.is-entering .ecard { animation: cardIn .4s var(--e-out) both; animation-delay: calc(var(--i, 0) * 80ms); }
@keyframes cardIn { from { opacity: 0; transform: translateY(24px); } }

/* ---------- S4 Process rows ---------- */
.process { padding-bottom: 4rem; }
.prow { display: grid; grid-template-columns: 16rem 1fr; align-items: center; margin: 0 3.2rem 1.2rem; padding: 2.8rem 2.4rem; border-radius: 12px; background: var(--surface); }
.prow-label { display: flex; flex-direction: column; gap: 1.2rem; }
.prow-label h3 { font-size: 1.6rem; }
.prow-icon { display: block; width: 3.2rem; height: 3.2rem; border-radius: 50%; border: 1px solid var(--tone-3); }
.prow ol { display: grid; grid-template-columns: repeat(5, 1fr); }
.prow li { position: relative; padding-top: 2.4rem; padding-right: 1.6rem; font-size: 1.4rem; line-height: 2rem; }
.prow li::before { content: ""; position: absolute; top: 0; left: 0; width: .9rem; height: .9rem; border-radius: 50%; border: 1px solid currentColor; opacity: .6; }
.prow li i { position: absolute; top: .4rem; left: 1.8rem; right: .8rem; height: 1px; background: currentColor; opacity: .35; transform: scaleX(0); transform-origin: left; transition: transform .5s var(--e-inout); transition-delay: calc(var(--i, 0) * 40ms + 100ms); }
.prow li i::after { content: ""; position: absolute; right: 0; top: -3px; width: 6px; height: 6px; border-top: 1px solid; border-right: 1px solid; transform: rotate(45deg); }
.prow.is-drawn li i { transform: scaleX(1); }
.prow li .mono { display: block; margin-bottom: .4rem; font-size: 1.1rem; opacity: .6; }
.prow-old { color: var(--t3); }
.prow-new { color: var(--ink); background: linear-gradient(90deg, #ffffff, #e9eeee 60%, #e1e8e9); box-shadow: inset 0 0 0 1px #e3e8e9, var(--glow-sm); }
.prow-new .prow-icon { border: 0; border-radius: 0; }

/* ---------- S5 / S27 strip ---------- */
.strip-in { display: flex; align-items: center; justify-content: center; gap: 2.4rem; max-width: 64rem; margin: 0 auto; padding: 4rem 3.2rem; }
.strip-mark { flex: none; display: grid; place-items: center; width: 8rem; height: 8rem; border-radius: 8px; color: var(--ink); background: radial-gradient(at 30% 20%, #ffffff, transparent 60%), var(--mist); box-shadow: inset 0 0 0 1px var(--border); }
.strip-mark svg { width: 4rem; height: 4rem; }
.strip blockquote p { font-size: 1.6rem; line-height: 2.2rem; }
.strip blockquote p::before { content: "\201C"; display: block; height: 1.4rem; font-size: 3.2rem; line-height: 3rem; color: var(--tone); }
.strip footer { margin-top: .8rem; font-size: 1.2rem; color: var(--t3); }
.strip-lg .strip-in { max-width: 80rem; padding: 6rem 3.2rem; }
.strip-lg blockquote p { font-size: 2.4rem; line-height: 3rem; letter-spacing: -.01em; }
.strip-stat { width: 14rem; height: 14rem; }
.strip-stat b { font-weight: 400; font-size: 3.6rem; letter-spacing: -.02em; }

/* ---------- Frosted backgrounds ---------- */
.frost, .frost-dark {
  color: var(--ink);
  background:
    radial-gradient(55% 50% at 18% 20%, #ffffff, transparent 70%),
    radial-gradient(50% 60% at 88% 80%, #dde5e6, transparent 70%),
    radial-gradient(40% 40% at 62% 6%, #f7f9f9, transparent 70%),
    var(--mist);
}

/* ---------- S6 Analysis ---------- */
.analysis { position: relative; overflow: hidden; }
.analysis > .sh { position: relative; z-index: 2; }
.an-stage { position: relative; display: grid; grid-template-columns: 1fr 1.05fr 1fr; align-items: end; min-height: 50rem; padding: 0 2.4rem; }
.an-portrait { position: relative; z-index: 1; align-self: end; margin-top: -2rem; transform-origin: 50% 100%; will-change: transform; }
.an-portrait img { width: 100%; height: auto; aspect-ratio: 3 / 3.4; object-fit: cover; object-position: 50% 20%;
  -webkit-mask-image: linear-gradient(transparent, #000 10%, #000 78%, transparent); mask-image: linear-gradient(transparent, #000 10%, #000 78%, transparent); }
.an-group { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; padding-bottom: 4rem; align-self: end; will-change: transform; }
.an-left { -webkit-mask-image: linear-gradient(270deg, #000 55%, rgba(0,0,0,.35) 100%); mask-image: linear-gradient(270deg, #000 55%, rgba(0,0,0,.35) 100%); }
.an-right { -webkit-mask-image: linear-gradient(90deg, #000 55%, rgba(0,0,0,.35) 100%); mask-image: linear-gradient(90deg, #000 55%, rgba(0,0,0,.35) 100%); }
.an-group .gcard:first-child { grid-row: span 2; }
.gcard {
  padding: 1.4rem; border-radius: 12px; color: var(--ink); background: rgba(255, 255, 255, .58); border: 1px solid rgba(255, 255, 255, .95); box-shadow: var(--glow-sm);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); outline-offset: 2px;
  opacity: 0; transform: scale(1.1); transition: opacity .7s var(--e-out), transform .7s var(--e-out);
  transition-delay: calc(var(--o, 0) * 100ms);
}
.analysis.is-in .gcard { opacity: 1; transform: none; }
.gl { display: flex; justify-content: space-between; gap: .8rem; font-size: 1.2rem; line-height: 1.6rem; }
.gl-week { font-family: var(--mono); font-size: 1rem; text-transform: uppercase; opacity: .7; white-space: nowrap; }
.gnote { margin-top: 1rem; font-size: 1.1rem; line-height: 1.4rem; opacity: .75; }
.dotgrid { display: grid; grid-template-columns: repeat(5, 1fr); gap: .9rem; margin-top: 1.6rem; max-width: 18rem; }
.dotgrid i { aspect-ratio: 1; border-radius: 50%; background: rgba(31, 43, 47, .1); transition: background-color .5s var(--e-out), transform .5s var(--e-out); }
.dotgrid i.on { background: var(--tone); transform: scale(1.1); }
.nband { width: 100%; height: auto; margin-top: 1rem; overflow: visible; }
.band-noise { fill: rgba(147, 162, 165, .22); }
.band-line { fill: none; stroke: var(--ink); stroke-width: 1.6; transition: d .5s var(--e-out); }
.band-dot { fill: var(--ink); transition: cy .5s var(--e-out); }
.gbig { margin-top: 1.2rem; font-size: 4.8rem; line-height: 1; letter-spacing: -.03em; }
.gbig small { font-size: 2rem; }
.grange { position: relative; height: 4px; margin-top: 1.4rem; border-radius: 4px; background: rgba(31, 43, 47, .1); }
.grange span { position: absolute; top: -3px; left: var(--b); width: 10px; height: 10px; margin-left: -5px; border-radius: 50%; background: var(--ink); transition: left .5s var(--e-out); }
.grange span::before { content: ""; position: absolute; top: 3px; left: 5px; height: 4px; width: calc(var(--a) - var(--b)); background: rgba(31, 43, 47, .35); }
.vscale { position: relative; height: 14rem; width: 1.2rem; margin: 1.4rem 0 0 .4rem; border-radius: 6px; background: linear-gradient(#f3eee9, #b9a898 60%, #7f6b5b); }
.vmark { position: absolute; left: 2rem; top: var(--y); transform: translateY(-50%); font-family: var(--mono); font-size: 1rem; text-transform: uppercase; white-space: nowrap; transition: top .5s var(--e-out); }
.vmark::before { content: ""; position: absolute; left: -2.4rem; top: 50%; width: 2rem; height: 1px; background: var(--ink); }
.vmark-a { opacity: .65; }
.gbars { margin-top: 1.2rem; display: grid; gap: .8rem; }
.gbars li { display: grid; grid-template-columns: 6.4rem 1fr; align-items: center; gap: .8rem; font-size: 1.1rem; }
.gbars b { height: 4px; border-radius: 4px; background: linear-gradient(90deg, var(--ink) var(--v), rgba(31, 43, 47, .1) var(--v)); transition: background .5s; }
.gchecks { margin-top: 1.2rem; display: grid; gap: .6rem; font-size: 1.2rem; }
.gchecks li { display: flex; gap: .8rem; align-items: center; opacity: .65; }
.gchecks li::before { content: ""; width: 1.2rem; height: 1.2rem; border-radius: 50%; border: 1px solid var(--ink); }
.gchecks li.on { opacity: 1; }
.gchecks li.on::before { background: var(--ink); box-shadow: inset 0 0 0 2px #fff; }

/* ---------- S7 / S8 row lists ---------- */
.rows-title { padding: 8rem 3.2rem 4rem; text-align: center; }
.rows-grid { display: grid; grid-template-columns: 1fr 44rem 1fr; border-top: 1px solid var(--line); }
.rows-side:first-child { border-right: 1px solid var(--line); }
.rows-side:last-child { border-left: 1px solid var(--line); }
.rowcards { padding: 1.2rem; display: grid; gap: .8rem; }
.rowcard { display: flex; gap: 1.2rem; align-items: center; padding: .8rem; border: 1px solid var(--line); border-radius: 8px; background: #fff; }
.rowcard h3 { font-size: 1.8rem; line-height: 2.4rem; }
.rowcard p { font-size: 1.3rem; line-height: 1.8rem; color: var(--t3); }
.thumb { flex: none; width: 7.2rem; height: 4.8rem; border-radius: 6px; overflow: hidden; background: var(--p100); }
.thumb-photo { background-image: var(--img); background-size: calc(var(--z, 1) * 100%) auto; background-position: var(--x, 50%) var(--y, 50%); background-repeat: no-repeat; background-color: #bbb; }
.thumb-ui { display: grid; align-content: center; gap: .5rem; padding: 0 .9rem; background: linear-gradient(#e2e8e9, #f6f8f8); }
.thumb-ui i { height: 3px; border-radius: 3px; background: linear-gradient(90deg, var(--ink) var(--v), rgba(31, 43, 47, .12) var(--v)); }
.thumb-num { display: grid; place-items: center; font-family: var(--mono); font-size: 1.7rem; letter-spacing: -.02em; color: var(--ink); background: radial-gradient(at 30% 20%, #ffffff, transparent 60%), var(--mist); }
.thumb-num-flat { color: var(--t3); background: var(--p100); }
.thumb-link { display: flex; align-items: center; justify-content: center; gap: .4rem; font-family: var(--mono); font-size: .9rem; text-transform: uppercase; background: var(--p100); color: var(--ink); }
.thumb-link i { font-style: normal; padding: .2rem .4rem; border-radius: 4px; background: #fff; }
.thumb-link b { width: 1rem; height: 1px; background: var(--ink); }

/* ---------- Reveal ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(20px); transition: opacity .6s var(--e-out), transform .6s var(--e-out); }
.js [data-reveal].in { opacity: 1; transform: none; }

/* ---------- S9 Plan ---------- */
.plan { display: grid; grid-template-columns: 1fr 1fr; overflow: hidden; }
.plan-l { padding-bottom: 4.8rem; }
.plan-l .numlist { padding: 0 3.2rem; }
.plan-r { position: relative; overflow: hidden; padding: 6.4rem 0 0 4rem; background: linear-gradient(180deg, #e3e9ea, #f6f8f8); min-height: 60rem; }
.doc { display: grid; grid-template-columns: 7.2rem 1fr; width: 64rem; background: #fff; border-radius: 12px 0 0 0; box-shadow: inset 0 0 0 1px #edf0f1, var(--glow); will-change: transform; }
.doc-rail { display: grid; align-content: start; gap: .8rem; padding: 1.2rem; border-right: 1px solid var(--line); }
.doc-rail i { aspect-ratio: .75; border-radius: 3px; background: var(--p100); border: 1px solid var(--line); }
.doc-rail i.on { border-color: var(--tone); }
.doc-page { padding: 2.4rem 2.4rem 4rem; }
.doc-brand { display: flex; align-items: center; gap: .6rem; font-size: 1.3rem; }
.doc-brand svg { width: 1.6rem; height: 1.6rem; }
.doc-title { margin-top: 1.6rem; font-size: 2.8rem; letter-spacing: -.02em; }
.doc-pair { display: grid; grid-template-columns: 1fr 1fr; gap: .8rem; margin-top: 1.6rem; }
.doc-pair img { aspect-ratio: 1; object-fit: cover; object-position: 50% 25%; border-radius: 6px; }
.doc-h { margin-top: 2rem; font-family: var(--mono); font-size: 1.1rem; text-transform: uppercase; color: var(--t3); }
.doc-bars { margin-top: 1rem; display: grid; gap: .8rem; }
.doc-bars li { position: relative; height: 2.4rem; border-radius: 4px; background: var(--p100); font-size: 1.2rem; }
.doc-bars li::before { content: ""; position: absolute; inset: 0 auto 0 0; width: var(--v); border-radius: 4px; background: var(--tone-3); }
.doc-bars span { position: relative; line-height: 2.4rem; padding-left: .8rem; }
.doc-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: .8rem; margin-top: 2rem; }
.doc-stats div { padding: 1.2rem; border: 1px solid var(--line); border-radius: 8px; }
.doc-stats b { display: block; font-weight: 400; font-size: 2.4rem; }
.doc-stats span { font-size: 1.1rem; color: var(--t3); }

/* ---------- S10 No surgery ---------- */
.ns-grid { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--line); }
.ns-cell { display: flex; flex-direction: column; align-items: center; gap: 2rem; padding: 4rem 3.2rem; }
.ns-cell + .ns-cell { border-left: 1px solid var(--line); }
.ba-lg { width: 37.2rem; max-width: 100%; aspect-ratio: .79; }
.nosurgery > .footnote { border-top: 1px solid var(--line); text-align: center; }
.link-plus { display: inline-flex; align-items: center; gap: .8rem; padding: 0; border: 0; background: none; font-size: 1.4rem; color: var(--t3); transition: color .3s; }
.link-plus span { display: grid; place-items: center; width: 2.2rem; height: 2.2rem; border-radius: 50%; border: 1px solid var(--border); transition: transform .3s var(--e-out); }
.link-plus svg { width: 1.2rem; height: 1.2rem; }
.link-plus:hover { color: var(--ink); }
.link-plus:hover span { transform: rotate(90deg); }

.modal { padding: 0; border: 0; border-radius: 12px; width: min(58rem, calc(100vw - 3.2rem)); max-height: calc(100vh - 4rem); color: var(--ink); }
.modal::backdrop { background: rgba(20, 28, 32, .45); backdrop-filter: blur(4px); }
.modal[open] { animation: modalIn .35s var(--e-expo); }
@keyframes modalIn { from { opacity: 0; transform: translateY(12px) scale(.98); } }
.modal-in { position: relative; padding: 3.2rem; }
.modal h3 { font-size: 2.4rem; line-height: 3rem; letter-spacing: -.01em; }
.modal-x { position: absolute; top: 1.6rem; right: 1.6rem; width: 3.6rem; height: 3.6rem; display: grid; place-items: center; border: 1px solid var(--border); border-radius: 50%; background: #fff; }
.modal-x svg { width: 1.4rem; height: 1.4rem; transform: rotate(45deg); }
.modal-pair { display: grid; grid-template-columns: 1fr 1fr; gap: .8rem; margin-top: 2rem; }
.modal-pair img { aspect-ratio: .85; object-fit: cover; border-radius: 8px; }
.modal-list { margin-top: 2rem; }
.modal-list li { display: grid; grid-template-columns: 14rem 1fr; gap: 1.6rem; padding: 1.2rem 0; border-top: 1px solid var(--line); font-size: 1.4rem; }
.modal-list span { color: var(--t3); }
.modal-list b { font-weight: 400; }
.modal .footnote { padding: 1.2rem 0 0; }

/* ---------- S11 Follow ---------- */
.follow-more { margin: 0 3.2rem; padding-top: 3.2rem; border-top: 1px solid var(--line); }
.follow-more h3 { font-size: 2rem; }
.follow-more > p { margin-top: .8rem; font-size: 1.4rem; line-height: 2rem; color: var(--t2); }
.follow-more b { font-weight: 500; color: var(--ink); }
.bullets { margin-top: 2rem; display: grid; gap: 1rem; }
.bullets li { position: relative; padding-left: 1.8rem; font-size: 1.4rem; }
.bullets li::before { content: ""; position: absolute; left: 0; top: .75rem; width: .6rem; height: .6rem; border-radius: 50%; background: var(--tone); }
.follow-r { display: flex; justify-content: center; align-items: center; padding: 4.8rem 3.2rem; background: linear-gradient(180deg, #e3e9ea, #f6f8f8); overflow: hidden; }
.pui { width: 46rem; max-width: 100%; padding: 1.6rem; border-radius: 12px; background: #fff; box-shadow: inset 0 0 0 1px #edf0f1, var(--glow); will-change: transform; }
.pui-pair { display: grid; grid-template-columns: 1fr 1fr; gap: .8rem; }
.pui-pair figure { position: relative; }
.pui-pair img { aspect-ratio: 1; object-fit: cover; object-position: 50% 30%; border-radius: 8px; background: var(--mist); }
.pui-pair .mono { position: absolute; top: .8rem; left: .8rem; font-size: 1rem; color: var(--t3); }
.pui-steps { position: relative; margin-top: 1.6rem; display: grid; gap: .8rem; }
.pui-steps::before { content: ""; position: absolute; left: 1.2rem; top: 1.2rem; bottom: 1.2rem; width: 1px; background: var(--line); }
.pui-steps > li { position: relative; display: grid; grid-template-columns: 2.4rem 1fr auto; gap: 1.2rem; align-items: start; padding: 1.2rem 1.2rem 1.2rem 0; border-radius: 8px; font-size: 1.4rem; }
.pui-steps > li.open { background: var(--surface); }
.pui-n { display: grid; place-items: center; width: 2.4rem; height: 2.4rem; border-radius: 50%; background: #fff; border: 1px solid var(--border); font-weight: 400; font-size: 1.2rem; }
.pui-steps em { font-style: normal; font-size: 1rem; color: var(--t3); white-space: nowrap; }
.chip { display: inline-block; margin-top: .6rem; padding: .2rem .8rem; border-radius: 4px; background: var(--p100); font-size: 1.1rem; color: var(--t3); }
.pui-h { margin-top: 1.2rem; font-size: 1rem; color: var(--t3); }
.pui-steps ul { margin-top: .6rem; display: grid; gap: .4rem; }
.pui-steps ul li { padding: .8rem 1rem; border-radius: 6px; background: #fff; border: 1px solid var(--line); font-size: 1.3rem; }

/* ---------- S12 Face tuner ---------- */
.tuner-grid { display: grid; grid-template-columns: 1fr 1.15fr 1fr; border-top: 1px solid var(--line); }
.tuner-cards { display: grid; grid-template-rows: 1fr 1fr; }
.tuner-cards .ftile + .ftile { border-top: 1px solid var(--line); }
.ftile { padding: 2.4rem; }
.ftile h3 { margin-top: 1.6rem; font-size: 1.8rem; }
.ftile p { margin-top: .6rem; font-size: 1.3rem; line-height: 1.8rem; color: var(--t3); }
.ftile-thumb { display: block; width: 12rem; height: 8rem; border-radius: 6px; overflow: hidden; background: var(--p100); }
.ft-a { display: grid; grid-template-columns: 1fr 1fr; gap: .4rem; padding: .8rem; background: linear-gradient(#e2e8e9, #f6f8f8); }
.ft-a i { border-radius: 4px; background: #fff; box-shadow: inset 0 0 0 1px var(--border); }
.ft-b { background: var(--img) 50% 25% / cover; }
.ft-c { display: grid; place-items: center; font-family: var(--mono); font-size: 1.1rem; text-transform: uppercase; color: var(--t3); border: 1px dashed var(--tone-3); background: var(--surface); }
.ft-d { position: relative; background: linear-gradient(#e2e8e9, #f6f8f8); }
.ft-d i { position: absolute; left: 1rem; right: 1rem; top: 50%; height: 4px; border-radius: 4px; background: linear-gradient(90deg, var(--ink) 60%, rgba(31, 43, 47, .12) 60%); }
.ft-d i::after { content: ""; position: absolute; left: 60%; top: -6px; width: 2px; height: 16px; background: var(--ink); }
.tuner { padding: 2.4rem; border-inline: 1px solid var(--line); }
.tuner-stage { position: relative; aspect-ratio: 720 / 987; border-radius: 12px; overflow: hidden; background: var(--mist); }
.tuner-stage img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; transition: opacity .18s linear; }
.tuner-subject { position: absolute; right: 1.2rem; top: 1.2rem; z-index: 3; display: flex; padding: .3rem; border-radius: 999px; background: rgba(0, 0, 0, .3); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.tuner-subject button { border: 0; background: none; color: #fff; font-size: 1.2rem; padding: .6rem 1.2rem; border-radius: 999px; }
.tuner-subject button[aria-pressed="true"] { background: #fff; color: var(--ink); }
.tuner-controls { margin-top: 2rem; display: grid; gap: 1.6rem; }
.tuner-controls .footnote { padding: 0; }
.tslider { display: block; }
.tslider-top { display: flex; justify-content: space-between; font-size: 1.4rem; }
.tslider output { font-family: var(--mono); font-size: 1.2rem; color: var(--ink); }
.tslider-ends { display: flex; justify-content: space-between; font-size: 1rem; color: var(--t3); }
input[type="range"]:not(.ba-range) { -webkit-appearance: none; appearance: none; width: 100%; height: 2.4rem; margin: .4rem 0 0; background: none; cursor: pointer; --v: 0%; }
input[type="range"]:not(.ba-range)::-webkit-slider-runnable-track { height: 4px; border-radius: 4px; background: linear-gradient(90deg, var(--ink) var(--v), var(--line) var(--v)); }
input[type="range"]:not(.ba-range)::-moz-range-track { height: 4px; border-radius: 4px; background: linear-gradient(90deg, var(--ink) var(--v), var(--line) var(--v)); }
input[type="range"]:not(.ba-range)::-webkit-slider-thumb { -webkit-appearance: none; width: 2rem; height: 2rem; margin-top: -.8rem; border-radius: 50%; background: #fff; border: 1px solid var(--border); box-shadow: var(--glow-sm); }
input[type="range"]:not(.ba-range)::-moz-range-thumb { width: 2rem; height: 2rem; border-radius: 50%; background: #fff; border: 1px solid var(--border); box-shadow: 0 2px 8px rgba(0, 0, 0, .15); }

/* ---------- S13 Progress ---------- */
.pg-grid { display: grid; grid-template-columns: 1fr 1.4fr 1fr; gap: 1.6rem; padding: 0 3.2rem 4.8rem; }
.pg-col { display: grid; gap: 1.6rem; align-content: start; }
.metric { display: block; width: 100%; text-align: left; padding: 1.6rem; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); transition: border-color .3s, box-shadow .3s; }
.metric:hover { box-shadow: 0 16px 24px -16px rgba(0, 0, 0, .2); }
.metric[aria-pressed="true"] { border-color: var(--tone); background: #fff; }
.metric-top { display: flex; justify-content: space-between; align-items: center; gap: .8rem; font-size: 1.4rem; }
.metric > b { display: block; margin-top: 1.2rem; font-weight: 400; font-size: 4rem; line-height: 1; letter-spacing: -.02em; }
.tag { font-style: normal; padding: .3rem .8rem; border-radius: 4px; font-size: 1.1rem; white-space: nowrap; }
.tag-up { color: var(--green); background: rgba(12, 104, 38, .08); }
.tag-flat { color: var(--orange); background: rgba(235, 133, 10, .1); }
.tag-est { color: var(--t3); background: var(--p100); }
.mrange { display: block; margin-top: 1.6rem; }
.mrange i { position: relative; display: block; height: 4px; border-radius: 4px; background: var(--line); }
.mrange i::before, .mrange i::after { content: ""; position: absolute; top: -3px; width: 10px; height: 10px; margin-left: -5px; border-radius: 50%; }
.mrange i::before { left: var(--w1); background: var(--tone-3); }
.mrange i::after { left: var(--now); background: var(--ink); }
.mlabels { display: flex; justify-content: space-between; margin-top: .8rem; font-size: 1rem; color: var(--t3); }
.pg-center { display: grid; gap: 1.6rem; align-content: start; }
.pg-photo { position: relative; aspect-ratio: 4 / 3.4; border-radius: 12px; overflow: hidden; background: var(--mist); }
.pg-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 26%; }
.pg-scrub { position: absolute; left: 1.6rem; right: 1.6rem; bottom: 1.2rem; z-index: 3; display: block; }
.pg-scrub-ticks { display: flex; justify-content: space-between; font-size: 1rem; color: var(--t3); }
.pg-heat { position: absolute; inset: 0; width: 100%; height: 100%; }
.pg-heat ellipse { fill: rgba(40, 200, 110, .45); filter: blur(3px); }
.pg-photo figcaption { position: absolute; left: 1.6rem; top: 1.6rem; z-index: 3; display: grid; gap: .2rem; padding: 1rem 1.4rem; border-radius: 8px; color: var(--ink); background: rgba(255, 255, 255, .6); border: 1px solid rgba(255, 255, 255, .9); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.pg-photo figcaption .mono { font-size: 1rem; color: var(--t3); }
.pg-photo figcaption b { font-weight: 400; font-size: 2.4rem; letter-spacing: -.02em; }
.chart { padding: 1.6rem; border-radius: 12px; background: var(--surface); border: 1px solid var(--line); }
.chart-head { display: flex; justify-content: space-between; font-size: 1.4rem; }
.chart-head .mono { font-size: 1rem; color: var(--t3); }
.chart svg { width: 100%; height: auto; margin-top: 1rem; overflow: visible; }
.chart-grid line { stroke: var(--line); }
.chart-band { fill: rgba(154, 174, 181, .25); transition: y .4s var(--e-out), height .4s var(--e-out); }
.chart-line { fill: none; stroke: var(--ink); stroke-width: 1.8; stroke-linejoin: round; }
.chart-dot { fill: #fff; stroke: var(--ink); stroke-width: 1.5; transform-box: fill-box; transform-origin: center; transform: scale(0); transition: transform .5s var(--e-back); }
.chart.is-drawn .chart-dot { transform: scale(1); }
.chart-x text { font-family: var(--mono); font-size: 8px; fill: var(--t3); }
.chart-legend { display: flex; gap: 1.6rem; margin-top: .8rem; font-size: 1.1rem; color: var(--t3); }
.chart-legend span::before { content: ""; display: inline-block; vertical-align: middle; width: 1.4rem; margin-right: .6rem; }
.lg-line::before { height: 2px; background: var(--ink); }
.lg-band::before { height: .8rem; background: rgba(154, 174, 181, .35); }

/* ---------- S14 Bento ---------- */
.bento { display: grid; grid-template-columns: repeat(3, 1fr); grid-template-rows: auto auto; gap: 1px; background: var(--line); }
.bento > * { background: #fff; }
.bento-stat { grid-row: span 2; display: flex; flex-direction: column; min-height: 64rem; margin: 0; padding: 4.8rem; border-radius: 12px; outline: .8rem solid #fff; outline-offset: -.8rem; }
.bento-big { font-size: 7.2rem; line-height: 7.6rem; letter-spacing: -.108rem; }
.bento-lbl { font-size: 2.4rem; line-height: 3rem; color: var(--tone); }
.bento-h { margin-top: auto; font-size: 3.2rem; line-height: 3.6rem; letter-spacing: -.048rem; }

.btile { display: flex; flex-direction: column; align-items: center; text-align: center; padding: 2.4rem 2.4rem 3.2rem; background: linear-gradient(#eef0f0, var(--paper) 75%); }
.btile h3 { margin-top: 2rem; font-size: 1.6rem; }
.btile p { margin-top: .4rem; font-size: 1.2rem; line-height: 1.6rem; color: var(--t3); max-width: 28rem; }
.bt-ill { width: 100%; max-width: 30rem; height: 18rem; display: grid; place-items: center; }
.bt-chips { display: flex; flex-direction: column; gap: .8rem; align-items: center; justify-content: center; }
.bt-chips span { position: relative; padding: .8rem 1.6rem; border-radius: 999px; background: #fff; font-size: 1.3rem; color: var(--t3); box-shadow: var(--glow-sm); }
.bt-chips span::after { content: ""; position: absolute; left: 1rem; right: 1rem; top: 50%; height: 1px; background: var(--ink); transform: scaleX(0); transform-origin: left; transition: transform .5s var(--e-inout); }
.btile.in .bt-chips span::after, .btile:hover .bt-chips span::after { transform: scaleX(1); }
.bt-chips span:nth-child(2)::after { transition-delay: .12s; }
.bt-chips span:nth-child(3)::after { transition-delay: .24s; }
.bt-bag { position: relative; }
.bt-bag i { position: absolute; width: 7rem; height: 7rem; border-radius: 1.2rem; background: #fff; box-shadow: var(--glow-sm); transition: transform .6s var(--e-out), opacity .6s; }
.bt-bag i:nth-child(1) { transform: translate(-5rem, 1rem) rotate(-8deg); }
.bt-bag i:nth-child(2) { transform: translate(0, -1rem); }
.bt-bag i:nth-child(3) { transform: translate(5rem, 1rem) rotate(8deg); }
.bt-bag i::after { content: ""; position: absolute; inset: 50% 1.4rem auto; height: 1px; background: var(--red); transform: rotate(-35deg); opacity: 0; transition: opacity .4s .3s; }
.btile.in .bt-bag i::after, .btile:hover .bt-bag i::after { opacity: .7; }
.bt-doc { position: relative; width: 14rem; height: 16rem; margin: 1rem auto 0; padding: 2rem 1.6rem; border-radius: 8px; background: #fff; box-shadow: var(--glow-sm); display: grid; align-content: start; gap: 1rem; place-items: stretch; }
.bt-doc i { height: 4px; border-radius: 4px; background: var(--line); }
.bt-doc i:nth-child(2) { width: 80%; }
.bt-doc b { position: absolute; font-family: var(--mono); font-weight: 400; font-size: 1rem; padding: .1rem .5rem; border: 1px solid var(--tone); border-radius: 99px; color: var(--tone); transform: scale(0); transition: transform .5s var(--e-back); }
.bt-doc b:nth-of-type(1) { right: 1.2rem; top: 1.4rem; }
.bt-doc b:nth-of-type(2) { right: 3rem; top: 4.2rem; transition-delay: .15s; }
.btile.in .bt-doc b, .btile:hover .bt-doc b { transform: scale(1); }
.bt-week { display: flex; gap: .8rem; align-items: flex-end; }
.bt-week i { width: 2.4rem; height: 6rem; border-radius: 6px; background: #fff; box-shadow: var(--glow-sm); }
.bt-week i.on { height: 10rem; background: var(--ink); transition: height .6s var(--e-back); }
.btile:not(.in) .bt-week i.on { height: 6rem; }

/* ---------- S15 Catalogue accordion ---------- */
.badges { display: flex; justify-content: center; gap: 1.6rem; margin-top: 2.4rem; }
.badges span { font-size: 1.1rem; color: var(--t3); padding: .6rem 1rem; border: 1px solid var(--border); border-radius: 6px; }
.acc { max-width: 108rem; margin: 0 auto 8rem; padding: 1.2rem; background: var(--surface); border: 1px solid var(--line); border-radius: 16px; }
.catalogue { padding-inline: 3.2rem; }
.acc-item + .acc-item { border-top: 1px solid var(--line); }
.acc-item h3 { font-size: inherit; }
.acc-item h3 button { position: relative; isolation: isolate; overflow: hidden; display: grid; grid-template-columns: 4.4rem 1fr auto 1.6rem; gap: 1.6rem; align-items: center; width: 100%; padding: 1.2rem; text-align: left; border: 0; border-radius: 12px; background: none; transition: background-color .3s, color .3s; }
.acc-item h3 button::before { content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0; transition: opacity .3s; background: radial-gradient(at 20% 30%, #ffffff, transparent 60%), var(--mist-2); }
.acc-item h3 button:hover { background: var(--line); }
.acc-item.is-open h3 button { color: var(--ink); }
.acc-item.is-open h3 button::before { opacity: 1; }
.acc-thumb { width: 4.4rem; height: 4.4rem; border-radius: 8px; }
.thumb-x { display: grid; place-items: center; background: #fff; border: 1px solid var(--border); color: var(--t3); }
.thumb-x svg { width: 1.6rem; height: 1.6rem; transform: rotate(45deg); }
.acc-t { font-size: 2rem; line-height: 2.4rem; font-weight: 500; letter-spacing: -.01em; }
.acc-n { font-size: 1.2rem; color: var(--t3); }
.acc-item.is-open .acc-n { color: var(--t3); }
.acc-plus { width: 1.6rem; height: 1.6rem; transition: transform .3s var(--e-out); }
.acc-item.is-open .acc-plus { transform: rotate(45deg); }
.acc-body:not([hidden]) { animation: accIn .35s var(--e-expo); }
@keyframes accIn { from { opacity: 0; transform: translateY(8px); } }
.acc-body ul { display: grid; grid-template-columns: 1fr 1fr; gap: .4rem 2.4rem; padding: 1.6rem 1.2rem 2rem 7.2rem; }
.acc-body li { padding: .8rem 0; font-size: 1.3rem; color: var(--t3); border-bottom: 1px solid var(--line); }
.acc-body li b { display: block; font-weight: 400; font-size: 1.5rem; color: var(--ink); }
.acc-not .acc-t { color: var(--t3); }
.acc-not.is-open .acc-t { color: var(--ink); }

/* ---------- S16 Discover cards ---------- */
.sh-row { display: flex; justify-content: space-between; align-items: flex-end; gap: 2.4rem; }
.dc-grid { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); }
.dcard { padding: 2.4rem; outline-offset: -4px; }
.dcard + .dcard { border-left: 1px solid var(--line); }
.dc-n { font-size: 1.2rem; color: var(--tone); }
.dcard h3 { margin-top: .8rem; font-size: 2.2rem; line-height: 2.8rem; letter-spacing: -.01em; }
.dcard > p:not(.dc-n) { margin-top: .6rem; font-size: 1.4rem; line-height: 2rem; color: var(--t3); min-height: 4rem; }
.dc-media { position: relative; margin-top: 2rem; aspect-ratio: 4 / 3; border-radius: 12px; overflow: hidden; background: var(--mist); }
.dc-media img { width: 100%; height: 100%; object-fit: cover; }
.dc-scan { position: absolute; top: 0; bottom: 0; left: 0; width: 30%; background: linear-gradient(90deg, transparent, rgba(120, 178, 184, .22), transparent); border-right: 1px solid var(--scan); transform: translateX(-100%); }
.dcard.is-fx .dc-scan { animation: scan .75s var(--e-inout); }
@keyframes scan { to { transform: translateX(340%); } }
.dc-chip { position: absolute; display: grid; gap: .2rem; padding: .8rem 1.2rem; border-radius: 8px; color: var(--ink); background: rgba(255, 255, 255, .62); border: 1px solid rgba(255, 255, 255, .95); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); transition: transform .4s var(--e-out); }
.dc-chip .mono { font-size: .9rem; color: var(--t3); }
.dc-chip b { font-weight: 400; font-size: 1.8rem; }
.dc-chip-tl { left: 1.2rem; top: 1.2rem; }
.dc-chip-br { right: 1.2rem; bottom: 1.2rem; }
.dcard.is-fx .dc-chip { transform: translateY(-6px); }
.dc-dots { position: absolute; inset: 0; width: 100%; height: 100%; }
.dc-dots circle { fill: var(--scan); opacity: .95; transform-box: fill-box; transform-origin: center; transition: transform .4s var(--e-back); }
.dcard.is-fx .dc-dots circle { transform: scale(1.8); }
.dc-chips { position: absolute; left: 1.2rem; right: 1.2rem; bottom: 1.2rem; display: flex; flex-wrap: wrap; gap: .6rem; }
.dc-chips span { padding: .6rem 1rem; border-radius: 6px; font-size: 1.1rem; color: var(--ink); background: rgba(255, 255, 255, .62); border: 1px solid rgba(255, 255, 255, .95); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); transition: transform .4s var(--e-out); }
.dc-chips b { font-weight: 500; }
.dcard.is-fx .dc-chips span { transform: translateY(-6px); }
.dcard.is-fx .dc-chips span:nth-child(2) { transition-delay: .06s; }
.dcard.is-fx .dc-chips span:nth-child(3) { transition-delay: .12s; }
.dc-ring { position: absolute; left: 1.2rem; top: 1.2rem; width: 9rem; height: 9rem; display: grid; place-items: center; color: var(--ink); }
.dc-ring svg { position: absolute; inset: 0; transform: rotate(-90deg); }
.dc-ring circle { fill: rgba(255, 255, 255, .62); stroke: rgba(31, 43, 47, .12); stroke-width: 3; }
.dc-ring .dc-ring-v { fill: none; stroke: var(--ink); stroke-dasharray: 100; stroke-dashoffset: 94; transition: stroke-dashoffset .75s var(--e-out); }
.dcard.is-fx .dc-ring-v { stroke-dashoffset: 70; }
.dc-ring b { position: relative; font-weight: 400; font-size: 1.8rem; }

/* ---------- S17 Practice marquee ---------- */
.practice { padding-bottom: 2.4rem; overflow: hidden; }
.mq-media { color: #fff; }
.marquee { position: relative; overflow: hidden; padding: 1.2rem 0 2.4rem;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 18rem, #000 calc(100% - 18rem), transparent); mask-image: linear-gradient(90deg, transparent, #000 18rem, #000 calc(100% - 18rem), transparent); }
.marquee-track { display: flex; width: max-content; animation: marquee var(--dur, 50s) linear infinite; }
.marquee.is-paused .marquee-track { animation-play-state: paused; }
.marquee-group { display: flex; gap: 1.2rem; padding-right: 1.2rem; align-items: stretch; }
@keyframes marquee { to { transform: translateX(-50%); } }
.mq-stack { display: flex; flex-direction: column; gap: 1.2rem; width: 26rem; height: 52rem; }
.mq-media { position: relative; flex: 1; overflow: hidden; border-radius: 12px; background: #4f6168; }
.mq-media video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.mq-media figcaption { position: absolute; inset: auto 0 0; display: flex; justify-content: space-between; align-items: flex-end; gap: 1rem; padding: 4rem 1.6rem 1.4rem; background: linear-gradient(transparent, rgba(0, 0, 0, .6)); font-size: 1.4rem; }
.mq-media figcaption b { font-weight: 400; }
.mq-media figcaption .mono { font-size: 1rem; opacity: .7; white-space: nowrap; }
.mq-tall { width: 29.2rem; height: 52rem; flex: none; }
.mq-wide { width: 76rem; height: 52rem; flex: none; }
.mq-pair { flex: none; height: 14.6rem; }
.mq-quote { flex: none; display: flex; flex-direction: column; justify-content: space-between; min-height: 15.2rem; padding: 1.6rem; border-radius: 12px; background: rgba(255, 255, 255, .62); border: 1px solid rgba(255, 255, 255, .95); }
.mq-quote p { font-size: 1.6rem; line-height: 2.2rem; }
.mq-quote cite { font-style: normal; font-size: 1.1rem; color: var(--t3); margin-top: 1.2rem; }
.mq-stack .mq-quote + .mq-media, .mq-stack .mq-media:first-child { flex: 1; }

/* ---------- S18 Library ---------- */
.lib-grid { display: grid; grid-template-columns: repeat(5, 1fr); border-top: 1px solid var(--line); }
.lib { padding: 1.6rem; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.lib:nth-child(5n) { border-right: 0; }
.lib-tile { display: flex; flex-direction: column; justify-content: space-between; aspect-ratio: 1; padding: 1.6rem; border-radius: 8px; color: var(--ink); background: radial-gradient(at 25% 20%, #ffffff, transparent 60%), radial-gradient(at 85% 90%, #dde5e6, transparent 60%), var(--mist); box-shadow: inset 0 0 0 1px #e6eaeb; }
.lib-tile b { font-weight: 400; font-size: 2.4rem; line-height: 2.8rem; letter-spacing: -.02em; }
.lib-tile .mono { font-size: 1.2rem; color: var(--t3); }
.lib h3 { margin-top: 1.6rem; font-size: 1.6rem; }
.lib p { margin-top: .6rem; font-size: 1.2rem; line-height: 1.6rem; color: var(--t3); }

/* ---------- S19 Tech cards ---------- */
.tech-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.2rem; padding: 0 3.2rem 4.8rem; }
.tcard { position: relative; isolation: isolate; overflow: hidden; display: flex; flex-direction: column; justify-content: space-between; aspect-ratio: 2 / 3; padding: 2.4rem; border-radius: 12px; color: var(--ink); background: radial-gradient(at 30% 15%, #ffffff, transparent 60%), radial-gradient(at 80% 95%, #dce4e5, transparent 60%), var(--mist); box-shadow: inset 0 0 0 1px #e6eaeb; }
.tc-text h3 { font-size: 2rem; line-height: 2.4rem; }
.tc-text p { margin-top: .8rem; font-size: 1.3rem; line-height: 1.8rem; color: var(--t2); }
.tcard-photo { color: #fff; }
.tcard-photo .tc-text p { color: rgba(255, 255, 255, .85); }
.tc-bottom { margin-top: auto; }
.tcard-photo img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; object-position: 62% 50%; }
.tcard-photo::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(transparent 45%, rgba(20, 30, 34, .75)); }
.tc-ill { flex: 1; display: grid; place-items: center; }
.tc-globe span { width: 78%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, rgba(31, 43, 47, .45) 1.1px, transparent 1.5px) 0 0 / 12px 12px; -webkit-mask-image: radial-gradient(circle, #000 55%, transparent 71%); mask-image: radial-gradient(circle, #000 55%, transparent 71%); animation: globe 30s linear infinite; }
@keyframes globe { to { background-position: 240px 0; } }
.orbit { position: relative; width: 22rem; aspect-ratio: 1; border-radius: 50%; border: 1px dashed var(--tone-2); animation: spin 24s linear infinite; animation-play-state: paused; }
.tcard:hover .orbit, .tcard:focus-within .orbit { animation-play-state: running; }
.orbit-c { position: absolute; inset: 35%; display: grid; place-items: center; border-radius: 50%; background: #fff; box-shadow: var(--glow-sm); }
.orbit-c svg { width: 3.4rem; height: 3.4rem; }
.orbit i { position: absolute; left: 50%; top: 50%; transform: rotate(var(--a)) translateY(-11rem) rotate(calc(var(--a) * -1)); }
.orbit b { display: block; transform: translate(-50%, -50%); padding: .5rem 1rem; border-radius: 999px; font-weight: 400; font-size: 1.1rem; white-space: nowrap; background: rgba(255, 255, 255, .75); box-shadow: inset 0 0 0 1px #fff; backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); animation: spin 24s linear infinite reverse; animation-play-state: inherit; }
.tcard:hover .orbit b { animation-play-state: running; }
.orbit b { animation-play-state: paused; }
@keyframes spin { to { transform: rotate(360deg); } }
.orbit b { animation-name: spinBack; }
@keyframes spinBack { from { transform: translate(-50%, -50%) rotate(0); } to { transform: translate(-50%, -50%) rotate(-360deg); } }
.tc-audit { align-content: center; gap: 2rem; }
.audit-row { display: flex; gap: .8rem; }
.audit-row i { width: 3.6rem; height: 3.6rem; border-radius: 50%; background: var(--c); border: 2px solid #fff; }
.audit-swap { position: relative; height: 3.2rem; overflow: hidden; text-align: center; }
.audit-swap span { display: block; padding: .7rem 1.4rem; border-radius: 999px; background: #fff; font-size: 1.3rem; transition: transform .2s var(--e-out), opacity .15s; }
.audit-swap span + span { position: absolute; inset: 0; transform: translateY(5px); opacity: 0; }
.tcard-swap:hover .audit-swap span:first-child { transform: translateY(-5px); opacity: 0; }
.tcard-swap:hover .audit-swap span + span { transform: none; opacity: 1; }

/* ---------- S20 Photographs ---------- */
.ph-top { display: grid; grid-template-columns: 1fr 1.5fr; align-items: center; }
.ph-fig { position: relative; margin: 4rem 3.2rem 4rem 0; padding: 4.8rem 4rem 3.2rem; border-radius: 12px; overflow: hidden; }
.ph-dots { position: absolute; inset: 0; z-index: -1; background: radial-gradient(circle, #d8dfe2 1.3px, transparent 1.7px) 0 0 / 14px 14px; -webkit-mask-image: radial-gradient(70% 70% at 50% 50%, #000 40%, transparent 100%); mask-image: radial-gradient(70% 70% at 50% 50%, #000 40%, transparent 100%); }
.ph-fig { isolation: isolate; }
.ph-bars { display: grid; gap: 2rem; }
.ph-bar { display: grid; grid-template-columns: 6rem 1fr; grid-template-rows: auto auto; column-gap: 1.6rem; align-items: center; }
.ph-bar .mono { grid-row: span 2; font-size: 1.2rem; color: var(--t3); }
.ph-bar i { display: block; height: 2.4rem; width: calc(var(--w) * .7); border-radius: 4px; background: var(--tone-3); transform: scaleX(0); transform-origin: left; transition: transform 1s var(--e-out); }
.ph-bar-hi i { background: var(--tone); }
.ph-bar b { font-weight: 400; font-size: 1.3rem; margin-top: .6rem; color: var(--t2); }
.ph-fig.in .ph-bar i { transform: none; }
.ph-fig.in .ph-bar:nth-child(2) i { transition-delay: .15s; }
.ph-fig.in .ph-bar:nth-child(3) i { transition-delay: .3s; }
.ph-fig figcaption { margin-top: 2.4rem; font-size: 1.1rem; color: var(--t3); }
.facts { display: grid; grid-template-columns: repeat(5, 1fr); border-top: 1px solid var(--line); }
.facts li { padding: 2.4rem; font-size: 1.4rem; line-height: 2rem; color: var(--t2); }
.facts li + li { border-left: 1px solid var(--line); }
.fact-n { position: relative; display: inline-grid; place-items: center; width: 2.6rem; height: 2.6rem; margin-bottom: 1.6rem; font-size: 1.2rem; color: var(--ink); }
.fact-n::before, .fact-n::after { content: ""; position: absolute; width: .7rem; height: .7rem; border: 1px solid var(--tone); }
.fact-n::before { left: 0; top: 0; border-right: 0; border-bottom: 0; }
.fact-n::after { right: 0; bottom: 0; border-left: 0; border-top: 0; }

/* ---------- S21 Big principle ---------- */
.bigq { display: grid; grid-template-columns: 38rem 1fr; }
.bigq > * { border-bottom: 1px solid var(--line); }
.bigq-photo { padding: 1.6rem; border-right: 1px solid var(--line); }
.bigq-photo img { width: 100%; aspect-ratio: 35 / 40; object-fit: cover; object-position: 50% 30%; border-radius: 12px; }
.bigq-photo .footnote { padding: .8rem 0 0; }
.bigq-empty:nth-of-type(2) { border-right: 1px solid var(--line); }
.bigq > .bigq-empty:first-of-type { }
.bigq-text { padding: 4rem; }
.bigq-text p { font-size: 3.2rem; line-height: 3.6rem; letter-spacing: -.015em; max-width: 64rem; }
.bigq-text footer { margin-top: 2.4rem; display: grid; gap: .4rem; }
.bigq-text footer b { font-weight: 400; font-size: 1.6rem; }
.bigq-text footer span { font-size: 1.2rem; line-height: 1.6rem; color: var(--t3); max-width: 44rem; }

/* ---------- S22 Stepper ---------- */
.stepper { position: relative; height: calc(var(--vh) + 200px * 5); margin: 0; }
.stepper-sticky { position: sticky; top: 0; height: var(--vh); display: grid; grid-template-columns: 38.7rem 1fr 26rem; align-items: center; overflow: hidden; }
.stepper-l { padding: 0 0 0 0; }
.stepper-l .sh { padding: 0 3.2rem 2.4rem; }
.stepper-l .btn { margin-left: 3.2rem; }
.stepper-items { position: relative; height: 100%; }
.st-item { position: absolute; left: 50%; top: 50%; width: 44rem; padding: .6rem 0; transform: translate(-50%, -50%); transition: transform .5s var(--e-expo), opacity .25s ease-in-out, filter .25s ease-in-out; }
.st-item figure { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.st-item figure > span { position: relative; aspect-ratio: 216 / 240; overflow: hidden; border-radius: 8px; background: var(--mist); }
.st-item img { width: 100%; height: 100%; object-fit: cover; object-position: var(--ox, 50%) var(--oy, 30%); transform: scale(var(--z, 1)); transform-origin: var(--ox, 50%) var(--oy, 30%); }
.st-item figure > span::after { content: ""; position: absolute; inset: 0; background: rgba(255, 255, 255, .1); transition: opacity .25s; }
.st-item.is-active figure > span::after { opacity: 0; }
.st-cap { position: absolute; right: -9rem; top: 50%; transform: translateY(-50%); font-family: var(--mono); font-size: 1.1rem; text-transform: uppercase; color: var(--t3); opacity: 0; transition: opacity .25s; }
.st-item.is-active .st-cap { opacity: 1; }
.st-item.is-near { opacity: .6; filter: blur(2px); }
.st-item.is-far { opacity: .15; filter: blur(4px); pointer-events: none; }
.st-item.is-gone { opacity: 0; pointer-events: none; }
.stepper-r { display: flex; align-items: center; gap: 3.2rem; padding-right: 3.2rem; height: 100%; position: relative; }
.stepper-note { flex: 1; font-size: 1.3rem; line-height: 1.8rem; color: var(--t3); }
.rail { display: flex; flex-direction: column; align-items: center; gap: 1rem; font-size: 1.1rem; color: var(--t3); }
.rail-track { position: relative; width: 6px; height: 23.8rem; border-radius: 6px; background: var(--line); overflow: hidden; }
.rail-track i { position: absolute; left: 0; right: 0; top: 0; height: calc(100% / 8); border-radius: 6px; background: var(--tone-2); transition: transform .4s var(--e-expo); }
.rail-count { position: absolute; right: 3.2rem; bottom: 4rem; font-size: 1.1rem; color: var(--t3); }

/* ---------- S23 Band ---------- */
.band { position: relative; height: max(var(--vh), 64rem); max-height: 96rem; overflow: hidden; color: #fff; background: #2b2a25; }
.band-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.band-scrim { position: absolute; inset: 0; background: linear-gradient(transparent, rgba(0, 0, 0, .78)); -webkit-mask-image: linear-gradient(transparent 26%, #000 69%); mask-image: linear-gradient(transparent 26%, #000 69%); }
.band-in { position: absolute; left: 0; right: 0; bottom: 0; padding-bottom: 3.2rem; }
.band-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 2.4rem; border: 0; padding: 0 0 2.4rem; }
.band-head .sh { padding: 0 3.2rem; }
.band-head .btn { margin-right: 3.2rem; }
.band .title .tone { display: block; }
.marquee-glass { -webkit-mask-image: none; mask-image: none; padding: 0; }
.gq { flex: none; display: flex; flex-direction: column; justify-content: space-between; width: 37.2rem; min-height: 16rem; padding: 1.6rem; border-radius: 12px; background: rgba(255, 255, 255, .22); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.gq p { font-size: 1.6rem; line-height: 2.4rem; }
.gq .mono { font-size: 1.1rem; opacity: .75; }

/* ---------- S24 How ---------- */
.how-grid { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); }
.how-step { padding: 2.4rem; }
.how-step + .how-step { border-left: 1px solid var(--line); }
.how-media { position: relative; aspect-ratio: 420 / 255; border-radius: 12px; overflow: hidden; background: linear-gradient(#e2e8e9, #f6f8f8); display: flex; justify-content: center; align-items: flex-start; padding-top: 2.4rem; }
.how-media::after { content: ""; position: absolute; inset: auto 0 0; height: 35%; background: linear-gradient(transparent, var(--paper)); }
.how-n { margin-top: 2.4rem; font-size: 1.2rem; color: var(--tone); }
.how-step h3 { margin-top: .6rem; font-size: 2.2rem; }
.how-step > p:not(.how-n) { margin-top: .6rem; font-size: 1.4rem; line-height: 2rem; color: var(--t3); }
.hui { width: 76%; padding: 1.2rem; border-radius: 10px; background: #fff; box-shadow: inset 0 0 0 1px #edf0f1, var(--glow-sm); font-size: 1.2rem; will-change: transform; }
.hui-scan { display: grid; grid-template-columns: 9rem 1fr; gap: 1.2rem; }
.hui-frame { position: relative; aspect-ratio: 3 / 4; border-radius: 6px; overflow: hidden; }
.hui-frame img { width: 100%; height: 100%; object-fit: cover; }
.hui-line { position: absolute; left: 0; right: 0; height: 2px; background: rgba(255, 255, 255, .9); box-shadow: 0 0 10px #fff; animation: scanY 2.4s var(--e-inout) infinite alternate; }
@keyframes scanY { from { top: 10%; } to { top: 85%; } }
.hui-checks { display: grid; gap: .6rem; align-content: start; }
.hui-checks li, .hui-plan li { display: flex; align-items: center; gap: .6rem; padding: .6rem .8rem; border-radius: 6px; background: var(--surface); }
.hui-checks li::before, .hui-plan li::before { content: ""; flex: none; width: 1.1rem; height: 1.1rem; border-radius: 50%; border: 1px solid var(--tone-3); }
.hui li.ok::before { background: var(--ink); border-color: var(--ink); }
.hui li.spin::before { border-color: var(--tone-3); border-top-color: var(--ink); animation: spinner .8s linear infinite; }
@keyframes spinner { to { transform: rotate(360deg); } }
.hui-plan ul, .hui-report ul { display: grid; gap: .6rem; margin-top: .8rem; }
.hui-plan li.hl { background: var(--p100); outline: 1px solid var(--tone-3); }
.hui-h { font-family: var(--mono); font-size: 1rem; text-transform: uppercase; color: var(--t3); }
.hui-bars li { position: relative; display: flex; justify-content: space-between; padding: .6rem .8rem; border-radius: 6px; background: var(--surface); overflow: hidden; }
.hui-bars li::before { content: ""; position: absolute; inset: 0 auto 0 0; width: var(--v); background: var(--tone-3); opacity: .6; }
.hui-bars span, .hui-bars b { position: relative; font-weight: 400; }

/* ---------- S25 Pricing ---------- */
.pr-grid { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--line); }
.pr-list { padding: 4rem 3.2rem; display: grid; gap: 2.8rem; align-content: start; }
.pr-list li { display: flex; gap: 1.2rem; }
.pr-list svg { width: 1.8rem; height: 1.8rem; margin-top: .2rem; color: var(--green); }
.pr-list h3 { font-size: 1.6rem; }
.pr-list p { margin-top: .2rem; font-size: 1.4rem; color: var(--t3); }
.pr-side { padding: 4rem 3.2rem; border-left: 1px solid var(--line); display: grid; gap: 2.4rem; align-content: start; justify-items: center; scroll-margin-top: 10rem; }
.pr-card { width: 100%; max-width: 49rem; min-height: 30rem; padding: 3.2rem; border-radius: 12px; display: flex; flex-direction: column; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .9), var(--glow); }
.pr-brand { display: flex; align-items: center; gap: .8rem; font-size: 2.2rem; }
.pr-brand svg { width: 2.6rem; height: 2.6rem; }
.pr-name { font-size: 2.2rem; }

.pr-price { margin-top: auto; font-size: 3.2rem; line-height: 3.6rem; letter-spacing: -.02em; max-width: 36rem; }
.pr-note { margin-top: 1.2rem; font-size: 1.2rem; color: var(--t3); }
.pr-side .signup { width: 100%; max-width: 49rem; }
.trust { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); }
.trust li { display: flex; align-items: center; justify-content: center; gap: .8rem; padding: 2rem; font-size: 1.4rem; color: var(--t3); }
.trust li + li { border-left: 1px solid var(--line); }
.trust svg { width: 1.6rem; height: 1.6rem; color: var(--tone); }

/* ---------- Signup ---------- */
.signup-form { display: flex; gap: .8rem; }
.signup-form input { flex: 1; min-width: 0; height: 4.8rem; padding: 0 2rem; border: 1px solid var(--border); border-radius: 999px; font: inherit; font-size: 1.6rem; color: var(--ink); background: #fff; }
.signup-form input:focus-visible { outline: 2px solid var(--tone); outline-offset: 1px; }
.signup-note { margin-top: 1rem; font-size: 1.3rem; color: var(--t3); text-align: center; }
.signup-note.is-error { color: var(--red); }
.thanks { text-align: center; }
.thanks-title { font-size: 2rem; }
.thanks-ask { margin-top: .4rem; font-size: 1.4rem; color: var(--t3); }
.chips { display: flex; flex-wrap: wrap; justify-content: center; gap: .6rem; margin-top: 1.2rem; }
.chips button { padding: .8rem 1.4rem; border: 1px solid var(--border); border-radius: 999px; background: #fff; font-size: 1.3rem; }
.chips button[aria-pressed="true"] { background: var(--ink); color: #fff; border-color: var(--ink); }
.signup-foot .signup-note { text-align: left; }
.signup-foot .thanks { text-align: left; }
.signup-foot .chips { justify-content: flex-start; }

/* ---------- S26 Support ---------- */
.sup-grid { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); }
.scard { padding: 2.4rem; }
.scard + .scard { border-left: 1px solid var(--line); }
.scard h3 { margin-top: 2rem; font-size: 2.2rem; }
.scard > p { margin-top: .6rem; font-size: 1.4rem; line-height: 2rem; color: var(--t3); }
.sc-media { aspect-ratio: 4 / 3; border-radius: 12px; overflow: hidden; display: grid; place-items: center; padding: 2rem; }
.sc-paper { background: linear-gradient(#e3e9ea, #f6f8f8); }
.chat { width: 100%; display: grid; gap: .8rem; }
.bub { max-width: 82%; padding: 1rem 1.2rem; border-radius: 12px; font-size: 1.25rem; line-height: 1.7rem; }
.bub-l { justify-self: start; background: #fff; box-shadow: var(--glow-sm); color: var(--ink); border-bottom-left-radius: 4px; transform-origin: 0 100%; }
.bub-r { justify-self: end; background: var(--ink); color: #fff; border-bottom-right-radius: 4px; transform-origin: 100% 100%; }
.js .support:not(.is-in) .bub { opacity: 0; transform: scale(0) translateY(100%); }
.support .bub { transition: opacity .6s var(--e-back), transform .6s var(--e-back); }
.support .bub:nth-child(2) { transition-delay: .3s; }
.support .bub:nth-child(3) { transition-delay: .6s; }
.letter { width: 88%; height: 100%; padding: 2rem; border-radius: 6px 6px 0 0; background: #fff; box-shadow: var(--glow-sm); align-self: end; margin-bottom: -2rem; }
.letter-meta { font-size: 1rem; color: var(--t3); }
.letter-body { margin-top: 1rem; font-size: 1.25rem; line-height: 1.8rem; }
.letter-body .ch { display: inline-block; opacity: 0; transform: translateY(100%); white-space: pre; }
.support.is-in .letter-body .ch { animation: charIn .03s forwards; animation-delay: calc(var(--c) * 10ms + 300ms); }
@keyframes charIn { to { opacity: 1; transform: none; } }
.letter-sign { margin-top: 1rem; font-style: italic; font-size: 1.6rem; }
.mini-chart { width: 100%; padding: 1.6rem; border-radius: 10px; background: rgba(255, 255, 255, .6); border: 1px solid rgba(255, 255, 255, .95); }
.mini-chart .mono { font-size: 1rem; color: var(--t3); }
.mini-chart .band-noise { fill: rgba(147, 162, 165, .22); }
.mini-chart svg { width: 100%; height: auto; margin-top: 1rem; overflow: visible; }
.sc-line { fill: none; stroke: var(--ink); stroke-width: 2; stroke-dasharray: 260; stroke-dashoffset: 260; transition: stroke-dashoffset 1.4s var(--e-out) .2s; }
.support.is-in .sc-line { stroke-dashoffset: 0; }
.no-js .sc-line { stroke-dashoffset: 0; }

/* ---------- S28 FAQ ---------- */
.faq-grid { display: grid; grid-template-columns: minmax(0, .25fr) minmax(0, 1fr); gap: 4.8rem; padding: 0 3.2rem 8rem; }
.faq-filters { position: relative; display: flex; flex-direction: column; align-items: flex-start; padding-left: 1.6rem; border-left: 1px solid var(--line); align-self: start; }
.faq-filters button { padding: .8rem 0; border: 0; background: none; font-size: 1.4rem; color: var(--t3); text-align: left; transition: color .3s; }
.faq-filters button:hover, .faq-filters button[aria-selected="true"] { color: var(--ink); }
.faq-ind { position: absolute; left: -1px; top: 0; width: 2px; height: 0; background: var(--ink); transition: transform .35s var(--e-expo), height .35s var(--e-expo), width .35s var(--e-expo); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item:first-child { border-top: 1px solid var(--line); }
.faq-item h3 { font-size: inherit; }
.faq-item button { display: flex; justify-content: space-between; align-items: center; gap: 2rem; width: 100%; padding: 2rem 0; border: 0; background: none; text-align: left; font-size: 1.8rem; line-height: 2.4rem; }
.faq-item button svg { width: 1.6rem; height: 1.6rem; color: var(--t3); transition: transform .3s var(--e-out); }
.faq-item.is-open button svg { transform: rotate(45deg); }
.faq-a:not([hidden]) { animation: accIn .35s var(--e-expo); }
.faq-a p { padding: 0 4rem 2rem 0; font-size: 1.5rem; line-height: 2.3rem; color: var(--t2); max-width: 72rem; }
.faq-item.is-entering { animation: cardIn .4s var(--e-out) both; animation-delay: calc(var(--i, 0) * 50ms); }

/* ---------- S29 Story ---------- */
.story { position: relative; color: #fff; background: #3b3a36; }
.story-media { position: sticky; top: 0; height: var(--vh); margin-bottom: calc(var(--vh) * -1); overflow: hidden; }
.story-media video { width: 100%; height: 100%; object-fit: cover; }
.story-scrim { position: absolute; inset: 0; background: linear-gradient(transparent, rgba(0, 0, 0, .75)); -webkit-mask-image: linear-gradient(transparent 20%, #000 75%); mask-image: linear-gradient(transparent 20%, #000 75%); }
.story-blur { position: absolute; inset: 0; opacity: 0; background: rgba(0, 0, 0, .12); backdrop-filter: blur(3.6px); -webkit-backdrop-filter: blur(3.6px); transition: opacity .3s linear; }
.story-a { position: relative; min-height: var(--vh); display: flex; align-items: flex-end; }
.story-a-in { border: 0; padding-bottom: 4rem; width: calc(100% - 8rem); }
.story-a .sh { padding: 0 3.2rem 3.2rem; }
.story-a .sub { max-width: 52rem; }
.story-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; padding: 0 3.2rem; }
.sgl { display: grid; grid-template-columns: 5.6rem 1fr; gap: 1.2rem; padding: 1.6rem; border-radius: 12px; background: rgba(255, 255, 255, .1); backdrop-filter: blur(3px); -webkit-backdrop-filter: blur(3px); border: 1px solid rgba(255, 255, 255, .12); }
.sgl h3 { font-size: 1.8rem; }
.sgl p { margin-top: .4rem; font-size: 1.3rem; line-height: 1.8rem; color: rgba(255, 255, 255, .8); }
.sgl-thumb { width: 5.6rem; height: 5.6rem; border-radius: 8px; background: var(--img) 50% 25% / cover; }
.sgl-thumb-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 2px; overflow: hidden; }
.sgl-thumb-pair i { background: var(--img) 50% 25% / cover; }
.sgl-thumb-ui { display: grid; place-items: center; font-size: 2rem; background: rgba(255, 255, 255, .15); }
.story-b { position: relative; height: calc(var(--vh) * 2.2); }
.story-b-sticky { position: sticky; top: 0; height: var(--vh); max-width: 136rem; margin: 0 auto; }
.story-b-head { position: absolute; left: 50%; top: 50%; width: min(80rem, 90%); transform: translate(-50%, -50%); padding: 0; }
.story-b-head .title { transition: opacity .3s linear, transform .3s linear; }
.sbig { position: absolute; width: 44.3rem; min-height: 36rem; display: flex; flex-direction: column; padding: 2.4rem; border-radius: 12px; background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .12); backdrop-filter: blur(3px); -webkit-backdrop-filter: blur(3px); transition: opacity .3s linear, transform .3s linear; will-change: opacity, transform; }
.sbig-1 { left: 4rem; top: 12rem; }
.sbig-2 { right: 4rem; bottom: 6rem; }
.sbig h3 { font-size: 3.2rem; line-height: 3.6rem; letter-spacing: -.015em; }
.sbig ul { margin-top: auto; display: grid; gap: .8rem; padding-top: 2.4rem; }
.sbig li { padding: 1.2rem; border-radius: 6px; background: rgba(255, 255, 255, .1); font-size: 1.4rem; line-height: 2rem; }

/* ---------- References ---------- */
.refs { padding: 8rem 3.2rem 6rem; border-top: 1px solid var(--line); }
.refs ol { margin-top: 2.4rem; list-style: decimal; padding-left: 2.4rem; columns: 2; column-gap: 4.8rem; }
.refs li { break-inside: avoid; margin-bottom: 1.2rem; padding-left: .4rem; font-size: 1.3rem; line-height: 1.9rem; color: var(--t2); scroll-margin-top: 12rem; }
.refs li:target { background: var(--p100); border-radius: 4px; }
.refs li::marker { font-family: var(--mono); font-size: 1.1rem; color: var(--tone); }
.refs a { color: var(--t3); word-break: break-word; }
.refs-note { margin-top: 2.4rem; font-size: 1.2rem; color: var(--t3); }

/* ---------- S30 Footer ---------- */
.footer { border-top: 1px solid var(--line); }
.foot-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 4rem; padding: 6rem 3.2rem 4rem; }
.foot-h { font-size: 1.2rem; color: var(--t3); margin-bottom: 1.6rem; }
.foot-brand .signup { max-width: 44rem; margin-bottom: 4rem; }
.foot-legal { font-size: 1.2rem; line-height: 1.7rem; color: var(--t3); max-width: 44rem; }
.foot-col { display: flex; flex-direction: column; align-items: flex-start; gap: .8rem; }
.foot-col a { font-size: 1.4rem; line-height: 2rem; color: rgba(35, 49, 55, .8); text-decoration: none; }
.foot-col a:hover { color: var(--ink); }
.ext { display: inline-flex; align-items: center; gap: .6rem; }
.ext-i { position: relative; width: 1.4rem; height: 1.4rem; overflow: hidden; }
.ext-i svg { position: absolute; inset: 0; width: 100%; height: 100%; transition: transform .3s var(--e-out); }
.ext-i svg + svg { transform: translate(-100%, 100%); }
.ext:hover .ext-i svg:first-child { transform: translate(100%, -100%); }
.ext:hover .ext-i svg + svg { transform: none; }
.foot-copy { margin-top: 2.4rem; font-size: 1.2rem; color: var(--t3); }
.wordmark { overflow: hidden; border-top: 1px solid var(--line); text-align: center; }
.wordmark span {
  display: block; font-size: 58rem; line-height: .8; letter-spacing: -.055em; padding: 2rem 0 3rem; margin-left: -.04em;
  color: transparent; -webkit-background-clip: text; background-clip: text;
  background-image:
    radial-gradient(40% 60% at 20% 40%, rgba(206, 214, 216, .95), transparent 70%),
    radial-gradient(35% 55% at 70% 60%, rgba(206, 214, 216, .9), transparent 70%),
    radial-gradient(30% 50% at 45% 20%, rgba(74, 88, 92, .9), transparent 70%),
    linear-gradient(100deg, #4a585c, #ccd5d7 30%, #4a585c 55%, #ccd5d7 80%, #4a585c);
  background-size: 160% 160%, 180% 180%, 140% 140%, 300% 100%;
  animation: flow 40s ease-in-out infinite alternate;
}
@keyframes flow {
  0% { background-position: 0% 0%, 100% 50%, 50% 0%, 0% 50%; }
  100% { background-position: 100% 100%, 0% 50%, 50% 100%, 100% 50%; }
}

/* ---------- Dock (phones) ---------- */
.dock { position: fixed; left: 1.6rem; right: 1.6rem; bottom: calc(1.2rem + env(safe-area-inset-bottom)); z-index: 55; display: none; box-shadow: var(--glow); opacity: 0; transform: translateY(1rem); pointer-events: none; transition: opacity .3s, transform .3s var(--e-out); }
.dock.is-visible { opacity: 1; transform: none; pointer-events: auto; }

/* =================================================================
   Tablet: 1099px and below
   ================================================================= */
@media (max-width: 1099px) {
  .col { width: calc(100% - 4rem); }
  .nav-bar { padding: 0 3.2rem; }
  .nav.is-scrolled .nav-bar { max-width: calc(100% - 4rem); }
  .hero-media { width: 78%; }
  .ecards { grid-template-columns: 1fr 1fr; }
  .ecard { min-height: 28rem; }
  .an-stage { grid-template-columns: 1fr 1fr; }
  .an-portrait { grid-column: 1 / -1; order: -1; max-width: 48rem; margin: 0 auto; }
  .an-group { padding: 1.2rem 0; }
  .tuner-grid { grid-template-columns: 1fr 1fr; }
  .tuner { grid-column: 1 / -1; order: -1; border-inline: 0; border-bottom: 1px solid var(--line); max-width: 56rem; margin: 0 auto; width: 100%; }
  .tuner-cards + .tuner + .tuner-cards { border-left: 1px solid var(--line); }
  .pg-grid { grid-template-columns: 1fr 1fr; }
  .pg-center { grid-column: 1 / -1; order: -1; }
  .lib-grid { grid-template-columns: repeat(3, 1fr); }
  .lib:nth-child(5n) { border-right: 1px solid var(--line); }
  .tech-grid { grid-template-columns: 1fr 1fr; }
  .facts { grid-template-columns: repeat(3, 1fr); }
  .facts li:nth-child(4) { border-left: 0; }
  .facts li:nth-child(n+4) { border-top: 1px solid var(--line); }
  .ph-top { grid-template-columns: 1fr; }
  .ph-fig { margin: 0 3.2rem 4rem; }
  .bigq { grid-template-columns: 30rem 1fr; }
  .mq-wide { width: 60rem; }
  /* Stepper falls back to a plain list */
  .stepper { height: auto !important; }
  .stepper-sticky { position: static; height: auto; display: block; overflow: visible; }
  .stepper-l { padding: 8rem 0 3.2rem; }
  .stepper-items { height: auto; display: grid; grid-template-columns: 1fr 1fr; gap: 2.4rem; padding: 0 3.2rem; }
  .st-item { position: relative; left: auto; top: auto; width: auto; transform: none !important; opacity: 1 !important; filter: none !important; }
  .st-cap { position: static; transform: none; opacity: 1; margin-top: .8rem; }
  .stepper-r { height: auto; padding: 2.4rem 3.2rem 4rem; }
  .rail, .rail-count { display: none; }
  /* Story falls back to stacked cards */
  .story-b { height: auto; }
  .story-b-sticky { position: relative; height: auto; display: grid; gap: 1.6rem; padding: 8rem 3.2rem; }
  .story-b-head { position: static; transform: none; width: auto; margin-bottom: 1.6rem; }
  .sbig { position: static; width: auto; min-height: 0; opacity: 1 !important; transform: none !important; background: rgba(0, 0, 0, .45); }
}

/* =================================================================
   Mobile: 767px and below
   ================================================================= */
@media (max-width: 767px) {
  .col { width: 100%; border-inline: 0; }
  .spacer { height: 4rem; border: 0; }
  .sh { padding: 4.8rem 1.6rem 2.4rem; }
  .sh-left { text-align: center; }
  .sh-left .sub { margin-inline: auto; }
  .eyebrow { font-size: 1.1rem; margin-bottom: 1.6rem; }
  .title, .title-sm { font-size: 3.2rem; line-height: 3.6rem; }
  .title-xs { font-size: 2.6rem; line-height: 3.2rem; }
  .sub { font-size: 1.4rem; line-height: 2rem; }
  .footnote { padding: 1.2rem 1.6rem; }

  .nav-bar { grid-template-columns: 1fr auto; height: 6.4rem; padding: 0 1.2rem 0 1.6rem; }
  .nav.is-scrolled .nav-bar { max-width: calc(100% - 2.4rem); height: 5.6rem; transform: translateY(6px); padding: 0 .6rem 0 1.4rem; }
  .brand { font-size: 1.8rem; }
  .brand svg { width: 2.6rem; height: 2.6rem; }
  .nav-links { position: absolute; top: calc(100% + .8rem); left: 0; right: 0; flex-direction: column; gap: 0; padding: .8rem; border-radius: 16px; color: var(--ink); background: rgba(250, 251, 251, .92); box-shadow: var(--glow); backdrop-filter: blur(40px); -webkit-backdrop-filter: blur(40px); opacity: 0; visibility: hidden; transform: translateY(-.8rem); transition: opacity .25s, transform .25s var(--e-expo), visibility .25s; }
  .nav.is-open .nav-links { opacity: 1; visibility: visible; transform: none; }
  .nav-links a { padding: 1.4rem 1.6rem; font-size: 1.6rem; }
  .nav-links a::after { display: none; }
  .nav-burger { display: block; }
  .nav-cta { height: 3.6rem; padding: 0 1.4rem; font-size: 1.3rem; }

  .hero { height: calc(var(--vh) - 0px); min-height: 60rem; max-height: none; background: #1a1a18; }
  .hero-media { width: 100%; bottom: 18%; -webkit-mask-image: linear-gradient(transparent 0%, #000 14%); mask-image: linear-gradient(transparent 0%, #000 14%); }
  .hero-media .ba-tag { top: 9rem; }
  .hero-media video { object-position: 50% 30%; }
  .hero-shade::before { display: none; }
  .hero-shade::after { background: linear-gradient(transparent 42%, rgba(0, 0, 0, .95) 78%); }
  .hero-inner { padding: 0 1.6rem 2.4rem; justify-content: flex-end; }
  .hero-eyebrow { font-size: 1.4rem; margin-bottom: 1.2rem; }
  .hero-eyebrow b { font-size: 1.5rem; }
  .hero h1 { font-size: 3.4rem; line-height: 3.8rem; letter-spacing: -.06rem; }
  .hero-sub { margin-top: 1.2rem; font-size: 1.4rem; line-height: 2rem; }
  .hero-ctas { margin-top: 2rem; gap: .8rem; }
  .hero-ctas .btn { flex: 1; padding: 0 1rem; }
  .hero-trio { display: none; }
  .hero-note { position: static; margin-top: 1.2rem; font-size: 1.1rem; }
  .hero-strip { gap: .6rem 2rem; padding: 1.6rem; font-size: 1.1rem; }

  .split { grid-template-columns: 1fr; }
  .split-l { border-right: 0; padding-bottom: 2.4rem; }
  .numlist { padding: 0 1.6rem; }
  .benefits { display: flex; flex-direction: column; }
  .benefits .split-l { display: contents; }
  .benefits .sh { order: 1; }
  .benefits-media { order: 2; grid-template-columns: 1fr; padding: 0 1.6rem; }
  .benefits .numlist { order: 3; padding-top: 2.4rem; }

  .statement { padding: 4.8rem 1.6rem 2.4rem; }
  .tabs { display: flex; margin: 0 0 1.6rem; padding: .4rem 1.6rem; border: 0; border-radius: 0; overflow-x: auto; scrollbar-width: none; }
  .tabs::-webkit-scrollbar { display: none; }
  .tabs-pill { top: .4rem; }
  .tabpanels { padding: 0 1.6rem; }
  .ecards { grid-template-columns: 1fr; }
  .ecard { min-height: 20rem; }

  .prow { grid-template-columns: 1fr; gap: 1.6rem; margin: 0 1.6rem 1.2rem; padding: 2rem; }
  .prow-label { flex-direction: row; align-items: center; }
  .prow ol { grid-template-columns: 1fr; gap: 1.2rem; }
  .prow li { display: flex; align-items: baseline; gap: 1.2rem; padding: 0 0 0 2rem; }
  .prow li::before { top: .5rem; }
  .prow li i { display: none; }
  .prow li .mono { margin: 0; width: 5.6rem; flex: none; }

  .strip-in { flex-direction: column; text-align: center; padding: 3.2rem 1.6rem; gap: 1.6rem; }
  .strip-lg blockquote p { font-size: 2rem; line-height: 2.6rem; }

  .an-stage { grid-template-columns: 1fr; padding: 0 1.6rem; min-height: 0; }
  .an-portrait { margin-top: 0; }
  .an-group { grid-template-columns: 1fr 1fr; -webkit-mask-image: none; mask-image: none; }
  .an-group .gcard:first-child { grid-row: auto; grid-column: 1 / -1; }

  .rows-title { padding: 4.8rem 1.6rem 2.4rem; }
  .rows-grid { grid-template-columns: 1fr; }
  .rows-side { display: none; }
  .rowcards { padding: 0 1.6rem; }
  .rowcard h3 { font-size: 1.6rem; line-height: 2rem; }

  .plan { grid-template-columns: 1fr; }
  .plan-l .numlist { padding: 0 1.6rem; }
  .plan-r { min-height: 44rem; padding: 3.2rem 0 0 1.6rem; }
  .doc { width: 52rem; }

  .ns-grid { grid-template-columns: 1fr; }
  .ns-cell { padding: 2.4rem 1.6rem; }
  .ns-cell + .ns-cell { border-left: 0; border-top: 1px solid var(--line); }
  .ba-lg { width: 100%; }
  .modal-in { padding: 2.4rem 1.6rem; }
  .modal-list li { grid-template-columns: 1fr; gap: .2rem; }

  .follow-more { margin: 0 1.6rem; }
  .follow-r { padding: 3.2rem 1.6rem; }

  .tuner-grid { grid-template-columns: 1fr; }
  .tuner { padding: 1.6rem; }
  .tuner-cards { grid-template-rows: none; }
  .tuner-cards + .tuner + .tuner-cards { border-left: 0; }
  .tuner-cards { border-top: 1px solid var(--line); }
  .ftile { display: grid; grid-template-columns: 9.6rem 1fr; column-gap: 1.6rem; padding: 1.6rem; align-items: start; }
  .ftile-thumb { grid-row: span 2; width: 9.6rem; height: 6.4rem; }
  .ftile h3 { margin-top: 0; font-size: 1.6rem; }

  .pg-grid { padding: 0 1.6rem 3.2rem; gap: 1.2rem; }
  .pg-col { gap: 1.2rem; }
  .metric { padding: 1.2rem; }
  .metric-top { flex-direction: column; align-items: flex-start; gap: .6rem; font-size: 1.3rem; }
  .metric > b { font-size: 3.2rem; }

  .bento { grid-template-columns: 1fr; }
  .bento-stat { grid-row: auto; min-height: 40rem; padding: 3.2rem 2.4rem; }
  .bento-big { font-size: 6.4rem; line-height: 6.8rem; }
  .bento-h { font-size: 2.4rem; line-height: 2.8rem; }

  .catalogue { padding-inline: 1.6rem; }
  .acc { margin-bottom: 4rem; padding: .6rem; }
  .acc-item h3 button { grid-template-columns: 4rem 1fr 1.6rem; gap: 1.2rem; }
  .acc-n { display: none; }
  .acc-t { font-size: 1.7rem; }
  .acc-body ul { grid-template-columns: 1fr; padding: 1.2rem 1.2rem 1.6rem; }

  .sh-row { flex-direction: column; align-items: center; }
  .dc-grid { grid-template-columns: 1fr; }
  .dcard { padding: 2.4rem 1.6rem; }
  .dcard + .dcard { border-left: 0; border-top: 1px solid var(--line); }

  .marquee { -webkit-mask-image: none; mask-image: none; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding-inline: 1.6rem; }
  .marquee::-webkit-scrollbar { display: none; }
  .marquee-track { animation: none; }
  .marquee-group[aria-hidden="true"] { display: none; }
  .marquee-group > * { scroll-snap-align: start; }
  .mq-stack, .mq-tall { height: 44rem; }
  .mq-wide { width: 30rem; height: 44rem; }
  .mq-stack { width: 26rem; }

  .lib-grid { grid-template-columns: 1fr 1fr; }
  .lib { padding: 1.2rem; }
  .lib:nth-child(n) { border-right: 1px solid var(--line); }
  .lib:nth-child(2n) { border-right: 0; }
  .lib-tile b { font-size: 1.8rem; line-height: 2.2rem; }

  .tech-grid { grid-template-columns: 1fr; padding: 0 1.6rem 3.2rem; }
  .tcard { aspect-ratio: auto; min-height: 40rem; }

  .ph-fig { margin: 0 1.6rem 3.2rem; padding: 3.2rem 1.6rem 2.4rem; }
  .ph-bar { grid-template-columns: 4.8rem 1fr; }
  .facts { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; }
  .facts li { flex: 0 0 50%; scroll-snap-align: start; padding: 2rem 1.6rem; border-top: 0 !important; }
  .facts li:nth-child(4) { border-left: 1px solid var(--line); }

  .bigq { grid-template-columns: 1fr; text-align: center; }
  .bigq-empty { display: none; }
  .bigq-photo { border-right: 0; padding: 1.6rem 1.6rem 0; border-bottom: 0; }
  .bigq-photo img { max-width: 30rem; margin: 0 auto; }
  .bigq-text { padding: 2.4rem 1.6rem 4rem; }
  .bigq-text p { font-size: 2.4rem; line-height: 3rem; margin: 0 auto; }
  .bigq-text footer span { margin: 0 auto; }

  .stepper-l { padding: 4.8rem 0 2.4rem; text-align: center; }
  .stepper-l .btn { margin-left: 0; }
  .stepper-items { grid-template-columns: 1fr; padding: 0 1.6rem; gap: 1.6rem; }
  .stepper-r { padding: 1.6rem; }

  .band { height: max(var(--vh), 60rem); max-height: none; }
  .band-video { object-position: 40% 50%; }
  .band-head { flex-direction: column; align-items: center; text-align: center; }
  .band-head .sh { padding: 0 1.6rem; }
  .band-head .btn { margin-right: 0; }
  .gq { width: 28rem; min-height: 14rem; }

  .how-grid { grid-template-columns: 1fr; }
  .how-step { padding: 2.4rem 1.6rem; }
  .how-step + .how-step { border-left: 0; border-top: 1px solid var(--line); }
  .hui { width: 88%; }

  .pr-grid { grid-template-columns: 1fr; }
  .pr-side { order: -1; border-left: 0; padding: 2.4rem 1.6rem; }
  .pr-list { padding: 2.4rem 1.6rem; gap: 2rem; border-top: 1px solid var(--line); }
  .pr-card { min-height: 24rem; padding: 2.4rem; }
  .pr-price { font-size: 2.6rem; line-height: 3rem; }
  .signup-form { flex-direction: column; }
  .signup-form .btn { width: 100%; }
  .trust { grid-template-columns: 1fr; }
  .trust li { justify-content: flex-start; padding: 1.4rem 1.6rem; }
  .trust li + li { border-left: 0; border-top: 1px solid var(--line); }

  .sup-grid { grid-template-columns: 1fr; }
  .scard { padding: 2.4rem 1.6rem; }
  .scard + .scard { border-left: 0; border-top: 1px solid var(--line); }

  .faq-grid { grid-template-columns: 1fr; gap: 2.4rem; padding: 0 1.6rem 4.8rem; }
  .faq-filters { flex-direction: row; gap: 2.4rem; padding: 0; border-left: 0; border-bottom: 1px solid var(--line); overflow-x: auto; scrollbar-width: none; }
  .faq-filters::-webkit-scrollbar { display: none; }
  .faq-filters button { white-space: nowrap; padding: 1rem 0; }
  .faq-ind { left: 0; top: auto; bottom: -1px; height: 2px; width: 0; }
  .faq-item button { font-size: 1.6rem; line-height: 2.2rem; padding: 1.6rem 0; }
  .faq-a p { padding-right: 0; font-size: 1.4rem; line-height: 2.1rem; }

  .story-a-in { width: 100%; padding-bottom: 2.4rem; }
  .story-a .sh { padding: 0 1.6rem 2.4rem; }
  .story-cards { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; padding: 0 1.6rem; scrollbar-width: none; }
  .story-cards::-webkit-scrollbar { display: none; }
  .sgl { flex: 0 0 82%; scroll-snap-align: start; background: rgba(0, 0, 0, .5); }
  .story-b-sticky { padding: 4.8rem 1.6rem; }
  .sbig { padding: 2rem; }
  .sbig h3 { font-size: 2.4rem; line-height: 2.8rem; }

  .refs { padding: 4.8rem 1.6rem; }
  .refs ol { columns: 1; }

  .foot-grid { grid-template-columns: 1fr 1fr; gap: 3.2rem 1.6rem; padding: 4.8rem 1.6rem 3.2rem; }
  .foot-brand { grid-column: 1 / -1; }
  .wordmark span { font-size: 29vw; padding: 1.6rem 0 2.4rem; }

  .dock { display: inline-flex; }
}

/* ---------- Reduced motion: final states, no autoplaying motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; transition-delay: 0s !important; }
  .js [data-reveal] { opacity: 1; transform: none; }
  .gcard { opacity: 1; transform: none; }
  .prow li i { transform: scaleX(1); }
  .ph-bar i { transform: none; }
  .js .support:not(.is-in) .bub { opacity: 1; transform: none; }
  .letter-body .ch { opacity: 1; transform: none; }
  .sc-line { stroke-dashoffset: 0; }
  .chart-dot { transform: scale(1); }
  .marquee-track { animation: none; }
  .marquee { overflow-x: auto; -webkit-mask-image: none; mask-image: none; }
  .marquee-group[aria-hidden="true"] { display: none; }
  .wordmark span { animation: none; }
  .tc-globe span, .orbit, .orbit b, .hui-line, .hui li.spin::before { animation: none !important; }
  .btile .bt-chips span::after { transform: scaleX(1); }
  .btile .bt-bag i::after { opacity: .7; }
  .btile .bt-doc b { transform: scale(1); }
  .btile:not(.in) .bt-week i.on { height: 10rem; }
  /* Stepper and story use their stacked layouts */
  .stepper { height: auto !important; }
  .stepper-sticky { position: static; height: auto; display: block; overflow: visible; }
  .stepper-l { padding: 8rem 0 3.2rem; }
  .stepper-items { height: auto; display: grid; grid-template-columns: repeat(3, 1fr); gap: 2.4rem; padding: 0 3.2rem; }
  .st-item { position: relative; left: auto; top: auto; width: auto; transform: none !important; opacity: 1 !important; filter: none !important; }
  .st-cap { position: static; transform: none; opacity: 1; margin-top: .8rem; }
  .stepper-r { height: auto; padding: 2.4rem 3.2rem 4rem; }
  .rail, .rail-count { display: none; }
  .story-b { height: auto; }
  .story-b-sticky { position: relative; height: auto; display: grid; grid-template-columns: 1fr 1fr; gap: 1.6rem; padding: 8rem 3.2rem; }
  .story-b-head { position: static; transform: none; width: auto; grid-column: 1 / -1; }
  .sbig { position: static; width: auto; opacity: 1 !important; transform: none !important; }
}
@media (prefers-reduced-motion: reduce) and (max-width: 767px) {
  .stepper-items { grid-template-columns: 1fr; padding: 0 1.6rem; }
  .story-b-sticky { grid-template-columns: 1fr; padding: 4.8rem 1.6rem; }
}

/* =================================================================
   Instrument layer: registration marks, a single scan pass, coordinates, hairline crosses.
   Used sparingly on measured media only.
   ================================================================= */
.reg { position: relative; }
.reg::before {
  content: ""; position: absolute; inset: 1.2rem; z-index: 4; pointer-events: none;
  background:
    linear-gradient(var(--rc), var(--rc)) left top / 1.2rem 1px no-repeat,
    linear-gradient(var(--rc), var(--rc)) left top / 1px 1.2rem no-repeat,
    linear-gradient(var(--rc), var(--rc)) right top / 1.2rem 1px no-repeat,
    linear-gradient(var(--rc), var(--rc)) right top / 1px 1.2rem no-repeat,
    linear-gradient(var(--rc), var(--rc)) left bottom / 1.2rem 1px no-repeat,
    linear-gradient(var(--rc), var(--rc)) left bottom / 1px 1.2rem no-repeat,
    linear-gradient(var(--rc), var(--rc)) right bottom / 1.2rem 1px no-repeat,
    linear-gradient(var(--rc), var(--rc)) right bottom / 1px 1.2rem no-repeat;
}
.reg::after {
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 1px; z-index: 4; pointer-events: none; opacity: 0;
  background: linear-gradient(90deg, transparent, var(--scan) 20%, var(--scan) 80%, transparent);
  box-shadow: 0 0 14px 2px rgba(150, 205, 210, .55);
}
.reg.is-scanning::after { animation: scanPass 2.6s var(--e-inout) 1 both; }
@keyframes scanPass { 0% { top: 0; opacity: 0; } 8% { opacity: 1; } 92% { opacity: 1; } 100% { top: 100%; opacity: 0; } }
.an-portrait.reg::before { inset: 4% 12% 18%; }
.xhair { position: absolute; left: var(--x); top: var(--y); width: 2.4rem; height: 2.4rem; transform: translate(-50%, -50%); z-index: 3; pointer-events: none;
  background: linear-gradient(var(--scan), var(--scan)) center / 100% 1px no-repeat, linear-gradient(var(--scan), var(--scan)) center / 1px 100% no-repeat; opacity: .8; }
.xhair::after { content: ""; position: absolute; inset: .7rem; border: 1px solid var(--scan); border-radius: 50%; }
.coord { position: absolute; left: 50%; bottom: 20%; transform: translateX(-50%); z-index: 3; font-size: 1rem; color: var(--t3); white-space: nowrap; padding: .3rem .8rem; border-radius: 99px; background: rgba(255, 255, 255, .6); }
/* Hairline crosses where the spacer bands meet the frame rules */
.spacer { position: relative; }
.spacer::before, .spacer::after {
  content: ""; position: absolute; top: -.6rem; width: 1.2rem; height: 1.2rem; pointer-events: none;
  background: linear-gradient(var(--tone-2), var(--tone-2)) center / 100% 1px no-repeat, linear-gradient(var(--tone-2), var(--tone-2)) center / 1px 100% no-repeat;
}
.spacer::before { left: -.65rem; }
.spacer::after { right: -.65rem; }
@media (max-width: 767px) { .spacer::before, .spacer::after { display: none; } .coord { bottom: 16%; } }
@media (prefers-reduced-motion: reduce) { .reg.is-scanning::after { animation: none; } }
