/* ============================================================
   PK Publishing — shared stylesheet (multi-page)
   Loaded by every page. Per-page accent set via a body class:
     .theme-indigo  → AI Prompt Playbooks
     .theme-teal    → The Fix-It Playbook
   ============================================================ */

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

:root {
  --ink:        #1C1F2E;
  --ink-soft:   #3D4158;
  --ink-muted:  #6B7080;
  --burgundy:   #8B2635;
  --burgundy-light: #A83040;
  --burgundy-dim:   #6A1D29;
  --parchment:  #FAF6EF;
  --parchment-dim: #F2EBE0;
  --parchment-deep: #E5D9C8;
  --white:      #FFFFFF;
  --gold:       #C9952E;
  --sage:       #2D6A4F;
  --navy:       #1B2A4A;
  --navy-soft:  #243558;
  --indigo:     #4A45A0;
  --indigo-light: #5D58BC;
  --indigo-dim:   #38347C;
  --steel:      #20748A;
  --steel-light: #2A8BA5;
  --steel-dim:   #185C6E;

  /* Default page accent (overridden per playbook page) */
  --accent:      var(--burgundy);
  --accent-light: var(--burgundy-light);
  --accent-dim:   var(--burgundy-dim);
}

/* Per-page accent themes */
.theme-indigo {
  --accent: var(--indigo);
  --accent-light: var(--indigo-light);
  --accent-dim: var(--indigo-dim);
}
.theme-teal {
  --accent: var(--steel);
  --accent-light: var(--steel-light);
  --accent-dim: var(--steel-dim);
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Source Serif 4', serif;
  background: var(--parchment);
  color: var(--ink);
  overflow-x: hidden;
}

/* ── AGE GATE ── */
.age-gate {
  position: fixed; inset: 0;
  background: rgba(28, 31, 46, 0.97);
  z-index: 1000;
  display: none;
  align-items: center; justify-content: center;
  padding: 24px;
}
.age-gate.visible { display: flex; }
.age-gate-box {
  background: var(--parchment);
  border-radius: 12px;
  padding: 40px 36px;
  max-width: 420px; width: 100%;
  text-align: center;
}
.age-gate-icon { font-size: 32px; margin-bottom: 16px; }
.age-gate-title {
  font-family: 'Playfair Display', serif;
  font-size: 24px; font-weight: 700;
  color: var(--ink); margin-bottom: 10px;
}
.age-gate-text {
  font-size: 14px; color: var(--ink-soft);
  line-height: 1.65; margin-bottom: 24px;
}
.age-gate-btns { display: flex; flex-direction: column; gap: 10px; }
.btn-age-confirm {
  padding: 13px; background: var(--burgundy);
  color: var(--white); border: none; border-radius: 7px;
  font-size: 14px; font-weight: 600;
  font-family: 'Inter', sans-serif; cursor: pointer;
  transition: background 0.2s;
}
.btn-age-confirm:hover { background: var(--burgundy-light); }
.btn-age-deny {
  padding: 11px; background: transparent;
  color: var(--ink-muted);
  border: 1px solid var(--parchment-deep);
  border-radius: 7px; font-size: 13px;
  font-family: 'Inter', sans-serif; cursor: pointer;
  transition: all 0.2s;
}
.btn-age-deny:hover { background: var(--parchment-dim); }

