/* ═══════════════════════════════════════════════════
   Build with Claude — Unified Design System
   ═══════════════════════════════════════════════════ */

/* ── TOKENS ── */
:root {
  --bg: #08080a;
  --surface: #111114;
  --surface2: #18181c;
  --border: #222228;
  --border-light: #2e2e36;
  --text: #eae8e4;
  --text-secondary: #a09e98;
  --muted: #6b6964;
  --gold: #c9a84c;
  --gold-light: #e3c96e;
  --gold-dim: rgba(201,168,76,0.08);
  --gold-glow: rgba(201,168,76,0.15);
  --green: #4ade80;
  --red: #f87171;
  --phase1: #5b9bd5;
  --phase1-dim: rgba(91,155,213,0.1);
  --phase1-glow: rgba(91,155,213,0.35);
  --phase1-line: rgba(91,155,213,0.12);
  --phase2: #c9a84c;
  --phase2-dim: rgba(201,168,76,0.1);
  --phase2-glow: rgba(201,168,76,0.35);
  --phase2-line: rgba(201,168,76,0.12);
  --phase3: #d46a51;
  --phase3-dim: rgba(212,106,81,0.1);
  --phase3-glow: rgba(212,106,81,0.35);
  --phase3-line: rgba(212,106,81,0.12);
  --radius: 12px;
  --font-display: 'Playfair Display', serif;
  --font-mono: 'JetBrains Mono', monospace;
  --font-dm: 'DM Mono', monospace;
  --font-serif: 'Instrument Serif', serif;
  /* Phase accent — overridden per page via data-phase */
  --accent: var(--gold);
  --accent-dim: var(--gold-dim);
  --accent-glow: rgba(201,168,76,0.08);
}
[data-phase="1"] { --accent: var(--phase1); --accent-dim: var(--phase1-dim); --accent-glow: rgba(91,155,213,0.08); }
[data-phase="2"] { --accent: var(--phase2); --accent-dim: var(--phase2-dim); --accent-glow: rgba(201,168,76,0.08); }
[data-phase="3"] { --accent: var(--phase3); --accent-dim: var(--phase3-dim); --accent-glow: rgba(212,106,81,0.08); }

/* ── RESET ── */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg); color: var(--text);
  font-family: var(--font-mono); line-height: 1.75;
  overflow-x: hidden; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
}

/* ── GRAIN ── */
.grain {
  position: fixed; inset: 0; pointer-events: none; z-index: 9999; opacity: 0.03;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 512 512' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='1'/%3E%3C/svg%3E");
}

/* ── SCROLL REVEAL ── */
.reveal       { opacity:0; transform:translateY(40px);  transition:opacity .8s cubic-bezier(.16,1,.3,1),transform .8s cubic-bezier(.16,1,.3,1); }
.reveal-left  { opacity:0; transform:translateX(-50px); transition:opacity .8s cubic-bezier(.16,1,.3,1),transform .8s cubic-bezier(.16,1,.3,1); }
.reveal-right { opacity:0; transform:translateX(50px);  transition:opacity .8s cubic-bezier(.16,1,.3,1),transform .8s cubic-bezier(.16,1,.3,1); }
.reveal-scale { opacity:0; transform:scale(.92);        transition:opacity .7s ease,transform .7s ease; }
.reveal.visible,.reveal-left.visible,.reveal-right.visible { opacity:1; transform:translate(0); }
.reveal-scale.visible { opacity:1; transform:scale(1); }
.stagger-children .reveal:nth-child(1) { transition-delay:0s }
.stagger-children .reveal:nth-child(2) { transition-delay:.08s }
.stagger-children .reveal:nth-child(3) { transition-delay:.12s }
.stagger-children .reveal:nth-child(4) { transition-delay:.16s }
.stagger-children .reveal:nth-child(5) { transition-delay:.20s }
.stagger-children .reveal:nth-child(6) { transition-delay:.24s }
.stagger-children .reveal:nth-child(7) { transition-delay:.28s }
.stagger-children .reveal:nth-child(8) { transition-delay:.32s }
.stagger-children .reveal:nth-child(9) { transition-delay:.36s }

/* ── LAYOUT ── */
.container { max-width: 1100px; margin: 0 auto; padding: 0 28px; }
.section { padding: 100px 0; position: relative; }
.section-divider {
  height: 1px; max-width: 1100px; margin: 0 auto;
  background: linear-gradient(90deg, transparent, var(--border-light) 30%, var(--border-light) 70%, transparent);
}

/* ── BUTTONS ── */
.btn-primary {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--gold); color: var(--bg); padding: 14px 28px; border-radius: 8px;
  text-decoration: none; font-family: var(--font-mono); font-size: 12px; font-weight: 500;
  letter-spacing: 1.5px; text-transform: uppercase;
  transition: all .3s cubic-bezier(.16,1,.3,1); border: none; cursor: pointer;
}
.btn-primary:hover { background: var(--gold-light); transform: translateY(-2px); box-shadow: 0 8px 30px rgba(201,168,76,.25); }
.btn-secondary {
  display: inline-flex; align-items: center; gap: 8px;
  background: transparent; color: var(--text-secondary); padding: 14px 28px; border-radius: 8px;
  text-decoration: none; font-family: var(--font-mono); font-size: 12px;
  letter-spacing: 1.5px; text-transform: uppercase;
  border: 1px solid var(--border-light); transition: all .3s ease;
}
.btn-secondary:hover { border-color: var(--gold); color: var(--gold); }

/* ── FOOTER ── */
footer { padding: 32px 0; text-align: center; color: var(--muted); font-size: 11px; border-top: 1px solid var(--border); }
footer a { color: var(--gold); text-decoration: none; }

/* ═══════════════════════════════════════════════════
   LANDING — Hero
   ═══════════════════════════════════════════════════ */
.hero { min-height: 100vh; display: flex; align-items: center; position: relative; overflow: hidden; }
.hero-grid-bg {
  position: absolute; inset: 0;
  background-image: linear-gradient(var(--border) 1px, transparent 1px), linear-gradient(90deg, var(--border) 1px, transparent 1px);
  background-size: 60px 60px; opacity: .15;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, black 20%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, black 20%, transparent 70%);
}
.hero-glow {
  position: absolute; width: 600px; height: 600px; top: -100px; right: -100px;
  background: radial-gradient(circle, var(--gold-glow) 0%, transparent 70%);
  pointer-events: none; animation: glowFloat 8s ease-in-out infinite;
}
@keyframes glowFloat { 0%,100%{transform:translate(0,0) scale(1)} 50%{transform:translate(-40px,30px) scale(1.1)} }
.hero-content { position: relative; z-index: 2; animation: fadeUp 1.2s cubic-bezier(.16,1,.3,1) both; }
@keyframes fadeUp { from{opacity:0;transform:translateY(30px)} to{opacity:1;transform:translateY(0)} }
.hero-tag { font-size: 11px; letter-spacing: 4px; text-transform: uppercase; color: var(--gold); margin-bottom: 24px; display: flex; align-items: center; gap: 12px; }
.hero-tag::before { content:''; display:block; width:40px; height:1px; background:var(--gold); }
.hero h1 { font-family: var(--font-display); font-weight: 400; font-size: clamp(48px,8vw,88px); line-height: 1.05; margin-bottom: 24px; max-width: 800px; }
.hero h1 .gold { color: var(--gold); font-style: italic; position: relative; }
.hero h1 .gold::after { content:''; position:absolute; bottom:4px; left:0; right:0; height:2px; background:linear-gradient(90deg,var(--gold),transparent); }
.hero-sub { font-size: 14px; color: var(--text-secondary); max-width: 520px; margin-bottom: 40px; line-height: 1.9; }
.hero-cta-row { display: flex; gap: 16px; align-items: center; flex-wrap: wrap; }
.hero-stats { display: flex; gap: 40px; margin-top: 60px; padding-top: 32px; border-top: 1px solid var(--border); animation: fadeUp 1.2s cubic-bezier(.16,1,.3,1) .3s both; }
.hero-stat .num { font-family: var(--font-display); font-size: 42px; color: var(--gold); line-height: 1; }
.hero-stat .label { font-size: 10px; color: var(--muted); text-transform: uppercase; letter-spacing: 3px; margin-top: 6px; }

