@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;1,300;1,400&family=Noto+Sans+KR:wght@300;400;500&family=Noto+Serif+KR:wght@300;400&display=swap');

/* ── RESET & ROOT ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --ink:        #0D0D0F;
  --ink-soft:   #1E1E22;
  --mist:       #555558;
  --silver:     #A0A0A8;
  --paper:      #F5F3EE;
  --white:      #FAFAF8;
  --gold:       #B8935A;
  --gold-light: #E8D5B5;
  --gold-pale:  #F6F0E6;
  --teal:       #2D6A5F;
  --teal-light: #A8C8BF;
  --teal-pale:  #EBF4F1;
  --d1: #B8935A;
  --d2: #2D6A5F;
  --d3: #7B9E87;
  --d4: #A0856C;
  --d5: #8A7BA8;
  --serif: 'Cormorant Garamond', 'Noto Serif KR', serif;
  --sans:  'Noto Sans KR', sans-serif;
}

html { scroll-behavior: smooth; }

body {
  background: var(--paper);
  font-family: var(--sans);
  color: var(--ink);
  overflow-x: hidden;
}

/* ── ANIMATIONS ── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(18px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
  from { opacity: 0; } to { opacity: 1; }
}

.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.75s ease, transform 0.75s ease;
}
.reveal.d1 { transition-delay: 0.05s; }
.reveal.d2 { transition-delay: 0.12s; }
.reveal.d3 { transition-delay: 0.19s; }
.revealed  { opacity: 1; transform: none; }

/* ── PAGE VISIBILITY ── */
.page { display: none; }
.page.active { display: block; }

/* ══════════════════════════════
   NAV
══════════════════════════════ */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 200;
  padding: 1.25rem 3rem;
  display: flex; align-items: center; justify-content: space-between;
  background: rgba(245,243,238,0.9);
  backdrop-filter: blur(12px);
  border-bottom: 0.5px solid rgba(199,199,204,0.5);
  transition: all 0.3s ease;
}
.nav-logo {
  font-family: var(--serif);
  font-size: 1.25rem; font-weight: 300;
  color: var(--ink); letter-spacing: 0.02em;
  display: flex; align-items: baseline; gap: 0.5rem;
  cursor: pointer;
}
.nav-logo em { font-style: italic; color: var(--gold); }
.nav-links { display: flex; gap: 2.5rem; list-style: none; }
.nav-links a {
  font-size: 0.78rem; font-weight: 400;
  color: var(--mist); letter-spacing: 0.1em;
  text-decoration: none; cursor: pointer;
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--ink); }
.nav-links a.active { color: var(--ink); }
.nav-cta {
  font-size: 0.75rem; font-weight: 400; letter-spacing: 0.1em;
  color: var(--white); background: var(--ink);
  border: none; border-radius: 1px;
  padding: 0.6rem 1.4rem; cursor: pointer;
  transition: background 0.2s;
}
.nav-cta:hover { background: var(--ink-soft); }

/* ══════════════════════════════
   SHARED BUTTONS
══════════════════════════════ */
.btn-primary {
  background: var(--ink); color: var(--white);
  border: none; border-radius: 1px;
  padding: 0.85rem 2rem;
  font-family: var(--sans); font-size: 0.8rem;
  font-weight: 400; letter-spacing: 0.1em; cursor: pointer;
  transition: background 0.2s;
}
.btn-primary:hover { background: var(--ink-soft); }

.btn-ghost {
  background: transparent; color: var(--mist); border: none;
  font-family: var(--sans); font-size: 0.8rem;
  font-weight: 400; letter-spacing: 0.08em; cursor: pointer;
  display: flex; align-items: center; gap: 0.4rem; padding: 0.85rem 0;
  transition: color 0.2s;
}
.btn-ghost:hover { color: var(--ink); }
.btn-ghost .arrow { transition: transform 0.2s; }
.btn-ghost:hover .arrow { transform: translateX(3px); }

