/* ==========================================================================
   Ivy Nnorom — Creativity, Compassion & Purpose
   Design system: deep indigo night · saffron · ember · leaf · warm paper
   ========================================================================== */

:root {
  --night: #1B1633;
  --night-2: #251E46;
  --night-3: #322A5C;
  --ink: #1F1A33;
  --muted: #5E5872;
  --cream: #FFF8EE;
  --paper: #FBF3E6;
  --sand: #F4E6CF;
  --saffron: #F2A93B;
  --saffron-d: #D98E1F;
  --ember: #E0572F;
  --ember-d: #C2431E;
  --leaf: #2E8B67;
  --leaf-l: #7BC59A;
  --sky: #4FA3D9;
  --plum: #7A4FC4;
  --white: #fff;
  --line: rgba(31, 26, 51, .12);
  --line-light: rgba(255, 248, 238, .14);

  --f-display: 'Fraunces', Georgia, 'Times New Roman', serif;
  --f-body: 'Outfit', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --f-play: 'Shantell Sans', 'Comic Sans MS', 'Outfit', sans-serif;

  --r-sm: 10px;
  --r: 18px;
  --r-lg: 28px;
  --shadow-sm: 0 2px 10px rgba(27, 22, 51, .06);
  --shadow: 0 18px 50px -18px rgba(27, 22, 51, .28);
  --shadow-lg: 0 40px 90px -30px rgba(27, 22, 51, .45);
  --ease: cubic-bezier(.2, .7, .2, 1);
  --header-h: 78px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-padding-top: 90px; scroll-behavior: smooth; overflow-x: hidden; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--f-body);
  font-size: 17px;
  line-height: 1.7;
  color: var(--ink);
  background: var(--cream);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
p { margin: 0 0 1em; }
h1, h2, h3, h4 { font-family: var(--f-display); font-weight: 600; line-height: 1.12; margin: 0 0 .5em; letter-spacing: -.01em; color: var(--night); }
h1 { font-size: clamp(2.5rem, 5.4vw, 4.6rem); }
h2 { font-size: clamp(2rem, 3.6vw, 3.1rem); }
h3 { font-size: 1.4rem; }
em { font-style: italic; }
h1 em, h2 em { font-weight: 400; color: var(--ember); }
::selection { background: var(--saffron); color: var(--night); }
:focus-visible { outline: 3px solid var(--saffron); outline-offset: 3px; border-radius: 6px; }

