/* =========================================================
   FlameMallow — cozy editorial styles
   A cozy AI brand built by a mom and her 8-year-old co-founder.
   ========================================================= */

:root {
  /* Colors — palette pulled from the cozy peach-to-cream ombre reference */
  --bg-peach:     #FAF1DE;                       /* top of page ombre — Mochi's cream (match mascot bg) */
  --bg-mid:       #F4E3CC;                       /* upper-mid ombre — soft peach */
  --bg-mid2:      #F8E8D3;                       /* mid-low ombre */
  --bg-cream:     #FBF4E6;                       /* bottom ombre — warm cream */
  --bg:           #FAF6ED;                       /* solid fallback */
  --bg-soft:      #F5E5CC;                       /* card surface — warm cream, slightly tinted (no white) */
  --bg-tint:      #F4E1CE;                       /* tinted section (peach) */
  --ink:          #3A2A1F;                       /* deep warm brown — headings */
  --ink-soft:     #5A4234;                       /* body warm brown */
  --ink-mute:     #8A6F5C;                       /* muted captions */
  --accent:       #CDA889;                       /* lighter warm taupe — buttons / CTA */
  --accent-dark:  #B08A6B;                       /* button hover (previous accent) */
  --accent-soft:  #E8D2BB;                       /* dusty peach — chips, soft fills */
  --flame:        #E07A4D;                       /* warm flame accent — sparingly */
  --sage:         #A8B59A;                       /* muted botanical sage */
  --border:       #E8D2BB;                       /* warm peach hairline */
  --border-soft:  #F0DCC6;                       /* softer hairline */

  --shadow-sm:    0 1px 2px rgba(90, 66, 52, 0.06), 0 2px 6px rgba(90, 66, 52, 0.04);
  --shadow-md:    0 6px 18px rgba(90, 66, 52, 0.08), 0 2px 6px rgba(90, 66, 52, 0.05);
  --shadow-lift:  0 14px 30px rgba(90, 66, 52, 0.12), 0 4px 10px rgba(90, 66, 52, 0.06);

  /* Type */
  --font-serif:  "Fraunces", "DM Serif Display", Georgia, serif;
  --font-sans:   "Nunito Sans", "DM Sans", system-ui, -apple-system, sans-serif;
  --font-hand:   "Caveat", "Comic Sans MS", cursive;

  --text-xs:  clamp(0.95rem, 0.9rem + 0.3vw, 1.05rem);
  --text-sm:  clamp(1.05rem, 1rem + 0.35vw, 1.15rem);
  --text-base: clamp(1.225rem, 1.15rem + 0.4vw, 1.32rem);
  --text-md:  clamp(1.225rem, 1.15rem + 0.4vw, 1.32rem);
  --text-lg:  clamp(1.35rem, 1.25rem + 0.55vw, 1.5rem);
  --text-xl:  clamp(1.65rem, 1.4rem + 1vw, 1.95rem);
  --text-2xl: clamp(2.05rem, 1.7rem + 1.6vw, 2.65rem);
  --text-3xl: clamp(2.4rem, 1.9rem + 2.2vw, 3.6rem);
  --text-hero: clamp(3rem, 2.4rem + 3.5vw, 5rem);

  /* Layout */
  --section-pad: clamp(4rem, 6vw + 2rem, 8rem);
  --maxw:        1180px;
  --maxw-prose:  65ch;
  --radius:      14px;
  --radius-lg:   20px;
}

