/* ==========================================================================
   PERSISTENT HEADER
   ========================================================================== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 60px;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 clamp(1.25rem, 4vw, 3.5rem);
  background: rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  transition: background 0.35s ease, border-color 0.35s ease, color 0.35s ease;
}

.site-header.theme-ivory {
  background: rgba(245, 242, 235, 0.88);
  border-bottom: 1px solid var(--border-ivory);
  color: var(--text-dark);
}

.brand-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand-badge {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 4px 9px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.08);
  color: var(--copper-bright);
  border: 1px solid var(--copper-subtle);
}

.site-header.theme-ivory .brand-badge {
  background: rgba(24, 23, 22, 0.06);
  color: var(--copper-primary);
  border-color: rgba(209, 118, 70, 0.3);
}

.brand-title {
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  white-space: nowrap;
}

@media (max-width: 600px) {
  .brand-title {
    display: none;
  }
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.header-btn {
  font-size: 0.84rem;
  font-weight: 500;
  padding: 7px 18px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  color: var(--text-pure);
  border: 1px solid rgba(255, 255, 255, 0.15);
  transition: all 0.25s ease;
  white-space: nowrap;
}

.header-btn:hover {
  background: var(--copper-primary);
  border-color: var(--copper-primary);
  color: #FFFFFF;
  box-shadow: 0 4px 16px var(--copper-glow);
}

.site-header.theme-ivory .header-btn {
  background: var(--text-dark);
  border-color: var(--text-dark);
  color: var(--bg-ivory);
}

.site-header.theme-ivory .header-btn:hover {
  background: var(--copper-primary);
  border-color: var(--copper-primary);
  color: #FFFFFF;
}

/* Language switcher (TH / EN / 中文) */
.lang-switch {
  display: flex;
  align-items: center;
  gap: 2px;
}

.lang-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 32px;
  min-height: 32px;
  padding: 0 6px;
  border-radius: 6px;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: rgba(255, 255, 255, 0.6);
  transition: color 0.2s ease, background 0.2s ease;
  white-space: nowrap;
}

.lang-link:hover {
  color: #FFFFFF;
  background: rgba(255, 255, 255, 0.08);
}

.lang-link[aria-current="true"] {
  color: var(--copper-bright);
  font-weight: 700;
}

.lang-link:focus-visible {
  outline: 2px solid var(--copper-bright);
  outline-offset: 2px;
}

.site-header.theme-ivory .lang-link {
  color: rgba(24, 23, 22, 0.55);
}

.site-header.theme-ivory .lang-link:hover {
  color: var(--text-dark);
  background: rgba(24, 23, 22, 0.06);
}

.site-header.theme-ivory .lang-link[aria-current="true"] {
  color: var(--copper-primary);
}

/* Narrow phones: badge + switcher + CTA must share one 60px row. */
@media (max-width: 400px) {
  .nav-actions {
    gap: 8px;
  }

  .lang-link {
    min-width: 28px;
    padding: 0 4px;
    font-size: 0.74rem;
  }

  .header-btn {
    padding: 7px 12px;
  }
}

/* ==========================================================================
   SCROLL STORY TRACK & PINNED STAGE
   ========================================================================== */
.story-track {
  position: relative;
  height: 1800vh;
  height: 1800svh;
  background-color: var(--bg-pure);
}

.story-stage {
  position: sticky;
  top: 0;
  width: 100%;
  height: 100svh;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--bg-pure);
  contain: layout paint;
}

/* Deep Brown Background Layer for Scene 5 (no ivory inside pinned stage) */
.stage-scene5-bg {
  position: absolute;
  inset: 0;
  background: var(--bg-scene5);
  opacity: 0;
  pointer-events: none;
  z-index: 1;
  will-change: opacity;
  transition: opacity 0.2s ease;
}

/* ==========================================================================
   HUGE TYPOGRAPHIC BACKDROP (SCENE 1: ศรัทธา / ที่มองเห็น)
   ========================================================================== */
.s1-huge-type {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  max-width: 1440px;
  padding: 0 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  pointer-events: none;
  z-index: 3;
  user-select: none;
  will-change: transform, opacity;
}

.huge-word {
  font-size: clamp(4.5rem, 13vw, 13rem);
  font-weight: 700;
  line-height: 0.95;
  letter-spacing: -0.03em;
  color: #FFFFFF;
  white-space: nowrap;
  opacity: 1;
  will-change: transform, opacity;
}

.huge-left {
  text-align: left;
}

.huge-right {
  text-align: right;
}

/* ==========================================================================
   ARTIFACT STAGE & 3D PERSPECTIVE FLIPPER
   ========================================================================== */
.artifact-stage {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  perspective: 1400px;
  z-index: 10;
  pointer-events: none;
}

.coin-rig {
  position: relative;
  width: min(72vh, min(80vw, 540px));
  height: min(72vh, min(80vw, 540px));
  transform-style: preserve-3d;
  will-change: transform, filter;
  display: flex;
  align-items: center;
  justify-content: center;
}

.coin-flipper {
  position: absolute;
  width: 100%;
  height: 100%;
  transform-style: preserve-3d;
  transform: rotateY(-8deg) rotateX(3deg);
  will-change: transform;
}

.coin-face {
  position: absolute;
  inset: 0;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
}

.coin-face-front {
  transform: rotateY(0deg);
}

.coin-face-back {
  transform: rotateY(180deg);
}

/* Exact elliptical mask directly from V1 to eliminate black rectangle borders */
.coin-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  -webkit-mask-image: radial-gradient(ellipse 46% 56% at 50% 50%, #000000 68%, rgba(0, 0, 0, 0.95) 83%, transparent 100%);
  mask-image: radial-gradient(ellipse 46% 56% at 50% 50%, #000000 68%, rgba(0, 0, 0, 0.95) 83%, transparent 100%);
}

/* Specular Light Sweep Overlay */
.specular-sheen {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: linear-gradient(
    115deg,
    transparent 30%,
    rgba(255, 230, 200, 0.45) 50%,
    transparent 70%
  );
  opacity: 0;
  pointer-events: none;
  mix-blend-mode: overlay;
  will-change: opacity;
}

/* Scene 5 Framed Stand Artifact */
.framed-rig {
  position: absolute;
  width: min(74vh, min(84vw, 540px));
  height: min(74vh, min(84vw, 540px));
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transform: scale(0.92);
  will-change: opacity, transform;
  z-index: 12;
}

.framed-plinth {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-scene5);
  border-radius: 16px;
}

/* Fades outer photo square edges into deep brown #180d0d without clipping actual stand */
.framed-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  -webkit-mask-image: radial-gradient(ellipse 90% 92% at 50% 50%, #000000 78%, rgba(0, 0, 0, 0.85) 88%, transparent 100%);
  mask-image: radial-gradient(ellipse 90% 92% at 50% 50%, #000000 78%, rgba(0, 0, 0, 0.85) 88%, transparent 100%);
}

/* Scene 4 Creator Portrait Artifact (Acharn Lak Grand Reveal) */
.portrait-rig {
  position: absolute;
  width: min(58vh, min(68vw, 450px));
  height: min(58vh, min(68vw, 450px));
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translate3d(-20vw, 0, 0) scale(0.94);
  will-change: opacity, transform;
  z-index: 11;
}

.portrait-halo {
  position: absolute;
  inset: -14%;
  pointer-events: none;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 0;
  will-change: transform;
}

.halo-glow {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(209, 118, 70, 0.28) 0%, rgba(209, 118, 70, 0.09) 48%, transparent 72%);
}

.halo-ring {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}

.halo-ring-1 {
  inset: 5%;
  border: 1px solid rgba(209, 118, 70, 0.38);
}

.halo-ring-2 {
  inset: -5%;
  border: 1px dashed rgba(209, 118, 70, 0.20);
}

.portrait-year-bg {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-family: var(--font-serif);
  font-size: clamp(6.5rem, 16vw, 13rem);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--copper-bright);
  opacity: 0.16;
  pointer-events: none;
  z-index: 1;
  user-select: none;
  white-space: nowrap;
}

