:root {
  --bg: #F5EDD6;
  --bg-alt: #EDE4D0;
  --bg-deep: #1C1917;
  --fg: #1C1917;
  --fg-muted: #5C4A1F;
  --fg-light: #8B6B3D;
  --accent: #C9A84C;
  --accent-dark: #B8922E;
  --accent-dim: rgba(201,168,76,0.15);
  --surface: #F5EDD6;
  --border: rgba(184,146,46,0.25);
  --link: #7A5C14;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  background: var(--bg);
  color: var(--fg);
  font-family: 'Crimson Pro', Georgia, serif;
  font-size: 1.1rem;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

/* Navigation */
.nav {
  padding: 1.5rem 3rem;
  border-bottom: 1px solid var(--border);
  background: var(--bg);
}
.nav__inner { display: flex; align-items: baseline; gap: 1rem; }
.nav__wordmark {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--fg);
}
.nav__tagline {
  font-size: 0.85rem;
  color: var(--fg-light);
  font-style: italic;
}

/* Section labels */
.section__eyebrow {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--accent-dark);
  font-weight: 600;
  margin-bottom: 0.75rem;
}
.section__heading {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 600;
  line-height: 1.15;
  color: var(--fg);
  margin-bottom: 1.5rem;
}

/* Hero */
.hero { padding: 6rem 3rem 5rem; background: var(--bg); }
.hero__inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 4rem;
  align-items: center;
}
.hero__eyebrow {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--accent-dark);
  margin-bottom: 1rem;
  font-weight: 600;
}
.hero__headline {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.8rem, 5.5vw, 4.5rem);
  font-weight: 700;
  line-height: 1.05;
  color: var(--fg);
  margin-bottom: 1.5rem;
}
.hero__lede {
  font-size: 1.2rem;
  color: var(--fg-muted);
  max-width: 520px;
  margin-bottom: 2rem;
  line-height: 1.8;
}
.hero__meta { display: flex; gap: 1rem; flex-wrap: wrap; }
.hero__badge {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent-dark);
  border: 1px solid var(--accent);
  padding: 0.25rem 0.75rem;
  border-radius: 2px;
  font-weight: 600;
}
.hero__illustration { display: flex; align-items: center; }
.compass { width: 260px; height: 260px; }

