/* Insole Studio — site system.
   Layout: full-bleed story sections on a 980px reading column (1280 for media),
   sticky product nav, dark by default with a light theme. Accent = the cover green. */
@font-face { font-family: "Makena"; src: url("../assets/fonts/Makena.woff2") format("woff2");
  font-weight: 100 900; font-style: normal; font-display: swap; }

:root {
  --bg: #000; --bg-2: #0d0d0f; --tile: #161618; --tile-2: #1d1d20;
  --fg: #f5f5f7; --fg-2: #a1a1a6; --fg-3: #6e6e73; --rule: rgba(255,255,255,.12);
  --accent: #9fcc3b; --accent-text: #b5dc5c; --accent-ink: #0b1102;
  --nav: rgba(18,18,20,.72); --glass: rgba(29,29,32,.7); --panel: #0f0f11; --pill-bg: #232326;
  --shadow: 0 30px 60px -30px rgba(0,0,0,.6);
  --font: "Makena", "Inter", -apple-system, "SF Pro Display", "Helvetica Neue", Arial, sans-serif;
  --col: 980px; --wide: 1280px;
  --r-lg: 28px; --r-md: 18px;
  color-scheme: dark;
}
:root[data-appearance="light"] {
  --bg: #fbfbfd; --bg-2: #f5f5f7; --tile: #ffffff; --tile-2: #f0f0f2;
  --fg: #1d1d1f; --fg-2: #515154; --fg-3: #86868b; --rule: rgba(0,0,0,.1);
  --accent: #9fcc3b; --accent-text: #4a7310; --accent-ink: #0b1102;
  --nav: rgba(251,251,253,.75); --glass: rgba(255,255,255,.75); --panel: #f0f0f2; --pill-bg: #ffffff;
  --shadow: 0 30px 60px -30px rgba(0,0,0,.18);
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 64px; }
body { margin: 0; background: var(--bg); color: var(--fg); font-family: var(--font); font-optical-sizing: auto;
  font-size: 17px; line-height: 1.47; letter-spacing: -.012em; -webkit-font-smoothing: antialiased; }
