/* V2 LANG.HOUSE — Oxford classical · cream paper + navy + gold + Union Jack red
 * 5 시그니처: word typing · waveform · IELTS radial · audio player mock · flashcard flip
 */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;700;900&family=Source+Serif+4:wght@300;400;500;600&family=JetBrains+Mono:wght@400;500&display=swap');
@import url('https://cdn.jsdelivr.net/gh/orioncactus/pretendard@v1.3.9/dist/web/static/pretendard.css');

:root {
  --bg-base:    #f5f1ea;
  --bg-card:    #ffffff;
  --bg-warm:    #ede4d3;
  --bg-paper:   #faf6ed;
  --ink:        #1a2540;
  --ink-soft:   #4a5573;
  --muted:      #9a9080;
  --gold:       #c19a4b;
  --gold-soft:  #e3d3ad;
  --accent-red: #c8102e;
  --accent-blue:#1d4e89;
  --line:       #d8d0c0;
  --shadow-sm:  0 2px 14px rgba(26,37,64,.06);
  --shadow-lg:  0 12px 40px rgba(26,37,64,.12);

  --display: 'Playfair Display', 'EB Garamond', Georgia, serif;
  --text:    'Source Serif 4', 'Crimson Pro', Georgia, serif;
  --kr:      'Pretendard', system-ui, sans-serif;
  --mono:    'JetBrains Mono', 'SF Mono', monospace;

  --radius-sm: 4px;
  --radius-md: 10px;
  --radius-lg: 24px;

  --z-banner: 120;
  --z-nav: 80;
  --z-overlay: 100;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg-base);
  color: var(--ink);
  font-family: var(--text);
  font-size: 17px;
  line-height: 1.75;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; background: none; border: 0; color: inherit; }
input, select, textarea {
  font: inherit; color: var(--ink); font-family: var(--text);
  background: var(--bg-card);
  border: 1.5px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  font-size: 16px;
  width: 100%;
  transition: border-color .2s;
}
input:focus, select:focus, textarea:focus {
  outline: 0; border-color: var(--ink);
}

/* ── Demo banner ──────────────────────────────────── */
.demo-banner {
  position: fixed; top: 0; left: 0; right: 0; z-index: var(--z-banner);
  background: var(--ink); color: var(--bg-paper);
  font-family: var(--mono); font-size: 11px; font-weight: 500;
  padding: 8px 16px; text-align: center; letter-spacing: 0.04em;
}
.demo-banner a { color: var(--gold-soft); text-decoration: underline; font-weight: 600; }
body.has-banner { padding-top: 32px; }

/* ── Top Nav ──────────────────────────────────────── */
.nav-brand {
  position: fixed; top: 28px; left: 40px; z-index: var(--z-nav);
  font-family: var(--display); font-weight: 700;
  font-size: 18px; letter-spacing: 0.03em;
  color: var(--ink);
  display: inline-flex; gap: 10px; align-items: center;
}
body.has-banner .nav-brand { top: 60px; }
.nav-brand .crest {
  display: inline-block; width: 14px; height: 14px;
  background: var(--accent-red); border-radius: 2px;
  position: relative;
}
.nav-brand .crest::before, .nav-brand .crest::after {
  content: ''; position: absolute; background: var(--gold);
}
.nav-brand .crest::before { left: 50%; top: 0; bottom: 0; width: 2px; transform: translateX(-50%); }
.nav-brand .crest::after  { top: 50%; left: 0; right: 0; height: 2px; transform: translateY(-50%); }