.btn-gold {
  background: var(--gold); color: var(--white);
  border: none; border-radius: 1px;
  padding: 0.95rem 2.5rem;
  font-family: var(--sans); font-size: 0.82rem;
  font-weight: 400; letter-spacing: 0.1em; cursor: pointer;
  transition: background 0.2s;
}
.btn-gold:hover { background: #a07a44; }

.btn-outline {
  background: transparent; color: var(--ink);
  border: 0.5px solid var(--ink); border-radius: 1px;
  padding: 0.95rem 2.5rem;
  font-family: var(--sans); font-size: 0.82rem;
  font-weight: 400; letter-spacing: 0.1em; cursor: pointer;
  transition: all 0.2s;
}
.btn-outline:hover { background: var(--ink); color: var(--white); }

.btn-outline-w {
  background: transparent; color: rgba(255,255,255,0.6);
  border: 0.5px solid rgba(255,255,255,0.45); border-radius: 1px;
  padding: 0.95rem 2.5rem;
  font-family: var(--sans); font-size: 0.82rem;
  font-weight: 400; letter-spacing: 0.1em; cursor: pointer;
  transition: all 0.2s;
}
.btn-outline-w:hover { border-color: rgba(255,255,255,0.5); color: var(--white); }

/* ══════════════════════════════
   SHARED FOOTER
══════════════════════════════ */
footer {
  background: var(--ink);
  padding: 3rem 3rem 2rem;
  border-top: 0.5px solid rgba(255,255,255,0.06);
}
.footer-inner {
  max-width: 1100px; margin: 0 auto;
  display: flex; justify-content: space-between; align-items: center;
  padding-bottom: 2rem;
  border-bottom: 0.5px solid rgba(255,255,255,0.06);
}
.footer-logo {
  font-family: var(--serif);
  font-size: 1.1rem; font-weight: 300;
  color: rgba(255,255,255,0.6); cursor: pointer;
}
.footer-logo em { font-style: italic; color: var(--gold); }
.footer-links { display: flex; gap: 2rem; list-style: none; }
.footer-links a {
  font-size: 0.75rem; font-weight: 300;
  color: rgba(255,255,255,0.60); text-decoration: none;
  letter-spacing: 0.08em; cursor: pointer;
  transition: color 0.2s;
}
.footer-links a:hover { color: rgba(255,255,255,0.7); }
.footer-copy {
  max-width: 1100px; margin: 1.5rem auto 0;
  font-size: 0.7rem; font-weight: 300;
  color: rgba(255,255,255,0.42); letter-spacing: 0.05em;
}

/* ══════════════════════════════
   PAGE: HOME
══════════════════════════════ */

/* Hero */
.hero {
  min-height: 100vh;
  display: grid; grid-template-columns: 1fr 1fr;
  padding-top: 72px;
}
.hero-left {
  padding: 7rem 3rem 5rem;
  display: flex; flex-direction: column; justify-content: center;
}
.hero-eyebrow {
  font-size: 0.72rem; font-weight: 400; letter-spacing: 0.18em;
  color: var(--gold); text-transform: uppercase; margin-bottom: 2rem;
  opacity: 0; animation: fadeUp 0.8s ease 0.2s forwards;
}
.hero-title {
  font-family: var(--serif);
  font-size: clamp(2.6rem, 4.5vw, 4rem);
  font-weight: 300; line-height: 1.12; color: var(--ink); margin-bottom: 1rem;
  opacity: 0; animation: fadeUp 0.9s ease 0.4s forwards;
}
.hero-title em  { font-style: italic; color: var(--gold); }
.hero-title .kr { font-family: 'Noto Serif KR', serif; font-size: 0.85em; }
.hero-sub {
  font-size: 0.95rem; font-weight: 300; color: var(--mist);
  line-height: 1.85; max-width: 380px; margin-bottom: 3rem;
  opacity: 0; animation: fadeUp 0.9s ease 0.6s forwards;
}
.hero-actions {
  display: flex; gap: 1rem; align-items: center;
  opacity: 0; animation: fadeUp 0.9s ease 0.8s forwards;
}
.hero-stat-row {
  display: flex; gap: 2rem; margin-top: 4rem;
  padding-top: 2rem; border-top: 0.5px solid var(--silver);
  opacity: 0; animation: fadeUp 0.9s ease 1s forwards;
}
.hero-stat-num {
  font-family: var(--serif);
  font-size: 2rem; font-weight: 300; color: var(--ink); line-height: 1;
}
.hero-stat-num em { font-style: italic; color: var(--gold); }
.hero-stat-label { font-size: 0.72rem; font-weight: 300; color: var(--mist); margin-top: 0.3rem; }

.hero-right {
  background: var(--ink);
  position: relative; overflow: hidden;
  display: flex; align-items: center; justify-content: center;
}
.hero-visual {
  width: 100%; height: 100%; position: absolute; inset: 0;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  padding: 4rem 3rem;
  opacity: 0; animation: fadeIn 1.2s ease 1s forwards;
}
.wheel-label {
  font-size: 0.72rem; font-weight: 300;
  color: rgba(255,255,255,0.72); text-align: center; letter-spacing: 0.08em;
  margin-bottom: 1.5rem;
}
.life-wheel { width: 260px; height: 260px; margin-bottom: 2.5rem; }
.life-wheel svg { width: 100%; height: 100%; }
.domain-list { list-style: none; width: 100%; max-width: 220px; }
.domain-item {
  display: flex; align-items: center; padding: 0.6rem 0; gap: 1rem;
  border-bottom: 0.5px solid rgba(255,255,255,0.15);
}
.domain-item:last-child { border-bottom: none; }
.domain-dot { width: 6px; height: 6px; border-radius: 50%; flex-shrink: 0; }
.domain-name { font-family: var(--serif); font-size: 1rem; font-weight: 300; color: rgba(255,255,255,0.75); flex: 1; }
.domain-en   { font-size: 0.68rem; font-weight: 300; color: rgba(255,255,255,0.55); letter-spacing: 0.08em; }

/* Section: Why */
.section-why {
  padding: 8rem 3rem;
  display: grid; grid-template-columns: 1fr 1.4fr; gap: 6rem;
  max-width: 1100px; margin: 0 auto;
}
.section-label {
  font-size: 0.7rem; font-weight: 400; letter-spacing: 0.18em;
  color: var(--gold); text-transform: uppercase; margin-bottom: 2rem;
}
.section-heading {
  font-family: var(--serif);
  font-size: clamp(1.8rem, 2.8vw, 2.4rem);
  font-weight: 300; line-height: 1.2; color: var(--ink);
}
.section-heading em { font-style: italic; color: var(--gold); }
.why-body {
  font-size: 0.92rem; font-weight: 300; color: var(--mist);
  line-height: 1.9; margin-top: 1.5rem;
}
.why-points { display: flex; flex-direction: column; gap: 2rem; justify-content: center; }
.why-point {
  padding: 1.75rem 2rem;
  background: var(--white); border: 0.5px solid var(--silver);
  border-left: 2px solid var(--gold); border-radius: 0 6px 6px 0;
}
.why-point-num { font-family: var(--serif); font-style: italic; font-size: 0.85rem; color: var(--gold); margin-bottom: 0.5rem; }
.why-point-title { font-family: var(--serif); font-size: 1.15rem; font-weight: 400; color: var(--ink); margin-bottom: 0.4rem; }
.why-point-body { font-size: 0.82rem; font-weight: 300; color: var(--mist); line-height: 1.75; }

/* Section: Domains (home dark) */
.section-domains { padding: 8rem 3rem; background: var(--ink); }
.section-domains-inner { max-width: 1100px; margin: 0 auto; }
.domains-header { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 4rem; }
.domains-title { font-family: var(--serif); font-size: clamp(1.8rem,2.8vw,2.4rem); font-weight: 300; color: var(--white); line-height: 1.2; }
.domains-title em { font-style: italic; color: var(--gold); }
.domains-sub { font-size: 0.82rem; font-weight: 300; color: rgba(255,255,255,0.65); max-width: 220px; text-align: right; line-height: 1.7; }
.domains-grid {
  display: grid; grid-template-columns: repeat(5,1fr);
  gap: 1px; background: rgba(255,255,255,0.15);
  border: 0.5px solid rgba(255,255,255,0.15);
}
.domain-card {
  background: var(--ink); padding: 2rem 1.5rem 2.5rem;
  position: relative; overflow: hidden;
  transition: background 0.25s; cursor: default;
}
.domain-card::after {
  content: ''; position: absolute; top: 0; left: 0; right: 0;
  height: 2px; opacity: 0; transition: opacity 0.25s;
}
.domain-card:hover { background: #252527; }
.domain-card:hover::after { opacity: 1; }
.dc-1::after { background: var(--d1); }
.dc-2::after { background: var(--d2); }
.dc-3::after { background: var(--d3); }
.dc-4::after { background: var(--d4); }
.dc-5::after { background: var(--d5); }
.domain-card-num { font-family: var(--serif); font-style: italic; font-size: 2rem; font-weight: 300; color: rgba(255,255,255,0.12); margin-bottom: 1.5rem; line-height: 1; }
.domain-card-title { font-family: var(--serif); font-size: 1.15rem; font-weight: 400; color: var(--white); margin-bottom: 0.3rem; }
.domain-card-en { font-size: 0.68rem; font-weight: 300; color: rgba(255,255,255,0.55); letter-spacing: 0.1em; margin-bottom: 1rem; }
.domain-card-body { font-size: 0.78rem; font-weight: 300; color: rgba(255,255,255,0.75); line-height: 1.75; }

/* Section: Quote */
.section-quote {
  padding: 7rem 3rem; text-align: center;
  background: var(--gold-pale); position: relative; overflow: hidden;
}
.quote-deco {
  font-family: var(--serif); font-size: 18rem; font-weight: 300;
  color: var(--gold-light); position: absolute; top: -4rem; left: 50%;
  transform: translateX(-50%); opacity: 0.4; line-height: 1;
  pointer-events: none; font-style: italic;
}
.quote-text {
  font-family: var(--serif);
  font-size: clamp(1.6rem,3vw,2.5rem); font-weight: 300; font-style: italic;
  color: var(--ink); line-height: 1.45; max-width: 720px; margin: 0 auto;
  position: relative; z-index: 1;
}
.quote-attr { margin-top: 2rem; font-size: 0.78rem; font-weight: 400; color: var(--mist); letter-spacing: 0.12em; position: relative; z-index: 1; }

/* Section: CTA (home) */
.section-cta { padding: 8rem 3rem; display: flex; flex-direction: column; align-items: center; text-align: center; }
.cta-label { font-size: 0.7rem; font-weight: 400; letter-spacing: 0.18em; color: var(--gold); text-transform: uppercase; margin-bottom: 1.5rem; }
.cta-title { font-family: var(--serif); font-size: clamp(2rem,3.5vw,3rem); font-weight: 300; line-height: 1.15; color: var(--ink); margin-bottom: 1.25rem; }
.cta-title em { font-style: italic; color: var(--gold); }
.cta-sub { font-size: 0.9rem; font-weight: 300; color: var(--mist); line-height: 1.8; max-width: 440px; margin: 0 auto 3rem; }
.cta-actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* ══════════════════════════════
   PAGE: PHILOSOPHY
══════════════════════════════ */
.page-hero {
  padding: 10rem 3rem 7rem;
  max-width: 1100px; margin: 0 auto;
  display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; align-items: end;
}
.ph-breadcrumb { font-size: 0.7rem; font-weight: 400; letter-spacing: 0.18em; color: var(--gold); text-transform: uppercase; margin-bottom: 1.5rem; opacity: 0; animation: fadeUp 0.7s ease 0.1s forwards; }
.ph-title { font-family: var(--serif); font-size: clamp(2.4rem,4vw,3.5rem); font-weight: 300; line-height: 1.1; color: var(--ink); opacity: 0; animation: fadeUp 0.8s ease 0.25s forwards; }
.ph-title em { font-style: italic; color: var(--gold); }
.ph-rule { width: 40px; height: 1px; background: var(--gold); margin: 2rem 0; opacity: 0; animation: fadeUp 0.7s ease 0.4s forwards; }
.ph-sub { font-size: 0.95rem; font-weight: 300; color: var(--mist); line-height: 1.9; max-width: 400px; opacity: 0; animation: fadeUp 0.8s ease 0.5s forwards; }
.ph-right { opacity: 0; animation: fadeUp 0.9s ease 0.6s forwards; }
.ph-pull { font-family: var(--serif); font-style: italic; font-size: 1.6rem; font-weight: 300; color: var(--ink); line-height: 1.4; border-left: 2px solid var(--gold); padding-left: 1.75rem; }

.section-rationale { background: var(--ink); padding: 7rem 3rem; }
.sr-inner { max-width: 1100px; margin: 0 auto; }
.sr-label { font-size: 0.7rem; font-weight: 400; letter-spacing: 0.18em; color: var(--gold); text-transform: uppercase; margin-bottom: 3rem; }
.sr-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: start; }
.sr-heading { font-family: var(--serif); font-size: clamp(1.8rem,3vw,2.6rem); font-weight: 300; color: var(--white); line-height: 1.2; margin-bottom: 2rem; }
.sr-heading em { font-style: italic; color: var(--gold); }
.sr-body { font-size: 0.88rem; font-weight: 300; color: rgba(255,255,255,0.75); line-height: 1.95; }
.sr-right { display: flex; flex-direction: column; gap: 1.5rem; }
.rationale-card { border: 0.5px solid rgba(255,255,255,0.15); border-radius: 6px; padding: 1.75rem; position: relative; overflow: hidden; transition: border-color 0.25s; }
.rationale-card:hover { border-color: rgba(184,147,90,0.4); }
.rationale-card::before { content: ''; position: absolute; top: 0; left: 0; bottom: 0; width: 2px; background: var(--gold); opacity: 0.6; }
.rc-num { font-family: var(--serif); font-style: italic; font-size: 0.8rem; color: rgba(255,255,255,0.55); margin-bottom: 0.75rem; letter-spacing: 0.05em; }
.rc-title { font-family: var(--serif); font-size: 1.15rem; font-weight: 400; color: rgba(255,255,255,0.85); margin-bottom: 0.5rem; }
.rc-body { font-size: 0.8rem; font-weight: 300; color: rgba(255,255,255,0.72); line-height: 1.75; }

.section-model { padding: 8rem 3rem; max-width: 1100px; margin: 0 auto; }
.sm-label { font-size: 0.7rem; font-weight: 400; letter-spacing: 0.18em; color: var(--gold); text-transform: uppercase; margin-bottom: 1.5rem; }
.sm-heading { font-family: var(--serif); font-size: clamp(1.8rem,3vw,2.4rem); font-weight: 300; color: var(--ink); line-height: 1.2; margin-bottom: 4rem; }
.sm-heading em { font-style: italic; color: var(--gold); }
.model-timeline { position: relative; display: grid; grid-template-columns: repeat(3,1fr); gap: 2px; }
.model-timeline::before { content: ''; position: absolute; top: 28px; left: 16.5%; right: 16.5%; height: 1px; background: var(--silver); z-index: 0; }
.mt-step { display: flex; flex-direction: column; align-items: center; text-align: center; position: relative; z-index: 1; padding: 0 1rem; }
.mt-dot-wrap { width: 56px; height: 56px; border-radius: 50%; background: var(--white); border: 1px solid var(--silver); display: flex; align-items: center; justify-content: center; margin-bottom: 1.5rem; transition: border-color 0.25s, background 0.25s; }
.mt-step.active .mt-dot-wrap { background: var(--ink); border-color: var(--ink); }
.mt-dot-inner { width: 10px; height: 10px; border-radius: 50%; background: var(--silver); }
.mt-step.active .mt-dot-inner { background: var(--gold); }
.mt-phase { font-size: 0.68rem; font-weight: 400; letter-spacing: 0.15em; color: var(--mist); text-transform: uppercase; margin-bottom: 0.5rem; }
.mt-step.active .mt-phase { color: var(--gold); }
.mt-title { font-family: var(--serif); font-size: 1.25rem; font-weight: 400; color: var(--ink); margin-bottom: 0.5rem; }
.mt-period { display: inline-block; font-size: 0.72rem; font-weight: 300; color: var(--mist); letter-spacing: 0.05em; margin-bottom: 0.75rem; }
.mt-body { font-size: 0.8rem; font-weight: 300; color: var(--mist); line-height: 1.75; }
.model-note { margin-top: 3rem; padding: 1.5rem 2rem; background: var(--gold-pale); border-left: 2px solid var(--gold); border-radius: 0 6px 6px 0; }
.model-note-text { font-size: 0.85rem; font-weight: 300; color: var(--ink-soft); line-height: 1.8; }

.section-domains-detail { background: var(--white); padding: 8rem 3rem; border-top: 0.5px solid var(--silver); }
.sdd-inner { max-width: 1100px; margin: 0 auto; }
.sdd-header { margin-bottom: 5rem; }
.sdd-label { font-size: 0.7rem; font-weight: 400; letter-spacing: 0.18em; color: var(--gold); text-transform: uppercase; margin-bottom: 1.5rem; }
.sdd-heading { font-family: var(--serif); font-size: clamp(1.8rem,3vw,2.4rem); font-weight: 300; color: var(--ink); line-height: 1.2; }
.sdd-heading em { font-style: italic; color: var(--gold); }
.domain-detail { display: grid; grid-template-columns: 200px 1fr; gap: 4rem; align-items: start; padding: 3.5rem 0; border-top: 0.5px solid var(--silver); }
.domain-detail:last-child { border-bottom: 0.5px solid var(--silver); }
.dd-num { font-family: var(--serif); font-style: italic; font-size: 3.5rem; font-weight: 300; line-height: 1; margin-bottom: 0.5rem; }
.dd-title { font-family: var(--serif); font-size: 1.5rem; font-weight: 400; color: var(--ink); margin-bottom: 0.25rem; }
.dd-en { font-size: 0.68rem; font-weight: 400; letter-spacing: 0.12em; color: var(--mist); }
.dd-right { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; }
.dd-core { grid-column: 1 / -1; }
.dd-core-text { font-size: 0.95rem; font-weight: 300; color: var(--ink-soft); line-height: 1.85; margin-bottom: 1.5rem; }
.dd-tags { display: flex; gap: 0.5rem; flex-wrap: wrap; margin-bottom: 1.5rem; }
.dd-tag { font-size: 0.7rem; font-weight: 400; letter-spacing: 0.06em; padding: 0.3rem 0.75rem; border-radius: 1px; border: 0.5px solid; }
.dd-box { background: var(--paper); border-radius: 6px; padding: 1.25rem 1.5rem; }
.dd-box-label { font-size: 0.68rem; font-weight: 500; letter-spacing: 0.12em; text-transform: uppercase; color: var(--mist); margin-bottom: 0.75rem; }
.dd-box-content { font-size: 0.82rem; font-weight: 300; color: var(--ink-soft); line-height: 1.75; }

.d1-accent .dd-num { color: var(--d1); }
.d1-accent .dd-tag { color: var(--d1); border-color: rgba(184,147,90,0.4); background: rgba(184,147,90,0.06); }
.d2-accent .dd-num { color: var(--d2); }
.d2-accent .dd-tag { color: var(--d2); border-color: rgba(45,106,95,0.4); background: rgba(45,106,95,0.06); }
.d3-accent .dd-num { color: var(--d3); }
.d3-accent .dd-tag { color: var(--d3); border-color: rgba(123,158,135,0.4); background: rgba(123,158,135,0.06); }
.d4-accent .dd-num { color: var(--d4); }
.d4-accent .dd-tag { color: var(--d4); border-color: rgba(160,133,108,0.4); background: rgba(160,133,108,0.06); }
.d5-accent .dd-num { color: var(--d5); }
.d5-accent .dd-tag { color: var(--d5); border-color: rgba(138,123,168,0.4); background: rgba(138,123,168,0.06); }

.section-cta-dark { background: var(--ink); padding: 7rem 3rem; text-align: center; }
.sc-label { font-size: 0.7rem; font-weight: 400; letter-spacing: 0.18em; color: rgba(184,147,90,0.8); text-transform: uppercase; margin-bottom: 1.5rem; }
.sc-heading { font-family: var(--serif); font-size: clamp(2rem,3.5vw,3rem); font-weight: 300; color: var(--white); line-height: 1.15; margin-bottom: 1.25rem; }
.sc-heading em { font-style: italic; color: var(--gold); }
.sc-sub { font-size: 0.88rem; font-weight: 300; color: rgba(255,255,255,0.72); line-height: 1.8; max-width: 380px; margin: 0 auto 3rem; }
.sc-actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* ══════════════════════════════
   PAGE: DIAGNOSIS
══════════════════════════════ */
.diag-page { min-height: 100vh; }

/* Intro Screen */
#screen-intro {
  min-height: 100vh;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  padding: 8rem 2rem 4rem; text-align: center;
}
.intro-eyebrow { font-size: 0.7rem; font-weight: 400; letter-spacing: 0.18em; color: var(--gold); text-transform: uppercase; margin-bottom: 1.5rem; }
.intro-title { font-family: var(--serif); font-size: clamp(2.2rem,4vw,3.2rem); font-weight: 300; line-height: 1.15; color: var(--ink); margin-bottom: 1.25rem; }
.intro-title em { font-style: italic; color: var(--gold); }
.intro-sub { font-size: 0.92rem; font-weight: 300; color: var(--mist); line-height: 1.85; max-width: 440px; margin: 0 auto 3rem; }
.intro-meta { display: flex; gap: 3rem; justify-content: center; margin-bottom: 3.5rem; padding: 2rem 3rem; background: var(--white); border: 0.5px solid var(--silver); border-radius: 8px; }
.im-item { text-align: center; }
.im-num { font-family: var(--serif); font-size: 1.8rem; font-weight: 300; color: var(--ink); font-style: italic; }
.im-label { font-size: 0.72rem; font-weight: 300; color: var(--mist); letter-spacing: 0.05em; margin-top: 0.2rem; }
.domain-pills { display: flex; gap: 0.5rem; justify-content: center; flex-wrap: wrap; margin-bottom: 3rem; }
.dpill { font-size: 0.72rem; font-weight: 400; letter-spacing: 0.06em; padding: 0.35rem 0.9rem; border-radius: 1px; border: 0.5px solid; display: flex; align-items: center; gap: 0.4rem; }
.dpill-dot { width: 5px; height: 5px; border-radius: 50%; }
.btn-start { background: var(--ink); color: var(--white); border: none; border-radius: 1px; padding: 1rem 3rem; font-family: var(--sans); font-size: 0.85rem; font-weight: 400; letter-spacing: 0.12em; cursor: pointer; transition: background 0.2s; }
.btn-start:hover { background: var(--ink-soft); }

