@font-face {
  font-family: "Alex Brush";
  src: url("alex-brush.ttf") format("truetype");
  font-display: swap;
}
:root {
  color-scheme: dark;
  --bg: #13091d;
  --bg-soft: #1d102b;
  --panel: rgba(255, 255, 255, 0.08);
  --panel-strong: rgba(255, 255, 255, 0.13);
  --text: #fff9fb;
  --muted: #d8c9df;
  --line: rgba(255, 255, 255, 0.18);
  --accent: #ff4f9a;
  --accent-dark: #b91357;
  --cyan: #70f3ff;
  --radius: 18px;
  --shadow: 0 24px 80px rgba(4, 1, 12, 0.42);
  font-family: "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at 10% 4%, rgba(255, 79, 154, 0.2), transparent 28rem),
    radial-gradient(circle at 88% 16%, rgba(112, 243, 255, 0.14), transparent 24rem),
    var(--bg);
  color: var(--text);
}

body.nav-open {
  overflow: hidden;
}

a {
  color: inherit;
}

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

.skip-link {
  position: fixed;
  left: 1rem;
  top: 1rem;
  z-index: 100;
  padding: 0.8rem 1rem;
  border-radius: 999px;
  background: var(--text);
  color: var(--bg);
  transform: translateY(-160%);
  transition: transform 180ms ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  min-height: 76px;
  padding: 1rem clamp(1rem, 4vw, 3rem);
  border-bottom: 1px solid transparent;
  font-family: "Alex Brush", cursive;
  transition: background 180ms ease, border-color 180ms ease, backdrop-filter 180ms ease;
}

.site-header[data-elevated="true"],
.site-header:has(.site-nav.is-open) {
  border-color: var(--line);
  background: rgba(19, 9, 29, 0.82);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  text-decoration: none;
}

.brand-mark {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.32);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  color: var(--text);
  font-size: 1.45rem;
  font-weight: 400;
}

.brand-logo {
  width: 46px;
  height: 46px;
  object-fit: contain;
}
.brand strong,
.brand small {
  display: block;
  font-weight: 400;
  line-height: 1;
}
.brand strong {
  font-size: 1.65rem;
}
.brand small {
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.05;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(0.7rem, 1.7vw, 1.2rem);
  font-size: 1.25rem;
  line-height: 1;
}

.site-nav a {
  text-decoration: none;
  color: rgba(255, 249, 251, 0.82);
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--text);
}

.nav-shop {
  padding: 0.65rem 0.95rem;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 999px;
}

.nav-toggle {
  display: none;
}

.hero {
  position: relative;
  display: grid;
  min-height: 100dvh;
  align-items: end;
  overflow: hidden;
  padding: 7rem clamp(1rem, 5vw, 5rem) 5rem;
}

.hero-image,
.hero-scrim {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-image {
  object-fit: cover;
}

.hero-scrim {
  background:
    linear-gradient(90deg, rgba(19, 9, 29, 0.93) 0%, rgba(19, 9, 29, 0.52) 46%, rgba(19, 9, 29, 0.08) 74%),
    linear-gradient(0deg, rgba(19, 9, 29, 0.98) 0%, transparent 38%);
}

.hero-content {
  position: relative;
  width: min(760px, 100%);
}

.kicker {
  margin: 0 0 0.9rem;
  color: var(--cyan);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  text-wrap: balance;
}

h1 {
  max-width: 11ch;
  margin: 0;
  padding-bottom: 0.12em;
  font-family: "Alex Brush", cursive;
  font-size: clamp(4.7rem, 9vw, 9rem);
  font-weight: 400;
  line-height: 1.02;
  letter-spacing: 0.02em;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.58);
}

h2 {
  margin: 0;
  font-size: clamp(2rem, 4.6vw, 4.6rem);
  line-height: 1;
  letter-spacing: 0;
}

h3 {
  margin: 0;
  font-size: clamp(1.15rem, 2vw, 1.45rem);
}

p {
  color: var(--muted);
  line-height: 1.7;
}

.hero-copy {
  max-width: 38rem;
  margin: 1.3rem 0 0;
  color: rgba(255, 249, 251, 0.9);
  font-size: clamp(1.05rem, 2vw, 1.35rem);
}

.hero-actions,
.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 1.8rem;
}

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 1.15rem;
  border-radius: 999px;
  font-weight: 800;
  text-decoration: none;
  transition: transform 150ms ease, border-color 150ms ease, background 150ms ease;
}

.button:active {
  transform: translateY(1px);
}

.primary {
  border: 1px solid var(--accent);
  background: var(--accent);
  color: #220313;
}

.secondary {
  border: 1px solid rgba(255, 255, 255, 0.34);
  background: rgba(255, 255, 255, 0.08);
  color: var(--text);
}

.text-link {
  color: var(--cyan);
  font-weight: 800;
  text-decoration-thickness: 2px;
  text-underline-offset: 0.25em;
}

.section {
  width: min(1180px, calc(100% - 2rem));
  margin: 0 auto;
  padding: clamp(4.5rem, 9vw, 8rem) 0;
}

.book-feature,
.kate-section,
.author-section,
.final-cta,
.shop-item {
  display: grid;
  grid-template-columns: minmax(260px, 0.78fr) minmax(0, 1.2fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
}

.book-cover {
  position: relative;
  min-height: 0;
  margin: 0;
  overflow: hidden;
  aspect-ratio: 0.64;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #3a1244;
  box-shadow: var(--shadow);
}

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

.section-copy p,
.section-heading p,
.final-cta p {
  max-width: 64ch;
}

.book-meta,
.shop-meta {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.9rem;
  margin: 1.8rem 0;
}

dt {
  color: var(--cyan);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

dd {
  margin: 0.25rem 0 0;
  color: var(--text);
}

.kate-section {
  align-items: start;
}

.narrow {
  max-width: 520px;
}

.artifact-grid {
  display: grid;
  gap: 1rem;
}

.artifact-grid article,
.adventure-list article,
.quote-grid figure,
.blog-grid article,
.faq-list details {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
}

.artifact-grid article {
  padding: 1.3rem;
}

.artifact-grid span,
.blog-grid span {
  color: var(--accent);
  font-size: 0.82rem;
  font-weight: 900;
}

.world-section {
  position: relative;
  display: grid;
  grid-template-columns: minmax(250px, 0.72fr) minmax(0, 1.28fr);
  gap: clamp(1.5rem, 4vw, 4rem);
  align-items: center;
  overflow: hidden;
  padding: clamp(1.2rem, 3vw, 2rem);
  border: 1px solid rgba(255, 136, 202, 0.34);
  border-radius: calc(var(--radius) + 8px);
  background:
    radial-gradient(circle at 0% 0%, rgba(255, 67, 164, 0.19), transparent 28rem),
    radial-gradient(circle at 100% 100%, rgba(44, 224, 239, 0.16), transparent 25rem),
    #21132d;
}

.world-panel,
.world-map {
  position: relative;
  z-index: 1;
}

.world-panel {
  padding: clamp(1.25rem, 3vw, 2rem);
}

.world-panel .kicker {
  color: #7ef7ff;
}

.world-wordmark {
  margin: 0.1rem 0 -0.15rem;
  color: #ff9dd3;
  font-family: "Alex Brush", cursive;
  font-size: clamp(4.25rem, 8vw, 7.4rem);
  line-height: 0.82;
  text-shadow: 0 0 1.2rem rgba(255, 87, 174, 0.52);
}

.world-panel h2 {
  position: relative;
  z-index: 1;
}

.world-panel > p:last-child {
  color: #eadcec;
  font-size: 1.05rem;
}

.world-map {
  min-height: 520px;
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(247, 227, 255, 0.42);
  border-radius: 54px 4px 54px 4px;
  background: #321746;
  box-shadow: 0 26px 64px rgba(1, 1, 13, 0.5), -12px 16px 0 rgba(82, 228, 238, 0.12);
}

.world-map img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: saturate(1.1) contrast(1.04);
  transform: scale(1.025);
}

.world-map::before {
  content: "";
  position: absolute;
  z-index: 1;
  inset: 0;
  background: linear-gradient(140deg, rgba(18, 3, 31, 0.05) 25%, rgba(255, 95, 182, 0.16) 58%, rgba(12, 2, 27, 0.36) 100%);
  pointer-events: none;
}

.world-map::after {
  content: "";
  position: absolute;
  z-index: 2;
  inset: -35%;
  background: linear-gradient(112deg, transparent 42%, rgba(255, 229, 248, 0.32) 49%, transparent 56%);
  opacity: 0;
  pointer-events: none;
  transform: translateX(-55%) rotate(10deg);
}

.world-spark {
  position: absolute;
  z-index: 3;
  display: block;
  width: 0.55rem;
  aspect-ratio: 1;
  border-radius: 50%;
  background: #fff6fc;
  box-shadow: 0 0 0.9rem 0.24rem rgba(255, 116, 196, 0.76), 0 0 2rem 0.55rem rgba(85, 235, 255, 0.3);
}

.spark-one {
  top: 19%;
  left: 17%;
}

.spark-two {
  top: 47%;
  right: 23%;
  width: 0.34rem;
  background: #b9faff;
  box-shadow: 0 0 0.8rem 0.2rem rgba(94, 236, 255, 0.85);
}

.spark-three {
  right: 10%;
  bottom: 16%;
  width: 0.42rem;
}

.world-map figcaption {
  position: absolute;
  z-index: 3;
  left: clamp(1.1rem, 3vw, 2rem);
  bottom: clamp(1.1rem, 3vw, 2rem);
  margin: 0;
  color: #fff9fe;
  font-family: "Alex Brush", cursive;
  font-size: clamp(2.5rem, 4vw, 4rem);
  line-height: 0.8;
  text-shadow: 0 3px 14px rgba(16, 1, 24, 0.9);
}

.world-map figcaption span {
  display: block;
  margin: 0 0 -0.08rem 0.25rem;
  color: #bafaff;
  font-family: var(--body);
  font-size: 0.19em;
  font-weight: 900;
  letter-spacing: 0.17em;
  text-transform: uppercase;
}

@keyframes candytopia-glow {
  0%,
  100% { filter: saturate(1.08) contrast(1.03) brightness(1); transform: scale(1.025); }
  50% { filter: saturate(1.18) contrast(1.07) brightness(1.08); transform: scale(1.06); }
}

@keyframes candytopia-sparkle {
  0%,
  100% { opacity: 0.38; transform: translateY(0) scale(0.72); }
  50% { opacity: 1; transform: translateY(-14px) scale(1.16); }
}

@keyframes candytopia-shimmer {
  0%,
  72% { opacity: 0; transform: translateX(-55%) rotate(10deg); }
  86% { opacity: 0.72; }
  100% { opacity: 0; transform: translateX(55%) rotate(10deg); }
}

@media (prefers-reduced-motion: no-preference) {
  .world-map img {
    animation: candytopia-glow 8s ease-in-out infinite;
  }

  .world-map::after {
    animation: candytopia-shimmer 8s ease-in-out infinite;
  }

  .spark-one {
    animation: candytopia-sparkle 3.8s ease-in-out infinite;
  }

  .spark-two {
    animation: candytopia-sparkle 4.8s ease-in-out 0.8s infinite;
  }

  .spark-three {
    animation: candytopia-sparkle 4.2s ease-in-out 1.4s infinite;
  }
}

@media (max-width: 640px) {
  .world-map {
    min-height: 405px;
    border-radius: 40px 4px 40px 4px;
  }

  .world-wordmark {
    font-size: clamp(4rem, 19vw, 5.8rem);
  }
}

.adventure-section {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: clamp(2rem, 5vw, 5rem);
}

.adventure-list {
  display: grid;
  gap: 1rem;
}

.adventure-list article {
  padding: 1.5rem;
}

.author-section {
  position: relative;
  grid-template-columns: minmax(280px, 0.88fr) minmax(0, 1.12fr);
  overflow: hidden;
  padding: clamp(1.25rem, 4vw, 2.25rem);
  border: 1px solid rgba(183, 231, 213, 0.25);
  border-radius: var(--radius);
  background:
    linear-gradient(115deg, rgba(4, 30, 35, 0.96), rgba(10, 75, 76, 0.94)),
    #0a4549;
  box-shadow: 0 24px 70px rgba(1, 22, 25, 0.34);
}

.author-media {
  position: relative;
  min-height: 530px;
}

.author-main-photo,
.author-piano-photo {
  position: absolute;
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(225, 255, 246, 0.35);
  border-radius: var(--radius);
  background: #0a3b3d;
  box-shadow: 0 18px 42px rgba(0, 17, 19, 0.4);
}

.author-main-photo {
  inset: 0 4rem 0 0;
}

.author-piano-photo {
  right: 0;
  bottom: 1.5rem;
  width: 42%;
  aspect-ratio: 0.72;
}

.author-main-photo img,
.author-piano-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.author-main-photo img {
  object-position: 50% 33%;
}

.author-piano-photo img {
  object-position: 56% 50%;
}

.author-logo {
  position: absolute;
  top: -1.1rem;
  right: 1.1rem;
  z-index: 1;
  width: clamp(74px, 10vw, 112px);
  filter: drop-shadow(0 10px 18px rgba(0, 23, 24, 0.3));
}

.author-copy {
  position: relative;
  max-width: 54ch;
  padding: clamp(0.5rem, 2vw, 1.25rem);
}

.author-section .kicker {
  color: #c5f1dd;
}

.author-section h2 {
  padding-bottom: 0.12em;
  color: #f6fffa;
  font-family: "Alex Brush", cursive;
  font-size: clamp(4rem, 7vw, 7rem);
  font-weight: 400;
  line-height: 1.02;
  text-shadow: 0 2px 4px rgba(0, 26, 28, 0.45);
}

.author-section p {
  color: rgba(241, 255, 249, 0.86);
}

.author-section .text-link {
  color: #c5f1dd;
}

.author-section .text-link:hover,
.author-section .text-link:focus-visible {
  color: #ffffff;
}

.section-heading {
  margin-bottom: 2rem;
}

.quote-grid,
.gallery-grid,
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.quote-grid figure {
  margin: 0;
  padding: 1.4rem;
}

blockquote {
  margin: 0;
  color: var(--text);
  font-size: 1.05rem;
  line-height: 1.55;
}

figcaption {
  margin-top: 1rem;
  color: var(--muted);
  font-size: 0.9rem;
}

.gallery-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.gallery-grid figure {
  min-height: 260px;
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
}

.gallery-grid span {
  display: block;
  height: 205px;
  background:
    radial-gradient(circle at 30% 24%, rgba(112, 243, 255, 0.42), transparent 4rem),
    radial-gradient(circle at 72% 70%, rgba(255, 79, 154, 0.5), transparent 7rem),
    linear-gradient(140deg, rgba(255, 255, 255, 0.14), rgba(255, 255, 255, 0.03));
}

.gallery-grid figcaption {
  margin: 0;
  padding: 1rem;
  color: var(--text);
  font-weight: 800;
}

.blog-grid article {
  padding: 1.4rem;
}

.shop-section {
  width: min(1080px, calc(100% - 2rem));
}

.shop-item {
  grid-template-columns: 170px 1fr auto;
  padding: 1.2rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel-strong);
  box-shadow: var(--shadow);
}
.retailer-links {
  display: grid;
  gap: 0.7rem;
  min-width: 180px;
}

