/* ==========================================================================
   外卖呢 · Takeout Odyssey — Flagship Living Theater Design System
   4 Circadian Themes · Collector Foil Receipt Atelier · Dual-End Responsive
   ========================================================================== */

:root {
  --font-display: "Fraunces", "Noto Serif SC", "Noto Serif TC", "Noto Serif JP", "Noto Serif KR", "Songti SC", "STSong", Georgia, serif;
  --font-sans: "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, "PingFang SC", "PingFang TC", "Hiragino Sans", "Apple SD Gothic Neo", "Noto Sans CJK SC", "Segoe UI", sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, Monaco, Consolas, monospace;

  /* Default Mood: Noon Street (Warm Sunlit Parchment & Sizzling Vermilion) */
  --bg: #FAF2E5;
  --bg-glow-1: rgba(255, 198, 108, 0.44);
  --bg-glow-2: rgba(236, 92, 42, 0.16);
  --bg-glow-3: rgba(255, 240, 212, 0.7);
  --header-bg: rgba(250, 242, 229, 0.84);
  --surface: rgba(255, 253, 248, 0.82);
  --surface-strong: #FFFDF8;
  --surface-tint: #F4E7D3;
  --ink: #1A1512;
  --ink-soft: #5F534A;
  --ink-muted: #7F7268;
  --accent: #E64920;
  --accent-hover: #CA3711;
  --accent-soft: rgba(230, 73, 32, 0.11);
  --gold: #C8892B;
  --gold-soft: rgba(200, 137, 43, 0.16);
  --line: rgba(74, 46, 22, 0.14);
  --line-strong: rgba(74, 46, 22, 0.24);
  --shadow-sm: 0 8px 24px rgba(82, 44, 16, 0.08);
  --shadow-md: 0 20px 52px rgba(74, 38, 14, 0.12);
  --shadow-lg: 0 32px 84px rgba(58, 28, 10, 0.18);
  --cta-primary-bg: #1A1512;
  --cta-primary-ink: #FFFDF8;
  --planned-bg: rgba(120, 114, 108, 0.11);
  --planned-ink: #6A635C;
  --planned-border: rgba(120, 114, 108, 0.28);
  --popover-bg: #1F1916;
  --popover-ink: #FAF3E8;
  --popover-muted: #CBBDB1;
  --band-dark-bg: #1B1614;
  --band-dark-ink: #FAF3E8;
  --band-dark-muted: #C2B5A8;
  --radius-sm: 12px;
  --radius-md: 20px;
  --radius-lg: 30px;
  --radius-pill: 999px;
}

/* Circadian Mood 1: Dawn Cafe */
html[data-mood="dawn"] {
  --bg: #FBF5EC;
  --bg-glow-1: rgba(255, 214, 148, 0.52);
  --bg-glow-2: rgba(244, 152, 92, 0.2);
  --bg-glow-3: rgba(255, 245, 226, 0.8);
  --header-bg: rgba(251, 245, 236, 0.86);
  --surface: rgba(255, 253, 249, 0.88);
  --surface-strong: #FFFEFA;
  --surface-tint: #F5E9D8;
  --ink: #241914;
  --ink-soft: #68584E;
  --ink-muted: #86766A;
  --accent: #D96B23;
  --accent-hover: #B85414;
  --accent-soft: rgba(217, 107, 35, 0.12);
  --gold: #C78D2E;
  --cta-primary-bg: #241914;
  --cta-primary-ink: #FFFDF9;
}

/* Circadian Mood 3: Dusk Radio */
html[data-mood="dusk"] {
  --bg: #221616;
  --bg-glow-1: rgba(255, 114, 54, 0.28);
  --bg-glow-2: rgba(182, 74, 96, 0.24);
  --bg-glow-3: rgba(68, 34, 34, 0.6);
  --header-bg: rgba(34, 22, 22, 0.84);
  --surface: rgba(45, 30, 30, 0.86);
  --surface-strong: #322121;
  --surface-tint: #3D2828;
  --ink: #FDF2E6;
  --ink-soft: #D7C1B2;
  --ink-muted: #A99386;
  --accent: #FF783B;
  --accent-hover: #FF905E;
  --accent-soft: rgba(255, 120, 59, 0.18);
  --gold: #F1B95F;
  --gold-soft: rgba(241, 185, 95, 0.18);
  --line: rgba(255, 221, 190, 0.14);
  --line-strong: rgba(255, 221, 190, 0.26);
  --shadow-sm: 0 10px 28px rgba(0, 0, 0, 0.28);
  --shadow-md: 0 24px 60px rgba(0, 0, 0, 0.36);
  --shadow-lg: 0 34px 90px rgba(0, 0, 0, 0.48);
  --cta-primary-bg: #FF783B;
  --cta-primary-ink: #1B110E;
  --planned-bg: rgba(220, 206, 196, 0.08);
  --planned-ink: #B7A59A;
  --planned-border: rgba(220, 206, 196, 0.24);
  --popover-bg: #160E0E;
  --popover-ink: #FDF2E6;
  --popover-muted: #CBB5A6;
  --band-dark-bg: #150D0D;
  --band-dark-ink: #FDF2E6;
  --band-dark-muted: #C5AFA2;
}

/* Circadian Mood 4: Midnight Rain */
html[data-mood="midnight"] {
  --bg: #101520;
  --bg-glow-1: rgba(244, 166, 68, 0.22);
  --bg-glow-2: rgba(74, 118, 194, 0.22);
  --bg-glow-3: rgba(22, 32, 52, 0.72);
  --header-bg: rgba(16, 21, 32, 0.86);
  --surface: rgba(24, 31, 46, 0.86);
  --surface-strong: #1C2436;
  --surface-tint: #253047;
  --ink: #F5F1E7;
  --ink-soft: #C2CAD8;
  --ink-muted: #8E99AD;
  --accent: #F4A340;
  --accent-hover: #FFB85E;
  --accent-soft: rgba(244, 163, 64, 0.16);
  --gold: #F2C36B;
  --gold-soft: rgba(242, 195, 107, 0.16);
  --line: rgba(212, 226, 255, 0.14);
  --line-strong: rgba(212, 226, 255, 0.26);
  --shadow-sm: 0 10px 28px rgba(0, 0, 0, 0.34);
  --shadow-md: 0 24px 60px rgba(0, 0, 0, 0.44);
  --shadow-lg: 0 36px 96px rgba(0, 0, 0, 0.56);
  --cta-primary-bg: #F4A340;
  --cta-primary-ink: #111520;
  --planned-bg: rgba(190, 204, 230, 0.08);
  --planned-ink: #9DA9BE;
  --planned-border: rgba(190, 204, 230, 0.24);
  --popover-bg: #0B0F18;
  --popover-ink: #F5F1E7;
  --popover-muted: #B6C0D2;
  --band-dark-bg: #090D15;
  --band-dark-ink: #F5F1E7;
  --band-dark-muted: #AEB7C9;
}

*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  overflow-x: clip;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  min-height: 100vh;
  overflow-x: clip;
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.65;
  background-color: var(--bg);
  background-image:
    radial-gradient(circle at 12% 6%, var(--bg-glow-1), transparent 36rem),
    radial-gradient(circle at 88% 18%, var(--bg-glow-2), transparent 34rem),
    radial-gradient(circle at 50% 62%, var(--bg-glow-3), transparent 44rem);
  background-attachment: fixed;
  transition: background-color 0.55s ease, color 0.4s ease;
  padding-bottom: env(safe-area-inset-bottom, 0px);
}

/* Subtle cozy raindrop streaks in midnight/dawn mood */
html[data-mood="midnight"] body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  opacity: 0.16;
  background-image: repeating-linear-gradient(
    102deg,
    transparent 0,
    transparent 44px,
    rgba(210, 228, 255, 0.16) 44px,
    rgba(210, 228, 255, 0.16) 45px
  );
  background-size: 160px 160px;
}

a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }
img { max-width: 100%; height: auto; display: block; }