/* Reset */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; min-height: 100%; }
body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: var(--text-base);
  line-height: 1.75;
  color: var(--ink-soft);
  /* Solid cream as the safety net — if the gradient ever stops, the page stays cream, never white. */
  background-color: var(--bg-cream);
  /* Vertical ombre: soft peach top → mid → warm cream. The gradient ends at 900px so longer pages
     fade into the solid cream background-color rather than ever showing white. */
  /* Soft ombre from Mochi cream at top, through warm peach mid, to cream bottom.
     Uses background-attachment: fixed so the ombre fills any page length without ever showing white. */
  background-image: linear-gradient(180deg,
      #FAF1DE   0%,
      #FAF1DE   25%,
      #F6E6CF   55%,
      #FBF4E6   100%);
  background-attachment: fixed;
  background-repeat: no-repeat;
  background-position: top center;
  background-size: 100% 100%;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

/* Defensive: nothing in the page should ever paint pure white. */
html { background-color: var(--bg-cream); }

img { max-width: 100%; height: auto; display: block; }
button { font: inherit; cursor: pointer; }
a { color: inherit; text-decoration: none; }

/* Typography ============================================= */
h1, h2, h3, h4 {
  font-family: var(--font-serif);
  font-weight: 500;
  letter-spacing: -0.01em;
  line-height: 1.1;
  margin: 0;
  color: var(--ink);
}
h1 { font-size: var(--text-hero); font-weight: 400; letter-spacing: -0.025em; line-height: 1.02; }
h2 { font-size: var(--text-3xl); font-weight: 400; line-height: 1.08; }
h3 { font-size: var(--text-xl); font-weight: 500; }
h4 { font-size: var(--text-lg); font-weight: 600; }

p { margin: 0 0 1em; }
em { font-style: italic; }

.eyebrow {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: var(--text-sm);
  color: var(--accent);
  letter-spacing: 0.02em;
  margin: 0;
}

.label {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: var(--text-sm);
  color: var(--accent);
}

.hand {
  font-family: var(--font-hand);
  font-weight: 500;
  color: var(--ink-soft);
}

.pullquote {
  font-family: var(--font-hand);
  font-size: clamp(1.7rem, 1.2rem + 2vw, 2.6rem);
  line-height: 1.25;
  color: var(--accent);
  margin: 2.5rem 0;
  padding-left: 1.5rem;
  border-left: 3px solid var(--accent-soft);
}

.muted { color: var(--ink-mute); }

/* Layout ================================================= */
.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 clamp(1.25rem, 4vw, 2rem); }
.prose { max-width: var(--maxw-prose); }
.section { padding: var(--section-pad) 0; }
.section--tight { padding: clamp(3rem, 5vw, 5rem) 0; }
/* Section variants: removed solid backgrounds so the page-wide ombre/cream shows through.
   We keep the classes for compatibility, but they no longer override the body color. */
.section--soft { background: transparent; }
.section--tint { background: transparent; }

.divider {
  height: 1px;
  background: linear-gradient(to right, transparent, var(--border), transparent);
  margin: 0;
}

/* Header ================================================= */
.site-header {
  position: sticky; top: 0; z-index: 50;
  backdrop-filter: blur(10px);
  background: rgba(248, 237, 225, 0.75);
  border-bottom: 1px solid transparent;
  transition: border-color .25s ease, box-shadow .25s ease;
}
.site-header.is-scrolled {
  border-bottom-color: var(--border-soft);
  box-shadow: var(--shadow-sm);
}
.site-header .wrap {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1.25rem;
  padding-top: 1rem; padding-bottom: 1rem;
}
.brand {
  display: inline-flex; align-items: center; gap: 0.6rem;
  font-family: var(--font-serif);
  font-size: 1.35rem; font-weight: 500;
  color: var(--ink);
  letter-spacing: -0.01em;
}
.brand .logo-mark {
  width: 38px; height: 38px;
  display: inline-grid; place-items: center;
  color: var(--ink);
  flex-shrink: 0;
}
.brand .logo-mark svg,
.brand .logo-mark img { width: 100%; height: 100%; object-fit: contain; }
.brand .wordmark { display: inline-flex; flex-direction: column; line-height: 1.05; }
.brand .wordmark-name { font-family: var(--font-serif); font-size: 1.35rem; font-weight: 500; letter-spacing: -0.01em; }
.brand .wordmark-tagline {
  font-family: var(--font-sans);
  font-size: 0.66rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  margin-top: 2px;
}

/* Badge logo variant — circular FlameMallow badge replaces icon + wordmark.
   The badge already contains the FlameMallow name; only the tagline shows beside it. */