.retailer-links .button {
  justify-content: center;
  white-space: nowrap;
}

.mini-cover {
  display: grid;
  min-height: 220px;
  place-items: end start;
  padding: 1rem;
  border-radius: calc(var(--radius) - 6px);
  background:
    radial-gradient(circle at 60% 35%, rgba(112, 243, 255, 0.5), transparent 4rem),
    linear-gradient(150deg, #58184b, #13091d);
}

.mini-cover strong {
  max-width: 7ch;
  font-size: 1.8rem;
  line-height: 0.95;
}

.faq-section {
  width: min(880px, calc(100% - 2rem));
}

.faq-list {
  display: grid;
  gap: 0.8rem;
}

.faq-list details {
  padding: 1.1rem 1.2rem;
}

summary {
  cursor: pointer;
  color: var(--text);
  font-weight: 850;
}

.faq-list p {
  margin-bottom: 0;
}

.final-cta {
  width: min(1180px, calc(100% - 2rem));
  margin: 2rem auto 0;
  padding: clamp(2rem, 5vw, 4rem);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    radial-gradient(circle at 80% 20%, rgba(112, 243, 255, 0.18), transparent 22rem),
    linear-gradient(135deg, rgba(255, 79, 154, 0.24), rgba(255, 255, 255, 0.06));
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 2rem;
  width: min(1180px, calc(100% - 2rem));
  margin: 0 auto;
  padding: 4rem 0 2rem;
  color: var(--muted);
}

.site-footer p {
  max-width: 34rem;
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.site-footer a {
  color: var(--text);
  font-weight: 700;
  text-decoration: none;
}

:focus-visible {
  outline: 3px solid var(--cyan);
  outline-offset: 4px;
}

[data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 560ms ease, transform 560ms ease;
}

[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}


.author-section em {
  color: #ff84bd;
  font-family: "Alex Brush", cursive;
  font-size: 1.3em;
  font-style: normal;
  font-weight: 400;
  line-height: 1;
  text-shadow: 0 1px 2px rgba(57, 7, 39, 0.45);
}

.testimonials {
  position: relative;
  overflow: hidden;
  padding: clamp(2rem, 5vw, 4.5rem);
  border: 1px solid rgba(255, 177, 212, 0.28);
  border-radius: var(--radius);
  background:
    repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.04) 0 14px, transparent 14px 28px),
    linear-gradient(135deg, #44143e 0%, #8e255b 52%, #35163f 100%);
  box-shadow: 0 26px 80px rgba(45, 5, 32, 0.42);
}

.testimonials::before {
  content: "♥";
  position: absolute;
  top: -0.38em;
  right: 0.04em;
  color: rgba(255, 197, 221, 0.16);
  font-size: clamp(9rem, 24vw, 19rem);
  line-height: 1;
  pointer-events: none;
}
.testimonials::before,
.testimonials::after {
  z-index: 0;
}

.testimonials::after {
  content: "♥";
  position: absolute;
  left: 3%;
  bottom: -0.55em;
  color: rgba(130, 242, 250, 0.12);
  font-size: clamp(7rem, 19vw, 15rem);
  line-height: 1;
  pointer-events: none;
}

.testimonials-intro,
.testimonials .quote-grid,
.testimonial-cta {
  z-index: 1;
}

@keyframes testimonials-heart-float {
  0%,
  100% { transform: translateY(0) rotate(-7deg); }
  50% { transform: translateY(-18px) rotate(5deg); }
}

@media (prefers-reduced-motion: no-preference) {
  .testimonials::before {
    animation: testimonials-heart-float 8s ease-in-out infinite;
  }

  .testimonials::after {
    animation: testimonials-heart-float 10.5s ease-in-out 1.2s infinite reverse;
  }
}

.testimonials-intro,
.testimonials .quote-grid,
.testimonial-cta {
  position: relative;
}

.testimonials-intro {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(220px, 0.56fr);
  gap: 2rem;
  align-items: end;
  margin-bottom: 2rem;
}

.testimonials .kicker {
  color: #ffd3e7;
}

.testimonials h2 {
  max-width: 11ch;
  padding-bottom: 0.12em;
  color: #fff5fa;
  font-family: "Alex Brush", cursive;
  font-size: clamp(3.8rem, 7vw, 7.3rem);
  font-weight: 400;
  line-height: 1.02;
  text-shadow: 0 2px 4px rgba(64, 9, 43, 0.42);
}

.testimonials-intro > p {
  margin: 0 0 0.65rem;
  color: rgba(255, 239, 247, 0.88);
  font-size: 1.05rem;
}

.testimonials .quote-grid {
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 1rem;
}

.testimonials .quote-grid figure {
  position: relative;
  grid-column: span 2;
  min-height: 270px;
  padding: 1.65rem;
  overflow: hidden;
  border-color: rgba(255, 221, 237, 0.28);
  background: rgba(30, 7, 28, 0.42);
  box-shadow: none;
}

.testimonials .quote-grid .quote-featured {
  grid-column: span 6;
  min-height: auto;
  background: rgba(255, 229, 241, 0.12);
}
.testimonials .quote-grid figure:nth-of-type(5),
.testimonials .quote-grid figure:nth-of-type(6) {
  grid-column: span 3;
}

.testimonials .quote-featured blockquote {
  max-width: 48ch;
  font-size: clamp(1.25rem, 2.3vw, 1.8rem);
}

.candy-heart {
  position: absolute;
  top: 0.75rem;
  right: 1rem;
  color: #ff9ac6;
  font-size: 1.5rem;
  line-height: 1;
}

.testimonials blockquote {
  position: relative;
  z-index: 1;
  color: #fff8fb;
}

.testimonials figcaption {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 0.25rem;
  color: #ffd5e8;
}

.testimonials figcaption strong {
  color: #ffffff;
}

.testimonials figcaption span {
  font-size: 0.82rem;
}
.testimonials .review-rating {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.45rem;
}

.testimonials .rating-hearts {
  color: #ff9ac6;
  font-size: 1rem;
  letter-spacing: 0.12em;
  line-height: 1;
  text-shadow: 0 0 0.65rem rgba(255, 112, 184, 0.72);
}

.testimonials .review-title {
  color: #ffd5e8;
}

.testimonial-cta {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 1.25rem;
  align-items: center;
  margin-top: 1.25rem;
  padding-top: 1.4rem;
  border-top: 1px solid rgba(255, 222, 237, 0.32);
}

.cta-hearts {
  color: #ff9ac6;
  font-size: 1.45rem;
  letter-spacing: 0.12em;
}

.testimonial-cta p {
  margin: 0;
  color: #ffd9e9;
}

.testimonial-cta h3 {
  color: #ffffff;
  font-size: clamp(1.3rem, 2.2vw, 1.75rem);
}

.testimonial-cta .button {
  white-space: nowrap;
}

.book-feature .section-copy h2 {
  max-width: 18ch;
  font-size: clamp(2.2rem, 3.5vw, 3.65rem);
  line-height: 1.05;
}
#book-title,
#kate-title,
#world-title,
#adventure-title,
#gallery-title,
#blog-title,
#shop-title,
#faq-title,
#contact-title {
  max-width: 18ch;
  font-size: clamp(2.2rem, 3.5vw, 3.65rem);
  line-height: 1.05;
}

.book-cover {
  isolation: isolate;
  transition: transform 320ms ease, box-shadow 320ms ease;
}

.book-cover::after {
  content: "";
  position: absolute;
  inset: -20%;
  z-index: 1;
  background: linear-gradient(115deg, transparent 40%, rgba(255, 231, 248, 0.48) 50%, transparent 60%);
  opacity: 0;
  pointer-events: none;
  transform: translateX(-62%) rotate(12deg);
  transition: opacity 260ms ease, transform 620ms ease;
}

.book-cover img {
  transition: transform 520ms ease;
}


@keyframes candytopia-book-float {
  0%,
  100% {
    translate: 0 0;
  }

  50% {
    translate: 0 -12px;
  }
}
/* Meet Kate is a distinct story chapter in the Candytopia visual world. */
.kate-section {
  position: relative;
  grid-template-columns: minmax(280px, 0.82fr) minmax(0, 1.18fr);
  gap: clamp(2rem, 5vw, 5.5rem);
  overflow: hidden;
  padding: clamp(1.25rem, 3vw, 2rem);
  border: 1px solid rgba(255, 143, 202, 0.32);
  border-radius: calc(var(--radius) + 8px);
  background:
    radial-gradient(circle at 8% 92%, rgba(21, 204, 204, 0.18), transparent 26rem),
    radial-gradient(circle at 92% 8%, rgba(255, 76, 157, 0.24), transparent 31rem),
    linear-gradient(135deg, #251131 0%, #4b153d 50%, #1d183a 100%);
  box-shadow: 0 28px 70px rgba(3, 1, 12, 0.42);
}

.kate-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255, 240, 250, 0.34) 1px, transparent 1px);
  background-size: 22px 22px;
  opacity: 0.15;
  pointer-events: none;
}

.kate-visual,
.kate-story {
  position: relative;
  z-index: 1;
}

.kate-visual {
  min-height: 550px;
}
.kate-visual::before,
.kate-visual::after {
  content: "";
  position: absolute;
  z-index: 2;
  width: 0.52rem;
  aspect-ratio: 1;
  border-radius: 50%;
  pointer-events: none;
}

.kate-visual::before {
  top: 26%;
  right: 8%;
  background: #bffaff;
  box-shadow: 0 0 0.85rem 0.22rem rgba(96, 236, 255, 0.85), 0 0 1.75rem 0.55rem rgba(58, 212, 255, 0.35);
}

.kate-visual::after {
  right: 20%;
  bottom: 30%;
  width: 0.36rem;
  background: #ffd0e9;
  box-shadow: 0 0 0.75rem 0.2rem rgba(255, 125, 194, 0.85), 0 0 1.45rem 0.45rem rgba(255, 91, 173, 0.34);
}

.kate-visual figure {
  position: relative;
}

.kate-visual figure::after {
  content: "";
  position: absolute;
  z-index: 1;
  inset: -35%;
  background: linear-gradient(112deg, transparent 42%, rgba(255, 229, 248, 0.34) 49%, transparent 56%);
  opacity: 0;
  pointer-events: none;
  transform: translateX(-55%) rotate(10deg);
}

@media (prefers-reduced-motion: no-preference) {
  .kate-visual img {
    animation: candytopia-glow 8s ease-in-out infinite;
  }

  .kate-visual figure::after {
    animation: candytopia-shimmer 8s ease-in-out 0.9s infinite;
  }

  .kate-visual::before {
    animation: candytopia-sparkle 4s ease-in-out infinite;
  }

  .kate-visual::after {
    animation: candytopia-sparkle 4.9s ease-in-out 1.2s infinite;
  }
}

.kate-visual figure {
  height: 100%;
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(255, 236, 250, 0.45);
  border-radius: 4px 76px 4px 76px;
  background: #311241;
  box-shadow: 20px 24px 0 rgba(255, 97, 171, 0.2), 0 28px 60px rgba(2, 0, 12, 0.46);
}

.kate-visual img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: saturate(1.08) contrast(1.03);
}

.kate-signature {
  position: absolute;
  right: -0.35rem;
  bottom: 1.1rem;
  margin: 0;
  color: #fff4fb;
  font-family: "Alex Brush", cursive;
  font-size: clamp(3.3rem, 6vw, 5.8rem);
  line-height: 0.72;
  text-shadow: 0 3px 14px rgba(54, 1, 37, 0.88);
  transform: rotate(-7deg);
}

