/* ─── Design tokens ─── */
:root {
  --font-display: 'Caveat Brush', cursive; /* swap for custom font later */
  --font-body:    'Nunito', sans-serif;

  --bg:           #FFFDF7;
  --ink:          #2A2733;
  --ink-muted:    #4A4553;
  --ink-small:    #55505E;

  --red:          #C23B22;
  --red-text:     #A3311B;
  --stripe-red:   rgba(228, 85, 59, 0.85);

  --blue:         #2F6FA8;
  --blue-hover:   #1F4F7A;

  --sky:          #EAF3FA;
  --peach:        #FDF0EC;
  --butter:       #FCE9C8;
  --butter-text:  #7A4A00;

  --radius-card:  20px;
  --radius-pill:  999px;

  --max-w:        1200px;
  --max-w-narrow: 1040px;
  --pad-x:        24px;
}

/* ─── Reset ─── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
ul  { list-style: none; }

a {
  color: var(--blue);
  text-underline-offset: 2px;
}
a:hover { color: var(--blue-hover); }

/* ─── Focus ─── */
:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ─── Utilities ─── */
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

.container {
  width: 100%;
  max-width: var(--max-w);
  margin-inline: auto;
  padding-inline: var(--pad-x);
}
.container--narrow { max-width: var(--max-w-narrow); }

/* ─── Typography ─── */
.display-h2 {
  font-family: var(--font-display);
  font-size: clamp(2.25rem, 5vw, 3.5rem);
  line-height: 1.1;
  text-align: center;
  text-wrap: balance;
  color: var(--ink);
}
.display-h2--left { text-align: left; }

.display-h3 {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  line-height: 1.15;
  text-wrap: balance;
  color: var(--ink);
}

.eyebrow {
  font-size: 0.8125rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--blue);
}

.section-intro {
  font-size: 1.0625rem;
  color: var(--ink-muted);
  max-width: 560px;
  margin-inline: auto;
  text-align: center;
}

.small-print {
  font-size: 0.8125rem;
  color: var(--ink-small);
}

.required { color: var(--red-text); }

/* ─── Buttons ─── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.2;
  padding: 0.8em 1.6em;
  border-radius: var(--radius-pill);
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.15s, transform 0.1s;
  min-height: 44px;
  white-space: nowrap;
}
.btn-red          { background: var(--red); color: #fff; }
.btn-red:hover    { background: #a83220; color: #fff; }
.btn-red:active   { transform: scale(0.97); }
.btn-lg           { font-size: 1.125rem; padding: 0.9em 2em; }
.btn-full         { width: 100%; }

/* ─── Stripe ─── */
.stripe {
  width: 100%;
  height: 26px;
  background: var(--stripe-red);
}

/* ─── Fade-in ─── */
.fade-in {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}
.fade-in.visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .fade-in, .fade-in.visible { opacity: 1; transform: none; transition: none; }
}

/* ─────────────────────────────────────────
   HEADER
───────────────────────────────────────── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--bg);
  border-bottom: 1px solid rgba(42, 39, 51, 0.07);
  transition: box-shadow 0.2s;
}
.site-header.scrolled {
  box-shadow: 0 1px 12px rgba(42, 39, 51, 0.1);
}
.header-inner {
  max-width: var(--max-w);
  margin-inline: auto;
  padding-inline: var(--pad-x);
  padding-block: 0.875rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.wordmark {
  font-family: var(--font-display);
  font-size: 1.75rem;
  line-height: 1;
  color: var(--ink);
  text-decoration: none;
}
.wordmark em { font-style: normal; color: var(--red-text); }

/* ─────────────────────────────────────────
   HERO
───────────────────────────────────────── */
.hero {
  padding-top: 3.5rem;
  overflow: hidden;
}
.hero-inner {
  max-width: var(--max-w);
  margin-inline: auto;
  padding-inline: var(--pad-x);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.25rem;
}
.badge {
  display: inline-block;
  background: var(--butter);
  color: var(--butter-text);
  font-size: 0.8125rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.4em 1.25em;
  border-radius: var(--radius-pill);
}
.hero-title {
  font-family: var(--font-display);
  font-size: clamp(3.5rem, 9vw, 7rem);
  line-height: 1.0;
  color: var(--ink);
  text-wrap: balance;
}
.hero-title em {
  font-style: normal;
  color: var(--red-text);
}
.hero-sub {
  font-size: clamp(1rem, 2.5vw, 1.25rem);
  color: var(--ink-muted);
  max-width: 640px;
  line-height: 1.55;
}
.hero-image-wrap {
  width: 100%;
  max-width: var(--max-w);
  margin-inline: auto;
  padding-inline: var(--pad-x);
  margin-top: 0.5rem;
}
.hero-img {
  width: 100%;
  height: auto;
  mix-blend-mode: multiply;
}
.hero-cta-wrap {
  padding: 1.75rem var(--pad-x) 3rem;
  text-align: center;
}