.brand--badge { gap: 0.75rem; }
.brand--badge .logo-badge {
  display: inline-grid; place-items: center;
  flex-shrink: 0;
  border-radius: 50%;
  overflow: hidden;
  background: transparent;
}
.brand--badge .logo-badge img {
  width: 100%; height: 100%; object-fit: cover; display: block;
  border-radius: 50%;
}
/* Header: prominent badge so the logo reads clearly */
.site-header .brand--badge .logo-badge { width: 120px; height: 120px; }
/* Footer: medium badge */
.site-footer .brand--badge .logo-badge { width: 80px; height: 80px; }
@media (max-width: 600px) {
  .site-header .brand--badge .logo-badge { width: 104px; height: 104px; }
  .site-footer .brand--badge .logo-badge { width: 68px; height: 68px; }
}

.wordmark--badge {
  display: inline-flex; align-items: center;
  line-height: 1;
}
.wordmark--badge .wordmark-tagline {
  margin-top: 0;
  font-size: 0.7rem;
  letter-spacing: 0.22em;
}
@media (max-width: 480px) {
  /* On narrow phones, hide the tagline beside the badge to avoid wrapping */
  .site-header .wordmark--badge { display: none; }
}

.nav { display: flex; align-items: center; gap: clamp(0.75rem, 2vw, 1.6rem); }
.nav a {
  font-size: var(--text-sm);
  color: var(--ink-soft);
  letter-spacing: 0.01em;
  padding: 0.35rem 0.1rem;
  transition: color .2s ease;
  position: relative;
}
.nav a:hover { color: var(--ink); }
.nav a.active { color: var(--ink); }
.nav a.active::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -4px;
  height: 2px; background: var(--accent); border-radius: 2px;
}

.nav-toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 0.45rem 0.85rem;
  font-size: var(--text-sm);
  color: var(--ink);
}

@media (max-width: 720px) {
  .nav { display: none; }
  .nav.is-open {
    display: flex; flex-direction: column;
    position: absolute; left: 0; right: 0; top: 100%;
    background: var(--bg);
    border-bottom: 1px solid var(--border-soft);
    padding: 1rem 1.5rem 1.5rem;
    gap: 0.75rem;
  }
  .nav-toggle { display: inline-flex; }
}

/* Buttons ================================================ */
.btn {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-family: var(--font-sans);
  font-size: var(--text-sm);
  font-weight: 600;
  padding: 0.85rem 1.4rem;
  border-radius: 999px;
  border: 1px solid transparent;
  transition: transform .2s ease, background .2s ease, box-shadow .2s ease, color .2s ease;
  line-height: 1;
}
.btn-primary {
  background: var(--accent);
  color: #FFF8EE;
  letter-spacing: 0.04em;
  box-shadow: 0 4px 14px rgba(142, 107, 78, 0.22);
}
.btn-primary:hover {
  background: var(--accent-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(142, 107, 78, 0.28);
}
.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--border);
}
.btn-ghost:hover { background: var(--bg-soft); transform: translateY(-2px); }
.btn-quiet {
  background: var(--bg-soft);
  color: var(--ink);
  border-color: var(--border-soft);
}
.btn-quiet:hover { background: var(--bg-tint); }

.arrow { display: inline-block; transition: transform .2s ease; }
.btn:hover .arrow, a.inline-link:hover .arrow { transform: translateX(3px); }

a.inline-link {
  color: var(--accent);
  font-weight: 600;
  border-bottom: 1px solid transparent;
  padding-bottom: 1px;
  transition: border-color .2s ease;
}
a.inline-link:hover { border-color: var(--accent); }

/* Hero =================================================== */
.hero {
  padding-top: clamp(3rem, 6vw, 5rem);
  padding-bottom: clamp(3rem, 6vw, 5rem);
  position: relative;
  overflow: hidden;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}
.hero-copy h1 { margin: 0.75rem 0 1.25rem; }
.hero-sub {
  font-size: var(--text-lg);
  max-width: 50ch;
  color: var(--ink-soft);
  margin-bottom: 2rem;
}
.hero-ctas { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-bottom: 1.5rem; }
.hero-caption {
  font-family: var(--font-hand);
  font-size: 1.25rem;
  color: var(--ink-mute);
  margin-top: 1rem;
}