/* PC Nav Bar (default) — hides under 768px · full menu + Login/Signup */
.nav-bar {
  position: fixed; top: 22px; right: 40px; z-index: var(--z-nav);
  display: inline-flex; gap: 22px; align-items: center;
  background: rgba(255,255,255,.85); backdrop-filter: blur(12px);
  padding: 12px 24px;
  border-radius: 100px; border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
}
body.has-banner .nav-bar { top: 54px; }
.nav-bar a {
  font-family: var(--display); font-weight: 500; font-style: italic;
  font-size: 14px; color: var(--ink); letter-spacing: 0.01em;
  position: relative; padding: 4px 2px;
  transition: color .2s;
}
.nav-bar-user {
  display: inline-flex; gap: 14px; align-items: center;
  margin-left: 8px; padding-left: 14px;
  border-left: 1px solid var(--line);
}
.nav-bar-user-link { font-size: 13px !important; }
.nav-bar-user-link::after { display: none !important; }
.nav-bar-user .nav-bar-user-link:last-child {
  border: 1px solid var(--accent-red);
  color: var(--accent-red); padding: 6px 12px !important;
  border-radius: 100px; font-style: normal; font-weight: 600;
}
.nav-bar-user .nav-bar-user-link:last-child:hover {
  background: var(--accent-red); color: #fff !important;
}
/* Drawer X close (Oxford classical) */
.drawer-close {
  position: absolute; top: 60px; right: 24px;
  width: 48px; height: 48px;
  background: var(--bg-card); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--display); font-size: 30px; font-weight: 300;
  color: var(--ink); line-height: 1; cursor: pointer;
  border: 1.5px solid var(--gold); box-shadow: var(--shadow-sm);
  transition: transform .2s, background .2s; z-index: 2;
}
body.has-banner .drawer-close { top: 80px; }
.drawer-close:hover { background: var(--gold); color: var(--ink); transform: rotate(90deg); }
.drawer-divider { width: 60px; height: 1px; background: var(--gold); margin: 12px auto; }
.drawer-user-link { font-size: 22px !important; color: var(--ink-soft) !important; font-style: italic; }
.nav-bar a::after {
  content: ''; position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 2px; background: var(--gold);
  transform: scaleX(0); transform-origin: left;
  transition: transform .25s ease;
}
.nav-bar a:hover { color: var(--accent-red); }
.nav-bar a:hover::after { transform: scaleX(1); }
.nav-bar .nav-bar-cta {
  margin-left: 8px;
  background: var(--accent-red); color: #fff;
  padding: 8px 18px; border-radius: 100px;
  font-family: var(--text); font-weight: 600; font-style: normal;
  font-size: 13px; letter-spacing: 0.08em;
  transition: background .2s;
}
.nav-bar .nav-bar-cta::after { display: none; }
.nav-bar .nav-bar-cta:hover { background: #a00d24; color: #fff; }

/* Mobile hamburger — hidden on PC, shown ≤ 768px */
.nav-burger {
  position: fixed; top: 18px; right: 20px; z-index: var(--z-nav);
  width: 40px; height: 40px;
  background: var(--bg-card); border: 1px solid var(--line); border-radius: 50%;
  display: none; flex-direction: column; justify-content: center; gap: 4px;
  align-items: center; box-shadow: var(--shadow-sm);
  cursor: pointer; transition: transform .2s;
}
body.has-banner .nav-burger { top: 50px; }
.nav-burger:hover { transform: scale(1.06); }
.nav-burger span {
  width: 18px; height: 2px; background: var(--ink); border-radius: 1px;
  transition: transform .3s, opacity .3s;
}
.nav-burger.open span:nth-child(1) { transform: translateY(3px) rotate(45deg); }
.nav-burger.open span:nth-child(2) { opacity: 0; }
.nav-burger.open span:nth-child(3) { transform: translateY(-3px) rotate(-45deg); }

@media (max-width: 768px) {
  .nav-bar    { display: none; }
  .nav-burger { display: flex; }
}

/* Drawer */
.drawer {
  position: fixed; inset: 0;
  background: var(--bg-paper);
  z-index: var(--z-overlay);
  opacity: 0; pointer-events: none;
  transition: opacity .3s ease;
  display: flex; align-items: center; justify-content: center;
  padding: 80px;
}
.drawer.open { opacity: 1; pointer-events: auto; }
.drawer-inner { display: flex; flex-direction: column; gap: 18px; align-items: center; }
.drawer a {
  font-family: var(--display); font-weight: 700; font-style: italic;
  font-size: clamp(32px, 5vw, 56px);
  letter-spacing: -0.01em; color: var(--ink);
  transform: translateY(20px); opacity: 0;
  transition: opacity .5s, transform .5s, color .25s;
}
.drawer.open a { transform: translateY(0); opacity: 1; }
.drawer.open a:nth-child(1) { transition-delay: 0.05s; }
.drawer.open a:nth-child(2) { transition-delay: 0.10s; }
.drawer.open a:nth-child(3) { transition-delay: 0.15s; }
.drawer.open a:nth-child(4) { transition-delay: 0.20s; }
.drawer a:hover { color: var(--accent-red); }

/* ── Section base ─────────────────────────────────── */
.section { padding: 110px 32px; position: relative; }
.container { max-width: 1280px; margin: 0 auto; width: 100%; }
.section-eyebrow {
  font-family: var(--mono); font-size: 11px; font-weight: 500;
  color: var(--gold); letter-spacing: 0.32em;
  text-transform: uppercase; margin-bottom: 18px;
}
.section-title {
  font-family: var(--display); font-weight: 900;
  font-size: clamp(36px, 5vw, 64px);
  letter-spacing: -0.02em; line-height: 1.05;
  color: var(--ink); margin-bottom: 20px;
  white-space: pre-line;
}
.section-title em {
  font-style: italic; font-weight: 400; color: var(--gold);
}
.section-desc {
  font-size: clamp(15px, 1.4vw, 18px);
  color: var(--ink-soft); line-height: 1.85; max-width: 680px;
}

/* ── Hero ─────────────────────────────────────────── */
#hero {
  padding: 140px 32px 100px; position: relative;
  background:
    linear-gradient(180deg, rgba(26,37,64,.6) 0%, rgba(26,37,64,.3) 100%),
    var(--bg-warm);
  background-size: cover; background-position: center;
  min-height: 92vh;
  display: flex; align-items: center;
  color: #fff;
}
body.has-banner #hero { padding-top: 172px; }
.hero-bg {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  z-index: 0;
  filter: brightness(.55);
}
.hero-wrap {
  max-width: 1280px; margin: 0 auto; width: 100%;
  position: relative; z-index: 1;
  display: grid; grid-template-columns: 1.4fr 1fr; gap: 60px;
  align-items: center;
}
.hero-content { display: flex; flex-direction: column; gap: 24px; }
.hero-eyebrow {
  font-family: var(--mono); font-size: 12px; font-weight: 500;
  color: var(--gold-soft); letter-spacing: 0.32em;
  text-transform: uppercase;
}
.hero-title {
  font-family: var(--display); font-weight: 900;
  font-size: clamp(56px, 8vw, 112px);
  letter-spacing: -0.03em; line-height: 0.98;
  color: #fff; white-space: pre-line;
}
.hero-title em { font-style: italic; font-weight: 400; color: var(--gold-soft); }
.hero-sub {
  font-size: clamp(16px, 1.5vw, 19px);
  color: rgba(255,255,255,.85); max-width: 540px; line-height: 1.85;
}
.hero-meta {
  font-family: var(--mono); font-size: 12px;
  color: rgba(255,255,255,.6); letter-spacing: 0.16em;
}
.hero-ipa {
  font-family: var(--mono); font-size: 14px;
  color: var(--gold-soft); letter-spacing: 0.04em;
  padding: 4px 12px; background: rgba(255,255,255,.08);
  border-left: 2px solid var(--gold); width: fit-content;
}
.hero-cta-row { display: inline-flex; gap: 14px; margin-top: 12px; flex-wrap: wrap; }
.hero-btn-primary {
  padding: 16px 32px; background: var(--accent-red); color: #fff;
  border-radius: 4px; font-weight: 600; font-size: 14px;
  letter-spacing: 0.16em; text-transform: uppercase;
  transition: transform .2s, background .2s;
}
.hero-btn-primary:hover { transform: translateY(-2px); background: #a00d24; }
.hero-btn-ghost {
  padding: 16px 32px; background: transparent; color: #fff;
  border: 1.5px solid #fff;
  border-radius: 4px; font-weight: 500; font-size: 14px;
  letter-spacing: 0.16em; text-transform: uppercase;
}
.hero-btn-ghost:hover { background: #fff; color: var(--ink); }

.hero-crest-card {
  background: rgba(255,255,255,.08); border: 1.5px solid rgba(255,255,255,.2);
  backdrop-filter: blur(20px);
  border-radius: var(--radius-md);
  padding: 32px;
  display: flex; flex-direction: column; gap: 18px;
}
.hero-crest-row {
  display: flex; gap: 14px; align-items: center;
  padding-bottom: 16px; border-bottom: 1px solid rgba(255,255,255,.15);
}
.hero-crest {
  width: 48px; height: 48px;
  background: var(--accent-red); border-radius: 4px;
  position: relative; display: flex; align-items: center; justify-content: center;
}
.hero-crest::before, .hero-crest::after {
  content: ''; position: absolute; background: var(--gold);
}
.hero-crest::before { left: 50%; top: 0; bottom: 0; width: 4px; transform: translateX(-50%); }
.hero-crest::after  { top: 50%; left: 0; right: 0; height: 4px; transform: translateY(-50%); }
.hero-crest-info .h-name {
  font-family: var(--display); font-weight: 700; font-size: 16px;
  color: #fff; letter-spacing: 0.04em;
}
.hero-crest-info .h-est {
  font-family: var(--mono); font-size: 11px;
  color: rgba(255,255,255,.6); letter-spacing: 0.16em;
}
.hero-crest-stats {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px;
}
.hero-stat-mini { display: flex; flex-direction: column; gap: 2px; }
.hero-stat-mini .num {
  font-family: var(--display); font-weight: 900; font-size: 28px;
  color: var(--gold-soft);
}
.hero-stat-mini .lbl {
  font-family: var(--mono); font-size: 10px;
  color: rgba(255,255,255,.6); letter-spacing: 0.12em;
  text-transform: uppercase;
}

/* ── Manifesto (4 ruled lines · serif) ────────────── */
#manifesto { background: var(--bg-card); }
.manifesto-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 0;
  border-top: 1px solid var(--line); border-left: 1px solid var(--line);
}
.manifesto-line {
  font-family: var(--display); font-weight: 400; font-style: italic;
  font-size: clamp(24px, 2.6vw, 36px);
  letter-spacing: -0.01em; line-height: 1.3;
  color: var(--ink);
  padding: 48px 32px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  position: relative;
}
.manifesto-line::before {
  content: counter(mline, decimal-leading-zero);
  counter-increment: mline;
  position: absolute; top: 16px; left: 32px;
  font-family: var(--mono); font-size: 11px;
  color: var(--gold); letter-spacing: 0.16em;
}
.manifesto-grid { counter-reset: mline; }

/* ── Levels (5 cards) ─────────────────────────────── */
#levels { background: var(--bg-paper); }
.levels-grid {
  display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px;
  margin-top: 48px;
}
.level-card {
  padding: 32px 24px;
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  position: relative; overflow: hidden;
  transition: transform .25s, box-shadow .25s;
}
.level-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.level-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: var(--gold);
}
.level-card:nth-child(2)::before { background: var(--accent-blue); }
.level-card:nth-child(3)::before { background: var(--ink); }
.level-card:nth-child(4)::before { background: var(--accent-red); }
.level-card:nth-child(5)::before { background: linear-gradient(90deg, var(--gold), var(--accent-red)); }
.level-code {
  font-family: var(--mono); font-size: 11px; font-weight: 600;
  color: var(--gold); letter-spacing: 0.16em;
}
.level-name {
  font-family: var(--display); font-weight: 700;
  font-size: 26px; color: var(--ink); margin-top: 8px;
  letter-spacing: -0.01em;
}
.level-desc {
  margin-top: 12px; font-size: 14px; color: var(--ink-soft);
  line-height: 1.6;
}
.level-dur {
  margin-top: 16px; padding-top: 12px; border-top: 1px dashed var(--line);
  font-family: var(--mono); font-size: 12px; color: var(--gold);
  letter-spacing: 0.08em;
}

