/* ==========================================================================
   Miss Pennywick — Children's Book Hub
   Palette: deep teal, antique gold foil, ivory/cream, warm ink
   ========================================================================== */

:root {
  /* Teal (matched to the logo's emerald green) */
  --teal-950: #0f2e2d;
  --teal-900: #143d3c;
  --teal-800: #194b4a;
  --teal-700: #1e5e5b;
  --teal-600: #267472;
  --teal-500: #2e8e8b;

  /* Gold (antique foil) */
  --gold-800: #7d5c1f;
  --gold-700: #9c7526;
  --gold-600: #b8902f;
  --gold-500: #cca63e;
  --gold-400: #ddbe63;
  --gold-300: #e9d18e;
  --gold-100: #f6e9c8;

  /* Cream / ivory (book page) */
  --cream-50: #fdfbf5;
  --cream-100: #faf5e8;
  --cream-200: #f3ead2;
  --ivory: #fffdf7;

  /* Pale sage (page ground) — warmed toward khaki/ivory, not mint */
  --sage-25: #f9f6ec;
  --sage-50: #f2efdf;
  --sage-100: #e9e3ce;
  --sage-banner: #ede3c4;
  --sage-leaf: #7e9463;

  --ink: #2a271f;
  --ink-soft: #5c5646;
  --ink-faint: #837c68;

  --border-soft: rgba(120, 95, 45, 0.16);
  --shadow-color: 40, 32, 20;

  --font-display: 'Playfair Display', 'Georgia', serif;
  --font-body: 'EB Garamond', 'Georgia', serif;
  --font-sans: 'Cormorant Garamond', 'Georgia', serif;

  --max-width: 1180px;
  --radius-lg: 22px;
  --radius-md: 14px;
  --radius-sm: 8px;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 19px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--sage-50);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

a { color: inherit; text-decoration: none; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--teal-900);
  margin: 0;
  letter-spacing: 0.2px;
}

p { margin: 0; }

ul { margin: 0; padding: 0; list-style: none; }

/* ---------- Texture / background ---------- */

.paper-texture {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.5;
  background-image:
    radial-gradient(circle at 20% 15%, rgba(204, 166, 62, 0.1), transparent 45%),
    radial-gradient(circle at 85% 75%, rgba(184, 144, 47, 0.06), transparent 50%);
}

.noise-overlay {
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  opacity: 0.035;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ---------- Vines watermark (illustrated asset, behind everything) ---------- */

.vines-bg {
  position: absolute;
  top: -60px;
  right: -60px;
  width: min(68vw, 920px);
  aspect-ratio: 1536 / 1024;
  z-index: 0;
  pointer-events: none;
  opacity: 0.75;
  filter: sepia(0.4) saturate(1.15) hue-rotate(-8deg);
  background-image: url("../assets/vines-watermark.png");
  background-repeat: no-repeat;
  background-position: top right;
  background-size: contain;
}

.vines-values {
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 100%;
  background-position: center;
  opacity: 0.45;
  filter: none;
}

.vines-banner {
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 100%;
  opacity: 0.65;
  background-position: center;
  background-size: cover;
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-sans);
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: 0.3px;
  padding: 14px 32px;
  border-radius: 999px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease, color 0.25s ease;
}

.btn:disabled {
  opacity: 0.55;
  cursor: not-allowed;
  transform: none !important;
}

.btn-primary {
  background: linear-gradient(135deg, var(--gold-500), var(--gold-700));
  color: var(--teal-950);
  box-shadow: 0 10px 24px -10px rgba(184, 144, 47, 0.65);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 30px -10px rgba(184, 144, 47, 0.75);
}

.btn-ghost {
  background: transparent;
  border-color: var(--teal-800);
  color: var(--teal-800);
}

.btn-ghost:hover {
  background: var(--teal-800);
  color: var(--cream-50);
  transform: translateY(-2px);
}

.btn-lg { padding: 16px 40px; font-size: 1.1rem; }

/* ---------- Eyebrow / section header ---------- */

.eyebrow {
  display: inline-block;
  font-family: var(--font-sans);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gold-700);
  margin-bottom: 14px;
}

.section-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 56px;
}

.section-header h2 {
  font-size: clamp(1.9rem, 3.2vw, 2.6rem);
  margin-bottom: 16px;
}

.section-header p {
  font-size: 1.15rem;
  color: var(--ink-soft);
  font-style: italic;
}

