/* ========================
   DESIGN TOKENS — BOOK GIVEAWAY
   Warm literary palette: deep navy + amber gold
   ======================== */
:root {
  /* Type Scale */
  --text-xs:   clamp(0.75rem,  0.7rem  + 0.25vw, 0.875rem);
  --text-sm:   clamp(0.875rem, 0.8rem  + 0.35vw, 1rem);
  --text-base: clamp(1rem,     0.95rem + 0.25vw, 1.125rem);
  --text-lg:   clamp(1.125rem, 1rem    + 0.75vw, 1.5rem);
  --text-xl:   clamp(1.5rem,   1.2rem  + 1.25vw, 2.25rem);
  --text-2xl:  clamp(2rem,     1.2rem  + 2.5vw,  3.5rem);
  --text-3xl:  clamp(2.5rem,   1rem    + 4vw,    5rem);

  /* Spacing */
  --space-1:  0.25rem;
  --space-2:  0.5rem;
  --space-3:  0.75rem;
  --space-4:  1rem;
  --space-5:  1.25rem;
  --space-6:  1.5rem;
  --space-8:  2rem;
  --space-10: 2.5rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --space-20: 5rem;
  --space-24: 6rem;
  --space-32: 8rem;

  /* Fonts — warm editorial pairing */
  --font-display: 'Erode', 'Georgia', serif;
  --font-body: 'Satoshi', 'Inter', sans-serif;

  /* Radius */
  --radius-sm: 0.375rem;
  --radius-md: 0.5rem;
  --radius-lg: 0.75rem;
  --radius-xl: 1rem;
  --radius-full: 9999px;

  /* Transitions */
  --transition-interactive: 180ms cubic-bezier(0.16, 1, 0.3, 1);

  /* Content widths */
  --content-narrow: 640px;
  --content-default: 960px;
  --content-wide: 1200px;
}

/* ========================
   LIGHT MODE
   ======================== */
:root, [data-theme="light"] {
  --color-bg:             #faf8f5;
  --color-surface:        #ffffff;
  --color-surface-2:      #f5f2ed;
  --color-surface-offset: #eee9e2;
  --color-divider:        #e0dbd4;
  --color-border:         #d4cfc7;

  --color-text:           #1a1512;
  --color-text-muted:     #6b6560;
  --color-text-faint:     #a9a49e;
  --color-text-inverse:   #ffffff;

  /* Primary — deep navy for trust/authority */
  --color-primary:        #1e3a5f;
  --color-primary-hover:  #152d4a;
  --color-primary-active: #0f2037;
  --color-primary-light:  #e8edf4;

  /* Accent — warm amber gold */
  --color-accent:         #c8860a;
  --color-accent-hover:   #a06d08;
  --color-accent-light:   #fdf3e0;

  /* Success */
  --color-success:        #2d7a3e;
  --color-success-light:  #e8f5e9;

  /* Shadows */
  --shadow-sm: 0 1px 2px rgba(26,21,18,0.06);
  --shadow-md: 0 4px 12px rgba(26,21,18,0.08);
  --shadow-lg: 0 12px 32px rgba(26,21,18,0.12);
  --shadow-xl: 0 20px 48px rgba(26,21,18,0.16);
}

/* ========================
   DARK MODE
   ======================== */
