/* ==========================================================================
   ICONIC VOICES — THE THRESHOLD, component layer (revised 2026-09-03).
   Loaded LAST on every page, after style.css (and iv-2026.css / iv-voice.css
   where those exist). Tokens live in iv-tokens.css, loaded FIRST.
   Decision doc: docs/design/DESIGN-DECISION-2026-09-03.md
   Laws kept from THE-THRESHOLD-2026-08-17.md, amended by the decision doc:
     L1 the video is the ground; what scrolls over it is ONE lit surface.
     L2 buttons are quiet instruments: flat gold-leaf plate, 1px edge-light,
        radius 2, press goes DOWN. No gradients, no glow, no pills.
     L3 two speakers: the author in Playfair (upright 400 / italic 400 — the
        only faces that ship); the interface in letterspaced caps <= 600.
     L4 the museum placard carries provenance.
     L5 materialisation in place (opacity + scale), no bloom.
   ========================================================================== */

/* ---------- base ---------------------------------------------------------- */
html { background: var(--iv-canvas); }
/* body stays TRANSPARENT: the fixed hero stage (#iv-bg, z-index -3) paints below the
   body's own background, so an opaque body would hide the film. html carries the canvas. */
body { background: transparent; color: var(--iv-ink-2); font-synthesis: none; }
::selection { background: rgba(201,168,76, 0.28); color: var(--iv-ink); }
:focus-visible { outline: none; box-shadow: var(--iv-focus); }   /* no border-radius:inherit — it squared pills/discs (parent radius) on focus */

/* ---------- L3: type — the two speakers ----------------------------------- */
/* Playfair ships in 400 and 700 only (assets/fonts/fonts.css). Display type is
   400 everywhere; 500/600 were silently rendering 400/700. */
h1, .heading-hero, .heading-section, .heading-card,
.iv-voice h1, .iv-voice h2, .iv-voice h3, .gh h1, .gh h2, .rr-h1, .rr-h2,
.iv-tile__name, .iv-browse-author__name, .iv-v2-browse-card__title, .step-title, .iv-v2-tier__name,
.founder-quote__text, .waitlist-count-badge__number { font-weight: 400; }
.heading-hero {
  font-size: clamp(2.6rem, 5.4vw, 4.9rem);      /* 78px @1440 -> two balanced lines */
  line-height: 1.06; letter-spacing: -0.015em; text-wrap: balance;
  color: var(--iv-ink); -webkit-text-fill-color: currentColor; background: none; animation: none;
}
.heading-section {
  font-size: clamp(2rem, 4.4vw, 3.4rem);
  line-height: 1.1; letter-spacing: -0.015em; text-wrap: balance; color: var(--iv-ink);
}
h1:not(.heading-hero) { line-height: 1.1; letter-spacing: -0.015em; text-wrap: balance; }
.heading-hero em, .heading-section em, .iv-voice h1 em, .rr-h1 em {
  font-style: italic; font-weight: 400; color: var(--iv-gold-light); -webkit-text-fill-color: currentColor;
}
/* interface speaker: light engraved caps */
.section-label, .iv-cta-note {
  font-family: var(--font-body); text-transform: uppercase;
  letter-spacing: 0.26em; font-weight: 600; font-size: 12px; color: var(--iv-gold);
}
.nav-links a {
  font-family: var(--font-body); text-transform: uppercase; letter-spacing: 0.12em;
  font-size: 0.78rem; font-weight: 500; white-space: nowrap; color: var(--iv-ink); opacity: 0.86;
}
.nav-links a:hover, .nav-links a:focus-visible { color: var(--iv-ink); opacity: 1; }
blockquote, .iv-author-voice, .voice-quote, .founder-quote__text {
  font-family: var(--font-display); font-style: italic; font-weight: 400; color: var(--iv-ink);
}
/* section headings that overlap the film while the page scrolls over it */
.section .heading-section, .section .section-label { text-shadow: var(--iv-halo); }