.section {
  position: relative;
  z-index: 2;
  padding: 110px 24px;
}

/* Keeps nav-link anchor jumps from landing under the sticky header,
   which is tall enough (~300px desktop, ~250px mobile) to otherwise
   bury each section's heading. */
#collection, #about, #reviews, #reading-club, #values {
  scroll-margin-top: 320px;
}

#collection { padding-bottom: 70px; }
#gift { padding-top: 56px; padding-bottom: 56px; }
#gift .section-header { margin-bottom: 0; }
#about { padding-top: 24px; padding-bottom: 24px; }
#reviews { padding-top: 60px; padding-bottom: 60px; }
#reviews .section-header { margin-bottom: 32px; }
#reviews .testimonial-card { padding: 22px 24px; }

.section-inner {
  max-width: var(--max-width);
  margin: 0 auto;
}

/* ---------- Reveal on scroll ---------- */

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ==========================================================================
   LOGO BANNER (full-width lockup)
   ========================================================================== */

.logo-banner {
  position: sticky;
  top: 0;
  z-index: 100;
  overflow: hidden;
  background: rgba(237, 227, 196, 0.85);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border-soft);
  padding: 14px 24px 8px;
  transition: background 0.35s ease, box-shadow 0.35s ease, padding 0.35s ease, border-color 0.35s ease;
}

.logo-banner.is-scrolled {
  background: rgba(242, 239, 223, 0.94);
  box-shadow: 0 4px 24px -8px rgba(120, 95, 45, 0.2);
  padding: 10px 24px;
}

.logo-banner-inner {
  position: relative;
  z-index: 1;
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.logo-banner-logo-link {
  display: flex;
  align-items: center;
  flex: none;
}

.banner-logo {
  width: 620px;
  max-width: 100%;
  height: auto;
}

/* ==========================================================================
   HEADER / NAV
   ========================================================================== */

.nav-links {
  display: grid;
  grid-template-columns: repeat(2, auto);
  column-gap: 20px;
  row-gap: 4px;
}

.nav-link {
  font-family: var(--font-sans);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--teal-900);
  text-align: center;
  padding: 8px 16px;
  border: 1.5px solid var(--teal-700);
  border-radius: 10px;
  box-shadow: inset 0 0 0 1px var(--gold-500);
  transition: background 0.25s ease, color 0.25s ease;
}

.nav-link:hover {
  background: var(--teal-700);
  color: var(--cream-50);
}

/* ==========================================================================
   HERO
   ========================================================================== */

.hero {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  padding: 90px 24px 60px;
  background:
    radial-gradient(ellipse at 20% 15%, rgba(204, 166, 62, 0.2), transparent 55%),
    radial-gradient(ellipse at 85% 75%, rgba(184, 144, 47, 0.12), transparent 50%),
    var(--sage-50);
  overflow: hidden;
}

.hero-inner {
  position: relative;
  z-index: 1;
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  align-items: center;
  gap: 64px;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-sans);
  font-weight: 600;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  font-size: 0.9rem;
  color: var(--gold-700);
  margin-bottom: 22px;
}

.hero-title {
  font-size: clamp(2.6rem, 5vw, 4rem);
  line-height: 1.12;
  margin-bottom: 24px;
}

.hero-title .accent {
  font-style: italic;
  color: var(--gold-600);
  background: linear-gradient(120deg, var(--gold-700), var(--gold-400) 50%, var(--gold-700));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-hook {
  display: inline-block;
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 1.02rem;
  color: var(--teal-800);
  background: var(--gold-100);
  padding: 7px 16px;
  border-radius: 999px;
  margin-bottom: 20px;
}

.hero-sub {
  font-size: 1.3rem;
  color: var(--ink-soft);
  max-width: 500px;
  margin-bottom: 10px;
  font-style: italic;
}

.hero-cta {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}

.hero-art {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  order: -1;
}

.hero-frame {
  position: relative;
  width: 100%;
  max-width: 420px;
  aspect-ratio: 1 / 1;
  border-radius: var(--radius-lg);
  background: linear-gradient(160deg, var(--gold-400), var(--gold-700));
  box-shadow: 0 40px 70px -30px rgba(125, 92, 31, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 3px;
}

.hero-frame::before {
  content: "";
  position: absolute;
  inset: 8px;
  border: 1.5px solid rgba(255, 253, 247, 0.6);
  border-radius: calc(var(--radius-lg) - 5px);
  pointer-events: none;
}

.hero-frame-inner {
  position: relative;
  width: 100%; height: 100%;
  border-radius: calc(var(--radius-lg) - 3px);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold-200, var(--gold-300));
  text-align: center;
  padding: 8px;
  overflow: hidden;
}

.hero-frame-inner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: calc(var(--radius-lg) - 6px);
}

