:root {
  --bg: #050505;
  --bg-soft: #090908;
  --surface: #0d0d0b;
  --surface-2: #13110d;
  --ivory: #f1ead8;
  --muted: #aaa28f;
  --gold: #d7b45f;
  --gold-deep: #9d7531;
  --gold-pale: #efd28b;
  --line: rgba(215, 180, 95, 0.24);
  --line-soft: rgba(255, 255, 255, 0.08);
  --success: #d6c987;
  --max: 1160px;
  --radius: 22px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ivory);
  background:
    radial-gradient(circle at 50% -10%, rgba(215,180,95,.12), transparent 32rem),
    linear-gradient(180deg, #040404 0%, #080806 54%, #050505 100%);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", "Noto Sans SC", Arial, sans-serif;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
img { max-width: 100%; display: block; }
button, a { -webkit-tap-highlight-color: transparent; }

.shell { width: min(var(--max), calc(100% - 40px)); margin: 0 auto; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid rgba(215,180,95,.12);
  background: rgba(5,5,5,.82);
  backdrop-filter: blur(16px);
}
.nav-wrap {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  min-width: 0;
}
.brand img { width: 42px; height: 42px; object-fit: contain; }
.brand-text { line-height: 1.15; }
.brand-name {
  display: block;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 15px;
  letter-spacing: .08em;
}
.brand-sub {
  display: block;
  margin-top: 4px;
  color: var(--gold);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .18em;
}
.nav-links { display: flex; align-items: center; gap: 24px; }
.nav-links a {
  color: var(--muted);
  text-decoration: none;
  font-size: 13px;
  letter-spacing: .08em;
  transition: color .2s ease;
}
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--gold-pale); }
.menu-button {
  display: none;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: transparent;
  color: var(--ivory);
  padding: 9px 12px;
  font-size: 18px;
}

.hero {
  min-height: 720px;
  display: grid;
  grid-template-columns: 1.08fr .92fr;
  align-items: center;
  gap: 60px;
  padding: 92px 0 88px;
}
.hero-copy { position: relative; z-index: 2; }
.eyebrow {
  color: var(--gold);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .24em;
  text-transform: uppercase;
}
h1, h2, h3 { text-wrap: balance; }
h1 {
  margin: 22px 0 20px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(46px, 6.8vw, 88px);
  font-weight: 500;
  line-height: .98;
  letter-spacing: .015em;
}
.hero-lead {
  max-width: 650px;
  margin: 0;
  color: var(--muted);
  font-size: clamp(18px, 2vw, 22px);
  line-height: 1.8;
}
.hero-motto {
  margin-top: 30px;
  color: var(--gold-pale);
  font-family: Georgia, "Times New Roman", serif;
  letter-spacing: .16em;
  font-size: 14px;
}
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border: 1px solid var(--line);
  border-radius: 999px;
  text-decoration: none;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .06em;
}
.button-primary {
  border-color: rgba(239,210,139,.48);
  color: #090806;
  background: linear-gradient(135deg, var(--gold-pale), #b88938);
  box-shadow: 0 12px 40px rgba(215,180,95,.16);
}
.button-secondary { color: var(--ivory); background: rgba(255,255,255,.02); }
.hero-mark {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 560px;
}
.hero-mark::before {
  content: "";
  position: absolute;
  width: 78%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(215,180,95,.17), rgba(215,180,95,.02) 48%, transparent 70%);
  filter: blur(10px);
}
.hero-mark img {
  position: relative;
  width: min(100%, 600px);
  filter: drop-shadow(0 0 42px rgba(215,180,95,.14));
}

.section { padding: 96px 0; }
.section + .section { border-top: 1px solid rgba(215,180,95,.09); }
.section-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 24px;
  margin-bottom: 34px;
}
.section-head h2 {
  margin: 8px 0 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(34px, 5vw, 58px);
  font-weight: 500;
  line-height: 1.08;
}
.section-note { max-width: 520px; color: var(--muted); margin: 0; }