.shell {
  width: min(1240px, calc(100% - 40px));
  margin-inline: auto;
  position: relative;
  z-index: 1;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

/* ==========================================================================
   Sticky Top Header (Desktop + Mobile Native Ergonomics)
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--header-bg);
  backdrop-filter: blur(18px) saturate(1.3);
  -webkit-backdrop-filter: blur(18px) saturate(1.3);
  border-bottom: 1px solid var(--line);
  padding-top: env(safe-area-inset-top, 0px);
  transition: background-color 0.45s ease, border-color 0.45s ease;
}

.header-inner {
  min-height: 74px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.header-inner.shell {
  width: min(1320px, calc(100% - 36px));
}

html[lang="ko"] h1,
html[lang="ko"] h2,
html[lang="ko"] h3,
html[lang="ko"] p {
  word-break: keep-all;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  min-width: 0;
  flex-shrink: 0;
}

.brand-icon {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  box-shadow: var(--shadow-sm);
  flex-shrink: 0;
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.brand-title {
  font-family: var(--font-display);
  font-size: 16.5px;
  font-weight: 700;
  letter-spacing: -0.01em;
  white-space: nowrap;
}

.brand-sub {
  margin-top: 2px;
  font-size: 9.5px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-muted);
  white-space: nowrap;
}

.header-nav {
  display: flex;
  align-items: center;
  gap: 2px;
  flex-shrink: 0;
}

.nav-link {
  padding: 7px 9px;
  border-radius: var(--radius-pill);
  font-size: 13px;
  font-weight: 600;
  color: var(--ink-soft);
  white-space: nowrap;
  transition: color 0.18s ease, background-color 0.18s ease;
}

.nav-link:hover,
.nav-link:focus-visible {
  color: var(--ink);
  background: var(--accent-soft);
  outline: none;
}

.nav-link.active {
  color: var(--accent);
  background: var(--accent-soft);
}

.header-controls {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
}

/* 5-Language Switcher — Desktop Inline Segmented Bar */
.lang-inline {
  display: inline-flex;
  align-items: center;
  padding: 3px;
  border-radius: var(--radius-pill);
  background: var(--surface);
  border: 1px solid var(--line);
  gap: 1px;
}

.lang-pill {
  min-width: 30px;
  min-height: 32px;
  padding: 0 7px;
  border: 0;
  border-radius: var(--radius-pill);
  background: transparent;
  color: var(--ink-soft);
  font-size: 11.5px;
  font-weight: 700;
  cursor: pointer;
  transition: background-color 0.18s ease, color 0.18s ease, transform 0.15s ease;
}

.lang-pill:hover { color: var(--ink); }
.lang-pill.active {
  background: var(--accent);
  color: #FFFDF8;
  box-shadow: 0 4px 12px rgba(230, 73, 32, 0.28);
}

/* Mobile Compact Language Popover Trigger */
.lang-mobile-wrap {
  display: none;
  position: relative;
}

.icon-pill-btn {
  min-height: 44px;
  min-width: 44px;
  padding: 0 12px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--ink);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: border-color 0.2s ease, background-color 0.2s ease, transform 0.15s ease;
}

.icon-pill-btn:hover,
.icon-pill-btn:focus-visible {
  border-color: var(--accent);
  outline: none;
}

.lang-dropdown {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  min-width: 176px;
  padding: 6px;
  border-radius: 18px;
  background: var(--surface-strong);
  border: 1px solid var(--line-strong);
  box-shadow: var(--shadow-lg);
  display: none;
  flex-direction: column;
  gap: 2px;
  z-index: 140;
}

.lang-dropdown.open { display: flex; }

.lang-option {
  min-height: 44px;
  padding: 0 14px;
  border: 0;
  border-radius: 12px;
  background: transparent;
  color: var(--ink);
  font-size: 14px;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  text-align: left;
}

.lang-option:hover { background: var(--accent-soft); }
.lang-option.active {
  background: var(--accent);
  color: #FFFDF8;
}

/* Cozy Radio / Audio Control in Header */
.radio-wrap {
  position: relative;
}

.radio-pill-group {
  display: inline-flex;
  align-items: center;
  border-radius: var(--radius-pill);
  border: 1px solid var(--line);
  background: var(--surface);
  overflow: hidden;
}

.radio-btn {
  min-height: 40px;
  padding: 0 11px 0 13px;
  border: 0;
  background: transparent;
  color: var(--ink);
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 12.5px;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.radio-btn.playing {
  background: var(--accent-soft);
  color: var(--accent);
}

.radio-tune-btn {
  min-width: 30px;
  min-height: 40px;
  padding: 0 9px 0 6px;
  border: 0;
  border-left: 1px solid var(--line);
  background: transparent;
  color: var(--ink-soft);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  cursor: pointer;
}

.radio-tune-btn:hover {
  background: var(--accent-soft);
  color: var(--ink);
}

.eq-bars {
  display: inline-flex;
  align-items: flex-end;
  gap: 2px;
  height: 14px;
  width: 14px;
}

.eq-bars i {
  display: block;
  width: 3px;
  height: 4px;
  border-radius: 2px;
  background: currentColor;
  transition: height 0.2s ease;
}

.eq-bars i:nth-child(2) { height: 7px; }
.eq-bars i:nth-child(3) { height: 5px; }

.radio-btn.playing .eq-bars i {
  animation: eq-bounce 0.85s ease-in-out infinite alternate;
}
.radio-btn.playing .eq-bars i:nth-child(2) { animation-delay: -0.25s; animation-duration: 0.7s; }
.radio-btn.playing .eq-bars i:nth-child(3) { animation-delay: -0.5s; animation-duration: 0.95s; }

@keyframes eq-bounce {
  0% { height: 3px; }
  100% { height: 14px; }
}

.radio-drawer {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  width: min(310px, calc(100vw - 28px));
  padding: 16px;
  border-radius: 22px;
  background: var(--surface-strong);
  border: 1px solid var(--line-strong);
  box-shadow: var(--shadow-lg);
  display: none;
  flex-direction: column;
  gap: 12px;
  z-index: 140;
}

.radio-drawer.open { display: flex; }

.radio-drawer-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.radio-drawer-title {
  font-size: 14px;
  font-weight: 800;
}

.radio-drawer-hint {
  margin: 0;
  font-size: 12px;
  color: var(--ink-muted);
  line-height: 1.45;
}

.radio-track-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
}

.radio-track-btn {
  min-height: 40px;
  padding: 6px 10px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--ink-soft);
  font-size: 12px;
  font-weight: 700;
  text-align: left;
  cursor: pointer;
  transition: all 0.16s ease;
}

.radio-track-btn.active {
  border-color: var(--accent);
  background: var(--accent-soft);
  color: var(--accent);
}

.radio-footer-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding-top: 8px;
  border-top: 1px solid var(--line);
}

.radio-sfx-toggle {
  min-height: 36px;
  padding: 0 11px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--line);
  background: var(--surface);
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
}

.radio-sfx-toggle.active {
  border-color: var(--gold);
  color: var(--gold);
}

.radio-vol {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  color: var(--ink-muted);
}

.radio-vol input[type="range"] {
  width: 82px;
  accent-color: var(--accent);
}

.header-cta {
  min-height: 38px;
  padding: 0 13px;
  border-radius: var(--radius-pill);
  background: var(--cta-primary-bg);
  color: var(--cta-primary-ink);
  font-size: 12.5px;
  font-weight: 750;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
  box-shadow: var(--shadow-sm);
  transition: transform 0.16s ease, opacity 0.16s ease;
}

.header-cta:hover { transform: translateY(-1px); opacity: 0.94; }
.header-cta svg { width: 15px; height: 15px; flex-shrink: 0; }

/* Mobile Nav Button & Sheet */
.mobile-menu-btn {
  display: none;
}

.mobile-nav-drawer {
  display: none;
  border-top: 1px solid var(--line);
  background: var(--surface-strong);
  padding: 12px 20px 18px;
}

.mobile-nav-drawer.open { display: block; }