/* ── HEADER ── */
.header {
  background: var(--navy);
  padding: 0 32px;
  display: flex; align-items: center; justify-content: space-between;
  height: 64px;
  position: sticky; top: 0; z-index: 100;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.header-brand {
  font-family: 'Playfair Display', serif;
  font-size: 20px; font-weight: 700;
  color: var(--white); letter-spacing: 0.02em;
  text-decoration: none;
}
.header-brand span { color: var(--burgundy-light); }
.header-nav { display: flex; gap: 28px; list-style: none; align-items: center; }
.header-nav a {
  font-family: 'Inter', sans-serif;
  font-size: 13px; font-weight: 500;
  color: rgba(255,255,255,0.7);
  text-decoration: none; letter-spacing: 0.04em;
  transition: color 0.2s;
}
.header-nav a:hover { color: var(--white); }
.header-nav a.active { color: var(--white); }

/* ── HERO ── */
.hero {
  background: var(--parchment);
  min-height: 88vh;
  display: flex; align-items: center; justify-content: center;
  text-align: center;
  padding: 80px 24px 60px;
  position: relative; overflow: hidden;
}
.hero::before {
  content: ''; position: absolute; inset: 0;
  background:
    radial-gradient(ellipse at 30% 50%, rgba(45,106,79,0.06) 0%, transparent 60%),
    radial-gradient(ellipse at 70% 50%, rgba(201,149,46,0.06) 0%, transparent 60%);
}
.hero-book {
  position: absolute; bottom: 0; left: 50%;
  transform: translateX(-50%);
  width: 600px; opacity: 0.04; pointer-events: none;
}
.hero-content { position: relative; z-index: 1; max-width: 760px; }
.hero-eyebrow {
  font-family: 'Inter', sans-serif;
  font-size: 11px; font-weight: 600;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--sage); margin-bottom: 20px;
  display: flex; align-items: center; justify-content: center; gap: 12px;
}
.hero-eyebrow::before, .hero-eyebrow::after {
  content: ''; display: block; width: 32px; height: 1px;
  background: var(--sage); opacity: 0.5;
}
.hero-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(44px, 8vw, 78px);
  font-weight: 700; color: var(--navy);
  line-height: 1.02; margin-bottom: 22px; letter-spacing: -0.02em;
}
.hero-title em { font-style: italic; color: var(--burgundy-light); }
.hero-sub {
  font-size: clamp(15px, 2vw, 18px);
  color: var(--ink-soft); line-height: 1.7;
  max-width: 540px; margin: 0 auto 40px; font-weight: 300;
}
.hero-ctas { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* Compact page hero (section pages) */
.page-hero {
  min-height: auto;
  padding: 64px 24px 40px;
}

.btn-primary {
  padding: 13px 28px; background: var(--accent);
  color: var(--white); border: none; border-radius: 7px;
  font-size: 14px; font-weight: 600;
  font-family: 'Inter', sans-serif; cursor: pointer;
  text-decoration: none; display: inline-block;
  transition: background 0.2s, transform 0.15s;
}
.btn-primary:hover { background: var(--accent-light); transform: translateY(-1px); }
.btn-outline {
  padding: 13px 28px; background: transparent;
  color: var(--navy); border: 1px solid rgba(27,42,74,0.25);
  border-radius: 7px; font-size: 14px; font-weight: 500;
  font-family: 'Inter', sans-serif; cursor: pointer;
  text-decoration: none; display: inline-block; transition: all 0.2s;
}
.btn-outline:hover { border-color: var(--navy); color: var(--navy); background: rgba(27,42,74,0.05); }

/* ── IMPRINT STRIP ── */
.imprint-strip {
  background: var(--parchment-dim);
  border-top: 1px solid var(--parchment-deep);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  padding: 16px 32px;
  display: flex; justify-content: center; gap: 48px; flex-wrap: wrap;
}
.imprint-item {
  display: flex; align-items: center; gap: 8px;
  font-family: 'Inter', sans-serif; font-size: 12px;
  color: var(--ink-muted); letter-spacing: 0.06em;
}
.imprint-dot { width: 7px; height: 7px; border-radius: 50%; flex-shrink: 0; }
.dot-youth { background: var(--sage); }
.dot-nonfiction { background: var(--gold); }
.dot-adult { background: var(--burgundy-light); }
.dot-guides { background: var(--indigo); }
.dot-fixit { background: var(--steel); }

/* ── SECTIONS ── */
section { padding: 80px 24px; }
.section-inner { max-width: 1000px; margin: 0 auto; }
.section-header { margin-bottom: 48px; }
.section-eyebrow {
  font-family: 'Inter', sans-serif;
  font-size: 10px; font-weight: 600;
  letter-spacing: 0.18em; text-transform: uppercase; margin-bottom: 10px;
}
.eyebrow-youth { color: var(--sage); }
.eyebrow-nonfiction { color: var(--gold); }
.eyebrow-adult { color: var(--burgundy-light); }
.eyebrow-guides { color: var(--indigo); }
.eyebrow-fixit { color: var(--steel); }
.eyebrow-pub { color: var(--ink-muted); }

.section-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 700; line-height: 1.15; margin-bottom: 12px;
}
.section-sub {
  font-size: 15px; color: var(--ink-soft);
  line-height: 1.7; max-width: 560px; font-weight: 300;
}

