/* =========================================================
   Didakte 笛达学 · A+C Hybrid (Aurora Hero + Atelier Body)
   ========================================================= */

/* ---------- 1. TOKENS ---------- */
:root {
  /* Mint primary */
  --mint:        #0AC1A7;
  --mint-bright: #1ED6BB;
  --mint-dark:   #089380;
  --mint-soft:   #E6F9F5;
  --mint-ink:    #054A40;

  /* Coral accent */
  --coral:       #E98A6A;
  --coral-deep:  #C46A4D;
  --coral-soft:  #FBE6DC;

  /* Aurora dark stage */
  --ink-0: #08110F;
  --ink-1: #0E1816;
  --ink-2: #15211E;
  --ink-3: #1F2D29;
  --ink-line-d: rgba(255,255,255,0.08);

  /* Atelier paper */
  --paper:       #FAFAF6;
  --paper-warm:  #F1EFE7;
  --paper-deep:  #EAE7DC;
  --text-1:      #16140F;
  --text-2:      #4A4944;
  --text-3:      #807E76;
  --rule:        #DCD7C7;

  /* Type families */
  --ff-serif: "Noto Serif SC", "Cormorant Garamond", "Source Han Serif SC", "Songti SC", "STSong", serif;
  --ff-sans:  "Inter", -apple-system, BlinkMacSystemFont, "PingFang SC", "Helvetica Neue", "Hiragino Sans GB", sans-serif;
  --ff-mono:  "JetBrains Mono", "SF Mono", "Menlo", "Monaco", "Consolas", monospace;
  --ff-greek: "Cormorant Garamond", "Times New Roman", serif;

  /* Layout */
  --page-max: 1200px;
  --read-max: 760px;
  --gutter:   clamp(20px, 5vw, 64px);
  --section-pad: clamp(80px, 12vw, 160px);
}

/* ---------- 2. RESET ---------- */
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--ff-sans);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-1);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; padding: 0; margin: 0; }
button { font: inherit; cursor: pointer; }

/* ============================================================
   3. AURORA STAGE (HERO · DARK)
   ============================================================ */

.aurora-stage {
  position: relative;
  min-height: 100vh;
  background: var(--ink-0);
  color: #fff;
  overflow: hidden;
  isolation: isolate;
}

/* Aurora mesh — multi-layer radial gradients drifting */
.aurora-mesh {
  position: absolute; inset: -10%;
  z-index: 0;
  background:
    radial-gradient(45% 35% at 18% 22%, rgba(10, 193, 167, 0.55), transparent 70%),
    radial-gradient(40% 30% at 82% 18%, rgba(30, 214, 187, 0.40), transparent 65%),
    radial-gradient(55% 40% at 75% 78%, rgba(233, 138, 106, 0.35), transparent 70%),
    radial-gradient(50% 45% at 25% 88%, rgba(8, 147, 128, 0.45), transparent 70%),
    radial-gradient(120% 100% at 50% 0%, rgba(5, 74, 64, 0.5), transparent 65%);
  filter: blur(40px) saturate(1.1);
  animation: aurora-drift 24s ease-in-out infinite alternate;
}

.aurora-grid {
  position: absolute; inset: 0;
  z-index: 1;
  background-image:
    linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 40%, #000 30%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 40%, #000 30%, transparent 80%);
  pointer-events: none;
}

.aurora-grain {
  position: absolute; inset: 0;
  z-index: 2;
  pointer-events: none;
  opacity: 0.5;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%25' height='100%25' filter='url(%23n)' opacity='0.4'/></svg>");
}

@keyframes aurora-drift {
  0%   { transform: translate3d(0,    0,    0) scale(1.00); }
  50%  { transform: translate3d(2%,  -1.5%, 0) scale(1.05); }
  100% { transform: translate3d(-1.5%, 1%,   0) scale(1.02); }
}

/* ---------- TOP NAV ---------- */
.topnav {
  position: relative;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px var(--gutter);
  max-width: var(--page-max);
  margin: 0 auto;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--ff-sans);
  font-size: 16px;
  letter-spacing: 0.01em;
  color: #fff;
}
.brand-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px; height: 32px;
  border-radius: 9px;
  font-family: var(--ff-serif);
  font-weight: 700;
  font-size: 18px;
  color: var(--ink-0);
  background: linear-gradient(135deg, var(--mint-bright), var(--mint));
  box-shadow: 0 4px 14px rgba(10, 193, 167, 0.4);
}
.brand-mark.sm { width: 26px; height: 26px; font-size: 15px; border-radius: 7px; }
.brand-name strong { font-weight: 700; }
.brand-name .sep { opacity: 0.45; margin: 0 4px; }

