/* scroll.css — launch-page layer for the consumer home.
   Film band, per-model chapters, sound demo, sticky buy bar, inline order.
   Animates transform/opacity/clip-path only. Desktop pinning at >=861px;
   everything stacks plainly on phones and under prefers-reduced-motion. */

/* ---------- film band ---------- */
.filmband { padding: 0; }
.filmband__stage { position: relative; height: 100svh; min-height: 560px; overflow: hidden; display: grid; place-items: center; }
.filmband__frame { position: absolute; inset: 0; overflow: hidden; background: #0a0b10; clip-path: inset(0 round 0); will-change: clip-path; }
.filmband__frame video, .filmband__frame img { width: 100%; height: 100%; object-fit: cover; display: block; transform-origin: 50% 50%; will-change: transform; }
.filmband__shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(7,8,12,.15) 0%, rgba(7,8,12,0) 40%, rgba(7,8,12,.75) 100%); pointer-events: none; }
.filmband__copy { position: absolute; left: max(4vw, 24px); right: max(4vw, 24px); bottom: max(16svh, 120px); z-index: 2; max-width: 780px; }
.filmband__copy h2 { margin: 14px 0 10px; }
.filmband__copy .lead { font-size: clamp(.95rem, 1.2vw, 1.1rem); }
.filmband__credit { position: absolute; right: max(4vw, 24px); bottom: 20px; z-index: 2; font-size: .68rem; letter-spacing: .14em; text-transform: uppercase; color: rgba(245,243,236,.55); }