/* ── Programs (8) — sig #5 flashcard flip ─────────── */
#programs { background: var(--bg-base); }
.programs-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px;
  margin-top: 48px;
  perspective: 1200px;
}
.program-card {
  position: relative; aspect-ratio: 3/4;
  transform-style: preserve-3d;
  transition: transform 0.7s cubic-bezier(.2,.8,.2,1);
}
.program-card:hover { transform: rotateY(180deg); }
.program-face {
  position: absolute; inset: 0;
  border-radius: var(--radius-md);
  backface-visibility: hidden;
  overflow: hidden;
}
.program-face-front {
  background: var(--bg-card); border: 1px solid var(--line);
  display: flex; flex-direction: column;
}
.program-img {
  width: 100%; aspect-ratio: 1/1;
  background-size: cover; background-position: center;
}
.program-front-body { padding: 16px; flex: 1; display: flex; flex-direction: column; gap: 4px; }
.program-code {
  font-family: var(--mono); font-size: 10px; font-weight: 500;
  color: var(--gold); letter-spacing: 0.16em;
}
.program-name {
  font-family: var(--display); font-weight: 700;
  font-size: 18px; color: var(--ink); letter-spacing: -0.01em;
}
.program-front-word {
  margin-top: 4px;
  font-family: var(--display); font-style: italic;
  font-size: 14px; color: var(--gold);
}
.program-face-back {
  background: var(--ink); color: var(--bg-paper);
  transform: rotateY(180deg);
  padding: 28px 22px;
  display: flex; flex-direction: column; justify-content: space-between;
}
.program-back-word {
  font-family: var(--display); font-weight: 900; font-style: italic;
  font-size: clamp(28px, 3vw, 40px);
  color: var(--gold-soft); letter-spacing: -0.02em;
  line-height: 1;
}
.program-back-desc {
  font-size: 13px; color: rgba(255,255,255,.85); line-height: 1.65;
  margin-top: 20px;
}
.program-back-meta {
  margin-top: 24px;
  font-family: var(--mono); font-size: 10px;
  color: var(--gold); letter-spacing: 0.16em; text-transform: uppercase;
}

