/* Base */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --blue-dark: #1a3a5c;
  --blue: #2a6496;
  --blue-light: #d6e8f5;
  --snow: #f5f8fc;
  --text: #1e2832;
  --text-muted: #5a6a7a;
  --accent: #c0392b;
  --gold: #e8a020;
  --radius: 8px;
  --max-width: 820px;
}

html { scroll-behavior: smooth; }

body {
  font-family: Georgia, 'Times New Roman', serif;
  color: var(--text);
  background: var(--snow);
  line-height: 1.75;
  font-size: 18px;
}

/* Container */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* Hero */
.hero {
  background: linear-gradient(160deg, var(--blue-dark) 0%, #0d2035 100%);
  color: white;
  padding: 100px 24px 80px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 20% 80%, rgba(255,255,255,0.04) 0%, transparent 60%),
    radial-gradient(ellipse at 80% 20%, rgba(255,255,255,0.04) 0%, transparent 60%);
}

.hero-content { position: relative; z-index: 1; }

.hero h1 {
  font-size: clamp(2.4rem, 6vw, 4rem);
  font-weight: normal;
  letter-spacing: 0.01em;
  line-height: 1.15;
  margin-bottom: 16px;
  text-shadow: 0 2px 12px rgba(0,0,0,0.4);
}

.hero-sub {
  font-size: 1.2rem;
  color: rgba(255,255,255,0.7);
  font-style: italic;
  letter-spacing: 0.05em;
}

/* Nav */
.timeline-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--blue-dark);
  display: flex;
  flex-wrap: wrap;
  gap: 2px;
  padding: 8px 16px;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}

.timeline-nav a {
  color: rgba(255,255,255,0.75);
  text-decoration: none;
  font-family: system-ui, sans-serif;
  font-size: 0.8rem;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 4px;
  transition: background 0.15s, color 0.15s;
  letter-spacing: 0.03em;
}

.timeline-nav a:hover,
.timeline-nav a.active {
  background: rgba(255,255,255,0.15);
  color: white;
}

/* Sections */
.section {
  padding: 64px 0;
  border-bottom: 1px solid rgba(0,0,0,0.07);
}

.decade-section {
  background: white;
}

/* Headings */
h2 {
  font-size: 1.9rem;
  font-weight: normal;
  color: var(--blue-dark);
  margin-bottom: 28px;
  line-height: 1.2;
}

h3 {
  font-size: 1.2rem;
  font-weight: bold;
  color: var(--blue);
  margin: 32px 0 12px;
  font-family: system-ui, sans-serif;
}

.decade-label {
  display: block;
  font-family: system-ui, sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 6px;
}

/* Text */
p { margin-bottom: 16px; }
p:last-child { margin-bottom: 0; }

em { font-style: italic; }
strong { font-weight: bold; }

/* Intro */
.intro-section {
  background: white;
}

.lead {
  font-size: 1.25rem;
  font-style: italic;
  color: var(--blue-dark);
  margin-bottom: 28px;
  line-height: 1.6;
}

.author-box {
  background: var(--snow);
  border-left: 4px solid var(--blue);
  padding: 24px 28px;
  border-radius: 0 var(--radius) var(--radius) 0;
}

/* Blockquote */
blockquote {
  margin: 28px 0;
  padding: 20px 28px;
  background: var(--blue-light);
  border-left: 4px solid var(--blue);
  border-radius: 0 var(--radius) var(--radius) 0;
  font-style: italic;
  color: #2c3e50;
  font-size: 1rem;
}

/* Info boxes */
.info-box {
  background: #f0f4f8;
  border: 1px solid #c8d8e8;
  border-radius: var(--radius);
  padding: 16px 20px;
  margin: 24px 0;
  font-size: 0.95rem;
  color: var(--text-muted);
}

.disclaimer {
  background: #ffe8e8;
  border: 1px solid #cc0000;
  border-radius: var(--radius);
  padding: 16px 20px;
  margin: 0 0 28px 0;
  font-size: 0.95rem;
  color: var(--text);
}

.fun-fact {
  background: #fff8e8;
  border: 1px solid #f0d080;
  border-radius: var(--radius);
  padding: 16px 20px;
  margin: 24px 0;
  font-size: 0.95rem;
}

.highlight-box {
  background: var(--blue-dark);
  color: white;
  border-radius: var(--radius);
  padding: 20px 28px;
  margin: 28px 0;
  font-size: 1.05rem;
  text-align: center;
}

/* NSC section */
.nsc-section {
  background: linear-gradient(135deg, #f8f4ee 0%, #fff 100%);
}

.nsc-section h2 { color: var(--accent); }
.nsc-section .decade-label { color: var(--accent); }

/* Closing */
.closing-statement {
  background: var(--blue-dark);
  color: white;
  padding: 36px 40px;
  border-radius: var(--radius);
  text-align: center;
  font-size: 1.3rem;
  font-style: italic;
  margin-top: 24px;
}

/* Footer */
.version {
  margin-top: 12px;
  font-size: 0.75rem;
  opacity: 0.45;
}

footer {
  background: var(--blue-dark);
  color: rgba(255,255,255,0.65);
  padding: 40px 24px;
  text-align: center;
  font-family: system-ui, sans-serif;
  font-size: 0.9rem;
  line-height: 2;
}

/* Info box with portrait */
.info-box-flex {
  display: flex;
  gap: 20px;
  align-items: flex-start;
}

.info-box-flex p { flex: 1; }

.portrait img {
  width: 100px;
  border-radius: 4px;
  flex-shrink: 0;
}

/* Images */
figure {
  margin: 28px 0;
}

figure img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: var(--radius);
  box-shadow: 0 2px 12px rgba(0,0,0,0.12);
}

figcaption {
  font-family: system-ui, sans-serif;
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-top: 8px;
  font-style: italic;
  line-height: 1.4;
}

.doc-image img {
  max-width: 520px;
  margin: 0 auto;
}

.photo-pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin: 28px 0;
}

.photo-pair figure {
  margin: 0;
}

/* Responsive */
@media (max-width: 600px) {
  body { font-size: 16px; }
  .section { padding: 40px 0; }
  .hero { padding: 64px 24px 48px; }
  .timeline-nav { gap: 2px; padding: 6px 8px; }
  .timeline-nav a { font-size: 0.72rem; padding: 3px 7px; }
  blockquote { padding: 16px 18px; }
  .closing-statement { padding: 24px 20px; font-size: 1.1rem; }
}
