@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,700;0,900;1,400;1,700;1,900&family=Lato:wght@300;400;700&display=swap');

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

:root {
  --burnt-orange: #CB6015;
  --burnt-orange-light: #E8813A;
  --burnt-orange-dark: #A34D10;
  --cream: #FEFBEA;
  --cream-dark: #F5F0D0;
  --navy: #002F6C;
  --navy-mid: #1A4A8A;
  --text-dark: #1A1208;
  --text-mid: #4A3F2F;
  --serif: 'Playfair Display', Georgia, serif;
  --sans: 'Lato', sans-serif;
}

html { scroll-behavior: smooth; }
body {
  font-family: var(--sans);
  background: var(--cream);
  color: var(--text-dark);
  overflow-x: hidden;
}

/* ── NAV ── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 200;
  background: var(--navy);
  height: 64px;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 1.5rem;
}
.nav-logo {
  font-family: var(--serif);
  font-weight: 900;
  font-size: 1.1rem;
  color: var(--cream);
  text-decoration: none;
  letter-spacing: 0.02em;
  flex-shrink: 0;
}
.nav-logo span { color: var(--burnt-orange-light); }

/* Desktop nav links */
.nav-links {
  display: flex;
  list-style: none;
  align-items: center;
  gap: 0;
  flex-shrink: 1;
}
.nav-links a {
  font-family: var(--sans);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: rgba(254,251,234,0.75);
  text-decoration: none;
  padding: 0.4rem 0.5rem;
  white-space: nowrap;
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--cream); }
.nav-links a.nav-cta {
  background: var(--burnt-orange);
  color: var(--cream);
  padding: 0.4rem 0.75rem;
  border-radius: 2px;
  margin-left: 0.4rem;
}
.nav-links a.nav-cta:hover { background: var(--burnt-orange-light); }

/* Hamburger — mobile only */
.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
}
.nav-hamburger span {
  display: block; width: 26px; height: 2px;
  background: var(--cream);
  border-radius: 2px;
  transition: all 0.3s;
}
.nav-hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; }
.nav-hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile menu — always used */
.nav-mobile {
  display: none;
  position: fixed;
  top: 64px; left: 0; right: 0;
  background: var(--navy);
  z-index: 199;
  flex-direction: column;
  padding: 1rem 0 1.5rem;
  border-top: 1px solid rgba(254,251,234,0.1);
  box-shadow: 0 8px 24px rgba(0,0,0,0.3);
}
.nav-mobile.open { display: flex; }
.nav-mobile a {
  font-family: var(--sans);
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(254,251,234,0.75);
  text-decoration: none;
  padding: 0.9rem 2.5rem;
  border-bottom: 1px solid rgba(254,251,234,0.06);
  transition: color 0.2s, background 0.2s;
}
.nav-mobile a:hover { color: var(--cream); background: rgba(255,255,255,0.04); }
.nav-mobile a.nav-cta-mobile {
  margin: 1rem 2.5rem 0;
  background: var(--burnt-orange);
  color: var(--cream);
  text-align: center;
  padding: 0.85rem;
  border-radius: 2px;
  border: none;
}
.nav-mobile a.nav-cta-mobile:hover { background: var(--burnt-orange-light); }

/* ── SHARED COMPONENTS ── */
.page-wrap { padding-top: 64px; }

.section-eyebrow {
  font-family: var(--sans);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--burnt-orange);
  margin-bottom: 0.85rem;
  display: flex; align-items: center; gap: 0.75rem;
}
.section-eyebrow::before {
  content: '';
  display: block; width: 24px; height: 2px;
  background: var(--burnt-orange);
  flex-shrink: 0;
}
.section-eyebrow.light { color: var(--burnt-orange-light); }
.section-eyebrow.light::before { background: var(--burnt-orange); }
.section-eyebrow.center { justify-content: center; }
.section-eyebrow.center::before { display: none; }

h1, h2, h3 { font-family: var(--serif); font-weight: 900; }
h2.section-title {
  font-size: clamp(2rem, 3.5vw, 3rem);
  line-height: 1.1;
  color: var(--navy);
  margin-bottom: 1.25rem;
}
h2.section-title em { font-style: italic; font-weight: 400; }
h2.section-title.light { color: var(--cream); }

.section-body {
  font-family: var(--sans);
  font-size: 1rem;
  font-weight: 300;
  line-height: 1.85;
  color: var(--text-mid);
  margin-bottom: 1.25rem;
}

/* Buttons */
.btn-primary {
  display: inline-block;
  background: var(--burnt-orange);
  color: var(--cream);
  padding: 0.9rem 2.2rem;
  font-family: var(--sans);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: 2px;
  border: none;
  cursor: pointer;
  transition: background 0.2s, transform 0.15s;
}
.btn-primary:hover { background: var(--burnt-orange-light); transform: translateY(-1px); }

.btn-secondary {
  display: inline-block;
  background: transparent;
  color: var(--cream);
  padding: 0.9rem 2.2rem;
  font-family: var(--sans);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  border: 1px solid rgba(254,251,234,0.35);
  border-radius: 2px;
  transition: border-color 0.2s, color 0.2s;
}
.btn-secondary:hover { border-color: var(--cream); color: var(--cream); }