.portrait-frame {
  position: relative;
  z-index: 2;
  width: 110%;
  height: 135%;
  border-radius: 0;
  overflow: visible;
  border: 0;
  box-shadow: none;
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
}

.portrait-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: 50% 50%;
  -webkit-mask-image: linear-gradient(to bottom, #000000 75%, rgba(0, 0, 0, 0.85) 88%, transparent 100%);
  mask-image: linear-gradient(to bottom, #000000 75%, rgba(0, 0, 0, 0.85) 88%, transparent 100%);
}

/* Two story beats share one frame box (full head, no crop): creator front portrait, then prayer portrait */
.portrait-frame {
  transform: translate3d(calc(var(--px, 0) * 6px), calc(var(--py, 0) * 4px), 0);
}

.portrait-layer {
  position: absolute;
  inset: 0;
  will-change: opacity;
}

.portrait-layer-prayer {
  opacity: 0;
}

/* One-shot glint across the figure only (masked by the same cutout alpha), triggered when a beat settles */
.portrait-sheen {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  mix-blend-mode: screen;
  -webkit-mask-size: contain;
  mask-size: contain;
  -webkit-mask-position: 50% 50%;
  mask-position: 50% 50%;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
}

.portrait-layer-front .portrait-sheen {
  -webkit-mask-image: url("assets/acharn-lak-front.png");
  mask-image: url("assets/acharn-lak-front.png");
}

.portrait-layer-prayer .portrait-sheen {
  -webkit-mask-image: url("assets/acharn-lak.png");
  mask-image: url("assets/acharn-lak.png");
}

.sheen-band {
  position: absolute;
  top: -10%;
  left: 0;
  width: 45%;
  height: 120%;
  background: linear-gradient(105deg, transparent 0%, rgba(255, 226, 180, 0) 22%, rgba(255, 234, 200, 0.30) 50%, rgba(255, 226, 180, 0) 78%, transparent 100%);
  transform: translate3d(-130%, 0, 0);
  will-change: transform;
}

/* Volumetric golden rays + top beam behind the portrait (decorative, below the figure) */
.portrait-rays {
  position: absolute;
  inset: -55%;
  z-index: 0;
  pointer-events: none;
  background:
    repeating-conic-gradient(from 0deg at 50% 40%, rgba(255, 214, 150, 0) 0deg, rgba(255, 214, 150, 0.13) 2.2deg, rgba(255, 214, 150, 0) 5deg, rgba(255, 214, 150, 0) 11deg),
    repeating-conic-gradient(from 3deg at 50% 40%, rgba(231, 145, 99, 0) 0deg, rgba(231, 145, 99, 0.09) 3.5deg, rgba(231, 145, 99, 0) 8deg, rgba(231, 145, 99, 0) 17deg);
  -webkit-mask-image: radial-gradient(circle at 50% 40%, transparent 10%, #000000 24%, rgba(0, 0, 0, 0.45) 46%, transparent 68%);
  mask-image: radial-gradient(circle at 50% 40%, transparent 10%, #000000 24%, rgba(0, 0, 0, 0.45) 46%, transparent 68%);
  opacity: var(--ray-op, 0);
  transform: translate3d(calc(var(--px, 0) * -14px), calc(var(--py, 0) * -10px), 0) rotate(var(--ray-rot, 0deg));
  will-change: transform, opacity;
}

.portrait-beam {
  position: absolute;
  left: 50%;
  top: -120%;
  width: 90%;
  height: 190%;
  margin-left: -45%;
  z-index: 0;
  pointer-events: none;
  background: linear-gradient(to bottom, rgba(255, 222, 165, 0.20) 0%, rgba(255, 204, 140, 0.08) 55%, transparent 85%);
  clip-path: polygon(40% 0, 60% 0, 100% 100%, 0 100%);
  filter: blur(18px);
  opacity: calc(var(--ray-op, 0) * 0.85);
  transform: translate3d(calc(var(--px, 0) * -8px), 0, 0);
  will-change: transform, opacity;
}

/* Stage-wide light: celestial top glow, scroll-driven sweep, desktop pointer light, gold dust canvas */
.stage-fx {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  overflow: hidden;
}

.stage-aura {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 70% 55% at 50% -8%, rgba(231, 160, 99, 0.16) 0%, rgba(209, 118, 70, 0.05) 45%, transparent 75%);
  opacity: 0.5;
  will-change: opacity;
}

.stage-sweep {
  position: absolute;
  top: -20%;
  left: 50%;
  width: 46vw;
  height: 140%;
  margin-left: -23vw;
  background: linear-gradient(90deg, transparent 0%, rgba(255, 214, 160, 0.05) 35%, rgba(255, 232, 190, 0.09) 50%, rgba(255, 214, 160, 0.05) 65%, transparent 100%);
  transform: translate3d(-80vw, 0, 0) skewX(-14deg);
  will-change: transform;
}

.stage-pointer-light {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 70vmax;
  height: 70vmax;
  margin: -35vmax 0 0 -35vmax;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(231, 160, 99, 0.10) 0%, rgba(209, 118, 70, 0.04) 35%, transparent 65%);
  opacity: 0;
  will-change: transform, opacity;
}

.gold-dust {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
  pointer-events: none;
}

/* Story sub-beats: overlap in one grid cell per scene and crossfade sequentially on dampedProgress */
.s4-beats,
.story-beats {
  display: grid;
  align-items: center;
}

.s4-beat,
.story-beat {
  grid-area: 1 / 1;
  will-change: opacity, transform;
}

/* JS-active motion mode: later beats start hidden (no-JS / reduced motion override to visible) */
.js-active .story-beat.is-later {
  opacity: 0;
  visibility: hidden;
}

.beat-em {
  color: var(--copper-bright);
  font-weight: 500;
  white-space: nowrap;
}

.beat-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 44px;
  margin-top: 0.6rem;
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--copper-bright);
  border-bottom: 1px solid rgba(231, 145, 99, 0.4);
  pointer-events: auto;
}

.beat-link::after {
  content: "\2197";
  font-size: 0.85em;
}

.beat-link:hover {
  color: #FFFFFF;
}

/* Per-beat purchase path: one compact gold text link to #options (native anchor, works without JS) */
.beat-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  margin-top: 1rem;
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  color: var(--copper-bright);
  border-bottom: 1px solid rgba(231, 145, 99, 0.45);
  pointer-events: auto;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.beat-cta::after {
  content: "\2192";
  transition: transform 0.25s var(--ease-out);
}

.beat-cta:hover {
  color: #FFFFFF;
  border-color: var(--copper-bright);
}

.beat-cta:hover::after {
  transform: translateX(4px);
}

/* Handover beat: purchase link first, article source link visually secondary on the same row */
.beat-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0 1.25rem;
  margin-top: 1rem;
}

.scene-body .beat-actions a {
  margin-top: 0;
}

.beat-link.beat-source {
  font-size: 0.8rem;
  font-weight: 400;
  color: var(--text-dim);
  border-bottom-color: rgba(156, 152, 144, 0.35);
}

.beat-link.beat-source:hover {
  color: var(--text-light);
}

/* Hero: CTA sits inline at the end of the spec/price row (desktop); own line on mobile */
.s1-meta-row .s1-cta {
  margin-top: 0;
}

.static-caption {
  display: none;
  font-size: 0.8rem;
  color: var(--text-dim);
  margin: -0.5rem 0 1rem;
}

.scene-col-right,
.scene-col-left,
.s5-wrap {
  text-wrap: pretty;
}

@media (min-width: 901px) {
  .story-beat .headline:not(.s4-huge-heading),
  .scene-5 .headline {
    font-size: clamp(2rem, 3.1vw, 2.9rem);
    text-wrap: balance;
  }

  .story-beat .lead-copy,
  .scene-5 .lead-copy {
    max-width: 470px;
    font-size: clamp(1rem, 1.2vw, 1.12rem);
  }

  .scene-col-right,
  .scene-col-left,
  .s5-wrap {
    max-width: 480px;
  }
}

