/* ─────────────────────────────────────────────
   ROYAL POP — design tokens, motion, layout
   ───────────────────────────────────────────── */

:root {
  /* Base palette — rich warm black + cream */
  --ink-0: #0E0D0B;
  --ink-1: #161412;
  --ink-2: #1F1C18;
  --ink-3: #2A2620;
  --cream-0: #F4EFE6;
  --cream-1: #E9E2D4;
  --cream-2: #D6CDB9;
  --muted: #8A8170;
  --rule: rgba(244, 239, 230, 0.10);
  --rule-strong: rgba(244, 239, 230, 0.22);

  /* Watch family accents — these get cycled into --accent */
  --c-onyx:      #C9C6BE;
  --c-onyx-2:    #FFFFFF;
  --c-minuit:    #2E4FB3;
  --c-minuit-2:  #F47B36;
  --c-emeraude:  #1FA84A;
  --c-emeraude-2:#A8E26B;
  --c-rose:      #E22865;
  --c-rose-2:    #F9B6C9;
  --c-paloma:    #FACC15;
  --c-paloma-2:  #1FBFB8;
  --c-sable:     #C4C28A;
  --c-sable-2:   #7DA4C2;
  --c-azur:      #7FC8E5;
  --c-azur-2:    #1E3FA0;
  --c-opaline:   #F0EBE0;
  --c-opaline-2: #E22865;

  /* Dynamic — switched by JS based on featured watch */
  --accent:   var(--c-paloma);
  --accent-2: var(--c-paloma-2);
  --accent-soft: rgba(250,204,21,0.14);

  /* Type */
  --serif: 'Fraunces', 'Times New Roman', serif;
  --sans:  'Inter', system-ui, sans-serif;
  --mono:  'JetBrains Mono', monospace;

  /* Motion */
  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out:   cubic-bezier(0.65, 0, 0.35, 1);
  --ease-spring:   cubic-bezier(0.34, 1.56, 0.64, 1);
}

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

::selection { background: var(--accent); color: var(--ink-0); }

html {
  scroll-behavior: smooth;
  font-size: 16px;
  background: var(--ink-0);
}

body {
  font-family: var(--sans);
  background: var(--ink-0);
  color: var(--cream-0);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  cursor: none;
  transition: background 1.2s var(--ease-in-out);
}

@media (pointer: coarse) {
  body { cursor: auto; }
}

img { display: block; max-width: 100%; }

/* ─────────────────────────────────────────────
   PRELOADER
   ───────────────────────────────────────────── */
.preloader {
  position: fixed; inset: 0; z-index: 9999;
  background: var(--ink-0);
  display: flex; align-items: center; justify-content: center;
  flex-direction: column; gap: 2rem;
  transition: opacity 1s var(--ease-out-expo), visibility 1s var(--ease-out-expo);
}
.preloader.hidden { opacity: 0; visibility: hidden; pointer-events: none; }
.preloader.hidden .preload-octagon { transform: scale(8) rotate(45deg); opacity: 0; }
.preloader.hidden .preload-text span { transform: translateY(-100%); }

.preload-octagon {
  width: 80px; height: 80px;
  stroke: var(--accent);
  stroke-width: 1;
  fill: none;
  transform-origin: center;
  animation: preload-spin 8s linear infinite;
  transition: transform 1.4s var(--ease-in-out), opacity 1s var(--ease-in-out);
}
.preload-octagon polygon {
  stroke-dasharray: 360;
  stroke-dashoffset: 360;
  animation: preload-draw 1.6s var(--ease-out-expo) forwards;
}
@keyframes preload-draw {
  to { stroke-dashoffset: 0; }
}
@keyframes preload-spin {
  to { transform: rotate(360deg); }
}

.preload-text {
  display: flex;
  gap: 0.45em;
  font-family: var(--serif);
  font-size: 1.4rem;
  font-weight: 300;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--cream-0);
  overflow: hidden;
}
.preload-text span {
  display: inline-block;
  transform: translateY(100%);
  animation: preload-letter 0.8s var(--ease-out-expo) forwards;
  transition: transform 0.8s var(--ease-in-out);
}
.preload-text .preload-space { width: 0.6em; }
.preload-text span:nth-child(1) { animation-delay: 0.2s; }
.preload-text span:nth-child(2) { animation-delay: 0.25s; }
.preload-text span:nth-child(3) { animation-delay: 0.3s; }
.preload-text span:nth-child(4) { animation-delay: 0.35s; }
.preload-text span:nth-child(5) { animation-delay: 0.4s; }
.preload-text span:nth-child(7) { animation-delay: 0.5s; }
.preload-text span:nth-child(8) { animation-delay: 0.55s; }
.preload-text span:nth-child(9) { animation-delay: 0.6s; }
@keyframes preload-letter { to { transform: translateY(0); } }

.preload-counter {
  font-family: var(--mono);
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  color: var(--muted);
}

/* ─────────────────────────────────────────────
   CURSOR
   ───────────────────────────────────────────── */
.cursor-dot {
  width: 6px; height: 6px;
  background: var(--accent);
  border-radius: 50%;
  position: fixed; inset: 0 auto auto 0;
  pointer-events: none; z-index: 10000;
  transform: translate(-50%, -50%);
  transition: width 0.25s, height 0.25s, opacity 0.25s, background 0.6s var(--ease-in-out);
  mix-blend-mode: difference;
}
.cursor-ring {
  width: 38px; height: 38px;
  border: 1px solid color-mix(in srgb, var(--accent) 70%, transparent);
  border-radius: 50%;
  position: fixed; inset: 0 auto auto 0;
  pointer-events: none; z-index: 10000;
  transform: translate(-50%, -50%);
  transition: width 0.4s var(--ease-spring), height 0.4s var(--ease-spring), border-color 0.6s var(--ease-in-out), background 0.4s ease, opacity 0.3s ease;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--mono);
  font-size: 0.55rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--ink-0);
}
.cursor-ring span { opacity: 0; transition: opacity 0.25s ease; }
.cursor-ring.label-active {
  width: 88px; height: 88px;
  background: var(--accent);
  border-color: var(--accent);
}
.cursor-ring.label-active span { opacity: 1; }
.cursor-ring.hover-link {
  width: 60px; height: 60px;
}
.cursor-ring.hidden, .cursor-dot.hidden { opacity: 0; }

@media (pointer: coarse) {
  .cursor-dot, .cursor-ring { display: none; }
}

/* ─────────────────────────────────────────────
   GLOBAL ACCENT GLOW
   ───────────────────────────────────────────── */
.accent-glow {
  position: fixed; inset: 0;
  pointer-events: none;
  z-index: 0;
  background:
    radial-gradient(60vmax 60vmax at var(--mx, 50%) var(--my, 50%),
      color-mix(in srgb, var(--accent) 8%, transparent) 0%,
      transparent 60%);
  transition: background 0.6s ease;
  opacity: 0.7;
}

/* ─────────────────────────────────────────────
   NAV
   ───────────────────────────────────────────── */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 1.4rem 2.5rem;
  display: flex; align-items: center; justify-content: space-between;
  transition: background 0.5s var(--ease-in-out),
              padding 0.4s var(--ease-in-out),
              border-color 0.5s var(--ease-in-out);
  border-bottom: 1px solid transparent;
}
nav.scrolled {
  background: color-mix(in srgb, var(--ink-0) 88%, transparent);
  backdrop-filter: blur(20px) saturate(140%);
  -webkit-backdrop-filter: blur(20px) saturate(140%);
  padding: 0.9rem 2.5rem;
  border-bottom-color: var(--rule);
}
.nav-logo {
  display: inline-flex; align-items: center; gap: 0.7rem;
  font-family: var(--serif);
  font-size: 1.05rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--cream-0);
  text-decoration: none;
}
.nav-octagon {
  width: 18px; height: 18px;
  stroke: var(--accent); stroke-width: 1.5;
  fill: none;
  transition: transform 0.8s var(--ease-spring), stroke 0.6s var(--ease-in-out);
}
.nav-logo:hover .nav-octagon { transform: rotate(45deg); }

.nav-links {
  display: flex; gap: 2.5rem; list-style: none;
}
.nav-links a {
  font-family: var(--sans);
  font-size: 0.75rem;
  letter-spacing: 0.04em;
  color: var(--cream-1);
  text-decoration: none;
  position: relative;
  padding: 0.4rem 0;
  transition: color 0.3s ease;
}
.nav-links a::before {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 100%; height: 1px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.5s var(--ease-out-expo);
}
.nav-links a:hover { color: var(--cream-0); }
.nav-links a:hover::before { transform: scaleX(1); transform-origin: left; }

.nav-cta {
  display: inline-flex; align-items: center; gap: 0.6rem;
  font-family: var(--sans);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  color: var(--ink-0);
  background: var(--cream-0);
  padding: 0.75rem 1.4rem;
  border-radius: 999px;
  text-decoration: none;
  transition: background 0.5s var(--ease-in-out), color 0.4s ease, padding 0.3s var(--ease-in-out);
  position: relative;
  overflow: hidden;
}
.nav-cta::before {
  content: '';
  position: absolute; inset: 0;
  background: var(--accent);
  transform: translateY(100%);
  transition: transform 0.5s var(--ease-out-expo);
  z-index: 0;
}
.nav-cta:hover::before { transform: translateY(0); }
.nav-cta > * { position: relative; z-index: 1; }
.nav-cta-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--accent);
  transition: background 0.4s ease, transform 0.4s var(--ease-spring);
  animation: dot-pulse 2s var(--ease-in-out) infinite;
}
.nav-cta:hover .nav-cta-dot { background: var(--ink-0); }
@keyframes dot-pulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.4); opacity: 0.5; }
}

/* ─────────────────────────────────────────────
   HERO
   ───────────────────────────────────────────── */
.hero {
  min-height: 100vh;
  padding: 7rem 2.5rem 2rem;
  position: relative;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.hero-grain {
  position: absolute; inset: 0; pointer-events: none;
  opacity: 0.04; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3' stitchTiles='stitch'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
  background-size: 200px;
  z-index: 2;
}
.hero-aurora {
  position: absolute; inset: -20%; pointer-events: none;
  background:
    radial-gradient(40vmax 40vmax at 30% 30%, color-mix(in srgb, var(--accent) 22%, transparent), transparent 60%),
    radial-gradient(50vmax 30vmax at 70% 70%, color-mix(in srgb, var(--accent-2) 18%, transparent), transparent 60%);
  filter: blur(60px);
  z-index: 1;
  transition: background 1s var(--ease-in-out);
  animation: aurora-drift 22s var(--ease-in-out) infinite;
}
@keyframes aurora-drift {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(-3%, 2%) scale(1.05); }
}