/* ─────────────────────────────────────────
   TODAY'S CATCH
───────────────────────────────────────── */
.catch-section { padding-block: 4rem; }

.section-header {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 2.5rem;
}

.catch-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  margin-bottom: 2rem;
}
@media (min-width: 1024px) {
  .catch-grid { grid-template-columns: repeat(4, 1fr); }
}

.catch-card {
  border-radius: var(--radius-card);
  overflow: hidden;
  background: #fff;
  box-shadow: 0 2px 14px rgba(42, 39, 51, 0.08);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
@media (hover: hover) {
  .catch-card:focus-within,
  .catch-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 6px 24px rgba(42, 39, 51, 0.13);
  }
}
@media (prefers-reduced-motion: reduce) {
  .catch-card { transition: none; }
  .catch-card:hover { transform: none; box-shadow: 0 2px 14px rgba(42, 39, 51, 0.08); }
}

.catch-img-wrap {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: #fff;
}
.catch-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.catch-img-wrap--multiply {
  background: var(--bg);
}
.catch-img-wrap--multiply img {
  mix-blend-mode: multiply;
}

.catch-card figcaption {
  padding: 0.875rem 1.125rem 1.125rem;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}
.catch-location {
  font-size: 0.8125rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--blue);
}
.catch-caption {
  font-family: var(--font-display);
  font-size: 1.375rem;
  line-height: 1.2;
  color: var(--ink);
}

/* "One that got away" panel */
.got-away-panel {
  background: var(--peach);
  border-radius: var(--radius-card);
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 2rem;
  padding: 2.5rem 2rem;
  overflow: hidden;
}
.got-away-img img {
  width: 100%;
  height: auto;
  border-radius: 14px;
  mix-blend-mode: multiply;
}
.got-away-text {
  display: flex;
  flex-direction: column;
  gap: 0.875rem;
}
.got-away-text p:last-child { color: var(--ink-muted); }

/* ─────────────────────────────────────────
   FOR THE GROWN-UPS
───────────────────────────────────────── */
.grownups-section { padding-block: 4rem; }

.grownups-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 3.5rem;
}
.grownups-image img {
  width: 100%;
  height: auto;
  border-radius: var(--radius-card);
  box-shadow: 0 4px 28px rgba(42, 39, 51, 0.12);
}
.grownups-text {
  display: flex;
  flex-direction: column;
  gap: 1.125rem;
}
.grownups-text > p { color: var(--ink-muted); font-size: 1.0625rem; }

.book-checklist {
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
  margin-top: 0.25rem;
}
.book-checklist li {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  font-weight: 600;
  font-size: 0.9375rem;
  color: var(--ink);
}
.check-icon { width: 20px; height: 20px; flex-shrink: 0; }

/* ─────────────────────────────────────────
   SIGNUP
───────────────────────────────────────── */
.signup-section {
  background: var(--sky);
  padding-block: 4.5rem;
}
.signup-container {
  max-width: var(--max-w-narrow);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}
.signup-text {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.signup-text > p { color: var(--ink-muted); font-size: 1.0625rem; }

.signup-card {
  background: #fff;
  border-radius: var(--radius-card);
  padding: 2rem;
  box-shadow: 0 2px 20px rgba(42, 39, 51, 0.08);
}

.form-fields {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.form-field {
  display: flex;
  flex-direction: column;
  gap: 0.375rem;
}
.form-field label {
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--ink);
}
.form-field input {
  height: 48px;
  padding-inline: 1rem;
  border: 1.5px solid rgba(42, 39, 51, 0.2);
  border-radius: 10px;
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--ink);
  background: var(--bg);
  transition: border-color 0.15s, box-shadow 0.15s;
}
.form-field input:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(47, 111, 168, 0.15);
}
.form-field input::placeholder { color: rgba(42, 39, 51, 0.35); }
.form-field input:invalid:not(:placeholder-shown) { border-color: var(--red); }