/* Quiz Screen */
.diag-screen { display: none; }
.diag-screen.active { display: block; }

#screen-quiz { padding-top: 72px; min-height: 100vh; }
.quiz-progress-bar { position: fixed; top: 72px; left: 0; right: 0; z-index: 90; height: 3px; background: rgba(199,199,204,0.3); }
.qpb-fill { height: 100%; background: var(--gold); transition: width 0.4s ease; }
.quiz-wrap { max-width: 680px; margin: 0 auto; padding: 4rem 2rem 6rem; }
.quiz-domain-tag { display: inline-flex; align-items: center; gap: 0.5rem; font-size: 0.7rem; font-weight: 400; letter-spacing: 0.12em; text-transform: uppercase; margin-bottom: 2rem; padding: 0.3rem 0.8rem; border-radius: 1px; border: 0.5px solid; }
.quiz-counter { font-size: 0.75rem; font-weight: 300; color: var(--mist); margin-bottom: 1.5rem; letter-spacing: 0.05em; }
.quiz-q { font-family: var(--serif); font-size: clamp(1.4rem,2.5vw,1.9rem); font-weight: 300; line-height: 1.35; color: var(--ink); margin-bottom: 0.75rem; min-height: 80px; transition: opacity 0.25s; }
.quiz-q-sub { font-size: 0.82rem; font-weight: 300; color: var(--mist); line-height: 1.7; margin-bottom: 3rem; }
.scale-wrap { margin-bottom: 3.5rem; }
.scale-labels { display: flex; justify-content: space-between; margin-bottom: 1rem; }
.scale-label-text { font-size: 0.72rem; font-weight: 300; color: var(--mist); letter-spacing: 0.03em; }
.scale-options { display: flex; gap: 0.75rem; justify-content: space-between; }
.scale-btn { flex: 1; height: 52px; background: var(--white); border: 0.5px solid var(--silver); border-radius: 4px; font-family: var(--sans); font-size: 0.88rem; font-weight: 300; color: var(--mist); cursor: pointer; transition: all 0.18s; display: flex; align-items: center; justify-content: center; }
.scale-btn:hover { border-color: var(--gold); color: var(--ink); }
.scale-btn.selected { background: var(--ink); border-color: var(--ink); color: var(--white); font-weight: 400; }
.quiz-nav { display: flex; justify-content: space-between; align-items: center; padding-top: 2rem; border-top: 0.5px solid var(--silver); }
.domain-progress { display: flex; gap: 0.4rem; margin-bottom: 0.75rem; }
.dp-seg { height: 3px; flex: 1; border-radius: 1px; background: rgba(199,199,204,0.3); transition: background 0.3s; }
.dp-seg.done { background: var(--gold); }
.btn-prev { background: transparent; color: var(--mist); border: none; font-family: var(--sans); font-size: 0.8rem; font-weight: 300; letter-spacing: 0.05em; cursor: pointer; padding: 0.6rem 0; transition: color 0.2s; }
.btn-prev:hover { color: var(--ink); }
.btn-prev:disabled { opacity: 0.3; cursor: default; }
.btn-next { background: var(--ink); color: var(--white); border: none; border-radius: 1px; padding: 0.75rem 2rem; font-family: var(--sans); font-size: 0.8rem; font-weight: 400; letter-spacing: 0.1em; cursor: pointer; transition: background 0.2s; opacity: 0.3; pointer-events: none; }
.btn-next.enabled { opacity: 1; pointer-events: auto; }
.btn-next.enabled:hover { background: var(--ink-soft); }