.kate-signature span {
  display: block;
  margin: 0 0 -0.05rem 0.7rem;
  color: #ffb7dc;
  font-family: var(--body);
  font-size: 0.17em;
  font-weight: 900;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.kate-story {
  padding: clamp(0.75rem, 2vw, 1.5rem) clamp(0rem, 1vw, 0.75rem);
}

.kate-section .section-copy {
  max-width: 650px;
}

.kate-section .kicker {
  color: #ffafd8;
}

.kate-section .section-copy p:last-child {
  color: #f7ddeb;
  font-size: 1.08rem;
}

.kate-section .artifact-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
  margin: 2rem 0 0;
  padding: 0;
  list-style: none;
}

.kate-section .artifact-grid article {
  position: relative;
  isolation: isolate;
  min-height: 166px;
  padding: 1.1rem 1rem 1.2rem;
  overflow: hidden;
  border: 1px solid rgba(255, 178, 220, 0.66);
  border-radius: 4px 28px 4px 28px;
  background: linear-gradient(145deg, rgba(86, 33, 76, 0.85), rgba(34, 19, 52, 0.9));
  box-shadow: inset 0 1px 0 rgba(255, 241, 249, 0.28), 0 0 22px rgba(255, 75, 161, 0.2);
}

.kate-section .artifact-grid article::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: -42%;
  background: radial-gradient(circle, rgba(255, 101, 183, 0.42), transparent 58%);
  filter: blur(12px);
}

.kate-section .artifact-grid article::after {
  content: "";
  position: absolute;
  top: 0.7rem;
  right: 0.7rem;
  width: 0.5rem;
  aspect-ratio: 1;
  border-radius: 50%;
  background: #ffc6e3;
  box-shadow: 0 0 0.7rem 0.2rem rgba(255, 119, 190, 0.82), 0 0 1.5rem 0.45rem rgba(255, 90, 169, 0.38);
}

.kate-section .artifact-grid li:nth-child(2) article {
  border-color: rgba(142, 244, 255, 0.7);
  background: linear-gradient(145deg, rgba(41, 87, 101, 0.84), rgba(27, 29, 57, 0.92));
  box-shadow: inset 0 1px 0 rgba(237, 253, 255, 0.28), 0 0 22px rgba(66, 224, 255, 0.22);
}

.kate-section .artifact-grid li:nth-child(2) article::before {
  background: radial-gradient(circle, rgba(79, 233, 255, 0.38), transparent 58%);
}

.kate-section .artifact-grid li:nth-child(2) article::after {
  background: #b8fbff;
  box-shadow: 0 0 0.7rem 0.2rem rgba(95, 234, 255, 0.86), 0 0 1.5rem 0.45rem rgba(58, 212, 255, 0.4);
}

.kate-section .artifact-grid li:nth-child(3) article {
  border-color: rgba(247, 176, 255, 0.68);
  background: linear-gradient(145deg, rgba(105, 39, 82, 0.88), rgba(41, 26, 65, 0.94));
  box-shadow: inset 0 1px 0 rgba(255, 240, 255, 0.3), 0 0 22px rgba(218, 113, 255, 0.22);
}

.kate-section .artifact-grid li:nth-child(3) article::before {
  background: radial-gradient(circle, rgba(231, 124, 255, 0.42), transparent 58%);
}

.kate-section .artifact-grid li:nth-child(3) article::after {
  background: #fad0ff;
  box-shadow: 0 0 0.7rem 0.2rem rgba(233, 126, 255, 0.86), 0 0 1.5rem 0.45rem rgba(220, 98, 255, 0.4);
}

.kate-section .artifact-grid span {
  color: #ff8fc7;
  text-shadow: 0 0 0.8rem rgba(255, 112, 183, 0.78);
}

.kate-section .artifact-grid h3 {
  margin: 0.35rem 0 0.65rem;
  color: #fff7fc;
  font-size: 1.08rem;
}

.kate-section .artifact-grid p {
  margin: 0;
  color: #ead7e6;
  font-size: 0.9rem;
  line-height: 1.45;
}

@media (max-width: 980px) {
  .kate-visual {
    min-height: 500px;
  }
}

@media (max-width: 640px) {
  .kate-section {
    padding: 0.85rem;
  }

  .kate-visual {
    min-height: 410px;
  }

  .kate-visual figure {
    border-radius: 4px 52px 4px 52px;
  }

  .kate-signature {
    right: 0.2rem;
    bottom: 1.2rem;
  }

  .kate-section .artifact-grid {
    grid-template-columns: 1fr;
  }

  .kate-section .artifact-grid article {
    min-height: auto;
  }
}
@media (prefers-reduced-motion: no-preference) {
  .book-cover {
    animation: candytopia-book-float 5.5s ease-in-out infinite;
    will-change: translate;
  }
  .book-cover:hover {
    transform: translateY(-10px) rotate(-1deg);
    box-shadow: 0 34px 90px rgba(255, 79, 154, 0.28), 0 18px 46px rgba(5, 1, 13, 0.5);
  }

  .book-cover:hover::after {
    opacity: 1;
    transform: translateX(62%) rotate(12deg);
  }

  .book-cover:hover img {
    transform: scale(1.035);
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 1ms !important;
    animation-duration: 1ms !important;
  }
}

@media (max-width: 980px) {
  .nav-toggle {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    min-height: 44px;
    padding: 0.6rem 0.8rem;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.1);
    color: var(--text);
    font-family: "Alex Brush", cursive;
    font-size: 1.25rem;
    font-weight: 400;
    line-height: 1;
  }

  .nav-toggle span {
    display: block;
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: currentColor;
  }

  .site-nav {
    position: fixed;
    inset: 76px 1rem auto;
    display: none;
    padding: 1rem;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: rgba(19, 9, 29, 0.96);
    box-shadow: var(--shadow);
  }

  .site-nav.is-open {
    display: grid;
    gap: 0.5rem;
  }

  .site-nav a {
    padding: 0.85rem;
  font-size: 1.6rem;
    line-height: 1;
  }

  .book-feature,
  .kate-section,
  .world-section,
  .adventure-section,
  .author-section,
  .final-cta,
  .shop-item {
    grid-template-columns: 1fr;
  }
  .author-section {
    padding: 1rem;
  }
  .testimonials-intro {
    grid-template-columns: 1fr;
    gap: 0.5rem;
  }

  .testimonials .quote-grid figure,
  .testimonials .quote-grid .quote-featured {
    grid-column: span 3;
  }
.testimonials .quote-grid figure:nth-of-type(5),
.testimonials .quote-grid figure:nth-of-type(6) {
  grid-column: span 3;
}

  .testimonial-cta {
    grid-template-columns: auto minmax(0, 1fr);
  }

  .testimonial-cta .button {
    grid-column: 1 / -1;
    justify-self: start;
  }

  .quote-grid,
  .gallery-grid,
  .blog-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .shop-item .button {
    width: 100%;
  }
}

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

  .brand small {
    display: none;
  }

  .hero {
    min-height: 92dvh;
    padding: 6rem 1rem 3rem;
  }

  h1 {
    max-width: 10ch;
    font-size: clamp(4.25rem, 19vw, 5.65rem);
    line-height: 1.04;
  }

  .book-cover {
    min-height: 0;
  }
  .brand-logo {
    width: 42px;
    height: 42px;
  }

  .author-media {
    min-height: 440px;
  }

  .author-main-photo {
    inset: 0 3rem 0 0;
  }

  .author-piano-photo {
    bottom: 1rem;
    width: 43%;
  }

  .author-copy {
    padding: 0.65rem 0.25rem 0.25rem;
  }

  .author-section h2 {
    font-size: clamp(3.7rem, 19vw, 5.45rem);
  }
  .testimonials {
    padding: 1.5rem 1rem;
  }

  .testimonials .quote-grid figure,
  .testimonials .quote-grid .quote-featured {
    grid-column: span 6;
    min-height: auto;
  }
.testimonials .quote-grid figure:nth-of-type(5),
.testimonials .quote-grid figure:nth-of-type(6) {
  grid-column: span 3;
}

  .testimonials h2 {
    font-size: clamp(3.6rem, 18vw, 5.2rem);
  }

  .testimonial-cta {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }

  .testimonial-cta .button {
    grid-column: auto;
    width: 100%;
  }

  .book-meta,
  .shop-meta,
  .quote-grid,
  .gallery-grid,
  .blog-grid {
    grid-template-columns: 1fr;
  }

  .world-map {
    min-height: 360px;
  }

  .gallery-grid figure {
    min-height: 230px;
  }

  .site-footer {
    display: block;
  }
}

/* A compact collector-edition style listing for direct retailer purchases. */
.shop-item {
  grid-template-columns: 94px minmax(0, 1fr) auto;
  gap: clamp(1rem, 2.5vw, 2rem);
  min-height: 154px;
  padding: 0.9rem;
  border-color: rgba(255, 166, 213, 0.36);
  border-radius: 8px;
  background: linear-gradient(100deg, rgba(73, 33, 75, 0.94), rgba(37, 27, 55, 0.94));
  box-shadow: 0 18px 46px rgba(3, 1, 14, 0.34);
}

.mini-cover {
  min-height: 134px;
  padding: 0;
  overflow: hidden;
  border: 1px solid rgba(255, 221, 241, 0.38);
  border-radius: 5px;
  background-image:
    linear-gradient(180deg, rgba(58, 7, 61, 0.05), rgba(23, 0, 32, 0.2)),
    url("candytopia-book-wrap.webp");
  background-position: right center;
  background-size: cover;
  box-shadow: 0 10px 26px rgba(6, 0, 12, 0.38);
}

.mini-cover strong {
  display: none;
}

.shop-item h3 {
  margin: 0;
  color: #fff8fc;
  font-size: clamp(1.2rem, 2vw, 1.48rem);
}

.shop-item > div:nth-child(2) > p {
  margin: 0.45rem 0 0;
  color: #e9d8e9;
  font-size: 0.96rem;
  line-height: 1.45;
}

.shop-item .shop-meta {
  grid-template-columns: repeat(3, minmax(0, max-content));
  gap: 0.65rem 1.55rem;
  margin: 0.85rem 0 0;
}

.shop-item .shop-meta dt {
  color: #9cf9ff;
  font-size: 0.65rem;
}

.shop-item .shop-meta dd {
  color: #fff3fa;
  font-size: 0.84rem;
}

.retailer-links {
  gap: 0.6rem;
  min-width: 205px;
}

.retailer-links .button {
  position: relative;
  min-height: 42px;
  overflow: hidden;
  padding: 0.65rem 1rem;
  border: 1px solid rgba(255, 240, 249, 0.32);
  border-radius: 999px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.42), 0 8px 20px rgba(8, 1, 22, 0.28);
  font-size: 0.85rem;
  isolation: isolate;
}

.retailer-links .button::after {
  content: "";
  position: absolute;
  z-index: -1;
  top: 3px;
  right: 16%;
  left: 16%;
  height: 34%;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.26);
  pointer-events: none;
}

.retailer-links .direct {
  border-color: #d8ffff;
  background: #f7fffb;
  color: #075f6d;
}

.retailer-links .primary {
  border-color: #ff9acb;
  background: #ed3e93;
  color: #260016;
}

.retailer-links .secondary {
  border-color: #91f4fb;
  background: #1f9dac;
  color: #f4ffff;
}

.retailer-links .walmart {
  border-color: #8fd8ff;
  background: #0071ce;
  color: #ffffff;
}

.retailer-links .button:hover {
  transform: translateY(-3px) rotate(-1deg);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.5), 0 13px 26px rgba(8, 1, 22, 0.38);
}

@media (max-width: 980px) {
  .shop-item {
    grid-template-columns: 88px minmax(0, 1fr);
  }

  .mini-cover {
    min-height: 128px;
  }

  .retailer-links {
    grid-column: 1 / -1;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    min-width: 0;
  }
}

@media (max-width: 640px) {
  .shop-item {
    grid-template-columns: 1fr;
  }

  .mini-cover {
    width: 92px;
    min-height: 128px;
  }

  .shop-item .shop-meta {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .retailer-links {
    grid-template-columns: 1fr;
  }
}
/* Gallery frames turn real event photography into a curated Candytopia keepsake wall. */
.gallery-section {
  position: relative;
}

.gallery-section .section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 2rem;
}

.gallery-section .section-heading::after {
  content: "Events";
  color: #ff9bcf;
  font-family: "Alex Brush", cursive;
  font-size: clamp(2.4rem, 5vw, 4.6rem);
  line-height: 0.8;
  text-shadow: 0 0 1rem rgba(255, 91, 173, 0.34);
}

.gallery-grid {
  grid-template-columns: repeat(12, minmax(0, 1fr));
  grid-auto-flow: dense;
  gap: clamp(0.9rem, 2vw, 1.4rem);
}

.gallery-grid figure {
  grid-column: span 3;
  min-height: 0;
  margin: 0;
  overflow: visible;
  padding: 0.5rem 0.5rem 0.75rem;
  border: 1px solid rgba(255, 209, 235, 0.38);
  border-radius: 4px 24px 4px 24px;
  background: linear-gradient(150deg, rgba(100, 37, 85, 0.9), rgba(33, 22, 54, 0.94));
  box-shadow: 0 16px 32px rgba(4, 0, 15, 0.32);
  transform: rotate(-1.2deg);
  transition: transform 220ms ease, border-color 220ms ease, box-shadow 220ms ease;
}

.gallery-grid figure:nth-child(3n) {
  transform: rotate(1.1deg);
}

.gallery-grid figure:nth-child(4n) {
  transform: rotate(-0.45deg);
}

