/* ═══════════════════════════════════════════════════════════════════════
   Command-strips presentation - styles

   Palette and typography are the vividhome design system (assets/css/
   design-system.css); the tokens are restated here instead of imported so
   the frame keeps working if it is ever served on its own. Fonts come from
   ../css/fonts.css, which the shop page has already put in the HTTP cache.

   The original delivery shipped one minified sheet plus a "readability pass"
   block at the end that re-declared ~40 of its own rules with bigger type.
   Both are folded together here - one declaration per property.
   ═══════════════════════════════════════════════════════════════════════ */

:root {
  --cs-cream:      #FAF8F5;
  --cs-linen:      #F5F0EB;
  --cs-sand:       #EDE7DF;
  --cs-stone:      #D4CBC0;
  --cs-warm-gray:  #A89F95;
  --cs-charcoal:   #4A4440;
  --cs-espresso:   #2C2825;
  --cs-ink:        #1A1715;
  --cs-orange:     #F97316;
  --cs-amber:      #F59E0B;
  --cs-rose:       #F43F5E;
  --cs-purple:     #7C3AED;
  --cs-blue:       #2563EB;
  --cs-accent-soft:#FDEEDC;
  --cs-gradient-cta: linear-gradient(135deg, #7C3AED, #DB2777, #F43F5E);
  --cs-font-heading: 'Geologica', 'Geologica Fallback', 'Inter', system-ui, sans-serif;
  --cs-font-body:    'Onest', 'Onest Fallback', 'Inter', system-ui, sans-serif;
  --cs-ease:       cubic-bezier(.22, 1, .36, 1);
}

* { box-sizing: border-box }

body {
  margin: 0;
  background: var(--cs-cream);
  color: var(--cs-espresso);
  font-family: var(--cs-font-body);
  -webkit-font-smoothing: antialiased;
}

button, a, input { -webkit-tap-highlight-color: transparent; touch-action: manipulation }
button { font: inherit; color: inherit; border: 0; background: none; cursor: pointer }
button:disabled { cursor: default }
button:focus-visible, a:focus-visible, input:focus-visible { outline: 2px solid var(--cs-orange); outline-offset: 4px }
a { color: inherit; text-decoration: none }
[hidden] { display: none !important }
img { max-width: 100% }

.sr-only {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0, 0, 0, 0); clip-path: inset(50%); white-space: nowrap;
}

.site-shell { max-width: 1800px; margin: auto; padding: 0 4.3vw }

/* ── Header ─────────────────────────────────────────────────────────── */
.header {
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px; height: 96px; border-bottom: 1px solid var(--cs-sand);
}
.wordmark {
  display: flex; align-items: center; white-space: nowrap;
  font-family: var(--cs-font-heading); font-size: 13px; font-weight: 700;
  letter-spacing: 1.4px; color: var(--cs-ink);
}
.mark { display: flex; gap: 4px; margin-right: 12px; transform: rotate(-15deg) }
.mark i { display: block; width: 9px; height: 23px; border-radius: 2px 2px 8px 8px; background: var(--cs-ink) }
.mark i + i { margin-top: -5px; background: var(--cs-orange) }
.header-actions { display: flex; align-items: center; gap: 18px }
.header-category {
  font-size: 11px; font-weight: 700; letter-spacing: 1.6px; color: var(--cs-warm-gray);
  transition: color .2s;
}
.header-category:hover { color: var(--cs-orange) }
.text-button { padding: 12px 0; font-size: 12px; font-weight: 600 }
.text-button:hover { color: var(--cs-orange) }

/* ── Add-to-cart buttons (3 placements: header, buy block, gallery) ───
   The look comes from ../css/vivid-buttons.css (.vb-btn): rotating conic
   border, glass fill, lift on hover. Only size and the price divider are set
   here. The label and the price MUST carry z-index 2 - .vb-btn paints its two
   pseudo-element layers over anything that does not (the blank-pill bug of
   2026-09-07). */
