/* Local English font subsets; licences and source URLs in assets/fonts/. */
@font-face { font-family: 'Fredoka'; font-style: normal; font-weight: 400 700; font-display: swap; src: url('assets/fonts/fredoka-english-normal.f4ac05fd54c5.woff2') format('woff2'); unicode-range: U+20-7e, U+a0, U+a9, U+d7, U+2013-2014, U+2018-2019, U+201c-201d, U+2022, U+2026, U+2192; }
@font-face { font-family: 'Lobster'; font-style: normal; font-weight: 400; font-display: swap; src: url('assets/fonts/lobster-english-normal.65e7acfda0fd.woff2') format('woff2'); unicode-range: U+20-7e, U+a0, U+a9, U+d7, U+2013-2014, U+2018-2019, U+201c-201d, U+2022, U+2026, U+2192; }
@font-face { font-family: 'Nunito'; font-style: italic; font-weight: 400; font-display: swap; src: url('assets/fonts/nunito-english-italic.c3a6b68a405e.woff2') format('woff2'); unicode-range: U+20-7e, U+a0, U+a9, U+d7, U+2013-2014, U+2018-2019, U+201c-201d, U+2022, U+2026, U+2192; }
@font-face { font-family: 'Nunito'; font-style: normal; font-weight: 400 700; font-display: swap; src: url('assets/fonts/nunito-english-normal.92293b4bec7c.woff2') format('woff2'); unicode-range: U+20-7e, U+a0, U+a9, U+d7, U+2013-2014, U+2018-2019, U+201c-201d, U+2022, U+2026, U+2192; }

:root {
  --color-bg: #FFFDF9;
  --color-card-bg: #FFFFFF;
  --color-warm-accent: #FAF3E0;
  --color-primary: #A43F2B;
  --color-primary-hover: #B8472E;
  --color-secondary: #E89A3C;
  --color-secondary-hover: #D48427;
  --color-text-main: #2C221E;
  --color-text-muted: #6B5B52;
  --color-border: #E8DCB8;
  --color-border-subtle: #F0E8D4;
  --font-display: 'Fredoka', 'Comic Sans MS', cursive, sans-serif;
  --font-body: 'Nunito', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-serif: 'Playfair Display', Georgia, serif;
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --shadow-sm: 0 4px 12px rgba(44, 34, 30, 0.06);
  --shadow-md: 0 10px 30px rgba(44, 34, 30, 0.1);
  --shadow-lg: 0 20px 45px rgba(44, 34, 30, 0.15);
}

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

body {
  font-family: var(--font-body);
  background-color: var(--color-bg);
  color: var(--color-text-main);
  line-height: 1.6;
  overflow-wrap: break-word;
}

.container {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Typography */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--color-text-main);
  font-weight: 700;
  line-height: 1.25;
}

.text-center {
  text-align: center;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 600;
  border-radius: 50px;
  text-decoration: none;
  transition: all 0.25s cubic-bezier(0.2, 0.8, 0.2, 1);
  cursor: pointer;
  border: none;
  min-height: 44px;
  max-width: 100%;
}

.btn-primary {
  background-color: var(--color-primary);
  color: #FFFFFF;
  box-shadow: 0 6px 20px rgba(208, 90, 63, 0.35);
}

.btn-primary:hover {
  background-color: var(--color-primary-hover);
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(208, 90, 63, 0.45);
}

.btn-secondary {
  background-color: var(--color-secondary);
  color: var(--color-text-main);
  box-shadow: 0 6px 20px rgba(232, 154, 60, 0.3);
}

.btn-secondary:hover {
  background-color: var(--color-secondary-hover);
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(232, 154, 60, 0.4);
}

.btn-sm {
  padding: 8px 18px;
  font-size: 0.9rem;
}

.btn-lg {
  padding: 18px 36px;
  font-size: 1.15rem;
}

/* Site Header */
.site-header {
  padding: 20px 0;
  background-color: rgba(255, 253, 249, 0.9);
  backdrop-filter: blur(10px);
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid var(--color-border-subtle);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--color-primary);
  min-height: 44px;
  min-width: 0;
}

.main-nav {
  display: flex;
  gap: 28px;
}

.main-nav a {
  text-decoration: none;
  color: var(--color-text-main);
  font-weight: 600;
  font-size: 0.95rem;
  transition: color 0.2s ease;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  min-width: 44px;
}

.main-nav a:hover {
  color: var(--color-primary);
}

/* Hero Section */
.hero-section {
  padding: 60px 0 90px;
  background: linear-gradient(180deg, #FFFDF9 0%, #FAF3E0 100%);
  position: relative;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}

.hero-badge {
  display: inline-block;
  background-color: #FEE7DE;
  color: var(--color-primary);
  font-weight: 700;
  font-size: 0.85rem;
  padding: 6px 16px;
  border-radius: 20px;
  margin-bottom: 28px;
}

.hero-title {
  font-size: 3rem;
  line-height: 1.15;
  margin-bottom: 18px;
}

.hero-title .highlight {
  color: var(--color-primary);
}

/* Cover-style title lettering: retro script, navy and red like the book cover */
.hero-title {
  font-family: 'Lobster', cursive;
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: 0.5px;
}

.hero-title .title-blue {
  color: #1B3A7A;
}

.hero-title .title-red {
  color: #D7191F;
}

.hero-title {
  text-align: center;
  max-width: 520px;
}

.hero-title .title-line {
  display: block;
}

.hero-title .title-the { font-size: 0.7em; }
.hero-title .title-big { font-size: 1.25em; line-height: 1.1; }
.hero-title .title-had { font-size: 0.75em; line-height: 1.1; }
.hero-title .title-mind { font-size: 1.05em; line-height: 1.1; }

.hero-title span {
  text-shadow: 0 0 6px rgba(255, 255, 255, 0.9), 0 0 2px #FFFFFF;
}

.hero-subtitle {
  font-size: 1.2rem;
  color: var(--color-text-muted);
  margin-bottom: 16px;
}

.hero-cta-group {
  display: flex;
  gap: 16px;
  margin-bottom: 36px;
  flex-wrap: wrap;
}

.trust-pills {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.pill {
  background-color: #FFFFFF;
  border: 1px solid var(--color-border);
  padding: 8px 14px;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--color-text-main);
  box-shadow: var(--shadow-sm);
}

/* 3D Book Showcase */
.hero-book-showcase {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  perspective: 1200px;
}

.book-3d-wrapper {
  position: relative;
  width: min(460px, 100%);
  aspect-ratio: 1 / 1;
  cursor: default;
}

.book-3d {
  width: 100%;
  height: 100%;
  position: relative;
  transform-style: preserve-3d;
  transform: rotateY(-22deg) rotateX(10deg);
  transition: transform 0.15s ease-out;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.25);
  border-radius: 6px;
}