.gallery-grid figure.gallery-featured {
  grid-column: span 6;
  padding: 0.65rem 0.65rem 0.9rem;
  border-color: rgba(119, 247, 255, 0.5);
  background: linear-gradient(145deg, rgba(45, 105, 113, 0.76), rgba(90, 30, 83, 0.94));
  box-shadow: 0 20px 45px rgba(4, 0, 15, 0.42), -10px 10px 0 rgba(255, 101, 182, 0.14);
  transform: rotate(-0.6deg);
}

.gallery-grid figure:hover {
  z-index: 2;
  border-color: #ffb4dc;
  box-shadow: 0 23px 42px rgba(4, 0, 15, 0.44), 0 0 28px rgba(255, 95, 180, 0.18);
  transform: translateY(-7px) rotate(0deg);
}

.gallery-photo-frame {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 5;
  border: 1px solid rgba(255, 248, 252, 0.5);
  border-radius: 2px 18px 2px 18px;
  background: #170d24;
}

.gallery-featured .gallery-photo-frame {
  aspect-ratio: 5 / 4;
  border-radius: 2px 30px 2px 30px;
}

.gallery-photo-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255, 118, 190, 0.08), transparent 45%, rgba(77, 238, 249, 0.12));
  pointer-events: none;
}

.gallery-photo-frame img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 500ms ease, filter 500ms ease;
}

.gallery-grid figure:hover .gallery-photo-frame img {
  filter: saturate(1.08) contrast(1.03);
  transform: scale(1.045);
}

.gallery-grid figcaption {
  display: grid;
  gap: 0.18rem;
  margin: 0;
  padding: 0.7rem 0.25rem 0;
  color: #fff6fb;
  font-size: 0.86rem;
  font-weight: 800;
  line-height: 1.25;
}

.gallery-grid figcaption span {
  color: #8cf8ff;
  font-size: 0.64rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

@media (max-width: 980px) {
  .gallery-grid {
    grid-template-columns: repeat(6, minmax(0, 1fr));
  }

  .gallery-grid figure,
  .gallery-grid figure.gallery-featured {
    grid-column: span 3;
  }

  .gallery-grid figure.gallery-featured {
    grid-column: span 6;
  }
}

@media (max-width: 640px) {
  .gallery-section .section-heading {
    display: block;
  }

  .gallery-section .section-heading::after {
    display: block;
    margin-top: 0.9rem;
  }

  .gallery-grid,
  .gallery-grid figure,
  .gallery-grid figure.gallery-featured {
    grid-template-columns: 1fr;
    grid-column: span 1;
  }

  .gallery-featured .gallery-photo-frame {
    aspect-ratio: 4 / 5;
  }
}
/* A compact candy-cloud rail keeps the real event moments polished and easy to browse. */
.shop-section .section-heading h2 {
  color: #ff9dce;
  font-family: "Alex Brush", cursive;
  font-size: clamp(3.5rem, 6vw, 6.2rem);
  font-weight: 400;
  line-height: 0.78;
  text-shadow: 0 0 1rem rgba(255, 79, 167, 0.28);
}

.gallery-slider {
  position: relative;
  overflow: hidden;
  margin-top: clamp(1.5rem, 3vw, 2.5rem);
  padding: clamp(1rem, 2.4vw, 1.65rem);
  border: 1px solid rgba(255, 181, 220, 0.4);
  border-radius: 34px 10px 34px 10px;
  background:
    repeating-linear-gradient(135deg, rgba(255, 160, 209, 0.06) 0 13px, transparent 13px 26px),
    linear-gradient(135deg, rgba(105, 32, 83, 0.86), rgba(28, 47, 74, 0.9) 55%, rgba(118, 29, 87, 0.85));
  box-shadow: 0 22px 44px rgba(4, 0, 15, 0.34), inset 0 1px 0 rgba(255, 255, 255, 0.16);
}

.gallery-slider::before,
.gallery-slider::after {
  content: "";
  position: absolute;
  z-index: 0;
  width: 180px;
  aspect-ratio: 1;
  border: 1px solid rgba(255, 208, 235, 0.16);
  border-radius: 45% 55% 52% 48%;
  pointer-events: none;
}

.gallery-slider::before {
  top: -112px;
  right: 10%;
  background: rgba(255, 118, 190, 0.13);
}

.gallery-slider::after {
  bottom: -124px;
  left: 15%;
  background: rgba(74, 233, 243, 0.1);
}

.gallery-viewport {
  position: relative;
  z-index: 1;
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  scrollbar-width: none;
  scroll-snap-type: x mandatory;
}

.gallery-viewport::-webkit-scrollbar {
  display: none;
}

.gallery-track {
  display: flex;
  gap: clamp(0.75rem, 1.8vw, 1.15rem);
}

.gallery-track figure {
  flex: 0 0 calc((100% - 2.3rem) / 3);
  min-width: 0;
  margin: 0;
  padding: 0.38rem 0.38rem 0.62rem;
  border: 1px solid rgba(255, 232, 246, 0.4);
  border-radius: 24px 7px 24px 7px;
  background: rgba(29, 12, 48, 0.66);
  box-shadow: 0 12px 24px rgba(12, 1, 28, 0.28);
  scroll-snap-align: start;
}

.gallery-track figure:nth-child(3n + 2) {
  border-color: rgba(104, 240, 247, 0.55);
  background: rgba(16, 67, 80, 0.62);
}

.gallery-track .gallery-photo-frame,
.gallery-track .gallery-featured .gallery-photo-frame {
  aspect-ratio: 5 / 6;
  border-radius: 18px 4px 18px 4px;
}

.gallery-track figcaption {
  display: grid;
  gap: 0.14rem;
  margin: 0;
  padding: 0.65rem 0.28rem 0;
  color: #fff8fc;
  font-size: 0.78rem;
  font-weight: 800;
  line-height: 1.25;
}

.gallery-track figcaption span {
  color: #9cf9ff;
  font-size: 0.58rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.gallery-slider-footer {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 1rem;
  padding: 0 0.15rem;
}

.gallery-slider-footer p {
  margin: 0;
  color: rgba(255, 240, 248, 0.84);
  font-size: 0.75rem;
  font-weight: 700;
}

.gallery-controls {
  display: flex;
  gap: 0.5rem;
}

.gallery-nav {
  display: grid;
  width: 2.55rem;
  aspect-ratio: 1;
  place-items: center;
  padding: 0;
  border: 1px solid rgba(255, 228, 244, 0.48);
  border-radius: 50%;
  background: #ed3e93;
  box-shadow: inset 0 2px 0 rgba(255, 255, 255, 0.42), 0 6px 13px rgba(13, 0, 28, 0.26);
  color: #270016;
  cursor: pointer;
  font-size: 1.25rem;
  font-weight: 900;
  line-height: 1;
  transition: transform 180ms ease, filter 180ms ease, opacity 180ms ease;
}

.gallery-nav + .gallery-nav {
  background: #20a5b5;
  color: #f4ffff;
}

.gallery-nav:hover:not(:disabled) {
  filter: brightness(1.08);
  transform: translateY(-2px) rotate(-4deg);
}

.gallery-nav:disabled {
  cursor: not-allowed;
  opacity: 0.36;
}

@media (max-width: 980px) {
  .gallery-track figure {
    flex-basis: calc((100% - 1.15rem) / 2);
  }
}

@media (max-width: 640px) {
  .shop-section .section-heading h2 {
    font-size: clamp(3rem, 17vw, 4.4rem);
  }

  .gallery-slider {
    padding: 0.8rem;
    border-radius: 25px 8px 25px 8px;
  }

  .gallery-track figure {
    flex-basis: 74%;
  }

  .gallery-slider-footer {
    margin-top: 0.8rem;
  }
}
/* Keep the story headings cinematic without overpowering their artwork and details. */
#book-title,
#kate-title,
#world-title,
#adventure-title {
  font-size: clamp(2.25rem, 3.15vw, 3.35rem);
  line-height: 1.02;
}

#testimonials-title {
  font-size: clamp(3rem, 4.8vw, 4.7rem);
  line-height: 0.84;
}

@media (max-width: 640px) {
  #book-title,
  #kate-title,
  #world-title,
  #adventure-title {
    font-size: clamp(2.15rem, 10vw, 2.8rem);
  }

  #testimonials-title {
    font-size: clamp(2.7rem, 14vw, 3.75rem);
  }
}
/* A warm reader moment completes the final invitation without losing Candytopia's glow. */
.final-cta {
  grid-template-columns: minmax(0, 0.9fr) minmax(280px, 0.76fr);
  align-items: center;
  gap: clamp(1.5rem, 4vw, 4rem);
}

.cta-copy .cta-actions {
  justify-content: flex-start;
}

.cta-reader-photo {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  margin: 0;
  padding: 0.38rem;
  border: 1px solid rgba(255, 210, 237, 0.55);
  border-radius: 28px 7px 28px 7px;
  background: linear-gradient(135deg, #ff70b3, #2ec7d0 92%);
  box-shadow: 0 18px 36px rgba(7, 0, 21, 0.38), 0 0 26px rgba(255, 92, 174, 0.16);
}

.cta-reader-photo::after {
  content: "";
  position: absolute;
  z-index: 1;
  inset: 0.38rem;
  border-radius: 22px 3px 22px 3px;
  background: linear-gradient(135deg, rgba(255, 76, 166, 0.18), transparent 48%, rgba(38, 221, 231, 0.18));
  pointer-events: none;
}

.cta-reader-photo img {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: 22px 3px 22px 3px;
  object-fit: cover;
  object-position: center;
}

.cta-reader-photo figcaption {
  position: absolute;
  z-index: 2;
  right: 0.9rem;
  bottom: 0.85rem;
  left: 0.9rem;
  margin: 0;
  padding: 0.55rem 0.7rem;
  border: 1px solid rgba(255, 237, 248, 0.34);
  border-radius: 12px 3px 12px 3px;
  background: rgba(32, 8, 46, 0.72);
  color: #fff8fc;
  font-family: "Alex Brush", cursive;
  font-size: clamp(1.35rem, 2.4vw, 2rem);
  line-height: 0.9;
  text-align: center;
}

@media (max-width: 980px) {
  .final-cta {
    grid-template-columns: 1fr;
  }

  .cta-reader-photo {
    width: min(100%, 42rem);
  }
}
/* A shared sweep of light ties every story image into the Candytopia world. */
@keyframes candytopia-photo-sheen {
  0%, 46% {
    opacity: 0;
    background-position: 0 0, 135% 0;
  }
  54% {
    opacity: 0.72;
  }
  69%, 100% {
    opacity: 0;
    background-position: 0 0, -135% 0;
  }
}

.hero-image {
  z-index: 0;
}

.hero-scrim {
  z-index: 1;
}

.hero-content {
  z-index: 3;
}

.hero::before,
.book-cover::before,
.author-main-photo::after,
.author-piano-photo::after {
  content: "";
  position: absolute;
  z-index: 2;
  inset: -35%;
  background: linear-gradient(112deg, transparent 42%, rgba(255, 239, 250, 0.52) 49%, transparent 56%);
  background-size: 220% 100%;
  background-position: 135% 0;
  opacity: 0;
  pointer-events: none;
}

.hero::before {
  z-index: 2;
  inset: -45%;
}

.book-cover::before {
  z-index: 1;
}

.author-main-photo::after,
.author-piano-photo::after {
  z-index: 1;
}

.gallery-photo-frame::after,
.cta-reader-photo::after {
  background:
    linear-gradient(135deg, rgba(255, 118, 190, 0.1), transparent 45%, rgba(77, 238, 249, 0.14)),
    linear-gradient(112deg, transparent 42%, rgba(255, 239, 250, 0.52) 49%, transparent 56%);
  background-size: 100% 100%, 220% 100%;
  background-position: 0 0, 135% 0;
  opacity: 0;
}

@media (prefers-reduced-motion: no-preference) {
  .hero::before,
  .book-cover::before,
  .author-main-photo::after,
  .author-piano-photo::after,
  .gallery-photo-frame::after,
  .cta-reader-photo::after {
    animation: candytopia-photo-sheen 10s ease-in-out infinite;
  }

  .gallery-track figure:nth-child(3n + 2) .gallery-photo-frame::after {
    animation-delay: 1.8s;
  }

  .gallery-track figure:nth-child(3n) .gallery-photo-frame::after {
    animation-delay: 3.6s;
  }
}
/* The gallery title reads as one left-aligned event masthead. */
.gallery-section .section-heading {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: end;
  justify-content: start;
  gap: 0.35rem 1.2rem;
}

.gallery-section .section-heading .kicker {
  grid-column: 1 / -1;
  margin-bottom: 0;
}

.gallery-section .section-heading::after {
  grid-row: 2;
  grid-column: 1;
  align-self: center;
  margin: 0;
  color: #ff9bcf;
  font-family: "Alex Brush", cursive;
  font-size: clamp(2.5rem, 4.6vw, 4.35rem);
  line-height: 0.75;
  text-shadow: 0 0 1rem rgba(255, 91, 173, 0.34);
}

.gallery-section #gallery-title {
  grid-row: 2;
  grid-column: 2;
  max-width: none;
  margin: 0;
  font-size: clamp(2.2rem, 3.45vw, 3.55rem);
  line-height: 0.96;
  white-space: nowrap;
}