/* ── Pronunciation Lab — sig #1 typing + sig #2 waveform ─ */
#pronunciation {
  background: var(--ink); color: #fff;
  position: relative; overflow: hidden;
}
.pron-wrap {
  display: grid; grid-template-columns: 1fr 1fr; gap: 80px;
  align-items: center;
}
.pron-text {
  display: flex; flex-direction: column; gap: 24px;
}
.pron-eyebrow {
  font-family: var(--mono); font-size: 11px; font-weight: 500;
  color: var(--gold); letter-spacing: 0.32em; text-transform: uppercase;
}
.pron-typing {
  font-family: var(--display); font-weight: 900; font-style: italic;
  font-size: clamp(48px, 6vw, 88px);
  letter-spacing: -0.04em; line-height: 1;
  color: #fff; min-height: 1.4em;
}
.pron-typing .caret {
  display: inline-block; width: 4px; height: 0.9em;
  background: var(--gold); margin-left: 4px;
  vertical-align: -0.1em;
  animation: caretBlink 0.8s ease-in-out infinite;
}
@keyframes caretBlink { 0%,49% { opacity: 1; } 50%,100% { opacity: 0; } }
.pron-ipa-row {
  display: flex; gap: 24px; flex-wrap: wrap;
  font-family: var(--mono); font-size: 14px;
  color: var(--gold-soft);
}
.pron-ipa { padding: 6px 10px; background: rgba(255,255,255,.06); border-radius: 3px; }