/* MEGA background type */
.hero-mega {
  position: absolute;
  top: 18%; left: 0; right: 0;
  pointer-events: none;
  z-index: 1;
  overflow: hidden;
}
.hero-mega-row {
  display: flex;
  font-family: var(--serif);
  font-size: clamp(14rem, 28vw, 30rem);
  font-weight: 300;
  letter-spacing: -0.04em;
  color: transparent;
  -webkit-text-stroke: 1px color-mix(in srgb, var(--cream-0) 8%, transparent);
  line-height: 0.85;
  white-space: nowrap;
  animation: mega-drift 24s linear infinite;
  will-change: transform;
}
.hero-mega-row span {
  padding-right: 0.18em;
  display: inline-block;
}
@keyframes mega-drift {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

.hero-grid {
  position: relative; z-index: 3;
  flex: 1;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 3rem;
  align-items: center;
  max-width: 1500px;
  width: 100%;
  margin: 0 auto;
}

.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 0.6rem;
  font-family: var(--mono);
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--cream-2);
  margin-bottom: 2rem;
  opacity: 0;
  animation: fadeUp 1s var(--ease-out-expo) 1.8s forwards;
}
.hero-eyebrow-dot {
  width: 7px; height: 7px;
  background: var(--accent);
  border-radius: 50%;
  animation: dot-pulse 2s var(--ease-in-out) infinite;
}

.hero-title {
  font-family: var(--serif);
  font-size: clamp(3.6rem, 9vw, 9rem);
  font-weight: 300;
  line-height: 0.95;
  letter-spacing: -0.03em;
  color: var(--cream-0);
  margin-bottom: 1.5rem;
}
.hero-title .line {
  display: block;
  overflow: hidden;
}
.hero-title .word {
  display: inline-block;
  transform: translateY(110%);
  animation: wordIn 1.2s var(--ease-out-expo) forwards;
  will-change: transform;
}
.hero-title .line:nth-child(1) .word { animation-delay: 1.9s; }
.hero-title .line:nth-child(2) .word { animation-delay: 2.05s; }
.hero-title .line:nth-child(3) .word { animation-delay: 2.2s; }
.hero-title em, .hero-title .italic {
  font-style: italic;
  color: var(--accent);
  font-weight: 400;
  transition: color 0.8s var(--ease-in-out);
}
@keyframes wordIn {
  to { transform: translateY(0); }
}

.hero-sub {
  font-family: var(--serif);
  font-size: clamp(1.05rem, 1.5vw, 1.25rem);
  font-weight: 300;
  font-style: italic;
  color: var(--cream-1);
  line-height: 1.5;
  max-width: 520px;
  margin: 1.5rem 0 2.5rem;
  opacity: 0;
  animation: fadeUp 1s var(--ease-out-expo) 2.5s forwards;
}
.hero-sub em { font-style: italic; color: var(--accent); }

.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  opacity: 0;
  animation: fadeUp 1s var(--ease-out-expo) 2.7s forwards;
}

/* ── BUTTONS ── */
.btn-primary {
  position: relative;
  display: inline-flex; align-items: center;
  font-family: var(--sans);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  padding: 1rem 2.2rem;
  border: none;
  background: transparent;
  color: var(--ink-0);
  text-decoration: none;
  border-radius: 999px;
  cursor: none;
  overflow: hidden;
  isolation: isolate;
}
.btn-primary-bg {
  position: absolute; inset: 0;
  background: var(--cream-0);
  border-radius: 999px;
  transition: background 0.5s var(--ease-in-out);
  z-index: -1;
}
.btn-primary::after {
  content: '';
  position: absolute; inset: 0;
  background: var(--accent);
  border-radius: 999px;
  transform: scaleY(0);
  transform-origin: bottom;
  transition: transform 0.55s var(--ease-out-expo);
  z-index: -1;
}
.btn-primary:hover::after { transform: scaleY(1); }
.btn-primary-text {
  position: relative;
  height: 1em; line-height: 1;
  display: inline-flex; flex-direction: column;
  overflow: hidden;
}
.btn-primary-text span {
  transition: transform 0.5s var(--ease-out-expo);
}
.btn-primary:hover .btn-primary-text span {
  transform: translateY(-100%);
}

.btn-ghost {
  display: inline-flex; align-items: center; gap: 0.7rem;
  font-family: var(--sans);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  padding: 1rem 2rem;
  border: 1px solid var(--rule-strong);
  border-radius: 999px;
  background: transparent;
  color: var(--cream-0);
  text-decoration: none;
  cursor: none;
  transition: border-color 0.4s ease, background 0.4s ease, color 0.4s ease;
}
.btn-ghost:hover {
  border-color: var(--accent);
  background: var(--accent-soft);
  color: var(--accent);
}
.btn-arrow {
  width: 18px; height: 18px;
  transition: transform 0.4s var(--ease-spring);
}
.btn-ghost:hover .btn-arrow {
  transform: translateX(4px);
}

/* ── HERO META (live clock) ── */
.hero-meta {
  display: flex; align-items: center; gap: 1rem;
  margin-top: 3rem;
  opacity: 0;
  animation: fadeUp 1s var(--ease-out-expo) 2.9s forwards;
}
.hero-clock {
  width: 56px; height: 56px;
  flex-shrink: 0;
}
.clock-svg { width: 100%; height: 100%; }
.clock-ring { fill: none; stroke: var(--rule-strong); stroke-width: 0.4; }
.clock-oct { fill: none; stroke: color-mix(in srgb, var(--accent) 60%, transparent); stroke-width: 0.6; transition: stroke 0.6s var(--ease-in-out); }
.clock-hand { stroke: var(--cream-0); stroke-linecap: round; transform-origin: 50px 50px; }
.clock-hand.hour { stroke-width: 2.2; }
.clock-hand.minute { stroke-width: 1.4; }
.clock-hand.sec { stroke: var(--accent); stroke-width: 0.8; transition: stroke 0.6s var(--ease-in-out); }
.clock-pivot { fill: var(--accent); transition: fill 0.6s var(--ease-in-out); }
#clockTicks line { stroke: var(--cream-2); stroke-width: 0.3; opacity: 0.5; }
.hero-meta-label {
  font-family: var(--mono);
  font-size: 0.6rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--muted);
}
.hero-meta-time {
  font-family: var(--mono);
  font-size: 1.1rem;
  letter-spacing: 0.08em;
  color: var(--cream-0);
}

/* ── HERO WATCH ── */
.hero-watch {
  position: relative;
  height: clamp(560px, 78vh, 820px);
  display: flex;
  align-items: center;
  justify-content: center;
}
.watch-platform {
  position: relative;
  width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center;
}
.watch-glow {
  position: absolute;
  width: 90%; height: 90%;
  border-radius: 50%;
  background: radial-gradient(circle at 50% 50%,
    color-mix(in srgb, var(--accent) 35%, transparent) 0%,
    color-mix(in srgb, var(--accent) 12%, transparent) 30%,
    transparent 70%);
  filter: blur(40px);
  transition: background 1s var(--ease-in-out);
  animation: glow-breathe 5s var(--ease-in-out) infinite;
}
@keyframes glow-breathe {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.05); opacity: 0.8; }
}
.watch-shadow {
  position: absolute;
  bottom: 4%; left: 50%;
  transform: translateX(-50%);
  width: 55%; height: 50px;
  background: radial-gradient(ellipse at center, rgba(0,0,0,0.5), transparent 70%);
  filter: blur(15px);
}
.watch-ring {
  position: absolute;
  width: 75%; aspect-ratio: 1;
  border-radius: 50%;
  border: 1px solid color-mix(in srgb, var(--accent) 24%, transparent);
  transition: border-color 0.8s var(--ease-in-out);
  animation: ring-rotate 60s linear infinite;
}
.watch-rings {
  position: absolute;
  width: 90%; aspect-ratio: 1;
  border-radius: 50%;
  border: 1px dashed color-mix(in srgb, var(--accent) 14%, transparent);
  transition: border-color 0.8s var(--ease-in-out);
  animation: ring-rotate-rev 80s linear infinite;
}
@keyframes ring-rotate { to { transform: rotate(360deg); } }
@keyframes ring-rotate-rev { to { transform: rotate(-360deg); } }

.watch-orbit-text {
  position: absolute;
  width: 84%; aspect-ratio: 1;
  pointer-events: none;
  animation: orbit-rotate 40s linear infinite;
}
@keyframes orbit-rotate { to { transform: rotate(360deg); } }
.orbit-svg { width: 100%; height: 100%; }
.orbit-text {
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.3em;
  fill: color-mix(in srgb, var(--cream-0) 36%, transparent);
}

.watch-stage {
  position: relative;
  width: 80%; height: 100%;
  display: flex; align-items: center; justify-content: center;
}
.watch-stage img {
  position: absolute;
  height: 100%;
  width: auto;
  max-width: 100%;
  object-fit: contain;
  opacity: 0;
  transform: translateY(40px) scale(0.94) rotate(-4deg);
  transition:
    opacity 0.9s var(--ease-out-expo),
    transform 1.1s var(--ease-out-expo),
    filter 0.9s var(--ease-out-expo);
  filter: drop-shadow(0 30px 50px rgba(0,0,0,0.5));
  will-change: transform;
}
.watch-stage img.active {
  opacity: 1;
  transform: translateY(0) scale(1) rotate(0);
}
.watch-stage img.outgoing {
  opacity: 0;
  transform: translateY(-40px) scale(1.06) rotate(4deg);
}