/* ── BOOK GRID ── */
.book-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 24px;
}
.book-card {
  background: var(--white); border-radius: 10px; overflow: hidden;
  box-shadow: 0 2px 16px rgba(28,31,46,0.07);
  transition: transform 0.2s, box-shadow 0.2s;
}
.book-card:hover { transform: translateY(-3px); box-shadow: 0 8px 32px rgba(28,31,46,0.12); }
.book-cover {
  height: 280px; display: flex; align-items: center; justify-content: center;
  font-size: 48px; position: relative; overflow: hidden;
}
.cover-youth { background: linear-gradient(135deg, #2D5A4E 0%, #4A7C6F 100%); }
.cover-nonfiction { background: linear-gradient(135deg, #8B6914 0%, #C9952E 100%); }
.cover-adult { background: linear-gradient(135deg, #3D0A11 0%, #8B2635 100%); }
.cover-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; z-index: 1; }
.book-num {
  position: absolute; top: 10px; right: 10px; z-index: 4;
  background: rgba(28,31,46,0.55); border-radius: 20px; padding: 3px 10px;
  font-family: 'Inter', sans-serif; font-size: 10px; font-weight: 600;
  color: rgba(255,255,255,0.9); letter-spacing: 0.06em;
}
.book-spine { position: absolute; left: 0; top: 0; bottom: 0; width: 6px; z-index: 0; background: rgba(255,255,255,0.15); }
.book-info { padding: 16px; }
.book-series {
  font-family: 'Inter', sans-serif; font-size: 10px; font-weight: 600;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--ink-muted); margin-bottom: 5px;
}
.book-title {
  font-family: 'Playfair Display', serif; font-size: 16px; font-weight: 700;
  color: var(--ink); margin-bottom: 10px; line-height: 1.25;
}
.btn-amazon {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 8px 14px; background: var(--ink); color: var(--white);
  border-radius: 6px; font-family: 'Inter', sans-serif;
  font-size: 12px; font-weight: 600; text-decoration: none;
  transition: background 0.2s; width: 100%; justify-content: center;
}
.btn-amazon:hover { background: var(--ink-soft); }
.btn-amazon-youth { background: var(--sage); }
.btn-amazon-youth:hover { background: #3D6B5E; }
.btn-amazon-adult { background: var(--burgundy); }
.btn-amazon-adult:hover { background: var(--burgundy-light); }
.btn-amazon-nonfiction { background: var(--gold); color: var(--ink); }
.btn-amazon-nonfiction:hover { background: #B8841F; }

.read-free {
  display: block; text-align: center; margin-top: 9px;
  font-family: 'Inter', sans-serif; font-size: 12px; font-weight: 600; text-decoration: none;
}
.read-free:hover { text-decoration: underline; }
.read-free-youth { color: var(--sage); }
.read-free-adult { color: var(--burgundy-light); }

/* ── COMING SOON CARD ── */
.book-card-coming {
  background: var(--parchment-dim); border: 2px dashed var(--parchment-deep);
  border-radius: 10px; padding: 24px 16px;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; min-height: 280px;
}
.coming-icon { font-size: 28px; margin-bottom: 10px; opacity: 0.4; }
.coming-label {
  font-family: 'Inter', sans-serif; font-size: 10px; font-weight: 600;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--ink-muted); margin-bottom: 6px;
}
.coming-title {
  font-family: 'Playfair Display', serif; font-size: 15px; font-weight: 600;
  color: var(--ink-soft); line-height: 1.3;
}

/* ── DIVIDER ── */
.divider { border: none; height: 1px; background: var(--parchment-deep); max-width: 1000px; margin: 0 auto; }

/* ── DARK SECTIONS ── */
.section-dark { background: var(--ink); }
.section-dark .section-title { color: var(--white); }
.section-dark .section-sub { color: rgba(255,255,255,0.55); }
.section-dark .book-card { background: var(--ink-soft); }
.section-dark .book-series { color: rgba(255,255,255,0.4); }
.section-dark .book-title { color: var(--white); }

/* ── ADULT GATE TRIGGER ── */
.adult-gate-trigger {
  background: var(--ink); border: 1px solid rgba(139,38,53,0.3);
  border-radius: 12px; padding: 48px 32px; text-align: center;
  cursor: pointer; transition: border-color 0.2s; max-width: 560px; margin: 0 auto;
}
.adult-gate-trigger:hover { border-color: rgba(139,38,53,0.6); }
.gate-icon { font-size: 28px; margin-bottom: 12px; }
.gate-title { font-family: 'Playfair Display', serif; font-size: 20px; color: var(--white); margin-bottom: 8px; }
.gate-text { font-size: 13px; color: rgba(255,255,255,0.5); line-height: 1.6; margin-bottom: 18px; }
.btn-gate {
  display: inline-block; padding: 11px 24px; background: var(--burgundy);
  color: var(--white); border: none; border-radius: 6px;
  font-size: 13px; font-weight: 600; font-family: 'Inter', sans-serif;
  cursor: pointer; transition: background 0.2s;
}
.btn-gate:hover { background: var(--burgundy-light); }
.adult-content { display: none; }
.adult-content.unlocked { display: block; }

/* ── NONFICTION SECTION ── */
.section-nonfiction { background: var(--parchment-dim); }

/* ── CREDENTIALS ── */
.credentials-box {
  background: var(--white); border-radius: 12px; padding: 32px;
  border-left: 4px solid var(--gold); margin-top: 32px;
  display: grid; grid-template-columns: 1fr 1fr; gap: 20px;
}
.credential-item { display: flex; gap: 12px; align-items: flex-start; }
.credential-icon { font-size: 20px; flex-shrink: 0; margin-top: 2px; }
.credential-label {
  font-family: 'Inter', sans-serif; font-size: 10px; font-weight: 600;
  letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-muted); margin-bottom: 3px;
}
.credential-value { font-size: 14px; color: var(--ink); font-weight: 400; line-height: 1.4; }

/* ── AUTHOR BIO ── */
.bio-section { background: var(--navy); }
.bio-card { background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.08); border-radius: 12px; padding: 36px; }
.bio-name { font-family: 'Playfair Display', serif; font-size: 28px; font-weight: 700; color: var(--white); margin-bottom: 6px; }
.bio-pen { font-family: 'Inter', sans-serif; font-size: 12px; color: var(--burgundy-light); letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 18px; }
.bio-text { font-size: 15px; color: rgba(255,255,255,0.65); line-height: 1.8; font-weight: 300; margin-bottom: 24px; }
.bio-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.bio-tag {
  background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.1);
  border-radius: 20px; padding: 5px 14px;
  font-family: 'Inter', sans-serif; font-size: 12px; color: rgba(255,255,255,0.6);
}

/* ── LEAD CAPTURE ── */
.capture-section { background: var(--parchment-dim); }
.capture-card {
  background: var(--navy); border-radius: 14px; padding: 48px 40px;
  text-align: center; max-width: 600px; margin: 0 auto;
}
.capture-eyebrow {
  font-family: 'Inter', sans-serif; font-size: 10px; font-weight: 600;
  letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--accent-light); margin-bottom: 14px;
}
.capture-title { font-family: 'Playfair Display', serif; font-size: 28px; font-weight: 700; color: var(--white); margin-bottom: 10px; line-height: 1.2; }
.capture-sub { font-size: 14px; color: rgba(255,255,255,0.55); line-height: 1.65; margin-bottom: 28px; font-weight: 300; }
.capture-form { display: flex; flex-direction: column; gap: 10px; max-width: 360px; margin: 0 auto; }
.capture-form input {
  width: 100%; padding: 13px 16px;
  background: rgba(255,255,255,0.07);
  border: 1.5px solid rgba(255,255,255,0.12);
  border-radius: 7px; font-size: 14px;
  font-family: 'Source Serif 4', serif; color: var(--white);
  transition: border-color 0.2s;
}
.capture-form input::placeholder { color: rgba(255,255,255,0.3); }
.capture-form input:focus { outline: none; border-color: var(--accent-light); }
.btn-capture {
  width: 100%; padding: 14px; background: var(--accent);
  color: var(--white); border: none; border-radius: 7px;
  font-size: 14px; font-weight: 600; font-family: 'Inter', sans-serif;
  cursor: pointer; transition: background 0.2s;
}
.btn-capture:hover { background: var(--accent-light); }
.capture-privacy { font-family: 'Inter', sans-serif; font-size: 11px; color: rgba(255,255,255,0.28); text-align: center; }
.capture-success { display: none; text-align: center; padding: 20px; }
.capture-success.visible { display: block; }
.capture-success-icon { font-size: 28px; margin-bottom: 10px; }
.capture-success-title { font-family: 'Playfair Display', serif; font-size: 20px; color: var(--gold); margin-bottom: 6px; }
.capture-success-text { font-size: 13px; color: rgba(255,255,255,0.6); }

/* ── FOOTER ── */
footer { background: var(--navy); border-top: 1px solid rgba(255,255,255,0.06); padding: 32px 24px; text-align: center; }
.footer-brand { font-family: 'Playfair Display', serif; font-size: 18px; font-weight: 700; color: var(--white); margin-bottom: 10px; }
.footer-brand span { color: var(--burgundy-light); }
.footer-links { display: flex; justify-content: center; gap: 24px; margin-bottom: 14px; flex-wrap: wrap; }
.footer-links a { font-family: 'Inter', sans-serif; font-size: 12px; color: rgba(255,255,255,0.4); text-decoration: none; transition: color 0.2s; }
.footer-links a:hover { color: rgba(255,255,255,0.7); }
.footer-legal { font-family: 'Inter', sans-serif; font-size: 11px; color: rgba(255,255,255,0.25); line-height: 1.7; }

/* ── COMING-SOON BOOK (with cover art) ── */
.book-cover-soon::after {
  content: 'Coming Soon'; position: absolute; inset: 0; z-index: 3;
  display: flex; align-items: center; justify-content: center;
  background: rgba(28,31,46,0.58); color: #ffffff;
  font-family: 'Inter', sans-serif; font-size: 12px; font-weight: 600;
  letter-spacing: 0.14em; text-transform: uppercase;
}
.btn-soon {
  display: block; width: 100%; text-align: center; padding: 8px 14px;
  background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.14);
  color: rgba(255,255,255,0.5); border-radius: 6px;
  font-family: 'Inter', sans-serif; font-size: 12px; font-weight: 600; letter-spacing: 0.04em;
}
.btn-release {
  display: block; width: 100%; text-align: center; padding: 8px 14px;
  background: rgba(201,149,46,0.14); border: 1px solid var(--gold);
  color: #8B6914; border-radius: 6px;
  font-family: 'Inter', sans-serif; font-size: 12px; font-weight: 600; letter-spacing: 0.04em;
}

