/* ============================================================
   ROB CHAMBERS BOOKS — Design System
   robchambersbooks.com
   
   Fonts: League Spartan (display), Open Sans (body)
   Colors extracted from Home Smart series covers
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=League+Spartan:wght@400;600;700;800&family=Open+Sans:ital,wght@0,400;0,600;1,400;1,600&display=swap');

/* ── CSS Custom Properties ─────────────────────────────────── */
:root {
  /* Core palette */
  --navy:           #000349;
  --navy-dark:      #000028;
  --navy-mid:       #04083a;
  --navy-light:     #0d1260;

  /* Gold — matched to cover title treatment */
  --gold-light:     #d6ba81;
  --gold-mid:       #d3b57b;
  --gold-dark:      #a68d69;
  --gold-gradient:  linear-gradient(180deg, #d6ba81 0%, #d3b57b 55%, #a68d69 100%);
  --gold-flat:      #c9a96e;   /* solid fallback for small elements */

  /* Text */
  --white:          #ffffff;
  --white-muted:    rgba(255,255,255,0.72);
  --white-faint:    rgba(255,255,255,0.45);
  --text-on-light:  #0d1260;   /* navy text on light backgrounds */

  /* UI */
  --border-gold:    rgba(211,181,123,0.30);
  --border-white:   rgba(255,255,255,0.15);
  --overlay-dark:   rgba(0,0,28,0.55);

  /* Typography */
  --font-display:   'League Spartan', sans-serif;
  --font-body:      'Open Sans', sans-serif;

  /* Spacing scale */
  --space-xs:   0.25rem;
  --space-sm:   0.5rem;
  --space-md:   1rem;
  --space-lg:   2rem;
  --space-xl:   3.5rem;
  --space-xxl:  6rem;

  /* Layout */
  --max-width:      1200px;
  --content-width:  900px;
  --nav-height:     64px;
  --ann-height:     46px;

  /* Transitions */
  --transition:     0.2s ease;
}

/* ── Reset & Base ──────────────────────────────────────────── */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html, body {
  overflow-x: hidden;
}

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

body {
  font-family: var(--font-body);
  background: var(--navy);
  color: var(--white);
  line-height: 1.6;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: var(--gold-mid);
  text-decoration: none;
  transition: color var(--transition);
}

a:hover { color: var(--gold-light); }

/* ── Typography Scale ──────────────────────────────────────── */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.15;
  color: var(--white);
}

h1 { font-size: clamp(2rem,   4vw, 3rem);   }
h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); }
h3 { font-size: clamp(1.2rem, 2vw, 1.6rem); }
h4 { font-size: 1.1rem; }

p {
  font-family: var(--font-body);
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--white-muted);
  max-width: 68ch;
}

/* Gold heading treatment — matches cover title style */
.gold-text {
  background: var(--gold-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ── Layout Utilities ──────────────────────────────────────── */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--space-lg);
  overflow-x: hidden;
}

.container--narrow {
  max-width: var(--content-width);
}

.section {
  padding: var(--space-xxl) 0;
}

.section--tight {
  padding: var(--space-xl) 0;
}

/* ── Announcement Bar ──────────────────────────────────────── */
#announcement-bar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  min-height: var(--ann-height);
  background: var(--gold-flat);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-md);
  padding: 0 var(--space-lg);
  transition: transform var(--transition);
}

#announcement-bar.hidden {
  transform: translateY(-100%);
}

#announcement-bar p {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  color: var(--navy-dark);
  max-width: none;
  line-height: 1;
}

#announcement-bar a {
  color: var(--navy-dark);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 2px;
}

#announcement-bar a:hover { color: var(--navy); }

.ann-dismiss {
  position: absolute;
  right: var(--space-md);
  background: none;
  border: none;
  cursor: pointer;
  color: var(--navy-dark);
  font-size: 1rem;
  line-height: 1;
  opacity: 0.6;
  transition: opacity var(--transition);
  padding: var(--space-xs);
}