.status-panel {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    linear-gradient(140deg, rgba(215,180,95,.08), transparent 44%),
    rgba(13,13,11,.88);
}
.status-top {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px;
  padding: 34px;
  border-bottom: 1px solid var(--line-soft);
}
.status-title {
  margin: 6px 0 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 36px;
  font-weight: 500;
}
.progress-number {
  color: var(--gold-pale);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 52px;
  line-height: 1;
}
.progress-meta { color: var(--muted); font-size: 13px; text-align: right; margin-top: 8px; }
.progress-track {
  height: 8px;
  margin-top: 24px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255,255,255,.07);
}
.progress-value {
  width: 63%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--gold-deep), var(--gold-pale));
  box-shadow: 0 0 24px rgba(215,180,95,.24);
  transition: width .45s ease;
}
.milestone-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0,1fr));
  margin: 0;
  padding: 0;
  list-style: none;
}
.milestone-list li {
  min-height: 72px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 18px 26px;
  color: var(--muted);
  border-bottom: 1px solid var(--line-soft);
}
.milestone-list li:nth-child(odd) { border-right: 1px solid var(--line-soft); }
.milestone-icon {
  flex: 0 0 28px;
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--gold);
  font-size: 13px;
}
.milestone-list .done { color: var(--ivory); }
.milestone-list .done .milestone-icon { background: rgba(215,180,95,.08); }
.milestone-list a { text-decoration: none; }
.milestone-list a:hover { color: var(--gold-pale); }

.card-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.card {
  min-height: 230px;
  padding: 28px;
  border: 1px solid var(--line-soft);
  border-radius: 18px;
  background: rgba(13,13,11,.66);
}
.card-index { color: var(--gold); font-family: Georgia, serif; font-size: 14px; }
.card h3 { margin: 34px 0 10px; font-family: Georgia, serif; font-size: 25px; font-weight: 500; }
.card p { margin: 0; color: var(--muted); font-size: 14px; }

.architecture {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: rgba(13,13,11,.65);
}
.layer { min-height: 220px; padding: 28px 22px; border-right: 1px solid var(--line-soft); }
.layer:last-child { border-right: 0; }
.layer-number { color: var(--gold); font-size: 11px; letter-spacing: .18em; }
.layer h3 { margin: 28px 0 12px; font-family: Georgia, serif; font-size: 22px; font-weight: 500; }
.layer p { margin: 0; color: var(--muted); font-size: 13px; }

.release-card {
  display: grid;
  grid-template-columns: 160px 1fr auto;
  gap: 28px;
  align-items: center;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(13,13,11,.72);
}
.release-date { color: var(--gold); font-size: 12px; letter-spacing: .12em; }
.release-card h3 { margin: 0 0 6px; font-family: Georgia, serif; font-weight: 500; font-size: 24px; }
.release-card p { margin: 0; color: var(--muted); font-size: 14px; }
.release-link { color: var(--gold-pale); text-decoration: none; font-size: 13px; }

.page-hero { padding: 106px 0 66px; text-align: center; }
.page-hero h1 { margin-bottom: 20px; font-size: clamp(46px,7vw,78px); }
.page-hero p { max-width: 720px; margin: 0 auto; color: var(--muted); font-size: 18px; }
.page-status {
  max-width: 720px;
  margin: 44px auto 0;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(13,13,11,.72);
}
.page-status-row { display: flex; justify-content: space-between; gap: 20px; color: var(--muted); }
.page-status-row strong { color: var(--ivory); }

