/* ============================================================
   Gozzie's Soccer Readers — Homepage
   ============================================================ */

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

:root {
  /* Palette — pulled from the book */
  --green-950: #061a09;
  --green-900: #0d3311;
  --green-800: #133f17;
  --green-700: #1b5e20;
  --green-600: #2e7d32;
  --green-500: #388e3c;
  --green-400: #6cb16f;
  --green-100: #d8e8d6;
  --green-50:  #eef5ec;
  --cream:     #fdfaf2;
  --cream-2:   #f5efe1;
  --paper:     #ffffff;
  --gold-500:  #fbc02d;
  --gold-600:  #f9a825;
  --gold-700:  #e58a00;
  --ink:       #14160f;
  --ink-soft:  #3a3e32;
  --ink-mute:  #6b6f63;
  --line:      rgba(0,0,0,.08);

  --r-sm: 8px;
  --r-md: 14px;
  --r-lg: 22px;
  --r-xl: 32px;

  --shadow-sm: 0 2px 8px rgba(0,0,0,.06);
  --shadow-md: 0 8px 24px rgba(0,0,0,.10);
  --shadow-lg: 0 28px 60px rgba(0,0,0,.18);

  --max: 1240px;
  --gut: clamp(1rem, 3vw, 2.5rem);
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Nunito', system-ui, -apple-system, 'Segoe UI', sans-serif;
  font-weight: 500;
  color: var(--ink);
  background: var(--cream);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -webkit-tap-highlight-color: transparent;
  overflow-x: hidden;
}

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

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0);
  white-space: nowrap; border: 0;
}

/* ============================================================
   Logo
   ============================================================ */
.logo {
  display: inline-flex;
  align-items: center;
  gap: .65rem;
  text-decoration: none;
  color: inherit;
  line-height: 1;
}
.logo-mark {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--gold-500);
  color: var(--green-900);
  display: grid;
  place-items: center;
  font-family: 'Newsreader', serif;
  font-weight: 700;
  font-size: 1.3rem;
  box-shadow: 0 2px 0 rgba(0,0,0,.08), inset 0 -2px 0 rgba(0,0,0,.1);
}
.logo-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.logo-name {
  font-family: 'Newsreader', serif;
  font-weight: 600;
  font-size: 1.15rem;
  letter-spacing: -.01em;
  color: var(--green-900);
}
.logo-sub {
  font-size: .68rem;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--green-700);
}

/* ============================================================
   Header
   ============================================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(253, 250, 242, .88);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
  padding: .85rem var(--gut);
  display: flex;
  align-items: center;
  gap: 1.25rem;
}
.site-nav {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin-left: auto;
}
.site-nav a {
  text-decoration: none;
  color: var(--ink-soft);
  font-weight: 700;
  font-size: .9rem;
  letter-spacing: -.005em;
  transition: color .15s;
  position: relative;
}
.site-nav a:hover { color: var(--green-700); }
.site-nav a::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: -6px;
  height: 2px;
  background: var(--gold-500);
  border-radius: 2px;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .2s;
}
.site-nav a:hover::after { transform: scaleX(1); }

.menu-toggle {
  display: none;
  background: none;
  border: 0;
  cursor: pointer;
  padding: .5rem;
  flex-direction: column;
  gap: 4px;
  margin-left: auto;
}
.menu-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--green-900);
  border-radius: 2px;
  transition: transform .2s, opacity .2s;
}
.menu-toggle.open span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.menu-toggle.open span:nth-child(2) { opacity: 0; }
.menu-toggle.open span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* ============================================================
   CTA buttons
   ============================================================ */
.cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .55rem;
  padding: .85rem 1.4rem;
  background: var(--green-700);
  color: #fff;
  border: 0;
  border-radius: 999px;
  font-family: inherit;
  font-weight: 800;
  font-size: .92rem;
  text-decoration: none;
  cursor: pointer;
  transition: background .15s, transform .12s, box-shadow .15s;
  box-shadow: 0 2px 0 rgba(0,0,0,.12);
  white-space: nowrap;
}
.cta:hover {
  background: var(--green-800);
  transform: translateY(-1px);
  box-shadow: 0 4px 0 rgba(0,0,0,.12);
}
.cta svg { width: 16px; height: 16px; }
.cta em { font-style: italic; font-family: 'Newsreader', serif; font-weight: 500; }

.cta--small {
  padding: .55rem 1rem;
  font-size: .85rem;
}