[data-theme="dark"] {
  --color-bg:             #121110;
  --color-surface:        #1c1a18;
  --color-surface-2:      #262321;
  --color-surface-offset: #1e1c1a;
  --color-divider:        #2e2b28;
  --color-border:         #3a3632;

  --color-text:           #e8e4df;
  --color-text-muted:     #9a958f;
  --color-text-faint:     #5e5953;
  --color-text-inverse:   #121110;

  --color-primary:        #6b98c9;
  --color-primary-hover:  #5083b8;
  --color-primary-active: #3a6fa5;
  --color-primary-light:  rgba(107,152,201,0.12);

  --color-accent:         #e5a533;
  --color-accent-hover:   #c8860a;
  --color-accent-light:   rgba(229,165,51,0.12);

  --color-success:        #5cb874;
  --color-success-light:  rgba(92,184,116,0.12);

  --shadow-sm: 0 1px 2px rgba(0,0,0,0.3);
  --shadow-md: 0 4px 12px rgba(0,0,0,0.4);
  --shadow-lg: 0 12px 32px rgba(0,0,0,0.5);
  --shadow-xl: 0 20px 48px rgba(0,0,0,0.6);
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme]) {
    --color-bg:             #121110;
    --color-surface:        #1c1a18;
    --color-surface-2:      #262321;
    --color-surface-offset: #1e1c1a;
    --color-divider:        #2e2b28;
    --color-border:         #3a3632;
    --color-text:           #e8e4df;
    --color-text-muted:     #9a958f;
    --color-text-faint:     #5e5953;
    --color-text-inverse:   #121110;
    --color-primary:        #6b98c9;
    --color-primary-hover:  #5083b8;
    --color-primary-active: #3a6fa5;
    --color-primary-light:  rgba(107,152,201,0.12);
    --color-accent:         #e5a533;
    --color-accent-hover:   #c8860a;
    --color-accent-light:   rgba(229,165,51,0.12);
    --color-success:        #5cb874;
    --color-success-light:  rgba(92,184,116,0.12);
    --shadow-sm: 0 1px 2px rgba(0,0,0,0.3);
    --shadow-md: 0 4px 12px rgba(0,0,0,0.4);
    --shadow-lg: 0 12px 32px rgba(0,0,0,0.5);
    --shadow-xl: 0 20px 48px rgba(0,0,0,0.6);
  }
}

/* ========================
   LAYOUT
   ======================== */
.container {
  width: 100%;
  max-width: var(--content-wide);
  margin-inline: auto;
  padding-inline: var(--space-6);
}

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

section {
  padding-block: clamp(var(--space-12), 6vw, var(--space-24));
}

/* ========================
   HEADER
   ======================== */
.header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: oklch(from var(--color-bg) l c h / 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--color-divider);
  padding-block: var(--space-4);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
}

.header__logo {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  text-decoration: none;
  color: var(--color-text);
}

.header__logo-text {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--text-lg);
  letter-spacing: -0.01em;
}

.header__logo-text span {
  color: var(--color-accent);
}

.header__actions {
  display: flex;
  align-items: center;
  gap: var(--space-3);
}

.theme-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: var(--radius-md);
  color: var(--color-text-muted);
}

.theme-toggle:hover {
  background: var(--color-surface-2);
  color: var(--color-text);
}

/* ========================
   BUTTONS
   ======================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  padding: var(--space-3) var(--space-6);
  border-radius: var(--radius-md);
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  border: none;
}

.btn--primary {
  background: var(--color-primary);
  color: var(--color-text-inverse);
}

.btn--primary:hover {
  background: var(--color-primary-hover);
  box-shadow: var(--shadow-md);
  transform: translateY(-1px);
}

.btn--accent {
  background: var(--color-accent);
  color: #fff;
}

.btn--accent:hover {
  background: var(--color-accent-hover);
  box-shadow: var(--shadow-md);
  transform: translateY(-1px);
}

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

.btn--outline:hover {
  background: var(--color-primary-light);
}

.btn--ghost {
  background: transparent;
  color: var(--color-text-muted);
}

.btn--ghost:hover {
  background: var(--color-surface-2);
  color: var(--color-text);
}

.btn--lg {
  padding: var(--space-4) var(--space-8);
  font-size: var(--text-base);
  border-radius: var(--radius-lg);
}

.btn--sm {
  padding: var(--space-2) var(--space-4);
  font-size: var(--text-xs);
}

/* ========================
   HERO
   ======================== */
.hero {
  position: relative;
  padding-block: clamp(var(--space-16), 10vw, var(--space-32));
  overflow: hidden;
  background: linear-gradient(160deg, var(--color-primary-light) 0%, var(--color-bg) 40%, var(--color-accent-light) 100%);
}

.hero__content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 780px;
  margin-inline: auto;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-1) var(--space-4);
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-full);
  font-size: var(--text-xs);
  font-weight: 500;
  color: var(--color-text-muted);
  margin-bottom: var(--space-8);
}

.hero__badge-icon {
  color: var(--color-accent);
}