.nav-links {
  display: inline-flex;
  align-items: center;
  gap: 28px;
  font-size: 14px;
  color: rgba(255,255,255,0.7);
}
.nav-links a {
  position: relative;
  transition: color 0.2s ease;
}
.nav-links a:hover { color: #fff; }
.nav-links a:hover::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -6px;
  height: 1px;
  background: var(--mint-bright);
}
.nav-sep {
  width: 1px; height: 14px;
  background: rgba(255,255,255,0.15);
}

/* ---------- HERO ---------- */
.hero {
  position: relative;
  z-index: 5;
  max-width: var(--page-max);
  margin: 0 auto;
  padding: clamp(60px, 12vh, 130px) var(--gutter) 80px;
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  grid-template-rows: auto auto auto auto;
  gap: 28px 60px;
  align-items: center;
}

.hero-kicker {
  grid-column: 1 / -1;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 8px 14px;
  width: fit-content;
  font-family: var(--ff-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.85);
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 999px;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
.kicker-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--mint-bright);
  box-shadow: 0 0 10px var(--mint-bright);
  animation: pulse 2.4s ease-in-out infinite;
}
.kicker-greek {
  font-family: var(--ff-greek);
  font-size: 14px;
  letter-spacing: 0.04em;
  text-transform: none;
  color: var(--mint-bright);
  font-style: italic;
}

@keyframes pulse {
  0%, 100% { opacity: 1;   box-shadow: 0 0 10px var(--mint-bright); }
  50%      { opacity: 0.5; box-shadow: 0 0 18px var(--mint-bright); }
}

.hero-title {
  grid-column: 1;
  grid-row: 2;
  font-family: var(--ff-serif);
  font-weight: 700;
  font-size: clamp(40px, 7vw, 88px);
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin: 0;
}
.hero-title .line { display: block; }
.hero-title .gradient {
  background: linear-gradient(120deg, var(--mint-bright) 0%, var(--mint) 35%, var(--coral) 90%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-weight: 800;
}

.hero-sub {
  grid-column: 1;
  grid-row: 3;
  max-width: 520px;
  margin: 0;
  font-size: clamp(15px, 1.4vw, 18px);
  line-height: 1.7;
  color: rgba(255,255,255,0.75);
}

.hero-cta {
  grid-column: 1;
  grid-row: 4;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
}

/* Buttons (hero / dark) */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 26px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.01em;
  white-space: nowrap;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, color 0.2s ease;
  cursor: pointer;
}
.btn-primary {
  background: linear-gradient(120deg, var(--mint-bright), var(--mint));
  color: var(--ink-0);
  box-shadow: 0 6px 24px rgba(10, 193, 167, 0.35), inset 0 1px 0 rgba(255,255,255,0.5);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(10, 193, 167, 0.45), inset 0 1px 0 rgba(255,255,255,0.6);
}
.btn-primary.disabled { opacity: 0.7; cursor: default; }
.btn-primary.disabled:hover { transform: none; }
.btn-arrow { transition: transform 0.2s ease; }
.btn-primary:hover .btn-arrow { transform: translateX(3px); }
.btn-meta {
  font-size: 11px;
  font-weight: 500;
  padding: 2px 8px;
  border-radius: 999px;
  background: rgba(0,0,0,0.18);
  color: rgba(0,0,0,0.7);
  letter-spacing: 0.05em;
}

.btn-ghost {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.18);
  color: #fff;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.btn-ghost:hover {
  background: rgba(255,255,255,0.10);
  border-color: rgba(255,255,255,0.30);
}

/* ---------- HERO ART (ORB) ---------- */
.hero-art {
  grid-column: 2;
  grid-row: 2 / 5;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 380px;
}