.cs-atc { gap: 12px; font-family: var(--vivid-font-body); font-weight: 800; white-space: nowrap }
.cs-atc > * { position: relative; z-index: 2 }
.cs-atc:disabled { cursor: default }
.cs-atc--sm { padding: 14px 22px; font-size: 0.95rem }
.cs-atc--md { padding: 16px 26px; font-size: 1rem }
.cs-atc--lg { padding: 21px 34px; font-size: 1.12rem }
.cs-atc-icon { flex: none }
.cs-atc-price {
  padding-left: 13px; margin-left: 2px;
  border-left: 1px solid rgba(15, 23, 42, .22);
  font-variant-numeric: tabular-nums; font-weight: 700;
}
.cs-atc-price:empty { display: none }
.cs-atc.is-busy { opacity: .75 }
.cs-atc.is-done::after { background: linear-gradient(135deg, rgba(198, 243, 208, .94), rgba(167, 232, 190, .92)) }
.cs-atc.is-error::after { background: linear-gradient(135deg, rgba(255, 214, 214, .94), rgba(252, 189, 189, .92)) }

.cs-toast {
  position: fixed; left: 50%; bottom: 26px; z-index: 60;
  max-width: min(420px, calc(100vw - 32px));
  padding: 13px 20px; border-radius: 100px;
  background: var(--cs-ink); color: #fff; font-size: 13px; font-weight: 600;
  box-shadow: 0 18px 50px rgba(26, 23, 21, .28);
  transform: translate(-50%, 20px); opacity: 0; pointer-events: none;
  transition: opacity .25s, transform .25s var(--cs-ease);
}
.cs-toast.show { opacity: 1; transform: translate(-50%, 0) }

/* ── Hero / walkthrough ─────────────────────────────────────────────── */
.presentation {
  position: relative; display: grid; grid-template-columns: 44% 56%;
  min-height: 620px; height: calc(100svh - 310px); max-height: 850px;
}
.intro { position: relative; z-index: 2; display: flex; flex-direction: column; align-items: flex-start; padding: 49px 0 36px }
.eyebrow { display: flex; align-items: center; gap: 8px; font-size: 10px; font-weight: 700; letter-spacing: 1.7px; color: var(--cs-charcoal) }
.live-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--cs-orange); box-shadow: 0 0 0 4px rgba(249, 115, 22, .12) }
.copy { display: flex; flex-direction: column; justify-content: center; margin: auto 0 27px; min-height: 313px }
.copy.changing { animation: copy-in .65s var(--cs-ease) }
@keyframes copy-in { from { opacity: 0; transform: translateY(14px) } to { opacity: 1; transform: none } }
.chapter-kicker { margin: 34px 0 17px; font-size: 10px; font-weight: 600; letter-spacing: 1.9px; color: var(--cs-warm-gray) }

h1 {
  margin: 0; font-family: var(--cs-font-heading); font-weight: 600;
  font-size: clamp(40px, 4vw, 68px); line-height: 1.08; letter-spacing: -.03em;
}
h1 em { font-style: normal; background: var(--cs-gradient-cta); -webkit-background-clip: text; background-clip: text; color: transparent }
#description { max-width: 470px; min-height: 51px; margin: 22px 0 0; font-size: 17px; line-height: 1.7; color: var(--cs-charcoal) }

.primary-actions { display: flex; flex-wrap: nowrap; gap: 12px; align-items: center }
.primary-button {
  display: flex; align-items: center; justify-content: center; gap: 14px;
  min-height: 56px; padding: 18px 23px; border-radius: 100px;
  background: var(--cs-ink); color: #fff; font-size: 13px; font-weight: 700;
  transition: background .2s, transform .2s;
}
.primary-button:hover { background: var(--cs-espresso); transform: translateY(-2px) }
.play-symbol { font-size: 11px; color: var(--cs-amber) }
.button-time { padding-left: 15px; margin-left: 2px; border-left: 1px solid rgba(255, 255, 255, .25); font-size: 11px; font-weight: 400; color: rgba(255, 255, 255, .72) }
.guide-button {
  display: flex; align-items: center; gap: 9px; width: max-content; margin: 0;
  padding: 13px 18px 13px 13px; border: 1px solid var(--cs-stone); border-radius: 999px;
  background: #fff; color: var(--cs-ink); font-size: 14px; font-weight: 700;
  box-shadow: 0 5px 18px rgba(26, 23, 21, .06);
  transition: background .2s, border-color .2s, transform .2s;
}
.guide-button:hover { background: var(--cs-accent-soft); border-color: var(--cs-orange); color: var(--cs-ink); transform: translateY(-2px) }
.guide-button .guide-icon {
  display: grid; place-items: center; min-width: 30px; height: 30px; margin: 0;
  border-radius: 50%; background: var(--cs-ink); color: #fff; font-size: 12px; font-weight: 800;
}
.guide-arrow { display: inline-block; color: var(--cs-orange); font-size: 22px; font-weight: 800; line-height: 1; animation: guide-nudge 1.35s ease-in-out infinite }
@keyframes guide-nudge { 0%, 100% { transform: translateX(-2px) } 50% { transform: translateX(3px) } }
.restart-button { width: 46px; height: 46px; border: 1px solid var(--cs-sand); border-radius: 50%; font-size: 24px; transition: background .2s }
.restart-button:hover { background: var(--cs-accent-soft) }

