:root {
  --ink: #24130b;
  --paper: #f7e4c7;
  --paper-deep: #d39b55;
  --gold: #f4c75b;
  --ember: #b45a18;
  --blue: #1f6ea9;
  --cream: #fff7e8;
  --shadow: 0 24px 60px rgba(18, 8, 3, 0.35);
  --radius: 8px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--cream);
  background: #140b07;
  font-family: Georgia, "Times New Roman", serif;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
}

.site-header {
  position: fixed;
  z-index: 20;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 72px;
  padding: 14px clamp(18px, 4vw, 56px);
  background: linear-gradient(to bottom, rgba(17, 7, 2, 0.92), rgba(17, 7, 2, 0.42));
  backdrop-filter: blur(8px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-size: 19px;
  color: var(--gold);
  white-space: nowrap;
}

.brand-mark {
  font-size: 22px;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(16px, 3vw, 34px);
  font-family: "Trebuchet MS", Arial, sans-serif;
  font-size: 16px;
}

.site-nav a {
  text-decoration: none;
  color: #ffe3a6;
}

.site-nav a:hover {
  color: #ffffff;
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(244, 199, 91, 0.45);
  background: rgba(23, 11, 4, 0.7);
  border-radius: var(--radius);
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: var(--gold);
}

.hero {
  position: relative;
  min-height: 100svh;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(340px, 0.85fr);
  gap: clamp(28px, 5vw, 82px);
  align-items: end;
  padding: 144px clamp(18px, 5vw, 72px) 48px;
}

.hero-backdrop {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 78% 46%, rgba(214, 124, 35, 0.28), transparent 31%),
    radial-gradient(circle at 72% 74%, rgba(255, 209, 126, 0.18), transparent 26%),
    linear-gradient(90deg, rgba(17, 8, 4, 0.68) 0%, rgba(17, 8, 4, 0.34) 42%, rgba(17, 8, 4, 0.04) 70%, rgba(17, 8, 4, 0.18) 100%),
    linear-gradient(180deg, rgba(17, 8, 4, 0.2) 0%, rgba(17, 8, 4, 0.04) 54%, rgba(17, 8, 4, 0.38) 100%),
    url("assets/hero-background.png") left center / auto 145% no-repeat;
}

.hero-inner,
.hero-books {
  position: relative;
  z-index: 1;
}

.hero-inner {
  max-width: 780px;
  padding-bottom: 34px;
}

.eyebrow {
  margin: 0 0 12px;
  font-family: "Trebuchet MS", Arial, sans-serif;
  font-size: 13px;
  line-height: 1.2;
  letter-spacing: 0;
  text-transform: uppercase;
  color: #ffd36d;
  font-weight: 700;
}

h1,
h2,
h3,
p {
  overflow-wrap: break-word;
}

h1 {
  margin: 0;
  font-size: clamp(58px, 5.9vw, 78px);
  line-height: 0.98;
  font-weight: 500;
  color: var(--gold);
  text-shadow: 0 4px 18px rgba(0, 0, 0, 0.65);
  hyphens: none;
  word-break: normal;
}

.hero-copy {
  max-width: 680px;
  margin: 24px 0 0;
  font-size: 24px;
  line-height: 1.35;
}

.hero-actions,
.actions-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 26px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 20px;
  border-radius: var(--radius);
  font-family: "Trebuchet MS", Arial, sans-serif;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.25);
}