.orb {
  position: relative;
  width: clamp(220px, 24vw, 340px);
  aspect-ratio: 1;
}
.orb-glyph {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--ff-greek);
  font-style: italic;
  font-weight: 500;
  font-size: clamp(120px, 16vw, 200px);
  line-height: 1;
  color: transparent;
  background: linear-gradient(135deg, var(--mint-bright), var(--coral));
  -webkit-background-clip: text;
  background-clip: text;
  text-shadow: 0 0 60px rgba(10, 193, 167, 0.4);
  z-index: 3;
}
.orb-ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 1px solid rgba(10, 193, 167, 0.35);
  animation: orb-ripple 6s ease-out infinite;
  z-index: 1;
}
.orb-ring.r1 { animation-delay: 0s;   border-color: rgba(10, 193, 167, 0.45); }
.orb-ring.r2 { animation-delay: 1.5s; border-color: rgba(30, 214, 187, 0.30); }
.orb-ring.r3 { animation-delay: 3s;   border-color: rgba(233, 138, 106, 0.25); }
.orb-glow {
  position: absolute;
  inset: 15%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(10, 193, 167, 0.3), transparent 70%);
  filter: blur(20px);
  z-index: 2;
}

@keyframes orb-ripple {
  0%   { transform: scale(0.85); opacity: 0;   }
  20%  { opacity: 1; }
  100% { transform: scale(1.6);  opacity: 0;   }
}

/* ---------- HERO STAT STRIP ---------- */
.hero-stat {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  gap: clamp(20px, 3vw, 48px);
  margin-top: 60px;
  padding: 24px 32px;
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: 18px;
  background: rgba(255,255,255,0.03);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  width: fit-content;
}
.stat-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.stat-num {
  font-family: var(--ff-serif);
  font-weight: 600;
  font-size: clamp(28px, 3vw, 38px);
  line-height: 1;
  color: #fff;
  letter-spacing: -0.02em;
}
.stat-num small {
  font-size: 0.55em;
  color: var(--mint-bright);
  margin-left: 2px;
  font-weight: 500;
}
.stat-label {
  font-family: var(--ff-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.55);
}
.stat-divider {
  width: 1px; height: 32px;
  background: linear-gradient(transparent, rgba(255,255,255,0.2), transparent);
}

/* ---------- SCROLL HINT ---------- */
.hero-scroll {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  font-family: var(--ff-mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
}
.scroll-line {
  width: 1px; height: 38px;
  background: linear-gradient(transparent, rgba(255,255,255,0.5));
  animation: scroll-pulse 2.4s ease-in-out infinite;
}
@keyframes scroll-pulse {
  0%, 100% { opacity: 0.2; }
  50%      { opacity: 1;   }
}

/* ============================================================
   4. AURORA → ATELIER FADE
   ============================================================ */

.aurora-fade {
  height: 120px;
  background: linear-gradient(to bottom, var(--ink-0) 0%, var(--paper) 100%);
  position: relative;
  z-index: 3;
}

/* ============================================================
   5. ATELIER (BODY · LIGHT)
   ============================================================ */

.atelier {
  background: var(--paper);
  color: var(--text-1);
  position: relative;
  z-index: 4;
}

/* ---------- SHOWCASE · PHONES ---------- */
.showcase {
  position: relative;
  padding: clamp(80px, 10vw, 140px) var(--gutter) clamp(80px, 10vw, 140px);
  background: var(--paper);
  overflow: hidden;
  isolation: isolate;
}
.showcase-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    radial-gradient(50% 40% at 18% 30%, rgba(10,193,167,0.10), transparent 70%),
    radial-gradient(50% 40% at 82% 75%, rgba(233,138,106,0.08), transparent 70%);
  pointer-events: none;
}
.showcase-head {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: var(--read-max);
  margin: 0 auto 70px;
}
.showcase-kicker {
  display: inline-block;
  font-family: var(--ff-mono);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--text-3);
  margin-bottom: 18px;
  padding: 6px 14px;
  background: var(--paper-warm);
  border-radius: 999px;
  border: 1px solid var(--rule);
}
.showcase-title {
  font-family: var(--ff-serif);
  font-weight: 700;
  font-size: clamp(34px, 5vw, 56px);
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin: 0 0 16px;
  color: var(--text-1);
}
.showcase-lead {
  font-family: var(--ff-greek);
  font-style: italic;
  font-size: 19px;
  line-height: 1.6;
  color: var(--text-2);
  margin: 0;
}
.showcase-rail {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(20px, 2.5vw, 36px);
  max-width: var(--page-max);
  margin: 0 auto;
  align-items: end;
}
.phone {
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 22px;
  text-align: center;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}