.s4-faith-headline {
  margin-bottom: 0.6rem;
}

/* ==========================================================================
   EDITORIAL SCENE OVERLAYS (SCENE 1 TO 5)
   ========================================================================== */
.scene-layers {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 20;
}

.scene-pane {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 0 clamp(1.5rem, 6vw, 6rem);
  opacity: 0;
  pointer-events: none;
  will-change: opacity, transform;
}

.scene-pane.interactive {
  pointer-events: auto;
}

/* Typography & Core Copy Hierarchy */
.kicker {
  display: inline-block;
  font-size: 0.84rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--copper-bright);
  margin-bottom: 0.8rem;
}

.headline {
  font-size: clamp(2.4rem, 4.4vw, 3.8rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--text-pure);
  margin-bottom: 1.25rem;
}

.lead-copy {
  font-size: clamp(1.05rem, 1.35vw, 1.25rem);
  font-weight: 300;
  line-height: 1.7;
  color: var(--text-dim);
  max-width: 460px;
}

/* Scene 1 Layout */
.scene-1 {
  align-items: center;
  text-align: center;
  justify-content: space-between;
  padding: clamp(90px, 12vh, 105px) 2rem clamp(65px, 9vh, 80px) 2rem;
}

.s1-top-block {
  max-width: 680px;
}

.s1-title {
  font-size: clamp(2.4rem, 5.2vw, 4.4rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--text-pure);
  margin-bottom: 0.35rem;
}

.s1-edition {
  font-size: clamp(1.05rem, 1.8vw, 1.35rem);
  font-weight: 500;
  color: var(--copper-bright);
  margin-bottom: 0.25rem;
}

.s1-meta {
  font-size: clamp(0.9rem, 1.4vw, 1.05rem);
  font-weight: 400;
  color: var(--text-dim);
}

.s1-bottom-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.1rem;
}

.s1-meta-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

.s1-meta-sep {
  color: var(--copper-bright);
  opacity: 0.6;
}

.s1-price-tag {
  font-size: 1rem;
  font-weight: 500;
  color: var(--text-dim);
}

.s1-price-tag strong {
  color: var(--copper-bright);
  font-weight: 600;
}

.s1-scroll-cue {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.5);
  text-transform: uppercase;
}

.scroll-cue-line {
  width: 1.5px;
  height: 32px;
  background: linear-gradient(180deg, var(--copper-bright) 0%, transparent 100%);
  animation: cuePulse 2s ease-in-out infinite;
}

@keyframes cuePulse {
  0%, 100% { transform: scaleY(0.4); opacity: 0.3; transform-origin: top; }
  50% { transform: scaleY(1); opacity: 1; transform-origin: top; }
}

/* Presenter hero (scene 1): eyebrow, slogan H1, subtitle, real presenter photo, belief note.
   Layout per mode lives in "PRESENTER HERO LAYOUT" below; these are the shared looks. */
.s1-eyebrow {
  display: inline-block;
  font-size: 0.84rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--copper-bright);
  margin-bottom: 0.7rem;
}

/* Keeps a phrase of the hero H1 on one line, so it breaks only between phrases */
.s1-keep {
  display: inline-block;
  white-space: nowrap;
}

.s1-subtitle {
  max-width: 34em;
  margin: 0.6rem auto 0;
  font-size: clamp(1rem, 1.3vw, 1.15rem);
  font-weight: 300;
  line-height: 1.6;
  color: var(--text-light);
  text-wrap: pretty;
}

.s1-presenter {
  margin: 0;
}

.s1-presenter-img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 16px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.55), 0 0 0 1px rgba(231, 145, 99, 0.25);
}

/* Personal-belief note, kept beside the hero at a readable size */
.s1-belief {
  font-size: 0.88rem;
  line-height: 1.5;
  color: var(--text-light);
}

.s1-story-link {
  margin-top: 0;
}

/* Scene 2 & 4 Desktop Columns (Right side: text at ~65%) */
.scene-2, .scene-4 {
  align-items: flex-start;
  justify-content: center;
}

.scene-col-right {
  margin-left: 56vw;
  max-width: 440px;
  text-align: left;
}

/* Scene 3 Desktop Column (Left side: text at ~8%) */
.scene-3 {
  align-items: flex-start;
  justify-content: center;
}

.scene-col-left {
  margin-left: 8vw;
  margin-right: auto;
  max-width: 440px;
  text-align: left;
}

/* Scene 4 Specific Typography */
.s4-huge-heading {
  font-family: var(--font-serif);
  font-size: clamp(3.6rem, 7vw, 5.8rem);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--text-pure);
  margin-bottom: 0.4rem;
}

.s4-subtitle {
  font-size: clamp(1.15rem, 1.6vw, 1.4rem);
  font-weight: 600;
  color: var(--copper-bright);
  margin-bottom: 0.85rem;
}

/* Scene 5 Finale Layout (Deep Brown #180d0d & White Text) */
.scene-5 {
  align-items: flex-start;
  justify-content: center;
}

.s5-wrap {
  margin-left: 56vw;
  max-width: 440px;
  text-align: left;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.scene-5 .kicker {
  color: var(--copper-bright);
}

.scene-5 .headline {
  color: var(--text-pure);
}

.scene-5 .lead-copy {
  color: var(--text-dim);
  margin-bottom: 1.75rem;
}

.btn-goto-options {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 0.94rem;
  font-weight: 600;
  padding: 12px 28px;
  min-height: 48px;
  border-radius: 999px;
  background: var(--copper-primary);
  color: #FFFFFF;
  transition: all 0.25s ease;
  box-shadow: 0 4px 18px var(--copper-glow);
}

.btn-goto-options:hover {
  background: var(--copper-bright);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px var(--copper-glow);
}

/* Static Media (Hidden during interactive motion, visible in fallback) */
.static-scene-media {
  display: none;
}

/* ==========================================================================
   BOTTOM TIMELINE RULER & CHAPTER CONTROLS
   ========================================================================== */
.timeline-bar {
  position: absolute;
  bottom: clamp(16px, 2.5vh, 24px);
  left: 50%;
  transform: translateX(-50%);
  width: min(92vw, 760px);
  z-index: 50;
  display: flex;
  flex-direction: column;
  gap: 10px;
  pointer-events: auto;
}

.timeline-track-line {
  position: relative;
  width: 100%;
  height: 2px;
  background: rgba(255, 255, 255, 0.12);
  border-radius: 2px;
  overflow: hidden;
}

.timeline-scrubber {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 0%;
  background: var(--copper-bright);
  border-radius: 2px;
  will-change: width;
}

.timeline-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.chapter-tab {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.76rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: rgba(255, 255, 255, 0.45);
  padding: 6px 10px;
  border-radius: 6px;
  transition: all 0.2s ease;
}

.chapter-tab:hover {
  color: rgba(255, 255, 255, 0.85);
  background: rgba(255, 255, 255, 0.05);
}

.chapter-tab.active {
  color: var(--copper-bright);
  font-weight: 600;
}

.tab-index {
  font-size: 0.68rem;
  opacity: 0.7;
}

/* ==========================================================================
   STORY JOURNEY (NORMAL FLOW, DARK): alternating photo / type chapters
   Visible by default; .journey-reveal-ready (JS, motion allowed) enables reveal
   ========================================================================== */
.journey {
  position: relative;
  z-index: 30;
  background:
    radial-gradient(ellipse 60% 40% at 50% 0%, rgba(209, 118, 70, 0.10) 0%, transparent 70%),
    #000000;
  color: var(--text-light);
  padding: clamp(5rem, 11vw, 9rem) clamp(1.25rem, 5vw, 4rem) clamp(4rem, 8vw, 7rem);
  overflow: hidden;
}

/* Static, very faint gold dust texture (CSS only, decorative) */
.journey-dust {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.5;
  background-image:
    radial-gradient(1.2px 1.2px at 12% 18%, rgba(255, 222, 165, 0.55), transparent 60%),
    radial-gradient(1px 1px at 78% 9%, rgba(255, 222, 165, 0.45), transparent 60%),
    radial-gradient(1.4px 1.4px at 64% 34%, rgba(255, 210, 150, 0.40), transparent 60%),
    radial-gradient(1px 1px at 24% 52%, rgba(255, 222, 165, 0.35), transparent 60%),
    radial-gradient(1.2px 1.2px at 88% 61%, rgba(255, 222, 165, 0.45), transparent 60%),
    radial-gradient(1px 1px at 40% 77%, rgba(255, 210, 150, 0.40), transparent 60%),
    radial-gradient(1.3px 1.3px at 8% 88%, rgba(255, 222, 165, 0.40), transparent 60%),
    radial-gradient(1px 1px at 70% 94%, rgba(255, 222, 165, 0.35), transparent 60%);
}

.journey-intro {
  position: relative;
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
}

.journey-eyebrow,
.journey-kicker {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  color: var(--copper-bright);
}

.journey-heading {
  font-family: var(--font-serif);
  font-size: clamp(2.2rem, 5vw, 4rem);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.01em;
  color: var(--text-pure);
  margin: 0.9rem 0 1.6rem;
}

.journey-line {
  position: relative;
  display: block;
  width: 120px;
  height: 1px;
  margin: 0 auto;
  overflow: hidden;
  background: linear-gradient(90deg, transparent, rgba(231, 145, 99, 0.85), transparent);
  transform-origin: 50% 50%;
}

.journey-chapter {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(2rem, 6vw, 6rem);
  align-items: center;
  max-width: 1140px;
  margin: 0 auto;
  padding: clamp(4.5rem, 10vw, 8.5rem) 0;
}

/* Gold hairline between chapters */
.journey-chapter::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  width: min(220px, 40%);
  height: 1px;
  transform: translateX(-50%);
  background: linear-gradient(90deg, transparent, rgba(209, 118, 70, 0.55), transparent);
}

