/* Main page: final polish over the section styles. */
#closing .clx-closing__img { width: auto; max-width: 100%; max-height: min(70vh, 560px); margin-inline: auto; border-radius: var(--radius); object-fit: cover; }

#build .bx-plate-label { top: 5%; bottom: auto; width: auto; max-width: 44%; text-align: right; }

#plates .clx-price { float: right; font: 600 20px/1 var(--f-display); margin-top: -4px; color: var(--paper-ink); letter-spacing: -.035em; }

/* Up close: three macro renders on charcoal. */
#closeup .cux__head { margin-bottom: clamp(28px, 4vw, 48px); }
#closeup .cux__grid { display: grid; gap: 18px; }
#closeup .cux__fig { margin: 0; display: grid; gap: 14px; align-content: start; }
#closeup .cux__fig img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: var(--radius); box-shadow: 0 0 0 1px rgba(255, 216, 163, .08), 0 30px 60px -30px rgba(0, 0, 0, .8); }
#closeup figcaption { color: var(--mute); font-size: 15px; line-height: 1.5; max-width: 34em; }
#closeup figcaption .t-mono { display: block; margin-bottom: 4px; color: rgba(255, 216, 163, .8); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; }
@media (min-width: 900px) {
  #closeup .cux__grid { grid-template-columns: 2fr 1fr; grid-template-rows: auto auto; gap: 22px 28px; }
  #closeup .cux__fig--big { grid-row: 1 / span 2; }
  #closeup .cux__fig--big img { aspect-ratio: auto; height: 100%; min-height: 460px; }
}
.clx-tile--light .clx-tile__name, .clx-tile--light .clx-tile__note { color: #16171a; text-shadow: none; }

#everyday .clx-everyday__fig { background: var(--char); }

/* Light finishes keep their colour: a pale wash for the label instead of the dark one. 12 tiles sit as two rows of six. */
.clx-tile--light::after { background: linear-gradient(to top, rgba(243, 241, 236, .55), transparent); }
.clx-tile--light .clx-tile__note { color: rgba(22, 23, 26, .62); }
@media (min-width: 1100px) { #finishes .clx-tiles { grid-template-columns: repeat(6, minmax(0, 1fr)); } }

/* Light concept renders fade into the dark rail. */
#plates .clx-card img { -webkit-mask-image: radial-gradient(115% 95% at 50% 42%, #000 52%, transparent 100%); mask-image: radial-gradient(115% 95% at 50% 42%, #000 52%, transparent 100%); background: transparent; filter: brightness(.9); }
#plates .clx-price { color: var(--beam-hot); }

/* Builder on dark: selected borders and labels flip to light; the preview stage is a dark studio. */
#build { --paper-ink: var(--bone); }
#build .bx-stage { background: radial-gradient(80% 70% at 50% 35%, #1d1e22, #0d0e10); }
#build .bx-tile, #build .bx-swatch, #build .bx-sb { border-color: rgba(255, 216, 163, .14); }
#closing .clx-closing__img { -webkit-mask-image: radial-gradient(90% 85% at 50% 45%, #000 55%, transparent 100%); mask-image: radial-gradient(90% 85% at 50% 45%, #000 55%, transparent 100%); }

#plates .clx-card img { -webkit-mask-image: radial-gradient(100% 85% at 50% 45%, #000 40%, transparent 96%); mask-image: radial-gradient(100% 85% at 50% 45%, #000 40%, transparent 96%); filter: brightness(.8) contrast(1.06); }


/* At a glance: show, don't tell. Four close-ups, each with a small label and one line. */
#points.shw-sec { padding-block: clamp(48px, 7vw, 96px); }
#points .shw-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 14px; }
#points .shw__fig { margin: 0 0 12px; aspect-ratio: 4 / 3; border-radius: 14px; overflow: hidden; background: #0d0e10; box-shadow: 0 0 0 1px rgba(255, 216, 163, .08); }
#points .shw__fig img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.08); transition: transform 1.4s var(--ease-out); }
#points .shw.is-in .shw__fig img { transform: none; }
#points .shw:hover .shw__fig img { transform: scale(1.03); }
#points .shw__lab { margin: 0 0 4px; font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: rgba(255, 216, 163, .8); }
#points .shw__line { margin: 0; font-size: 15px; line-height: 1.45; color: var(--mute); }
@media (min-width: 900px) { #points .shw-list { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; } }
@media (prefers-reduced-motion: reduce) { #points .shw__fig img { transform: none; } }
/* Candela: the lead section after the hero. The peak grows up from the baseline when it comes into view. */
#candela .cdx { display: grid; gap: 36px; align-items: center; }
#candela .cdx__pts { list-style: none; margin: 22px 0 0; padding: 0; display: grid; gap: 14px; }
#candela .cdx__pts li { color: var(--mute-dark); font-size: 16px; line-height: 1.5; padding-left: 18px; border-left: 2px solid rgba(255, 216, 163, .35); }
#candela .cdx__pts b { display: block; color: var(--bone); font-weight: 600; }
#candela .cdx__note { margin-top: 18px; }
#candela .cdx__fig { margin: 0; padding: 18px; border-radius: var(--radius); background: radial-gradient(70% 80% at 50% 20%, rgba(255, 216, 163, .08), transparent 70%), #0b0c0e; box-shadow: 0 0 0 1px rgba(255, 216, 163, .08); }
#candela svg { width: 100%; height: auto; overflow: visible; }
#candela .cdx__peak { transform-box: view-box; transform-origin: 290px 330px; transform: scaleY(.18); opacity: .4; transition: transform 1.4s var(--ease-spring), opacity .8s var(--ease-out); transition-delay: .25s; }
#candela .cdx__wide { opacity: .5; transition: opacity .8s var(--ease-out); }
#candela .cdx__fig.is-in .cdx__peak { transform: none; opacity: 1; }
#candela .cdx__fig.is-in .cdx__wide { opacity: 1; }
@media (min-width: 900px) { #candela .cdx { grid-template-columns: 1fr 1.1fr; gap: 56px; } }
@media (prefers-reduced-motion: reduce) { #candela .cdx__peak { transform: none; opacity: 1; } }

/* In real life: a swipeable strip of in-use and detail shots. */
#life { overflow-x: clip; }
#life .lfx { list-style: none; margin: 28px 0 0; padding: 0 var(--gutter) 10px; display: grid; grid-auto-flow: column; grid-auto-columns: min(82%, 520px); gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
#life .lfx::-webkit-scrollbar { display: none; }
#life .lfx__card { scroll-snap-align: start; }
#life figure { margin: 0; }
#life img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius); background: #0b0c0e; box-shadow: 0 0 0 1px rgba(255, 216, 163, .08); }
#life figcaption { margin-top: 10px; color: var(--mute-dark); font-size: 15px; line-height: 1.45; }
#life figcaption b { display: block; color: var(--bone); font-weight: 600; }
@media (min-width: 1300px) { #life .lfx { padding-left: calc((100vw - var(--maxw)) / 2); } }
#life .lfx { scroll-padding-inline: var(--gutter); }
@media (min-width: 1300px) { #life .lfx { scroll-padding-inline-start: calc((100vw - var(--maxw)) / 2); } }


/* v3.29: feature checklist, tech plate teaser, wide closing photo, compact builder */
#everyday .clx-checks { list-style: none; margin: clamp(22px, 3vw, 34px) 0 0; padding: 0; display: grid; gap: 10px 28px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 700px) { #everyday .clx-checks { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

#everyday .clx-checks li { display: flex; gap: 10px; align-items: center; font: 500 16px/1.35 var(--f-body); color: var(--bone); padding: 10px 0; border-bottom: 1px solid rgba(255,255,255,.08); }
#everyday .clx-checks svg { flex: none; color: var(--beam); }
#everyday .clx-spec { margin: 16px 0 0; color: var(--mute); font-size: 12px; letter-spacing: .08em; }
#tech-tease .tt { display: grid; gap: clamp(20px, 4vw, 56px); align-items: center; }
@media (min-width: 900px) { #tech-tease .tt { grid-template-columns: 1.4fr 1fr; } }
#tech-tease .tt__fig { margin: 0; border-radius: var(--radius); overflow: hidden; box-shadow: 0 0 0 1px rgba(255,255,255,.07); }
#tech-tease .tt__fig img { display: block; width: 100%; height: auto; }
#tech-tease .tt__txt p { color: var(--mute); max-width: 42ch; }
#closing .clx-closing__img--wide { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius); }
section#build .bx-stage { max-width: 260px; }
section#build .bx__grid { grid-template-columns: minmax(0, 1fr); }
@media (min-width: 900px) { section#build .bx__grid { grid-template-columns: 280px minmax(0, 1fr); } }
section#build .bx-tiles { grid-template-columns: repeat(auto-fill, minmax(72px, 1fr)); gap: 6px; }
section#build .bx-step { margin-bottom: 14px; }
section#build .bx__head { margin-bottom: clamp(16px, 2.4vw, 28px); }
section#build .bx-more summary { min-height: 44px; display: flex; align-items: center; gap: 8px; cursor: pointer; color: var(--beam); font: 500 15px/1 var(--f-body); list-style: none; }
section#build .bx-more summary::-webkit-details-marker { display: none; }
section#build .bx-more summary::before { content: "+"; font: 500 18px/1 var(--f-mono); }
section#build .bx-more[open] summary::before { content: "\2212"; }
section#build .bx-swatches button, section#build .bx-swatch { min-height: 48px; }

/* v3.37 anatomy: thin leader-line callouts over the best close-up */
#anatomy .anx { margin: clamp(20px, 3vw, 36px) auto 0; max-width: 1240px; padding: 0 var(--gutter, 20px); }
#anatomy .anx__pic { position: relative; aspect-ratio: 16 / 10; border-radius: var(--radius); overflow: hidden; background: #0a0b0d; box-shadow: 0 0 0 1px rgba(255,255,255,.06); }
#anatomy .anx__pic img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
#anatomy .anx__lines { position: absolute; inset: 0; width: 100%; height: 100%; }
#anatomy .anx__l { fill: none; stroke: rgba(255, 236, 205, .85); stroke-width: 1.6; }
#anatomy .anx__l circle { fill: rgba(255, 236, 205, .95); stroke: rgba(10,11,13,.6); stroke-width: 3; }
#anatomy .anx__l path { stroke-dasharray: 600; stroke-dashoffset: 600; transition: stroke-dashoffset 1.1s var(--ease-out); }
#anatomy .is-in .anx__l path, #anatomy .anx.is-in .anx__l path { stroke-dashoffset: 0; }
#anatomy .anx__tags { list-style: none; margin: 0; padding: 0; }
#anatomy .anx__t { position: absolute; left: var(--x); top: var(--y); transform: translateY(calc(-100% - 6px)); font: 400 13px/1.3 var(--f-body); color: var(--mute); white-space: nowrap; }
#anatomy .anx__t--r { transform: translate(-100%, calc(-100% - 6px)); text-align: right; }
#anatomy .anx__t b { display: block; font: 600 12px/1.2 var(--f-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--bone); margin-bottom: 2px; }
#anatomy .anx__cap { margin: 12px 0 0; }
@media (max-width: 760px) {
  #anatomy .anx__lines { display: none; }
  #anatomy .anx__tags { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 16px; margin-top: 14px; }
  #anatomy .anx__pic { aspect-ratio: auto; overflow: visible; background: none; box-shadow: none; }
  #anatomy .anx__pic img { position: static; height: auto; aspect-ratio: 16 / 10; border-radius: var(--radius); }
  #anatomy .anx__t, #anatomy .anx__t--r { position: static; transform: none; text-align: left; white-space: normal; }
}
@media (prefers-reduced-motion: reduce) { #anatomy .anx__l path { transition: none; stroke-dashoffset: 0; } }
#anatomy .anx__pic { aspect-ratio: 16 / 7; } #anatomy .anx__pic img { object-position: 50% 100%; } #anatomy .anx__t { text-shadow: 0 1px 8px rgba(0,0,0,.9); color: #c9c3b8; } @media (max-width: 760px) { #anatomy .anx__pic img { aspect-ratio: 16 / 9; object-fit: cover; object-position: 60% 100%; } }

/* colours strip */
#colors .cox { list-style: none; margin: clamp(22px, 4vw, 40px) 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(10px, 3vw, 40px); align-items: end; }
#colors .cox__c img { width: 100%; height: auto; display: block; max-width: 260px; margin: 0 auto; filter: drop-shadow(0 24px 30px rgba(0,0,0,.55)); }
#colors .cox__c p { margin: 14px 0 0; text-align: center; font: 400 14px/1.35 var(--f-body); color: var(--mute); }
#colors .cox__c b { display: flex; align-items: center; justify-content: center; gap: 8px; color: var(--bone); font: 600 18px/1.2 var(--f-display); letter-spacing: -.02em; margin-bottom: 2px; }
#colors .cox__c b::before { content: ""; width: 12px; height: 12px; border-radius: 50%; background: var(--sw); box-shadow: 0 0 0 1px rgba(255,255,255,.25); }
@media (max-width: 600px) { #colors .cox__c p { font-size: 12px; } #colors .cox__c b { font-size: 15px; } }
#anatomy .anx--side { margin-top: clamp(18px, 3vw, 32px); }
#anatomy .anx--side .anx__pic { aspect-ratio: 16 / 9; }
#anatomy .anx--side .anx__pic img { object-position: 50% 50%; }

#anatomy .anx--top .anx__pic { aspect-ratio: 16 / 10; }
#anatomy .anx--top .anx__pic img { object-position: 50% 50%; }

/* hero stopgap: the v07 three-quarter render (Kevin's reference look) */
.hx-solo { margin: 0; justify-self: center; width: min(100%, 620px); }
.hx-solo img { display: block; width: 100%; height: auto; max-height: 82vh; object-fit: contain;
  -webkit-mask-image: radial-gradient(ellipse 50% 50% at 50% 48%, #000 55%, transparent 100%); mask-image: radial-gradient(ellipse 50% 50% at 50% 48%, #000 55%, transparent 100%); }
@media (max-width: 899px) { .hx-solo { width: min(100%, 440px); margin-top: 8px; } .hx-solo img { max-height: 60vh; } }

/* colour section re-themes to the picked body colour */
#colors { position: relative; --theme: #16171a; --themebg: #1a1b1f; background: var(--themebg); transition: background-color .6s var(--ease-out); overflow: hidden; }
#colors .cox__glow { position: absolute; inset: 0; pointer-events: none; background: radial-gradient(60% 55% at 50% 70%, color-mix(in srgb, var(--theme) 45%, transparent), transparent 70%); opacity: .9; transition: background .6s var(--ease-out); }
#colors .wrap { position: relative; }
#colors .cox { grid-template-columns: repeat(4, minmax(0, 1fr)); }
#colors .cox__b { display: block; width: 100%; padding: 10px 6px 12px; border: 1px solid transparent; border-radius: 18px; background: none; color: inherit; cursor: pointer; transition: border-color .3s, transform .3s var(--ease-out); }
#colors .cox__b[aria-pressed="true"] { border-color: color-mix(in srgb, var(--sw) 70%, #fff 10%); transform: translate3d(0, -4px, 0); }
#colors .cox__c img { max-width: 230px; }
@media (max-width: 600px) { #colors .cox { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; } }

/* v3.50 optic section: real-world photo instead of the illustrative chart */
#candela .cdx2 { display: grid; gap: clamp(20px, 4vw, 56px); align-items: center; }
@media (min-width: 900px) { #candela .cdx2 { grid-template-columns: minmax(0, .9fr) minmax(0, 1.4fr); } }
#candela .cdx2__pts { list-style: none; margin: 20px 0 0; padding: 0; display: grid; gap: 12px; }
#candela .cdx2__pts li { color: var(--mute); font: 400 15px/1.45 var(--f-body); padding-left: 14px; border-left: 2px solid rgba(255, 216, 163, .35); }
#candela .cdx2__pts b { display: block; color: var(--bone); font: 600 13px/1.2 var(--f-mono); letter-spacing: .12em; text-transform: uppercase; margin-bottom: 2px; }
#candela .cdx2__fig { margin: 0; border-radius: var(--radius); overflow: hidden; box-shadow: 0 0 0 1px rgba(255,255,255,.07), 0 30px 60px -30px rgba(0,0,0,.8); }
#candela .cdx2__fig img { display: block; width: 100%; height: auto; }

/* 'The usual, done right' close-up grid */
#usual .usx { list-style: none; margin: clamp(20px, 3vw, 36px) 0 0; padding: 0; display: grid; gap: clamp(10px, 2vw, 20px); grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 900px) { #usual .usx { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
#usual .usx__t figure { margin: 0; }
#usual .usx__t img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius); box-shadow: 0 0 0 1px rgba(255,255,255,.07); }
#usual figcaption { margin-top: 8px; font: 400 14px/1.4 var(--f-body); color: var(--mute); }
#usual figcaption b { display: block; color: var(--bone); font: 600 16px/1.2 var(--f-display); letter-spacing: -.02em; margin-bottom: 2px; }

/* Home plates rail stays veiled until gallery.json plates_open */
#plates .clx-wraps { display: none; color: var(--mute); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; }
#plates.is-veiled .clx-wraps { display: inline; }
#plates.is-veiled .clx-more .link, #plates.is-veiled .clx-price, #plates.is-veiled .clx-card__t, #plates.is-veiled .clx-card__d { display: none; }
#plates.is-veiled .clx-card img { filter: blur(22px) brightness(.45) saturate(.5); transform: scale(1.08); }
#plates.is-veiled .clx-card { overflow: hidden; pointer-events: none; }
#plates.is-veiled .clx-card__tag { color: var(--mute); }

/* Coming soon links stay shut until gallery.json soon_open */
a.is-shut { cursor: default; opacity: .6; }


/* LOCKED stamp v2: live countdown in the pill, red stamp clipped onto its corner */
.fh__soon.is-shut { position: relative; opacity: 1; color: rgba(241, 236, 226, .78); border-color: rgba(224, 65, 58, .45); font-variant-numeric: tabular-nums; }
.fh__soon.is-shut::after { content: "LOCKED"; position: absolute; right: -10px; top: -5px; transform: rotate(9deg); padding: 2px 6px;
  border: 2px solid #d4322c; border-radius: 3px; color: #ef4a42; background: #160909; font: 800 9px/1.1 var(--f-mono); letter-spacing: .18em;
  box-shadow: 0 2px 6px rgba(0,0,0,.6); pointer-events: none; white-space: nowrap; }
@media (max-width: 520px) { .fh__soon.is-shut { font-size: 11px; padding-left: 10px; padding-right: 10px; } .fh__soon.is-shut::after { right: -8px; top: -10px; } }

/* Light modes v2 (preview): one toggle, zoom crops, hairline callouts per state; red never tints the page */
.lv { padding-block: clamp(56px, 8vw, 104px); }
.lv__wrap { display: grid; justify-items: center; gap: 18px; }
.lv__head { text-align: center; } .lv__head .t-h2 { margin: 6px 0 0; }
.lv__switch { position: relative; display: inline-grid; grid-template-columns: repeat(3, 1fr); padding: 4px; border-radius: 999px; background: rgba(255,255,255,.05); box-shadow: inset 0 0 0 1px rgba(255,255,255,.1); }
.lv__switch button { position: relative; z-index: 1; min-width: 84px; padding: 9px 16px; border: 0; background: none; color: var(--mute); font: 600 12px/1 var(--f-mono); letter-spacing: .14em; text-transform: uppercase; cursor: pointer; transition: color .3s; }
.lv__switch button[aria-selected="true"] { color: #121315; }
.lv__pill { position: absolute; top: 4px; bottom: 4px; left: 4px; width: calc((100% - 8px) / 3); border-radius: 999px; background: #f1ece2; transition: transform .45s cubic-bezier(.3,.8,.3,1), background .45s; }
.lv[data-mode="beam"] .lv__pill { transform: translateX(100%); }
.lv[data-mode="red"] .lv__pill { transform: translateX(200%); background: #e25a4f; }
.lv__stage { width: min(520px, 88vw); margin-top: 4px; }
.lv__frame { position: relative; aspect-ratio: 960 / 1200; border-radius: 20px; overflow: visible; }
.lv__frame::before { content: ""; position: absolute; inset: 0; border-radius: 20px; box-shadow: 0 0 0 1px rgba(255,255,255,.07), 0 40px 80px -40px rgba(0,0,0,.9); pointer-events: none; z-index: 2; }
.lv__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border-radius: 20px; opacity: 0; transform: scale(1); transform-origin: 64.6% 19.7%; transition: opacity .7s ease, transform 2.4s cubic-bezier(.2,.7,.2,1); clip-path: inset(0 round 20px); }
.lv__img.is-on { opacity: 1; }
.lv[data-mode="beam"] .lv__img[data-img="beam"].is-on { transform: scale(1.35); }
.lv__img[data-img="red"] { transform-origin: 56% 18%; }
.lv[data-mode="red"] .lv__img[data-img="red"].is-on { transform: scale(1.2); }
.lv__co { position: absolute; z-index: 3; left: var(--x); top: var(--y); right: -48%; display: flex; align-items: center; gap: 10px; transform: translateY(-50%); opacity: 0; pointer-events: none; }
.lv__co::before { content: ""; flex: none; width: 9px; height: 9px; margin-left: -4.5px; border-radius: 50%; background: #f1ece2; box-shadow: 0 0 0 4px rgba(241,236,226,.18); }
.lv__co::after { content: ""; order: 1; flex: 1; height: 1px; background: rgba(241,236,226,.65); transform: scaleX(0); transform-origin: left; transition: transform .7s cubic-bezier(.3,.8,.3,1) var(--d); }
.lv__co b, .lv__co span { order: 2; }
.lv__co > b { display: none; }
.lv__co span { flex: none; max-width: 220px; font: 400 13px/1.35 var(--f-body); color: #d9d3c8; }
.lv__co span::before { content: attr(data-t); }
.lv[data-mode="flood"] .lv__co[data-for="flood"], .lv[data-mode="beam"] .lv__co[data-for="beam"], .lv[data-mode="red"] .lv__co[data-for="red"] { opacity: 1; transition: opacity .3s ease var(--d); }
.lv[data-mode="flood"] .lv__co[data-for="flood"]::after, .lv[data-mode="beam"] .lv__co[data-for="beam"]::after, .lv[data-mode="red"] .lv__co[data-for="red"]::after { transform: scaleX(1); }
.lv[data-mode="red"] .lv__co::before { background: #ff7a6e; box-shadow: 0 0 0 4px rgba(255,122,110,.2); }
@media (max-width: 899px) { .lv__co { right: 2%; } .lv__co span { max-width: 128px; font-size: 11px; padding: 4px 7px; border-radius: 6px; background: rgba(10,11,13,.72); } }
@media (min-width: 900px) { .lv__stage { transform: translateX(-12%); } }.lv__co p { order: 2; flex: none; max-width: 220px; margin: 0; font: 400 13px/1.35 var(--f-body); color: #d9d3c8; }
.lv__co p b { display: block; margin-bottom: 2px; font: 600 10px/1.2 var(--f-mono); letter-spacing: .16em; text-transform: uppercase; color: #ffd8a3; }
.lv[data-mode="red"] .lv__co p b { color: #ff9a90; }
@media (max-width: 899px) { .lv__co p { max-width: 128px; font-size: 11px; padding: 5px 8px; border-radius: 6px; background: rgba(10,11,13,.72); } }
.lv__clip { position: absolute; inset: 0; overflow: hidden; border-radius: 20px; }
.lv__img { clip-path: none; border-radius: 0; }
.lv__co--l { left: -48%; right: calc(100% - var(--x)); flex-direction: row-reverse; }
.lv__co--l::before { margin-left: 0; margin-right: -4.5px; }
.lv__co--l::after { transform-origin: right; }
.lv__co--l p { text-align: right; }
@media (max-width: 899px) { .lv__co--l { left: 2%; right: calc(100% - var(--x)); } }

/* How it works (preview): three-beat first-principles story, imagery first */
.stx__beats { list-style: none; margin: clamp(20px, 3vw, 36px) 0 0; padding: 0; display: grid; gap: clamp(14px, 2vw, 22px); }
@media (min-width: 900px) { .stx__beats { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.stx__beat { margin: 0; }
.stx__fig { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius); box-shadow: 0 0 0 1px rgba(255,255,255,.07); background: #0b0c0e; }
svg.stx__fig { aspect-ratio: 400 / 240; height: auto; }
@media (min-width: 900px) { svg.stx__fig { aspect-ratio: 4 / 3; } }
.stx__beat p { margin: 10px 2px 0; font: 400 15px/1.4 var(--f-body); color: var(--mute); }
.stx__beat p b { display: block; color: var(--bone); font: 600 18px/1.2 var(--f-display); letter-spacing: -.02em; margin-bottom: 2px; }
.stx__cone { transform-origin: 44px 120px; transform: scaleX(.15); opacity: 0; transition: transform 1.4s cubic-bezier(.2,.7,.2,1), opacity .8s; }
.stx__beat.is-in .stx__cone, .stx__beat[data-revealed] .stx__cone, .stx.is-live .stx__cone { transform: none; opacity: 1; }
.stx__tree.is-lit { opacity: 0; transition: opacity .6s 1s; } .stx.is-live .stx__tree.is-lit { opacity: 1; }
.stx__note { margin: 14px 0 0; font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--mute); }
@media (prefers-reduced-motion: reduce) { .stx__cone, .stx__tree.is-lit { transform: none; opacity: 1; transition: none; } }
@media (max-width: 899px) { .lv__co p { flex: 0 1 auto; min-width: 0; } .lv__co::after { min-width: 10px; } }





/* Basics schematic: side, back (plate slid off), side; leader lines run past the silhouette, labels outside */
.bsx__row { margin-top: clamp(24px, 4vw, 48px); display: grid; grid-template-columns: auto auto auto; justify-content: center; align-items: end; gap: clamp(120px, 16vw, 250px); }
.bsx__v { margin: 0; } .bsx__pic { position: relative; height: clamp(320px, 48vw, 620px); }
.bsx__pic img { display: block; height: 100%; width: auto; }
.bsx__co { position: absolute; top: var(--y); height: 0; display: flex; align-items: center; pointer-events: none; }
.bsx__co::before { content: ""; flex: none; width: 8px; height: 8px; border-radius: 50%; background: #f1ece2; box-shadow: 0 0 0 3px rgba(241,236,226,.18); }
.bsx__co::after { content: ""; flex: 1; height: 1px; background: rgba(241,236,226,.6); }
.bsx__co p { position: absolute; top: 50%; transform: translateY(-50%); margin: 0; white-space: nowrap; font: 400 14px/1.3 var(--f-body); color: var(--mute); }
.bsx__co p b { display: block; font: 600 12px/1.2 var(--f-mono); letter-spacing: .14em; text-transform: uppercase; color: #ffd8a3; }
.bsx__co--r { left: var(--x); width: calc(100% - var(--x) + 34px); margin-left: -4px; } .bsx__co--r p { left: calc(100% + 10px); }
.bsx__co--l { right: calc(100% - var(--x)); width: calc(var(--x) + 34px); margin-right: -4px; flex-direction: row-reverse; } .bsx__co--l p { right: calc(100% + 10px); text-align: right; }
.bsx__foot { margin: clamp(18px, 3vw, 28px) 0 0; text-align: center; font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--mute); }
@media (max-width: 899px) {
  .bsx__row { grid-template-columns: auto auto; justify-content: center; gap: 36px 120px; }
  .bsx__v--back { grid-column: 1 / -1; order: -1; justify-self: center; }
  .bsx__v--back .bsx__pic { height: 100vw; } .bsx__v--side .bsx__pic { height: 70vw; }
  .bsx__co--r { width: calc(100% - var(--x) + 14px); } .bsx__co--l { width: calc(var(--x) + 14px); }
  .bsx__co p { white-space: normal; width: 24vw; font-size: 11px; } .bsx__co p b { font-size: 10px; }
}
@media (max-width: 899px) { .bsx__v--side .bsx__co--r { width: calc(100% - var(--x) + 8px); } .bsx__v--side .bsx__co--l { width: calc(var(--x) + 8px); } .bsx__v--side .bsx__co p { width: 18vw; } }

/* Phones: the two flood callouts sit close, so the top one shows its title only */
@media (max-width: 899px) { .lv__co[style*="--y:7.5%"] p { font-size: 0; padding-block: 3px; } .lv__co[style*="--y:7.5%"] p b { font-size: 10px; margin: 0; } }

/* Flash only vs with the optic: one tap toggle, no numbers */
.stx__live { margin-top: clamp(22px, 3vw, 36px); display: grid; justify-items: center; gap: 14px; }
.stx__sw { display: inline-grid; grid-template-columns: 1fr 1fr; padding: 4px; border-radius: 999px; background: rgba(255,255,255,.05); box-shadow: inset 0 0 0 1px rgba(255,255,255,.1); }
.stx__sw button { padding: 9px 16px; border: 0; border-radius: 999px; background: none; color: var(--mute); font: 600 12px/1 var(--f-mono); letter-spacing: .12em; text-transform: uppercase; cursor: pointer; transition: background .35s, color .35s; }
.stx__sw button[aria-selected="true"] { background: #f1ece2; color: #121315; }
.stx__big { width: 100%; height: auto; border-radius: var(--radius); box-shadow: 0 0 0 1px rgba(255,255,255,.07); }
.stx__wide, .stx__narrow, .stx__lens { transition: opacity .7s ease, transform .9s cubic-bezier(.2,.7,.2,1); transform-origin: 58px 130px; }
.stx__live[data-st="flash"] .stx__narrow, .stx__live[data-st="flash"] .stx__lens { opacity: 0; transform: scaleX(.2); }
.stx__live[data-st="optic"] .stx__wide { opacity: 0; transform: scaleX(.6); }
.stx__far path, .stx__far circle { stroke: #2c3036; fill: #1a1d21; transition: fill .6s .3s, stroke .6s .3s; }
.stx__live[data-st="optic"] .stx__far path, .stx__live[data-st="optic"] .stx__far circle { stroke: #c9b58e; fill: #6b5a3c; }

/* Alan's three pillars, right under the opener */
.plx { padding-block: clamp(28px, 4vw, 48px); }
.plx__row { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(10px, 2vw, 24px); }
.plx__row li { display: grid; justify-items: center; gap: 10px; text-align: center; padding: clamp(14px, 2vw, 22px) 8px; border-radius: var(--radius); background: rgba(255,255,255,.03); box-shadow: inset 0 0 0 1px rgba(255,255,255,.07); }
.plx__row svg { width: clamp(28px, 3vw, 38px); height: auto; fill: none; stroke: #ffd8a3; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.plx__row b { font: 600 clamp(15px, 1.8vw, 22px)/1.15 var(--f-display); letter-spacing: -.02em; color: var(--bone); }

/* What it is (staging draft): optic explained before the light modes */
.wnx__grid { display: grid; gap: clamp(20px, 4vw, 56px); align-items: center; }
@media (min-width: 900px) { .wnx__grid { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); } }
.wnx__draft { display: inline-block; margin: 0 0 12px; padding: 4px 9px; border-radius: 999px; font-size: 10px; letter-spacing: .14em; text-transform: uppercase; color: #ffd8a3; border: 1px dashed rgba(255,216,163,.5); }
.wnx__steps { list-style: none; margin: clamp(16px, 2.4vw, 28px) 0 0; padding: 0; display: grid; gap: 14px; counter-reset: wn; }
.wnx__steps li { counter-increment: wn; position: relative; padding-left: 40px; font: 400 16px/1.45 var(--f-body); color: var(--mute); }
.wnx__steps li::before { content: counter(wn); position: absolute; left: 0; top: 1px; width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; font: 600 12px/1 var(--f-mono); color: #121315; background: #f1ece2; }
.wnx__steps b { display: block; color: var(--bone); font: 600 18px/1.2 var(--f-display); letter-spacing: -.02em; margin-bottom: 2px; }
.wnx__fig { margin: 0; } .wnx__fig img { display: block; width: 100%; height: auto; border-radius: var(--radius); box-shadow: 0 0 0 1px rgba(255,255,255,.07); }

/* How it works: one photo beat + the toggle (the two diagram tiles were cut) */
@media (min-width: 900px) { .stx__beats { grid-template-columns: minmax(0, 1fr); max-width: 760px; } }

/* Option 6 row: looping mini beam, breathing night-eye chart, red slider close-up. All motion is slow and quiet. */
.rlx { list-style: none; margin: clamp(18px, 2.6vw, 30px) 0 0; padding: 0; display: grid; gap: clamp(12px, 2vw, 20px); }
@media (min-width: 900px) { .rlx { grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr) minmax(0, 1fr); align-items: start; } }
.rlx__t p { margin: 10px 2px 0; font: 400 14px/1.4 var(--f-body); color: var(--mute); }
.rlx__t p b { display: block; color: var(--bone); font: 600 17px/1.2 var(--f-display); letter-spacing: -.02em; margin-bottom: 2px; }
.rlx__mini, .rlx__chart, .rlx__img { display: block; width: 100%; height: auto; border-radius: var(--radius); box-shadow: 0 0 0 1px rgba(255,255,255,.07); background: #0b0c0e; }
.rlx__mini { aspect-ratio: 320 / 200; } .rlx__chart { aspect-ratio: 520 / 240; } .rlx__img { aspect-ratio: 16 / 10; object-fit: cover; object-position: 60% 40%; }
@media (min-width: 900px) { .rlx__mini, .rlx__img { aspect-ratio: 520 / 240; } }
.rlx__lab { fill: #8f8a80; font: 500 11px var(--f-mono); letter-spacing: .08em; }
.rlx__lab--red { fill: #ff9a90; }
/* mini beam: the beam eases on, holds, eases off; the dog's eye catches the light (6 s loop) */
.rlx__cone, .rlx__pool { opacity: 0; animation: rlx-beam 6s ease-in-out infinite; }
.rlx__eye { opacity: .15; animation: rlx-eye 6s ease-in-out infinite; }
@keyframes rlx-beam { 0%, 12% { opacity: 0; } 30%, 78% { opacity: 1; } 95%, 100% { opacity: 0; } }
@keyframes rlx-eye { 0%, 26% { opacity: .15; } 36%, 76% { opacity: 1; } 92%, 100% { opacity: .15; } }
/* chart: the red band breathes at a resting rate (about 12 breaths a minute); a faint sheen drifts across the spectrum */
.rlx__red { animation: rlx-breathe 5s ease-in-out infinite; }
@keyframes rlx-breathe { 0%, 100% { opacity: .55; } 50% { opacity: 1; } }
.rlx__sheen { animation: rlx-sheen 9s ease-in-out infinite; }
@keyframes rlx-sheen { 0% { transform: translateX(0); } 60%, 100% { transform: translateX(620px); } }
@media (prefers-reduced-motion: reduce) { .rlx__cone, .rlx__pool, .rlx__eye, .rlx__red, .rlx__sheen { animation: none; opacity: 1; } .rlx__sheen { opacity: 0; } }

.rlx__img { max-height: 360px; }

/* How it works, mockup 6 layout: three engineer-style line cards, then the red-light panel */
.hwx__cards { list-style: none; margin: clamp(20px, 3vw, 34px) 0 0; padding: 0; display: grid; gap: clamp(10px, 1.6vw, 18px); }
@media (min-width: 900px) { .hwx__cards { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.hwx__card { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); align-items: center; gap: 8px; padding: clamp(16px, 2vw, 24px); border-radius: 18px; background: #0b0c0e; box-shadow: inset 0 0 0 1px rgba(255,255,255,.08); }
.hwx__txt b { display: block; font: 600 clamp(18px, 1.7vw, 24px)/1.15 var(--f-display); letter-spacing: -.02em; color: var(--bone); }
.hwx__txt p { margin: 8px 0 0; font: 400 14px/1.45 var(--f-body); color: var(--mute); }
.hwx__art { display: block; width: 100%; height: auto; mix-blend-mode: lighten; -webkit-mask-image: radial-gradient(ellipse 72% 72% at 50% 50%, #000 70%, transparent 100%); mask-image: radial-gradient(ellipse 72% 72% at 50% 50%, #000 70%, transparent 100%); }
.hwx__card--wide { grid-template-columns: minmax(0, .62fr) minmax(0, 1.38fr); }
.hwx__phone rect, .hwx__phone path, .hwx__optic { fill: none; stroke: #cfc8bb; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.hwx__phone rect:first-child { fill: #111316; }
.hwx__optic { stroke: #e8e2d6; stroke-width: 2.4; }
.hwx__dash { fill: none; stroke: #e8d9bd; stroke-width: 1.2; stroke-dasharray: 5 6; opacity: .65; }
.hwx__thin { fill: none; stroke: #fff2da; stroke-width: 1; opacity: .5; }
.hwx__ground { stroke: #3a3e44; stroke-width: 1.4; }
.hwx__tree path { fill: none; stroke: #4a4f56; stroke-width: 1.4; stroke-linejoin: round; }
.hwx__fence path { fill: none; stroke: #3a3e44; stroke-width: 1.6; }
.hwx__person circle, .hwx__person path, .hwx__person rect { fill: none; stroke: #cfc8bb; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.hwx__person rect { fill: #cfc8bb; }
.hwx__dog path { fill: #c9a46a; }
/* gentle life: the beam in card 3 eases on and off on a slow loop, the dog lights with it */
.hwx__beam { animation: hwx-beam 6s ease-in-out infinite; }
.hwx__dog { animation: hwx-dog 6s ease-in-out infinite; }
@keyframes hwx-beam { 0%, 10% { opacity: .15; } 30%, 80% { opacity: 1; } 96%, 100% { opacity: .15; } }
@keyframes hwx-dog { 0%, 14% { opacity: .35; } 34%, 78% { opacity: 1; } 94%, 100% { opacity: .35; } }
.hwx__panel { margin-top: clamp(12px, 1.8vw, 20px); display: grid; gap: clamp(16px, 2.4vw, 32px); padding: clamp(20px, 3vw, 44px); border-radius: 20px; background: #0b0c0e; box-shadow: inset 0 0 0 1px rgba(255,255,255,.08); align-items: center; }
@media (min-width: 900px) { .hwx__panel { grid-template-columns: minmax(0, 2.6fr) minmax(0, 1fr); } }
.hwx__h { margin: 0; font: 700 clamp(28px, 3.4vw, 46px)/1.05 var(--f-display); letter-spacing: -.03em; color: var(--bone); }
.hwx__sub { margin: 6px 0 0; font: 400 clamp(16px, 1.6vw, 22px)/1.3 var(--f-body); color: var(--mute); }
.hwx__chart { display: block; width: 100%; height: auto; margin-top: clamp(8px, 1.4vw, 18px); }
.hwx__axis { fill: none; stroke: #a8a296; stroke-width: 1.6; }
.hwx__lab { fill: #b8b2a6; font: 500 17px var(--f-body); }
.hwx__lab--red { fill: #ffd2a8; font-weight: 600; }
.hwx__redband { animation: hwx-breathe 5s ease-in-out infinite; }
@keyframes hwx-breathe { 0%, 100% { opacity: .6; } 50% { opacity: 1; } }
.hwx__sheen { animation: hwx-sheen 9s ease-in-out infinite; }
@keyframes hwx-sheen { 0% { transform: translateX(0); } 60%, 100% { transform: translateX(1140px); } }
.hwx__slider { margin: 0; }
.hwx__slider img { display: block; width: 100%; height: auto; aspect-ratio: 5 / 4; object-fit: cover; border-radius: 16px; box-shadow: 0 0 0 1px rgba(255,255,255,.08); }
.hwx__slider figcaption { margin-top: 12px; font: 400 14px/1.45 var(--f-body); color: var(--mute); }
.hwx__slider figcaption b { display: block; color: var(--bone); font: 600 18px/1.2 var(--f-display); letter-spacing: -.02em; margin-bottom: 4px; }
@media (prefers-reduced-motion: reduce) { .hwx__beam, .hwx__dog, .hwx__redband, .hwx__sheen { animation: none; opacity: 1; } .hwx__sheen { opacity: 0; } }
/* end hwx */