.hero-frame-sub {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  white-space: nowrap;
  background: rgba(15, 46, 45, 0.92);
  padding: 6px 16px;
  border-radius: 999px;
  font-family: var(--font-sans);
  font-size: 0.78rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--cream-50);
}

.hero-badge {
  position: absolute;
  bottom: -22px;
  left: -22px;
  background: var(--ivory);
  border: 1px solid var(--border-soft);
  border-radius: 999px;
  padding: 14px 22px;
  box-shadow: 0 18px 30px -14px rgba(18, 74, 63, 0.3);
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-sans);
  font-weight: 600;
  color: var(--teal-900);
}

.hero-badge svg { width: 22px; height: 22px; flex: none; }

/* ==========================================================================
   ABOUT
   ========================================================================== */

.about-grid {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
}

.about-copy { flex: none; max-width: 600px; }

.about-grid-solo { justify-content: center; text-align: center; }
.about-grid-solo .about-copy p { margin-left: auto; margin-right: auto; }

.about-copy .eyebrow { margin-bottom: 10px; }

.about-copy h2 {
  font-size: clamp(1.9rem, 3vw, 2.5rem);
  margin-bottom: 14px;
}

.about-copy p {
  color: var(--ink-soft);
  margin-bottom: 12px;
  font-size: 1.15rem;
}

.about-copy p:last-of-type { margin-bottom: 16px; }

.about-signature {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.6rem;
  color: var(--teal-800);
}

/* ==========================================================================
   COLLECTION (BOOKS)
   ========================================================================== */

.books-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(260px, 400px));
  justify-content: center;
  max-width: 860px;
  margin: 0 auto;
  gap: 36px;
}

.book-card {
  background: var(--ivory);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-md);
  padding: 28px 24px 30px;
  text-align: center;
  display: flex;
  flex-direction: column;
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.book-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 26px 44px -22px rgba(18, 74, 63, 0.32);
}

.book-cover {
  aspect-ratio: 1 / 1;
  border-radius: var(--radius-sm);
  background: linear-gradient(155deg, var(--teal-700), var(--teal-950));
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 22px;
  position: relative;
  overflow: hidden;
}

.book-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.book-cover::after {
  content: "";
  position: absolute;
  inset: 10px;
  border: 1px solid rgba(221, 190, 99, 0.4);
  border-radius: 6px;
}

.book-cover svg { width: 56px; height: 56px; opacity: 0.85; }

.book-status {
  font-family: var(--font-sans);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--teal-700);
  margin-bottom: 8px;
  display: block;
}

.book-status--soon {
  font-weight: 600;
  font-style: italic;
  letter-spacing: 1px;
  color: var(--ink-faint);
}

.book-card h3 {
  font-size: 1.35rem;
  margin-bottom: 8px;
  min-height: 3.3em;
  display: flex;
  align-items: center;
  justify-content: center;
}

.book-blurb {
  color: var(--ink-faint);
  font-size: 1.02rem;
  font-style: italic;
  margin-bottom: 14px;
}

.book-fact {
  font-family: var(--font-sans);
  font-size: 0.92rem;
  color: var(--teal-700);
  background: var(--sage-50);
  border-radius: var(--radius-sm);
  padding: 8px 12px;
  margin-bottom: 18px;
}

.book-fact strong {
  color: var(--teal-900);
}

.book-meta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 6px;
}

.book-format {
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: var(--teal-950);
  background: var(--gold-400);
  padding: 3px 10px;
  border-radius: 6px;
}

.book-price {
  font-family: var(--font-sans);
  font-size: 0.95rem;
}

.book-price-sale {
  font-weight: 700;
  color: var(--teal-800);
}

.book-price-list {
  color: var(--ink-faint);
  text-decoration: line-through;
  margin-left: 4px;
  font-size: 0.85rem;
}