.hero-art {
  position: relative;
  border-radius: var(--radius-lg);
  background:
    radial-gradient(at 30% 30%, #FAF1DE 0%, transparent 60%),
    var(--bg-soft);
  border: 1px solid var(--border-soft);
  padding: 1.5rem;
  box-shadow: var(--shadow-md);
}
.hero-art img { display: block; width: 100%; }

@media (max-width: 820px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-art { order: -1; max-width: 480px; margin: 0 auto; }
}

/* Section headers ======================================== */
.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1.5rem;
  margin-bottom: 2.5rem;
  flex-wrap: wrap;
}
.section-head h2 { max-width: 22ch; }
.section-head p { color: var(--ink-soft); max-width: 50ch; margin: 0; }
/* When a section-head is centered, let the H2 use full width and remove flex misalignment */
.section-head[style*="text-align:center"],
.section-head[style*="text-align: center"] {
  display: block !important;
}
.section-head[style*="text-align:center"] h2,
.section-head[style*="text-align: center"] h2 {
  max-width: none;
  margin-left: auto;
  margin-right: auto;
}
.section-head[style*="text-align:center"] p,
.section-head[style*="text-align: center"] p {
  margin-left: auto;
  margin-right: auto;
}

/* Card grid ============================================== */
.grid { display: grid; gap: clamp(1.25rem, 2vw, 1.75rem); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 920px) { .grid-4 { grid-template-columns: repeat(2, 1fr); } .grid-3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }

.card {
  background: var(--bg-soft);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius);
  padding: 1.25rem;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
  display: flex; flex-direction: column;
  position: relative;
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lift);
  border-color: var(--border);
}
.card-media {
  background: var(--bg-cream);
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 1rem;
  aspect-ratio: 4 / 3;
  display: grid; place-items: center;
  border: 1px solid var(--border-soft);
}
/* All card art is pre-padded onto cream canvases, so use contain to avoid any crop */
.card-media img {
  width: 100%; height: 100%; object-fit: contain;
  display: block;
}
.card-media.is-tall { aspect-ratio: 1 / 1; }
.card-media.is-tall img { object-fit: contain; }
.card h3 { font-size: var(--text-lg); font-family: var(--font-serif); font-weight: 500; margin-bottom: 0.35rem; }
.card .card-meta {
  font-family: var(--font-serif); font-style: italic;
  font-size: var(--text-sm); color: var(--accent);
  margin-bottom: 0.35rem;
}
.card .card-desc { color: var(--ink-soft); font-size: var(--text-sm); margin: 0 0 1rem; }
.card .card-price { color: var(--ink); font-weight: 700; font-size: var(--text-sm); }
.card .card-cta {
  margin-top: auto;
  padding-top: 0.75rem;
}

.badge {
  display: inline-block;
  align-self: flex-start;
  width: auto;
  max-width: max-content;
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  background: var(--accent-soft);
  color: var(--ink);
  border-radius: 999px;
  padding: 0.4rem 0.9rem;
  font-weight: 600;
  margin-top: 0.5rem;
  margin-bottom: 1.25rem;
}
.badge.free { background: #D9E4CC; color: #4A5A3C; }
/* Generous space between badge and the heading that follows */
.badge + h3 { margin-top: 0.6rem; }
/* Generous space between heading and description */
.card h3 + .card-meta,
.card h3 + .card-desc { margin-top: 0.45rem; }

/* Feature/Cozy chapter ==================================== */
.chapter {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
  background: var(--bg-soft);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-lg);
  padding: clamp(1.5rem, 3vw, 3rem);
  box-shadow: var(--shadow-sm);
}
.chapter-art {
  background: #FAF1DE;
  border-radius: var(--radius);
  border: 1px solid var(--border-soft);
  padding: 1rem;
}
.chapter-art img { width: 100%; }
@media (max-width: 820px) { .chapter { grid-template-columns: 1fr; } }

