:root {
  --bg: #faf8f4;
  --bg-soft: #f2eee6;
  --surface: #ffffff;
  --surface-elevated: #ffffff;
  --ink: #131b2e;
  --ink-soft: #33415c;
  --muted: #5a6782;
  --border: rgba(19, 27, 46, 0.1);
  --border-strong: rgba(19, 27, 46, 0.18);
  --navy: #14284b;
  --navy-deep: #0b1830;
  --gold: #c88616;
  --gold-soft: rgba(200, 134, 22, 0.12);
  --gold-bright: #f0b43c;
  --shadow-sm: 0 2px 8px rgba(13, 24, 48, 0.05);
  --shadow-md: 0 12px 32px rgba(13, 24, 48, 0.08);
  --shadow-lg: 0 22px 54px rgba(13, 24, 48, 0.13);
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 22px;
  --font-display: 'Newsreader', Georgia, serif;
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, monospace;
  --body-line: 1.65;
}

[data-theme="dark"] {
  --bg: #0b1120;
  --bg-soft: #111a2e;
  --surface: #131e34;
  --surface-elevated: #182540;
  --ink: #f3f5fa;
  --ink-soft: #d5dced;
  --muted: #98a6c2;
  --border: rgba(255, 255, 255, 0.1);
  --border-strong: rgba(255, 255, 255, 0.2);
  --navy: #e2e8f5;
  --navy-deep: #ffffff;
  --gold: #f3ba49;
  --gold-soft: rgba(243, 186, 73, 0.15);
  --gold-bright: #f7ca68;
  --shadow-sm: 0 2px 10px rgba(0, 0, 0, 0.28);
  --shadow-md: 0 14px 36px rgba(0, 0, 0, 0.4);
  --shadow-lg: 0 24px 60px rgba(0, 0, 0, 0.55);
}

html[lang="th"] {
  --font-display: 'Noto Serif Thai', 'Newsreader', Georgia, serif;
  --font-sans: 'Noto Sans Thai', 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --body-line: 1.8;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: var(--body-line);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  transition: background-color 0.25s ease, color 0.25s ease;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
}

button {
  font-family: inherit;
  cursor: pointer;
}

:focus-visible {
  outline: 2.5px solid var(--gold);
  outline-offset: 2px;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--navy-deep);
  color: #ffffff;
  padding: 0.6rem 1rem;
  z-index: 1000;
  border-radius: 0 0 8px 0;
}

.skip-link:focus {
  left: 0;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

.container-narrow {
  max-width: 860px;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 80;
  background: rgba(250, 248, 244, 0.86);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}

[data-theme="dark"] .site-header {
  background: rgba(11, 17, 32, 0.85);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 68px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
  flex-shrink: 0;
}

.brand-icon {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  box-shadow: var(--shadow-sm);
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.brand-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.08rem;
  letter-spacing: -0.01em;
}

.brand-sub {
  font-size: 0.72rem;
  font-weight: 500;
  color: var(--muted);
  letter-spacing: 0.02em;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.nav-link {
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--muted);
  padding: 0.3rem 0.1rem;
  border-bottom: 2px solid transparent;
  transition: color 0.18s ease, border-color 0.18s ease;
}

.nav-link:hover,
.nav-link.active {
  color: var(--ink);
  border-bottom-color: var(--gold);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.lang-switch {
  display: inline-flex;
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 3px;
}

.lang-btn {
  border: none;
  background: transparent;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 600;
  padding: 0.3rem 0.72rem;
  border-radius: 999px;
  transition: background-color 0.18s ease, color 0.18s ease;
}

.lang-btn.active {
  background: var(--surface);
  color: var(--ink);
  box-shadow: var(--shadow-sm);
}

.icon-toggle,
.mobile-menu-btn {
  width: 36px;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--ink);
  transition: border-color 0.18s ease, transform 0.18s ease;
}

.icon-toggle:hover,
.mobile-menu-btn:hover {
  border-color: var(--border-strong);
}

.theme-icon-moon {
  display: none;
}

[data-theme="dark"] .theme-icon-sun {
  display: none;
}

[data-theme="dark"] .theme-icon-moon {
  display: block;
}

.mobile-menu-btn {
  display: none;
}

/* Hero Section */
.hero {
  position: relative;
  padding: 3.5rem 0 3rem;
  overflow: hidden;
}

.hero-glow {
  position: absolute;
  inset: -120px auto auto 50%;
  transform: translateX(-50%);
  width: min(980px, 100vw);
  height: 440px;
  background: radial-gradient(ellipse at center, rgba(240, 180, 60, 0.16), rgba(20, 40, 75, 0.06) 55%, transparent 75%);
  pointer-events: none;
  z-index: 0;
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(0, 1.08fr);
  gap: 2.5rem;
  align-items: center;
}

.eyebrow-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.38rem 0.85rem;
  border-radius: 999px;
  background: var(--gold-soft);
  border: 1px solid rgba(200, 134, 22, 0.25);
  color: var(--gold);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  margin-bottom: 1.1rem;
}

.pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 4px rgba(200, 134, 22, 0.2);
}

.hero-title {
  margin: 0 0 1.05rem;
  font-family: var(--font-display);
  font-size: clamp(2.15rem, 3.8vw, 3.35rem);
  font-weight: 600;
  line-height: 1.13;
  letter-spacing: -0.02em;
  color: var(--ink);
}

html[lang="th"] .hero-title {
  line-height: 1.24;
}

.hero-lead {
  margin: 0 0 1.75rem;
  font-size: 1.06rem;
  color: var(--ink-soft);
  max-width: 56ch;
}

.hero-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-bottom: 2rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  padding: 0.82rem 1.4rem;
  border-radius: 12px;
  font-size: 0.94rem;
  font-weight: 600;
  text-decoration: none;
  border: 1px solid transparent;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background-color 0.18s ease, border-color 0.18s ease;
}

.btn-primary {
  background: #14284b;
  color: #ffffff;
  box-shadow: 0 8px 22px rgba(20, 40, 75, 0.22);
}

[data-theme="dark"] .btn-primary {
  background: var(--gold-bright);
  color: #0b1120;
  box-shadow: 0 8px 24px rgba(243, 186, 73, 0.25);
}

.btn-primary:hover {
  transform: translateY(-2px);
}

.btn-secondary {
  background: var(--surface);
  color: var(--ink);
  border-color: var(--border-strong);
  box-shadow: var(--shadow-sm);
}

.btn-secondary:hover {
  border-color: var(--gold);
  transform: translateY(-2px);
}

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.9rem;
  padding-top: 1.35rem;
  border-top: 1px solid var(--border);
}

.metric-item strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.1;
}

.metric-item span {
  display: block;
  margin-top: 0.2rem;
  font-size: 0.77rem;
  color: var(--muted);
  line-height: 1.35;
}

/* Interactive Hero Showcase */
.hero-showcase-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1rem;
  box-shadow: var(--shadow-lg);
}

.showcase-top {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.85rem;
}

.showcase-kicker {
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--gold);
}

.showcase-sub {
  font-size: 0.82rem;
  color: var(--muted);
}

.scene-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
}

.scene-tab-btn {
  border: 1px solid var(--border);
  background: var(--bg-soft);
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 600;
  padding: 0.34rem 0.68rem;
  border-radius: 999px;
  transition: all 0.16s ease;
}

.scene-tab-btn.active {
  background: #14284b;
  color: #ffffff;
  border-color: #14284b;
}

[data-theme="dark"] .scene-tab-btn.active {
  background: var(--gold-bright);
  color: #0b1120;
  border-color: var(--gold-bright);
}

.scene-stage {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  background: #0d1626;
  aspect-ratio: 16 / 9;
}

.scene-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.scene-pins-layer {
  position: absolute;
  inset: 0;
}

.scene-pin {
  position: absolute;
  transform: translate(-50%, -50%);
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: 2.5px solid #ffffff;
  background: #14284b;
  color: #ffffff;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.45);
  transition: transform 0.18s ease, background-color 0.18s ease;
}

.scene-pin::after {
  content: '';
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.55);
  animation: pinPulse 2.4s infinite;
  pointer-events: none;
}

.scene-pin.active,
.scene-pin:hover {
  transform: translate(-50%, -50%) scale(1.16);
  background: #f0b43c;
  color: #0b1120;
}

@keyframes pinPulse {
  0% { transform: scale(0.92); opacity: 0.8; }
  70% { transform: scale(1.38); opacity: 0; }
  100% { transform: scale(1.38); opacity: 0; }
}

.pin-popover {
  margin-top: 0.75rem;
  background: var(--bg-soft);
  color: var(--ink);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 0.8rem 0.95rem;
}

.pin-pop-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.5rem;
  margin-bottom: 0.25rem;
}

.pin-pop-word {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--gold);
}

.pin-pop-ipa {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--muted);
}

.pin-pop-th {
  font-size: 0.86rem;
  font-weight: 700;
  color: #15793a;
}

[data-theme="dark"] .pin-pop-th {
  color: #6ee7b7;
}

