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

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

:root {
  --terracotta: #B8593A;
  --terracotta-dark: #9A4A2E;
  --cream: #FAF6F0;
  --cream-section: #F0E8DC;
  --brown: #3D2B1F;
  --brown-dark: #4A3020;
  --tan: #C9B8A8;
  --tan-light: #E8DDD0;
  --white: #FFFFFF;
}

body {
  font-family: 'Lato', sans-serif;
  font-weight: 400;
  color: var(--brown);
  background-color: var(--cream);
  margin: 0;
  padding: 0;
  line-height: 1.75;
}

h1, h2, h3, h4 {
  font-family: 'Playfair Display', serif;
  color: var(--brown-dark);
  line-height: 1.25;
  margin-top: 0;
}

h1 { font-size: 2.75rem; }
h2 { font-size: 1.85rem; margin-bottom: 1rem; }
h3 { font-size: 1.3rem; margin-bottom: 0.5rem; }

p { margin-top: 0; margin-bottom: 1.25rem; }
p:last-child { margin-bottom: 0; }

a { color: var(--terracotta); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--terracotta-dark); text-decoration: underline; }

/* ── NAVIGATION ── */
nav {
  background-color: var(--brown-dark);
  padding: 1rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.nav-brand {
  font-family: 'Playfair Display', serif;
  font-size: 1.05rem;
  color: var(--cream);
  text-decoration: none;
  letter-spacing: 0.02em;
}
.nav-brand:hover { color: var(--tan-light); text-decoration: none; }

nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 1.75rem;
  flex-wrap: wrap;
}

nav ul li a {
  color: var(--tan-light);
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 700;
}
nav ul li a:hover { color: var(--cream); text-decoration: none; }
nav ul li a.active { color: var(--cream); border-bottom: 1px solid var(--terracotta); padding-bottom: 2px; }

/* ── HERO ── */
.hero {
  background-color: var(--terracotta);
  padding: 5.5rem 2rem 5rem;
  text-align: center;
}

.hero h1 {
  color: var(--cream);
  font-size: 3.25rem;
  margin-bottom: 1rem;
}

.hero .tagline {
  color: var(--tan-light);
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-size: 1.25rem;
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.5;
}

.hero-sub {
  padding: 3.5rem 2rem 3rem;
}
.hero-sub h1 { font-size: 2.5rem; }
.hero-sub .tagline { font-size: 1.1rem; }

/* ── SECTIONS ── */
.section { padding: 4.5rem 2rem; }
.section-cream { background-color: var(--cream); }
.section-warm { background-color: var(--cream-section); }
.section-terra { background-color: var(--terracotta); }

.inner { max-width: 780px; margin: 0 auto; }
.inner-wide { max-width: 1060px; margin: 0 auto; }

/* ── STORY CARDS ── */
.story-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  margin-top: 2rem;
}

.story-card {
  background-color: var(--white);
  border-top: 3px solid var(--terracotta);
  padding: 1.5rem 1.5rem 1.35rem;
}

.story-card h3 {
  color: var(--terracotta);
  font-size: 1.05rem;
  margin-bottom: 0.6rem;
}

.story-card p {
  font-size: 0.95rem;
  color: var(--brown);
  line-height: 1.7;
  margin-bottom: 0;
}

/* ── BOOK FEATURE ── */
.book-feature { text-align: center; }

.book-feature h2 {
  color: var(--cream);
  font-size: 2rem;
  margin-bottom: 0.3rem;
}

.book-feature .book-sub {
  color: var(--tan-light);
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-size: 1rem;
  margin-bottom: 1.75rem;
}

.book-feature p {
  color: var(--tan-light);
  max-width: 620px;
  margin: 0 auto 2rem;
  line-height: 1.75;
}

/* ── BUTTON ── */
.btn {
  display: inline-block;
  padding: 0.8rem 2.25rem;
  font-family: 'Lato', sans-serif;
  font-weight: 700;
  font-size: 0.82rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border-radius: 1px;
  transition: background-color 0.2s, color 0.2s;
  text-decoration: none;
}

.btn-cream { background-color: var(--cream); color: var(--terracotta); }
.btn-cream:hover { background-color: var(--tan-light); color: var(--terracotta-dark); text-decoration: none; }

.btn-terra { background-color: var(--terracotta); color: var(--cream); }
.btn-terra:hover { background-color: var(--terracotta-dark); color: var(--cream); text-decoration: none; }

/* ── PULL QUOTE ── */
.pull-quote {
  border-left: 3px solid var(--terracotta);
  padding: 1rem 1.5rem;
  margin: 2.25rem 0;
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-size: 1.15rem;
  color: var(--brown-dark);
  background-color: var(--tan-light);
  line-height: 1.6;
}

/* ── ORNAMENT ── */
.ornament {
  text-align: center;
  color: var(--tan);
  font-size: 1rem;
  letter-spacing: 0.6em;
  margin: 3rem 0;
  user-select: none;
}

/* ── YOUR STORY PAGE ── */
.story-entry {
  padding: 3rem 0;
  border-top: 1px solid var(--tan);
}
.story-entry:first-of-type { border-top: none; padding-top: 0; }

.story-label {
  display: block;
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-size: 0.82rem;
  color: var(--terracotta);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 0.4rem;
}

.story-entry h2 { font-size: 1.65rem; margin-bottom: 1.25rem; }

/* ── JOHN NADLER PAGE ── */
.jn-hero-text { color: var(--tan-light); font-style: italic; margin-top: 0.75rem; }

/* ── FOOTER ── */
footer {
  background-color: var(--brown-dark);
  padding: 2rem;
  text-align: center;
}

footer p { color: var(--tan); font-size: 0.85rem; margin-bottom: 0.4rem; }
footer p:last-child { margin-bottom: 0; }
footer a { color: var(--tan-light); }
footer a:hover { color: var(--cream); text-decoration: none; }

/* ── RESPONSIVE ── */
@media (max-width: 768px) {
  .hero h1 { font-size: 2.35rem; }
  .hero-sub h1 { font-size: 2rem; }
  h2 { font-size: 1.5rem; }
  nav { padding: 0.875rem 1.25rem; }
  .section { padding: 3rem 1.25rem; }
}

@media (max-width: 600px) {
  .story-grid { grid-template-columns: 1fr; }
  .hero h1 { font-size: 2rem; }
  .hero { padding: 3.5rem 1.25rem 3rem; }
}