/* Polaroid sketches ====================================== */
/* Single big column — each sketch is a full-width card, no cropping, real photo size. */
.polaroids {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(2rem, 5vw, 3.5rem);
  margin-top: 2.5rem;
  max-width: 720px;
  margin-inline: auto;
}
.polaroid {
  background: #FAF1DE;
  padding: 18px 18px 6px;
  border-radius: 6px;
  box-shadow: 0 16px 32px rgba(110, 70, 55, 0.14), 0 3px 8px rgba(110, 70, 55, 0.08);
  transition: transform .3s ease;
}
.polaroid:nth-child(1) { transform: rotate(-1.5deg); }
.polaroid:nth-child(2) { transform: rotate(1deg); }
.polaroid:nth-child(3) { transform: rotate(-0.8deg); }
.polaroid:nth-child(4) { transform: rotate(1.2deg); }
.polaroid:hover { transform: rotate(0) translateY(-4px); }
.polaroid img {
  width: 100%;
  height: auto;
  border-radius: 2px;
  display: block;
  /* show the full photo — no cropping */
  object-fit: contain;
}
.polaroid figcaption {
  font-family: var(--font-hand);
  font-size: 1.25rem;
  color: var(--ink-soft);
  text-align: center;
  padding: 0.9rem 0.5rem 0.6rem;
  line-height: 1.3;
}
.polaroid--featured { /* same single-column treatment */ }

/* Mobile — still one big card per row, captions kept */
@media (max-width: 600px) {
  .polaroids { gap: 1.75rem; max-width: 100%; }
  .polaroid { padding: 12px 12px 4px; }
  .polaroid figcaption { font-size: 1.1rem; padding: 0.7rem 0.3rem 0.5rem; }
}

/* Story article ========================================== */
.article {
  max-width: 68ch;
  margin: 0 auto;
}
.article h2 {
  font-size: var(--text-2xl);
  margin: 3rem 0 1rem;
  font-weight: 400;
}
.article p { font-size: 1.075rem; line-height: 1.75; color: var(--ink-soft); }
.article p strong { color: var(--ink); font-weight: 700; }
.article ul { padding-left: 1.25rem; color: var(--ink-soft); line-height: 1.75; }
.article ul li { margin: 0.5rem 0; }
.article .sketch-block {
  max-width: none;
  margin: 4rem 0;
}

/* Log entries ============================================= */
.log-entry {
  border-top: 1px solid var(--border);
  padding: 3rem 0;
}
.log-entry:first-of-type { border-top: 0; padding-top: 0; }
.log-entry .meta {
  font-family: var(--font-serif); font-style: italic;
  color: var(--accent);
  margin-bottom: 0.5rem;
}
.log-entry h3 { font-size: var(--text-2xl); font-weight: 400; margin-bottom: 1.25rem; }
.log-entry p { color: var(--ink-soft); line-height: 1.75; }

/* Guides list ============================================= */
.guide-card {
  background: var(--bg);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius);
  padding: 1.5rem;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.guide-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: var(--border); }
.guide-card .cat {
  font-family: var(--font-serif); font-style: italic;
  font-size: var(--text-sm); color: var(--accent);
  margin-bottom: 0.4rem;
}
.guide-card h3 { font-size: var(--text-lg); margin-bottom: 0.4rem; font-weight: 500; }
.guide-card p { font-size: var(--text-sm); color: var(--ink-soft); margin: 0; }

/* Email signup =========================================== */
.signup {
  background: var(--bg-soft);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-lg);
  padding: clamp(2rem, 4vw, 3.5rem);
  text-align: center;
}
.signup h2 { max-width: 22ch; margin: 0 auto 0.75rem; font-size: var(--text-2xl); }
.signup p { color: var(--ink-soft); max-width: 50ch; margin: 0 auto 1.75rem; }
.signup form {
  display: flex; gap: 0.6rem;
  max-width: 480px; margin: 0 auto;
  flex-wrap: wrap; justify-content: center;
}
.signup input {
  flex: 1 1 240px;
  padding: 0.85rem 1.1rem;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--bg);
  font: inherit;
  color: var(--ink);
}
.signup input:focus { outline: 2px solid var(--accent-soft); outline-offset: 1px; }
.signup .hand-note {
  display: block;
  margin-top: 1rem;
  font-family: var(--font-hand);
  color: var(--ink-mute);
  font-size: 1.15rem;
}