.ann-dismiss:hover { opacity: 1; }

/* ── Navigation ────────────────────────────────────────────── */
#navbar {
  position: fixed;
  left: 0;
  right: 0;
  z-index: 999;
  height: var(--nav-height);
  background: rgba(0, 3, 73, 0.92);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border-gold);
  transition: top var(--transition);
  display: flex;
  align-items: center;
}

/* navbar sits below announcement bar when it's visible */
#navbar.below-ann { top: var(--ann-height); }
#navbar.top-fixed  { top: 0; }

.nav-inner {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--space-lg);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
  flex-shrink: 0;
}

.nav-brand img {
  height: 36px;
  width: auto;
}

.nav-brand-name {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: 0.02em;
  white-space: nowrap;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 0.15rem;
  list-style: none;
}

.nav-menu a {
  font-family: var(--font-display);
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--white-muted);
  padding: 0.4rem 0.65rem;
  border-radius: 4px;
  transition: color var(--transition), background var(--transition);
  white-space: nowrap;
}

.nav-menu a:hover,
.nav-menu a.active {
  color: var(--white);
  background: rgba(255,255,255,0.07);
}

/* Sign Up nav item gets a gold treatment */
.nav-menu .nav-signup a {
  color: var(--gold-mid);
  border: 1px solid var(--border-gold);
}

.nav-menu .nav-signup a:hover {
  color: var(--gold-light);
  background: rgba(211,181,123,0.10);
}

/* ── Buttons ───────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.04em;
  padding: 0.8rem 1.9rem;
  border-radius: 4px;
  border: none;
  cursor: pointer;
  transition: all var(--transition);
  text-decoration: none;
  white-space: nowrap;
}

.btn--gold {
  background: var(--gold-gradient);
  color: var(--navy-dark);
}

.btn--gold:hover {
  background: linear-gradient(180deg, #dfc890 0%, #d9bf88 55%, #b49870 100%);
  color: var(--navy-dark);
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(211,181,123,0.30);
}

.btn--outline {
  background: transparent;
  color: var(--white-muted);
  border: 1px solid var(--border-white);
}

.btn--outline:hover {
  color: var(--white);
  border-color: rgba(255,255,255,0.40);
  background: rgba(255,255,255,0.05);
}

.btn--ghost {
  background: transparent;
  color: var(--gold-mid);
  padding-left: 0;
  padding-right: 0;
  font-size: 1.05rem;
}

.btn--ghost:hover {
  color: var(--gold-light);
}

/* ── Dividers ──────────────────────────────────────────────── */
.divider {
  width: 100%;
  height: 1px;
  background: var(--border-gold);
  margin: var(--space-xl) 0;
}

.divider--faint {
  background: var(--border-white);
}

/* ── Section Labels ────────────────────────────────────────── */
.section-label {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-mid);
  margin-bottom: var(--space-md);
  display: block;
}

/* ── Newsletter Inline Form ────────────────────────────────── */
.signup-inline {
  display: flex;
  gap: var(--space-sm);
  align-items: center;
  flex-wrap: wrap;
  margin-top: var(--space-md);
}

.signup-inline input[type="email"] {
  flex: 1;
  min-width: 220px;
  padding: 0.7rem 1rem;
  font-family: var(--font-body);
  font-size: 0.9rem;
  background: rgba(255,255,255,0.07);
  border: 1px solid var(--border-gold);
  border-radius: 4px;
  color: var(--white);
  outline: none;
  transition: border-color var(--transition);
}

.signup-inline input[type="email"]::placeholder {
  color: var(--white-faint);
}

.signup-inline input[type="email"]:focus {
  border-color: var(--gold-mid);
}

.signup-note {
  font-size: 1.05rem;
  color: var(--white-muted);
  margin-top: var(--space-xs);
  font-style: italic;
  text-align: center !important;
  display: block;
  width: 100%;
  max-width: none;
}