/* ---------- L2: buttons — one system on every page ------------------------ */
.btn-primary, .btn-secondary, .btn-small,
.iv-voice .iv-btn, .rr-btn, #login-submit, .iv-auth-submit {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  border-radius: var(--iv-btn-radius);
  text-transform: uppercase; letter-spacing: 0.14em;
  font: 500 0.82rem/1 var(--font-body);
  padding: 17px 34px;
  background-image: none; text-decoration: none; white-space: nowrap; cursor: pointer;
  transition: background-color var(--iv-d1) ease, color var(--iv-d1) ease,
              border-color var(--iv-d1) ease, box-shadow var(--iv-d1) ease, transform 0.12s ease;
}
/* solid gold-leaf plate — on surfaces (cards, pricing, forms) */
.btn-primary, .iv-voice .iv-btn--gold, .rr-btn--gold, #login-submit, .iv-auth-submit {
  background: var(--iv-gold); color: var(--iv-on-gold);
  border: 1px solid transparent; box-shadow: var(--iv-btn-edge);
}
.btn-primary:hover, .btn-primary:focus-visible,
.iv-voice .iv-btn--gold:hover, .rr-btn--gold:hover, #login-submit:hover, .iv-auth-submit:hover {
  background: var(--iv-gold-light); color: var(--iv-on-gold); border-color: transparent;
  transform: none; box-shadow: var(--iv-btn-edge);
}
.btn-primary:focus-visible { box-shadow: var(--iv-btn-edge), var(--iv-focus); }
.btn-primary:active, .iv-voice .iv-btn--gold:active, .rr-btn--gold:active {
  background: var(--iv-gold-deep); color: var(--iv-on-gold);
  box-shadow: var(--iv-btn-press); transform: translateY(1px);
}
.btn-primary::before, .btn-primary::after { content: none; }   /* shine sweep and hover plate retired */
.btn-primary span { position: static; }
/* ghost — the secondary everywhere, the primary over live footage */
.btn-secondary, .iv-voice .iv-btn--ghost, .rr-btn--ghost {
  background: rgba(10,10,11, 0.28); color: var(--iv-ink);
  border: 1px solid var(--iv-hairline-strong); box-shadow: none;
}
.btn-secondary:hover, .btn-secondary:focus-visible, .iv-voice .iv-btn--ghost:hover, .rr-btn--ghost:hover {
  background: var(--iv-gold-wash); border-color: rgba(201,168,76, 0.5); color: var(--iv-ink);
  transform: none; box-shadow: none;
}
.btn-secondary:focus-visible { box-shadow: var(--iv-focus); }
.btn-secondary:active, .iv-voice .iv-btn--ghost:active { transform: translateY(1px); }
.btn-small, .nav-cta { padding: 12px 22px; font-size: 0.74rem; }
.nav-cta { white-space: nowrap; }
/* compact CTAs inside cards: the dormant-checkout label wrapped to 7-10 lines */
.iv-browse-author .btn-primary, .iv-browse-author .btn-secondary,
.iv-v2-browse-card .btn-primary, .iv-v2-browse-card .btn-secondary,
.iv-v2-tier .btn-primary, .iv-v2-tier .btn-secondary {
  padding: 12px 14px; font-size: 0.7rem; letter-spacing: 0.1em; white-space: normal; text-align: center;
}
/* badges stay chips (app IVRadius.capsule), coloured by provenance only */
.badge { border-radius: 999px; background: var(--iv-gold-wash); color: var(--iv-gold); border: 1px solid var(--iv-hairline); }
/* play discs: flat gold plate, no glow */
.iv-player__play, .iv-miniplayer__play, .iv-v2-browse-card__play, .hero-play-btn {
  background: var(--iv-gold); background-image: none; color: var(--iv-on-gold); box-shadow: var(--iv-btn-edge);
}
.iv-player__play:hover, .iv-miniplayer__play:hover { background: var(--iv-gold-light); transform: none; }

/* ---------- L4: the museum placard ---------------------------------------- */
.iv-placard {
  display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px;
  font: 500 11px/1.3 var(--font-body); letter-spacing: 0.24em; text-transform: uppercase;
  color: var(--iv-ink-2);
  background: var(--iv-surface-2);                 /* flat, never a gradient */
  border: 1px solid var(--iv-hairline-strong); border-radius: 2px;
  box-shadow: 0 1px 0 var(--iv-hairline-white) inset;
}
.iv-placard::before { content: ""; width: 4px; height: 4px; border-radius: 50%; background: var(--iv-gold); flex: 0 0 auto; }
.iv-placard strong { color: var(--iv-ink); font-weight: 500; }
.iv-provenance strong { letter-spacing: 0.18em; text-transform: uppercase; font-size: 0.9em; }