.phone:nth-child(2) { transform: translateY(-24px); }
.phone:nth-child(3) { transform: translateY(-12px); }
.phone:nth-child(4) { transform: translateY(-32px); }
.phone:hover {
  transform: translateY(-44px);
}
.phone-screen {
  position: relative;
  border-radius: 32px;
  overflow: hidden;
  background: linear-gradient(135deg, #16140F, #0E1816);
  padding: 6px;
  box-shadow:
    0 28px 56px rgba(20, 18, 12, 0.18),
    0 12px 24px rgba(20, 18, 12, 0.10),
    0 2px 6px rgba(20, 18, 12, 0.06),
    inset 0 0 0 1px rgba(255,255,255,0.04);
}
.phone-screen img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 26px;
  background: #000;
}
.phone figcaption {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}
.phone-num {
  font-family: var(--ff-greek);
  font-style: italic;
  font-weight: 500;
  font-size: 20px;
  line-height: 1;
  color: var(--coral);
}
.phone-cap {
  font-family: var(--ff-sans);
  font-size: 13px;
  line-height: 1.5;
  color: var(--text-2);
  letter-spacing: 0.01em;
}

@media (max-width: 960px) {
  .showcase-rail {
    grid-template-columns: repeat(2, 1fr);
    gap: 28px;
    align-items: stretch;
  }
  .phone:nth-child(n) { transform: none; }
  .phone:hover { transform: translateY(-6px); }
}
@media (max-width: 560px) {
  .showcase-rail { grid-template-columns: 1fr; max-width: 320px; }
}

.chapter {
  max-width: var(--page-max);
  margin: 0 auto;
  padding: var(--section-pad) var(--gutter);
  position: relative;
}
.chapter-alt {
  background: var(--paper-warm);
  max-width: none;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}
.chapter-alt > * {
  max-width: var(--page-max);
  margin-left: auto;
  margin-right: auto;
}

/* ---------- CHAPTER HEAD ---------- */
.chapter-head {
  display: grid;
  grid-template-columns: 100px 1fr;
  grid-template-rows: auto auto auto;
  column-gap: 24px;
  row-gap: 16px;
  align-items: start;
  margin-bottom: 80px;
  padding-bottom: 40px;
  border-bottom: 1px solid var(--rule);
}
.chapter-num {
  grid-column: 1;
  grid-row: 1 / span 3;
  font-family: var(--ff-greek);
  font-weight: 400;
  font-size: 64px;
  line-height: 0.9;
  color: var(--coral);
  letter-spacing: 0.02em;
}
.chapter-kicker {
  grid-column: 2;
  grid-row: 1;
  display: block;
  font-family: var(--ff-mono);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--text-3);
  margin: 8px 0 0;
}
.chapter-title {
  grid-column: 2;
  grid-row: 2;
  font-family: var(--ff-serif);
  font-weight: 700;
  font-size: clamp(34px, 5vw, 60px);
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin: 0;
  color: var(--text-1);
}
.chapter-lead {
  grid-column: 2;
  grid-row: 3;
  margin: 0;
  font-size: 17px;
  color: var(--text-2);
  font-style: italic;
  font-family: var(--ff-greek);
}