.waveform-svg {
  width: 100%; max-width: 400px; aspect-ratio: 1/1; margin: 0 auto;
}
.wave-circle {
  fill: none; stroke: var(--gold); stroke-width: 2;
  transform-origin: center;
  animation: wavePulse 2.5s ease-in-out infinite;
}
.wave-circle:nth-child(2) { stroke: var(--gold-soft); animation-delay: 0.4s; }
.wave-circle:nth-child(3) { stroke: var(--accent-red); stroke-opacity: 0.7; animation-delay: 0.8s; }
@keyframes wavePulse {
  0%,100% { transform: scale(1); opacity: 0.4; }
  50%     { transform: scale(1.15); opacity: 1; }
}

/* ── Stats (4 cards with IELTS radial — sig #3) ───── */
#stats { background: var(--bg-warm); }
.stats-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px;
  margin-top: 48px;
}
.stat-card {
  position: relative; padding: 36px 24px;
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  display: flex; flex-direction: column; gap: 16px;
  align-items: center; text-align: center;
}
.stat-radial-wrap { position: relative; width: 120px; height: 120px; }
.stat-radial-svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.stat-radial-bg  { fill: none; stroke: var(--line); stroke-width: 8; }
.stat-radial-fg  { fill: none; stroke: var(--gold); stroke-width: 8;
  stroke-linecap: round;
  stroke-dasharray: 314;
  stroke-dashoffset: 314;
  transition: stroke-dashoffset 1.4s cubic-bezier(.2,.8,.2,1);
}
.stat-card:nth-child(2) .stat-radial-fg { stroke: var(--accent-blue); }
.stat-card:nth-child(3) .stat-radial-fg { stroke: var(--accent-red); }
.stat-card:nth-child(4) .stat-radial-fg { stroke: var(--ink); }
.stat-num-overlay {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--display); font-weight: 900;
  font-size: 32px; color: var(--ink);
  letter-spacing: -0.02em;
}
.stat-label {
  font-size: 13px; color: var(--ink-soft);
  line-height: 1.5;
  font-family: var(--text);
}

/* ── Process (5 numbered steps) ───────────────────── */
#process { background: var(--bg-card); }
.process-list {
  display: flex; flex-direction: column;
  margin-top: 48px;
  border-top: 1px solid var(--line);
}
.process-row {
  display: grid; grid-template-columns: 80px 240px 1fr;
  gap: 32px;
  padding: 32px 16px;
  border-bottom: 1px solid var(--line);
  align-items: baseline;
  transition: background .2s;
}
.process-row:hover { background: var(--bg-paper); }
.process-num {
  font-family: var(--display); font-weight: 900; font-style: italic;
  font-size: clamp(40px, 4vw, 56px);
  color: var(--gold); letter-spacing: -0.02em;
}
.process-name {
  font-family: var(--display); font-weight: 700;
  font-size: clamp(20px, 2vw, 26px);
  color: var(--ink); letter-spacing: -0.01em;
}
.process-body {
  font-size: 15px; color: var(--ink-soft); line-height: 1.7;
}