.journey-chapter.is-reverse .journey-media {
  order: 2;
}

.journey-chapter.is-type-only {
  grid-template-columns: minmax(0, 1fr);
  max-width: 720px;
  text-align: center;
}

.journey-chapter.is-type-only .journey-copy p {
  margin-left: auto;
  margin-right: auto;
}

.journey-media {
  position: relative;
  margin: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-width: 0;
}

/* Warm halo behind every photograph */
.journey-media::before {
  content: "";
  position: absolute;
  inset: 4%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(209, 118, 70, 0.20) 0%, rgba(209, 118, 70, 0.06) 45%, transparent 70%);
  pointer-events: none;
}

.journey-media img {
  position: relative;
  width: 100%;
  max-width: 460px;
  height: auto;
}

.journey-media-coin img {
  -webkit-mask-image: radial-gradient(ellipse 46% 56% at 50% 50%, #000000 68%, rgba(0, 0, 0, 0.95) 83%, transparent 100%);
  mask-image: radial-gradient(ellipse 46% 56% at 50% 50%, #000000 68%, rgba(0, 0, 0, 0.95) 83%, transparent 100%);
}

.journey-media-soft img,
.journey-media-framed img {
  -webkit-mask-image: radial-gradient(ellipse 72% 72% at 50% 50%, #000000 62%, transparent 100%);
  mask-image: radial-gradient(ellipse 72% 72% at 50% 50%, #000000 62%, transparent 100%);
}

.journey-media-portrait img {
  max-width: 400px;
  -webkit-mask-image: linear-gradient(to bottom, #000000 75%, transparent 100%);
  mask-image: linear-gradient(to bottom, #000000 75%, transparent 100%);
}

.journey-media figcaption {
  position: relative;
  margin-top: 0.75rem;
  font-size: 0.78rem;
  color: var(--text-dim);
  text-align: center;
}

.journey-text {
  position: relative;
  min-width: 0;
}

.journey-num {
  display: block;
  font-family: var(--font-serif);
  font-size: clamp(2.6rem, 5vw, 3.6rem);
  font-weight: 600;
  line-height: 1;
  color: var(--copper-bright);
  opacity: 0.35;
  margin-bottom: 0.6rem;
}

.journey-kicker {
  margin-bottom: 0.5rem;
}

.journey-title {
  font-family: var(--font-serif);
  font-size: clamp(1.75rem, 3.2vw, 2.6rem);
  font-weight: 700;
  line-height: 1.3;
  color: var(--text-pure);
  margin-bottom: 1.4rem;
}

.journey-copy p {
  font-size: clamp(1rem, 1.25vw, 1.1rem);
  font-weight: 300;
  line-height: 1.85;
  color: #C9C4BA;
  max-width: 520px;
}

.journey-copy p + p {
  margin-top: 1rem;
}

.journey-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 2rem;
  margin-top: 1.75rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(209, 118, 70, 0.25);
}

.journey-facts dt {
  font-size: 0.74rem;
  letter-spacing: 0.1em;
  color: var(--text-dim);
}

.journey-facts dd {
  font-size: 1rem;
  font-weight: 600;
  color: var(--copper-bright);
}

.journey-facts small {
  font-size: 0.74rem;
  font-weight: 400;
  color: var(--text-dim);
}

.journey-stars {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem 1.5rem;
  margin: 1.5rem 0;
  max-width: 520px;
}

.journey-stars li {
  padding-left: 0.9rem;
  border-left: 1px solid rgba(209, 118, 70, 0.45);
}

.journey-stars strong {
  display: block;
  font-size: 0.98rem;
  font-weight: 600;
  color: var(--text-pure);
  margin-bottom: 0.2rem;
}

.journey-stars span {
  display: block;
  font-size: 0.86rem;
  line-height: 1.6;
  color: var(--text-dim);
}

.journey-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 1.5rem;
  min-height: 44px;
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--copper-bright);
  border-bottom: 1px solid rgba(231, 145, 99, 0.4);
  transition: color 0.2s ease, border-color 0.2s ease;
}

.journey-link::after {
  content: "\2197";
  font-size: 0.85em;
}

.journey-link:hover {
  color: #FFFFFF;
  border-color: var(--copper-bright);
}

.journey-text .btn-goto-options {
  margin-top: 1.75rem;
}

.journey-sources {
  position: relative;
  max-width: 760px;
  margin: clamp(2rem, 5vw, 4rem) auto 0;
  padding: clamp(1.5rem, 3vw, 2.25rem);
  border: 1px solid rgba(209, 118, 70, 0.22);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.02);
}

.journey-sources-title {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-pure);
  margin-bottom: 1rem;
}

.journey-sources ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.journey-sources li a {
  display: inline-block;
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--copper-bright);
  border-bottom: 1px solid rgba(231, 145, 99, 0.3);
  overflow-wrap: anywhere;
}

.journey-sources li a:hover {
  color: #FFFFFF;
}

.journey-sources li span {
  display: block;
  font-size: 0.82rem;
  line-height: 1.55;
  color: var(--text-dim);
  margin-top: 0.15rem;
}

.journey-sources-note {
  margin-top: 1.1rem;
  font-size: 0.78rem;
  color: #8C8982;
}

/* Restrained reveal (only when JS opted in and motion allowed) */
.journey-reveal-ready [data-reveal] {
  opacity: 0;
  transform: translate3d(0, 28px, 0);
  transition: opacity 1.1s var(--ease-out), transform 1.1s var(--ease-out);
}

.journey-reveal-ready [data-reveal].is-in {
  opacity: 1;
  transform: none;
}

.journey-reveal-ready [data-reveal] .journey-media img {
  transform: scale(0.96);
  transition: transform 1.6s var(--ease-out);
}

.journey-reveal-ready [data-reveal].is-in .journey-media img {
  transform: none;
}

.journey-reveal-ready [data-reveal]::before,
.journey-reveal-ready [data-reveal] .journey-line {
  transform: translateX(-50%) scaleX(0);
  transition: transform 1.4s var(--ease-out) 0.2s;
}

.journey-reveal-ready [data-reveal] .journey-line {
  transform: scaleX(0);
}