.pin-pop-sent {
  margin: 0;
  font-size: 0.86rem;
  line-height: 1.48;
  color: var(--ink-soft);
}

.showcase-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-top: 0.85rem;
  padding-top: 0.7rem;
  border-top: 1px solid var(--border);
}

.showcase-atlas-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--ink-soft);
}

.showcase-atlas-badge img {
  width: 24px;
  height: 24px;
}

.showcase-launch-link {
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--gold);
  text-decoration: none;
  white-space: nowrap;
}

.showcase-launch-link:hover {
  text-decoration: underline;
}

/* Shared Section Headers */
.section-label {
  display: inline-block;
  font-size: 0.76rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--gold);
  margin-bottom: 0.5rem;
}

.section-title {
  margin: 0 0 0.75rem;
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 2.8vw, 2.5rem);
  font-weight: 600;
  line-height: 1.18;
  letter-spacing: -0.015em;
}

html[lang="th"] .section-title {
  line-height: 1.32;
}

.section-desc {
  margin: 0;
  color: var(--muted);
  font-size: 1.02rem;
  max-width: 64ch;
}

.section-head-center {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 2.5rem;
}

.section-head-center .section-desc {
  margin: 0 auto;
}

/* Learning Path Finder */
.finder-section {
  padding: 1.5rem 0 3.75rem;
}

.finder-shell {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-md);
}

.finder-header {
  max-width: 680px;
  margin-bottom: 1.4rem;
}

.path-pills {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.65rem;
  margin-bottom: 1.35rem;
}

.path-pill {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  text-align: left;
  padding: 0.8rem 0.95rem;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: var(--bg);
  color: var(--ink-soft);
  font-size: 0.9rem;
  font-weight: 600;
  transition: all 0.16s ease;
}

.path-pill img {
  width: 28px;
  height: 28px;
  flex-shrink: 0;
}

.path-pill:hover {
  border-color: var(--border-strong);
  transform: translateY(-1px);
}

.path-pill.active {
  background: var(--bg-soft);
  border-color: var(--gold);
  color: var(--ink);
  box-shadow: 0 0 0 1px var(--gold);
}

.path-result-card {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  padding: 1.35rem 1.5rem;
  border-radius: 14px;
  background: var(--bg-soft);
  border: 1px solid var(--border);
}

.path-result-main {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  flex: 1 1 360px;
}

.path-result-icon {
  width: 52px;
  height: 52px;
  flex-shrink: 0;
}

.path-result-title {
  margin: 0 0 0.25rem;
  font-family: var(--font-display);
  font-size: 1.32rem;
  font-weight: 700;
}

.path-result-why {
  margin: 0 0 0.5rem;
  color: var(--ink-soft);
  font-size: 0.94rem;
}

.path-result-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  font-size: 0.8rem;
  color: var(--muted);
}

.path-meta-chip {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 0.18rem 0.65rem;
  font-weight: 600;
}

.path-result-cta {
  flex-shrink: 0;
}

/* Mission Section */
.mission-section {
  padding: 4rem 0;
  background: var(--bg-soft);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.mission-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 2.5rem;
  align-items: start;
}

.mission-body {
  margin: 0 0 1rem;
  color: var(--ink-soft);
  font-size: 1.02rem;
}

.mission-quote {
  margin: 1.4rem 0 0;
  padding: 1rem 1.25rem;
  border-left: 3.5px solid var(--gold);
  background: var(--surface);
  border-radius: 0 12px 12px 0;
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-style: italic;
  color: var(--ink);
  box-shadow: var(--shadow-sm);
}

html[lang="th"] .mission-quote {
  font-style: normal;
}

.mission-pillars {
  display: grid;
  gap: 1rem;
}

.pillar-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1.25rem 1.35rem;
  box-shadow: var(--shadow-sm);
}

.pillar-num {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--gold);
  margin-bottom: 0.25rem;
}

.pillar-title {
  margin: 0 0 0.35rem;
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
}

.pillar-desc {
  margin: 0;
  font-size: 0.93rem;
  color: var(--muted);
}

/* 6 Atlases Grid */
.atlases-section {
  padding: 4.5rem 0;
}

.atlas-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.35rem;
}

.atlas-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
  overflow: hidden;
}

.atlas-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--card-accent, var(--gold));
}

.atlas-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--border-strong);
}

.atlas-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.85rem;
  margin-bottom: 1rem;
}