/* ── Audio Library — sig #4 mock player ───────────── */
#audio-library { background: var(--bg-paper); }
.audio-wrap {
  display: grid; grid-template-columns: 1fr 1.4fr; gap: 60px;
  align-items: start;
  margin-top: 48px;
}
.audio-now-playing {
  background: var(--ink); color: #fff;
  border-radius: var(--radius-md);
  padding: 32px;
  position: sticky; top: 80px;
}
.np-cover {
  width: 100%; aspect-ratio: 1/1;
  background-size: cover; background-position: center;
  border-radius: var(--radius-sm);
  background-color: var(--bg-warm);
}
.np-track {
  margin-top: 24px;
  font-family: var(--mono); font-size: 11px;
  color: var(--gold); letter-spacing: 0.16em;
}
.np-title {
  margin-top: 6px;
  font-family: var(--display); font-weight: 700; font-style: italic;
  font-size: 22px; line-height: 1.2;
  color: #fff;
}
.np-progress {
  margin-top: 24px;
  height: 4px; background: rgba(255,255,255,.15);
  border-radius: 2px; overflow: hidden;
  position: relative;
}
.np-progress-fill {
  position: absolute; top: 0; left: 0; bottom: 0;
  width: 38%;
  background: var(--gold);
  border-radius: 2px;
}
.np-time-row {
  display: flex; justify-content: space-between;
  margin-top: 8px;
  font-family: var(--mono); font-size: 11px;
  color: rgba(255,255,255,.6);
}
.np-controls {
  display: flex; gap: 18px; justify-content: center; align-items: center;
  margin-top: 24px;
}
.np-btn {
  width: 44px; height: 44px; border-radius: 50%;
  background: rgba(255,255,255,.08);
  display: flex; align-items: center; justify-content: center;
  font-size: 14px; color: #fff;
  cursor: pointer; transition: background .2s;
}
.np-btn:hover { background: rgba(255,255,255,.16); }
.np-btn.np-play {
  width: 56px; height: 56px;
  background: var(--gold); color: var(--ink);
}
.np-btn.np-play:hover { background: #d8b35d; }

.audio-playlist {
  display: flex; flex-direction: column; gap: 8px;
}
.playlist-item {
  display: grid; grid-template-columns: 60px 36px 1fr 80px;
  gap: 16px;
  padding: 12px 16px;
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  align-items: center;
  cursor: pointer;
  transition: background .2s;
}
.playlist-item:hover { background: var(--bg-warm); }
.playlist-item.active { background: var(--ink); color: #fff; border-color: var(--ink); }
.playlist-item.active .pl-no, .playlist-item.active .pl-dur { color: var(--gold-soft); }
.pl-cover {
  width: 60px; height: 60px;
  background-size: cover; background-position: center;
  border-radius: var(--radius-sm);
}
.pl-no {
  font-family: var(--mono); font-size: 12px; font-weight: 600;
  color: var(--gold);
}
.pl-title {
  font-family: var(--display); font-weight: 500;
  font-size: 16px; color: inherit;
}
.pl-dur {
  font-family: var(--mono); font-size: 12px;
  color: var(--ink-soft); text-align: right;
}

/* ── Instructors (8) ──────────────────────────────── */
#instructors { background: var(--bg-base); }
.instr-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px;
  margin-top: 48px;
}
.instr-card {
  background: var(--bg-card); border: 1px solid var(--line);
  border-radius: var(--radius-md); overflow: hidden;
  transition: transform .25s, box-shadow .25s;
}
.instr-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.instr-img {
  width: 100%; aspect-ratio: 4/5;
  background-size: cover; background-position: center;
}
.instr-info { padding: 20px; display: flex; flex-direction: column; gap: 8px; }
.instr-name {
  font-family: var(--display); font-weight: 700;
  font-size: 19px; letter-spacing: -0.01em; color: var(--ink);
}
.instr-origin {
  font-family: var(--mono); font-size: 11px; color: var(--ink-soft);
  letter-spacing: 0.06em;
}
.instr-spec {
  font-family: var(--display); font-style: italic; font-weight: 400;
  font-size: 14px; color: var(--gold);
}
.instr-bio {
  font-size: 13px; color: var(--ink-soft); line-height: 1.6;
}

/* ── Alumni (4 quote cards) ───────────────────────── */
#alumni { background: var(--bg-paper); }
.alumni-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px;
  margin-top: 48px;
}
.alumni-card {
  background: var(--bg-card); border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 32px;
  display: grid; grid-template-columns: 100px 1fr; gap: 24px;
  position: relative;
}
.alumni-card::before {
  content: '"';
  position: absolute; top: 12px; right: 24px;
  font-family: var(--display); font-style: italic; font-weight: 900;
  font-size: 80px; color: var(--gold-soft); line-height: 1;
}
.alumni-img {
  width: 100px; height: 100px; border-radius: 50%;
  background-size: cover; background-position: center;
}
.alumni-info { display: flex; flex-direction: column; gap: 12px; }
.alumni-name {
  font-family: var(--display); font-weight: 700;
  font-size: 20px; color: var(--ink);
}
.alumni-achv {
  font-family: var(--mono); font-size: 11px;
  color: var(--gold); letter-spacing: 0.08em;
}
.alumni-quote {
  font-family: var(--display); font-style: italic; font-weight: 400;
  font-size: 16px; color: var(--ink); line-height: 1.6;
}

/* ── Studio (3 photo) ─────────────────────────────── */
#studio { background: var(--bg-card); }
.studio-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
  margin-top: 48px;
}
.studio-card {
  border-radius: var(--radius-md); overflow: hidden;
  border: 1px solid var(--line);
}
.studio-img {
  width: 100%; aspect-ratio: 16/10;
  background-size: cover; background-position: center;
}
.studio-body { padding: 22px; }
.studio-name {
  font-family: var(--display); font-weight: 700; font-style: italic;
  font-size: 19px; color: var(--ink); letter-spacing: -0.01em;
}
.studio-desc {
  margin-top: 6px; font-size: 14px; color: var(--ink-soft); line-height: 1.6;
}