/* Lead-capture kit form (used on /free.html) ============= */
.kit-form { margin-top: 0.5rem; }
.kit-form-row {
  display: flex; gap: 0.6rem; flex-wrap: wrap; align-items: center;
}
.kit-form input[type="email"] {
  flex: 1 1 240px;
  padding: 0.9rem 1.1rem;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--bg);
  font: inherit;
  color: var(--ink);
  min-width: 0;
}
.kit-form input[type="email"]:focus {
  outline: 2px solid var(--accent-soft);
  outline-offset: 1px;
}
.kit-form button { white-space: nowrap; }
.kit-form .hand-note,
.kit-form .micro {
  font-family: var(--font-hand);
  color: var(--ink-mute);
  font-size: 1.05rem;
  margin: 0.6rem 0 0;
}
.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;
}

/* Thank-you page ========================================= */
.thankyou {
  text-align: center;
  padding: clamp(3rem, 7vw, 6rem) 0 clamp(2rem, 4vw, 3rem);
  max-width: 60ch;
  margin: 0 auto;
}
.thankyou .mascot { width: clamp(140px, 18vw, 200px); height: auto; margin: 0 auto 1rem; display: block; }
.thankyou h1 {
  font-size: var(--text-3xl);
  line-height: 1.1;
  margin: 0.5rem 0 1rem;
}
.thankyou .lead { font-size: var(--text-lg); color: var(--ink-soft); margin: 0 auto 2rem; }
.thankyou .impatient {
  background: var(--bg-soft);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-lg);
  padding: clamp(1.25rem, 2.5vw, 2rem);
  margin: 0 auto 2.5rem;
  max-width: 50ch;
}
.thankyou .impatient p { margin: 0 0 0.75rem; color: var(--ink-soft); }

/* Hero badge (small caps pill above headline) ============ */
.hero-badge {
  display: inline-block;
  font-family: var(--font-sans);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent-dark);
  background: rgba(232, 210, 187, 0.55);
  border: 1px solid var(--accent-soft);
  border-radius: 999px;
  padding: 0.42rem 0.95rem;
  margin-bottom: 1.1rem;
}
.guides-badge {
  display: inline-block;
  font-family: var(--font-sans);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent-dark);
  background: rgba(232, 210, 187, 0.55);
  border: 1px solid var(--accent-soft);
  border-radius: 999px;
  padding: 0.45rem 1rem;
  margin-bottom: 1rem;
}

/* Hero CTAs — multiple buttons grid ===================== */
.hero-ctas-grid {
  display: flex; flex-wrap: wrap; gap: 0.75rem;
  margin-top: 1.5rem;
}
.hero-ctas-grid .btn { flex: 0 1 auto; }

/* Footer ================================================= */
.site-footer {
  background: var(--bg-soft);
  border-top: 1px solid var(--border-soft);
  padding: clamp(3rem, 5vw, 5rem) 0 2.5rem;
  margin-top: clamp(4rem, 6vw, 6rem);
}
.site-footer .wrap {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: clamp(1.5rem, 4vw, 3rem);
}
@media (max-width: 720px) { .site-footer .wrap { grid-template-columns: 1fr; } }
.footer-brand { max-width: 38ch; color: var(--ink-soft); }
.footer-brand .brand { margin-bottom: 0.75rem; }
.footer-col h4 {
  font-family: var(--font-serif); font-style: italic;
  font-size: var(--text-sm); color: var(--accent);
  font-weight: 400;
  margin-bottom: 0.75rem;
}
.footer-col a {
  display: block;
  font-size: var(--text-sm);
  color: var(--ink-soft);
  padding: 0.3rem 0;
  transition: color .2s ease;
}
.footer-col a:hover { color: var(--ink); }
.footer-base {
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border-soft);
  font-size: var(--text-xs);
  color: var(--ink-mute);
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 1rem;
}

/* Misc / utilities ======================================= */
.center { text-align: center; }
.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }
.mt-6 { margin-top: 3rem; }
.mb-2 { margin-bottom: 1rem; }

.kicker {
  display: inline-block;
  font-family: var(--font-serif); font-style: italic;
  color: var(--accent);
  font-size: var(--text-sm);
  margin-bottom: 0.5rem;
}

/* Reveal on scroll */
.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity .8s ease, transform .8s ease;
}
.reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    transition-duration: 0.001ms !important;
    animation-duration: 0.001ms !important;
  }
  .reveal { opacity: 1; transform: none; }
}