.cta--ghost {
  background: transparent;
  color: var(--green-800);
  box-shadow: inset 0 0 0 2px var(--green-800);
}
.cta--ghost:hover {
  background: var(--green-800);
  color: #fff;
}

/* ============================================================
   Hero
   ============================================================ */
.hero {
  position: relative;
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(2.5rem, 5vw, 5rem) var(--gut) clamp(3rem, 6vw, 6rem);
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
}

/* Faint pitch lines behind hero — only as ambient atmosphere */
.hero-pitch {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background:
    radial-gradient(ellipse 60% 50% at 80% 30%, rgba(46,125,50,.06), transparent 70%),
    radial-gradient(ellipse 50% 40% at 20% 80%, rgba(251,192,45,.10), transparent 70%);
}

.hero-content { position: relative; z-index: 1; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  font-size: .76rem;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--green-700);
  background: var(--green-50);
  border: 1px solid var(--green-100);
  padding: .45rem .85rem;
  border-radius: 999px;
  margin-bottom: 1.5rem;
}
.eyebrow-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--green-500);
  box-shadow: 0 0 0 4px rgba(46,125,50,.18);
}

.hero-title {
  font-family: 'Newsreader', serif;
  font-weight: 600;
  font-size: clamp(2.25rem, 5.5vw, 4.4rem);
  line-height: 1.02;
  letter-spacing: -.02em;
  color: var(--green-900);
  margin-bottom: 1.25rem;
  text-wrap: balance;
}
.hero-title em {
  font-style: italic;
  color: var(--green-700);
  font-weight: 500;
}

.hero-sub {
  font-size: clamp(1.05rem, 1.5vw, 1.2rem);
  color: var(--ink-soft);
  max-width: 36rem;
  margin-bottom: 2rem;
  text-wrap: pretty;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
  margin-bottom: 2.5rem;
}

.hero-stats {
  display: flex;
  gap: 2rem;
  list-style: none;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
}
.hero-stats li {
  display: flex;
  flex-direction: column;
}
.hero-stats strong {
  font-family: 'Newsreader', serif;
  font-weight: 600;
  font-size: 2rem;
  color: var(--green-800);
  line-height: 1;
}
.hero-stats span {
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--ink-mute);
  margin-top: .35rem;
}

/* Hero book mockup */
.hero-book {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 380px;
}
.hero-book-tilt {
  position: relative;
  width: min(420px, 90%);
  aspect-ratio: 1 / 1;
  transform: rotate(-3deg) translateY(0);
  transition: transform .8s cubic-bezier(.2, .8, .2, 1);
  animation: heroFloat 6s ease-in-out infinite alternate;
}
@keyframes heroFloat {
  from { transform: rotate(-3deg) translateY(0); }
  to   { transform: rotate(-2deg) translateY(-12px); }
}
.hero-book-cover {
  position: relative;
  z-index: 3;
  width: 100%;
  height: 100%;
  border-radius: 4px 12px 12px 4px;
  overflow: hidden;
  box-shadow:
    0 28px 60px rgba(13, 51, 17, .35),
    0 10px 18px rgba(13, 51, 17, .18),
    inset 16px 0 24px -14px rgba(0,0,0,.25);
}
.hero-book-cover img { width: 100%; height: 100%; object-fit: cover; }
.hero-book-spine {
  position: absolute;
  z-index: 2;
  top: 1.5%;
  bottom: 1.5%;
  left: -10px;
  width: 16px;
  background: linear-gradient(90deg, var(--green-800), var(--green-700));
  border-radius: 4px 0 0 4px;
  box-shadow: inset -2px 0 4px rgba(0,0,0,.3);
}
.hero-book-pages {
  position: absolute;
  z-index: 1;
  top: 2%;
  bottom: 2%;
  right: -6px;
  width: 8px;
  background:
    repeating-linear-gradient(0deg,
      var(--cream) 0px,
      var(--cream) 2px,
      var(--cream-2) 2px,
      var(--cream-2) 4px);
  border-radius: 0 4px 4px 0;
  box-shadow: inset -1px 0 2px rgba(0,0,0,.15);
}
.hero-book-shadow {
  position: absolute;
  z-index: 0;
  left: 8%;
  right: 8%;
  bottom: -3%;
  height: 30px;
  background: radial-gradient(ellipse, rgba(13,51,17,.35) 0%, transparent 70%);
  filter: blur(8px);
}