.journey-reveal-ready [data-reveal].is-in::before {
  transform: translateX(-50%) scaleX(1);
}

.journey-reveal-ready [data-reveal].is-in .journey-line {
  transform: scaleX(1);
}

/* One-shot glint travelling along the revealed gold line */
.journey-reveal-ready [data-reveal].is-in .journey-line::after {
  content: "";
  position: absolute;
  top: -1px;
  left: 0;
  width: 30%;
  height: 3px;
  background: radial-gradient(ellipse at center, rgba(255, 240, 210, 0.95), transparent 70%);
  animation: journeyGlint 2.2s var(--ease-in-out) 0.8s 1 both;
}

@keyframes journeyGlint {
  from { transform: translateX(-100%); opacity: 0; }
  20% { opacity: 1; }
  to { transform: translateX(340%); opacity: 0; }
}

/* ==========================================================================
   BELOW-STORY: TWO-SKU COMPARISON (WARM IVORY)
   Natural transition by scroll as user leaves pinned stage
   ========================================================================== */
.options-section {
  position: relative;
  z-index: 30;
  background-color: var(--bg-ivory);
  color: var(--text-dark);
  padding: clamp(4.5rem, 8vw, 7.5rem) clamp(1.25rem, 4vw, 4rem);
  border-top: 1px solid var(--border-ivory);
}

.options-section:focus {
  outline: none;
}

.section-container {
  max-width: 1140px;
  margin: 0 auto;
}

.editorial-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto clamp(2.5rem, 5vw, 4.5rem);
}

.editorial-title {
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--text-dark);
  margin-bottom: 0.75rem;
}

.editorial-lead {
  font-size: 1.05rem;
  font-weight: 400;
  line-height: 1.6;
  color: var(--text-dark-muted);
}

/* 2-Column Clean Comparison Grid */
.sku-comparison-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(1.5rem, 3vw, 2.5rem);
  margin-bottom: clamp(3.5rem, 6vw, 5rem);
}

.sku-card {
  background: var(--bg-ivory-card);
  border: 1px solid var(--border-ivory);
  border-radius: 20px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s var(--ease-out), box-shadow 0.3s var(--ease-out);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
}

.sku-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.08);
}

.sku-media-stage {
  position: relative;
  height: 360px;
  background: #000000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  overflow: hidden;
}

.sku-photo {
  max-height: 100%;
  max-width: 100%;
  object-fit: contain;
  transition: transform 0.4s var(--ease-out);
}

.sku-card:hover .sku-photo {
  transform: scale(1.04);
}

.sku-details-body {
  padding: clamp(1.75rem, 3vw, 2.25rem);
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.sku-name {
  font-size: 1.45rem;
  font-weight: 700;
  line-height: 1.3;
  color: var(--text-dark);
  margin-bottom: 0.35rem;
}

.sku-edition {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--copper-primary);
  margin-bottom: 1.5rem;
}

.sku-action-footer {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border-ivory);
}

.price-block {
  display: flex;
  align-items: baseline;
  gap: 4px;
}

.price-value {
  font-size: 1.95rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text-dark);
  font-feature-settings: "tnum";
}

.price-currency {
  font-size: 0.95rem;
  color: var(--text-dark-muted);
}

.buy-link-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.92rem;
  font-weight: 600;
  padding: 12px 24px;
  border-radius: 999px;
  background: var(--text-dark);
  color: #FFFFFF;
  transition: all 0.25s ease;
  white-space: nowrap;
}

.buy-link-btn:hover {
  background: var(--copper-primary);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px var(--copper-glow);
}

.buy-link-btn.btn-copper {
  background: var(--copper-primary);
  color: #FFFFFF;
}

.buy-link-btn.btn-copper:hover {
  background: #B95E2F;
}

/* ==========================================================================
   COMPACT NATIVE FAQ
   ========================================================================== */
.faq-wrapper {
  max-width: 800px;
  margin: 0 auto;
}

.faq-title {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--text-dark);
  text-align: center;
  margin-bottom: 1.75rem;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  background: var(--bg-ivory-card);
  border: 1px solid var(--border-ivory);
  border-radius: 12px;
  overflow: hidden;
  transition: border-color 0.2s ease;
}

.faq-item[open] {
  border-color: rgba(209, 118, 70, 0.4);
}

.faq-question {
  padding: 1.25rem 1.5rem;
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-dark);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  list-style: none;
  user-select: none;
}

.faq-question::-webkit-details-marker {
  display: none;
}

.faq-arrow {
  font-size: 1.25rem;
  color: var(--copper-primary);
  transition: transform 0.25s ease;
  flex-shrink: 0;
}

.faq-item[open] .faq-arrow {
  transform: rotate(45deg);
}

.faq-answer {
  padding: 0 1.5rem 1.25rem 1.5rem;
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--text-dark-muted);
}

.source-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.source-list a {
  color: var(--copper-primary);
  font-weight: 600;
  border-bottom: 1px solid rgba(209, 118, 70, 0.35);
  overflow-wrap: anywhere;
}

.source-note {
  margin-top: 0.85rem;
  font-size: 0.82rem;
}

/* ==========================================================================
   SITE FOOTER
   ========================================================================== */
.site-footer {
  background: #000000;
  color: var(--text-dim);
  padding: clamp(2.5rem, 5vw, 4rem) clamp(1.25rem, 4vw, 4rem);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-inner {
  max-width: 1140px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.footer-brand {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-pure);
  margin-bottom: 0.35rem;
  display: block;
}

.footer-belief-note {
  font-size: 0.86rem;
  line-height: 1.5;
  color: #8C8982;
}

.footer-phone-link {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--text-pure);
  letter-spacing: 0.02em;
  transition: color 0.2s ease;
}

.footer-phone-link:hover {
  color: var(--copper-bright);
}

.footer-cookie-settings {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  margin-top: 0.25rem;
  padding: 0;
  border: 0;
  background: none;
  color: #b8b4ab;
  font: inherit;
  font-size: 0.86rem;
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}

.footer-cookie-settings:hover {
  color: var(--copper-bright);
}

.footer-cookie-settings:focus-visible {
  outline: 3px solid #fff;
  outline-offset: 2px;
}

/* ==========================================================================
   LINE CONTACT: hero button + mobile sticky bar
   --line-bar-h: sticky bar height while shown (mobile only)
   --cookie-h:   cookie banner height while shown (set by the page script)
   ========================================================================== */
:root {
  --line-bar-h: 0px;
  --cookie-h: 0px;
}

.line-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  min-width: 44px;
  padding: 0 1.25rem;
  border-radius: 999px;
  background: #087f3e;
  color: #FFFFFF;
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1.2;
  white-space: nowrap;
  pointer-events: auto;
  transition: background 0.2s ease;
}

.line-cta svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

.line-cta:hover {
  background: #066b34;
  color: #FFFFFF;
}

/* White ring with a dark halo reads on both the black stage and the ivory options section */
.line-cta:focus-visible {
  outline: 3px solid #FFFFFF;
  outline-offset: 2px;
  box-shadow: 0 0 0 7px #000000;
}

.s1-meta-row .s1-line-cta {
  margin-left: 4px;
}

.line-sticky {
  display: none;
}

/* ==========================================================================
   MOBILE RESPONSIVENESS & INTENTIONAL HERO RECOMPOSITION (320px - 900px)
   Hero:
   - Header: 60px
   - Title zone: below 60px header
   - Large coin central zone (~250-330px height, svh based)
   - Phrase "ศรัทธา ที่มองเห็น" as subtle ghost behind coin (zero text overlap)
   - Compact spec + price row and scroll cue near bottom above 44px chapter bar
   ========================================================================== */