/* Floating tags */
.watch-tag {
  position: absolute;
  display: flex; align-items: center; gap: 0.55rem;
  padding: 0.55rem 0.9rem 0.55rem 0.55rem;
  background: color-mix(in srgb, var(--ink-1) 80%, transparent);
  border: 1px solid var(--rule);
  backdrop-filter: blur(10px);
  border-radius: 999px;
  font-family: var(--mono);
  font-size: 0.62rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--cream-1);
  opacity: 0;
  animation: tag-in 1s var(--ease-out-expo) forwards;
  z-index: 5;
}
.tag-1 { top: 14%; right: -8%; animation-delay: 3.3s; animation-name: tag-in, tag-float-1; animation-duration: 1s, 7s; animation-iteration-count: 1, infinite; animation-direction: normal, alternate; animation-timing-function: var(--ease-out-expo), var(--ease-in-out); }
.tag-2 { bottom: 30%; left: -12%; animation-delay: 3.5s; animation-name: tag-in, tag-float-2; animation-duration: 1s, 8s; animation-iteration-count: 1, infinite; animation-direction: normal, alternate; animation-timing-function: var(--ease-out-expo), var(--ease-in-out); }
.tag-3 { bottom: 8%; right: -2%; animation-delay: 3.7s; animation-name: tag-in, tag-float-3; animation-duration: 1s, 9s; animation-iteration-count: 1, infinite; animation-direction: normal, alternate; animation-timing-function: var(--ease-out-expo), var(--ease-in-out); }
@keyframes tag-in { to { opacity: 1; } }
@keyframes tag-float-1 { to { transform: translateY(-12px); } }
@keyframes tag-float-2 { to { transform: translateY(10px); } }
@keyframes tag-float-3 { to { transform: translateY(-8px) translateX(6px); } }
.tag-num {
  font-family: var(--serif);
  font-size: 0.75rem;
  font-style: italic;
  font-weight: 400;
  color: var(--accent);
  background: color-mix(in srgb, var(--accent) 18%, transparent);
  width: 22px; height: 22px;
  border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  transition: color 0.6s var(--ease-in-out), background 0.6s var(--ease-in-out);
}

/* ── DOCK ── */
/* ── COUNTDOWN (matches hero-meta clock style) ── */
.hero-countdown {
  position: relative; z-index: 3;
  display: flex; align-items: center; gap: 1rem;
  padding: 1.2rem 0 1.6rem;
  border-top: 1px solid var(--rule);
  margin-top: 3rem;
  opacity: 0;
  animation: fadeUp 1s var(--ease-out-expo) 3s forwards;
}
.cd-octagon {
  width: 56px; height: 56px;
  flex-shrink: 0;
  overflow: visible;
}
.cd-octagon polygon {
  fill: none;
  stroke: color-mix(in srgb, var(--accent) 60%, transparent);
  stroke-width: 0.6;
  transition: stroke 0.6s var(--ease-in-out);
}
.cd-octagon-num {
  font-family: var(--serif);
  font-size: 26px;
  font-style: italic;
  fill: var(--cream-0);
  font-variant-numeric: tabular-nums;
}
.cd-octagon-lbl {
  font-family: var(--mono);
  font-size: 7px;
  letter-spacing: 0.18em;
  fill: var(--muted);
}
.cd-text {
  display: flex; flex-direction: column; gap: 0.15rem;
}
.cd-eyebrow {
  font-family: var(--mono);
  font-size: 0.6rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
}
.cd-time {
  font-family: var(--mono);
  font-size: 1.1rem;
  letter-spacing: 0.04em;
  color: var(--cream-0);
  font-variant-numeric: tabular-nums;
  font-feature-settings: "tnum";
}

/* ── DOCK (legacy — hidden) ── */
.hero-dock {
  position: relative; z-index: 3;
  display: none;
  padding: 0.7rem 0 1.5rem;
  border-top: 1px solid var(--rule);
  margin-top: 3rem;
  opacity: 0;
  animation: fadeUp 1s var(--ease-out-expo) 3s forwards;
}
.dock-label {
  display: flex; flex-direction: column;
  min-width: 180px;
}
.dock-num {
  font-family: var(--mono);
  font-size: 0.65rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
}
.dock-name {
  font-family: var(--serif);
  font-size: 1.6rem;
  font-weight: 400;
  color: var(--cream-0);
  font-style: italic;
  transition: color 0.6s var(--ease-in-out);
}
.dock-swatches {
  flex: 1;
  display: flex;
  gap: 0.5rem;
}
.dock-sw {
  flex: 1;
  height: 64px;
  border: none;
  background: transparent;
  cursor: none;
  position: relative;
  overflow: hidden;
  transition: flex 0.6s var(--ease-out-expo);
  padding: 0;
}
.dock-sw-inner {
  width: 100%; height: 100%;
  position: relative;
  transition: transform 0.6s var(--ease-out-expo);
}
.dock-sw-fill {
  position: absolute; inset: 0;
  transition: transform 0.6s var(--ease-out-expo);
  transform: translateY(20%);
}
.dock-sw:hover .dock-sw-fill,
.dock-sw.active .dock-sw-fill { transform: translateY(0); }
.dock-sw.active { flex: 2.2; }
.dock-sw-tag {
  position: absolute;
  bottom: 0.45rem; left: 0.55rem;
  font-family: var(--mono);
  font-size: 0.55rem;
  letter-spacing: 0.1em;
  color: var(--ink-0);
  opacity: 0;
  transition: opacity 0.4s ease;
  mix-blend-mode: difference;
  text-transform: uppercase;
}
.dock-sw.active .dock-sw-tag { opacity: 1; }
.dock-sw-indicator {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 1px;
  background: var(--cream-0);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}
.dock-sw.active .dock-sw-indicator { transform: scaleX(1); }

.dock-scroll {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-family: var(--mono);
  font-size: 0.6rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
}
.scroll-arrow {
  width: 12px; height: 18px;
  animation: scroll-bob 1.6s var(--ease-in-out) infinite;
}
@keyframes scroll-bob {
  0%, 100% { transform: translateY(0); opacity: 0.6; }
  50% { transform: translateY(4px); opacity: 1; }
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(28px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ─────────────────────────────────────────────
   MARQUEE
   ───────────────────────────────────────────── */
.marquee {
  background: var(--ink-1);
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  padding: 0.7rem 0;
  overflow: hidden;
}
.marquee-row { overflow: hidden; padding: 0.4rem 0; }
.marquee-track {
  display: flex; gap: 2rem;
  width: max-content;
  animation: marq 36s linear infinite;
  white-space: nowrap;
}
.marquee-track.reverse {
  animation: marq-rev 28s linear infinite;
}
.marquee-track > span {
  font-family: var(--serif);
  font-size: 1.4rem;
  font-style: italic;
  font-weight: 300;
  letter-spacing: -0.01em;
  color: var(--cream-1);
}
.marquee-track .m-star {
  font-family: var(--sans);
  font-style: normal;
  color: var(--accent);
  font-size: 1.1rem;
  transition: color 0.6s var(--ease-in-out);
}
.marquee-track .m-dot {
  font-style: normal;
  color: var(--accent-2);
  font-size: 0.6rem;
  transition: color 0.6s var(--ease-in-out);
}
@keyframes marq { to { transform: translateX(-50%); } }
@keyframes marq-rev { from { transform: translateX(-50%); } to { transform: translateX(0); } }

/* ─────────────────────────────────────────────
   COMMON SECTION ELEMENTS
   ───────────────────────────────────────────── */
section { position: relative; }

.section-num {
  font-family: var(--mono);
  font-size: 0.68rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  display: inline-block;
  margin-bottom: 1.5rem;
  position: relative;
  padding-left: 1.4rem;
}
.section-num::before {
  content: '';
  position: absolute;
  left: 0; top: 50%; transform: translateY(-50%);
  width: 0.9rem; height: 1px;
  background: var(--accent);
  transition: background 0.6s var(--ease-in-out);
}
.section-title {
  font-family: var(--serif);
  font-size: clamp(2.5rem, 6.5vw, 5.5rem);
  font-weight: 300;
  line-height: 0.95;
  letter-spacing: -0.025em;
  color: var(--cream-0);
}
.section-title em { font-style: italic; color: var(--accent); font-weight: 400; transition: color 0.8s var(--ease-in-out); }
.section-title .line { display: block; overflow: hidden; }
.section-title .line > span {
  display: inline-block;
  transform: translateY(110%);
  transition: transform 1.1s var(--ease-out-expo);
  will-change: transform;
}
.section-title.in-view .line > span { transform: translateY(0); }

/* ── Reveal (transform-from-bottom) ── */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 1s var(--ease-out-expo), transform 1s var(--ease-out-expo);
}
.reveal.in-view { opacity: 1; transform: translateY(0); }

/* ─────────────────────────────────────────────
   MANIFESTO
   ───────────────────────────────────────────── */
.manifesto {
  padding: 12rem 2.5rem;
  background: var(--ink-1);
  position: relative;
  overflow: hidden;
}
.manifesto::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(to right, transparent, var(--accent), transparent);
  opacity: 0.4;
  transition: opacity 1s ease;
}
.manifesto-inner {
  max-width: 900px; margin: 0 auto;
  text-align: center;
  position: relative;
}
.manifesto-quote {
  font-family: var(--serif);
  font-size: clamp(2rem, 5vw, 4rem);
  font-weight: 300;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--cream-0);
  margin: 2rem 0 3rem;
}
.manifesto-quote em { font-style: italic; color: var(--accent); transition: color 0.8s var(--ease-in-out); }
.manifesto-quote .m-line {
  display: block;
  overflow: hidden;
  transform: none;
  opacity: 1;
}
.manifesto-quote .m-line > * {
  display: inline-block;
}
.manifesto-quote .reveal {
  opacity: 0;
  transform: translateY(100%);
  transition: opacity 0.9s var(--ease-out-expo), transform 0.9s var(--ease-out-expo);
}
.manifesto-quote .reveal.in-view { opacity: 1; transform: translateY(0); }
.manifesto-foot {
  display: flex; flex-direction: column; align-items: center; gap: 1rem;
}
.manifesto-line {
  width: 60px; height: 1px;
  background: var(--accent);
  transition: background 0.6s var(--ease-in-out);
}
.manifesto-foot cite {
  font-family: var(--mono);
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
  font-style: normal;
}

/* ─────────────────────────────────────────────
   COLLECTION
   ───────────────────────────────────────────── */
.collection {
  padding: 10rem 2.5rem;
  background: var(--ink-0);
}
.collection-header {
  max-width: 1500px; margin: 0 auto 6rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: end;
}
.collection-desc {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.1rem;
  font-weight: 300;
  color: var(--cream-2);
  line-height: 1.6;
  max-width: 480px;
}
.collection-desc em { color: var(--accent); transition: color 0.6s var(--ease-in-out); }