.book-cover-front {
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  border-radius: 6px;
  overflow: hidden;
  background-color: #FAF3E0;
}

.book-cover-front img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.mockup-hint {
  margin-top: 24px;
  font-size: 0.85rem;
  color: var(--color-text-muted);
}

/* Section Common */
.section-header {
  margin-bottom: 50px;
}

.section-title {
  font-size: 2.2rem;
  margin-bottom: 12px;
}

.section-desc {
  font-size: 1.15rem;
  color: var(--color-text-muted);
}

.badge-tag {
  display: inline-block;
  background-color: #E6F3E6;
  color: #2E7D32;
  font-weight: 700;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 4px 12px;
  border-radius: 12px;
  margin-bottom: 10px;
}

/* Story Cards Section */
.story-summary-section {
  padding: 90px 0;
}

.story-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
}

.story-card {
  background-color: var(--color-card-bg);
  border: 1px solid var(--color-border-subtle);
  border-radius: var(--radius-md);
  padding: 28px 24px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.story-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.card-icon {
  font-size: 2.2rem;
  margin-bottom: 16px;
}

.story-card h3 {
  font-size: 1.25rem;
  margin-bottom: 10px;
}

.story-card p {
  color: var(--color-text-muted);
  font-size: 0.95rem;
}

/* Interactive Flipbook Section */
.flipbook-section {
  padding: 90px 0;
  background-color: #FAF3E0;
}

.flipbook-container {
  max-width: 900px;
  margin: 0 auto;
  background: #FFFFFF;
  padding: 36px 30px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--color-border);
}

.flipbook-viewport {
  position: relative;
  width: 100%;
  aspect-ratio: 2 / 1;
  background-color: #FAF7F0;
  border-radius: var(--radius-sm);
  overflow: hidden;
  box-shadow: inset 0 0 20px rgba(0, 0, 0, 0.05);
}

.spread-display {
  display: flex;
  width: 100%;
  height: 100%;
}

.book-page-slot {
  flex: 1;
  height: 100%;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-right: 1px solid rgba(0,0,0,0.06);
}

.book-page-slot:last-child {
  border-right: none;
}

.book-page-slot img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: opacity 0.2s ease;
}

.flipbook-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid var(--color-border-subtle);
}

.ctrl-btn {
  background-color: #F5EBE1;
  border: 1px solid var(--color-border);
  color: var(--color-text-main);
  padding: 10px 22px;
  border-radius: 30px;
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  /* Colour interpolation briefly produces pale text on a pale background. */
  transition: none;
  min-height: 44px;
  min-width: 44px;
}

.ctrl-btn:hover:not(:disabled) {
  background-color: var(--color-primary);
  color: #FFFFFF;
}

.ctrl-btn:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

.page-indicator {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--color-text-main);
}

.page-total {
  font-size: 0.9rem;
  color: var(--color-text-muted);
  font-weight: 400;
}

.scrubber-wrap {
  margin-top: 16px;
}

.scrubber-wrap input[type="range"] {
  width: 100%;
  accent-color: var(--color-primary);
  cursor: pointer;
  min-height: 44px;
}

/* Characters Section */
.characters-section {
  padding: 90px 0;
}

.character-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(360px, 100%), 1fr));
  gap: 32px;
}

.character-card {
  background-color: #FFFFFF;
  border: 1px solid var(--color-border-subtle);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
}

.char-img-wrap {
  width: 100%;
  height: 280px;
  background-color: #FAF3E0;
  overflow: hidden;
}

.char-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.char-info {
  padding: 28px;
}

.char-tag {
  display: inline-block;
  background-color: #FAF3E0;
  color: #7A4610;
  font-weight: 700;
  font-size: 0.8rem;
  padding: 4px 10px;
  border-radius: 12px;
  margin-bottom: 8px;
}

.char-info h3 {
  font-size: 1.6rem;
  margin-bottom: 12px;
}

.char-info p {
  color: var(--color-text-muted);
  font-size: 0.95rem;
}

/* Free Activity Section */
.free-activity-section {
  padding: 60px 0 90px;
}

.activity-box {
  background: linear-gradient(135deg, #FAF3E0 0%, #FEE7DE 100%);
  border: 2px dashed var(--color-primary);
  border-radius: var(--radius-lg);
  padding: 48px 40px;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 40px;
  align-items: center;
}

.free-badge {
  display: inline-block;
  background-color: var(--color-primary);
  color: #FFFFFF;
  font-weight: 700;
  font-size: 0.85rem;
  padding: 6px 14px;
  border-radius: 20px;
  margin-bottom: 16px;
}

.activity-content h2 {
  font-size: 2.2rem;
  margin-bottom: 14px;
}

.activity-content p {
  color: var(--color-text-muted);
  font-size: 1.05rem;
  margin-bottom: 24px;
}

.form-row {
  display: flex;
  gap: 12px;
  margin-bottom: 10px;
}

.form-input {
  flex: 1;
  padding: 14px 20px;
  border-radius: 30px;
  border: 1px solid var(--color-border);
  font-size: 1rem;
  outline: none;
}

.form-input:focus {
  border-color: var(--color-primary);
}

.privacy-note {
  font-size: 0.8rem;
  color: var(--color-text-muted);
}

.success-message {
  margin-top: 14px;
  padding: 12px 18px;
  background-color: #E8F5E9;
  color: #2E7D32;
  border-radius: 12px;
  font-weight: 600;
}

.activity-card-preview {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.sheet-preview {
  background: #FFFFFF;
  padding: 20px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--color-border);
}

.sheet-preview span {
  font-weight: 700;
  color: var(--color-primary);
  font-size: 0.9rem;
}

.sheet-preview p {
  font-weight: 600;
  margin-top: 4px;
}

/* Specs Section */
.specs-section {
  padding: 90px 0;
  background-color: #FFFFFF;
}

.specs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr));
  gap: 20px;
}

.spec-item {
  background-color: #FAF7F0;
  border-radius: var(--radius-md);
  padding: 20px 24px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  border: 1px solid var(--color-border-subtle);
}

.spec-label {
  font-size: 0.85rem;
  text-transform: uppercase;
  color: var(--color-text-muted);
  font-weight: 700;
  letter-spacing: 0.5px;
}

.spec-value {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--color-text-main);
}

/* Footer */
.site-footer {
  background-color: #2C221E;
  color: #FDF8E8;
  padding: 80px 0 40px;
}

.footer-cta h2 {
  color: #FFFFFF;
  font-size: 2.4rem;
  margin-bottom: 14px;
}

.footer-cta p {
  color: #D4A373;
  font-size: 1.15rem;
  margin-bottom: 32px;
}

.footer-buttons {
  display: flex;
  justify-content: center;
  gap: 18px;
  flex-wrap: wrap;
  margin-bottom: 60px;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 30px;
  display: flex;
  justify-content: space-between;
  font-size: 0.85rem;
  color: #BBA99A;
  flex-wrap: wrap;
  gap: 16px;
}