.book-pages {
  font-size: 0.78rem;
  color: var(--ink-faint);
  font-style: italic;
  margin: 0 0 4px;
}

.book-price-note {
  font-size: 0.75rem;
  color: var(--ink-faint);
  margin-bottom: 14px;
}

.book-actions {
  display: flex;
  gap: 10px;
  margin-top: auto;
}

.book-actions .btn {
  flex: 1;
  padding-left: 18px;
  padding-right: 18px;
  font-size: 0.95rem;
}

.peek-inside-trigger {
  cursor: pointer;
}

.collection-proof {
  text-align: center;
  margin-top: 40px;
  color: var(--teal-800);
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.1rem;
}

.collection-note {
  text-align: center;
  margin-top: 16px;
  color: var(--ink-faint);
  font-style: italic;
  font-size: 1.05rem;
}

/* ---------- Placeholder copy marker (used in code comments for future content swaps) ---------- */

.filler-text {
  color: var(--gold-700);
  font-style: italic;
  border-bottom: 1px dashed var(--gold-500);
}

/* ==========================================================================
   PEEK INSIDE MODAL
   ========================================================================== */

.peek-modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.peek-modal.is-open {
  display: flex;
}

.peek-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 46, 45, 0.72);
}

.peek-modal-dialog {
  position: relative;
  z-index: 1;
  background: var(--cream-50);
  border-radius: var(--radius-lg);
  padding: 32px;
  max-width: 900px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 40px 80px -30px rgba(15, 46, 45, 0.5);
}

.peek-modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid var(--border-soft);
  background: var(--ivory);
  color: var(--teal-900);
  font-size: 1.4rem;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.peek-modal-close:hover {
  background: var(--teal-800);
  color: var(--cream-50);
}

.peek-modal-title {
  font-size: 1.3rem;
  margin-bottom: 20px;
  padding-right: 40px;
}

.peek-modal-spread {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 20px;
}

.peek-modal-img {
  width: 100%;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-soft);
  box-shadow: 0 14px 30px -18px rgba(18, 74, 63, 0.4);
}

.peek-modal-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
}

.peek-modal-arrow {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--teal-700);
  background: transparent;
  color: var(--teal-800);
  font-size: 1.1rem;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
}

.peek-modal-arrow:hover:not(:disabled) {
  background: var(--teal-700);
  color: var(--cream-50);
}

.peek-modal-arrow:disabled {
  opacity: 0.3;
  cursor: not-allowed;
}

.peek-modal-counter {
  font-family: var(--font-sans);
  font-weight: 600;
  color: var(--ink-soft);
  min-width: 110px;
  text-align: center;
}

@media (max-width: 640px) {
  .peek-modal-dialog { padding: 24px 18px; }
  .peek-modal-spread { grid-template-columns: 1fr; }
}

/* ==========================================================================
   VALUES
   ========================================================================== */

.section-teal {
  background: linear-gradient(180deg, var(--teal-950), var(--teal-900) 60%, var(--teal-950));
  color: var(--cream-100);
}

.section-teal .eyebrow { color: var(--gold-400); }
.section-teal h2 { color: var(--cream-50); }
.section-teal .section-header p { color: rgba(250, 245, 232, 0.75); }

.values-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  max-width: 640px;
  margin: 0 auto;
}

.value-card {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 20px 14px;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.05);
  border: 1.5px solid var(--gold-500);
}

.value-icon {
  width: 46px; height: 46px;
  margin: 0 auto 12px;
  border-radius: 50%;
  background: rgba(221, 190, 99, 0.12);
  border: 1px solid rgba(221, 190, 99, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
}

.value-icon svg { width: 20px; height: 20px; }

.value-card h3 {
  color: var(--cream-50);
  font-size: 1.05rem;
  margin-bottom: 6px;
}

.value-card p {
  color: rgba(250, 245, 232, 0.72);
  font-size: 0.88rem;
  line-height: 1.5;
}

/* ==========================================================================
   TESTIMONIALS
   ========================================================================== */

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 360px));
  justify-content: center;
  gap: 30px;
}

.testimonial-card {
  background: var(--ivory);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-md);
  padding: 34px 30px;
  position: relative;
}

.testimonial-quote-mark {
  font-family: var(--font-display);
  font-size: 3.4rem;
  color: var(--gold-400);
  line-height: 0.5;
  display: block;
  margin-bottom: 14px;
}