/* ---------- ABOUT · LINEAGE ---------- */
.lineage {
  display: grid;
  grid-template-columns: 1fr 80px 1fr;
  gap: 0;
  align-items: stretch;
  margin: 60px 0;
}
.lineage-side {
  text-align: center;
  padding: 40px 32px;
}
.lineage-glyph {
  font-family: var(--ff-serif);
  font-size: 120px;
  line-height: 1;
  margin-bottom: 24px;
  color: var(--text-1);
}
.lineage-glyph.greek {
  font-family: var(--ff-greek);
  font-style: italic;
  font-weight: 500;
  color: transparent;
  background: linear-gradient(135deg, var(--mint-dark), var(--mint));
  -webkit-background-clip: text;
  background-clip: text;
}
.lineage-glyph.chinese {
  color: transparent;
  background: linear-gradient(135deg, var(--coral-deep), var(--coral));
  -webkit-background-clip: text;
  background-clip: text;
  font-weight: 700;
}
.lineage-label {
  display: block;
  font-family: var(--ff-mono);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--text-3);
  margin-bottom: 12px;
}
.lineage-word {
  font-family: var(--ff-serif);
  font-weight: 600;
  font-size: 32px;
  line-height: 1.2;
  margin: 0 0 6px;
  color: var(--text-1);
}
.lineage-side:first-child .lineage-word {
  font-family: var(--ff-greek);
  font-style: italic;
  font-weight: 500;
  font-size: 38px;
}
.lineage-pron {
  font-family: var(--ff-mono);
  font-size: 13px;
  color: var(--text-3);
  margin: 0 0 20px;
}
.lineage-meaning {
  font-family: var(--ff-serif);
  font-size: 17px;
  line-height: 1.7;
  color: var(--text-1);
  margin: 0 0 20px;
  font-style: italic;
}
.lineage-note {
  font-size: 14px;
  line-height: 1.7;
  color: var(--text-2);
  margin: 0;
  max-width: 320px;
  margin-left: auto;
  margin-right: auto;
}

.lineage-divider {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
}
.divider-line {
  width: 1px;
  flex: 1;
  background: linear-gradient(transparent, var(--rule), transparent);
}
.divider-mark {
  font-family: var(--ff-greek);
  font-size: 24px;
  color: var(--coral);
  line-height: 1;
}

.chapter-foot {
  max-width: var(--read-max);
  margin: 60px auto 0;
  font-family: var(--ff-serif);
  font-size: 19px;
  line-height: 1.8;
  color: var(--text-1);
  text-align: center;
}
.chapter-foot em {
  font-style: italic;
  color: var(--mint-dark);
  font-weight: 600;
}

/* ---------- PRODUCTS · SPREAD ---------- */
.product-spread {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  padding: 60px 0;
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}

.product-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  font-family: var(--ff-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--mint-dark);
  background: var(--mint-soft);
  border-radius: 999px;
  margin-bottom: 24px;
}
.tag-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--mint);
}

.product-name {
  font-family: var(--ff-serif);
  font-weight: 700;
  font-size: clamp(36px, 4vw, 52px);
  line-height: 1.1;
  margin: 0 0 12px;
  letter-spacing: -0.02em;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.prod-cn { color: var(--text-1); }
.prod-en {
  font-family: var(--ff-greek);
  font-style: italic;
  font-weight: 500;
  font-size: 0.5em;
  color: var(--mint-dark);
  letter-spacing: 0;
}

.product-pitch {
  font-family: var(--ff-serif);
  font-style: italic;
  font-size: 19px;
  line-height: 1.6;
  color: var(--text-2);
  margin: 0 0 32px;
}

.product-meta-line {
  width: 60px;
  height: 2px;
  background: var(--coral);
  margin: 32px 0;
}

.product-desc {
  font-size: 15px;
  line-height: 1.8;
  color: var(--text-2);
  margin: 0;
  max-width: 480px;
}

.product-feat ul {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-bottom: 32px;
}
.product-feat li {
  display: grid;
  grid-template-columns: 90px 1fr;
  gap: 20px;
  padding: 16px 0;
  border-bottom: 1px solid var(--rule);
  font-size: 14px;
  line-height: 1.6;
}
.product-feat li:last-of-type { border-bottom: none; }
.product-feat li strong {
  font-family: var(--ff-serif);
  font-weight: 600;
  font-size: 16px;
  color: var(--text-1);
}
.product-feat li span { color: var(--text-2); }

/* Product CTA buttons (light) */
.product-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
}
.product-cta .btn-primary {
  background: linear-gradient(120deg, var(--mint), var(--mint-dark));
  color: #fff;
  box-shadow: 0 6px 18px rgba(8, 147, 128, 0.25);
}
.product-cta .btn-primary.disabled {
  background: linear-gradient(120deg, var(--text-3), var(--text-2));
  box-shadow: none;
  color: rgba(255,255,255,0.92);
}
.product-cta .btn-primary.disabled .btn-meta {
  background: rgba(255,255,255,0.2);
  color: #fff;
}
.btn-link {
  font-family: var(--ff-sans);
  font-size: 14px;
  font-weight: 500;
  color: var(--coral-deep);
  padding: 14px 8px;
  position: relative;
}
.btn-link::after {
  content: "";
  position: absolute;
  left: 8px; right: 8px; bottom: 10px;
  height: 1px;
  background: var(--coral-deep);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}