.hero-badge {
  position: absolute;
  top: 6%;
  right: 0;
  z-index: 4;
  background: var(--gold-500);
  color: var(--green-900);
  padding: .65rem .9rem .55rem 1.1rem;
  border-radius: 12px 12px 4px 12px;
  box-shadow: 0 8px 18px rgba(0,0,0,.18), inset 0 -2px 0 rgba(0,0,0,.1);
  display: flex;
  align-items: center;
  gap: .65rem;
  transform: rotate(6deg);
}
.hero-badge-num {
  font-family: 'Newsreader', serif;
  font-weight: 700;
  font-size: 1.8rem;
  line-height: 1;
}
.hero-badge-label {
  font-size: .65rem;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
  max-width: 70px;
  line-height: 1.15;
}

/* ============================================================
   Section scaffolding
   ============================================================ */
.section {
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(3rem, 7vw, 6rem) var(--gut);
}

.section--cream {
  max-width: none;
  background: var(--cream-2);
  padding-left: var(--gut);
  padding-right: var(--gut);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.section--cream > * { max-width: var(--max); margin-left: auto; margin-right: auto; }

.section-head {
  max-width: 44rem;
  margin: 0 auto 3rem;
  text-align: center;
}
.section-eyebrow {
  display: inline-block;
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--green-700);
  margin-bottom: .85rem;
}
.section-title {
  font-family: 'Newsreader', serif;
  font-weight: 600;
  font-size: clamp(1.8rem, 3.6vw, 2.85rem);
  line-height: 1.1;
  letter-spacing: -.015em;
  color: var(--green-900);
  text-wrap: balance;
}
.section-title em {
  font-style: italic;
  color: var(--green-700);
  font-weight: 500;
}
.section-lede {
  margin-top: 1rem;
  font-size: 1.08rem;
  color: var(--ink-soft);
  text-wrap: pretty;
}

/* ============================================================
   Featured book
   ============================================================ */
.featured {
  display: grid;
  grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr);
  gap: clamp(1.5rem, 4vw, 3.5rem);
  align-items: center;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  padding: clamp(1.5rem, 3vw, 2.5rem);
  box-shadow: var(--shadow-md);
  margin-bottom: 4rem;
}

.featured-cover {
  position: relative;
  display: block;
  aspect-ratio: 1 / 1;
  border-radius: var(--r-lg);
  overflow: hidden;
  text-decoration: none;
  transition: transform .25s;
  box-shadow: var(--shadow-md);
}
.featured-cover:hover { transform: translateY(-3px); }
.featured-cover img { width: 100%; height: 100%; object-fit: cover; }
.featured-play {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  background: rgba(13,51,17,.0);
  transition: background .25s;
  color: #fff;
}
.featured-play svg {
  width: 64px; height: 64px;
  background: rgba(13,51,17,.92);
  border-radius: 50%;
  padding: 18px 16px 18px 22px;
  transform: scale(.85);
  transition: transform .25s;
  box-shadow: 0 8px 24px rgba(0,0,0,.3);
}
.featured-cover:hover .featured-play { background: rgba(13,51,17,.18); }
.featured-cover:hover .featured-play svg { transform: scale(1); }

.featured-body { padding: clamp(.5rem, 2vw, 1rem) 0; }
.featured-tag {
  display: inline-block;
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--green-900);
  background: var(--gold-500);
  padding: .35rem .7rem;
  border-radius: 999px;
  margin-bottom: 1rem;
}
.featured-title {
  font-family: 'Newsreader', serif;
  font-weight: 600;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.05;
  letter-spacing: -.02em;
  color: var(--green-900);
  margin-bottom: 1rem;
}
.featured-desc {
  font-size: 1.08rem;
  color: var(--ink-soft);
  margin-bottom: 1.75rem;
  text-wrap: pretty;
}
.featured-meta {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin-bottom: 2rem;
  padding: 1rem 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.featured-meta dt {
  font-size: .68rem;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--ink-mute);
  margin-bottom: .25rem;
}
.featured-meta dd {
  font-size: .92rem;
  font-weight: 700;
  color: var(--green-900);
}
.featured-actions { display: flex; flex-wrap: wrap; gap: .75rem; }

/* ============================================================
   Library grid
   ============================================================ */