.container { width: min(1240px, 100% - 40px); margin-inline: auto; }
.narrow { width: min(820px, 100% - 40px); margin-inline: auto; }
.sr, .hp { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; z-index: 999; background: var(--night); color: #fff; padding: 10px 16px; border-radius: 8px; }
.skip:focus { left: 12px; }
.ic { width: 1.15em; height: 1.15em; flex: none; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  font: 600 15.5px/1 var(--f-body); letter-spacing: .01em;
  padding: 15px 26px; border-radius: 999px; border: 2px solid transparent;
  cursor: pointer; transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s, color .25s, border-color .25s;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn .ic { transition: transform .25s var(--ease); }
.btn:hover .ic:last-child { transform: translateX(3px); }
.btn-primary { background: linear-gradient(135deg, var(--saffron), var(--ember)); color: #fff; box-shadow: 0 12px 28px -10px rgba(224, 87, 47, .65); }
.btn-primary:hover { box-shadow: 0 18px 36px -12px rgba(224, 87, 47, .8); }
.btn-dark { background: var(--night); color: var(--cream); }
.btn-dark:hover { background: var(--night-3); }
.btn-outline { border-color: var(--night); color: var(--night); }
.btn-outline:hover { background: var(--night); color: var(--cream); }
.btn-ghost-light { border-color: rgba(255, 248, 238, .4); color: var(--cream); }
.btn-ghost-light:hover { background: rgba(255, 248, 238, .12); border-color: var(--cream); }
.btn-light { background: var(--cream); color: var(--night); }
.btn-light:hover { background: #fff; }
.btn-leaf { background: var(--leaf); color: #fff; }
.btn-sm { padding: 11px 18px; font-size: 14.5px; }
.btn-lg { padding: 18px 32px; font-size: 16.5px; }
.btn-play { padding-left: 10px; }
.btn-play .play-dot { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; background: var(--cream); color: var(--ember); box-shadow: 0 0 0 0 rgba(242, 169, 59, .6); animation: pulse 2.4s infinite; }
.btn-play .play-dot .ic { width: 16px; height: 16px; margin-left: 2px; }
.btn-play:hover .play-dot .ic { transform: none; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(242, 169, 59, .55); } 70% { box-shadow: 0 0 0 14px rgba(242, 169, 59, 0); } 100% { box-shadow: 0 0 0 0 rgba(242, 169, 59, 0); } }

.link-arrow { display: inline-flex; align-items: center; gap: .4em; font-weight: 600; color: var(--ember); }
.link-arrow .ic { transition: transform .25s var(--ease); }
.link-arrow:hover .ic { transform: translateX(4px); }

/* ---------- Eyebrows / section heads ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font: 600 13px/1 var(--f-body); letter-spacing: .2em; text-transform: uppercase; color: var(--ember);
  margin-bottom: 18px;
}
.eyebrow::before { content: ""; width: 28px; height: 2px; background: currentColor; border-radius: 2px; }
.eyebrow.light { color: var(--saffron); }
.eyebrow.center::after { content: ""; width: 28px; height: 2px; background: currentColor; border-radius: 2px; }
.eyebrow-sm { display: block; font: 600 11px/1.2 var(--f-body); letter-spacing: .18em; text-transform: uppercase; color: var(--ember); margin-bottom: 4px; }
.section { padding: clamp(70px, 9vw, 120px) 0; position: relative; }
.section-tight { padding: clamp(50px, 6vw, 80px) 0; }
.section-head { max-width: 760px; margin-bottom: clamp(36px, 5vw, 60px); }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head p { font-size: 1.12rem; color: var(--muted); }
.lead { font-size: 1.2rem; color: var(--muted); }
.bg-paper { background: var(--paper); }
.bg-sand { background: var(--sand); }
.bg-night { background: var(--night); color: rgba(255, 248, 238, .82); }
.bg-night h2, .bg-night h3, .bg-night h4 { color: var(--cream); }
.bg-night h2 em { color: var(--saffron); }
.bg-night .section-head p { color: rgba(255, 248, 238, .7); }

/* ---------- Announcement bar ---------- */
.announce { background: var(--night); color: rgba(255, 248, 238, .85); font-size: 14px; }
.announce-in { display: flex; align-items: center; justify-content: center; gap: 12px; min-height: 42px; flex-wrap: wrap; padding: 6px 0; text-align: center; }
.announce-pill { background: var(--ember); color: #fff; font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; padding: 3px 9px; border-radius: 99px; }
.announce a { color: var(--saffron); font-weight: 600; display: inline-flex; align-items: center; gap: 5px; }
.announce strong { color: var(--cream); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255, 248, 238, .86);
  backdrop-filter: saturate(160%) blur(14px); -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: box-shadow .3s, border-color .3s, background .3s;
}
.site-header.scrolled { box-shadow: 0 10px 30px -18px rgba(27, 22, 51, .35); border-color: var(--line); background: rgba(255, 248, 238, .95); }
.site-header .container { width: min(1400px, 100% - 40px); }
.header-in { display: flex; align-items: center; gap: 22px; min-height: var(--header-h); }
.brand { display: inline-flex; align-items: center; gap: 12px; flex: none; }
.logo-mark { width: 46px; height: 46px; flex: none; filter: drop-shadow(0 6px 10px rgba(224, 87, 47, .25)); transition: transform .5s var(--ease); }
.brand:hover .logo-mark { transform: rotate(-8deg) scale(1.05); }
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-name { font: 700 25px/1 var(--f-display); color: var(--night); letter-spacing: -.01em; white-space: nowrap; }
.brand-sub { font: 500 10.5px/1 var(--f-body); letter-spacing: .2em; text-transform: uppercase; color: var(--ember); margin-top: 6px; white-space: nowrap; }
.brand-light .brand-name { color: var(--cream); }
.brand-light .brand-sub { color: var(--saffron); }

.main-nav { margin-left: auto; }
.nav-list { list-style: none; display: flex; align-items: center; gap: 2px; margin: 0; padding: 0; }
.nav-list > li { position: relative; display: flex; align-items: center; }
.nav-link { display: block; padding: 10px 11px; font-size: 15px; font-weight: 500; color: var(--ink); border-radius: 10px; white-space: nowrap; position: relative; transition: color .2s; }
.nav-link::after { content: ""; position: absolute; left: 11px; right: 11px; bottom: 4px; height: 2px; border-radius: 2px; background: var(--ember); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease); }
.nav-list > li:hover > .nav-link::after, .nav-list > li.active > .nav-link::after { transform: scaleX(1); }
.nav-list > li.active > .nav-link { color: var(--ember); }
.drop-toggle { background: none; border: 0; padding: 4px; margin-left: -8px; color: var(--muted); cursor: pointer; display: grid; place-items: center; }
.drop-toggle .ic { width: 15px; height: 15px; transition: transform .25s; }
.has-drop:hover .drop-toggle .ic, .has-drop.open .drop-toggle .ic { transform: rotate(180deg); }
.drop {
  position: absolute; top: calc(100% + 12px); left: -40px; width: 640px;
  display: grid; grid-template-columns: 250px 1fr; gap: 10px;
  background: #fff; border-radius: var(--r); box-shadow: var(--shadow-lg); padding: 14px;
  opacity: 0; visibility: hidden; transform: translateY(10px); transition: opacity .25s, transform .25s var(--ease), visibility .25s;
}
.drop::before { content: ""; position: absolute; top: -14px; left: 0; right: 0; height: 14px; }
.has-drop:hover .drop, .has-drop.open .drop, .has-drop:focus-within .drop { opacity: 1; visibility: visible; transform: none; }
.drop-feature { background: linear-gradient(160deg, var(--night), var(--night-3)); border-radius: 14px; padding: 18px; color: rgba(255, 248, 238, .8); display: flex; flex-direction: column; gap: 12px; }
.drop-feature img { width: 92px; border-radius: 6px; box-shadow: 0 12px 24px rgba(0, 0, 0, .4); transform: rotate(-4deg); }
.drop-feature strong { display: block; font: 600 1.25rem/1.2 var(--f-display); color: var(--cream); }
.drop-feature p { font-size: 14px; margin: 4px 0 8px; line-height: 1.5; }
.drop-feature .eyebrow-sm { color: var(--saffron); }
.drop-feature .link-arrow { color: var(--saffron); font-size: 14px; }
.drop ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 2px; }
.drop ul a { display: block; padding: 11px 14px; border-radius: 12px; transition: background .2s; }
.drop ul a:hover { background: var(--paper); }
.drop ul strong { display: block; font-weight: 600; color: var(--night); font-size: 15.5px; }
.drop ul span { display: block; font-size: 13.5px; color: var(--muted); line-height: 1.4; }
.nav-list > li.nav-mobile-only, .nav-mobile-cta { display: none; }

.header-actions { display: flex; align-items: center; gap: 10px; flex: none; }
.nav-toggle { display: none; width: 46px; height: 46px; border-radius: 50%; border: 0; background: var(--night); cursor: pointer; position: relative; }
.nav-toggle span { position: absolute; left: 13px; right: 13px; height: 2px; background: var(--cream); border-radius: 2px; transition: transform .3s, opacity .3s, top .3s; }
.nav-toggle span:nth-child(1) { top: 16px; }
.nav-toggle span:nth-child(2) { top: 22px; }
.nav-toggle span:nth-child(3) { top: 28px; }
.nav-open .nav-toggle span:nth-child(1) { top: 22px; transform: rotate(45deg); }
.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
.nav-open .nav-toggle span:nth-child(3) { top: 22px; transform: rotate(-45deg); }

.flash { margin: 18px 0 0; display: flex; align-items: center; gap: 12px; padding: 14px 18px; border-radius: 14px; font-weight: 500; }
.flash .ic { width: 22px; height: 22px; }
.flash-ok { background: #E3F4EA; color: #155B40; }
.flash-err { background: #FDE6DF; color: #9A3214; }

/* ---------- Home hero ---------- */
.hero { position: relative; overflow: hidden; padding: clamp(40px, 6vw, 80px) 0 clamp(70px, 8vw, 110px); background: radial-gradient(1200px 600px at 85% 10%, rgba(242, 169, 59, .22), transparent 60%), radial-gradient(900px 500px at 0% 100%, rgba(46, 139, 103, .12), transparent 60%), var(--cream); }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(30px, 5vw, 70px); align-items: center; }
.hero-roles { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 22px; padding: 0; list-style: none; }
.hero-roles li { font-size: 13.5px; font-weight: 500; padding: 6px 13px; border-radius: 99px; background: #fff; border: 1px solid var(--line); color: var(--muted); }
.hero h1 { margin-bottom: .35em; }
.hero h1 .line { display: block; }
.hero h1 .accent { font-style: italic; font-weight: 400; background: linear-gradient(100deg, var(--ember), var(--saffron) 60%, var(--leaf)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero .lead { max-width: 560px; margin-bottom: 30px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.hero-proof { display: flex; gap: 28px; margin-top: 40px; padding-top: 28px; border-top: 1px solid var(--line); flex-wrap: wrap; }
.hero-proof div { display: flex; flex-direction: column; }
.hero-proof strong { font: 600 2rem/1 var(--f-display); color: var(--night); }
.hero-proof span { font-size: 14px; color: var(--muted); margin-top: 6px; }

.hero-visual { position: relative; min-height: 560px; }
.portrait-arch {
  position: absolute; right: 4%; top: 0; width: 72%; aspect-ratio: 4 / 5;
  border-radius: 999px 999px 30px 30px; overflow: hidden;
  background: linear-gradient(160deg, var(--saffron), var(--ember));
  box-shadow: var(--shadow-lg);
}
.portrait-arch img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }
.portrait-arch::after { content: ""; position: absolute; inset: 0; border-radius: inherit; box-shadow: inset 0 0 0 8px rgba(255, 248, 238, .5); pointer-events: none; }
.orbit { position: absolute; right: -2%; top: -4%; width: 82%; aspect-ratio: 1; border: 1.5px dashed rgba(224, 87, 47, .35); border-radius: 50%; animation: spin 60s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.float-card {
  position: absolute; display: flex; align-items: center; gap: 12px;
  background: rgba(255, 255, 255, .92); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  padding: 12px 16px 12px 12px; border-radius: 18px; box-shadow: var(--shadow);
  font-size: 14px; line-height: 1.3; animation: bob 6s ease-in-out infinite;
}
.float-card strong { display: block; color: var(--night); font-size: 15px; }
.float-card span { color: var(--muted); font-size: 13px; }
.float-card .fc-ic { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; color: #fff; flex: none; }
.float-card .fc-ic .ic { width: 21px; height: 21px; }
.fc-book { left: 0; bottom: 18%; animation-delay: -2s; padding: 10px 18px 10px 10px; }
.fc-book img { width: 56px; border-radius: 4px; box-shadow: 0 8px 18px rgba(0, 0, 0, .25); }
.fc-music { right: -2%; bottom: 4%; animation-delay: -4s; }
.fc-music .fc-ic { background: var(--plum); }
.fc-heart { left: 6%; top: 10%; }
.fc-heart .fc-ic { background: var(--leaf); }
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }
.eq { display: inline-flex; gap: 2px; align-items: flex-end; height: 14px; margin-left: 4px; }
.eq i { width: 3px; background: var(--plum); border-radius: 2px; animation: eq 1s ease-in-out infinite; }
.eq i:nth-child(2) { animation-delay: -.3s; } .eq i:nth-child(3) { animation-delay: -.6s; } .eq i:nth-child(4) { animation-delay: -.15s; }
@keyframes eq { 0%, 100% { height: 4px; } 50% { height: 14px; } }

/* ---------- Marquee ---------- */
.marquee { background: var(--night); color: var(--cream); overflow: hidden; padding: 20px 0; transform: rotate(-1.2deg); margin: -26px -10px 0; position: relative; z-index: 2; box-shadow: var(--shadow); }
.marquee-track { display: flex; gap: 40px; width: max-content; animation: marquee 38s linear infinite; }
.marquee span { font: 500 italic 1.5rem/1 var(--f-display); white-space: nowrap; display: inline-flex; align-items: center; gap: 40px; }
.marquee span::after { content: "✦"; color: var(--saffron); font-style: normal; font-size: 1rem; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Pillars ("The world of Ivy") ---------- */
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.pillar {
  position: relative; overflow: hidden; border-radius: var(--r-lg); min-height: 360px; padding: 30px;
  display: flex; flex-direction: column; justify-content: flex-end; color: var(--cream);
  background: var(--night); isolation: isolate; transition: transform .4s var(--ease), box-shadow .4s var(--ease);
}
.pillar:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.pillar-bg { position: absolute; inset: 0; z-index: -2; background-size: cover; background-position: center; transition: transform 1.2s var(--ease); }
.pillar:hover .pillar-bg { transform: scale(1.08); }
.pillar::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(27, 22, 51, .05) 20%, rgba(27, 22, 51, .92) 85%); }
.pillar-ic { width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; margin-bottom: auto; background: rgba(255, 248, 238, .16); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); border: 1px solid rgba(255, 248, 238, .25); }
.pillar-ic .ic { width: 24px; height: 24px; }
.pillar small { font-size: 12px; letter-spacing: .18em; text-transform: uppercase; color: var(--saffron); font-weight: 600; }
.pillar h3 { color: var(--cream); font-size: 1.65rem; margin: 6px 0 8px; }
.pillar p { font-size: 15px; color: rgba(255, 248, 238, .78); margin-bottom: 14px; }
.pillar .link-arrow { color: var(--saffron); }
.pillar-wide { grid-column: span 2; }
.art-film { background: radial-gradient(circle at 20% 20%, #3C78B5, transparent 55%), radial-gradient(circle at 80% 70%, #7A4FC4, transparent 50%), var(--night); }
.art-music { background: radial-gradient(circle at 70% 25%, #7A4FC4, transparent 55%), radial-gradient(circle at 15% 80%, #E0572F, transparent 50%), var(--night); }
.art-health { background: radial-gradient(circle at 25% 25%, #2E8B67, transparent 55%), radial-gradient(circle at 85% 80%, #4FA3D9, transparent 50%), var(--night); }
.art-kind { background: radial-gradient(circle at 75% 20%, #F2A93B, transparent 50%), radial-gradient(circle at 20% 85%, #E0572F, transparent 55%), #3A1C2E; }
.art-lines { position: absolute; inset: 0; z-index: -1; opacity: .35; }

/* ---------- Book feature ---------- */
.book-feature { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(40px, 6vw, 90px); align-items: center; }
.book-stage { position: relative; display: grid; place-items: center; padding: 40px 0; }
.book-stage::before { content: ""; position: absolute; width: 86%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, rgba(242, 169, 59, .45), rgba(242, 169, 59, 0) 68%); }
.book-3d { position: relative; width: min(330px, 74%); perspective: 1600px; }
.book-3d-in { position: relative; transform: rotateY(-22deg) rotateX(4deg); transform-style: preserve-3d; transition: transform .8s var(--ease); }
.book-3d:hover .book-3d-in { transform: rotateY(-8deg) rotateX(2deg); }
.book-3d img { border-radius: 3px 8px 8px 3px; box-shadow: 30px 30px 60px -10px rgba(27, 22, 51, .5); position: relative; z-index: 2; }
.book-3d-in::before { content: ""; position: absolute; top: 2%; bottom: 2%; right: -16px; width: 18px; background: repeating-linear-gradient(90deg, #f3ead9, #f3ead9 2px, #e3d6bd 3px); transform: rotateY(90deg) translateZ(-1px); transform-origin: left; border-radius: 0 4px 4px 0; }
.book-3d-in::after { content: ""; position: absolute; inset: 0; z-index: 3; border-radius: 3px 8px 8px 3px; background: linear-gradient(90deg, rgba(0, 0, 0, .25) 0, rgba(255, 255, 255, .18) 3%, transparent 7%); pointer-events: none; }
.sticker { position: absolute; z-index: 4; width: 112px; height: 112px; border-radius: 50%; display: grid; place-items: center; text-align: center; background: var(--leaf); color: #fff; font: 700 15px/1.15 var(--f-play); transform: rotate(10deg); box-shadow: var(--shadow); right: -4%; top: 6%; }
.sticker::before { content: ""; position: absolute; inset: 6px; border: 2px dashed rgba(255, 255, 255, .5); border-radius: 50%; }

.series-logo { font: 800 clamp(2.6rem, 5vw, 4.2rem)/1 var(--f-play); letter-spacing: -.01em; color: #C8331B; text-shadow: 3px 3px 0 #F6C35B, 6px 6px 0 rgba(27, 22, 51, .12); margin: 0 0 .25em; }
.series-logo .amp { color: var(--saffron-d); font-size: .8em; text-shadow: 2px 2px 0 #FFE5A8; }
.bg-night .series-logo { color: #FF6A3D; text-shadow: 3px 3px 0 #7A2A12; }
.book-sub { font: 500 italic 1.35rem/1.4 var(--f-display); color: var(--muted); margin-bottom: 20px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 0 0 26px; }
.chips li { padding: 6px 14px; border-radius: 99px; font-size: 14px; font-weight: 500; background: #fff; border: 1px solid var(--line); }
.chips li:nth-child(6n+1) { background: #FFE9D6; border-color: #F8CDA9; }
.chips li:nth-child(6n+2) { background: #E2F3EA; border-color: #BFE2CE; }
.chips li:nth-child(6n+3) { background: #FFF1CC; border-color: #F6DC97; }
.chips li:nth-child(6n+4) { background: #E5F1FB; border-color: #BCD9F0; }
.chips li:nth-child(6n+5) { background: #EEE6FA; border-color: #D3C2F0; }
.book-meta { display: grid; grid-template-columns: repeat(3, auto); justify-content: start; gap: 10px 34px; margin: 0 0 30px; padding: 0; list-style: none; }
.book-meta li { display: flex; flex-direction: column; font-size: 14px; color: var(--muted); }
.book-meta strong { font-size: 16px; color: var(--night); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }

/* ---------- Story gallery strip ---------- */
.strip { display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 6px 20px 26px; scrollbar-width: thin; }
.strip figure { margin: 0; flex: 0 0 auto; width: 230px; scroll-snap-align: start; border-radius: 16px; overflow: hidden; box-shadow: var(--shadow-sm); cursor: zoom-in; position: relative; background: var(--sand); }
.strip img { aspect-ratio: 2 / 3; object-fit: cover; width: 100%; transition: transform .6s var(--ease); }
.strip figure:hover img { transform: scale(1.06); }
.strip figcaption { position: absolute; left: 10px; bottom: 10px; font: 700 12px/1 var(--f-play); background: rgba(255, 248, 238, .92); padding: 6px 10px; border-radius: 99px; color: var(--night); }

/* ---------- About teaser ---------- */
.about-teaser { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(40px, 6vw, 90px); align-items: center; }
.photo-stack { position: relative; padding: 0 30px 40px 0; }
.photo-stack .main { border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow-lg); aspect-ratio: 4 / 4.4; }
.photo-stack .main img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 25%; }
.photo-stack .accent { position: absolute; right: 0; bottom: 0; width: 46%; border-radius: var(--r); overflow: hidden; border: 6px solid var(--cream); box-shadow: var(--shadow); transform: rotate(4deg); }
.photo-stack .accent img { aspect-ratio: 2 / 3; object-fit: cover; }
.photo-stack .tag { position: absolute; left: -14px; top: 30px; background: var(--saffron); color: var(--night); font: 700 14px/1.2 var(--f-play); padding: 12px 16px; border-radius: 14px; transform: rotate(-6deg); box-shadow: var(--shadow); }
.values-list { list-style: none; padding: 0; margin: 26px 0 32px; display: grid; gap: 16px; }
.values-list li { display: grid; grid-template-columns: 52px 1fr; gap: 16px; align-items: start; }
.values-list .v-ic { width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; color: #fff; }
.values-list .v-ic .ic { width: 24px; height: 24px; }
.values-list strong { display: block; font: 600 1.15rem/1.3 var(--f-display); color: var(--night); }
.values-list span { font-size: 15.5px; color: var(--muted); }
.v-ember { background: var(--ember); } .v-saffron { background: var(--saffron-d); } .v-leaf { background: var(--leaf); } .v-plum { background: var(--plum); } .v-sky { background: var(--sky); }
.signature { font: 400 italic 2.2rem/1 var(--f-display); color: var(--ember); margin-top: 6px; }

/* ---------- Quote band ---------- */
.quote-band { position: relative; overflow: hidden; text-align: center; padding: clamp(80px, 10vw, 130px) 0; color: var(--cream); background: var(--night); isolation: isolate; }
.quote-band .qb-bg { position: absolute; inset: 0; z-index: -2; background-size: cover; background-position: center 40%; opacity: .32; }
.quote-band::after { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(circle at center, rgba(27, 22, 51, .35), rgba(27, 22, 51, .95)); }
.quote-band blockquote { margin: 0 auto; max-width: 900px; font: 400 italic clamp(1.7rem, 3.4vw, 2.8rem)/1.3 var(--f-display); }
.quote-band blockquote .ic { width: 54px; height: 54px; color: var(--saffron); margin: 0 auto 18px; }
.quote-band cite { display: block; margin-top: 24px; font: 600 14px/1 var(--f-body); letter-spacing: .18em; text-transform: uppercase; font-style: normal; color: var(--saffron); }

/* ---------- Cards ---------- */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.card { background: #fff; border-radius: var(--r); padding: 30px; border: 1px solid var(--line); box-shadow: var(--shadow-sm); transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s; position: relative; }
.card:hover { transform: translateY(-5px); box-shadow: var(--shadow); border-color: transparent; }
.card h3 { font-size: 1.3rem; }
.card p { color: var(--muted); font-size: 15.5px; margin-bottom: 0; }
.card-ic { width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center; margin-bottom: 20px; color: #fff; background: linear-gradient(135deg, var(--saffron), var(--ember)); box-shadow: 0 10px 20px -8px rgba(224, 87, 47, .6); }
.card-ic .ic { width: 26px; height: 26px; }
.grid-3 .card:nth-child(3n+2) .card-ic { background: linear-gradient(135deg, var(--leaf-l), var(--leaf)); box-shadow: 0 10px 20px -8px rgba(46, 139, 103, .6); }
.grid-3 .card:nth-child(3n+3) .card-ic { background: linear-gradient(135deg, #A784E6, var(--plum)); box-shadow: 0 10px 20px -8px rgba(122, 79, 196, .6); }
.bg-night .card { background: var(--night-2); border-color: var(--line-light); }
.bg-night .card p { color: rgba(255, 248, 238, .7); }
.card .tag-pill { display: inline-block; font-size: 12px; font-weight: 600; letter-spacing: .06em; padding: 4px 10px; border-radius: 99px; background: var(--paper); color: var(--ember); margin-bottom: 12px; }

/* Media card (image top) */
.mcard { background: #fff; border-radius: var(--r); overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow-sm); transition: transform .35s var(--ease), box-shadow .35s var(--ease); display: flex; flex-direction: column; }
.mcard:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.mcard-img { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: var(--sand); }
.mcard-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.mcard:hover .mcard-img img { transform: scale(1.06); }
.mcard-img .badge { position: absolute; left: 14px; top: 14px; }
.mcard-body { padding: 24px 26px 28px; display: flex; flex-direction: column; flex: 1; }
.mcard-body h3 { font-size: 1.3rem; }
.mcard-body p { color: var(--muted); font-size: 15.5px; }
.mcard-body .link-arrow { margin-top: auto; }
.mcard-meta { font-size: 13.5px; color: var(--muted); display: flex; gap: 14px; align-items: center; margin-bottom: 8px; }
.mcard-meta .ic { width: 15px; height: 15px; }
.badge { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; padding: 6px 12px; border-radius: 99px; background: var(--cream); color: var(--night); }
.badge-ember { background: var(--ember); color: #fff; }
.badge-leaf { background: var(--leaf); color: #fff; }
.badge-plum { background: var(--plum); color: #fff; }
.badge-dark { background: var(--night); color: var(--cream); }

/* ---------- Page hero (inner pages) ---------- */
.page-hero { position: relative; overflow: hidden; padding: clamp(70px, 9vw, 120px) 0 clamp(60px, 8vw, 100px); background: var(--night); color: rgba(255, 248, 238, .8); isolation: isolate; }
.page-hero .ph-bg { position: absolute; inset: 0; z-index: -2; background-size: cover; background-position: center; opacity: .35; transform: scale(1.05); animation: kenburns 24s ease-in-out infinite alternate; }
.page-hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(100deg, rgba(27, 22, 51, .97) 25%, rgba(27, 22, 51, .55)); }
.page-hero h1 { color: var(--cream); max-width: 860px; }
.page-hero h1 em { color: var(--saffron); }
.page-hero .lead { color: rgba(255, 248, 238, .78); max-width: 680px; }
.crumbs { display: flex; gap: 8px; font-size: 14px; margin-bottom: 22px; color: rgba(255, 248, 238, .6); flex-wrap: wrap; }
.crumbs a:hover { color: var(--saffron); }
.crumbs span[aria-current] { color: var(--saffron); }
@keyframes kenburns { from { transform: scale(1.05) translate(0, 0); } to { transform: scale(1.18) translate(-2%, -2%); } }
.page-hero.ph-warm::after { background: linear-gradient(100deg, rgba(58, 28, 46, .96) 25%, rgba(58, 28, 46, .5)); }
.page-hero.ph-leaf::after { background: linear-gradient(100deg, rgba(14, 52, 40, .96) 25%, rgba(14, 52, 40, .55)); }

/* ---------- Pita & Vita page hero ---------- */
.pv-hero { position: relative; overflow: hidden; background: linear-gradient(180deg, #CFE8F6 0%, #F9E7C6 62%, #E9C88F 100%); padding: clamp(50px, 7vw, 90px) 0 0; isolation: isolate; }
.pv-hero .sun { position: absolute; right: 10%; top: 40px; width: 160px; height: 160px; border-radius: 50%; background: radial-gradient(circle, #FFE7A0, #F6B84B 60%, rgba(246, 184, 75, 0) 70%); z-index: -1; animation: glow 6s ease-in-out infinite; }
@keyframes glow { 50% { transform: scale(1.08); } }
.pv-hero .cloud { position: absolute; z-index: -1; background: #fff; border-radius: 99px; opacity: .8; animation: drift 60s linear infinite; }
.pv-hero .cloud::before, .pv-hero .cloud::after { content: ""; position: absolute; background: #fff; border-radius: 50%; }
.cloud.c1 { width: 160px; height: 44px; top: 70px; left: -200px; }
.cloud.c1::before { width: 70px; height: 70px; left: 24px; top: -34px; } .cloud.c1::after { width: 54px; height: 54px; left: 80px; top: -22px; }
.cloud.c2 { width: 120px; height: 34px; top: 170px; left: -160px; animation-duration: 85s; animation-delay: -30s; }
.cloud.c2::before { width: 50px; height: 50px; left: 20px; top: -24px; } .cloud.c2::after { width: 40px; height: 40px; left: 60px; top: -16px; }
@keyframes drift { to { transform: translateX(calc(100vw + 400px)); } }
.pv-hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: end; }
.pv-hero-copy { padding-bottom: clamp(50px, 7vw, 100px); }
.pv-hero .crumbs { color: rgba(27, 22, 51, .6); }
.pv-hero .crumbs span[aria-current] { color: var(--ember); }
.pv-hero .lead { color: #4A4360; max-width: 560px; }
.pv-hero-art { position: relative; align-self: end; }
.pv-hero-art img { width: 100%; max-width: 470px; margin-left: auto; border-radius: 22px 22px 0 0; box-shadow: var(--shadow-lg); }
.pv-ground { height: 26px; background: repeating-linear-gradient(90deg, #C98B4B 0 30px, #B97A3D 30px 60px); }

/* ---------- Trailer / story player ---------- */
.trailer-launch { position: relative; border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 16 / 8; background: var(--night); cursor: pointer; isolation: isolate; box-shadow: var(--shadow-lg); display: block; width: 100%; border: 0; padding: 0; color: var(--cream); text-align: left; font: inherit; }
.trailer-launch .tl-frames { position: absolute; inset: 0; z-index: -2; display: grid; grid-template-columns: repeat(5, 1fr); }
.trailer-launch .tl-frames img { width: 100%; height: 100%; object-fit: cover; filter: saturate(1.1); transition: transform 1.2s var(--ease); }
.trailer-launch:hover .tl-frames img { transform: scale(1.06); }
.trailer-launch::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgba(27, 22, 51, .92), rgba(27, 22, 51, .2) 60%); }
.tl-content { position: absolute; left: clamp(22px, 4vw, 50px); bottom: clamp(22px, 4vw, 46px); right: 22px; display: flex; align-items: center; gap: 22px; }
.tl-play { width: 86px; height: 86px; flex: none; border-radius: 50%; display: grid; place-items: center; background: linear-gradient(135deg, var(--saffron), var(--ember)); box-shadow: 0 0 0 10px rgba(255, 248, 238, .15); animation: pulse 2.4s infinite; transition: transform .3s var(--ease); }
.trailer-launch:hover .tl-play { transform: scale(1.08); }
.tl-play .ic { width: 32px; height: 32px; margin-left: 4px; color: #fff; }
.tl-content strong { display: block; font: 600 clamp(1.4rem, 2.6vw, 2.1rem)/1.15 var(--f-display); color: var(--cream); }
.tl-content span { font-size: 15px; color: rgba(255, 248, 238, .75); }

.player { position: fixed; inset: 0; z-index: 400; background: #0D0A1C; display: flex; flex-direction: column; opacity: 0; visibility: hidden; transition: opacity .4s, visibility .4s; }
.player.open { opacity: 1; visibility: visible; }
.player-stage { position: relative; flex: 1; overflow: hidden; }
.player-slide { position: absolute; inset: 0; opacity: 0; transition: opacity 1.2s ease; }
.player-slide.on { opacity: 1; }
.player-slide .blur { position: absolute; inset: -40px; background-size: cover; background-position: center; filter: blur(30px) brightness(.45); }
.player-slide img { position: absolute; left: 50%; top: 50%; height: 100%; width: auto; max-width: none; transform: translate(-50%, -50%) scale(1); }
.player-slide.on img { animation: kb 7s linear forwards; }
@keyframes kb { from { transform: translate(-50%, -50%) scale(1.02); } to { transform: translate(-50%, -52%) scale(1.12); } }
.player-caption { position: absolute; left: 50%; bottom: 9%; transform: translateX(-50%); width: min(880px, 92%); text-align: center; font: 600 clamp(1.15rem, 2.4vw, 1.8rem)/1.4 var(--f-play); color: #fff; text-shadow: 0 2px 16px rgba(0, 0, 0, .8); padding: 16px 22px; border-radius: 18px; background: rgba(13, 10, 28, .55); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); opacity: 0; transition: opacity .6s .3s; }
.player-caption.on { opacity: 1; }
.player-bar { display: flex; align-items: center; gap: 14px; padding: 14px clamp(14px, 3vw, 30px); background: #0D0A1C; color: var(--cream); }
.player-bar button { background: rgba(255, 248, 238, .1); border: 0; color: var(--cream); width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; cursor: pointer; flex: none; transition: background .2s; }
.player-bar button:hover { background: rgba(255, 248, 238, .22); }
.player-bar .ic { width: 20px; height: 20px; }
.player-progress { flex: 1; display: flex; gap: 4px; }
.player-progress span { flex: 1; height: 4px; border-radius: 4px; background: rgba(255, 248, 238, .18); overflow: hidden; }
.player-progress span i { display: block; height: 100%; width: 0; background: var(--saffron); }
.player-progress span.done i { width: 100%; }
.player-title { font: 600 15px/1.2 var(--f-body); white-space: nowrap; }
.player-close { position: absolute; top: 18px; right: 18px; z-index: 3; width: 48px; height: 48px; border-radius: 50%; border: 0; background: rgba(13, 10, 28, .6); color: #fff; display: grid; place-items: center; cursor: pointer; }
.player-close .ic { width: 22px; height: 22px; }
.player-end { position: absolute; inset: 0; z-index: 2; display: none; place-items: center; text-align: center; background: rgba(13, 10, 28, .82); color: var(--cream); padding: 20px; }
.player-end.on { display: grid; }
.player-end h3 { color: var(--cream); font-size: clamp(1.6rem, 3vw, 2.4rem); }
.player-end .btn-row { justify-content: center; margin-top: 18px; }
.voice-note { font-size: 12.5px; color: rgba(255, 248, 238, .55); }

/* ---------- Look inside (flip book) ---------- */
.look-inside { display: grid; grid-template-columns: 1fr 360px; gap: 40px; align-items: center; }
.flipbook { position: relative; aspect-ratio: 2 / 1.5; perspective: 2200px; }
.fb-spread { position: absolute; inset: 0; display: grid; grid-template-columns: 1fr 1fr; border-radius: 10px; box-shadow: var(--shadow-lg); background: #fff; overflow: hidden; opacity: 0; visibility: hidden; transform: rotateY(-8deg) scale(.97); transition: opacity .6s var(--ease), transform .7s var(--ease), visibility .6s; }
.fb-spread.on { opacity: 1; visibility: visible; transform: none; }
.fb-spread .fb-img { background-size: cover; background-position: center; position: relative; }
.fb-spread .fb-img::after { content: ""; position: absolute; right: 0; top: 0; bottom: 0; width: 40px; background: linear-gradient(90deg, transparent, rgba(0, 0, 0, .18)); }
.fb-spread .fb-text { position: relative; padding: clamp(18px, 3.5vw, 46px); display: flex; flex-direction: column; justify-content: center; background: linear-gradient(90deg, rgba(0, 0, 0, .1), transparent 6%), #FFFBF3; }
.fb-text p { font: 600 clamp(.9rem, 1.45vw, 1.2rem)/1.6 var(--f-play); color: #3A2A1A; }
.fb-pageno { position: absolute; bottom: 14px; right: 20px; font-size: 13px; color: #A08C70; font-family: var(--f-play); }
.fb-locked { background: linear-gradient(135deg, var(--night), var(--night-3)) !important; color: var(--cream); text-align: center; align-items: center; }
.fb-locked h3 { color: var(--cream); font-size: clamp(1.2rem, 2vw, 1.7rem); }
.fb-locked p { font: 400 1rem/1.6 var(--f-body) !important; color: rgba(255, 248, 238, .75) !important; }
.fb-controls { display: flex; align-items: center; justify-content: center; gap: 16px; margin-top: 22px; }
.fb-controls button { width: 50px; height: 50px; border-radius: 50%; border: 1px solid var(--line); background: #fff; display: grid; place-items: center; cursor: pointer; transition: background .2s, transform .2s; }
.fb-controls button:hover:not(:disabled) { background: var(--night); color: #fff; transform: scale(1.06); }
.fb-controls button:disabled { opacity: .35; cursor: default; }
.fb-controls .ic { width: 22px; height: 22px; }
.fb-dots { display: flex; gap: 6px; }
.fb-dots i { width: 9px; height: 9px; border-radius: 50%; background: var(--line); transition: background .3s, width .3s; }
.fb-dots i.on { background: var(--ember); width: 26px; border-radius: 6px; }
.read-aloud { display: inline-flex; align-items: center; gap: 8px; }

/* ---------- Characters ---------- */
.characters { display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; }
.char { position: relative; border-radius: var(--r); overflow: hidden; background: #fff; box-shadow: var(--shadow-sm); transition: transform .4s var(--ease), box-shadow .4s; perspective: 1000px; }
.char:hover { transform: translateY(-8px) rotate(-1deg); box-shadow: var(--shadow); }
.char-img { aspect-ratio: 1; background-size: 260%; background-repeat: no-repeat; position: relative; }
.char-img::after { content: ""; position: absolute; inset: auto 0 0; height: 40%; background: linear-gradient(0deg, #fff, transparent); }
.char-body { padding: 4px 20px 22px; text-align: center; position: relative; }
.char-body h3 { font: 800 1.5rem/1.1 var(--f-play); margin: 0 0 2px; }
.char-body small { display: block; font-size: 13px; color: var(--muted); margin-bottom: 10px; }
.char-body p { font-size: 14.5px; color: var(--muted); line-height: 1.55; margin: 0 0 12px; }
.trait { display: inline-block; font: 700 12px/1 var(--f-play); padding: 7px 12px; border-radius: 99px; color: #fff; }
.c-ember h3 { color: var(--ember); } .c-ember .trait { background: var(--ember); }
.c-saffron h3 { color: var(--saffron-d); } .c-saffron .trait { background: var(--saffron-d); }
.c-leaf h3 { color: var(--leaf); } .c-leaf .trait { background: var(--leaf); }
.c-sky h3 { color: var(--sky); } .c-sky .trait { background: var(--sky); }
.c-plum h3 { color: var(--plum); } .c-plum .trait { background: var(--plum); }

/* ---------- Editions timeline ---------- */
.editions { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; counter-reset: ed; position: relative; }
.editions::before { content: ""; position: absolute; left: 8%; right: 8%; top: 46px; height: 3px; background: repeating-linear-gradient(90deg, var(--saffron) 0 14px, transparent 14px 24px); }
.edition { position: relative; text-align: center; padding: 0 10px; }
.ed-no { width: 92px; height: 92px; margin: 0 auto 22px; border-radius: 50%; display: grid; place-items: center; font: 800 2rem/1 var(--f-play); background: #fff; color: var(--muted); border: 3px solid var(--line); position: relative; z-index: 1; }
.edition.available .ed-no { background: linear-gradient(135deg, var(--saffron), var(--ember)); color: #fff; border-color: #fff; box-shadow: 0 0 0 8px rgba(242, 169, 59, .25); }
.edition.soon .ed-no { border: 3px dashed var(--ember); color: var(--ember); }
.edition h3 { font-size: 1.25rem; }
.edition p { color: var(--muted); font-size: 15px; }
.edition .badge { margin-bottom: 12px; }

/* ---------- Kids corner ---------- */
.kids-page { background: #FFF6E5; }
.kids-hero { position: relative; overflow: hidden; background: linear-gradient(160deg, #FFD978, #FFB067 55%, #FF8A5B); padding: clamp(60px, 8vw, 100px) 0; isolation: isolate; }
.kids-hero h1 { font-family: var(--f-play); font-weight: 800; color: #fff; text-shadow: 4px 4px 0 rgba(170, 52, 20, .4); }
.kids-hero .lead { color: #5A2810; font-weight: 500; }
.kids-hero .crumbs { color: rgba(90, 40, 16, .7); }
.kids-hero .crumbs span[aria-current] { color: #fff; }
.confetti-bg { position: absolute; inset: 0; z-index: -1; background-image: radial-gradient(circle, rgba(255, 255, 255, .5) 3px, transparent 4px), radial-gradient(circle, rgba(122, 79, 196, .25) 3px, transparent 4px); background-size: 60px 60px, 90px 90px; background-position: 0 0, 30px 40px; }
.kids-hero-grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: 40px; align-items: center; }
.kids-hero-art { position: relative; }
.kids-hero-art img { border-radius: 30px; border: 8px solid #fff; box-shadow: var(--shadow-lg); transform: rotate(3deg); }
.bubble { z-index: 2; position: absolute; left: -30px; top: 20px; background: #fff; padding: 14px 18px; border-radius: 22px; font: 700 1.1rem/1.2 var(--f-play); color: var(--ember); box-shadow: var(--shadow); transform: rotate(-6deg); animation: bob 4s ease-in-out infinite; }
.bubble::after { content: ""; position: absolute; right: 26px; bottom: -12px; border: 8px solid transparent; border-top-color: #fff; border-left-color: #fff; }
.kid-tabs { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; margin-bottom: 36px; }
.kid-tab { font: 700 1rem/1 var(--f-play); padding: 14px 22px; border-radius: 99px; border: 3px solid var(--night); background: #fff; color: var(--night); cursor: pointer; transition: transform .2s, background .2s, color .2s; display: inline-flex; gap: 8px; align-items: center; }
.kid-tab:hover { transform: translateY(-3px) rotate(-1deg); }
.kid-tab[aria-selected="true"] { background: var(--night); color: #FFD978; }
.kid-panel { display: none; }
.kid-panel.on { display: block; animation: pop .5s var(--ease); }
@keyframes pop { from { opacity: 0; transform: translateY(14px) scale(.98); } to { opacity: 1; transform: none; } }
.play-card { background: #fff; border-radius: 30px; padding: clamp(22px, 4vw, 46px); box-shadow: 0 10px 0 rgba(27, 22, 51, .08), var(--shadow); border: 3px solid var(--night); }

/* Quiz */
.quiz { display: grid; grid-template-columns: 340px 1fr; gap: 36px; align-items: center; }
.quiz-img { border-radius: 24px; overflow: hidden; aspect-ratio: 2 / 2.4; border: 4px solid var(--night); background: var(--sand); }
.quiz-img img { width: 100%; height: 100%; object-fit: cover; transition: opacity .3s; }
.quiz-step { font: 700 14px/1 var(--f-play); color: var(--ember); margin-bottom: 10px; }
.quiz-q { font: 800 clamp(1.4rem, 2.6vw, 2rem)/1.25 var(--f-play); color: var(--night); margin-bottom: 22px; }
.quiz-answers { display: grid; gap: 12px; }
.quiz-answers button { text-align: left; font: 700 1.05rem/1.3 var(--f-play); padding: 16px 20px; border-radius: 18px; border: 3px solid var(--line); background: #fff; cursor: pointer; transition: transform .15s, border-color .2s, background .2s; display: flex; align-items: center; gap: 12px; color: var(--ink); }
.quiz-answers button::before { content: attr(data-letter); width: 34px; height: 34px; flex: none; border-radius: 50%; display: grid; place-items: center; background: var(--paper); color: var(--night); }
.quiz-answers button:hover:not(:disabled) { transform: translateX(6px); border-color: var(--saffron); }
.quiz-answers button.right { border-color: var(--leaf); background: #E2F3EA; }
.quiz-answers button.right::before { background: var(--leaf); color: #fff; content: "✓"; }
.quiz-answers button.wrong { border-color: var(--ember); background: #FDE6DF; animation: shake .4s; }
@keyframes shake { 25% { transform: translateX(-6px); } 75% { transform: translateX(6px); } }
.quiz-feedback { min-height: 32px; margin-top: 16px; font: 700 1.1rem/1.4 var(--f-play); }
.quiz-score { display: flex; gap: 6px; margin-bottom: 18px; }
.quiz-score i { width: 30px; height: 8px; border-radius: 6px; background: var(--line); }
.quiz-score i.ok { background: var(--leaf); } .quiz-score i.no { background: var(--ember); } .quiz-score i.cur { background: var(--saffron); }
.quiz-result { text-align: center; padding: 20px 0; }
.quiz-result .big { font: 800 4rem/1 var(--f-play); color: var(--ember); }

/* Memory game */
.memory-top { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; margin-bottom: 22px; }
.memory-stats { display: flex; gap: 12px; font: 700 15px/1 var(--f-play); }
.memory-stats span { background: var(--paper); padding: 10px 16px; border-radius: 99px; }
.memory { display: grid; grid-template-columns: repeat(6, 1fr); gap: 12px; }
.mem-card { aspect-ratio: 3 / 4; perspective: 800px; cursor: pointer; border: 0; padding: 0; background: none; }
.mem-in { position: relative; width: 100%; height: 100%; transform-style: preserve-3d; transition: transform .5s var(--ease); }
.mem-card.flip .mem-in, .mem-card.match .mem-in { transform: rotateY(180deg); }
.mem-face { position: absolute; inset: 0; border-radius: 16px; backface-visibility: hidden; -webkit-backface-visibility: hidden; overflow: hidden; }
.mem-back { background: linear-gradient(135deg, var(--saffron), var(--ember)); display: grid; place-items: center; border: 3px solid var(--night); }
.mem-back .logo-mark { width: 44%; height: auto; filter: brightness(0) invert(1); opacity: .9; }
.mem-front { transform: rotateY(180deg); background-size: cover; background-position: center; border: 3px solid var(--night); }
.mem-card.match .mem-front { border-color: var(--leaf); box-shadow: 0 0 0 4px rgba(46, 139, 103, .35); }

/* Certificate */
.cert-wrap { display: grid; grid-template-columns: 320px 1fr; gap: 36px; align-items: center; }
.cert-form label { display: block; font: 700 15px/1.2 var(--f-play); margin-bottom: 8px; }
.cert { position: relative; aspect-ratio: 1.414; border-radius: 16px; padding: 5%; text-align: center; background: #FFFBF1; border: 10px double var(--saffron-d); box-shadow: var(--shadow); display: flex; flex-direction: column; align-items: center; justify-content: center; overflow: hidden; }
.cert::before { content: ""; position: absolute; inset: 10px; border: 2px dashed rgba(224, 87, 47, .4); border-radius: 8px; pointer-events: none; }
.cert .cert-art { position: absolute; width: 22%; bottom: 6%; right: 5%; border-radius: 50%; aspect-ratio: 1; object-fit: cover; border: 4px solid #fff; box-shadow: var(--shadow-sm); }
.cert .cert-art.l { right: auto; left: 5%; }
.cert small { font: 700 clamp(.6rem, 1.2vw, .85rem)/1 var(--f-body); letter-spacing: .25em; text-transform: uppercase; color: var(--ember); }
.cert h3 { font: 800 clamp(1.3rem, 3vw, 2.4rem)/1.1 var(--f-play); color: #C8331B; margin: 6px 0; }
.cert .cert-name { font: 400 italic clamp(1.4rem, 3.4vw, 2.8rem)/1.1 var(--f-display); color: var(--night); border-bottom: 2px solid var(--saffron); padding: 0 20px 4px; margin: 10px 0; min-width: 50%; }
.cert p { font: 600 clamp(.7rem, 1.4vw, 1rem)/1.5 var(--f-play); color: #4A3A2A; max-width: 70%; margin: 0; }
.cert .cert-sign { margin-top: 12px; font: italic 400 clamp(.9rem, 1.8vw, 1.3rem)/1 var(--f-display); color: var(--ember); }

/* ---------- Forms ---------- */
.form-card { background: #fff; border-radius: var(--r-lg); padding: clamp(24px, 4vw, 46px); box-shadow: var(--shadow); border: 1px solid var(--line); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-grid .full { grid-column: 1 / -1; }
.field label { display: block; font-size: 14px; font-weight: 600; margin-bottom: 7px; color: var(--night); }
.field label .req { color: var(--ember); }
input[type=text], input[type=email], input[type=tel], input[type=date], input[type=number], select, textarea {
  width: 100%; font: 400 16px/1.4 var(--f-body); color: var(--ink);
  padding: 14px 16px; border-radius: 14px; border: 1.5px solid var(--line); background: var(--cream);
  transition: border-color .2s, box-shadow .2s, background .2s; appearance: none; -webkit-appearance: none;
}
select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235E5872' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; background-size: 18px; padding-right: 42px; }
textarea { min-height: 150px; resize: vertical; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--saffron); background-color: #fff; box-shadow: 0 0 0 4px rgba(242, 169, 59, .18); }
.field.invalid input, .field.invalid select, .field.invalid textarea { border-color: var(--ember); }
.field-error { display: none; font-size: 13px; color: var(--ember); margin-top: 6px; }
.field.invalid .field-error { display: block; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: 14.5px; color: var(--muted); cursor: pointer; }
.check input { width: 18px; height: 18px; margin-top: 3px; accent-color: var(--ember); flex: none; }
.check.light { color: rgba(255, 248, 238, .75); }
.topic-pills { display: flex; flex-wrap: wrap; gap: 10px; }
.topic-pills label { cursor: pointer; }
.topic-pills input { position: absolute; opacity: 0; pointer-events: none; }
.topic-pills span { display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: 99px; border: 1.5px solid var(--line); font-size: 14.5px; font-weight: 500; transition: all .2s; background: var(--cream); }
.topic-pills span .ic { width: 17px; height: 17px; }
.topic-pills input:checked + span { background: var(--night); color: var(--cream); border-color: var(--night); }
.topic-pills input:focus-visible + span { outline: 3px solid var(--saffron); outline-offset: 2px; }

/* ---------- Newsletter ---------- */
.newsletter { position: relative; background: linear-gradient(120deg, var(--night) 40%, #3A1C4E); color: rgba(255, 248, 238, .8); padding: clamp(60px, 8vw, 100px) 0; overflow: hidden; isolation: isolate; }
.newsletter::before { content: ""; position: absolute; width: 600px; height: 600px; right: -200px; top: -250px; border-radius: 50%; background: radial-gradient(circle, rgba(242, 169, 59, .28), transparent 65%); z-index: -1; }
.newsletter-in { display: grid; grid-template-columns: 300px 1fr; gap: clamp(30px, 5vw, 70px); align-items: center; }
.nl-art { position: relative; }
.nl-art img { border-radius: 22px; transform: rotate(-5deg); box-shadow: var(--shadow-lg); border: 6px solid rgba(255, 248, 238, .9); }
.nl-badge { position: absolute; right: -10px; bottom: 20px; width: 104px; height: 104px; border-radius: 50%; display: grid; place-items: center; text-align: center; background: var(--saffron); color: var(--night); font: 800 15px/1.1 var(--f-play); transform: rotate(12deg); box-shadow: var(--shadow); }
.newsletter h2 { color: var(--cream); }
.newsletter h2 em { color: var(--saffron); }
.nl-fields { display: grid; grid-template-columns: 1fr 1.4fr 1fr auto; gap: 10px; margin: 26px 0 14px; }
.nl-fields input, .nl-fields select { background-color: rgba(255, 248, 238, .08); border-color: rgba(255, 248, 238, .2); color: var(--cream); }
.nl-fields select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23FFF8EE' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); }
.nl-fields select option { color: var(--ink); }
.nl-fields input::placeholder { color: rgba(255, 248, 238, .5); }
.nl-fields input:focus, .nl-fields select:focus { background-color: rgba(255, 248, 238, .14); }
.nl-note { display: flex; gap: 8px; align-items: center; font-size: 13.5px; color: rgba(255, 248, 238, .6); margin: 12px 0 0; }
.nl-note a { color: var(--saffron); text-decoration: underline; }

/* ---------- Footer ---------- */
.site-footer { position: relative; background: #120E25; color: rgba(255, 248, 238, .68); padding: 80px 0 0; font-size: 15.5px; overflow: hidden; }
.footer-pattern { position: absolute; inset: 0; opacity: .05; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='60' height='60' viewBox='0 0 60 60'%3E%3Cpath d='M30 4 56 30 30 56 4 30z' fill='none' stroke='%23FFF8EE' stroke-width='1.5'/%3E%3Ccircle cx='30' cy='30' r='4' fill='%23FFF8EE'/%3E%3C/svg%3E"); }
.footer-grid { position: relative; display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 40px; padding-bottom: 50px; }
.site-footer h3 { font: 600 13px/1 var(--f-body); letter-spacing: .2em; text-transform: uppercase; color: var(--saffron); margin-bottom: 20px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 11px; }
.site-footer a:hover { color: var(--saffron); }
.footer-roles { font-size: 13px; letter-spacing: .04em; color: rgba(255, 248, 238, .5); margin: 18px 0 10px; }
.footer-contact li { display: flex; gap: 10px; align-items: center; }
.footer-contact .ic { color: var(--saffron); }
.socials { display: flex; gap: 10px; margin-top: 20px; flex-wrap: wrap; }
.socials a { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; border: 1px solid rgba(255, 248, 238, .18); transition: background .2s, border-color .2s, transform .2s; }
.socials a:hover { background: var(--saffron); border-color: var(--saffron); color: var(--night); transform: translateY(-3px); }
.footer-bottom { position: relative; display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; padding: 24px 0 30px; border-top: 1px solid rgba(255, 248, 238, .1); font-size: 13.5px; color: rgba(255, 248, 238, .5); }
.footer-bottom p { margin: 0; display: flex; gap: 20px; flex-wrap: wrap; }

/* ---------- Misc blocks ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 90px); align-items: center; }
.split-img { border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow-lg); position: relative; }
.split-img img { width: 100%; aspect-ratio: 4 / 4.2; object-fit: cover; }
.check-list { list-style: none; padding: 0; margin: 20px 0 28px; display: grid; gap: 12px; }
.check-list li { display: flex; gap: 12px; align-items: flex-start; }
.check-list .ic { width: 24px; height: 24px; padding: 4px; border-radius: 50%; background: var(--leaf); color: #fff; flex: none; margin-top: 2px; }
.stat-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.stat { text-align: center; padding: 26px 16px; border-radius: var(--r); background: rgba(255, 248, 238, .05); border: 1px solid var(--line-light); }
.stat strong { display: block; font: 600 clamp(2.2rem, 4vw, 3.2rem)/1 var(--f-display); color: var(--saffron); }
.stat span { font-size: 14.5px; }
.cta-panel { position: relative; overflow: hidden; border-radius: var(--r-lg); padding: clamp(36px, 6vw, 70px); background: linear-gradient(120deg, var(--ember), var(--saffron)); color: #fff; display: grid; grid-template-columns: 1fr auto; gap: 30px; align-items: center; isolation: isolate; }
.cta-panel::before { content: ""; position: absolute; right: -80px; top: -120px; width: 380px; height: 380px; border-radius: 50%; border: 50px solid rgba(255, 255, 255, .12); z-index: -1; }
.cta-panel h2 { color: #fff; margin-bottom: .3em; }
.cta-panel p { margin: 0; color: rgba(255, 255, 255, .9); font-size: 1.1rem; }
.timeline { position: relative; display: grid; gap: 26px; padding-left: 34px; }
.timeline::before { content: ""; position: absolute; left: 8px; top: 8px; bottom: 8px; width: 2px; background: linear-gradient(var(--saffron), var(--ember), var(--leaf)); }
.tl-item { position: relative; }
.tl-item::before { content: ""; position: absolute; left: -32px; top: 6px; width: 16px; height: 16px; border-radius: 50%; background: var(--cream); border: 3px solid var(--ember); }
.tl-item h3 { font-size: 1.2rem; margin-bottom: 4px; }
.tl-item p { color: var(--muted); margin: 0; }
.bg-night .tl-item p { color: rgba(255, 248, 238, .7); }
.bg-night .tl-item::before { background: var(--night); }
.empty-state { text-align: center; padding: 50px 30px; border-radius: var(--r-lg); border: 2px dashed var(--line); background: #fff; }
.empty-state .ic { width: 48px; height: 48px; color: var(--saffron); margin: 0 auto 14px; }
.event-row { display: grid; grid-template-columns: 96px 1fr auto; gap: 24px; align-items: center; background: #fff; border-radius: var(--r); padding: 20px 24px; border: 1px solid var(--line); }
.event-date { text-align: center; border-radius: 14px; background: var(--night); color: var(--cream); padding: 12px 6px; }
.event-date strong { display: block; font: 600 2rem/1 var(--f-display); color: var(--saffron); }
.event-date span { font-size: 12px; letter-spacing: .15em; text-transform: uppercase; }
.prose { font-size: 1.05rem; }
.prose h2 { font-size: 1.7rem; margin-top: 1.6em; }
.prose h3 { font-size: 1.25rem; margin-top: 1.4em; }
.prose ul { padding-left: 1.2em; }
.prose li { margin-bottom: .4em; }
.prose a { color: var(--ember); text-decoration: underline; }
.music-card { border-radius: var(--r); overflow: hidden; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm); transition: transform .35s var(--ease), box-shadow .35s; }
.music-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.music-art { aspect-ratio: 1; position: relative; display: grid; place-items: center; overflow: hidden; }
.music-art .vinyl { width: 70%; aspect-ratio: 1; border-radius: 50%; background: repeating-radial-gradient(circle, #15102a 0 2px, #241c40 3px 4px); box-shadow: 0 20px 40px rgba(0, 0, 0, .4); position: relative; transition: transform .6s var(--ease); }
.music-art .vinyl::after { content: ""; position: absolute; inset: 36%; border-radius: 50%; background: var(--vc, var(--saffron)); box-shadow: inset 0 0 0 6px rgba(255, 255, 255, .3); }
.music-card:hover .vinyl { transform: rotate(140deg); }
.music-body { padding: 20px 22px 24px; }
.music-body h3 { font-size: 1.2rem; margin-bottom: 4px; }
.music-body p { margin: 0; color: var(--muted); font-size: 14.5px; }
.synth-player { display: flex; align-items: center; gap: 22px; background: var(--night-2); border-radius: var(--r-lg); padding: 22px 26px; border: 1px solid var(--line-light); }
.synth-btn { width: 70px; height: 70px; border-radius: 50%; border: 0; cursor: pointer; display: grid; place-items: center; background: linear-gradient(135deg, var(--saffron), var(--ember)); color: #fff; flex: none; transition: transform .2s; }
.synth-btn:hover { transform: scale(1.06); }
.synth-btn .ic { width: 28px; height: 28px; }
.synth-viz { flex: 1; display: flex; align-items: center; gap: 3px; height: 60px; }
.synth-viz i { flex: 1; background: linear-gradient(var(--saffron), var(--ember)); border-radius: 3px; height: 8%; transition: height .12s; opacity: .85; }
.poster { position: relative; border-radius: var(--r); overflow: hidden; aspect-ratio: 2 / 3; display: flex; flex-direction: column; justify-content: flex-end; padding: 24px; color: var(--cream); isolation: isolate; box-shadow: var(--shadow); transition: transform .4s var(--ease); }
.poster:hover { transform: translateY(-8px) rotate(-.6deg); }
.poster img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.poster:hover img { transform: scale(1.07); }
.poster::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgba(13, 10, 28, .96) 18%, rgba(13, 10, 28, .1) 65%); }
.poster .badge { position: absolute; top: 18px; left: 18px; }
.poster small { font-size: 12px; letter-spacing: .18em; text-transform: uppercase; color: var(--saffron); font-weight: 600; }
.poster h3 { color: var(--cream); font-size: 1.5rem; margin: 6px 0 8px; }
.poster p { font-size: 14.5px; color: rgba(255, 248, 238, .75); margin: 0; }
.vf-logo { font: 800 clamp(2.4rem, 5vw, 4rem)/1 var(--f-display); letter-spacing: -.02em; color: var(--cream); }
.vf-logo span { color: var(--ember); }
.css-cover { aspect-ratio: 2 / 3; border-radius: 4px 10px 10px 4px; position: relative; overflow: hidden; display: flex; flex-direction: column; justify-content: space-between; padding: 12% 10%; color: #fff; box-shadow: 30px 30px 60px -10px rgba(27, 22, 51, .5); }
.css-cover .cc-title { font: 700 clamp(1.4rem, 3vw, 2.3rem)/1.05 var(--f-display); text-shadow: 0 2px 10px rgba(0, 0, 0, .25); }
.css-cover .cc-author { font: 600 .9rem/1 var(--f-body); letter-spacing: .25em; text-transform: uppercase; }
.css-cover .cc-motif { position: absolute; right: -20%; top: 30%; width: 90%; aspect-ratio: 1; border-radius: 50%; opacity: .9; }
.css-cover::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(0, 0, 0, .25) 0, rgba(255, 255, 255, .15) 3%, transparent 7%); }
.book-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.book-card { display: flex; flex-direction: column; align-items: center; text-align: center; padding: 30px 24px; border-radius: var(--r-lg); background: #fff; border: 1px solid var(--line); transition: transform .35s var(--ease), box-shadow .35s; }
.book-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.book-card .bc-cover { width: 62%; margin-bottom: 26px; transition: transform .5s var(--ease); }
.book-card:hover .bc-cover { transform: rotate(-3deg) scale(1.03); }
.book-card .bc-cover img { border-radius: 3px 8px 8px 3px; box-shadow: 20px 20px 40px -10px rgba(27, 22, 51, .45); }
.book-card h3 { font-size: 1.45rem; margin-bottom: 4px; }
.book-card p { color: var(--muted); font-size: 15px; }
.retailers { display: flex; flex-wrap: wrap; gap: 10px; }
.retailer { display: inline-flex; align-items: center; gap: 10px; padding: 12px 18px; border-radius: 14px; background: #fff; border: 1.5px solid var(--line); font-weight: 600; transition: border-color .2s, transform .2s; }
.retailer:hover { border-color: var(--saffron); transform: translateY(-2px); }
.retailer small { display: block; font-size: 11px; color: var(--muted); font-weight: 500; letter-spacing: .06em; text-transform: uppercase; }
.faq { display: grid; gap: 12px; }
.faq details { background: #fff; border-radius: 16px; border: 1px solid var(--line); padding: 0 22px; transition: box-shadow .2s; }
.faq details[open] { box-shadow: var(--shadow-sm); }
.faq summary { list-style: none; cursor: pointer; padding: 20px 0; font: 600 1.08rem/1.4 var(--f-display); color: var(--night); display: flex; justify-content: space-between; gap: 16px; align-items: center; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .ic { transition: transform .3s; color: var(--ember); }
.faq details[open] summary .ic { transform: rotate(180deg); }
.faq details p { color: var(--muted); padding-bottom: 20px; margin: 0; }
.q-group { background: #fff; border-radius: var(--r); padding: 28px; border: 1px solid var(--line); }
.q-group h3 { display: flex; gap: 10px; align-items: center; font-size: 1.25rem; }
.q-group ol { margin: 0; padding-left: 1.2em; color: var(--muted); display: grid; gap: 8px; }

/* ---------- Lightbox ---------- */
.lightbox { position: fixed; inset: 0; z-index: 500; background: rgba(13, 10, 28, .92); display: grid; place-items: center; padding: 30px; }
.lightbox[hidden] { display: none; }
.lightbox img { max-height: 90vh; width: auto; border-radius: 12px; box-shadow: var(--shadow-lg); }
.lb-close { position: absolute; top: 18px; right: 18px; width: 48px; height: 48px; border-radius: 50%; border: 0; background: rgba(255, 248, 238, .15); color: #fff; cursor: pointer; display: grid; place-items: center; }

/* ---------- Reveal on scroll ---------- */
.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal-d1 { transition-delay: .1s; } .reveal-d2 { transition-delay: .2s; } .reveal-d3 { transition-delay: .3s; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .js .reveal { opacity: 1; transform: none; }
}

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1500px) { .header-contact { display: none; } }
@media (max-width: 1400px) {
  .header-actions .btn-primary span { display: none; }
  .header-actions .btn-primary { padding: 11px 13px; }
  .nav-link { padding: 10px 8px; font-size: 14.5px; }
  .nav-link::after { left: 8px; right: 8px; }
  .header-contact { display: none; }
}
@media (max-width: 1240px) {
  :root { --header-h: 70px; }
  .nav-toggle { display: block; }
  .main-nav {
    position: fixed; inset: 0 0 0 auto; width: min(420px, 100%); z-index: 150;
    background: var(--night); padding: 90px 26px 30px; overflow-y: auto;
    transform: translateX(100%); visibility: hidden; transition: transform .45s var(--ease), visibility .45s;
  }
  .nav-open .main-nav { transform: none; visibility: visible; }
  .nav-open .nav-toggle { position: relative; z-index: 160; background: var(--ember); }
  .nav-backdrop { position: fixed; inset: 0; background: rgba(13, 10, 28, .5); z-index: 140; opacity: 0; visibility: hidden; transition: opacity .3s, visibility .3s; }
  .nav-open .nav-backdrop { opacity: 1; visibility: visible; }
  .nav-list { flex-direction: column; align-items: stretch; gap: 0; }
  .nav-list > li { flex-wrap: wrap; border-bottom: 1px solid var(--line-light); }
  .nav-link { color: var(--cream); font-size: 1.2rem; font-family: var(--f-display); padding: 16px 0; flex: 1; }
  .nav-link::after { display: none; }
  .nav-list > li.active > .nav-link { color: var(--saffron); }
  .drop-toggle { color: var(--cream); width: 44px; height: 44px; margin: 0; }
  .drop { position: static; width: 100%; display: none; opacity: 1; visibility: visible; transform: none; box-shadow: none; background: transparent; padding: 0 0 14px; grid-template-columns: 1fr; }
  .has-drop.open .drop { display: block; }
  .has-drop:hover .drop-toggle .ic { transform: none; }
  .has-drop.open .drop-toggle .ic { transform: rotate(180deg); }
  .drop-feature { display: none; }
  .drop ul a:hover { background: rgba(255, 248, 238, .06); }
  .drop ul strong { color: var(--cream); }
  .drop ul span { color: rgba(255, 248, 238, .55); }
  .nav-list > li.nav-mobile-only { display: flex; }
  .nav-mobile-cta { display: grid; gap: 10px; margin-top: 26px; }
  .header-actions .btn-primary span { display: none; }
  .header-actions .btn-primary { padding: 11px 13px; }
  .site-header { backdrop-filter: none; -webkit-backdrop-filter: none; background: rgba(255, 248, 238, .97); }
  .characters { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 991px) {
  body { font-size: 16.5px; }
  .hero-grid, .book-feature, .about-teaser, .split, .look-inside, .pv-hero-grid, .kids-hero-grid, .quiz, .cert-wrap, .newsletter-in { grid-template-columns: 1fr; }
  .hero-visual { min-height: 480px; max-width: 560px; width: 100%; margin: 0 auto; }
  .pillars, .grid-3, .book-row { grid-template-columns: 1fr 1fr; }
  .pillar-wide { grid-column: span 2; }
  .grid-4, .stat-row { grid-template-columns: 1fr 1fr; }
  .editions { grid-template-columns: 1fr; gap: 30px; }
  .editions::before { display: none; }
  .memory { grid-template-columns: repeat(4, 1fr); }
  .photo-stack { max-width: 520px; }
  .pv-hero-art img { margin: 0 auto; max-width: 380px; }
  .pv-hero-copy { padding-bottom: 10px; }
  .nl-art { display: none; }
  .nl-fields { grid-template-columns: 1fr 1fr; }
  .quiz-img { max-width: 300px; aspect-ratio: 1; }
  .cta-panel { grid-template-columns: 1fr; }
  .kids-hero-art { max-width: 360px; margin: 0 auto; }
  .look-inside > div:last-child { order: -1; }
}
@media (max-width: 640px) {
  .container, .narrow { width: calc(100% - 32px); }
  .announce { font-size: 13px; }
  .brand-name { font-size: 21px; }
  .brand-sub { font-size: 9px; letter-spacing: .14em; }
  .logo-mark { width: 40px; height: 40px; }
  .header-in { gap: 10px; }
  .pillars, .grid-3, .grid-2, .book-row, .characters { grid-template-columns: 1fr; }
  .pillar-wide { grid-column: auto; }
  .hero-visual { min-height: 400px; }
  .portrait-arch { width: 78%; right: 0; }
  .fc-heart { display: none; }
  .float-card { font-size: 13px; }
  .hero-proof { gap: 18px; }
  .hero-proof strong { font-size: 1.6rem; }
  .form-grid { grid-template-columns: 1fr; }
  .nl-fields { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .flipbook { aspect-ratio: auto; height: auto; }
  .fb-spread { position: relative; grid-template-columns: 1fr; display: none; }
  .fb-spread.on { display: grid; }
  .fb-spread .fb-img { aspect-ratio: 4 / 3.4; }
  .memory { grid-template-columns: repeat(3, 1fr); gap: 8px; }
  .event-row { grid-template-columns: 70px 1fr; }
  .event-row .btn { grid-column: 1 / -1; }
  .trailer-launch { aspect-ratio: 4 / 4; }
  .trailer-launch .tl-frames { grid-template-columns: repeat(2, 1fr); }
  .trailer-launch .tl-frames img:nth-child(n+3) { display: none; }
  .tl-play { width: 66px; height: 66px; }
  .player-title { display: none; }
  .book-meta { grid-template-columns: 1fr 1fr; }
  .marquee span { font-size: 1.2rem; }
  .kid-tab { padding: 12px 16px; font-size: .95rem; }
  .bubble { left: 0; }
}

/* ---------- Print (discussion guide & certificate) ---------- */
@media print {
  body.printing-cert * { visibility: hidden !important; }
  body.printing-cert .cert, body.printing-cert .cert * { visibility: visible !important; }
  body.printing-cert .cert { position: fixed; left: 0; top: 0; width: 100%; box-shadow: none; }
  .announce, .site-header, .newsletter, .site-footer, .no-print, .kid-tabs, .player, .lightbox { display: none !important; }
  body { background: #fff; font-size: 12pt; }
  .print-only-cert .cert { box-shadow: none; }
  .section { padding: 20px 0; }
}