.btn-link:hover::after { transform: scaleX(1); }

/* ---------- UPCOMING ---------- */
.upcoming { margin-top: 80px; }
.upcoming-head {
  display: flex;
  align-items: center;
  gap: 24px;
  font-family: var(--ff-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--text-3);
  margin: 0 0 40px;
  text-align: center;
  justify-content: center;
}
.upcoming-line {
  flex: 1;
  height: 1px;
  background: var(--rule);
  max-width: 200px;
}
.upcoming-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.upcoming-item {
  padding: 32px 24px;
  background: var(--paper);
  border: 1px solid var(--rule);
  border-radius: 16px;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}
.upcoming-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(0,0,0,0.06);
  border-color: var(--mint);
}
.upcoming-num {
  font-family: var(--ff-greek);
  font-style: italic;
  font-size: 32px;
  color: var(--coral);
  margin-bottom: 16px;
}
.upcoming-name {
  font-family: var(--ff-serif);
  font-weight: 600;
  font-size: 19px;
  color: var(--text-1);
  margin-bottom: 4px;
}
.upcoming-en {
  font-family: var(--ff-greek);
  font-style: italic;
  font-size: 14px;
  color: var(--mint-dark);
  margin-bottom: 16px;
}
.upcoming-item p {
  font-size: 13px;
  line-height: 1.6;
  color: var(--text-2);
  margin: 0;
}

/* ---------- VALUES ---------- */
.values-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.value-row {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 40px;
  padding: 48px 0;
  border-bottom: 1px solid var(--rule);
  align-items: start;
}
.value-row:last-child { border-bottom: none; }
.value-num {
  font-family: var(--ff-greek);
  font-style: italic;
  font-weight: 400;
  font-size: 56px;
  line-height: 0.9;
  color: var(--coral);
  letter-spacing: 0.02em;
}
.value-body h3 {
  font-family: var(--ff-serif);
  font-weight: 700;
  font-size: clamp(26px, 3vw, 36px);
  line-height: 1.2;
  margin: 0 0 16px;
  color: var(--text-1);
}
.value-body p {
  font-size: 17px;
  line-height: 1.8;
  color: var(--text-2);
  margin: 0;
  max-width: 720px;
}
.value-body em {
  font-style: italic;
  color: var(--mint-dark);
  font-weight: 600;
}

/* ---------- CONTACT ---------- */
.chapter-contact { padding-bottom: var(--section-pad); }
.contact-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  padding: 40px 0;
}
.contact-item {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.contact-label {
  font-family: var(--ff-mono);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--text-3);
}
.contact-value {
  font-family: var(--ff-serif);
  font-size: 22px;
  color: var(--text-1);
  font-weight: 500;
}
a.contact-value {
  color: var(--mint-dark);
  text-decoration: none;
  position: relative;
  width: fit-content;
}
a.contact-value::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -3px;
  height: 1px;
  background: currentColor;
  transform: scaleX(0.4);
  transform-origin: left;
  transition: transform 0.3s ease;
}
a.contact-value:hover::after { transform: scaleX(1); }

/* ============================================================
   6. FOOTER · AURORA (DARK)
   ============================================================ */

.footer-aurora {
  position: relative;
  background: var(--ink-0);
  color: rgba(255,255,255,0.7);
  overflow: hidden;
  isolation: isolate;
  padding: var(--section-pad) var(--gutter) 50px;
}
.footer-mesh {
  inset: -10%;
  filter: blur(60px) saturate(1.0);
  opacity: 0.5;
  z-index: 0;
}

.footer-inner {
  position: relative;
  z-index: 2;
  max-width: var(--page-max);
  margin: 0 auto;
}

