/* S1 page, final candidate: additions to ../draft.css for the variants of each section (final.js) and the variant bar.
   Same tokens as the page: black and paper, Schibsted, Azeret for small labels, the neon accent only for the choice code. */

/* ---- shared: crossfading stage (modular/shared/data.js Stage; isolated, so its layers' z-index stay inside it) */
.stage { position: relative; overflow: hidden; isolation: isolate; }
.stage img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; transition: opacity 0.6s var(--ease); }
.stage img.out { opacity: 0; }
/* a box with the image's aspect ratio, as large as its container allows; the soft edges fall on the image's own edges */
.fitbox { container-type: size; display: grid; place-items: center; min-width: 0; min-height: 0; }
.fit { position: relative; width: min(100cqw, calc(100cqh * var(--ar))); aspect-ratio: var(--ar); }
.fit > img, .fit > canvas, .fit > .stage { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.fit > img { object-fit: contain; }
.soft-edges {
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 9%, #000 91%, transparent 100%), linear-gradient(0deg, transparent 0, #000 9%, #000 93%, transparent 100%);
  -webkit-mask-composite: source-in;
  mask-image: linear-gradient(90deg, transparent 0, #000 9%, #000 91%, transparent 100%), linear-gradient(0deg, transparent 0, #000 9%, #000 93%, transparent 100%);
  mask-composite: intersect;
}
[data-slot] { scroll-margin-top: 64px; }

/* ---- hero B / C / D: one screen, image behind or beside the copy */
.hero-still { position: relative; min-height: max(620px, calc(100svh - 64px)); background: #000; overflow: hidden; display: flex; align-items: center; }
.hs-media { position: absolute; inset: 0; }
.hs-fit, .hs-media > img { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.hs-media img, .hero-still .hs-fit.stage img { width: 100%; height: 100%; object-fit: cover; object-position: 61% 50%; }
.hero-still .hs-fit.stage img { transition-duration: 1.1s; }
.hs-inner { position: relative; z-index: 2; width: 100%; max-width: 1440px; margin: auto; padding: 40px var(--gutter) 110px; }
.hero-still .hero-copy { max-width: 44%; padding-bottom: 0; }
.hero-still h1 { font-size: clamp(64px, 6.5vw, 98px); line-height: 1.035; letter-spacing: -0.065em; }
.hero-still h1 span { white-space: nowrap; }
.hs-shown { position: absolute; z-index: 2; right: var(--gutter); bottom: 34px; font: 11px Azeret, monospace; color: #77777e; }
.hero-still.is-photo .hs-media { left: 36%; }
.hero-still.is-photo .hs-media img { object-position: 50% 50%;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 24%); mask-image: linear-gradient(90deg, transparent 0, #000 24%); }
.hero-still.is-photo .hs-shown { color: #9c9ca3; text-shadow: 0 1px 10px #000; }
.hs-dots { position: absolute; z-index: 3; left: 50%; bottom: 26px; transform: translateX(-50%); display: flex; gap: 2px; }
.hs-dots button { width: 30px; height: 30px; display: grid; place-items: center; background: none; padding: 0; }
.hs-dots i { width: 20px; height: 2px; border-radius: 2px; background: #3a3a3f; transition: background 0.3s; }
.hs-dots button[aria-current] i { background: #f5f5f7; }
@media (min-width: 1600px) { .hero-still h1 { font-size: 104px; } }

/* ---- bodies A: the /draft/ scroll scene, eight bodies, true-scale studio images */
.bodies-story.fx-eight { height: 640svh; }
.fx-eight .bodies-copy h2 { font-size: clamp(54px, 5.2vw, 82px); }
.fx-eight .bodies-copy .step-copy { margin-top: 18px; }
.fx-eight .bodies-list { margin-top: 26px; }
.fx-eight .bodies-list li { padding: 8px 0; font-size: 16px; align-items: center; }
.fx-eight .bodies-list li > div { display: grid; gap: 2px; }
.fx-eight .bodies-list li small { font-size: 12px; color: #4a4a50; transition: color 0.35s; }
.fx-eight .bodies-list li.is-active small { color: #96969c; }
.fx-eight .bodies-note { margin-top: 16px; }
.bodies-frame > .fitbox { position: absolute; inset: 0; }

/* ---- bodies B: light lineup at one scale */
.bodies-line { background: var(--paper); color: var(--ink); padding: 120px 0 84px; }
.bl-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 40px; margin-bottom: 26px; }
.bl-kicker { font-size: 20px; color: #6c6c72; margin-bottom: 18px; letter-spacing: -0.3px; }
.bodies-line h2 { font-size: clamp(54px, 5.6vw, 88px); line-height: 1.02; letter-spacing: -0.06em; }
.bl-side { max-width: 400px; display: grid; gap: 22px; justify-items: start; padding-bottom: 6px; }
.bl-side p { font-size: 19px; line-height: 1.5; color: #6c6c72; letter-spacing: -0.35px; }
.bl-line { display: flex; align-items: flex-end; overflow-x: auto; scrollbar-width: none; scroll-snap-type: x mandatory; }
.bl-line::-webkit-scrollbar { display: none; }
.bl-line figure { flex: 0 0 auto; width: calc(100% / 5.06); scroll-snap-align: center; position: relative; }
.bl-line figure + figure { margin-left: calc(-0.42 * 100% / 5.06); }
.bl-line .stage { aspect-ratio: 5 / 6; }
.bl-line figcaption { text-align: center; margin-top: -3%; padding: 0 12%; }
.bl-line figcaption b { display: block; font-weight: 500; font-size: 14px; line-height: 1.25; }
.bl-line figcaption span { font: 11px Azeret, monospace; color: #85858a; }
.bl-note { font-size: 12px; line-height: 1.6; color: #86868b; margin-top: 30px; }

/* segmented control (arms, on light and on dark) */
.seg { display: inline-flex; padding: 3px; border-radius: 30px; background: #e4e4e8; }
.seg button { min-height: 36px; padding: 8px 16px; border-radius: 30px; background: transparent; font-size: 13px; color: #55555b; transition: background 0.2s, color 0.2s; }
.seg button[aria-pressed="true"] { background: #fff; color: var(--ink); box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1); }
.seg.is-dark { background: #1c1c1f; border: 1px solid #2a2a2e; }
.seg.is-dark button { color: #9c9ca3; }
.seg.is-dark button:hover { color: #fff; }
.seg.is-dark button[aria-pressed="true"] { background: #f5f5f7; color: #111113; box-shadow: none; }

/* ---- bodies C: configurator */
.bodies-config { background: #000; color: #f5f5f7; padding: 110px 0 96px; }
.bc-grid { display: grid; grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr); grid-template-areas: "title view" "controls view"; gap: 0 56px; align-items: start; }
.bc-title { grid-area: title; align-self: end; }
.bc-view { grid-area: view; align-self: center; }
.bc-controls { grid-area: controls; }
.bodies-config h2, .bodies-situ h2, .bodies-matrix h2 { font-size: clamp(54px, 5.6vw, 88px); line-height: 1.02; letter-spacing: -0.06em; }
.bodies-config .step-copy { margin-top: 18px; }
.bc-group { margin-top: 24px; }
.bc-group > p { font: 11px Azeret, monospace; color: #6e6e74; margin-bottom: 10px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { min-height: 36px; padding: 8px 14px; border-radius: 30px; border: 1px solid #2e2e32; background: transparent; color: #b7b7bc; font-size: 13px; transition: background 0.2s, color 0.2s, border-color 0.2s; }
.chip:hover { border-color: #5a5a60; color: #fff; }
.chip[aria-pressed="true"] { background: #f5f5f7; border-color: #f5f5f7; color: #111113; }
.bc-fit { height: min(calc(100svh - 170px), 820px); }
.bc-sum { text-align: center; font: 11px Azeret, monospace; color: #85858a; margin-top: 6px; }
.bodies-config .bodies-note { margin-top: 28px; }

/* ---- bodies D: in-situ photos under the scroll */
.bodies-situ { position: relative; height: 700svh; background: #000; color: #f5f5f7; }
.bs-sticky { position: sticky; top: 64px; height: calc(100svh - 64px); min-height: 560px; overflow: hidden; }
.bs-media { position: absolute; inset: 0; }
.bs-media.stage img { object-fit: cover; transition-duration: 0.9s; }
.bs-shade { position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.82) 0%, rgba(0, 0, 0, 0.32) 30%, rgba(0, 0, 0, 0) 52%), linear-gradient(90deg, rgba(0, 0, 0, 0.4) 0%, rgba(0, 0, 0, 0) 38%); }
.bs-copy { position: absolute; left: 0; right: 0; bottom: 52px; margin-inline: auto; display: flex; justify-content: space-between; align-items: flex-end; gap: 40px; }
.bs-title .step-kicker { color: rgba(245, 245, 247, 0.72); }
.bs-cap { text-align: right; max-width: 440px; }
.bs-idx { font: 11px Azeret, monospace; color: rgba(245, 245, 247, 0.6); }
.bs-cap h3 { font-size: clamp(26px, 2.6vw, 40px); line-height: 1.06; letter-spacing: -0.04em; margin-top: 8px; }
.bs-line { font-size: 14px; color: rgba(245, 245, 247, 0.75); margin-top: 8px; }
.bs-ticks { position: absolute; right: 24px; top: 50%; transform: translateY(-50%); list-style: none; margin: 0; padding: 0; display: grid; gap: 7px; }
.bs-ticks li { width: 2px; height: 18px; border-radius: 2px; background: rgba(255, 255, 255, 0.25); transition: background 0.3s; }
.bs-ticks li.is-active { background: #fff; }

/* ---- bodies E: the 88 at a glance */
.bodies-matrix { background: #000; color: #f5f5f7; padding: 110px 0 80px; }
.mx-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 40px; margin-bottom: 36px; }
.mx-head .step-copy { margin-top: 0; max-width: 420px; }
.mx-scroll { overflow-x: auto; scrollbar-width: thin; scrollbar-color: #2a2a2e transparent; }
.mx-grid { display: grid; grid-template-columns: 136px repeat(11, minmax(0, 1fr)); gap: 4px; min-width: 980px; }
.mx-arm { font-size: 13px; color: #b7b7bc; border-bottom: 1px solid #2a2a2e; padding-bottom: 8px; text-align: center; }
.mx-tool { font: 10px Azeret, monospace; color: #6e6e74; text-align: center; padding: 8px 0 6px; }
.mx-body { font-size: 13px; line-height: 1.25; color: #b7b7bc; display: flex; align-items: center; padding-right: 12px; }
.mx-t { position: relative; aspect-ratio: 5 / 6; overflow: hidden; border-radius: 10px; background: #070708; padding: 0; }
.mx-t img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.22); transform-origin: 50% 56%; transition: transform 0.4s var(--ease); }
.mx-t:hover img { transform: scale(1.32); }
.mx-t:focus-visible { outline: 2px solid #f5f5f7; outline-offset: 2px; }
.bodies-matrix .bodies-note { margin-top: 24px; max-width: none; }
.lightbox { width: min(720px, calc(100% - 32px)); max-height: calc(100svh - 32px); padding: 0; background: #000; color: #f5f5f7; border: 1px solid #27272b; border-radius: 26px; overflow: hidden; }
.lightbox::backdrop { background: #202024ad; backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px); }
.lightbox[open] { animation: dialog-in 0.35s var(--ease); }
.lightbox img { width: 100%; max-height: calc(100svh - 110px); object-fit: contain; }
.lightbox p { padding: 12px 24px 22px; font: 11px Azeret, monospace; color: #9c9ca3; text-align: center; }
.lightbox .dialog-close { position: absolute; top: 14px; right: 14px; margin: 0; float: none; }

/* ---- arms card variants */
.arms-fit { position: absolute; inset: 0; }
.arms-film .seg { position: absolute; z-index: 3; right: 25px; bottom: 44px; }
.fx-turn { cursor: grab; touch-action: pan-y; user-select: none; -webkit-user-select: none; }
.fx-turn.is-dragging { cursor: grabbing; }
.fx-turn:focus-visible { outline: 2px solid #f5f5f7; outline-offset: -2px; border-radius: 24px; }
.turn-hint { position: absolute; z-index: 2; right: 25px; bottom: 50px; font-size: 12px; color: #77777e; pointer-events: none; }
.fx-pair { display: grid; grid-template-columns: 1fr 1fr; }
.pair-cell { position: relative; display: flex; flex-direction: column; min-height: 0; }
.pair-pic { flex: 1; }
.pair-cell p { text-align: center; padding: 4px 12px 0; }
.pair-cell b { display: block; font-weight: 500; font-size: 15px; }
.pair-cell span { font-size: 12.5px; color: #85858c; }

/* ---- base cards: portraits in a fitted box, light cards, photos */
.base-card.has-portrait { height: 820px; }
.base-fit { position: absolute; left: 0; right: 0; top: 236px; bottom: 0; place-items: end center; }
.base-card.has-photo .base-image.is-photo { top: 250px; bottom: auto; height: calc(100% - 250px); object-fit: cover;
  -webkit-mask-image: linear-gradient(to bottom, transparent, #000 16%); mask-image: linear-gradient(to bottom, transparent, #000 16%); }
.feature-card.is-light { background: #fff; color: var(--ink); box-shadow: 0 0 0 1px #e2e2e6; }
.feature-card.is-light .feature-category, .feature-card.is-light .feature-description { color: #6c6c72; }
.feature-card.is-light .feature-open { background: #ececef; color: #151517; }
.feature-card.is-light .feature-open:hover { background: #151517; color: #fff; }

/* ---- tools card variants */
/* close-ups fill the card under the copy (their framing has room to crop); faded into the copy above and under the caption below */
.tool-cover { position: absolute; left: 0; right: 0; top: 214px; bottom: 0;
  -webkit-mask-image: linear-gradient(to bottom, transparent, #000 20%, #000 78%, rgba(0, 0, 0, 0.4));
  mask-image: linear-gradient(to bottom, transparent, #000 20%, #000 78%, rgba(0, 0, 0, 0.4)); }
.tool-cover > img, .tool-cover > .stage { position: absolute; inset: 0; width: 100%; height: 100%; }
.tool-cover img, .tool-cover .stage img { object-fit: cover; object-position: 50% 50%; }
.tool-cap { position: absolute; z-index: 3; left: 44px; bottom: 32px; display: grid; gap: 4px; font-size: 15px; pointer-events: none; }
.tool-cap span { font: 11px Azeret, monospace; color: #77777e; }
.tool-cap b { font-weight: 500; }
.tool-dots { position: absolute; z-index: 3; left: 50%; bottom: 30px; transform: translateX(-50%); display: flex; }
.tool-dots button { width: 20px; height: 28px; display: grid; place-items: center; background: none; padding: 0; }
.tool-dots i { width: 12px; height: 2px; border-radius: 2px; background: #3a3a3f; transition: background 0.3s; }
.tool-dots button[aria-current] i { background: #f5f5f7; }
.tools-card.is-light .tool-dots i { background: #d6d6db; }
.tools-card.is-light .tool-dots button[aria-current] i { background: #151517; }
.tools-card.is-light .tool-cap span { color: #85858a; }

/* ---- on site (between the features and the contact section) */
#field { background: #000; color: #f5f5f7; }
.fs-intro { padding: 120px 0 56px; }
.fs-intro h2, .fg-head h2, .fc-head h2 { font-size: clamp(44px, 4.4vw, 66px); line-height: 1.04; letter-spacing: -0.055em; }
.fs-scene { position: relative; height: calc(100svh - 64px); min-height: 560px; overflow: hidden; display: flex; align-items: flex-end; }
.fs-scene img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.fs-scene::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0.3) 30%, rgba(0, 0, 0, 0) 52%); }
.fs-cap { position: relative; z-index: 2; padding-bottom: 56px; }
.fs-idx { font: 11px Azeret, monospace; color: rgba(245, 245, 247, 0.6); margin-bottom: 12px; }
.fs-cap h3 { font-size: clamp(34px, 4.2vw, 64px); line-height: 1; letter-spacing: -0.045em; }
.fs-cap p { font-size: 17px; line-height: 1.5; color: rgba(245, 245, 247, 0.8); max-width: 32em; margin-top: 14px; }
.fs-cap small { display: block; font: 11px Azeret, monospace; color: rgba(245, 245, 247, 0.55); margin-top: 14px; }
.field-gallery, .field-carousel { padding: 120px 0 30px; }
.fg-head, .fc-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 40px; margin-bottom: 36px; }
.fg-head p { font-size: 19px; line-height: 1.5; color: #96969c; max-width: 380px; }
.fg-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.fg-grid figure { position: relative; aspect-ratio: 3 / 2; border-radius: var(--radius); overflow: hidden; background: #111; }
.fg-grid img { width: 100%; height: 100%; object-fit: cover; }
.fg-grid figcaption { position: absolute; left: 26px; right: 26px; bottom: 22px; font-size: 16px; text-shadow: 0 1px 14px rgba(0, 0, 0, 0.75); }
.fg-grid figcaption span { display: block; font: 11px Azeret, monospace; color: rgba(255, 255, 255, 0.75); margin-top: 4px; }
.fc-nav { display: flex; gap: 10px; }
.fc-nav button { width: 44px; height: 44px; border-radius: 50%; background: #1c1c1f; color: #e8e8ed; display: grid; place-items: center; transition: background 0.2s, color 0.2s; }
.fc-nav button:hover { background: #fff; color: #000; }
.fc-nav svg { width: 16px; height: 16px; }
.fc-track { --edge: max(var(--gutter), calc((100% - 1320px) / 2)); display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding: 0 var(--edge); scroll-padding-inline: var(--edge); }
.fc-track::-webkit-scrollbar { display: none; }
.fc-track figure { flex: 0 0 min(560px, 80vw); scroll-snap-align: start; }
.fc-track img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: 22px; background: #111; }
.fc-track figcaption { font: 11px Azeret, monospace; color: #85858a; margin-top: 10px; }

/* ---- the feature dialog: the image box takes the image's shape (its masked edges are the image's); photos fill it */
.dialog-media { display: grid; place-items: center; }
.dialog-media img { width: auto; max-width: 100%; height: 100%; }
.dialog-media.is-cover img { width: 100%; object-fit: cover; -webkit-mask-image: none; mask-image: none; }

/* ---- variant bar (review tool), and room for it under the full-screen sections */
:root { --vx-h: 84px; }
.vx { position: fixed; z-index: 60; left: 50%; bottom: 14px; transform: translateX(-50%); width: max-content; max-width: calc(100% - 24px);
  display: flex; align-items: center; gap: 10px; padding: 8px 8px 8px 14px; background: #101012; color: #e8e8ed;
  border: 1px solid #2c2c30; border-radius: 16px; box-shadow: 0 14px 44px rgba(0, 0, 0, 0.4); font-size: 13px; }
.vx[hidden], .vx-pill[hidden] { display: none; }
.vx-field { display: flex; align-items: center; gap: 8px; min-width: 0; }
.vx-field span { font: 10.5px Azeret, monospace; color: #77777e; }
.vx select { -webkit-appearance: none; appearance: none; height: 32px; max-width: 100%; padding: 0 28px 0 10px; border-radius: 9px; border: 1px solid #2c2c30; color: #f5f5f7; font: inherit; font-size: 12.5px; cursor: pointer;
  background: #1b1b1e url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 6l4 4 4-4' fill='none' stroke='%239c9ca3' stroke-width='1.6'/%3E%3C/svg%3E") no-repeat right 8px center / 12px; }
.vx-chips { display: flex; gap: 4px; }
.vx-chips button, .vx-copy, .vx-icon { height: 32px; border-radius: 9px; border: 1px solid #2c2c30; background: #1b1b1e; color: #c7c7cc; transition: background 0.15s, color 0.15s, border-color 0.15s; }
.vx-chips button { width: 32px; font-size: 13px; font-weight: 500; }
.vx-chips button:hover, .vx-copy:hover, .vx-icon:hover { border-color: #55555c; color: #fff; }
.vx-chips button[aria-pressed="true"] { background: #f5f5f7; border-color: #f5f5f7; color: #111113; }
.vx-name { font-size: 12.5px; color: #b7b7bc; width: 19em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.vx-extra { display: flex; align-items: center; gap: 10px; }
.vx-copy { padding: 0 12px; font-size: 12.5px; white-space: nowrap; }
.vx-copy b, .vx-pill b { font: 12px Azeret, monospace; color: var(--neon); margin-left: 4px; }
.vx-icon { width: 32px; display: grid; place-items: center; background: transparent; border-color: transparent; color: #9c9ca3; }
.vx-icon svg { width: 14px; height: 14px; }
.vx-toggle { display: none; }
.vx-pill { position: fixed; z-index: 60; right: 14px; bottom: 14px; height: 38px; padding: 0 14px; border-radius: 19px; border: 1px solid #2c2c30; background: #101012; color: #e8e8ed; font-size: 12.5px; box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35); }
.vx :focus-visible, .vx-pill:focus-visible { outline: 2px solid #f5f5f7; outline-offset: 2px; }
.vx-on .hs-shown, .vx-on .hs-dots, .vx-on .hero-still .hero-scroll { bottom: calc(26px + var(--vx-h)); }
.vx-on .core-sticky .scroll-cue { bottom: calc(18px + var(--vx-h)); }
.vx-on .bs-copy { bottom: calc(40px + var(--vx-h)); }
.vx-on .fx-eight .bodies-inner { padding-bottom: var(--vx-h); }
.vx-on .fs-cap { padding-bottom: calc(40px + var(--vx-h)); }

/* ---- core-aligned swap (final.js CoreSwap): one canvas, the shared core drawn still and each body added on top */
.cs { position: relative; overflow: hidden; background: #000; }
.cs-canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.bodies-frame > .cs-host { position: absolute; inset: 0; }

/* ---- build your own */
.build-section { background: #000; color: #f5f5f7; padding: 130px 0 110px; scroll-margin-top: 64px; }
.bd-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 40px; margin-bottom: 44px; }
.build-section h2 { font-size: clamp(54px, 5.6vw, 88px); line-height: 1.02; letter-spacing: -0.06em; }
.bd-lede { font-size: 19px; line-height: 1.5; color: #96969c; max-width: 420px; letter-spacing: -0.3px; padding-bottom: 6px; }
.bd-grid { display: grid; grid-template-columns: minmax(0, 1.04fr) minmax(0, 0.96fr); gap: 48px; align-items: start; }
.bd-view { position: sticky; top: 88px; }
.bd-frame { height: min(calc(100svh - 170px), 780px); border-radius: var(--radius); }
.bd-caption { text-align: center; font: 11px Azeret, monospace; color: #85858a; margin-top: 8px; }
.bd-step { padding: 22px 0; border-top: 1px solid #1f1f22; }
.bd-step:first-child { border-top: 0; padding-top: 4px; }
.bd-label { display: flex; align-items: center; gap: 10px; font-size: 15px; color: #b7b7bc; margin-bottom: 14px; }
.bd-label span { width: 22px; height: 22px; border-radius: 50%; border: 1px solid #3a3a3f; display: grid; place-items: center; font: 11px Azeret, monospace; color: #b7b7bc; }
.bd-step .chip[aria-pressed="true"] { background: #f5f5f7; border-color: #f5f5f7; color: #111113; }
.bd-tiles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.bd-tile { padding: 0; border-radius: 14px; overflow: hidden; background: #0b0b0c; border: 1px solid #1f1f22; text-align: left; transition: border-color 0.2s; }
.bd-tile:hover { border-color: #4a4a50; }
.bd-tile img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.bd-bodies .bd-tile img { object-position: 50% 70%; transform: scale(1.12); }
.bd-tile span { display: block; padding: 8px 10px 10px; font-size: 12px; line-height: 1.25; color: #9c9ca3; }
.bd-tile[aria-pressed="true"] { border-color: #f5f5f7; }
.bd-tile[aria-pressed="true"] span { color: #fff; }
.bd-arms { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.bd-opt { text-align: left; padding: 14px 16px; border-radius: 14px; border: 1px solid #2a2a2e; background: transparent; transition: border-color 0.2s, background 0.2s; }
.bd-opt:hover { border-color: #4a4a50; }
.bd-opt b { display: block; font-weight: 500; font-size: 15px; color: #f5f5f7; margin-bottom: 3px; }
.bd-opt span { font-size: 12.5px; line-height: 1.4; color: #85858c; }
.bd-opt[aria-pressed="true"] { border-color: #f5f5f7; background: #111113; }
.bd-summary { margin-top: 8px; padding: 24px; border-radius: 22px; background: #0e0e10; border: 1px solid #1f1f22; }
.bd-sum-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.bd-sum-head p { font: 11px Azeret, monospace; color: #85858a; }
.bd-badge { font-size: 11.5px; padding: 4px 10px; border-radius: 20px; border: 1px solid #3a3a3f; color: #b7b7bc; }
.bd-badge.is-built { border-color: var(--neon); color: var(--neon); }
/* availability (user, 2026-11-19): pre-order, or coming soon: a blurred stand-in (blur_soon.py), never clickable */
.avail { display: inline-block; width: max-content; font-size: 11px; line-height: 1; padding: 4px 8px; border-radius: 20px; border: 1px solid #3a3a3f; color: #b7b7bc; font-weight: 400; }
.avail.is-pre { border-color: var(--neon); color: var(--neon); }
.bd-tile .avail { display: block; margin-top: 6px; font-size: 10.5px; padding: 3px 7px; }
.bd-tile:disabled { cursor: default; }
.bd-tile:disabled:hover { border-color: #1f1f22; }
.bd-bodies .bd-tile:disabled img { transform: none; }
.base-card .feature-copy .avail { margin: 0 0 14px; }
.bd-name { font-size: clamp(20px, 1.8vw, 26px); line-height: 1.2; letter-spacing: -0.02em; margin-top: 10px; }
.bd-spec { margin: 16px 0 0; display: grid; gap: 10px; }
.bd-spec div { display: grid; grid-template-columns: 56px 1fr; gap: 12px; padding-top: 10px; border-top: 1px solid #1f1f22; }
.bd-spec dt { font: 11px Azeret, monospace; color: #6e6e74; padding-top: 2px; }
.bd-spec dd { margin: 0; font-size: 14px; line-height: 1.45; color: #b7b7bc; }
.bd-actions { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-top: 22px; }
.bd-actions .contact-button { margin-top: 0; }
.bd-ghost { min-height: 48px; padding: 0 18px; border-radius: 30px; border: 1px solid #3a3a3f; background: transparent; font-size: 14px; color: #e8e8ed; transition: border-color 0.2s; }
.bd-ghost:hover { border-color: #8e8e95; }
.bd-ghost[hidden] { display: none; }

.product-nav-links a[hidden] { display: none; }          /* a link to a section the page does not show */

/* ---- tablet and phone */
@media (max-width: 1240px) {
  .vx-name { width: 13em; }
}
@media (max-width: 1100px) {
  .hero-still .hero-copy { max-width: 48%; }
  .bc-grid { gap: 0 32px; }
  .vx { flex-wrap: wrap; }
}
@media (max-width: 760px) {
  :root { --vx-h: 92px; }
  /* a definite height: with only a min-height, Chrome resolves the image box's container height (cqh) to 0 and the portrait vanishes */
  .hero-still { flex-direction: column; align-items: stretch; height: max(calc(100svh - 60px), 700px); min-height: 0; }
  .hs-inner { order: 1; padding: 26px var(--gutter) 0; text-align: center; }
  .hero-still .hero-copy { max-width: none; }
  .hero-still h1 { font-size: clamp(44px, 12vw, 64px); }
  .hero-still .hero-description { margin: 16px auto 0; font-size: 16px; max-width: 320px; }
  .hero-still .hero-product { font-size: 17px; margin-bottom: 14px; }
  .hero-still .text-explore { margin-top: 14px; }
  /* the portrait renders in a box of their own shape, edges faded into the black */
  .hs-media { position: relative; order: 2; flex: 1; min-height: 260px; inset: auto; container-type: size; display: grid; place-items: end center; }
  .hs-fit { position: relative; inset: auto; width: min(100cqw, calc(100cqh * 0.8)); height: auto; aspect-ratio: 0.8;
    -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 9%, #000 91%, transparent 100%), linear-gradient(0deg, transparent 0, #000 9%, #000 93%, transparent 100%);
    -webkit-mask-composite: source-in;
    mask-image: linear-gradient(90deg, transparent 0, #000 9%, #000 91%, transparent 100%), linear-gradient(0deg, transparent 0, #000 9%, #000 93%, transparent 100%);
    mask-composite: intersect; }
  .hs-fit img, .hero-still .hs-fit.stage img { object-fit: cover; object-position: 50% 50%; }
  .hero-still.is-photo .hs-media { left: auto; margin: 16px var(--gutter) 0; border-radius: 22px; overflow: hidden; }
  .hero-still.is-photo .hs-media img { object-fit: cover; object-position: 50% 50%; -webkit-mask-image: none; mask-image: none; }
  .hs-shown, .vx-on .hs-shown { position: static; order: 3; text-align: center; padding: 10px var(--gutter) 16px; }
  .hs-dots, .vx-on .hs-dots { position: static; order: 4; transform: none; justify-content: center; margin-bottom: 12px; }
  .vx-on .hero-still { padding-bottom: var(--vx-h); }
  .hero-still .hero-scroll { display: none; }

  .bodies-frame { position: relative; min-height: 300px; }
  .fx-eight .bodies-list li > div { justify-items: center; }

  .bodies-line { padding: 76px 0 60px; }
  .bl-head { flex-direction: column; align-items: flex-start; gap: 18px; }
  .bodies-line h2, .bodies-config h2, .bodies-situ h2, .bodies-matrix h2 { font-size: clamp(42px, 11vw, 56px); }
  .bl-side p { font-size: 16px; }
  .bl-line { margin-inline: calc(-1 * var(--gutter)); padding-inline: var(--gutter); }
  .bl-line figure { width: 58vw; }
  .bl-line figure + figure { margin-left: -18vw; }

  .bodies-config { padding: 64px 0 60px; }
  .bc-grid { display: flex; flex-direction: column; }
  .bc-view { position: sticky; top: 60px; z-index: 2; background: #000; margin: 16px calc(-1 * var(--gutter)) 0; padding: 0 var(--gutter) 6px; }
  .bc-fit { height: 44svh; }
  .chip { min-height: 40px; }

  /* a 3:2 photo cropped to a tall screen is enlarged three times: the photo takes the top, the copy sits under it */
  .bs-media { inset: 0 0 auto 0; height: 54%; }
  .bs-shade { inset: 0 0 auto 0; height: 54%; background: linear-gradient(0deg, #000 0%, rgba(0, 0, 0, 0) 26%); }
  .bs-copy, .vx-on .bs-copy { top: calc(54% + 8px); bottom: auto; flex-direction: column; align-items: flex-start; gap: 12px; }
  .bs-title .step-kicker { display: none; }
  .bs-cap { text-align: left; }
  .bs-cap h3 { margin-top: 4px; }
  .bs-ticks { right: 10px; top: 27%; }

  .fs-scene { height: auto; min-height: 0; display: block; }
  .fs-scene img { position: relative; height: auto; aspect-ratio: 4 / 5; }
  .fs-scene::after { display: none; }
  .fs-cap, .vx-on .fs-cap { padding: 18px 0 44px; }

  .bodies-matrix { padding: 64px 0 50px; }
  .mx-head { flex-direction: column; align-items: flex-start; gap: 16px; }
  .mx-scroll { margin-inline: calc(-1 * var(--gutter)); padding-inline: var(--gutter); }

  .arms-film .seg { right: auto; left: 50%; transform: translateX(-50%); bottom: 2px; }
  .turn-hint { bottom: 6px; right: 26px; }
  .pair-cell b { font-size: 14px; }
  .pair-cell span { font-size: 11.5px; }

  .base-card.has-portrait { height: 760px; }
  .base-fit { top: 250px; }
  .base-card.has-photo .base-image.is-photo { top: 250px; height: calc(100% - 250px); }
  .tool-cap { left: 32px; bottom: 26px; }
  .tool-dots { left: 26px; transform: none; bottom: 78px; }
  .tool-cover { top: 214px; }

  .fs-intro { padding: 76px 0 40px; }
  .fs-cap p { font-size: 15px; }
  .field-gallery, .field-carousel { padding: 76px 0 20px; }
  .fg-head { flex-direction: column; align-items: flex-start; gap: 14px; }
  .fg-head p { font-size: 16px; }
  .fg-grid { grid-template-columns: 1fr; }
  .fg-grid figure { border-radius: 22px; }

  .build-section { padding: 76px 0 60px; }
  .bd-head { flex-direction: column; align-items: flex-start; gap: 14px; margin-bottom: 20px; }
  .build-section h2 { font-size: clamp(42px, 11vw, 56px); }
  .bd-lede { font-size: 16px; }
  .bd-grid { display: block; }
  .bd-view { position: sticky; top: 60px; z-index: 3; background: #000; margin: 0 calc(-1 * var(--gutter)); padding: 0 var(--gutter) 6px; }
  .bd-frame { height: 40svh; }
  .bd-controls { padding-top: 18px; }
  .bd-tiles { gap: 6px; }
  .bd-tile span { font-size: 11px; padding: 6px 7px 8px; }
  .bd-opt { padding: 12px; }
  .bd-summary { padding: 20px; }
  .bd-actions .contact-button, .bd-ghost { flex: 1 1 auto; justify-content: center; }
  /* room for "Build" next to "Bodies"; without the bodies section, "Mobility" fits again */
  .product-nav-links:has(a[href="#bodies"]:not([hidden])):has(a[href="#build"]) a[href="#mobility"] { display: none; }

  .vx { left: 10px; right: 10px; bottom: 10px; transform: none; width: auto; max-width: none; flex-wrap: wrap; gap: 6px; padding: 8px; border-radius: 14px; }
  .vx-sec { flex: 1; }
  .vx-sec span { display: none; }
  .vx-sec select { width: 100%; }
  .vx-toggle { display: grid; }
  .vx-name { order: 5; width: 100%; flex-basis: 100%; font-size: 11.5px; padding: 0 2px; }
  .vx-extra { display: none; order: 6; flex-basis: 100%; gap: 6px; }
  .vx.is-open .vx-extra { display: flex; }
  .vx-extra .vx-field { flex: 1; }
  .vx-extra .vx-field span { display: none; }
  .vx-extra select { width: 100%; }
}
@media (max-width: 420px) {
  .base-card.has-portrait { height: 690px; }
  .base-fit { top: 236px; }
}
@media (prefers-reduced-motion: reduce) {
  .stage img { transition: none; }
}