.library-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 1.25rem;
  gap: 1rem;
  flex-wrap: wrap;
}
.library-title {
  font-family: 'Newsreader', serif;
  font-weight: 600;
  font-size: 1.6rem;
  letter-spacing: -.015em;
  color: var(--green-900);
}
.library-count {
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--ink-mute);
}

.library {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: clamp(.75rem, 1.5vw, 1.25rem);
}

.book-card {
  position: relative;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  transition: transform .2s, box-shadow .2s, border-color .2s;
  cursor: default;
}
.book-card.is-available {
  cursor: pointer;
}
.book-card.is-available:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--green-500);
}
.book-card-cover {
  aspect-ratio: 1 / 1;
  position: relative;
  overflow: hidden;
  background: var(--cream-2);
}
.book-card-cover img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .4s;
}
.book-card.is-available:hover .book-card-cover img { transform: scale(1.04); }

/* Placeholder cover styling */
.book-card.is-upcoming .book-card-cover {
  background:
    radial-gradient(ellipse at 70% 30%, rgba(255,255,255,.6), transparent 60%),
    linear-gradient(135deg, var(--green-100) 0%, var(--cream-2) 100%);
  display: grid;
  place-items: center;
}
.book-card-placeholder {
  font-family: 'Newsreader', serif;
  font-weight: 600;
  font-size: 3.2rem;
  color: var(--green-700);
  opacity: .35;
  letter-spacing: -.03em;
}
.book-card-placeholder small {
  display: block;
  font-family: 'Nunito', sans-serif;
  font-weight: 800;
  font-size: .55rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  opacity: .9;
  margin-top: .25rem;
}

.book-card-body {
  padding: .9rem 1rem 1.1rem;
  display: flex;
  flex-direction: column;
  gap: .35rem;
  flex: 1;
}
.book-card-num {
  font-size: .68rem;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--ink-mute);
}
.book-card-title {
  font-family: 'Newsreader', serif;
  font-weight: 600;
  font-size: 1.08rem;
  letter-spacing: -.01em;
  color: var(--green-900);
  line-height: 1.2;
}
.book-card-status {
  margin-top: auto;
  padding-top: .4rem;
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .04em;
  display: inline-flex;
  align-items: center;
  gap: .35rem;
}
.book-card-status.is-available { color: var(--green-700); }
.book-card-status.is-upcoming  { color: var(--ink-mute); }
.book-card-status .pill {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: currentColor;
}

.book-card.is-available .book-card-cover::after {
  content: '';
  position: absolute;
  inset: auto 0 0 0;
  height: 40%;
  background: linear-gradient(0deg, rgba(13,51,17,.45), transparent);
  opacity: 0;
  transition: opacity .25s;
}
.book-card.is-available:hover .book-card-cover::after { opacity: 1; }
.book-card-cta {
  position: absolute;
  left: 50%;
  bottom: 12px;
  transform: translate(-50%, 12px);
  background: var(--gold-500);
  color: var(--green-900);
  font-size: .75rem;
  font-weight: 800;
  padding: .4rem .8rem;
  border-radius: 999px;
  opacity: 0;
  transition: opacity .2s, transform .25s;
  white-space: nowrap;
  box-shadow: 0 4px 10px rgba(0,0,0,.18);
}
.book-card.is-available:hover .book-card-cta {
  opacity: 1;
  transform: translate(-50%, 0);
}

/* ============================================================
   Steps (method)
   ============================================================ */
.steps {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1rem, 2.5vw, 2rem);
  margin-bottom: 3rem;
}
.steps li {
  position: relative;
  padding: 2rem 1.5rem 1.75rem;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-sm);
}
.step-num {
  display: inline-block;
  font-family: 'Newsreader', serif;
  font-weight: 600;
  font-size: 2.2rem;
  color: var(--gold-600);
  line-height: 1;
  letter-spacing: -.02em;
  margin-bottom: .9rem;
}
.steps h4 {
  font-family: 'Newsreader', serif;
  font-weight: 600;
  font-size: 1.3rem;
  letter-spacing: -.01em;
  color: var(--green-900);
  margin-bottom: .55rem;
}
.steps p {
  color: var(--ink-soft);
  font-size: .98rem;
  text-wrap: pretty;
}

