:root {
  --cream: #fff7e8;
  --paper: #fffaf0;
  --ink: #1f2a2e;
  --muted: #5e6b68;
  --sky: #bfe4f8;
  --green: #80a86f;
  --coral: #e36f4a;
  --terracotta: #b95e3d;
  --mustard: #e5b84d;
  --denim: #276181;
  --shadow: 0 18px 50px rgba(47, 76, 79, 0.16);
  --hand: "Caveat", cursive;
  --body: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  position: relative;
  color: var(--ink);
  font-family: var(--body);
  line-height: 1.6;
  background:
    radial-gradient(circle at 18% 4%, rgba(191, 228, 248, .5), transparent 26rem),
    radial-gradient(circle at 88% 12%, rgba(229, 184, 77, .18), transparent 22rem),
    linear-gradient(180deg, #fff9ed 0%, #fff4de 45%, #f6efe0 100%);
}

img { max-width: 100%; display: block; }
a { color: inherit; }

.container {
  width: min(1080px, 92%);
  margin-inline: auto;
}

.sr-only {
  position: absolute; width: 1px; height: 1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap;
}

.skip-link {
  position: absolute; left: 1rem; top: -100px;
  background: var(--ink); color: #fff;
  padding: .7rem 1rem; border-radius: 999px; z-index: 99;
}
.skip-link:focus { top: 1rem; }

/* ---------- Header ---------- */
.site-header {
  position: relative;
  background: rgba(255, 247, 232, .9);
  border-bottom: 1px solid rgba(31, 42, 46, .08);
}
.nav {
  height: 78px;
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
}
.brand { text-decoration: none; display: inline-grid; line-height: .85; }
.brand-script { font-family: var(--hand); font-size: 2rem; font-weight: 700; color: var(--terracotta); }
.brand-subtitle { font-size: .72rem; letter-spacing: .28em; text-transform: uppercase; color: var(--muted); }

.nav-menu { display: flex; align-items: center; gap: 26px; }
.nav-menu a { text-decoration: none; font-weight: 600; color: var(--ink); padding: 6px 2px; border-bottom: 2px solid transparent; }
.nav-menu a:hover { border-bottom-color: var(--coral); }

.nav-toggle {
  display: none; border: 0; background: transparent; cursor: pointer;
  width: 44px; height: 44px; padding: 9px;
}
.nav-toggle span { display: block; height: 3px; border-radius: 3px; background: var(--ink); margin: 4px 0; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 14px 26px; border-radius: 999px;
  font-weight: 700; text-decoration: none; border: 2px solid transparent;
  transition: transform .12s ease, box-shadow .12s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--coral); color: #fff; box-shadow: 0 12px 26px rgba(227, 111, 74, .32); }
.btn-secondary { background: #fff; color: var(--ink); border-color: rgba(31, 42, 46, .16); }

.eyebrow {
  font-weight: 700; letter-spacing: .18em; text-transform: uppercase;
  font-size: .78rem; color: var(--coral); margin: 0 0 12px;
}

/* ---------- Hero ---------- */
.hero { padding: clamp(40px, 7vw, 84px) 0 clamp(20px, 3vw, 36px); }
.hero-inner { max-width: 760px; margin-inline: auto; text-align: center; }
.hero h1 {
  font-family: var(--hand); font-weight: 700;
  font-size: clamp(2.6rem, 9vw, 5rem); line-height: .98;
  margin: 0 0 18px; color: var(--ink);
}
.hero-subtitle { font-size: clamp(1.02rem, 2.4vw, 1.2rem); color: var(--muted); margin: 0 auto 26px; max-width: 56ch; }
.hero-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ---------- Map feature ---------- */
.map-feature { padding: clamp(20px, 4vw, 44px) 0 clamp(36px, 6vw, 64px); }
.map-figure { margin: 0; display: grid; justify-items: center; gap: 16px; }
.map-figure img {
  width: min(680px, 100%);
  height: auto; border-radius: 22px;
  border: 10px solid #fff;
  box-shadow: var(--shadow);
}
.map-figure figcaption {
  font-family: var(--hand); font-size: 1.5rem; color: var(--terracotta);
  text-align: center; max-width: 30ch;
}

/* ---------- Chapters timeline ---------- */
.chapters { padding: clamp(36px, 6vw, 72px) 0; background: rgba(255, 255, 255, .4); }
.section-heading { text-align: center; max-width: 640px; margin: 0 auto clamp(28px, 4vw, 48px); }
.section-heading h2 { font-family: var(--hand); font-weight: 700; font-size: clamp(2.1rem, 6vw, 3.4rem); line-height: 1; margin: 0 0 12px; }
.section-heading p { color: var(--muted); margin: 0; }

.timeline { list-style: none; margin: 0 auto; padding: 0; max-width: 680px; }
.chapter {
  display: grid; grid-template-columns: auto 1fr; gap: 18px; align-items: start;
  padding: 22px 0;
  border-bottom: 1px solid rgba(31, 42, 46, .1);
}
.chapter:last-child { border-bottom: 0; }
.chapter .num {
  width: 46px; height: 46px; flex: none;
  display: grid; place-items: center;
  border-radius: 50%; font-weight: 800; color: #fff;
  background: var(--coral);
  box-shadow: 0 8px 18px rgba(31, 42, 46, .14);
}
.chapter:nth-child(4n+2) .num { background: var(--green); }
.chapter:nth-child(4n+3) .num { background: var(--denim); }
.chapter:nth-child(4n+4) .num { background: var(--mustard); color: #2d271a; }
.chapter-body h3 { margin: 4px 0 6px; font-size: 1.2rem; }
.chapter-body p { margin: 0; color: var(--muted); }

/* ---------- CTA band ---------- */
.cta-band { padding: clamp(40px, 6vw, 72px) 0; background: rgba(255,255,255,.5); border-top: 1px solid rgba(31,42,46,.08); }
.cta-inner { text-align: center; max-width: 640px; margin-inline: auto; }
.cta-inner h2 { font-family: var(--hand); font-weight: 700; font-size: clamp(2rem, 5vw, 3rem); line-height: 1; margin: 0 0 12px; }
.cta-inner > p { color: var(--muted); margin: 0 0 28px; }
.cta-links { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ---------- Story / quote ---------- */
.story { padding: clamp(40px, 6vw, 76px) 0; }
.story-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 4vw, 48px); align-items: center; }
.story-grid h2 { font-family: var(--hand); font-weight: 700; font-size: clamp(2rem, 5vw, 3.2rem); line-height: 1; margin: 0 0 14px; }
.story-grid > div:first-child p { color: var(--muted); margin: 0; }
.quote-card {
  background: var(--paper); border-radius: 28px;
  padding: clamp(26px, 5vw, 50px); box-shadow: var(--shadow);
  border: 2px solid rgba(31, 42, 46, .1); transform: rotate(-1deg);
}
.quote-card p { font-family: var(--hand); font-size: clamp(2.2rem, 5vw, 3.6rem); line-height: .96; margin: 0; color: var(--terracotta); }

/* ---------- Footer ---------- */
.footer { padding: 52px 0; background: rgba(255, 249, 237, .9); border-top: 1px solid rgba(31, 42, 46, .1); }
.footer-grid { display: grid; grid-template-columns: 1fr 1.1fr .6fr; gap: 28px; align-items: center; }
.footer p { color: var(--muted); margin: 10px 0 0; }
.footer-brand { margin-bottom: 4px; }
.signup label { display: block; font-family: var(--hand); font-weight: 700; font-size: 1.9rem; margin-bottom: 12px; }
.social { display: flex; justify-content: flex-end; gap: 10px; }
.social a {
  width: 42px; aspect-ratio: 1; display: grid; place-items: center;
  border-radius: 50%; text-decoration: none;
  background: #fff; color: var(--terracotta); font-weight: 900;
  box-shadow: 0 10px 22px rgba(31, 42, 46, .12);
}

/* ---------- Responsive ---------- */
@media (max-width: 760px) {
  .nav-toggle { display: inline-block; }
  .nav-menu {
    position: absolute; left: 16px; right: 16px; top: 70px;
    display: none; flex-direction: column; align-items: stretch; gap: 6px;
    background: var(--paper); padding: 14px; border-radius: 18px;
    box-shadow: var(--shadow); z-index: 40;
  }
  .nav-menu.is-open { display: flex; }
  .nav-menu a { padding: 10px 8px; border-bottom: 1px solid rgba(31,42,46,.07); }
  .nav-menu a:last-child { border-bottom: 0; }

  .story-grid, .footer-grid { grid-template-columns: 1fr; }
  .social { justify-content: flex-start; }
  .map-figure img { border-width: 6px; border-radius: 16px; }
  .chapter { gap: 14px; }
}