.signup-note a {
  color: var(--gold-mid);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.signup-note a:hover {
  color: var(--gold-light);
}

/* ── Book Cover Card ───────────────────────────────────────── */
.book-card {
  display: flex;
  gap: var(--space-xl);
  align-items: flex-start;
}

.book-card__cover {
  flex-shrink: 0;
  width: 220px;
}

.book-card__cover img {
  width: 100%;
  border-radius: 4px;
  box-shadow:
    0 4px 20px rgba(0,0,0,0.5),
    0 1px 4px rgba(0,0,0,0.3),
    4px 4px 0 rgba(211,181,123,0.15);
  transition: transform var(--transition), box-shadow var(--transition);
}

.book-card__cover img:hover {
  transform: translateY(-3px);
  box-shadow:
    0 8px 30px rgba(0,0,0,0.6),
    0 2px 6px rgba(0,0,0,0.3),
    4px 6px 0 rgba(211,181,123,0.20);
}

.book-card__content {
  flex: 1;
  padding-top: var(--space-sm);
}

.book-card__series {
  font-family: var(--font-display);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-mid);
  margin-bottom: var(--space-sm);
}

.book-card__title {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  margin-bottom: var(--space-sm);
}

.book-card__subtitle {
  font-family: var(--font-body);
  font-style: italic;
  font-size: 1rem;
  color: var(--white-muted);
  margin-bottom: var(--space-md);
  max-width: 52ch;
}

.book-card__description {
  margin-bottom: var(--space-lg);
}

.book-card__actions {
  display: flex;
  gap: var(--space-md);
  align-items: center;
  flex-wrap: wrap;
}

/* ── Coming Soon Badge ─────────────────────────────────────── */
.badge-soon {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--navy-dark);
  background: var(--gold-gradient);
  padding: 0.2rem 0.6rem;
  border-radius: 2px;
  vertical-align: middle;
}

/* ── Footer ────────────────────────────────────────────────── */
#footer {
  background: var(--navy-dark);
  border-top: 1px solid var(--border-gold);
  padding: var(--space-xl) 0 var(--space-lg);
}

.footer-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--space-lg);
}

/* .footer-brand defined below in brand mark section */

.footer-brand-name {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: 0.08em;
}



.footer-nav {
  display: flex;
  justify-content: center;
  gap: var(--space-md);
  flex-wrap: wrap;
  list-style: none;
  margin-bottom: var(--space-lg);
}

.footer-nav a {
  font-family: var(--font-display);
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--white-muted);
  transition: color var(--transition);
}

.footer-nav a:hover { color: var(--white); }

.footer-rule {
  width: 100%;
  height: 2px;
  background: rgba(255,255,255,0.55);
  margin: 0 auto var(--space-md);
}

.footer-legal {
  text-align: center;
}

.footer-copyright {
  font-size: 0.9rem;
  color: var(--white-muted);
  max-width: none;
  margin-bottom: var(--space-xs);
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: var(--space-md);
}

.footer-links a {
  font-size: 0.9rem;
  color: var(--white-muted);
}

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

/* ── Exit Pop-up ───────────────────────────────────────────── */
#exit-popup {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgba(0,0,28,0.70);
  align-items: center;
  justify-content: center;
  padding: var(--space-lg);
}

#exit-popup.visible {
  display: flex;
}

.popup-box {
  background: var(--navy-mid);
  border: 1px solid var(--border-gold);
  border-radius: 6px;
  padding: var(--space-xl) var(--space-lg);
  max-width: 480px;
  width: 100%;
  position: relative;
  box-shadow: 0 20px 60px rgba(0,0,0,0.6);
}

.popup-dismiss {
  position: absolute;
  top: var(--space-md);
  right: var(--space-md);
  background: none;
  border: none;
  color: var(--white-faint);
  font-size: 1.2rem;
  cursor: pointer;
  transition: color var(--transition);
  line-height: 1;
}

.popup-dismiss:hover { color: var(--white); }

.popup-box h3 {
  font-size: 1.3rem;
  margin-bottom: var(--space-sm);
}