@media (max-width: 980px) {
  .gallery-section .section-heading {
    display: block;
  }

  .gallery-section .section-heading::after {
    display: inline-block;
    margin: 0.85rem 0 0.4rem;
  }

  .gallery-section #gallery-title {
    display: block;
    white-space: normal;
  }
}
.gallery-section #gallery-title {
  font-size: clamp(1.9rem, 2.7vw, 2.8rem);
}
/* A reader guide layout gives the FAQs their own quiet, story-led presence. */
.faq-section {
  display: grid;
  grid-template-columns: minmax(220px, 0.62fr) minmax(0, 1.18fr);
  align-items: start;
  gap: clamp(2rem, 6vw, 6.5rem);
  width: min(1180px, calc(100% - 2rem));
}

.faq-intro {
  position: sticky;
  top: 7.5rem;
  margin: 0;
}

.faq-intro h2 {
  max-width: 11ch;
  color: #fff6fc;
  font-size: clamp(2.45rem, 3.55vw, 3.7rem);
  line-height: 0.98;
}

.faq-intro > p:not(.kicker) {
  max-width: 30ch;
  margin: 1rem 0 0;
  color: rgba(235, 221, 239, 0.82);
}

.faq-list {
  counter-reset: faq;
  gap: 0.75rem;
}