.button.primary {
  color: #2b1205;
  background: linear-gradient(#ffd86b, #de7b19);
  border: 1px solid #ffd782;
}

.button.secondary {
  color: #fff6e2;
  background: linear-gradient(#2b77b3, #174069);
  border: 1px solid #6fb9e7;
}

body.buttons-compact .button {
  min-height: 42px;
  padding: 9px 15px;
  font-size: 15px;
}

body.buttons-large .button {
  min-height: 56px;
  padding: 15px 24px;
  font-size: 18px;
}

.hero-books {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(12px, 2vw, 22px);
  width: 100%;
  max-width: 720px;
  justify-self: end;
  align-self: end;
}

.hero-book {
  overflow: hidden;
  border-radius: 6px;
  border: 0;
  background: transparent;
  box-shadow: var(--shadow);
}

.hero-book img {
  width: 100%;
  height: auto;
  object-fit: initial;
  object-position: center;
}

.section {
  padding: clamp(62px, 9vw, 118px) clamp(18px, 5vw, 72px);
  background:
    radial-gradient(circle at top left, rgba(244, 199, 91, 0.12), transparent 34%),
    linear-gradient(135deg, #1c0d06, #44200d 48%, #160b07);
}

body.spacing-compact .section {
  padding-top: clamp(42px, 6vw, 78px);
  padding-bottom: clamp(42px, 6vw, 78px);
}

body.spacing-airy .section {
  padding-top: clamp(82px, 11vw, 142px);
  padding-bottom: clamp(82px, 11vw, 142px);
}

body.spacing-compact .brand-world {
  padding-top: clamp(34px, 5vw, 66px);
  padding-bottom: clamp(34px, 5vw, 66px);
}

body.spacing-airy .brand-world {
  padding-top: clamp(62px, 9vw, 118px);
  padding-bottom: clamp(62px, 9vw, 118px);
}

.section:nth-of-type(even) {
  background:
    radial-gradient(circle at top right, rgba(31, 110, 169, 0.14), transparent 32%),
    linear-gradient(135deg, #110804, #2d170b 52%, #090504);
}

.section-inner {
  width: min(1160px, 100%);
  margin: 0 auto;
}

.two-column {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: clamp(28px, 5vw, 70px);
  align-items: center;
}

.intro {
  padding-top: 72px;
  padding-bottom: 72px;
}

.brand-world {
  display: grid;
  grid-template-columns: minmax(240px, 0.72fr) minmax(0, 1.28fr);
  gap: clamp(24px, 5vw, 70px);
  align-items: center;
  padding: clamp(42px, 7vw, 92px) clamp(18px, 5vw, 72px);
  background:
    radial-gradient(circle at 28% 40%, rgba(31, 110, 169, 0.2), transparent 34%),
    linear-gradient(135deg, #0c0717, #25103a 48%, #110804);
}

.brand-world-image {
  width: min(100%, 420px);
  justify-self: center;
  overflow: hidden;
  border-radius: var(--radius);
  border: 1px solid rgba(158, 216, 255, 0.42);
  box-shadow: var(--shadow);
  aspect-ratio: 3 / 4;
}

.brand-world-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.brand-world-copy {
  max-width: 640px;
}

.brand-world-copy h2 {
  margin: 0;
  color: #ffe1a0;
  font-size: 64px;
  line-height: 0.98;
  font-weight: 500;
}

.brand-world-copy p:not(.eyebrow) {
  margin: 20px 0 0;
  font-family: "Trebuchet MS", Arial, sans-serif;
  font-size: 19px;
  line-height: 1.65;
  color: #fff1d1;
}

.intro h2,
.section-heading h2,
.listening-copy h2,
.extras h2,
.about-copy h2,
.conversion h2,
.contact h2,
.live-events h2,
.zauberpost h2,
.kid-reviewers h2,
.legal-section h2 {
  margin: 0;
  font-size: 52px;
  line-height: 1.03;
  color: #ffe1a0;
  font-weight: 500;
}

body.text-compact h1 {
  font-size: 68px;
}

body.text-large h1 {
  font-size: 86px;
}

body.text-compact .intro h2,
body.text-compact .section-heading h2,
body.text-compact .listening-copy h2,
body.text-compact .extras h2,
body.text-compact .about-copy h2,
body.text-compact .conversion h2,
body.text-compact .contact h2,
body.text-compact .live-events h2,
body.text-compact .zauberpost h2,
body.text-compact .kid-reviewers h2,
body.text-compact .legal-section h2 {
  font-size: 44px;
}

body.text-large .intro h2,
body.text-large .section-heading h2,
body.text-large .listening-copy h2,
body.text-large .extras h2,
body.text-large .about-copy h2,
body.text-large .conversion h2,
body.text-large .contact h2,
body.text-large .live-events h2,
body.text-large .zauberpost h2,
body.text-large .kid-reviewers h2,
body.text-large .legal-section h2 {
  font-size: 58px;
}

.intro p,
.listening-copy p,
.extras p,
.about-copy p,
.conversion p,
.contact p,
.live-events p,
.zauberpost p,
.kid-reviewers p,
.legal-section p {
  margin: 0;
  font-family: "Trebuchet MS", Arial, sans-serif;
  font-size: 19px;
  line-height: 1.65;
  color: #fff1d1;
}

body.text-compact .hero-copy,
body.text-compact .intro p,
body.text-compact .listening-copy p,
body.text-compact .extras p,
body.text-compact .about-copy p,
body.text-compact .conversion p,
body.text-compact .contact p,
body.text-compact .live-events p,
body.text-compact .zauberpost p,
body.text-compact .kid-reviewers p,
body.text-compact .legal-section p {
  font-size: 17px;
}

body.text-large .hero-copy,
body.text-large .intro p,
body.text-large .listening-copy p,
body.text-large .extras p,
body.text-large .about-copy p,
body.text-large .conversion p,
body.text-large .contact p,
body.text-large .live-events p,
body.text-large .zauberpost p,
body.text-large .kid-reviewers p,
body.text-large .legal-section p {
  font-size: 21px;
}

.about-copy [data-author-bio] {
  display: grid;
  gap: 13px;
}

.about-copy [data-author-bio] p {
  margin: 0;
}

.membership-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.author-media-list {
  display: grid;
  gap: 14px;
  margin-top: 22px;
}

.author-media-card {
  padding: 16px;
  border: 1px solid rgba(255, 220, 145, 0.35);
  border-radius: var(--radius);
  background: rgba(255, 247, 232, 0.72);
}

.author-media-card span {
  display: inline-flex;
  margin-bottom: 8px;
  padding: 4px 10px;
  border-radius: 999px;
  background: #9ed8ff;
  color: #1e2d3d;
  font-size: 13px;
  font-weight: 800;
}

.author-media-card h3 {
  margin: 0;
  color: #3b1d0b;
}

.author-media-card p {
  margin: 8px 0 12px;
}

.membership-list a {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 8px 12px;
  border: 1px solid rgba(158, 216, 255, 0.55);
  border-radius: var(--radius);
  color: #9ed8ff;
  background: rgba(255, 247, 232, 0.08);
  font-weight: 800;
  text-decoration: none;
}

.download-list {
  display: grid;
  gap: 10px;
  margin: 22px 0;
}

.download-note,
.download-card {
  display: grid;
  gap: 6px;
  padding: 14px;
  border: 1px solid rgba(255, 220, 145, 0.28);
  border-radius: var(--radius);
  color: #fff1d1;
  background: rgba(255, 247, 232, 0.1);
}

.download-card {
  grid-template-columns: minmax(92px, 128px) minmax(0, 1fr);
  align-items: center;
  gap: 14px;
  text-decoration: none;
}

button.download-card,
button.event-card {
  appearance: none;
  width: 100%;
  border: 1px solid rgba(255, 220, 145, 0.28);
  font: inherit;
  text-align: left;
  color: inherit;
  background: rgba(255, 247, 232, 0.1);
  cursor: pointer;
}

.download-card-add,
.event-card-add {
  border-style: dashed;
}

.download-card-add {
  grid-template-columns: 1fr;
}

.download-card-body {
  display: grid;
  gap: 6px;
  min-width: 0;
}

.download-card-body > span {
  color: #9ed8ff;
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

.download-card strong {
  color: #ffd980;
  font-size: 20px;
}

.download-card small {
  color: #fff1d1;
}

.download-preview {
  position: relative;
  width: 100%;
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(255, 220, 145, 0.32);
  border-radius: 7px;
  background: rgba(16, 7, 3, 0.72);
  aspect-ratio: 4 / 3;
}

.download-preview img,
.download-preview iframe {
  width: 100%;
  height: 100%;
  border: 0;
  object-fit: contain;
  background: #fff8ea;
}

.download-preview iframe {
  pointer-events: none;
}

.download-preview-document span,
.download-preview-file span {
  position: absolute;
  left: 8px;
  bottom: 8px;
  border-radius: 999px;
  padding: 4px 8px;
  color: #24130b;
  background: #9ed8ff;
  font-family: "Trebuchet MS", Arial, sans-serif;
  font-size: 12px;
  font-weight: 900;
}

.download-preview-file {
  display: grid;
  place-items: center;
  padding: 12px;
  text-align: center;
}

.download-preview-file strong {
  color: #ffe4a6;
  font-family: "Trebuchet MS", Arial, sans-serif;
  font-size: 13px;
  overflow-wrap: anywhere;
}

.card-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 6px;
}

.card-actions .button {
  min-height: 38px;
  padding: 9px 13px;
  font-size: 14px;
}

.edit-card-action {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  min-height: 30px;
  margin-top: 8px;
  padding: 5px 10px;
  border-radius: 999px;
  color: #24130b;
  background: linear-gradient(135deg, #ffe783, #f3a221);
  font-family: "Trebuchet MS", Arial, sans-serif;
  font-size: 13px;
  font-weight: 900;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 38px;
}

.book-feature {
  display: grid;
  grid-template-columns: minmax(280px, 0.95fr) minmax(0, 1.05fr);
  gap: clamp(24px, 5vw, 62px);
  align-items: stretch;
  padding: clamp(20px, 4vw, 44px) 0;
  border-top: 1px solid rgba(255, 220, 145, 0.25);
}

.book-feature.reverse .book-art {
  order: 2;
}

.book-art {
  width: min(100%, 440px);
  justify-self: center;
  overflow: hidden;
  border: 0;
  border-radius: 6px;
  box-shadow: var(--shadow);
  background: transparent;
}

.book-art img {
  width: 100%;
  height: auto;
  object-fit: initial;
  object-position: center;
}

.image-layout-portrait {
  aspect-ratio: 3 / 4;
}

.image-layout-landscape {
  aspect-ratio: 16 / 9;
}

.image-layout-square {
  aspect-ratio: 1 / 1;
}

body.images-calm .hero-book,
body.images-calm .book-art,
body.images-calm .brand-world-image,
body.images-calm .reading-preview,
body.images-calm .extra-preview,
body.images-calm .portrait-stack,
body.images-calm .kid-reviewer-card {
  transform: scale(0.82);
  transform-origin: center;
}

body.images-strong .hero-book,
body.images-strong .book-art,
body.images-strong .brand-world-image,
body.images-strong .reading-preview,
body.images-strong .extra-preview,
body.images-strong .portrait-stack,
body.images-strong .kid-reviewer-card {
  transform: scale(1);
  transform-origin: center;
}

body .hero-book.image-size-small,
body .book-art.image-size-small,
body .brand-world-image.image-size-small,
body .reading-preview.image-size-small,
body .extra-preview.image-size-small,
body .portrait-stack.image-size-small,
body .kid-reviewer-card.image-size-small {
  transform: scale(0.72);
  transform-origin: center;
}

body .reading-preview.image-size-small,
body .extra-preview.image-size-small,
body .portrait-stack.image-size-small,
body .brand-world-image.image-size-small,
body .kid-reviewer-card.image-size-small {
  width: min(100%, 320px);
}

body .hero-book.image-size-large,
body .book-art.image-size-large,
body .brand-world-image.image-size-large,
body .reading-preview.image-size-large,
body .extra-preview.image-size-large,
body .portrait-stack.image-size-large,
body .kid-reviewer-card.image-size-large {
  transform: scale(1.06);
  transform-origin: center;
}

body .reading-preview.image-size-large,
body .extra-preview.image-size-large,
body .portrait-stack.image-size-large,
body .brand-world-image.image-size-large,
body .kid-reviewer-card.image-size-large {
  width: min(100%, 560px);
}

.book-copy {
  align-self: stretch;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 100%;
  padding: clamp(20px, 4vw, 42px);
  border-radius: var(--radius);
  background: rgba(255, 238, 203, 0.08);
  border: 1px solid rgba(255, 220, 145, 0.22);
}

.book-copy h3 {
  margin: 0 0 16px;
  font-size: 52px;
  line-height: 1;
  color: #ffd980;
  font-weight: 500;
}

.book-copy p,
.spark-list {
  font-family: "Trebuchet MS", Arial, sans-serif;
}

.age {
  margin: 0 0 12px;
  color: #9ed8ff;
  font-size: 15px;
  font-weight: 700;
}

.book-copy > p:not(.age) {
  margin: 0;
  font-size: 18px;
  line-height: 1.62;
  color: #fff5df;
}

.spark-list {
  display: grid;
  gap: 8px;
  margin: 20px 0 0;
  padding: 0;
  list-style: none;
  color: #ffe8ad;
  font-size: 17px;
}

.spark-list li::before {
  content: "✦";
  margin-right: 8px;
  color: var(--gold);
}

.book-admin-link {
  align-self: flex-start;
  margin-top: 14px;
  border: 1px solid rgba(158, 216, 255, 0.75);
  border-radius: 8px;
  padding: 9px 13px;
  color: #24120a;
  background: linear-gradient(#ffd76b, #ef921d);
  font-family: "Trebuchet MS", Arial, sans-serif;
  font-weight: 800;
  text-decoration: none;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.2);
}

.book-admin-link:hover,
.book-admin-link:focus {
  transform: translateY(-1px);
}

.reading-preview,
.extra-preview,
.portrait-stack {
  width: min(100%, 420px);
  justify-self: center;
  margin: 0;
  overflow: hidden;
  border-radius: var(--radius);
  border: 1px solid rgba(255, 220, 145, 0.35);
  box-shadow: var(--shadow);
  background: #f0d5aa;
  aspect-ratio: 3 / 4;
}

.reading-preview img,
.extra-preview img,
.portrait-stack img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.reading-preview figcaption {
  padding: 12px 14px;
  color: #3b1d0b;
  background: #f8e6c9;
  font-family: "Trebuchet MS", Arial, sans-serif;
  font-size: 14px;
}

.reading-preview.image-layout-landscape,
.extra-preview.image-layout-landscape,
.portrait-stack.image-layout-landscape {
  aspect-ratio: 16 / 9;
}

.reading-preview.image-layout-square,
.extra-preview.image-layout-square,
.portrait-stack.image-layout-square {
  aspect-ratio: 1 / 1;
}

.reading-preview.image-layout-portrait,
.extra-preview.image-layout-portrait,
.portrait-stack.image-layout-portrait {
  aspect-ratio: 3 / 4;
}

.audio-list {
  display: grid;
  gap: 12px;
  margin-top: 26px;
}

.audio-card {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px;
  border: 1px solid rgba(255, 220, 145, 0.28);
  border-radius: var(--radius);
  background: rgba(255, 247, 232, 0.09);
  color: inherit;
  font-family: "Trebuchet MS", Arial, sans-serif;
  text-decoration: none;
  text-align: left;
}

.audio-card:hover,
.audio-card:focus-visible {
  border-color: rgba(255, 216, 107, 0.85);
  background: rgba(255, 247, 232, 0.14);
  outline: none;
}

.audio-card-add,
.reading-card-empty {
  border-style: dashed;
}

.audio-card-add {
  cursor: pointer;
}

.play-icon {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 52px;
  height: 42px;
  color: #2b1205;
  background: linear-gradient(135deg, #ffe783, #f3a221);
  border: 1px solid rgba(255, 246, 204, 0.75);
  border-radius: 10px;
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.18);
  font-size: 0.78rem;
  font-weight: 900;
  line-height: 1;
  text-transform: uppercase;
}

.reading-book-icon {
  position: relative;
  width: 54px;
  height: 42px;
  border-radius: 8px;
  background: transparent;
  border: 0;
  box-shadow: none;
}

.reading-book-icon::before,
.reading-book-icon::after {
  content: "";
  position: absolute;
  top: 5px;
  width: 25px;
  height: 32px;
  background: linear-gradient(135deg, #fff6c8, #f5bf46);
  border: 1px solid rgba(255, 246, 204, 0.9);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.18);
}

.reading-book-icon::before {
  left: 3px;
  border-radius: 7px 3px 3px 7px;
  transform: skewY(-6deg);
}

.reading-book-icon::after {
  right: 3px;
  border-radius: 3px 7px 7px 3px;
  transform: skewY(6deg);
}

.reading-book-icon {
  background-image: linear-gradient(#5a2b10, #5a2b10);
  background-repeat: no-repeat;
  background-position: center;
  background-size: 2px 31px;
}

.reading-icon-add {
  width: 42px;
  border-radius: 50%;
  font-size: 1.4rem;
  text-transform: none;
}

.audio-card strong,
.audio-card span {
  display: block;
}

.audio-card span {
  margin-top: 4px;
  color: #ffe4a6;
}

.live-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(300px, 1.05fr);
  gap: clamp(28px, 5vw, 70px);
  align-items: center;
}

.live-events .button {
  margin-top: 26px;
}

.event-panel {
  display: grid;
  gap: 14px;
}

.event-panel article,
.event-panel .event-card {
  display: grid;
  gap: 10px;
  padding: 18px;
  border: 1px solid rgba(255, 220, 145, 0.28);
  border-radius: var(--radius);
  color: inherit;
  text-decoration: none;
  background: rgba(255, 247, 232, 0.1);
  box-shadow: 0 14px 34px rgba(18, 8, 3, 0.22);
}

.event-panel .event-card:empty {
  display: none;
}

.site-edit-mode .event-panel button.event-card,
.site-edit-mode .download-list button.download-card {
  appearance: none;
  color: #fff1d1;
  background: rgba(255, 247, 232, 0.1);
  border: 1px solid rgba(255, 220, 145, 0.28);
}

.site-edit-mode .event-panel button.event-card h3,
.site-edit-mode .event-panel button.event-card p {
  text-align: left;
}

.event-panel .event-card:hover,
.event-panel .event-card:focus-visible,
.download-card:hover,
.download-card:focus-visible {
  border-color: rgba(255, 216, 107, 0.85);
  background: rgba(255, 247, 232, 0.14);
  outline: none;
}

.event-panel h3 {
  margin: 8px 0 8px;
  color: #ffd980;
  font-size: 24px;
  line-height: 1.15;
  font-weight: 500;
}

.event-panel p {
  font-size: 16px;
  line-height: 1.5;
}

.event-type {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 4px 9px;
  border-radius: 999px;
  color: #24130b;
  background: #9ed8ff;
  font-family: "Trebuchet MS", Arial, sans-serif;
  font-size: 13px;
  font-weight: 700;
}

.zauberpost-intro {
  max-width: 780px;
  margin: -18px 0 28px;
}

.zauberpost-grid {
  display: grid;
  gap: 18px;
}

.zauberpost-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 4px;
}

.zauberpost-tabs button {
  appearance: none;
  border: 1px solid rgba(255, 220, 145, 0.38);
  border-radius: 999px;
  padding: 9px 15px;
  color: #fff1d1;
  background: rgba(255, 247, 232, 0.1);
  font-family: "Trebuchet MS", Arial, sans-serif;
  font-weight: 800;
  cursor: pointer;
}

.zauberpost-tabs button:hover,
.zauberpost-tabs button:focus-visible,
.zauberpost-tabs button.is-active {
  color: #24130b;
  background: linear-gradient(180deg, #ffe16f, #f39a1f);
  outline: none;
}

.zauberpost-card-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(180px, 1fr));
  gap: 14px;
}

.zauberpost-card {
  display: grid;
  gap: 10px;
  align-content: start;
  padding: 12px;
  border: 1px solid rgba(255, 220, 145, 0.28);
  border-radius: var(--radius);
  background: rgba(255, 247, 232, 0.1);
  box-shadow: 0 14px 34px rgba(18, 8, 3, 0.22);
}

button.zauberpost-card {
  appearance: none;
  width: 100%;
  color: #fff1d1;
  font: inherit;
  text-align: left;
  cursor: pointer;
}

.zauberpost-card-add {
  border-style: dashed;
}

.zauberpost-card:hover,
.zauberpost-card:focus-visible {
  border-color: rgba(255, 216, 107, 0.85);
  background: rgba(255, 247, 232, 0.14);
  outline: none;
}

.zauberpost-card span {
  width: fit-content;
  padding: 4px 9px;
  border-radius: 999px;
  color: #24130b;
  background: #9ed8ff;
  font-family: "Trebuchet MS", Arial, sans-serif;
  font-size: 13px;
  font-weight: 700;
}

.zauberpost-image {
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(255, 220, 145, 0.22);
  border-radius: var(--radius);
  background: rgba(18, 8, 3, 0.28);
  aspect-ratio: 4 / 3;
}

.zauberpost-image img,
.zauberpost-image video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: rgba(18, 8, 3, 0.38);
}

.zauberpost-media-button {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  color: inherit;
  background: transparent;
  cursor: zoom-in;
}

.zauberpost-card h3 {
  margin: 0;
  color: #ffd980;
  font-size: 21px;
  line-height: 1.12;
  font-weight: 500;
}

.zauberpost-card p {
  margin: 0;
  font-size: 14px;
  line-height: 1.5;
}

.kid-reviewer-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.kid-reviewer-card {
  width: min(100%, 360px);
  justify-self: center;
  overflow: hidden;
  border-radius: var(--radius);
  border: 1px solid rgba(255, 220, 145, 0.28);
  background: rgba(255, 247, 232, 0.1);
  box-shadow: var(--shadow);
  aspect-ratio: 3 / 4;
}

.kid-reviewer-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-grid {
  display: grid;
  grid-template-columns: minmax(240px, 0.78fr) minmax(0, 1.22fr);
  gap: clamp(28px, 5vw, 70px);
  align-items: center;
}

.conversion {
  text-align: center;
}

.conversion-inner {
  max-width: 820px;
}

.conversion p {
  margin-top: 18px;
}

.buy-link-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 26px;
  text-align: left;
}

.buy-link-card {
  display: grid;
  gap: 8px;
  min-height: 150px;
  padding: 18px;
  border: 1px solid rgba(255, 220, 145, 0.35);
  border-radius: var(--radius);
  color: #fff4dd;
  background: rgba(255, 247, 232, 0.1);
  box-shadow: 0 14px 34px rgba(18, 8, 3, 0.22);
  text-decoration: none;
}

.buy-link-card span {
  width: fit-content;
  border-radius: 999px;
  padding: 4px 10px;
  color: #24130b;
  background: #9ed8ff;
  font-size: 13px;
  font-weight: 900;
}

.buy-link-card strong {
  color: #ffe1a0;
  font-size: 21px;
}

.buy-link-card small {
  color: #fff1d1;
  font-size: 14px;
  font-weight: 800;
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(300px, 1fr);
  gap: clamp(28px, 5vw, 70px);
  align-items: start;
}

.contact-options {
  display: grid;
  gap: 14px;
}

.contact-card {
  display: grid;
  gap: 8px;
  padding: 18px;
  border: 1px solid rgba(255, 220, 145, 0.35);
  border-radius: var(--radius);
  color: #fff4dd;
  background: rgba(255, 247, 232, 0.1);
  box-shadow: 0 14px 34px rgba(18, 8, 3, 0.22);
  font-family: "Trebuchet MS", Arial, sans-serif;
  text-decoration: none;
}

.contact-card:hover {
  border-color: rgba(255, 216, 107, 0.8);
  background: rgba(255, 247, 232, 0.16);
}

.contact-card span {
  color: #9ed8ff;
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
}

.contact-card strong {
  color: #ffd980;
  font-size: 24px;
}

.contact-card small {
  color: #fff1d1;
  font-size: 15px;
  line-height: 1.45;
}

.legal-card {
  padding: clamp(22px, 4vw, 42px);
  border: 1px solid rgba(255, 220, 145, 0.28);
  border-radius: var(--radius);
  background: rgba(255, 247, 232, 0.1);
  box-shadow: var(--shadow);
}

.legal-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(18px, 4vw, 38px);
  margin-top: 24px;
}

.legal-grid h3 {
  margin: 0 0 10px;
  color: #ffd980;
  font-family: "Trebuchet MS", Arial, sans-serif;
  font-size: 19px;
}

.legal-grid p,
.legal-note {
  font-family: "Trebuchet MS", Arial, sans-serif;
}

.legal-note {
  margin-top: 24px;
  max-width: 780px;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 28px clamp(18px, 5vw, 72px);
  background: #080403;
  color: #f7d78b;
  font-family: "Trebuchet MS", Arial, sans-serif;
}

.site-footer div,
.site-footer nav {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.site-footer a {
  color: #ffe7b3;
}

@media (max-width: 820px) {
  .site-header {
    min-height: 64px;
  }

  .nav-toggle {
    display: block;
  }

  .site-nav {
    position: absolute;
    top: 64px;
    left: 14px;
    right: 14px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 8px;
    border: 1px solid rgba(244, 199, 91, 0.36);
    border-radius: var(--radius);
    background: rgba(17, 7, 2, 0.96);
  }

  .site-nav.is-open {
    display: flex;
  }

  .site-nav a {
    padding: 14px;
  }

  .hero {
    min-height: auto;
    grid-template-columns: 1fr;
    gap: 24px;
    padding-top: 96px;
  }

  .hero-inner {
    padding-bottom: 24px;
  }

  h1 {
    font-size: 58px;
  }

  body.text-compact h1 {
    font-size: 52px;
  }

  body.text-large h1 {
    font-size: 64px;
  }

  .hero-copy {
    font-size: 20px;
  }

  .brand-world-copy h2,
  .intro h2,
  .section-heading h2,
  .listening-copy h2,
  .extras h2,
  .about-copy h2,
  .conversion h2,
  .contact h2,
  .live-events h2,
  .zauberpost h2,
  .kid-reviewers h2,
  .legal-section h2,
  .book-copy h3 {
    font-size: 38px;
  }

  body.text-compact .intro h2,
  body.text-compact .section-heading h2,
  body.text-compact .listening-copy h2,
  body.text-compact .extras h2,
  body.text-compact .about-copy h2,
  body.text-compact .conversion h2,
  body.text-compact .contact h2,
  body.text-compact .live-events h2,
  body.text-compact .zauberpost h2,
  body.text-compact .kid-reviewers h2,
  body.text-compact .legal-section h2 {
    font-size: 34px;
  }

  body.text-large .intro h2,
  body.text-large .section-heading h2,
  body.text-large .listening-copy h2,
  body.text-large .extras h2,
  body.text-large .about-copy h2,
  body.text-large .conversion h2,
  body.text-large .contact h2,
  body.text-large .live-events h2,
  body.text-large .zauberpost h2,
  body.text-large .kid-reviewers h2,
  body.text-large .legal-section h2 {
    font-size: 42px;
  }

  .hero-books,
  .two-column,
  .book-feature,
  .about-grid,
  .contact-grid,
  .live-grid,
  .legal-grid,
  .zauberpost-grid,
  .zauberpost-card-grid,
  .buy-link-grid,
  .brand-world {
    grid-template-columns: 1fr;
  }

  .kid-reviewer-grid {
    grid-template-columns: 1fr;
  }

  .hero-books {
    max-width: none;
    justify-items: center;
  }

  .hero-book {
    width: min(100%, 360px);
  }

  .book-feature.reverse .book-art {
    order: 0;
  }

  .book-copy {
    padding: 0;
    border: 0;
    background: transparent;
  }
}

@media (max-width: 560px) {
  .brand {
    max-width: 245px;
    white-space: normal;
    font-size: 16px;
    line-height: 1.1;
  }

  .hero-actions,
  .actions-row {
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .hero-books {
    grid-template-columns: 1fr;
  }

  .hero-book {
    aspect-ratio: auto;
  }

  .download-card {
    grid-template-columns: 1fr;
  }

  .download-preview {
    max-width: 220px;
  }

  h1 {
    font-size: 46px;
  }

  body.text-compact h1 {
    font-size: 42px;
  }

  body.text-large h1 {
    font-size: 50px;
  }

  .brand-world-copy h2,
  .intro h2,
  .section-heading h2,
  .listening-copy h2,
  .extras h2,
  .about-copy h2,
  .conversion h2,
  .contact h2,
  .live-events h2,
  .zauberpost h2,
  .kid-reviewers h2,
  .legal-section h2,
  .book-copy h3 {
    font-size: 32px;
  }

  .site-footer {
    flex-direction: column;
  }
}

body .hero-book.image-layout-portrait,
body .book-art.image-layout-portrait,
body .brand-world-image.image-layout-portrait,
body .reading-preview.image-layout-portrait,
body .extra-preview.image-layout-portrait,
body .portrait-stack.image-layout-portrait,
body .kid-reviewer-card.image-layout-portrait {
  aspect-ratio: 3 / 4;
}

body .hero-book.image-layout-portrait,
body .book-art.image-layout-portrait,
body .hero-book.image-layout-landscape,
body .book-art.image-layout-landscape,
body .hero-book.image-layout-square,
body .book-art.image-layout-square {
  aspect-ratio: auto;
}

body .hero-book.image-layout-landscape,
body .book-art.image-layout-landscape,
body .brand-world-image.image-layout-landscape,
body .reading-preview.image-layout-landscape,
body .extra-preview.image-layout-landscape,
body .portrait-stack.image-layout-landscape,
body .kid-reviewer-card.image-layout-landscape {
  aspect-ratio: 16 / 9;
}

body .hero-book.image-layout-square,
body .book-art.image-layout-square,
body .brand-world-image.image-layout-square,
body .reading-preview.image-layout-square,
body .extra-preview.image-layout-square,
body .portrait-stack.image-layout-square,
body .kid-reviewer-card.image-layout-square {
  aspect-ratio: 1 / 1;
}

.site-edit-mode {
  padding-bottom: 82px;
}

.editable-site-item,
.editable-site-link {
  outline: 2px solid rgba(158, 216, 255, 0.8);
  outline-offset: 4px;
  cursor: pointer;
}

.editable-site-item:hover,
.editable-site-link:hover,
.editable-site-item:focus {
  outline-color: #fff2a6;
  box-shadow: 0 0 0 5px rgba(158, 216, 255, 0.16);
}

[contenteditable="true"].editable-site-item {
  cursor: text;
}

.site-edit-mode .editable-site-item {
  min-height: 1.25em;
  padding: 2px 4px;
}

.site-edit-mode h1.editable-site-item,
.site-edit-mode h2.editable-site-item,
.site-edit-mode h3.editable-site-item {
  overflow-wrap: normal;
  word-break: normal;
  hyphens: none;
}

.site-edit-mode h1.editable-site-item {
  font-size: clamp(50px, 5.2vw, 72px);
  max-width: min(100%, 980px);
}

.site-edit-toolbar {
  position: fixed;
  right: 18px;
  bottom: 18px;
  left: 18px;
  z-index: 50;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 216, 107, 0.48);
  border-radius: 8px;
  padding: 12px;
  background: rgba(34, 12, 4, 0.94);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.34);
}

.site-edit-toolbar strong {
  color: var(--gold);
}

.site-edit-toolbar span {
  color: #9ed8ff;
  font-weight: 900;
}

.site-edit-toolbar button,
.site-edit-toolbar a,
.edit-form button {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  border: 1px solid #ffd782;
  border-radius: 8px;
  padding: 10px 14px;
  color: #24120a;
  background: linear-gradient(#ffd86b, #de7b19);
  font-family: "Trebuchet MS", Arial, sans-serif;
  font-weight: 900;
  text-decoration: none;
  cursor: pointer;
}

.edit-modal-backdrop,
.external-notice-backdrop {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 18px;
  background: rgba(14, 5, 2, 0.72);
}

.edit-modal-backdrop.is-open,
.external-notice-backdrop.is-open {
  display: flex;
}

.edit-modal,
.external-notice {
  position: relative;
  width: min(620px, 100%);
  max-height: min(760px, 92vh);
  overflow: auto;
  border: 1px solid rgba(255, 216, 107, 0.42);
  border-radius: 8px;
  padding: 22px;
  color: #fff3d6;
  background: #4a2d1f;
  box-shadow: 0 20px 70px rgba(0, 0, 0, 0.44);
}

.edit-modal-close,
.external-notice-close {
  position: sticky;
  top: 0;
  z-index: 2;
  float: right;
  width: 42px;
  min-height: 42px;
  border-radius: 999px;
  padding: 0;
  font-size: 28px;
  line-height: 1;
}

.external-notice-actions {
  clear: both;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 20px;
}

.external-notice-actions button {
  min-height: 46px;
  padding: 10px 16px;
  border: 1px solid #ffd782;
  border-radius: 8px;
  color: #24120a;
  background: linear-gradient(#ffd86b, #de7b19);
  font: inherit;
  font-weight: 900;
  cursor: pointer;
}

.external-notice-actions [data-external-cancel] {
  color: #ffe1a0;
  background: transparent;
}

.edit-form {
  clear: both;
  display: grid;
  gap: 14px;
}

.edit-form label {
  display: grid;
  gap: 7px;
  color: #ffe3a6;
  font-family: "Trebuchet MS", Arial, sans-serif;
  font-weight: 900;
}

.edit-form-status {
  margin: 0;
  padding: 10px 12px;
  border: 1px solid rgba(255, 220, 145, 0.28);
  border-radius: 8px;
  color: #fff1d1;
  background: rgba(255, 247, 232, 0.08);
  font-family: "Trebuchet MS", Arial, sans-serif;
  font-size: 15px;
}

.edit-form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.edit-form .danger-button {
  border-color: rgba(255, 180, 150, 0.75);
  color: #fff6ec;
  background: linear-gradient(#9f3b28, #5f1c12);
}

.edit-form input,
.edit-form select {
  min-height: 46px;
  border: 1px solid rgba(255, 216, 107, 0.35);
  border-radius: 8px;
  padding: 10px 12px;
  color: #24120a;
  background: #fff8e9;
}

.download-viewer-backdrop {
  position: fixed;
  inset: 0;
  z-index: 85;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 18px;
  background: rgba(14, 5, 2, 0.78);
}

.download-viewer-backdrop.is-open {
  display: flex;
}

.download-viewer {
  position: relative;
  width: min(980px, 100%);
  max-height: min(820px, 92vh);
  overflow: auto;
  border: 1px solid rgba(255, 216, 107, 0.42);
  border-radius: 8px;
  padding: 22px;
  color: #fff3d6;
  background: #4a2d1f;
  box-shadow: 0 20px 70px rgba(0, 0, 0, 0.48);
}

.download-viewer-close {
  position: sticky;
  top: 0;
  z-index: 2;
  float: right;
  width: 42px;
  min-height: 42px;
  border: 1px solid #ffd782;
  border-radius: 999px;
  padding: 0;
  color: #24120a;
  background: linear-gradient(#ffd86b, #de7b19);
  font: inherit;
  font-size: 28px;
  font-weight: 900;
  line-height: 1;
  cursor: pointer;
}

.download-viewer-media {
  clear: both;
  display: grid;
  place-items: center;
  margin: 18px 0;
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.24);
}

.download-viewer-media img,
.download-viewer-media video {
  display: block;
  max-width: 100%;
  max-height: 62vh;
  object-fit: contain;
}

.download-viewer-media iframe {
  width: 100%;
  min-height: 62vh;
  border: 0;
  background: #ffffff;
}

.download-viewer-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.download-icon-button {
  width: 54px;
  min-width: 54px;
  padding: 0;
}

.download-symbol {
  position: relative;
  display: block;
  width: 24px;
  height: 26px;
}

.download-symbol::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 0;
  width: 10px;
  height: 16px;
  border-right: 4px solid currentColor;
  border-bottom: 4px solid currentColor;
  transform: translateX(-50%) rotate(45deg);
}

.download-symbol::after {
  content: "";
  position: absolute;
  left: 2px;
  right: 2px;
  bottom: 0;
  height: 4px;
  border-radius: 999px;
  background: currentColor;
}