/* ── PLAYBOOKS (GUIDES) ── */
.section-guides { background: var(--white); }

/* Featured Vault / hero bundle card (uses accent gradient) */
.vault-card {
  background: linear-gradient(135deg, var(--accent-dim) 0%, var(--accent) 100%);
  border-radius: 14px; padding: 36px 40px; margin-bottom: 32px;
  display: flex; align-items: center; justify-content: space-between;
  gap: 28px; flex-wrap: wrap;
}
.vault-info { flex: 1 1 340px; }
.vault-badge {
  display: inline-block; font-family: 'Inter', sans-serif; font-size: 10px; font-weight: 600;
  letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold); margin-bottom: 10px;
}
.vault-title { font-family: 'Playfair Display', serif; font-size: clamp(22px, 3vw, 30px); font-weight: 700; color: var(--white); line-height: 1.15; margin-bottom: 10px; }
.vault-text { font-size: 14px; color: rgba(255,255,255,0.7); line-height: 1.65; font-weight: 300; max-width: 460px; }
.vault-cta { flex-shrink: 0; }
.btn-vault {
  display: inline-block; padding: 14px 30px; background: var(--gold);
  color: var(--ink); border-radius: 8px; font-family: 'Inter', sans-serif;
  font-size: 14px; font-weight: 600; text-decoration: none;
  transition: background 0.2s, transform 0.15s;
}
.btn-vault:hover { background: #B8841F; transform: translateY(-1px); }
.vault-thumb { width: 150px; height: 150px; object-fit: cover; border-radius: 10px; flex-shrink: 0; box-shadow: 0 8px 22px rgba(0,0,0,0.28); }

/* Compact guide grid */
.guide-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(215px, 1fr)); gap: 14px; }
.guide-card {
  background: var(--white); border: 1px solid var(--parchment-deep);
  border-radius: 10px; overflow: hidden;
  display: flex; flex-direction: column;
  transition: transform 0.2s, box-shadow 0.2s;
}
.guide-card:hover { transform: translateY(-3px); box-shadow: 0 10px 28px rgba(28,31,46,0.13); }
.guide-thumb { display: block; width: 100%; aspect-ratio: 1 / 1; object-fit: cover; background: var(--parchment-dim); }
.guide-info { padding: 12px 12px 14px; display: flex; flex-direction: column; gap: 10px; flex-grow: 1; }
.guide-name { font-family: 'Playfair Display', serif; font-size: 14px; font-weight: 700; color: var(--ink); line-height: 1.25; flex-grow: 1; }