.mobile-nav-links {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.mobile-nav-links a {
  min-height: 44px;
  padding: 0 14px;
  border-radius: 14px;
  background: var(--surface-tint);
  display: flex;
  align-items: center;
  font-size: 14px;
  font-weight: 700;
}

.mobile-nav-links a.active {
  background: var(--accent);
  color: #FFFDF8;
}

/* ==========================================================================
   Circadian Time-of-Day Switcher Strip
   ========================================================================== */
.mood-strip-wrap {
  padding-top: 22px;
}

.mood-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  padding: 8px 10px 8px 16px;
  border-radius: 22px;
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
}

.mood-strip-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 12.5px;
  font-weight: 700;
  color: var(--ink-soft);
}

.live-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 4px var(--accent-soft);
  flex-shrink: 0;
}

.mood-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.mood-pill {
  min-height: 38px;
  padding: 0 14px;
  border-radius: var(--radius-pill);
  border: 1px solid transparent;
  background: transparent;
  color: var(--ink-soft);
  font-size: 13px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.mood-pill:hover {
  background: var(--accent-soft);
  color: var(--ink);
}

.mood-pill.active {
  background: var(--cta-primary-bg);
  color: var(--cta-primary-ink);
  box-shadow: var(--shadow-sm);
}

/* ==========================================================================
   Hero Showcase — Warm Living Street Theater
   ========================================================================== */
.hero {
  padding-block: 34px 56px;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.06fr) minmax(340px, 0.94fr);
  gap: clamp(28px, 5vw, 68px);
  align-items: center;
}

.eyebrow {
  margin: 0 0 14px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 13px;
  border-radius: var(--radius-pill);
  background: var(--accent-soft);
  color: var(--accent);
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.hero h1 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(38px, 5.2vw, 64px);
  line-height: 1.08;
  letter-spacing: -0.03em;
  white-space: pre-line;
}

.hero-lead {
  margin: 22px 0 0;
  max-width: 580px;
  font-size: clamp(16px, 1.5vw, 18.5px);
  line-height: 1.7;
  color: var(--ink-soft);
}

/* All-Channels Bar (Live + Grayed Planned Channels with Interactive Popovers) */
.channels-row {
  margin-top: 28px;
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  gap: 12px;
}

.btn-store-live {
  min-height: 58px;
  padding: 10px 22px;
  border-radius: 18px;
  border: 0;
  background: var(--cta-primary-bg);
  color: var(--cta-primary-ink);
  display: inline-flex;
  align-items: center;
  gap: 12px;
  box-shadow: var(--shadow-md);
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.btn-store-live:hover,
.btn-store-live:focus-visible {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
  outline: none;
}

.btn-store-live svg { width: 24px; height: 24px; flex-shrink: 0; }

.btn-store-stack {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
  text-align: left;
}

.btn-store-stack small {
  font-size: 10.5px;
  font-weight: 600;
  opacity: 0.82;
}

.btn-store-stack strong {
  font-size: 16px;
  font-weight: 800;
  letter-spacing: -0.01em;
}

/* Grayed Planned Channel Button + Smart Hover/Focus/Tap Popover */
.planned-channel {
  position: relative;
  display: inline-flex;
}

.btn-store-planned {
  min-height: 58px;
  padding: 10px 16px;
  border-radius: 18px;
  border: 1.5px dashed var(--planned-border);
  background: var(--planned-bg);
  color: var(--planned-ink);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  transition: border-color 0.2s ease, background-color 0.2s ease, color 0.2s ease;
}

.btn-store-planned:hover,
.btn-store-planned:focus-visible,
.planned-channel.open .btn-store-planned {
  border-color: var(--line-strong);
  background: var(--surface);
  color: var(--ink-soft);
  outline: none;
}

.btn-store-planned svg {
  width: 20px;
  height: 20px;
  opacity: 0.72;
  flex-shrink: 0;
}

.planned-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 2px 7px;
  border-radius: var(--radius-pill);
  background: rgba(128, 122, 116, 0.16);
  font-size: 10px;
  font-weight: 700;
  margin-top: 2px;
  width: fit-content;
}

.channel-popover {
  position: absolute;
  left: 50%;
  bottom: calc(100% + 12px);
  transform: translateX(-50%) translateY(6px);
  width: min(300px, calc(100vw - 32px));
  padding: 15px 16px;
  border-radius: 18px;
  background: var(--popover-bg);
  color: var(--popover-ink);
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: var(--shadow-lg);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  z-index: 120;
  text-align: left;
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
}

.channel-popover::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 100%;
  transform: translateX(-50%);
  border: 7px solid transparent;
  border-top-color: var(--popover-bg);
}

.planned-channel.open .channel-popover {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}

@media (hover: hover) and (pointer: fine) {
  .planned-channel:hover .channel-popover,
  .planned-channel:focus-within .channel-popover {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateX(-50%) translateY(0);
  }
}

.channel-popover h4 {
  margin: 0 0 6px;
  font-size: 13.5px;
  font-weight: 800;
  color: #FFD18D;
}

.channel-popover p {
  margin: 0;
  font-size: 12.5px;
  line-height: 1.55;
  color: var(--popover-muted);
}

.popover-close-btn {
  margin-top: 10px;
  min-height: 32px;
  padding: 0 12px;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.08);
  color: var(--popover-ink);
  font-size: 11.5px;
  font-weight: 700;
  cursor: pointer;
}

.pledge-row {
  margin-top: 20px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--ink-muted);
}

.pledge-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.pledge-item::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold);
  flex-shrink: 0;
}

/* Hero Visual Stage */
.hero-stage {
  position: relative;
}

.hero-frame {
  position: relative;
  border-radius: 30px;
  overflow: hidden;
  border: 1px solid var(--line-strong);
  background: #23140D;
  box-shadow: var(--shadow-lg);
}

.hero-banner-img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  object-position: center;
  transition: filter 0.6s ease, transform 0.6s ease;
}

html[data-mood="dawn"] .hero-banner-img { filter: brightness(1.06) saturate(0.95) sepia(0.08); }
html[data-mood="noon"] .hero-banner-img { filter: brightness(1.03) saturate(1.06); }
html[data-mood="dusk"] .hero-banner-img { filter: brightness(0.92) saturate(1.18) contrast(1.04); }
html[data-mood="midnight"] .hero-banner-img { filter: brightness(0.76) saturate(0.92) contrast(1.08); }

.hero-frame-scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(20, 12, 8, 0.08) 0%, rgba(20, 12, 8, 0.56) 100%);
  pointer-events: none;
}

.hero-weather-chip {
  position: absolute;
  top: 16px;
  left: 16px;
  padding: 7px 13px;
  border-radius: var(--radius-pill);
  background: rgba(20, 14, 12, 0.72);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: #FFF4E4;
  border: 1px solid rgba(255, 224, 184, 0.25);
  font-size: 12px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.hero-mascot-float {
  position: absolute;
  right: 16px;
  bottom: 54px;
  width: clamp(92px, 14vw, 138px);
  filter: drop-shadow(0 18px 20px rgba(24, 10, 4, 0.42));
  animation: mascot-hop 2.4s ease-in-out infinite;
  pointer-events: none;
}

@keyframes mascot-hop {
  0%, 100% { transform: translateY(0) rotate(-2deg); }
  50% { transform: translateY(-10px) rotate(2deg); }
}

.hero-stage-footer {
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 14px;
  padding: 11px 15px;
  border-radius: 16px;
  background: rgba(18, 13, 11, 0.76);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 226, 192, 0.2);
  color: #FFF4E6;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  font-size: 12px;
}

.hero-stage-footer strong {
  color: #FFD084;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
}

.hero-stage-footer span {
  opacity: 0.9;
  line-height: 1.35;
}

/* ==========================================================================
   Theater Scale Metrics Ribbon
   ========================================================================== */
.metrics-band {
  padding-block: 12px 36px;
}

.metrics-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.metric-card {
  padding: 22px 22px 20px;
  border-radius: 22px;
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
}

.metric-num {
  font-family: var(--font-display);
  font-size: clamp(32px, 3.6vw, 44px);
  font-weight: 700;
  line-height: 1;
  color: var(--accent);
}

.metric-label {
  margin-top: 10px;
  font-size: 15px;
  font-weight: 800;
}

.metric-sub {
  margin-top: 4px;
  font-size: 12.5px;
  color: var(--ink-muted);
  line-height: 1.45;
}