@media (max-width: 900px) {
  .story-track {
    height: 2000vh;
    height: 2000svh;
  }

  /* Intentional premium phrase below coin at ~66svh, readable white, not watermark behind coin */
  .s1-huge-type {
    position: absolute;
    top: calc(66 * var(--su));
    left: 0;
    width: 100%;
    height: auto;
    transform: none;
    padding: 0 1rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0;
    pointer-events: none;
    z-index: 12;
    opacity: 1;
  }

  .huge-word {
    font-size: 32px;
    line-height: 1.15;
    letter-spacing: -0.01em;
    text-align: center;
    width: 100%;
    max-width: 100%;
    display: block;
    color: #FFFFFF;
    opacity: 1;
    white-space: nowrap;
    position: static;
    top: auto;
    left: auto;
    right: auto;
    transform: none !important;
  }

  .huge-left,
  .huge-right {
    position: static;
    top: auto;
    left: auto;
    right: auto;
    text-align: center;
    transform: none !important;
  }

  /* Central coin zone: square min(98vw, 48svh), base center ~46svh (with JS -2vh becomes ~44svh) */
  .coin-rig {
    width: min(98vw, calc(48 * var(--su)));
    height: min(98vw, calc(48 * var(--su)));
    top: calc(-4 * var(--su));
  }

  /* Scene 4 Creator Portrait mobile rig */
  .portrait-rig {
    width: min(74vw, calc(34 * var(--su)));
    height: min(74vw, calc(34 * var(--su)));
    transform: translate3d(0, -5vh, 0) scale(0.94);
  }

  .portrait-frame {
    width: 110%;
    height: 120%;
  }

  .portrait-year-bg {
    font-size: clamp(4.5rem, 18vw, 7.5rem);
  }

  .framed-rig {
    width: min(60vw, calc(34 * var(--su)));
    height: min(60vw, calc(34 * var(--su)));
  }

  /* Scene 1 Mobile Layout */
  .scene-1 {
    padding: 0 1.5rem !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: flex-start !important;
    align-items: center !important;
    text-align: center !important;
  }

  .s1-top-block {
    margin-top: clamp(82px, calc(10.5 * var(--su)), 90px);
    z-index: 15;
  }

  .s1-title {
    font-size: clamp(1.8rem, 6.8vw, 2.35rem);
    font-weight: 700;
    line-height: 1.15;
    margin-bottom: 0.25rem;
  }

  .s1-edition {
    font-size: clamp(0.95rem, 3.6vw, 1.15rem);
    font-weight: 500;
    margin-bottom: 0;
  }

  .s1-bottom-block {
    position: absolute;
    top: calc(83 * var(--su));
    left: 0;
    right: 0;
    bottom: auto;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    z-index: 15;
  }

  .s1-meta-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: clamp(0.82rem, 3.2vw, 0.94rem);
    color: var(--text-dim);
  }

  .s1-meta-sep {
    color: var(--copper-bright);
    opacity: 0.6;
  }

  .s1-price-tag {
    font-size: clamp(0.88rem, 3.4vw, 0.98rem);
    color: var(--text-light);
  }

  .s1-scroll-cue {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    font-size: 0.72rem;
    letter-spacing: 0.08em;
    color: rgba(255, 255, 255, 0.45);
    text-transform: uppercase;
  }

  .scroll-cue-line {
    height: 20px;
  }

  /* Scenes 2, 3, 4 Strict Zoning (Upper zone headline, lower zone copy, zero overlap) */
  .scene-pane:not(.scene-1) {
    padding: 0 1.5rem !important;
    display: block !important;
    position: absolute !important;
    inset: 0 !important;
  }

  .scene-2 .scene-head,
  .scene-3 .scene-head,
  .scene-4 .scene-head {
    position: absolute;
    top: clamp(68px, calc(9 * var(--su)), 84px);
    left: 1.5rem;
    right: 1.5rem;
    text-align: center;
    max-width: 360px;
    margin: 0 auto;
    z-index: 15;
  }

  .scene-2 .scene-body,
  .scene-3 .scene-body,
  .scene-4 .scene-body {
    position: absolute;
    /* Copy ends on the chapter bar and grows upward, so long copy never runs into it.
       top + translate rather than bottom: the beat (will-change) is the containing block and has no height. */
    top: calc(100 * var(--su) - clamp(14px, 2.2vh, 20px) - 52px);
    transform: translateY(-100%);
    left: 1.5rem;
    right: 1.5rem;
    text-align: center;
    max-width: 360px;
    margin: 0 auto;
    z-index: 15;
  }

  .scene-head .kicker {
    font-size: 0.76rem;
    margin-bottom: 0.35rem;
  }

  .scene-head .headline {
    font-size: clamp(1.65rem, 6.5vw, 2.2rem);
    line-height: 1.15;
    margin-bottom: 0;
  }

  .s4-huge-heading {
    font-size: clamp(2.6rem, 10vw, 3.8rem);
    line-height: 1;
    margin-bottom: 0.15rem;
  }

  .s4-subtitle {
    font-size: clamp(0.95rem, 3.8vw, 1.2rem);
    margin-bottom: 0;
  }

  .scene-body .lead-copy {
    font-size: clamp(0.9rem, 3.4vw, 1.02rem);
    line-height: 1.55;
    color: var(--text-light);
    margin: 0 auto;
  }

  /* Scene 4 beats: heads/bodies stay absolutely zoned against the pane (beats carry opacity only, no transform) */
  .s4-beats,
  .story-beats {
    display: block;
  }

  .scene-body .beat-link {
    margin-top: 0.35rem;
    font-size: 0.86rem;
  }

  .scene-body .beat-cta {
    margin-top: 0.4rem;
    font-size: 0.9rem;
  }

  .beat-actions {
    justify-content: center;
    margin-top: 0.4rem;
  }

  .scene-body .beat-link.beat-source {
    min-height: 36px;
    font-size: 0.78rem;
  }

  /* Hero CTA wraps onto its own centred line below spec/price; scroll cue keeps only its label */
  .s1-meta-row {
    flex-wrap: wrap;
    row-gap: 0;
  }

  .s1-meta-row::after {
    content: "";
    flex-basis: 100%;
    order: 1;
  }

  .s1-meta-row .s1-cta {
    order: 2;
    font-size: 0.9rem;
  }

  .s1-cta-sep {
    display: none;
  }

  /* Sits on the chapter bar (its bottom offset + 42px height + gap) so it never runs into it */
  .s1-bottom-block {
    top: auto;
    bottom: calc(clamp(14px, 2.2vh, 20px) + 52px);
  }

  .scroll-cue-line {
    display: none;
  }

  .s4-faith-headline {
    margin-bottom: 0;
  }

  .stage-sweep {
    width: 70vw;
    margin-left: -35vw;
  }

  /* Mobile Scene 5 Zone: Image center 33svh, text 62svh no overlap */
  .scene-5 .s5-wrap {
    position: absolute;
    /* Ends on the chapter bar, like the scene 2-4 copy */
    top: auto;
    bottom: calc(clamp(14px, 2.2vh, 20px) + 52px);
    left: 1.5rem;
    right: 1.5rem;
    margin: 0 auto;
    text-align: center;
    max-width: 360px;
    align-items: center;
    z-index: 15;
  }

  .scene-5 .s5-wrap .headline {
    font-size: clamp(1.65rem, 6.5vw, 2.2rem);
    line-height: 1.15;
    margin-bottom: 0.4rem;
    color: var(--text-pure);
  }

  .scene-5 .s5-wrap .lead-copy {
    font-size: clamp(0.9rem, 3.4vw, 1rem);
    color: var(--text-dim);
    margin-bottom: 1rem;
  }

  .scene-col-left, .scene-col-right {
    margin: 0 auto !important;
    max-width: 100% !important;
  }

  /* Timeline Bar Mobile */
  .timeline-bar {
    bottom: clamp(14px, 2.2vh, 20px);
  }

  .chapter-tab .tab-name {
    display: none;
  }

  /* SKU Cards Mobile */
  .sku-comparison-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .sku-media-stage {
    height: 290px;
  }

  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* ==========================================================================
   SHORT PHONE OPTIMIZATION (<= 700px stage height, e.g. 375x667)
   Preserves core title, phrase, price, CTA while ending text before bottom.
   Measured on the pinned stage, not the viewport: the LINE bar and cookie
   banner take height from it.
   ========================================================================== */