.timeline { position: relative; display: grid; gap: 22px; }
.timeline::before {
  content: "";
  position: absolute;
  left: 32px;
  top: 42px;
  bottom: 42px;
  width: 1px;
  background: linear-gradient(var(--gold), rgba(215,180,95,.08));
}
.phase {
  position: relative;
  display: grid;
  grid-template-columns: 66px 1fr;
  gap: 22px;
}
.phase-node {
  position: relative;
  z-index: 2;
  width: 66px;
  height: 66px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--gold-pale);
  background: #090907;
  font-family: Georgia, serif;
  font-size: 20px;
}
.phase-current .phase-node { box-shadow: 0 0 34px rgba(215,180,95,.19); background: rgba(215,180,95,.08); }
.phase-card {
  padding: 30px;
  border: 1px solid var(--line-soft);
  border-radius: 20px;
  background: rgba(13,13,11,.68);
}
.phase-current .phase-card { border-color: var(--line); background: linear-gradient(135deg, rgba(215,180,95,.07), rgba(13,13,11,.75)); }
.phase-head { display: flex; justify-content: space-between; gap: 20px; align-items: start; }
.phase-kicker { color: var(--gold); font-size: 11px; font-weight: 800; letter-spacing: .18em; }
.phase-card h2 { margin: 8px 0 4px; font-family: Georgia, serif; font-size: 34px; font-weight: 500; }
.phase-sub { margin: 0; color: var(--muted); }
.badge {
  flex: 0 0 auto;
  padding: 7px 11px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--gold-pale);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .1em;
}
.deliverables { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 10px 22px; margin: 26px 0 0; padding: 0; list-style: none; }
.deliverables li { color: var(--muted); font-size: 14px; }
.deliverables li::before { content: "—"; color: var(--gold); margin-right: 9px; }

.principles { display: grid; grid-template-columns: repeat(3,1fr); gap: 16px; }
.principle { padding: 24px; border: 1px solid var(--line-soft); border-radius: 16px; background: rgba(13,13,11,.55); }
.principle strong { display: block; margin-bottom: 8px; color: var(--gold-pale); font-family: Georgia, serif; font-size: 20px; font-weight: 500; }
.principle p { margin: 0; color: var(--muted); font-size: 14px; }

.document {
  max-width: 860px;
  margin: 0 auto;
  padding: 22px 0 100px;
}
.document-nav { margin-bottom: 42px; }
.document-nav a { color: var(--gold); text-decoration: none; font-size: 13px; }
.document-header { text-align: center; padding: 50px 0 52px; border-bottom: 1px solid var(--line); }
.document-header h1 { font-size: clamp(42px,7vw,70px); }
.document-header p { color: var(--muted); }
.document article { padding-top: 44px; }
.document section { margin-bottom: 48px; }
.document h2 { margin: 0 0 18px; color: var(--gold-pale); font-family: Georgia, serif; font-size: 28px; font-weight: 500; }
.document h3 { margin: 28px 0 10px; font-size: 18px; }
.document p, .document li { color: var(--muted); }
.document ul { padding-left: 22px; }
.document .statement { padding: 26px; border: 1px solid var(--line); border-radius: 18px; background: rgba(215,180,95,.05); color: var(--ivory); }
.metadata { margin-top: 62px; padding: 28px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.metadata p { margin: 6px 0; }

.site-footer { padding: 62px 0 46px; border-top: 1px solid rgba(215,180,95,.1); text-align: center; color: var(--muted); font-size: 12px; }
.site-footer img { width: 58px; height: 58px; margin: 0 auto 18px; }
.site-footer strong { color: var(--gold); letter-spacing: .14em; }

@media (max-width: 980px) {
  .hero { min-height: auto; grid-template-columns: 1fr; text-align: center; padding-top: 74px; }
  .hero-lead { margin-left: auto; margin-right: auto; }
  .actions { justify-content: center; }
  .hero-mark { min-height: 400px; order: -1; }
  .hero-mark img { width: min(78vw, 470px); }
  .card-grid { grid-template-columns: repeat(2,1fr); }
  .architecture { grid-template-columns: 1fr; }
  .layer { min-height: auto; border-right: 0; border-bottom: 1px solid var(--line-soft); }
  .layer:last-child { border-bottom: 0; }
  .release-card { grid-template-columns: 1fr; }
  .principles { grid-template-columns: 1fr; }
}

@media (max-width: 720px) {
  .shell { width: min(100% - 28px, var(--max)); }
  .nav-wrap { min-height: 68px; }
  .brand-sub { display: none; }
  .menu-button { display: inline-block; }
  .nav-links {
    display: none;
    position: absolute;
    left: 14px;
    right: 14px;
    top: 68px;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 10px;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: rgba(8,8,7,.98);
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 12px; }
  .hero { gap: 24px; padding: 48px 0 70px; }
  .hero-mark { min-height: 300px; }
  .section { padding: 72px 0; }
  .section-head { display: block; }
  .section-note { margin-top: 14px; }
  .status-top { grid-template-columns: 1fr; }
  .progress-meta { text-align: left; }
  .milestone-list { grid-template-columns: 1fr; }
  .milestone-list li:nth-child(odd) { border-right: 0; }
  .card-grid { grid-template-columns: 1fr; }
  .phase { grid-template-columns: 48px 1fr; gap: 14px; }
  .phase-node { width: 48px; height: 48px; font-size: 16px; }
  .timeline::before { left: 23px; }
  .phase-head { display: block; }
  .badge { display: inline-flex; margin-top: 16px; }
  .deliverables { grid-template-columns: 1fr; }
}

/* Journey song — Roadmap */
.journey-song {
  position: relative;
  overflow: hidden;
}

.journey-song::before {
  content: "";
  position: absolute;
  top: 12%;
  left: 50%;
  width: min(760px, 86vw);
  height: 460px;
  transform: translateX(-50%);
  border-radius: 50%;
  background:
    radial-gradient(
      circle,
      rgba(215, 180, 95, 0.105),
      transparent 68%
    );
  pointer-events: none;
}

.journey-song-grid {
  position: relative;
  display: grid;
  grid-template-columns:
    minmax(0, 0.84fr)
    minmax(0, 1.16fr);
  gap: 54px;
  align-items: center;
}

.journey-song-intro h2 {
  margin: 10px 0 18px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(36px, 5vw, 62px);
  font-weight: 500;
  line-height: 1.08;
}

.journey-song-intro > p {
  max-width: 500px;
  margin: 0;
  color: var(--muted);
  font-size: 16px;
}

.journey-path {
  display: grid;
  grid-template-columns:
    auto 1fr auto 1fr auto 1fr auto;
  align-items: center;
  max-width: 440px;
  margin-top: 34px;
}

.journey-point {
  width: 12px;
  height: 12px;
  border: 1px solid rgba(215, 180, 95, 0.56);
  border-radius: 50%;
  background: #090907;
}

.journey-point.is-lit {
  background: var(--gold-pale);
  box-shadow: 0 0 22px rgba(215, 180, 95, 0.55);
}

.journey-line {
  height: 1px;
  background:
    linear-gradient(
      90deg,
      rgba(215, 180, 95, 0.52),
      rgba(215, 180, 95, 0.15)
    );
}

.journey-caption {
  margin-top: 15px !important;
  color: var(--gold) !important;
  font-size: 11px !important;
  font-weight: 800;
  letter-spacing: 0.18em;
}

.journey-lyrics {
  position: relative;
  margin: 0;
  padding: 42px 44px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background:
    linear-gradient(
      145deg,
      rgba(215, 180, 95, 0.075),
      transparent 42%
    ),
    rgba(13, 13, 11, 0.82);
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.22);
}