/* Result Screen */
#screen-result { padding: 6rem 2rem 5rem; min-height: 100vh; }
.result-wrap { max-width: 900px; margin: 0 auto; }
.result-header { text-align: center; margin-bottom: 4rem; }
.result-eyebrow { font-size: 0.7rem; font-weight: 400; letter-spacing: 0.18em; color: var(--gold); text-transform: uppercase; margin-bottom: 1rem; }
.result-title { font-family: var(--serif); font-size: clamp(1.8rem,3vw,2.6rem); font-weight: 300; line-height: 1.2; color: var(--ink); margin-bottom: 0.75rem; }
.result-title em { font-style: italic; color: var(--gold); }
.result-sub { font-size: 0.88rem; font-weight: 300; color: var(--mist); line-height: 1.8; }
.result-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; margin-bottom: 2rem; }
.result-chart-wrap { background: var(--ink); border-radius: 12px; padding: 2.5rem; display: flex; flex-direction: column; align-items: center; }
.rch-label { font-size: 0.7rem; font-weight: 300; color: rgba(255,255,255,0.72); letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 1.5rem; }
.result-scores { display: flex; flex-direction: column; gap: 1rem; justify-content: center; }
.score-row { background: var(--white); border: 0.5px solid var(--silver); border-radius: 8px; padding: 1.25rem 1.5rem; }
.sr-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 0.75rem; }
.sr-domain { display: flex; align-items: center; gap: 0.6rem; font-family: var(--serif); font-size: 1rem; font-weight: 400; color: var(--ink); }
.sr-dot { width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0; }
.sr-score { font-family: var(--serif); font-style: italic; font-size: 1.4rem; font-weight: 300; }
.sr-bar-track { height: 4px; background: rgba(199,199,204,0.4); border-radius: 2px; }
.sr-bar-fill { height: 100%; border-radius: 2px; transition: width 1s ease; }
.sr-comment { font-size: 0.75rem; font-weight: 300; color: var(--mist); margin-top: 0.6rem; line-height: 1.6; }
.result-insight { background: var(--gold-pale); border: 0.5px solid var(--gold-light); border-left: 2px solid var(--gold); border-radius: 0 8px 8px 0; padding: 2rem 2.5rem; margin-bottom: 2rem; }
.ri-label { font-size: 0.68rem; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold); margin-bottom: 0.75rem; }
.ri-text { font-family: var(--serif); font-size: 1.2rem; font-weight: 300; line-height: 1.6; color: var(--ink); }
.result-actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; margin-top: 3rem; }
.btn-retry { background: transparent; color: var(--mist); border: none; font-family: var(--sans); font-size: 0.78rem; font-weight: 300; letter-spacing: 0.05em; cursor: pointer; padding: 0.95rem 1rem; text-decoration: underline; text-underline-offset: 3px; }