/* ==========================================================================
   Shared Section Framing
   ========================================================================== */
.section-block {
  padding-block: clamp(54px, 7vw, 88px);
}

.section-head {
  max-width: 740px;
  margin-bottom: 32px;
}

.section-head h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(28px, 3.8vw, 44px);
  line-height: 1.14;
  letter-spacing: -0.025em;
}

.section-head p {
  margin: 14px 0 0;
  font-size: 16px;
  color: var(--ink-soft);
  line-height: 1.7;
}

/* ==========================================================================
   Curated Kitchens & Dishes Gallery
   ========================================================================== */
.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 24px;
}

.filter-tab {
  min-height: 44px;
  padding: 0 18px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--ink-soft);
  font-size: 13.5px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.18s ease;
}

.filter-tab:hover { border-color: var(--accent); color: var(--ink); }
.filter-tab.active {
  background: var(--accent);
  border-color: var(--accent);
  color: #FFFDF8;
  box-shadow: 0 8px 20px rgba(230, 73, 32, 0.25);
}

.kitchen-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.kitchen-card {
  border-radius: 24px;
  overflow: hidden;
  background: var(--surface-strong);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.kitchen-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: var(--line-strong);
}

.kitchen-card.hidden { display: none; }

.kitchen-media {
  position: relative;
  overflow: hidden;
  aspect-ratio: 3 / 2;
  background: #231914;
}

.kitchen-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s ease;
}

.kitchen-card:hover .kitchen-media img { transform: scale(1.06); }

.kitchen-tag {
  position: absolute;
  top: 11px;
  left: 11px;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  background: rgba(18, 13, 10, 0.76);
  backdrop-filter: blur(8px);
  color: #FFE0A3;
  font-size: 11px;
  font-weight: 750;
}

.kitchen-time-badge {
  position: absolute;
  top: 11px;
  right: 11px;
  padding: 4px 9px;
  border-radius: var(--radius-pill);
  background: rgba(255, 253, 248, 0.88);
  color: #201915;
  font-size: 10.5px;
  font-weight: 800;
}

.kitchen-body {
  padding: 16px 16px 18px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.kitchen-body h3 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 19px;
  line-height: 1.25;
}

.kitchen-sub {
  margin: 5px 0 12px;
  font-size: 12.5px;
  color: var(--ink-muted);
}

.kitchen-dish-row {
  margin-top: auto;
  padding-top: 10px;
  border-top: 1px dashed var(--line-strong);
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
  font-size: 13px;
}

.kitchen-dish-name {
  font-weight: 700;
  color: var(--ink);
}

.kitchen-price {
  font-family: var(--font-mono);
  font-size: 12.5px;
  font-weight: 700;
  color: var(--accent);
  white-space: nowrap;
}

.kitchen-print-btn {
  margin-top: 12px;
  min-height: 40px;
  padding: 0 12px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: var(--surface-tint);
  color: var(--ink);
  font-size: 12.5px;
  font-weight: 750;
  cursor: pointer;
  text-align: center;
  transition: background-color 0.18s ease, color 0.18s ease, border-color 0.18s ease;
}

.kitchen-print-btn:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: #FFFDF8;
}

/* ==========================================================================
   Interactive Collector Foil Receipt Atelier
   ========================================================================== */
.atelier-band {
  background: var(--band-dark-bg);
  color: var(--band-dark-ink);
  position: relative;
  overflow: hidden;
}

.atelier-band::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 18% 20%, rgba(244, 163, 64, 0.16), transparent 32rem),
    radial-gradient(circle at 82% 75%, rgba(230, 73, 32, 0.16), transparent 34rem);
}

.atelier-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 440px);
  gap: clamp(32px, 6vw, 76px);
  align-items: center;
}

.atelier-copy .eyebrow {
  background: rgba(244, 163, 64, 0.16);
  color: #F6C26B;
}

.atelier-copy h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(28px, 3.8vw, 44px);
  line-height: 1.14;
}

.atelier-copy p {
  margin: 16px 0 0;
  color: var(--band-dark-muted);
  font-size: 16px;
  line-height: 1.7;
}

.paper-picker {
  margin-top: 26px;
}

.paper-picker-label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #F6C26B;
  margin-bottom: 10px;
}

.paper-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.paper-tab {
  min-height: 44px;
  padding: 0 16px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.06);
  color: #E8DCD0;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.18s ease;
}

.paper-tab.active {
  border-color: #F6C26B;
  background: rgba(246, 194, 107, 0.18);
  color: #FFF4DC;
}

