/* ==========================================================================
   KRONOS // ZERO-1 — Haute Horlogerie Flagship Stylesheet
   Palette: Obsidian #050507 · Copper/Rose Gold #D4A373 / #E8C197 · Ivory #F4F1EA
   Typography: Cormorant Garamond · JetBrains Mono · Plus Jakarta Sans
   ========================================================================== */

:root {
  --bg-obsidian: #050507;
  --bg-elevated: #0b0b10;
  --bg-glass: rgba(10, 10, 14, 0.72);
  --bg-glass-strong: rgba(12, 12, 17, 0.86);
  --accent-copper: #d4a373;
  --accent-rose: #e8c197;
  --accent-copper-dim: rgba(212, 163, 115, 0.22);
  --accent-copper-subtle: rgba(212, 163, 115, 0.1);
  --text-ivory: #f4f1ea;
  --text-secondary: rgba(244, 241, 234, 0.72);
  --text-muted: rgba(244, 241, 234, 0.48);
  --border-hairline: rgba(244, 241, 234, 0.1);
  --border-gold: rgba(212, 163, 115, 0.28);

  --font-display: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
  --font-mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, monospace;
  --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  --header-h: 68px;
  --gutter: clamp(20px, 5vw, 72px);
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
  background-color: var(--bg-obsidian);
  color: var(--text-ivory);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background-color: var(--bg-obsidian);
  color: var(--text-ivory);
  overflow-x: clip;
}

body.modal-open {
  overflow: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font-family: inherit;
  cursor: pointer;
}

:focus-visible {
  outline: 2px solid var(--accent-rose);
  outline-offset: 3px;
}

.skip-link {
  position: fixed;
  top: -120px;
  left: 16px;
  z-index: 120;
  padding: 10px 16px;
  border-radius: 8px;
  background: var(--accent-copper);
  color: #050507;
  font-weight: 600;
  font-size: 0.85rem;
  transition: top 0.2s ease;
}

.skip-link:focus {
  top: 14px;
}

/* --------------------------------------------------------------------------
   Fixed Minimalist Header (68px frosted obsidian)
   -------------------------------------------------------------------------- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--header-h);
  z-index: 60;
  background: rgba(5, 5, 7, 0.68);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(244, 241, 234, 0.08);
  transition: background 0.3s ease, border-color 0.3s ease;
}

.site-header.is-scrolled {
  background: rgba(5, 5, 7, 0.86);
  border-bottom-color: rgba(212, 163, 115, 0.16);
}

.header-inner {
  height: 100%;
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 var(--gutter);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 16px;
}

.brand-mark {
  justify-self: start;
  display: inline-flex;
  align-items: baseline;
  gap: 8px;
  white-space: nowrap;
}

.brand-name {
  font-family: var(--font-display);
  font-size: 1.28rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  color: var(--text-ivory);
}

.brand-slash {
  font-family: var(--font-mono);
  font-size: 0.82rem;
  color: var(--accent-copper);
}

.brand-model {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  color: var(--accent-rose);
}

.header-nav {
  justify-self: center;
  display: inline-flex;
  align-items: center;
  gap: clamp(18px, 2.8vw, 38px);
}

.nav-link {
  position: relative;
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-secondary);
  transition: color 0.25s ease;
  padding: 6px 0;
}

.nav-link::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: linear-gradient(90deg, var(--accent-copper), var(--accent-rose));
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.3s var(--ease-out-expo);
}

.nav-link:hover,
.nav-link:focus-visible {
  color: var(--text-ivory);
}

.nav-link:hover::after {
  transform: scaleX(1);
}

.btn-reserve-header {
  justify-self: end;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 9px 18px;
  border-radius: 999px;
  border: 1px solid var(--border-gold);
  background: rgba(212, 163, 115, 0.08);
  color: var(--accent-rose);
  font-family: var(--font-mono);
  font-size: 0.74rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  white-space: nowrap;
  transition: background 0.25s ease, border-color 0.25s ease, transform 0.25s ease, color 0.25s ease;
}

.btn-reserve-header:hover {
  background: var(--accent-copper);
  border-color: var(--accent-rose);
  color: #050507;
  transform: translateY(-1px);
}

.reserve-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent-rose);
  box-shadow: 0 0 10px rgba(232, 193, 151, 0.85);
}

.btn-reserve-header:hover .reserve-dot {
  background: #050507;
  box-shadow: none;
}

/* --------------------------------------------------------------------------
   Pinned Cinema Section (620vh desktop / 420vh mobile)
   -------------------------------------------------------------------------- */