/* Story-page model sheet section — flush on page ombre, no card backing */
.model-sheet {
  background: transparent;
  border: 0;
  padding: clamp(1rem, 2vw, 2rem) 0;
  text-align: center;
}
.model-sheet img { margin: 0 auto; max-width: 520px; width: 100%; border-radius: 12px; box-shadow: 0 18px 40px rgba(58,42,31,0.10); }
.model-sheet figcaption {
  font-family: var(--font-serif); font-style: italic;
  color: var(--ink-soft);
  margin-top: 1rem;
  max-width: 50ch; margin-left: auto; margin-right: auto;
}

/* 404 ==================================================== */
.notfound {
  min-height: 70vh;
  display: grid; place-items: center;
  text-align: center;
  padding: 4rem 1.25rem;
}
.notfound img { max-width: 220px; margin: 0 auto 1.5rem; }
.notfound h1 { font-size: var(--text-3xl); margin-bottom: 1rem; }
.notfound p { color: var(--ink-soft); max-width: 40ch; margin: 0 auto 1.5rem; }

/* Decorative leaf divider */
.leaf-divider {
  display: flex; align-items: center; gap: 1rem;
  color: var(--sage); opacity: 0.7;
  margin: 2rem 0;
  justify-content: center;
}
.leaf-divider svg { width: 28px; height: 28px; }
.leaf-divider .line { flex: 0 0 80px; height: 1px; background: var(--border); }

/* Free Cozy Prints — polaroid-style cards */
.grid:has(.print-card) { align-items: stretch; }
.print-card {
  text-align: center;
  background: transparent;
  border: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  height: 100%;
  min-height: 100%;
}
.print-card .print-frame {
  width: 100%;
  max-width: 280px;
  aspect-ratio: 1 / 1;
  margin: 0 auto 1.25rem;
  background: #FAEEE2;
  border-radius: 14px;
  border: 1px solid rgba(176, 138, 107, 0.18);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.6) inset,
    0 18px 38px -18px rgba(110, 70, 40, 0.22),
    0 6px 14px -6px rgba(110, 70, 40, 0.12);
  display: block;
  overflow: hidden;
  padding: 0;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}
.print-card:hover .print-frame {
  transform: translateY(-3px);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.6) inset,
    0 24px 44px -18px rgba(110, 70, 40, 0.28),
    0 8px 18px -6px rgba(110, 70, 40, 0.16);
}
.print-card .print-frame img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center;
}
.print-card .badge {
  margin: 0 auto 0.85rem;
  align-self: center;
}
.print-card h3 {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: var(--text-lg);
  margin: 0.5rem 0 0.75rem;
  color: var(--ink);
  letter-spacing: -0.005em;
}
.print-card p {
  color: var(--ink-soft);
  max-width: 30ch;
  margin: 0 auto;
  line-height: 1.75;
  font-size: var(--text-base);
}
.print-card .print-cta {
  margin-top: auto;
  padding-top: 1.25rem;
  display: flex;
  justify-content: center;
  width: 100%;
}

/* How her drawings came to life — sketch story section */
.sketch-trio {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1.25rem, 2.5vw, 2rem);
  max-width: 1180px;
  margin: 0 auto;
}
@media (max-width: 860px) {
  .sketch-trio { grid-template-columns: 1fr; max-width: 480px; }
}
.sketch-card {
  margin: 0;
  text-align: center;
}
.sketch-photo {
  background: #FCF7EA;
  border: 1px solid rgba(176, 138, 107, 0.20);
  border-radius: 14px;
  padding: 14px 14px 12px;
  box-shadow:
    0 1px 0 rgba(255,255,255,0.6) inset,
    0 22px 44px -20px rgba(110,70,40,0.28),
    0 8px 16px -6px rgba(110,70,40,0.14);
  overflow: hidden;
  aspect-ratio: 4 / 3;
  display: flex;
  align-items: center;
  justify-content: center;
}
.sketch-photo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  border-radius: 6px;
}
.sketch-card figcaption {
  margin-top: 1rem;
  font-family: var(--font-serif);
  font-style: italic;
  font-size: var(--text-base);
  color: var(--ink-soft);
  line-height: 1.6;
}