/* SPOTLIGHT */
.collection-spotlight {
  position: relative;
  max-width: 1500px; margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  padding: 4rem 2rem;
  border: 1px solid var(--rule);
  border-radius: 4px;
  background: linear-gradient(135deg, var(--ink-1), var(--ink-0));
  overflow: hidden;
  min-height: 600px;
}
.collection-spotlight::before {
  content: '';
  position: absolute;
  width: 80vmax; height: 80vmax;
  border-radius: 50%;
  left: -20vmax; top: 50%; transform: translateY(-50%);
  background: radial-gradient(circle, color-mix(in srgb, var(--accent) 8%, transparent), transparent 60%);
  pointer-events: none;
  transition: background 0.8s var(--ease-in-out);
}
.spotlight-stage {
  position: relative;
  height: 540px;
  display: flex; align-items: center; justify-content: center;
  overflow: visible;
}
.spotlight-stage img {
  position: absolute;
  max-height: 100%;
  max-width: 88%;
  width: auto;
  height: auto;
  object-fit: contain;
  opacity: 0;
  transform: scale(0.92) rotate(-3deg) translateX(-30px);
  transition: opacity 0.8s var(--ease-out-expo), transform 1s var(--ease-out-expo);
  filter: drop-shadow(0 20px 40px rgba(0,0,0,0.5));
}
.spotlight-stage img.active {
  opacity: 1;
  transform: scale(1) rotate(0) translateX(0);
}
.spotlight-stage img.outgoing {
  opacity: 0;
  transform: scale(0.95) rotate(3deg) translateX(30px);
}

.spotlight-info { position: relative; }
.spot-row {
  display: flex; align-items: baseline; gap: 0.5rem;
  margin-bottom: 1rem;
}
.spot-lbl {
  font-family: var(--mono);
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
}
.spot-val {
  font-family: var(--mono);
  font-size: 0.9rem;
  letter-spacing: 0.06em;
  color: var(--cream-0);
}
.spot-name {
  font-family: var(--serif);
  font-size: clamp(3rem, 6vw, 5rem);
  font-weight: 300;
  font-style: italic;
  letter-spacing: -0.02em;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 2rem;
  transition: color 0.6s var(--ease-in-out);
}
.spot-meta {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  padding: 1.5rem 0;
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  margin-bottom: 2rem;
}
.spot-meta > div {
  display: flex; flex-direction: column; gap: 0.3rem;
}
.spot-cta {
  display: inline-flex; align-items: center; gap: 0.7rem;
  font-family: var(--sans);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  color: var(--cream-0);
  text-decoration: none;
  position: relative;
  padding-bottom: 0.4rem;
}
.spot-cta::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 1px;
  background: var(--cream-0);
  transform-origin: left;
  transition: transform 0.5s var(--ease-out-expo);
}
.spot-cta:hover::after { transform: scaleX(0); transform-origin: right; }
.spot-cta svg { width: 16px; height: 16px; transition: transform 0.4s var(--ease-spring); }
.spot-cta:hover svg { transform: translateX(4px); }

.spot-nav {
  position: absolute;
  top: 50%; transform: translateY(-50%);
  width: 44px; height: 44px;
  border-radius: 50%;
  background: transparent;
  border: 1px solid var(--rule-strong);
  color: var(--cream-0);
  cursor: none;
  display: flex; align-items: center; justify-content: center;
  transition: border-color 0.4s ease, background 0.4s ease, color 0.4s ease;
}
.spot-nav:hover { border-color: var(--accent); color: var(--accent); background: var(--accent-soft); }
.spot-nav svg { width: 18px; height: 18px; }
.spot-nav.prev { left: 1.5rem; }
.spot-nav.next { right: 1.5rem; }

/* GRID */
.collection-grid {
  max-width: 1500px; margin: 4rem auto 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}
.strap-card {
  position: relative;
  aspect-ratio: 3/4;
  overflow: hidden;
  cursor: none;
  border: 1px solid var(--rule);
  background: var(--ink-1);
  transition: border-color 0.5s ease, transform 0.5s var(--ease-out-expo);
}
.strap-card:hover {
  border-color: color-mix(in srgb, var(--card-accent) 60%, transparent);
}
.strap-card::before {
  content: '';
  position: absolute; inset: 0;
  background: var(--card-bg, var(--ink-2));
  transition: opacity 0.6s ease, transform 0.6s var(--ease-out-expo);
  z-index: 0;
}
.strap-card .strap-img {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1;
}
.strap-card .strap-img img {
  height: 100%;
  width: auto;
  max-width: 110%;
  object-fit: contain;
  transform: translateY(8%) scale(1);
  transition: transform 0.9s var(--ease-out-expo), filter 0.6s ease;
  filter: drop-shadow(0 14px 24px rgba(0,0,0,0.4));
  will-change: transform;
}
.strap-card:hover .strap-img img {
  transform: translateY(0) scale(1.08) rotate(-4deg);
}
.strap-card.featured {
  outline: 1px solid var(--card-accent);
  outline-offset: -1px;
}
.strap-card.featured::after {
  content: '★ FEATURED';
  position: absolute; top: 0.8rem; left: 0.9rem;
  font-family: var(--mono);
  font-size: 0.55rem;
  letter-spacing: 0.18em;
  color: var(--ink-0);
  background: var(--card-accent);
  padding: 0.25rem 0.55rem;
  border-radius: 999px;
  z-index: 4;
}
.strap-info {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 1.4rem 1.1rem 1.1rem;
  background: linear-gradient(to top, var(--ink-0) 10%, transparent 100%);
  z-index: 3;
  display: flex; flex-direction: column; gap: 0.25rem;
}
.strap-name {
  font-family: var(--serif);
  font-size: 1.4rem;
  font-style: italic;
  font-weight: 400;
  color: var(--cream-0);
}
.strap-detail {
  font-family: var(--mono);
  font-size: 0.58rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--cream-2);
  opacity: 0.7;
}
.strap-price {
  position: absolute;
  top: 0.9rem; right: 0.9rem;
  font-family: var(--serif);
  font-size: 1rem;
  font-style: italic;
  color: var(--card-accent);
  z-index: 4;
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.4s ease, transform 0.4s var(--ease-out-expo);
  text-shadow: 0 1px 6px rgba(0,0,0,0.45);
}
.strap-card:hover .strap-price {
  opacity: 1; transform: translateY(0);
}
.strap-pin {
  position: absolute;
  top: 0; right: 0;
  width: 14px; height: 14px;
  background: var(--card-accent);
  clip-path: polygon(0 0, 100% 0, 100% 100%);
  z-index: 5;
  opacity: 0;
  transition: opacity 0.4s ease;
}
.strap-card:hover .strap-pin { opacity: 1; }

/* ─────────────────────────────────────────────
   SPECTRUM band — 8 watches strip
   ───────────────────────────────────────────── */
.spectrum {
  position: relative;
  background: var(--ink-1);
  overflow: hidden;
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  padding: 4rem 0 3.5rem;
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}
.spectrum-track-wrap {
  position: relative;
  height: clamp(320px, 40vh, 420px);
  overflow: hidden;
}
.spectrum-track {
  display: flex;
  gap: 4rem;
  align-items: center;
  width: max-content;
  padding: 0 4rem;
  height: 100%;
  animation: spec-pan 50s linear infinite;
  will-change: transform;
}
.spectrum-item {
  height: 80%;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  position: relative;
  flex-shrink: 0;
}
.spectrum-item img {
  height: 100%; width: auto;
  filter: drop-shadow(0 16px 30px rgba(0,0,0,0.4));
  transform: rotate(-3deg);
  transition: transform 0.6s var(--ease-spring);
}
.spectrum-item:hover img { transform: rotate(0) scale(1.05); }
.spectrum-item-name {
  position: absolute;
  bottom: -1.8rem;
  font-family: var(--serif);
  font-style: italic;
  font-size: 1rem;
  color: var(--cream-2);
  white-space: nowrap;
}
@keyframes spec-pan { to { transform: translateX(-50%); } }

.spectrum-overlay {
  position: absolute; inset: 0;
  pointer-events: none;
  background:
    linear-gradient(to right, var(--ink-1), transparent 8%, transparent 92%, var(--ink-1));
}
.spectrum-cap {
  position: relative;
  display: flex; justify-content: center; gap: 0.5rem;
  padding: 0 2.5rem;
  font-family: var(--serif);
  font-size: clamp(1rem, 1.8vw, 1.4rem);
  font-style: italic;
  font-weight: 300;
  color: var(--cream-2);
  letter-spacing: 0.01em;
  flex-wrap: wrap;
  text-align: center;
}
.spectrum-cap em { color: var(--accent); font-style: italic; transition: color 0.6s var(--ease-in-out); }
.spectrum-cap .reveal { opacity: 0; transform: translateY(20px); }
.spectrum-cap .reveal.in-view { opacity: 1; transform: translateY(0); }
.spectrum-cap .reveal:nth-child(2) { transition-delay: 0.15s; }

/* ─────────────────────────────────────────────
   SAVOIR FAIRE
   ───────────────────────────────────────────── */
.savoir {
  padding: 10rem 2.5rem;
  background: var(--ink-0);
  border-top: 1px solid var(--rule);
}
.savoir-grid {
  max-width: 1500px; margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}
.savoir-visual {
  aspect-ratio: 1;
  position: relative;
  overflow: hidden;
  border: 1px solid var(--rule);
}
.savoir-frame {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
}
.savoir-frame-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(244,239,230,0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(244,239,230,0.05) 1px, transparent 1px);
  background-size: 40px 40px;
  pointer-events: none;
}
.savoir-oct {
  width: 65%; height: 65%;
  fill: none;
  stroke: var(--accent);
  stroke-width: 0.4;
  transition: stroke 0.6s var(--ease-in-out);
}
.savoir-oct polygon {
  transform-origin: center;
  transform-box: fill-box;
}
.savoir-oct .oct-1 { animation: oct-spin 28s linear infinite; }
.savoir-oct .oct-2 { animation: oct-spin-rev 22s linear infinite; }
.savoir-oct .oct-3 { animation: oct-spin 16s linear infinite; }
.savoir-oct .oct-4 { animation: oct-pulse 4s var(--ease-in-out) infinite; fill: var(--accent); fill-opacity: 0.3; transition: fill 0.6s var(--ease-in-out); }
@keyframes oct-spin { to { transform: rotate(360deg); } }
@keyframes oct-spin-rev { to { transform: rotate(-360deg); } }
@keyframes oct-pulse {
  0%, 100% { transform: scale(0.92); fill-opacity: 0.2; }
  50% { transform: scale(1.04); fill-opacity: 0.5; }
}