/* ---------- L1: one lit surface over the room ----------------------------- */
.card, .step-card, .voice-card, .price-card,
.iv-tile__frame, .iv-browse-author__card, .iv-v2-browse-card, .iv-v2-tier, .step-item, .iv-player,
.pricing-transparency__card, .iv-card {
  background: var(--iv-surface-2); background-image: none;
  border: 1px solid var(--iv-hairline); border-radius: var(--iv-radius); box-shadow: none;
}
.iv-v2-tier--featured { box-shadow: none; border-color: var(--iv-hairline-strong); }
.card:hover, .voice-card:hover, .iv-browse-author__card:hover, .iv-v2-browse-card:hover { border-color: var(--iv-hairline-strong); box-shadow: none; transform: none; }
.card::before, .voice-card::before, .price-card::before, .iv-tile__frame::before, .iv-v2-browse-card::before { content: none; }
.iv-miniplayer { background: rgba(10,10,11, 0.86); background-image: none; border-top: 1px solid var(--iv-hairline-white); box-shadow: none; }
/* Mobile sticky CTA = the primary button at full width: flat gold plate, ink on gold. (It used to inherit the
   mini-player's dark translucent bar while keeping the on-gold ink colour → brown-on-black ghost text.) */
.sticky-cta {
  background: var(--iv-gold); background-image: none; color: var(--iv-on-gold);
  border: 0; border-radius: 0; box-shadow: var(--iv-btn-edge); min-height: 48px;
  justify-content: center; gap: 10px;
  font: 500 0.78rem/1 var(--font-body); letter-spacing: 0.14em; text-transform: uppercase;
}
.sticky-cta:hover, .sticky-cta:focus-visible { background: var(--iv-gold-light); color: var(--iv-on-gold); }
.sticky-cta:active { background: var(--iv-gold-deep); color: var(--iv-on-gold); }
.sticky-cta__label { font-size: inherit; font-weight: 500; opacity: 1; }
.sticky-cta__btn { font-weight: 500; }
/* While a sample plays the mini-player owns the bottom edge — "Hear a free sample" is redundant there, and the two
   bars stacked (both lifted to 84px) also made the CTA arrow and the back-to-top arrow overlap. */
body.iv-mini-active .sticky-cta { transform: translateY(110%); opacity: 0; visibility: hidden; pointer-events: none; }
body.iv-mini-active .back-to-top { bottom: calc(84px + env(safe-area-inset-bottom)); }
/* Mini-player progress + back-to-top on the same flat palette (no gradient, no halo, no blur plate) */
.iv-miniplayer__fill { background: var(--iv-gold); }
.iv-miniplayer__fill::after { box-shadow: none; background: var(--iv-gold-light); }
.back-to-top { background: var(--iv-surface-2); border: 1px solid var(--iv-hairline); color: var(--iv-gold); backdrop-filter: none; -webkit-backdrop-filter: none; }
.back-to-top:hover { background: var(--iv-gold-wash); border-color: var(--iv-hairline-strong); color: var(--iv-gold-light); }
.nav-burger { background: var(--iv-surface-2); border: 1px solid var(--iv-hairline); border-radius: 2px; }
body.drawer-open .nav { z-index: 110; }

/* ---------- L5: materialisation in place (no bloom) ----------------------- */
@keyframes iv-rise { from { opacity: 0; transform: scale(0.985); } to { opacity: 1; transform: none; } }
.iv-in { animation: iv-rise 0.65s var(--iv-ease) both; }
/* the room answers the player: gold progress breathes while audio plays */
@keyframes iv-filament-breathe { from { opacity: 0.78; } to { opacity: 1; } }
body.iv-playing .iv-player__fill, body.iv-playing .iv-miniplayer__fill { animation: iv-filament-breathe 2.4s ease-in-out infinite alternate; }

/* =====================================================================
   HERO — the moving image is the hero; the type is composed over it.
   Scrim solved row-wise for 4.5:1 (#F6F6F8) against the worst-frame p90
   of the delivered clip (scratchpad scrim/solve.py — same method as the
   app's solve-scrim-rows.py). Retires: #iv-tint multiply, the #iv-grade
   radial stack, .hero::after floor, every hero text-shadow.
   ===================================================================== */