.footer-top {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 40px;
  align-items: center;
  margin-bottom: 60px;
  padding-bottom: 40px;
  border-bottom: 1px solid var(--ink-line-d);
}
.footer-top .brand { color: #fff; }
.footer-tag {
  font-family: var(--ff-greek);
  font-style: italic;
  font-size: 17px;
  color: rgba(255,255,255,0.55);
  margin: 0;
  text-align: right;
}

.footer-cols {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 60px;
  margin-bottom: 60px;
}
.footer-cols h4 {
  font-family: var(--ff-mono);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
  margin: 0 0 20px;
  font-weight: 500;
}
.footer-cols a,
.footer-cols .footer-text {
  display: block;
  padding: 6px 0;
  font-size: 14px;
  color: rgba(255,255,255,0.7);
  transition: color 0.2s ease;
}
.footer-cols a:hover { color: var(--mint-bright); }

.footer-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  padding-top: 32px;
  border-top: 1px solid var(--ink-line-d);
  font-size: 12px;
  color: rgba(255,255,255,0.5);
}
.footer-bar p { margin: 0; }
.footer-bar .filing a {
  color: rgba(255,255,255,0.65);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease;
}
.footer-bar .filing a:hover { border-color: rgba(255,255,255,0.4); }
.footer-bar .dot {
  margin: 0 10px;
  color: rgba(255,255,255,0.3);
}

/* ============================================================
   7. RESPONSIVE
   ============================================================ */

@media (max-width: 960px) {
  .nav-links { display: none; }

  .hero {
    grid-template-columns: 1fr;
    padding-top: 60px;
    padding-bottom: 60px;
    gap: 28px;
  }
  .hero-art {
    grid-column: 1;
    grid-row: 5;
    min-height: 280px;
    margin: 20px 0;
  }
  .hero-stat {
    grid-row: 6;
    margin-top: 20px;
    padding: 18px 22px;
    gap: 18px;
  }

  .chapter-head {
    grid-template-columns: 60px 1fr;
    gap: 16px;
    margin-bottom: 50px;
  }
  .chapter-num { font-size: 44px; }

  .lineage {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .lineage-divider {
    flex-direction: row;
    height: 60px;
    width: 100%;
  }
  .divider-line {
    width: auto;
    height: 1px;
    flex: 1;
    background: linear-gradient(90deg, transparent, var(--rule), transparent);
  }

  .product-spread {
    grid-template-columns: 1fr;
    gap: 40px;
    padding: 40px 0;
  }
  .product-feat li {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .upcoming-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .value-row {
    grid-template-columns: 1fr;
    gap: 12px;
    padding: 32px 0;
  }
  .value-num { font-size: 40px; }

  .contact-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .footer-top {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .footer-tag { text-align: left; }
  .footer-cols {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }
  .footer-bar {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 560px) {
  :root { --section-pad: 70px; }
  .hero-stat { width: 100%; flex-wrap: wrap; }
  .stat-divider { display: none; }
  .stat-item { flex: 1; min-width: 80px; }
  .upcoming-grid { grid-template-columns: 1fr; }
  .footer-cols { grid-template-columns: 1fr; gap: 32px; }
}

/* ============================================================
   8. PRIVACY / TERMS PAGES (legacy compat)
   ============================================================ */

.legal-page {
  max-width: var(--read-max);
  margin: 0 auto;
  padding: 80px var(--gutter);
}
.legal-page h1 {
  font-family: var(--ff-serif);
  font-weight: 700;
  font-size: clamp(32px, 4vw, 48px);
  margin: 0 0 16px;
  color: var(--text-1);
}
.legal-page h2 {
  font-family: var(--ff-serif);
  font-weight: 600;
  font-size: 22px;
  margin: 40px 0 16px;
  color: var(--text-1);
}
.legal-page p,
.legal-page li {
  font-size: 15px;
  line-height: 1.8;
  color: var(--text-2);
}
.legal-page ul {
  list-style: disc;
  padding-left: 24px;
  margin: 12px 0;
}
.legal-page hr {
  border: none;
  height: 1px;
  background: var(--rule);
  margin: 32px 0;
}
.legal-page footer {
  margin-top: 60px;
  padding-top: 24px;
  border-top: 1px solid var(--rule);
  font-size: 13px;
  color: var(--text-3);
  text-align: center;
}
.legal-page footer a {
  color: var(--mint-dark);
  margin: 0 8px;
}

/* Print fallback */
@media print {
  .aurora-mesh, .aurora-grain, .aurora-grid, .footer-mesh,
  .hero-art, .hero-scroll, .topnav, .footer-aurora {
    display: none !important;
  }
  body { background: #fff; color: #000; }
}