.method-pull {
  max-width: 44rem;
  margin: 0 auto;
  text-align: center;
  padding: 2rem 1rem 0;
}
.method-pull p {
  font-family: 'Newsreader', serif;
  font-style: italic;
  font-weight: 500;
  font-size: clamp(1.2rem, 2.5vw, 1.8rem);
  line-height: 1.3;
  color: var(--green-900);
  text-wrap: balance;
  margin-bottom: 1rem;
}
.method-pull p::before { content: '“'; color: var(--gold-600); margin-right: -.2em; }
.method-pull p::after  { content: '”'; color: var(--gold-600); margin-left: -.2em; }
.method-pull footer {
  font-size: .82rem;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--ink-mute);
}

/* ============================================================
   Dual cards (teachers / parents)
   ============================================================ */
.dual {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(1rem, 2.5vw, 2rem);
}
.dual-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  padding: clamp(1.75rem, 3vw, 2.5rem);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.dual-eyebrow {
  display: inline-block;
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--green-700);
  align-self: flex-start;
  background: var(--green-50);
  padding: .35rem .7rem;
  border-radius: 999px;
}
.dual-card h3 {
  font-family: 'Newsreader', serif;
  font-weight: 600;
  font-size: clamp(1.4rem, 2.4vw, 1.85rem);
  letter-spacing: -.015em;
  color: var(--green-900);
  text-wrap: balance;
}
.dual-card p {
  color: var(--ink-soft);
  text-wrap: pretty;
}
.dual-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: .55rem;
  margin: .25rem 0 .25rem;
}
.dual-list li {
  position: relative;
  padding-left: 1.5rem;
  color: var(--ink-soft);
  font-size: .96rem;
}
.dual-list li::before {
  content: '';
  position: absolute;
  left: 0; top: .55em;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--gold-500);
}
.dual-card .cta--ghost { align-self: flex-start; margin-top: .5rem; }

/* ============================================================
   Companion product (Players Handbook)
   ============================================================ */
.companion {
  margin-top: 3rem;
  display: grid;
  grid-template-columns: minmax(0, .55fr) minmax(0, 1fr);
  gap: clamp(1.5rem, 4vw, 3.5rem);
  align-items: center;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  padding: clamp(1.5rem, 3vw, 2.5rem);
  box-shadow: var(--shadow-md);
  position: relative;
  overflow: hidden;
}
/* Gold corner ribbon to signal this isn't a regular reader */
.companion::before {
  content: 'Companion';
  position: absolute;
  top: 18px;
  right: -42px;
  transform: rotate(35deg);
  background: var(--gold-500);
  color: var(--green-900);
  font-size: .68rem;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
  padding: .35rem 3rem;
  box-shadow: 0 4px 10px rgba(0,0,0,.12);
}

.companion-cover {
  position: relative;
  aspect-ratio: 3 / 4;
  max-width: 320px;
  width: 100%;
  margin: 0 auto;
  border-radius: 4px 12px 12px 4px;
  overflow: visible;
}
.companion-cover-art {
  position: relative;
  z-index: 2;
  width: 100%;
  height: 100%;
  border-radius: 4px 12px 12px 4px;
  background:
    radial-gradient(ellipse at 30% 25%, rgba(255,255,255,.16), transparent 60%),
    linear-gradient(160deg, var(--green-800) 0%, var(--green-950) 100%);
  color: #fff;
  padding: 1.75rem 1.5rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow:
    0 22px 50px rgba(13, 51, 17, .32),
    inset 16px 0 24px -14px rgba(0,0,0,.45);
  border-left: 4px solid var(--gold-500);
}
.companion-cover-art::after {
  /* Subtle decorative line motif */
  content: '';
  position: absolute;
  inset: 1.5rem 1.25rem;
  border-top: 1px solid rgba(251,192,45,.35);
  border-bottom: 1px solid rgba(251,192,45,.35);
  pointer-events: none;
}
.companion-cover-label {
  font-family: 'Newsreader', serif;
  font-weight: 600;
  font-size: 2rem;
  line-height: 1;
  letter-spacing: -.015em;
  color: var(--gold-500);
}
.companion-cover-meta {
  font-size: .65rem;
  font-weight: 800;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: rgba(255,255,255,.55);
  line-height: 1.45;
}
.companion-pages {
  position: absolute;
  z-index: 1;
  top: 2%;
  bottom: 2%;
  right: -7px;
  width: 10px;
  background:
    repeating-linear-gradient(0deg,
      var(--cream) 0px,
      var(--cream) 2px,
      var(--cream-2) 2px,
      var(--cream-2) 4px);
  border-radius: 0 4px 4px 0;
  box-shadow: inset -1px 0 2px rgba(0,0,0,.15);
}