.hero__title {
  font-family: var(--font-display);
  font-size: var(--text-3xl);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--color-text);
  margin-bottom: var(--space-6);
  line-height: 1.08;
}

.hero__title em {
  font-style: italic;
  color: var(--color-accent);
}

.hero__subtitle {
  font-size: var(--text-lg);
  color: var(--color-text-muted);
  max-width: 580px;
  margin-inline: auto;
  margin-bottom: var(--space-10);
  line-height: 1.6;
}

.hero__ctas {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--space-4);
  margin-bottom: var(--space-12);
}

.hero__stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-8);
  max-width: 560px;
  margin-inline: auto;
  padding-top: var(--space-8);
  border-top: 1px solid var(--color-divider);
}

.hero__stat-value {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 700;
  color: var(--color-text);
}

.hero__stat-label {
  font-size: var(--text-xs);
  color: var(--color-text-muted);
  margin-top: var(--space-1);
}

/* ========================
   SECTION HEADERS
   ======================== */
.section-header {
  text-align: center;
  max-width: 640px;
  margin-inline: auto;
  margin-bottom: clamp(var(--space-10), 4vw, var(--space-16));
}

.section-label {
  display: inline-block;
  font-size: var(--text-xs);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--color-accent);
  margin-bottom: var(--space-3);
}

.section-title {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--color-text);
  margin-bottom: var(--space-4);
}

.section-desc {
  font-size: var(--text-base);
  color: var(--color-text-muted);
  line-height: 1.7;
}

/* ========================
   FEATURED BOOK (Shawn's — always top)
   ======================== */
.featured-book {
  background: var(--color-surface);
  border-radius: var(--radius-xl);
  border: 2px solid var(--color-accent);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  position: relative;
}

.featured-book::before {
  content: 'FEATURED AUTHOR';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  background: var(--color-accent);
  color: #fff;
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.1em;
  text-align: center;
  padding: var(--space-2) var(--space-4);
  z-index: 2;
}

.featured-book__inner {
  display: grid;
  grid-template-columns: 2fr 3fr;
  gap: 0;
  padding-top: var(--space-10);
}

.featured-book__cover {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-8);
  background: linear-gradient(135deg, var(--color-primary) 0%, #0f2037 100%);
  position: relative;
  min-height: 380px;
}

.featured-book__cover-art {
  width: 180px;
  height: 260px;
  background: linear-gradient(135deg, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0.02) 100%);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: var(--radius-sm);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: var(--space-4);
  text-align: center;
  color: #fff;
  box-shadow: 0 16px 48px rgba(0,0,0,0.4);
  transform: rotate(-2deg);
}

.featured-book__cover-title {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: var(--space-2);
}

.featured-book__cover-author {
  font-size: var(--text-xs);
  opacity: 0.7;
}

.featured-book__content {
  padding: var(--space-8) var(--space-10);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.featured-book__genre {
  font-size: var(--text-xs);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-accent);
  margin-bottom: var(--space-3);
}

.featured-book__title {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: var(--space-4);
  letter-spacing: -0.01em;
}

.featured-book__author-name {
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--color-text);
  margin-bottom: var(--space-4);
}

.featured-book__desc {
  font-size: var(--text-base);
  color: var(--color-text-muted);
  line-height: 1.7;
  margin-bottom: var(--space-6);
}

.featured-book__tags {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
  margin-bottom: var(--space-6);
}

.featured-book__tag {
  padding: var(--space-1) var(--space-3);
  background: var(--color-surface-2);
  border-radius: var(--radius-full);
  font-size: var(--text-xs);
  font-weight: 500;
  color: var(--color-text-muted);
}

.featured-book__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
}

/* ========================
   BOOK GRID
   ======================== */
.book-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: var(--space-6);
}

.book-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform var(--transition-interactive), box-shadow var(--transition-interactive);
}

.book-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}

.book-card--premium {
  border-color: var(--color-accent);
  border-width: 2px;
}

.book-card--open {
  border-style: dashed;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 380px;
  text-align: center;
  cursor: pointer;
  padding: var(--space-6);
}

.book-card--open:hover {
  border-color: var(--color-primary);
  background: var(--color-primary-light);
}