/* Hero dynamic */
.hero-showcase { display: flex; align-items: baseline; gap: 14px; margin-bottom: 20px; animation: fadeUp 1.2s cubic-bezier(.16,1,.3,1) .15s both; }
.hero-showcase-day { font-size: 13px; letter-spacing: 2px; color: var(--muted); transition: opacity .35s ease, transform .35s ease; flex-shrink: 0; }
.hero-showcase-day.out  { opacity: 0; transform: translateY(-8px); }
.hero-showcase-day.in   { opacity: 1; transform: translateY(0); }
.hero-showcase-arrow { color: var(--gold); font-size: 16px; opacity: .4; flex-shrink: 0; }
.hero-showcase-title { font-family: var(--font-display); font-style: italic; font-size: clamp(22px,4vw,36px); color: var(--gold); line-height: 1.2; transition: opacity .35s ease, transform .35s ease; position: relative; }
.hero-showcase-title.out { opacity: 0; transform: translateY(10px); }
.hero-showcase-title.in  { opacity: 1; transform: translateY(0); }
.hero-showcase-title::after { content:''; position:absolute; bottom:-4px; left:0; width:100%; height:1px; background:linear-gradient(90deg,var(--gold),transparent 80%); opacity:.3; }
.hero-floaters { position: absolute; inset: 0; pointer-events: none; z-index: 1; overflow: hidden; }
.hero-float-icon { position: absolute; font-size: 28px; opacity: 0; animation: heroFloat linear infinite; will-change: transform; }
@keyframes heroFloat { 0%{transform:translateY(0) rotate(0);opacity:0} 8%{opacity:.12} 90%{opacity:.12} 100%{transform:translateY(-110vh) rotate(25deg);opacity:0} }
.hero-ticker { display: flex; align-items: center; gap: 14px; margin-top: 20px; padding: 10px 0; animation: fadeUp 1.2s cubic-bezier(.16,1,.3,1) .5s both; }
.hero-ticker-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--gold); animation: tickerPulse 2s ease-in-out infinite; flex-shrink: 0; }
@keyframes tickerPulse { 0%,100%{opacity:.4;box-shadow:none} 50%{opacity:1;box-shadow:0 0 8px var(--gold-glow)} }
.hero-ticker-text { font-size: 11px; letter-spacing: 1.5px; color: var(--muted); overflow: hidden; white-space: nowrap; }
.hero-ticker-scroll { display: inline-block; animation: tickerScroll 30s linear infinite; }
@keyframes tickerScroll { 0%{transform:translateX(0)} 100%{transform:translateX(-50%)} }

/* ── FORMAT ── */
.format-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.format-text h2 { font-family: var(--font-display); font-weight: 400; font-size: 38px; margin-bottom: 20px; line-height: 1.2; }
.format-text h2 .gold { color: var(--gold); font-style: italic; }
.format-text p { font-size: 13px; color: var(--text-secondary); margin-bottom: 24px; }
.format-features { display: grid; gap: 12px; }
.format-feature { display: flex; gap: 14px; align-items: flex-start; padding: 14px 18px; background: var(--surface); border: 1px solid var(--border); border-radius: 10px; transition: all .3s ease; }
.format-feature:hover { border-color: var(--gold); background: var(--gold-dim); transform: translateX(4px); }
.format-feature .icon { font-size: 20px; flex-shrink: 0; margin-top: 2px; }
.format-feature .text { font-size: 12px; color: var(--text-secondary); line-height: 1.7; }
.format-feature .text strong { color: var(--text); display: block; font-size: 13px; margin-bottom: 2px; }
.format-media { aspect-ratio: 4/3; background: var(--surface); border: 2px dashed var(--border-light); border-radius: var(--radius); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; color: var(--muted); font-size: 12px; position: relative; overflow: hidden; }
.format-media .slot-label { font-size: 10px; letter-spacing: 3px; text-transform: uppercase; }
.format-media .slot-icon { font-size: 32px; opacity: .4; }
.format-media img, .format-media video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border-radius: var(--radius); }

/* ── STEPS ── */
.steps-header { text-align: center; margin-bottom: 60px; }
.steps-header h2 { font-family: var(--font-display); font-weight: 400; font-size: 38px; }
.steps-header h2 .gold { color: var(--gold); font-style: italic; }
.steps-row { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; position: relative; }
.steps-row::before { content:''; position:absolute; top:48px; left:calc(16.66% + 12px); right:calc(16.66% + 12px); height:1px; background:linear-gradient(90deg,var(--gold),var(--border-light) 50%,var(--gold)); }
.step-card { text-align: center; position: relative; z-index: 1; padding: 0 12px; }
.step-num { width:56px; height:56px; border-radius:50%; background:var(--surface2); border:2px solid var(--gold); display:flex; align-items:center; justify-content:center; font-family:var(--font-display); font-size:22px; color:var(--gold); margin:0 auto 20px; box-shadow:0 0 30px var(--gold-glow); }
.step-card h3 { font-family: var(--font-display); font-weight: 400; font-size: 20px; margin-bottom: 8px; }
.step-card p  { font-size: 12px; color: var(--text-secondary); line-height: 1.8; }

/* ── TIMELINE ── */
.timeline { max-width: 600px; margin: 0 auto; position: relative; padding-left: 100px; }
.timeline::before { content:''; position:absolute; left:84px; top:8px; bottom:8px; width:1px; background:linear-gradient(to bottom,var(--gold),var(--border),var(--gold)); }
.timeline-item { position: relative; padding: 0 0 28px 28px; }
.timeline-item::before { content:''; position:absolute; left:-5px; top:6px; width:9px; height:9px; border-radius:50%; background:var(--gold); box-shadow:0 0 10px var(--gold-glow); }
.timeline-time { position:absolute; left:-100px; top:2px; width:80px; text-align:right; font-family:var(--font-mono); font-size:11px; color:var(--gold); letter-spacing:.5px; white-space:nowrap; }
.timeline-content { font-size: 13px; color: var(--text-secondary); line-height: 1.8; }
.timeline-content em { color: var(--text); font-style: italic; }
.timeline-closer { text-align:center; font-size:15px; color:var(--text); font-family:var(--font-display); font-style:italic; margin-top:20px; padding-top:20px; border-top:1px solid var(--border); }