/* Free lead-magnet banner (uses accent) */
.free-card {
  background: var(--parchment-dim); border: 1.5px solid var(--accent);
  border-radius: 14px; padding: 22px 28px; margin-bottom: 28px;
  display: flex; align-items: center; gap: 26px; flex-wrap: wrap;
}
.free-thumb { width: 118px; height: 118px; object-fit: cover; border-radius: 10px; flex-shrink: 0; box-shadow: 0 6px 16px rgba(28,31,46,0.18); }
.free-info { flex: 1 1 320px; }
.free-badge {
  display: inline-block; font-family: 'Inter', sans-serif; font-size: 10px; font-weight: 600;
  letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent); margin-bottom: 8px;
}
.free-title { font-family: 'Playfair Display', serif; font-size: clamp(20px, 2.6vw, 26px); font-weight: 700; color: var(--ink); line-height: 1.18; margin-bottom: 8px; }
.free-text { font-size: 13.5px; color: var(--ink-soft); line-height: 1.6; font-weight: 300; max-width: 440px; margin-bottom: 16px; }
.btn-free {
  display: inline-block; padding: 12px 26px; background: var(--accent);
  color: var(--white); border-radius: 8px; font-family: 'Inter', sans-serif;
  font-size: 14px; font-weight: 600; text-decoration: none;
  transition: background 0.2s, transform 0.15s;
}
.btn-free:hover { background: var(--accent-light); transform: translateY(-1px); }
.btn-etsy {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  padding: 8px 12px; background: var(--accent); color: var(--white);
  border-radius: 6px; font-family: 'Inter', sans-serif;
  font-size: 12px; font-weight: 600; text-decoration: none;
  transition: background 0.2s; width: 100%;
}
.btn-etsy:hover { background: var(--accent-light); }