#iv-bg    { background: var(--iv-canvas); }
#iv-photo { inset: 0; transform: none; filter: none; background-position: 50% 42%; display: block !important; }
#iv-gl    { z-index: 0; }
#iv-tint {
  mix-blend-mode: normal; filter: none; transition: none;
  background: linear-gradient(180deg,
    rgba(var(--iv-scrim), 0.40)   0%,
    rgba(var(--iv-scrim), 0.62)  10%,
    rgba(var(--iv-scrim), 0.84)  16%,
    rgba(var(--iv-scrim), 0.82)  44%,
    rgba(var(--iv-scrim), 0.76)  52%,
    rgba(var(--iv-scrim), 0.74)  66%,
    rgba(var(--iv-scrim), 0.14)  76%,
    rgba(var(--iv-scrim), 0.12)  88%,
    rgba(var(--iv-scrim), 0.50) 100%);
}
#iv-grade { background: radial-gradient(140% 120% at 50% 40%, transparent 60%, rgba(var(--iv-scrim), 0.45) 100%); }
#iv-grade::after {              /* the page slides over a ground that dims as it is covered */
  content: ""; position: absolute; inset: 0;
  background: rgba(var(--iv-scrim), 0.55); opacity: var(--iv-scroll);
}
body.iv-playing #iv-tint { filter: none; }
.hero::after { content: none !important; }

.hero {
  min-height: max(640px, 100svh); padding: 16svh 24px 0; background: transparent;
  display: flex; flex-direction: column; align-items: center; justify-content: flex-start;
  text-align: center; overflow: visible; position: relative;
}
.hero-content { max-width: 1120px; padding: 0; margin: 0 auto; }
.heading-hero, .hero-subtitle, .hero .section-label { text-shadow: none !important; }
.hero .section-label {
  font: 600 12px/1.25 var(--font-body); letter-spacing: 0.26em; text-transform: uppercase;
  color: var(--iv-ink); opacity: 0.92; margin: 0; display: block;
}
.hero .heading-hero { margin: 22px auto 0; }
.hero-subtitle {
  font-size: clamp(1.05rem, 1.35vw, 1.25rem); line-height: 1.5;
  color: var(--iv-ink); opacity: 0.92; max-width: 600px; margin: 22px auto 0;
}
.hero-cta-group { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin: 38px 0 0; position: relative; }
.hero .btn-primary, .hero .btn-secondary { padding: 16px 32px; font-size: 13px; color: var(--iv-ink); }
.hero .btn-primary {
  background: rgba(var(--iv-scrim), 0.35); border: 1px solid rgba(201,168,76, 0.55); box-shadow: none;
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
}
.hero .btn-primary:hover, .hero .btn-primary:focus-visible { background: var(--iv-gold); border-color: var(--iv-gold); color: var(--iv-on-gold); }
.hero .btn-primary:active { background: var(--iv-gold-deep); transform: translateY(1px); }
.hero .btn-secondary { background: transparent; border: 1px solid rgba(255,255,255, 0.22); }
.hero .btn-secondary:hover, .hero .btn-secondary:focus-visible { border-color: rgba(255,255,255, 0.5); background: rgba(var(--iv-scrim), 0.35); }
.iv-cta-note { display: block; width: 100%; margin-top: 14px; font-size: 11px; letter-spacing: 0.2em; color: var(--iv-ink); opacity: 0.9; }
.hero .iv-placard {
  position: absolute; left: 40px; bottom: 36px;
  background: rgba(var(--iv-scrim), 0.92);          /* solid engraved plate over the film */
  border-color: var(--iv-hairline-strong);
}
@media (min-width: 641px) {
  /* Leave a separate lane for the motion control, including tablet widths. */
  .hero .iv-placard { display: block; max-width: calc(100% - 132px); text-align: left; }
  .hero .iv-placard::before { display: inline-block; margin-right: 8px; vertical-align: middle; }
}
.iv-motion-toggle {
  position: absolute; right: 40px; bottom: 36px; width: 36px; height: 36px;
  border-radius: 2px; border: 1px solid rgba(255,255,255, 0.22);
  background: rgba(var(--iv-scrim), 0.5); color: var(--iv-ink); font-size: 11px;
  display: flex; align-items: center; justify-content: center; cursor: pointer;
  opacity: 0; transition: opacity var(--iv-d2) ease;
}
body.iv-house-lights .iv-motion-toggle { opacity: 1; }
.iv-motion-toggle[aria-pressed="true"] { border-color: var(--iv-gold); opacity: 1; }
/* the taster: first surface over the threshold */
.iv-taster .container { max-width: 760px; text-align: center; }
.iv-taster .iv-player { text-align: left; margin-top: 28px; }
/* nav: its own material, so links never depend on the scrim */
.nav { background: rgba(19, 19, 23, 0.96); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px); border-bottom: 1px solid var(--iv-hairline-white); }
.nav.scrolled { background: rgba(19, 19, 23, 0.98); }
.nav-logo { font-weight: 700; color: var(--iv-gold); }
.nav-logo span { color: var(--iv-ink); font-weight: 400; }