/* "Add Vivid Fix" under the play row - the shop's own rainbow action button
   (vivid-buttons.css is already on this page), sized to the row above it. */
.addon-actions { margin-top: 12px }
.addon-actions:empty, .addon-button[hidden] { display: none }
.addon-button { min-height: 52px; padding: 15px 24px; border-radius: 100px; font-size: 14px; font-weight: 700 }
.addon-button::after { border-radius: 100px }
.addon-label { position: relative; z-index: 2; display: inline-flex; align-items: center; gap: 9px }
.addon-tick { display: none; font-style: normal }
.addon-button[aria-pressed="true"] .addon-tick { display: inline }
/* The Add to Cart bag, breathing like the row's info glyph on the shop page;
   still once ticked and under the pointer. */
.addon-icon { flex: 0 0 auto; transform-origin: center; animation: addon-zoom 1.15s ease-in-out infinite }
.addon-button:hover .addon-icon, .addon-button[aria-pressed="true"] .addon-icon { animation: none }
@keyframes addon-zoom { 0%, 100% { transform: scale(1) } 45% { transform: scale(1.3) } }
/* In the gallery the button shares the row with the prev/next arrows. */
.gallery-actions .addon-button { min-height: 48px; padding: 13px 22px; font-size: 13px }
.gallery-actions .addon-button[hidden] { display: none }
.benefits { display: flex; gap: 30px; margin-top: 24px; font-size: 14px; font-weight: 600; color: var(--cs-charcoal) }
.benefits span { display: flex; align-items: center; gap: 6px }
.benefits i { font-style: normal; font-size: 17px; color: var(--cs-orange) }

/* ── 3D stage ───────────────────────────────────────────────────────── */
.visual { position: relative; isolation: isolate; overflow: hidden; min-width: 0; margin: 20px -16px 18px 0; border-radius: 6px; user-select: none }
.visual-wash {
  position: absolute; inset: 0; z-index: -3; transition: background 1s;
  background:
    radial-gradient(circle at 22% 18%, rgba(37, 99, 235, .07), transparent 55%),
    radial-gradient(circle at 80% 22%, rgba(249, 115, 22, .11), transparent 55%),
    radial-gradient(ellipse at 54% 52%, #F1E7DC 0, #F5EFE7 40%, var(--cs-cream) 80%);
}
/* Warm disc behind the strips of the opening scene - the white product had
   nothing to separate from on a cream wash. Same device as the banner
   illustration on the product page. Faded out once the frame takes over. */
.visual-sun {
  position: absolute; left: 50%; top: 50%; z-index: -2;
  width: min(46%, 430px); aspect-ratio: 1;
  border-radius: 50%;
  background: var(--cs-orange);
  box-shadow: inset -30px -22px 70px rgba(154, 62, 12, .22), 0 30px 70px rgba(249, 115, 22, .2);
  transform: translate(-50%, -50%);
  transition: opacity .9s var(--cs-ease), transform .9s var(--cs-ease);
}
.visual-sun.is-off { opacity: 0; transform: translate(-50%, -50%) scale(.86) }

.orbit { position: absolute; left: 50%; top: 50%; z-index: -2; aspect-ratio: 1; border: 1px solid rgba(168, 159, 149, .28); border-radius: 50%; transform: translate(-50%, -50%); pointer-events: none }
.orbit-one { width: 82% }
.orbit-two { width: 113%; border-color: rgba(168, 159, 149, .16) }
.orbit-one::before { content: '+'; position: absolute; left: 14%; top: 14%; font-size: 16px; font-weight: 300; color: var(--cs-warm-gray) }

.scene-topline, .scene-bottomline {
  position: absolute; left: 32px; right: 23px; z-index: 3;
  display: flex; align-items: center; justify-content: space-between;
  font-size: 12px; font-weight: 600; letter-spacing: 1.25px; color: var(--cs-charcoal);
}
.scene-topline { top: 25px }
.scene-topline > span:first-child { display: flex; align-items: center; gap: 7px }
.scene-bottomline { bottom: 13px }
.icon-button { display: grid; place-items: center; width: 32px; height: 32px; border: 1px solid var(--cs-stone); border-radius: 50%; transition: background .2s }
.icon-button:hover { background: var(--cs-accent-soft) }
.icon-button svg { width: 17px; height: 17px }

#stage { position: absolute; inset: 0; cursor: grab; touch-action: pan-y }
#stage:active { cursor: grabbing }
#stage canvas { display: block; width: 100%; height: 100% }

.scene-note {
  position: absolute; left: 50%; bottom: 62px; transform: translateX(-50%);
  display: flex; align-items: center; gap: 8px; white-space: nowrap;
  padding: 15px 23px; border: 1px solid #fff; border-radius: 100px;
  background: rgba(255, 255, 255, .88); backdrop-filter: blur(12px);
  box-shadow: 0 8px 30px rgba(26, 23, 21, .1);
  font-size: 16px; font-weight: 600; color: var(--cs-espresso);
}
.note-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--cs-orange) }