.atelier-actions {
  margin-top: 22px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.btn-atelier-primary {
  min-height: 50px;
  padding: 0 22px;
  border-radius: 16px;
  border: 0;
  background: linear-gradient(135deg, #FF6D38, #E2441A);
  color: #FFFDF8;
  font-size: 14.5px;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 12px 28px rgba(230, 73, 32, 0.34);
  transition: transform 0.16s ease, filter 0.16s ease;
}

.btn-atelier-primary:hover { transform: translateY(-2px); filter: brightness(1.06); }

.btn-atelier-ghost {
  min-height: 50px;
  padding: 0 18px;
  border-radius: 16px;
  border: 1px solid rgba(255, 232, 200, 0.24);
  background: rgba(255, 255, 255, 0.07);
  color: #FAF1E6;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  transition: background-color 0.16s ease, border-color 0.16s ease;
}

.btn-atelier-ghost:hover {
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(246, 194, 107, 0.5);
}

/* Physical Thermal Printer Slot + Serrated Collector Receipt */
.printer-housing {
  position: relative;
  padding-top: 18px;
}

.printer-slot {
  height: 22px;
  margin-inline: -8px;
  border-radius: 12px;
  background: linear-gradient(180deg, #3A322D, #191412 58%, #090706);
  border: 1px solid rgba(246, 194, 107, 0.3);
  box-shadow: inset 0 5px 10px rgba(0, 0, 0, 0.7), 0 10px 26px rgba(0, 0, 0, 0.45);
  position: relative;
  z-index: 3;
}

.printer-slot::after {
  content: "";
  position: absolute;
  left: 16px;
  right: 16px;
  top: 8px;
  height: 5px;
  border-radius: 4px;
  background: #050404;
}

.receipt-viewport {
  overflow: hidden;
  padding: 0 6px 20px;
  margin-top: -8px;
}

.receipt-paper {
  position: relative;
  padding: 28px 22px 30px;
  background: #FFFDF7;
  color: #1F1916;
  box-shadow: 0 24px 56px rgba(0, 0, 0, 0.42);
  transform-origin: top center;
  transition: background-color 0.35s ease, color 0.35s ease;
}

.receipt-paper.printing {
  animation: receipt-feed 0.58s cubic-bezier(0.22, 1, 0.36, 1);
}

@keyframes receipt-feed {
  0% { transform: translateY(-68%) scaleY(0.88); opacity: 0.4; }
  100% { transform: translateY(0) scaleY(1); opacity: 1; }
}

/* Serrated zigzag bottom edge */
.receipt-paper::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -10px;
  height: 10px;
  background:
    linear-gradient(135deg, var(--rcpt-bg, #FFFDF7) 50%, transparent 50%) -8px 0 / 16px 10px repeat-x,
    linear-gradient(225deg, var(--rcpt-bg, #FFFDF7) 50%, transparent 50%) -8px 0 / 16px 10px repeat-x;
}

/* Receipt Theme Variants */
.receipt-paper[data-paper="classic"] {
  --rcpt-bg: #FFFBF1;
  background: var(--rcpt-bg);
  color: #1F1915;
  --rcpt-muted: #6C6158;
  --rcpt-line: rgba(45, 32, 20, 0.22);
  --rcpt-accent: #D6411B;
  --rcpt-badge-bg: #F3E4CB;
  --rcpt-badge-ink: #8C4D10;
}

.receipt-paper[data-paper="foil"] {
  --rcpt-bg: #1F1815;
  background:
    linear-gradient(140deg, rgba(246, 198, 108, 0.08) 0%, transparent 42%, rgba(246, 198, 108, 0.06) 100%),
    #1F1815;
  color: #FAF0DF;
  --rcpt-muted: #C0AE9A;
  --rcpt-line: rgba(246, 198, 108, 0.28);
  --rcpt-accent: #F4C36A;
  --rcpt-badge-bg: rgba(244, 195, 106, 0.18);
  --rcpt-badge-ink: #F6CA74;
  border-inline: 1px solid rgba(246, 198, 108, 0.22);
}

.receipt-paper[data-paper="midnight"] {
  --rcpt-bg: #161F31;
  background:
    linear-gradient(155deg, rgba(140, 182, 255, 0.08) 0%, transparent 55%),
    #161F31;
  color: #F2F5FA;
  --rcpt-muted: #A7B5CC;
  --rcpt-line: rgba(176, 204, 255, 0.24);
  --rcpt-accent: #8BC2FF;
  --rcpt-badge-bg: rgba(139, 194, 255, 0.16);
  --rcpt-badge-ink: #A9D3FF;
  border-inline: 1px solid rgba(176, 204, 255, 0.2);
}

.receipt-top-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  font-size: 11px;
  font-weight: 700;
}

.receipt-badge {
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  background: var(--rcpt-badge-bg);
  color: var(--rcpt-badge-ink);
}

.receipt-serial {
  font-family: var(--font-mono);
  color: var(--rcpt-muted);
}

.receipt-shop {
  margin: 12px 0 4px;
  font-family: var(--font-display);
  font-size: 23px;
  line-height: 1.2;
}

.receipt-meta {
  font-size: 12px;
  color: var(--rcpt-muted);
  font-family: var(--font-mono);
}

.receipt-photo-strip {
  margin-block: 14px;
  border-radius: 12px;
  overflow: hidden;
  aspect-ratio: 16 / 7;
  border: 1px solid var(--rcpt-line);
}

.receipt-photo-strip img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.receipt-items {
  list-style: none;
  margin: 0;
  padding: 12px 0;
  border-top: 1px dashed var(--rcpt-line);
  border-bottom: 1px dashed var(--rcpt-line);
  display: grid;
  gap: 7px;
  font-size: 13px;
}

.receipt-items li {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 10px;
}

.receipt-items .r-val {
  font-family: var(--font-mono);
  font-weight: 600;
  white-space: nowrap;
}

.receipt-fees {
  padding: 10px 0;
  border-bottom: 1px dashed var(--rcpt-line);
  display: grid;
  gap: 4px;
  font-size: 12px;
  color: var(--rcpt-muted);
}

.receipt-fees div {
  display: flex;
  justify-content: space-between;
  gap: 10px;
}

.receipt-total-row {
  padding: 12px 0;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  border-bottom: 1px dashed var(--rcpt-line);
}

.receipt-total-row span {
  font-size: 13px;
  font-weight: 700;
}

.receipt-total-row strong {
  font-family: var(--font-mono);
  font-size: 22px;
  color: var(--rcpt-accent);
}

.receipt-motto-row {
  margin-top: 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.receipt-motto-copy {
  border-left: 2.5px solid var(--rcpt-accent);
  padding-left: 10px;
}

.receipt-motto-copy blockquote {
  margin: 0;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.45;
}

.receipt-motto-copy small {
  display: block;
  margin-top: 4px;
  font-size: 11px;
  color: var(--rcpt-muted);
}

.wax-seal {
  width: 62px;
  height: 62px;
  border-radius: 50%;
  flex-shrink: 0;
  display: grid;
  place-items: center;
  background: radial-gradient(circle at 32% 28%, #D94545, #8A1822 70%, #560C14);
  color: #FFE4A6;
  border: 2px dashed rgba(255, 224, 160, 0.55);
  box-shadow: inset 0 2px 6px rgba(255, 210, 180, 0.35), 0 8px 18px rgba(0, 0, 0, 0.32);
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  transform: rotate(-8deg);
  transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.wax-seal.stamped {
  animation: stamp-pop 0.42s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.wax-seal[data-seal-color="gold"] {
  background: radial-gradient(circle at 32% 28%, #F0C45A, #A6731A 70%, #6D470B);
  color: #FFF9E6;
}

.wax-seal[data-seal-color="emerald"] {
  background: radial-gradient(circle at 32% 28%, #2E9B76, #145D44 70%, #0C3A2B);
  color: #E8FFE8;
}

@keyframes stamp-pop {
  0% { transform: scale(1.6) rotate(12deg); opacity: 0.3; }
  65% { transform: scale(0.92) rotate(-10deg); opacity: 1; }
  100% { transform: scale(1) rotate(-8deg); opacity: 1; }
}

.receipt-barcode {
  margin-top: 16px;
  height: 26px;
  opacity: 0.72;
  background: repeating-linear-gradient(
    90deg,
    currentColor 0 2px,
    transparent 2px 4px,
    currentColor 4px 5px,
    transparent 5px 8px,
    currentColor 8px 11px,
    transparent 11px 13px,
    currentColor 13px 14px,
    transparent 14px 17px
  );
}

.receipt-nocash {
  margin: 8px 0 0;
  text-align: center;
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--rcpt-muted);
  letter-spacing: 0.03em;
}

/* ==========================================================================
   Real App Store Screenshots Gallery + Lightbox
   ========================================================================== */
.screens-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.screen-card {
  padding: 14px;
  border-radius: 26px;
  background: var(--surface-strong);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  cursor: pointer;
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: transform 0.24s ease, box-shadow 0.24s ease, border-color 0.24s ease;
}

.screen-card:hover,
.screen-card:focus-visible {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: var(--accent);
  outline: none;
}

.screen-shot-wrap {
  border-radius: 18px;
  overflow: hidden;
  background: #1B1613;
  aspect-ratio: 660 / 1220;
}

.screen-shot-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}

.screen-card h3 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 18px;
  line-height: 1.25;
}

.screen-card p {
  margin: 4px 0 0;
  font-size: 13.5px;
  color: var(--ink-soft);
  line-height: 1.55;
}

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 250;
  background: rgba(10, 8, 7, 0.88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.lightbox.open { display: flex; }

.lightbox-inner {
  width: min(860px, 100%);
  max-height: 92vh;
  display: grid;
  grid-template-columns: minmax(0, 380px) minmax(0, 1fr);
  gap: 28px;
  align-items: center;
  padding: 24px;
  border-radius: 28px;
  background: #1B1614;
  color: #FAF3E8;
  border: 1px solid rgba(255, 224, 188, 0.18);
  box-shadow: 0 34px 90px rgba(0, 0, 0, 0.65);
  position: relative;
}

.lightbox-img-box {
  max-height: 76vh;
  overflow: hidden;
  border-radius: 20px;
  background: #0F0C0A;
}

.lightbox-img-box img {
  width: 100%;
  max-height: 76vh;
  object-fit: contain;
}

.lightbox-counter {
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: 0.1em;
  color: #F6C26B;
  text-transform: uppercase;
}

.lightbox-info h3 {
  margin: 10px 0 12px;
  font-family: var(--font-display);
  font-size: 26px;
  line-height: 1.2;
}

.lightbox-info p {
  margin: 0;
  color: #CFC2B6;
  font-size: 15px;
  line-height: 1.7;
}

.lightbox-nav {
  margin-top: 24px;
  display: flex;
  gap: 10px;
}

.lightbox-btn {
  min-width: 46px;
  min-height: 46px;
  padding: 0 16px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.08);
  color: #FFFDF8;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
}

.lightbox-btn:hover { background: rgba(255, 255, 255, 0.16); }

.lightbox-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.1);
  color: #FFFDF8;
  font-size: 20px;
  cursor: pointer;
}

/* ==========================================================================
   Living Theater Pillars (4 Cards)
   ========================================================================== */
.pillars-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.pillar-card {
  padding: 26px 22px;
  border-radius: 24px;
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
}

.pillar-num {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 800;
  color: var(--accent);
  letter-spacing: 0.12em;
}

.pillar-card h3 {
  margin: 14px 0 10px;
  font-family: var(--font-display);
  font-size: 20px;
  line-height: 1.25;
}

.pillar-card p {
  margin: 0;
  font-size: 14.5px;
  color: var(--ink-soft);
  line-height: 1.65;
}

/* ==========================================================================
   Platforms & Channels Matrix + Friend Invite Callout
   ========================================================================== */
.platforms-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.platform-card {
  padding: 26px 24px;
  border-radius: 24px;
  background: var(--surface-strong);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.platform-card.live {
  border-color: var(--accent);
  box-shadow: var(--shadow-md);
}

.platform-card.planned-card {
  background: var(--planned-bg);
  border-style: dashed;
  border-color: var(--planned-border);
}

.platform-status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  width: fit-content;
  padding: 5px 11px;
  border-radius: var(--radius-pill);
  font-size: 11.5px;
  font-weight: 800;
}

.platform-card.live .platform-status {
  background: var(--accent-soft);
  color: var(--accent);
}

.platform-card.planned-card .platform-status {
  background: rgba(128, 122, 116, 0.16);
  color: var(--planned-ink);
}

.platform-card h3 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 22px;
}

.platform-card p {
  margin: 0;
  font-size: 14.5px;
  color: var(--ink-soft);
  line-height: 1.6;
  flex: 1;
}

.platform-action-row {
  margin-top: 8px;
}

.platform-action-row .planned-channel,
.platform-action-row .btn-store-planned {
  width: 100%;
  justify-content: center;
}

/* Friend Invite Callout Banner */
.referral-callout {
  padding: clamp(28px, 5vw, 52px);
  border-radius: 32px;
  background: var(--surface-strong);
  border: 1px solid var(--line-strong);
  box-shadow: var(--shadow-md);
  display: grid;
  grid-template-columns: minmax(0, 1fr) 236px;
  gap: clamp(24px, 5vw, 56px);
  align-items: center;
}

.referral-callout h2 {
  margin: 0 0 14px;
  font-family: var(--font-display);
  font-size: clamp(26px, 3.6vw, 40px);
  line-height: 1.16;
}

.referral-callout p {
  margin: 0 0 22px;
  color: var(--ink-soft);
  font-size: 15.5px;
  line-height: 1.75;
}

.btn-outline {
  min-height: 48px;
  padding: 0 20px;
  border-radius: 15px;
  border: 1.5px solid var(--line-strong);
  background: var(--surface);
  color: var(--ink);
  font-size: 14.5px;
  font-weight: 750;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  transition: border-color 0.18s ease, background-color 0.18s ease;
}

.btn-outline:hover {
  border-color: var(--accent);
  background: var(--accent-soft);
}

.virtual-seal {
  width: 224px;
  aspect-ratio: 1;
  margin-inline: auto;
  padding: 18px;
  border-radius: 50%;
  border: 2.5px dashed var(--accent);
  background: var(--accent-soft);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  transform: rotate(3deg);
}

.virtual-seal span {
  font-size: 12px;
  font-weight: 800;
  color: var(--accent);
  letter-spacing: 0.08em;
}

.virtual-seal strong {
  margin: 8px 0;
  font-family: var(--font-mono);
  font-size: 17px;
  letter-spacing: 0.06em;
}

.virtual-seal small {
  font-size: 11.5px;
  color: var(--ink-soft);
  line-height: 1.45;
}

/* ==========================================================================
   Subpages: Invite · Support · Privacy · 404
   ========================================================================== */
.subpage-wrap {
  max-width: 880px;
  margin-inline: auto;
  padding-block: clamp(44px, 6vw, 76px) 96px;
}

.subpage-wrap h1 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(34px, 5vw, 54px);
  line-height: 1.12;
  letter-spacing: -0.025em;
}

.subpage-lead {
  margin: 18px 0 0;
  font-size: 17.5px;
  line-height: 1.75;
  color: var(--ink-soft);
}

/* Invite Ticket Card */
.invite-card {
  margin-top: 28px;
  padding: clamp(28px, 5vw, 48px);
  border-radius: 30px;
  background: var(--surface-strong);
  border: 1px solid var(--line-strong);
  box-shadow: var(--shadow-md);
  text-align: center;
}

.invite-mascot {
  width: 124px;
  margin: 0 auto 18px;
  filter: drop-shadow(0 16px 24px rgba(82, 42, 16, 0.22));
  animation: mascot-hop 2.4s ease-in-out infinite;
}

.invite-code-box {
  width: min(460px, 100%);
  margin: 26px auto;
  padding: 22px 20px;
  border-radius: 22px;
  background: var(--surface-tint);
  border: 2px dashed var(--accent);
  display: grid;
  gap: 8px;
}

.invite-code-box small {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.14em;
  color: var(--ink-muted);
}

.invite-code-box strong {
  font-family: var(--font-mono);
  font-size: clamp(30px, 7vw, 48px);
  letter-spacing: 0.12em;
  color: var(--accent);
  word-break: break-all;
}

.invite-actions {
  margin-top: 24px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

.invite-fine-print {
  margin: 26px auto 0;
  max-width: 640px;
  font-size: 12.5px;
  line-height: 1.7;
  color: var(--ink-muted);
}

/* Support FAQ */
.faq-list {
  margin-top: 38px;
  display: grid;
  gap: 12px;
}

.faq-item {
  border-radius: 20px;
  background: var(--surface-strong);
  border: 1px solid var(--line);
  padding: 0 22px;
  box-shadow: var(--shadow-sm);
}

.faq-item summary {
  position: relative;
  list-style: none;
  padding: 20px 36px 20px 0;
  font-size: 17px;
  font-weight: 800;
  cursor: pointer;
}

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

.faq-item summary::after {
  content: "+";
  position: absolute;
  right: 4px;
  top: 16px;
  font-size: 24px;
  font-weight: 400;
  color: var(--accent);
}

.faq-item[open] summary::after { content: "−"; }

.faq-item p {
  margin: 0 0 20px;
  font-size: 15px;
  line-height: 1.78;
  color: var(--ink-soft);
}

/* Legal Privacy Sections */
.legal-card {
  margin-top: 34px;
  padding: clamp(24px, 4vw, 40px);
  border-radius: 28px;
  background: var(--surface-strong);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
}

.legal-section {
  padding-block: 24px;
  border-bottom: 1px solid var(--line);
}

.legal-section:first-child { padding-top: 0; }
.legal-section:last-child { border-bottom: 0; padding-bottom: 0; }

.legal-section h2 {
  margin: 0 0 12px;
  font-family: var(--font-display);
  font-size: 22px;
}

.legal-section p,
.legal-section li {
  font-size: 15.5px;
  line-height: 1.82;
  color: var(--ink-soft);
}

.legal-section ul {
  margin: 8px 0 0;
  padding-left: 20px;
  display: grid;
  gap: 8px;
}

.contact-card {
  margin-top: 28px;
  padding: 24px;
  border-radius: 22px;
  background: var(--surface-tint);
  border: 1px solid var(--line-strong);
  display: grid;
  gap: 8px;
}

.contact-card a {
  color: var(--accent);
  font-weight: 750;
  width: fit-content;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
  border-top: 1px solid var(--line);
  padding-block: 40px 48px;
  margin-top: 24px;
}

.footer-top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  font-size: 14px;
  font-weight: 700;
  color: var(--ink-soft);
}

.footer-nav a:hover { color: var(--accent); }

.footer-bottom {
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-size: 12.5px;
  color: var(--ink-muted);
}

.footer-disclaimer {
  margin: 0;
  max-width: 720px;
  line-height: 1.6;
}

/* ==========================================================================
   Live iOS Video Preview Theater (#preview)
   ========================================================================== */
.preview-theater-card {
  position: relative;
  padding: clamp(24px, 3.6vw, 42px);
  border-radius: 34px;
  background: var(--surface-strong);
  border: 1px solid var(--line-strong);
  box-shadow: var(--shadow-md);
  overflow: hidden;
  transition: background-color 0.45s ease, border-color 0.45s ease;
}

.preview-theater-card::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 16% 24%, var(--bg-glow-1), transparent 28rem),
    radial-gradient(circle at 86% 80%, var(--bg-glow-2), transparent 30rem);
  opacity: 0.72;
}

.preview-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(260px, 294px) minmax(0, 1fr);
  gap: clamp(26px, 4.5vw, 56px);
  align-items: center;
}

.phone-stage {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 11px;
}

.iphone-bezel {
  position: relative;
  width: 100%;
  max-width: 284px;
  padding: 10px;
  border-radius: 44px;
  background: linear-gradient(145deg, #3A322E 0%, #171311 48%, #2C2521 100%);
  border: 1.5px solid rgba(255, 232, 206, 0.24);
  box-shadow:
    0 28px 66px rgba(24, 14, 8, 0.34),
    inset 0 1px 1px rgba(255, 255, 255, 0.22);
}

html[data-mood="dusk"] .iphone-bezel,
html[data-mood="midnight"] .iphone-bezel {
  box-shadow:
    0 30px 76px rgba(0, 0, 0, 0.62),
    0 0 0 1px rgba(244, 163, 64, 0.16),
    inset 0 1px 1px rgba(255, 255, 255, 0.2);
}

.iphone-bezel::before,
.iphone-bezel::after {
  content: "";
  position: absolute;
  width: 3px;
  border-radius: 3px;
  background: rgba(255, 238, 220, 0.22);
}

.iphone-bezel::before {
  left: -4px;
  top: 106px;
  height: 46px;
  box-shadow: 0 58px 0 rgba(255, 238, 220, 0.22);
}

.iphone-bezel::after {
  right: -4px;
  top: 132px;
  height: 68px;
}

.iphone-screen {
  position: relative;
  width: 100%;
  aspect-ratio: 540 / 1170;
  border-radius: 38px;
  overflow: hidden;
  background: #0D0A09;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08);
}

.iphone-island {
  position: absolute;
  top: 10px;
  left: 50%;
  transform: translateX(-50%);
  width: 84px;
  height: 22px;
  border-radius: 999px;
  background: #070606;
  border: 1px solid rgba(255, 255, 255, 0.08);
  z-index: 3;
  pointer-events: none;
}

.iphone-screen video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  background: #0D0A09;
}

.phone-caption-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 13px;
  border-radius: var(--radius-pill);
  background: var(--surface);
  border: 1px solid var(--line);
  font-size: 12px;
  font-weight: 700;
  color: var(--ink-soft);
}