@media (max-width: 640px) {
  #iv-gl, #iv-dust, .iv-motion-toggle { display: none !important; }
  .hero { padding: max(104px, 13svh) 20px 130px; min-height: 100svh; }
  .hero .section-label .hero-eyebrow__long { display: none; }
  .heading-hero { font-size: clamp(2.1rem, 9.6vw, 2.6rem); margin-top: 18px; }
  .hero-subtitle { font-size: 1rem; margin-top: 16px; }
  .hero-cta-group { flex-direction: column; width: 100%; max-width: 340px; margin: 28px auto 0; gap: 10px; }
  .hero .btn-primary { justify-content: center; }
  .hero .btn-secondary { background: none; border: none; padding: 8px; font-size: 12px; opacity: 0.9; text-decoration: underline; text-underline-offset: 4px; }
  .iv-cta-note { font-size: 12px; }
  .hero .iv-placard { left: 20px; right: 20px; bottom: 24px; justify-content: center; }
  .iv-motion-toggle { right: 20px; bottom: 72px; }
  /* portrait plate (frame 0 of the app's portrait loop): dark dome on top, lit desks at the bottom */
  #iv-tint { background: linear-gradient(180deg,
    rgba(var(--iv-scrim), 0.40)   0%,
    rgba(var(--iv-scrim), 0.60)  12%,
    rgba(var(--iv-scrim), 0.68)  18%,
    rgba(var(--iv-scrim), 0.76)  32%,
    rgba(var(--iv-scrim), 0.76)  60%,
    rgba(var(--iv-scrim), 0.78)  70%,
    rgba(var(--iv-scrim), 0.22)  79%,
    rgba(var(--iv-scrim), 0.26)  88%,
    rgba(var(--iv-scrim), 0.60) 100%); }
  #iv-photo { background-image: url("/assets/images/bg/library-hall-portrait-1080-v15.webp");
    background-image: image-set(
      url("/assets/images/bg/library-hall-portrait-1080-v15.avif") type("image/avif"),
      url("/assets/images/bg/library-hall-portrait-1080-v15.webp") type("image/webp"));
    background-position: 50% 50%; }
}
@media (prefers-reduced-motion: reduce) {
  #iv-gl { display: none !important; }                 /* the plate stays, nothing moves */
  .iv-in { animation: none; }
}

/* ---------- 2026-09-03 verification fixes ---------------------------------- */
/* Every H1 is Playfair 400, whatever page-scoped rule or inline block asked for 700
   (.auth-page h1, .rr-h1, .legal-page h1, .iv-v2-checkout-card h1 ...). */
body h1, body h1[class], body [class] h1, .iv-lede h1, .gh h1,
body [class] h2.heading-section, .auth-page h2, .iv-auth-page h2, .iv-v2-pricing h2 { font-weight: 400; }
.auth-page { background: var(--iv-canvas); }
.auth-page:has(> .iv-auth-brand)::before { display: none; }
.iv-auth-brand {
  font-family: var(--font-display); font-size: 1.5rem; color: var(--iv-gold);
  margin-bottom: 24px; text-decoration: none;
}
.iv-auth-brand:hover { color: var(--iv-gold-light); }
/* the classics page's own nav CTA joins the button system */
a.rr-nav__cta {
  background: var(--iv-gold); background-image: none; color: var(--iv-on-gold) !important;
  border-radius: 2px; text-transform: uppercase; letter-spacing: 0.12em;
  font: 500 0.74rem/1 var(--font-body); padding: 12px 18px; box-shadow: var(--iv-btn-edge);
}
a.rr-nav__cta:hover { background: var(--iv-gold-light); }
/* phone nav: the bar must hold logo + CTA + burger without clipping the burger */
@media (max-width: 640px) {
  .nav .container { gap: 10px; }
  .nav-cta { padding: 10px 12px; font-size: 0.64rem; letter-spacing: 0.1em; }
  .nav-burger { flex: 0 0 auto; }
}