.floating-label { position: absolute; display: flex; align-items: center; gap: 8px; padding: 5px 11px 5px 0; border-radius: 999px; font-size: 13px; font-weight: 600; color: var(--cs-charcoal); pointer-events: none; transition: opacity .4s }
.label-one { top: 33%; left: 3% }
.label-two { right: 3%; bottom: 26% }
.label-line { position: relative; width: 32px; height: 1px; background: var(--cs-stone) }
.label-line::after { content: ''; position: absolute; right: 0; top: -2px; width: 5px; height: 5px; border-radius: 50%; background: var(--cs-orange) }
.label-two .label-line { width: 22px }

.action-badge {
  position: absolute; top: 23%; right: 15%;
  display: flex; align-items: center; justify-content: center;
  width: 104px; height: 104px; border-radius: 50%;
  background: var(--cs-ink); color: #fff;
  font-family: var(--cs-font-heading); font-size: 17px; font-weight: 700; letter-spacing: -.5px;
  box-shadow: 0 14px 40px rgba(26, 23, 21, .22);
  opacity: 0; transform: scale(0) rotate(-15deg);
  transition: transform .4s var(--cs-ease), opacity .2s;
}
.action-badge.show { opacity: 1; transform: scale(1) rotate(-9deg) }

.fallback { position: absolute; inset: 90px 30px; z-index: 4; display: flex; flex-direction: column; justify-content: center; padding: 25px; border-radius: 20px; background: var(--cs-linen) }
.fallback span { font-size: 30px; color: var(--cs-orange) }
.fallback h2 { font-family: var(--cs-font-heading); font-weight: 600 }
.fallback p { font-size: 14px; line-height: 1.8; color: var(--cs-charcoal) }

