:root {
  --cream: #faf0e8;
  --cream-light: #fffaf6;
  --terracotta: #c1654a;
  --terracotta-dark: #a84f37;
  --ink: #2c1f18;
  --muted: #725f54;
  --line: #e5d5ca;
  --sage: #aab7a2;
  --rose: #d9aaa0;
  --shadow: 0 22px 60px rgba(79, 47, 34, 0.14);
  --serif: "Lora", Georgia, serif;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--sans);
  line-height: 1.65;
  text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
a:hover { color: var(--terracotta-dark); }
:focus-visible { outline: 3px solid var(--terracotta); outline-offset: 4px; }
.container { width: min(100% - 2rem, 72rem); margin-inline: auto; }
.narrow { width: min(100% - 2rem, 46rem); margin-inline: auto; }
.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;
}
.skip-link {
  position: fixed;
  top: -5rem;
  left: 1rem;
  z-index: 20;
  padding: .6rem .9rem;
  border-radius: .5rem;
  background: var(--ink);
  color: white;
}
.skip-link:focus { top: 1rem; }
.site-header { padding: 1rem 0; }
.site-header-overlay {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 5;
  width: 100%;
}
.nav { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.brand {
  display: inline-flex;
  align-items: center;
  gap: .65rem;
  color: var(--ink);
  font-weight: 700;
  text-decoration: none;
}
.brand-light { color: white; text-shadow: 0 1px 18px rgba(0,0,0,.35); }
.brand-mark {
  display: grid;
  width: 2.4rem;
  height: 2.4rem;
  place-items: center;
  border: 1px solid rgba(229, 213, 202, .85);
  border-radius: 50%;
  background: rgba(255,250,246,.92);
  color: var(--terracotta);
  font-family: var(--serif);
  font-size: 1.55rem;
  line-height: 1;
}
.nav-links, .footer-links {
  display: flex;
  align-items: center;
  gap: .9rem;
  margin: 0;
  padding: 0;
  list-style: none;
}
.nav-links a, .footer-links a {
  color: var(--muted);
  font-size: .8rem;
  font-weight: 650;
  text-decoration: none;
}
.nav-links-light a { color: rgba(255,255,255,.9); text-shadow: 0 1px 18px rgba(0,0,0,.45); }
.nav-links a:hover, .nav-links a[aria-current="page"], .footer-links a:hover { color: var(--ink); }
.nav-links-light a:hover, .nav-links-light a[aria-current="page"] { color: white; }

h1, h2, h3 {
  margin-top: 0;
  font-family: var(--serif);
  font-weight: 600;
  line-height: 1.12;
  text-wrap: balance;
}
h1 { font-size: clamp(3rem, 9vw, 6.8rem); letter-spacing: -.055em; }
h2 { font-size: clamp(2.3rem, 6vw, 4.8rem); letter-spacing: -.045em; }
h3 { font-size: 1.35rem; }
p { margin-top: 0; }
.eyebrow {
  margin: 0 0 1rem;
  color: var(--terracotta-dark);
  font-size: .75rem;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.eyebrow-light { color: rgba(255,255,255,.8); }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.25rem;
  padding: .75rem 1.4rem;
  border: 1px solid var(--ink);
  border-radius: 3rem;
  background: var(--ink);
  color: white;
  font: inherit;
  font-size: .86rem;
  font-weight: 750;
  text-decoration: none;
  cursor: pointer;
  transition: transform 160ms ease, background-color 160ms ease;
}
.button:hover { background: #49352a; color: white; transform: translateY(-2px); }
.button-light { border-color: white; background: white; color: var(--ink); }
.button-light:hover { background: var(--cream-light); color: var(--terracotta-dark); }

.story-panel {
  position: relative;
  display: grid;
  min-height: 100svh;
  padding: 7rem max(1rem, calc((100vw - 72rem) / 2)) 4rem;
  align-items: center;
  isolation: isolate;
  background: #473229 var(--panel-image) center / cover no-repeat;
  color: white;
}
.story-panel-image {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: center;
}
.story-panel::before {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(90deg, rgba(25,16,12,.76) 0%, rgba(25,16,12,.26) 54%, rgba(25,16,12,.38) 100%);
  content: "";
}
.story-panel.align-right::before { background: linear-gradient(270deg, rgba(25,16,12,.76) 0%, rgba(25,16,12,.22) 55%, rgba(25,16,12,.35) 100%); }
.story-panel.align-center::before { background: linear-gradient(0deg, rgba(25,16,12,.62), rgba(25,16,12,.18) 65%, rgba(25,16,12,.24)); }
.story-panel-content { max-width: 48rem; text-shadow: 0 2px 28px rgba(0,0,0,.35); }
.story-panel.align-right .story-panel-content { margin-left: auto; }
.story-panel.align-center .story-panel-content { margin: auto auto 0; text-align: center; }
.story-panel h1, .story-panel h2 { max-width: 12ch; margin-bottom: 1rem; }
.story-panel p {
  max-width: 34rem;
  margin-bottom: 1.6rem;
  font-size: clamp(1.15rem, 2.4vw, 1.55rem);
  line-height: 1.5;
}
.caro-reveal { min-height: 88svh; }
.caro-reveal::before { background: linear-gradient(90deg, rgba(44,31,24,.88), rgba(44,31,24,.38)); }
.final-panel { min-height: 82svh; }
.final-panel h2 { max-width: 14ch; }

.section { padding: 6rem 0; }
.section-heading { max-width: 42rem; margin-bottom: 3rem; }
.section-heading h2 { margin-bottom: 1rem; }
.centered-heading { margin-inline: auto; text-align: center; }
.steps-grid, .memory-grid { display: grid; gap: 1rem; }
.step-card {
  position: relative;
  min-height: 24rem;
  padding: 1.5rem;
  border: 1px solid var(--line);
  border-radius: 1.4rem;
  background: rgba(255,250,246,.7);
  overflow: hidden;
}
.step-card h3 { margin-top: 2rem; margin-bottom: .5rem; }
.step-card p { color: var(--muted); }
.step-number { color: var(--terracotta-dark); font-family: var(--serif); font-size: 1.05rem; font-weight: 700; }
.recording-orb {
  display: grid;
  width: 8rem;
  height: 8rem;
  margin: 3rem auto;
  place-items: center;
  border-radius: 50%;
  background: rgba(193,101,74,.12);
}
.recording-orb span { width: 3.8rem; height: 3.8rem; border-radius: 50%; background: var(--terracotta); box-shadow: 0 0 0 .65rem rgba(193,101,74,.12); }
.step-card blockquote {
  margin: 3.2rem 0 3rem;
  color: var(--ink);
  font-family: var(--serif);
  font-size: 1.45rem;
  line-height: 1.45;
}
.check-list { display: grid; gap: .65rem; margin: 2.5rem 0; }
.check-list span {
  padding: .65rem .8rem;
  border-radius: .7rem;
  background: white;
  color: var(--muted);
  box-shadow: 0 7px 22px rgba(79,47,34,.07);
  font-size: .85rem;
}
.check-list span::before { margin-right: .55rem; color: var(--terracotta); content: "✓"; font-weight: 800; }
.centered-action { margin-top: 2.5rem; text-align: center; }
.memories-section { background: var(--cream-light); }
.memory-example {
  min-height: 19rem;
  padding: 2rem;
  border: 1px solid var(--line);
  border-radius: 1.4rem;
  background: var(--cream);
  box-shadow: var(--shadow);
}
.memory-meta { color: var(--terracotta-dark); font-size: .75rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.memory-example blockquote {
  margin: 2.8rem 0 0;
  font-family: var(--serif);
  font-size: clamp(1.4rem, 3vw, 1.9rem);
  line-height: 1.45;
}
.faq-section { border-block: 1px solid var(--line); }
.faq-list { border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary {
  padding: 1.5rem 2.5rem 1.5rem 0;
  font-weight: 750;
  cursor: pointer;
}
.faq-item p { max-width: 40rem; padding: 0 0 1.5rem; color: var(--muted); }
.waitlist-section { padding: 7rem 0; background: var(--terracotta); color: white; text-align: center; }
.waitlist-section .eyebrow { color: rgba(255,255,255,.76); }
.waitlist-section h2 { margin-bottom: 1rem; }
.waitlist-section > div > p:not(.eyebrow) { color: rgba(255,255,255,.86); }
.waitlist-form { display: flex; flex-direction: column; gap: .7rem; max-width: 34rem; margin: 2rem auto 0; }
.waitlist-form input {
  min-height: 3.25rem;
  padding: .8rem 1.1rem;
  border: 1px solid rgba(255,255,255,.7);
  border-radius: 3rem;
  background: white;
  color: var(--ink);
  font: inherit;
}
.waitlist-form .button { border-color: var(--ink); }
.overlay-form { margin: 1.8rem 0 0; }
.overlay-form input { border-color: rgba(255,255,255,.8); background: rgba(255,255,255,.94); }
.form-note { margin: .75rem 0 0; font-size: .75rem; }
.form-confirmation { padding: 1rem; border: 1px solid rgba(255,255,255,.45); border-radius: .8rem; }

.page-title { padding: 6rem 0 4rem; }
.page-title h1 { max-width: 10ch; margin-bottom: 1rem; }
.page-deck { max-width: 38rem; color: var(--muted); font-size: 1.2rem; }
.story-body { padding: 1rem 0 4rem; }
.story-main-photo { max-width: 40rem; margin: 0 auto 3.5rem; }
.story-main-photo img,
.story-note img,
.story-snapshots img,
.story-ending-photo img {
  width: 100%;
  height: auto;
  border-radius: 1rem;
  object-fit: cover;
  box-shadow: 0 12px 35px rgba(79,47,34,.11);
}
.story-main-photo img { aspect-ratio: 3 / 2; }
.story-main-photo figcaption {
  display: grid;
  gap: .1rem;
  margin-top: 1rem;
  color: var(--muted);
  font-size: .9rem;
}
.story-main-photo strong { color: var(--ink); }
.story-body .narrow { max-width: 46rem; }
.story-note {
  max-width: 28rem;
  margin: 2.2rem 0 2.5rem;
}
.story-note img {
  aspect-ratio: 17 / 13;
  border: .45rem solid var(--ink);
  border-radius: 1rem;
}
.story-note figcaption {
  margin-top: .6rem;
  color: var(--muted);
  font-size: .78rem;
}
.story-snapshots {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .8rem;
  max-width: 30rem;
  margin-block: 2.5rem 3rem;
}
.story-snapshots img {
  aspect-ratio: 4 / 3;
  border-radius: .8rem;
}
.story-ending-photo { max-width: 26rem; margin: 3rem 0 1rem; }
.story-ending-photo img { aspect-ratio: 5 / 4; }
.prose p { color: var(--muted); font-size: 1.08rem; }
.prose p:nth-of-type(4), .prose p:nth-of-type(9), .prose p:nth-of-type(12), .prose p:last-child { color: var(--ink); font-family: var(--serif); font-size: 1.4rem; }
.prose blockquote {
  margin: 3rem 0;
  padding-left: 1.25rem;
  border-left: 3px solid var(--terracotta);
  font-family: var(--serif);
  font-size: clamp(1.55rem, 4vw, 2.35rem);
  font-weight: 600;
  line-height: 1.5;
}
.founder-photo { margin-bottom: 6rem; }
.founder-photo img { width: 100%; max-height: 44rem; border-radius: 1.4rem; object-fit: cover; box-shadow: var(--shadow); }
.founder-photo figcaption { display: grid; gap: .1rem; margin-top: 1rem; color: var(--muted); font-size: .9rem; }
.founder-photo strong { color: var(--ink); }
.simple-cta { padding: 6rem 0; border-top: 1px solid var(--line); background: var(--cream-light); text-align: center; }
.simple-cta h2 { margin-bottom: 2rem; }
.support-message { margin-top: 3rem; padding: 2rem; border: 1px solid var(--line); border-radius: 1.2rem; background: var(--cream-light); }
.support-message p { margin-bottom: .25rem; color: var(--muted); }
.email-link { color: var(--terracotta-dark); font-family: var(--serif); font-size: clamp(1.3rem, 5vw, 2rem); font-weight: 700; overflow-wrap: anywhere; }
.site-footer { padding: 2rem 0; border-top: 1px solid var(--line); }
.footer-content { display: grid; gap: 1.5rem; color: var(--muted); font-size: .8rem; }
.footer-about { max-width: 28rem; }
.footer-about p { margin: .85rem 0 0; line-height: 1.55; }
.footer-copyright { margin: 0; padding-top: 1.25rem; border-top: 1px solid var(--line); }

@media (min-width: 42rem) {
  .container, .narrow { width: min(100% - 3rem, 72rem); }
  .nav-links, .footer-links { gap: 1.5rem; }
  .nav-links a { font-size: .88rem; }
  .waitlist-form { flex-direction: row; }
  .waitlist-form input { flex: 1; }
  .footer-content { grid-template-columns: 1fr auto; align-items: start; }
  .footer-copyright { grid-column: 1 / -1; }
}
@media (min-width: 58rem) {
  .steps-grid { grid-template-columns: repeat(3, 1fr); gap: 1.3rem; }
  .memory-grid { grid-template-columns: repeat(3, 1fr); gap: 1.3rem; }
  .memory-example-raised { transform: translateY(-2rem); }
}
@media (min-width: 70rem) {
  .memory-grid { grid-template-columns: repeat(5, 1fr); }
  .memory-example { min-height: 17rem; padding: 1.5rem; }
  .memory-example blockquote { margin-top: 2rem; font-size: 1.45rem; }
}
@media (max-width: 32rem) {
  .nav-links li:first-child { display: none; }
}
@media (max-width: 42rem) {
  h1 { font-size: clamp(2.6rem, 12vw, 4rem); }
  h2 { font-size: clamp(2rem, 9vw, 3.2rem); }
  .story-panel {
    min-height: 0;
    aspect-ratio: 16 / 10;
    padding: 3rem 1.25rem;
    background-image: none;
  }
  .story-panel:first-of-type { min-height: 0; aspect-ratio: 1 / 1; padding-top: 7rem; }
  .story-panel h1, .story-panel h2 { max-width: 13ch; margin-bottom: .5rem; }
  .story-panel p { margin-bottom: .75rem; font-size: 1rem; }
  .story-panel:first-of-type .story-panel-image { object-position: 58% center; }
  .family-panel { min-height: 0; aspect-ratio: 1 / 1; }
  .family-panel .story-panel-image { object-position: center 52%; }
  .family-panel h2 { max-width: 15ch; font-size: clamp(1.9rem, 8vw, 2.8rem); }
  .questions-panel .story-panel-image { object-position: center 47%; }
  .questions-panel h2 { max-width: 13ch; }
  .games-panel .story-panel-image { object-position: center 47%; }
  .bedtime-panel .story-panel-image { object-position: 36% center; }
  .caro-reveal { min-height: 32rem; aspect-ratio: auto; }
  .caro-reveal .story-panel-image { object-position: 58% center; }
  .final-panel { min-height: 28rem; aspect-ratio: auto; }

  .section { padding: 3.5rem 0; }
  .section-heading { margin-bottom: 1.75rem; }
  .steps-grid { gap: .7rem; }
  .step-card {
    display: grid;
    grid-template-columns: 2.5rem 1fr;
    gap: .25rem .75rem;
    min-height: 0;
    padding: 1rem;
    border-radius: 1rem;
  }
  .step-number { grid-row: 1 / span 3; padding-top: .15rem; }
  .step-card h3 { grid-column: 2; margin: 0 0 .15rem; font-size: 1.15rem; }
  .step-card p { grid-column: 2; margin: 0; font-size: .85rem; line-height: 1.45; }
  .recording-orb {
    display: none;
  }
  .step-card blockquote {
    grid-column: 2;
    margin: 0 0 .35rem;
    font-size: 1rem;
    line-height: 1.35;
  }
  .step-card-story h3 { grid-row: 1; }
  .step-card-story blockquote { grid-row: 2; }
  .step-card-story p { grid-row: 3; }
  .check-list {
    grid-column: 2;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: .3rem;
    margin: 0 0 .4rem;
  }
  .check-list span { padding: .35rem .45rem; font-size: .68rem; }
  .step-card:has(.check-list) h3 { grid-row: 1; }
  .centered-action { margin-top: 1.5rem; }

  .memories-section { padding-block: 3rem; }
  .memory-grid { gap: .65rem; }
  .memory-example {
    min-height: 0;
    padding: 1.1rem 1.2rem;
    border-radius: 1rem;
  }
  .memory-example blockquote { margin: .65rem 0 0; font-size: 1.15rem; line-height: 1.4; }
  .memory-meta { margin-bottom: 0; font-size: .65rem; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; }
}