@media (max-width: 640px) {
  /* the placard reads as one engraved line on a phone, not three columns */
  .hero .iv-placard { display: block; text-align: center; white-space: normal; line-height: 1.6; font-size: 10px; letter-spacing: 0.18em; padding: 8px 12px; }
  .hero .iv-placard::before { content: none; }
}
/* the login page's alternative action joins the ghost system */
.iv-auth-alt { border-radius: 2px; background: rgba(10, 10, 11, 0.28); color: var(--iv-ink); border: 1px solid var(--iv-hairline-strong); text-transform: uppercase; letter-spacing: 0.14em; font: 500 0.82rem/1 var(--font-body); padding: 15px 24px; }
.iv-auth-alt:hover { background: var(--iv-gold-wash); border-color: rgba(201, 168, 76, 0.5); color: var(--iv-ink); }

/* ---------- 2026-09-03 (evening): the page below the threshold is SOLID canvas -----
   The owner read the translucent sections over the dimmed film as a muddy grey-black
   and preferred /voices/ (solid #0A0A0B, cards one step up). So: the film is the hero's
   ground only; from the taster down every section sits on opaque canvas, cards on
   surface-1 like the voice pages, and the hero scrim runs to full black at its edge. */
.section:not(.hero), .social-proof, .waitlist-section, .steps-section, .pricing-transparency,
.iv-taster, .footer { background: var(--iv-canvas) !important; }
.section::before { content: none !important; }
.iv-tile__frame, .iv-browse-author__card, .iv-v2-browse-card, .iv-v2-tier, .step-item, .card, .voice-card, .price-card,
.pricing-transparency__card, .iv-card { background: var(--iv-surface-1); border-color: var(--iv-hairline); }
.iv-player { background: var(--iv-surface-1); }
#iv-tint {
  background: linear-gradient(180deg,
    rgba(var(--iv-scrim), 0.40)   0%,
    rgba(var(--iv-scrim), 0.62)  10%,
    rgba(var(--iv-scrim), 0.84)  16%,
    rgba(var(--iv-scrim), 0.82)  44%,
    rgba(var(--iv-scrim), 0.76)  52%,
    rgba(var(--iv-scrim), 0.74)  66%,
    rgba(var(--iv-scrim), 0.14)  76%,
    rgba(var(--iv-scrim), 0.12)  86%,
    rgba(var(--iv-scrim), 0.70)  95%,
    rgba(var(--iv-scrim), 1.00) 100%);
}
#iv-grade::after { content: none; }              /* no second dimming layer: sections are opaque now */
@media (max-width: 640px) {
  #iv-tint { background: linear-gradient(180deg,
    rgba(var(--iv-scrim), 0.40)   0%,
    rgba(var(--iv-scrim), 0.60)  12%,
    rgba(var(--iv-scrim), 0.68)  18%,
    rgba(var(--iv-scrim), 0.76)  32%,
    rgba(var(--iv-scrim), 0.76)  60%,
    rgba(var(--iv-scrim), 0.78)  70%,
    rgba(var(--iv-scrim), 0.22)  79%,
    rgba(var(--iv-scrim), 0.26)  90%,
    rgba(var(--iv-scrim), 0.80)  96%,
    rgba(var(--iv-scrim), 1.00) 100%); }
}

/* ---------- Shelf + catalogue controls (2026-09-05): focus rings, flat covers ---------- */
.iv-shelf__toggle:focus-visible, .iv-see-all:focus-visible { outline: none; box-shadow: var(--iv-focus); border-radius: var(--iv-btn-radius); }
/* Cover plates: no "showcase backlight" (L1 — no glows, no lifts); a hairline and the art itself. */
.iv-v2-browse-card__cover-frame::before { content: none; }
.iv-v2-browse-card__cover-frame img { filter: none; box-shadow: none; border: 1px solid var(--iv-hairline); }
.iv-v2-browse-card:hover .iv-v2-browse-card__cover-frame img { transform: none; filter: none; box-shadow: none; border-color: var(--iv-hairline-strong); }
.iv-browse-sample { color: var(--iv-gold-light); }
.iv-browse-sample.is-playing { background: var(--iv-gold); color: var(--iv-on-gold); border-color: var(--iv-gold); }
@media (max-width: 640px) {
  .iv-v2-browse-card .btn-primary, .iv-v2-browse-card .btn-secondary { padding: 12px 6px; font-size: 0.66rem; letter-spacing: 0.05em; white-space: nowrap; }
}