/* "became" divider */
.sketch-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin: clamp(2.5rem, 5vw, 4rem) auto clamp(2rem, 4vw, 3rem);
  max-width: 480px;
  padding: 0 1rem;
}
.sketch-arrow-line {
  flex: 1;
  height: 1px;
  background: linear-gradient(to right, transparent, rgba(176,138,107,0.35), transparent);
}
.sketch-arrow-label {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: var(--text-lg);
  color: var(--accent);
  letter-spacing: 0.02em;
  white-space: nowrap;
}

/* Polished model sheet — wider, hero-like */
.sketch-final {
  margin: 0 auto;
  max-width: 920px;
  text-align: center;
}
.sketch-final-photo {
  background: #FCF7EA;
  border: 1px solid rgba(176, 138, 107, 0.20);
  border-radius: 18px;
  padding: 18px;
  box-shadow:
    0 1px 0 rgba(255,255,255,0.6) inset,
    0 32px 60px -24px rgba(110,70,40,0.30),
    0 12px 22px -8px rgba(110,70,40,0.16);
  overflow: hidden;
}
.sketch-final-photo img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
}
.sketch-final figcaption {
  margin-top: 1.25rem;
  font-family: var(--font-serif);
  font-style: italic;
  font-size: var(--text-base);
  color: var(--ink-soft);
}

/* ===== Notify-me modal ===== */
.notify-modal {
  position: fixed;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 100;
  padding: 1.25rem;
}
.notify-modal[aria-hidden="false"] { display: flex; }
.notify-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(58, 42, 31, 0.45);
  backdrop-filter: blur(3px);
}
.notify-modal__card {
  position: relative;
  background: linear-gradient(180deg, #FAF1DE 0%, #F6E6CF 100%);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-lg);
  box-shadow: 0 30px 80px rgba(58, 42, 31, 0.25);
  padding: clamp(1.75rem, 4vw, 2.5rem);
  max-width: 440px;
  width: 100%;
  text-align: center;
  animation: notifyIn 220ms ease-out;
}
@keyframes notifyIn {
  from { opacity: 0; transform: translateY(8px) scale(0.98); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}
.notify-modal__close {
  position: absolute;
  top: 0.75rem;
  right: 0.9rem;
  background: transparent;
  border: 0;
  font-size: 1.6rem;
  line-height: 1;
  color: var(--ink-soft, #6E4637);
  cursor: pointer;
  padding: 0.25rem 0.5rem;
  border-radius: 999px;
}
.notify-modal__close:hover { color: var(--ink, #3A2A1F); }
.notify-modal__title {
  font-family: var(--font-serif);
  font-size: clamp(1.4rem, 3vw, 1.75rem);
  margin: 0.4rem 0 0.6rem;
  color: var(--ink, #3A2A1F);
  line-height: 1.25;
}
.notify-modal__sub {
  color: var(--ink-soft, #6E4637);
  font-size: 0.98rem;
  line-height: 1.6;
  margin: 0 auto 1.4rem;
  max-width: 36ch;
}
.notify-modal__form { display: grid; gap: 0.9rem; }
.notify-modal__label { display: grid; gap: 0.4rem; text-align: left; }
.notify-modal__label span {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ink-soft, #6E4637);
}
.notify-modal__label input[type="email"] {
  font: inherit;
  padding: 0.75rem 0.9rem;
  border-radius: 10px;
  border: 1px solid var(--border-soft);
  background: #FBF4E6;
  color: var(--ink, #3A2A1F);
  outline: none;
  transition: border-color 120ms ease, box-shadow 120ms ease;
}
.notify-modal__label input[type="email"]:focus {
  border-color: var(--accent, #B08A6B);
  box-shadow: 0 0 0 3px rgba(176, 138, 107, 0.18);
}
.notify-modal__submit { width: 100%; margin-top: 0.25rem; }
.notify-modal__fine {
  font-size: 0.78rem;
  color: var(--ink-soft, #6E4637);
  opacity: 0.8;
  margin: 0.4rem 0 0;
  line-height: 1.5;
}
@media (max-width: 480px) {
  .notify-modal__card { padding: 1.5rem 1.25rem; }
}