/* Browse-all shop button */
.guide-shop-row { text-align: center; margin-top: 36px; }
.btn-shop {
  display: inline-block; padding: 13px 30px; background: transparent;
  color: var(--accent); border: 1.5px solid var(--accent); border-radius: 8px;
  font-family: 'Inter', sans-serif; font-size: 14px; font-weight: 600;
  text-decoration: none; transition: all 0.2s;
}
.btn-shop:hover { background: var(--accent); color: var(--white); }
.guide-note { font-family: 'Inter', sans-serif; font-size: 12px; color: var(--ink-muted); margin-top: 14px; }
.fixit-subhead { font-family: 'Playfair Display', serif; font-size: 21px; font-weight: 700; color: var(--ink); margin: 44px 0 18px; text-align: center; }

/* ── NAV DROPDOWN ── */
.nav-item { position: relative; }
.nav-dropdown-toggle::after { content: '▾'; font-size: 9px; margin-left: 5px; position: relative; top: -1px; }
.nav-dropdown-menu {
  position: absolute; top: 100%; left: 50%;
  transform: translateX(-50%) translateY(8px);
  min-width: 224px; background: var(--white);
  border: 1px solid var(--parchment-deep); border-radius: 10px;
  padding: 8px; box-shadow: 0 12px 34px rgba(28,31,46,0.20);
  opacity: 0; visibility: hidden;
  transition: opacity 0.18s ease, transform 0.18s ease; z-index: 200;
}
.nav-dropdown-menu::before { content: ''; position: absolute; top: -12px; left: 0; right: 0; height: 12px; }
.nav-item:hover .nav-dropdown-menu,
.nav-item:focus-within .nav-dropdown-menu {
  opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0);
}
.nav-dropdown-menu a {
  display: flex; align-items: center; gap: 10px;
  padding: 9px 12px; border-radius: 6px;
  font-family: 'Inter', sans-serif; font-size: 13px; font-weight: 500;
  letter-spacing: 0; color: var(--ink-soft); text-decoration: none;
  transition: background 0.15s, color 0.15s;
}
.nav-dropdown-menu a:hover { background: var(--parchment-dim); color: var(--ink); }
.nav-dot { width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0; }