/* ── Press (4 quote, 2x2) ─────────────────────────── */
#press { background: var(--bg-warm); }
.press-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 32px;
  margin-top: 48px;
}
.press-card {
  background: var(--bg-card); border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 36px;
}
.press-source {
  font-family: var(--mono); font-size: 11px; font-weight: 500;
  color: var(--gold); letter-spacing: 0.32em; text-transform: uppercase;
}
.press-quote {
  margin-top: 16px;
  font-family: var(--display); font-style: italic; font-weight: 400;
  font-size: clamp(18px, 1.8vw, 22px);
  color: var(--ink); line-height: 1.5;
}

/* ── CTA ───────────────────────────────────────────── */
#cta {
  background: var(--ink); color: #fff;
}
.cta-wrap {
  max-width: 720px; margin: 0 auto; text-align: center;
}
.cta-headline {
  font-family: var(--display); font-weight: 900; font-style: italic;
  font-size: clamp(40px, 5vw, 64px);
  letter-spacing: -0.03em; line-height: 1.05;
  white-space: pre-line; color: #fff;
  margin-bottom: 16px;
}
.cta-headline em { color: var(--gold-soft); }
.cta-body {
  color: rgba(255,255,255,.85); font-size: 16px; line-height: 1.85;
  margin-bottom: 40px;
}
.cta-form {
  background: var(--bg-paper); padding: 40px;
  border-radius: var(--radius-md);
  display: flex; flex-direction: column; gap: 16px;
  text-align: left;
  box-shadow: var(--shadow-lg);
}
.cta-form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field-label {
  display: block;
  font-family: var(--mono); font-size: 11px; color: var(--ink-soft);
  letter-spacing: 0.16em; text-transform: uppercase;
  margin-bottom: 6px; font-weight: 500;
}
.cta-submit {
  width: 100%; padding: 18px;
  background: var(--accent-red); color: #fff;
  border-radius: 4px;
  font-family: var(--display); font-weight: 700;
  font-size: 14px; letter-spacing: 0.2em; text-transform: uppercase;
  margin-top: 8px;
  transition: transform .2s;
}
.cta-submit:hover { transform: translateY(-2px); background: #a00d24; }
.cta-meta {
  margin-top: 24px; font-family: var(--mono); font-size: 12px;
  color: rgba(255,255,255,.7); letter-spacing: 0.06em;
}

/* ── Footer ────────────────────────────────────────── */
#footer {
  background: var(--bg-paper);
  padding: 80px 32px 40px;
  border-top: 1px solid var(--line);
}
.footer-wrap {
  max-width: 1280px; margin: 0 auto;
  display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 60px;
  color: var(--ink);
}
.footer-tagline {
  font-family: var(--display); font-weight: 700; font-style: italic;
  font-size: 22px; line-height: 1.4;
  margin-top: 18px;
}
.footer-meta-row {
  margin-top: 24px; display: flex; flex-direction: column; gap: 8px;
  font-family: var(--mono); font-size: 12px; color: var(--ink-soft);
  letter-spacing: 0.04em;
}
.footer-meta-row a { color: var(--accent-red); }
.footer-list { display: flex; flex-direction: column; gap: 10px; }
.footer-list-title {
  font-family: var(--mono); font-size: 11px; font-weight: 500;
  color: var(--gold); letter-spacing: 0.32em;
  text-transform: uppercase; margin-bottom: 10px;
}
.footer-list a {
  font-family: var(--text); font-size: 14px; color: var(--ink);
  transition: color .2s;
}
.footer-list a:hover { color: var(--accent-red); }
.footer-founder { display: flex; flex-direction: column; gap: 12px; }
.footer-founder-img {
  width: 64px; height: 80px; border-radius: var(--radius-sm);
  background-size: cover; background-position: center;
}
.footer-founder-name {
  font-family: var(--display); font-weight: 700; font-style: italic;
  font-size: 18px; color: var(--ink);
}
.footer-founder-role {
  font-family: var(--mono); font-size: 11px;
  color: var(--ink-soft); letter-spacing: 0.08em;
}
.footer-bottom {
  margin-top: 60px; padding-top: 24px;
  border-top: 1px solid var(--line);
  font-family: var(--mono); font-size: 11px;
  color: var(--ink-soft);
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px;
  letter-spacing: 0.04em;
}

