/* =========================================================
   Pdyssey — AI builder school by ENLOVUE
   ENLOVUE DNA: paper + ink, signal orange, Instrument Serif italic
   accents, mono labels "(01)". Dark "voyage" chapters (hero,
   journey, waitlist) frame light, readable course chapters.
   ========================================================= */

:root {
  --ink: #0d0c0a;
  --ink-2: #15130f;
  --ink-3: #1e1b16;
  --paper: #ede8df;
  --paper-2: #e5dfd4;
  --card: #f6f2eb;
  --text: #141310;
  --muted: #615c53;
  --muted-2: #898275;
  --cream: #f3eee5;
  --cream-muted: rgba(243, 238, 229, 0.62);
  --cream-dim: rgba(243, 238, 229, 0.38);
  --line: rgba(20, 19, 16, 0.14);
  --line-soft: rgba(20, 19, 16, 0.08);
  --line-dark: rgba(243, 238, 229, 0.12);
  --accent: #ff4a1a;
  --accent-deep: #e63b0c;
  --lime: #dcff45;
  --blue: #2437f0;
  --amber: #ffb347;

  --serif: 'Instrument Serif', 'Times New Roman', Georgia, serif;
  --sans: 'Inter Tight', 'Pretendard Variable', Pretendard, -apple-system, BlinkMacSystemFont, 'Apple SD Gothic Neo', 'Malgun Gothic', sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;

  --gutter: clamp(20px, 3.4vw, 52px);
  --radius: 22px;
  --radius-sm: 14px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --notice-h: 38px;
  --nav-h: 64px;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-h) + 12px);
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  overflow-x: clip;
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--text);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.7;
  letter-spacing: -0.01em;
  word-break: keep-all;
  overflow-wrap: break-word;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
}
/* film grain, as on ENLOVUE LAB */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 300;
  pointer-events: none;
  opacity: 0.045;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='180' height='180'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
}
img, svg, canvas { display: block; max-width: 100%; }
a { color: inherit; }
button, input, select { font: inherit; color: inherit; }
h1, h2, h3, p, ul, ol { margin: 0; }
ul, ol { padding: 0; list-style: none; }
::selection { background: rgba(255, 74, 26, 0.3); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
.mono { font-family: var(--mono); }
.sr-only {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: fixed; left: 16px; top: -60px; z-index: 1000;
  padding: 10px 16px; border-radius: 10px; background: var(--accent); color: #1b0e07; font-weight: 700;
  text-decoration: none; transition: top 0.3s var(--ease);
}
.skip-link:focus { top: 16px; }
.container { width: min(1280px, calc(100% - var(--gutter) * 2)); margin-inline: auto; }
.br-pc { display: none; }
@media (min-width: 900px) { .br-pc { display: inline; } }
em { font-style: normal; }

/* ---------- buttons ---------- */
.btn {
  position: relative;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 14px 22px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 600; font-size: 15px; letter-spacing: -0.01em;
  text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: background 0.3s var(--ease), color 0.3s var(--ease), border-color 0.3s var(--ease), transform 0.4s var(--ease);
}
.btn-sm { padding: 9px 16px; font-size: 13.5px; }
.btn-lg { padding: 17px 28px; font-size: 16px; }
.btn-accent { background: var(--accent); color: #fff; }
.btn-accent:hover { background: var(--accent-deep); }
.btn-ghost { border-color: rgba(243, 238, 229, 0.28); color: var(--cream); background: rgba(243, 238, 229, 0.04); }
.btn-ghost:hover { border-color: var(--cream); background: rgba(243, 238, 229, 0.1); }
.btn-arrow { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: transform 0.4s var(--ease); }
.btn:hover .btn-arrow { transform: translateX(4px); }
.btn[disabled] { opacity: 0.6; cursor: progress; }

/* ---------- notice bar ---------- */
.notice {
  position: relative; z-index: 60;
  display: flex; align-items: center; justify-content: center; gap: 12px;
  height: var(--notice-h);
  padding: 0 var(--gutter);
  background: var(--accent); color: #fff;
  font-size: 13px; letter-spacing: -0.01em;
  white-space: nowrap; overflow: hidden;
}
.notice b { font-weight: 700; }
.notice-sep { margin: 0 8px; opacity: 0.6; }
.notice-dot { width: 7px; height: 7px; border-radius: 50%; background: #fff; flex: none; animation: blink 1.6s var(--ease) infinite; }
.notice-link { color: #fff; font-weight: 600; text-decoration: none; padding: 3px 10px; border-radius: 999px; background: rgba(255, 255, 255, 0.16); }
.notice-link:hover { background: rgba(255, 255, 255, 0.28); }
@keyframes blink { 0%, 100% { opacity: 1; } 50% { opacity: 0.3; } }
@media (max-width: 560px) { .notice-fallback, .notice-sep { display: none; } .notice { font-size: 12px; } }

/* ---------- nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  display: flex; align-items: center; gap: 28px;
  height: var(--nav-h);
  padding: 0 var(--gutter);
  color: var(--cream);
  background: rgba(13, 12, 10, 0.55);
  -webkit-backdrop-filter: blur(14px) saturate(1.2);
  backdrop-filter: blur(14px) saturate(1.2);
  border-bottom: 1px solid var(--line-dark);
  transition: background 0.4s var(--ease), color 0.4s var(--ease), border-color 0.4s var(--ease);
}
.nav.is-light { background: rgba(237, 232, 223, 0.82); color: var(--text); border-color: var(--line); }
.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; margin-right: auto; }
.logo-mark { position: relative; width: 22px; height: 22px; border-radius: 50%; border: 2px solid currentColor; flex: none; }
.logo-mark i { position: absolute; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); top: -4px; right: -4px; animation: orbit 6s linear infinite; transform-origin: -3px 15px; }
@keyframes orbit { to { transform: rotate(360deg); } }
.logo-name { font-weight: 650; font-size: 18px; letter-spacing: -0.03em; }
.logo-name sup { font-size: 8px; font-weight: 500; margin-left: 1px; }
.logo-by { font-size: 10px; letter-spacing: 0.1em; text-transform: uppercase; opacity: 0.55; padding-left: 10px; border-left: 1px solid currentColor; border-color: color-mix(in srgb, currentColor 30%, transparent); }
.nav-links { display: flex; gap: 26px; font-size: 14px; }
.nav-links a { text-decoration: none; opacity: 0.72; transition: opacity 0.2s; }
.nav-links a:hover, .nav-links a.is-active { opacity: 1; }
.nav-toggle { display: none; width: 40px; height: 40px; border: 0; background: none; padding: 0; position: relative; cursor: pointer; }
.nav-toggle span { position: absolute; left: 10px; right: 10px; height: 1.5px; background: currentColor; transition: transform 0.35s var(--ease); }
.nav-toggle span:first-child { top: 16px; }
.nav-toggle span:last-child { top: 23px; }
.nav-toggle[aria-expanded="true"] span:first-child { transform: translateY(3.5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:last-child { transform: translateY(-3.5px) rotate(-45deg); }
.mobile-menu {
  position: fixed; inset: 0; z-index: 45;
  padding: calc(var(--nav-h) + var(--notice-h) + 24px) var(--gutter) 40px;
  background: var(--ink); color: var(--cream);
}
.mobile-menu nav { display: grid; gap: 4px; }
.mobile-menu a { display: flex; align-items: baseline; gap: 14px; padding: 12px 0; font-size: 30px; font-weight: 600; letter-spacing: -0.04em; text-decoration: none; border-bottom: 1px solid var(--line-dark); }
.mobile-menu small { font-size: 11px; color: var(--accent); font-weight: 400; letter-spacing: 0.06em; }
.mobile-menu-cta { color: var(--accent); }
@media (max-width: 960px) {
  .nav-links, .nav-cta { display: none; }
  .nav-toggle { display: block; }
  .logo-by { display: none; }
}

/* ---------- labels & section heads ---------- */
.label { font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
.label span { color: var(--accent); margin-right: 8px; }
.label-light { color: var(--cream-muted); }
.section { padding-block: clamp(88px, 11vw, 160px); }
.section-head { display: grid; gap: 18px; max-width: 760px; margin-bottom: clamp(40px, 5vw, 72px); }
.section-head-row { max-width: none; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); align-items: end; gap: 24px 64px; }
.section-head-row > div { display: grid; gap: 18px; }
@media (max-width: 860px) { .section-head-row { grid-template-columns: 1fr; } }
.section-title { font-size: clamp(34px, 5.2vw, 68px); font-weight: 600; line-height: 1.08; letter-spacing: -0.05em; }
/* Korean headlines: the highlight is colour, not italics (Instrument Serif has no Hangul).
   Latin words can use .it for ENLOVUE's serif italic. */
.section-title em, .hero-title em, .waitlist-title em { color: var(--accent); }
.it { font-family: var(--serif); font-style: italic; font-weight: 400; letter-spacing: -0.01em; }
.section-lede { font-size: clamp(16px, 1.3vw, 18px); color: var(--muted); max-width: 620px; }
.section-lede b { color: var(--text); font-weight: 600; }
.section-lede a { color: var(--accent); }
.section-head-dark .label { color: var(--cream-muted); }
.section-head-dark .section-lede { color: var(--cream-muted); }
.section-head-dark .section-lede b { color: var(--cream); }

/* ---------- reveal ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(26px); transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); transition-delay: calc(var(--d, 0) * 90ms); }
.js [data-reveal].is-in { opacity: 1; transform: none; }

/* =========================================================
   HERO
   ========================================================= */
.hero {
  position: relative;
  min-height: max(640px, calc(100svh - var(--notice-h)));
  margin-top: calc(var(--nav-h) * -1);
  padding: calc(var(--nav-h) + clamp(40px, 7vh, 80px)) 0 clamp(90px, 12vh, 130px);
  display: grid; align-items: center;
  background: radial-gradient(120% 90% at 50% 0%, #1a1611 0%, var(--ink) 60%);
  color: var(--cream);
  overflow: hidden;
  isolation: isolate;
}
.hero-canvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; touch-action: pan-y; }
.hero-glow {
  position: absolute; z-index: -1; left: 50%; top: 42%; width: min(900px, 120vw); aspect-ratio: 1.6;
  transform: translate(-50%, -50%);
  background: radial-gradient(closest-side, rgba(255, 74, 26, 0.18), rgba(255, 74, 26, 0) 70%);
  filter: blur(20px);
  pointer-events: none;
}
.hero-inner { position: relative; z-index: 1; display: grid; justify-items: center; text-align: center; pointer-events: none; }
.hero-inner a, .hero-inner button { pointer-events: auto; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--cream-muted); padding: 8px 14px; border: 1px solid var(--line-dark); border-radius: 999px; background: rgba(243, 238, 229, 0.03); }
.pulse { width: 7px; height: 7px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 0 0 rgba(220, 255, 69, 0.6); animation: pulse 2s var(--ease) infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(220, 255, 69, 0.55); } 70%, 100% { box-shadow: 0 0 0 10px rgba(220, 255, 69, 0); } }
/* The canvas draws the wordmark into this box. Without JS/canvas the text shows instead. */
.hero-mark { width: min(1060px, 92vw); height: clamp(110px, 19vw, 230px); margin: clamp(20px, 4vh, 40px) 0 clamp(10px, 2vh, 20px); display: grid; place-items: center; }
.hero-mark span { font-size: clamp(76px, 16vw, 200px); font-weight: 800; letter-spacing: -0.04em; line-height: 1; color: var(--cream); }
.has-particles .hero-mark span { visibility: hidden; }
.hero-title { font-size: clamp(30px, 4.6vw, 60px); font-weight: 600; line-height: 1.12; letter-spacing: -0.05em; }
.hero-sub { margin-top: 20px; max-width: 720px; font-size: clamp(15px, 1.25vw, 18px); color: var(--cream-muted); }
.hero-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 34px; }
.ladder { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 34px; font-size: 13px; }
.ladder li { display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px 7px 10px; border-radius: 999px; background: rgba(243, 238, 229, 0.05); border: 1px solid var(--line-dark); color: var(--cream-muted); }
.ladder li span { font-size: 10px; color: var(--cream-dim); }
.ladder li + li::before { content: "→"; margin: 0 6px 0 -22px; color: var(--cream-dim); }
.ladder li + li { margin-left: 18px; }
.ladder .is-goal { color: var(--ink); background: var(--lime); border-color: var(--lime); font-weight: 600; }
.ladder .is-goal span { color: rgba(13, 12, 10, 0.55); }
@media (max-width: 560px) { .ladder li + li { margin-left: 0; } .ladder li + li::before { display: none; } }
.hero-hint { position: absolute; z-index: 1; left: var(--gutter); bottom: 28px; display: flex; align-items: center; gap: 10px; font-size: 11px; letter-spacing: 0.06em; color: var(--cream-dim); transition: opacity 0.8s var(--ease); }
.hero-hint.is-hidden { opacity: 0; }
.hint-icon { width: 14px; height: 20px; border: 1.5px solid currentColor; border-radius: 8px; position: relative; }
.hint-icon::after { content: ""; position: absolute; left: 50%; top: 4px; width: 2px; height: 4px; margin-left: -1px; background: currentColor; border-radius: 2px; animation: hint 1.8s var(--ease) infinite; }
@keyframes hint { 0% { transform: translateY(0); opacity: 1; } 100% { transform: translateY(6px); opacity: 0; } }
.scroll-cue { position: absolute; z-index: 1; right: var(--gutter); bottom: 26px; display: flex; align-items: center; gap: 10px; font-size: 10px; letter-spacing: 0.18em; color: var(--cream-dim); text-decoration: none; }
.scroll-cue i { width: 1px; height: 36px; background: linear-gradient(var(--cream-dim), transparent); position: relative; overflow: hidden; }
.scroll-cue i::after { content: ""; position: absolute; left: 0; top: -40%; width: 1px; height: 40%; background: var(--accent); animation: cue 2s var(--ease) infinite; }
@keyframes cue { to { top: 100%; } }
@media (max-width: 640px) { .hero-hint { display: none; } .hero-actions .btn { flex: 1 1 100%; } }

/* =========================================================
   STATS
   ========================================================= */
.stats { background: var(--ink); color: var(--cream); border-top: 1px solid var(--line-dark); }
.stats-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.stat { padding: clamp(28px, 3.4vw, 48px) clamp(16px, 2vw, 32px); border-left: 1px solid var(--line-dark); }
.stat:first-child { border-left: 0; padding-left: 0; }
.stat-num { font-size: clamp(38px, 4.6vw, 64px); font-weight: 600; letter-spacing: -0.05em; line-height: 1; font-variant-numeric: tabular-nums; }
.stat-num i { font-style: normal; font-size: 0.42em; margin-left: 4px; color: var(--accent); letter-spacing: -0.02em; }
.stat-label { margin-top: 14px; font-size: 14px; font-weight: 600; display: grid; gap: 2px; }
.stat-label small { font-size: 12.5px; font-weight: 400; color: var(--cream-dim); }
.stat-live .stat-num { color: var(--lime); }
.live-dot { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--lime); margin-right: 8px; vertical-align: 2px; animation: blink 1.6s var(--ease) infinite; }
@media (max-width: 860px) {
  .stats-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stat:nth-child(3) { border-left: 0; padding-left: 0; }
  .stat:nth-child(n + 3) { border-top: 1px solid var(--line-dark); }
}

