/* Quiet Bird Books — shared styles */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --gold:   #E2B96F;
  --navy:   #0F4C81;
  --cream:  #F5EBD7;
  --warm:   #FBF7EF;
  --text:   #2E2A26;
  --muted:  #6B635A;
  --gold-dark: #C8A55A;
}

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

body {
  font-family: 'Nunito Sans', 'Segoe UI', sans-serif;
  background: var(--warm);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* ── Typography ── */
h1, h2, h3, .serif {
  font-family: 'Lora', Georgia, 'Times New Roman', serif;
  font-weight: 500;
  line-height: 1.15;
  color: var(--navy);
}

a { color: var(--navy); }

/* ── Nav ── */
nav {
  background: var(--cream);
  border-bottom: 1px solid #e8ddc8;
  position: sticky;
  top: 0;
  z-index: 100;
}

.nav-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 32px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-family: 'Lora', Georgia, serif;
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--navy);
}

.nav-brand img {
  width: 36px;
  height: 36px;
  object-fit: contain;
}

.nav-links {
  display: flex;
  gap: 32px;
  list-style: none;
}

.nav-links a {
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--muted);
  letter-spacing: 0.3px;
  transition: color 0.15s;
}

.nav-links a:hover, .nav-links a.active { color: var(--navy); }

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 999px;
  font-size: 0.94rem;
  font-weight: 700;
  text-decoration: none;
  transition: opacity 0.15s, transform 0.15s;
  cursor: pointer;
  border: none;
}

.btn:hover { opacity: 0.88; transform: translateY(-1px); }

.btn-navy {
  background: var(--navy);
  color: #fff;
  box-shadow: 0 4px 14px rgba(15,76,129,0.22);
}

.btn-outline {
  background: transparent;
  color: var(--navy);
  border: 2px solid var(--navy);
}

.btn-gold {
  background: var(--gold);
  color: var(--navy);
  box-shadow: 0 4px 14px rgba(226,185,111,0.35);
}

/* ── Sections ── */
.section { padding: 88px 32px; }
.section-sm { padding: 56px 32px; }
.container { max-width: 1100px; margin: 0 auto; }
.container-narrow { max-width: 720px; margin: 0 auto; }

/* ── Hero ── */
.hero {
  background: var(--cream);
  padding: 80px 32px 96px;
}

.hero-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 48px;
  align-items: center;
}

.hero-eyebrow {
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gold-dark);
  margin-bottom: 18px;
}

.hero h1 {
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  margin-bottom: 20px;
}

.hero-sub {
  font-family: 'Lora', Georgia, serif;
  font-style: italic;
  font-size: 1.25rem;
  color: var(--muted);
  margin-bottom: 36px;
  max-width: 36ch;
  line-height: 1.5;
}

.hero-motif {
  width: 100%;
}

.hero-motif img {
  width: 100%;
  height: auto;
  border-radius: 16px;
  display: block;
}

/* ── Mission block ── */
.mission {
  background: var(--warm);
  text-align: center;
  padding: 88px 32px;
}

.mission-label {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gold-dark);
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

.mission-label::before,
.mission-label::after {
  content: '';
  display: block;
  width: 48px;
  height: 1px;
  background: var(--gold);
}

.mission p {
  font-family: 'Lora', Georgia, serif;
  font-size: 1.25rem;
  line-height: 1.75;
  color: #3a342d;
  max-width: 600px;
  margin: 0 auto 20px;
}

.mission p:last-child {
  font-style: italic;
  color: var(--navy);
  margin-bottom: 0;
}

/* ── Book teaser ── */
.book-teaser {
  background: var(--cream);
  border-top: 1px solid #e2d5bf;
  border-bottom: 1px solid #e2d5bf;
}

.book-teaser-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 88px 32px;
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 64px;
  align-items: center;
}

.book-cover-wrap {
  position: relative;
}

.book-cover-wrap img {
  width: 100%;
  border-radius: 8px;
  box-shadow: 0 20px 48px rgba(46,42,38,0.18), 0 4px 12px rgba(46,42,38,0.1);
}

.book-eyebrow {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--gold-dark);
  margin-bottom: 14px;
}

.book-teaser h2 {
  font-size: 2.4rem;
  margin-bottom: 14px;
}

.book-teaser .subtitle {
  font-family: 'Lora', Georgia, serif;
  font-style: italic;
  font-size: 1.15rem;
  color: var(--muted);
  margin-bottom: 20px;
  line-height: 1.5;
}

.book-teaser .description {
  font-size: 0.95rem;
  color: var(--muted);
  margin-bottom: 32px;
  line-height: 1.7;
  max-width: 44ch;
}

.btn-row {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  align-items: center;
}

/* ── Closing line ── */
.closing {
  text-align: center;
  padding: 104px 32px;
  background: var(--warm);
}

.closing-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gold);
  margin: 0 auto 28px;
}

.closing p {
  font-family: 'Lora', Georgia, serif;
  font-style: italic;
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  color: var(--navy);
  line-height: 1.3;
  letter-spacing: -0.2px;
}

/* ── Footer ── */
footer {
  background: #ede5d4;
  border-top: 1px solid #ddd0b8;
}

.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 48px 32px;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px;
  flex-wrap: wrap;
}

.footer-brand {
  font-family: 'Lora', Georgia, serif;
  font-size: 1.05rem;
  font-weight: 500;
  color: var(--navy);
  display: flex;
  align-items: center;
  gap: 8px;
}

.footer-brand::before {
  content: '';
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--gold);
  display: inline-block;
}