@media (prefers-reduced-motion: no-preference) {
  html:not(.no-js) .story-stage {
    container: rahu-stage / size;
  }
}

@container rahu-stage (max-width: 900px) and (max-height: 700px) {
  .coin-rig {
    width: min(90vw, calc(43 * var(--su)));
    height: min(90vw, calc(43 * var(--su)));
    top: calc(-4 * var(--su));
  }

  /* Never hide phrase on short phone: legible 28px font at ~66svh */
  .s1-huge-type {
    display: flex !important;
    top: calc(66 * var(--su));
  }

  .huge-word {
    font-size: 28px !important;
    line-height: 1.15;
  }

  .s1-top-block {
    margin-top: 78px;
  }

  .s1-title {
    font-size: 22px !important;
    margin-bottom: 0.15rem;
  }

  .s1-edition {
    font-size: 13px !important;
    margin-bottom: 0.1rem;
  }

  .s1-bottom-block {
    gap: 3px;
  }

  /* Hero CTA replaces the scroll cue here so it ends above the chapter bar */
  .s1-scroll-cue {
    display: none;
  }

  .s1-meta-row {
    font-size: 11.5px !important;
    gap: 5px;
  }

  .s1-price-tag {
    font-size: 12px !important;
  }

  .scroll-cue-line {
    height: 14px;
  }

  /* Reduced fonts: headline 24px, body 13.5px */
  .scene-head .kicker {
    font-size: 0.70rem;
    margin-bottom: 0.2rem;
  }

  .scene-head .headline,
  .scene-5 .s5-wrap .headline {
    font-size: 24px !important;
    line-height: 1.15;
    margin-bottom: 0.2rem;
  }

  .s4-huge-heading {
    font-size: 28px !important;
    line-height: 1;
    margin-bottom: 0.1rem;
  }

  .s4-subtitle {
    font-size: 14px !important;
    margin-bottom: 0;
  }

  .scene-body .lead-copy,
  .scene-5 .s5-wrap .lead-copy {
    font-size: 14px !important;
    line-height: 1.45;
    margin-bottom: 0.5rem;
  }

  .scene-2 .scene-head,
  .scene-3 .scene-head,
  .scene-4 .scene-head {
    top: 64px;
  }

  .btn-goto-options {
    min-height: 44px;
    padding: 8px 22px;
    font-size: 0.86rem;
  }

  .scene-body .beat-cta,
  .beat-actions {
    margin-top: 0.1rem;
  }
}

/* Very short stage (320x568, or a short phone while the cookie banner shows):
   smaller coin and phrase so the phrase clears the price/CTA block above the chapter bar */
@container rahu-stage (max-width: 900px) and (max-height: 600px) {
  .coin-rig {
    width: min(80vw, calc(38 * var(--su)));
    height: min(80vw, calc(38 * var(--su)));
  }

  .s1-huge-type {
    top: calc(59 * var(--su));
  }

  .huge-word {
    font-size: 24px !important;
  }

  /* Presenter photo keeps its room; the story link still sits in the handover beat and the sources list */
  html.js-active .s1-story-link {
    display: none;
  }

  html.js-active .s1-subtitle {
    font-size: 12.5px !important;
  }
}

/* ==========================================================================
   MOBILE LINE BAR: fixed under the pinned stage (or above the cookie banner).
   The stage shrinks by both, and its layout is measured in --su (1/100 of the
   stage height) instead of svh, so the timeline and copy stay uncovered.
   ========================================================================== */
@media (max-width: 900px) {
  html:has(.line-sticky) {
    --line-bar-h: calc(60px + env(safe-area-inset-bottom, 0px));
  }

  .story-stage {
    --su: calc((100svh - var(--line-bar-h) - var(--cookie-h)) / 100);
    height: calc(100 * var(--su));
  }

  .line-sticky {
    position: fixed;
    left: 0;
    right: 0;
    bottom: var(--cookie-h);
    z-index: 1070;
    display: flex;
    justify-content: center;
    padding: 8px 1rem calc(8px + env(safe-area-inset-bottom, 0px));
    background: rgba(0, 0, 0, 0.94);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
  }

  .line-sticky .line-cta {
    width: 100%;
    max-width: 420px;
  }

  /* Room to scroll the footer clear of the bar */
  .site-footer {
    padding-bottom: calc(clamp(2.5rem, 5vw, 4rem) + var(--line-bar-h));
  }

  .s1-meta-row .s1-line-cta {
    order: 3;
    margin-left: 0;
  }
}

/* Pinned mobile hero has no spare height: the sticky bar stands in for the hero button there */
@media (max-width: 900px) and (prefers-reduced-motion: no-preference) {
  html.js-active:has(.line-sticky) .s1-line-cta {
    display: none;
  }
}

/* ==========================================================================
   PRESENTER HERO LAYOUT (pinned motion mode only; the static fallbacks
   below keep scene 1 as one centred column)
   Desktop (arm-hero-real-coin, 1536x1024): the art fills the hero, pinned to
   the right edge so the presenter, hand and coin are never cropped; the copy
   sits on the art's empty left side.
   Phones (arm-mobile-real-coin, 956x1024): the photo sizes itself from its own
   box (container units) between the copy above and below.
   0.9336 = 956 / 1024, the phone crop's aspect ratio.
   ========================================================================== */
@media (min-width: 901px) and (prefers-reduced-motion: no-preference) {
  html.js-active .scene-1 {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    text-align: left;
    padding: clamp(84px, 11vh, 100px) clamp(2rem, 6vw, 7rem) clamp(72px, 10vh, 90px);
  }

  html.js-active .s1-top-block,
  html.js-active .s1-bottom-block {
    position: relative;
    z-index: 1;
    max-width: min(560px, 38vw);
  }

  html.js-active .s1-title {
    font-size: clamp(2.3rem, 4.2vw, 4rem);
    text-wrap: balance;
  }

  html.js-active .s1-subtitle {
    margin-left: 0;
  }

  html.js-active .s1-presenter {
    position: absolute;
    inset: 0;
    z-index: 0;
    overflow: hidden;
    pointer-events: none;
  }

  /* Wide windows: full hero height, right-aligned; the art's dark left edge fades into the page */
  html.js-active .s1-presenter-img {
    position: absolute;
    right: 0;
    bottom: 0;
    width: auto;
    height: 100%;
    max-width: none;
    border-radius: 0;
    box-shadow: none;
  }

  /* Keeps the copy legible over the art and blends its left edge and the header strip into the page */
  html.js-active .s1-presenter::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
      linear-gradient(90deg, #000 0%, rgba(0, 0, 0, 0.82) 26%, rgba(0, 0, 0, 0.35) 46%, transparent 60%),
      linear-gradient(180deg, rgba(0, 0, 0, 0.55) 0%, transparent 16%);
  }

  html.js-active .s1-bottom-block {
    align-items: flex-start;
    gap: 0.75rem;
    margin-top: 1.4rem;
  }

  html.js-active .s1-meta-row {
    flex-wrap: wrap;
    justify-content: flex-start;
    row-gap: 2px;
  }
}

/* Narrow desktop windows (taller than 3:2): the whole frame at full width (README-DEV), on the bottom edge */
@media (min-width: 901px) and (max-aspect-ratio: 3/2) and (prefers-reduced-motion: no-preference) {
  html.js-active .s1-presenter-img {
    width: 100%;
    height: auto;
  }
}

/* Short desktop windows: the scroll cue gives its room to the copy */
@media (min-width: 901px) and (max-height: 820px) and (prefers-reduced-motion: no-preference) {
  html.js-active .s1-scroll-cue {
    display: none;
  }
}