/* ── STARMAP (landing) ── */
.starmap-wrap { position:relative; width:100%; height:560px; border-radius:16px; overflow:hidden; background:radial-gradient(ellipse 80% 70% at 50% 50%,#0a0a10,var(--bg)); border:1px solid var(--border); cursor:grab; }
.starmap-wrap:active { cursor:grabbing; }
.starmap-canvas { position:absolute; inset:0; width:100%; height:100%; z-index:0; }
.starmap-svg    { position:absolute; inset:0; width:100%; height:100%; z-index:2; transform-origin:center center; transition:transform .25s cubic-bezier(.16,1,.3,1); }
.starmap-nebula { position:absolute; border-radius:50%; filter:blur(80px); pointer-events:none; z-index:1; animation:smNebulaFloat 18s ease-in-out infinite; }
.starmap-nebula.n1 { width:300px; height:300px; top:-5%;  left:5%;  background:var(--phase1); opacity:.04; }
.starmap-nebula.n2 { width:250px; height:250px; top:25%;  right:10%; background:var(--phase2); opacity:.04; animation-delay:-6s; }
.starmap-nebula.n3 { width:280px; height:280px; bottom:0; left:40%; background:var(--phase3); opacity:.04; animation-delay:-12s; }

/* Zoom controls */
.starmap-zoom { position:absolute; bottom:14px; right:14px; z-index:20; display:flex; flex-direction:column; gap:4px; }
.zoom-btn {
  width:32px; height:32px; border-radius:8px;
  background:rgba(12,12,16,.85); backdrop-filter:blur(10px);
  border:1px solid var(--border-light); color:var(--text-secondary);
  font-size:16px; line-height:1; cursor:pointer;
  display:flex; align-items:center; justify-content:center;
  transition:all .2s ease; font-family:var(--font-mono);
}
.zoom-btn:hover { border-color:var(--gold); color:var(--gold); background:rgba(201,168,76,.08); }
.zoom-reset { font-size:13px; }
@keyframes smNebulaFloat { 0%,100%{transform:translate(0,0) scale(1)} 50%{transform:translate(15px,-10px) scale(1.06)} }
.sm-star { cursor:pointer; }
.sm-star:hover .sm-core  { filter:brightness(1.8); }
.sm-star:hover .sm-halo  { opacity:.5 !important; }
.sm-star:hover .sm-label { opacity:1; }
.sm-core  { transition:filter .3s ease; }
.sm-halo  { transition:opacity .3s ease; }
.sm-label { font-family:var(--font-mono); font-size:8px; letter-spacing:1.2px; text-transform:uppercase; fill:var(--text-secondary); opacity:0; transition:opacity .3s ease; pointer-events:none; }
.sm-daynum { font-family:var(--font-display); font-size:10px; font-weight:700; fill:var(--muted); opacity:.4; pointer-events:none; }
.sm-line  { stroke-linecap:round; transition:opacity .4s ease; }
@keyframes smFadeIn { from{opacity:0;transform:scale(.3)} to{opacity:1;transform:scale(1)} }
@keyframes smPulse  { 0%,100%{opacity:.1} 50%{opacity:.3} }
.starmap-legend { display:flex; justify-content:center; gap:28px; margin-top:20px; flex-wrap:wrap; }
.starmap-legend-item { display:flex; align-items:center; gap:8px; font-size:10px; letter-spacing:1.5px; text-transform:uppercase; color:var(--muted); cursor:pointer; transition:color .3s ease; user-select:none; }
.starmap-legend-item:hover { color:var(--text); }
.starmap-legend-item.active { color:var(--text-secondary); }
.starmap-legend-dot { width:7px; height:7px; border-radius:50%; transition:box-shadow .3s ease; }
.starmap-legend-item.active .starmap-legend-dot { box-shadow:0 0 8px currentColor; }
.sld-p1 { background:var(--phase1); } .sld-p2 { background:var(--phase2); } .sld-p3 { background:var(--phase3); }
.starmap-phase-links { display:flex; justify-content:center; gap:16px; margin-top:16px; flex-wrap:wrap; }
.starmap-phase-link { font-size:10px; letter-spacing:1.5px; text-transform:uppercase; text-decoration:none; padding:6px 16px; border-radius:20px; border:1px solid var(--border); transition:all .3s ease; }
.starmap-phase-link:hover { transform:translateY(-1px); }
.starmap-phase-link.p1 { color:var(--phase1); } .starmap-phase-link.p1:hover { border-color:var(--phase1); }
.starmap-phase-link.p2 { color:var(--phase2); } .starmap-phase-link.p2:hover { border-color:var(--phase2); }
.starmap-phase-link.p3 { color:var(--phase3); } .starmap-phase-link.p3:hover { border-color:var(--phase3); }
.starmap-tooltip { position:absolute; z-index:50; background:rgba(12,12,16,.95); backdrop-filter:blur(20px); border:1px solid var(--border-light); border-radius:12px; padding:20px 22px; width:260px; opacity:0; pointer-events:none; transform:translateY(8px); transition:opacity .3s ease,transform .3s ease; box-shadow:0 20px 60px rgba(0,0,0,.6); }
.starmap-tooltip.visible { opacity:1; pointer-events:all; transform:translateY(0); }
.stt-phase { font-size:8px; letter-spacing:2.5px; text-transform:uppercase; margin-bottom:6px; }
.stt-phase.p1{color:var(--phase1)} .stt-phase.p2{color:var(--phase2)} .stt-phase.p3{color:var(--phase3)}
.stt-icon  { font-size:28px; margin-bottom:6px; display:block; }
.stt-title { font-family:var(--font-display); font-size:20px; font-weight:400; line-height:1.25; margin-bottom:6px; }
.stt-brief { font-size:11px; color:var(--text-secondary); line-height:1.7; margin-bottom:10px; }
.stt-skills { display:flex; flex-wrap:wrap; gap:4px; }
.stt-skill  { font-size:8px; letter-spacing:.8px; padding:2px 8px; border-radius:10px; border:1px solid var(--border); color:var(--muted); }
.stt-close  { position:absolute; top:10px; right:12px; background:none; border:none; color:var(--muted); font-size:14px; cursor:pointer; padding:4px; transition:color .2s; line-height:1; }
.stt-close:hover { color:var(--text); }

/* ── PROFILES ── */
.profiles { display:grid; grid-template-columns:repeat(3,1fr); gap:20px; }
.profile-card { background:var(--surface); border:1px solid var(--border); border-radius:var(--radius); padding:32px 24px; transition:all .3s ease; }
.profile-card:hover { border-color:var(--gold); transform:translateY(-4px); box-shadow:0 12px 40px rgba(0,0,0,.3); }
.profile-label { font-family:var(--font-display); font-style:italic; font-size:18px; color:var(--gold); margin-bottom:16px; line-height:1.3; }
.profile-card p { font-size:12px; color:var(--text-secondary); line-height:1.9; }

/* ── INSTRUCTOR ── */
.instructor-block { max-width:600px; margin:0 auto; }
.instructor-label { font-size:10px; letter-spacing:4px; text-transform:uppercase; color:var(--gold); margin-bottom:24px; display:flex; align-items:center; gap:12px; }
.instructor-label::before { content:''; width:30px; height:1px; background:var(--gold); }
.instructor-grid { display:flex; gap:24px; align-items:flex-start; }
.instructor-photo { width:80px; height:80px; border-radius:50%; flex-shrink:0; background:var(--surface); border:1px solid var(--border); display:flex; align-items:center; justify-content:center; }
.instructor-name { font-family:var(--font-display); font-weight:400; font-size:22px; margin-bottom:4px; }
.instructor-role { font-size:11px; color:var(--muted); letter-spacing:1px; margin-bottom:12px; }
.instructor-bio  { font-size:13px; color:var(--text-secondary); line-height:1.8; margin-bottom:16px; }
.instructor-built-on { font-size:11px; color:var(--muted); letter-spacing:1px; padding-top:12px; border-top:1px solid var(--border); }

/* ── BATCH / PRICING ── */
.batch-details { text-align:left; margin:24px 0; padding:20px; background:rgba(201,168,76,.04); border:1px solid var(--border); border-radius:10px; display:grid; gap:8px; }
.batch-row   { display:flex; justify-content:space-between; align-items:center; font-size:12px; }
.batch-label { color:var(--muted); }
.batch-value { color:var(--text); font-weight:500; }
.pricing-section { text-align:center; }
.pricing-section h2 { font-family:var(--font-display); font-weight:400; font-size:38px; margin-bottom:40px; }
.pricing-section h2 .gold { color:var(--gold); font-style:italic; }
.pricing-card { max-width:480px; margin:0 auto; background:var(--surface); border:1px solid var(--gold); border-radius:16px; padding:48px 40px; position:relative; overflow:hidden; }
.pricing-card::before { content:''; position:absolute; top:-1px; left:20%; right:20%; height:2px; background:linear-gradient(90deg,transparent,var(--gold),transparent); }
.pricing-card::after  { content:''; position:absolute; inset:0; background:radial-gradient(circle at 50% 0%,var(--gold-glow),transparent 60%); pointer-events:none; }
.pricing-amount    { font-family:var(--font-display); font-size:64px; color:var(--gold); line-height:1; }
.pricing-period    { color:var(--muted); font-size:13px; margin-top:6px; }
.pricing-breakdown { font-size:12px; color:var(--text-secondary); margin-top:16px; padding-top:16px; border-top:1px solid var(--border); }
.pricing-features  { text-align:left; margin:28px 0; display:grid; gap:10px; }
.pricing-feature   { font-size:12px; color:var(--text-secondary); display:flex; align-items:center; gap:10px; }
.pricing-feature .check { color:var(--gold); font-size:14px; }
.qr-container { margin-top:32px; padding-top:24px; border-top:1px solid var(--border); }
.qr-container .qr-label { font-size:10px; letter-spacing:3px; text-transform:uppercase; color:var(--muted); margin-bottom:16px; }
.qr-box { width:180px; height:180px; margin:0 auto; border:2px dashed var(--border-light); border-radius:10px; display:flex; align-items:center; justify-content:center; color:var(--muted); font-size:11px; position:relative; overflow:hidden; }
.qr-box img { position:absolute; inset:0; width:100%; height:100%; object-fit:contain; padding:8px; }

/* ── SEAT TRACKER ── */
.seat-tracker { margin-top:28px; padding-top:24px; border-top:1px solid var(--border); }
.seat-tracker-label { font-size:10px; letter-spacing:3px; text-transform:uppercase; color:var(--muted); margin-bottom:16px; text-align:center; }
.seat-grid { display:grid; grid-template-columns:repeat(9,1fr); gap:6px; max-width:320px; margin:0 auto 16px; }
.seat-dot { aspect-ratio:1; border-radius:5px; background:var(--surface2); border:1px solid var(--border); position:relative; transition:all .4s ease; display:flex; align-items:center; justify-content:center; font-size:9px; color:var(--muted); opacity:.5; }
.seat-dot.filled { background:var(--gold-dim); border-color:var(--gold); opacity:1; }
.seat-dot.filled::after { content:''; position:absolute; inset:3px; background:var(--gold); border-radius:3px; opacity:.6; }
@keyframes seatPulse { 0%,100%{box-shadow:none} 50%{box-shadow:0 0 10px var(--gold-glow)} }
.seat-count     { text-align:center; margin-top:12px; }
.seat-count-num { font-family:var(--font-display); font-size:32px; color:var(--gold); line-height:1; }
.seat-count-label { font-size:10px; letter-spacing:2px; text-transform:uppercase; color:var(--muted); margin-top:4px; }
.seat-urgency { text-align:center; margin-top:10px; font-size:11px; color:var(--gold); opacity:0; transition:opacity .5s ease; }
.seat-urgency.visible { opacity:1; }
.cta-seats { display:flex; align-items:center; justify-content:center; gap:6px; margin-bottom:20px; }
.cta-seat-pip { width:10px; height:10px; border-radius:3px; background:var(--border); transition:all .3s ease; }
.cta-seat-pip.filled { background:var(--gold); opacity:.7; }
.cta-seat-pip.empty  { background:var(--surface2); border:1px solid var(--border); }
.cta-seat-text { font-size:12px; color:var(--gold); font-weight:500; margin-left:8px; }

/* ── FAQ ── */
.faq-list { max-width:640px; margin:0 auto; }
.faq-item { border-bottom:1px solid var(--border); }
.faq-item:first-child { border-top:1px solid var(--border); }
.faq-q { font-size:14px; color:var(--text); padding:20px 0; cursor:pointer; display:flex; align-items:center; justify-content:space-between; line-height:1.5; transition:color .2s ease; }
.faq-q::after { content:'+'; font-size:18px; color:var(--gold); flex-shrink:0; margin-left:16px; transition:transform .3s ease; }
.faq-q:hover { color:var(--gold); }
.faq-item.open .faq-q::after { transform:rotate(45deg); }
.faq-a { font-size:13px; color:var(--text-secondary); line-height:1.9; max-height:0; overflow:hidden; transition:all .35s ease; padding:0; }
.faq-item.open .faq-a { max-height:300px; padding-bottom:20px; }

/* ── CTA ── */
.cta-section { text-align:center; padding:80px 0 100px; }
.cta-section h2 { font-family:var(--font-display); font-weight:400; font-size:clamp(32px,5vw,48px); margin-bottom:12px; }
.cta-section h2 .gold { color:var(--gold); font-style:italic; }
.cta-section p { color:var(--text-secondary); font-size:13px; margin-bottom:32px; }
.cta-section .btn-primary { font-size:13px; padding:16px 36px; }

/* ═══════════════════════════════════════════════════
   JOURNEY PAGE
   ═══════════════════════════════════════════════════ */
.starfield { position:fixed; inset:0; z-index:0; pointer-events:none; }
.starfield canvas { width:100%; height:100%; }
.nebula { position:fixed; inset:0; pointer-events:none; z-index:0; }
.nebula-blob { position:absolute; border-radius:50%; filter:blur(120px); opacity:.04; animation:nebulaFloat 20s ease-in-out infinite; }
.nebula-blob:nth-child(1) { width:600px; height:600px; top:-10%; left:-5%;  background:var(--phase1); animation-delay:0s; }
.nebula-blob:nth-child(2) { width:500px; height:500px; top:30%;  right:-10%; background:var(--phase2); animation-delay:-7s; }
.nebula-blob:nth-child(3) { width:550px; height:550px; bottom:-5%; left:20%; background:var(--phase3); animation-delay:-14s; }
@keyframes nebulaFloat { 0%,100%{transform:translate(0,0) scale(1)} 33%{transform:translate(30px,-20px) scale(1.08)} 66%{transform:translate(-20px,15px) scale(.95)} }
.page-header { position:relative; z-index:10; padding:48px 40px 0; display:flex; justify-content:space-between; align-items:flex-start; }
.back-link { font-size:11px; letter-spacing:1.5px; color:var(--muted); text-decoration:none; transition:color .3s ease; display:flex; align-items:center; gap:8px; }
.back-link:hover { color:var(--gold); }
.header-title { text-align:right; }
.header-title h1 { font-family:var(--font-display); font-weight:400; font-size:clamp(24px,4vw,38px); line-height:1.15; }
.header-title h1 .gold { color:var(--gold); font-style:italic; }
.header-title p { font-size:11px; color:var(--muted); margin-top:6px; letter-spacing:1px; }
.legend { position:fixed; bottom:32px; left:40px; z-index:100; display:flex; flex-direction:column; gap:10px; }
.legend-item { display:flex; align-items:center; gap:10px; font-size:10px; letter-spacing:1.5px; text-transform:uppercase; color:var(--muted); cursor:pointer; transition:all .3s ease; }
.legend-item:hover { color:var(--text); }
.legend-item.active .legend-dot { box-shadow:0 0 12px currentColor; }
.legend-dot { width:8px; height:8px; border-radius:50%; transition:all .3s ease; }
.legend-dot.p1{background:var(--phase1)} .legend-dot.p2{background:var(--phase2)} .legend-dot.p3{background:var(--phase3)}
.constellation-viewport { position:relative; z-index:5; width:100%; height:calc(100vh - 100px); min-height:600px; overflow:hidden; }
.constellation-svg { position:absolute; inset:0; width:100%; height:100%; }
.star-group { cursor:pointer; }
.star-group:hover .star-core  { filter:brightness(1.6); }
.star-group:hover .star-label { opacity:1; }
.star-group:hover .star-halo  { opacity:.6 !important; }
.star-core  { transition:filter .3s ease,r .3s ease; }
.star-halo  { transition:opacity .3s ease; }
.star-label { font-family:var(--font-mono); font-size:9px; letter-spacing:1.5px; text-transform:uppercase; fill:var(--text-secondary); opacity:0; transition:opacity .4s ease; pointer-events:none; }
.star-day-num { font-size:11px; font-weight:300; fill:var(--muted); opacity:.5; pointer-events:none; }
.constellation-line { stroke-linecap:round; transition:opacity .4s ease; }
.detail-panel { position:fixed; right:-420px; top:0; bottom:0; width:400px; background:rgba(8,8,12,.95); backdrop-filter:blur(40px); border-left:1px solid var(--border); z-index:200; padding:48px 36px; transition:right .5s cubic-bezier(.16,1,.3,1); overflow-y:auto; }
.detail-panel.open { right:0; }
.detail-close { position:absolute; top:20px; right:20px; width:36px; height:36px; border-radius:50%; background:transparent; border:1px solid var(--border); color:var(--muted); font-size:16px; cursor:pointer; display:flex; align-items:center; justify-content:center; transition:all .3s ease; }
.detail-close:hover { border-color:var(--text-secondary); color:var(--text); }
.detail-phase-tag { font-size:9px; letter-spacing:3px; text-transform:uppercase; padding:4px 12px; border-radius:20px; display:inline-block; margin-bottom:20px; }
.detail-phase-tag.p1{color:var(--phase1);border:1px solid var(--phase1);background:var(--phase1-dim)}
.detail-phase-tag.p2{color:var(--phase2);border:1px solid var(--phase2);background:var(--phase2-dim)}
.detail-phase-tag.p3{color:var(--phase3);border:1px solid var(--phase3);background:var(--phase3-dim)}
.detail-day-num { font-size:72px; font-weight:300; line-height:1; color:var(--muted); opacity:.2; margin-bottom:-16px; position:relative; z-index:0; }
.detail-title   { font-family:var(--font-display); font-weight:400; font-size:32px; line-height:1.2; margin-bottom:12px; position:relative; z-index:1; }
.detail-brief   { font-size:13px; color:var(--text-secondary); line-height:1.8; margin-bottom:20px; }
.detail-story   { font-size:12px; color:var(--muted); line-height:1.9; margin-bottom:24px; padding-bottom:24px; border-bottom:1px solid var(--border); }
.detail-icon    { font-size:48px; margin-bottom:16px; display:block; }
.detail-skills  { display:flex; flex-wrap:wrap; gap:6px; margin-bottom:28px; }
.detail-skill   { font-size:9px; letter-spacing:1px; padding:4px 12px; border-radius:20px; border:1px solid var(--border); color:var(--muted); transition:all .3s ease; }
.detail-phase-link { display:block; margin-top:16px; padding:14px 20px; border:1px solid var(--border); border-radius:10px; text-decoration:none; font-size:11px; letter-spacing:1px; color:var(--text-secondary); text-align:center; transition:all .3s ease; }
.detail-phase-link:hover { border-color:var(--gold); color:var(--gold); }
.detail-nav { display:flex; justify-content:space-between; margin-top:20px; }
.detail-nav-btn { font-size:10px; letter-spacing:1.5px; text-transform:uppercase; color:var(--muted); background:none; border:none; cursor:pointer; padding:8px 0; transition:color .3s ease; }
.detail-nav-btn:hover { color:var(--gold); }
.detail-nav-btn.disabled { opacity:.2; pointer-events:none; }
.panel-overlay { position:fixed; inset:0; background:rgba(0,0,0,.4); z-index:150; opacity:0; pointer-events:none; transition:opacity .4s ease; }
.panel-overlay.active { opacity:1; pointer-events:all; }
.phase-progress { position:fixed; top:32px; left:50%; transform:translateX(-50%); z-index:100; display:flex; gap:4px; align-items:center; }
.phase-pip { width:6px; height:6px; border-radius:50%; opacity:.25; transition:all .3s ease; }
.phase-pip.p1{background:var(--phase1)} .phase-pip.p2{background:var(--phase2)} .phase-pip.p3{background:var(--phase3)}
.phase-pip.lit { opacity:1; box-shadow:0 0 6px currentColor; }
.phase-gap { width:8px; }
@keyframes fadeInStar { from{opacity:0;transform:scale(.3)} to{opacity:1;transform:scale(1)} }
@keyframes pulse-glow { 0%,100%{opacity:.15} 50%{opacity:.35} }
@keyframes twinkle    { 0%,100%{opacity:.3}  50%{opacity:.8}  }

/* ═══════════════════════════════════════════════════
   PHASE PAGES (phase1/2/3.html)
   ═══════════════════════════════════════════════════ */
.phase-hero { padding:60px 0 48px; position:relative; overflow:hidden; }
.phase-hero-glow { position:absolute; width:500px; height:500px; top:-150px; right:-100px; background:radial-gradient(circle,var(--accent-glow),transparent 70%); pointer-events:none; }
.phase-hero-inner { position:relative; z-index:2; }
.phase-back { display:inline-flex; align-items:center; gap:8px; color:var(--muted); text-decoration:none; font-size:12px; letter-spacing:1px; margin-bottom:32px; transition:color .2s ease; }
.phase-back:hover { color:var(--accent); }
.phase-tag { display:inline-block; font-size:10px; letter-spacing:3px; text-transform:uppercase; color:var(--accent); padding:4px 14px; border-radius:20px; border:1px solid var(--accent); background:var(--accent-dim); margin-bottom:16px; }
.phase-hero h1 { font-family:var(--font-display); font-weight:400; font-size:clamp(36px,6vw,56px); line-height:1.1; margin-bottom:16px; }
.phase-hero h1 .accent { color:var(--accent); font-style:italic; }
.phase-hero p { font-size:14px; color:var(--text-secondary); max-width:600px; line-height:1.9; }
.phase-nav-row { display:flex; justify-content:space-between; align-items:center; padding:20px 0; margin-top:20px; border-top:1px solid var(--border); }
.phase-nav-link { font-size:11px; letter-spacing:1.5px; text-transform:uppercase; color:var(--muted); text-decoration:none; transition:color .2s ease; }
.phase-nav-link:hover { color:var(--accent); }
.phase-nav-link.disabled { opacity:.3; pointer-events:none; }

/* Phase track */
.track-section { padding:0 0 80px; position:relative; }
.track-ambient { position:absolute; inset:0; pointer-events:none; background:radial-gradient(ellipse 80% 60% at 50% 80%,var(--accent-glow),transparent 70%); }
.track-wrapper { position:relative; z-index:2; }
.track-nav { position:absolute; top:50%; transform:translateY(-50%); width:48px; height:48px; border-radius:50%; background:rgba(17,17,20,.9); border:1px solid var(--border); color:var(--text); display:flex; align-items:center; justify-content:center; cursor:pointer; z-index:20; font-size:18px; transition:all .3s ease; backdrop-filter:blur(8px); }
.track-nav:hover { border-color:var(--accent); color:var(--accent); transform:translateY(-50%) scale(1.08); }
.track-nav.disabled { opacity:.15; pointer-events:none; }
.track-nav-left  { left:12px; }
.track-nav-right { right:12px; }
.track { display:flex; gap:20px; overflow-x:auto; overflow-y:hidden; scroll-snap-type:x mandatory; scroll-behavior:smooth; padding:20px 60px 32px; -ms-overflow-style:none; scrollbar-width:none; cursor:grab; }
.track:active { cursor:grabbing; }
.track::-webkit-scrollbar { display:none; }
.day-frame { flex-shrink:0; width:300px; scroll-snap-align:center; transition:transform .4s cubic-bezier(.16,1,.3,1); }
.day-frame:hover { transform:translateY(-8px); }
.day-frame:hover .day-inner { border-color:var(--border-light); box-shadow:0 20px 60px rgba(0,0,0,.5); }
.day-inner { background:var(--surface); border:1px solid var(--border); border-radius:14px; overflow:hidden; transition:all .4s ease; position:relative; }
.day-inner::before { content:''; position:absolute; top:0; left:0; right:0; height:2px; z-index:2; background:linear-gradient(90deg,transparent,var(--accent),transparent); }
.day-img { width:100%; height:200px; position:relative; overflow:hidden; }
.day-img .placeholder { width:100%; height:100%; display:flex; align-items:center; justify-content:center; font-size:56px; background:linear-gradient(135deg,#0d0d10,#1a1a20 50%,var(--accent-dim)); }
.day-img img { position:absolute; inset:0; width:100%; height:100%; object-fit:cover; }
.day-num-overlay { position:absolute; top:12px; left:14px; font-family:var(--font-display); font-size:52px; font-weight:700; line-height:1; opacity:.12; color:#fff; pointer-events:none; }
.day-dot { position:absolute; top:12px; right:14px; width:10px; height:10px; border-radius:50%; background:var(--accent); border:2px solid rgba(255,255,255,.3); }
.day-info { padding:20px 22px 22px; }
.day-label { font-size:9px; letter-spacing:3px; text-transform:uppercase; color:var(--accent); margin-bottom:8px; }
.day-title { font-family:var(--font-display); font-weight:400; font-size:22px; line-height:1.25; margin-bottom:8px; }
.day-brief { font-size:12px; color:var(--text-secondary); line-height:1.7; margin-bottom:10px; }
.day-story { font-size:11px; color:var(--muted); line-height:1.8; margin-bottom:14px; }
.day-skills { display:flex; flex-wrap:wrap; gap:5px; }
.day-skills .sk { font-size:9px; padding:3px 9px; border-radius:12px; border:1px solid var(--border); color:var(--muted); transition:all .2s ease; }
.day-frame:hover .sk { color:var(--accent); border-color:rgba(91,155,213,.3); }
.track-hint { text-align:center; margin-top:20px; font-size:10px; letter-spacing:2px; text-transform:uppercase; color:var(--muted); opacity:.5; }
.track-dots { display:flex; justify-content:center; gap:8px; margin-top:24px; }
.track-dot { width:8px; height:8px; border-radius:50%; background:var(--border); transition:all .3s ease; cursor:pointer; }
.track-dot.active { background:var(--accent); box-shadow:0 0 8px var(--accent-glow); }

/* ═══════════════════════════════════════════════════
   DASHBOARD — Shared (Student + Instructor)
   ═══════════════════════════════════════════════════ */
.dash-container { max-width:700px; margin:0 auto; padding:24px; }
.dash-container.wide { max-width:900px; }
.dash-header { display:flex; justify-content:space-between; align-items:center; margin-bottom:32px; padding-bottom:16px; border-bottom:1px solid var(--border); }
.dash-header h1 { font-family:var(--font-serif); font-weight:400; font-size:24px; }
.dash-header .user-info { font-size:12px; color:var(--muted); }
.dash-header .badge { background:var(--gold); color:var(--bg); padding:2px 10px; border-radius:4px; font-size:11px; letter-spacing:1px; text-transform:uppercase; }
.streak-bar { display:flex; gap:6px; margin-bottom:32px; flex-wrap:wrap; }
.streak-dot { width:20px; height:20px; border-radius:4px; border:1px solid var(--border); background:var(--surface); font-size:8px; display:flex; align-items:center; justify-content:center; color:var(--muted); transition:all .3s ease; }
.streak-dot.done  { background:var(--gold); border-color:var(--gold); color:var(--bg); }
.streak-dot.today { border-color:var(--gold-light); box-shadow:0 0 8px var(--gold-glow); }
.tabs { display:flex; gap:4px; margin-bottom:20px; }
.tab { padding:8px 16px; font-size:12px; border-radius:6px; cursor:pointer; color:var(--muted); background:transparent; border:1px solid var(--border); font-family:var(--font-dm); transition:all .2s ease; }
.tab.active { color:var(--gold); border-color:var(--gold); background:rgba(201,168,76,.06); }
.tab:hover:not(.active) { border-color:var(--border-light); color:var(--text-secondary); }
.card { background:var(--surface); border:1px solid var(--border); border-radius:10px; padding:24px; margin-bottom:20px; }
.card h2 { font-family:var(--font-serif); font-weight:400; font-size:22px; color:var(--gold-light); margin-bottom:8px; }
.card .day-num { font-size:11px; letter-spacing:3px; text-transform:uppercase; color:var(--gold); margin-bottom:8px; }
.card .desc { font-size:13px; color:var(--muted); }
.form-row { display:flex; gap:8px; margin-top:16px; }
input[type="text"] { flex:1; background:var(--bg); border:1px solid var(--border); color:var(--text); padding:10px 14px; border-radius:6px; font-family:var(--font-dm); font-size:13px; transition:border-color .2s ease; }
input:focus { outline:none; border-color:var(--gold); }
button { background:var(--gold); color:var(--bg); border:none; padding:10px 20px; border-radius:6px; font-family:var(--font-dm); font-size:12px; letter-spacing:1px; cursor:pointer; text-transform:uppercase; transition:all .2s ease; }
button:hover    { background:var(--gold-light); }
button:disabled { opacity:.4; cursor:default; }
button.secondary { background:transparent; border:1px solid var(--border); color:var(--muted); }
button.secondary:hover { border-color:var(--gold); color:var(--gold); }
.status { margin-top:12px; font-size:12px; padding:8px 12px; border-radius:6px; }
.status.success   { background:rgba(74,222,128,.1); color:var(--green); }
.status.submitted { background:rgba(201,168,76,.1); color:var(--gold); }
.peer-card { margin-top:16px; padding:16px; background:var(--bg); border-radius:8px; border:1px solid var(--border); }
.peer-card .peer-name { font-size:13px; color:var(--gold-light); }
.peer-card .peer-link { font-size:12px; color:var(--muted); word-break:break-all; }
.peer-card .peer-link a { color:var(--gold); text-decoration:none; }
.leaderboard { width:100%; border-collapse:collapse; }
.leaderboard th { font-size:11px; text-transform:uppercase; letter-spacing:2px; color:var(--muted); text-align:left; padding:8px 12px; border-bottom:1px solid var(--border); }
.leaderboard td { font-size:13px; padding:10px 12px; border-bottom:1px solid var(--border); }
.leaderboard tr:hover { background:rgba(201,168,76,.04); }
.rank-1 td:first-child { color:var(--gold); }
.me td { background:rgba(201,168,76,.08); }
.day-nav { display:flex; align-items:center; gap:12px; margin-bottom:20px; }
.day-nav button { background:var(--surface); border:1px solid var(--border); color:var(--text); padding:6px 14px; border-radius:6px; cursor:pointer; font-family:var(--font-dm); font-size:13px; }
.day-nav button:hover { border-color:var(--gold); }
.day-nav .current { font-size:14px; color:var(--gold); }
.sub-row { display:grid; grid-template-columns:1fr 1fr auto auto; gap:12px; align-items:center; padding:14px 0; border-bottom:1px solid var(--border); }
.sub-row:last-child { border-bottom:none; }
.sub-name { font-size:14px; }
.sub-name small { color:var(--muted); font-size:11px; }
.sub-link { font-size:12px; word-break:break-all; }
.sub-link a { color:var(--gold); text-decoration:none; }
.sub-link a:hover { text-decoration:underline; }
.grade-form { display:flex; gap:6px; align-items:center; }
.grade-form select { background:var(--bg); border:1px solid var(--border); color:var(--text); padding:6px 10px; border-radius:4px; font-family:var(--font-dm); font-size:12px; }
.grade-form button { padding:6px 12px; font-size:11px; }
.graded { color:var(--green); font-size:13px; font-weight:500; }
.peer-count { font-size:11px; color:var(--muted); }
.instructor-table { width:100%; border-collapse:collapse; }
.instructor-table th { font-size:11px; text-transform:uppercase; letter-spacing:2px; color:var(--muted); text-align:left; padding:8px 10px; border-bottom:1px solid var(--border); }
.instructor-table td { font-size:13px; padding:10px; border-bottom:1px solid var(--border); }
.stats-grid { display:grid; grid-template-columns:repeat(4,1fr); gap:12px; margin-bottom:24px; }
.stat-box { background:var(--surface); border:1px solid var(--border); border-radius:8px; padding:16px; text-align:center; }
.stat-box .num   { font-size:28px; color:var(--gold); font-family:var(--font-display); }
.stat-box .label { font-size:10px; color:var(--muted); text-transform:uppercase; letter-spacing:2px; margin-top:4px; }
.empty   { text-align:center; color:var(--muted); font-size:13px; padding:32px; }
.loading { text-align:center; color:var(--muted); padding:48px; }

/* ═══════════════════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════════════════ */
@media (max-width:768px) {
  .container { padding:0 20px; }
  .section { padding:56px 0; }
  .hero { min-height:auto; padding:80px 0 48px; }
  .hero h1 { font-size:clamp(32px,9vw,48px); margin-bottom:16px; }
  .hero-sub { font-size:13px; margin-bottom:28px; }
  .hero-tag { margin-bottom:16px; font-size:10px; }
  .hero-stats { gap:20px; flex-wrap:wrap; margin-top:36px; padding-top:24px; }
  .hero-stat .num { font-size:32px; }
  .hero-ticker-text { max-width:240px; }
  .hero-showcase { gap:8px; margin-bottom:14px; }
  .hero-showcase-title { font-size:20px; }
  .hero-glow { width:300px; height:300px; top:-80px; right:-60px; }
  .format-grid { grid-template-columns:1fr; gap:24px; }
  .format-text h2 { font-size:28px; }
  .format-media { min-height:220px; }
  .steps-header { margin-bottom:32px; }
  .steps-header h2 { font-size:28px; }
  .steps-row { grid-template-columns:1fr; gap:24px; }
  .steps-row::before { display:none; }
  .starmap-wrap { height:400px; border-radius:12px; }
  .starmap-legend { gap:14px; margin-top:14px; }
  .starmap-phase-links { flex-direction:column; align-items:center; gap:8px; margin-top:12px; }
  .starmap-tooltip { width:210px; padding:14px; }
  .profiles { grid-template-columns:1fr; gap:16px; }
  .instructor-grid { flex-direction:column; align-items:center; text-align:center; }
  .faq-q { font-size:13px; padding:16px 0; }
  .pricing-section h2 { font-size:28px; margin-bottom:24px; }
  .pricing-card { padding:28px 20px; }
  .pricing-amount { font-size:44px; }
  .seat-grid { gap:4px; max-width:260px; }
  .cta-section { padding:48px 0 64px; }
  .cta-section h2 { font-size:26px; }
  .timeline { padding-left:80px; }
  .timeline::before { left:64px; }
  .timeline-time { left:-80px; width:60px; font-size:10px; }
  .sub-row { grid-template-columns:1fr; gap:8px; }
  .stats-grid { grid-template-columns:repeat(2,1fr); }
  .page-header { padding:24px 20px 0; flex-direction:column; gap:12px; }
  .header-title { text-align:left; }
  .legend { bottom:16px; left:16px; }
  .detail-panel { width:100%; right:-100%; }
  .detail-panel.open { right:0; }
  .phase-progress { top:auto; bottom:60px; }
  .day-frame { width:260px; }
  .day-img { height:160px; }
  .track { padding:20px 44px 32px; gap:14px; }
  .track-nav { width:40px; height:40px; font-size:14px; }
  .track-nav-left  { left:4px; }
  .track-nav-right { right:4px; }
}
@media (max-width:480px) {
  .hero { padding:60px 0 36px; }
  .hero h1 { font-size:28px; }
  .hero-cta-row { flex-direction:column; align-items:stretch; gap:10px; }
  .btn-primary, .btn-secondary { padding:12px 20px; font-size:11px; justify-content:center; }
  .hero-stats { flex-direction:row; gap:0; justify-content:space-between; }
  .hero-stat .num { font-size:28px; }
  .hero-showcase-title { font-size:18px; }
  .hero-ticker { display:none; }
  .starmap-wrap { height:320px; }
  .starmap-legend { flex-direction:column; align-items:center; gap:8px; }
  .pricing-amount { font-size:36px; }
  .cta-section { padding:36px 0 48px; }
  .timeline { padding-left:0; }
  .timeline::before, .timeline-item::before { display:none; }
  .timeline-time { position:static; width:auto; text-align:left; margin-bottom:4px; font-size:11px; }
  .timeline-item { padding-left:0; padding-bottom:20px; }
  .day-frame { width:240px; }
  .phase-hero h1 { font-size:32px; }
}

/* ═══════════════════════════════════════════════════
   CLOCK / LOOP SECTION
   ═══════════════════════════════════════════════════ */
.loop-section { width:100%; display:flex; flex-direction:column; align-items:center; gap:44px; }
.loop-header  { text-align:center; }
.loop-eyebrow {
  font-size:10px; letter-spacing:4px; text-transform:uppercase; color:var(--gold); margin-bottom:16px;
  display:flex; align-items:center; justify-content:center; gap:12px;
}
.loop-eyebrow::before, .loop-eyebrow::after { content:''; width:32px; height:1px; background:var(--gold); }
.loop-header h2 { font-family:var(--font-display); font-weight:400; font-size:clamp(22px,5vw,34px); line-height:1.15; }
.loop-header h2 .gold { color:var(--gold); font-style:italic; }

.clock-wrap      { position:relative; width:min(364px,92vw); aspect-ratio:1; margin:0 auto; }
.clock-ring      { position:absolute; inset:0; border-radius:50%; border:1px solid var(--border); }
.clock-ring-2    { position:absolute; inset:8px; border-radius:50%; border:1px dashed rgba(201,168,76,0.08); }
.clock-ring-glow { position:absolute; inset:-2px; border-radius:50%; background:radial-gradient(circle,transparent 45%,rgba(201,168,76,0.03) 70%,transparent 100%); pointer-events:none; }
.clock-ticks     { position:absolute; inset:0; }
.clock-tick      { position:absolute; top:50%; left:50%; width:1px; height:10px; background:var(--border-light); transform-origin:0 0; border-radius:1px; }
.clock-tick.major { height:14px; background:rgba(201,168,76,0.25); width:1.5px; }

.clock-center-content {
  position:absolute; top:50%; left:50%; transform:translate(-50%,-50%);
  width:50%; text-align:center; z-index:18; pointer-events:none;
  display:flex; flex-direction:column; align-items:center; gap:8px;
  transition:opacity .3s ease;
}
.clock-center-content.fading { opacity:0; }
.ccc-icon  { font-size:20px; line-height:1; }
.ccc-title { font-size:8px; letter-spacing:2px; text-transform:uppercase; color:var(--gold); }
.ccc-desc  { font-size:8px; color:var(--text-secondary); line-height:1.7; }

.clock-center {
  position:absolute; top:50%; left:50%; transform:translate(-50%,-50%);
  width:7px; height:7px; border-radius:50%; background:var(--gold);
  box-shadow:0 0 14px var(--gold-glow),0 0 4px var(--gold); z-index:20;
}
.clock-center-ring {
  position:absolute; top:50%; left:50%; transform:translate(-50%,-50%);
  width:17px; height:17px; border-radius:50%; border:1px solid rgba(201,168,76,0.2); z-index:19;
}
.clock-hand-wrap { position:absolute; inset:0; animation:sweep 27s linear infinite; transform-origin:center; z-index:15; }
@keyframes sweep { from{transform:rotate(0deg)} to{transform:rotate(360deg)} }
.clock-hand {
  position:absolute; top:50%; left:50%; width:2px; height:40%;
  transform-origin:bottom center; transform:translateX(-50%) translateY(-100%);
  background:linear-gradient(to top,var(--gold),rgba(201,168,76,0.3));
  border-radius:2px 2px 0 0; box-shadow:0 0 8px rgba(201,168,76,0.4);
}
.clock-hand::after {
  content:''; position:absolute; top:-4px; left:50%; transform:translateX(-50%);
  width:6px; height:6px; border-radius:50%; background:var(--gold-light); box-shadow:0 0 12px var(--gold);
}
.clock-hand-thin {
  position:absolute; top:50%; left:50%; width:1px; height:44%;
  transform-origin:bottom center; transform:translateX(-50%) translateY(-100%);
  background:rgba(201,168,76,0.15); border-radius:1px;
}

.clock-node { position:absolute; display:flex; flex-direction:column; align-items:center; transition:all .5s cubic-bezier(.16,1,.3,1); cursor:default; }
.clock-node.node-12 { top:0; left:50%; transform:translateX(-50%) translateY(-50%); }
.clock-node.node-3  { top:50%; right:0; transform:translateX(50%) translateY(-50%); }
.clock-node.node-6  { bottom:0; left:50%; transform:translateX(-50%) translateY(50%); }
.clock-node.node-9  { top:50%; left:0; transform:translateX(-50%) translateY(-50%); }
.clock-node .node-dot {
  width:34px; height:34px; border-radius:50%; background:var(--surface);
  border:1px solid var(--border-light); display:flex; align-items:center; justify-content:center;
  font-size:14px; transition:all .5s cubic-bezier(.16,1,.3,1); position:relative; z-index:10; flex-shrink:0;
}
.clock-node .node-dot::before {
  content:''; position:absolute; inset:-4px; border-radius:50%;
  border:1px solid var(--gold); opacity:0; transition:opacity .4s ease;
}
.clock-node .node-label { font-size:10px; letter-spacing:2px; text-transform:uppercase; color:var(--muted); margin-top:7px; transition:color .4s ease; text-align:center; white-space:nowrap; }
.clock-node .node-step  { position:absolute; font-size:9px; letter-spacing:2px; color:rgba(201,168,76,0.25); }
.clock-node.node-12 .node-step { top:36px; }
.clock-node.node-3  .node-step { left:-24px; top:0; }
.clock-node.node-6  .node-step { bottom:36px; }
.clock-node.node-9  .node-step { right:-24px; top:0; }
.clock-node.active .node-dot { background:var(--gold-dim); border-color:var(--gold); box-shadow:0 0 30px var(--gold-glow),0 0 60px rgba(201,168,76,0.06); }
.clock-node.active .node-dot::before { opacity:1; }
.clock-node.active .node-label { color:var(--gold); }

.loop-tagline { text-align:center; font-family:var(--font-display); font-style:italic; font-size:clamp(13px,2vw,18px); color:var(--text-secondary); line-height:1.5; }
.loop-tagline strong { color:var(--text); font-style:normal; font-weight:400; }

@media (max-width:600px) {
  .clock-wrap { width:88vw; }
  .clock-node .node-dot { width:28px; height:28px; font-size:12px; }
  .clock-node .node-label { font-size:9px; margin-top:6px; }
  .ccc-icon { font-size:16px; }
  .ccc-desc { font-size:7px; }
}

/* ── TIMELINE — staggered reveal + punch closer ── */
.timeline-item.reveal         { transition-delay: 0s; }
.timeline-item.reveal:nth-child(1) { transition-delay: 0s; }
.timeline-item.reveal:nth-child(2) { transition-delay: 0.1s; }
.timeline-item.reveal:nth-child(3) { transition-delay: 0.2s; }
.timeline-item.reveal:nth-child(4) { transition-delay: 0.3s; }
.timeline-item.reveal:nth-child(5) { transition-delay: 0.4s; }
.timeline-item.reveal:nth-child(6) { transition-delay: 0.5s; }

.timeline-closer {
  text-align: center;
  font-family: var(--font-display);
  font-size: clamp(18px, 3vw, 26px);
  color: var(--text-secondary);
  margin-top: 28px; padding-top: 28px;
  border-top: 1px solid var(--border);
  line-height: 1.4;
  font-style: italic;
}
.timeline-punch {
  display: block;
  font-family: var(--font-display);
  font-style: normal;
  font-weight: 700;
  font-size: clamp(28px, 5vw, 52px);
  color: var(--gold);
  letter-spacing: -0.5px;
  margin-top: 8px;
  text-shadow: 0 0 60px rgba(201,168,76,0.25);
}

/* ── MOBILE FIXES ── */

/* CTA seat pips — wrap instead of overflow */
.cta-seats {
  flex-wrap: wrap;
  max-width: 340px;
  margin-left: auto;
  margin-right: auto;
}

/* Loop header h2 — fix vw floor on small screens */
.loop-header h2 {
  font-size: clamp(22px, 5vw, 34px);
}

@media (max-width: 768px) {
  /* CTA h2 line break help */
  .cta-section h2 {
    font-size: clamp(22px, 6vw, 32px);
  }

  /* Seat pips smaller on mobile so they don't wrap badly */
  .cta-seat-pip {
    width: 8px;
    height: 8px;
  }
}

@media (max-width: 480px) {
  /* Clock even tighter */
  .format-grid .clock-wrap {
    width: min(280px, 82vw);
  }

  /* Node labels hide on very small screens to avoid clipping */
  .clock-node .node-label {
    display: none;
  }

  /* CTA seat pips tiny */
  .cta-seat-pip {
    width: 6px;
    height: 6px;
    border-radius: 2px;
  }
  .cta-seats {
    gap: 4px;
  }
}

/* ── CLOCK LAYOUT FIX ── */

/* Right column — flex column, centered */
.loop-col {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 28px;
  width: 100%;
}

/* Wrapper that absorbs node overflow on left/right */
.clock-outer {
  /* nodes at 3+9 o'clock push out by ~50% of node width (~17px) + label width */
  /* give horizontal padding so they don't clip parent */
  padding: 0 80px;
  width: 100%;
  display: flex;
  justify-content: center;
  box-sizing: border-box;
}

/* clock-wrap itself stays square and centred */
.clock-outer .clock-wrap {
  width: min(300px, 100%);
  flex-shrink: 0;
}

/* On desktop the format-grid gives enough room — loosen padding */
@media (min-width: 769px) {
  .clock-outer {
    padding: 0 60px;
  }
}

/* On mobile, stack properly */
@media (max-width: 768px) {
  .clock-outer {
    padding: 0 56px; /* accommodate node-dot + label on sides */
  }
  .clock-outer .clock-wrap {
    width: min(260px, 100%);
  }
  /* Keep labels but trim font */
  .clock-node .node-label {
    display: block;
    font-size: 8px;
    letter-spacing: 1px;
    margin-top: 5px;
  }
}

@media (max-width: 400px) {
  .clock-outer {
    padding: 0 44px;
  }
  .clock-outer .clock-wrap {
    width: min(220px, 100%);
  }
  /* Hide labels at very small — dots + center text is enough */
  .clock-node .node-label {
    display: none;
  }
  .clock-node .node-step {
    display: none;
  }
}