/* ══════════════════════════════
   RESPONSIVE
══════════════════════════════ */
@media (max-width: 900px) {
  nav { padding: 1rem 1.5rem; }
  .nav-links { display: none; }
  .hero { grid-template-columns: 1fr; }
  .hero-right { min-height: 400px; }
  .section-why { grid-template-columns: 1fr; gap: 3rem; padding: 5rem 1.5rem; }
  .page-hero { grid-template-columns: 1fr; gap: 2rem; padding: 8rem 1.5rem 4rem; }
  .sr-grid { grid-template-columns: 1fr; }
  .domain-detail { grid-template-columns: 1fr; gap: 1.5rem; }
  .dd-right { grid-template-columns: 1fr; }
  .result-grid { grid-template-columns: 1fr; }
  .domains-grid { grid-template-columns: 1fr 1fr; }
  .model-timeline { grid-template-columns: 1fr; gap: 2rem; }
  .model-timeline::before { display: none; }
  footer { padding: 2rem 1.5rem; }
  .footer-inner { flex-direction: column; gap: 1.5rem; align-items: flex-start; }
}

/* ══════════════════════════════
   HAMBURGER MENU
══════════════════════════════ */
.hamburger {
  display: none;
  flex-direction: column; justify-content: center; align-items: center;
  width: 36px; height: 36px; gap: 5px;
  background: none; border: none; cursor: pointer; padding: 4px;
}
.hamburger span {
  display: block; width: 22px; height: 1.5px;
  background: var(--ink); border-radius: 2px;
  transition: all 0.3s ease;
}
.hamburger.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