.book-card__cover {
  height: 200px;
  background: linear-gradient(135deg, var(--color-surface-2) 0%, var(--color-surface-offset) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.book-card__cover-placeholder {
  width: 90px;
  height: 130px;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-md);
  color: var(--color-text-faint);
}

.book-card__badge {
  position: absolute;
  top: var(--space-3);
  right: var(--space-3);
  padding: var(--space-1) var(--space-3);
  background: var(--color-accent);
  color: #fff;
  border-radius: var(--radius-full);
  font-size: var(--text-xs);
  font-weight: 700;
}

.book-card__info {
  padding: var(--space-5);
}

.book-card__genre {
  font-size: var(--text-xs);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-accent);
  margin-bottom: var(--space-2);
}

.book-card__title {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: var(--space-1);
}

.book-card__author {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  margin-bottom: var(--space-3);
}

.book-card__desc {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: 1.6;
  margin-bottom: var(--space-4);
}

.book-card__cta {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--color-primary);
  text-decoration: none;
}

.book-card__cta:hover {
  color: var(--color-primary-hover);
}

.book-card__cta svg {
  transition: transform var(--transition-interactive);
}

.book-card__cta:hover svg {
  transform: translateX(3px);
}

.open-spot__icon {
  width: 64px;
  height: 64px;
  border: 2px dashed var(--color-border);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-4);
  color: var(--color-text-faint);
}

.open-spot__title {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 700;
  color: var(--color-text-muted);
  margin-bottom: var(--space-2);
}

.open-spot__desc {
  font-size: var(--text-sm);
  color: var(--color-text-faint);
}

/* ========================
   FOR AUTHORS SECTION
   ======================== */
.author-benefits {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-6);
}

.benefit-card {
  padding: var(--space-8);
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  text-align: center;
}

.benefit-card__icon {
  width: 56px;
  height: 56px;
  background: var(--color-accent-light);
  color: var(--color-accent);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-inline: auto;
  margin-bottom: var(--space-4);
}

.benefit-card__title {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: var(--space-2);
}

.benefit-card__desc {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: 1.7;
}

/* ========================
   EMAIL CAPTURE
   ======================== */
.capture {
  background: linear-gradient(135deg, var(--color-primary) 0%, #0f2037 100%);
  color: #fff;
  border-radius: var(--radius-xl);
  padding: clamp(var(--space-10), 5vw, var(--space-16));
  text-align: center;
}

[data-theme="dark"] .capture {
  background: linear-gradient(135deg, #1e2d42 0%, #121110 100%);
  border: 1px solid var(--color-border);
}

.capture__title {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  font-weight: 700;
  margin-bottom: var(--space-4);
}

.capture__desc {
  font-size: var(--text-base);
  opacity: 0.9;
  max-width: 520px;
  margin-inline: auto;
  margin-bottom: var(--space-8);
  line-height: 1.7;
}

.capture__form {
  display: flex;
  max-width: 480px;
  margin-inline: auto;
  gap: var(--space-3);
}

.capture__input {
  flex: 1;
  padding: var(--space-3) var(--space-4);
  border: 2px solid rgba(255,255,255,0.2);
  border-radius: var(--radius-md);
  background: rgba(255,255,255,0.08);
  color: #fff;
  font-size: var(--text-sm);
}

.capture__input::placeholder {
  color: rgba(255,255,255,0.5);
}

.capture__input:focus {
  outline: none;
  border-color: var(--color-accent);
  background: rgba(255,255,255,0.12);
}

.capture__submit {
  padding: var(--space-3) var(--space-6);
  background: var(--color-accent);
  color: #fff;
  border: none;
  border-radius: var(--radius-md);
  font-weight: 700;
  font-size: var(--text-sm);
  cursor: pointer;
  white-space: nowrap;
}

.capture__submit:hover {
  background: var(--color-accent-hover);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(200,134,10,0.3);
}

.capture__privacy {
  font-size: var(--text-xs);
  opacity: 0.65;
  margin-top: var(--space-4);
}

/* ========================
   AUTHOR CTA
   ======================== */
.author-cta {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  overflow: hidden;
}

.author-cta__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
}

.author-cta__content {
  padding: clamp(var(--space-8), 4vw, var(--space-12));
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.author-cta__visual {
  background: linear-gradient(135deg, var(--color-accent-light) 0%, var(--color-primary-light) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-8);
  min-height: 320px;
}

.author-cta__visual-inner {
  text-align: center;
}

.author-cta__visual-icon {
  width: 80px;
  height: 80px;
  background: var(--color-surface);
  border-radius: var(--radius-xl);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-inline: auto;
  margin-bottom: var(--space-4);
  box-shadow: var(--shadow-lg);
  color: var(--color-accent);
}

.author-cta__visual-text {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--text-lg);
  color: var(--color-text);
  line-height: 1.3;
}

.author-cta__label {
  font-size: var(--text-xs);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-accent);
  margin-bottom: var(--space-3);
}