.faq-list details {
  position: relative;
  overflow: hidden;
  padding: 0;
  border-color: rgba(255, 200, 233, 0.24);
  border-radius: 18px 5px 18px 5px;
  background: linear-gradient(135deg, rgba(61, 28, 69, 0.84), rgba(27, 21, 49, 0.92));
  transition: border-color 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

.faq-list details[open] {
  border-color: rgba(255, 143, 202, 0.62);
  background: linear-gradient(135deg, rgba(112, 37, 88, 0.76), rgba(20, 67, 82, 0.82));
  box-shadow: 0 12px 28px rgba(7, 0, 20, 0.27), inset 3px 0 0 #ff68b1;
}

.faq-list summary {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 0.8rem;
  min-height: 4rem;
  padding: 0.9rem 1rem;
  cursor: pointer;
  color: #fff9fd;
  font-weight: 800;
  line-height: 1.35;
  list-style: none;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary::before {
  content: "0" counter(faq);
  counter-increment: faq;
  color: #ff9ccd;
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.08em;
}

.faq-list summary::after {
  content: "+";
  display: grid;
  width: 1.65rem;
  aspect-ratio: 1;
  place-items: center;
  border: 1px solid rgba(255, 217, 239, 0.36);
  border-radius: 50%;
  color: #a9fbff;
  font-size: 1.15rem;
  font-weight: 500;
  line-height: 1;
}

.faq-list details[open] summary::after {
  content: "-";
  border-color: rgba(255, 157, 207, 0.72);
  background: #ec3e94;
  color: #250015;
}

.faq-list summary em {
  color: #ffb2d7;
  font-family: "Alex Brush", cursive;
  font-size: 1.25em;
  font-style: normal;
  font-weight: 400;
}

.faq-list details p {
  max-width: 64ch;
  margin: 0;
  padding: 0 3.45rem 1.15rem 3.35rem;
  color: rgba(255, 244, 250, 0.86);
  font-size: 0.94rem;
  line-height: 1.65;
}

.faq-list details p em {
  color: #ffb2d7;
}

@media (max-width: 980px) {
  .faq-section {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .faq-intro {
    position: static;
  }

  .faq-intro h2,
  .faq-intro > p:not(.kicker) {
    max-width: 42rem;
  }
}

@media (max-width: 640px) {
  .faq-list summary {
    grid-template-columns: auto minmax(0, 1fr);
  }

  .faq-list summary::after {
    grid-column: 2;
    justify-self: end;
  }

  .faq-list details p {
    padding: 0 1rem 1rem;
  }
}
/* A clean, full-width FAQ treatment keeps reader questions immediately scannable. */
.faq-section {
  display: block;
  width: min(1180px, calc(100% - 2rem));
}

.faq-intro {
  position: static;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(18rem, 0.9fr);
  align-items: end;
  column-gap: 2rem;
  margin: 0 0 1.65rem;
}

.faq-intro .kicker {
  grid-column: 1 / -1;
  margin-bottom: 0.65rem;
}

.faq-intro h2 {
  max-width: none;
  color: #fff8fc;
  font-size: clamp(2.2rem, 3.2vw, 3.3rem);
  line-height: 1;
}

.faq-intro > p:not(.kicker) {
  max-width: 52ch;
  margin: 0;
  color: rgba(235, 221, 239, 0.78);
}

.faq-list {
  gap: 0.65rem;
}

.faq-list details {
  border-color: rgba(255, 221, 241, 0.2);
  border-radius: 12px 4px 12px 4px;
  background: rgba(39, 25, 53, 0.78);
  box-shadow: none;
}

.faq-list details[open] {
  border-color: rgba(255, 147, 204, 0.48);
  background: rgba(67, 34, 72, 0.86);
  box-shadow: inset 3px 0 0 #ee519e;
}

.faq-list summary {
  grid-template-columns: 2.7rem minmax(0, 1fr) auto;
  min-height: 3.85rem;
  padding: 0.85rem 1.15rem;
  font-size: 0.96rem;
  white-space: nowrap;
}

.faq-list summary em {
  color: inherit;
  font-family: inherit;
  font-size: inherit;
  font-style: italic;
  font-weight: inherit;
}

.faq-list details p {
  max-width: 82ch;
  padding: 0 3.9rem 1.05rem;
  color: rgba(255, 245, 250, 0.8);
}

@media (max-width: 980px) {
  .faq-intro {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }

  .faq-intro > p:not(.kicker) {
    max-width: 58ch;
  }

  .faq-list summary {
    white-space: normal;
  }
}

@media (max-width: 640px) {
  .faq-list summary {
    grid-template-columns: 2.25rem minmax(0, 1fr) auto;
    padding: 0.8rem 0.9rem;
  }

  .faq-list details p {
    padding: 0 1rem 1rem;
  }
}
/* A small social invitation gives readers a direct path to Abigail's journey. */
.author-instagram {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  margin-top: 1.25rem;
  padding: 0.58rem 0.82rem;
  border: 1px solid rgba(207, 246, 227, 0.48);
  border-radius: 999px;
  background: rgba(199, 245, 223, 0.08);
  color: #e6fff2;
  font-size: 0.82rem;
  font-weight: 800;
  line-height: 1.2;
  text-decoration: none;
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease;
}

.author-instagram svg {
  width: 1.1rem;
  height: 1.1rem;
  flex: 0 0 auto;
  fill: none;
  stroke: #ff9ed0;
  stroke-width: 1.8;
}

.author-instagram:hover,
.author-instagram:focus-visible {
  border-color: #ffaad4;
  background: rgba(255, 116, 187, 0.18);
  color: #ffffff;
  transform: translateY(-2px);
}
/* Dedicated panel spacing keeps the framed story moments from crowding each other. */
.author-section {
  margin-bottom: clamp(2rem, 4vw, 4.5rem);
}

.testimonials {
  margin-top: 0;
  margin-bottom: clamp(2rem, 4vw, 4.5rem);
}

/* A candy-world reading journey replaces the internal story-outline layout. */
.adventure-section {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(250px, 0.76fr) minmax(0, 1.24fr);
  align-items: stretch;
  gap: clamp(1.75rem, 4vw, 4rem);
  margin: clamp(2.5rem, 5vw, 5.25rem) auto;
  padding: clamp(1.5rem, 4vw, 3.25rem);
  border: 1px solid rgba(255, 163, 210, 0.34);
  border-radius: 36px 9px 36px 9px;
  background:
    repeating-linear-gradient(135deg, rgba(255, 190, 224, 0.055) 0 13px, transparent 13px 26px),
    linear-gradient(132deg, rgba(81, 22, 69, 0.9), rgba(16, 45, 73, 0.92) 58%, rgba(83, 20, 67, 0.9));
  box-shadow: 0 24px 56px rgba(7, 0, 19, 0.32), inset 0 1px 0 rgba(255, 255, 255, 0.14);
}

.adventure-section::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  background: linear-gradient(110deg, transparent 30%, rgba(255, 71, 161, 0.14) 51%, transparent 68%);
  opacity: 0.72;
  pointer-events: none;
}

.adventure-intro {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  min-width: 0;
  padding: clamp(0.35rem, 1vw, 0.85rem);
}

.adventure-intro .kicker {
  color: #aefaff;
}

.adventure-script {
  margin: 0.05rem 0 0.25rem;
  color: #ff9dce;
  font-family: "Alex Brush", cursive;
  font-size: clamp(2.5rem, 5.5vw, 5.1rem);
  line-height: 0.78;
  text-shadow: 0 0 1rem rgba(255, 84, 174, 0.34);
}

.adventure-section #adventure-title {
  max-width: 11ch;
  color: #fff8fc;
  font-size: clamp(2.3rem, 3.4vw, 3.65rem);
  line-height: 0.98;
}

.adventure-lede {
  max-width: 36ch;
  margin: 1rem 0 0;
  color: rgba(255, 241, 249, 0.84);
  font-size: 1.02rem;
}

.adventure-intro .button {
  margin-top: 1.45rem;
}

.adventure-list {
  display: grid;
  gap: 0.78rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.adventure-list article {
  display: grid;
  grid-template-columns: 3.35rem minmax(0, 1fr);
  gap: 1rem;
  min-height: 0;
  padding: clamp(1rem, 2vw, 1.3rem);
  border: 1px solid rgba(255, 220, 240, 0.26);
  border-radius: 20px 5px 20px 5px;
  background: rgba(28, 12, 43, 0.58);
  box-shadow: none;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.adventure-list article:hover {
  border-color: rgba(255, 156, 208, 0.66);
  background: rgba(69, 29, 74, 0.66);
  transform: translateX(5px);
}

.candy-icon {
  display: grid;
  width: 3.2rem;
  aspect-ratio: 1;
  place-items: center;
  border: 1px solid rgba(255, 232, 245, 0.5);
  border-radius: 50%;
  box-shadow: inset 0 2px 0 rgba(255, 255, 255, 0.38), 0 8px 18px rgba(6, 0, 19, 0.22);
}

.candy-icon svg {
  width: 1.6rem;
  height: 1.6rem;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.7;
}

.candy-icon-pink {
  background: #ed499d;
  color: #fff4fb;
}

.candy-icon-cyan {
  background: #249eaf;
  color: #efffff;
}

.candy-icon-lilac {
  background: #8a4a9a;
  color: #fff6ff;
}

.journey-number {
  display: block;
  margin-bottom: 0.24rem;
  color: #ff9dce;
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.12em;
}

.adventure-list h3 {
  color: #fff9fd;
  font-size: clamp(1.1rem, 1.6vw, 1.35rem);
}

.adventure-list p {
  margin: 0.4rem 0 0;
  color: rgba(255, 241, 249, 0.78);
  line-height: 1.55;
}

@media (max-width: 980px) {
  .adventure-section {
    grid-template-columns: 1fr;
    margin: clamp(2rem, 5vw, 3.5rem) auto;
  }

  .adventure-section #adventure-title,
  .adventure-lede {
    max-width: 48rem;
  }
}

@media (max-width: 640px) {
  .adventure-section {
    padding: 1rem;
    border-radius: 25px 6px 25px 6px;
  }

  .adventure-script {
    font-size: clamp(2.5rem, 15vw, 3.9rem);
  }

  .adventure-list article {
    grid-template-columns: 2.8rem minmax(0, 1fr);
    gap: 0.8rem;
  }

  .candy-icon {
    width: 2.65rem;
  }
}
/* Keep inline book titles inside their question, while the control stays at the far edge. */
.faq-list summary {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.faq-list summary::before {
  flex: 0 0 2.7rem;
}

.faq-list summary::after {
  flex: 0 0 auto;
  margin-left: auto;
}

@media (max-width: 640px) {
  .faq-list summary::before {
    flex-basis: 2.25rem;
  }
}
/* The updated publisher mark appears as a crisp circular seal in Abigail's panel. */
.author-logo {
  aspect-ratio: 1;
  padding: 0.2rem;
  border: 1px solid rgba(222, 255, 246, 0.72);
  border-radius: 50%;
  background: #f8fffb;
  box-shadow: 0 12px 22px rgba(0, 16, 18, 0.34);
  object-fit: cover;
}
/* Abigail's two portraits share one full-size, distraction-free image stage. */
.author-media {
  min-height: 530px;
}

.author-slider-viewport {
  position: relative;
  height: 100%;
  min-height: 530px;
  overflow: hidden;
  border: 1px solid rgba(225, 255, 246, 0.35);
  border-radius: 5px 42px 5px 42px;
  background: #0a3b3d;
  box-shadow: 0 18px 42px rgba(0, 17, 19, 0.4);
}

.author-slide,
.author-main-photo.author-slide,
.author-piano-photo.author-slide {
  position: absolute;
  inset: 0;
  width: auto;
  height: auto;
  aspect-ratio: auto;
  margin: 0;
  overflow: hidden;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  opacity: 0;
  pointer-events: none;
  transform: scale(1.04);
  transition: opacity 560ms ease, transform 900ms ease;
}

.author-slide.is-active {
  z-index: 1;
  opacity: 1;
  pointer-events: auto;
  transform: scale(1);
}

.author-slide img,
.author-main-photo.author-slide img,
.author-piano-photo.author-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.author-main-photo.author-slide img {
  object-position: 50% 33%;
}

.author-piano-photo.author-slide img {
  object-position: 52% 52%;
}

.author-slider-dots {
  position: absolute;
  z-index: 3;
  bottom: 1rem;
  left: 1rem;
  display: flex;
  gap: 0.45rem;
  padding: 0.45rem 0.55rem;
  border: 1px solid rgba(231, 255, 247, 0.34);
  border-radius: 999px;
  background: rgba(3, 39, 41, 0.66);
  backdrop-filter: blur(8px);
}

.author-slider-dots button {
  width: 0.62rem;
  aspect-ratio: 1;
  padding: 0;
  border: 1px solid rgba(229, 255, 247, 0.72);
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
  transition: width 180ms ease, background 180ms ease, border-color 180ms ease;
}

.author-slider-dots button.is-active {
  width: 1.65rem;
  border-color: #ffadd3;
  background: #ff76b8;
}

@media (max-width: 980px) {
  .author-media,
  .author-slider-viewport {
    min-height: 440px;
  }
}

@media (max-width: 640px) {
  .author-media,
  .author-slider-viewport {
    min-height: 410px;
  }

  .author-slider-viewport {
    border-radius: 4px 32px 4px 32px;
  }
}
/* Clear photo arrows echo the pink-and-blue publisher seal. */
.author-slider-controls {
  position: absolute;
  z-index: 3;
  bottom: 1rem;
  left: 1rem;
  display: flex;
  gap: 0.55rem;
}

.author-slider-arrow {
  display: grid;
  width: 2.35rem;
  aspect-ratio: 1;
  place-items: center;
  padding: 0;
  border: 1px solid rgba(255, 235, 247, 0.7);
  border-radius: 50%;
  box-shadow: inset 0 2px 0 rgba(255, 255, 255, 0.4), 0 7px 15px rgba(2, 19, 22, 0.3);
  cursor: pointer;
  font-size: 1.25rem;
  font-weight: 900;
  line-height: 1;
  transition: transform 160ms ease, filter 160ms ease;
}

.author-slider-previous {
  background: #ed4b9f;
  color: #fff7fc;
}

.author-slider-next {
  background: #f7fffb;
  color: #158a9b;
}

.author-slider-arrow:hover,
.author-slider-arrow:focus-visible {
  filter: brightness(1.08);
  transform: translateY(-2px);
}

/* Let Kate's chapter close before Candytopia's world opens. */
.kate-section + .world-section {
  margin-top: clamp(3rem, 6vw, 6.5rem);
}
.world-wordmark {
  font-size: clamp(2.8rem, 5.4vw, 4.7rem);
  line-height: 0.82;
}

@media (max-width: 640px) {
  .world-wordmark {
    font-size: clamp(2.65rem, 14vw, 3.7rem);
  }
}
/* Journal feature gives the full Abigail story a calm, readable home. */
.blog-feature-section {
  width: min(1120px, calc(100% - 2rem));
}

.blog-heading {
  max-width: 48rem;
}

.blog-heading > p:last-child {
  max-width: 42rem;
  color: #d8cbe0;
}

.blog-feature {
  display: grid;
  grid-template-columns: minmax(240px, 0.78fr) minmax(0, 1.22fr);
  overflow: hidden;
  border: 1px solid rgba(255, 153, 203, 0.52);
  border-radius: 8px;
  background:
    linear-gradient(130deg, rgba(237, 62, 147, 0.16), transparent 48%),
    linear-gradient(120deg, #25152f, #123d48);
  box-shadow: 0 22px 54px rgba(4, 1, 12, 0.34);
}

.blog-feature-art {
  position: relative;
  min-height: 100%;
  overflow: hidden;
  background: #081f26;
}

.blog-feature-art::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 48%, rgba(9, 3, 19, 0.78));
  pointer-events: none;
}

.blog-feature-art img {
  width: 100%;
  height: 100%;
  min-height: 500px;
  object-fit: cover;
  object-position: 53% center;
}

.blog-art-caption {
  position: absolute;
  z-index: 1;
  right: 1.25rem;
  bottom: 1.1rem;
  left: 1.25rem;
  margin: 0;
  color: #ffffff;
  font-family: var(--font-script);
  font-size: clamp(1.65rem, 2.2vw, 2.35rem);
  line-height: 0.92;
}

.blog-feature-copy {
  padding: clamp(1.4rem, 3.5vw, 3.5rem);
}

.post-type {
  margin: 0 0 0.75rem;
  color: #9cf9ff;
  font-size: 0.75rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.blog-feature h3 {
  max-width: 18ch;
  margin: 0;
  color: #fff6fb;
  font-size: clamp(1.65rem, 3vw, 2.65rem);
  line-height: 1.06;
}

.blog-feature-dek {
  max-width: 55ch;
  margin: 1rem 0 1.45rem;
  color: #dfd3e6;
  font-size: 1rem;
  line-height: 1.6;
}

.blog-article {
  border-top: 1px solid rgba(211, 249, 255, 0.28);
}

.blog-article summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 0;
  color: #ffffff;
  cursor: pointer;
  font-weight: 900;
  list-style: none;
}

.blog-article summary::-webkit-details-marker {
  display: none;
}

.blog-article-toggle {
  flex: 0 0 auto;
  min-width: 4.3rem;
  padding: 0.45rem 0.65rem;
  border: 1px solid #9cf9ff;
  border-radius: 999px;
  color: #9cf9ff;
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-align: center;
  text-transform: uppercase;
}

.blog-article[open] .blog-article-toggle {
  border-color: #ff9acb;
  background: #ed3e93;
  color: #270015;
}

.blog-article[open] .blog-article-toggle {
  font-size: 0;
}

.blog-article[open] .blog-article-toggle::after {
  content: "Close";
  font-size: 0.72rem;
}

.blog-article-body {
  display: grid;
  gap: 1.6rem;
  padding: 0.2rem 0 0.5rem;
}

.blog-article-body section {
  padding: 1.1rem 1.2rem;
  border-left: 3px solid #f17cb5;
  background: rgba(9, 4, 21, 0.2);
}

.blog-article-body h4 {
  margin: 0 0 0.8rem;
  color: #ffb6d7;
  font-size: 1.05rem;
  line-height: 1.35;
}

.blog-article-body p {
  margin: 0.75rem 0 0;
  color: #e6dce9;
  font-size: 0.96rem;
  line-height: 1.7;
}

.blog-article-body p:first-of-type {
  margin-top: 0;
}

@media (max-width: 760px) {
  .blog-feature {
    grid-template-columns: 1fr;
  }

  .blog-feature-art img {
    min-height: 300px;
    max-height: 390px;
  }

  .blog-feature-copy {
    padding: 1.35rem;
  }

  .blog-feature h3 {
    max-width: none;
  }

  .blog-article-body section {
    padding: 1rem;
  }
}
/* The Emeza & Joab seal anchors both ends of the page. */
.brand-logo {
  border: 1px solid rgba(202, 255, 247, 0.75);
  border-radius: 50%;
  background: #f8fffb;
  box-shadow: 0 0 16px rgba(116, 243, 255, 0.18);
  object-fit: cover;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.footer-logo {
  flex: 0 0 auto;
  width: 76px;
  height: 76px;
  border: 1px solid rgba(163, 245, 244, 0.75);
  border-radius: 50%;
  background: #f8fffb;
  box-shadow: 0 0 24px rgba(101, 233, 255, 0.16);
  object-fit: cover;
}

.site-footer .footer-brand p {
  margin: 0.45rem 0 0;
}

@media (max-width: 640px) {
  .footer-brand {
    align-items: flex-start;
  }

  .footer-logo {
    width: 58px;
    height: 58px;
  }
}
/* Footer links separate the story journey from the practical details. */
.footer-links {
  display: grid;
  justify-items: end;
  gap: 0.8rem;
}

.footer-legal {
  justify-content: flex-end;
}

.site-footer .footer-legal a {
  color: #d8c6df;
  font-size: 0.82rem;
  font-weight: 700;
}

.site-footer a:hover,
.site-footer a:focus-visible {
  color: #ff8dc5;
}

.site-footer .copyright {
  margin: 0.7rem 0 0;
  color: #ff75b3;
  font-size: 0.84rem;
  font-weight: 900;
}

.legal-page {
  width: min(840px, calc(100% - 2rem));
  min-height: 100vh;
  margin: 0 auto;
  padding: clamp(7rem, 10vw, 9rem) 0 4rem;
}

.legal-page .kicker {
  margin-bottom: 0.7rem;
}

.legal-page h1 {
  max-width: 19ch;
  margin: 0;
  color: #fff6fb;
  font-size: clamp(2.25rem, 5vw, 4rem);
  line-height: 1.02;
}

.legal-card {
  margin-top: 2rem;
  padding: clamp(1.35rem, 4vw, 3rem);
  border: 1px solid rgba(154, 249, 255, 0.38);
  border-radius: 8px;
  background: linear-gradient(145deg, rgba(40, 26, 58, 0.92), rgba(14, 63, 72, 0.8));
}

.legal-card h2 {
  margin: 2rem 0 0.65rem;
  color: #ffacd3;
  font-size: 1.2rem;
}

.legal-card h2:first-child {
  margin-top: 0;
}

.legal-card p,
.legal-card li {
  color: #e0d5e5;
  line-height: 1.7;
}

.legal-card ul {
  padding-left: 1.25rem;
}

.legal-card a {
  color: #9cf9ff;
}

.legal-back {
  display: inline-flex;
  margin-top: 1.75rem;
  color: #9cf9ff;
  font-weight: 900;
  text-decoration: none;
}

.legal-back:hover,
.legal-back:focus-visible {
  color: #ff8dc5;
}

@media (max-width: 640px) {
  .footer-links {
    justify-items: start;
    margin-top: 1.5rem;
  }

  .footer-legal {
    justify-content: flex-start;
  }
}
/* Keep the journal feature wide and editorial when the full story opens. */
@media (min-width: 761px) {
  .blog-feature {
    grid-template-columns: minmax(230px, 0.42fr) minmax(0, 1.58fr);
    align-items: start;
  }

  .blog-feature-art {
    align-self: start;
    height: 340px;
    min-height: 0;
  }

  .blog-feature-art img {
    height: 340px;
    min-height: 0;
    object-position: 63% 67%;
  }

  .blog-feature h3 {
    max-width: 28ch;
  }

  .blog-feature-copy {
    padding: clamp(1.5rem, 2.7vw, 2.75rem);
  }
}
/* Centered editorial navigation with a luminous Shop destination. */
@media (min-width: 981px) {
  .site-header {
    display: grid;
    grid-template-columns: minmax(190px, 1fr) auto minmax(190px, 1fr);
  }

  .site-nav {
    grid-column: 2;
    justify-self: center;
    gap: clamp(0.85rem, 1.55vw, 1.35rem);
    font-size: clamp(1.35rem, 1.55vw, 1.55rem);
  }
}

.site-nav a {
  position: relative;
  padding: 0.12rem 0 0.28rem;
  transition: color 180ms ease, transform 180ms ease, text-shadow 180ms ease;
}

.site-nav a::after {
  content: "";
  position: absolute;
  right: 0.12rem;
  bottom: 0;
  left: 0.12rem;
  height: 1px;
  background: #9cf9ff;
  box-shadow: 0 0 8px rgba(156, 249, 255, 0.9);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 180ms ease;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: #ffffff;
  text-shadow: 0 0 10px rgba(255, 176, 216, 0.5);
  transform: translateY(-2px);
}

.site-nav a:hover::after,
.site-nav a:focus-visible::after {
  transform: scaleX(1);
}

.nav-shop {
  padding: 0.58rem 1rem 0.65rem !important;
  border-color: #ff9acb;
  background: rgba(237, 62, 147, 0.15);
  box-shadow: 0 0 0 1px rgba(255, 121, 185, 0.18), 0 0 18px rgba(237, 62, 147, 0.32);
  animation: shop-nav-glow 2.7s ease-in-out infinite;
}

.nav-shop::after {
  display: none;
}

.nav-shop:hover,
.nav-shop:focus-visible {
  border-color: #fff1f9;
  background: #ed3e93;
  color: #260016;
  text-shadow: none;
  box-shadow: 0 0 0 2px rgba(255, 140, 202, 0.4), 0 0 30px rgba(237, 62, 147, 0.7);
  transform: translateY(-3px) rotate(-1deg);
}

@keyframes shop-nav-glow {
  0%, 100% { box-shadow: 0 0 0 1px rgba(255, 121, 185, 0.18), 0 0 15px rgba(237, 62, 147, 0.28); }
  50% { box-shadow: 0 0 0 1px rgba(255, 183, 219, 0.56), 0 0 27px rgba(237, 62, 147, 0.64); }
}

@media (max-width: 980px) {
  .site-header {
    display: flex;
  }

  .nav-toggle {
    margin-left: auto;
  }

  .site-nav a {
    padding: 0.85rem;
  }

  .site-nav a::after {
    right: 0.85rem;
    left: 0.85rem;
  }
}
/* The book title holds a deliberate two-line cover composition on wide screens. */
@media (min-width: 761px) {
  .hero-content {
    width: min(950px, 100%);
  }

  #hero-title {
    max-width: none;
    font-size: clamp(4.5rem, 7vw, 7.3rem);
  }

  #hero-title span {
    display: block;
    white-space: nowrap;
  }
}

@media (max-width: 760px) {
  #hero-title span {
    white-space: normal;
  }
}
/* The journal's title borrows the flowing cover lettering of Candytopia. */
.blog-heading #blog-title {
  max-width: none;
  color: #ff9dcd;
  font-family: "Alex Brush", cursive;
  font-size: clamp(3rem, 4.5vw, 4.9rem);
  font-weight: 400;
  line-height: 0.86;
  text-shadow: 0 0 20px rgba(255, 88, 171, 0.2);
}