.savoir-spec-orbit {
  position: absolute;
  width: 90%; aspect-ratio: 1;
  border-radius: 50%;
  border: 1px dashed var(--rule);
  animation: orbit-rotate 60s linear infinite;
  display: flex; align-items: center; justify-content: center;
}
.savoir-spec-orbit span {
  position: absolute;
  top: -10px;
  font-family: var(--mono);
  font-size: 0.6rem;
  letter-spacing: 0.25em;
  color: var(--muted);
  white-space: nowrap;
}

.savoir-text p {
  font-family: var(--serif);
  font-size: 1.05rem;
  font-weight: 300;
  font-style: italic;
  color: var(--cream-1);
  line-height: 1.6;
  margin-top: 1.5rem;
  max-width: 480px;
}
.savoir-text p em { color: var(--accent); font-style: italic; transition: color 0.6s var(--ease-in-out); }
.specs-list {
  list-style: none;
  margin-top: 2.5rem;
  border-top: 1px solid var(--rule);
}
.specs-list li {
  display: flex; justify-content: space-between; align-items: baseline;
  padding: 1.1rem 0;
  border-bottom: 1px solid var(--rule);
  transition: padding 0.3s var(--ease-out-expo);
}
.specs-list li:hover { padding-left: 0.5rem; }
.spec-label {
  font-family: var(--mono);
  font-size: 0.62rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
}
.spec-value {
  font-family: var(--serif);
  font-size: 1rem;
  font-style: italic;
  color: var(--cream-0);
}

/* ─────────────────────────────────────────────
   PROCESS (pinned scroll horizontal-ish)
   ───────────────────────────────────────────── */
.process {
  background: var(--ink-1);
  border-top: 1px solid var(--rule);
  height: 280vh;
  position: relative;
}
.process-pin {
  position: sticky;
  top: 0;
  height: 100vh;
  overflow: hidden;
  padding: 4rem 2.5rem 4.5rem;
  display: flex; flex-direction: column;
  gap: 1.2rem;
}
.process-bg {
  position: absolute; inset: 0;
  pointer-events: none;
  background: radial-gradient(40vmax 40vmax at 80% 20%, var(--accent-soft), transparent 60%);
  transition: background 0.8s var(--ease-in-out), opacity 0.6s ease;
  opacity: 0.8;
}
.process-header {
  max-width: 1500px; width: 100%; margin: 0 auto;
  flex-shrink: 0;
}
.process-header .section-title { font-size: clamp(1.7rem, 4vw, 2.8rem); }
.process-track {
  flex: 1;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.2rem;
  max-width: 1500px;
  width: 100%;
  margin: 0 auto;
  min-height: 0;
}
.process-panel {
  position: relative;
  padding: 1.3rem 1.2rem 1rem;
  border: 1px solid var(--rule);
  background: color-mix(in srgb, var(--ink-2) 70%, transparent);
  border-radius: 4px;
  display: flex; flex-direction: column;
  transition: border-color 0.5s ease, background 0.5s ease, transform 0.5s var(--ease-out-expo);
  overflow: hidden;
  min-height: 0;
}
.process-panel.active {
  border-color: var(--accent);
  background: color-mix(in srgb, var(--accent-soft), var(--ink-2) 70%);
}
.process-num {
  font-family: var(--serif);
  font-size: clamp(2.4rem, 4vw, 3rem);
  font-style: italic;
  font-weight: 300;
  color: var(--accent);
  line-height: 1;
  opacity: 0.4;
  margin-bottom: 0.6rem;
  transition: opacity 0.5s ease, color 0.6s var(--ease-in-out);
}
.process-panel.active .process-num { opacity: 1; }
.process-body h3 {
  font-family: var(--serif);
  font-size: clamp(1.2rem, 1.8vw, 1.4rem);
  font-weight: 400;
  color: var(--cream-0);
  margin-bottom: 0.5rem;
}
.process-body p {
  font-family: var(--sans);
  font-size: 0.8rem;
  color: var(--cream-2);
  line-height: 1.5;
  max-width: 340px;
}
.process-body p strong {
  color: var(--cream-0);
  font-weight: 500;
}
.process-illust {
  margin-top: auto;
  padding-top: 0.6rem;
  display: flex; align-items: center; justify-content: center;
  height: clamp(60px, 11vh, 110px);
  flex-shrink: 0;
}
.process-illust svg {
  width: 50%; height: 100%; max-height: 110px;
}
.oct-line, .oct-strap {
  fill: none; stroke: var(--accent); stroke-width: 0.6;
  transition: stroke 0.6s var(--ease-in-out);
}
.process-panel.active .oct-line { animation: oct-draw-loop 4s var(--ease-in-out) infinite; stroke-dasharray: 360; }
.oct-dial {
  fill: none; stroke: var(--cream-1); stroke-width: 0.4; opacity: 0.5;
}
.oct-crown {
  fill: var(--accent); transition: fill 0.6s var(--ease-in-out);
}
.oct-tag {
  font-family: var(--mono); font-size: 8px; fill: var(--cream-2); letter-spacing: 0.1em;
}
.illust-swatches {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.6rem;
  width: 60%;
  height: auto;
}
.ill-sw {
  aspect-ratio: 1;
  border-radius: 4px;
  animation: sw-cycle 6s var(--ease-in-out) infinite;
}
.ill-sw:nth-child(1) { animation-delay: 0s; }
.ill-sw:nth-child(2) { animation-delay: 0.15s; }
.ill-sw:nth-child(3) { animation-delay: 0.3s; }
.ill-sw:nth-child(4) { animation-delay: 0.45s; }
.ill-sw:nth-child(5) { animation-delay: 0.6s; }
.ill-sw:nth-child(6) { animation-delay: 0.75s; }
.ill-sw:nth-child(7) { animation-delay: 0.9s; }
.ill-sw:nth-child(8) { animation-delay: 1.05s; }
@keyframes sw-cycle {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.1); }
}
@keyframes oct-draw-loop {
  0% { stroke-dashoffset: 360; }
  100% { stroke-dashoffset: -360; }
}
.process-progress {
  position: absolute;
  bottom: 1.2rem; left: 2.5rem; right: 2.5rem;
  max-width: 1500px;
  margin: 0 auto;
}
.process-progress-bar {
  position: relative;
  height: 1px;
  background: var(--rule);
}
.process-progress-bar::after {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--accent);
  transform: scaleX(var(--p, 0));
  transform-origin: left;
  transition: transform 0.2s linear, background 0.6s var(--ease-in-out);
}
.process-progress-labels {
  display: flex; justify-content: space-between;
  margin-top: 0.7rem;
  font-family: var(--mono);
  font-size: 0.6rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
}

/* ─────────────────────────────────────────────
   COMPAT
   ───────────────────────────────────────────── */
.compat {
  padding: 10rem 2.5rem;
  background: var(--ink-0);
}
.compat-header {
  text-align: center;
  max-width: 700px; margin: 0 auto 4rem;
}
.compat-table {
  max-width: 900px; margin: 0 auto;
  border: 1px solid var(--rule);
  border-radius: 4px;
  overflow: hidden;
}
.compat-row {
  display: grid;
  grid-template-columns: 2fr 1.5fr 1fr 1fr;
  border-bottom: 1px solid var(--rule);
  transition: background 0.3s ease;
  position: relative;
}
.compat-row:last-child { border-bottom: none; }
.compat-row:not(.header):hover { background: color-mix(in srgb, var(--row-accent, var(--accent)) 8%, transparent); }
.compat-row::before {
  content: '';
  position: absolute;
  left: 0; top: 50%; transform: translateY(-50%) scaleY(0);
  width: 3px; height: 70%;
  background: var(--row-accent, var(--accent));
  transition: transform 0.4s var(--ease-out-expo);
}
.compat-row:not(.header):hover::before { transform: translateY(-50%) scaleY(1); }
.compat-row.header { background: color-mix(in srgb, var(--cream-0) 5%, transparent); }
.compat-cell {
  padding: 1.2rem 1.8rem;
  font-size: 0.88rem;
  color: var(--cream-0);
  display: flex; align-items: center; gap: 0.6rem;
}
.compat-row.header .compat-cell {
  font-family: var(--mono);
  font-size: 0.62rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
}
.compat-cell.first {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.05rem;
}
.compat-cell .compat-dot {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--row-accent, var(--accent));
}
.compat-cell.check {
  font-family: var(--mono);
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  color: var(--row-accent, var(--accent));
}

/* ─────────────────────────────────────────────
   PRE-ORDER
   ───────────────────────────────────────────── */
.preorder {
  padding: 7rem 2.5rem 8rem;
  background: var(--ink-1);
  text-align: center;
  position: relative;
  overflow: hidden;
  border-top: 1px solid var(--rule);
  scroll-margin-top: 5rem;
}

/* ── Waitlist status pill ── */
.preorder-status {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  margin: 1rem auto 1.4rem;
  padding: 0;
  border: none;
  background: none;
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: color-mix(in srgb, var(--cream-1) 70%, transparent);
}
.preorder-status-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: color-mix(in srgb, var(--cream-1) 55%, transparent);
}
.preorder-status-text em,
.preorder-status-text strong {
  font-style: normal;
  font-weight: 400;
  color: var(--cream-1);
}

/* ── Compact title for waitlist section ── */
.preorder-title { font-size: clamp(2.2rem, 5vw, 4.2rem); margin-bottom: 1.5rem; }