.btn-navy {
  display: inline-block;
  background: var(--navy);
  color: var(--cream);
  padding: 0.9rem 2.2rem;
  font-family: var(--sans);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: 2px;
  border: none;
  cursor: pointer;
  transition: background 0.2s;
}
.btn-navy:hover { background: var(--navy-mid); }

/* Pull quote */
.pullquote {
  margin: 2rem 0;
  padding: 1.5rem 2rem;
  border-left: 3px solid var(--burnt-orange);
  background: var(--cream-dark);
}
.pullquote p {
  font-family: var(--serif);
  font-size: 1.2rem;
  font-style: italic;
  font-weight: 400;
  line-height: 1.6;
  color: var(--navy);
  margin-bottom: 0.5rem;
}
.pullquote cite {
  font-family: var(--sans);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--burnt-orange);
  font-style: normal;
}

/* Orange band quote */
.quote-band {
  background: var(--burnt-orange);
  padding: 5rem 4rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.quote-band::before {
  content: 'JOY';
  position: absolute;
  font-family: var(--serif);
  font-weight: 900;
  font-size: 26vw;
  color: rgba(0,0,0,0.07);
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  white-space: nowrap;
  pointer-events: none;
}
.quote-band-text {
  font-family: var(--serif);
  font-size: clamp(1.4rem, 3vw, 2.6rem);
  font-style: italic;
  font-weight: 400;
  line-height: 1.4;
  color: var(--cream);
  max-width: 780px;
  margin: 0 auto 1.5rem;
  position: relative; z-index: 1;
}
.quote-band-attr {
  font-family: var(--sans);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(254,251,234,0.7);
  position: relative; z-index: 1;
}

/* Footer */
footer {
  background: var(--text-dark);
  padding: 2.5rem 3rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}
.footer-logo {
  font-family: var(--serif);
  font-size: 1rem;
  font-style: italic;
  color: rgba(254,251,234,0.5);
}
.footer-nav { display: flex; gap: 1.5rem; }
.footer-nav a {
  font-family: var(--sans);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(254,251,234,0.3);
  text-decoration: none;
  transition: color 0.2s;
}
.footer-nav a:hover { color: rgba(254,251,234,0.7); }
.footer-copy {
  font-family: var(--sans);
  font-size: 0.75rem;
  font-weight: 300;
  color: rgba(254,251,234,0.25);
  width: 100%;
  margin-top: 0.5rem;
}

/* Fade-in on scroll */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ── RESPONSIVE ── */
@media (max-width: 960px) {
  nav { padding: 0 1.5rem; }
  .nav-links { display: none; }
  .nav-hamburger { display: flex; }
  footer { padding: 2rem 1.5rem; }
  .footer-nav { display: none; }
  .quote-band { padding: 4rem 2rem; }
}
/* Fix: keep the footer nav in the footer, not pinned over the header */
footer nav {
  position: static;
  height: auto;
  background: none;
  padding: 0;
  justify-content: flex-start;
}
/* ===== Chapter scaffold for Stories page ===== */
.chapter-block { margin-bottom: 4.5rem; }
.chapter-heading {
  display: flex;
  align-items: baseline;
  gap: 1rem;
  border-bottom: 3px solid #CB6015;
  padding-bottom: 0.75rem;
  margin-bottom: 2rem;
}
.chapter-heading .ch-label {
  font-family: 'Lato', sans-serif;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #CB6015;
  white-space: nowrap;
}
.chapter-heading h2 {
  font-family: 'Playfair Display', serif;
  font-weight: 900;
  font-size: 1.9rem;
  color: #002F6C;
  margin: 0;
  line-height: 1.15;
}
.story-card.no-photo { border-top: 6px solid #CB6015; }
.story-card.no-photo .story-body { padding-top: 1.5rem; }
@media (max-width: 700px) {
  .chapter-heading { flex-direction: column; gap: 0.25rem; }
  .chapter-heading h2 { font-size: 1.5rem; }
}
/* ===== Multi-photo row for story cards ===== */
.story-photo-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
  margin-top: 6px;
}
.story-photo-row.three { grid-template-columns: 1fr 1fr 1fr; }
.story-photo-row img {
  width: 100%;
  height: 130px;
  object-fit: cover;
  display: block;
}
/* ===== Photo lightbox ===== */
.story-photo img, .story-photo-row img { cursor: zoom-in; }
#lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0, 47, 108, 0.92);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  padding: 4vh 4vw;
  cursor: zoom-out;
}
#lightbox.open { display: flex; }
#lightbox img {
  max-width: 100%;
  max-height: 100%;
  border-radius: 6px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
}
#lightbox-close {
  position: absolute;
  top: 14px;
  right: 22px;
  font-size: 2.2rem;
  color: #FEFBEA;
  cursor: pointer;
  font-family: 'Lato', sans-serif;
  line-height: 1;
}
/* ===== Real book cover photo (home hero) ===== */
.book-cover-photo {
  width: 300px;
  max-width: 80vw;
  height: auto;
  display: block;
  border-radius: 8px;
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.35);