/* ---------- Waitlist panel + footer seam (2026-09-05) ---------------------- */
/* The footer's 40px top margin was the one transparent gap below the hero: the fixed film
   showed through as a strip of arches between the waitlist and the footer. */
.footer { margin-top: 0; }
/* The waitlist panel joins the L1 surface family (surface-1, hairline, card radius) — it was a
   wider, rounder, shadowed slab on a lighter grey that matched nothing else on the page. */
.waitlist-section .waitlist-block, .waitlist-block {
  background: var(--iv-surface-1); background-image: none;
  border: 1px solid var(--iv-hairline); border-radius: var(--iv-radius); box-shadow: none;
  max-width: 720px; padding: 40px clamp(20px, 4vw, 48px);
}
.waitlist-input { background: var(--iv-surface-2); border: 1px solid var(--iv-hairline-white); border-radius: 12px; color: var(--iv-ink); }
.waitlist-input::placeholder { color: var(--iv-ink-3); }
.waitlist-input:focus, .waitlist-input:focus-visible { outline: none; border-color: var(--iv-hairline-strong); box-shadow: var(--iv-focus); }
.waitlist-privacy { margin-top: 18px; color: var(--iv-ink-3); }
.waitlist-privacy a { color: var(--iv-gold); text-decoration-color: rgba(201,168,76, 0.35); }
.waitlist-privacy a:hover { color: var(--iv-gold-light); text-decoration-color: currentColor; }

/* ---------- Mobile menu (2026-09-05): a full sheet on phones, a panel over a scrim on tablets ---------- */
.mobile-drawer {
  background: var(--iv-canvas); border-left: 1px solid var(--iv-hairline); z-index: 120;
  width: min(400px, 100vw); padding: 0; box-shadow: none;
  transition: transform var(--iv-d2) var(--iv-ease), visibility 0s linear var(--iv-d2);
}
.mobile-drawer.open { box-shadow: none; transition: transform var(--iv-d2) var(--iv-ease), visibility 0s; }
@media (max-width: 640px) { .mobile-drawer { width: 100vw; border-left: 0; } }
.mobile-drawer-backdrop {
  position: fixed; inset: 0; z-index: 115; background: rgba(10,10,11, 0.62);
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
  opacity: 0; visibility: hidden; transition: opacity var(--iv-d2) var(--iv-ease), visibility 0s linear var(--iv-d2);
}
body.drawer-open .mobile-drawer-backdrop { opacity: 1; visibility: visible; transition: opacity var(--iv-d2) var(--iv-ease), visibility 0s; }
.mobile-drawer-inner { display: flex; flex-direction: column; gap: 0; padding: 0; min-height: 100%; }
.mobile-drawer-head {
  display: flex; align-items: center; justify-content: space-between; height: var(--nav-height); flex: 0 0 auto;
  padding: 0 16px 0 24px; border-bottom: 1px solid var(--iv-hairline-white);
}
.mobile-drawer-brand { font: 400 1.35rem/1 var(--font-display); color: var(--iv-gold); text-decoration: none; letter-spacing: -0.01em; }
.mobile-drawer-brand span { color: var(--iv-ink); }
.mobile-drawer-close {
  position: static; width: 44px; height: 44px; display: grid; place-items: center; cursor: pointer;
  background: var(--iv-surface-1); border: 1px solid var(--iv-hairline); border-radius: var(--iv-btn-radius);
  color: var(--iv-ink); font-size: 22px; line-height: 1;
}
.mobile-drawer-close:hover { border-color: var(--iv-hairline-strong); color: var(--iv-gold-light); }
.mobile-drawer-eyebrow { display: block; padding: 22px 24px 6px; font: 500 0.66rem/1 var(--font-body); letter-spacing: 0.22em; text-transform: uppercase; color: var(--iv-gold); }
.mobile-drawer-nav { display: flex; flex-direction: column; padding: 0 8px; }
.mobile-drawer-link {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  min-height: 56px; padding: 14px 16px; border-radius: var(--iv-btn-radius);
  font: 500 1.05rem/1.3 var(--font-body); color: var(--iv-ink); text-decoration: none;
  border-bottom: 1px solid var(--iv-hairline-white); transition: background var(--iv-d1) var(--iv-ease);
}
.mobile-drawer-nav .mobile-drawer-link:last-child { border-bottom: 0; }
.mobile-drawer-link::after { content: "\203A"; color: var(--iv-ink-3); font-size: 1.4rem; line-height: 1; }
.mobile-drawer-link:hover, .mobile-drawer-link:focus-visible { background: var(--iv-gold-wash); color: var(--iv-ink); }
.mobile-drawer-link:hover::after, .mobile-drawer-link:focus-visible::after { color: var(--iv-gold); }
.mobile-drawer-foot { margin-top: auto; padding: 20px 24px calc(24px + env(safe-area-inset-bottom)); border-top: 1px solid var(--iv-hairline-white); display: grid; gap: 14px; }
.mobile-drawer-cta { margin-top: 0; width: 100%; }
.mobile-drawer-note { margin: 0; font-size: 0.78rem; line-height: 1.5; color: var(--iv-ink-3); text-align: center; }
@media (prefers-reduced-motion: reduce) { .mobile-drawer, .mobile-drawer-backdrop { transition: none; } }