/* Responsive Breakpoints */
@media (max-width: 900px) {
  .hero-grid, .activity-box {
    grid-template-columns: 1fr;
  }
  .hero-title {
    font-size: 2.3rem;
  }
  .main-nav {
    display: none;
  }
  .flipbook-viewport {
    aspect-ratio: auto;
  }
  .spread-display {
    flex-direction: column;
  }
  .book-page-slot {
    flex: none;
    height: auto;
    aspect-ratio: 1 / 1;
    border-right: none;
  }
  .book-page-slot.empty {
    display: none;
  }
}

.footer-cta .footer-isbn {
  margin: -36px 0 60px;
  font-size: 0.95rem;
  letter-spacing: 0.5px;
}

.book-page-slot.empty img {
  visibility: hidden;
}


/* 3D hardcover: thickness, spine, page edges, gloss */
.book-3d {
  --depth: 34px;
  --glare-x: 30%;
  --glare-y: 20%;
  box-shadow: none;
}

/* soft floor shadow (a filter on the 3D element would flatten it) */
.book-3d-wrapper::after {
  content: "";
  position: absolute;
  left: 8%;
  right: -4%;
  bottom: -34px;
  height: 36px;
  background: radial-gradient(ellipse at center, rgba(60, 35, 20, 0.4), rgba(60, 35, 20, 0) 70%);
  filter: blur(6px);
  pointer-events: none;
}

.book-3d .book-cover-front {
  transform: translateZ(calc(var(--depth) / 2));
  border-radius: 3px 8px 8px 3px;
  box-shadow: inset 6px 0 8px -4px rgba(0, 0, 0, 0.35), inset 14px 0 0 -12px rgba(255, 255, 255, 0.5);
  backface-visibility: hidden;
}

/* hinge groove and glossy highlight that follows the mouse */
.book-3d .book-cover-front::before {
  content: "";
  position: absolute;
  top: 0; bottom: 0; left: 4.5%;
  width: 2.5%;
  background: linear-gradient(90deg, rgba(0,0,0,0.22), rgba(255,255,255,0.18) 55%, rgba(0,0,0,0.08));
  z-index: 2;
  pointer-events: none;
}

.book-3d .book-cover-front::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at var(--glare-x) var(--glare-y), rgba(255,255,255,0.22), rgba(255,255,255,0) 55%);
  pointer-events: none;
}

.book-back {
  position: absolute;
  inset: 0;
  background: #1B3A7A;
  border-radius: 8px 3px 3px 8px;
  transform: translateZ(calc(var(--depth) / -2));
}