.popup-box p {
  font-size: 0.9rem;
  margin-bottom: var(--space-md);
  max-width: none;
}

/* ── Page Offset (accounts for fixed nav + ann bar) ─────────── */
.page-offset {
  padding-top: calc(var(--nav-height) + var(--ann-height));
}

.page-offset--no-ann {
  padding-top: var(--nav-height);
}

/* ── Utility classes ───────────────────────────────────────── */
.text-center { text-align: center; }
.text-gold   { color: var(--gold-mid); }
.text-muted  { color: var(--white-muted); }
.text-faint  { color: var(--white-faint); }
.mt-sm  { margin-top: var(--space-sm); }
.mt-md  { margin-top: var(--space-md); }
.mt-lg  { margin-top: var(--space-lg); }
.mb-sm  { margin-bottom: var(--space-sm); }
.mb-md  { margin-bottom: var(--space-md); }
.mb-lg  { margin-bottom: var(--space-lg); }

/* ============================================================
   HOME PAGE SPECIFIC STYLES
   ============================================================ */

/* ── Hero ──────────────────────────────────────────────────── */
.hero {
  background:
    radial-gradient(ellipse at 70% 0%, rgba(13,18,96,0.6) 0%, transparent 60%),
    var(--navy);
  padding-top: var(--space-xxl);
  padding-bottom: var(--space-xxl);
}

.hero-inner {
  display: flex;
  gap: var(--space-xxl);
  align-items: stretch;
}

.hero-copy {
  flex: 1 1 480px;
  max-width: 580px;
  min-width: 320px;
}

.hero-copy h1 {
  font-size: clamp(2.2rem, 4.5vw, 3.4rem);
  line-height: 1.1;
  margin-bottom: var(--space-md);
}

.hero-lead {
  font-size: 1.2rem;
  font-style: italic;
  color: var(--white-muted);
  margin-bottom: var(--space-md);
  max-width: 56ch;
  line-height: 1.75;
}

.hero-body {
  font-size: 1.05rem;
  color: var(--white-muted);
  margin-bottom: var(--space-lg);
  max-width: 58ch;
}

.hero-actions {
  display: flex;
  gap: var(--space-md);
  flex-wrap: wrap;
  margin-bottom: var(--space-xl);
}

.hero-signup {
  padding-top: var(--space-lg);
  border-top: 1px solid var(--border-white);
  text-align: center;
}

.hero-cover {
  flex: 1 1 420px;
  max-width: 520px;
  min-width: 320px;
  display: block;
  padding-top: var(--space-md);
  text-align: center;
}

.hero-cover img {
  width: 100%;
  border-radius: 4px;
  box-shadow:
    0 20px 60px rgba(0,0,0,0.6),
    0 4px 12px rgba(0,0,0,0.4);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hero-cover img:hover {
  transform: translateY(-4px) rotate(-0.5deg);
  box-shadow:
    0 28px 70px rgba(0,0,0,0.7),
    0 6px 16px rgba(0,0,0,0.4);
}

/* ── Series Grid ───────────────────────────────────────────── */
.series-strip {
  background: var(--navy-dark);
  border-top: 1px solid var(--border-gold);
  border-bottom: 1px solid var(--border-gold);
}

.series-grid {
  display: flex;
  gap: var(--space-xl);
  justify-content: center;
  flex-wrap: wrap;
}

.series-thumb {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-sm);
  text-decoration: none;
  transition: transform var(--transition);
}

.series-thumb:hover { transform: translateY(-4px); }

.series-thumb__cover {
  position: relative;
  width: 160px;
}

.series-thumb__cover img {
  width: 100%;
  border-radius: 3px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.5);
}

.series-thumb__cover .badge-soon {
  position: absolute;
  bottom: 8px;
  left: 50%;
  transform: translateX(-50%);
  white-space: nowrap;
}

.series-thumb__title {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--white-muted);
  text-align: center;
  max-width: none;
  line-height: 1.2;
}