.testimonial-quote {
  font-style: italic;
  color: var(--ink-soft);
  font-size: 1.1rem;
  margin-bottom: 22px;
}

.testimonial-author {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.testimonial-name {
  font-family: var(--font-sans);
  font-weight: 700;
  color: var(--teal-900);
}

.testimonial-role {
  font-family: var(--font-sans);
  font-size: 0.9rem;
  color: var(--ink-faint);
}

/* ==========================================================================
   READING CLUB (NEWSLETTER)
   ========================================================================== */

.club-box {
  background: var(--ivory);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-md);
  padding: 40px 56px;
  text-align: center;
  max-width: 1040px;
  margin: 0 auto;
  box-shadow: 0 40px 70px -40px rgba(18, 74, 63, 0.35);
  position: relative;
}

.club-box::before {
  content: "";
  position: absolute;
  inset: 12px;
  border: 1px solid rgba(204, 166, 62, 0.35);
  border-radius: calc(var(--radius-lg) - 6px);
  pointer-events: none;
}

.club-box h2 { font-size: clamp(1.8rem, 3vw, 2.3rem); margin-bottom: 10px; }

.club-sub {
  color: var(--ink-soft);
  font-style: italic;
  font-size: 1.15rem;
  max-width: 560px;
  margin: 0 auto 24px;
}

.club-fineprint {
  margin-top: 22px;
  font-size: 0.9rem;
  color: var(--ink-faint);
}

/* ==========================================================================
   FOOTER
   ========================================================================== */

.site-footer {
  position: relative;
  z-index: 2;
  background: var(--teal-950);
  color: rgba(250, 245, 232, 0.65);
  padding: 32px 24px 20px;
}

.footer-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  padding-bottom: 18px;
  border-bottom: 1px solid rgba(221, 190, 99, 0.18);
  margin-bottom: 16px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.footer-mark { width: 38px; height: 38px; flex: none; }

.footer-brand-word {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.25rem;
  color: var(--cream-50);
}

.footer-links {
  display: flex;
  gap: 28px;
  flex-wrap: wrap;
}

.footer-links a {
  font-family: var(--font-sans);
  font-size: 1rem;
  color: rgba(250, 245, 232, 0.75);
}

.footer-links a:hover { color: var(--gold-400); }

.footer-bottom {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  font-size: 0.9rem;
}

.footer-bottom a {
  color: inherit;
}

.footer-bottom a:hover {
  color: var(--gold-400);
}

.footer-social {
  display: flex;
  gap: 14px;
  align-items: center;
}

.footer-social a {
  color: rgba(250, 245, 232, 0.75);
  display: inline-flex;
}

.footer-social a:hover {
  color: var(--gold-400);
}

.footer-social svg {
  width: 20px;
  height: 20px;
}

.footer-disclaimer {
  max-width: var(--max-width);
  margin: 16px auto 0;
  padding-top: 16px;
  border-top: 1px solid rgba(221, 190, 99, 0.12);
  font-size: 0.8rem;
  font-style: italic;
  line-height: 1.6;
  color: rgba(250, 245, 232, 0.5);
  text-align: center;
}

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */

@media (max-width: 980px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-frame { max-width: 320px; }
  .about-grid { flex-direction: column; gap: 32px; }
  .about-copy { text-align: center; }
  .about-copy p { margin-left: auto; margin-right: auto; }
  .testimonials-grid { grid-template-columns: 1fr; }
  .books-grid { grid-template-columns: minmax(260px, 400px); }
}

@media (max-width: 720px) {
  body { font-size: 17.5px; }
  .section { padding: 80px 20px; }
  #collection, #about, #reviews, #reading-club, #values { scroll-margin-top: 270px; }
  .logo-banner { padding: 10px 16px; }
  .logo-banner-inner { flex-wrap: wrap; justify-content: center; gap: 10px; }
  .banner-logo { width: 260px; }
  .hero { min-height: auto; padding: 64px 20px 56px; }
  .nav-links { justify-content: center; gap: 18px; }
  .nav-link { font-size: 0.95rem; }
  .club-box { padding: 32px 24px; }
  .hero-art { flex-direction: column; }
  .hero-badge { position: static; margin-top: 20px; }
  .hero-frame { margin-bottom: 10px; }
  .footer-inner { flex-direction: column; align-items: flex-start; }
  .footer-bottom { flex-direction: column; }
}
