/* ==================================================================
   NADIA AT THE MOVIES — pre-order storefront
   Obsidian #0A0807 · Smoke #1E1A17 · Champagne Silk #E8DCC8
   Ashford Gold #C6A15B · Cognac #A05C28
   Bodoni Moda (display) · Pinyon Script (script) · Archivo (UI)
   ================================================================== */

/* Self-hosted fonts (latin subsets) */
@font-face { font-family: "Bodoni Moda"; font-style: normal; font-weight: 400; font-display: swap; src: url("../assets/fonts/bodoni-moda-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Bodoni Moda"; font-style: normal; font-weight: 600; font-display: swap; src: url("../assets/fonts/bodoni-moda-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Bodoni Moda"; font-style: normal; font-weight: 700; font-display: swap; src: url("../assets/fonts/bodoni-moda-latin-700-normal.woff2") format("woff2"); }
@font-face { font-family: "Bodoni Moda"; font-style: italic; font-weight: 400; font-display: swap; src: url("../assets/fonts/bodoni-moda-latin-400-italic.woff2") format("woff2"); }
@font-face { font-family: "Bodoni Moda"; font-style: italic; font-weight: 600; font-display: swap; src: url("../assets/fonts/bodoni-moda-latin-600-italic.woff2") format("woff2"); }
@font-face { font-family: "Pinyon Script"; font-style: normal; font-weight: 400; font-display: swap; src: url("../assets/fonts/pinyon-script-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Archivo"; font-style: normal; font-weight: 400; font-display: swap; src: url("../assets/fonts/archivo-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Archivo"; font-style: normal; font-weight: 500; font-display: swap; src: url("../assets/fonts/archivo-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Archivo"; font-style: normal; font-weight: 600; font-display: swap; src: url("../assets/fonts/archivo-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Archivo"; font-style: normal; font-weight: 700; font-display: swap; src: url("../assets/fonts/archivo-latin-700-normal.woff2") format("woff2"); }

:root {
  --obsidian: #0A0807;
  --smoke: #1E1A17;
  --smoke-2: #161311;
  --silk: #E8DCC8;
  --silk-dim: #B8AC98;
  --gold: #C6A15B;
  --gold-bright: #E3C486;
  --gold-deep: #8F6F35;
  --cognac: #A05C28;
  --line: rgba(198, 161, 91, 0.22);
  --glass: rgba(232, 220, 200, 0.06);
  --glass-edge: rgba(232, 220, 200, 0.18);
  --display: "Bodoni Moda", serif;
  --script: "Pinyon Script", cursive;
  --ui: "Archivo", sans-serif;
  --pad: clamp(1.25rem, 4vw, 4rem);
  --ease-out: cubic-bezier(0.2, 0.7, 0.2, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

[hidden] { display: none !important; }

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

::selection { background: rgba(198, 161, 91, 0.85); color: #171204; }

body::-webkit-scrollbar { width: 10px; }
body::-webkit-scrollbar-track { background: #0A0807; }
body::-webkit-scrollbar-thumb { background: #2A241E; border-radius: 5px; border: 2px solid #0A0807; }
body::-webkit-scrollbar-thumb:hover { background: var(--gold-deep); }

html { scroll-behavior: smooth; }

body {
  background: var(--obsidian);
  color: var(--silk);
  font-family: var(--ui);
  font-size: 1rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2 { font-family: var(--display); font-weight: 600; }
h2 { font-size: clamp(2rem, 4.5vw, 3.4rem); line-height: 1.05; letter-spacing: 0.01em; }

/* ---------- film grain ---------- */

.grain {
  position: fixed;
  inset: -50%;
  z-index: 100;
  pointer-events: none;
  opacity: 0.05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grain-shift 0.9s steps(4) infinite;
}
@keyframes grain-shift {
  0% { transform: translate(0, 0); }
  25% { transform: translate(-2%, 3%); }
  50% { transform: translate(3%, -2%); }
  75% { transform: translate(-3%, -3%); }
  100% { transform: translate(2%, 2%); }
}

/* ---------- shared ---------- */

.eyebrow {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.9rem;
}
.section-head .eyebrow { justify-content: center; }

.live-dot {
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background: var(--gold-bright);
  box-shadow: 0 0 0 0 rgba(227, 196, 134, 0.6);
  animation: live 2s infinite;
}
@keyframes live {
  0% { box-shadow: 0 0 0 0 rgba(227, 196, 134, 0.55); }
  70% { box-shadow: 0 0 0 9px rgba(227, 196, 134, 0); }
  100% { box-shadow: 0 0 0 0 rgba(227, 196, 134, 0); }
}

.section-head { text-align: center; max-width: 46rem; margin: 0 auto; padding: 0 var(--pad); }
.section-sub { color: var(--silk-dim); margin-top: 0.9rem; }
.micro-note { font-size: 0.72rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--silk-dim); margin-top: 0.9rem; }

.btn {
  position: relative;
  display: inline-block;
  font-family: var(--ui);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 1rem 1.7rem;
  border: 1px solid transparent;
  cursor: pointer;
  overflow: hidden;
  transition: background 0.25s, color 0.25s, border-color 0.25s, transform 0.15s, box-shadow 0.25s;
}
.btn:active { transform: translateY(1px); }
.btn:focus-visible, a:focus-visible, button:focus-visible, input:focus-visible, [tabindex]:focus-visible {
  outline: 2px solid var(--gold-bright);
  outline-offset: 2px;
}

.btn-gold {
  background: linear-gradient(160deg, var(--gold-bright) 0%, var(--gold) 45%, var(--gold-deep) 100%);
  color: #171204;
  box-shadow: 0 10px 30px -12px rgba(198, 161, 91, 0.55);
}
.btn-gold::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, transparent 30%, rgba(255, 255, 255, 0.5) 50%, transparent 62%);
  transform: translateX(-120%);
  transition: transform 0.6s var(--ease-out);
}
.btn-gold:hover::after { transform: translateX(120%); }
.btn-gold:hover { box-shadow: 0 14px 40px -12px rgba(227, 196, 134, 0.75); }

.btn-ghost { background: rgba(10, 8, 7, 0.25); color: var(--silk); border-color: var(--line); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.btn-ghost:hover { border-color: var(--gold); color: var(--gold-bright); }

.btn-block { display: block; width: 100%; text-align: center; }
.btn-sm { padding: 0.6rem 1.1rem; font-size: 0.68rem; }
.btn-xl { padding: 1.15rem 2.3rem; font-size: 0.85rem; }

.btn-pulse { animation: btn-pulse 2.6s var(--ease-out) infinite; }
@keyframes btn-pulse {
  0%, 100% { box-shadow: 0 10px 30px -12px rgba(198, 161, 91, 0.55); }
  50% { box-shadow: 0 10px 44px -8px rgba(227, 196, 134, 0.9); }
}

/* ---------- scroll reveals ---------- */

[data-reveal] { opacity: 0; transform: translateY(26px); transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out); }
[data-reveal].is-in { opacity: 1; transform: none; }

.reveal-load { opacity: 0; transform: translateY(20px); animation: rise 0.9s var(--ease-out) forwards; }
.d1 { animation-delay: 0.1s; } .d2 { animation-delay: 0.25s; } .d3 { animation-delay: 0.45s; }
.d4 { animation-delay: 0.6s; } .d5 { animation-delay: 0.72s; } .d6 { animation-delay: 0.85s; } .d7 { animation-delay: 1s; }
@keyframes rise { to { opacity: 1; transform: none; } }

/* ---------- announcement bar ---------- */

.announce {
  overflow: hidden;
  background: linear-gradient(to bottom, var(--gold) 0%, #A9873F 100%);
  color: #171204;
  padding: 0.42rem 0;
  white-space: nowrap;
}
.announce-track { display: inline-flex; align-items: baseline; gap: 1.4rem; padding-right: 1.4rem; animation: slide 30s linear infinite; }
.announce-track span { font-size: 0.68rem; font-weight: 700; letter-spacing: 0.26em; text-transform: uppercase; }
.announce-track i { font-style: normal; font-size: 0.6rem; opacity: 0.7; }
@keyframes slide { to { transform: translateX(-50%); } }

/* ---------- scroll progress ---------- */

.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 2px;
  width: 100%;
  z-index: 90;
  background: linear-gradient(to right, var(--gold-deep), var(--gold-bright));
  transform-origin: 0 50%;
  transform: scaleX(0);
  pointer-events: none;
}

/* ---------- floating pill navbar ---------- */

html { scroll-padding-top: 6.5rem; }

.pill-wrap {
  position: sticky;
  top: 0.8rem;
  z-index: 40;
  display: flex;
  justify-content: center;
  padding: 0 1rem;
  margin-top: 0.9rem;
  margin-bottom: -4.4rem; /* float the pill over the hero */
  pointer-events: none;
}

.pill-nav {
  pointer-events: auto;
  display: flex;
  align-items: center;
  gap: clamp(0.8rem, 2.5vw, 2rem);
  padding: 0.5rem 0.6rem 0.5rem 1.1rem;
  border-radius: 999px;
  background: rgba(14, 11, 9, 0.72);
  border: 1px solid rgba(198, 161, 91, 0.22);
  backdrop-filter: blur(18px) saturate(1.2);
  -webkit-backdrop-filter: blur(18px) saturate(1.2);
  box-shadow:
    0 20px 50px -18px rgba(0, 0, 0, 0.85),
    inset 0 1px 0 rgba(232, 220, 200, 0.14);
  transition: transform 0.4s var(--ease-out), box-shadow 0.3s, background 0.3s, padding 0.3s;
  max-width: calc(100vw - 2rem);
}
.pill-wrap.is-hidden .pill-nav { transform: translateY(-160%); }
.pill-wrap.is-scrolled .pill-nav {
  background: rgba(14, 11, 9, 0.9);
  box-shadow: 0 24px 60px -18px rgba(0, 0, 0, 0.95), inset 0 1px 0 rgba(232, 220, 200, 0.18), 0 0 0 1px rgba(198, 161, 91, 0.08);
}

.brand { display: flex; align-items: center; gap: 0.6rem; text-decoration: none; }
.brand-crest { height: 1.9rem; width: auto; transition: transform 0.3s var(--ease-out); }
.brand:hover .brand-crest { transform: rotate(-8deg) scale(1.06); }
.brand-word { font-family: var(--display); font-size: 1.3rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; }

.pill-links { position: relative; display: flex; align-items: center; gap: 0.2rem; }
.pill-links a {
  position: relative;
  z-index: 1;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--silk-dim);
  padding: 0.55rem 0.85rem;
  border-radius: 999px;
  transition: color 0.25s;
}
.pill-links a:hover { color: var(--gold-bright); }
.pill-links a.is-active { color: #171204; }

.pill-indicator {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 0;
  border-radius: 999px;
  background: linear-gradient(160deg, var(--gold-bright), var(--gold));
  box-shadow: 0 6px 20px -6px rgba(198, 161, 91, 0.7);
  opacity: 0;
  transition: transform 0.35s var(--ease-out), width 0.35s var(--ease-out), opacity 0.25s;
}
.pill-indicator.is-on { opacity: 1; }

.header-actions { display: flex; align-items: center; gap: 0.55rem; }

.menu-button {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 2.5rem;
  height: 2.5rem;
  padding: 0 0.6rem;
  background: none;
  border: 1px solid var(--line);
  border-radius: 999px;
  cursor: pointer;
}
.menu-button span { display: block; height: 1.5px; background: var(--silk); transition: transform 0.3s var(--ease-out), opacity 0.3s; }
.menu-button.is-open span:nth-child(1) { transform: translateY(3.25px) rotate(45deg); }
.menu-button.is-open span:nth-child(2) { transform: translateY(-3.25px) rotate(-45deg); }

.mobile-menu {
  position: fixed;
  top: 0;
  left: 0.8rem;
  right: 0.8rem;
  z-index: 39;
  padding: 6.6rem 1.4rem 1.6rem;
  border-radius: 0 0 22px 22px;
  background: rgba(14, 11, 9, 0.96);
  border: 1px solid rgba(198, 161, 91, 0.22);
  border-top: none;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 40px 80px -20px rgba(0, 0, 0, 0.9);
  transform: translateY(-110%);
  transition: transform 0.45s var(--ease-out);
}
.mobile-menu.is-open { transform: none; }
.mobile-menu nav { display: flex; flex-direction: column; margin-bottom: 1.2rem; }
.mobile-menu nav a {
  font-family: var(--display);
  font-size: 1.5rem;
  text-decoration: none;
  color: var(--silk);
  padding: 0.55rem 0.2rem;
  border-bottom: 1px solid rgba(198, 161, 91, 0.12);
  transition: color 0.2s, padding-left 0.25s var(--ease-out);
}
.mobile-menu nav a:hover { color: var(--gold-bright); padding-left: 0.6rem; }

.cart-button {
  position: relative;
  background: none;
  border: 1px solid var(--line);
  color: var(--silk);
  padding: 0.55rem 0.7rem;
  cursor: pointer;
  transition: border-color 0.2s, color 0.2s;
}
.cart-button:hover { border-color: var(--gold); color: var(--gold-bright); }
.cart-count {
  position: absolute;
  top: -0.5rem;
  right: -0.5rem;
  background: var(--gold);
  color: #171204;
  font-size: 0.65rem;
  font-weight: 700;
  min-width: 1.15rem;
  height: 1.15rem;
  display: grid;
  place-items: center;
  border-radius: 999px;
  padding: 0 0.25rem;
}
.cart-count.bump { animation: bump 0.4s var(--ease-out); }
@keyframes bump { 40% { transform: scale(1.45); } }

/* ---------- hero ---------- */

.hero { position: relative; min-height: 94vh; display: flex; align-items: flex-end; overflow: hidden; }

.hero-media, .hero-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 0% 40%; /* hero-m5: subject is centred in the frame, so push it right of the copy when cropped */
}
.hero-media img { transform: scale(1.06); animation: hero-drift 14s var(--ease-out) forwards; }
@keyframes hero-drift { to { transform: scale(1); } }

.hero-scrim {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to right, rgba(10,8,7,0.88) 0%, rgba(10,8,7,0.38) 55%, rgba(10,8,7,0.18) 100%),
    linear-gradient(to top, var(--obsidian) 2%, rgba(10,8,7,0) 48%),
    radial-gradient(120% 90% at 80% 10%, rgba(10,8,7,0) 50%, rgba(10,8,7,0.55) 100%);
}

.hero-copy { position: relative; z-index: 2; padding: 7.5rem var(--pad) 6rem; max-width: 50rem; }

.hero-title { line-height: 0.9; margin: 0.4rem 0 1.3rem; }

.hero-name {
  display: block;
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(3.5rem, 9vw, 7.5rem);
  letter-spacing: 0.04em;
  background: linear-gradient(105deg, var(--silk) 0%, #FFF6E3 18%, var(--gold-bright) 38%, var(--silk) 60%, var(--gold) 82%, var(--silk) 100%);
  background-size: 220% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: rise 0.9s var(--ease-out) forwards, foil 9s linear 1.2s infinite;
}
@keyframes foil { to { background-position: -220% 0; } }

.hero-script {
  display: block;
  font-family: var(--script);
  font-size: clamp(1.8rem, 4.2vw, 3.4rem);
  color: var(--gold-bright);
  text-shadow: 0 0 34px rgba(227, 196, 134, 0.35);
  margin: -0.35em 0 0 0.18em;
  transform: rotate(-2deg);
  transform-origin: left;
}

.hero-line { color: var(--silk-dim); max-width: 32rem; margin-bottom: 1.6rem; }

/* countdown — speedometer */
.countdown { margin-bottom: 1.8rem; }
.count-label { font-size: 0.68rem; font-weight: 600; letter-spacing: 0.3em; text-transform: uppercase; color: var(--gold); margin-bottom: 0.5rem; }

.speedo { display: flex; align-items: center; gap: 1.2rem; }

.gauge { width: clamp(9.5rem, 18vw, 12.5rem); flex: 0 0 auto; overflow: visible; filter: drop-shadow(0 12px 30px rgba(0, 0, 0, 0.6)); }
.gauge-needle { transform-origin: 110px 118px; transition: transform 1.1s cubic-bezier(0.22, 0.9, 0.3, 1.15); }
.gauge-face { fill: rgba(232, 220, 200, 0.04); stroke: var(--glass-edge); }

.odometer { display: flex; align-items: flex-start; gap: 0.45rem; }
.odo-group { display: flex; flex-direction: column; align-items: center; gap: 0.35rem; }
.odo-pair {
  display: flex;
  gap: 2px;
  padding: 0.4rem 0.45rem;
  border-radius: 9px;
  background: rgba(232, 220, 200, 0.05);
  border: 1px solid var(--glass-edge);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow: inset 0 2px 6px rgba(0, 0, 0, 0.5);
}
.odo-digit { height: 1.5rem; width: 0.95rem; overflow: hidden; }
.odo-strip { display: flex; flex-direction: column; transition: transform 0.5s var(--ease-out); }
.odo-strip span {
  height: 1.5rem;
  display: grid;
  place-items: center;
  font-family: var(--display);
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--gold-bright);
  line-height: 1;
  font-variant-numeric: tabular-nums;
}
.odo-label { font-size: 0.56rem; font-weight: 700; letter-spacing: 0.24em; text-transform: uppercase; color: var(--silk-dim); }
.odo-sep { font-family: var(--display); font-size: 1.3rem; color: var(--silk-dim); padding-top: 0.55rem; }

/* launched: the odometer gives way to a status line, gauge stays on the redline */
.live-note { display: none; flex-direction: column; gap: 0.3rem; max-width: 20rem; }
.live-note strong { font-family: var(--display); font-size: 1.6rem; font-weight: 600; color: var(--gold-bright); line-height: 1; }
.live-note span { font-size: 0.8rem; color: var(--silk-dim); line-height: 1.45; }
.countdown.is-live .odometer { display: none; }
.countdown.is-live .live-note { display: flex; }

@media (max-width: 480px) {
  /* hero on phones: less dead space above and below, gauge stacked over the clock,
     CTAs full-width so the two buttons read as a pair */
  .hero-copy { padding-top: 6.5rem; padding-bottom: 4rem; }
  .hero-line { margin-bottom: 1.3rem; }
  .countdown { margin-bottom: 1.4rem; }
  .speedo { flex-direction: column; align-items: flex-start; gap: 0.6rem; }
  .gauge { width: 8.5rem; }
  .odometer { gap: 0.35rem; }
  .live-note { max-width: none; }
  .hero-actions { flex-direction: column; align-items: stretch; gap: 0.7rem; }
  .hero-actions .btn { width: 100%; justify-content: center; text-align: center; }
  .hero-charity { margin-top: 1.1rem; letter-spacing: 0.18em; }
}

.hero-actions { display: flex; flex-wrap: wrap; gap: 0.9rem; align-items: center; }

.hero-charity { margin-top: 1.4rem; font-size: 0.72rem; letter-spacing: 0.24em; text-transform: uppercase; color: var(--gold); }

.scroll-cue {
  position: absolute;
  left: 50%;
  bottom: 2.4rem;
  transform: translateX(-50%);
  z-index: 3;
  color: var(--silk-dim);
  animation: cue 2.2s var(--ease-out) infinite;
}
@keyframes cue { 0%, 100% { transform: translate(-50%, 0); } 50% { transform: translate(-50%, 8px); } }

.film-strip-edge {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 26px;
  z-index: 3;
  background: repeating-linear-gradient(to right, transparent 0 14px, rgba(232,220,200,0.16) 14px 26px, transparent 26px 40px);
  border-top: 1px solid rgba(232,220,200,0.12);
  border-bottom: 1px solid rgba(232,220,200,0.12);
}

/* ---------- stats ---------- */

.stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(11rem, 1fr));
  gap: 1px;
  background: var(--line);
  border-bottom: 1px solid var(--line);
}
.stat {
  background: var(--obsidian);
  text-align: center;
  padding: 2.2rem 1rem;
}
.stat-num {
  display: block;
  font-family: var(--display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  color: var(--gold-bright);
  line-height: 1;
}
.stat-label { display: block; font-size: 0.72rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--silk-dim); margin-top: 0.6rem; }

/* ---------- showcase / liquid glass ---------- */

.showing { padding: clamp(4rem, 9vw, 7.5rem) 0 clamp(3rem, 6vw, 5rem); }

.stage {
  margin-top: clamp(2.2rem, 5vw, 3.8rem);
  padding: 0 var(--pad);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.8rem;
  perspective: 1200px;
}

.glass-slab {
  position: relative;
  width: min(60rem, 100%);
  transform-style: preserve-3d;
  transition: transform 0.18s ease-out;
  will-change: transform;
  animation: slab-float 7s ease-in-out infinite;
}
@keyframes slab-float { 0%, 100% { translate: 0 0; } 50% { translate: 0 -10px; } }

/* animated gold light ring */
.slab-ring {
  position: absolute;
  inset: -2px;
  border-radius: 20px;
  background: conic-gradient(from var(--ring, 0deg), transparent 0deg, rgba(227,196,134,0.0) 40deg, rgba(227,196,134,0.9) 90deg, transparent 150deg, transparent 360deg);
  filter: blur(1px);
  animation: ring-spin 6s linear infinite;
  pointer-events: none;
}
@supports (background: conic-gradient(from 1deg, red, blue)) {
  @property --ring { syntax: "<angle>"; initial-value: 0deg; inherits: false; }
  @keyframes ring-spin { to { --ring: 360deg; } }
}
@supports not (background: conic-gradient(from 1deg, red, blue)) {
  .slab-ring { display: none; }
}

.slab-inner {
  position: relative;
  overflow: hidden;
  border-radius: 18px;
  background: var(--glass);
  border: 1px solid var(--glass-edge);
  box-shadow:
    0 50px 110px -30px rgba(0, 0, 0, 0.9),
    inset 0 1px 0 rgba(232, 220, 200, 0.3),
    inset 0 -1px 0 rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.slab-photo { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; opacity: 1; transition: opacity 0.35s; }
.slab-photo.is-switching { opacity: 0; }

.slab-badge {
  position: absolute;
  top: 1.1rem;
  left: 1.1rem;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: #171204;
  background: linear-gradient(160deg, var(--gold-bright), var(--gold));
  padding: 0.45rem 0.85rem;
  border-radius: 999px;
  box-shadow: 0 8px 24px -8px rgba(198, 161, 91, 0.8);
}

.slab-caption {
  position: absolute;
  left: 0; right: 34%; bottom: 0;
  padding: 1.3rem 1.6rem;
  background: linear-gradient(to top, rgba(10,8,7,0.9), rgba(10,8,7,0));
}
.slab-month { font-family: var(--display); font-style: italic; font-size: 1.5rem; color: var(--gold-bright); }
.slab-note { font-size: 0.85rem; color: var(--silk-dim); max-width: 28rem; }

.slab-grid {
  position: absolute;
  right: 1.2rem; bottom: 1.2rem;
  width: clamp(9rem, 22%, 12rem);
  padding: 0.7rem 0.8rem 0.8rem;
  border-radius: 10px;
  background: rgba(10, 8, 7, 0.55);
  border: 1px solid var(--glass-edge);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 0.18rem;
  font-size: 0.5rem;
  color: var(--silk-dim);
  text-align: center;
}
.slab-grid .g-title { grid-column: 1 / -1; font-family: var(--script); font-size: 0.95rem; color: var(--gold-bright); margin-bottom: 0.2rem; }
.slab-grid .g-day.g-gold { color: var(--gold-bright); }

.slab-sheen {
  position: absolute;
  inset: -40%;
  pointer-events: none;
  background: linear-gradient(115deg, transparent 42%, rgba(232, 220, 200, 0.17) 50%, rgba(232, 220, 200, 0.02) 54%, transparent 60%);
  transform: translateX(var(--sheen-x, -30%));
  transition: transform 0.25s ease-out;
}

.month-rail { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.6rem; }

.month-chip {
  font-family: var(--ui);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--silk-dim);
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.55rem 1.1rem;
  cursor: pointer;
  transition: color 0.2s, border-color 0.2s, background 0.2s;
}
.month-chip:hover { color: var(--gold-bright); border-color: var(--gold); }
.month-chip.is-active { background: var(--gold); border-color: var(--gold); color: #171204; }

.showing-cta { text-align: center; margin-top: 2.4rem; }

/* ---------- interactive 2027 calendar ---------- */

.cal-stage {
  margin-top: clamp(2.4rem, 5vw, 4rem);
  padding: 0 var(--pad);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(0.6rem, 2vw, 1.6rem);
  perspective: 1600px;
}

.cal-arrow {
  flex: 0 0 auto;
  width: 3rem;
  height: 3rem;
  display: grid;
  place-items: center;
  background: rgba(232, 220, 200, 0.05);
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--silk);
  cursor: pointer;
  transition: border-color 0.2s, color 0.2s, background 0.2s, transform 0.2s;
}
.cal-arrow:hover { border-color: var(--gold); color: var(--gold-bright); transform: scale(1.06); }

.cal-book {
  position: relative;
  width: min(46rem, 100%);
  cursor: pointer;
}

/* wire binding */
.cal-rings {
  position: absolute;
  top: -14px;
  left: 0; right: 0;
  height: 30px;
  z-index: 6;
  background:
    radial-gradient(circle at 50% 40%, rgba(232,220,200,0.95) 0 2.5px, rgba(120,110,95,0.9) 2.5px 4px, transparent 4px) 0 0 / 34px 30px repeat-x;
  filter: drop-shadow(0 2px 3px rgba(0,0,0,0.7));
  pointer-events: none;
}
.cal-ring-glow {
  position: absolute;
  inset: -3px;
  border-radius: 18px;
  background: conic-gradient(from 0deg, transparent 0deg, rgba(227,196,134,0.55) 80deg, transparent 140deg, transparent 360deg);
  filter: blur(10px);
  opacity: 0.55;
  z-index: 0;
  animation: ring-spin 7s linear infinite;
  pointer-events: none;
}

.cal-pages {
  position: relative;
  z-index: 2;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--glass-edge);
  background: var(--smoke);
  box-shadow:
    0 60px 120px -35px rgba(0, 0, 0, 0.95),
    inset 0 1px 0 rgba(232, 220, 200, 0.28);
}

.cal-sheen {
  position: absolute;
  inset: 0;
  z-index: 5;
  border-radius: 16px;
  pointer-events: none;
  background: linear-gradient(115deg, transparent 44%, rgba(232, 220, 200, 0.1) 50%, transparent 58%);
}

.cal-page { background: var(--smoke); }
.cal-page.flip-out {
  position: absolute;
  inset: 0;
  z-index: 4;
  transform-origin: 50% 0%;
  animation: page-flip 0.55s var(--ease-out) forwards;
  pointer-events: none;
}
@keyframes page-flip {
  0% { transform: rotateX(0deg); opacity: 1; }
  100% { transform: rotateX(-105deg); opacity: 0; }
}

.cal-photo-wrap { position: relative; overflow: hidden; }
.cal-photo { width: 100%; aspect-ratio: 16 / 8.4; object-fit: cover; display: block; }
.cal-photo.is-locked { filter: blur(26px) saturate(0.7) brightness(0.85); transform: scale(1.12); }

/* headlight beam over sealed months */
.cal-dark {
  position: absolute;
  inset: 0;
  z-index: 2;
  background: rgba(4, 3, 2, 0.93);
  -webkit-mask-image: radial-gradient(circle 240px at var(--bx, 50%) var(--by, 42%), transparent 0 78px, rgba(0, 0, 0, 0.55) 150px, #000 240px);
  mask-image: radial-gradient(circle 240px at var(--bx, 50%) var(--by, 42%), transparent 0 78px, rgba(0, 0, 0, 0.55) 150px, #000 240px);
}
.cal-glint {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  mix-blend-mode: screen;
  background: radial-gradient(circle 160px at var(--bx, 50%) var(--by, 42%), rgba(232, 220, 200, 0.32), rgba(232, 220, 200, 0.07) 45%, transparent 70%);
}

.cal-photo-caption {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 1rem 1.4rem;
  background: linear-gradient(to top, rgba(10,8,7,0.85), rgba(10,8,7,0));
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
}
.cal-photo-caption strong { font-family: var(--display); font-style: italic; font-size: 1.3rem; color: var(--gold-bright); white-space: nowrap; }
.cal-photo-caption span { font-size: 0.78rem; color: var(--silk-dim); text-align: right; }

/* frosted lock overlay */
.cal-lock {
  position: absolute;
  inset: 0;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.7rem;
  text-align: center;
  padding: 1.5rem;
}
.cal-lock-icon {
  width: 3rem;
  height: 3rem;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #171204;
  background: linear-gradient(160deg, var(--gold-bright), var(--gold));
  box-shadow: 0 10px 30px -8px rgba(198, 161, 91, 0.8);
}
.cal-lock-title { font-family: var(--display); font-style: italic; font-size: clamp(1.3rem, 3vw, 1.9rem); color: var(--silk); text-shadow: 0 2px 18px rgba(0,0,0,0.8); }
.cal-lock-sub { font-size: 0.72rem; font-weight: 600; letter-spacing: 0.26em; text-transform: uppercase; color: var(--gold-bright); }
.cal-lock .btn { margin-top: 0.4rem; }

/* peek badge on january */
.cal-peek-badge {
  position: absolute;
  top: 1rem;
  left: 1rem;
  z-index: 3;
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: #171204;
  background: linear-gradient(160deg, var(--gold-bright), var(--gold));
  padding: 0.4rem 0.8rem;
  border-radius: 999px;
  box-shadow: 0 8px 24px -8px rgba(198, 161, 91, 0.8);
}

/* the printed month block */
.cal-sheet { padding: 1.2rem 1.5rem 1.4rem; background: linear-gradient(to bottom, #171310, #120F0C); border-top: 1px solid rgba(232,220,200,0.08); }

.cal-sheet-head { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; margin-bottom: 0.8rem; }
.cal-month-name { font-family: var(--script); font-size: clamp(1.7rem, 4vw, 2.4rem); color: var(--gold-bright); line-height: 1; }
.cal-month-year { font-family: var(--display); font-size: 0.95rem; letter-spacing: 0.3em; color: var(--silk-dim); }

.cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 0.3rem 0.2rem; text-align: center; }
.cal-dow { font-size: 0.6rem; font-weight: 700; letter-spacing: 0.2em; color: var(--gold); padding-bottom: 0.25rem; }
.cal-day { font-family: var(--display); font-size: clamp(0.8rem, 1.6vw, 1rem); color: var(--silk); padding: 0.18rem 0; font-variant-numeric: tabular-nums; }
.cal-day.is-pad { opacity: 0; }
.cal-day.is-sun { color: var(--cognac); }

.cal-sheet.is-locked .cal-grid, .cal-sheet.is-locked .cal-month-name { filter: blur(7px); user-select: none; }
.cal-sheet.is-locked { position: relative; }
.cal-sheet-lockline {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold-bright);
  background: rgba(10, 8, 7, 0.25);
}

.cal-rail { margin-top: 1.6rem; padding: 0 var(--pad); }
.month-chip .chip-lock { display: inline-block; margin-right: 0.35rem; opacity: 0.8; font-size: 0.62rem; transform: translateY(-1px); }

.cal-tease { font-family: var(--display); font-style: italic; font-size: clamp(1.15rem, 2.6vw, 1.6rem); color: var(--silk-dim); margin-bottom: 1.2rem; }

.cal-hint { text-align: center; font-size: 0.68rem; letter-spacing: 0.22em; text-transform: uppercase; color: var(--silk-dim); margin-top: 1rem; }

@media (max-width: 700px) {
  .cal-arrow { display: none; }
  .cal-photo { aspect-ratio: 4 / 3; }
  .cal-lock { gap: 0.45rem; padding: 1rem; }
  .cal-lock-icon { width: 2.3rem; height: 2.3rem; }
  .cal-lock-icon svg { width: 15px; height: 15px; }
  .cal-lock-title { font-size: 1.05rem; }
  .cal-lock-sub { font-size: 0.6rem; }
  .cal-lock .btn { padding: 0.7rem 1rem; font-size: 0.62rem; white-space: normal; }
  .cal-sheet-lockline { font-size: 0.6rem; text-align: center; padding: 0 1.2rem; letter-spacing: 0.2em; }
}

/* ---------- film reel ---------- */

.reel { padding: clamp(3.5rem, 8vw, 6rem) 0; border-top: 1px solid var(--line); background: var(--smoke-2); }

.reel-strip {
  margin-top: clamp(2rem, 5vw, 3rem);
  display: flex;
  gap: 1.6rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 26px var(--pad);
  cursor: grab;
  scrollbar-width: none;
  background:
    repeating-linear-gradient(to right, transparent 0 14px, rgba(232,220,200,0.14) 14px 26px, transparent 26px 40px) top / 100% 26px no-repeat,
    repeating-linear-gradient(to right, transparent 0 14px, rgba(232,220,200,0.14) 14px 26px, transparent 26px 40px) bottom / 100% 26px no-repeat;
}
.reel-strip::-webkit-scrollbar { display: none; }
.reel-strip.dragging { cursor: grabbing; scroll-snap-type: none; }

.frame {
  flex: 0 0 auto;
  width: min(46rem, 84vw);
  scroll-snap-align: center;
  border-radius: 12px;
  overflow: hidden;
  position: relative;
  border: 1px solid var(--glass-edge);
  background: var(--smoke);
  box-shadow: 0 30px 70px -30px rgba(0, 0, 0, 0.85);
}
.frame img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; transition: transform 0.6s var(--ease-out); }
.frame:hover img { transform: scale(1.03); }

.frame-cap {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.1rem 1.3rem;
  background: linear-gradient(to top, rgba(10,8,7,0.92), rgba(10,8,7,0));
}
.frame-cap strong { font-family: var(--display); font-style: italic; font-weight: 600; font-size: 1.25rem; color: var(--gold-bright); white-space: nowrap; }
.frame-cap span { font-size: 0.78rem; color: var(--silk-dim); text-align: right; }

.frame-num {
  position: absolute;
  top: 0.9rem;
  right: 1.1rem;
  font-family: var(--display);
  font-size: 0.85rem;
  letter-spacing: 0.2em;
  color: rgba(232, 220, 200, 0.75);
  background: rgba(10, 8, 7, 0.5);
  padding: 0.25rem 0.6rem;
  border-radius: 6px;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

/* ---------- after dark ---------- */

.afterdark { position: relative; min-height: 78vh; display: grid; place-items: center; overflow: hidden; }
.afterdark-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 30%; }
.afterdark::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(90% 70% at 50% 55%, rgba(10,8,7,0.1) 0%, rgba(10,8,7,0.78) 100%);
}
.afterdark-copy { position: relative; z-index: 2; text-align: center; padding: 4rem var(--pad); }
.afterdark-script { font-family: var(--script); font-size: clamp(2.2rem, 6vw, 4.4rem); color: var(--gold-bright); text-shadow: 0 0 40px rgba(227,196,134,0.35); transform: rotate(-2deg); }
.afterdark-serif { font-family: var(--display); font-weight: 700; font-size: clamp(1.4rem, 3.4vw, 2.6rem); letter-spacing: 0.12em; margin: 0.4rem 0 1.8rem; }

/* ---------- shop ---------- */

.shop { padding: clamp(4rem, 9vw, 7rem) var(--pad); }

.product-grid {
  margin-top: clamp(2.2rem, 5vw, 3.5rem);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(17rem, 1fr));
  gap: 1.4rem;
  max-width: 52rem;
  margin-left: auto;
  margin-right: auto;
}

.product-card {
  position: relative;
  background: var(--glass);
  border: 1px solid var(--glass-edge);
  border-radius: 14px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  transition: transform 0.3s var(--ease-out), border-color 0.3s, box-shadow 0.3s;
}
.product-card:hover {
  transform: translateY(-6px);
  border-color: rgba(198, 161, 91, 0.5);
  box-shadow: 0 30px 60px -28px rgba(198, 161, 91, 0.35);
}

.product-ribbon {
  position: absolute;
  top: 0.9rem;
  left: 0.9rem;
  z-index: 2;
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: #171204;
  background: linear-gradient(160deg, var(--gold-bright), var(--gold));
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
}

/* lone product — keep the card from stretching the full grid width */
.product-grid:has(.product-card:only-child) { max-width: 32rem; }

.product-photo { aspect-ratio: 1; object-fit: cover; width: 100%; background: var(--smoke); }
.product-photo.is-wide { aspect-ratio: 16 / 10; }

.product-body { padding: 1.1rem 1.2rem 1.3rem; display: flex; flex-direction: column; gap: 0.45rem; flex: 1; }
.product-tag { font-size: 0.62rem; font-weight: 600; letter-spacing: 0.26em; text-transform: uppercase; color: var(--gold); }
.product-name { font-family: var(--display); font-size: 1.15rem; font-weight: 600; line-height: 1.25; }
.product-desc { font-size: 0.82rem; color: var(--silk-dim); flex: 1; }
.product-foot { display: flex; align-items: center; justify-content: space-between; margin-top: 0.7rem; gap: 0.6rem; }
.product-price { font-family: var(--display); font-size: 1.25rem; color: var(--gold-bright); }

.product-add {
  font-family: var(--ui);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  background: transparent;
  color: var(--silk);
  border: 1px solid var(--line);
  padding: 0.6rem 1rem;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}
.product-add:hover { background: var(--gold); border-color: var(--gold); color: #171204; }

/* ---------- charity ---------- */

.charity {
  padding: 2.4rem var(--pad);
  text-align: center;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--smoke-2);
}
.charity p { font-family: var(--display); font-size: clamp(1.1rem, 2.4vw, 1.5rem); }
.charity em { font-style: italic; color: var(--silk-dim); }

/* ---------- meet ---------- */

.meet {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
  padding: clamp(4rem, 9vw, 7rem) var(--pad);
  max-width: 78rem;
  margin: 0 auto;
}
.meet-media img { border-radius: 14px; box-shadow: 0 30px 70px -30px rgba(0,0,0,0.8); }
.meet-copy p { color: var(--silk-dim); margin: 0.9rem 0; }
.meet-copy .btn { margin-top: 0.8rem; }

/* ---------- footer ---------- */

.site-footer {
  border-top: 1px solid var(--line);
  background: #070605;
  padding: clamp(3rem, 6vw, 4.5rem) var(--pad) 6.5rem;
}
.foot-brand { text-align: center; margin-bottom: 2.6rem; }
.foot-brand img { height: 3.4rem; margin: 0 auto; }
.foot-script { font-family: var(--script); font-size: 1.6rem; color: var(--gold-bright); margin-top: 0.2rem; }
.foot-cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(11rem, 1fr)); gap: 2rem; max-width: 62rem; margin: 0 auto 2.6rem; }
.foot-cols h3 { font-family: var(--ui); font-size: 0.68rem; font-weight: 700; letter-spacing: 0.26em; text-transform: uppercase; color: var(--gold); margin-bottom: 0.7rem; }
.foot-cols p { font-size: 0.85rem; color: var(--silk-dim); }
.foot-cols a { color: var(--silk-dim); text-decoration: none; }
.foot-cols a:hover { color: var(--gold-bright); }
.foot-fine { text-align: center; font-size: 0.72rem; color: rgba(184, 172, 152, 0.5); }

/* ---------- sticky pre-order bar ---------- */

.preorder-bar {
  position: fixed;
  left: 50%;
  bottom: 1rem;
  transform: translate(-50%, 130%);
  z-index: 50;
  display: flex;
  align-items: center;
  gap: 1rem;
  width: min(42rem, calc(100vw - 2rem));
  padding: 0.7rem 0.8rem 0.7rem 0.7rem;
  border-radius: 14px;
  background: rgba(22, 19, 17, 0.9);
  border: 1px solid var(--glass-edge);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  box-shadow: 0 30px 70px -20px rgba(0, 0, 0, 0.9);
  transition: transform 0.45s var(--ease-out);
}
.preorder-bar.is-visible { transform: translate(-50%, 0); }

.pb-thumb { width: 3.4rem; height: 3.4rem; object-fit: cover; border-radius: 9px; border: 1px solid var(--line); }
.pb-copy { flex: 1; min-width: 0; }
.pb-title { font-family: var(--display); font-size: 1rem; line-height: 1.15; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pb-sub { font-size: 0.68rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold); font-variant-numeric: tabular-nums; }
.pb-price { font-family: var(--display); font-size: 1.15rem; color: var(--gold-bright); }
.preorder-bar .btn { padding: 0.75rem 1.2rem; font-size: 0.7rem; white-space: nowrap; }

/* ---------- toast ---------- */

.toast {
  position: fixed;
  left: 50%;
  bottom: 5.4rem;
  transform: translate(-50%, 20px);
  z-index: 80;
  background: rgba(22, 19, 17, 0.95);
  border: 1px solid var(--gold);
  color: var(--silk);
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  padding: 0.75rem 1.3rem;
  border-radius: 999px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s, transform 0.3s var(--ease-out);
}
.toast.is-visible { opacity: 1; transform: translate(-50%, 0); }
.toast strong { color: var(--gold-bright); font-weight: 600; }

/* ---------- cart drawer ---------- */

.cart-scrim, .modal-scrim {
  position: fixed;
  inset: 0;
  background: rgba(5, 4, 3, 0.65);
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
  z-index: 60;
}

.cart-drawer {
  position: fixed;
  top: 0; right: 0; bottom: 0;
  width: min(26rem, 100vw);
  z-index: 70;
  background: rgba(22, 19, 17, 0.92);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-left: 1px solid var(--glass-edge);
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.35s var(--ease-out);
}
.cart-drawer.is-open { transform: none; }

.cart-head { display: flex; align-items: center; justify-content: space-between; padding: 1.2rem 1.4rem; border-bottom: 1px solid var(--line); }
.cart-head h2 { font-size: 1.4rem; }

.cart-close, .modal-close {
  background: none;
  border: 1px solid var(--line);
  color: var(--silk);
  width: 2.2rem;
  height: 2.2rem;
  cursor: pointer;
  transition: border-color 0.2s, color 0.2s;
}
.cart-close:hover, .modal-close:hover { border-color: var(--gold); color: var(--gold-bright); }

.cart-lines { flex: 1; overflow-y: auto; padding: 1rem 1.4rem; display: flex; flex-direction: column; gap: 1rem; }
.cart-empty { color: var(--silk-dim); text-align: center; margin-top: 3rem; font-size: 0.9rem; }

.cart-line { display: grid; grid-template-columns: 4rem 1fr auto; gap: 0.9rem; align-items: center; }
.cart-line img { width: 4rem; height: 4rem; object-fit: cover; border-radius: 8px; border: 1px solid var(--line); }
.cl-name { font-family: var(--display); font-size: 0.95rem; line-height: 1.2; }
.cl-meta { font-size: 0.72rem; color: var(--gold); font-style: italic; }
.cl-pre { font-size: 0.58rem; font-weight: 700; letter-spacing: 0.22em; text-transform: uppercase; color: var(--gold-bright); }
.cl-price { font-size: 0.85rem; color: var(--silk-dim); margin-top: 0.15rem; }
.cl-qty { display: flex; align-items: center; gap: 0.4rem; }
.cl-qty button { background: none; border: 1px solid var(--line); color: var(--silk); width: 1.6rem; height: 1.6rem; cursor: pointer; font-size: 0.85rem; line-height: 1; }
.cl-qty button:hover { border-color: var(--gold); color: var(--gold-bright); }
.cl-qty span { min-width: 1.2rem; text-align: center; font-size: 0.85rem; }

.cart-foot { padding: 1.2rem 1.4rem 1.5rem; border-top: 1px solid var(--line); }
.cart-subtotal { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 0.3rem; }
.cart-subtotal strong { font-family: var(--display); font-size: 1.35rem; color: var(--gold-bright); }
.cart-ship { font-size: 0.72rem; color: var(--silk-dim); margin-bottom: 1rem; }

/* ---------- checkout modal ---------- */

.modal-scrim { display: grid; place-items: center; padding: 1.2rem; overflow-y: auto; }

.modal {
  position: relative;
  width: min(30rem, 100%);
  background: rgba(22, 19, 17, 0.95);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border: 1px solid var(--glass-edge);
  border-radius: 14px;
  padding: 2rem 1.8rem 1.8rem;
  max-height: 92vh;
  overflow-y: auto;
}
.modal-close { position: absolute; top: 1rem; right: 1rem; }
.modal h2 { margin-bottom: 0.4rem; }
.modal-note { font-size: 0.8rem; color: var(--silk-dim); margin-bottom: 1.4rem; }

#orderForm label { display: block; font-size: 0.68rem; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; color: var(--gold); margin-bottom: 0.9rem; }
#orderForm input { display: block; width: 100%; margin-top: 0.35rem; background: rgba(232, 220, 200, 0.05); border: 1px solid var(--line); color: var(--silk); font-family: var(--ui); font-size: 0.95rem; padding: 0.7rem 0.85rem; }
#orderForm input:focus { border-color: var(--gold); outline: none; }

.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0.9rem; }