/* World */
.world { padding: 5rem 3rem; background: var(--bg-deep); color: #F5EDD6; }
.world__inner { max-width: 1100px; margin: 0 auto; }
.world__header { margin-bottom: 3rem; }
.world .section__eyebrow { color: #C9A84C; }
.world .section__heading { color: #F5EDD6; }
.world__map { margin-bottom: 3rem; }
.world__svg { width: 100%; max-width: 700px; display: block; margin: 0 auto; }
.world__status { display: flex; flex-direction: column; gap: 0.75rem; max-width: 500px; margin: 0 auto; }
.nation {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding: 0.75rem 1.25rem;
  border-radius: 4px;
  font-size: 0.95rem;
}
.nation--open { background: rgba(201,168,76,0.15); border: 1px solid rgba(201,168,76,0.4); }
.nation--coming { opacity: 0.5; }
.nation__num {
  font-family: 'Playfair Display', serif;
  font-size: 0.85rem;
  color: var(--accent);
  font-weight: 600;
  min-width: 28px;
}
.nation__name { font-weight: 600; flex: 1; }
.nation__status { font-size: 0.8rem; color: var(--accent); font-style: italic; }
.nation--coming .nation__status { color: #8B6B3D; }

/* Puzzles */
.puzzles { padding: 6rem 3rem; background: var(--bg-alt); }
.puzzles__inner { max-width: 1100px; margin: 0 auto; }
.puzzles__header { max-width: 600px; margin-bottom: 4rem; }
.puzzles__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem;
}
.puzzle-type { }
.puzzle-type__icon { margin-bottom: 1rem; }
.puzzle-type__name {
  font-family: 'Playfair Display', serif;
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--fg);
}
.puzzle-type__desc { font-size: 0.95rem; color: var(--fg-muted); line-height: 1.6; }
.puzzles__hints {
  margin-top: 3rem;
  padding: 1.5rem 2rem;
  background: var(--accent-dim);
  border: 1px solid var(--border);
  border-radius: 4px;
  text-align: center;
  color: var(--fg-muted);
}

/* Carnet */
.carnet { padding: 6rem 3rem; background: var(--bg); }
.carnet__inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 5rem;
  align-items: center;
}
.carnet__heading {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 600;
  margin-bottom: 1rem;
}
.carnet__desc {
  color: var(--fg-muted);
  font-size: 1.05rem;
  margin-bottom: 2rem;
  line-height: 1.8;
}
.carnet__items { display: flex; flex-direction: column; gap: 0.75rem; margin-bottom: 2.5rem; }
.carnet-item { display: flex; gap: 1.5rem; font-size: 0.95rem; }
.carnet-item__label { color: var(--accent-dark); font-weight: 600; min-width: 90px; }
.carnet-item__value { color: var(--fg-muted); }
.carnet__quote {
  border-left: 2px solid var(--accent);
  padding-left: 1.5rem;
  font-style: italic;
  color: var(--fg-muted);
  font-size: 1rem;
  line-height: 1.8;
}
.carnet__quote cite { display: block; margin-top: 0.5rem; font-size: 0.85rem; color: var(--fg-light); font-style: normal; }
.carnet__visual { display: flex; justify-content: flex-end; }
.carnet-book { width: 220px; height: 290px; filter: drop-shadow(4px 8px 20px rgba(92,74,31,0.2)); }

/* Daily */
.daily { padding: 6rem 3rem; background: var(--bg-deep); color: #F5EDD6; }
.daily__inner { max-width: 700px; margin: 0 auto; text-align: center; }
.daily .section__eyebrow { color: #C9A84C; }
.daily .section__heading { color: #F5EDD6; }
.daily__desc { color: #C9B87A; margin-bottom: 3rem; font-size: 1.05rem; line-height: 1.8; }
.daily__card {
  background: rgba(201,168,76,0.08);
  border: 1px solid rgba(201,168,76,0.3);
  border-radius: 8px;
  padding: 2rem 2.5rem;
  margin-bottom: 2.5rem;
  text-align: left;
}
.daily__date { font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.15em; color: #C9A84C; margin-bottom: 0.5rem; }
.daily__title { font-family: 'Playfair Display', serif; font-size: 1.5rem; font-weight: 600; color: #F5EDD6; margin-bottom: 0.25rem; }
.daily__meta { font-size: 0.9rem; color: #8B7A4A; font-style: italic; }
.daily__actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* Dispatches */
.dispatches { padding: 6rem 3rem; background: var(--bg); }
.dispatches__inner { max-width: 900px; margin: 0 auto; }
.dispatches__header { margin-bottom: 3rem; }
.dispatches__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; margin-bottom: 2.5rem; }
.dispatch {
  padding: 1.75rem 2rem;
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: 4px;
}
.dispatch__date { font-size: 0.75rem; color: var(--fg-light); display: block; margin-bottom: 0.75rem; }
.dispatch__title {
  font-family: 'Playfair Display', serif;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--fg);
  margin-bottom: 0.75rem;
  line-height: 1.4;
}
.dispatch__excerpt { font-size: 0.9rem; color: var(--fg-muted); line-height: 1.65; }
.dispatches__link {
  font-size: 0.9rem;
  color: var(--accent-dark);
  font-weight: 600;
  border-bottom: 1px solid var(--accent);
  padding-bottom: 1px;
  text-decoration: none;
  transition: color 0.2s;
}
.dispatches__link:hover { color: var(--fg); }

/* Closing */
.closing { padding: 5rem 3rem; background: var(--bg-alt); }
.closing__inner { max-width: 600px; margin: 0 auto; text-align: center; }
.closing__divider { display: block; margin: 0 auto 2.5rem; }
.closing__quote {
  font-family: 'Playfair Display', serif;
  font-size: 1.6rem;
  font-style: italic;
  color: var(--fg);
  margin-bottom: 0.75rem;
  line-height: 1.5;
}
.closing__attribution { color: var(--fg-light); font-size: 0.9rem; margin-bottom: 3rem; }

/* Footer */
.footer { padding: 3rem; background: var(--bg-deep); color: #C9B87A; }
.footer__inner { max-width: 600px; margin: 0 auto; text-align: center; }
.footer__wordmark {
  font-family: 'Playfair Display', serif;
  font-size: 1.1rem;
  font-weight: 600;
  color: #F5EDD6;
  margin-bottom: 0.75rem;
}
.footer__copy { font-size: 0.9rem; line-height: 1.7; margin-bottom: 1rem; }
.footer__legal { font-size: 0.75rem; color: #6B5E3A; }

/* Buttons */
.btn {
  display: inline-block;
  padding: 0.85rem 2rem;
  border-radius: 3px;
  font-family: 'Crimson Pro', serif;
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s;
  cursor: pointer;
}
.btn--primary {
  background: var(--accent);
  color: var(--bg-deep);
  border: 1px solid var(--accent);
}
.btn--primary:hover { background: var(--accent-dark); border-color: var(--accent-dark); }
.btn--secondary {
  background: transparent;
  color: #F5EDD6;
  border: 1px solid rgba(201,168,76,0.4);
}
.btn--secondary:hover { border-color: var(--accent); color: var(--accent); }

/* Responsive */
@media (max-width: 900px) {
  .hero__inner, .carnet__inner { grid-template-columns: 1fr; gap: 2rem; }
  .hero__illustration { display: none; }
  .puzzles__grid { grid-template-columns: repeat(2, 1fr); }
  .dispatches__grid { grid-template-columns: 1fr; }
  .carnet__visual { justify-content: flex-start; }
}
@media (max-width: 600px) {
  .hero, .puzzles, .carnet, .daily, .dispatches, .closing, .world { padding: 4rem 1.5rem; }
  .nav { padding: 1rem 1.5rem; }
  .puzzles__grid { grid-template-columns: 1fr; }
  .hero__meta { gap: 0.5rem; }
}