/* cyrillic-ext */

/* cyrillic */

/* greek-ext */

/* greek */

/* vietnamese */

/* latin-ext */

/* latin */
@font-face {
  font-family: 'EB Garamond';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url("fonts/eb-garamond-italic.woff2") format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* cyrillic-ext */

/* cyrillic */

/* greek-ext */

/* greek */

/* vietnamese */

/* latin-ext */

/* latin */
@font-face {
  font-family: 'EB Garamond';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("fonts/eb-garamond-regular.woff2") format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* cyrillic-ext */

/* cyrillic */

/* greek-ext */

/* greek */

/* vietnamese */

/* latin-ext */

/* latin */
@font-face {
  font-family: 'EB Garamond';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("fonts/eb-garamond-500.woff2") format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* cyrillic-ext */

/* cyrillic */

/* greek-ext */

/* greek */

/* vietnamese */

/* latin-ext */

/* latin */
@font-face {
  font-family: 'EB Garamond';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("fonts/eb-garamond-600.woff2") format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* vietnamese */

/* latin-ext */

/* latin */

/* vietnamese */

/* latin-ext */

/* latin */

/* vietnamese */

/* latin-ext */

/* latin */

/* vietnamese */

/* latin-ext */

/* latin */

/* vietnamese */

/* latin-ext */

/* latin */

/* vietnamese */

/* latin-ext */

/* latin */

:root {
    --paper:        #f1e6cf;
    --paper-deep:   #e9dabb;
    --paper-shade:  #ddc99f;
    --ink:          #2a2418;
    --ink-soft:     #5a4c34;
    --orange:       #b8541f;
    --orange-deep:  #8c3c12;
    --gold:         #c89126;
    --forest:       #4a6b3e;
    --forest-deep:  #324a2a;
    --teal:         #4f7e7e;
    --rule: 1px;
  }

  * { box-sizing: border-box; }
  html, body { margin: 0; padding: 0; }

  body {
    font-family: "EB Garamond", Georgia, serif;
    font-size: 19px;
    line-height: 1.55;
    color: var(--ink);
    background: var(--paper);
    background-image:
      radial-gradient(ellipse 80% 60% at 20% 0%, rgba(200,145,38,0.10), transparent 60%),
      radial-gradient(ellipse 70% 50% at 90% 100%, rgba(74,107,62,0.08), transparent 60%),
      url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='240' height='240'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0.16  0 0 0 0 0.14  0 0 0 0 0.09  0 0 0 0.18 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
    background-attachment: fixed;
    -webkit-font-smoothing: antialiased;
  }

  .page {
    max-width: 1120px;
    margin: 0 auto;
    padding: 32px 56px 64px;
  }

  /* ─── nav ─── */
  nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 0 28px;
    border-bottom: 1px solid var(--ink);
  }
  .wordmark {
    font-family: "Newsreader", serif;
    font-style: italic;
    font-weight: 500;
    font-size: 38px;
    letter-spacing: -0.005em;
    color: var(--ink);
    display: flex;
    align-items: baseline;
    gap: 8px;
  }
  .wordmark .dot {
    display: inline-block;
    width: 7px; height: 7px;
    background: var(--orange);
    border-radius: 50%;
    transform: translateY(-4px);
  }
  .nav-right {
    font-family: "Newsreader", serif;
    font-weight: 500;
    font-size: 12px;
    letter-spacing: 0.24em;
    color: var(--ink-soft);
    text-transform: uppercase;
  }

  /* ─── ornaments ─── */
  .ornament {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 18px;
    margin: 64px 0;
    color: var(--ink-soft);
  }
  .ornament .line {
    flex: 0 1 160px;
    height: 1px;
    background: currentColor;
    opacity: 0.55;
  }
  .ornament .glyph {
    font-family: "Newsreader", serif;
    font-style: italic;
    font-weight: 500;
    font-size: 20px;
    line-height: 1;
    color: var(--orange-deep);
  }

  /* ─── hero ─── */
  .hero {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 56px;
    align-items: center;
    padding: 64px 0 32px;
  }
  .hero .eyebrow {
    font-family: "Newsreader", serif;
    font-weight: 500;
    font-size: 12px;
    letter-spacing: 0.32em;
    text-transform: uppercase;
    color: var(--orange-deep);
    margin-bottom: 22px;
  }
  .hero h1 {
    font-family: "Newsreader", serif;
    font-style: italic;
    font-weight: 500;
    font-size: clamp(58px, 7.2vw, 96px);
    line-height: 0.98;
    margin: 0 0 26px;
    color: var(--ink);
    letter-spacing: -0.018em;
    text-wrap: balance;
  }
  .hero h1 .ampbird {
    color: var(--orange);
    font-style: italic;
  }
  .hero p.lede {
    font-size: 21px;
    line-height: 1.5;
    color: var(--ink);
    max-width: 32em;
    margin: 0 0 32px;
    text-wrap: pretty;
  }

  /* email capture */
  .capture {
    display: flex;
    align-items: stretch;
    gap: 0;
    border: 1.5px solid var(--ink);
    background: var(--paper);
    border-radius: 2px;
    overflow: hidden;
    max-width: 470px;
    box-shadow: 3px 4px 0 var(--ink);
  }
  .capture input {
    flex: 1;
    border: 0;
    background: transparent;
    padding: 16px 18px;
    font-family: "EB Garamond", serif;
    font-size: 18px;
    color: var(--ink);
    outline: none;
    font-style: italic;
  }
  .capture input::placeholder { color: var(--ink-soft); opacity: 0.7; }
  .capture button {
    border: 0;
    border-left: 1.5px solid var(--ink);
    background: var(--orange);
    color: #f7ecd4;
    font-family: "Newsreader", serif;
    font-weight: 500;
    font-size: 12px;
    letter-spacing: 0.24em;
    text-transform: uppercase;
    padding: 0 26px;
    cursor: pointer;
    transition: background 0.15s;
  }
  .capture button:hover { background: var(--orange-deep); }
  .capture-note {
    margin-top: 14px;
    font-style: italic;
    font-size: 15px;
    color: var(--ink-soft);
  }

  /* hero illustration slot */
  .hero-art {
    position: relative;
    aspect-ratio: 4 / 5;
    border: 1.5px solid var(--ink);
    border-radius: 2px;
    background:
      repeating-linear-gradient(45deg, transparent 0 14px, rgba(42,36,24,0.05) 14px 15px),
      var(--paper-deep);
    box-shadow: 6px 8px 0 var(--ink);
    overflow: hidden;
  }
  .hero-art .slot-tag {
    position: absolute;
    top: 16px; left: 16px;
    font-family: "JetBrains Mono", "IBM Plex Mono", monospace;
    font-size: 11px;
    letter-spacing: 0.08em;
    color: var(--ink);
    background: var(--paper);
    padding: 4px 10px;
    border: 1px dashed var(--ink);
    text-transform: uppercase;
  }
  .hero-art .slot-caption {
    position: absolute;
    bottom: 18px; left: 18px; right: 18px;
    font-family: "Newsreader", serif;
    font-style: italic;
    font-weight: 500;
    font-size: 18px;
    color: var(--ink);
    text-align: center;
  }
  .hero-art .star {
    position: absolute;
    font-family: "Newsreader", serif;
    font-style: italic;
    color: var(--gold);
    opacity: 0.9;
  }

  /* ─── mode cards ─── */
  .modes {
    display: flex;
    flex-direction: column;
    gap: 32px;
  }
  .mode {
    display: grid;
    grid-template-columns: 0.85fr 1.15fr;
    gap: 0;
    border: 1.5px solid var(--ink);
    border-radius: 3px;
    background: var(--paper);
    box-shadow: 6px 8px 0 var(--ink);
    overflow: hidden;
    min-height: 420px;
  }
  .mode.flip { grid-template-columns: 1.15fr 0.85fr; }
  .mode.flip .mode-art { order: 2; border-left: 1.5px solid var(--ink); border-right: 0; }
  .mode.flip .mode-body { order: 1; }

  .mode-art {
    position: relative;
    border-right: 1.5px solid var(--ink);
    background:
      repeating-linear-gradient(45deg, transparent 0 14px, rgba(42,36,24,0.05) 14px 15px),
      var(--paper-deep);
    min-height: 360px;
  }
  .mode.bedtime .mode-art {
    background:
      repeating-linear-gradient(45deg, transparent 0 14px, rgba(42,36,24,0.05) 14px 15px),
      #d9c79e;
  }
  .mode.adventure .mode-art {
    background:
      repeating-linear-gradient(-45deg, transparent 0 14px, rgba(42,36,24,0.06) 14px 15px),
      #c8b487;
  }
  .mode-art .slot-tag {
    position: absolute;
    top: 18px; left: 18px;
    font-family: "JetBrains Mono", "IBM Plex Mono", monospace;
    font-size: 11px;
    letter-spacing: 0.08em;
    color: var(--ink);
    background: var(--paper);
    padding: 4px 10px;
    border: 1px dashed var(--ink);
    text-transform: uppercase;
  }
  .mode-art .slot-caption {
    position: absolute;
    bottom: 20px; left: 20px; right: 20px;
    font-family: "Newsreader", serif;
    font-style: italic;
    font-weight: 500;
    font-size: 17px;
    color: var(--ink);
    text-align: center;
    opacity: 0.85;
  }
  .mode-art .corner-orn {
    position: absolute;
    font-family: "Newsreader", serif;
    font-style: italic;
    font-weight: 500;
    font-size: 26px;
    color: var(--orange-deep);
    opacity: 0.7;
  }

  .mode-body {
    padding: 48px 52px;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }
  .mode-label {
    font-family: "Newsreader", serif;
    font-weight: 500;
    font-size: 12px;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    margin-bottom: 18px;
    display: flex;
    align-items: center;
    gap: 12px;
  }
  .mode.bedtime .mode-label { color: var(--teal); }
  .mode.adventure .mode-label { color: var(--forest); }
  .mode-label .swatch {
    width: 10px; height: 10px;
    border-radius: 50%;
  }
  .mode.bedtime .mode-label .swatch { background: var(--teal); }
  .mode.adventure .mode-label .swatch { background: var(--forest); }

  .mode h2 {
    font-family: "Newsreader", serif;
    font-style: italic;
    font-weight: 500;
    font-size: 48px;
    line-height: 1.02;
    letter-spacing: -0.012em;
    margin: 0 0 22px;
    color: var(--ink);
    text-wrap: balance;
  }
  .mode p {
    margin: 0 0 28px;
    font-size: 19px;
    line-height: 1.55;
    color: var(--ink);
    max-width: 34em;
    text-wrap: pretty;
  }
  .tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 12px;
    margin-top: 4px;
  }
  .tag {
    font-family: "EB Garamond", serif;
    font-style: italic;
    font-size: 15px;
    color: var(--ink);
    background: var(--paper-deep);
    border: 1px solid var(--ink);
    padding: 6px 14px;
    border-radius: 999px;
    white-space: nowrap;
  }
  .mode.bedtime .tag { background: #e9dec3; }
  .mode.adventure .tag { background: #ecd9b0; }

  /* ─── book callout ─── */
  .book {
    display: grid;
    grid-template-columns: 0.55fr 1fr;
    align-items: center;
    gap: 56px;
    padding: 56px 12px;
    border-top: 1px solid var(--ink);
    border-bottom: 1px solid var(--ink);
    margin-top: 8px;
  }
  .book-art {
    position: relative;
    aspect-ratio: 3 / 4;
    background:
      linear-gradient(180deg, rgba(42,36,24,0.04), rgba(42,36,24,0)),
      var(--paper-deep);
    border: 1.5px solid var(--ink);
    border-radius: 3px;
    box-shadow:
      -3px 0 0 var(--paper-deep),
      -3px 0 0 1.5px var(--ink),
      -6px 0 0 var(--paper),
      -6px 0 0 1.5px var(--ink),
      4px 6px 0 var(--ink);
    padding: 22px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
  }
  .book-art .book-eyebrow {
    font-family: "Newsreader", serif;
    font-weight: 500;
    font-size: 11px;
    letter-spacing: 0.28em;
    text-transform: uppercase;
    color: var(--orange-deep);
  }
  .book-art .book-title {
    font-family: "Newsreader", serif;
    font-style: italic;
    font-weight: 500;
    font-size: 30px;
    line-height: 1.05;
    color: var(--ink);
  }
  .book-art .book-byline {
    font-family: "EB Garamond", serif;
    font-style: italic;
    font-size: 14px;
    color: var(--ink-soft);
  }
  .book-text .label {
    font-family: "Newsreader", serif;
    font-weight: 500;
    font-size: 12px;
    letter-spacing: 0.3em;
    color: var(--orange-deep);
    text-transform: uppercase;
    margin-bottom: 18px;
  }
  .book-text h3 {
    font-family: "Newsreader", serif;
    font-style: italic;
    font-weight: 500;
    font-size: 54px;
    line-height: 1.0;
    letter-spacing: -0.014em;
    margin: 0 0 22px;
    color: var(--ink);
    text-wrap: balance;
  }
  .book-text p {
    font-size: 20px;
    margin: 0;
    max-width: 30em;
    text-wrap: pretty;
  }

  /* ─── editorial quote ─── */
  .pullquote {
    text-align: center;
    padding: 88px 0 72px;
    max-width: 880px;
    margin: 0 auto;
    position: relative;
  }
  .pullquote .openq, .pullquote .closeq {
    font-family: "Newsreader", serif;
    font-style: italic;
    font-weight: 500;
    font-size: 96px;
    line-height: 0.5;
    color: var(--orange);
  }
  .pullquote .openq { display: block; margin-bottom: 14px; }
  .pullquote blockquote {
    font-family: "Newsreader", serif;
    font-style: italic;
    font-weight: 500;
    font-size: clamp(38px, 4.6vw, 58px);
    line-height: 1.08;
    letter-spacing: -0.014em;
    margin: 0 0 28px;
    color: var(--ink);
    text-wrap: balance;
  }
  .pullquote .attrib {
    font-family: "EB Garamond", serif;
    font-style: italic;
    font-size: 19px;
    color: var(--ink-soft);
    max-width: 32em;
    margin: 0 auto;
    line-height: 1.4;
    text-wrap: pretty;
  }

  /* ─── footer ─── */
  footer {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    padding: 32px 0 8px;
    border-top: 1px solid var(--ink);
    margin-top: 24px;
  }
  footer .wordmark { font-size: 28px; }
  footer .made {
    font-family: "Newsreader", serif;
    font-weight: 500;
    font-size: 12px;
    letter-spacing: 0.28em;
    color: var(--ink-soft);
    text-transform: uppercase;
  }

  /* ─── footer cta ─── */
  .footer-cta {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 18px;
    padding: 16px 0 72px;
    text-align: center;
  }
  .footer-cta .small-label {
    font-family: "Newsreader", serif;
    font-weight: 500;
    font-size: 11px;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--orange-deep);
  }
  .footer-cta .small-headline {
    font-family: "Newsreader", serif;
    font-style: italic;
    font-weight: 500;
    font-size: 28px;
    line-height: 1.15;
    color: var(--ink);
    margin: 0;
    max-width: 22em;
    text-wrap: balance;
  }
  .footer-cta .capture {
    max-width: 400px;
    width: 100%;
    box-shadow: 2px 3px 0 var(--ink);
  }
  .footer-cta .capture input { font-size: 16px; padding: 13px 16px; }
  .footer-cta .capture button { padding: 0 22px; font-size: 11px; }
  .footer-cta .footer-note {
    font-style: italic;
    font-size: 14px;
    color: var(--ink-soft);
    margin: 0;
  }

  /* ─── responsive ─── */
  @media (max-width: 880px) {
    .page { padding: 24px 24px 48px; }
    .hero { grid-template-columns: 1fr; gap: 36px; padding: 32px 0 12px; }
    .hero-art { max-width: 420px; }
    .mode, .mode.flip { grid-template-columns: 1fr; }
    .mode.flip .mode-art { order: 0; border-left: 0; border-bottom: 1.5px solid var(--ink); }
    .mode-art { border-right: 0; border-bottom: 1.5px solid var(--ink); min-height: 280px; aspect-ratio: 5 / 3; }
    .mode-body { padding: 36px 32px; }
    .mode h2 { font-size: 36px; }
    .book { grid-template-columns: 1fr; gap: 36px; }
    .book-art { max-width: 280px; }
    .book-text h3 { font-size: 40px; }
    .ornament .line { flex-basis: 60px; }
  }

.slot-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}
.slot-tag,
.slot-caption,
.corner-orn,
.star {
  position: relative;
  z-index: 1;
}

  .how {
    padding: 64px 56px 16px;
    border-top: 1.5px solid var(--ink);
    border-bottom: 1.5px solid var(--ink);
    background: transparent;
  }
  .how-label {
    text-align: center;
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--ink-soft);
    margin-bottom: 40px;
  }
  .steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 48px;
  }
  .step {
    text-align: left;
  }
  .step-num {
    font-family: "EB Garamond", Georgia, serif;
    font-style: italic;
    font-size: 36px;
    color: var(--orange);
    line-height: 1;
    margin-bottom: 12px;
  }
  .step h4 {
    font-size: 22px;
    font-weight: 500;
    line-height: 1.25;
    margin: 0 0 10px;
    color: var(--ink);
  }
  .step p {
    font-size: 17px;
    line-height: 1.5;
    color: var(--ink-soft);
    margin: 0;
  }
  @media (max-width: 720px) {
    .how { padding: 48px 28px 8px; }
    .steps { grid-template-columns: 1fr; gap: 32px; }
  }