.journey-lyrics::before {
  content: "“";
  position: absolute;
  top: -18px;
  left: 24px;
  color: rgba(239, 210, 139, 0.24);
  font-family: Georgia, serif;
  font-size: 92px;
  line-height: 1;
}

.lyric-stanza {
  position: relative;
  margin-bottom: 24px;
}

.lyric-stanza:last-of-type {
  margin-bottom: 0;
}

.lyric-stanza p {
  margin: 0;
  color: var(--muted);
  font-family:
    Georgia,
    "Noto Serif SC",
    "Songti SC",
    serif;
  font-size: clamp(16px, 1.65vw, 20px);
  line-height: 1.9;
}

.lyric-stanza:first-of-type p {
  color: var(--ivory);
}

.lyric-stanza-final p:last-child {
  margin-top: 4px;
  color: var(--gold-pale);
}

.journey-lyrics cite {
  display: block;
  margin-top: 30px;
  padding-top: 18px;
  border-top: 1px solid var(--line-soft);
  color: var(--gold);
  font-size: 12px;
  font-style: normal;
  letter-spacing: 0.12em;
}

@media (max-width: 900px) {
  .journey-song-grid {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .journey-song-intro {
    text-align: center;
  }

  .journey-song-intro > p,
  .journey-path {
    margin-left: auto;
    margin-right: auto;
  }
}

@media (max-width: 720px) {
  .journey-lyrics {
    padding: 34px 24px;
  }

  .journey-path {
    max-width: 330px;
  }

  .journey-caption {
    letter-spacing: 0.1em;
  }
}


/* Journey audio player */
.journey-player {
  margin-top: 30px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background:
    linear-gradient(
      135deg,
      rgba(215, 180, 95, 0.09),
      rgba(10, 10, 8, 0.82)
    );
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.24);
}