/* ── Jump-to-form link ── */
.preorder-jump {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  margin: 0.4rem auto 2.6rem;
  padding: 0.7rem 1.3rem;
  font-family: var(--mono);
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--cream-0);
  text-decoration: none;
  border: 1px solid var(--cream-3, var(--rule));
  border-radius: 999px;
  transition: background 0.35s ease, border-color 0.35s ease, transform 0.35s ease;
}
.preorder-jump svg { width: 14px; height: 14px; transition: transform 0.35s ease; }
.preorder-jump:hover {
  background: color-mix(in srgb, var(--cream-0) 8%, transparent);
  border-color: var(--cream-0);
  transform: translateY(-1px);
}
.preorder-jump:hover svg { transform: translateY(2px); }
.preorder-bg {
  position: absolute; inset: 0;
  background:
    radial-gradient(50vmax 30vmax at 30% 30%, color-mix(in srgb, var(--accent) 18%, transparent), transparent 60%),
    radial-gradient(40vmax 30vmax at 70% 70%, color-mix(in srgb, var(--accent-2) 14%, transparent), transparent 60%);
  filter: blur(50px);
  pointer-events: none;
  animation: aurora-drift 28s var(--ease-in-out) infinite;
  transition: background 1s var(--ease-in-out);
}
.preorder-inner {
  position: relative; z-index: 2;
  max-width: 700px; margin: 0 auto;
}
.preorder-price {
  font-family: var(--serif);
  font-weight: 300;
  font-style: italic;
  color: var(--accent);
  margin: 2.5rem 0 1rem;
  letter-spacing: -0.04em;
  line-height: 1;
  transition: color 0.6s var(--ease-in-out);
}
.price-currency { font-size: 2.5rem; vertical-align: top; opacity: 0.7; }
.price-num { font-size: clamp(6rem, 14vw, 11rem); }
.price-unit { font-size: 1.1rem; font-style: italic; color: var(--cream-2); margin-left: 0.5rem; opacity: 0.8; }
.preorder-note {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.05rem;
  font-weight: 300;
  color: var(--cream-1);
  line-height: 1.7;
  max-width: 480px;
  margin: 0 auto 3rem;
}
.preorder-form {
  display: flex; gap: 0;
  max-width: 520px; margin: 0 auto 1.5rem;
  border: 1px solid var(--rule-strong);
  border-radius: 999px;
  overflow: hidden;
  background: color-mix(in srgb, var(--cream-0) 4%, transparent);
  transition: border-color 0.4s ease;
}
.preorder-form:focus-within { border-color: var(--accent); }
.preorder-form input {
  flex: 1;
  padding: 1.1rem 1.6rem;
  background: transparent;
  border: none;
  color: var(--cream-0);
  font-family: var(--sans);
  font-size: 0.9rem;
  outline: none;
}
.preorder-form input::placeholder { color: var(--muted); }
.preorder-form button {
  position: relative;
  padding: 0 1.8rem;
  background: var(--cream-0);
  border: none;
  color: var(--ink-0);
  font-family: var(--sans);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  cursor: none;
  transition: background 0.4s ease, color 0.4s ease;
  overflow: hidden;
  isolation: isolate;
}
.preorder-form button::before {
  content: '';
  position: absolute; inset: 0;
  background: var(--accent);
  transform: translateY(100%);
  transition: transform 0.5s var(--ease-out-expo);
  z-index: -1;
}
.preorder-form button:hover::before { transform: translateY(0); }
.preorder-form button .btn-primary-text {
  height: 1em; line-height: 1;
  display: inline-flex; flex-direction: column;
  overflow: hidden;
}
.preorder-form button:hover .btn-primary-text span {
  transform: translateY(-100%);
}
.preorder-shipping {
  display: block;
  font-family: var(--mono);
  font-size: 0.6rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--muted);
}

/* ─────────────────────────────────────────────
   FOOTER
   ───────────────────────────────────────────── */
footer {
  background: var(--ink-0);
  padding: 4rem 2.5rem 2.5rem;
  border-top: 1px solid var(--rule);
  position: relative;
  overflow: hidden;
}
.footer-mega {
  overflow: hidden;
  margin-bottom: 4rem;
  position: relative;
  display: flex;
  justify-content: center;
}
.footer-mega-text {
  font-family: var(--serif);
  font-size: clamp(6rem, 22vw, 22rem);
  font-weight: 300;
  font-style: italic;
  letter-spacing: -0.04em;
  line-height: 0.85;
  background: linear-gradient(180deg, var(--cream-0) 0%, transparent 90%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  position: relative;
}
.footer-mega-text::before {
  content: 'ROYAL POP';
  position: absolute;
  top: 0; left: 0;
  color: transparent;
  -webkit-text-stroke: 1px color-mix(in srgb, var(--accent) 30%, transparent);
  z-index: -1;
}
.footer-grid {
  max-width: 1500px; margin: 0 auto 3rem;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 4rem;
}
.footer-brand .nav-logo { margin-bottom: 1.5rem; }
.footer-brand p {
  font-family: var(--serif);
  font-style: italic;
  font-size: 0.95rem;
  font-weight: 300;
  color: var(--cream-2);
  line-height: 1.6;
  max-width: 320px;
}
.footer-brand p em { color: var(--accent); font-style: italic; transition: color 0.6s var(--ease-in-out); }
.footer-disclaimer {
  font-family: var(--sans) !important;
  font-style: normal !important;
  font-size: 0.7rem !important;
  color: var(--muted) !important;
  margin-top: 1rem;
  opacity: 0.7;
}
.footer-col h5 {
  font-family: var(--mono);
  font-size: 0.62rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 1.5rem;
}
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 0.6rem; }
.footer-col a {
  font-family: var(--serif);
  font-style: italic;
  font-size: 0.95rem;
  color: var(--cream-0);
  text-decoration: none;
  opacity: 0.8;
  transition: opacity 0.3s ease, color 0.3s ease;
  position: relative;
}
.footer-col a:hover { opacity: 1; color: var(--accent); }
.footer-bottom {
  max-width: 1500px; margin: 0 auto;
  padding-top: 2rem;
  border-top: 1px solid var(--rule);
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 1rem;
}
.footer-bottom span {
  font-family: var(--mono);
  font-size: 0.62rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
}
.footer-color em {
  font-family: var(--serif);
  font-style: italic;
  text-transform: none;
  letter-spacing: 0;
  color: var(--accent);
  transition: color 0.6s var(--ease-in-out);
  font-size: 0.85rem;
}

/* ─────────────────────────────────────────────
   RESPONSIVE
   ───────────────────────────────────────────── */
@media (max-width: 1100px) {
  .hero-grid { grid-template-columns: 1fr; gap: 1rem; }
  .hero-watch { height: 60vh; min-height: 460px; order: -1; }
  .collection-header { grid-template-columns: 1fr; }
  .collection-grid { grid-template-columns: repeat(3, 1fr); }
  .savoir-grid { grid-template-columns: 1fr; gap: 3rem; }
  .collection-spotlight { grid-template-columns: 1fr; padding: 3rem 1.5rem; }
  .spotlight-stage { height: 380px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .nav-links { display: none; }
}
@media (max-width: 700px) {
  nav { padding: 1rem 1.2rem; }
  nav.scrolled { padding: 0.7rem 1.2rem; }
  .hero { padding: 6rem 1.2rem 2rem; }
  .collection, .savoir, .compat, .preorder, .manifesto { padding-left: 1.2rem; padding-right: 1.2rem; }
  .collection-grid { grid-template-columns: 1fr 1fr; }
  .process-track { grid-template-columns: 1fr; gap: 1rem; overflow-x: auto; overflow-y: hidden; }
  .process-panel { min-width: 80vw; }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .preorder-form { flex-direction: column; border-radius: 12px; }
  .inquiry-form { padding: 1.4rem !important; }
  .if-row-2 { grid-template-columns: 1fr !important; }
  .if-radios { grid-template-columns: 1fr !important; }
  .tg-card { grid-template-columns: 1fr !important; padding: 1.4rem !important; }
  .tg-card-qr { justify-self: center; }
  .admin-pane-window { width: 96vw !important; max-height: 88vh !important; }
  .admin-table-wrap { font-size: 0.72rem; }
  .compat-row { grid-template-columns: 1.5fr 1fr 1fr; }
  .compat-row .compat-cell:nth-child(3) { display: none; }
  .spot-nav.prev { left: 0; }
  .spot-nav.next { right: 0; }
  .spot-meta { grid-template-columns: 1fr; gap: 0.5rem; }
  body { cursor: auto; }
}


/* ═══════════════════════════════════════════════════════════════════════
   INQUIRY FORM · TELEGRAM CARD · ADMIN PANEL
   ═══════════════════════════════════════════════════════════════════════ */

.inquiry-form {
  max-width: 720px;
  margin: 0 auto 2.5rem;
  text-align: left;
  background: color-mix(in srgb, var(--ink-1) 60%, transparent);
  border: 1px solid var(--rule);
  border-radius: 18px;
  padding: 2.2rem 2.2rem 1.8rem;
  display: flex;
  flex-direction: column;
  gap: 1.4rem;
  position: relative;
  isolation: isolate;
  transition: border-color 0.6s var(--ease-in-out), opacity 0.4s ease;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.inquiry-form::before {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(135deg,
    color-mix(in srgb, var(--accent) 30%, transparent),
    transparent 40%,
    transparent 60%,
    color-mix(in srgb, var(--accent-2) 22%, transparent));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
          mask-composite: exclude;
  opacity: 0.6;
  pointer-events: none;
  transition: opacity 0.6s var(--ease-in-out);
}
.inquiry-form.submitted { opacity: 0.35; pointer-events: none; }

.if-row { display: grid; gap: 1.1rem; }
.if-row-2 { grid-template-columns: 1fr 1fr; }

.if-field {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  position: relative;
}

.if-label {
  font-family: var(--mono);
  font-size: 0.62rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--cream-2);
}
.if-label em {
  color: var(--muted);
  font-style: italic;
  font-family: var(--serif);
  letter-spacing: 0.04em;
  text-transform: none;
  font-size: 0.78rem;
  margin-left: 0.4em;
  opacity: 0.85;
}

.inquiry-form input[type="text"],
.inquiry-form input[type="email"],
.inquiry-form textarea,
.inquiry-form select {
  width: 100%;
  font-family: var(--sans);
  font-size: 0.95rem;
  color: var(--cream-0);
  background: color-mix(in srgb, var(--ink-0) 80%, transparent);
  border: 1px solid var(--rule);
  border-radius: 10px;
  padding: 0.85rem 1rem;
  outline: none;
  transition: border-color 0.3s ease, background 0.3s ease, box-shadow 0.3s ease;
}
.inquiry-form textarea {
  resize: vertical;
  min-height: 80px;
  font-family: var(--serif);
  font-style: italic;
  font-weight: 300;
  font-size: 1rem;
  line-height: 1.5;
}
.inquiry-form input::placeholder,
.inquiry-form textarea::placeholder {
  color: var(--muted);
  font-style: italic;
  font-family: var(--serif);
  font-weight: 300;
}
.inquiry-form input:focus,
.inquiry-form textarea:focus,
.inquiry-form select:focus {
  border-color: var(--accent);
  background: color-mix(in srgb, var(--ink-0) 92%, transparent);
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent) 12%, transparent);
}