/* ── Features Grid ─────────────────────────────────────────── */
.features {
  background: var(--navy);
}

.features h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  margin-bottom: var(--space-lg);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-xl) var(--space-xxl);
  margin-top: var(--space-lg);
}

.feature {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.feature-icon {
  font-size: 1.8rem;
  margin-bottom: var(--space-xs);
  opacity: 0.8;
}

.feature h3 {
  font-size: 1.25rem;
  color: var(--gold-light);
}

.feature p {
  font-size: 1rem;
  color: var(--white-muted);
  max-width: 40ch;
}

/* ── About Strip ───────────────────────────────────────────── */
.about-strip {
  background: var(--navy-dark);
  border-top: 1px solid var(--border-gold);
  border-bottom: 1px solid var(--border-gold);
}

.about-strip-inner {
  display: block;
}

.about-strip-copy h2 {
  margin-bottom: var(--space-sm);
}

.about-strip-copy p {
  margin-bottom: var(--space-md);
  max-width: 60ch;
}

/* ── Pending Book Section ──────────────────────────────────── */
.pending-book {
  background: var(--navy);
  border-top: 1px solid var(--border-white);
}

/* ── Footer Signup Section ─────────────────────────────────── */
.footer-signup-section {
  background: var(--navy-mid);
  border-top: 1px solid var(--border-gold);
  text-align: center;
}

.footer-signup-section .eo-form-wrap,
.footer-signup-section .eo-form-wrap--simple {
  max-width: 480px;
  margin: 0 auto;
  text-align: left;
}

.footer-signup-section p {
  margin: 0 auto var(--space-lg);
  text-align: center;
}


/* ── Hamburger — hidden on desktop ────────────────────────── */
.nav-hamburger { display: none; }

/* ── RMC Text Mark (navbar) ────────────────────────────────── */
.nav-rmc {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 800;
  background: var(--gold-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: 0.08em;
  line-height: 1;
  flex-shrink: 0;
  user-select: none;
}

/* ── Footer brand: unified monogram + name mark ────────────── */
.footer-brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
  margin-bottom: var(--space-lg);
}

.footer-brand img {
  height: 120px;
  width: auto;
  opacity: 0.88;
  margin-bottom: -28px;
}

.footer-brand-name {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  letter-spacing: 0.10em;
  color: var(--monogram-gold);
  color: #dac79d;
  line-height: 1;
}


/* ============================================================
   RESPONSIVE CSS — Tablet and Mobile
   Breakpoints:
     Tablet:  max-width: 1024px
     Mobile:  max-width: 768px
     Small:   max-width: 480px
   ============================================================ */

/* ══════════════════════════════════════════════════════════════
   TABLET (≤1024px)
   ══════════════════════════════════════════════════════════════ */
@media (max-width: 1024px) {

  :root {
    --space-xxl: 4rem;
    --space-xl:  2.5rem;
  }

  /* Nav — tighten spacing */
  .nav-menu a {
    font-size: 0.82rem;
    padding: 0.4rem 0.5rem;
    letter-spacing: 0.04em;
  }

  .nav-brand-name {
    font-size: 1.05rem;
  }

  /* Hero — reduce cover size */
  .hero-cover {
    flex: 1 1 340px;
    max-width: 400px;
    display: block;
    text-align: center;
  }

  /* Features grid — stays 2 col but tighter */
  .features-grid {
    gap: var(--space-lg) var(--space-xl);
  }

  /* Book entry — slightly less gap */
  .book-entry {
    gap: var(--space-xl);
  }

  .book-entry__cover {
    width: 200px;
  }

  /* Book hero cover */
  .book-hero-cover {
    width: 340px;
  }

  /* Newsletter hero */
  .nl-hero-inner {
    gap: var(--space-xl);
  }

  .nl-form-wrap {
    width: 340px;
  }

  /* Signup hero */
  .signup-hero-inner {
    gap: var(--space-xl);
  }

  .signup-form-wrap {
    width: 340px;
  }

  /* Mid signup */
  .mid-signup-form {
    width: 280px;
  }
}

/* ══════════════════════════════════════════════════════════════
   MOBILE (≤768px)
   ══════════════════════════════════════════════════════════════ */
@media (max-width: 768px) {

  :root {
    --space-xxl: 3rem;
    --space-xl:  2rem;
    --nav-height: 56px;
    --ann-height: 44px;
  }

  /* ── Announcement bar ── */
  #announcement-bar p {
    font-size: 0.88rem;
  }

  /* ── Navigation — hamburger menu ── */
  .nav-brand-name {
    font-size: 1rem;
  }

  .nav-rmc {
    font-size: 1rem;
  }

  /* Hide nav menu items, show hamburger */
  .nav-menu {
    display: none;
    position: fixed;
    top: calc(var(--nav-height) + var(--ann-height));
    left: 0;
    right: 0;
    background: rgba(0, 3, 73, 0.98);
    backdrop-filter: blur(10px);
    flex-direction: column;
    padding: var(--space-md) 0;
    border-bottom: 1px solid var(--border-gold);
    z-index: 998;
    gap: 0;
  }

  .nav-menu.open {
    display: flex;
  }

  .nav-menu li {
    width: 100%;
  }

  .nav-menu a {
    display: block;
    padding: 0.85rem var(--space-lg);
    font-size: 1rem;
    letter-spacing: 0.06em;
    border-radius: 0;
  }

  .nav-menu .nav-signup a {
    margin: var(--space-sm) var(--space-lg);
    text-align: center;
    border-radius: 4px;
    padding: 0.75rem;
  }

  /* Hamburger button */
  .nav-hamburger {
    display: flex;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.4rem;
    margin-left: auto;
  }

  .nav-hamburger span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--white);
    border-radius: 2px;
    transition: all 0.25s ease;
  }

  .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);
  }

  /* ── Hero — stack vertically ── */
  .hero-inner {
    flex-direction: column-reverse;
    align-items: center;
    gap: var(--space-lg);
  }

  .hero-cover {
    width: 100%;
    max-width: 320px;
    flex: none;
    margin: 0 auto;
    display: block;
    text-align: center;
  }

  .hero-copy {
    flex: none;
    width: 100%;
    max-width: none;
  }

  .hero-actions {
    flex-direction: column;
  }

  .hero-actions .btn {
    width: 100%;
    justify-content: center;
  }

  /* ── Series grid — centered column on mobile ── */
  .series-grid {
    flex-direction: column;
    align-items: center;
    gap: var(--space-lg);
  }

  .series-thumb {
    flex-direction: row;
    align-items: center;
    width: 100%;
    max-width: 320px;
    gap: var(--space-md);
    text-decoration: none;
  }

  .series-thumb__cover {
    width: 90px;
    flex-shrink: 0;
  }

  .series-thumb__cover .badge-soon {
    position: static;
    transform: none;
    display: block;
    margin-top: 4px;
    font-size: 0.6rem;
  }

  .series-thumb__title {
    text-align: left;
    font-size: 1rem;
  }

  /* ── Features — single column ── */
  .features-grid {
    grid-template-columns: 1fr;
    gap: var(--space-lg);
  }

  /* ── About strip ── */
  .about-strip-inner {
    display: block;
  }

  /* ── Signup inline forms ── */
  .signup-inline {
    flex-direction: column;
  }

  .signup-inline input[type="email"] {
    width: 100%;
    min-width: 0;
  }

  .signup-inline .btn {
    width: 100%;
    justify-content: center;
  }

  /* ── Book card (pending book on home page) — stack ── */
  .book-card {
    flex-direction: column !important;
    align-items: center;
  }

  .book-card__cover {
    width: 220px;
    margin: 0 auto;
  }

  .book-card__content {
    text-align: center;
    padding-top: 0;
  }

  .book-card__actions {
    justify-content: center;
    flex-wrap: wrap;
  }

  .book-card__subtitle,
  .book-card__description {
    margin-left: auto;
    margin-right: auto;
  }

  /* ── Book entries — stack vertically ── */
  .book-entry,
  .book-entry--reversed {
    flex-direction: column !important;
    align-items: center;
  }

  .book-entry__cover {
    width: 220px;
  }

  .book-entry__content {
    padding-top: 0;
    text-align: center;
  }

  .book-entry__actions {
    justify-content: center;
  }

  /* ── Mid signup — stack ── */
  .mid-signup-inner {
    flex-direction: column;
    gap: var(--space-lg);
  }

  .mid-signup-form {
    width: 100%;
  }

  /* ── Promise grid — single column ── */
  .promise-grid {
    grid-template-columns: 1fr;
  }

  /* ── Newsletter hero — stack ── */
  .nl-hero-inner {
    flex-direction: column;
    gap: var(--space-lg);
  }

  .nl-form-wrap {
    width: 100%;
  }

  .nl-expect-grid {
    grid-template-columns: 1fr;
  }

  /* ── Signup hero — stack ── */
  .signup-hero-inner {
    flex-direction: column;
    gap: var(--space-lg);
  }

  .signup-form-wrap {
    width: 100%;
  }

  /* ── Book hero — stack ── */
  .book-hero-inner {
    flex-direction: column;
    align-items: center;
  }

  .book-hero-cover {
    width: 100%;
    max-width: 300px;
    position: static;
    padding: var(--space-md);
  }

  /* ── Contact — already single column ── */
  .contact-form-wrap {
    max-width: 100%;
  }

  /* ── Reviews grid — single column ── */
  .reviews-grid {
    grid-template-columns: 1fr;
  }

  /* ── Series others — stack ── */
  .book-series-others {
    flex-direction: column;
    gap: var(--space-lg);
  }

  /* ── 404 links grid — single column ── */
  .fourofour-links {
    grid-template-columns: 1fr;
  }

  /* ── Footer ── */
  .footer-nav {
    gap: var(--space-sm);
  }

  .footer-nav a {
    font-size: 0.82rem;
  }

  /* ── Cookie table — hide columns, stack ── */
  .cookie-row {
    grid-template-columns: 1fr;
    gap: 0.25rem;
  }

  .cookie-row--header {
    display: none;
  }
}