.cinema-track {
  position: relative;
  width: 100%;
  height: 620vh;
  background: var(--bg-obsidian);
}

.cinema-stage {
  position: sticky;
  top: 0;
  width: 100%;
  height: 100vh;
  height: 100svh;
  overflow: hidden;
  background: var(--bg-obsidian);
}

.cinema-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
}

/* Subtle edge vignette: preserves studio obsidian blend & high typography contrast */
.cinema-vignette {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 68% 66% at 50% 48%, rgba(5, 5, 7, 0) 36%, rgba(5, 5, 7, 0.66) 86%, rgba(5, 5, 7, 0.92) 100%),
    linear-gradient(180deg, rgba(5, 5, 7, 0.72) 0%, rgba(5, 5, 7, 0) 18%, rgba(5, 5, 7, 0) 74%, rgba(5, 5, 7, 0.88) 100%);
}

.cinema-overlay {
  position: absolute;
  inset: 0;
  pointer-events: none;
  padding: 112px var(--gutter) 96px;
  max-width: 1440px;
  margin: 0 auto;
}

/* Shared Editorial Typography */
.eyebrow {
  margin: 0 0 14px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent-copper);
}

.eyebrow-centered {
  justify-content: center;
}

.eyebrow-rule {
  display: inline-block;
  width: 24px;
  height: 1px;
  background: linear-gradient(90deg, var(--accent-copper), transparent);
}

.headline-italic {
  font-style: italic;
  font-weight: 400;
  color: var(--accent-rose);
}

/* ACT I (0% - 18%): Safe lower-left strip keeping center watch 100% open */
.act-block {
  will-change: opacity, transform;
}

.act-one {
  position: absolute;
  left: var(--gutter);
  bottom: clamp(114px, 14vh, 152px);
  max-width: min(460px, 42vw);
  padding-top: 8px;
}

.hero-headline {
  margin: 0 0 16px;
  font-family: var(--font-display);
  font-size: clamp(2.85rem, 5.2vw, 4.9rem);
  font-weight: 500;
  line-height: 0.96;
  letter-spacing: -0.01em;
  color: var(--text-ivory);
  text-shadow: 0 12px 36px rgba(5, 5, 7, 0.85);
}

.hero-subtitle {
  margin: 0;
  max-width: 39ch;
  font-size: clamp(0.9rem, 1.05vw, 1rem);
  line-height: 1.62;
  color: var(--text-secondary);
  text-shadow: 0 4px 20px rgba(5, 5, 7, 0.9);
}

/* ACT II (20% - 58%): 3 sequential dark glassmorphism cards on alternating margins */
.act-two-layer {
  position: absolute;
  inset: 112px var(--gutter) 96px;
  pointer-events: none;
}

.glass-card {
  position: absolute;
  top: 50%;
  width: min(352px, 32vw);
  padding: 24px 26px;
  border-radius: var(--radius-md);
  background: rgba(6, 6, 9, 0.84);
  border: 1px solid var(--border-gold);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow:
    0 24px 64px rgba(0, 0, 0, 0.56),
    inset 0 1px 0 rgba(232, 193, 151, 0.16);
  opacity: 0;
  transform: translate3d(0, calc(-50% + 24px), 0);
  will-change: opacity, transform;
}