.footer-right {
  font-size: 0.82rem;
  color: var(--muted);
  line-height: 1.8;
  text-align: right;
}

.footer-right a {
  color: var(--navy);
  font-weight: 600;
  text-decoration: none;
}

.footer-right a:hover { text-decoration: underline; }

/* ── Page-specific: The Book ── */
.book-page-hero {
  background: var(--cream);
  padding: 80px 32px;
}

.book-page-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 72px;
  align-items: start;
}

.book-page-cover img {
  width: 100%;
  border-radius: 8px;
  box-shadow: 0 24px 56px rgba(46,42,38,0.2), 0 4px 12px rgba(46,42,38,0.1);
}

.book-page-meta h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 10px;
}

.book-page-meta .by {
  font-size: 1rem;
  color: var(--muted);
  margin-bottom: 32px;
}

.blurb p {
  font-family: 'Lora', Georgia, serif;
  font-size: 1.08rem;
  line-height: 1.8;
  color: #3a342d;
  margin-bottom: 20px;
}

.blurb p:last-child { margin-bottom: 0; }

.details-strip {
  background: var(--warm);
  border-top: 1px solid #e8ddc8;
  border-bottom: 1px solid #e8ddc8;
  padding: 40px 32px;
}

.details-strip-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  gap: 48px;
  flex-wrap: wrap;
  justify-content: center;
}

.detail-item {
  text-align: center;
}

.detail-item .label {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gold-dark);
  margin-bottom: 6px;
}

.detail-item .value {
  font-family: 'Lora', Georgia, serif;
  font-size: 1.05rem;
  color: var(--navy);
}

.pull-quote {
  text-align: center;
  padding: 80px 32px;
  background: var(--warm);
}

.pull-quote p {
  font-family: 'Lora', Georgia, serif;
  font-style: italic;
  font-size: 1.6rem;
  color: var(--navy);
  max-width: 28ch;
  margin: 0 auto;
  line-height: 1.45;
}

/* ── About page ── */
.about-hero {
  background: var(--cream);
  padding: 80px 32px 72px;
  text-align: center;
}

.about-hero h1 { font-size: clamp(2rem, 4vw, 2.8rem); margin-bottom: 16px; }

.about-sections {
  max-width: 760px;
  margin: 0 auto;
  padding: 72px 32px;
}

.about-block { margin-bottom: 64px; }
.about-block:last-child { margin-bottom: 0; }

.about-block h2 {
  font-size: 1.5rem;
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--gold);
}

.about-block p {
  font-size: 1.05rem;
  line-height: 1.8;
  color: #3a342d;
  margin-bottom: 16px;
}

.about-block p:last-child { margin-bottom: 0; }

.mission-line {
  background: var(--navy);
  color: #fff;
  text-align: center;
  padding: 72px 32px;
}

.mission-line p {
  font-family: 'Lora', Georgia, serif;
  font-style: italic;
  font-size: clamp(1.4rem, 3vw, 2rem);
  line-height: 1.4;
  max-width: 32ch;
  margin: 0 auto;
  color: var(--gold);
}

/* ── Resources page ── */
.resources-intro {
  background: var(--cream);
  padding: 80px 32px 56px;
  text-align: center;
}

.resources-intro h1 { font-size: clamp(2rem, 4vw, 2.8rem); margin-bottom: 20px; }

.resources-intro p {
  font-size: 1.05rem;
  line-height: 1.75;
  color: var(--muted);
  max-width: 56ch;
  margin: 0 auto;
}

.resources-list {
  max-width: 800px;
  margin: 0 auto;
  padding: 64px 32px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.resource-card {
  background: var(--cream);
  border: 1px solid #e2d5bf;
  border-radius: 12px;
  padding: 28px 32px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.resource-card h3 {
  font-size: 1.1rem;
  color: var(--navy);
}

.resource-card p {
  font-size: 0.95rem;
  color: var(--muted);
  line-height: 1.65;
}

.resource-card a {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--gold-dark);
  text-decoration: none;
  align-self: flex-start;
  margin-top: 4px;
}

.resource-card a:hover { text-decoration: underline; }

.resources-closing {
  background: var(--warm);
  border-top: 1px solid #e8ddc8;
  padding: 64px 32px;
  text-align: center;
}

.resources-closing p {
  font-family: 'Lora', Georgia, serif;
  font-style: italic;
  font-size: 1.15rem;
  color: var(--navy);
  max-width: 48ch;
  margin: 0 auto;
  line-height: 1.7;
}

/* ── Responsive ── */
@media (max-width: 768px) {
  .hero-inner,
  .book-teaser-inner,
  .book-page-inner { grid-template-columns: 1fr; gap: 40px; }

  .hero-motif { max-width: 280px; margin: 0 auto; }
  .book-teaser-inner .book-cover-wrap { max-width: 220px; margin: 0 auto; }
  .book-page-cover { max-width: 240px; margin: 0 auto; }
  .footer-inner { flex-direction: column; align-items: flex-start; }
  .footer-right { text-align: left; }
  .details-strip-inner { gap: 28px; }
  .section { padding: 64px 20px; }
  .section-sm { padding: 40px 20px; }

  .nav-inner {
    padding: 12px 16px;
    height: auto;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .nav-brand { font-size: 0.95rem; }
  .nav-brand img { width: 26px; height: 26px; }

  .nav-links {
    flex-wrap: wrap;
    gap: 4px 14px;
    width: 100%;
  }

  .nav-links a { font-size: 0.8rem; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; }
}