/* ── SECTION HUB CARDS (home page) ── */
.hub-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
}
.hub-card {
  position: relative; display: flex; flex-direction: column;
  background: var(--white); border: 1px solid var(--parchment-deep);
  border-radius: 12px; padding: 28px 26px; text-decoration: none;
  overflow: hidden; transition: transform 0.2s, box-shadow 0.2s;
}
.hub-card:hover { transform: translateY(-3px); box-shadow: 0 12px 32px rgba(28,31,46,0.12); }
.hub-card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 5px; background: var(--hub-color, var(--ink)); }
.hub-eyebrow {
  font-family: 'Inter', sans-serif; font-size: 10px; font-weight: 600;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--hub-color, var(--ink-muted)); margin: 6px 0 10px;
}
.hub-title { font-family: 'Playfair Display', serif; font-size: 21px; font-weight: 700; color: var(--ink); margin-bottom: 8px; line-height: 1.2; }
.hub-text { font-size: 13.5px; color: var(--ink-soft); line-height: 1.6; font-weight: 300; flex-grow: 1; margin-bottom: 16px; }
.hub-link { font-family: 'Inter', sans-serif; font-size: 13px; font-weight: 600; color: var(--hub-color, var(--ink)); }
.hub-badge {
  position: absolute; top: 18px; right: 18px;
  font-family: 'Inter', sans-serif; font-size: 9px; font-weight: 700;
  letter-spacing: 0.1em; text-transform: uppercase;
  background: var(--hub-color, var(--ink)); color: #fff;
  padding: 3px 8px; border-radius: 20px;
}

/* ── ANNOUNCEMENTS ── */
.section-announce { background: var(--parchment-dim); }
.announce-list { display: flex; flex-direction: column; gap: 14px; margin-top: 8px; }
.announce-item {
  display: flex; align-items: center; gap: 18px;
  background: var(--white); border: 1px solid var(--parchment-deep);
  border-left: 4px solid var(--ann-color, var(--gold));
  border-radius: 10px; padding: 18px 22px;
}
.announce-tag {
  font-family: 'Inter', sans-serif; font-size: 10px; font-weight: 700;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--ann-color, var(--gold)); flex-shrink: 0; min-width: 96px;
}
.announce-body { flex-grow: 1; }
.announce-title { font-family: 'Playfair Display', serif; font-size: 17px; font-weight: 700; color: var(--ink); line-height: 1.25; }
.announce-meta { font-size: 13px; color: var(--ink-muted); margin-top: 3px; }
.announce-link {
  font-family: 'Inter', sans-serif; font-size: 12px; font-weight: 600;
  color: var(--ann-color, var(--gold)); text-decoration: none; flex-shrink: 0;
}
.announce-link:hover { text-decoration: underline; }

/* ── RESPONSIVE ── */
@media (max-width: 760px) {
  .header { padding: 0 18px; }
  .header-nav { gap: 16px; }
}
@media (max-width: 640px) {
  .header-nav { display: none; }
  .book-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .credentials-box { grid-template-columns: 1fr; }
  .guide-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .vault-card { padding: 28px 22px; }
  .capture-card { padding: 32px 20px; }
  .bio-card { padding: 24px; }
  section { padding: 56px 20px; }
  .hero { min-height: 75vh; }
  .announce-item { flex-direction: column; align-items: flex-start; gap: 8px; }
}