/* ---------- The Apps (2026-09-05): flat devices on the canvas, store badges as static plates ---------- */
.apps-salon-points li::before { box-shadow: none; background: var(--iv-gold); }
.apps-store-badges { display: flex; flex-wrap: wrap; gap: 12px; margin: 0 0 8px; }
.apps-store-badge {
  display: inline-flex; align-items: center; gap: 12px; min-height: 52px; padding: 8px 18px 8px 14px;
  background: var(--iv-surface-2); border: 1px solid var(--iv-hairline-strong); border-radius: 8px;
  color: var(--iv-ink); cursor: default; user-select: none; -webkit-user-select: none;
}
.apps-store-badge svg { width: 24px; height: 24px; color: var(--iv-ink); flex: none; }
.apps-store-badge__text { display: flex; flex-direction: column; line-height: 1.1; }
.apps-store-badge__small { font-size: 0.62rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--iv-ink-3); }
.apps-store-badge__name { font-size: 1.05rem; font-weight: 600; color: var(--iv-ink); }
.apps-salon-wall { padding: 24px 0 0; border: 0; border-radius: 0; background: none; }
.apps-salon-wall::before { content: none; }
.apps-frame-mat { padding: 8px; border-radius: 30px; background: var(--iv-surface-2); border: 1px solid var(--iv-hairline-strong); box-shadow: none; }
.apps-frame-mat::after { content: none; }
.apps-frame-mat img { border-radius: 22px; background: var(--iv-surface-1); }
.apps-frame--detail .apps-frame-mat { border-radius: var(--iv-radius); }
.apps-frame--detail .apps-frame-mat img { border-radius: 12px; }
.apps-frame-placard { border: 0; background: none; padding: 0; margin-top: 16px; gap: 4px; }
.apps-placard-title { color: var(--iv-ink); font-weight: 400; }
.apps-placard-medium { color: var(--iv-ink-3); letter-spacing: 0.16em; }
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .apps-frame--center:hover { transform: translateY(-12px); }           /* no hover lifts (L1) */
  .apps-frame--side:hover { transform: translateY(16px) scale(0.94); }
}
@media (max-width: 640px) {
  .apps-salon-wall { padding: 12px var(--iv-gutter) 12px; margin: 0 calc(-1 * var(--iv-gutter)); scroll-snap-type: x proximity; scrollbar-width: thin; scrollbar-color: var(--iv-hairline-strong) transparent; }
  .apps-salon-wall::-webkit-scrollbar { display: block; height: 4px; }
  .apps-salon-wall::-webkit-scrollbar-thumb { background: var(--iv-hairline-strong); border-radius: 2px; }
  .apps-frame--center:hover, .apps-frame--side:hover { transform: none; }
}