.mobile-nav {
  display: none;
  position: fixed; top: 57px; left: 0; right: 0; z-index: 199;
  background: rgba(245,243,238,0.98);
  backdrop-filter: blur(16px);
  border-bottom: 0.5px solid var(--silver);
  padding: 1rem 1.5rem 1.5rem;
  flex-direction: column; gap: 0;
  transform: translateY(-10px);
  opacity: 0;
  transition: opacity 0.25s ease, transform 0.25s ease;
  pointer-events: none;
}
.mobile-nav.open {
  display: flex;
  opacity: 1; transform: translateY(0);
  pointer-events: auto;
}
.mobile-nav a, .mobile-nav button {
  display: block; width: 100%;
  padding: 0.9rem 0;
  font-family: var(--sans); font-size: 0.95rem; font-weight: 400;
  color: var(--ink); letter-spacing: 0.06em;
  text-decoration: none; background: none; border: none;
  border-bottom: 0.5px solid var(--silver);
  text-align: left; cursor: pointer;
  transition: color 0.2s;
}
.mobile-nav a:last-child, .mobile-nav button:last-child { border-bottom: none; }
.mobile-nav a:hover, .mobile-nav button:hover { color: var(--gold); }
.mobile-nav .mn-cta {
  margin-top: 1rem;
  background: var(--ink); color: var(--white) !important;
  border: none; border-radius: 1px;
  padding: 0.85rem 1.5rem !important;
  text-align: center !important;
  letter-spacing: 0.1em; font-size: 0.82rem !important;
}