@media (max-width: 900px) and (prefers-reduced-motion: no-preference) {
  /* Copy on top, photo takes the free middle, price/CTA end on the chapter bar */
  html.js-active .scene-1 {
    padding: clamp(66px, calc(10 * var(--su)), 82px) 1.25rem calc(clamp(14px, 2.2vh, 20px) + 50px) !important;
  }

  html.js-active .s1-top-block {
    margin-top: 0;
  }

  html.js-active .s1-eyebrow {
    font-size: 0.72rem;
    margin-bottom: 0.25rem;
  }

  html.js-active .s1-title {
    font-size: clamp(1.55rem, 6.8vw, 2.2rem);
  }

  html.js-active .s1-subtitle {
    margin-top: 0.3rem;
    font-size: clamp(0.8rem, 3.3vw, 0.95rem);
    line-height: 1.45;
  }

  html.js-active .s1-presenter {
    flex: 1 1 0;
    min-height: 0;
    width: 100%;
    margin: 0.6rem 0;
    container-type: size;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  html.js-active .s1-presenter-img {
    width: min(100cqw, 93.36cqh);
    border-radius: 12px;
  }

  html.js-active .s1-bottom-block {
    position: static;
    top: auto;
    bottom: auto;
    gap: 2px;
  }

  html.js-active .s1-belief {
    font-size: 0.74rem;
  }

  /* Price and CTA share one line; the spec line is told again in scene 3 */
  html.js-active .s1-meta,
  html.js-active .s1-meta + .s1-meta-sep {
    display: none;
  }

  html.js-active .s1-meta-row::after {
    display: none;
  }

  html.js-active .s1-cta-sep {
    display: inline;
  }

  html.js-active .s1-story-link {
    min-height: 34px;
    font-size: 0.76rem;
  }

  html.js-active .s1-scroll-cue {
    display: none;
  }
}

/* ==========================================================================
   ACCESSIBILITY & REDUCED MOTION STATIC FALLBACK
   Preserves all 5 story screens with real photos per story
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
  html .story-track {
    height: auto !important;
    min-height: 0 !important;
  }

  html .story-stage {
    position: relative !important;
    height: auto !important;
    min-height: 0 !important;
    contain: none !important;
    overflow: visible !important;
    display: block !important;
    padding-top: 80px !important;
    background: #000000 !important;
  }

  html .stage-scene5-bg,
  html .s1-huge-type,
  html .timeline-bar,
  html .artifact-stage,
  html .portrait-rig {
    display: none !important;
  }

  html .scene-layers {
    position: relative !important;
    inset: auto !important;
    height: auto !important;
    min-height: 0 !important;
    display: block !important;
  }

  /* Specificity html .scene-pane:not(.scene-1) is (0-2-1), overriding mobile's (0-2-0) */
  html .scene-pane,
  html .scene-pane:not(.scene-1) {
    position: relative !important;
    inset: auto !important;
    height: auto !important;
    min-height: 0 !important;
    display: block !important;
    opacity: 1 !important;
    pointer-events: auto !important;
    transform: none !important;
    padding: 3rem 1.5rem !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
    text-align: center !important;
  }

  html .scene-pane.scene-5 {
    background: var(--bg-scene5) !important;
  }

  /* Children static with 1rem spacing in normal flow */
  html .scene-head,
  html .scene-body,
  html .s5-wrap,
  html .s1-top-block,
  html .s1-bottom-block,
  html .scene-col-left,
  html .scene-col-right {
    position: static !important;
    inset: auto !important;
    transform: none !important;
    margin-left: auto !important;
    margin-right: auto !important;
    margin-top: 0 !important;
    margin-bottom: 1rem !important;
    max-width: 580px !important;
    text-align: center !important;
    display: block !important;
  }

  html .s1-bottom-block {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    gap: 0.75rem !important;
    margin-top: 1rem !important;
    margin-bottom: 0 !important;
  }

  html .s1-meta-row {
    display: flex !important;
    flex-wrap: wrap !important;
    justify-content: center !important;
    gap: 8px !important;
  }

  html .s5-wrap {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
  }

  html .static-scene-media {
    display: block !important;
    position: static !important;
    width: 100% !important;
    max-width: 320px !important;
    margin: 1rem auto !important;
    border-radius: 16px !important;
    object-fit: contain !important;
    transform: none !important;
  }

  /* Scene 4: one editorial creator image, creator facts, then the faith sentence in normal flow */
  /* All integrated story beats in linear reading order */
  html .s4-beats,
  html .story-beats {
    display: block !important;
  }

  html .s4-beat,
  html .story-beat,
  html.js-active .story-beat.is-later {
    opacity: 1 !important;
    visibility: visible !important;
    transform: none !important;
    margin-bottom: 2.25rem !important;
  }

  html .static-caption {
    display: block !important;
  }

  html .beat-actions {
    justify-content: center !important;
  }

  html .s4-beat-faith .s4-subtitle {
    display: none !important;
  }

  html .stage-fx,
  html .gold-dust {
    display: none !important;
  }

  html .scroll-cue-line {
    animation: none !important;
  }

  html .s1-presenter {
    max-width: 560px;
    margin: 1.5rem auto;
  }
}

/* ==========================================================================
   NO-JS STATIC FALLBACK
   ========================================================================== */
html.no-js .story-track {
  height: auto !important;
  min-height: 0 !important;
}

html.no-js .story-stage {
  position: relative !important;
  height: auto !important;
  min-height: 0 !important;
  contain: none !important;
  overflow: visible !important;
  display: block !important;
  padding-top: 80px !important;
  background: #000000 !important;
}

html.no-js .stage-scene5-bg,
html.no-js .s1-huge-type,
html.no-js .timeline-bar,
html.no-js .artifact-stage,
html.no-js .portrait-rig {
  display: none !important;
}

html.no-js .scene-layers {
  position: relative !important;
  inset: auto !important;
  height: auto !important;
  min-height: 0 !important;
  display: block !important;
}

/* Specificity html.no-js .scene-pane:not(.scene-1) is (0-3-1), overriding mobile's (0-2-0) */
html.no-js .scene-pane,
html.no-js .scene-pane:not(.scene-1) {
  position: relative !important;
  inset: auto !important;
  height: auto !important;
  min-height: 0 !important;
  display: block !important;
  opacity: 1 !important;
  pointer-events: auto !important;
  transform: none !important;
  padding: 3rem 1.5rem !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
  text-align: center !important;
}

html.no-js .scene-pane.scene-5 {
  background: var(--bg-scene5) !important;
}

/* Children static with 1rem spacing in normal flow */
html.no-js .scene-head,
html.no-js .scene-body,
html.no-js .s5-wrap,
html.no-js .s1-top-block,
html.no-js .s1-bottom-block,
html.no-js .scene-col-left,
html.no-js .scene-col-right {
  position: static !important;
  inset: auto !important;
  transform: none !important;
  margin-left: auto !important;
  margin-right: auto !important;
  margin-top: 0 !important;
  margin-bottom: 1rem !important;
  max-width: 580px !important;
  text-align: center !important;
  display: block !important;
}

html.no-js .s1-bottom-block {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  gap: 0.75rem !important;
  margin-top: 1rem !important;
  margin-bottom: 0 !important;
}

html.no-js .s1-meta-row {
  display: flex !important;
  flex-wrap: wrap !important;
  justify-content: center !important;
  gap: 8px !important;
}

html.no-js .s5-wrap {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
}

html.no-js .static-scene-media {
  display: block !important;
  position: static !important;
  width: 100% !important;
  max-width: 320px !important;
  margin: 1rem auto !important;
  border-radius: 16px !important;
  object-fit: contain !important;
  transform: none !important;
}

/* Scene 4: one editorial creator image, creator facts, then the faith sentence in normal flow */
html.no-js .s4-beats,
html.no-js .story-beats {
  display: block !important;
}

html.no-js .s4-beat,
html.no-js .story-beat {
  opacity: 1 !important;
  visibility: visible !important;
  transform: none !important;
  margin-bottom: 2.25rem !important;
}

html.no-js .static-caption {
  display: block !important;
}

html.no-js .beat-actions {
  justify-content: center !important;
}

html.no-js .s4-beat-faith .s4-subtitle {
  display: none !important;
}

html.no-js .stage-fx,
html.no-js .gold-dust {
  display: none !important;
}

html.no-js .s1-presenter {
  max-width: 560px;
  margin: 1.5rem auto;
}