@media (max-width: 640px) {
  .blog-heading #blog-title {
    font-size: clamp(2.9rem, 13vw, 4rem);
  }
}
/* Key themes borrow the flowing pink lettering from the Candytopia cover. */
#book-title .book-keyword {
  display: inline-block;
  margin: 0 0.04em;
  color: #ff8fc8;
  font-family: "Alex Brush", cursive;
  font-size: 1.18em;
  font-weight: 400;
  line-height: 0.72;
  text-shadow: 0 0 14px rgba(255, 92, 174, 0.36);
  transform: translateY(0.06em);
}
/* A gentle next step from Abigail's introduction into her journal story. */
.author-journal-link {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  width: max-content;
  margin-top: 0.7rem;
  color: #ffacd4;
  font-size: 0.88rem;
  font-weight: 900;
  text-decoration: none;
  transition: color 160ms ease, gap 160ms ease, text-shadow 160ms ease;
}

.author-journal-link span {
  color: #9cf9ff;
  font-size: 1.1em;
  transition: transform 160ms ease;
}

.author-journal-link:hover,
.author-journal-link:focus-visible {
  color: #ffffff;
  gap: 0.65rem;
  text-shadow: 0 0 12px rgba(255, 125, 187, 0.46);
}

.author-journal-link:hover span,
.author-journal-link:focus-visible span {
  transform: translateX(3px);
}
/* Floating candy-light details keep the hero atmospheric without competing with its story. */
.hero-magic {
  position: absolute;
  z-index: 2;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.hero-heart {
  position: absolute;
  width: 1.1rem;
  aspect-ratio: 1;
  background: linear-gradient(135deg, #ffd3e9, #ff5cad 65%, #d91b7a);
  border-radius: 0.2rem 0.2rem 0.65rem 0.2rem;
  box-shadow: 0 0 0.7rem rgba(255, 105, 182, 0.7), 0 0 1.7rem rgba(255, 91, 175, 0.32);
  opacity: 0.74;
  transform: rotate(45deg);
}

.hero-heart::before,
.hero-heart::after {
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;
  background: inherit;
  border-radius: 50%;
}

.hero-heart::before { left: -50%; }
.hero-heart::after { top: -50%; }
.heart-one { top: 23%; left: 61%; width: 0.8rem; }
.heart-two { top: 53%; left: 76%; width: 1.25rem; opacity: 0.58; }
.heart-three { top: 72%; left: 51%; width: 0.65rem; opacity: 0.48; }

.hero-spark {
  position: absolute;
  width: 0.35rem;
  aspect-ratio: 1;
  background: #d5fbff;
  border-radius: 50%;
  box-shadow: 0 0 0.7rem 0.18rem rgba(111, 242, 255, 0.78);
}

.spark-one { top: 29%; left: 69%; }
.spark-two { top: 66%; left: 88%; width: 0.25rem; }
.spark-three { top: 39%; left: 93%; width: 0.2rem; }

@media (prefers-reduced-motion: no-preference) {
  .hero-heart { animation: hero-heart-float 8s ease-in-out infinite; }
  .heart-two { animation-delay: -2.5s; animation-duration: 9.5s; }
  .heart-three { animation-delay: -4.25s; animation-duration: 7.25s; }
  .hero-spark { animation: hero-spark-twinkle 4.5s ease-in-out infinite; }
  .spark-two { animation-delay: -1.5s; }
  .spark-three { animation-delay: -3s; }
}

@keyframes hero-heart-float {
  0%, 100% { transform: rotate(45deg) translate3d(0, 0, 0) scale(1); }
  50% { transform: rotate(45deg) translate3d(0, -1.25rem, 0) scale(1.12); }
}

@keyframes hero-spark-twinkle {
  0%, 100% { opacity: 0.25; transform: scale(0.7); }
  50% { opacity: 1; transform: scale(1.3); }
}
/* Cover-inspired lettering and Emeza & Joab colors clarify the final reader invitation. */
#contact-title span,
#faq-title {
  color: #ff8fc8;
  font-family: "Alex Brush", cursive;
  font-weight: 400;
  text-shadow: 0 0 1.1rem rgba(255, 87, 171, 0.28);
}

#contact-title span {
  display: inline-block;
  margin: 0 0.05em;
  font-size: 1.15em;
  line-height: 0.7;
}

#faq-title {
  font-size: clamp(3.15rem, 5vw, 5.15rem);
  line-height: 0.82;
}

.contact-brand-button {
  color: #0e6f88;
  border-color: rgba(119, 230, 239, 0.92);
  background: #f9ffff;
  box-shadow: 0 0.45rem 1.3rem rgba(39, 216, 230, 0.18);
}

.contact-brand-button:hover,
.contact-brand-button:focus-visible {
  color: #ffffff;
  border-color: #ffffff;
  background: #168fb3;
  box-shadow: 0 0.55rem 1.5rem rgba(51, 213, 229, 0.42);
}

@media (max-width: 640px) {
  #faq-title { font-size: clamp(3rem, 15vw, 4.25rem); }
  #contact-title span { font-size: 1.1em; }
}
/* The publisher seal carries a quiet teal-and-pink light across every placement. */
.brand-logo,
.author-logo,
.footer-logo {
  transition: transform 260ms ease, filter 260ms ease, box-shadow 260ms ease;
  filter: drop-shadow(0 0 0.32rem rgba(123, 247, 255, 0.5)) drop-shadow(0 0 0.8rem rgba(255, 99, 183, 0.22));
}

.brand:hover .brand-logo,
.brand:focus-visible .brand-logo,
.author-logo:hover,
.footer-logo:hover {
  transform: translateY(-2px) scale(1.045);
  filter: drop-shadow(0 0 0.45rem rgba(154, 250, 255, 0.82)) drop-shadow(0 0 1.15rem rgba(255, 102, 184, 0.44));
}

@media (prefers-reduced-motion: no-preference) {
  .brand-logo,
  .author-logo,
  .footer-logo {
    animation: publisher-mark-aura 7s ease-in-out infinite;
  }

  .author-logo { animation-delay: -2.4s; }
  .footer-logo { animation-delay: -4.8s; }
}

@keyframes publisher-mark-aura {
  0%, 100% {
    filter: drop-shadow(0 0 0.3rem rgba(123, 247, 255, 0.38)) drop-shadow(0 0 0.7rem rgba(255, 99, 183, 0.16));
  }

  50% {
    filter: drop-shadow(0 0 0.52rem rgba(123, 247, 255, 0.72)) drop-shadow(0 0 1.25rem rgba(255, 99, 183, 0.34));
  }
}
/* Every reader-facing control catches a small ribbon of Candytopia light. The header Shop treatment remains distinct. */
.button,
.gallery-nav,
.author-slider-arrow {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  transition: transform 220ms ease, border-color 220ms ease, background 220ms ease, box-shadow 220ms ease, filter 220ms ease;
}

.button::before,
.gallery-nav::before,
.author-slider-arrow::before {
  content: "";
  position: absolute;
  z-index: 1;
  inset: -55% auto -55% -22%;
  width: 28%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.62), transparent);
  opacity: 0;
  pointer-events: none;
  transform: skewX(-20deg) translateX(-240%);
}

.button:hover,
.button:focus-visible,
.author-slider-arrow:hover,
.author-slider-arrow:focus-visible {
  transform: translateY(-3px);
  box-shadow: 0 0.7rem 1.6rem rgba(0, 5, 25, 0.34), 0 0 1.2rem rgba(255, 101, 180, 0.25);
}

@media (prefers-reduced-motion: no-preference) {
  .button::before,
  .gallery-nav::before,
  .author-slider-arrow::before {
    animation: candytopia-button-sheen 6.5s ease-in-out infinite;
  }

  .retailer-links .button:nth-child(2)::before { animation-delay: -2.1s; }
  .retailer-links .button:nth-child(3)::before { animation-delay: -4.2s; }
}

@keyframes candytopia-button-sheen {
  0%, 67%, 100% { opacity: 0; transform: skewX(-20deg) translateX(-240%); }
  75% { opacity: 0.72; }
  91% { opacity: 0; transform: skewX(-20deg) translateX(680%); }
}
/* The footer's story links echo the same elegant lettering as the main navigation. */
.footer-links > nav:not(.footer-legal) a {
  position: relative;
  color: #fff6fb;
  font-family: "Alex Brush", cursive;
  font-size: 1.55rem;
  font-weight: 400;
  line-height: 1;
  transition: color 180ms ease, transform 180ms ease;
}

.footer-links > nav:not(.footer-legal) a:hover,
.footer-links > nav:not(.footer-legal) a:focus-visible {
  color: #ff9dce;
  transform: translateY(-2px);
}
/* Shop and reader-guide handoffs are deliberately tighter, while each section keeps room for its content. */
.blog-feature-section {
  padding-bottom: clamp(2.5rem, 4vw, 4.5rem);
}

.shop-section {
  padding-top: clamp(2.75rem, 5vw, 4.75rem);
  padding-bottom: clamp(2.5rem, 4vw, 4.5rem);
}