/* ══════════════════════════════════════════════════════════════
   SMALL MOBILE (≤480px)
   ══════════════════════════════════════════════════════════════ */
@media (max-width: 480px) {

  .container {
    padding: 0 var(--space-md);
  }

  h1 { font-size: clamp(1.8rem, 8vw, 2.4rem); }
  h2 { font-size: clamp(1.4rem, 6vw, 1.8rem); }

  .series-grid {
    gap: var(--space-md);
  }

  .series-thumb__cover {
    width: 110px;
  }

  .book-hero-cover {
    max-width: 260px;
  }

  .fourofour-number {
    font-size: clamp(5rem, 20vw, 8rem);
  }

  .nl-form-row--two {
    grid-template-columns: 1fr;
  }

  /* Exit popup full width */
  .popup-box {
    padding: var(--space-lg) var(--space-md);
  }
}

/* ── EmailOctopus simple embed (single field) ──────────────── */
.eo-form-wrap--simple input[type="email"] {
  background: rgba(255,255,255,0.06) !important;
  border: 1px solid var(--border-gold) !important;
  border-radius: 4px !important;
  color: var(--white) !important;
  font-family: var(--font-body) !important;
  font-size: 1rem !important;
  padding: 0.75rem 1rem !important;
  width: 100% !important;
  box-sizing: border-box !important;
}