.visual:fullscreen { margin: 0; border-radius: 0; background: var(--cs-cream) }
.visual:fullscreen .visual-wash { background: radial-gradient(ellipse, #F1E7DC, var(--cs-cream) 75%) }
.visual:fullscreen .scene-note { bottom: 6% }
.visual:fullscreen .floating-label { font-size: 14px }
.visual:fullscreen .scene-topline, .visual:fullscreen .scene-bottomline { font-size: 13px }

/* ── Transport / chapters ───────────────────────────────────────────── */
/* The heading row above the chapters (title, sound, small play, timecode)
   is gone since 2026-09-17; the chapters start right under the rule. */
.story-player { position: relative; padding: 26px 0 13px; border-top: 1px solid var(--cs-sand) }
#current-time { color: var(--cs-ink) }

.chapters { display: grid; grid-template-columns: repeat(6, 1fr); gap: 19px }
.chapter { min-width: 0; padding: 0; text-align: left }
.chapter-line { display: block; position: relative; height: 3px; overflow: hidden; background: var(--cs-sand) }
.chapter-line i { display: block; width: 0; height: 100%; background: var(--cs-ink); transition: width .1s linear }
.chapter.active .chapter-line { background: var(--cs-stone) }
.chapter.active .chapter-line i { background: var(--cs-orange) }
.chapter-content { display: flex; align-items: flex-start; gap: 10px; padding: 16px 2px 8px }
.chapter-number { margin-top: 3px; font-size: 12px; color: var(--cs-warm-gray); font-variant-numeric: tabular-nums }
.chapter b { display: block; font-family: var(--cs-font-heading); font-size: 16px; font-weight: 600; white-space: nowrap }
.chapter small { display: block; margin-top: 5px; font-size: 13px; line-height: 1.35; color: var(--cs-warm-gray); white-space: nowrap }
.chapter-icon { margin-left: auto; font-size: 24px; line-height: 1.1; color: var(--cs-stone) }
.chapter.active .chapter-number, .chapter.active .chapter-icon { color: var(--cs-orange) }
.chapter:hover .chapter-line { background: var(--cs-warm-gray) }
.chapter:hover b { color: var(--cs-orange) }

#scrubber { display: block; width: 100%; height: 10px; margin: 8px 0 0; accent-color: var(--cs-orange); cursor: ew-resize; opacity: .4; transition: opacity .2s }
#scrubber:hover, #scrubber:focus-visible { opacity: 1 }

/* ── Buy block ──────────────────────────────────────────────────────── */
/* The kit block. It used to be the buy block; since 2026-09-13 it sells
   nothing and answers one question instead: how many pairs this picture needs.
   The number is the loudest thing on the block, because it is the answer. */
.kit-block {
  display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 28px 48px;
  align-items: center; margin-top: 20px; padding: 34px 36px;
  border: 1px solid var(--cs-sand); border-radius: 22px;
  background: linear-gradient(135deg, #fff 0%, var(--cs-linen) 100%);
}
.kit-block h2 { margin: 14px 0 12px; font-family: var(--cs-font-heading); font-size: clamp(26px, 2.6vw, 38px); font-weight: 600; line-height: 1.14; letter-spacing: -.025em }
.kit-block h2 em { font-style: normal; background: var(--cs-gradient-cta); -webkit-background-clip: text; background-clip: text; color: transparent }
.kit-desc { max-width: 520px; margin: 0; font-size: 15px; line-height: 1.75; color: var(--cs-charcoal) }
.kit-figure { display: flex; flex-direction: column; align-items: flex-end; gap: 10px; text-align: right }
.kit-number { display: flex; align-items: baseline; gap: 8px; font-family: var(--cs-font-heading); font-size: 17px; font-weight: 600; color: var(--cs-charcoal) }
.kit-number b { font-size: clamp(40px, 4.4vw, 58px); font-weight: 700; line-height: 1; color: var(--cs-orange) }
.kit-strips { font-size: 15px; font-weight: 500; color: var(--cs-charcoal); opacity: .75 }
.kit-pick { max-width: 260px; margin: 0; font-size: 15px; line-height: 1.6; color: var(--cs-charcoal) }
.kit-note { max-width: 260px; margin: 0; font-size: 13px; line-height: 1.6; color: var(--cs-charcoal); opacity: .75 }
.kit-figure [hidden] { display: none !important }

/* ── Gallery ────────────────────────────────────────────────────────── */
.product-gallery { display: grid; grid-template-columns: 53% 47%; margin-top: 18px; padding: 68px 0 78px; border-top: 1px solid var(--cs-sand); scroll-margin-top: 26px }
.gallery-photo-wrap { position: relative; align-self: center; overflow: hidden; border: 1px solid var(--cs-sand); border-radius: 10px; background: var(--cs-linen) }
.gallery-photo-button { display: block; position: relative; width: 100%; padding: 0; overflow: hidden; cursor: zoom-in }
.gallery-photo-button > img { display: block; width: 100%; height: auto; aspect-ratio: 1; object-fit: contain; transition: transform .8s var(--cs-ease) }
.gallery-photo-button:hover > img { transform: scale(1.025) }
.gallery-enlarge-icon { position: absolute; right: 22px; bottom: 22px; display: grid; place-items: center; width: 38px; height: 38px; border: 1px solid #fff; border-radius: 50%; background: rgba(255, 255, 255, .7); font-size: 20px; backdrop-filter: blur(8px) }
.gallery-photo-tag { display: block; padding: 16px 12px 20px; font-size: 10px; letter-spacing: 1.5px; text-align: center; color: var(--cs-warm-gray) }
.gallery-copy { align-self: center; padding: 22px 0 22px 13% }
.gallery-copy h2 { margin: 27px 0 19px; font-family: var(--cs-font-heading); font-size: clamp(32px, 3.4vw, 54px); font-weight: 600; line-height: 1.14; letter-spacing: -.03em }
.gallery-copy h2 em { font-style: normal; background: var(--cs-gradient-cta); -webkit-background-clip: text; background-clip: text; color: transparent }
.gallery-intro { margin: 0; font-size: 15px; line-height: 1.8; color: var(--cs-charcoal) }
.gallery-caption { min-height: 144px; margin-top: 42px; padding-top: 23px; border-top: 1px solid var(--cs-sand) }
.gallery-caption > span { font-size: 12px; letter-spacing: 1.3px; color: var(--cs-warm-gray); font-variant-numeric: tabular-nums }
.gallery-caption h3 { margin: 11px 0 8px; font-family: var(--cs-font-heading); font-size: 19px; font-weight: 600; letter-spacing: -.02em }
.gallery-caption p { max-width: 370px; margin: 0; font-size: 14px; line-height: 1.75; color: var(--cs-charcoal) }
.gallery-thumbnails { display: grid; grid-template-columns: repeat(5, 1fr); gap: 9px; margin-top: 24px }
.gallery-thumb { min-width: 0; padding: 3px; overflow: hidden; border: 1px solid var(--cs-sand); border-radius: 6px; background: var(--cs-linen); transition: border-color .2s, transform .2s }
.gallery-thumb img { display: block; width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; border-radius: 3px }
.gallery-thumb.selected { border-color: var(--cs-orange); box-shadow: 0 0 0 1px var(--cs-orange) }
.gallery-thumb:hover { border-color: var(--cs-orange); transform: translateY(-3px) }
.gallery-actions { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 26px }
.gallery-nav { display: flex; gap: 8px }
.gallery-nav button { width: 34px; height: 34px; border: 1px solid var(--cs-sand); border-radius: 50%; font-size: 18px; transition: background .2s }
.gallery-nav button:hover { background: var(--cs-accent-soft) }
.photo-enter { animation: photo-enter .55s var(--cs-ease) }
@keyframes photo-enter { from { opacity: .25; transform: scale(1.025) } to { opacity: 1; transform: none } }

footer { display: flex; align-items: center; justify-content: space-between; min-height: 63px; border-top: 1px solid var(--cs-sand); font-size: 11px; color: var(--cs-warm-gray) }
footer > span:first-child { letter-spacing: 1.6px }
footer > span:last-child { font-size: 12px }
footer i { margin-left: 12px; font-size: 16px; font-style: normal; color: var(--cs-ink) }

/* ── Dialogs ────────────────────────────────────────────────────────── */
dialog {
  width: min(640px, calc(100% - 32px)); max-height: 90svh; overflow: auto;
  padding: 48px; border: 1px solid var(--cs-sand); border-radius: 22px;
  background: var(--cs-cream); color: var(--cs-espresso);
  box-shadow: 0 30px 150px rgba(26, 23, 21, .22);
}
dialog::backdrop { background: rgba(26, 23, 21, .55); backdrop-filter: blur(8px) }
.dialog-close { position: absolute; right: 15px; top: 12px; width: 36px; height: 36px; border-radius: 50%; font-size: 27px }
.dialog-close:hover { background: var(--cs-accent-soft) }
dialog h2 { margin: 25px 0; font-family: var(--cs-font-heading); font-size: 38px; font-weight: 600; line-height: 1.15; letter-spacing: -.03em }
dialog h2 em { font-style: normal; background: var(--cs-gradient-cta); -webkit-background-clip: text; background-clip: text; color: transparent }
dialog:not(.photo-viewer) > .eyebrow { font-size: 13px; line-height: 1.45; letter-spacing: 1.45px }
dialog ol { padding-left: 20px }
dialog li { margin: 23px 0; padding-left: 8px; font-size: 16px; line-height: 1.45 }
dialog li b { font-size: 17px; font-family: var(--cs-font-heading); font-weight: 600 }
dialog li::marker { color: var(--cs-orange) }
dialog li p { margin: 8px 0; font-size: 15px; line-height: 1.7; color: var(--cs-charcoal) }
dialog .guide-footnote { margin: 20px 0; padding-top: 16px; border-top: 1px solid var(--cs-sand); font-size: 14px; line-height: 1.65; color: var(--cs-warm-gray) }

dialog.photo-viewer { width: min(880px, calc(100vw - 30px), calc(92svh - 55px)); max-height: 95svh; overflow: hidden; padding: 0; border-radius: 12px; background: var(--cs-linen) }
.photo-viewer > img { display: block; width: 100%; height: auto; aspect-ratio: 1; object-fit: contain }
.photo-viewer .dialog-close { z-index: 2; top: 12px; right: 12px; width: 35px; height: 35px; background: rgba(255, 255, 255, .8) }
.viewer-controls { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 53px; padding: 8px 13px; border-top: 1px solid var(--cs-sand); background: var(--cs-cream) }
.viewer-controls > span { font-size: 13px; color: var(--cs-charcoal) }
.viewer-controls button { flex-shrink: 0; width: 32px; height: 32px; border: 1px solid var(--cs-sand); border-radius: 50% }
.viewer-controls button:hover { background: var(--cs-accent-soft) }

/* ── Responsive ─────────────────────────────────────────────────────── */
@media (min-width: 1600px) {
  .site-shell { padding: 0 70px }
  .intro { padding-top: 60px }
  #description { font-size: 19px }
  .scene-note, .floating-label { font-size: 17px }
  .chapter b { font-size: 17px }
  .chapter small { font-size: 14px }
}

@media (max-width: 1100px) {
  .site-shell { padding: 0 32px }
  .presentation { grid-template-columns: 45% 55%; min-height: 570px }
  h1 { font-size: 47px }
  .header-category { display: none }
  .chapter-icon { display: none }
  .chapters { gap: 12px }
  .chapter-content { gap: 7px }
  .floating-label { font-size: 11px }
  .label-one { left: 1%; top: 28% }
  .label-two { right: 1% }
  .benefits { gap: 16px; font-size: 13px }
  .visual { margin-right: -10px }
  .scene-topline, .scene-bottomline { left: 19px; right: 15px }
  .copy { min-height: 310px }
  .gallery-copy { padding-left: 9% }
  .gallery-copy h2 { font-size: 40px }
  .gallery-caption { margin-top: 25px }
  .gallery-thumbnails { gap: 6px }
  .product-gallery { padding: 48px 0 58px }
  .kit-block { padding: 28px }
}

@media (max-width: 760px) {
  .site-shell { padding: 0 22px }
  .header { height: 72px }
  .wordmark { font-size: 11px; letter-spacing: 1px }
  .mark { margin-right: 9px; gap: 3px }
  .mark i { width: 7px; height: 19px }
  .header-actions { gap: 10px }
  .cs-atc--sm .cs-atc-label { display: none }
  .cs-atc--sm .cs-atc-price { padding-left: 0; margin-left: 0; border-left: 0 }
  .presentation { height: auto; min-height: 0; grid-template-columns: 1fr }
  .intro { display: block; padding: 29px 0 0 }
  .eyebrow { font-size: 9px; letter-spacing: 1.2px }
  .copy { display: block; min-height: 0; margin: 0 0 22px }
  .chapter-kicker { margin: 25px 0 13px; font-size: 9px; letter-spacing: 1.5px }
  h1 { max-width: 550px; font-size: clamp(34px, 8.4vw, 52px); letter-spacing: -.025em }
  #description { max-width: 470px; margin-top: 15px; font-size: 15px; line-height: 1.7; min-height: 44px }
  .primary-actions { gap: 7px; width: 100% }
  /* One nowrap row of three: without min-width:0 the two labelled buttons
     cannot shrink below their content and the row pushes the restart circle
     past the gutter (German did, by 2px). */
  .guide-button, .primary-button { flex: 0 1 auto; min-width: 0 }
  .primary-button { min-height: 50px; padding: 15px 18px; font-size: 12px }
  .guide-button { gap: 6px; padding: 10px 12px 10px 9px; font-size: 12px }
  .guide-button .guide-icon { min-width: 27px; height: 27px; font-size: 11px }
  .guide-arrow { font-size: 18px }
  .restart-button { width: 40px; height: 40px }
  .addon-actions { margin-top: 9px }
  .addon-button { width: 100%; min-height: 48px; padding: 13px 16px; font-size: 13px }
  .gallery-actions { flex-wrap: wrap }
  .gallery-actions .addon-button { flex: 1 1 100%; padding: 13px 16px }
  .benefits { flex-wrap: wrap; gap: 18px; margin-top: 19px; font-size: 12px }
  .visual { height: 440px; margin: 3px -12px 5px }
  .scene-topline { top: 22px }
  .scene-topline, .scene-bottomline { font-size: 11px }
  .scene-bottomline { bottom: 6px }
  .scene-note { bottom: 46px; padding: 10px 14px; font-size: 13px }
  .label-one { left: 2%; top: 32% }
  .label-one, .label-two { font-size: 10px }
  .label-two { right: 1%; bottom: 26% }
  .action-badge { width: 72px; height: 72px; top: 23%; right: 12%; font-size: 13px }
  .story-player { padding-top: 18px }
  .chapters { grid-template-columns: repeat(3, 1fr); gap: 15px 14px }
  .chapter-content { gap: 7px; padding: 10px 1px 0 }
  /* Three columns on a phone are about 105px wide; a title and a subtitle that
     refuse to wrap simply run out of the column and past the page gutter. They
     wrap here, and the column carries however many lines the language needs. */
  .chapter-content > span { min-width: 0 }
  .chapter b, .chapter small { white-space: normal; overflow-wrap: anywhere }
  /* Once a subtitle may take two lines the three columns of a row stop being
     the same height, and a <button> centres its content in whatever height the
     grid gives it - which floated the shorter chapters' rules off the taller
     one's. An explicit column keeps every rule on the row's top edge. */
  .chapter { display: flex; flex-direction: column; align-items: stretch }
  .chapter b { font-size: 14px }
  .chapter small { font-size: 11px }
  .chapter-number { font-size: 11px }
  .chapter-icon { display: block; font-size: 17px }
  #scrubber { margin-top: 18px }
  .kit-block { grid-template-columns: 1fr; gap: 20px; padding: 24px 22px }
  .kit-figure { align-items: flex-start; text-align: left }
  .kit-note, .kit-pick { max-width: none; text-align: left }
  .cs-atc--lg { width: 100% }
  .product-gallery { grid-template-columns: 1fr; gap: 26px; margin-top: 8px; padding: 28px 0 38px }
  .gallery-copy { padding: 0 }
  .gallery-copy h2 { margin: 22px 0 16px; font-size: 36px }
  .gallery-intro { font-size: 14px }
  .gallery-caption { min-height: 130px; margin-top: 24px; padding-top: 20px }
  .gallery-caption h3 { font-size: 17px }
  .gallery-caption p { font-size: 13px }
  .gallery-thumbnails { gap: 9px }
  .gallery-actions { flex-wrap: wrap }
  footer { min-height: 60px; gap: 16px; font-size: 10px }
  footer > span:first-child { letter-spacing: 1px }
  footer > span:last-child { max-width: 160px; font-size: 11px; text-align: right }
  footer i { margin-left: 4px }
  dialog { padding: 34px 24px }
  dialog h2 { font-size: 32px }
}

@media (max-width: 520px) {
  /* Three chapter columns plus an icon each do not fit a phone; the icons are
     decoration, the numbers are the wayfinding. */
  .chapter-icon { display: none }
  /* Same trade in the button row: the arrow is decoration, the label is not,
     and the 24px it gives back is what keeps the label off a second line. */
  .guide-arrow { display: none }
  .cs-atc--lg { padding: 18px 22px; font-size: 1rem }
  .guide-button { font-size: 11px }
  .button-time { display: none }
  .primary-button { gap: 8px; font-size: 11px }
  .restart-button { flex: 0 0 38px; width: 38px; height: 38px }
  dialog:not(.photo-viewer) > .eyebrow { font-size: 12px }
  dialog li { margin: 20px 0; font-size: 15px }
  dialog li b { font-size: 16px }
  dialog li p { font-size: 14px }
  dialog .guide-footnote { font-size: 13px }
}

@media (max-width: 380px) {
  .site-shell { padding: 0 17px }
  .visual { height: 385px }
  .scene-note { font-size: 11px }
  .label-one { top: 29% }
  .label-two { bottom: 25% }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important }
}