/* ---------- chapters ---------- */
.chapter { position: relative; padding: 0; }
.chapter__pin { min-height: 100svh; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: clamp(28px, 5vw, 90px); align-items: center; padding: 96px max(4vw, 24px) 64px; }
.chapter--flip .chapter__pin { grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); }
.chapter--flip .chapter__text { order: 2; }
.chapter__name { font-family: var(--font-display, 'Sora', sans-serif); font-weight: 600; font-size: clamp(3.4rem, 9.5vw, 9rem); line-height: .94; letter-spacing: -.04em; margin: 18px 0 14px; }
.chapter__tag { font-size: clamp(1.05rem, 1.6vw, 1.4rem); color: var(--ink); font-weight: 300; max-width: 30ch; line-height: 1.35; }
.chapter__facts { list-style: none; display: grid; grid-template-columns: repeat(3, auto); gap: 22px 34px; margin: 30px 0 34px; padding: 0; justify-content: start; }
.chapter__facts b { display: block; font-family: var(--font-display, 'Sora', sans-serif); font-weight: 500; font-size: clamp(1.5rem, 2.4vw, 2.1rem); letter-spacing: -.02em; color: var(--gold); }
.chapter__facts span { display: block; font-size: .78rem; letter-spacing: .04em; color: var(--muted); margin-top: 2px; max-width: 14ch; }
.chapter__buy { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; }
.chapter__facts b .chapter__num { display: inline; margin: 0; font-size: inherit; letter-spacing: inherit; color: inherit; max-width: none; }
.chapter__price { font-family: var(--font-display, 'Sora', sans-serif); font-size: 1.7rem; font-weight: 500; letter-spacing: -.02em; }
.chapter__price small { font-size: .72rem; color: var(--muted); font-family: var(--font-body, inherit); letter-spacing: .06em; margin-left: 6px; }
.chapter__more { color: var(--muted); font-size: .9rem; border-bottom: 1px solid var(--line); padding-bottom: 2px; }
.chapter__more:hover { color: var(--ink); }
.chapter__media { position: relative; aspect-ratio: 16 / 10; border-radius: 30px; overflow: hidden; background: #0d0f15; box-shadow: 0 40px 120px -40px rgba(0,0,0,.8), 0 0 0 1px var(--line-soft); isolation: isolate; }
.chapter__plate, .chapter__clip { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.chapter__clip { opacity: 0; will-change: opacity; }
.chapter__glow { position: absolute; inset: -20%; background: radial-gradient(closest-side, rgba(233,215,167,.28), transparent 70%); opacity: 0; pointer-events: none; mix-blend-mode: screen; }
.chapter__num { font-variant-numeric: tabular-nums; }
.chapter__cap { margin-top: 12px; font-size: .72rem; letter-spacing: .06em; color: var(--faint); }

/* ---------- sound demo ---------- */
.sounddemo { padding: clamp(90px, 12vw, 160px) 0; }
.sound__tabs { display: flex; gap: 10px; flex-wrap: wrap; margin: 38px 0 22px; }
.sound__tab { appearance: none; background: transparent; color: var(--muted); border: 1px solid var(--line-soft); border-radius: 999px; padding: 12px 22px; font: 500 .9rem var(--font-body, inherit); letter-spacing: .02em; cursor: pointer; transition: color 160ms ease, border-color 160ms ease, background 160ms ease; }
.sound__tab:hover { color: var(--ink); border-color: var(--line); }
.sound__tab[aria-selected="true"] { color: #1a1408; background: var(--gold); border-color: var(--gold); }
.sound__stage { position: relative; border-radius: 30px; padding: clamp(22px, 4vw, 48px); background: linear-gradient(180deg, rgba(255,255,255,.04), rgba(255,255,255,.015)); box-shadow: 0 0 0 1px var(--line-soft); overflow: hidden; }
.sound__viz { display: block; width: 100%; height: clamp(96px, 16vw, 168px); }
.sound__row { display: flex; align-items: center; justify-content: space-between; gap: 22px; flex-wrap: wrap; margin-top: 26px; }
.sound__play { appearance: none; border: 0; cursor: pointer; width: 64px; height: 64px; border-radius: 50%; background: var(--gold); color: #1a1408; display: grid; place-items: center; transition: transform 140ms ease; }
.sound__play:active { transform: scale(.94); }
.sound__play svg { width: 24px; height: 24px; }
.sound__switch { display: inline-flex; padding: 5px; border-radius: 999px; background: rgba(255,255,255,.06); box-shadow: inset 0 0 0 1px var(--line-soft); position: relative; }
.sound__opt { appearance: none; position: relative; z-index: 1; border: 0; background: transparent; color: var(--muted); font: 500 .92rem var(--font-body, inherit); padding: 12px 24px; border-radius: 999px; cursor: pointer; transition: color 160ms ease; }
.sound__opt[aria-pressed="true"] { color: #1a1408; }
.sound__pill { position: absolute; top: 5px; bottom: 5px; left: 5px; width: calc(50% - 5px); border-radius: 999px; background: var(--gold); transition: transform 260ms cubic-bezier(.23, 1, .32, 1); }
.sound__switch[data-state="on"] .sound__pill { transform: translateX(100%); }
.sound__what { margin-top: 18px; color: var(--muted); font-size: .98rem; min-height: 2.6em; max-width: 60ch; }
.sound__note { margin-top: 22px; padding: 16px 18px; border-radius: 16px; background: rgba(233,215,167,.06); box-shadow: inset 0 0 0 1px var(--line); color: var(--muted); font-size: .82rem; line-height: 1.55; }
.sound__note b { color: var(--gold); font-weight: 600; }

/* ---------- sticky buy bar ---------- */
.buybar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 70; transform: translateY(110%); transition: transform 320ms cubic-bezier(.23, 1, .32, 1); padding: 0 12px calc(12px + env(safe-area-inset-bottom)); pointer-events: none; }
.buybar.show { transform: translateY(0); }
.buybar__in { pointer-events: auto; max-width: 880px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 12px 14px 12px 24px; border-radius: 999px; background: rgba(14,16,22,.72); -webkit-backdrop-filter: blur(22px) saturate(160%); backdrop-filter: blur(22px) saturate(160%); box-shadow: 0 0 0 1px var(--line), 0 24px 60px -20px rgba(0,0,0,.7); border-top: 1px solid rgba(255,255,255,.14); }
.buybar__txt { font-size: .92rem; color: var(--muted); }
.buybar__txt b { color: var(--ink); font-weight: 600; }
.buybar__btn { padding: 13px 26px !important; white-space: nowrap; }

/* ---------- inline order ---------- */
.orderx { padding: clamp(90px, 12vw, 150px) 0; }
.orderx__grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: clamp(28px, 4vw, 64px); margin-top: 44px; align-items: start; }
.orderx__picks { display: grid; gap: 12px; }
.pick { position: relative; display: grid; grid-template-columns: 84px 1fr auto; align-items: center; gap: 18px; padding: 14px 20px 14px 14px; border-radius: 22px; box-shadow: 0 0 0 1px var(--line-soft); cursor: pointer; transition: box-shadow 160ms ease, background 160ms ease; }
.pick:hover { background: rgba(255,255,255,.03); }
.pick input { position: absolute; opacity: 0; pointer-events: none; }
.pick img { width: 84px; height: 64px; object-fit: cover; border-radius: 14px; }
.pick b { display: block; font-family: var(--font-display, 'Sora', sans-serif); font-weight: 500; font-size: 1.1rem; }
.pick span { color: var(--muted); font-size: .84rem; }
.pick em { font-style: normal; font-family: var(--font-display, 'Sora', sans-serif); font-size: 1.2rem; }
.pick:has(input:checked) { box-shadow: 0 0 0 2px var(--gold); background: rgba(233,215,167,.06); }
.pick:has(input:focus-visible) { outline: 2px solid var(--gold); outline-offset: 3px; }
.orderx__opts { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 14px; }
.orderx__opts label { display: grid; gap: 6px; font-size: .74rem; letter-spacing: .12em; text-transform: uppercase; color: var(--faint); }
.orderx select, .orderx input[type=text], .orderx input[type=email], .orderx input[type=tel] { width: 100%; background: rgba(255,255,255,.04); border: 1px solid var(--line-soft); border-radius: 14px; padding: 14px 16px; color: var(--ink); font: 400 1rem var(--font-body, inherit); }
.orderx select { min-width: 150px; }
.orderx input:focus, .orderx select:focus { outline: 2px solid var(--gold-2); outline-offset: 1px; }
.orderx__fields { display: grid; gap: 12px; grid-template-columns: 1fr 1fr; }
.orderx__fields .full { grid-column: 1 / -1; }
.orderx__fields label { display: grid; gap: 6px; font-size: .74rem; letter-spacing: .12em; text-transform: uppercase; color: var(--faint); }
.orderx__sum { position: sticky; top: 96px; padding: 28px; border-radius: 26px; box-shadow: 0 0 0 1px var(--line); background: rgba(255,255,255,.03); }
.orderx__sum h3 { font-size: 1.1rem; margin-bottom: 14px; font-weight: 500; }
.orderx__line { display: flex; justify-content: space-between; padding: 9px 0; border-bottom: 1px solid var(--line-soft); font-size: .95rem; color: var(--muted); }
.orderx__line.total { color: var(--ink); font-size: 1.25rem; border: 0; padding-top: 16px; }
.orderx__sum .btn { width: 100%; justify-content: center; margin-top: 18px; }
.orderx__small { margin-top: 14px; font-size: .78rem; color: var(--faint); line-height: 1.5; }
.orderx__toast { margin-top: 12px; font-size: .86rem; color: var(--gold); min-height: 1.2em; }

/* ---------- phones, tablets, reduced motion ---------- */
@media (max-width: 860px) {
  .filmband__stage { height: auto; min-height: 0; display: block; padding: 96px 0 0; }
  .filmband__frame { position: relative; inset: auto; margin: 0 16px; aspect-ratio: 16 / 10; border-radius: 22px; clip-path: none; }
  .filmband__copy { position: static; padding: 26px 20px 0; }
  .filmband__credit { position: static; display: block; padding: 10px 20px 0; }
  .chapter__pin { grid-template-columns: 1fr; min-height: 0; padding: 72px 20px 36px; gap: 26px; }
  .chapter--flip .chapter__text { order: 0; }
  .chapter__media { aspect-ratio: auto; background: transparent; box-shadow: none; overflow: visible; border-radius: 0; display: grid; gap: 12px; }
  .chapter__plate { position: static; aspect-ratio: 16 / 10; border-radius: 22px; }
  .chapter__clip { position: static; opacity: 1; aspect-ratio: 16 / 9; border-radius: 22px; }
  .chapter__glow { display: none; }
  .chapter__facts { grid-template-columns: repeat(3, 1fr); gap: 16px; }
  .chapter__name { font-size: clamp(3.2rem, 17vw, 5rem); }
  .orderx__grid { grid-template-columns: 1fr; }
  .orderx__sum { position: static; }
  .buybar__txt { font-size: .8rem; }
  .buybar__txt .hide-s { display: none; }
  .buybar__in { padding-left: 18px; }
  .pick { grid-template-columns: 64px 1fr auto; gap: 12px; }
  .pick img { width: 64px; height: 52px; }
  .orderx__fields { grid-template-columns: 1fr; }
  .sound__tab { padding: 11px 16px; font-size: .84rem; }
}
@media (prefers-reduced-motion: reduce) {
  .filmband__stage { height: auto; min-height: 0; display: block; padding: 96px 0 0; }
  .filmband__frame { position: relative; inset: auto; margin: 0 16px; aspect-ratio: 16 / 9; border-radius: 22px; clip-path: none; }
  .filmband__copy { position: static; padding: 26px 20px 0; }
  .chapter__clip { opacity: 1; position: static; aspect-ratio: 16 / 9; }
  .chapter__media { aspect-ratio: auto; display: grid; gap: 12px; overflow: visible; background: transparent; box-shadow: none; }
  .chapter__plate { position: static; aspect-ratio: 16 / 10; border-radius: 22px; }
  .buybar, .sound__pill { transition: none; }
}