.card-left {
  left: 0;
}

.card-right {
  right: 0;
}

.card-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent-rose);
}

.card-index {
  color: var(--accent-copper);
  font-weight: 500;
}

.card-sep {
  opacity: 0.5;
}

.card-title {
  margin: 0 0 10px;
  font-family: var(--font-display);
  font-size: 1.65rem;
  font-weight: 500;
  line-height: 1.12;
  color: var(--text-ivory);
}

.card-body {
  margin: 0 0 18px;
  font-size: 0.87rem;
  line-height: 1.58;
  color: var(--text-secondary);
}

.card-metric {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-top: 12px;
  border-top: 1px solid rgba(244, 241, 234, 0.1);
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  color: var(--accent-copper);
}

/* ACT III (62% - 92%): Lower-center climax with soft obsidian radial contrast scrim */
.act-three {
  position: absolute;
  left: 50%;
  bottom: clamp(104px, 11vh, 136px);
  width: min(720px, calc(100% - 2 * var(--gutter)));
  padding: 44px 48px 34px;
  border-radius: 0;
  background: radial-gradient(
    ellipse 66% 64% at 50% 54%,
    rgba(5, 5, 7, 0.88) 0%,
    rgba(5, 5, 7, 0.54) 44%,
    rgba(5, 5, 7, 0) 74%
  );
  transform: translate3d(-50%, 24px, 0);
  text-align: center;
  opacity: 0;
  pointer-events: none;
}

.act-three.is-interactive {
  pointer-events: auto;
}

.climax-headline {
  margin: 0 0 12px;
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 4.6vw, 4.3rem);
  font-weight: 500;
  line-height: 1.02;
  letter-spacing: -0.01em;
  color: var(--text-ivory);
  text-shadow: 0 14px 40px rgba(5, 5, 7, 0.92);
}

.climax-subtitle {
  margin: 0 auto 22px;
  max-width: 52ch;
  font-size: clamp(0.9rem, 1.05vw, 1rem);
  color: var(--text-secondary);
  text-shadow: 0 4px 20px rgba(5, 5, 7, 0.95);
}

.climax-actions {
  display: inline-flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

/* Cinema Footer Strip: Live Telemetry HUD (left) + Isolated Scroll Cue (right) */
.cinema-footer-bar {
  position: absolute;
  left: var(--gutter);
  right: var(--gutter);
  bottom: 24px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  pointer-events: none;
}

.telemetry-hud {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 10px 14px;
  border-radius: 10px;
  background: rgba(5, 5, 7, 0.62);
  border: 1px solid rgba(244, 241, 234, 0.08);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  min-width: 280px;
  max-width: 440px;
}

.telemetry-items {
  display: flex;
  align-items: center;
  flex-wrap: nowrap;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 0.69rem;
  letter-spacing: 0.1em;
  white-space: nowrap;
}

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

.telemetry-label {
  color: var(--text-muted);
}

.telemetry-val {
  color: var(--text-ivory);
}

#hud-depth {
  color: var(--accent-rose);
  min-width: 48px;
  display: inline-block;
}

.telemetry-divider {
  color: rgba(212, 163, 115, 0.35);
}

.telemetry-badge {
  padding: 2px 6px;
  border-radius: 4px;
  background: rgba(212, 163, 115, 0.14);
  border: 1px solid rgba(212, 163, 115, 0.3);
  color: var(--accent-rose);
  font-size: 0.6rem;
  letter-spacing: 0.12em;
}

.telemetry-progress-row {
  display: flex;
  align-items: center;
  gap: 10px;
}

.telemetry-track {
  flex: 1;
  height: 2px;
  border-radius: 999px;
  background: rgba(244, 241, 234, 0.14);
  overflow: hidden;
}

.telemetry-fill {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--accent-copper), var(--accent-rose));
  box-shadow: 0 0 12px rgba(212, 163, 115, 0.7);
  transition: width 0.06s linear;
}