.faq-section {
  padding-top: clamp(2.75rem, 5vw, 4.75rem);
}
/* Final phone layout refinement: preserve the story, remove horizontal overflow. */
@media (max-width: 640px) {
  .hero { min-height: 54rem; padding: 7.5rem 1.25rem 3.5rem; }
  .hero-content, #hero-title { width: 100%; max-width: 100%; }
  #hero-title { font-size: clamp(3.15rem, 14vw, 4.4rem); line-height: 0.92; }
  #hero-title span { display: block; white-space: normal; }
  .hero-actions .button { flex: 1 1 10rem; }

  .testimonials { padding: 1.5rem; }
  .testimonials-intro { gap: 1rem; margin-bottom: 1.25rem; }
  .testimonials h2 { max-width: 100%; font-size: clamp(3rem, 15vw, 4.25rem); line-height: 0.86; }
  .testimonials .quote-grid { grid-template-columns: 1fr; gap: 0.8rem; }
  .testimonials .quote-grid figure,
  .testimonials .quote-grid .quote-featured,
  .testimonials .quote-grid figure:nth-of-type(5),
  .testimonials .quote-grid figure:nth-of-type(6) { grid-column: 1; min-height: 0; padding: 1.2rem; }

  .gallery-track figure { flex-basis: 100%; }

  .faq-intro { gap: 0.9rem; margin-bottom: 1.25rem; }
  .faq-list summary { display: block; min-height: 0; padding: 1rem 3.35rem 1rem 3.25rem; font-size: 1rem; line-height: 1.4; white-space: normal; }
  .faq-list summary::before, .faq-list summary::after { position: absolute; }
  .faq-list summary::before { top: 1.1rem; left: 1rem; }
  .faq-list summary::after { top: 0.9rem; right: 1rem; }
  .faq-list summary em { display: inline; white-space: normal; }
  .faq-list details p { padding: 0 1rem 1.15rem; font-size: 0.98rem; }

  .shop-item { padding: 1.25rem; }
  .shop-item .mini-cover { width: min(155px, 48vw); min-height: min(220px, 68vw); justify-self: center; }

  .site-footer { display: grid; grid-template-columns: 1fr; gap: 1.75rem; padding-top: 3rem; }
  .footer-brand, .footer-links, .footer-links nav, .footer-legal { display: grid; justify-items: start; justify-content: start; }
  .footer-brand { grid-template-columns: 1fr; gap: 0.8rem; }
  .footer-logo { width: 70px; height: 70px; }
  .footer-links { width: 100%; gap: 1.15rem; margin: 0; }
  .footer-links nav { gap: 0.75rem; }
  .site-footer > .footer-links > nav:first-child a { font-size: 1.55rem; }
  .footer-legal { gap: 0.6rem; }

  .nav-toggle { position: relative; gap: 0.55rem; min-width: 9.4rem; justify-content: center; overflow: hidden; border-color: rgba(255, 157, 210, 0.66); background: linear-gradient(135deg, rgba(255, 97, 174, 0.3), rgba(40, 110, 134, 0.32)); box-shadow: 0 0 0 1px rgba(145, 244, 250, 0.14), 0 0 20px rgba(255, 74, 165, 0.22); transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease; }
  .nav-toggle span { display: none; }
  .nav-toggle::before, .nav-toggle::after { content: ""; position: absolute; left: 1rem; width: 1.15rem; height: 2px; border-radius: 999px; background: #fff8fc; transition: transform 180ms ease, box-shadow 180ms ease, opacity 180ms ease; }
  .nav-toggle::before { box-shadow: 0 -0.38rem #fff8fc, 0 0.38rem #fff8fc; }
  .nav-toggle::after { opacity: 0; }
  .nav-toggle[aria-expanded="true"] { background: linear-gradient(135deg, rgba(42, 152, 173, 0.6), rgba(255, 87, 166, 0.54)); box-shadow: 0 0 24px rgba(103, 237, 244, 0.25), 0 0 34px rgba(255, 80, 164, 0.3); }
  .nav-toggle[aria-expanded="true"]::before { transform: rotate(45deg); box-shadow: none; }
  .nav-toggle[aria-expanded="true"]::after { opacity: 1; transform: rotate(-45deg); }
}

@media (max-width: 390px) {
  #hero-title { font-size: clamp(3rem, 13.5vw, 3.8rem); }
}
@media (max-width: 640px) and (prefers-reduced-motion: no-preference) {
  .nav-toggle[aria-expanded="false"] {
    animation: mobile-menu-glow 3.2s ease-in-out infinite;
  }
}

@keyframes mobile-menu-glow {
  0%, 100% {
    box-shadow: 0 0 0 1px rgba(145, 244, 250, 0.14), 0 0 18px rgba(255, 74, 165, 0.18);
  }
  50% {
    box-shadow: 0 0 0 1px rgba(145, 244, 250, 0.4), 0 0 28px rgba(255, 74, 165, 0.36);
  }
}
/* A centered mobile footer gives the publisher mark and practical links equal presence. */
@media (max-width: 640px) {
  .site-footer,
  .footer-brand,
  .footer-links,
  .footer-links nav,
  .footer-legal {
    align-items: center;
    justify-items: center;
    justify-content: center;
    text-align: center;
  }

  .footer-brand {
    justify-self: center;
  }

  .site-footer .footer-brand p,
  .site-footer .copyright {
    margin-left: auto;
    margin-right: auto;
  }

  .footer-links nav {
    width: 100%;
  }
}
@media (max-width: 640px) {
  .shop-item .shop-meta {
    grid-template-columns: 1fr;
    gap: 0.7rem;
  }

  .shop-item .shop-meta > div {
    display: grid;
    gap: 0.16rem;
  }
}
/* Tablet receives the same reader-first rhythm as the phone experience. */
@media (min-width: 641px) and (max-width: 980px) {
  .hero {
    min-height: 52rem;
    padding: 8.5rem 2rem 4.5rem;
  }

  .hero-content,
  #hero-title {
    width: 100%;
    max-width: 100%;
  }

  #hero-title {
    font-size: clamp(4.35rem, 10vw, 5.9rem);
    line-height: 0.92;
  }

  #hero-title span {
    display: block;
    white-space: normal;
  }

  .testimonials {
    padding: 2.25rem;
  }

  .testimonials-intro {
    grid-template-columns: 1fr;
    gap: 1rem;
    margin-bottom: 1.5rem;
  }

  .testimonials h2 {
    max-width: 100%;
    font-size: clamp(3.75rem, 8vw, 5rem);
    line-height: 0.88;
  }

  .testimonials .quote-grid {
    grid-template-columns: 1fr;
  }

  .testimonials .quote-grid figure,
  .testimonials .quote-grid .quote-featured,
  .testimonials .quote-grid figure:nth-of-type(5),
  .testimonials .quote-grid figure:nth-of-type(6) {
    grid-column: 1;
    min-height: 0;
  }

  .gallery-track figure {
    flex-basis: 100%;
  }

  .faq-intro {
    grid-template-columns: 1fr;
    gap: 0.85rem;
  }

  .faq-list summary {
    display: block;
    min-height: 0;
    padding: 1rem 3.6rem 1rem 3.6rem;
    font-size: 1.04rem;
    white-space: normal;
  }

  .faq-list summary::before,
  .faq-list summary::after {
    position: absolute;
  }

  .faq-list summary::before {
    top: 1.15rem;
    left: 1.25rem;
  }

  .faq-list summary::after {
    top: 0.95rem;
    right: 1.25rem;
  }

  .faq-list summary em {
    display: inline;
    white-space: normal;
  }

  .faq-list details p {
    padding: 0 1.25rem 1.2rem;
  }

  .shop-item {
    grid-template-columns: 1fr;
    padding: 1.5rem;
  }

  .shop-item .mini-cover {
    width: 170px;
    min-height: 244px;
    justify-self: center;
  }

  .shop-item .shop-meta {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }

  .shop-item .shop-meta > div {
    display: grid;
    gap: 0.16rem;
  }

  .site-footer,
  .footer-brand,
  .footer-links,
  .footer-links nav,
  .footer-legal {
    display: grid;
    align-items: center;
    justify-items: center;
    justify-content: center;
    text-align: center;
  }

  .site-footer {
    grid-template-columns: 1fr;
    gap: 1.8rem;
  }

  .footer-brand {
    grid-template-columns: 1fr;
  }

  .footer-links {
    width: 100%;
  }

  .footer-links nav {
    width: 100%;
    gap: 0.7rem;
  }

  .nav-toggle {
    position: relative;
    min-width: 9.4rem;
    justify-content: center;
    border-color: rgba(255, 157, 210, 0.66);
    background: linear-gradient(135deg, rgba(255, 97, 174, 0.3), rgba(40, 110, 134, 0.32));
    box-shadow: 0 0 0 1px rgba(145, 244, 250, 0.14), 0 0 20px rgba(255, 74, 165, 0.22);
  }

  .nav-toggle span {
    display: none;
  }

  .nav-toggle::before,
  .nav-toggle::after {
    content: "";
    position: absolute;
    left: 1rem;
    width: 1.15rem;
    height: 2px;
    border-radius: 999px;
    background: #fff8fc;
    transition: transform 180ms ease, box-shadow 180ms ease, opacity 180ms ease;
  }

  .nav-toggle::before {
    box-shadow: 0 -0.38rem #fff8fc, 0 0.38rem #fff8fc;
  }

  .nav-toggle::after {
    opacity: 0;
  }

  .nav-toggle[aria-expanded="true"]::before {
    transform: rotate(45deg);
    box-shadow: none;
  }

  .nav-toggle[aria-expanded="true"]::after {
    opacity: 1;
    transform: rotate(-45deg);
  }
}
/* Book facts become one centered reading path on phone and tablet. */
@media (max-width: 980px) {
  #book .book-meta {
    grid-template-columns: 1fr;
    justify-items: center;
    margin: 1.5rem 0;
    text-align: center;
  }

  #book .book-meta > div {
    display: grid;
    gap: 0.16rem;
    justify-items: center;
  }

  #book .text-link {
    display: table;
    margin-inline: auto;
  }
}
@media (max-width: 980px) {
  #book .section-copy {
    text-align: center;
  }

  #book .section-copy > .kicker,
  #book .section-copy > h2,
  #book .section-copy > p {
    margin-left: auto;
    margin-right: auto;
  }
}
/* Smaller story headlines keep the world and Kate sections balanced on compact screens. */
@media (max-width: 980px) {
  #world-title {
    font-size: clamp(2.3rem, 8vw, 3.15rem);
    line-height: 1.02;
  }

  #kate-title {
    font-size: clamp(2.65rem, 9vw, 3.55rem);
    line-height: 1.02;
  }
}

@media (max-width: 640px) {
  #world-title {
    font-size: clamp(2.3rem, 11vw, 2.9rem);
  }

  #kate-title {
    font-size: clamp(2.65rem, 12vw, 3.3rem);
  }
}
/* Keep the reader-guide title elegant and contained on smaller screens. */
@media (max-width: 980px) {
  #faq-title {
    font-size: clamp(2.55rem, 6.7vw, 3.45rem);
    line-height: 0.92;
  }
}

@media (max-width: 640px) {
  #faq-title {
    font-size: clamp(2.45rem, 10vw, 3rem);
    line-height: 0.9;
  }
}
/* Final mobile hierarchy pass: compact story headings, balanced purchasing details, and a clear footer finish. */
@media (max-width: 640px) {
  #kate-title {
    font-size: clamp(2.35rem, 10.5vw, 2.9rem);
    line-height: 0.96;
  }

  #world-title {
    font-size: clamp(2.15rem, 9.6vw, 2.65rem);
    line-height: 0.98;
  }

  #author-title {
    font-size: clamp(2.8rem, 12.5vw, 3.4rem);
    line-height: 0.9;
  }

  .shop-item .shop-meta,
  .shop-item .shop-meta > div {
    justify-items: center;
    text-align: center;
  }

  .retailer-links {
    gap: 0.9rem;
    margin-top: 1.15rem;
  }

  .site-footer {
    display: grid;
    grid-template-columns: 1fr;
  }

  .footer-brand,
  .footer-brand > div {
    display: contents;
  }

  .footer-logo,
  .site-footer .footer-brand > div > strong,
  .site-footer .footer-brand > div > p {
    justify-self: center;
    text-align: center;
  }

  .footer-links {
    order: 2;
  }

  .site-footer .copyright {
    order: 3;
    margin-top: 0.35rem;
  }
}
/* Always-visible language control, compact enough to sit beside the mobile menu. */
.language-control {
  position: absolute;
  right: clamp(6rem, 12vw, 11rem);
  z-index: 2;
}

.language-control select {
  min-height: 36px;
  padding: 0.35rem 1.85rem 0.35rem 0.7rem;
  border: 1px solid rgba(145, 244, 250, 0.48);
  border-radius: 999px;
  background: rgba(14, 29, 48, 0.78);
  color: #f7fffb;
  font: 700 0.75rem/1 "Nunito Sans", sans-serif;
  letter-spacing: 0.04em;
  cursor: pointer;
  box-shadow: 0 0 14px rgba(83, 219, 236, 0.14);
}

.language-control select:focus-visible {
  outline: 2px solid #ff78b9;
  outline-offset: 3px;
}

@media (min-width: 981px) {
  .language-control { right: clamp(1.2rem, 3vw, 3rem); }
}

@media (max-width: 640px) {
  .language-control {
    right: 9.7rem;
  }

  .language-control select {
    min-height: 34px;
    max-width: 72px;
    padding: 0.32rem 0.36rem;
    border-color: rgba(255, 151, 207, 0.66);
    background: rgba(61, 31, 69, 0.9);
    font-size: 0.64rem;
    text-align: center;
  }
}
/* Keep the translator and menu distinct in the compact header. */
.sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

@media (max-width: 980px) {
  .site-header {
    justify-content: flex-start;
    gap: 0.7rem;
    padding-right: clamp(1rem, 3vw, 1.75rem);
  }

  .language-control {
    position: static;
    order: 2;
    margin-left: auto;
    flex: 0 0 auto;
  }

  .language-control select {
    min-height: 50px;
    padding: 0.45rem 0.68rem;
    border-color: rgba(145, 244, 250, 0.58);
    font-size: 0.78rem;
    text-align: center;
  }

  .nav-toggle {
    order: 3;
    margin-left: 0;
    min-width: 10.7rem;
    min-height: 52px;
    padding: 0.65rem 1rem 0.65rem 2.85rem;
    font-size: 1.55rem;
  }

  .nav-toggle::before,
  .nav-toggle::after {
    left: 1.15rem;
    width: 1.35rem;
  }

  .nav-toggle::before {
    box-shadow: 0 -0.42rem #fff8fc, 0 0.42rem #fff8fc;
  }
}

@media (max-width: 640px) {
  .site-header {
    gap: 0.45rem;
    padding-inline: 1rem;
  }

  .language-control select {
    min-height: 46px;
    max-width: 82px;
    padding: 0.32rem 0.38rem;
    font-size: 0.68rem;
  }

  .nav-toggle {
    min-width: 9.7rem;
    min-height: 48px;
    padding-left: 2.65rem;
    font-size: 1.4rem;
  }
}

@media (max-width: 420px) {
  .site-header {
    gap: 0.3rem;
    padding-inline: 0.75rem;
  }

  .brand {
    gap: 0.45rem;
  }

  .brand-logo {
    width: 44px;
    height: 44px;
  }

  .brand strong {
    font-size: 1.38rem;
  }

  .language-control select {
    max-width: 64px;
    font-size: 0.6rem;
  }

  .nav-toggle {
    min-width: 8.85rem;
    padding-left: 2.45rem;
    font-size: 1.28rem;
  }
}
/* A quiet, storybook glow for the hero title. */
#hero-title {
  isolation: isolate;
}

#hero-title span {
  display: inline-block;
  color: #fffdfd;
  text-shadow:
    0 0 2px rgba(255, 255, 255, 0.96),
    0 0 12px rgba(255, 180, 225, 0.72),
    0 0 28px rgba(242, 69, 158, 0.5),
    0 0 48px rgba(92, 224, 238, 0.24);
  animation: title-enchantment 5.5s ease-in-out infinite;
}

#hero-title span:first-child {
  animation-delay: -1.4s;
}

#hero-title::after {
  content: "";
  position: absolute;
  z-index: -1;
  top: 14%;
  left: -5%;
  width: 88%;
  height: 70%;
  pointer-events: none;
  background: radial-gradient(ellipse at center, rgba(255, 106, 187, 0.22), transparent 68%);
  filter: blur(16px);
  opacity: 0.72;
  animation: title-aura 7s ease-in-out infinite;
}

@keyframes title-enchantment {
  0%, 100% {
    filter: brightness(1);
    text-shadow:
      0 0 2px rgba(255, 255, 255, 0.96),
      0 0 12px rgba(255, 180, 225, 0.72),
      0 0 28px rgba(242, 69, 158, 0.5),
      0 0 48px rgba(92, 224, 238, 0.24);
  }
  50% {
    filter: brightness(1.12);
    text-shadow:
      0 0 3px rgba(255, 255, 255, 1),
      0 0 17px rgba(255, 188, 229, 0.92),
      0 0 36px rgba(255, 73, 165, 0.7),
      0 0 62px rgba(90, 227, 240, 0.36);
  }
}

@keyframes title-aura {
  0%, 100% { opacity: 0.48; transform: scale(0.96); }
  50% { opacity: 0.86; transform: scale(1.06); }
}

@media (prefers-reduced-motion: reduce) {
  #hero-title span,
  #hero-title::after {
    animation: none;
  }
}
/* Desktop navigation gets a more readable storybook scale. */
@media (min-width: 981px) {
  .site-nav a {
    font-size: 1.1rem;
  }
}
/* Restore and slightly lift the desktop navigation scale. */
@media (min-width: 981px) {
  .site-nav a {
    font-size: clamp(1.45rem, 1.65vw, 1.7rem);
  }
}