.atlas-identity {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.atlas-web-icon {
  width: 48px;
  height: 48px;
  flex-shrink: 0;
  filter: drop-shadow(0 3px 6px rgba(0, 0, 0, 0.14));
}

.atlas-stage-tag {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--card-accent, var(--gold));
  margin-bottom: 0.15rem;
}

.atlas-name {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.24rem;
  font-weight: 700;
  line-height: 1.2;
}

.atlas-summary {
  margin: 0 0 1rem;
  font-size: 0.93rem;
  color: var(--ink-soft);
}

.atlas-highlights {
  margin: 0 0 1.2rem;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.42rem;
  font-size: 0.86rem;
  color: var(--muted);
}

.atlas-highlights li {
  display: flex;
  align-items: flex-start;
  gap: 0.45rem;
}

.atlas-highlights li::before {
  content: '✦';
  color: var(--card-accent, var(--gold));
  font-size: 0.72rem;
  margin-top: 0.15rem;
  flex-shrink: 0;
}

.atlas-tier-box {
  margin-top: auto;
  padding-top: 0.95rem;
  border-top: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.atlas-pricing-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.4rem;
  font-size: 0.81rem;
}

.free-badge {
  background: rgba(26, 147, 71, 0.12);
  color: #15793a;
  font-weight: 700;
  padding: 0.2rem 0.6rem;
  border-radius: 999px;
}

[data-theme="dark"] .free-badge {
  background: rgba(52, 211, 153, 0.14);
  color: #6ee7b7;
}

.price-note {
  color: var(--muted);
  font-weight: 600;
}

.atlas-launch-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 0.68rem 1rem;
  border-radius: 10px;
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 600;
  background: var(--bg-soft);
  color: var(--ink);
  border: 1px solid var(--border);
  transition: background-color 0.16s ease, color 0.16s ease, border-color 0.16s ease;
}

.atlas-launch-btn:hover {
  background: var(--card-accent, #14284b);
  color: #ffffff;
  border-color: transparent;
}

/* Educational Essay */
.essay-section {
  padding: 4.5rem 0;
  background: var(--bg-soft);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.essay-article {
  max-width: 820px;
  margin: 0 auto;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 3rem clamp(1.25rem, 4vw, 3.25rem);
  box-shadow: var(--shadow-md);
}

.essay-header {
  padding-bottom: 1.8rem;
  margin-bottom: 2.2rem;
  border-bottom: 1px solid var(--border);
}

.essay-title {
  margin: 0 0 0.75rem;
  font-family: var(--font-display);
  font-size: clamp(1.85rem, 3.2vw, 2.55rem);
  font-weight: 700;
  line-height: 1.18;
}

html[lang="th"] .essay-title {
  line-height: 1.32;
}

.essay-subtitle {
  margin: 0 0 1rem;
  font-size: 1.08rem;
  color: var(--muted);
}

.essay-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  font-size: 0.83rem;
  color: var(--muted);
  font-weight: 500;
}

.essay-chapter {
  margin-bottom: 2.6rem;
}

.chapter-kicker {
  font-family: var(--font-mono);
  font-size: 0.76rem;
  font-weight: 600;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 0.35rem;
}

.chapter-heading {
  margin: 0 0 0.9rem;
  font-family: var(--font-display);
  font-size: clamp(1.38rem, 2.1vw, 1.72rem);
  font-weight: 700;
  line-height: 1.25;
}

.essay-chapter p {
  margin: 0 0 1rem;
  color: var(--ink-soft);
  font-size: 1.02rem;
}

.essay-contrast-box {
  margin: 1.35rem 0;
  padding: 1.05rem 1.2rem;
  border-radius: 12px;
  background: var(--bg-soft);
  border: 1px solid var(--border);
}

.contrast-title {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--gold);
  margin-bottom: 0.65rem;
}

.contrast-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
}

.contrast-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 0.75rem 0.9rem;
  font-size: 0.89rem;
}

.contrast-item strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.04rem;
  margin-bottom: 0.2rem;
  color: var(--ink);
}

.essay-figure {
  margin: 1.5rem 0;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--bg-soft);
}

.essay-figure img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.essay-figure figcaption {
  padding: 0.72rem 1rem;
  font-size: 0.84rem;
  color: var(--muted);
}

.essay-spotlights {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.85rem;
  margin-top: 1.2rem;
}

.spotlight-link {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  padding: 0.85rem 1rem;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: var(--bg);
  text-decoration: none;
  transition: border-color 0.16s ease, transform 0.16s ease;
}

.spotlight-link:hover {
  border-color: var(--gold);
  transform: translateY(-2px);
}

.spotlight-link img {
  width: 36px;
  height: 36px;
  flex-shrink: 0;
}