.eo-form-wrap--simple input[type="email"]:focus {
  border-color: var(--gold-mid) !important;
  outline: none !important;
}

.eo-form-wrap--simple input::placeholder {
  color: var(--white-faint) !important;
}

/* EO button — unstyled, uses EmailOctopus default */

/* ============================================================
   HOME PAGE BOOK SECTIONS
   ============================================================ */

.home-book-section {
  background: var(--navy);
}

.home-book-divider {
  width: 100%;
  height: 2px;
  background: rgba(255,255,255,0.55);
}

.home-book-inner {
  display: flex;
  gap: var(--space-xxl);
  align-items: flex-start;
}

.home-book-inner--reversed {
  flex-direction: row-reverse;
}

/* Cover */
.home-book-cover {
  flex-shrink: 0;
  width: 340px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-sm);
  background: #f5f2ee;
  border-radius: 8px;
  padding: var(--space-lg);
}

.home-book-cover img {
  width: 100%;
  border-radius: 4px;
  box-shadow:
    0 20px 50px rgba(0,0,0,0.5),
    0 4px 12px rgba(0,0,0,0.35);
}

/* Content */
.home-book-content {
  flex: 1;
  padding-top: var(--space-sm);
}

.home-book-series {
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-mid);
  margin-bottom: var(--space-sm);
  max-width: none;
  line-height: 1.2;
}