/* ── Responsive ───────────────────────────────────── */
@media (max-width: 1024px) {
  .hero-wrap { grid-template-columns: 1fr; gap: 40px; }
  .levels-grid { grid-template-columns: repeat(2, 1fr); }
  .programs-grid, .instr-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .pron-wrap { grid-template-columns: 1fr; gap: 40px; }
  .audio-wrap { grid-template-columns: 1fr; gap: 32px; }
  .audio-now-playing { position: static; }
  .alumni-grid, .studio-grid, .press-grid { grid-template-columns: 1fr; }
  .footer-wrap { grid-template-columns: 1fr; gap: 40px; }
  .manifesto-grid { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  .section { padding: 70px 24px; }
  .nav-brand { top: 18px; left: 20px; font-size: 16px; }
  body.has-banner .nav-brand { top: 50px; }
  .levels-grid, .programs-grid, .instr-grid, .stats-grid { grid-template-columns: 1fr; }
  .cta-form-row { grid-template-columns: 1fr; }
  .process-row { grid-template-columns: 60px 1fr; gap: 16px; }
  .process-row .process-body { grid-column: 2; }
  .alumni-card { grid-template-columns: 80px 1fr; padding: 24px; }
  .alumni-img { width: 80px; height: 80px; }
  .footer-bottom { flex-direction: column; gap: 8px; }
  .playlist-item { grid-template-columns: 50px 30px 1fr 60px; gap: 12px; padding: 10px; }
  .pl-cover { width: 50px; height: 50px; }
  .pl-title { font-size: 14px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
  .program-card:hover { transform: none; }
}

/* 1D 강화 — universal cursor follower v2 */
.cursor-follower{position:fixed; top:0; left:0; width:32px; height:32px; border:2px solid currentColor; border-radius:50%; pointer-events:none; z-index:9999; transform:translate(-50%,-50%); transition:transform .15s ease-out, width .25s, height .25s, background .25s; mix-blend-mode:difference; opacity:.85}
.cursor-follower.cursor-grow{width:60px; height:60px; background:rgba(255,255,255,.1)}
.cursor-follower.cursor-shrink{width:8px; height:8px}
.nav-cta, .nav-signup, [class*="-form-submit"], [class*="-cta"] a{transition:transform .25s cubic-bezier(.34,1.56,.64,1), box-shadow .3s !important}
[class*="-card"]{transition:transform .35s cubic-bezier(.2,.85,.4,1.275), box-shadow .35s, border-color .25s !important}
@media (max-width:768px){.cursor-follower{display:none !important}}

/* 1D-2 cursor diversify — British red A */
.cursor-follower{border-color:#c8102e; mix-blend-mode:normal; border-width:2px; box-shadow:0 0 16px rgba(200,16,46,.5)}
.cursor-follower::before{content:"A"; position:absolute; top:50%; left:50%; transform:translate(-50%,-50%); color:#c8102e; font-size:12px; font-family:"Playfair Display",serif; font-weight:700}

/* 1D-4 mobile interaction — touch ripple + particle (universal) */
@media (max-width:768px){
  .touch-ripple{position:fixed; pointer-events:none; z-index:9998; border-radius:50%; transform:translate(-50%,-50%); animation:touch-ripple-anim .6s ease-out forwards; mix-blend-mode:multiply}
  @keyframes touch-ripple-anim{
    0%{width:10px; height:10px; opacity:.7; border:2px solid currentColor; background:transparent}
    100%{width:80px; height:80px; opacity:0; border:1px solid currentColor; background:transparent}
  }
  .touch-particle{position:fixed; pointer-events:none; z-index:9998; transform:translate(-50%,-50%); transition:all 1.2s ease-out; opacity:.9; font-size:14px}
  /* iOS smooth scroll + active feedback */
  a, button, [class*="-card"]{-webkit-tap-highlight-color:transparent}
  a:active, button:active, [class*="-card"]:active{transform:scale(.97); transition:transform .1s}
}


/* ===========================================
   RETROFIT v1.27 — motionsites integration
   slug: lang-house-en
   effects: U, X
   =========================================== */
/* === retrofit v1.27 motionsites scroll-driven-reveal (MIT) === */
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .section, [class*="-section"], .card, [class*="-card"], article {
      animation: rt-reveal-up linear forwards;
      animation-timeline: view();
      animation-range: entry 0% cover 30%;
    }
    @keyframes rt-reveal-up {
      from { opacity: 0; transform: translateY(28px); }
      to { opacity: 1; transform: translateY(0); }
    }
  }
}/* === retrofit v1.27 motionsites bento-asymmetric (MIT) === */
@media (prefers-reduced-motion: no-preference) {
  .bento-cell, [class*="bento-"], .grid > * {
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s;
  }
  .bento-cell:hover, [class*="bento-"]:hover {
    transform: translateY(-3px) scale(1.01);
    box-shadow: 0 24px 48px rgba(0,0,0,0.1);
  }
}