.if-select { position: relative; }
.if-select select {
  appearance: none;
  -webkit-appearance: none;
  padding-right: 3rem;
  cursor: pointer;
}
.if-select .if-chev {
  position: absolute;
  right: 1rem; top: 50%;
  width: 14px; height: 14px;
  transform: translateY(-50%);
  color: var(--cream-2);
  pointer-events: none;
  transition: color 0.3s ease;
}
.if-select:hover .if-chev { color: var(--accent); }
.if-swatch {
  position: absolute;
  left: 1rem; top: 50%;
  width: 18px; height: 18px;
  border-radius: 50%;
  transform: translateY(-50%) scale(0);
  opacity: 0;
  transition: transform 0.4s var(--ease-spring), opacity 0.3s ease, background 0.4s ease;
  border: 1px solid color-mix(in srgb, var(--cream-0) 30%, transparent);
  pointer-events: none;
}
.if-swatch.visible { transform: translateY(-50%) scale(1); opacity: 1; }
.if-select:has(.if-swatch.visible) select { padding-left: 2.6rem; }

.inquiry-form select option,
.inquiry-form select optgroup {
  background: var(--ink-1);
  color: var(--cream-0);
}
.inquiry-form select optgroup {
  font-family: var(--mono);
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  font-style: normal;
}

/* Radio cards */
.if-radio-group { border: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 1rem; }
.if-radio-group legend { padding: 0; margin-bottom: 0.2rem; }
.if-radios { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.7rem; }
.if-radio { position: relative; cursor: pointer; }
.if-radio input { position: absolute; opacity: 0; pointer-events: none; }
.if-radio-card {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  height: 100%;
  padding: 1rem 1rem 1.1rem;
  background: color-mix(in srgb, var(--ink-0) 60%, transparent);
  border: 1px solid var(--rule);
  border-radius: 12px;
  transition: border-color 0.35s ease, background 0.35s ease, transform 0.35s var(--ease-spring);
}
.if-radio:hover .if-radio-card {
  border-color: color-mix(in srgb, var(--accent) 50%, transparent);
  background: color-mix(in srgb, var(--ink-0) 75%, transparent);
}
.if-radio input:checked + .if-radio-card {
  border-color: var(--accent);
  background: color-mix(in srgb, var(--accent) 8%, var(--ink-0));
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent) 10%, transparent);
}
.if-radio-num {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  font-size: 0.85rem;
  color: var(--accent);
  letter-spacing: 0.04em;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}
.if-radio-num::after {
  content: '';
  flex: 1;
  height: 1px;
  background: linear-gradient(to right, color-mix(in srgb, var(--accent) 50%, transparent), transparent);
}
.if-radio-name {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 1.1rem;
  color: var(--cream-0);
  line-height: 1.1;
}
.if-radio-desc {
  font-family: var(--sans);
  font-size: 0.78rem;
  color: var(--cream-2);
  line-height: 1.45;
  opacity: 0.85;
}

/* Submit */
.if-submit-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.4rem;
  margin-top: 0.4rem;
  flex-wrap: wrap;
}
.if-submit {
  position: relative;
  font-family: var(--sans);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-0);
  background: var(--cream-0);
  border: none;
  border-radius: 999px;
  padding: 1rem 1.8rem;
  cursor: none;
  overflow: hidden;
  transition: transform 0.4s var(--ease-spring), opacity 0.3s ease;
  isolation: isolate;
}
.if-submit::before {
  content: '';
  position: absolute; inset: 0;
  background: var(--accent);
  transform: translateY(100%);
  transition: transform 0.5s var(--ease-out-expo);
  z-index: -1;
}
.if-submit:hover::before { transform: translateY(0); }
.if-submit:disabled { opacity: 0.45; cursor: not-allowed; }
.if-submit .btn-primary-text {
  height: 1em; line-height: 1;
  display: inline-flex; flex-direction: column;
  overflow: hidden;
}
.if-submit .btn-primary-text span {
  display: block;
  transition: transform 0.45s var(--ease-out-expo);
}
.if-submit:hover .btn-primary-text span { transform: translateY(-100%); }
.if-submit.sending { animation: sending-pulse 1.4s ease-in-out infinite; }
@keyframes sending-pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.55; }
}
.if-fineprint {
  font-family: var(--mono);
  font-size: 0.62rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  flex: 1;
  max-width: 320px;
  line-height: 1.5;
}

/* Success */
.if-success {
  position: absolute;
  inset: 0;
  background: color-mix(in srgb, var(--ink-1) 96%, transparent);
  border-radius: inherit;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 1.2rem;
  padding: 2rem;
  opacity: 0;
  transform: scale(0.96);
  transition: opacity 0.45s ease, transform 0.5s var(--ease-spring);
  z-index: 10;
  pointer-events: none;
}
.if-success.visible { opacity: 1; transform: scale(1); pointer-events: auto; }
.if-success-oct {
  width: 76px; height: 76px;
  color: var(--accent);
  fill: none; stroke: currentColor; stroke-width: 1.6;
  animation: success-rotate 14s linear infinite;
}
.if-success-oct polygon { fill: color-mix(in srgb, var(--accent) 10%, transparent); }
@keyframes success-rotate { to { transform: rotate(360deg); } }
.if-success-text { display: flex; flex-direction: column; gap: 0.5rem; max-width: 460px; }
.if-success-text strong {
  font-family: var(--serif);
  font-size: 1.6rem;
  font-style: italic;
  font-weight: 400;
  color: var(--cream-0);
  letter-spacing: -0.01em;
}
.if-success-text em {
  font-family: var(--mono);
  font-style: normal;
  color: var(--accent);
  font-size: 0.95rem;
  letter-spacing: 0.08em;
  background: color-mix(in srgb, var(--accent) 12%, transparent);
  padding: 0.1em 0.5em;
  border-radius: 4px;
  margin: 0 0.2em;
}
.if-success-text span {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 300;
  font-size: 1rem;
  color: var(--cream-1);
  line-height: 1.55;
}
.if-success-reset {
  background: transparent;
  border: 1px solid var(--rule-strong);
  color: var(--cream-0);
  font-family: var(--mono);
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 0.7rem 1.4rem;
  border-radius: 999px;
  cursor: none;
  transition: background 0.3s ease, border-color 0.3s ease, color 0.3s ease;
}
.if-success-reset:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--ink-0);
}

/* ═══════════════ Telegram bot card ═══════════════ */
.tg-block { max-width: 720px; margin: 0 auto 2.5rem; text-align: left; }
.tg-divider { display: flex; align-items: center; gap: 1rem; margin-bottom: 1.4rem; }
.tg-divider-line {
  flex: 1;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--rule-strong), transparent);
}
.tg-divider-text {
  font-family: var(--mono);
  font-size: 0.62rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  white-space: nowrap;
}
.tg-card {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 1.8rem;
  align-items: center;
  padding: 1.8rem;
  background: color-mix(in srgb, var(--ink-1) 60%, transparent);
  border: 1px solid var(--rule);
  border-radius: 18px;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  transition: border-color 0.5s var(--ease-in-out);
}
.tg-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(80% 100% at 100% 0%,
    color-mix(in srgb, var(--accent) 14%, transparent),
    transparent 60%);
  pointer-events: none;
  z-index: -1;
}
.tg-card:hover { border-color: color-mix(in srgb, var(--accent) 45%, transparent); }
.tg-card-qr {
  position: relative;
  width: 200px;
  padding: 0.8rem;
  background: var(--cream-0);
  border-radius: 14px;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  align-items: center;
}
.tg-card-qr img {
  width: 100%;
  height: auto;
  display: block;
  image-rendering: pixelated;
}
.tg-card-qr-label {
  font-family: var(--mono);
  font-size: 0.58rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-1);
}
.tg-card-body { display: flex; flex-direction: column; gap: 0.75rem; }
.tg-card-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--mono);
  font-size: 0.62rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  transition: color 0.6s var(--ease-in-out);
}
.tg-icon { width: 14px; height: 14px; }
.tg-card-title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(1.4rem, 2.6vw, 1.85rem);
  line-height: 1.1;
  letter-spacing: -0.01em;
  color: var(--cream-0);
  margin: 0;
}
.tg-card-title em { font-style: italic; color: var(--accent); transition: color 0.6s var(--ease-in-out); }
.tg-card-desc {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 300;
  font-size: 0.98rem;
  line-height: 1.55;
  color: var(--cream-1);
  margin: 0;
}
.tg-card-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  align-self: flex-start;
  padding: 0.85rem 1.4rem;
  margin-top: 0.4rem;
  border-radius: 999px;
  background: var(--cream-0);
  color: var(--ink-0);
  text-decoration: none;
  font-family: var(--sans);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  position: relative;
  overflow: hidden;
  isolation: isolate;
  cursor: none;
  transition: color 0.4s ease;
}
.tg-card-cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--accent);
  transform: translateY(101%);
  transition: transform 0.5s var(--ease-out-expo);
  z-index: -1;
}
.tg-card-cta:hover::before { transform: translateY(0); }
.tg-card-cta-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--accent);
  animation: dot-pulse 2s var(--ease-in-out) infinite;
}
.tg-card-cta:hover .tg-card-cta-dot { background: var(--ink-0); }
.tg-card-cta-arrow {
  width: 14px; height: 14px;
  transition: transform 0.45s var(--ease-spring);
}
.tg-card-cta:hover .tg-card-cta-arrow { transform: translate(2px, -2px); }
.tg-card-fine {
  font-family: var(--mono);
  font-size: 0.6rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}

/* ═══════════════ Admin pane ═══════════════ */
.admin-pane {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}
.admin-pane.visible { opacity: 1; pointer-events: auto; }
.admin-pane-bg {
  position: absolute;
  inset: 0;
  background: color-mix(in srgb, var(--ink-0) 88%, transparent);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}