/* ══════════════════════════════
   MOBILE BREAKPOINTS (≤600px)
══════════════════════════════ */
@media (max-width: 600px) {
  /* nav */
  nav { padding: 0.9rem 1.25rem; }
  .nav-links { display: none; }
  .nav-cta   { display: none; }
  .hamburger { display: flex; }

  /* hero */
  .hero { grid-template-columns: 1fr; padding-top: 57px; }
  .hero-left { padding: 3.5rem 1.25rem 2.5rem; }
  .hero-title { font-size: 2.4rem; }
  .hero-sub   { font-size: 0.88rem; max-width: 100%; }
  .hero-actions { flex-direction: column; align-items: flex-start; gap: 0.75rem; }
  .hero-right { min-height: 320px; }
  .hero-stat-row { gap: 1.25rem; flex-wrap: wrap; }
  .life-wheel { width: 200px; height: 200px; }

  /* section: why */
  .section-why { padding: 4rem 1.25rem; grid-template-columns: 1fr; gap: 2.5rem; }
  .section-heading { font-size: 1.75rem; }
  .why-point { padding: 1.25rem 1.25rem; }

  /* section: domains dark */
  .section-domains { padding: 4rem 1.25rem; }
  .domains-header { flex-direction: column; align-items: flex-start; gap: 1rem; margin-bottom: 2.5rem; }
  .domains-sub { text-align: left; max-width: 100%; }
  .domains-grid { grid-template-columns: 1fr; }
  .domain-card { padding: 1.5rem 1.25rem 2rem; }

  /* quote */
  .section-quote { padding: 4.5rem 1.25rem; }
  .quote-text { font-size: 1.5rem; }
  .quote-deco { font-size: 10rem; top: -2rem; }

  /* cta */
  .section-cta { padding: 4.5rem 1.25rem; }
  .cta-title { font-size: 2rem; }
  .cta-actions { flex-direction: column; align-items: stretch; }
  .cta-actions .btn-gold, .cta-actions .btn-outline { text-align: center; }

  /* philosophy page hero */
  .page-hero { grid-template-columns: 1fr; padding: 5.5rem 1.25rem 3rem; gap: 2rem; }
  .ph-title { font-size: 2.2rem; }
  .ph-pull  { font-size: 1.25rem; }

  /* rationale */
  .section-rationale { padding: 4rem 1.25rem; }
  .sr-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .sr-heading { font-size: 1.75rem; }
  .rationale-card { padding: 1.25rem; }

  /* model */
  .section-model { padding: 4rem 1.25rem; }
  .sm-heading { font-size: 1.6rem; }
  .model-timeline { grid-template-columns: 1fr; gap: 1.5rem; }
  .model-timeline::before { display: none; }
  .mt-step { align-items: flex-start; text-align: left; flex-direction: row; gap: 1rem; }
  .mt-dot-wrap { flex-shrink: 0; width: 44px; height: 44px; margin-bottom: 0; }

  /* 5 domains detail */
  .section-domains-detail { padding: 4rem 1.25rem; }
  .sdd-heading { font-size: 1.75rem; }
  .domain-detail { grid-template-columns: 1fr; gap: 1.25rem; padding: 2.5rem 0; }
  .dd-num   { font-size: 2.5rem; }
  .dd-right { grid-template-columns: 1fr; gap: 1rem; }
  .dd-core-text { font-size: 0.88rem; }

  /* cta dark */
  .section-cta-dark { padding: 4rem 1.25rem; }
  .sc-heading { font-size: 1.9rem; }
  .sc-actions { flex-direction: column; align-items: stretch; }
  .sc-actions .btn-gold, .sc-actions .btn-outline-w { text-align: center; }

  /* footer */
  footer { padding: 2rem 1.25rem 1.5rem; }
  .footer-inner { flex-direction: column; gap: 1.25rem; align-items: flex-start; }
  .footer-links { flex-wrap: wrap; gap: 1rem 1.5rem; }
}