.journey-player[hidden] {
  display: none;
}

.journey-player-heading {
  display: flex;
  gap: 14px;
  align-items: center;
}

.journey-player-heading strong,
.journey-player-heading span {
  display: block;
}

.journey-player-heading strong {
  color: var(--ivory);
  font-family:
    Georgia,
    "Noto Serif SC",
    "Songti SC",
    serif;
  font-size: 17px;
  font-weight: 500;
}

.journey-player-heading div > span {
  margin-top: 3px;
  color: var(--muted);
  font-size: 11px;
  letter-spacing: 0.06em;
}

.journey-music-mark {
  display: grid !important;
  flex: 0 0 42px;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid rgba(215, 180, 95, 0.4);
  border-radius: 50%;
  color: var(--gold-pale, #efd28b);
  font-family: Georgia, serif;
  font-size: 24px;
  box-shadow: 0 0 24px rgba(215, 180, 95, 0.12);
}

.journey-player-controls {
  display: grid;
  grid-template-columns: auto minmax(80px, 1fr) auto auto;
  gap: 11px;
  align-items: center;
  margin-top: 18px;
}

.journey-control,
.journey-enable {
  min-height: 34px;
  border: 1px solid rgba(215, 180, 95, 0.4);
  border-radius: 999px;
  color: var(--gold-pale, #efd28b);
  background: rgba(215, 180, 95, 0.07);
  padding: 7px 13px;
  font: inherit;
  font-size: 12px;
  cursor: pointer;
}

.journey-control:hover,
.journey-enable:hover {
  background: rgba(215, 180, 95, 0.15);
}

.journey-close {
  color: var(--muted);
}

.journey-progress {
  width: 100%;
  accent-color: #d7b45f;
  cursor: pointer;
}

.journey-time {
  min-width: 78px;
  color: var(--muted);
  font-size: 11px;
  text-align: center;
}

.journey-enable {
  width: 100%;
  margin-top: 14px;
  color: #0a0907;
  background: var(--gold-pale, #efd28b);
  font-weight: 700;
}

.journey-enable[hidden] {
  display: none;
}

.journey-audio-status {
  min-height: 18px;
  margin: 9px 0 0 !important;
  color: var(--muted) !important;
  font-size: 11px !important;
  line-height: 1.5 !important;
}

@media (max-width: 560px) {
  .journey-player-controls {
    grid-template-columns: auto 1fr auto;
  }

  .journey-time {
    grid-column: 2 / 3;
    grid-row: 2;
  }

  .journey-close {
    grid-column: 3;
    grid-row: 1;
  }
}


/* Journey refinement v0.3 */
.journey-declaration {
  max-width: 520px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.9;
}

.journey-heritage-note {
  max-width: 500px;
  margin: 22px 0 0 !important;
  padding: 14px 16px;
  border-left: 2px solid rgba(215, 180, 95, 0.48);
  color: rgba(238, 232, 216, 0.68) !important;
  background:
    linear-gradient(
      90deg,
      rgba(215, 180, 95, 0.065),
      transparent
    );
  font-size: 12px !important;
  line-height: 1.8 !important;
}

.journey-player {
  position: relative;
  overflow: hidden;
}

.journey-player::after {
  content: "";
  position: absolute;
  top: -70px;
  right: -55px;
  width: 150px;
  height: 150px;
  border-radius: 50%;
  background:
    radial-gradient(
      circle,
      rgba(215, 180, 95, 0.13),
      transparent 68%
    );
  pointer-events: none;
}

.journey-player-heading,
.journey-player-controls,
.journey-enable,
.journey-audio-status {
  position: relative;
  z-index: 1;
}

@media (max-width: 900px) {
  .journey-declaration,
  .journey-heritage-note {
    margin-left: auto !important;
    margin-right: auto !important;
  }

  .journey-heritage-note {
    text-align: left;
  }
}