.admin-pane-window {
  position: relative;
  width: min(1240px, 92vw);
  max-height: 86vh;
  background: var(--ink-1);
  border: 1px solid var(--rule-strong);
  border-radius: 18px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transform: translateY(20px) scale(0.98);
  transition: transform 0.4s var(--ease-spring);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6);
}
.admin-pane.visible .admin-pane-window { transform: translateY(0) scale(1); }
.admin-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1.6rem 1.8rem 1.1rem;
  border-bottom: 1px solid var(--rule);
}
.admin-eyebrow {
  display: block;
  font-family: var(--mono);
  font-size: 0.62rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.4rem;
}
.admin-title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 1.6rem;
  letter-spacing: -0.01em;
  color: var(--cream-0);
  margin: 0;
}
.admin-head-actions { display: flex; align-items: center; gap: 0.6rem; flex-wrap: wrap; }
.admin-count {
  font-family: var(--mono);
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--cream-2);
  padding: 0.5rem 0.8rem;
  border: 1px solid var(--rule);
  border-radius: 999px;
}
.admin-btn {
  font-family: var(--mono);
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-0);
  background: var(--cream-0);
  border: 1px solid var(--cream-0);
  padding: 0.55rem 1rem;
  border-radius: 999px;
  cursor: pointer;
  transition: background 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}
.admin-btn:hover { background: var(--accent); border-color: var(--accent); color: var(--ink-0); }
.admin-btn.ghost { background: transparent; color: var(--cream-0); border-color: var(--rule-strong); }
.admin-btn.ghost:hover { background: var(--cream-0); color: var(--ink-0); }
.admin-btn.danger {
  background: transparent;
  color: color-mix(in srgb, #ff8585 80%, white);
  border-color: color-mix(in srgb, #ff8585 40%, transparent);
}
.admin-btn.danger:hover {
  background: color-mix(in srgb, #ff8585 20%, transparent);
  color: #ffb4b4;
}
.admin-close {
  width: 36px; height: 36px;
  border-radius: 50%;
  border: 1px solid var(--rule-strong);
  background: transparent;
  color: var(--cream-0);
  font-size: 1.4rem;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s ease, transform 0.3s var(--ease-spring);
}
.admin-close:hover { background: var(--accent); color: var(--ink-0); transform: rotate(90deg); }
.admin-meta {
  padding: 0.9rem 1.8rem;
  font-family: var(--mono);
  font-size: 0.65rem;
  letter-spacing: 0.08em;
  color: var(--muted);
  border-bottom: 1px solid var(--rule);
  background: color-mix(in srgb, var(--ink-0) 50%, transparent);
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  align-items: center;
}
.admin-meta code {
  font-family: var(--mono);
  font-size: 0.7rem;
  background: color-mix(in srgb, var(--accent) 14%, transparent);
  color: var(--accent);
  padding: 0.1em 0.45em;
  border-radius: 4px;
}
.admin-meta-sep { color: var(--rule-strong); }
.admin-table-wrap { flex: 1; overflow: auto; padding: 0 0 1rem; position: relative; }
.admin-table {
  width: 100%;
  border-collapse: collapse;
  font-family: var(--sans);
  font-size: 0.82rem;
  color: var(--cream-0);
}
.admin-table thead { position: sticky; top: 0; background: var(--ink-1); z-index: 1; }
.admin-table th {
  text-align: left;
  font-family: var(--mono);
  font-size: 0.6rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--cream-2);
  padding: 1rem 1rem 0.8rem;
  border-bottom: 1px solid var(--rule);
  white-space: nowrap;
  font-weight: 500;
}
.admin-table td {
  padding: 0.85rem 1rem;
  border-bottom: 1px solid var(--rule);
  vertical-align: top;
}
.admin-table tr:hover td { background: color-mix(in srgb, var(--accent) 4%, transparent); }
.admin-table a { color: var(--accent); text-decoration: none; transition: color 0.3s ease; }
.admin-table a:hover { color: var(--cream-0); text-decoration: underline; }
.admin-table .admin-ref {
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  color: var(--cream-2);
  white-space: nowrap;
}
.admin-table .admin-notes {
  max-width: 240px;
  font-family: var(--serif);
  font-style: italic;
  color: var(--cream-1);
  font-size: 0.85rem;
}
.admin-empty {
  padding: 3rem 2rem;
  text-align: center;
  font-family: var(--serif);
  font-style: italic;
  color: var(--muted);
  font-size: 1rem;
}


/* ─── Wrist Society logo (footer brand block) ─── */
.footer-logo-link {
  align-items: center !important;
  gap: 1rem !important;
  margin-bottom: 1.5rem;
}
.footer-logo-img {
  display: block;
  width: 64px;
  height: 64px;
  object-fit: cover;
  border-radius: 4px;
  background: #000;
}
.footer-logo-link span {
  font-family: var(--serif);
  font-size: 1.5rem;
  letter-spacing: 0.01em;
}


/* ─────────────────────────────────────────────
   WHY US — direct benefits block
   ───────────────────────────────────────────── */
.why {
  padding: 8rem 2.5rem 6rem;
  background: var(--ink-0);
  position: relative;
}
.why-inner {
  max-width: 1400px;
  margin: 0 auto;
}
.why-head {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-bottom: 4rem;
}
.why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}
.why-card {
  position: relative;
  padding: 2.2rem 1.6rem 1.8rem;
  background: linear-gradient(180deg, rgba(255,255,255,0.025), rgba(255,255,255,0.005));
  border: 1px solid var(--rule);
  border-radius: 4px;
  transition: border-color 0.4s var(--ease-in-out), background 0.4s var(--ease-in-out);
  min-height: 240px;
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}
.why-card:hover {
  border-color: rgba(255,255,255,0.15);
  background: linear-gradient(180deg, rgba(255,255,255,0.045), rgba(255,255,255,0.01));
}
.why-num {
  font-family: var(--mono);
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  color: var(--cream-2);
  opacity: 0.55;
}
.why-card h3 {
  font-family: var(--serif);
  font-size: 1.45rem;
  line-height: 1.15;
  font-weight: 400;
  letter-spacing: -0.01em;
  color: var(--cream-0);
  margin: 0;
}
.why-card p {
  font-family: var(--sans);
  font-size: 0.92rem;
  line-height: 1.55;
  color: var(--cream-2);
  margin: 0;
  opacity: 0.85;
}
.why-card p em {
  font-style: normal;
  color: var(--cream-0);
  opacity: 1;
}

@media (max-width: 1100px) {
  .why-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .why { padding: 5rem 1.4rem 4rem; }
  .why-grid { grid-template-columns: 1fr; gap: 1rem; }
  .why-card { min-height: 0; padding: 1.6rem 1.3rem 1.4rem; }
  .why-card h3 { font-size: 1.25rem; }
}

/* ─────────────────────────────────────────────
   FORM PULSE — feedback when prefilled from a card click
   ───────────────────────────────────────────── */
.form-pulse {
  animation: form-pulse-anim 1.2s var(--ease-out, ease-out);
}
@keyframes form-pulse-anim {
  0%   { box-shadow: 0 0 0 0 rgba(244, 197, 24, 0.0); }
  18%  { box-shadow: 0 0 0 6px rgba(244, 197, 24, 0.18); }
  100% { box-shadow: 0 0 0 0 rgba(244, 197, 24, 0.0); }
}
.form-pulse select {
  animation: select-flash 1s var(--ease-out, ease-out);
}
@keyframes select-flash {
  0%   { background-color: transparent; }
  20%  { background-color: rgba(244, 197, 24, 0.08); }
  100% { background-color: transparent; }
}


/* ═══════════════════════════════════════════════════════════════
   FAQ SECTION
   ═══════════════════════════════════════════════════════════════ */
.faq {
  padding: 10rem 6vw 8rem;
  position: relative;
}

.faq-inner {
  max-width: 860px;
  margin: 0 auto;
}

.faq-head {
  margin-bottom: 4rem;
}

.faq-grid {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.faq-item {
  border-bottom: 1px solid var(--rule);
}

.faq-item:first-child {
  border-top: 1px solid var(--rule);
}

.faq-question {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  padding: 1.6rem 0;
  cursor: pointer;
  list-style: none;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
}

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

.faq-question::marker {
  display: none;
  content: '';
}

.faq-q-num {
  font-family: var(--mono);
  font-size: 0.62rem;
  letter-spacing: 0.2em;
  color: var(--muted);
  flex-shrink: 0;
  width: 2.4rem;
}

.faq-q-text {
  font-family: var(--serif);
  font-size: 1.2rem;
  font-weight: 400;
  color: var(--cream-0);
  letter-spacing: -0.005em;
  line-height: 1.3;
  flex: 1;
  transition: color 0.3s ease;
}

.faq-item[open] .faq-q-text {
  color: var(--accent);
}

.faq-chevron {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  color: var(--muted);
  transition: transform 0.4s var(--ease-out-expo), color 0.3s ease;
}

.faq-item[open] .faq-chevron {
  transform: rotate(180deg);
  color: var(--accent);
}

.faq-answer {
  padding: 0 0 2rem 3.6rem;
  font-family: var(--sans);
  font-size: 0.92rem;
  line-height: 1.7;
  color: var(--cream-1);
  opacity: 0.88;
  letter-spacing: 0.005em;
}

.faq-answer p {
  margin: 0 0 0.8rem;
}

.faq-answer p:last-child {
  margin-bottom: 0;
}

.faq-answer strong {
  color: var(--cream-0);
  font-weight: 600;
}

.faq-answer em {
  color: var(--cream-0);
  font-style: italic;
}

.faq-answer a {
  color: var(--accent);
  text-decoration: none;
  border-bottom: 1px solid color-mix(in srgb, var(--accent) 40%, transparent);
  transition: border-color 0.3s ease;
}

.faq-answer a:hover {
  border-color: var(--accent);
}

@media (max-width: 700px) {
  .faq {
    padding: 6rem 5vw 5rem;
  }
  .faq-question {
    padding: 1.3rem 0;
    gap: 0.8rem;
  }
  .faq-q-text {
    font-size: 1.05rem;
  }
  .faq-answer {
    padding: 0 0 1.6rem 0;
    font-size: 0.88rem;
  }
  .faq-q-num {
    display: none;
  }
}

@media (pointer: coarse) {
  .faq-question { cursor: pointer; }
}