.spotlight-name {
  display: block;
  font-weight: 700;
  font-size: 0.92rem;
  color: var(--ink);
}

.spotlight-note {
  display: block;
  font-size: 0.8rem;
  color: var(--muted);
}

.routine-box {
  margin-top: 2rem;
  padding: 1.5rem;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(20, 40, 75, 0.06), rgba(240, 180, 60, 0.1));
  border: 1px solid rgba(200, 134, 22, 0.28);
}

[data-theme="dark"] .routine-box {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.04), rgba(243, 186, 73, 0.08));
}

.routine-title {
  margin: 0 0 0.85rem;
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 700;
}

.routine-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.9rem;
}

.routine-step {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 0.9rem;
}

.routine-time {
  font-family: var(--font-mono);
  font-size: 0.74rem;
  font-weight: 700;
  color: var(--gold);
  margin-bottom: 0.25rem;
}

.routine-step strong {
  display: block;
  font-size: 0.94rem;
  margin-bottom: 0.25rem;
}

.routine-step p {
  margin: 0;
  font-size: 0.84rem;
  color: var(--muted);
}

/* FAQ */
.faq-section {
  padding: 4.5rem 0;
}

.faq-list {
  display: grid;
  gap: 0.85rem;
}

.faq-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.faq-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.15rem 1.3rem;
  border: none;
  background: transparent;
  color: var(--ink);
  font-size: 1rem;
  font-weight: 600;
  text-align: left;
}

.faq-chevron {
  flex-shrink: 0;
  font-size: 1.15rem;
  color: var(--gold);
  transition: transform 0.2s ease;
}

.faq-item.open .faq-chevron {
  transform: rotate(45deg);
}

.faq-panel {
  display: none;
  padding: 0 1.3rem 1.2rem;
  color: var(--ink-soft);
  font-size: 0.95rem;
}

.faq-item.open .faq-panel {
  display: block;
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--border);
  background: var(--bg-soft);
  padding: 3rem 0 2.75rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr) minmax(0, 0.9fr);
  gap: 2rem;
}

.footer-mission {
  margin: 0.85rem 0 0.9rem;
  color: var(--muted);
  font-size: 0.9rem;
  max-width: 44ch;
}

.footer-copy,
.footer-contact {
  margin: 0.5rem 0 0;
  font-size: 0.82rem;
  color: var(--muted);
}

.footer-col-title {
  margin: 0 0 0.75rem;
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--ink);
}

.footer-links-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.45rem;
  font-size: 0.9rem;
  color: var(--muted);
}

.footer-links-list a {
  text-decoration: none;
}

.footer-links-list a:hover {
  color: var(--gold);
  text-decoration: underline;
}

/* Responsive Breakpoints */
@media (max-width: 1020px) {
  .hero-grid,
  .mission-layout {
    grid-template-columns: 1fr;
  }

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

  .path-pills {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .container {
    padding: 0 0.9rem;
  }

  .header-inner {
    gap: 0.45rem;
    min-height: 60px;
  }

  .brand {
    min-width: 0;
    flex: 1 1 auto;
    gap: 0.42rem;
  }

  .brand-icon {
    width: 28px;
    height: 28px;
    flex-shrink: 0;
  }

  .brand-text {
    min-width: 0;
  }

  .brand-name {
    font-size: 0.9rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .brand-sub {
    display: none;
  }

  .header-actions {
    gap: 0.35rem;
    flex-shrink: 0;
  }

  .lang-btn {
    padding: 0.26rem 0.55rem;
    font-size: 0.74rem;
  }

  .icon-toggle,
  .mobile-menu-btn {
    width: 32px;
    height: 32px;
  }

  .mobile-menu-btn {
    display: inline-flex;
  }

  .main-nav {
    display: none;
    position: absolute;
    top: 60px;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.35rem;
    padding: 0.85rem 1.25rem 1.15rem;
    background: var(--surface);
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow-md);
  }

  .main-nav.open {
    display: flex;
  }

  .nav-link {
    width: 100%;
    padding: 0.5rem 0;
  }

  .hero {
    padding: 2.2rem 0 2rem;
  }

  .hero-metrics {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .atlas-grid,
  .path-pills,
  .contrast-grid,
  .essay-spotlights,
  .routine-steps,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .finder-shell,
  .essay-article {
    padding: 1.5rem 1.15rem;
  }

  .pin-popover {
    padding: 0.62rem 0.78rem;
  }

  .pin-pop-sent {
    font-size: 0.78rem;
  }
}