.companion-body { padding: .5rem 0; }
.companion-tag {
  display: inline-block;
  font-size: .68rem;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--green-700);
  background: var(--green-50);
  border: 1px solid var(--green-100);
  padding: .35rem .7rem;
  border-radius: 999px;
  margin-bottom: 1rem;
}
.companion-title {
  font-family: 'Newsreader', serif;
  font-weight: 600;
  font-size: clamp(1.75rem, 3.4vw, 2.4rem);
  line-height: 1.05;
  letter-spacing: -.015em;
  color: var(--green-900);
  margin-bottom: .85rem;
}
.companion-desc {
  font-size: 1.04rem;
  color: var(--ink-soft);
  margin-bottom: 1.5rem;
  text-wrap: pretty;
}
.companion-meta {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin-bottom: 1.5rem;
  padding: 1rem 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.companion-meta dt {
  font-size: .66rem;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--ink-mute);
  margin-bottom: .25rem;
}
.companion-meta dd {
  font-size: .92rem;
  font-weight: 700;
  color: var(--green-900);
}
.companion-actions { display: flex; flex-wrap: wrap; gap: .75rem; }

@media (max-width: 720px) {
  .companion { grid-template-columns: 1fr; }
  .companion-cover { max-width: 240px; }
  .companion-meta { grid-template-columns: 1fr 1fr; }
}

/* ============================================================
   Contact section
   ============================================================ */
.contact {
  background:
    radial-gradient(ellipse 60% 80% at 10% 50%, rgba(46,125,50,.5), transparent 70%),
    radial-gradient(ellipse 60% 80% at 100% 50%, rgba(251,192,45,.18), transparent 70%),
    linear-gradient(160deg, var(--green-800) 0%, var(--green-950) 100%);
  color: #fff;
  padding: clamp(3rem, 6vw, 5rem) var(--gut);
  border-top: 1px solid rgba(255,255,255,.06);
}
.contact-inner {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr);
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}
.contact-intro .section-eyebrow { color: var(--gold-500); }
.contact-title {
  font-family: 'Newsreader', serif;
  font-weight: 600;
  font-size: clamp(1.8rem, 3.4vw, 2.6rem);
  line-height: 1.1;
  letter-spacing: -.015em;
  margin: .5rem 0 .85rem;
  text-wrap: balance;
}
.contact-sub {
  color: rgba(255,255,255,.72);
  font-size: 1.05rem;
  max-width: 32rem;
  margin-bottom: 1.5rem;
  text-wrap: pretty;
}
.contact-points {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: .65rem;
}
.contact-points li {
  display: flex;
  align-items: center;
  gap: .75rem;
  color: rgba(255,255,255,.85);
  font-size: .95rem;
  font-weight: 600;
}
.contact-dot {
  flex-shrink: 0;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--gold-500);
  box-shadow: 0 0 0 4px rgba(251,192,45,.15);
}

.contact-form {
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.10);
  border-radius: var(--r-xl);
  padding: clamp(1.5rem, 3vw, 2.25rem);
  display: flex;
  flex-direction: column;
  gap: 1rem;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}
.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
.field {
  display: flex;
  flex-direction: column;
  gap: .4rem;
  min-width: 0;
}
.field-label {
  font-size: .76rem;
  font-weight: 800;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: rgba(255,255,255,.7);
}
.field-label em {
  font-style: normal;
  color: var(--gold-500);
  margin-left: 2px;
}
.field-hint {
  font-size: .7rem;
  font-weight: 700;
  text-transform: none;
  letter-spacing: 0;
  color: rgba(255,255,255,.45);
  margin-left: .25rem;
}
.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form select,
.contact-form textarea {
  width: 100%;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.14);
  color: #fff;
  padding: .85rem 1rem;
  border-radius: 10px;
  font-family: inherit;
  font-size: .98rem;
  font-weight: 600;
  outline: none;
  transition: border-color .15s, background .15s, box-shadow .15s;
  appearance: none;
  -webkit-appearance: none;
}
.contact-form textarea { resize: vertical; min-height: 120px; line-height: 1.5; }
.contact-form input::placeholder,
.contact-form textarea::placeholder { color: rgba(255,255,255,.4); }
.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  border-color: var(--gold-500);
  background: rgba(255,255,255,.12);
  box-shadow: 0 0 0 3px rgba(251,192,45,.18);
}
.contact-form select {
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fbc02d' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'><polyline points='6 9 12 15 18 9'/></svg>");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  background-size: 16px;
  padding-right: 2.5rem;
}
.contact-form select option {
  background: var(--green-900);
  color: #fff;
}
.field-check {
  flex-direction: row;
  align-items: center;
  gap: .65rem;
  font-size: .92rem;
  color: rgba(255,255,255,.78);
  font-weight: 600;
  cursor: pointer;
  padding: .25rem 0;
}
.field-check input[type="checkbox"] {
  appearance: none;
  -webkit-appearance: none;
  width: 20px;
  height: 20px;
  border: 1.5px solid rgba(255,255,255,.3);
  border-radius: 5px;
  background: rgba(255,255,255,.06);
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: background .15s, border-color .15s;
  flex-shrink: 0;
}
.field-check input[type="checkbox"]:checked {
  background: var(--gold-500);
  border-color: var(--gold-500);
}
.field-check input[type="checkbox"]:checked::after {
  content: '';
  width: 12px; height: 6px;
  border-left: 2px solid var(--green-900);
  border-bottom: 2px solid var(--green-900);
  transform: rotate(-45deg) translate(1px, -1px);
}