.telemetry-pct {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  color: var(--accent-copper);
  min-width: 30px;
  text-align: right;
}

.scroll-cue {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(5, 5, 7, 0.54);
  border: 1px solid rgba(212, 163, 115, 0.22);
  font-family: var(--font-mono);
  font-size: 0.69rem;
  letter-spacing: 0.16em;
  color: var(--accent-rose);
  white-space: nowrap;
  will-change: opacity, transform;
}

.scroll-cue-arrow {
  display: inline-block;
  animation: cueFloat 2s ease-in-out infinite;
}

@keyframes cueFloat {
  0%,
  100% {
    transform: translateY(-2px);
  }
  50% {
    transform: translateY(3px);
  }
}

/* --------------------------------------------------------------------------
   Shared Buttons & Containers
   -------------------------------------------------------------------------- */
.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.section-block {
  position: relative;
  padding: clamp(76px, 10vw, 132px) 0;
  background: var(--bg-obsidian);
}

.section-header {
  max-width: 660px;
  margin-bottom: clamp(40px, 5vw, 64px);
}

.section-title {
  margin: 0 0 14px;
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 4.2vw, 3.6rem);
  font-weight: 500;
  line-height: 1.04;
  color: var(--text-ivory);
}

.section-lead {
  margin: 0;
  font-size: 1rem;
  line-height: 1.65;
  color: var(--text-secondary);
}

.btn-primary-gold {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 24px;
  border-radius: 999px;
  border: 1px solid var(--accent-rose);
  background: linear-gradient(135deg, var(--accent-copper), var(--accent-rose));
  color: #050507;
  font-size: 0.86rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  transition: transform 0.25s var(--ease-out-expo), box-shadow 0.25s ease, filter 0.25s ease;
}

.btn-primary-gold:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(212, 163, 115, 0.32);
  filter: brightness(1.05);
}

.btn-ghost-subtle,
.btn-secondary-glass {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 22px;
  border-radius: 999px;
  border: 1px solid rgba(244, 241, 234, 0.2);
  background: rgba(244, 241, 234, 0.04);
  color: var(--text-ivory);
  font-size: 0.86rem;
  font-weight: 500;
  transition: border-color 0.25s ease, background 0.25s ease, transform 0.25s ease;
}

.btn-ghost-subtle:hover,
.btn-secondary-glass:hover {
  border-color: var(--accent-copper);
  background: rgba(212, 163, 115, 0.12);
  transform: translateY(-2px);
}

.btn-full {
  width: 100%;
}

/* --------------------------------------------------------------------------
   Bento Grid of Specifications (6 cards with cursor spotlight)
   -------------------------------------------------------------------------- */
.specs-section {
  border-top: 1px solid rgba(244, 241, 234, 0.07);
}

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

.bento-span-6 {
  grid-column: span 6;
}

.bento-span-3 {
  grid-column: span 3;
}

.bento-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 28px;
  border-radius: var(--radius-md);
  background: linear-gradient(180deg, rgba(16, 16, 22, 0.92), rgba(9, 9, 13, 0.96));
  border: 1px solid var(--border-hairline);
  overflow: hidden;
  transition: border-color 0.3s ease, transform 0.3s var(--ease-out-expo);
}

.bento-card::before {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0;
  background: radial-gradient(
    460px circle at var(--mx, 50%) var(--my, 50%),
    rgba(212, 163, 115, 0.16),
    transparent 58%
  );
  transition: opacity 0.3s ease;
}

.bento-card:hover {
  border-color: rgba(212, 163, 115, 0.34);
  transform: translateY(-2px);
}

.bento-card:hover::before {
  opacity: 1;
}

.bento-card-accent {
  background:
    radial-gradient(circle at 90% 10%, rgba(212, 163, 115, 0.14), transparent 52%),
    linear-gradient(180deg, rgba(18, 16, 18, 0.95), rgba(9, 9, 13, 0.98));
  border-color: rgba(212, 163, 115, 0.24);
}