.phone-audio-note {
  margin: 0;
  font-size: 12px;
  color: var(--ink-muted);
  text-align: center;
  max-width: 300px;
  line-height: 1.45;
}

.preview-copy h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(28px, 3.6vw, 42px);
  line-height: 1.14;
  letter-spacing: -0.025em;
}

.preview-lead {
  margin: 14px 0 0;
  font-size: 16px;
  line-height: 1.72;
  color: var(--ink-soft);
}

.preview-beats {
  margin-top: 24px;
  display: grid;
  gap: 12px;
}

.preview-beat-card {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 14px;
  align-items: start;
  padding: 15px 17px;
  border-radius: 18px;
  background: var(--surface);
  border: 1px solid var(--line);
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.preview-beat-card:hover {
  border-color: var(--line-strong);
  transform: translateY(-2px);
}

.preview-beat-num {
  width: 42px;
  height: 42px;
  border-radius: 13px;
  background: var(--accent-soft);
  color: var(--accent);
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 800;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.preview-beat-card h3 {
  margin: 0 0 4px;
  font-family: var(--font-display);
  font-size: 17.5px;
  line-height: 1.25;
}

.preview-beat-card p {
  margin: 0;
  font-size: 13.5px;
  line-height: 1.58;
  color: var(--ink-soft);
}

.preview-cta-row {
  margin-top: 24px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}

/* ==========================================================================
   Dynamic Central Studio Portfolio Widget (#studio-portfolio) Harmonization
   ========================================================================== */
#studio-portfolio {
  position: relative;
  z-index: 1;
  scroll-margin-top: 84px;
  overflow-x: clip;
}

#studio-portfolio .sp-title {
  font-family: var(--font-display);
}