/* =========================================================
   FORMATS
   ========================================================= */
.format-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(14px, 1.6vw, 22px); }
@media (max-width: 960px) { .format-grid { grid-template-columns: 1fr; max-width: 560px; } }
.format-card { background: var(--card); border: 1px solid var(--line-soft); border-radius: var(--radius); padding: 14px 14px 28px; transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease); }
.format-card:hover { transform: translateY(-6px); box-shadow: 0 30px 60px -30px rgba(20, 19, 16, 0.35); }
.format-card > *:not(.format-visual) { padding-inline: 14px; }
.format-kind { margin-top: 22px; font-size: 10.5px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--accent); }
.format-card h3 { margin-top: 6px; font-size: 24px; font-weight: 650; letter-spacing: -0.04em; }
.format-card > p:not(.format-kind) { margin-top: 10px; color: var(--muted); font-size: 15px; }
.format-points { margin-top: 18px; display: grid; gap: 8px; font-size: 14px; }
.format-points li { display: flex; gap: 10px; align-items: baseline; }
.format-points li::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); flex: none; transform: translateY(-2px); }
.format-visual { position: relative; height: 200px; border-radius: 14px; background: var(--ink); overflow: hidden; color: var(--cream); }
.fv-video { background: radial-gradient(80% 90% at 30% 20%, #2a1d14, var(--ink)); }
.fv-play { position: absolute; left: 50%; top: 44%; width: 62px; height: 62px; margin: -31px 0 0 -31px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 10px rgba(255, 74, 26, 0.18); transition: transform 0.5s var(--ease); }
.fv-play::after { content: ""; position: absolute; left: 25px; top: 20px; border-left: 16px solid #fff; border-top: 11px solid transparent; border-bottom: 11px solid transparent; }
.format-card:hover .fv-play { transform: scale(1.08); }
.fv-bar { position: absolute; left: 16px; right: 16px; bottom: 18px; height: 4px; border-radius: 4px; background: rgba(243, 238, 229, 0.16); }
.fv-bar i { position: absolute; inset: 0 auto 0 0; width: 42%; border-radius: inherit; background: var(--accent); transition: width 1.2s var(--ease); }
.format-card:hover .fv-bar i { width: 68%; }
.fv-chap { position: absolute; left: 16px; bottom: 30px; font-size: 10.5px; letter-spacing: 0.06em; color: var(--cream-muted); }
.fv-book { background: linear-gradient(150deg, #2437f0, #121a7a); display: grid; place-items: center; perspective: 800px; }
.fv-page, .fv-cover { position: absolute; width: 118px; height: 156px; border-radius: 4px 10px 10px 4px; left: 50%; top: 50%; margin: -78px 0 0 -59px; }
.fv-page { background: #f6f2eb; }
.fv-page-1 { transform: translate(10px, 6px) rotate(4deg); opacity: 0.85; }
.fv-page-2 { transform: translate(5px, 3px) rotate(2deg); }
.fv-cover { background: var(--ink); padding: 16px 14px; display: flex; flex-direction: column; justify-content: space-between; box-shadow: 0 16px 30px rgba(0, 0, 0, 0.35); transition: transform 0.6s var(--ease); transform-origin: left center; }
.fv-cover b { font-size: 15px; line-height: 1.05; letter-spacing: -0.02em; color: var(--cream); }
.fv-cover b::before { content: ""; display: block; width: 16px; height: 16px; border-radius: 50%; border: 2px solid var(--accent); margin-bottom: 12px; }
.fv-cover i { font-style: normal; font-size: 8.5px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--cream-dim); }
.format-card:hover .fv-cover { transform: rotateY(-24deg); }
.fv-kit { background: radial-gradient(90% 90% at 80% 10%, #263015, var(--ink)); display: grid; align-content: center; gap: 8px; padding: 0 22px; }
.fv-file { display: flex; align-items: center; gap: 10px; padding: 8px 12px; border-radius: 9px; background: rgba(243, 238, 229, 0.06); border: 1px solid var(--line-dark); font-family: var(--mono); font-size: 12px; color: var(--cream-muted); transition: transform 0.5s var(--ease); }
.fv-file i { width: 10px; height: 12px; border-radius: 2px; border: 1.5px solid currentColor; flex: none; }
.fv-file.is-done { color: var(--ink); background: var(--lime); border-color: var(--lime); font-weight: 500; }
.format-card:hover .fv-file:nth-child(1) { transform: translateX(6px); }
.format-card:hover .fv-file:nth-child(2) { transform: translateX(12px); transition-delay: 60ms; }
.format-card:hover .fv-file:nth-child(3) { transform: translateX(18px); transition-delay: 120ms; }

/* =========================================================
   JOURNEY
   ========================================================= */
.journey { position: relative; padding-block: clamp(96px, 12vw, 170px); background: var(--ink); color: var(--cream); overflow: hidden; }
.journey::before { content: ""; position: absolute; inset: 0; background: radial-gradient(60% 50% at 85% 10%, rgba(36, 55, 240, 0.22), transparent 70%), radial-gradient(50% 40% at 10% 90%, rgba(255, 74, 26, 0.12), transparent 70%); pointer-events: none; }
.journey-map { position: relative; --p: 0; }
.journey-rail { position: absolute; left: 0; right: 0; top: 11px; height: 2px; background: repeating-linear-gradient(90deg, rgba(243, 238, 229, 0.22) 0 6px, transparent 6px 14px); }
.journey-fill { position: absolute; inset: 0 auto 0 0; width: calc(var(--p) * 100%); background: linear-gradient(90deg, var(--accent), var(--amber) 60%, var(--lime)); box-shadow: 0 0 14px rgba(255, 74, 26, 0.6); }
.journey-comet { position: absolute; top: 50%; left: calc(var(--p) * 100%); width: 14px; height: 14px; margin: -7px 0 0 -7px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 4px rgba(255, 179, 71, 0.25), 0 0 24px 6px rgba(255, 120, 60, 0.7), -18px 0 18px -4px rgba(255, 74, 26, 0.6), -40px 0 22px -10px rgba(255, 74, 26, 0.35); }
.journey-steps { position: relative; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(16px, 2.4vw, 36px); }
.step { position: relative; padding-top: 48px; transition: opacity 0.6s var(--ease); opacity: 0.42; }
.step.is-lit { opacity: 1; }
.step-node { position: absolute; top: 2px; left: 0; width: 20px; height: 20px; border-radius: 50%; background: var(--ink); border: 2px solid rgba(243, 238, 229, 0.35); transition: border-color 0.5s var(--ease), background 0.5s var(--ease), box-shadow 0.5s var(--ease); }
.step.is-lit .step-node { border-color: var(--accent); background: var(--accent); box-shadow: 0 0 0 6px rgba(255, 74, 26, 0.18); }
.step-goal.is-lit .step-node { border-color: var(--lime); background: var(--lime); box-shadow: 0 0 0 6px rgba(220, 255, 69, 0.18), 0 0 30px rgba(220, 255, 69, 0.5); }
.step-no { font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--accent); }
.step-goal .step-no { color: var(--lime); }
.step h3 { margin-top: 8px; font-size: clamp(26px, 2.6vw, 36px); font-weight: 650; letter-spacing: -0.05em; }
.step > p:not(.step-no):not(.step-out) { margin-top: 10px; color: var(--cream-muted); font-size: 15px; }
.step-out { margin-top: 20px; padding: 12px 14px; border-radius: 12px; border: 1px solid var(--line-dark); background: rgba(243, 238, 229, 0.04); font-size: 14px; font-weight: 600; display: grid; gap: 2px; }
.step-out span { font-size: 10px; font-weight: 400; letter-spacing: 0.12em; text-transform: uppercase; color: var(--cream-dim); }
@media (max-width: 860px) {
  .journey-rail { left: 9px; right: auto; top: 0; bottom: 0; width: 2px; height: auto; background: repeating-linear-gradient(180deg, rgba(243, 238, 229, 0.22) 0 6px, transparent 6px 14px); }
  .journey-fill { inset: 0 0 auto 0; width: auto; height: calc(var(--p) * 100%); background: linear-gradient(180deg, var(--accent), var(--amber) 60%, var(--lime)); }
  .journey-comet { top: calc(var(--p) * 100%); left: 50%; box-shadow: 0 0 0 4px rgba(255, 179, 71, 0.25), 0 0 24px 6px rgba(255, 120, 60, 0.7), 0 -18px 18px -4px rgba(255, 74, 26, 0.6); }
  .journey-steps { grid-template-columns: 1fr; gap: 44px; }
  .step { padding: 0 0 0 46px; }
  .step-node { top: 0; }
}

/* =========================================================
   SHOWCASE (mock learning screen)
   ========================================================= */
.showcase-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(40px, 6vw, 96px); align-items: center; }
@media (max-width: 960px) { .showcase-grid { grid-template-columns: 1fr; } }
.showcase-copy { display: grid; gap: 18px; }
.check-list { margin-top: 10px; display: grid; gap: 12px; font-size: 15.5px; }
.check-list li { display: flex; gap: 12px; align-items: flex-start; }
.check-list li::before { content: "✓"; flex: none; width: 22px; height: 22px; border-radius: 50%; background: var(--ink); color: var(--lime); display: grid; place-items: center; font-size: 12px; margin-top: 2px; }
.mock { position: relative; border-radius: var(--radius); background: var(--ink); color: var(--cream); box-shadow: 0 50px 90px -40px rgba(20, 19, 16, 0.55); overflow: hidden; transform: perspective(1400px) rotateY(-5deg) rotateX(2deg); transition: transform 0.9s var(--ease); }
.mock:hover { transform: perspective(1400px) rotateY(0) rotateX(0); }
.js .mock[data-reveal] { transform: perspective(1400px) rotateY(-5deg) rotateX(2deg) translateY(26px); }
.js .mock[data-reveal].is-in { transform: perspective(1400px) rotateY(-5deg) rotateX(2deg); }
.js .mock[data-reveal].is-in:hover { transform: perspective(1400px) rotateY(0) rotateX(0); }
.mock-top { display: flex; align-items: center; gap: 6px; padding: 12px 16px; border-bottom: 1px solid var(--line-dark); }
.mock-top i { width: 9px; height: 9px; border-radius: 50%; background: rgba(243, 238, 229, 0.18); }
.mock-top span { margin-left: 12px; font-size: 11px; color: var(--cream-dim); }
.mock-body { padding: clamp(20px, 2.4vw, 32px); display: grid; gap: 16px; }
.mock-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; }
.mock-track { font-size: 10.5px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--accent); }
.mock-title { margin-top: 4px; font-size: clamp(20px, 2vw, 26px); font-weight: 650; letter-spacing: -0.04em; }
.mock-dday { text-align: right; display: grid; padding: 8px 14px; border-radius: 12px; background: var(--lime); color: var(--ink); line-height: 1.1; }
.mock-dday span { font-size: 9px; letter-spacing: 0.14em; }
.mock-dday b { font-size: 24px; letter-spacing: -0.04em; }
.mock-progress { height: 6px; border-radius: 6px; background: rgba(243, 238, 229, 0.12); overflow: hidden; }
.mock-progress i { display: block; height: 100%; width: 0; border-radius: inherit; background: linear-gradient(90deg, var(--accent), var(--amber)); transition: width 1.6s var(--ease) 0.3s; }
.mock.is-in .mock-progress i, .no-js .mock-progress i { width: calc(var(--w) * 100%); }
.mock-meta { display: flex; justify-content: space-between; font-size: 11px; color: var(--cream-dim); margin-top: -8px; }
.mock-list { display: grid; gap: 2px; }
.mock-list li { display: flex; align-items: center; gap: 12px; padding: 11px 12px; border-radius: 10px; font-size: 14px; color: var(--cream-muted); }
.mock-list li span { width: 18px; height: 18px; border-radius: 50%; border: 1.5px solid rgba(243, 238, 229, 0.3); flex: none; display: grid; place-items: center; }
.mock-list li em { margin-left: auto; font-size: 11px; color: var(--cream-dim); }
.mock-list .is-done { color: var(--cream-dim); }
.mock-list .is-done span { background: var(--lime); border-color: var(--lime); }
.mock-list .is-done span::after { content: "✓"; font-size: 10px; color: var(--ink); font-weight: 700; }
.mock-list .is-now { background: rgba(255, 74, 26, 0.12); color: var(--cream); }
.mock-list .is-now span { border-color: var(--accent); box-shadow: inset 0 0 0 4px var(--ink); background: var(--accent); }
.mock-list .is-now em { color: var(--accent); }
.mock-mission { padding: 14px 16px; border-radius: 12px; border: 1px dashed rgba(220, 255, 69, 0.4); font-size: 14px; }
.mock-mission p:first-child { font-size: 10px; letter-spacing: 0.14em; color: var(--lime); margin-bottom: 2px; }
.mock-caption { padding: 0 clamp(20px, 2.4vw, 32px) 18px; font-size: 10.5px; color: var(--cream-dim); }

/* =========================================================
   CURRICULUM
   ========================================================= */
.curriculum { background: var(--paper-2); border-block: 1px solid var(--line-soft); }
.filters { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 22px; margin-bottom: 26px; }
.filter-group { display: flex; flex-wrap: wrap; gap: 6px; }
.filter-group + .filter-group { padding-left: 22px; border-left: 1px solid var(--line); }
.chip { padding: 8px 16px; border-radius: 999px; border: 1px solid var(--line); background: transparent; font-size: 14px; cursor: pointer; transition: background 0.25s, color 0.25s, border-color 0.25s; }
.chip:hover { border-color: var(--text); }
.chip.is-on { background: var(--text); color: var(--paper); border-color: var(--text); }
.filter-count { margin-left: auto; font-size: 12px; color: var(--muted); }
@media (max-width: 640px) { .filter-group + .filter-group { padding-left: 0; border-left: 0; } .filter-count { margin-left: 0; width: 100%; } }
.catalog { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(14px, 1.6vw, 22px); min-height: 200px; }
@media (max-width: 1060px) { .catalog { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .catalog { grid-template-columns: 1fr; } }
.catalog-loading, .catalog-empty { grid-column: 1 / -1; padding: 40px 0; font-size: 13px; color: var(--muted); }
.catalog-note { margin-top: 22px; font-size: 11.5px; color: var(--muted-2); }
.course { display: flex; flex-direction: column; background: var(--card); border: 1px solid var(--line-soft); border-radius: var(--radius); overflow: hidden; transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease), opacity 0.4s; }
.course:hover { transform: translateY(-6px); box-shadow: 0 30px 60px -30px rgba(20, 19, 16, 0.32); }
.course.is-enter { animation: course-in 0.6s var(--ease) both; animation-delay: calc(var(--i, 0) * 50ms); }
@keyframes course-in { from { opacity: 0; transform: translateY(16px); } }
.course-thumb { position: relative; aspect-ratio: 16 / 9; background: var(--ink); color: var(--cream); overflow: hidden; display: flex; flex-direction: column; justify-content: space-between; padding: 18px 20px; }
.course-thumb img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.course-thumb::before { content: ""; position: absolute; inset: 0; background: var(--thumb-bg); }
.course-thumb::after { content: ""; position: absolute; right: -30px; bottom: -60px; width: 190px; height: 190px; border-radius: 50%; border: 1.5px dashed rgba(243, 238, 229, 0.22); transition: transform 1.2s var(--ease); }
.course:hover .course-thumb::after { transform: rotate(60deg) scale(1.06); }
/* ebooks: a small book instead of the orbit ring */
.course-thumb.is-ebook::after { right: 22px; bottom: -14px; width: 74px; height: 98px; border-radius: 3px 8px 8px 3px; border: 0; background: var(--cream); box-shadow: -6px 0 0 -2px rgba(243, 238, 229, 0.45), 0 14px 30px rgba(0, 0, 0, 0.35); transform: rotate(-8deg); }
.course:hover .course-thumb.is-ebook::after { transform: rotate(-2deg) translateY(-8px); }
.course-thumb > * { position: relative; z-index: 1; }
.course-track { font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.12em; text-transform: uppercase; color: rgba(243, 238, 229, 0.72); display: flex; justify-content: space-between; }
.course-glyph { font-size: 44px; font-weight: 700; letter-spacing: -0.05em; line-height: 1; }
.course-glyph small { font-family: var(--serif); font-style: italic; font-weight: 400; font-size: 0.6em; margin-left: 6px; color: rgba(243, 238, 229, 0.65); letter-spacing: 0; }
.course-body { padding: 18px 20px 20px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.course-badges { display: flex; flex-wrap: wrap; gap: 6px; }
.badge { font-size: 11.5px; padding: 3px 9px; border-radius: 6px; background: var(--paper-2); color: var(--muted); font-weight: 600; }
.badge-level-beginner { background: #e8f7c4; color: #3f5200; }
.badge-level-basic { background: #ffe3d6; color: #9b2d0b; }
.badge-level-intermediate { background: #dfe3ff; color: #1a2799; }
.badge-kind { background: var(--ink); color: var(--cream); }
.course h3 { font-size: 19px; font-weight: 650; letter-spacing: -0.035em; line-height: 1.35; }
.course-summary { font-size: 14px; color: var(--muted); }
.course-outcome { font-size: 13px; padding: 9px 12px; border-radius: 10px; background: var(--paper); display: flex; gap: 8px; }
.course-outcome b { font-family: var(--mono); font-size: 10px; letter-spacing: 0.1em; font-weight: 500; color: var(--accent); padding-top: 2px; }
.course-tags { display: flex; flex-wrap: wrap; gap: 4px 10px; font-size: 12px; color: var(--muted-2); }
.course-foot { margin-top: auto; padding-top: 14px; border-top: 1px solid var(--line-soft); display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.course-status { font-family: var(--mono); font-size: 11px; letter-spacing: 0.06em; color: var(--muted); display: inline-flex; align-items: center; gap: 7px; }
.course-status::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); animation: blink 1.6s var(--ease) infinite; }
.course-status.is-open::before { background: #4caf50; animation: none; }
.course-notify { border: 0; background: none; padding: 6px 0; font-size: 14px; font-weight: 600; color: var(--accent); cursor: pointer; text-decoration: none; }
.course-notify:hover { text-decoration: underline; text-underline-offset: 4px; }

/* =========================================================
   WHY
   ========================================================= */
.why-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--line); }
@media (max-width: 860px) { .why-grid { grid-template-columns: 1fr; } }
.why-card { padding: 34px clamp(0px, 2vw, 32px) 10px 0; display: grid; gap: 12px; align-content: start; }
.why-card + .why-card { padding-left: clamp(20px, 2vw, 32px); border-left: 1px solid var(--line); }
@media (max-width: 860px) { .why-card + .why-card { padding-left: 0; border-left: 0; border-top: 1px solid var(--line); } }
.why-no { width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--text); display: grid; place-items: center; font-size: 13px; }
.why-card h3 { font-size: 22px; font-weight: 650; letter-spacing: -0.04em; }
.why-card p:not(.why-no) { color: var(--muted); font-size: 15px; }

/* =========================================================
   MADE BY ENLOVUE
   ========================================================= */
.made { padding-top: 0; }
.made-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(12px, 1.4vw, 18px); }
@media (max-width: 1060px) { .made-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .made-grid { grid-template-columns: 1fr; } }
.made-card { position: relative; display: flex; flex-direction: column; gap: 8px; min-height: 220px; padding: 24px; border-radius: var(--radius); background: var(--ink); color: var(--cream); text-decoration: none; overflow: hidden; transition: transform 0.5s var(--ease); }
.made-card::after { content: ""; position: absolute; inset: auto -40% -60% auto; width: 80%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(closest-side, rgba(255, 74, 26, 0.35), transparent); opacity: 0; transition: opacity 0.6s var(--ease); }
.made-card:hover { transform: translateY(-6px); }
.made-card:hover::after { opacity: 1; }
.made-tag { font-size: 10.5px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--accent); }
.made-name { font-size: 30px; font-weight: 650; letter-spacing: -0.04em; }
.made-name sup { font-size: 9px; }
.made-card > p:not(.made-tag):not(.made-name) { font-size: 14px; color: var(--cream-muted); }
.made-go { margin-top: auto; font-size: 11.5px; color: var(--cream-dim); transition: color 0.3s; position: relative; z-index: 1; }
.made-card:hover .made-go { color: var(--cream); }

/* =========================================================
   FAQ
   ========================================================= */
.faq { padding-top: clamp(40px, 6vw, 80px); }
.faq-grid { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
@media (max-width: 860px) { .faq-grid { grid-template-columns: 1fr; } }
.faq .section-head { position: sticky; top: calc(var(--nav-h) + 30px); margin-bottom: 0; }
@media (max-width: 860px) { .faq .section-head { position: static; } }
.faq-list { border-top: 1px solid var(--line); }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 24px 0; font-size: clamp(17px, 1.5vw, 20px); font-weight: 600; letter-spacing: -0.03em; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; flex: none; width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--line); display: grid; place-items: center; font-weight: 400; font-size: 20px; transition: transform 0.4s var(--ease), background 0.3s, color 0.3s; }
.faq-list details[open] summary::after { transform: rotate(45deg); background: var(--accent); color: #fff; border-color: var(--accent); }
.faq-list details p { padding: 0 54px 24px 0; color: var(--muted); font-size: 15.5px; }
.faq-list details a { color: var(--accent); }

/* =========================================================
   WAITLIST
   ========================================================= */
.waitlist { position: relative; padding-block: clamp(110px, 14vw, 190px); background: radial-gradient(90% 80% at 50% 100%, #2a160c 0%, var(--ink) 65%); color: var(--cream); overflow: hidden; isolation: isolate; }
.orbit-canvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; pointer-events: none; }
.waitlist-inner { display: grid; justify-items: center; text-align: center; }
.waitlist-title { margin-top: 22px; font-size: clamp(36px, 6vw, 84px); font-weight: 600; line-height: 1.06; letter-spacing: -0.055em; }
.waitlist-sub { margin-top: 22px; color: var(--cream-muted); font-size: clamp(15px, 1.3vw, 18px); max-width: 640px; }
.waitlist-sub b { color: var(--lime); }
.wl-form { margin-top: clamp(36px, 5vw, 56px); width: min(980px, 100%); padding: clamp(18px, 2.4vw, 28px); border-radius: 26px; background: rgba(243, 238, 229, 0.05); border: 1px solid var(--line-dark); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); text-align: left; }
.wl-row { display: grid; grid-template-columns: 1.3fr 1fr 1.2fr; gap: 10px; }
@media (max-width: 860px) { .wl-row { grid-template-columns: 1fr; } }
.wl-field { display: grid; gap: 6px; padding: 12px 16px; border-radius: 16px; background: rgba(13, 12, 10, 0.55); border: 1px solid var(--line-dark); transition: border-color 0.3s; }
.wl-field:focus-within { border-color: var(--accent); }
.wl-field.is-invalid { border-color: #ff6b6b; }
.wl-label { font-size: 10.5px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--cream-dim); }
.wl-label i { font-style: normal; color: var(--accent); }
.wl-label small { text-transform: none; letter-spacing: 0; font-size: 10.5px; }
.wl-field input, .wl-field select { width: 100%; border: 0; background: none; outline: none; padding: 2px 0; font-size: 16px; color: var(--cream); }
.wl-field input::placeholder { color: rgba(243, 238, 229, 0.3); }
.wl-field select { appearance: none; -webkit-appearance: none; cursor: pointer; background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='8'><path d='M1 1l5 5 5-5' fill='none' stroke='%23f3eee5' stroke-opacity='.5' stroke-width='1.6'/></svg>") right 2px center no-repeat; padding-right: 22px; }
.wl-field select option { color: #141310; }
.wl-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.wl-foot { margin-top: 16px; display: flex; align-items: center; justify-content: space-between; gap: 18px 28px; }
@media (max-width: 760px) { .wl-foot { flex-direction: column; align-items: stretch; } .wl-submit { width: 100%; } }
.wl-consent { display: flex; gap: 10px; align-items: flex-start; font-size: 13px; color: var(--cream-muted); cursor: pointer; max-width: 560px; }
.wl-consent input { flex: none; width: 18px; height: 18px; margin: 2px 0 0; accent-color: var(--accent); cursor: pointer; }
.wl-consent a { color: var(--cream); }
.wl-consent.is-invalid span { color: #ff8f8f; }
.wl-status { margin-top: 14px; min-height: 1.5em; font-size: 14px; color: var(--cream-muted); }
.wl-status.is-ok { color: var(--lime); }
.wl-status.is-err { color: #ff8f8f; }
.wl-form.is-done .wl-row, .wl-form.is-done .wl-foot { display: none; }
.wl-form.is-done .wl-status { margin: 0; padding: 18px 6px; font-size: clamp(16px, 1.6vw, 20px); font-weight: 600; text-align: center; }

/* =========================================================
   FOOTER
   ========================================================= */
.footer { background: var(--ink); color: var(--cream); padding-top: clamp(56px, 7vw, 96px); border-top: 1px solid var(--line-dark); overflow: hidden; }
.footer-top { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr); gap: 40px; }
@media (max-width: 860px) { .footer-top { grid-template-columns: 1fr; } }
.footer-logo { font-size: 26px; font-weight: 650; letter-spacing: -0.04em; }
.footer-logo sup { font-size: 9px; }
.footer-brand p:not(.footer-logo) { margin-top: 12px; font-size: 14px; color: var(--cream-dim); }
.footer-nav { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
@media (max-width: 560px) { .footer-nav { grid-template-columns: 1fr 1fr; } }
.footer-nav div { display: grid; gap: 9px; align-content: start; font-size: 14px; }
.footer-nav a { text-decoration: none; color: var(--cream-muted); transition: color 0.2s; }
.footer-nav a:hover { color: var(--accent); }
.footer-label { font-size: 10.5px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--cream-dim); margin-bottom: 4px; }
.footer-mark { margin-top: clamp(40px, 6vw, 80px); font-size: clamp(60px, 16vw, 250px); font-weight: 800; letter-spacing: -0.015em; line-height: 0.8; color: rgba(243, 238, 229, 0.055); background: linear-gradient(180deg, rgba(243, 238, 229, 0.1), rgba(243, 238, 229, 0.02)); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; text-align: center; user-select: none; }
.footer-bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding: 22px 0 28px; margin-top: 18px; border-top: 1px solid var(--line-dark); font-size: 11.5px; color: var(--cream-dim); }
.footer-bottom a { color: var(--cream-muted); text-decoration: none; }
.footer-bottom a:hover { color: var(--accent); }

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