.form-error { font-size: 0.82rem; color: #E8A08A; background: rgba(194, 64, 31, 0.12); border: 1px solid rgba(194, 64, 31, 0.45); border-radius: 8px; padding: 0.7rem 0.85rem; margin-bottom: 1rem; }
#orderForm button[disabled] { opacity: 0.6; cursor: wait; }

.order-total { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 1.2rem; padding-top: 0.6rem; border-top: 1px solid var(--line); }
.order-total strong { font-family: var(--display); font-size: 1.5rem; color: var(--gold-bright); }

.done-script { font-family: var(--script); font-size: 2.6rem; color: var(--gold-bright); }
#checkoutDone h2 { margin-bottom: 0.6rem; }
#checkoutDone .btn { margin-top: 1rem; }

/* ---------- responsive ---------- */

@media (max-width: 960px) {
  .pill-links { display: none; }
  .menu-button { display: flex; }
  .pill-nav .btn-sm { display: none; }
}
@media (max-width: 860px) {
  .personalised, .meet { grid-template-columns: 1fr; }
  .slab-caption { right: 0; }
  .slab-grid { display: none; }
  .hero-copy { padding-bottom: 6rem; }
  .hero-media, .hero-media img { object-position: 45% 40%; } /* copy stacks over the photo here, so keep Nadia centred */
  .cell { min-width: 3.6rem; }
  .pb-price { display: none; }
  .pb-copy .pb-sub { display: none; }
  .scroll-cue { display: none; }
}

/* ---------- phones ---------- */
@media (max-width: 480px) {
  /* captions: stack title over blurb instead of squeezing the blurb into a side column */
  .cal-photo-caption, .frame-cap { flex-direction: column; align-items: flex-start; gap: 0.2rem; }
  .cal-photo-caption strong, .frame-cap strong { white-space: normal; }
  .cal-photo-caption span, .frame-cap span { text-align: left; }

  /* sticky bar: drop the thumbnail so the title isn't truncated to "Nadia a…" */
  .pb-thumb { display: none; }
  .preorder-bar { gap: 0.75rem; padding-left: 1rem; }
  .pb-title { white-space: normal; font-size: 0.95rem; }

  /* checkout: one field per row, and 16px inputs so iOS doesn't zoom on focus */
  .field-row { grid-template-columns: 1fr; gap: 0; }
  #orderForm input { font-size: 16px; }
  .modal { padding: 1.8rem 1.2rem 1.4rem; }
}

/* touch: bigger tap targets, no hover-only affordances */
@media (hover: none) and (pointer: coarse) {
  .cl-qty button { width: 2.4rem; height: 2.4rem; font-size: 1rem; }
  .cart-close, .modal-close { width: 2.6rem; height: 2.6rem; }
  .frame:hover img { transform: none; }
}

/* ---------- reduced motion ---------- */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .grain, .btn-pulse, .live-dot, .scroll-cue, .slab-ring { animation: none; }
  .hero-media img { animation: none; transform: none; }
  .hero-name { animation: rise 0.01s forwards; }
  .reveal-load { animation-duration: 0.01s; animation-delay: 0s; }
  [data-reveal] { transition: none; opacity: 1; transform: none; }
  .announce-track { animation: none; }
  .glass-slab { animation: none; transition: none; }
  .slab-sheen { transition: none; }
  .frame img, .product-card, .cart-drawer, .preorder-bar { transition: none; }
  .gauge-needle, .odo-strip { transition: none; }
}