.home-book-title {
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.05;
  margin-bottom: var(--space-sm);
}

.home-book-subtitle {
  font-family: var(--font-body);
  font-style: italic;
  font-size: 1.1rem;
  color: var(--white-muted);
  margin-bottom: var(--space-md);
  max-width: 52ch;
  line-height: 1.6;
}

.home-book-desc {
  font-size: 1.05rem;
  color: var(--white-muted);
  line-height: 1.85;
  max-width: 58ch;
  margin-bottom: var(--space-lg);
}

.home-book-actions {
  display: flex;
  gap: var(--space-md);
  flex-wrap: wrap;
  margin-bottom: var(--space-lg);
}

.home-book-signup {
  padding-top: var(--space-lg);
  border-top: 1px solid var(--border-white);
}

/* ── Feature icon SVG ── */
.feature-icon--svg {
  margin-bottom: var(--space-xs);
  height: 44px;
  display: flex;
  align-items: center;
}

/* ── Mobile: home book sections ── */
@media (max-width: 768px) {
  .home-book-inner,
  .home-book-inner--reversed {
    flex-direction: column !important;
    align-items: center;
  }

  .home-book-cover {
    width: 100%;
    max-width: 300px;
    margin: 0 auto;
  }

  .home-book-content {
    padding-top: 0;
    text-align: center;
    width: 100%;
  }

  .home-book-actions {
    justify-content: center;
  }

  .home-book-subtitle,
  .home-book-desc {
    margin-left: auto;
    margin-right: auto;
  }

  .home-book-signup {
    text-align: left;
  }
}

/* ── Hero cover badge (Coming Soon) ───────────────────────── */
.hero-cover-badge {
  display: block;
  width: 100%;
  clear: both;
  text-align: center;
  margin-top: var(--space-sm);
  line-height: 1;
}

.hero-cover-badge .badge-soon {
  display: inline-block;
  font-size: 0.85rem;
  letter-spacing: 0.12em;
  padding: 0.3rem 1rem;
}

/* ── Book hero byline ──────────────────────────────────────── */
.hero-byline {
  font-family: var(--font-body);
  font-size: 1rem;
  font-style: italic;
  color: var(--white-muted);
  margin-bottom: var(--space-md);
  max-width: none;
}

/* ── Book review quotes ────────────────────────────────────── */
.hero-reviews,
.book-reviews-above {
  margin-bottom: var(--space-lg);
}

.book-reviews {
  margin-bottom: var(--space-lg);
}

.hero-review {
  margin: 0 0 var(--space-md);
  padding: 0;
  border: none;
}

.hero-review:last-child {
  margin-bottom: 0;
}

.hero-review-text {
  font-size: 1rem;
  font-style: italic;
  color: var(--white);
  line-height: 1.7;
  max-width: 58ch;
  margin-bottom: 0.3rem;
}

.hero-review-attr {
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--gold-mid);
  letter-spacing: 0.04em;
  font-style: normal;
  display: block;
}