.book-spine {
  position: absolute;
  top: 0;
  left: calc(var(--depth) / -2);
  width: var(--depth);
  height: 100%;
  background: linear-gradient(90deg, #12285a, #1B3A7A 40%, #2a4f9c 60%, #12285a);
  transform: rotateY(-90deg);
}

.book-pages-side,
.book-top,
.book-bottom {
  position: absolute;
  background: repeating-linear-gradient(90deg, #f6efe0 0 2px, #e4d9c2 2px 3px);
}

.book-pages-side {
  top: 2px;
  height: calc(100% - 4px);
  left: calc(100% - var(--depth) / 2 - 3px);
  width: calc(var(--depth) - 4px);
  transform: rotateY(90deg);
}

.book-top,
.book-bottom {
  left: 2px;
  width: calc(100% - 6px);
  height: calc(var(--depth) - 4px);
  background: repeating-linear-gradient(0deg, #f6efe0 0 2px, #e4d9c2 2px 3px);
}

.book-top {
  top: calc(var(--depth) / -2 + 2px);
  transform: rotateX(90deg);
}

.book-bottom {
  bottom: calc(var(--depth) / -2 + 2px);
  transform: rotateX(-90deg);
}

@media (prefers-reduced-motion: reduce) {
  .book-3d { transition: none; }
}


/* Pop-out layers: Nana and the machine float in front of the cover art */
.book-3d .book-cover-front {
  overflow: visible;
  transform-style: preserve-3d;
}

.book-3d .book-cover-front img:not(.cover-layer) {
  border-radius: 3px 8px 8px 3px;
}

.book-3d .book-cover-front::before { transform: translateZ(1px); }
.book-3d .book-cover-front::after {
  border-radius: 3px 8px 8px 3px;
}

.book-cover-front .cover-layer {
  position: absolute;
  height: auto;
  object-fit: fill;
  pointer-events: none;
  filter: drop-shadow(0 8px 7px rgba(40, 20, 10, 0.35));
}

.book-cover-front .cover-nana {
  left: 25.55%;
  top: 25.95%;
  width: 22.95%;
  height: 53%;
  transform: translateZ(20px);
}

.book-cover-front .cover-machine {
  left: 49.9%;
  top: 47.8%;
  width: 27.15%;
  height: 32.26%;
  transform: translateZ(38px);
}

/* No mouse on touch devices: the book sways on its own instead */
@media (hover: none), (pointer: coarse) {
  .mockup-hint { display: none; }
}

/* ===== Multi-page layout ===== */
.skip-link {
  position: fixed;
  left: 12px;
  top: 12px;
  transform: translateY(calc(-100% - 24px));
  background: var(--color-text-main);
  color: #FFFFFF;
  padding: 10px 16px;
  border-radius: var(--radius-sm);
  z-index: 300;
  text-decoration: none;
  font-weight: 700;
}
.skip-link:focus { transform: none; }

/* Focus targets stay below the sticky header after anchor navigation. */
[id] { scroll-margin-top: calc(5rem + 48px); }
main:focus, section[tabindex="-1"]:focus { outline: none; }
.book-page-slot[hidden] { display: none; }
picture[data-responsive], .reader-picture { display: contents; }

a.logo { text-decoration: none; }

.main-nav { gap: 22px; align-items: center; }
.main-nav a[aria-current="page"] {
  color: var(--color-primary);
  box-shadow: inset 0 -3px 0 var(--color-primary);
}
.main-nav .nav-cta { display: none; }

/* desktop: links sit on the right, inline with the Get the Book button */
.main-nav { margin-left: auto; margin-right: 28px; }

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 10px;
  background: transparent;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  cursor: pointer;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
}
.nav-toggle-bar {
  display: block;
  height: 3px;
  width: 100%;
  background: var(--color-text-main);
  border-radius: 2px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

a:focus-visible, button:focus-visible, summary:focus-visible, input:focus-visible {
  outline: 3px solid #1B3A7A;
  outline-offset: 3px;
  box-shadow: 0 0 0 3px #FFFFFF;
}

/* inner page header */
.page-hero {
  padding: 56px 0 40px;
  background: linear-gradient(180deg, #FFFDF9 0%, #FAF3E0 100%);
}
.page-title {
  font-size: 2.6rem;
  margin-bottom: 10px;
}
.page-sub {
  font-size: 1.2rem;
  color: var(--color-text-muted);
}
.page-hero + .flipbook-section { padding-top: 40px; }

/* simple content pages */
.content-section { padding: 56px 0; }
.content-section.alt { background: #FAF7F0; }
.prose { max-width: 760px; }
.prose h2 { font-size: 1.6rem; margin: 28px 0 12px; }
.prose h2:first-child { margin-top: 0; }
.prose p { margin-bottom: 16px; font-size: 1.1rem; color: var(--color-text-muted); }
.prose a:not(.btn) { color: var(--color-primary); font-weight: 600; }
.prose a:not(.btn) {
  display: inline-block;
  min-width: 44px;
  min-height: 44px;
  max-width: 100%;
  padding: 8px 0;
  overflow-wrap: anywhere;
}
.check-list { list-style: none; margin-bottom: 20px; }
.check-list li {
  position: relative;
  padding: 0 0 12px 32px;
  font-size: 1.1rem;
  color: var(--color-text-muted);
}
.check-list li::before { content: "✨"; position: absolute; left: 0; top: 0; }
.fact-list {
  display: grid;
  grid-template-columns: max-content 1fr;
  gap: 10px 24px;
  margin-bottom: 20px;
}
.fact-list dt { font-weight: 700; color: var(--color-text-main); }
.fact-list dd { color: var(--color-text-muted); }
.fact-line { color: var(--color-text-main); }

.faq-item {
  background: #FFFFFF;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 4px 20px;
  margin-bottom: 12px;
}
.faq-item summary {
  cursor: pointer;
  padding: 14px 0;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.15rem;
}
.faq-item p { margin-bottom: 14px; }

/* home: teaser cards and closing call-to-action */
.teaser-section { padding: 20px 0 70px; }
.teaser-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
}
.teaser-card {
  display: block;
  background: #FFFFFF;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 28px;
  text-decoration: none;
  color: inherit;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.teaser-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.teaser-icon { font-size: 2rem; display: block; margin-bottom: 10px; }
.teaser-card h3 { font-size: 1.3rem; margin-bottom: 8px; }
.teaser-card p { color: var(--color-text-muted); margin-bottom: 14px; }
.teaser-link { color: var(--color-primary); font-weight: 700; }

.cta-band {
  padding: 70px 0;
  background: linear-gradient(135deg, #FAF3E0 0%, #FEE7DE 100%);
}
.cta-band h2 { font-size: 2.2rem; margin-bottom: 12px; }
.cta-band p { color: var(--color-text-muted); font-size: 1.15rem; margin-bottom: 26px; }

/* shared footer */
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}
.footer-title { font-family: var(--font-display); font-size: 1.3rem; font-weight: 700; color: #FDF8E8; margin-bottom: 8px; }
.footer-brand p { color: #D4A373; margin-bottom: 8px; }
.footer-nav { display: flex; flex-wrap: wrap; gap: 10px 22px; align-content: flex-start; }
.footer-nav a, .footer-bottom a { color: #FDF8E8; text-decoration: none; font-weight: 600; }
.footer-nav a, .footer-bottom a {
  display: inline-flex;
  align-items: center;
  min-width: 44px;
  min-height: 44px;
  max-width: 100%;
  overflow-wrap: anywhere;
}
.footer-nav a:hover, .footer-bottom a:hover { color: var(--color-secondary); }
.footer-brand .footer-isbn, .footer-cta .footer-isbn { margin: 0; }

@media (max-width: 1000px) {
  .nav-toggle { display: inline-flex; }
  .header-actions { display: none; }
  .site-header { position: sticky; }
  .main-nav {
    margin: 0;
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 8px 24px 20px;
    background: #FFFDF9;
    border-bottom: 1px solid var(--color-border);
    box-shadow: var(--shadow-md);
  }
  .main-nav.open { display: flex; }
  .main-nav { max-height: calc(100dvh - 5rem - 48px); overflow-y: auto; }
  .nav-toggle { flex-shrink: 0; }
  .main-nav a {
    padding: 14px 4px;
    font-size: 1.05rem;
    border-bottom: 1px solid var(--color-border-subtle);
  }
  .main-nav a[aria-current="page"] { box-shadow: none; }
  .main-nav .nav-cta {
    display: inline-flex;
    justify-content: center;
    margin-top: 14px;
    padding: 12px 20px;
    border: none;
    border-radius: 50px;
    background: var(--color-primary);
    color: #FFFFFF;
  }
}

@media (max-width: 700px) {
  .page-title { font-size: 2rem; }
  .footer-grid { grid-template-columns: 1fr; }
  .fact-list { grid-template-columns: 1fr; gap: 2px; }
  .fact-list dd { margin-bottom: 12px; }
}

/* AEO answer block, agents page */
.glance-section { padding: 56px 0 24px; background: #FFFFFF; }
.glance-section .prose h2 { font-size: 1.8rem; }
.glance-section .prose h3 { font-size: 1.2rem; margin: 22px 0 12px; }
.prose code {
  background: #F5EBE1;
  border-radius: 6px;
  padding: 1px 6px;
  font-size: 0.95em;
}
.status-pill {
  display: inline-block;
  margin-top: 10px;
  padding: 6px 18px;
  border-radius: 20px;
  background: #E6F3E6;
  color: #246329;
  font-weight: 700;
}
.agents-heading { text-align: center; font-size: 1.8rem; margin-bottom: 28px; }

/* Reader controls reflow rather than squeezing their labels on small screens. */
.flipbook-controls { gap: 12px; flex-wrap: wrap; }
.page-indicator { text-align: center; }
.page-total { display: block; }
.reader-instructions { margin-bottom: 16px; color: var(--color-text-muted); }
.reader-text { margin-top: 24px; }
.reader-text summary { min-height: 44px; padding: 10px 0; cursor: pointer; font-weight: 700; }
.reader-text h3 { margin: 16px 0 8px; }
.reader-text p { white-space: pre-line; margin-bottom: 12px; }

@media (max-width: 600px) {
  .flipbook-container { padding: 24px 16px; }
  .page-indicator { order: -1; flex-basis: 100%; }
  .ctrl-btn { flex: 1; }
  .activity-box { padding: 32px 24px; }
  .hero-title, .page-title { overflow-wrap: anywhere; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .btn:hover, .story-card:hover, .teaser-card:hover { transform: none; }
  .mockup-hint { display: none; }
}

/* Paper turns preserve the reader layout throughout. */
.flipbook-viewport { touch-action: pan-y pinch-zoom; }
.book-page-slot { transform-origin: left center; backface-visibility: hidden; }
.book-page-slot.left-slot { transform-origin: right center; }
@media (max-width: 900px) {
  /* Reserve both stacked page positions, including the single-cover views. */
  .flipbook-viewport { aspect-ratio: 1 / 2; }
  .book-page-slot.left-slot { transform-origin: left center; }
}

/* A two-sided paper leaf crosses the spine on desktop interior spreads. */
.paper-turn { position: absolute; inset: 0; perspective: 1800px; pointer-events: none; }
.paper-sheet, .paper-stationary { position: absolute; top: 0; width: 50%; height: 100%; }
.paper-sheet { transform-style: preserve-3d; }
.paper-forward .paper-sheet { left: 50%; transform-origin: left center; }
.paper-backward .paper-sheet { left: 0; transform-origin: right center; }
.paper-forward .paper-stationary { left: 0; }
.paper-backward .paper-stationary { left: 50%; }
.paper-face { position: absolute; inset: 0; backface-visibility: hidden; background: white; }
.paper-back { transform: rotateY(180deg); }
.paper-face img, .paper-stationary img { width: 100%; height: 100%; object-fit: contain; }
.paper-sheet { filter: drop-shadow(0 4px 8px rgba(0,0,0,.16)); }

/* Printable activities remain ordinary local downloads, with text equivalents. */
.download-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin: 28px 0; }
.download-card { border: 1px solid var(--color-border); border-radius: 16px; padding: 24px; background: white; }
.download-card h3 { margin-top: 0; }
.download-card ul { list-style: none; padding: 0; }
.download-card li { margin: 12px 0; }
.download-card a { display: inline-flex; min-height: 44px; align-items: center; overflow-wrap: anywhere; }
.download-card span { display: block; font-size: .9rem; }
.sock-answer-list { columns: 2; column-gap: 32px; }
.sock-answer-list li { break-inside: avoid; margin-bottom: 12px; }
@media (max-width: 900px) { .download-grid { grid-template-columns: 1fr; } .sock-answer-list { columns: 1; } }

.activity-resource-link { display: inline-flex; align-items: center; min-height: 44px; }

.guide-actions { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; margin: 24px 0; }
.guide-print-help, .question-reference { font-size: .95rem; }
.discussion-list > li { padding: 8px 0 16px 8px; }
.discussion-list p { margin: 8px 0; }
.reading-tips li, .classroom-steps li { margin-bottom: 16px; }
.guide-review-note { border-left: 4px solid #9d2857; padding: 8px 16px; }
.guide-print-only { display: none; }
@media print {
  @page { margin: 16mm; }
  html, body { background: white !important; color: black !important; font-size: 11pt !important; }
  body { padding: 0; }
  body:has(.reading-guide) .site-header,
  body:has(.reading-guide) .site-footer,
  body:has(.reading-guide) .skip-link,
  body:has(.reading-guide) .activity-downloads,
  .guide-actions, .guide-print-help, .guide-screen-only { display: none !important; }
  body:has(.reading-guide) main { padding: 0; }
  body:has(.reading-guide) .container { width: 100%; max-width: none; padding: 0; margin: 0; }
  body:has(.reading-guide) .page-hero { padding: 0 0 6mm; background: white; text-align: left; }
  body:has(.reading-guide) .page-title { font-size: 22pt; }
  body:has(.reading-guide) .page-sub { font-size: 11pt; }
  .reading-guide { padding: 0; background: white; }
  .reading-guide, .reading-guide p, .reading-guide li { color: black; line-height: 1.45; }
  .reading-guide h2 { font-size: 16pt; margin: 7mm 0 3mm; }
  .reading-guide h3 { font-size: 13pt; margin: 5mm 0 2mm; }
  .reading-guide h2, .reading-guide h3 { break-after: avoid; }
  .discussion-list > li, .reading-tips > li, .classroom-steps > li { break-inside: avoid; }
  .guide-print-only { display: block; }
  .guide-review-note { border-color: black; }
}
@media print {
  .reading-guide .prose { font-size: 11pt; }
  .reading-guide p, .reading-guide li { line-height: 1.35; }
  .reading-guide .prose p { margin: 0 0 2.5mm; }
  .reading-guide .discussion-list > li { padding: 0 0 2.5mm 1mm; }
  .reading-guide .discussion-list .question-reference { font-size: 9.5pt; margin-top: 1mm; }
  .reading-guide .reading-tips li, .reading-guide .classroom-steps li { margin-bottom: 2.5mm; }
}
@media print {
  .reading-guide ol, .reading-guide ul { padding-left: 6mm; }
}

.read-along-section video { display: block; width: 100%; max-width: 720px; height: auto; aspect-ratio: 1; background: #17232c; border-radius: 12px; }
.read-along-section video::cue { color: white; background: rgba(0,0,0,.9); font-size: 1rem; }
.movie-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 16px 0; }
.movie-actions button[hidden] { display: none; }
.movie-downloads { padding-left: 24px; }
.movie-downloads a { display: inline-flex; align-items: center; min-height: 44px; overflow-wrap: anywhere; }
.movie-review-note { border-left: 4px solid #9d2857; padding: 8px 16px; }
@media print { .read-along-section video, .movie-actions { display: none; } }

/* WASHBOOK-36
— current Nana storybook design. Keep existing reader behaviour. */
:root {
  --color-bg:#fffaf0;
  --color-card-bg:#fffdf8;
  --color-warm-accent:#f9f0de;
  --color-primary:#9c3653;
  --color-primary-hover:#7c2942;
  --color-secondary:#dce5cc;
  --color-secondary-hover:#cad9b7;
  --color-text-main:#243d35;
  --color-text-muted:#52655a;
  --color-border:#d8dbc8;
  --color-border-subtle:#e8e4d5;
  --font-display:Georgia,'Times New Roman',serif;
  --font-body:'Nunito',sans-serif
}
html {
  scroll-padding-top:110px
}
body {
  background:#fffaf0;
  color:#243d35
}
.container {
  max-width:1240px;
  padding:0 36px
}
h1,h2,h3,h4 {
  font-family:Georgia,'Times New Roman',serif;
  color:#243d35
}
h2 {
  font-size:clamp(2rem,3.1vw,2.8rem);
  letter-spacing:-.045em;
  line-height:1.12
}
p {
  line-height:1.6
}
.site-header {
  background:#fffaf0;
  border-bottom:3px solid #dfb34c;
  backdrop-filter:none;
  padding:16px 0
}
.logo {
  color:#243d35;
  text-decoration:none;
  line-height:1
}
.logo-text {
  font:700 33px/1 Georgia,serif;
  letter-spacing:-.055em
}
.logo-text small {
  display:block;
  font:600 10px/1.5 'Nunito',sans-serif;
  letter-spacing:.075em;
  margin-top:7px
}
.main-nav {
  gap:30px
}
.main-nav a {
  font:600 15px/1.5 'Nunito',sans-serif;
  color:#243d35
}
.main-nav a[aria-current=page] {
  color:#9c3653
}
.header-actions {
  display:block
}
.btn {
  font:700 17px/1.4 'Nunito',sans-serif;
  border-radius:6px;
  padding:14px 24px;
  min-height:48px;
  box-shadow:none;
  transition:background-color .15s,color .15s
}
.btn:hover {
  transform:none;
  box-shadow:none
}
.btn-primary {
  background:#9c3653;
  color:#fff
}
.btn-primary:hover {
  background:#7c2942
}
.btn-sm {
  padding:11px 20px;
  font-size:14px;
  min-height:44px
}
.btn-outline {
  border:1.5px solid #9c3653;
  color:#9c3653;
  background:transparent
}
.btn-outline:hover {
  background:#f5e7e9
}
.btn-secondary {
  background:#dce5cc;
  color:#243d35
}
.launch-hero {
  padding:48px 0 52px
}
.launch-hero-grid {
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:64px;
  align-items:center
}
.launch-intro h1 {
  font-size:clamp(2.8rem,5.1vw,4.5rem);
  line-height:1.05;
  letter-spacing:-.055em;
  margin:0 0 25px
}
.launch-description {
  font-size:22px;
  line-height:1.5;
  max-width:510px;
  margin-bottom:28px
}
.launch-actions {
  display:flex;
  gap:14px;
  flex-wrap:wrap
}
.edition-line {
  font-size:14px;
  margin-top:18px
}
.launch-cover {
  margin:0;
  width:100%;
  max-width:505px;
  justify-self:end
}
.launch-cover img {
  display:block;
  width:100%;
  height:auto;
  border-radius:3px;
  box-shadow:0 16px 24px #243d3520
}
.story-moments {
  padding:38px 0 60px;
  background:#fbf3e2
}
.story-moments .section-header {
  margin-bottom:30px
}
.story-moments .section-header p {
  font-size:18px;
  margin-top:9px
}
.moments-grid {
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:22px
}
.moments-grid figure {
  margin:0;
  min-width:0
}
.moments-grid img {
  width:100%;
  aspect-ratio:1.15;
  object-fit:cover;
  display:block;
  border-radius:5px
}
.moments-grid figcaption {
  font:700 clamp(1.3rem,2.1vw,1.8rem)/1.2 Georgia,serif;
  text-align:center;
  margin-top:13px;
  letter-spacing:-.035em
}
.watch-feature {
  background:#dce5cc;
  padding:48px 0
}
.watch-grid {
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:56px;
  align-items:center
}
.watch-poster {
  position:relative;
  display:block;
  max-width:445px;
  justify-self:center;
  width:100%;
  border-radius:6px;
  overflow:hidden;
  color:#fff
}
.watch-poster img {
  display:block;
  width:100%;
  height:auto
}
.play-symbol {
  position:absolute;
  left:50%;
  top:46%;
  transform:translate(-50%,-50%);
  display:grid;
  place-items:center;
  padding-left:5px;
  width:70px;
  height:70px;
  border-radius:50%;
  background:#243d35e6;
  border:2px solid #fff;
  font-size:26px
}
.poster-caption {
  position:absolute;
  bottom:0;
  left:0;
  right:0;
  background:#243d35e8;
  padding:11px 15px;
  font-size:13px
}
.poster-caption>span {
  float:right
}
.watch-copy h2 {
  max-width:480px
}
.watch-copy .lead {
  font-size:21px;
  margin:16px 0 14px;
  font-weight:600
}
.watch-copy p:not(.lead) {
  margin-bottom:20px;
  font-size:17px
}
.watch-copy .small-note {
  font-size:13px!important;
  margin:15px 0 0!important
}
.little-adventures {
  padding:48px 0
}
.adventures-grid {
  display:grid;
  grid-template-columns:1fr 260px;
  gap:45px;
  align-items:center
}
.adventures-grid p {
  max-width:730px;
  margin:18px 0 25px;
  font-size:18px
}
.adventures-grid>img {
  width:100%;
  height:230px;
  object-fit:contain;
  mix-blend-mode:multiply
}
.resource-links {
  display:flex;
  gap:25px;
  flex-wrap:wrap
}
.resource-links a {
  font-weight:700;
  color:#9c3653;
  border-bottom:1px solid #9c3653;
  padding:10px 0;
  text-decoration:none;
  min-height:44px
}
.resource-links a span {
  margin-left:12px
}
.purchase-section {
  padding:38px 0;
  background:#dce5cc
}
.purchase-grid {
  display:grid;
  grid-template-columns:1fr auto;
  gap:40px;
  align-items:center
}
.purchase-book-title {
  font-family:Georgia,serif;
  font-size:18px;
  font-style:italic;
  margin-top:13px
}
.purchase-action {
  text-align:center
}
.purchase-action .btn {
  min-width:260px
}
.purchase-action p {
  font-size:12px;
  margin-top:12px
}
.site-footer {
  background:#243d35;
  padding:36px 0;
  color:#fffaf0
}
.site-footer .footer-grid {
  display:grid;
  grid-template-columns:1fr 1fr 1.2fr;
  gap:32px;
  align-items:center;
  margin:0
}
.site-footer .footer-title {
  font:700 30px/1 Georgia,serif;
  letter-spacing:-.04em;
  color:#fffaf0
}
.site-footer p,.site-footer a {
  color:#fffaf0;
  font-size:12px
}
.site-footer .footer-brand p:not(.footer-title) {
  margin-top:12px
}
.footer-nav {
  display:flex;
  flex-wrap:wrap;
  gap:12px 20px
}
.footer-nav a {
  text-decoration:none;
  padding:5px 0
}
.footer-copyright p {
  margin-bottom:8px
}
.site-footer a:hover {
  text-decoration:underline
}
.page-hero {
  background:#fbf3e2;
  padding:48px 0 38px
}
.page-title {
  font-size:clamp(2.2rem,5vw,3.5rem);
  letter-spacing:-.04em
}
.page-sub {
  font-size:18px;
  margin-top:14px
}
.content-section {
  padding:42px 0
}
.content-section.alt {
  background:#f4f2e8
}
.prose {
  max-width:900px
}
.prose h2 {
  font-size:2rem;
  margin-bottom:18px
}
.prose h3 {
  font-size:1.3rem
}
.ctrl-btn {
  font-family:'Nunito',sans-serif
}
.flipbook-container {
  background:#fffdf8;
  border-color:#d8dbc8
}
.read-along-section {
  background:#dce5cc
}
.movie-review-note {
  font-size:14px
}
.faq-item {
  background:#fffdf8
}
.download-card,.teaser-card {
  box-shadow:none
}
.section-title {
  letter-spacing:-.04em
}
.hero-cover {
  background:#fff
}
.site-header a:focus-visible,.btn:focus-visible,.resource-links a:focus-visible,.watch-poster:focus-visible {
  outline:3px solid #243d35;
  outline-offset:5px
}
@media(max-width:1000px) {
  .main-nav {
    background:#fffaf0
  }
  .main-nav a {
    font-size:16px
  }
  .launch-hero-grid {
    gap:30px
  }
  .launch-description {
    font-size:19px
  }
  .logo-text {
    font-size:28px
  }
  .site-footer .footer-grid {
    grid-template-columns:1fr 1fr
  }
  .footer-copyright {
    grid-column:1/-1
  }
  .watch-grid {
    gap:32px
  }
}
@media(max-width:700px) {
  html {
    scroll-padding-top:100px
  }
  .container {
    padding:0 22px
  }
  .site-header {
    padding:14px 0
  }
  .nav-container {
    gap:10px;
    flex-wrap:nowrap
  }
  .logo-text {
    font-size:25px
  }
  .logo-text small {
    font-size:8px;
    letter-spacing:.025em;
    max-width:147px
  }
  .header-actions .btn {
    font-size:12px;
    padding:10px 12px;
    white-space:nowrap
  }
  .nav-toggle {
    flex-shrink:0
  }
  .main-nav {
    top:100%;
    padding:18px 22px
  }
  .launch-hero {
    padding:32px 0 40px
  }
  .launch-hero-grid {
    grid-template-columns:1fr;
    gap:30px
  }
  .launch-intro h1 {
    font-size:clamp(2.7rem,11vw,3.8rem);
    margin-bottom:20px
  }
  .launch-description {
    font-size:19px;
    margin-bottom:23px
  }
  .launch-actions {
    gap:10px
  }
  .launch-actions .btn {
    font-size:15px;
    padding:13px 18px
  }
  .edition-line {
    font-size:12px
  }
  .launch-cover {
    max-width:440px;
    justify-self:center
  }
  .story-moments {
    padding:32px 0 40px
  }
  .moments-grid {
    gap:24px;
    grid-template-columns:1fr
  }
  .moments-grid img {
    aspect-ratio:1.25
  }
  .moments-grid figcaption {
    font-size:1.65rem
  }
  .story-moments .section-header p {
    font-size:17px
  }
  .watch-grid {
    grid-template-columns:1fr;
    gap:28px
  }
  .watch-feature {
    padding:32px 0
  }
  .watch-copy .lead {
    font-size:20px
  }
  .watch-poster {
    max-width:390px
  }
  .adventures-grid {
    grid-template-columns:1fr;
    gap:20px
  }
  .adventures-grid>img {
    height:210px;
    max-width:240px;
    justify-self:center
  }
  .little-adventures {
    padding:34px 0
  }
  .resource-links {
    flex-direction:column;
    gap:3px;
    align-items:flex-start
  }
  .purchase-grid {
    grid-template-columns:1fr;
    gap:24px
  }
  .purchase-action {
    text-align:left
  }
  .purchase-action .btn {
    min-width:0
  }
  .site-footer .footer-grid {
    grid-template-columns:1fr;
    gap:25px
  }
  .footer-copyright {
    grid-column:auto
  }
  .site-footer .footer-title {
    font-size:28px
  }
  .page-hero {
    padding:32px 0
  }
  .content-section {
    padding:30px 0
  }
}
/* Responsive <picture> wrappers retain the layout role of their images. */
.moments-grid figure,.adventures-grid>div,.adventures-grid>picture {
  min-width:0
}
.moments-grid picture {
  display:block
}
.moments-grid img {
  height:auto;
  aspect-ratio:1.15;
  object-fit:cover
}
.adventures-grid>picture {
  display:block;
  width:100%;
  max-width:260px;
  justify-self:end
}
.adventures-grid>picture img {
  display:block;
  width:100%;
  height:230px;
  object-fit:contain;
  mix-blend-mode:multiply
}
.launch-cover picture {
  display:block
}
@media(max-width:700px) {
  .moments-grid img {
    aspect-ratio:1.25
  }
  .adventures-grid>picture {
    max-width:240px;
    justify-self:center
  }
  .adventures-grid>picture img {
    height:210px
  }
}

/* Definitive first-design layout — approved screenshot, current canonical Nana art. */
@media(min-width:1001px){.container{width:82%;max-width:1240px;padding:0}.story-moments>.container,.watch-feature>.container{width:94%;max-width:1360px}.little-adventures>.container,.purchase-section>.container{width:86%;max-width:1280px}}
.site-header{position:relative;z-index:10;padding:13px 0}
.site-header .nav-container{position:relative;z-index:2}
.logo-text small{font-size:10px}.main-nav a{font-family:Georgia,serif;font-weight:400}
.btn{font-family:Georgia,'Times New Roman',serif;font-weight:700}
.launch-hero{padding:22px 0 26px}.launch-hero-grid{grid-template-columns:1.1fr 1fr;gap:44px}.launch-intro h1{font-size:clamp(2.7rem,5.8vw,5rem);margin-bottom:20px}.launch-description{font-size:clamp(18px,2.05vw,26px);line-height:1.3;margin-bottom:20px}.launch-cover{width:100%;max-width:490px;aspect-ratio:1;overflow:hidden;position:relative;box-shadow:0 12px 24px #243d3530;border-radius:3px}.launch-cover picture{position:absolute;inset:0}.launch-cover img{position:absolute;width:122%;max-width:none;height:auto;left:-11.1%;top:-4.5%;box-shadow:none;border-radius:0}.edition-line{font-size:clamp(11px,1.25vw,15px);margin-top:16px}
.story-moments{padding:20px 0 27px}.story-moments .section-header{margin-bottom:20px}.story-moments .section-header p{margin-top:8px;font-size:clamp(15px,1.65vw,20px)}.moments-grid{gap:17px}.moments-grid img{aspect-ratio:1.3;object-fit:cover}.moments-grid figcaption{margin-top:6px;font-size:clamp(20px,2.3vw,29px)}
.watch-feature{position:relative;overflow:hidden;padding:19px 0}.watch-grid{grid-template-columns:1.15fr 1fr;gap:44px}.watch-poster{width:100%;max-width:none;aspect-ratio:2.02;justify-self:stretch}.watch-poster picture{display:block;width:100%;height:100%}.watch-poster img{width:100%;height:100%;object-fit:cover;object-position:center 43%}.watch-copy{position:relative;z-index:2;padding-right:15px}.watch-copy h2{font-size:clamp(27px,3.45vw,43px)}.watch-copy .lead{font-size:clamp(17px,1.9vw,23px);margin:9px 0 13px}.watch-copy p:not(.lead){font-size:clamp(14px,1.6vw,19px);line-height:1.35;margin-bottom:14px}.watch-copy .small-note{font-size:11px!important;margin-top:10px!important}.play-symbol{width:70px;height:70px;background:#243d35a8}.poster-caption{font-size:11px;padding:9px 12px}.watch-feature .small-note{display:none}
.little-adventures{padding:22px 0 0;overflow:hidden}.adventures-grid{grid-template-columns:minmax(0,1fr) 290px;gap:18px;align-items:center}.adventures-grid h2{font-size:clamp(25px,3.3vw,41px)}.adventures-grid p{font-size:clamp(15px,1.6vw,20px);margin:12px 0 16px;line-height:1.35}.resource-links{gap:27px;flex-wrap:nowrap}.resource-links a{font-family:Georgia,serif;font-size:clamp(13px,1.35vw,17px);white-space:nowrap}.resource-links a span{margin-left:9px}
.purchase-section{position:relative;overflow:hidden;padding:20px 0}.purchase-section .purchase-grid{position:relative;z-index:1}.purchase-section h2{font-size:clamp(28px,3.3vw,42px)}.purchase-book-title{margin-top:10px}.purchase-action{padding-right:90px}.purchase-action p{font-size:11px;line-height:1.4}.purchase-action .btn{min-width:260px}.purchase-section .purchase-grid{gap:22px}.site-footer{padding:23px 0;position:relative}.site-footer .footer-grid{grid-template-columns:1fr 1fr 1.4fr;gap:28px}.site-footer .footer-title{font-size:32px}.site-footer p,.site-footer a{font-size:10px}.site-footer .footer-brand p:not(.footer-title){font-size:10px;letter-spacing:.02em}.footer-nav{gap:12px 18px}.footer-copyright p{font-size:10px;line-height:1.5}
.decor-sprite{display:block;background-image:url('book_art/decor/first-design-atlas.png');background-repeat:no-repeat;background-size:200% 200%;pointer-events:none;user-select:none;position:absolute;z-index:1}.decor-header-left{width:115px;height:115px;left:0;top:5px;background-position:0 0}.decor-header-right{width:125px;height:100px;right:0;top:0;background-position:100% 0}.decor-flowers{width:180px;height:180px;right:-28px;bottom:-28px;background-position:0 100%;opacity:.9}.decor-basket{position:relative;width:100%;aspect-ratio:1;background-position:100% 100%;align-self:end;margin-bottom:-10px}.decor-purchase{width:145px;height:145px;right:-27px;bottom:-35px;background-position:0 100%}
@media(min-width:1400px){.launch-hero{padding:27px 0 33px}.launch-hero-grid{gap:70px}.story-moments{padding:27px 0 34px}.watch-feature{padding:25px 0}.little-adventures{padding-top:29px}.purchase-section{padding:27px 0}}
@media(max-width:1000px){.container{width:88%;padding:0}.story-moments>.container,.watch-feature>.container{width:94%}.decor-header-left{width:65px;height:90px}.decor-header-right{width:65px;height:65px}.site-header .container{width:84%}.watch-grid{gap:22px}.adventures-grid{grid-template-columns:minmax(0,1fr) 200px}.resource-links{gap:18px;flex-wrap:wrap}.purchase-action{padding-right:40px}.purchase-action .btn{min-width:190px}.site-footer .footer-grid{grid-template-columns:1fr 1fr}.footer-copyright{grid-column:1/-1}}
@media(max-width:700px){.site-header .container{width:94%}.decor-header-left,.decor-header-right{display:none}.launch-hero{padding:30px 0}.launch-hero-grid{grid-template-columns:1fr;gap:27px}.launch-intro h1{font-size:clamp(39px,10.8vw,56px)}.launch-description{font-size:19px;line-height:1.4}.launch-cover{width:92%;max-width:420px}.launch-actions .btn{font-size:16px}.story-moments{padding:28px 0}.moments-grid{gap:24px}.moments-grid img{aspect-ratio:1.3}.moments-grid figcaption{font-size:24px}.story-moments .section-header p{font-size:17px}.watch-feature{padding:25px 0}.watch-grid{grid-template-columns:1fr;gap:25px}.watch-copy{padding:0 10px}.watch-copy h2{font-size:34px}.watch-copy .lead{font-size:21px}.watch-copy p:not(.lead){font-size:17px;line-height:1.45}.watch-poster{aspect-ratio:1.65}.decor-flowers{width:120px;height:120px;opacity:.3}.adventures-grid{grid-template-columns:1fr;gap:0}.adventures-grid h2{font-size:32px}.adventures-grid p{font-size:17px}.resource-links{flex-direction:column;gap:0;align-items:flex-start}.resource-links a{font-size:17px}.decor-basket{width:240px;justify-self:end;margin-top:-40px}.purchase-grid{grid-template-columns:1fr;gap:20px}.purchase-action{padding-right:0}.purchase-action .btn{min-width:220px}.purchase-section{padding:28px 0}.purchase-section h2{font-size:34px}.purchase-action p{font-size:12px}.decor-purchase{width:110px;height:110px;opacity:.4}.site-footer .footer-grid{grid-template-columns:1fr}.footer-copyright{grid-column:auto}.site-footer p,.site-footer a,.footer-copyright p{font-size:12px}.footer-brand .footer-title{font-size:30px}}
/* Match the first concept's two-line headline and keep ornaments clear of copy. */
@media(min-width:1001px){.launch-intro h1{font-size:clamp(48px,5.45vw,72px);letter-spacing:-.055em}.launch-hero-grid{grid-template-columns:1.13fr 1fr}.watch-copy{padding-right:45px}.watch-copy p{max-width:430px}.watch-feature .decor-flowers{width:145px;height:145px;right:-30px;bottom:-25px}}
@media(min-width:701px) and (max-width:1000px){.launch-intro h1{font-size:44px}.launch-hero-grid{gap:27px}.watch-copy{padding-right:35px}.watch-feature .decor-flowers{width:110px;height:110px;opacity:.5}}
.decor-header-left{width:85px;height:115px}.decor-header-right{width:90px;height:90px}
@media(max-width:1000px){.decor-header-left{width:55px;height:75px}.decor-header-right{width:55px;height:65px}}
@media(max-width:700px){.decor-header-left,.decor-header-right{display:none}}
body{background:#fff}
.site-frame{margin:10px;border-radius:32px;overflow:clip;isolation:isolate;background:#fffaf0}
.site-header{padding:10px 0}.logo-text small{margin-top:2px;line-height:1.1}
.decor-basket{width:260px;height:220px;aspect-ratio:auto;background-size:520px 520px;justify-self:end}
.site-footer{padding:18px 0}.site-footer .footer-brand p:not(.footer-title){margin-top:8px;line-height:1.4}
@media(max-width:700px){.site-frame{margin:0;border-radius:0}.site-header{padding:14px 0}.decor-basket{width:240px;height:220px;background-size:480px 480px;margin-top:0}.site-footer{padding:28px 0}}
.series-context{font-size:12px;line-height:1.4;color:#52655a;margin-top:9px;max-width:400px}