.bento-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 18px;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.bento-tag {
  color: var(--accent-copper);
}

.bento-code {
  color: var(--text-muted);
}

.bento-heading {
  margin: 0 0 10px;
  font-family: var(--font-display);
  font-size: 1.65rem;
  font-weight: 500;
  line-height: 1.12;
  color: var(--text-ivory);
}

.bento-desc {
  margin: 0 0 20px;
  font-size: 0.9rem;
  line-height: 1.6;
  color: var(--text-secondary);
}

.bento-foot {
  margin: auto 0 0;
  padding-top: 14px;
  border-top: 1px solid rgba(244, 241, 234, 0.08);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  color: var(--accent-rose);
}

.bento-stats-row {
  margin-top: auto;
  padding-top: 18px;
  border-top: 1px solid rgba(244, 241, 234, 0.08);
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.bento-stat {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.stat-num {
  font-family: var(--font-mono);
  font-size: 1.2rem;
  font-weight: 500;
  color: var(--accent-rose);
}

.stat-label {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.bento-cta-row {
  margin-top: auto;
  padding-top: 18px;
  border-top: 1px solid rgba(212, 163, 115, 0.18);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.allocation-price {
  font-family: var(--font-mono);
  font-size: 0.74rem;
  letter-spacing: 0.12em;
  color: var(--text-secondary);
}

.btn-inline-gold {
  padding: 0;
  border: none;
  background: transparent;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  color: var(--accent-rose);
  transition: color 0.2s ease, transform 0.2s ease;
}

.btn-inline-gold:hover {
  color: var(--text-ivory);
  transform: translateX(3px);
}

/* --------------------------------------------------------------------------
   4-Pillar Architecture (01 to 04)
   -------------------------------------------------------------------------- */
.architecture-section {
  border-top: 1px solid rgba(244, 241, 234, 0.06);
}

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

.pillar-card {
  display: flex;
  flex-direction: column;
  padding: 28px 24px;
  border-radius: var(--radius-md);
  background: rgba(11, 11, 16, 0.78);
  border: 1px solid var(--border-hairline);
  transition: border-color 0.3s ease, transform 0.45s var(--ease-out-expo), opacity 0.45s ease;
}

.pillar-card:hover {
  border-color: var(--border-gold);
}

.pillar-card.will-reveal {
  opacity: 0;
  transform: translateY(24px);
}

.pillar-card.will-reveal.is-revealed {
  opacity: 1;
  transform: translateY(0);
}

.pillar-num {
  display: inline-block;
  margin-bottom: 20px;
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 400;
  line-height: 1;
  color: var(--accent-copper);
}

.pillar-title {
  margin: 0 0 10px;
  font-family: var(--font-display);
  font-size: 1.48rem;
  font-weight: 500;
  line-height: 1.15;
  color: var(--text-ivory);
}

.pillar-body {
  margin: 0 0 22px;
  font-size: 0.88rem;
  line-height: 1.6;
  color: var(--text-secondary);
}

.pillar-spec {
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px solid rgba(244, 241, 234, 0.08);
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  color: var(--accent-rose);
}

/* --------------------------------------------------------------------------
   Boutique Studio Conversion Banner
   -------------------------------------------------------------------------- */
.studio-section {
  padding-top: clamp(48px, 6vw, 84px);
  padding-bottom: clamp(64px, 8vw, 108px);
}

.studio-banner {
  position: relative;
  padding: clamp(32px, 5vw, 64px);
  border-radius: var(--radius-lg);
  background: linear-gradient(145deg, rgba(18, 16, 20, 0.96), rgba(8, 8, 12, 0.98));
  border: 1px solid rgba(212, 163, 115, 0.3);
  overflow: hidden;
}

.studio-banner-glow {
  position: absolute;
  top: -120px;
  right: -80px;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(212, 163, 115, 0.2), transparent 68%);
  pointer-events: none;
}

.studio-content {
  position: relative;
  max-width: 760px;
}

.studio-title {
  margin: 0 0 14px;
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.8vw, 3.2rem);
  font-weight: 500;
  line-height: 1.06;
  color: var(--text-ivory);
}

.studio-desc {
  margin: 0 0 24px;
  font-size: 0.97rem;
  line-height: 1.65;
  color: var(--text-secondary);
}

.studio-metrics {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 28px;
}

.metric-pill {
  padding: 7px 14px;
  border-radius: 999px;
  background: rgba(212, 163, 115, 0.1);
  border: 1px solid rgba(212, 163, 115, 0.28);
  font-family: var(--font-mono);
  font-size: 0.74rem;
  letter-spacing: 0.08em;
  color: var(--accent-rose);
}

.studio-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */
.site-footer {
  border-top: 1px solid rgba(244, 241, 234, 0.08);
  padding: 28px 0 36px;
  background: var(--bg-obsidian);
}

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

.footer-brand {
  display: inline-flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 8px;
}

.footer-note {
  margin-left: 8px;
  font-size: 0.8rem;
  color: var(--text-muted);
}

.footer-credits {
  margin: 0;
  font-size: 0.82rem;
  color: var(--text-muted);
}

.footer-credits strong {
  color: var(--text-secondary);
  font-weight: 500;
}

.footer-credits a {
  color: var(--accent-rose);
  border-bottom: 1px solid rgba(232, 193, 151, 0.35);
}

/* --------------------------------------------------------------------------
   Interactive Reservation Modal
   -------------------------------------------------------------------------- */
.modal-backdrop[hidden] {
  display: none;
}

.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgba(3, 3, 5, 0.82);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.modal-panel {
  position: relative;
  width: 100%;
  max-width: 520px;
  max-height: 92vh;
  overflow-y: auto;
  padding: clamp(24px, 4vw, 36px);
  border-radius: var(--radius-lg);
  background: #0b0b10;
  border: 1px solid rgba(212, 163, 115, 0.34);
  box-shadow: 0 32px 80px rgba(0, 0, 0, 0.72);
}

.modal-close {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid rgba(244, 241, 234, 0.16);
  background: rgba(244, 241, 234, 0.05);
  color: var(--text-ivory);
  font-size: 0.85rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.modal-close:hover {
  border-color: var(--accent-copper);
  background: rgba(212, 163, 115, 0.16);
}

.modal-title {
  margin: 0 0 8px;
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 500;
  line-height: 1.08;
  color: var(--text-ivory);
}

.modal-lead {
  margin: 0 0 22px;
  font-size: 0.9rem;
  line-height: 1.55;
  color: var(--text-secondary);
}

.reserve-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

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

.field-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.field-label {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent-copper);
}

.field-input {
  width: 100%;
  padding: 11px 13px;
  border-radius: 10px;
  border: 1px solid rgba(244, 241, 234, 0.16);
  background: rgba(5, 5, 7, 0.9);
  color: var(--text-ivory);
  font-family: var(--font-sans);
  font-size: 0.9rem;
  transition: border-color 0.2s ease;
}

.field-input:focus {
  outline: none;
  border-color: var(--accent-rose);
}

.form-error {
  margin: 0;
  padding: 10px 12px;
  border-radius: 8px;
  background: rgba(220, 76, 76, 0.14);
  border: 1px solid rgba(220, 76, 76, 0.4);
  color: #ffb8b8;
  font-size: 0.84rem;
}

.modal-actions {
  margin-top: 4px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.modal-footnote {
  margin: 0;
  text-align: center;
  font-size: 0.76rem;
  color: var(--text-muted);
}

.confirm-view {
  text-align: center;
}

.confirm-emblem {
  width: 52px;
  height: 52px;
  margin: 0 auto 16px;
  border-radius: 50%;
  border: 1px solid var(--accent-rose);
  background: rgba(212, 163, 115, 0.12);
  color: var(--accent-rose);
  font-size: 1.35rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.dossier-card {
  margin: 18px 0 22px;
  padding: 16px 18px;
  border-radius: 12px;
  background: rgba(5, 5, 7, 0.82);
  border: 1px solid rgba(212, 163, 115, 0.22);
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.dossier-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-family: var(--font-mono);
  font-size: 0.74rem;
}

.dossier-row span {
  color: var(--text-muted);
}

.dossier-row strong {
  color: var(--text-ivory);
  font-weight: 500;
}

/* --------------------------------------------------------------------------
   Responsive Breakpoints (1280px, 1024px, 768px, 390px mobile — ZERO overflow)
   -------------------------------------------------------------------------- */
@media (max-width: 1024px) {
  .bento-span-6,
  .bento-span-3 {
    grid-column: span 6;
  }

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

  .glass-card {
    width: min(320px, 40vw);
  }
}

@media (max-width: 768px) {
  .header-inner {
    grid-template-columns: 1fr auto;
  }

  .header-nav {
    display: none;
  }

  .cinema-track {
    height: 420vh;
  }

  .cinema-vignette {
    background:
      linear-gradient(180deg, rgba(5, 5, 7, 0.90) 0%, rgba(5, 5, 7, 0.68) 32%, rgba(5, 5, 7, 0.08) 56%, rgba(5, 5, 7, 0.88) 100%);
  }

  .cinema-overlay {
    padding: 112px 18px 96px;
  }

  /* On mobile, position Act I cleanly in upper safe band above centerpiece */
  .act-one {
    left: 18px;
    right: 18px;
    top: 110px;
    bottom: auto;
    max-width: none;
  }

  .hero-headline {
    font-size: clamp(2.25rem, 9.6vw, 3.1rem);
    margin-bottom: 10px;
  }

  .hero-subtitle {
    font-size: 0.86rem;
    max-width: 34ch;
  }

  /* On mobile, display sequential Act II cards in clean upper safe zone */
  .act-two-layer {
    inset: 96px 16px 104px;
  }

  .glass-card {
    top: 0;
    left: 0;
    right: 0;
    width: auto;
    padding: 18px 18px;
    transform: translate3d(0, 16px, 0);
  }

  .card-title {
    font-size: 1.38rem;
  }

  .card-body {
    font-size: 0.82rem;
    margin-bottom: 12px;
  }

  .act-three {
    bottom: 106px;
    width: calc(100% - 32px);
  }

  .climax-headline {
    font-size: clamp(1.95rem, 8.2vw, 2.65rem);
  }

  .climax-subtitle {
    font-size: 0.84rem;
    margin-bottom: 16px;
  }

  .cinema-footer-bar {
    left: 16px;
    right: 16px;
    bottom: 18px;
    gap: 10px;
  }

  .telemetry-hud {
    min-width: 0;
    flex: 1;
    padding: 9px 11px;
  }

  .telemetry-items {
    gap: 7px;
    font-size: 0.63rem;
  }

  .telemetry-hide-xs {
    display: none;
  }

  .scroll-cue {
    padding: 9px 11px;
    font-size: 0.62rem;
    letter-spacing: 0.1em;
    gap: 6px;
  }

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

  .scroll-cue::before {
    content: 'SCROLL';
  }

  .bento-grid {
    grid-template-columns: 1fr;
  }

  .bento-span-6,
  .bento-span-3 {
    grid-column: span 1;
  }

  .bento-stats-row {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .pillars-grid {
    grid-template-columns: 1fr;
  }

  .form-row-2 {
    grid-template-columns: 1fr;
  }

  .studio-actions {
    flex-direction: column;
  }

  .studio-actions a {
    width: 100%;
  }
}

/* Reduced Motion Respect */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .scroll-cue-arrow {
    animation: none;
  }

  .pillar-card.will-reveal {
    opacity: 1;
    transform: none;
  }
}