html[data-mood="dusk"] #studio-portfolio .sp-root[data-theme="circadian"] {
  --sp-card: #322121;
  --sp-card-alt: #3D2828;
  --sp-border: rgba(255, 221, 190, 0.16);
  --sp-border-strong: rgba(255, 120, 59, 0.45);
  --sp-ink: #FDF2E6;
  --sp-muted: #D7C1B2;
  --sp-accent: #FF783B;
  --sp-cta-bg: #FF783B;
  --sp-cta-ink: #1B110E;
  --sp-ghost-bg: rgba(255, 242, 230, 0.08);
  --sp-ghost-ink: #FDF2E6;
  --sp-planned-bg: rgba(220, 206, 196, 0.08);
  --sp-planned-ink: #B7A59A;
  --sp-shadow: 0 18px 40px rgba(0, 0, 0, 0.36);
  --sp-pop-bg: #160E0E;
  --sp-pop-ink: #FDF2E6;
}

/* ==========================================================================
   Verified Creator / Studio Social Hub (Footer + Press + Support)
   ========================================================================== */
.footer-social-strip {
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 18px;
}

.social-strip-label {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-muted);
}

.social-hub-pills {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.social-chip {
  min-height: 38px;
  padding: 0 13px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--ink-soft);
  font-size: 12.5px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  cursor: pointer;
  transition: border-color 0.18s ease, background-color 0.18s ease, color 0.18s ease, transform 0.15s ease;
}

.social-chip:hover,
.social-chip:focus-visible {
  border-color: var(--accent);
  background: var(--accent-soft);
  color: var(--ink);
  transform: translateY(-1px);
  outline: none;
}

.social-chip.copied {
  border-color: var(--gold);
  background: var(--gold-soft);
  color: var(--ink);
}

.social-chip svg {
  width: 15px;
  height: 15px;
  flex-shrink: 0;
  color: var(--accent);
}

/* ==========================================================================
   Press Kit Page (/press/ & press.html)
   ========================================================================== */
.press-wrap {
  max-width: 1120px;
  margin-inline: auto;
  padding-block: clamp(32px, 5vw, 60px) 84px;
}

.press-hero {
  padding: clamp(28px, 4.5vw, 48px);
  border-radius: 32px;
  background: var(--surface-strong);
  border: 1px solid var(--line-strong);
  box-shadow: var(--shadow-md);
}

.press-hero h1 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(32px, 4.8vw, 52px);
  line-height: 1.1;
  letter-spacing: -0.025em;
}

.press-hero-actions {
  margin-top: 24px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}

.press-section {
  margin-top: 34px;
  padding: clamp(24px, 4vw, 38px);
  border-radius: 28px;
  background: var(--surface-strong);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
}

.press-section-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 22px;
}

.press-section h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(24px, 3vw, 32px);
  line-height: 1.18;
}

.press-section-sub {
  margin: 8px 0 0;
  font-size: 14.5px;
  color: var(--ink-soft);
  line-height: 1.6;
}

.fact-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.fact-item {
  padding: 16px 18px;
  border-radius: 18px;
  background: var(--surface);
  border: 1px solid var(--line);
}

.fact-item dt {
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
}

.fact-item dd {
  margin: 6px 0 0;
  font-size: 14.5px;
  line-height: 1.62;
  color: var(--ink);
  font-weight: 600;
}

.press-pitch-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 20px;
}