img, video, canvas { max-width: 100%; display: block; }
img { height: auto; }
a { color: var(--accent-text); text-decoration: none; }
a:hover { text-decoration: underline; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
[hidden] { display: none !important; }

.wrap { width: 100%; max-width: calc(var(--col) + 2 * 22px); margin-inline: auto;
  padding-left: max(22px, env(safe-area-inset-left, 0px)); padding-right: max(22px, env(safe-area-inset-right, 0px)); }
.wrap.wide { max-width: calc(var(--wide) + 2 * 22px); }

/* ---------- type scale */
.eyebrow { font-size: 17px; font-weight: 600; color: var(--accent-text); letter-spacing: -.01em; margin: 0 0 10px; }
.display { font-size: clamp(48px, 9vw, 112px); font-weight: 650; letter-spacing: -.045em; line-height: .98; margin: 0; text-wrap: balance; }
.h1 { font-size: clamp(40px, 6.4vw, 80px); font-weight: 650; letter-spacing: -.04em; line-height: 1.02; margin: 0; text-wrap: balance; }
.h2 { font-size: clamp(32px, 4.6vw, 56px); font-weight: 650; letter-spacing: -.035em; line-height: 1.05; margin: 0; text-wrap: balance; }
.h3 { font-size: clamp(24px, 2.8vw, 32px); font-weight: 620; letter-spacing: -.025em; line-height: 1.12; margin: 0; text-wrap: balance; }
.lede { font-size: clamp(19px, 2.1vw, 24px); line-height: 1.38; color: var(--fg-2); font-weight: 450; letter-spacing: -.018em; margin: 0; max-width: 40ch; }
.lede b, .lede strong { color: var(--fg); font-weight: 600; }
.small { font-size: 14px; color: var(--fg-3); }
.tabnum { font-variant-numeric: tabular-nums; }
.grad { background: linear-gradient(100deg, var(--accent-text), #e8f7bf 60%, var(--accent-text));
  -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ---------- buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 0 22px;
  border-radius: 999px; border: 0; background: var(--accent); color: var(--accent-ink); font-weight: 600; font-size: 17px;
  cursor: pointer; text-decoration: none; transition: filter .2s, transform .2s; -webkit-tap-highlight-color: transparent; }
.btn:hover { filter: brightness(1.08); text-decoration: none; }
.btn:active { transform: scale(.98); }
.btn.ghost { background: transparent; color: var(--accent-text); box-shadow: inset 0 0 0 1.5px var(--accent); }
.btn.sm { min-height: 32px; padding: 0 14px; font-size: 13px; white-space: nowrap; }
@media (max-width: 420px) { .pnav .btn.sm .long { display: none; } .pnav .wrap { gap: 8px; } }
.link-arrow { font-weight: 500; white-space: nowrap; }
.link-arrow::after { content: " ›"; }
.ctas { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; }

/* ---------- product nav (sticky) */
.pnav { position: sticky; top: 0; z-index: 50; background: var(--nav); backdrop-filter: saturate(1.8) blur(20px);
  -webkit-backdrop-filter: saturate(1.8) blur(20px); border-bottom: 1px solid var(--rule); }
.pnav .wrap { display: flex; align-items: center; gap: 18px; height: 52px; max-width: calc(var(--wide) + 44px); }
.brand { font-weight: 650; font-size: 21px; letter-spacing: -.03em; color: var(--fg); white-space: nowrap; }
.brand:hover { text-decoration: none; }
.brand .dot { color: var(--accent); }
.pnav nav { margin-left: auto; display: flex; align-items: center; gap: 22px; }
.pnav nav a { color: var(--fg-2); font-size: 13px; font-weight: 450; }
.pnav nav a:hover, .pnav nav a[aria-current="page"] { color: var(--fg); text-decoration: none; }
.icon-btn { width: 36px; height: 36px; border-radius: 50%; border: 0; background: transparent; color: var(--fg-2);
  display: grid; place-items: center; cursor: pointer; position: relative; }
.icon-btn:hover { color: var(--fg); background: var(--tile); }
.icon-btn svg { width: 18px; height: 18px; }
.bag-count { position: absolute; top: 3px; right: 1px; min-width: 16px; height: 16px; border-radius: 8px; padding: 0 4px;
  background: var(--accent); color: var(--accent-ink); font-size: 10px; font-weight: 700; line-height: 16px; text-align: center; }
.menu-btn { display: none; }
@media (max-width: 833px) {
  .pnav nav .nl { display: none; }
  .menu-btn { display: grid; }
  .pnav nav.open { position: fixed; inset: 52px 0 auto 0; flex-direction: column; align-items: stretch; gap: 0;
    background: var(--bg); border-bottom: 1px solid var(--rule); padding: 8px max(22px, env(safe-area-inset-left, 0px)) 18px; }
  .pnav nav.open .nl { display: block; font-size: 24px; font-weight: 600; color: var(--fg); padding: 12px 0; letter-spacing: -.02em; }
}

/* ---------- sections */
section { position: relative; }
.sec { padding-block: clamp(64px, 8vw, 120px); }
.sec.tight { padding-block: clamp(44px, 6vw, 80px); }
.alt { background: var(--bg-2); }
.center { text-align: center; }
.center .lede { margin-inline: auto; }
.stack > * + * { margin-top: 18px; }

/* reveal on scroll: visible at rest, a gentle rise when JS marks it */
.rv { transition: opacity .9s cubic-bezier(.2,.7,.2,1), transform .9s cubic-bezier(.2,.7,.2,1); }
.js .rv:not(.in) { opacity: 0; transform: translateY(40px); }
@media (prefers-reduced-motion: reduce) { .rv, .js .rv:not(.in) { opacity: 1; transform: none; transition: none; } }

/* ---------- hero */
.hero { min-height: min(100svh, 1000px); display: grid; grid-template-rows: auto 1fr; overflow: hidden; background: #000; color: #f5f5f7; }
.hero-copy { position: relative; z-index: 2; padding-top: clamp(40px, 7vw, 88px); text-align: center; }
.hero-copy .eyebrow { color: #b5dc5c; }
.hero-copy .lede { color: #c7c7cc; margin: 18px auto 0; }
.hero-copy .lede b { color: #f5f5f7; }
.hero .link-arrow { color: #b5dc5c; }
.hero-copy .ctas { justify-content: center; margin-top: 26px; }
.hero-copy .price { color: #a1a1a6; font-size: 17px; margin-top: 14px; }
.hero-media { position: relative; z-index: 1; margin-top: clamp(12px, 2.5vw, 36px); }
.hero-copy { pointer-events: none; } .hero-copy a, .hero-copy button { pointer-events: auto; }
.hero-media video, .hero-media img { width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; }
.hero-media .tall { display: none; }
.hero-media::after { content: ""; position: absolute; inset: auto 0 0 0; height: 18%; background: linear-gradient(transparent, #000); pointer-events: none; }
.film-btn { position: absolute; z-index: 3; right: max(22px, env(safe-area-inset-right, 0px)); bottom: 22px; width: 40px; height: 40px;
  border-radius: 50%; border: 0; background: rgba(255,255,255,.14); color: #fff; display: grid; place-items: center; cursor: pointer;
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.film-btn svg { width: 16px; height: 16px; }
@media (max-width: 734px) {
  .hero-media .wide { display: none; }
  .hero-media .tall { display: block; aspect-ratio: 3 / 4; }
  .hero-media { margin-top: 12px; }
}

/* ---------- big statement (words light up with scroll) */
.statement p { font-size: clamp(30px, 4.4vw, 56px); font-weight: 620; letter-spacing: -.035em; line-height: 1.12; margin: 0; max-width: 22ch; }
.statement .w { color: var(--fg-3); transition: color .4s; }
.statement .w.on { color: var(--fg); }
.statement .w.hl.on { color: var(--accent-text); }

/* ---------- highlights gallery */
.hl-head { display: flex; align-items: end; justify-content: space-between; gap: 20px; }
.gallery { display: flex; gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none;
  padding: 36px max(22px, calc((100vw - var(--wide)) / 2)) 10px; scroll-padding-inline: max(22px, calc((100vw - var(--wide)) / 2)); }
.gallery::-webkit-scrollbar { display: none; }
.card { flex: none; width: min(84vw, 900px); aspect-ratio: 16 / 10; border-radius: var(--r-lg); overflow: hidden; position: relative;
  background: radial-gradient(90% 70% at 50% 75%, var(--tile-2), var(--tile) 70%); scroll-snap-align: start;
  display: flex; flex-direction: column; }
.card .cap { flex: none; padding: clamp(24px, 3.2vw, 40px) clamp(24px, 3.4vw, 44px) 0; font-size: clamp(19px, 2vw, 26px);
  font-weight: 620; letter-spacing: -.022em; line-height: 1.22; max-width: 34ch; color: var(--fg); text-wrap: balance; margin: 0; }
.card .cap span { color: var(--fg-2); font-weight: 520; }
.card .art { flex: 1; min-height: 0; position: relative; margin-top: 8px; }
.card .art img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; padding: 0 4% 4%; }
.card .art.fill { margin: 18px 0 0; }
.card .art.fill img { object-fit: cover; padding: 0; }
.gal-ctrl { display: flex; justify-content: center; align-items: center; gap: 14px; margin-top: 24px; }
.dots { display: flex; gap: 10px; padding: 14px 20px; border-radius: 999px; background: var(--tile); }
.dots button { width: 8px; height: 8px; padding: 0; border-radius: 4px; border: 0; background: var(--fg-3); cursor: pointer; transition: width .3s, background .3s; }
.dots button[aria-current="true"] { width: 44px; background: var(--fg); }
.round { width: 52px; height: 52px; border-radius: 50%; border: 0; background: var(--tile); color: var(--fg); display: grid; place-items: center; cursor: pointer; }
.round svg { width: 18px; height: 18px; }
@media (max-width: 734px) { .card { aspect-ratio: 4 / 5; width: 86vw; } .card .art img { padding: 0 2% 6%; } }

/* ---------- pinned 3D story */
.story { height: 520vh; }
.story-pin { position: sticky; top: 0; height: 100svh; overflow: hidden; }
.story canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.story-steps { position: absolute; inset: 0; pointer-events: none; }
.story-steps::before { content: ""; position: absolute; inset: 0 auto 0 0; width: min(46vw, 640px);
  background: linear-gradient(90deg, var(--bg) 0%, var(--bg) 62%, transparent); pointer-events: none; }
.step { position: absolute; left: max(22px, calc((100vw - var(--wide)) / 2 + 22px)); top: 50%; translate: 0 -50%; width: min(32vw, 420px);
  opacity: 0; transform: translateY(16px); transition: opacity .18s, transform .18s; }
.step.on { opacity: 1; transform: none; transition: opacity .55s .12s, transform .55s .12s; }
.step .h2 { font-size: clamp(30px, 3.4vw, 48px); }
.step p { color: var(--fg-2); font-size: clamp(17px, 1.5vw, 20px); margin: 14px 0 0; }
.step p b { color: var(--fg); font-weight: 600; }
.tags { position: absolute; inset: 0; pointer-events: none; }
.tag { position: absolute; left: 0; top: 0; display: flex; align-items: center; gap: 10px; padding: 8px 16px 8px 9px; border-radius: 999px;
  background: var(--glass); backdrop-filter: blur(14px) saturate(1.3); -webkit-backdrop-filter: blur(14px) saturate(1.3);
  box-shadow: 0 0 0 1px var(--rule), var(--shadow); white-space: nowrap; opacity: 0; transition: opacity .4s; font-size: 14px; }
.tag i { width: 18px; height: 18px; border-radius: 50%; background: var(--sw); flex: none; box-shadow: 0 0 0 1px var(--rule); }
.tag b { font-weight: 600; }
.tag span { color: var(--fg-2); }
.tag.on { opacity: 1; }
.leader { position: absolute; left: 0; top: 0; height: 1px; background: var(--fg); opacity: 0; transform-origin: 0 50%; transition: opacity .4s; }
.leader.on { opacity: .45; }
.leader::before { content: ""; position: absolute; left: -4px; top: -3.5px; width: 8px; height: 8px; border-radius: 50%; background: var(--bg); box-shadow: 0 0 0 1.5px var(--fg); }
.story-progress { position: absolute; left: 50%; bottom: 28px; transform: translateX(-50%); display: flex; gap: 8px; }
.story-progress i { width: 6px; height: 6px; border-radius: 3px; background: var(--fg-3); transition: width .3s, background .3s; }
.story-progress i.on { width: 26px; background: var(--fg); }
@media (max-width: 734px) {
  .story { height: 460vh; }
  .story-steps::before { inset: auto 0 0 0; width: auto; height: 46%; background: linear-gradient(0deg, var(--bg) 0%, var(--bg) 70%, transparent); }
  .step { top: auto; bottom: 9svh; translate: none; left: 22px; right: 22px; width: auto; }
  .tag span { display: none; }
}

/* ---------- feature split */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 80px); align-items: center; }
.split.rev > :first-child { order: 2; }
.split .media { border-radius: var(--r-lg); overflow: hidden; background: var(--tile); aspect-ratio: 4 / 3; position: relative; }
.split .media img { width: 100%; height: 100%; object-fit: cover; }
.split .media.contain img { object-fit: contain; }
@media (max-width: 834px) { .split { grid-template-columns: 1fr; } .split.rev > :first-child { order: 0; } }

.specline { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; margin-top: 36px; }
.specline div { border-top: 1px solid var(--rule); padding-top: 14px; }
.specline b { display: block; font-size: clamp(28px, 3.4vw, 40px); font-weight: 650; letter-spacing: -.035em; line-height: 1.05; }
.specline span { font-size: 14px; color: var(--fg-2); }
@media (max-width: 600px) { .specline { grid-template-columns: 1fr 1fr; } }

.swatches { display: flex; gap: 12px; margin-top: 22px; flex-wrap: wrap; }
.swatch { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; color: var(--fg-2); }
.swatch i { width: 22px; height: 22px; border-radius: 50%; background: var(--c); box-shadow: inset 0 0 0 1px rgba(255,255,255,.15), 0 0 0 1px var(--rule); }

/* ---------- tiles */
.tiles { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 20px; }
.tile { grid-column: span 6; background: var(--tile); border-radius: var(--r-lg); padding: clamp(26px, 3.4vw, 44px); overflow: hidden; position: relative; min-height: 420px;
  display: flex; flex-direction: column; isolation: isolate; }
.tile.s4 { grid-column: span 4; } .tile.s8 { grid-column: span 8; } .tile.s12 { grid-column: span 12; }
.tile .h3 { margin-top: 6px; }
.tile p { color: var(--fg-2); margin: 12px 0 0; }
.tile p b { color: var(--fg); }
.tile .art { margin-top: auto; padding-top: 24px; }
.tile .art img { width: 100%; height: auto; }
.tile .bignum { font-size: clamp(56px, 7vw, 96px); font-weight: 650; letter-spacing: -.05em; line-height: 1; margin-top: auto; }
@media (max-width: 834px) { .tile, .tile.s4, .tile.s8 { grid-column: span 12; min-height: 0; } }

/* ---------- materials switcher */
.mat-ui { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 64px); align-items: center; margin-top: 48px; }
.mat-stage { position: relative; aspect-ratio: 16 / 11; min-width: 0; }
.mat-info { min-width: 0; }
.mat-stage figure { position: absolute; inset: 0; margin: 0; opacity: 0; transform: scale(.97);
  transition: opacity .6s, transform .8s cubic-bezier(.2,.7,.2,1); }
.mat-stage figure.on { opacity: 1; transform: none; }
.mat-stage img { width: 100%; height: 100%; object-fit: contain; }
.mat-tabs { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 0 16px; border-radius: 999px; border: 0;
  background: var(--tile); color: var(--fg); font-size: 15px; font-weight: 520; cursor: pointer; white-space: nowrap; }
.chip:hover { background: var(--tile-2); }
.chip[aria-selected="true"], .chip[aria-pressed="true"] { background: var(--fg); color: var(--bg); }
.chip i { width: 14px; height: 14px; border-radius: 50%; background: var(--c); box-shadow: 0 0 0 1px var(--rule); }
.mat-info h3 { margin-top: 26px; }
.mat-info .price { color: var(--fg-2); margin-top: 6px; }
.bars { display: grid; gap: 12px; margin-top: 22px; }
.bar { display: grid; grid-template-columns: 9.5em 1fr; align-items: center; gap: 14px; font-size: 14px; color: var(--fg-2); }
.bar s { text-decoration: none; display: block; height: 6px; border-radius: 3px; background: var(--tile-2); position: relative; overflow: hidden; }
.bar s::after { content: ""; position: absolute; inset: 0 auto 0 0; width: calc(var(--v) * 20%); background: var(--accent); border-radius: 3px;
  transition: width .6s cubic-bezier(.2,.7,.2,1); }
@media (max-width: 834px) {
  .mat-ui { grid-template-columns: minmax(0, 1fr); }
  .mat-tabs { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin-inline: -22px; padding-inline: 22px; }
  .mat-tabs::-webkit-scrollbar { display: none; }
}

/* ---------- use cases */
.uses { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin-top: 48px; }
.use { border-radius: var(--r-lg); overflow: hidden; background: var(--tile); display: flex; flex-direction: column; }
.use .ph { aspect-ratio: 4 / 5; position: relative; background: radial-gradient(120% 80% at 50% 0%, #26301a, #0d0f0a 70%); overflow: hidden; }
:root[data-appearance="light"] .use .ph { background: radial-gradient(120% 80% at 50% 0%, #e8f1d6, #f4f6ef 70%); }
.use .ph img { width: 100%; height: 100%; object-fit: cover; }
.use .ph img.fallback { object-fit: contain; padding: 14% 8%; }
.use .ph .ph-note { position: absolute; inset: auto 16px 16px 16px; font-size: 12px; color: var(--fg-3); }
.use .body { padding: 26px 28px 30px; }
.use .body p { color: var(--fg-2); margin: 10px 0 0; }
.use .rec { margin-top: 16px; font-size: 14px; color: var(--fg-3); }
.use .rec b { color: var(--accent-text); font-weight: 600; }
@media (max-width: 834px) {
  .uses { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 82vw; overflow-x: auto; scroll-snap-type: x mandatory;
    scrollbar-width: none; margin-inline: -22px; padding-inline: 22px; scroll-padding-inline: 22px; }
  .uses::-webkit-scrollbar { display: none; }
  .use { scroll-snap-align: start; }
}

/* ---------- process */
.steps4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; margin-top: 48px; counter-reset: s; }
.steps4 li { list-style: none; border-top: 2px solid var(--rule); padding-top: 18px; }
.steps4 li::before { counter-increment: s; content: counter(s, decimal-leading-zero); display: block; font-size: 14px; font-weight: 600; color: var(--accent-text); margin-bottom: 10px; font-variant-numeric: tabular-nums; }
.steps4 h3 { font-size: 21px; font-weight: 620; letter-spacing: -.02em; margin: 0; }
.steps4 p { color: var(--fg-2); margin: 8px 0 0; font-size: 16px; }
.steps4 { padding: 0; }
@media (max-width: 834px) { .steps4 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .steps4 { grid-template-columns: 1fr; } }

/* ---------- compare */
.compare { overflow-x: auto; margin-top: 48px; scrollbar-width: thin; }
.compare table { border-collapse: collapse; width: 100%; min-width: 900px; font-size: 15px; }
.compare th, .compare td { text-align: left; vertical-align: top; padding: 16px 14px; border-bottom: 1px solid var(--rule); }
.compare thead th { vertical-align: bottom; border-bottom: 0; }
.compare thead img { width: 100%; max-width: 160px; height: auto; margin-bottom: 12px; }
.compare thead b { display: block; font-size: 21px; letter-spacing: -.02em; }
.compare thead span { display: block; color: var(--fg-2); font-weight: 450; }
.compare tbody th { color: var(--fg-3); font-weight: 500; width: 12em; font-size: 14px; }
.compare .new { display: inline-block; font-size: 12px; font-weight: 600; color: var(--accent-text); margin-bottom: 6px; }
.dotrate { letter-spacing: 3px; color: var(--accent-text); white-space: nowrap; }
.dotrate em { color: var(--fg-3); font-style: normal; }

/* ---------- specs */
.specs { display: grid; grid-template-columns: 14em minmax(0, 1fr); border-top: 1px solid var(--rule); margin-top: 40px; }
.specs dt { font-weight: 600; padding: 20px 20px 20px 0; border-bottom: 1px solid var(--rule); }
.specs dd { margin: 0; padding: 20px 0; border-bottom: 1px solid var(--rule); color: var(--fg-2); }
.specs dd ul { margin: 0; padding-left: 1.1em; }
.specs dd li + li { margin-top: 4px; }
@media (max-width: 640px) { .specs { grid-template-columns: 1fr; } .specs dt { border-bottom: 0; padding-bottom: 4px; } .specs dd { padding-top: 0; } }

/* ---------- final CTA */
.finale { text-align: center; overflow: hidden; }
.finale img { width: min(1440px, 116%); max-width: none; height: auto; margin: 40px 0 0 50%; transform: translateX(-50%); }

/* ---------- footer */
.foot { background: var(--bg-2); color: var(--fg-3); font-size: 12px; line-height: 1.5; padding-block: 28px 40px; }
.foot .notes { border-bottom: 1px solid var(--rule); padding-bottom: 16px; }
.foot .notes ol { margin: 0; padding-left: 1.4em; }
.foot .notes li + li, .foot .notes p + p { margin-top: 8px; }
.foot a { color: var(--fg-2); }
.foot .cols { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 20px; padding-block: 24px; border-bottom: 1px solid var(--rule); }
.foot h4 { color: var(--fg); font-size: 12px; font-weight: 600; margin: 0 0 10px; }
.foot ul { list-style: none; margin: 0; padding: 0; }
.foot li + li { margin-top: 8px; }
.foot .base { display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; padding-top: 16px; }
.foot .base nav { display: flex; flex-wrap: wrap; gap: 4px 0; }
.foot .base nav a + a::before { content: "|"; color: var(--rule); margin: 0 10px; }
.cookie-link { background: none; border: 0; padding: 0; color: var(--fg-2); font-size: 12px; cursor: pointer; }
@media (max-width: 834px) { .foot .cols { grid-template-columns: 1fr 1fr; } }

/* ---------- cookie banner */
.cookies { position: fixed; z-index: 80; left: max(16px, env(safe-area-inset-left, 0px)); right: max(16px, env(safe-area-inset-right, 0px));
  bottom: calc(16px + env(safe-area-inset-bottom, 0px)); max-width: 560px; margin-inline: auto; background: var(--tile); color: var(--fg);
  border-radius: 20px; padding: 20px 22px; box-shadow: 0 0 0 1px var(--rule), 0 24px 60px -20px rgba(0,0,0,.6); font-size: 14px; }
.cookies p { margin: 0 0 14px; color: var(--fg-2); }
.cookies .row { display: flex; flex-wrap: wrap; gap: 10px; }
.cookies .btn { min-height: 40px; font-size: 15px; }
.cookies fieldset { border: 0; padding: 0; margin: 0 0 14px; display: grid; gap: 10px; }
.cookies label { display: flex; gap: 10px; align-items: flex-start; color: var(--fg-2); }
.cookies label b { color: var(--fg); font-weight: 600; }

/* ---------- legal pages */
.legal { padding-block: 56px 100px; }
.legal h1 { font-size: clamp(36px, 5vw, 56px); font-weight: 650; letter-spacing: -.04em; line-height: 1.05; margin: 0 0 8px; }
.legal .meta { color: var(--fg-3); font-size: 14px; margin-bottom: 40px; }
.legal h2 { font-size: 24px; letter-spacing: -.02em; margin: 44px 0 10px; }
.legal h3 { font-size: 18px; margin: 26px 0 6px; }
.legal p, .legal li { color: var(--fg-2); max-width: 72ch; }
.legal table { border-collapse: collapse; width: 100%; font-size: 14px; margin: 16px 0; }
.legal th, .legal td { text-align: left; padding: 10px 12px 10px 0; border-bottom: 1px solid var(--rule); vertical-align: top; color: var(--fg-2); }
.legal th { color: var(--fg); }
.legal .tablewrap { overflow-x: auto; }
.legal .note { background: var(--tile); border-radius: var(--r-md); padding: 16px 20px; color: var(--fg-2); font-size: 14px; }
.toc { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 20px; }

/* ---------- Insole Studio (build and order) */
.studio { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(360px, 1fr); max-width: min(1720px, 100%); margin-inline: auto;
  padding-left: max(22px, env(safe-area-inset-left, 0px)); padding-right: max(22px, env(safe-area-inset-right, 0px)); gap: 40px; padding-bottom: 140px; }
.studio-view { position: sticky; top: 52px; height: calc(100svh - 52px - 104px); min-height: 460px; border-radius: var(--r-lg); margin-top: 16px;
  background: radial-gradient(110% 80% at 50% 35%, var(--tile-2), var(--bg) 75%); overflow: hidden; }
.studio-view canvas { width: 100%; height: 100%; touch-action: none; cursor: grab; }
.studio-view canvas:active { cursor: grabbing; }
.sv-load { position: absolute; inset: 0; display: grid; place-items: center; color: var(--fg-3); font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; pointer-events: none; }
.sv-tools { position: absolute; left: 16px; right: 16px; bottom: 16px; display: flex; justify-content: center; gap: 8px; flex-wrap: wrap; }
.sv-hint { position: absolute; top: 16px; left: 0; right: 0; text-align: center; margin: 0; pointer-events: none; }
.seg { display: inline-flex; gap: 2px; padding: 3px; border-radius: 999px; background: var(--glass); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 0 0 1px var(--rule); }
.seg button, .seg-btn { min-height: 36px; padding: 0 14px; border-radius: 999px; border: 0; background: transparent; color: var(--fg); font-size: 14px; font-weight: 520; cursor: pointer; }
.seg-btn { background: var(--glass); box-shadow: 0 0 0 1px var(--rule); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
.seg button[aria-pressed="true"], .seg-btn[aria-pressed="true"] { background: var(--fg); color: var(--bg); }
.seg.wide { margin-bottom: 14px; }
.studio-panel { padding-top: 40px; min-width: 0; }
.sp-head { margin-bottom: 8px; }
.opt { border: 0; margin: 0; padding: 40px 0 0; min-width: 0; }
.opt > .link-arrow { display: inline-block; margin-top: 4px; }
.opt legend { font-size: 24px; font-weight: 620; letter-spacing: -.022em; line-height: 1.2; padding: 0; margin-bottom: 16px; }
.opt legend .n { display: block; font-size: 14px; color: var(--accent-text); font-weight: 600; letter-spacing: -.005em; margin-bottom: 4px; }
.cards { display: grid; gap: 10px; margin-bottom: 12px; }
.ocard { display: grid; grid-template-columns: 1fr auto; gap: 4px 16px; text-align: left; width: 100%; padding: 16px 18px; border-radius: 16px; border: 0;
  background: transparent; box-shadow: inset 0 0 0 1px var(--rule); cursor: pointer; color: var(--fg); transition: box-shadow .2s, background .2s; }
.ocard:hover { box-shadow: inset 0 0 0 1px var(--fg-3); }
.ocard[aria-checked="true"] { box-shadow: inset 0 0 0 2px var(--accent); background: color-mix(in srgb, var(--accent) 7%, transparent); }
.ocard b { font-size: 17px; font-weight: 620; }
.ocard .p { font-size: 14px; color: var(--fg-2); text-align: right; }
.ocard .d { grid-column: 1 / -1; font-size: 14px; color: var(--fg-2); }
.ocard .t { font-size: 12px; font-weight: 600; color: var(--accent-text); margin-left: 6px; }
.cards.slim .ocard { padding: 13px 16px; }
.pills { display: flex; flex-wrap: wrap; gap: 8px; }
.pills button { min-height: 44px; padding: 0 18px; border-radius: 999px; border: 0; background: transparent; box-shadow: inset 0 0 0 1px var(--rule); color: var(--fg); font-size: 15px; cursor: pointer; }
.pills button[aria-checked="true"] { box-shadow: inset 0 0 0 2px var(--accent); }
.colors { display: flex; gap: 14px; flex-wrap: wrap; }
.colors button { width: 44px; height: 44px; border-radius: 50%; border: 0; background: var(--c); cursor: pointer; padding: 0;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.18), 0 0 0 1px var(--rule); }
.colors button[aria-checked="true"] { box-shadow: inset 0 0 0 1px rgba(255,255,255,.18), 0 0 0 3px var(--bg), 0 0 0 5px var(--accent); }
.sizes { display: grid; grid-template-columns: repeat(auto-fill, minmax(58px, 1fr)); gap: 8px; }
.sizes button { min-height: 44px; border-radius: 12px; border: 0; background: transparent; box-shadow: inset 0 0 0 1px var(--rule); color: var(--fg); font-size: 15px; cursor: pointer; font-variant-numeric: tabular-nums; }
.sizes button[aria-checked="true"] { box-shadow: inset 0 0 0 2px var(--accent); }
.addons { display: grid; gap: 10px; }
.addons label { display: grid; grid-template-columns: auto 1fr auto; gap: 4px 12px; align-items: start; padding: 14px 16px; border-radius: 16px; box-shadow: inset 0 0 0 1px var(--rule); cursor: pointer; }
.addons input { width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--accent); }
.addons b { font-weight: 600; }
.addons .d { grid-column: 2 / -1; font-size: 14px; color: var(--fg-2); }
.addons select { grid-column: 2 / -1; justify-self: start; margin-top: 6px; font: inherit; font-size: 14px; padding: 6px 10px; border-radius: 10px; background: var(--tile); color: var(--fg); border: 1px solid var(--rule); }
.included { margin-top: 40px; padding: 24px; border-radius: var(--r-md); background: var(--tile); }
.included ul { margin: 12px 0 0; padding-left: 1.1em; color: var(--fg-2); }
.included li + li { margin-top: 6px; }
.buybar { position: fixed; z-index: 40; left: 0; right: 0; bottom: 0; background: var(--nav); backdrop-filter: saturate(1.8) blur(20px); -webkit-backdrop-filter: saturate(1.8) blur(20px);
  border-top: 1px solid var(--rule); padding-bottom: env(safe-area-inset-bottom, 0px); }
.buybar .wrap { display: flex; align-items: center; gap: 20px; min-height: 76px; }
.bb-sum { min-width: 0; flex: 1; display: flex; flex-direction: column; }
.bb-sum b { font-size: 17px; }
.bb-sum span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bb-price { display: flex; flex-direction: column; align-items: flex-end; }
.bb-price b { font-size: 21px; letter-spacing: -.02em; }
.bb-msg { margin: 0; text-align: center; padding: 0 16px 8px; }
.bb-msg:empty { display: none; }
@media (max-width: 900px) {
  .studio { grid-template-columns: 1fr; gap: 0; }
  .studio-view { position: sticky; top: 52px; z-index: 5; height: 40svh; min-height: 260px; margin-top: 0; border-radius: 0; margin-inline: -22px; }
  .sv-hint { display: none; }
  .bb-sum span { display: none; }
  .buybar .wrap { gap: 12px; min-height: 68px; }
  .bb-sum b { font-size: 15px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .bb-price span { display: none; }
  .bb-price b { font-size: 19px; }
  #addBag { white-space: nowrap; padding: 0 18px; }
}

/* ---------- bag + checkout */
.bagpage { padding-block: 48px 100px; }
.bag-items { margin-top: 32px; border-top: 1px solid var(--rule); }
.bag-item { display: grid; grid-template-columns: 140px minmax(0, 1fr) auto; gap: 24px; padding: 28px 0; border-bottom: 1px solid var(--rule); align-items: start; }
.bag-item img { width: 140px; height: auto; border-radius: 14px; background: var(--tile); }
.bag-item h3 { font-size: 21px; margin: 0; letter-spacing: -.02em; }
.bag-item ul { list-style: none; padding: 0; margin: 8px 0 0; color: var(--fg-2); font-size: 14px; }
.bag-item .act { display: flex; gap: 14px; margin-top: 12px; align-items: center; }
.bag-item select { font: inherit; padding: 6px 10px; border-radius: 10px; background: var(--tile); color: var(--fg); border: 1px solid var(--rule); }
.bag-item .rm { background: none; border: 0; color: var(--accent-text); cursor: pointer; padding: 0; font-size: 14px; }
.bag-item .pr { font-size: 19px; font-weight: 600; text-align: right; }
.totals { margin: 28px 0 0 auto; max-width: 420px; display: grid; grid-template-columns: 1fr auto; gap: 10px 20px; }
.totals dt { color: var(--fg-2); } .totals dd { margin: 0; text-align: right; }
.totals .grand { font-size: 24px; font-weight: 650; color: var(--fg); padding-top: 12px; border-top: 1px solid var(--rule); }
.checkout { margin-top: 56px; display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 40px; align-items: start; }
.form-sec { padding: 28px 0; border-top: 1px solid var(--rule); }
.form-sec h2 { font-size: 24px; margin: 0 0 16px; letter-spacing: -.02em; }
.fgrid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.fgrid .full { grid-column: 1 / -1; }
.field { display: flex; flex-direction: column; gap: 6px; font-size: 14px; color: var(--fg-2); }
.field input, .field select { font: inherit; font-size: 17px; color: var(--fg); background: var(--tile); border: 1px solid var(--rule); border-radius: 12px; padding: 12px 14px; min-height: 48px; }
.field input:focus, .field select:focus { outline: 2px solid var(--accent); outline-offset: 0; border-color: transparent; }
.field .err { color: #ff6961; font-size: 13px; min-height: 0; }
.field.bad input, .field.bad select { border-color: #ff6961; }
.paynote { background: var(--tile); border-radius: var(--r-md); padding: 18px 20px; color: var(--fg-2); font-size: 14px; }
.summary-card { position: sticky; top: 72px; background: var(--tile); border-radius: var(--r-lg); padding: 24px; }
.empty { text-align: center; padding: 60px 0; }
@media (max-width: 834px) {
  .checkout { grid-template-columns: 1fr; } .summary-card { position: static; }
  .bag-item { grid-template-columns: 88px minmax(0, 1fr); } .bag-item img { width: 88px; } .bag-item .pr { grid-column: 2; text-align: left; }
  .fgrid { grid-template-columns: 1fr; }
}

/* ---------- support / faq */
.faq details { border-bottom: 1px solid var(--rule); padding: 18px 0; }
.faq summary { font-size: 19px; font-weight: 600; letter-spacing: -.015em; cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--accent-text); font-weight: 400; font-size: 24px; line-height: 1; }
.faq details[open] summary::after { content: "−"; }
.faq details p { color: var(--fg-2); margin: 12px 0 0; max-width: 68ch; }
.contact-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin-top: 24px; }
.contact-grid .tile { min-height: 0; }
@media (max-width: 834px) { .contact-grid { grid-template-columns: 1fr; } }

/* ---------- PA12 textures: scroll to change and zoom */
.texscroll { height: 360vh; }
.tex-pin { position: sticky; top: 52px; height: calc(100svh - 52px); display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr);
  gap: clamp(24px, 4vw, 64px); align-items: center; max-width: calc(var(--wide) + 44px); margin-inline: auto;
  padding-left: max(22px, env(safe-area-inset-left, 0px)); padding-right: max(22px, env(safe-area-inset-right, 0px)); }
.tex-copy .h2 { margin-bottom: 16px; }
.tex-list { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 4px; }
.tex-list button { width: 100%; text-align: left; background: none; border: 0; padding: 14px 0 14px 18px; cursor: pointer; color: var(--fg-3);
  border-left: 2px solid var(--rule); transition: color .3s, border-color .3s; }
.tex-list button b { display: block; font-size: 21px; font-weight: 620; letter-spacing: -.02em; }
.tex-list button span { display: block; font-size: 15px; margin-top: 4px; }
.tex-list button[aria-current="true"] { color: var(--fg); border-color: var(--accent); }
.tex-list button[aria-current="true"] span { color: var(--fg-2); }
.tex-view { position: relative; aspect-ratio: 4 / 3; border-radius: var(--r-lg); overflow: hidden; background: var(--tile); }
.tex-view img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .5s; will-change: transform; }
.tex-view img.on { opacity: 1; }
.tex-view .zoomtag { position: absolute; left: 16px; bottom: 16px; padding: 6px 12px; border-radius: 999px; background: var(--glass);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); font-size: 13px; color: var(--fg); font-variant-numeric: tabular-nums; }
@media (max-width: 834px) {
  .tex-pin { grid-template-columns: 1fr; align-content: center; gap: 18px; }
  .tex-list { display: flex; gap: 8px; margin-top: 14px; }
  .tex-list button { padding: 8px 14px; border: 0; border-radius: 999px; background: var(--tile); }
  .tex-list button span { display: none; }
  .tex-list button b { font-size: 15px; }
  .tex-list button[aria-current="true"] { background: var(--fg); color: var(--bg); }
  .tex-copy .lede { display: none; }
}

/* ---------- materials: tall plate, tap to zoom */
.mat-ui { grid-template-columns: minmax(0, .8fr) minmax(0, 1fr); }
.mat-stage { aspect-ratio: 1400 / 2240; max-height: 78svh; justify-self: center; width: 100%; max-width: 520px; overflow: hidden; border-radius: var(--r-lg);
  background: radial-gradient(80% 60% at 50% 50%, var(--tile-2), transparent 75%); cursor: zoom-in; touch-action: pan-y; }
.mat-stage.zoomed { cursor: zoom-out; touch-action: none; }
.mat-stage figure img { transition: transform .45s cubic-bezier(.2,.7,.2,1); transform-origin: var(--ox, 50%) var(--oy, 50%); }
.mat-stage.zoomed figure img { transform: scale(2.6); transition: transform .25s ease-out; }
.zoom-btn { position: absolute; right: 14px; bottom: 14px; z-index: 2; width: 44px; height: 44px; border-radius: 50%; border: 0; background: var(--glass);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); color: var(--fg); display: grid; place-items: center; cursor: pointer;
  box-shadow: 0 0 0 1px var(--rule); }
.zoom-btn svg { width: 18px; height: 18px; }
.zoom-hint { position: absolute; left: 0; right: 0; top: 14px; text-align: center; font-size: 13px; color: var(--fg-3); pointer-events: none; z-index: 2; }
@media (max-width: 834px) { .mat-ui { grid-template-columns: minmax(0, 1fr); } .mat-stage { max-height: 62svh; max-width: 380px; } }

/* ---------- plate gallery: vertical scroll drives a horizontal track */
.hscroll { height: 340vh; }
.hs-pin { position: sticky; top: 52px; height: calc(100svh - 52px); overflow: hidden; display: flex; flex-direction: column; justify-content: center; gap: clamp(24px, 4vh, 48px); }
.hs-track { display: flex; gap: 24px; padding-inline: max(22px, calc((100vw - var(--wide)) / 2 + 22px)); will-change: transform; }
.hs-card { flex: none; width: min(72vw, 760px); border-radius: var(--r-lg); overflow: hidden; background: radial-gradient(90% 70% at 50% 60%, var(--tile-2), var(--tile) 70%);
  display: flex; flex-direction: column; }
.hs-card .art { aspect-ratio: 10 / 7; position: relative; }
.hs-card .art img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hs-card .art.fill img { object-fit: cover; }
.hs-card p { margin: 0; padding: 4px 28px 26px; color: var(--fg-2); font-size: 16px; }
.hs-card p b { color: var(--fg); font-weight: 600; display: block; font-size: 19px; letter-spacing: -.015em; margin-bottom: 4px; }
.hs-bar { height: 2px; background: var(--rule); margin-inline: max(22px, calc((100vw - var(--wide)) / 2 + 22px)); border-radius: 2px; overflow: hidden; }
.hs-bar i { display: block; height: 100%; width: 100%; background: var(--accent); transform-origin: 0 50%; transform: scaleX(0); }
@media (max-width: 734px) { .hs-card { width: 82vw; } .hs-card p { padding: 2px 20px 20px; font-size: 15px; } }
@media (prefers-reduced-motion: reduce) {
  .hscroll { height: auto; } .hs-pin { position: static; height: auto; padding-block: 40px; }
  .hs-track { overflow-x: auto; scroll-snap-type: x mandatory; } .hs-card { scroll-snap-align: start; }
  .texscroll { height: auto; } .tex-pin { position: static; height: auto; padding-block: 60px; }
}

/* nav CTA: one word space, no flex gap between "Build" and "yours" */
.btn.nav-cta { gap: 0; }

/* ---------- highlights: big readable captions above each image */
.hscroll.hl { height: 420vh; background: var(--bg); }
.hl .hl-head { display: flex; align-items: end; justify-content: space-between; gap: 20px; }
.hl-card { width: min(78vw, 980px); }
.hl-card .cap { margin: 0; padding: clamp(24px, 3vw, 36px) clamp(24px, 3vw, 40px) 0; font-size: clamp(19px, 2vw, 26px); font-weight: 520;
  letter-spacing: -.02em; line-height: 1.25; color: var(--fg-2); max-width: 36ch; text-wrap: balance; }
.hl-card .cap b { color: var(--fg); font-weight: 650; }
.hl-card .art { aspect-ratio: 16 / 9; }
/* the highlight renders are composed for this 16:9 frame, so they fill it edge to edge */
.hl-card .art img { padding: 0; object-fit: cover; }
@media (max-width: 734px) { .hl-card { width: 84vw; } .hl-card .art { aspect-ratio: 16 / 10; } }

/* ---------- design: copy scrolls, 3D stays pinned beside it */
.s2 { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(20px, 4vw, 64px);
  max-width: calc(var(--wide) + 44px); margin-inline: auto; padding-inline: max(22px, env(safe-area-inset-left, 0px)) max(22px, env(safe-area-inset-right, 0px)); }
.s2-view { grid-column: 2; grid-row: 1; position: sticky; top: 52px; height: calc(100svh - 52px); }
.s2-view canvas { width: 100%; height: 100%; display: block; }
.s2-steps { grid-column: 1; grid-row: 1; padding-block: 10vh 30vh; }
.s2-step { min-height: 88svh; display: flex; flex-direction: column; justify-content: center; max-width: 30rem; opacity: .28; transition: opacity .5s; }
.s2-step.on { opacity: 1; }
.s2-step p:not(.eyebrow) { color: var(--fg-2); font-size: clamp(17px, 1.5vw, 20px); margin: 16px 0 0; }
.s2-step p b { color: var(--fg); font-weight: 600; }
.s2-legend { position: absolute; left: 50%; bottom: 28px; transform: translateX(-50%); display: flex; gap: 6px; list-style: none; margin: 0; padding: 6px;
  border-radius: 999px; background: var(--glass); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); box-shadow: 0 0 0 1px var(--rule); }
.s2-legend li { display: flex; align-items: center; gap: 8px; padding: 7px 14px 7px 8px; border-radius: 999px; font-size: 13px; font-weight: 560;
  color: var(--fg-3); transition: color .3s, background .3s; white-space: nowrap; }
.s2-legend li i { width: 14px; height: 14px; border-radius: 50%; background: var(--sw); box-shadow: 0 0 0 1px var(--rule); }
.s2-legend li.on { color: var(--fg); background: var(--tile-2); }
.s2-load { position: absolute; inset: 0; display: grid; place-items: center; color: var(--fg-3); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; pointer-events: none; transition: opacity .4s; }
.s2.ready .s2-load { opacity: 0; }
@media (max-width: 834px) {
  .s2 { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .s2-view { grid-column: 1; grid-row: 1; z-index: 2; height: 46svh; background: var(--bg); margin-inline: -22px; }
  .s2-view::after { content: ""; position: absolute; left: 0; right: 0; bottom: -28px; height: 28px; background: linear-gradient(var(--bg), transparent); pointer-events: none; }
  /* each step's text sits whole in the space under the pinned model, close to the next */
  .s2-steps { grid-column: 1; grid-row: 2; padding-block: 0 18svh; }
  .s2-step { min-height: 44svh; justify-content: center; padding-block: 2svh; }
  .s2-step .h2 { font-size: clamp(28px, 8vw, 36px); }
  .s2-step p:not(.eyebrow) { font-size: 16px; margin-top: 10px; }
  .s2-legend { bottom: 12px; }
  .s2-legend li { padding: 6px 10px 6px 7px; font-size: 12px; }
}

/* ---------- top cover gallery */
.cover-grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1fr) minmax(0, 1fr); grid-template-rows: auto auto; gap: 20px; margin-top: 48px; }
.cover-grid figure { margin: 0; border-radius: var(--r-lg); overflow: hidden; background: radial-gradient(90% 70% at 50% 55%, var(--tile-2), var(--tile) 75%); position: relative; }
.cv-main { grid-row: span 2; display: flex; flex-direction: column; min-height: 0; }
.cv-main img { position: absolute; inset: 0 0 76px 0; width: 100%; height: calc(100% - 76px); object-fit: contain; padding: 1% 3% 0; opacity: 0; transition: opacity .45s; }
.cv-main img.on { opacity: 1; }
.cv-main figcaption { margin-top: auto; height: 76px; display: flex; align-items: center; justify-content: center; gap: 16px; font-size: 14px; color: var(--fg-2); }
.cv-swatches { display: flex; gap: 10px; }
.cv-swatches button { width: 30px; height: 30px; border-radius: 50%; border: 0; padding: 0; cursor: pointer; background: var(--c);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.18), 0 0 0 1px var(--rule); }
.cv-swatches button[aria-checked="true"] { box-shadow: inset 0 0 0 1px rgba(255,255,255,.18), 0 0 0 3px var(--tile), 0 0 0 5px var(--accent); }
.cv-main { aspect-ratio: auto; min-height: 640px; }
.cv-tile { display: flex; flex-direction: column; }
.cv-tile img { width: 100%; aspect-ratio: 10 / 7; object-fit: contain; }
.cv-tile.fill img { object-fit: cover; }
.cv-tile figcaption { padding: 14px 22px 20px; font-size: 15px; color: var(--fg-2); }
.cv-tile figcaption b { color: var(--fg); font-weight: 600; }
@media (max-width: 834px) {
  .cover-grid { grid-template-columns: minmax(0, 1fr); }
  .cv-main { grid-row: auto; min-height: 0; height: 74svh; max-height: 640px; }
}
.cover-grid .cv-tile.wide { grid-column: 2 / 4; }
.cover-grid .cv-tile.wide img { aspect-ratio: 21 / 8; }
@media (max-width: 834px) { .cover-grid .cv-tile.wide { grid-column: auto; } .cover-grid .cv-tile.wide img { aspect-ratio: 10 / 7; } }

/* ---------- scroll film: Blender frames scrubbed by scroll */
.seq { height: 440vh; }
.seq-pin { position: sticky; top: 0; height: 100svh; overflow: hidden; display: grid; place-items: center; }
.seq-canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.seq-copy { position: absolute; left: 0; right: 0; top: clamp(70px, 12vh, 140px); text-align: center; padding-inline: 22px; transition: opacity .4s; }
.seq-copy .lede { margin: 16px auto 0; }
.seq-copy.out { opacity: 0; }

/* ---------- take a closer look (Apple-style panel) */
.closer { box-shadow: 0 0 0 1px var(--rule); position: relative; margin-top: 36px; min-height: min(78svh, 760px); border-radius: 32px; background: var(--panel); overflow: hidden;
  display: grid; grid-template-columns: minmax(280px, 380px) minmax(0, 1fr); align-items: center; padding: clamp(24px, 4vw, 56px) 0 clamp(24px, 4vw, 56px) clamp(72px, 7vw, 104px); }
.cl-arrows { position: absolute; left: clamp(16px, 2vw, 28px); top: 50%; transform: translateY(-50%); display: grid; gap: 14px; z-index: 2; }
.cl-arrow { width: 40px; height: 40px; border-radius: 50%; border: 0; background: var(--pill-bg); color: var(--fg); display: grid; place-items: center; cursor: pointer; }
.cl-arrow svg { width: 18px; height: 18px; }
.cl-arrow:disabled { opacity: .35; cursor: default; }
.cl-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; justify-items: start; position: relative; z-index: 2; }
.cl-pill { display: inline-flex; align-items: center; gap: 12px; min-height: 52px; padding: 0 22px 0 14px; border-radius: 999px; border: 0; cursor: pointer;
  background: var(--pill-bg); color: var(--fg); font-size: 17px; font-weight: 600; letter-spacing: -.015em; transition: background .25s; }
.cl-pill:hover { background: color-mix(in srgb, var(--pill-bg) 85%, var(--fg) 15%); }
.cl-pill .plus { width: 24px; height: 24px; border-radius: 50%; box-shadow: inset 0 0 0 1.5px currentColor; position: relative; flex: none; }
.cl-pill .plus::before, .cl-pill .plus::after { content: ""; position: absolute; left: 50%; top: 50%; width: 10px; height: 1.6px; background: currentColor; transform: translate(-50%, -50%); }
.cl-pill .plus::after { transform: translate(-50%, -50%) rotate(90deg); }
.cl-pill .sw { width: 24px; height: 24px; border-radius: 50%; background: conic-gradient(#9fcc3b 0 25%, #202022 0 50%, #808386 0 75%, #c4ac8a 0); flex: none; }
.cl-item.open .cl-pill { display: none; }
.cl-body { background: var(--pill-bg); border-radius: 28px; padding: 24px 28px; max-width: 420px; animation: clIn .35s ease; }
.cl-body p { margin: 0; color: var(--fg-2); font-size: 17px; line-height: 1.45; }
.cl-body b { color: var(--fg); }
@keyframes clIn { from { opacity: 0; transform: scale(.96); } to { opacity: 1; transform: none; } }
.cl-media { position: absolute; inset: 0 0 0 34%; }
.cl-media figure { position: absolute; inset: 0; margin: 0; opacity: 0; transform: scale(1.04); transition: opacity .6s, transform .9s cubic-bezier(.2,.7,.2,1); }
.cl-media figure.on { opacity: 1; transform: none; }
.cl-media img { width: 100%; height: 100%; object-fit: cover; padding: 0; }
@media (max-width: 834px) {
  .closer { grid-template-columns: 1fr; padding: 0 0 22px; min-height: 0; border-radius: 26px; }
  .cl-media { position: relative; inset: auto; aspect-ratio: 4 / 3; grid-row: 1; }
  .cl-media img { padding: 0; }
  .cl-list { grid-row: 2; padding: 0 18px; display: flex; flex-wrap: nowrap; overflow-x: auto; gap: 8px; scrollbar-width: none; }
  .cl-list::-webkit-scrollbar { display: none; }
  .cl-item.open .cl-pill { display: inline-flex; background: var(--fg); color: var(--bg); }
  .cl-pill { min-height: 44px; font-size: 15px; white-space: nowrap; padding: 0 16px 0 10px; }
  .cl-body { display: none !important; }
  .cl-mobile-body { padding: 14px 22px 0; color: var(--fg-2); font-size: 16px; }
  .cl-mobile-body b { color: var(--fg); }
  .cl-arrows { display: none; }
}
@media (min-width: 835px) { .cl-mobile-body { display: none; } }

/* ---------- printed to you: gradient headline + trio */
.printed .display { font-size: clamp(56px, 10vw, 128px); }
.trio { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 3vw, 40px); margin-top: clamp(40px, 6vw, 80px); align-items: end; }
.trio figure { margin: 0; text-align: center; }
.trio img { width: 100%; max-width: 380px; margin: 0 auto; }
.trio figcaption { margin-top: 10px; color: var(--fg-2); font-size: 15px; }
.trio figcaption b { display: block; color: var(--fg); font-size: 21px; letter-spacing: -.02em; }
@media (max-width: 734px) { .trio { grid-template-columns: repeat(3, 70vw); overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; margin-inline: -22px; padding-inline: 22px; }
  .trio figure { scroll-snap-align: center; } }

/* ---------- light theme polish: soft studio tiles, gentler gradients */
:root[data-appearance="light"] .card, :root[data-appearance="light"] .hs-card, :root[data-appearance="light"] .cover-grid figure {
  background: radial-gradient(90% 70% at 50% 60%, #ffffff, #eef0ee 80%); box-shadow: 0 0 0 1px rgba(0,0,0,.05); }
:root[data-appearance="light"] .tile, :root[data-appearance="light"] .use { box-shadow: 0 0 0 1px rgba(0,0,0,.05); }
:root[data-appearance="light"] .mat-stage { background: radial-gradient(80% 60% at 50% 50%, #ffffff, transparent 75%); }
:root[data-appearance="light"] .grad { background-image: linear-gradient(100deg, #4a7310, #7fb321 55%, #4a7310); }

/* ---------- production network */
.net-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(28px, 5vw, 80px); align-items: center; }
.net-copy .h1 { font-size: clamp(40px, 5.4vw, 72px); }
.methods { list-style: none; padding: 0; margin: 32px 0 0; display: grid; grid-template-columns: 1fr 1fr; gap: 14px 24px; }
.methods li { border-top: 1px solid var(--rule); padding-top: 12px; font-size: 14px; color: var(--fg-2); }
.methods li b { display: block; color: var(--fg); font-size: 16px; font-weight: 600; margin-bottom: 2px; }
.globe-wrap { position: relative; aspect-ratio: 1; max-width: 640px; width: 100%; justify-self: center; }
.globe-wrap canvas { width: 100%; height: 100%; display: block; }
.globe-hub { position: absolute; left: 0; right: 0; bottom: 2%; text-align: center; margin: 0; font-size: 14px; color: var(--fg-2); min-height: 1.4em; }
.globe-hub b { color: var(--fg); }
@media (max-width: 900px) { .net-grid { grid-template-columns: minmax(0, 1fr); } .globe-wrap { max-width: 460px; } }
@media (max-width: 734px) { .film-frame.net-film { aspect-ratio: 4 / 3; } .net-film .film-play { bottom: 10px; min-height: 44px; font-size: 15px; padding-right: 18px; } .net-film .film-play-ic { width: 32px; height: 32px; } }   /* keeps the whole shoe in frame on phones, clear of the play button */
.net-film { margin-top: clamp(40px, 6vw, 80px); border-radius: clamp(18px, 2.4vw, 32px); }   /* the "How it's made" film, under the copy and globe */

/* ---------- partner + customer marquees: one typeface, one weight, one colour */
.logos-sec.sec { padding-block: clamp(52px, 6vw, 96px); }
.logos-sec + .logos-sec.sec { padding-top: clamp(40px, 6vw, 96px); }
.logos-sub { margin: 12px auto 0; font-size: clamp(15px, 1.4vw, 17px); color: var(--fg-2); }
@media (min-width: 735px) { .logos-sub { white-space: nowrap; } }
.logos-cta { margin-top: 24px; font-size: 15px; }
.logos-sec .marquee { margin-top: clamp(36px, 4vw, 48px); }
.marquee { overflow: hidden; position: relative; padding-block: 12px; margin-top: clamp(28px, 4vw, 44px);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 15%, #000 85%, transparent); mask-image: linear-gradient(90deg, transparent, #000 15%, #000 85%, transparent); }
.mq-track { display: flex; width: max-content; gap: clamp(48px, 6vw, 88px); animation: mq 70s linear infinite; }
.marquee:hover .mq-track { animation-play-state: paused; }
@keyframes mq { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.wm { display: inline-flex; align-items: center; color: var(--fg-3); white-space: nowrap; font-size: clamp(17px, 1.7vw, 21px); font-weight: 600; letter-spacing: -.01em; line-height: 1; }
.wm img { height: 26px; width: auto; opacity: .7; }
@media (prefers-reduced-motion: reduce) { .mq-track { animation: none; flex-wrap: wrap; justify-content: center; width: auto; } }

/* ---------- providers page */
.prov-hero { padding-block: clamp(56px, 9vw, 120px) clamp(32px, 5vw, 64px); text-align: center; }
.prov-hero .lede { margin: 20px auto 0; max-width: 46ch; }
.prov-hero .watch { color: var(--accent-text); }   /* the hero here follows the theme, unlike the always-dark home hero */
.prov-hero .watch:hover .watch-ic { color: var(--accent-ink); }
.prov-steps { counter-reset: s; list-style: none; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 18px; margin-top: 40px; }
.prov-steps li { background: var(--tile); border-radius: var(--r-md); padding: 22px; }
.prov-steps li::before { counter-increment: s; content: counter(s); display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%;
  background: var(--accent); color: var(--accent-ink); font-weight: 700; font-size: 14px; margin-bottom: 14px; }
.prov-steps h3 { margin: 0; font-size: 18px; letter-spacing: -.015em; }
.prov-steps p { margin: 8px 0 0; color: var(--fg-2); font-size: 15px; }
@media (max-width: 1000px) { .prov-steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .prov-steps { grid-template-columns: 1fr; } }
.req { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin-top: 36px; }
.req .tile { min-height: 0; }
.req ul { margin: 12px 0 0; padding-left: 1.1em; color: var(--fg-2); }
.req li + li { margin-top: 6px; }
@media (max-width: 834px) { .req { grid-template-columns: 1fr; } }
.apply { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(24px, 5vw, 72px); align-items: start; }
.apply form { background: var(--tile); border-radius: var(--r-lg); padding: clamp(22px, 3vw, 36px); }
.apply .fgrid { margin-top: 4px; }
.checks { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 16px; margin-top: 4px; }
.checks label { display: flex; gap: 10px; align-items: center; font-size: 15px; color: var(--fg-2); }
.checks input { width: 18px; height: 18px; accent-color: var(--accent); }
.field textarea { font: inherit; font-size: 16px; color: var(--fg); background: var(--bg); border: 1px solid var(--rule); border-radius: 12px; padding: 12px 14px; min-height: 110px; resize: vertical; }
.apply .field input, .apply .field select { background: var(--bg); }
@media (max-width: 900px) { .apply { grid-template-columns: 1fr; } .checks { grid-template-columns: 1fr; } }

/* ---------- reviews */
.rev-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; }
.rev-score { margin: 12px 0 0; color: var(--fg-2); font-size: 17px; }
.rev-score b { color: var(--fg); font-size: 21px; }
.stars { color: var(--accent); letter-spacing: 2px; font-size: 16px; }
.stars i { color: var(--rule); font-style: normal; }
.rev-ctrl { display: flex; gap: 10px; }
.rev-track { display: flex; gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; margin-top: 32px;
  padding: 4px max(22px, calc((100vw - var(--wide)) / 2 + 22px)) 8px; scroll-padding-inline: max(22px, calc((100vw - var(--wide)) / 2 + 22px)); }
.rev-track::-webkit-scrollbar { display: none; }
.rev-card { flex: none; width: min(80vw, 380px); margin: 0; background: var(--tile); border-radius: var(--r-lg); padding: 28px; scroll-snap-align: start;
  display: flex; flex-direction: column; gap: 16px; box-shadow: 0 0 0 1px var(--rule); }
.rev-card blockquote { margin: 0; font-size: 18px; line-height: 1.45; color: var(--fg); letter-spacing: -.012em; flex: 1; }
.rev-card figcaption { display: flex; align-items: center; gap: 12px; font-size: 14px; color: var(--fg-2); }
.rev-card figcaption b { display: block; color: var(--fg); font-weight: 600; }
.rev-card .av { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; background: var(--tile-2); color: var(--fg); font-weight: 650; flex: none; }
.rev-card em { margin-left: auto; font-style: normal; font-size: 12px; font-weight: 600; color: var(--accent-text); border: 1px solid var(--rule); border-radius: 999px; padding: 4px 10px; }
.rev-note { margin-top: 16px; }
@media (max-width: 734px) { .rev-ctrl { display: none; } }

/* ---------- providers: order flow, example match, who makes it */
.logos-cap { margin-top: 18px; font-size: 13px; color: var(--fg-3); }
.flow { list-style: none; padding: 0; margin: clamp(40px, 6vw, 64px) 0 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; counter-reset: f; }
.flow li { position: relative; min-width: 0; }
.flow li:not(:last-child)::after { content: ""; position: absolute; top: 28px; left: 72px; right: -12px; height: 2px;
  background: linear-gradient(90deg, var(--accent), color-mix(in srgb, var(--accent) 15%, transparent)); }
.flow-ic { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: var(--tile); box-shadow: inset 0 0 0 1.5px var(--accent); }
.flow-ic svg { width: 26px; height: 26px; fill: none; stroke: var(--accent-text); stroke-width: 1.6; stroke-linejoin: round; stroke-linecap: round; }
.flow h3 { font-size: 20px; font-weight: 620; letter-spacing: -.02em; margin: 20px 0 0; }
.flow h3::before { counter-increment: f; content: counter(f, decimal-leading-zero) "  "; color: var(--accent-text); font-size: 14px; font-variant-numeric: tabular-nums; white-space: pre; }
.flow p { color: var(--fg-2); margin: 8px 0 0; font-size: 16px; }
@media (max-width: 834px) {
  .flow { grid-template-columns: 1fr; gap: 28px; }
  .flow li { padding-left: 76px; min-height: 56px; }
  .flow-ic { position: absolute; left: 0; top: 0; }
  .flow h3 { margin-top: 4px; }
  .flow li:not(:last-child)::after { top: 64px; bottom: -24px; left: 27px; right: auto; width: 2px; height: auto;
    background: linear-gradient(180deg, var(--accent), color-mix(in srgb, var(--accent) 15%, transparent)); }
}
.match { margin-top: clamp(56px, 8vw, 96px); display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 20px clamp(24px, 4vw, 56px);
  background: var(--tile); border-radius: var(--r-lg); padding: clamp(24px, 4vw, 48px); }
.match-dl { margin: 22px 0 0; display: grid; gap: 12px; }
.match-dl div { display: flex; justify-content: space-between; gap: 16px; border-bottom: 1px solid var(--rule); padding-bottom: 12px; }
.match-dl dt { color: var(--fg-3); }
.match-dl dd { margin: 0; text-align: right; font-weight: 560; }
.match-out { margin: 22px 0 0; color: var(--fg-2); font-size: 16px; }
.match-out b { color: var(--fg); }
.match-list { display: grid; gap: 12px; min-width: 0; }
.pcard { all: unset; box-sizing: border-box; cursor: pointer; display: grid; gap: 8px; padding: 18px 20px; border-radius: var(--r-md);
  background: var(--bg); box-shadow: inset 0 0 0 1px var(--rule); transition: box-shadow .25s, transform .25s; }
.pcard:hover { transform: translateY(-1px); }
.pcard:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.pcard[aria-checked="true"] { box-shadow: inset 0 0 0 2px var(--accent); }
.pc-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.pc-top b { font-size: 18px; font-weight: 640; letter-spacing: -.015em; }
.pc-badge { font-style: normal; font-size: 12px; font-weight: 600; padding: 4px 10px; border-radius: 999px; background: var(--accent); color: var(--accent-ink, #0b1102); }
.pc-meta { font-size: 14px; color: var(--fg-2); }
.pc-stars { color: var(--accent-text); letter-spacing: 1px; margin-right: 4px; }
.pc-facts { display: flex; flex-wrap: wrap; gap: 6px 18px; font-size: 14px; color: var(--fg-2); }
.pc-facts b { color: var(--fg); font-weight: 600; }
.pcard q { font-size: 14px; color: var(--fg-3); font-style: italic; }
.match-note { grid-column: 1 / -1; margin: 4px 0 0; font-size: 13px; color: var(--fg-3); }
@media (max-width: 834px) { .match { grid-template-columns: 1fr; } }
.maker { margin: clamp(56px, 8vw, 96px) auto 0; max-width: 820px; text-align: center; }
.maker .h2 { margin-top: 8px; }
.maker .lede { margin: 16px auto 0; }

/* ---------- scan: the Insole Studio Scan app, as in its own site (video + live phone screen) */
.scan-stage { position: relative; display: flex; align-items: flex-end; justify-content: flex-start; padding-bottom: 8px; }
.scan-film { margin: 0; width: 78%; aspect-ratio: 4 / 5; border-radius: 14px; overflow: hidden; position: relative; background: #111; }
.scan-film video { position: absolute; top: 50%; left: 50%; height: 106%; width: auto; max-width: none; transform: translate(-50.6%, -50%) scale(1.02); }
.phone { position: relative; width: 300px; aspect-ratio: 9 / 19.2; border-radius: 52px; padding: 11px; flex: none;
  background: linear-gradient(145deg, #3a3b3e, #151517 40%, #2a2b2e); box-shadow: 0 0 0 1.5px #4a4b4f inset, 0 40px 80px -30px rgba(0,0,0,.7); }
.phone::before { content: ""; position: absolute; top: 7%; left: 50%; width: 32%; height: 3.2%; transform: translate(-50%, -110%); border-radius: 20px; background: #000; z-index: 3; }
.phone-screen { position: relative; width: 100%; height: 100%; border-radius: 42px; overflow: hidden; background: #000; color: #f5f5f7; font-family: var(--font); container-type: inline-size; }
/* iPhone-like corners, proportional to the phone's own size */
.scan-phone { position: absolute; right: 0; bottom: -24px; width: 38%; border-radius: 17% / 8%; padding: 3.6%; }
.scan-phone .phone-screen { border-radius: 13.5% / 6.3%; }
.scr-status { position: absolute; top: 5.4cqw; left: 9cqw; right: 9cqw; display: flex; justify-content: space-between; font-size: 4.4cqw; font-weight: 600; z-index: 2; }
.scr-top { position: absolute; top: 18cqw; left: 6.5cqw; right: 6.5cqw; display: flex; justify-content: space-between; align-items: center; font-size: 4.6cqw; z-index: 2; transition: opacity .4s; }
.scr-top .cancel { color: #9fcc3b; }
.scr-top .title { font-weight: 650; font-size: 5.2cqw; position: absolute; left: 50%; transform: translateX(-50%); }
.scr-top .side { color: #a1a1a6; font-size: 4.2cqw; }
.scr-ring { transition: opacity .4s; position: absolute; left: 50%; top: 40%; width: 86%; aspect-ratio: 1; transform: translate(-50%, -50%); }
.scr-ring svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.scr-ring .tick { stroke: rgba(255,255,255,.55); stroke-width: 3.2; stroke-linecap: round; transition: stroke .25s; }
.scr-ring .tick.on { stroke: #9fcc3b; }
.scr-view { position: absolute; inset: 13%; border-radius: 50%; overflow: hidden; background: #222; }
.scr-view img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: opacity .5s; }
.scr-view .sweep { position: absolute; inset: 0; background: linear-gradient(180deg, transparent 0 46%, rgba(159,204,59,.55) 50%, transparent 54%); mix-blend-mode: screen; animation: scr-sweep 2.4s ease-in-out infinite; }
@keyframes scr-sweep { 0%, 100% { transform: translateY(-40%); } 50% { transform: translateY(40%); } }
.scr-view .mesh { position: absolute; inset: 0; background-image: radial-gradient(rgba(159,204,59,.85) 1px, transparent 1.4px); background-size: 9px 9px; mix-blend-mode: screen; transition: opacity .3s; }
.scr-done { position: absolute; inset: 13%; border-radius: 50%; display: grid; place-items: center; opacity: 0; transform: scale(.9); transition: opacity .4s, transform .4s; }
.scr-done svg { width: 34%; }
.scr-done path { fill: none; stroke: #9fcc3b; stroke-width: 4; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 60; stroke-dashoffset: 60; transition: stroke-dashoffset .6s .15s; }
.scr-msg { position: absolute; left: 7cqw; right: 7cqw; top: 70%; text-align: center; font-size: 5.8cqw; transition: opacity .4s; font-weight: 600; line-height: 1.3; letter-spacing: -.01em; }
.scr-sub { display: block; margin-top: 2.6cqw; font-size: 4.3cqw; font-weight: 450; color: #a1a1a6; }
.scr-bottom { position: absolute; left: 0; right: 0; bottom: 9cqw; text-align: center; font-size: 4.3cqw; color: #9fcc3b; transition: opacity .4s; }
.scr-bottom .done-btn { display: inline-block; background: #9fcc3b; color: #0b1102; font-weight: 650; border-radius: 4.6cqw; padding: 4cqw 0; width: 80%; font-size: 5cqw; }
.scr-home { position: absolute; left: 50%; bottom: 2.6cqw; width: 34%; height: 1.6cqw; margin-left: -17%; border-radius: 3px; background: rgba(255,255,255,.75); }
.scr-intro { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 0 8cqw; text-align: center; gap: 4cqw; transition: opacity .4s; }
.scr-intro img { width: 82%; border-radius: 6cqw; }
.scr-intro b { font-size: 6cqw; letter-spacing: -.015em; }
.scr-intro span { font-size: 4.4cqw; color: #a1a1a6; }
.scr-status .bat { display: inline-flex; gap: 4px; align-items: center; }
.scr-status .bat i { display: inline-block; width: 6.4cqw; height: 3.1cqw; border-radius: 1cqw; box-shadow: inset 0 0 0 1px #f5f5f7; position: relative; }
.scr-status .bat i::after { content: ""; position: absolute; inset: 0.6cqw; right: 1.6cqw; background: #f5f5f7; border-radius: .4cqw; }
.phone-screen.done .scr-done { opacity: 1; transform: none; }
.phone-screen.done .scr-done path { stroke-dashoffset: 0; }
.phone-screen.done .scr-view { opacity: 0; }
@media (prefers-reduced-motion: reduce) { .scr-view .sweep { animation: none; } }

/* ---------- design: leader-line labels that follow the 3D model */
.s2-lines { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; overflow: visible; }
.s2-lines g { transition: opacity .2s; }
.s2-lines line { stroke: var(--accent); stroke-width: 1.4; }
.s2-lines circle { fill: var(--accent); stroke: var(--bg); stroke-width: 2; }
.s2-labels { position: absolute; inset: 0; pointer-events: none; }
.s2-tag { position: absolute; left: 0; top: 0; opacity: 0; display: grid; gap: 2px; padding: 10px 14px; border-radius: 14px; white-space: nowrap;
  background: color-mix(in srgb, var(--bg) 72%, transparent); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  box-shadow: inset 0 0 0 1px var(--rule); will-change: transform, opacity; }
.s2-tag b { font-size: 15px; font-weight: 640; letter-spacing: -.01em; color: var(--fg); }
.s2-tag span { font-size: 13px; color: var(--fg-2); }
@media (max-width: 734px) { .s2-tag { padding: 7px 10px; border-radius: 11px; } .s2-tag b { font-size: 13px; } .s2-tag span { font-size: 11.5px; } }

/* ---------- benefits: pressure maps + what you feel */
.pmap { margin: clamp(40px, 6vw, 72px) auto 0; max-width: 820px; display: grid; grid-template-columns: 1fr 1fr; gap: clamp(16px, 4vw, 56px); }
.pm { display: grid; justify-items: center; gap: 14px; }
.pm canvas { width: min(100%, 260px); aspect-ratio: 1 / 2; display: block; }
.pm figcaption { text-align: center; display: grid; gap: 2px; }
.pm figcaption b { font-size: 17px; font-weight: 640; }
.pm figcaption span { font-size: 14px; color: var(--fg-2); }
.pm-key { grid-column: 1 / -1; display: flex; align-items: center; justify-content: center; gap: 10px; font-size: 12px; color: var(--fg-3); }
.pm-key i { width: 180px; height: 8px; border-radius: 4px; background: linear-gradient(90deg, #1e4078 0%, #2678be 16%, #34b26e 32%, #96cc3c 50%, #f6d23c 64%, #f58c28 80%, #e2322d 100%); }
.pm-note { grid-column: 1 / -1; text-align: center; font-size: 12px; color: var(--fg-3); margin: 0; max-width: 60ch; justify-self: center; }
.ben-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: clamp(40px, 6vw, 72px); }
.ben { background: var(--tile); border-radius: var(--r-md); padding: 26px 26px 28px; }
.ben svg { width: 32px; height: 32px; fill: none; stroke: var(--accent-text); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.ben h3 { font-size: 20px; font-weight: 640; letter-spacing: -.02em; margin: 16px 0 0; }
.ben p { color: var(--fg-2); margin: 8px 0 0; font-size: 16px; }
@media (max-width: 834px) { .ben-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .ben-grid { grid-template-columns: 1fr; gap: 12px; } .ben { padding: 22px; } .pm canvas { width: 100%; } .pm figcaption b { font-size: 15px; } .pm figcaption span { font-size: 12.5px; } }

/* ---------- phones: tighter rhythm, shorter pinned scroll stretches (less empty scrolling) */
@media (max-width: 734px) {
  .sec { padding-block: 40px; }
  .sec.tight { padding-block: 28px; }
  .logos-sec.sec { padding-block: 32px; }
  .logos-sec + .logos-sec.sec { padding-top: 4px; }
  .logos-sec .marquee { margin-top: 20px; }
  .uses, .ben-grid, .pmap, .steps4, .compare, .cover-grid, .mat-ui, .trio { margin-top: 24px; }
  .specs { margin-top: 20px; }
  .closer { margin-top: 20px; }
  .film-frame { margin-top: 24px; aspect-ratio: 1 / 1; }
  .scan-model { margin-top: 32px; }
  .swap { margin-top: 40px; }
  .match { margin-top: 40px; }
  /* the scroll film keeps its pin, with less runway */
  .seq { height: 230vh; }
  .texscroll { height: 200vh; }
  .tex-view { aspect-ratio: 4 / 5; max-height: 62svh; width: 100%; justify-self: center; }
  /* highlights and plate gallery: a native swipe row in the page flow, no pinned screen */
  .hscroll, .hscroll.hl { height: auto; }
  .hs-pin { position: static; height: auto; padding-block: 40px 8px; gap: 20px; }
  .hs-track { overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: 22px; scrollbar-width: none; transform: none !important; }
  .hs-track::-webkit-scrollbar { display: none; }
  .hs-card { scroll-snap-align: start; }
}

/* ---------- footer notes: one quiet expandable row */
.foot .notes { border-bottom: 1px solid var(--rule); padding-bottom: 0; }
.foot .notes summary { list-style: none; cursor: pointer; display: flex; align-items: baseline; gap: 10px; padding: 14px 0; font-weight: 600; color: var(--fg-2); }
.foot .notes summary::-webkit-details-marker { display: none; }
.foot .notes summary span { font-weight: 400; color: var(--fg-3); font-size: .95em; }
.foot .notes summary::after { content: "+"; margin-left: auto; font-size: 18px; line-height: 1; color: var(--fg-3); transition: transform .25s; }
.foot .notes[open] summary::after { transform: rotate(45deg); }
.foot .notes[open] { padding-bottom: 16px; }
@media (max-width: 560px) { .foot .notes summary span { display: none; } }

/* ---------- scroll film: layer callouts that follow the layers as they part */
.seq-lines { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; overflow: visible; }
.seq-lines g { opacity: 0; }
.seq-lines line { stroke: var(--accent); stroke-width: 1.5; }
.seq-lines circle { fill: var(--accent); stroke: var(--bg); stroke-width: 2.5; }
.seq-tags { position: absolute; inset: 0; margin: 0; padding: 0; list-style: none; pointer-events: none; }
.seq-tag { position: absolute; left: 0; top: 0; opacity: 0; width: max-content; max-width: 250px; display: grid; gap: 3px;
  padding: 14px 18px 15px; border-radius: 18px; will-change: transform, opacity;
  background: color-mix(in srgb, var(--panel) 78%, transparent); backdrop-filter: blur(18px) saturate(1.4); -webkit-backdrop-filter: blur(18px) saturate(1.4);
  box-shadow: inset 0 0 0 1px var(--rule), 0 12px 32px -18px rgba(0,0,0,.5); }
.seq-tag .t { font-size: 12px; font-weight: 650; letter-spacing: .02em; text-transform: uppercase; color: var(--accent-text); }
.seq-tag b { font-size: 16px; font-weight: 640; letter-spacing: -.01em; color: var(--fg); }
.seq-tag .why { font-size: 14px; line-height: 1.35; color: var(--fg-2); }
@media (max-width: 734px) {
  .seq-tag { max-width: 168px; padding: 10px 12px 11px; border-radius: 14px; gap: 2px; }
  .seq-tag .t { font-size: 10.5px; }
  .seq-tag b { font-size: 13px; }
  .seq-tag .why { font-size: 12px; }
}

/* ---------- padding: a little brand green on each module */
.pad-tiles .tile { position: relative; overflow: hidden; isolation: isolate;
  background: radial-gradient(120% 90% at 0% 0%, color-mix(in srgb, var(--accent) 16%, transparent), transparent 60%), var(--tile);
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--accent) 22%, transparent); }
.pad-tiles .tile::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px; z-index: -1;
  background: linear-gradient(90deg, var(--accent), color-mix(in srgb, var(--accent) 10%, transparent)); }
.pad-ic { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; margin-bottom: 18px;
  background: color-mix(in srgb, var(--accent) 18%, transparent); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--accent) 35%, transparent); }
.pad-ic svg { width: 26px; height: 26px; fill: none; stroke: var(--accent-text); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.pad-tiles .tile p b { color: var(--accent-text); }
/* the big figures pick up the brand green too */
.pad-tiles .bignum { background: linear-gradient(100deg, var(--accent-text), color-mix(in srgb, var(--accent) 70%, var(--fg))); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ---------- no widows or orphans: balanced headings, "pretty" paragraphs (plus &nbsp; on the last two words at build) */
h1, h2, h3, h4, .display, .h1, .h2, .h3 { text-wrap: balance; }
p, li, dd, figcaption, blockquote, .lede { text-wrap: pretty; }
.pad-tiles .bignum { white-space: nowrap; font-size: clamp(48px, 5.6vw, 88px); }
/* Trial / Warranty / Remakes: figures and copy line up across the row, copy always two lines */
.fig-tiles .tile { min-height: 0; }
.fig-tiles .bignum { margin-top: 28px; }
.fig-tiles .tile > p:last-child { min-height: 2lh; text-wrap: balance; }
@media (min-width: 835px) and (max-width: 1180px) { .fig-tiles .tile > p:last-child { font-size: 15px; } }
.specline b { white-space: nowrap; }
@media (min-width: 835px) and (max-width: 980px) { .fig-tiles .tile > p:last-child { font-size: 14px; } }

/* ---------- studio: fit method, standard-fit footprints, next steps */
#optProfile .sub { margin: 18px 0 12px; }
.profiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.pcard-fp { all: unset; box-sizing: border-box; cursor: pointer; display: grid; justify-items: center; gap: 6px; text-align: center;
  padding: 16px 12px 14px; border-radius: 16px; background: var(--tile); box-shadow: inset 0 0 0 1px var(--rule); transition: box-shadow .2s; }
.pcard-fp svg { width: 46px; height: 92px; fill: var(--fg-2); opacity: .85; }
.pcard-fp b { font-size: 15px; font-weight: 640; }
.pcard-fp span { font-size: 12.5px; line-height: 1.35; color: var(--fg-2); }
.pcard-fp[aria-checked="true"] { box-shadow: inset 0 0 0 2px var(--accent); }
.pcard-fp[aria-checked="true"] svg { fill: var(--accent-text); opacity: 1; }
.pcard-fp:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.fit-next { margin-top: 16px; padding: 18px 20px; border-radius: 16px; background: color-mix(in srgb, var(--accent) 10%, var(--tile));
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--accent) 28%, transparent); }
.fit-next h3 { margin: 0 0 8px; font-size: 15px; font-weight: 650; }
.fit-next ol { margin: 0; padding-left: 1.3em; display: grid; gap: 6px; color: var(--fg-2); font-size: 15px; }
.fit-next .small { margin: 10px 0 0; color: var(--fg-3); }
@media (max-width: 560px) { .pcard-fp span { display: none; } }
.next-steps { margin-top: 28px; display: grid; gap: 14px; }
.next-steps .ns { padding: 18px 20px; border-radius: 16px; background: color-mix(in srgb, var(--accent) 10%, var(--tile)); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--accent) 28%, transparent); }
.next-steps .ns ol { margin: 8px 0 0; padding-left: 1.3em; display: grid; gap: 6px; color: var(--fg-2); }
.next-steps .ns .small { margin: 10px 0 0; color: var(--fg-3); }
.ok-next { list-style: none; padding: 0; margin: 22px auto 0; max-width: 560px; display: grid; gap: 10px; text-align: left; }
.ok-next li { padding: 14px 18px; border-radius: 14px; background: var(--tile); color: var(--fg-2); }

/* ---------- fit chooser: two quick steps before the builder */
.fitwiz { position: fixed; inset: 0; z-index: 60; display: grid; place-items: center; padding: 24px;
  background: color-mix(in srgb, var(--bg) 70%, transparent); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px); }
.fitwiz[hidden] { display: none; }
.fw-panel { width: min(880px, 100%); max-height: calc(100svh - 48px); overflow: auto; display: flex; flex-direction: column;
  background: var(--panel); border-radius: 28px; box-shadow: inset 0 0 0 1px var(--rule), 0 40px 80px -40px rgba(0,0,0,.6); }
.fw-top { display: flex; align-items: center; justify-content: space-between; padding: 22px 28px 0; }
.fw-steps { display: flex; gap: 6px; margin: 0; }
.fw-steps i { width: 26px; height: 4px; border-radius: 2px; background: var(--rule); }
.fw-steps i.on { background: var(--accent); }
.fw-skip, .fw-back { background: none; border: 0; color: var(--fg-2); font: inherit; font-size: 14px; cursor: pointer; padding: 8px 0; }
.fw-skip:hover, .fw-back:hover { color: var(--fg); }
.fw-step { padding: 18px 28px 8px; }
.fw-step .h2 { margin-top: 6px; }
.fw-sub { color: var(--fg-2); margin: 10px 0 0; }
.fw-opts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-top: 24px; }
.fw-opt { all: unset; box-sizing: border-box; cursor: pointer; display: flex; flex-direction: column; gap: 8px; padding: 20px; border-radius: 20px;
  background: var(--tile); box-shadow: inset 0 0 0 1px var(--rule); transition: box-shadow .2s, transform .2s; }
.fw-opt:hover { transform: translateY(-2px); }
.fw-opt:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.fw-opt[aria-checked="true"] { box-shadow: inset 0 0 0 2px var(--accent); background: color-mix(in srgb, var(--accent) 9%, var(--tile)); }
.fw-ic { width: 44px; height: 44px; border-radius: 13px; display: grid; place-items: center; background: color-mix(in srgb, var(--accent) 16%, transparent); }
.fw-ic svg { width: 24px; height: 24px; fill: none; stroke: var(--accent-text); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.fw-opt b { font-size: 18px; font-weight: 650; letter-spacing: -.015em; margin-top: 4px; }
.fw-opt .fw-tag { align-self: flex-start; justify-self: start; font-size: 11px; font-weight: 650; padding: 3px 8px; border-radius: 999px; background: var(--accent); color: var(--accent-ink); }
.fw-opt .p { color: var(--fg-2); font-size: 14.5px; line-height: 1.4; }
.fw-opt .m { margin-top: auto; padding-top: 8px; font-size: 13px; font-weight: 600; color: var(--accent-text); }
.fw-grid { display: grid; grid-template-columns: 1fr 1.3fr; gap: 12px; margin-top: 20px; }
.fw-box { padding: 20px 22px; border-radius: 20px; background: var(--tile); }
.fw-box h3 { margin: 0 0 10px; font-size: 15px; font-weight: 650; }
.fw-box ul, .fw-box ol { margin: 0; padding-left: 1.2em; display: grid; gap: 8px; color: var(--fg-2); }
.fw-box ul { list-style: none; padding: 0; }
.fw-box ul li { display: flex; gap: 10px; }
.fw-box ul li::before { content: ""; flex: none; width: 18px; height: 18px; margin-top: 2px; border-radius: 50%;
  background: var(--accent) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18'%3E%3Cpath d='M5 9.4l2.6 2.6L13 6.5' fill='none' stroke='%230b1102' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 18px no-repeat; }
.fw-box .small { margin: 12px 0 0; color: var(--accent-text); font-weight: 600; }
.fw-note { color: var(--fg-3); margin: 14px 0 0; }
.fw-actions { position: sticky; bottom: 0; display: flex; align-items: center; justify-content: flex-end; gap: 20px; padding: 18px 28px 24px; margin-top: auto;
  background: linear-gradient(transparent, var(--panel) 30%); }
.fw-actions .btn { min-width: 180px; }
.fit-chip { display: inline-flex; align-items: center; gap: 8px; margin: 14px 0 0; padding: 6px 6px 6px 14px; border-radius: 999px; font-size: 14px;
  background: color-mix(in srgb, var(--accent) 12%, var(--tile)); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--accent) 30%, transparent); }
.fit-chip span { color: var(--fg-3); }
.fit-chip button { border: 0; border-radius: 999px; padding: 6px 12px; background: var(--fg); color: var(--bg); font: inherit; font-size: 13px; font-weight: 600; cursor: pointer; }
@media (max-width: 734px) {
  .fitwiz { padding: 0; place-items: stretch; }
  .fw-panel { max-height: none; height: 100svh; border-radius: 0; }
  .fw-top { padding: 16px 20px 0; }
  .fw-step { padding: 14px 20px 8px; }
  .fw-opts, .fw-grid { grid-template-columns: 1fr; }
  .fw-opt { display: grid; grid-template-columns: 44px 1fr; column-gap: 14px; row-gap: 4px; padding: 16px; }
  .fw-opt .fw-ic { grid-row: span 4; }
  .fw-opt b { margin-top: 0; font-size: 17px; }
  .fw-actions { padding: 14px 20px calc(16px + env(safe-area-inset-bottom)); }
  .fw-actions .btn { flex: 1; }
}

/* ---------- builder plate step: Core 3D first, the rest tucked away */
.ocard.hero-plate { padding: 20px 20px 18px; }
.ocard.hero-plate b { font-size: 20px; }
.ocard .perks { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.ocard .perks i { font-style: normal; font-size: 12px; font-weight: 600; padding: 4px 10px; border-radius: 999px;
  color: var(--accent-text); background: color-mix(in srgb, var(--accent) 14%, transparent); }
#optTexture .sub { margin: 4px 0 10px; }
.more-plates { margin: 18px 0 12px; border-radius: 16px; background: var(--tile); box-shadow: inset 0 0 0 1px var(--rule); }
.more-plates summary { list-style: none; cursor: pointer; display: flex; align-items: baseline; gap: 10px; padding: 16px 18px; }
.more-plates summary::-webkit-details-marker { display: none; }
.more-plates summary b { font-weight: 620; }
.more-plates summary span { color: var(--fg-3); font-size: 14px; }
.more-plates summary::after { content: "+"; margin-left: auto; font-size: 20px; line-height: 1; color: var(--fg-3); transition: transform .25s; }
.more-plates[open] summary::after { transform: rotate(45deg); }
.more-plates > .small { margin: -6px 18px 4px; color: var(--fg-3); }
#otherCards { display: grid; gap: 10px; padding: 6px 12px 14px; }
#otherCards .tier { margin: 10px 6px 0; font-size: 12px; font-weight: 650; letter-spacing: .04em; text-transform: uppercase; color: var(--fg-3); }

/* the brand's green period, wherever the wordmark stands on its own */
.brand-dot { color: var(--accent); -webkit-text-fill-color: var(--accent); }
.brand-eyebrow { color: var(--fg-2); }

/* ---------------------------------------------------------------- the film */
.watch { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; padding: 0 4px; border: 0; background: none; color: #b5dc5c;
  font: inherit; font-size: 17px; font-weight: 500; cursor: pointer; }
.watch-ic { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; box-shadow: inset 0 0 0 1.5px currentColor; transition: background .25s, color .25s; }
.watch-ic svg { width: 12px; height: 12px; margin-left: 2px; }
.watch:hover .watch-ic { background: #9fcc3b; color: #0b1102; }
/* hero "Watch video": a small menu to pick one of the two films (the hero is always dark) */
.hero-copy .ctas, .prov-hero .ctas { position: relative; }
.watch-wrap { display: inline-block; pointer-events: auto; }   /* the menu centres under the whole button row, so it never runs off a phone */
.watch-menu { position: absolute; z-index: 10; top: calc(100% + 10px); left: 50%; transform: translateX(-50%); width: min(380px, calc(100vw - 32px));
  display: grid; gap: 2px; padding: 8px; border-radius: 18px; text-align: left; background: rgba(30,30,32,.9); box-shadow: 0 18px 50px rgba(0,0,0,.5), inset 0 0 0 1px rgba(255,255,255,.08);
  -webkit-backdrop-filter: blur(24px) saturate(1.5); backdrop-filter: blur(24px) saturate(1.5); animation: watch-in .22s ease-out; }
.watch-menu[hidden] { display: none; }
@keyframes watch-in { from { opacity: 0; transform: translate(-50%, -6px); } to { opacity: 1; transform: translate(-50%, 0); } }
.watch-menu button { display: grid; grid-template-columns: 96px 1fr; gap: 14px; align-items: center; width: 100%; min-height: 64px; padding: 8px; border: 0; border-radius: 12px;
  background: none; color: #f5f5f7; font: inherit; text-align: left; cursor: pointer; transition: background .2s; }
.watch-menu button:hover, .watch-menu button:focus-visible { background: rgba(245,245,247,.1); outline: none; }
.watch-menu img { width: 96px; height: 54px; object-fit: cover; border-radius: 8px; display: block; background: #111; }
.watch-menu b { display: block; font-size: 17px; font-weight: 600; }
.watch-menu b i { font-style: normal; }
.watch-menu em { display: block; margin-top: 2px; font-style: normal; font-size: 13px; line-height: 1.35; color: #a1a1a6; }
.watch-menu .len { color: #b5dc5c; margin-left: 4px; font-variant-numeric: tabular-nums; }
.film-sec { background: #000; color: #f5f5f7; padding-bottom: 0; }
.film-sec .lede { color: #a1a1a6; margin: 16px auto 0; }
.film-sec .eyebrow { color: #b5dc5c; }
.film-frame { position: relative; width: min(100%, 1680px); margin: clamp(36px, 5vw, 64px) auto 0; aspect-ratio: 16 / 9; overflow: hidden; background: #000; }
.film-teaser { width: 100%; height: 100%; object-fit: cover; display: block; }
.film-frame::after { content: ""; position: absolute; inset: 0; background: radial-gradient(ellipse at 50% 60%, transparent 40%, rgba(0,0,0,.55)); pointer-events: none; }
.film-play { position: absolute; z-index: 2; left: 50%; bottom: clamp(18px, 4vw, 44px); transform: translateX(-50%); display: inline-flex; align-items: center; gap: 12px;
  min-height: 52px; padding: 0 24px 0 8px; border: 0; border-radius: 999px; background: rgba(245,245,247,.14); color: #f5f5f7;
  -webkit-backdrop-filter: blur(18px) saturate(1.4); backdrop-filter: blur(18px) saturate(1.4); font: inherit; font-size: 17px; font-weight: 600; cursor: pointer; transition: background .25s; }
.film-play { white-space: nowrap; }
.film-play:hover { background: rgba(245,245,247,.24); }
.film-play-ic { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: #9fcc3b; color: #0b1102; }
.film-play-ic svg { width: 14px; height: 14px; margin-left: 2px; }
.film-len { color: #a1a1a6; font-weight: 500; margin-left: 4px; }
.film-dlg { width: 100vw; height: 100svh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: #000; color: #f5f5f7; }
.film-dlg::backdrop { background: #000; }
.film-dlg[open] { display: grid; place-items: center; animation: film-in .35s ease-out; }
@keyframes film-in { from { opacity: 0; } to { opacity: 1; } }
.film-full { width: min(100vw, 177.78svh); height: auto; aspect-ratio: 16 / 9; background: #000; display: block; }
.film-close { position: fixed; z-index: 2; top: max(16px, env(safe-area-inset-top, 0px)); right: max(16px, env(safe-area-inset-right, 0px)); width: 44px; height: 44px;
  display: grid; place-items: center; border: 0; border-radius: 50%; background: rgba(245,245,247,.16); color: #f5f5f7; cursor: pointer; }
.film-close svg { width: 16px; height: 16px; }
.film-close:hover { background: rgba(245,245,247,.28); }
@media (max-width: 734px) {
  .film-play { min-height: 46px; font-size: 15px; padding-right: 18px; }
  .film-play-ic { width: 32px; height: 32px; }
}

/* ---------------------------------------------------------------- scan becomes a 3D model (always a dark "screen") */
.scan-model { display: grid; grid-template-columns: 1.1fr 1fr 1fr; gap: clamp(16px, 3vw, 40px); align-items: center; margin-top: clamp(48px, 6vw, 80px);
  padding: clamp(28px, 4vw, 56px); border-radius: var(--r-lg); color: #f5f5f7;
  background: radial-gradient(60% 80% at 72% 60%, rgba(159,204,59,.16), transparent 70%), #050505; }
.scan-model .eyebrow { color: #b5dc5c; }
.scan-model .h3 { color: #f5f5f7; }
.scan-model .sm-copy p:not(.eyebrow) { color: #a1a1a6; margin: 12px 0 0; }
.sm-fig { margin: 0; text-align: center; align-self: stretch; display: flex; flex-direction: column; justify-content: flex-end; }
.sm-fig img { width: 100%; height: clamp(220px, 30vw, 400px); object-fit: contain; filter: drop-shadow(0 0 18px rgba(159,204,59,.25)); }
.sm-fig figcaption { font-size: 14px; color: #86868b; margin-top: 10px; }
@media (max-width: 834px) {
  .scan-model { grid-template-columns: 1fr 1fr; }
  .scan-model .sm-copy { grid-column: 1 / -1; }
}
/* ---------------------------------------------------------------- swap in, step out */
.swap { display: grid; grid-template-columns: 1.35fr 1fr; gap: clamp(24px, 4vw, 64px); align-items: center; margin-top: clamp(56px, 7vw, 96px); }
.swap-ph { border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 3 / 2; background: var(--tile); }
.swap-ph img { width: 100%; height: 100%; object-fit: cover; display: block; }
.swap-copy p:not(.eyebrow) { color: var(--fg-2); margin: 12px 0 0; }
@media (max-width: 834px) { .swap { grid-template-columns: 1fr; } }

/* ---------------------------------------------------------------- builder: full screen preview */
.sv-full { position: absolute; top: 14px; right: 14px; z-index: 3; display: inline-flex; align-items: center; gap: 8px; min-height: 36px; padding: 0 14px 0 11px;
  border: 0; border-radius: 999px; background: var(--glass); color: var(--fg); box-shadow: 0 0 0 1px var(--rule);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); font: inherit; font-size: 14px; font-weight: 520; cursor: pointer; }
.sv-full svg { width: 15px; height: 15px; }
.sv-full .ic-close, .studio-view.is-full .sv-full .ic-open { display: none; }
.studio-view.is-full .sv-full .ic-close { display: block; }
.sv-cap { display: none; }
.studio-view.is-full { position: fixed; inset: 0; z-index: 200; height: 100svh; min-height: 0; margin: 0; border-radius: 0;
  background: radial-gradient(90% 75% at 50% 42%, var(--tile-2), var(--bg) 78%); }
.studio-view.is-full .sv-full { top: max(18px, env(safe-area-inset-top, 0px)); right: max(18px, env(safe-area-inset-right, 0px)); }
.studio-view.is-full .sv-tools { bottom: max(26px, env(safe-area-inset-bottom, 0px)); }
.studio-view.is-full .sv-hint { display: block; top: auto; bottom: max(80px, calc(env(safe-area-inset-bottom, 0px) + 60px)); }
.studio-view.is-full .sv-cap { display: flex; flex-direction: column; gap: 2px; position: absolute; top: max(18px, env(safe-area-inset-top, 0px)); left: max(22px, env(safe-area-inset-left, 0px));
  max-width: min(60vw, 520px); pointer-events: none; }
.sv-cap b { font-size: clamp(19px, 1.6vw, 24px); font-weight: 650; letter-spacing: -.02em; }
.sv-cap span { color: var(--fg-2); font-size: 14px; }
.sv-cap span:last-child { color: var(--fg); font-weight: 600; font-size: 16px; margin-top: 2px; }
html.sv-locked, html.sv-locked body { overflow: hidden; }
@media (max-width: 900px) {
  .sv-full { top: 10px; right: 10px; padding: 0 10px; }
  .sv-full-txt { display: none; }
  .studio-view.is-full .sv-full-txt { display: inline; }
  .studio-view.is-full { margin-inline: 0; }
}