.author-cta__title {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: var(--space-4);
  letter-spacing: -0.01em;
}

.author-cta__desc {
  font-size: var(--text-base);
  color: var(--color-text-muted);
  line-height: 1.7;
  margin-bottom: var(--space-6);
}

.author-cta__benefits {
  list-style: none;
  padding: 0;
  margin-bottom: var(--space-8);
}

.author-cta__benefits li {
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
  padding-block: var(--space-2);
  font-size: var(--text-sm);
  color: var(--color-text-muted);
}

.author-cta__benefits li svg {
  flex-shrink: 0;
  color: var(--color-success);
  margin-top: 2px;
}

/* ========================
   FOOTER
   ======================== */
.footer {
  border-top: 1px solid var(--color-divider);
  padding-block: var(--space-10);
  color: var(--color-text-muted);
}

.footer__inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: var(--space-4);
}

.footer__brand {
  display: flex;
  align-items: center;
  gap: var(--space-3);
}

.footer__brand-text {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--text-sm);
  color: var(--color-text);
}

.footer__links {
  display: flex;
  gap: var(--space-6);
}

.footer__link {
  font-size: var(--text-xs);
  color: var(--color-text-muted);
  text-decoration: none;
}

.footer__link:hover {
  color: var(--color-text);
}

.footer__copy {
  width: 100%;
  text-align: center;
  font-size: var(--text-xs);
  margin-top: var(--space-6);
  padding-top: var(--space-6);
  border-top: 1px solid var(--color-divider);
}

.footer__copy a {
  color: var(--color-text-muted);
  text-decoration: none;
}

.footer__copy a:hover {
  color: var(--color-accent);
}

/* ========================
   RESPONSIVE
   ======================== */
@media (max-width: 768px) {
  .featured-book__inner {
    grid-template-columns: 1fr;
  }

  .featured-book__cover {
    min-height: 260px;
  }

  .featured-book__content {
    padding: var(--space-6);
  }

  .author-benefits {
    grid-template-columns: 1fr;
  }

  .book-grid {
    grid-template-columns: 1fr;
  }

  .author-cta__inner {
    grid-template-columns: 1fr;
  }

  .author-cta__visual {
    min-height: 200px;
    order: -1;
  }

  .capture__form {
    flex-direction: column;
  }

  .header__logo-text {
    font-size: var(--text-base);
  }

  .footer__inner {
    flex-direction: column;
    text-align: center;
  }

  .footer__links {
    flex-wrap: wrap;
    justify-content: center;
  }
}

/* ========================
   SCROLL ANIMATIONS
   ======================== */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1), transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

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

.reveal-stagger > * {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.5s cubic-bezier(0.16, 1, 0.3, 1), transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-stagger.visible > *:nth-child(1) { transition-delay: 0ms; }
.reveal-stagger.visible > *:nth-child(2) { transition-delay: 80ms; }
.reveal-stagger.visible > *:nth-child(3) { transition-delay: 160ms; }
.reveal-stagger.visible > *:nth-child(4) { transition-delay: 240ms; }
.reveal-stagger.visible > *:nth-child(5) { transition-delay: 320ms; }
.reveal-stagger.visible > *:nth-child(6) { transition-delay: 400ms; }

.reveal-stagger.visible > * {
  opacity: 1;
  transform: translateY(0);
}