.press-copy-box {
  padding: 22px;
  border-radius: 22px;
  background: var(--surface);
  border: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.press-quote {
  margin: 0;
  padding: 14px 16px;
  border-left: 3px solid var(--accent);
  border-radius: 0 14px 14px 0;
  background: var(--surface-tint);
  font-family: var(--font-display);
  font-size: 17px;
  line-height: 1.5;
  color: var(--ink);
}

.press-body-text {
  margin: 0;
  font-size: 14.5px;
  line-height: 1.75;
  color: var(--ink-soft);
  flex: 1;
}

.press-highlights-list {
  margin: 0;
  padding-left: 18px;
  display: grid;
  gap: 10px;
  font-size: 14.5px;
  line-height: 1.62;
  color: var(--ink-soft);
  flex: 1;
}

.copy-chip-btn {
  min-height: 44px;
  padding: 0 18px;
  border-radius: 14px;
  border: 1.5px solid var(--line-strong);
  background: var(--surface-strong);
  color: var(--ink);
  font-size: 13.5px;
  font-weight: 750;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  cursor: pointer;
  width: fit-content;
  transition: border-color 0.18s ease, background-color 0.18s ease, color 0.18s ease;
}

.copy-chip-btn:hover {
  border-color: var(--accent);
  background: var(--accent-soft);
  color: var(--accent);
}

.copy-chip-btn.copied {
  border-color: var(--gold);
  background: var(--gold-soft);
  color: var(--ink);
}

.press-group-title {
  margin: 26px 0 14px;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
}

.press-group-title:first-of-type {
  margin-top: 6px;
}

.press-assets-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.press-video-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.press-screens-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.press-asset-card {
  border-radius: 20px;
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.press-asset-card:hover {
  transform: translateY(-3px);
  border-color: var(--line-strong);
  box-shadow: var(--shadow-sm);
}

.press-asset-thumb {
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #1B1512;
  display: grid;
  place-items: center;
}

.press-asset-thumb.square {
  padding: 16px;
  background: var(--surface-tint);
}

.press-asset-thumb.square img {
  width: 112px;
  height: 112px;
  object-fit: contain;
  border-radius: 24px;
  box-shadow: var(--shadow-sm);
}

.press-asset-thumb.cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.press-asset-thumb.portrait {
  aspect-ratio: 9 / 14;
  background: #14100E;
}

.press-asset-thumb.portrait img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}

.press-video-card {
  display: grid;
  grid-template-columns: 120px minmax(0, 1fr);
  gap: 16px;
  align-items: center;
  padding: 16px;
  border-radius: 22px;
  background: var(--surface);
  border: 1px solid var(--line);
}

.press-video-poster {
  width: 120px;
  aspect-ratio: 540 / 1170;
  border-radius: 16px;
  overflow: hidden;
  background: #120E0C;
  border: 1px solid var(--line-strong);
  box-shadow: var(--shadow-sm);
}

.press-video-poster img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.press-asset-info {
  padding: 14px 15px 16px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex: 1;
}

.press-asset-info h3,
.press-video-info h3 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 16.5px;
  line-height: 1.28;
}

.press-asset-meta {
  font-family: var(--font-mono);
  font-size: 11.5px;
  color: var(--ink-muted);
  line-height: 1.45;
}

.press-dl-btn {
  margin-top: auto;
  padding-top: 8px;
}

.press-dl-link {
  min-height: 38px;
  padding: 0 14px;
  border-radius: 12px;
  background: var(--surface-tint);
  border: 1px solid var(--line);
  color: var(--ink);
  font-size: 12.5px;
  font-weight: 750;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  width: 100%;
  transition: background-color 0.18s ease, color 0.18s ease, border-color 0.18s ease;
}

.press-dl-link:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: #FFFDF8;
}

.press-video-info {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.press-rights-list {
  margin: 14px 0 0;
  padding-left: 20px;
  display: grid;
  gap: 10px;
  font-size: 15px;
  line-height: 1.72;
  color: var(--ink-soft);
}

.press-rights-note {
  margin: 18px 0 0;
  padding-top: 14px;
  border-top: 1px dashed var(--line-strong);
  font-size: 13px;
  color: var(--ink-muted);
  line-height: 1.65;
}

/* Scroll Reveal */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ==========================================================================
   Responsive Breakpoints — Dual-End Desktop & Mobile Native Craft
   ========================================================================== */
@media (max-width: 1240px) {
  .header-nav,
  .lang-inline,
  .header-cta { display: none; }

  .lang-mobile-wrap,
  .mobile-menu-btn { display: inline-flex; }

  .kitchen-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pillars-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .press-assets-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 920px) {
  .hero-grid,
  .preview-grid,
  .atelier-grid,
  .platforms-grid,
  .referral-callout,
  .fact-grid,
  .press-pitch-grid,
  .press-video-grid {
    grid-template-columns: 1fr;
  }

  .iphone-bezel { max-width: 288px; }
  .metrics-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .screens-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .press-screens-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .lightbox-inner {
    grid-template-columns: 1fr;
    max-height: 92vh;
    overflow-y: auto;
  }
  .lightbox-img-box img { max-height: 48vh; }
}

@media (max-width: 640px) {
  .shell,
  .header-inner.shell { width: calc(100% - 24px); }

  .header-inner { min-height: 64px; gap: 6px; }
  .brand { gap: 8px; flex: 1 1 auto; overflow: hidden; }
  .brand-text { min-width: 0; overflow: hidden; }
  .brand-icon { width: 34px; height: 34px; border-radius: 9px; }
  .brand-title { font-size: 14.5px; overflow: hidden; text-overflow: ellipsis; }
  .brand-sub { display: none; }
  .header-controls { gap: 5px; }
  .icon-pill-btn { min-width: 44px; min-height: 44px; padding: 0 9px; font-size: 12px; gap: 4px; }
  .radio-label-text { display: none; }
  .radio-btn { padding: 0 9px; min-width: 38px; min-height: 44px; justify-content: center; }
  .radio-tune-btn { min-height: 44px; min-width: 26px; padding: 0 6px; }

  .mood-strip { padding: 10px 12px; gap: 8px; }
  .mood-pills {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 6px;
  }
  .mood-pill { justify-content: center; min-height: 42px; font-size: 12.5px; padding: 0 8px; }

  .hero { padding-block: 22px 36px; }
  .hero h1 { font-size: clamp(32px, 9.6vw, 44px); }
  .hero-lead { font-size: 15.5px; }

  .channels-row {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
  }
  .btn-store-live,
  .planned-channel,
  .btn-store-planned { width: 100%; justify-content: center; }

  /* Safe mobile popover positioning (never clips horizontally) */
  .channel-popover {
    left: 0;
    right: 0;
    width: 100%;
    transform: translateY(6px);
  }
  .channel-popover::after { left: 50%; }
  .planned-channel.open .channel-popover {
    transform: translateY(0);
  }

  .hero-stage-footer {
    flex-direction: column;
    align-items: flex-start;
    gap: 3px;
    padding: 10px 12px;
  }
  .hero-mascot-float {
    width: 84px;
    bottom: 74px;
    right: 10px;
  }

  .metrics-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .metric-card { padding: 16px; }

  .kitchen-grid { grid-template-columns: 1fr; gap: 14px; }

  /* Horizontal snap rail on mobile for App Store Screenshots */
  .screens-grid {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 14px;
    padding-bottom: 8px;
    margin-inline: -14px;
    padding-inline: 14px;
    -webkit-overflow-scrolling: touch;
  }
  .screen-card {
    flex: 0 0 78vw;
    max-width: 300px;
    scroll-snap-align: start;
  }

  .pillars-grid { grid-template-columns: 1fr; }
  .atelier-actions { flex-direction: column; }
  .btn-atelier-primary, .btn-atelier-ghost { width: 100%; }
  .receipt-paper { padding: 24px 16px 26px; }
  .virtual-seal { width: 186px; }

  .preview-theater-card { padding: 22px 16px; border-radius: 26px; }
  .iphone-bezel { max-width: 264px; border-radius: 42px; padding: 9px; }
  .iphone-screen { border-radius: 33px; }
  .preview-cta-row { flex-direction: column; align-items: stretch; }
  .preview-cta-row .btn-outline { justify-content: center; }

  .press-hero { padding: 22px 18px; border-radius: 24px; }
  .press-section { padding: 20px 16px; border-radius: 22px; }
  .press-hero-actions { flex-direction: column; align-items: stretch; }
  .press-hero-actions .copy-chip-btn,
  .press-hero-actions .btn-outline { width: 100%; justify-content: center; }
  .press-assets-grid,
  .press-screens-grid { grid-template-columns: 1fr; }
  .press-video-card { grid-template-columns: 92px minmax(0, 1fr); gap: 12px; padding: 12px; }
  .press-video-poster { width: 92px; }
  .copy-chip-btn { width: 100%; }

  .footer-social-strip { flex-direction: column; align-items: flex-start; }
  .social-chip { font-size: 12px; padding: 0 11px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .reveal { opacity: 1; transform: none; }
}