/* ─────────────────────────────────────────
   MEET THE MAKERS
───────────────────────────────────────── */
.makers-section {
  background: var(--butter);
  padding-block: 4rem;
}
.makers-section .display-h2 { margin-bottom: 2.5rem; }

.makers-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
}
.maker-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.625rem;
}
.maker-photo {
  width: 104px;
  height: 104px;
  border-radius: 50%;
  background: var(--bg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--butter-text);
  border: 2px dashed rgba(122, 74, 0, 0.3);
  margin-bottom: 0.5rem;
}
.maker-name {
  font-family: var(--font-display);
  font-size: 1.625rem;
  line-height: 1.1;
  color: var(--ink);
}
.maker-bio {
  font-size: 0.9375rem;
  color: var(--ink-muted);
  max-width: 320px;
}

/* ─────────────────────────────────────────
   CONTACT
───────────────────────────────────────── */
.contact-section { padding-block: 4rem; }
.contact-form    { margin-top: 0.5rem; }

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  margin-top: 2rem;
}
.contact-field {
  display: flex;
  flex-direction: column;
  gap: 0.375rem;
}
.contact-field label {
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--ink);
}
.contact-field input,
.contact-field textarea {
  padding: 0.75rem 1rem;
  border: 1.5px solid rgba(42, 39, 51, 0.2);
  border-radius: 10px;
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--ink);
  background: var(--bg);
  transition: border-color 0.15s, box-shadow 0.15s;
  min-height: 48px;
}
.contact-field input:focus,
.contact-field textarea:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(47, 111, 168, 0.15);
}
.contact-field textarea { resize: vertical; min-height: 120px; }
.contact-field--full { grid-column: 1 / -1; }

/* ─────────────────────────────────────────
   FORM FEEDBACK
───────────────────────────────────────── */
.form-error {
  margin-top: 0.75rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: #c0392b;
}
.form-success {
  margin-top: 0.875rem;
  font-size: 0.9375rem;
  font-weight: 600;
  color: #1f6b3d;
  background: #eef8f2;
  padding: 0.875rem 1rem;
  border-radius: 10px;
}

/* ─────────────────────────────────────────
   FOOTER
───────────────────────────────────────── */
.site-footer { background: var(--ink); }

.footer-inner {
  max-width: var(--max-w);
  margin-inline: auto;
  padding: 2rem var(--pad-x);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.875rem 1.5rem;
}
.footer-wordmark {
  font-family: var(--font-display);
  font-size: 1.5rem;
  line-height: 1;
  color: #fff;
}
.footer-wordmark em { font-style: normal; color: rgba(255, 180, 160, 0.9); }

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 1.5rem;
}
.footer-nav a {
  color: rgba(255,255,255,0.7);
  text-decoration: none;
  font-size: 0.9375rem;
  transition: color 0.15s;
}
.footer-nav a:hover { color: #fff; }
.footer-copy {
  font-size: 0.8125rem;
  color: rgba(255,255,255,0.45);
  width: 100%;
}

/* ─────────────────────────────────────────
   RESPONSIVE — 900px
───────────────────────────────────────── */
@media (max-width: 900px) {
  .got-away-panel   { grid-template-columns: 1fr; padding: 1.75rem; }
  .grownups-inner   { grid-template-columns: 1fr; gap: 2rem; }
  .signup-container { grid-template-columns: 1fr; gap: 2rem; }
  .makers-grid      { grid-template-columns: 1fr; gap: 2rem; }
  .display-h2--left { text-align: center; }
}

/* ─────────────────────────────────────────
   RESPONSIVE — 600px (phone)
───────────────────────────────────────── */
@media (max-width: 600px) {
  :root { --pad-x: 16px; }

  .hero            { padding-top: 2rem; }
  .hero-image-wrap { padding-inline: 0; }
  .hero-cta-wrap   { padding-bottom: 2.5rem; }

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

  .got-away-panel  { padding: 1.25rem; }
  .got-away-img img { border-radius: 10px; }

  .signup-card { padding: 1.5rem; }

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

  .footer-inner { flex-direction: column; align-items: flex-start; }
  .footer-copy  { margin-top: 0.25rem; }
}