.contact-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: .5rem;
}
.contact-form .cta {
  background: var(--gold-500);
  color: var(--green-900);
}
.contact-form .cta:hover { background: var(--gold-600); }
.contact-msg {
  font-size: .88rem;
  color: var(--gold-500);
  font-weight: 700;
  min-height: 1.2rem;
}

/* ============================================================
   Footer
   ============================================================ */
.site-footer {
  background: var(--green-950);
  color: rgba(255,255,255,.7);
  padding: clamp(2.5rem, 5vw, 4rem) var(--gut) 1.5rem;
}
.footer-grid {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.6fr repeat(3, 1fr);
  gap: 2rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.footer-brand .logo { margin-bottom: 1rem; }
.footer-brand .logo-name { color: #fff; }
.footer-brand .logo-sub  { color: var(--green-400); }
.footer-brand p { font-size: .92rem; line-height: 1.6; }
.footer-brand strong { color: #fff; font-weight: 800; }

.footer-col h5 {
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--gold-500);
  margin-bottom: .85rem;
}
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: .5rem; }
.footer-col a {
  color: rgba(255,255,255,.72);
  text-decoration: none;
  font-size: .92rem;
  font-weight: 600;
  transition: color .15s;
}
.footer-col a:hover { color: #fff; }

.footer-bottom {
  max-width: var(--max);
  margin: 1.5rem auto 0;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  font-size: .82rem;
  color: rgba(255,255,255,.4);
  flex-wrap: wrap;
}

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 960px) {
  .hero { grid-template-columns: 1fr; gap: 2.5rem; }
  .hero-book { order: -1; min-height: 320px; }
  .hero-book-tilt { width: min(320px, 80%); }
  .featured { grid-template-columns: 1fr; }
  .featured-cover { max-width: 360px; margin: 0 auto; }
  .steps { grid-template-columns: 1fr; }
  .dual { grid-template-columns: 1fr; }
  .contact-inner { grid-template-columns: 1fr; gap: 1.5rem; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 720px) {
  .site-nav {
    position: fixed;
    inset: 60px 0 auto 0;
    background: var(--cream);
    border-bottom: 1px solid var(--line);
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    margin: 0;
    padding: 1rem var(--gut);
    transform: translateY(-110%);
    transition: transform .25s;
    box-shadow: var(--shadow-md);
  }
  .site-nav.open { transform: translateY(0); }
  .site-nav a {
    padding: .85rem 0;
    border-bottom: 1px solid var(--line);
    font-size: 1rem;
  }
  .site-nav a:last-child { border-bottom: 0; }
  .menu-toggle { display: flex; }
  .cta--small { display: none; }
  .hero-stats { gap: 1.25rem; flex-wrap: wrap; }
  .featured-meta { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 1.5rem; }
  .footer-bottom { flex-direction: column; gap: .5rem; }
  .field-row { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .hero-title { font-size: 2.25rem; }
  .featured-meta { grid-template-columns: 1fr; gap: .5rem; }
  .library { grid-template-columns: repeat(2, 1fr); gap: .75rem; }
  .book-card-body { padding: .7rem .8rem .9rem; }
  .book-card-title { font-size: .95rem; }
  .book-card-placeholder { font-size: 2.4rem; }
}
