@import url("https://fonts.googleapis.com/css2?family=Fredoka:wght@400;500;600;700&family=Nunito:wght@400;500;600;700;800&display=swap");

:root {
  --cream: #faf3e2;
  --paper: #fffaf0;
  --paper-deep: #f2e3c6;
  --sakura: #f2b8c3;
  --sakura-soft: #f8dce0;
  --peach: #eaa38e;
  --gold: #e9b94e;
  --gold-deep: #b37b20;
  --leaf: #7d8f3e;
  --matcha: #5f7441;
  --sky: #78b5dc;
  --indigo: #29465f;
  --indigo-deep: #172c3d;
  --brick: #b7472a;
  --wood: #85582d;
  --ink: #2e2924;
  --muted: #6e6257;
  --line: rgba(79, 55, 31, 0.16);
  --shadow-sm: 0 12px 35px rgba(55, 38, 20, 0.12);
  --shadow-lg: 0 35px 90px rgba(37, 29, 20, 0.24);
  --radius-sm: 16px;
  --radius-md: 28px;
  --radius-lg: 46px;
  --shell: min(1240px, calc(100vw - 64px));
  --display: "Fredoka", "Arial Rounded MT Bold", system-ui, sans-serif;
  --body: "Nunito", system-ui, sans-serif;
  --ease-out: cubic-bezier(.2, .8, .2, 1);
}

*,
*::before,
*::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 92px;
  background: var(--cream);
}

body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  color: var(--ink);
  background:
    radial-gradient(circle at 15% 8%, rgba(242, 184, 195, .12), transparent 26rem),
    radial-gradient(circle at 92% 34%, rgba(120, 181, 220, .13), transparent 32rem),
    var(--cream);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: 1000;
  pointer-events: none;
  content: "";
  opacity: .18;
  mix-blend-mode: multiply;
  background-image:
    repeating-linear-gradient(95deg, rgba(86, 61, 33, .022) 0 1px, transparent 1px 5px),
    repeating-linear-gradient(2deg, rgba(255, 255, 255, .12) 0 1px, transparent 1px 7px);
}

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }

button:focus-visible,
a:focus-visible,
input:focus-visible,
[tabindex]:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 4px;
}

::selection { color: var(--paper); background: var(--brick); }

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: fixed;
  top: 16px;
  left: 16px;
  z-index: 1002;
  transform: translateY(-160%);
  padding: 12px 18px;
  border-radius: 99px;
  background: var(--paper);
  color: var(--indigo);
  font-weight: 800;
  transition: transform .2s ease;
}

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

.scroll-progress {
  position: fixed;
  inset: 0 0 auto;
  z-index: 1001;
  height: 3px;
  pointer-events: none;
}

.scroll-progress span {
  display: block;
  width: 100%;
  height: 100%;
  transform: scaleX(0);
  transform-origin: left;
  background: linear-gradient(90deg, var(--brick), var(--gold));
}

.section-shell {
  width: var(--shell);
  margin-inline: auto;
}

.eyebrow {
  margin: 0 0 18px;
  color: var(--brick);
  font-size: .77rem;
  font-weight: 800;
  letter-spacing: .17em;
  line-height: 1.3;
  text-transform: uppercase;
}

h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 {
  font-family: var(--display);
  font-weight: 600;
  line-height: .98;
  letter-spacing: -.04em;
}

h2 {
  margin-bottom: 24px;
  font-size: clamp(3rem, 7vw, 6.8rem);
}

h2 em,
h1 em {
  color: var(--brick);
  font-style: normal;
}

.button {
  display: inline-flex;
  min-height: 54px;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 15px 24px;
  border: 1px solid transparent;
  border-radius: 999px;
  cursor: pointer;
  font-family: var(--display);
  font-size: .94rem;
  font-weight: 600;
  letter-spacing: .01em;
  transition: transform .25s var(--ease-out), box-shadow .25s var(--ease-out), background .25s ease;
}

.button svg {
  width: 19px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
  transition: transform .25s var(--ease-out);
}

.button-primary {
  color: #fffaf0;
  background: var(--brick);
  box-shadow: 0 10px 24px rgba(126, 44, 21, .25);
}

.button:hover { transform: translateY(-3px); }
.button:active { transform: translateY(0) scale(.98); }
.button:hover svg { transform: translateX(3px); }
.button-primary:hover { background: #9f381f; box-shadow: 0 15px 32px rgba(126, 44, 21, .3); }

.text-link {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  gap: 10px;
  border-bottom: 1px solid currentColor;
  font-family: var(--display);
  font-size: .92rem;
  font-weight: 600;
  transition: gap .25s ease, color .25s ease;
}

.text-link:hover { gap: 15px; color: var(--brick); }
.text-link svg,
.map-card a svg {
  width: 17px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.reveal {
  opacity: 0;
  transform: translateY(38px);
  transition: opacity .8s var(--ease-out), transform .8s var(--ease-out);
}

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

/* Header */
.site-header {
  position: fixed;
  inset: 20px max(22px, calc((100vw - 1440px) / 2)) auto;
  z-index: 100;
  display: flex;
  min-height: 68px;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  padding: 10px 12px 10px 22px;
  border: 1px solid rgba(255, 255, 255, .3);
  border-radius: 999px;
  color: var(--paper);
  transition: color .35s ease, background .35s ease, box-shadow .35s ease, border-color .35s ease;
}

.site-header.is-scrolled,
.site-header.is-open {
  color: var(--indigo);
  border-color: rgba(70, 49, 27, .12);
  background: rgba(255, 250, 240, .88);
  box-shadow: 0 12px 45px rgba(32, 26, 18, .13);
  backdrop-filter: blur(16px);
}

.wordmark {
  display: inline-flex;
  flex-direction: column;
  line-height: 1;
}

.wordmark > span,
.footer-mark > span {
  font-family: var(--display);
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -.04em;
}

.wordmark i,
.footer-mark i { color: var(--brick); font-style: normal; }

.wordmark small {
  margin-top: 4px;
  font-size: .55rem;
  font-weight: 800;
  letter-spacing: .11em;
  text-transform: uppercase;
}

.primary-nav {
  display: flex;
  align-items: center;
  gap: clamp(17px, 2vw, 32px);
  font-family: var(--display);
  font-size: .77rem;
  font-weight: 600;
}

.primary-nav > a:not(.nav-cta) {
  position: relative;
  padding-block: 10px;
}

.primary-nav > a:not(.nav-cta)::after {
  position: absolute;
  right: 0;
  bottom: 4px;
  left: 0;
  height: 1px;
  content: "";
  transform: scaleX(0);
  transform-origin: right;
  background: currentColor;
  transition: transform .25s ease;
}

.primary-nav > a:hover::after,
.primary-nav > a[aria-current="true"]::after {
  transform: scaleX(1);
  transform-origin: left;
}

.nav-cta {
  padding: 11px 17px;
  border-radius: 999px;
  color: var(--paper);
  background: var(--brick);
}

.menu-toggle {
  display: none;
  width: 48px;
  height: 48px;
  padding: 14px;
  border: 0;
  border-radius: 50%;
  cursor: pointer;
  color: currentColor;
  background: transparent;
}

.menu-toggle > span:not(.sr-only) {
  display: block;
  width: 20px;
  height: 2px;
  margin: 4px auto;
  border-radius: 2px;
  background: currentColor;
  transition: transform .25s ease, opacity .25s ease;
}

/* Hero */
.hero {
  position: relative;
  min-height: 100svh;
  overflow: hidden;
  color: var(--paper);
  isolation: isolate;
}

.hero-art {
  position: absolute;
  inset: 0;
  z-index: -3;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 55% center;
  transform: scale(1.035);
  animation: hero-breathe 9s var(--ease-out) both;
}

.hero-wash {
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(90deg, rgba(21, 43, 58, .88) 0%, rgba(26, 47, 61, .7) 27%, rgba(26, 47, 61, .18) 55%, rgba(26, 47, 61, .03) 100%),
    linear-gradient(0deg, rgba(19, 38, 51, .46), transparent 36%);
}

.hero-wash::after {
  position: absolute;
  inset: 0;
  content: "";
  background: radial-gradient(circle at 21% 45%, rgba(233, 185, 78, .18), transparent 25rem);
}

.hero-copy {
  width: min(680px, calc(100vw - 48px));
  padding: clamp(190px, 24vh, 270px) 0 150px;
  margin-left: max(32px, calc((100vw - 1240px) / 2));
  animation: hero-copy-in 1s .15s var(--ease-out) both;
}

.hero-kicker { color: #ffd9dc; }

.hero h1 {
  display: flex;
  margin-bottom: 30px;
  flex-direction: column;
  font-size: clamp(4.25rem, 8.7vw, 9rem);
  letter-spacing: -.065em;
  line-height: .79;
  text-shadow: 0 6px 30px rgba(16, 29, 39, .22);
}

.hero h1 span:nth-child(2) { margin-left: .42em; }
.hero h1 em {
  margin-top: .18em;
  color: #ffe2a1;
  font-size: .58em;
  letter-spacing: -.035em;
  line-height: .94;
}

.hero-lede {
  max-width: 50ch;
  margin-bottom: 32px;
  color: rgba(255, 250, 240, .9);
  font-size: clamp(1.05rem, 1.5vw, 1.25rem);
  line-height: 1.55;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 28px;
  flex-wrap: wrap;
}

.hero-actions .text-link { color: var(--paper); }
.hero-actions .text-link:hover { color: #ffe2a1; }

.hero-stamp {
  position: absolute;
  right: max(32px, calc((100vw - 1240px) / 2));
  bottom: 11vh;
  display: grid;
  width: 128px;
  height: 128px;
  place-content: center;
  transform: rotate(7deg);
  border: 1px solid rgba(255, 250, 240, .7);
  border-radius: 50%;
  color: var(--paper);
  text-align: center;
  animation: stamp-in .8s .8s var(--ease-out) both;
}

.hero-stamp::before {
  position: absolute;
  inset: 7px;
  border: 1px dashed rgba(255, 250, 240, .55);
  border-radius: inherit;
  content: "";
}

.hero-stamp span,
.hero-stamp small {
  font-size: .56rem;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.hero-stamp strong {
  font-family: var(--display);
  font-size: 1.45rem;
  line-height: 1.05;
}

.scroll-cue {
  position: absolute;
  bottom: 28px;
  left: 50%;
  display: flex;
  align-items: center;
  gap: 12px;
  transform: translateX(-50%);
  font-size: .63rem;
  font-weight: 800;
  letter-spacing: .13em;
  text-transform: uppercase;
}

.scroll-cue i {
  position: relative;
  display: block;
  width: 22px;
  height: 34px;
  border: 1px solid rgba(255, 250, 240, .7);
  border-radius: 99px;
}

.scroll-cue i::before {
  position: absolute;
  top: 7px;
  left: 9px;
  width: 3px;
  height: 7px;
  border-radius: 99px;
  content: "";
  background: var(--paper);
  animation: scroll-dot 1.8s infinite;
}

.petal {
  position: absolute;
  z-index: -1;
  top: -10%;
  width: var(--petal-size);
  aspect-ratio: 1.6;
  transform: rotate(35deg);
  border-radius: 75% 20% 65% 35%;
  opacity: .75;
  background: linear-gradient(135deg, #ffe0e2, #ef9eae);
  animation: petal-fall var(--petal-duration) var(--petal-delay) linear infinite;
}

/* Opening */
.opening {
  display: grid;
  padding-block: clamp(110px, 15vw, 220px);
  grid-template-columns: .55fr 2fr 1.1fr;
  gap: clamp(32px, 5vw, 90px);
  align-items: start;
}

.opening-mark {
  display: grid;
  width: clamp(80px, 10vw, 120px);
  aspect-ratio: 1;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--sakura);
}

.opening-mark svg {
  width: 58%;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.opening h2 {
  max-width: 850px;
  margin: 0;
  font-size: clamp(3.1rem, 6.5vw, 6.8rem);
}

.opening-note {
  padding-top: 54px;
  color: var(--muted);
}

.opening-note p { margin-bottom: 32px; }

.promise-row {
  display: flex;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  flex-wrap: wrap;
  gap: 10px 20px;
  color: var(--indigo);
  font-family: var(--display);
  font-size: .79rem;
  font-weight: 600;
}

.promise-row span:not(:last-child)::after {
  margin-left: 20px;
  color: var(--sakura);
  content: "•";
}

/* Friends */
.friends {
  position: relative;
  padding-block: clamp(90px, 11vw, 160px);
  overflow: hidden;
  background: var(--paper-deep);
}

.friends::before,
.friends::after {
  position: absolute;
  width: 420px;
  height: 420px;
  border: 90px solid rgba(242, 184, 195, .18);
  border-radius: 50%;
  content: "";
}

.friends::before { top: -240px; left: -140px; }
.friends::after { right: -190px; bottom: -250px; border-color: rgba(120, 181, 220, .14); }

.section-heading {
  position: relative;
  z-index: 1;
  display: grid;
  margin-bottom: clamp(55px, 8vw, 100px);
  grid-template-columns: 1.5fr .7fr;
  gap: 80px;
  align-items: end;
}

.section-heading h2 {
  max-width: 870px;
  margin: 0;
}

.section-heading > p {
  max-width: 37ch;
  margin: 0 0 12px auto;
  color: var(--muted);
}

.character-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(18px, 2.6vw, 34px);
}

.character-card {
  min-width: 0;
  overflow: hidden;
  transform-style: preserve-3d;
  border: 1px solid rgba(89, 62, 32, .13);
  border-radius: var(--radius-md);
  background: rgba(255, 250, 240, .78);
  box-shadow: var(--shadow-sm);
  transition: box-shadow .35s ease;
  will-change: transform;
}

.character-card:hover { box-shadow: var(--shadow-lg); }

.character-visual {
  position: relative;
  height: clamp(390px, 41vw, 530px);
  overflow: hidden;
  background: var(--sakura-soft);
}

.character-visual::after {
  position: absolute;
  inset: auto 0 0;
  height: 25%;
  content: "";
  background: linear-gradient(transparent, rgba(42, 34, 27, .16));
}

.character-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .7s var(--ease-out);
}

.character-card:hover .character-visual img { transform: scale(1.025); }
.character-sofi .character-visual img { object-position: center top; }
.character-lolo .character-visual img { object-position: center center; }
.character-aiko .character-visual img { object-position: center 18%; }
.character-lolo .character-visual { background: #b9d1dc; }
.character-aiko .character-visual { background: #f6dccd; }

.character-number {
  position: absolute;
  z-index: 2;
  top: 22px;
  left: 24px;
  color: rgba(46, 41, 36, .5);
  font-family: var(--display);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .12em;
}

.character-tag {
  position: absolute;
  z-index: 2;
  right: 18px;
  bottom: 18px;
  padding: 8px 13px;
  border: 1px solid rgba(255, 250, 240, .55);
  border-radius: 99px;
  color: var(--paper);
  background: rgba(41, 70, 95, .82);
  backdrop-filter: blur(8px);
  font-family: var(--display);
  font-size: .65rem;
  font-weight: 600;
}

.character-copy { padding: 28px 28px 30px; }

.character-copy > div {
  display: flex;
  margin-bottom: 18px;
  align-items: baseline;
  justify-content: space-between;
  gap: 20px;
}

.character-copy h3 { margin: 0; font-size: 2rem; }
.character-copy > div span { color: var(--brick); font-size: .68rem; font-weight: 800; text-transform: uppercase; letter-spacing: .1em; }
.character-copy p { min-height: 108px; margin-bottom: 22px; color: var(--muted); font-size: .92rem; }
.character-copy small { display: block; padding-top: 17px; border-top: 1px solid var(--line); color: var(--indigo); font-size: .7rem; font-weight: 800; }

/* Book */
.book-section {
  position: relative;
  min-height: 940px;
  overflow: hidden;
  color: var(--paper);
  background: var(--indigo-deep);
  isolation: isolate;
}

.journal-art {
  position: absolute;
  inset: 0;
  z-index: -3;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: saturate(.85) contrast(1.03);
}

.book-overlay {
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(90deg, rgba(22, 39, 52, .25), rgba(23, 44, 61, .93) 59%, rgba(23, 44, 61, .98)),
    linear-gradient(0deg, rgba(17, 33, 45, .5), transparent 50%);
}

.book-layout {
  display: grid;
  min-height: 940px;
  padding-block: 130px;
  grid-template-columns: .82fr 1fr;
  gap: clamp(80px, 9vw, 150px);
  align-items: center;
}

.book-object {
  position: relative;
  width: min(500px, 42vw);
  transform: rotate(-4deg);
  perspective: 1200px;
  transition: transform .35s var(--ease-out);
  will-change: transform;
}

.book-object img {
  position: relative;
  z-index: 2;
  width: 100%;
  height: auto;
  aspect-ratio: 1;
  border: 7px solid rgba(255, 250, 240, .82);
  border-radius: 9px 17px 17px 9px;
  object-fit: cover;
  box-shadow: 26px 34px 70px rgba(12, 24, 33, .45);
}

.book-object::before {
  position: absolute;
  z-index: 3;
  top: 8px;
  bottom: 8px;
  left: 11px;
  width: 12px;
  border-radius: 7px;
  content: "";
  background: linear-gradient(90deg, rgba(28, 28, 27, .3), rgba(255, 255, 255, .25), transparent);
}

.book-shadow {
  position: absolute;
  z-index: 1;
  right: 4%;
  bottom: -9%;
  left: 7%;
  height: 18%;
  transform: rotate(3deg);
  border-radius: 50%;
  background: rgba(9, 19, 27, .55);
  filter: blur(26px);
}

.book-ribbon {
  position: absolute;
  z-index: 4;
  top: 28px;
  right: -22px;
  padding: 12px 25px;
  transform: rotate(7deg);
  border-radius: 4px;
  color: var(--indigo-deep);
  background: var(--gold);
  box-shadow: 0 7px 18px rgba(37, 27, 15, .22);
  font-family: var(--display);
  font-size: .8rem;
  font-weight: 700;
}

.book-copy { max-width: 620px; }
.book-copy .eyebrow { color: #f7c4ca; }
.book-copy h2 { font-size: clamp(3.5rem, 6.7vw, 6.9rem); }
.book-copy h2 em { color: #ffd77d; }
.book-copy > p { max-width: 52ch; color: rgba(255, 250, 240, .78); }

.book-details {
  display: grid;
  margin: 38px 0;
  padding-block: 24px;
  border-block: 1px solid rgba(255, 250, 240, .16);
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.book-details div { display: flex; flex-direction: column; gap: 4px; }
.book-details dt { color: #f7c4ca; font-size: .61rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.book-details dd { margin: 0; font-family: var(--display); font-size: .82rem; font-weight: 500; }
.book-actions { display: flex; align-items: center; gap: 26px; flex-wrap: wrap; }
.book-actions .text-link { color: var(--paper); }

/* Journey */
.journey {
  padding-block: clamp(110px, 14vw, 200px);
  background: var(--paper);
}

.journey-heading {
  display: grid;
  margin-bottom: 70px;
  grid-template-columns: 1.25fr .55fr;
  column-gap: 80px;
}

.journey-heading .eyebrow { grid-column: 1 / -1; }
.journey-heading h2 { margin-bottom: 0; }
.journey-heading > p { align-self: end; margin: 0 0 12px; color: var(--muted); }

.story-carousel { position: relative; }

.story-track {
  display: flex;
  overflow-x: auto;
  gap: 24px;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  cursor: grab;
}

.story-track:active { cursor: grabbing; }
.story-track::-webkit-scrollbar { display: none; }

.story-card {
  position: relative;
  min-width: min(76vw, 920px);
  margin: 0;
  overflow: hidden;
  scroll-snap-align: start;
  border-radius: var(--radius-md);
  background: var(--cream);
  box-shadow: var(--shadow-sm);
}

.story-card img {
  width: 100%;
  aspect-ratio: 1.45;
  object-fit: cover;
  transition: transform .6s var(--ease-out);
}

.story-card:hover img { transform: scale(1.02); }

.story-card figcaption {
  display: grid;
  min-height: 110px;
  padding: 25px 30px;
  grid-template-columns: auto 1fr;
  gap: 25px;
  align-items: start;
}

.story-card figcaption span {
  color: var(--brick);
  font-family: var(--display);
  font-size: .7rem;
  font-weight: 700;
}

.story-card figcaption p {
  max-width: 34ch;
  margin: 0;
  font-family: var(--display);
  font-size: clamp(1.2rem, 2vw, 1.65rem);
  line-height: 1.16;
}

.story-card figcaption em { color: var(--brick); font-style: normal; }

.carousel-controls {
  display: flex;
  margin-top: 34px;
  align-items: center;
  justify-content: flex-end;
  gap: 18px;
}

.carousel-controls button {
  display: grid;
  width: 52px;
  height: 52px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  cursor: pointer;
  color: var(--indigo);
  background: transparent;
  transition: color .2s ease, background .2s ease, transform .2s ease;
}

.carousel-controls button:hover { color: var(--paper); background: var(--indigo); transform: scale(1.04); }
.carousel-controls button:disabled { cursor: default; opacity: .35; transform: none; }
.carousel-controls svg { width: 22px; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 2; }

.carousel-status {
  display: flex;
  min-width: 150px;
  align-items: center;
  gap: 12px;
  color: var(--muted);
  font-family: var(--display);
  font-size: .7rem;
  font-weight: 600;
}

.carousel-status span { height: 1px; flex: 1; background: var(--line); }
.carousel-status strong { color: var(--brick); font-size: 1rem; }

/* Map */
.map-section {
  position: relative;
  padding-block: clamp(120px, 14vw, 210px);
  overflow: hidden;
  color: var(--paper);
  background:
    radial-gradient(circle at 85% 20%, rgba(120, 181, 220, .14), transparent 28rem),
    radial-gradient(circle at 5% 85%, rgba(233, 185, 78, .1), transparent 24rem),
    var(--indigo-deep);
}

.map-orbit {
  position: absolute;
  border: 1px solid rgba(255, 250, 240, .08);
  border-radius: 50%;
}

.orbit-one { top: -360px; right: -260px; width: 800px; height: 800px; }
.orbit-two { bottom: -380px; left: -280px; width: 700px; height: 700px; }

.map-heading {
  display: grid;
  margin-bottom: 70px;
  grid-template-columns: 1.45fr .55fr;
  column-gap: 80px;
  align-items: end;
}

.map-heading .eyebrow { grid-column: 1 / -1; color: #f7c4ca; }
.map-heading h2 { margin: 0; font-size: clamp(3.5rem, 7.2vw, 7.1rem); }
.map-heading h2 em { color: #ffd77d; }
.map-heading > p { margin: 0 0 12px; color: rgba(255, 250, 240, .68); }

.map-frame {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 250, 240, .18);
  border-radius: var(--radius-lg);
  background: #8fc3dd;
  box-shadow: 0 38px 90px rgba(8, 20, 28, .4);
}

.map-topline {
  position: absolute;
  z-index: 3;
  top: 22px;
  right: 26px;
  left: 26px;
  display: flex;
  justify-content: space-between;
  color: rgba(255, 250, 240, .85);
  font-size: .61rem;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.map-key { display: flex; align-items: center; gap: 8px; }
.map-key i { width: 8px; height: 8px; border-radius: 50%; background: var(--brick); box-shadow: 0 0 0 6px rgba(183, 71, 42, .18); }

.world-map { min-height: 520px; }
.world-map img,
.world-map svg {
  display: block;
  width: 100%;
  height: auto;
  min-height: 520px;
  object-fit: cover;
}

.world-map .pin { cursor: pointer; }
.world-map .pin-head { transform-box: fill-box; transform-origin: center; transition: transform .25s var(--ease-out); }
.world-map .pin:hover .pin-head,
.world-map .pin:focus .pin-head { transform: translateY(-8px); }
.world-map .pulse { transform-box: fill-box; transform-origin: center; animation: map-pulse 2.1s ease-out infinite; }

.map-scroll { overflow: hidden; }
.map-scroll .world-map {
  width: 100%;
  min-height: 0;
  aspect-ratio: 1603 / 742;
}
.map-scroll .world-map img,
.map-scroll .world-map svg {
  width: 100%;
  height: 100%;
  min-height: 0;
  object-fit: contain;
}
.map-mobile-hint { display: none; }

.map-card {
  position: absolute;
  z-index: 4;
  right: 28px;
  bottom: 28px;
  display: flex;
  width: min(320px, calc(100% - 56px));
  padding: 22px 24px;
  flex-direction: column;
  border: 1px solid rgba(255, 255, 255, .45);
  border-radius: 20px;
  color: var(--indigo);
  background: rgba(255, 250, 240, .92);
  box-shadow: 0 18px 44px rgba(25, 41, 53, .24);
  backdrop-filter: blur(14px);
  transition: opacity .25s ease, transform .25s var(--ease-out);
}

.map-card span { color: var(--brick); font-size: .59rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.map-card strong { margin: 5px 0 13px; font-family: var(--display); font-size: 1.55rem; line-height: 1; }
.map-card a { display: inline-flex; align-self: flex-start; align-items: center; gap: 8px; border-bottom: 1px solid currentColor; font-family: var(--display); font-size: .76rem; font-weight: 600; }

/* About */
.about { padding-block: clamp(110px, 14vw, 210px); }

.about-grid {
  display: grid;
  grid-template-columns: 1fr .88fr;
  gap: clamp(60px, 9vw, 140px);
  align-items: center;
}

.about-art {
  position: relative;
  overflow: hidden;
  transform: rotate(-2deg);
  border: 9px solid var(--paper);
  border-radius: 8px;
  box-shadow: var(--shadow-lg);
}

.about-art img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: center; }

.about-art span {
  position: absolute;
  right: 18px;
  bottom: 18px;
  padding: 11px 14px;
  transform: rotate(2deg);
  border-radius: 4px;
  color: var(--paper);
  background: var(--brick);
  font-family: var(--display);
  font-size: .68rem;
  font-weight: 600;
  line-height: 1.2;
}

.about-copy h2 { font-size: clamp(3.3rem, 6.4vw, 6rem); }
.about-copy > p { max-width: 53ch; color: var(--muted); }

.about-copy blockquote {
  position: relative;
  margin: 42px 0 0;
  padding: 28px 0 0 38px;
  border-top: 1px solid var(--line);
  color: var(--indigo);
  font-family: var(--display);
  font-size: clamp(1.2rem, 2vw, 1.6rem);
  line-height: 1.35;
}

.about-copy blockquote::before {
  position: absolute;
  top: 20px;
  left: 0;
  color: var(--sakura);
  content: "“";
  font-size: 3.5rem;
  line-height: 1;
}

/* Club */
.club {
  position: relative;
  padding-block: clamp(100px, 12vw, 170px);
  overflow: hidden;
  color: var(--indigo-deep);
  background:
    linear-gradient(135deg, rgba(255, 250, 240, .8), rgba(250, 243, 226, .25)),
    var(--sakura);
}

.club-inner { position: relative; z-index: 2; max-width: 830px; text-align: center; }
.club .eyebrow { color: var(--brick); }
.club h2 { margin-bottom: 24px; font-size: clamp(3.7rem, 7.5vw, 7.3rem); }
.club h2 em { color: var(--brick); }
.club-inner > p:not(.eyebrow) { max-width: 55ch; margin: 0 auto 38px; color: #5e4b48; }

.club-form { max-width: 720px; margin-inline: auto; }
.club-form > label { display: block; margin: 0 0 9px 18px; text-align: left; font-size: .7rem; font-weight: 800; }

.form-row {
  display: flex;
  padding: 7px;
  border: 1px solid rgba(74, 46, 38, .14);
  border-radius: 999px;
  background: rgba(255, 250, 240, .82);
  box-shadow: 0 14px 45px rgba(93, 59, 46, .12);
}

.form-row input {
  min-width: 0;
  height: 58px;
  padding: 0 22px;
  flex: 1;
  border: 0;
  outline: 0;
  color: var(--ink);
  background: transparent;
  font-size: 1rem;
}

.form-row input::placeholder { color: #897873; opacity: 1; }
.form-row input:focus-visible { border-radius: 999px; outline: 3px solid var(--indigo); outline-offset: -3px; }
.form-note { margin: 12px 0 0; color: #695b56; font-size: .68rem; }
.form-message { min-height: 1.5em; margin: 14px 0 0; color: var(--indigo); font-size: .8rem; font-weight: 800; }

.club-bloom {
  position: absolute;
  width: 520px;
  height: 520px;
  border: 85px solid rgba(255, 250, 240, .25);
  border-radius: 50% 44% 51% 42%;
}

.bloom-left { top: -320px; left: -240px; transform: rotate(25deg); }
.bloom-right { right: -260px; bottom: -350px; transform: rotate(-20deg); }

/* Footer */
.site-footer {
  display: grid;
  padding: 54px max(32px, calc((100vw - 1240px) / 2));
  color: rgba(255, 250, 240, .72);
  background: var(--indigo-deep);
  grid-template-columns: 1fr auto;
  gap: 28px 40px;
  align-items: center;
}

.footer-mark { display: flex; flex-direction: column; color: var(--paper); }
.footer-mark small { margin-top: 5px; font-size: .63rem; }
.footer-links { display: flex; gap: 24px; font-size: .7rem; font-weight: 700; }
.footer-links a:hover { color: var(--gold); }
.site-footer > p { margin: 0; text-align: right; font-size: .65rem; }
.footer-social {
  display: flex;
  align-items: center;
  gap: 18px 26px;
  flex-wrap: wrap;
}
.footer-social a,
.footer-social .social-coming {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  gap: 9px;
  font-size: .68rem;
  font-weight: 700;
}
.footer-social a:hover { color: var(--gold); }
.footer-social .social-coming { opacity: .55; }
.footer-social svg {
  width: 19px;
  height: 19px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.7;
}

/* Lightbox */
.lightbox {
  width: min(1100px, calc(100vw - 40px));
  max-width: none;
  padding: 12px;
  overflow: visible;
  border: 0;
  border-radius: var(--radius-md);
  background: var(--paper);
  box-shadow: 0 40px 100px rgba(0, 0, 0, .55);
}

.lightbox::backdrop { background: rgba(17, 32, 43, .82); backdrop-filter: blur(8px); }
.lightbox img { width: 100%; max-height: 80vh; border-radius: 20px; object-fit: contain; }
.lightbox-close {
  position: absolute;
  z-index: 2;
  top: -18px;
  right: -18px;
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  border: 3px solid var(--paper);
  border-radius: 50%;
  cursor: pointer;
  color: var(--paper);
  background: var(--brick);
}
.lightbox-close svg { width: 20px; fill: none; stroke: currentColor; stroke-linecap: round; stroke-width: 2; }

/* Motion */
@keyframes hero-breathe {
  from { transform: scale(1.08); }
  to { transform: scale(1.035); }
}

@keyframes hero-copy-in {
  from { opacity: 0; transform: translateY(35px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes stamp-in {
  from { opacity: 0; transform: rotate(17deg) scale(.7); }
  to { opacity: 1; transform: rotate(7deg) scale(1); }
}

@keyframes scroll-dot {
  0% { opacity: 0; transform: translateY(0); }
  30% { opacity: 1; }
  100% { opacity: 0; transform: translateY(12px); }
}

@keyframes petal-fall {
  from { transform: translate3d(var(--petal-drift-start), -10vh, 0) rotate(0); }
  to { transform: translate3d(var(--petal-drift-end), 115vh, 0) rotate(420deg); }
}

@keyframes map-pulse {
  0% { opacity: .55; transform: scale(.55); }
  75%, 100% { opacity: 0; transform: scale(1.8); }
}

/* Responsive */
@media (max-width: 1080px) {
  :root { --shell: min(100% - 44px, 980px); }
  .primary-nav { gap: 14px; }
  .hero-copy { margin-left: max(30px, calc((100vw - 980px) / 2)); }
  .opening { grid-template-columns: .35fr 1.6fr 1fr; gap: 42px; }
  .character-copy p { min-height: 135px; }
  .book-layout { gap: 70px; }
  .map-heading { grid-template-columns: 1.2fr .55fr; }
}

@media (max-width: 840px) {
  :root { --shell: min(100% - 36px, 720px); }
  body { font-size: 16px; }
  .site-header { inset: 14px 14px auto; padding-left: 18px; }
  .menu-toggle { display: block; }
  .primary-nav {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    left: 0;
    display: flex;
    padding: 16px;
    transform: translateY(-12px);
    visibility: hidden;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    opacity: 0;
    border: 1px solid var(--line);
    border-radius: 26px;
    color: var(--indigo);
    background: rgba(255, 250, 240, .97);
    box-shadow: var(--shadow-sm);
    transition: opacity .25s ease, transform .25s var(--ease-out), visibility .25s;
  }
  .site-header.is-open .primary-nav { transform: translateY(0); visibility: visible; opacity: 1; }
  .primary-nav > a:not(.nav-cta) { display: block; padding: 12px 15px; }
  .nav-cta { margin-top: 5px; text-align: center; }
  .site-header.is-open .menu-toggle > span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
  .site-header.is-open .menu-toggle > span:nth-child(2) { opacity: 0; }
  .site-header.is-open .menu-toggle > span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

  .hero { min-height: 900px; }
  .hero-art { object-position: 64% center; }
  .hero-wash { background: linear-gradient(90deg, rgba(20, 42, 57, .88), rgba(26, 47, 61, .5) 75%, rgba(26, 47, 61, .12)); }
  .hero-copy { padding-top: 190px; margin-left: 28px; }
  .hero-stamp { right: 26px; bottom: 75px; width: 104px; height: 104px; }

  .opening { grid-template-columns: 1fr; gap: 34px; }
  .opening-mark { display: none; }
  .opening-note { max-width: 55ch; padding-top: 0; }

  .section-heading,
  .journey-heading,
  .map-heading { grid-template-columns: 1fr; gap: 24px; }
  .section-heading > p { margin-left: 0; }
  .journey-heading .eyebrow,
  .map-heading .eyebrow { grid-column: 1; }
  .journey-heading > p,
  .map-heading > p { max-width: 55ch; }

  .character-grid { grid-template-columns: 1fr; }
  .character-card { display: grid; grid-template-columns: .9fr 1fr; }
  .character-visual { height: 430px; }
  .character-copy { display: flex; padding: 28px; flex-direction: column; justify-content: center; }
  .character-copy p { min-height: 0; }

  .book-layout { grid-template-columns: 1fr; padding-block: 110px; }
  .book-object { width: min(520px, 78vw); margin-inline: auto; }
  .book-copy { max-width: 680px; }
  .book-section,
  .book-layout { min-height: auto; }
  .book-overlay { background: linear-gradient(0deg, rgba(23, 44, 61, .98) 0%, rgba(23, 44, 61, .88) 55%, rgba(23, 44, 61, .3)); }

  .story-card { min-width: 88vw; }
  .map-topline { position: relative; top: auto; right: auto; left: auto; padding: 18px 20px; color: var(--indigo); background: rgba(255, 250, 240, .75); }
  .world-map,
  .world-map img,
  .world-map svg { min-height: 390px; }
  .map-card { right: 18px; bottom: 18px; }

  .about-grid { grid-template-columns: 1fr; }
  .about-art { width: min(560px, 92%); margin-inline: auto; }
  .about-art img { aspect-ratio: 5 / 4; }

  .site-footer { grid-template-columns: 1fr; text-align: center; }
  .footer-mark { align-items: center; }
  .footer-links { justify-content: center; flex-wrap: wrap; }
  .site-footer > p { text-align: center; }
}

@media (max-width: 600px) {
  :root { --shell: calc(100% - 28px); }
  .wordmark small { display: none; }
  .hero { min-height: 820px; }
  .hero-art { object-position: 68% center; }
  .hero-wash { background: linear-gradient(0deg, rgba(19, 38, 51, .82) 0%, rgba(20, 42, 57, .68) 56%, rgba(26, 47, 61, .2) 100%); }
  .hero-copy {
    width: calc(100% - 36px);
    padding: 170px 0 160px;
    margin-inline: 18px;
  }
  .hero h1 { font-size: clamp(3.6rem, 17vw, 5.7rem); line-height: .84; }
  .hero h1 span:nth-child(2) { margin-left: 0; }
  .hero h1 em { font-size: .58em; }
  .hero-lede { max-width: 38ch; }
  .hero-actions { gap: 20px; }
  .hero-actions .button { width: 100%; }
  .hero-stamp { display: none; }
  .scroll-cue span { display: none; }

  h2 { font-size: clamp(2.8rem, 15vw, 4.5rem); }
  .opening h2 { font-size: clamp(2.8rem, 14vw, 4.5rem); }
  .opening { padding-block: 95px; }
  .promise-row span:not(:last-child)::after { margin-left: 12px; }

  .friends { padding-block: 90px; }
  .section-heading { margin-bottom: 45px; }
  .section-heading h2 { font-size: clamp(3rem, 15vw, 4.7rem); }
  .character-card { display: block; }
  .character-visual { height: 460px; }
  .character-copy { display: block; }
  .character-copy > div { align-items: flex-end; }

  .book-layout { padding-block: 90px; gap: 80px; }
  .book-object { width: min(82vw, 430px); }
  .book-ribbon { right: -10px; }
  .book-copy h2 { font-size: clamp(3.1rem, 15vw, 5rem); }
  .book-details { grid-template-columns: 1fr 1fr; }
  .book-details div:last-child { grid-column: 1 / -1; }
  .book-actions { align-items: flex-start; flex-direction: column; }
  .book-actions .button { width: 100%; }

  .journey { padding-block: 100px; }
  .journey-heading h2,
  .map-heading h2,
  .about-copy h2,
  .club h2 { font-size: clamp(3rem, 14.6vw, 4.8rem); }
  .story-card { min-width: 91vw; }
  .story-card img { aspect-ratio: 1 / .9; }
  .story-card figcaption { min-height: 135px; padding: 22px; }
  .carousel-controls { justify-content: space-between; }

  .map-section { padding-block: 100px; }
  .map-frame { border-radius: 25px; }
  .map-topline span:first-child { display: none; }
  .map-topline { justify-content: flex-end; }
  .world-map,
  .world-map img,
  .world-map svg { min-height: 310px; }
  .map-card { position: relative; right: auto; bottom: auto; width: auto; margin: -1px; border-radius: 0 0 24px 24px; }

  .about { padding-block: 100px; }
  .about-art { width: 100%; }
  .about-art img { aspect-ratio: 4 / 5; }

  .club { padding-block: 90px; }
  .form-row { padding: 8px; border-radius: 28px; flex-direction: column; }
  .form-row input { width: 100%; }
  .form-row .button { width: 100%; }
  .club-form > label { margin-left: 10px; }

  .lightbox { width: calc(100vw - 24px); padding: 7px; }
  .lightbox-close { top: 10px; right: 10px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
  .reveal { opacity: 1; transform: none; }
}

/* --------------------------------------------------------------------------
   Book collection — dimensional cover shelf
   -------------------------------------------------------------------------- */
.collection-page { background: #d98573; }
.collection-page .site-header { color: var(--paper); }
.collection-page .site-header.is-scrolled,
.collection-page .site-header.is-open { color: var(--indigo); }

.collection-hero {
  --collection-bg: #d98573;
  --collection-deep: #8f3f32;
  --collection-accent: #f0c968;
  --collection-surface: #fff4df;
  --collection-ink: #2e2924;
  position: relative;
  isolation: isolate;
  display: flex;
  min-height: 1080px;
  padding: 150px max(28px, calc((100vw - 1320px) / 2)) 54px;
  overflow: hidden;
  flex-direction: column;
  color: var(--paper);
  background: var(--collection-bg);
  transition: background-color .45s var(--ease-out);
}

.collection-background,
.collection-wash {
  position: absolute;
  inset: 0;
  z-index: -3;
}

.collection-background img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 1;
  filter: saturate(.82) contrast(1.03);
  transition: opacity .22s ease;
}

.collection-wash {
  z-index: -2;
  background:
    radial-gradient(circle at 50% 38%, color-mix(in srgb, var(--collection-accent) 34%, transparent) 0 18%, transparent 43%),
    linear-gradient(180deg, color-mix(in srgb, var(--collection-deep) 74%, transparent), color-mix(in srgb, var(--collection-bg) 82%, transparent) 62%, var(--collection-deep));
  transition: background .45s var(--ease-out);
}

.collection-wash::after {
  position: absolute;
  inset: 8% 18% 17%;
  border: 1px solid rgba(255, 250, 240, .2);
  border-radius: 50%;
  content: "";
  transform: rotate(-8deg);
}

.collection-intro {
  position: absolute;
  z-index: 5;
  top: 145px;
  left: max(28px, calc((100vw - 1320px) / 2));
  width: min(390px, 29vw);
}

.collection-intro .eyebrow { color: var(--collection-accent); }
.collection-intro h1 {
  margin-bottom: 22px;
  font-size: clamp(3.3rem, 5.4vw, 6.3rem);
  line-height: .88;
}
.collection-intro h1 em { color: var(--collection-accent); }
.collection-intro > p:last-child { max-width: 33ch; color: rgba(255, 250, 240, .8); }

.collection-stage {
  position: relative;
  display: grid;
  min-height: 585px;
  margin-top: 50px;
  place-items: center;
}

.collection-deck {
  position: relative;
  width: min(100%, 1060px);
  height: 585px;
  margin-left: min(19vw, 285px);
  outline: none;
  perspective: 1500px;
  touch-action: pan-y;
  cursor: grab;
}
.collection-deck:focus-visible { border-radius: 36px; outline: 3px solid var(--collection-accent); outline-offset: 8px; }
.collection-deck.is-dragging { cursor: grabbing; }

.collection-card {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 1;
  width: min(500px, 39vw);
  aspect-ratio: 1;
  transform: translate(-50%, -50%) scale(.58);
  transform-style: preserve-3d;
  opacity: 0;
  filter: saturate(.7);
  transition: transform .58s cubic-bezier(.2,.8,.2,1), opacity .38s ease, filter .4s ease;
  will-change: transform;
}

.collection-card[data-position="0"] { z-index: 4; transform: translate(-50%, -50%) rotateY(0) rotateZ(0) scale(1); opacity: 1; filter: none; }
.collection-card[data-position="-1"] { z-index: 2; transform: translate(-116%, -50%) rotateY(29deg) rotateZ(-6deg) scale(.68); opacity: .76; }
.collection-card[data-position="1"] { z-index: 2; transform: translate(16%, -50%) rotateY(-29deg) rotateZ(6deg) scale(.68); opacity: .76; }
.collection-card[data-position="-2"] { transform: translate(-155%, -50%) rotateY(38deg) rotateZ(-8deg) scale(.48); opacity: .22; }
.collection-card[data-position="2"] { transform: translate(55%, -50%) rotateY(-38deg) rotateZ(8deg) scale(.48); opacity: .22; }

.collection-card-hit {
  width: 100%;
  height: 100%;
  padding: 0;
  border: 0;
  border-radius: 26px;
  cursor: pointer;
  color: inherit;
  background: transparent;
}
.collection-card-hit:focus-visible { outline: 4px solid var(--collection-accent); outline-offset: 8px; }

.collection-cover,
.secret-paper {
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
  overflow: hidden;
  border: 8px solid rgba(255, 250, 240, .94);
  border-radius: 22px;
  background: var(--collection-surface);
  box-shadow: 0 35px 75px rgba(35, 22, 15, .38);
}

.collection-cover::after {
  position: absolute;
  inset: 0 auto 0 0;
  width: 13px;
  content: "";
  background: linear-gradient(90deg, rgba(30, 24, 19, .25), rgba(255,255,255,.2), transparent);
}

.collection-cover img { width: 100%; height: 100%; object-fit: contain; background: #fff; }
.collection-status {
  position: absolute;
  top: 22px;
  right: -8px;
  padding: 10px 20px;
  transform: rotate(4deg);
  border-radius: 4px 0 0 4px;
  color: var(--collection-ink);
  background: var(--collection-accent);
  box-shadow: 0 8px 20px rgba(55, 33, 20, .22);
  font-family: var(--display);
  font-size: .78rem;
  font-weight: 700;
}

.secret-paper {
  display: flex;
  padding: 52px;
  align-items: flex-start;
  justify-content: flex-end;
  flex-direction: column;
  color: var(--collection-ink);
  background:
    linear-gradient(rgba(255,250,240,.77), rgba(255,250,240,.77)),
    url("assets/travel-journal-world.jpg") center / cover;
}
.secret-paper::before {
  position: absolute;
  inset: 24px;
  border: 1px dashed rgba(61, 49, 37, .35);
  border-radius: 13px;
  content: "";
}
.secret-paper strong,
.secret-paper small { position: relative; z-index: 1; }
.secret-paper strong { max-width: 8ch; font-family: var(--display); font-size: clamp(2.2rem, 3.2vw, 3.9rem); line-height: .9; }
.secret-paper small { margin-top: 9px; color: var(--brick); font-size: .72rem; font-weight: 900; letter-spacing: .15em; text-transform: uppercase; }
.secret-stamp {
  position: absolute;
  z-index: 1;
  top: 55px;
  right: 55px;
  display: grid;
  width: 92px;
  height: 92px;
  place-items: center;
  transform: rotate(10deg);
  border: 2px solid var(--brick);
  border-radius: 50%;
  color: var(--brick);
  font-family: var(--display);
  font-size: 2rem;
  font-weight: 700;
}
.secret-route { position: absolute; inset: 31% 20% auto; height: 1px; transform: rotate(-17deg); border-top: 3px dashed rgba(41,70,95,.35); }

.collection-arrow {
  position: absolute;
  z-index: 8;
  top: 50%;
  display: grid;
  width: 58px;
  height: 58px;
  place-items: center;
  transform: translateY(-50%);
  border: 1px solid rgba(255, 250, 240, .48);
  border-radius: 50%;
  cursor: pointer;
  color: var(--paper);
  background: rgba(23, 44, 61, .24);
  backdrop-filter: blur(12px);
  transition: transform .22s var(--ease-out), background .22s ease;
}
.collection-arrow:hover { transform: translateY(-50%) scale(1.06); background: var(--collection-deep); }
.collection-arrow svg { width: 25px; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 2; }
.collection-arrow-prev { left: 0; }
.collection-arrow-next { right: 0; }

.collection-detail {
  position: relative;
  z-index: 9;
  display: grid;
  width: min(100%, 1240px);
  margin: -25px auto 0;
  padding: 25px 28px;
  border: 1px solid rgba(255, 250, 240, .35);
  border-radius: 28px;
  grid-template-columns: 1fr 1.1fr auto;
  gap: 30px;
  align-items: center;
  color: var(--collection-ink);
  background: color-mix(in srgb, var(--collection-surface) 92%, transparent);
  box-shadow: 0 22px 55px rgba(39, 25, 18, .18);
  backdrop-filter: blur(18px);
}
.collection-detail h2 { margin: 2px 0 5px; font-size: clamp(1.8rem, 2.7vw, 3.1rem); }
.collection-detail-kicker { margin: 0; color: var(--brick); font-size: .65rem; font-weight: 900; letter-spacing: .14em; text-transform: uppercase; }
.collection-destination { margin: 0; color: var(--indigo); font-size: .8rem; font-weight: 800; }
.collection-summary { margin: 0; color: #594f46; font-size: .9rem; line-height: 1.55; }
.collection-actions { display: flex; align-items: center; gap: 18px; }
.collection-actions[hidden] { display: none; }
.collection-actions [hidden] { display: none; }
.collection-actions .text-link { white-space: nowrap; }

.collection-progress {
  display: flex;
  width: min(380px, 80vw);
  margin: 24px auto 0;
  align-items: center;
  gap: 16px;
  color: rgba(255,250,240,.9);
  font-size: .74rem;
}
.collection-progress > span { position: relative; height: 1px; flex: 1; overflow: hidden; background: rgba(255,250,240,.25); }
.collection-progress i { position: absolute; inset: 0; transform: scaleX(.33); transform-origin: left; background: var(--collection-accent); transition: transform .4s var(--ease-out); }
.collection-hint { margin: 10px auto 0; color: rgba(255,250,240,.62); font-size: .62rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }

.collection-promise { padding-block: 130px; color: var(--ink); }
.collection-promise h2 { max-width: 920px; font-size: clamp(3.2rem, 6.3vw, 6.5rem); }
.collection-promise-grid { display: grid; max-width: 880px; margin: 45px 0 0 auto; grid-template-columns: 1fr 1fr; gap: 55px; color: var(--muted); }
.inner-footer { border-top: 1px solid rgba(255,255,255,.08); }

/* --------------------------------------------------------------------------
   Individual book page
   -------------------------------------------------------------------------- */
.book-detail-page { background: var(--cream); }
.book-detail-hero {
  position: relative;
  isolation: isolate;
  min-height: 980px;
  padding-block: 150px 95px;
  overflow: hidden;
  color: var(--paper);
  background: #8f3f32;
}
.book-detail-backdrop { position: absolute; inset: 0; z-index: -3; }
.book-detail-backdrop img { width: 100%; height: 100%; object-fit: cover; object-position: center; filter: saturate(.85); }
.book-detail-backdrop::after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(90deg, rgba(28,41,48,.35), rgba(26,43,56,.94) 56%, rgba(23,44,61,.98));
}
.book-detail-grid { display: grid; min-height: 720px; grid-template-columns: .85fr 1fr; gap: clamp(70px, 8vw, 130px); align-items: center; }
.book-detail-cover { position: relative; width: min(600px, 43vw); transform: rotate(-2.5deg); }
.book-detail-cover img { width: 100%; height: auto; aspect-ratio: 1; border: 8px solid rgba(255,250,240,.9); border-radius: 12px 22px 22px 12px; object-fit: contain; box-shadow: 30px 42px 85px rgba(20,20,20,.42); }
.book-detail-cover > span { position: absolute; top: 24px; right: -13px; padding: 11px 22px; transform: rotate(4deg); border-radius: 4px; color: var(--ink); background: var(--gold); font-family: var(--display); font-weight: 700; }
.book-detail-copy { max-width: 670px; }
.book-back-link { display: inline-flex; min-height: 44px; align-items: center; gap: 9px; margin-bottom: 42px; border-bottom: 1px solid currentColor; font-family: var(--display); font-size: .78rem; font-weight: 600; }
.book-back-link svg { width: 18px; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 2; }
.book-detail-copy .eyebrow { color: #f7c4ca; }
.book-detail-copy h1 { margin-bottom: 14px; font-size: clamp(4.2rem, 7vw, 7.4rem); line-height: .86; }
.book-detail-copy h1 em { color: var(--gold); }
.book-detail-subtitle { color: #f7c4ca; font-family: var(--display); font-size: 1.25rem; font-weight: 600; }
.book-detail-lede { max-width: 56ch; color: rgba(255,250,240,.78); }

.book-order-panel {
  display: grid;
  margin-top: 32px;
  padding: 22px;
  border: 1px solid rgba(255,250,240,.18);
  border-radius: 24px;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  background: rgba(255,250,240,.08);
  backdrop-filter: blur(12px);
}
.book-option label { display: block; margin: 0 0 7px; color: #f7c4ca; font-size: .62rem; font-weight: 900; letter-spacing: .12em; text-transform: uppercase; }
.book-option select { width: 100%; min-height: 48px; padding: 0 38px 0 14px; border: 1px solid rgba(255,250,240,.25); border-radius: 12px; color: var(--paper); background: rgba(23,44,61,.8); font: inherit; }
.book-order-panel .book-cta { grid-column: 1 / -1; }
.book-order-note { grid-column: 1 / -1; margin: -2px 0 0; color: rgba(255,250,240,.65); font-size: .68rem; }
.book-facts { display: grid; margin: 26px 0 0; padding-top: 24px; border-top: 1px solid rgba(255,250,240,.18); grid-template-columns: repeat(3, 1fr); gap: 20px; }
.book-facts div { display: flex; flex-direction: column; gap: 4px; }
.book-facts dt { color: #f7c4ca; font-size: .6rem; font-weight: 900; letter-spacing: .12em; text-transform: uppercase; }
.book-facts dd { margin: 0; font-family: var(--display); font-size: .78rem; }

.book-story { padding-block: 140px; }
.book-story-copy { display: grid; margin-bottom: 70px; grid-template-columns: 1.3fr .7fr; gap: 70px; }
.book-story-copy .eyebrow { grid-column: 1 / -1; }
.book-story-copy h2 { margin: 0; font-size: clamp(3.5rem, 6vw, 6.5rem); }
.book-story-copy > p:last-child { align-self: end; color: var(--muted); }
.book-story-spreads { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.book-story-spreads figure { margin: 0; overflow: hidden; border-radius: 26px; background: var(--paper); box-shadow: var(--shadow-sm); }
.book-story-spreads img { width: 100%; aspect-ratio: 1.15; object-fit: cover; }
.book-story-spreads figcaption { padding: 22px 25px 26px; font-family: var(--display); font-size: 1rem; font-weight: 600; }

.local-friend { padding-block: 120px; background: var(--sakura-soft); }
.local-friend-grid { display: grid; grid-template-columns: .9fr 1fr; gap: clamp(60px, 8vw, 130px); align-items: center; }
.local-friend-image { width: min(520px, 100%); margin-inline: auto; overflow: hidden; border: 9px solid var(--paper); border-radius: 48% 48% 28px 28px; box-shadow: var(--shadow-lg); }
.local-friend-image img { width: 100%; aspect-ratio: 1; object-fit: cover; object-position: center 18%; }
.local-friend-copy h2 { font-size: clamp(4rem, 7vw, 7rem); }
.local-friend-copy > p:not(.eyebrow) { max-width: 50ch; color: var(--muted); }

.next-journey { padding-block: 120px; color: var(--paper); background: var(--indigo-deep); }
.next-journey-inner { display: grid; grid-template-columns: 1.2fr .8fr; gap: 60px; align-items: end; }
.next-journey .eyebrow { grid-column: 1 / -1; color: #f7c4ca; }
.next-journey h2 { margin: 0; font-size: clamp(3.6rem, 6.6vw, 7rem); }
.next-journey-inner > div { display: flex; align-items: flex-start; flex-direction: column; gap: 22px; }
.next-journey .text-link { color: var(--paper); }

/* --------------------------------------------------------------------------
   404
   -------------------------------------------------------------------------- */
.error-page { min-height: 100vh; color: var(--ink); background: linear-gradient(135deg, var(--sakura-soft), var(--cream) 60%, #d9eaf2); }
.error-page .site-header { border-color: rgba(41,70,95,.15); color: var(--indigo); }
.error-main { position: relative; display: grid; min-height: calc(100vh - 80px); padding: 150px max(28px, calc((100vw - 1240px) / 2)) 70px; overflow: hidden; grid-template-columns: 1.1fr .9fr; align-items: center; }
.error-copy { position: relative; z-index: 2; max-width: 710px; }
.error-code { color: var(--brick); font-size: .72rem; font-weight: 900; letter-spacing: .15em; text-transform: uppercase; }
.error-copy h1 { margin-bottom: 28px; font-size: clamp(4.7rem, 8.5vw, 9rem); line-height: .84; }
.error-copy h1 em { color: var(--brick); }
.error-copy > p:not(.error-code) { max-width: 54ch; color: var(--muted); font-size: 1.05rem; }
.error-actions { display: flex; margin-top: 35px; align-items: center; gap: 20px 28px; flex-wrap: wrap; }
.error-character { position: relative; align-self: end; }
.error-character img { position: relative; z-index: 1; width: min(620px, 48vw); margin-inline: auto; filter: drop-shadow(0 30px 40px rgba(55,38,20,.2)); }
.error-character > span { position: absolute; z-index: 0; top: -15%; left: 8%; color: rgba(183,71,42,.12); font-family: var(--display); font-size: 24rem; font-weight: 700; line-height: 1; }
.error-orbit { position: absolute; right: -12vw; width: 58vw; height: 58vw; border: 110px solid rgba(120,181,220,.15); border-radius: 50%; }
.error-footer { display: flex; min-height: 80px; padding: 20px max(28px, calc((100vw - 1240px) / 2)); align-items: center; justify-content: space-between; color: rgba(255,250,240,.75); background: var(--indigo-deep); font-size: .72rem; font-weight: 700; }

@media (max-width: 1080px) {
  .collection-hero { min-height: 1050px; padding-inline: 28px; }
  .collection-intro { left: 32px; width: 320px; }
  .collection-deck { margin-left: 180px; }
  .collection-detail { grid-template-columns: 1fr 1fr; }
  .collection-actions { grid-column: 1 / -1; justify-content: flex-end; }
  .book-detail-grid { grid-template-columns: 1fr; }
  .book-detail-cover { width: min(570px, 76vw); margin-inline: auto; }
  .book-detail-copy { max-width: 760px; margin-inline: auto; }
  .book-detail-backdrop::after { background: linear-gradient(0deg, rgba(23,44,61,.98), rgba(23,44,61,.85) 62%, rgba(23,44,61,.36)); }
}

@media (max-width: 840px) {
  .collection-hero { min-height: 1040px; padding-top: 120px; }
  .collection-intro { position: relative; top: auto; left: auto; width: min(100%, 620px); }
  .collection-intro h1 { font-size: clamp(3.5rem, 12vw, 5.8rem); }
  .collection-stage { min-height: 480px; margin-top: 15px; }
  .collection-deck { height: 470px; margin-left: 0; }
  .collection-card { width: min(440px, 62vw); }
  .collection-card[data-position="-1"] { transform: translate(-108%, -50%) rotateY(24deg) rotateZ(-5deg) scale(.65); }
  .collection-card[data-position="1"] { transform: translate(8%, -50%) rotateY(-24deg) rotateZ(5deg) scale(.65); }
  .collection-arrow { width: 50px; height: 50px; }
  .collection-detail { margin-top: 0; grid-template-columns: 1fr; }
  .collection-actions { grid-column: 1; justify-content: flex-start; }
  .collection-promise-grid,
  .book-story-copy,
  .local-friend-grid,
  .next-journey-inner,
  .error-main { grid-template-columns: 1fr; }
  .book-story-copy .eyebrow,
  .next-journey .eyebrow { grid-column: 1; }
  .book-story-copy { gap: 25px; }
  .book-detail-hero { padding-top: 130px; }
  .local-friend-image { width: min(480px, 88vw); }
  .error-main { padding-top: 150px; }
  .error-character { position: absolute; right: -20%; bottom: 0; opacity: .2; }
  .error-character img { width: 620px; }
  .error-copy { align-self: center; }
}

@media (max-width: 600px) {
  .collection-hero { min-height: 990px; padding: 112px 14px 34px; }
  .collection-intro { padding-inline: 10px; }
  .collection-intro h1 { font-size: clamp(3.4rem, 17vw, 5rem); }
  .collection-intro > p:last-child { font-size: .9rem; }
  .collection-stage { min-height: 400px; }
  .collection-deck { height: 390px; overflow: hidden; }
  .collection-card { width: min(330px, 75vw); }
  .collection-card[data-position="-1"] { transform: translate(-112%, -50%) rotateZ(-5deg) scale(.58); }
  .collection-card[data-position="1"] { transform: translate(12%, -50%) rotateZ(5deg) scale(.58); }
  .collection-arrow { top: auto; bottom: 2px; }
  .collection-arrow-prev { left: calc(50% - 70px); }
  .collection-arrow-next { right: calc(50% - 70px); }
  .collection-detail { padding: 22px; border-radius: 22px; }
  .collection-detail h2 { font-size: 2rem; }
  .collection-summary { display: none; }
  .collection-actions { align-items: stretch; flex-direction: column; }
  .collection-actions .button { width: 100%; }
  .collection-actions .text-link { align-self: flex-start; }
  .collection-progress { margin-top: 17px; }
  .collection-hint { display: none; }
  .secret-paper { padding: 35px; }
  .secret-stamp { top: 38px; right: 38px; width: 70px; height: 70px; }
  .collection-promise { padding-block: 90px; }
  .collection-promise-grid { margin-top: 30px; grid-template-columns: 1fr; gap: 12px; }

  .book-detail-cover { width: min(88vw, 430px); }
  .book-detail-copy h1 { font-size: clamp(4rem, 18vw, 5.5rem); }
  .book-order-panel { grid-template-columns: 1fr; }
  .book-order-panel .book-cta,
  .book-order-note { grid-column: 1; }
  .book-facts { grid-template-columns: 1fr 1fr; }
  .book-story { padding-block: 95px; }
  .book-story-spreads { grid-template-columns: 1fr; }
  .local-friend { padding-block: 90px; }
  .next-journey { padding-block: 90px; }
  .error-copy h1 { font-size: clamp(4.1rem, 19vw, 6rem); }
  .error-actions { align-items: flex-start; flex-direction: column; }
  .error-footer { align-items: flex-start; flex-direction: column; gap: 8px; }
  .footer-social { justify-content: center; }
}

@media (prefers-reduced-motion: reduce) {
  .collection-card,
  .collection-background img,
  .collection-wash,
  .collection-progress i { transition: none !important; }
  .collection-wash::after,
  .collection-petals { display: none; }
}

/* WordPress and WooCommerce integration */
.primary-nav ul {
  display: flex;
  margin: 0;
  padding: 0;
  align-items: center;
  gap: clamp(17px, 2vw, 32px);
  list-style: none;
}
.primary-nav li { margin: 0; }
.primary-nav li a { display: inline-flex; min-height: 44px; align-items: center; }
.primary-nav li:last-child a { padding: 11px 17px; border-radius: 999px; color: var(--paper); background: var(--brick); }
.wp-content-shell { min-height: 70vh; padding-block: 160px 110px; }
.wp-story-entry,
.wp-page-entry { max-width: 860px; margin: 0 auto 90px; }
.wp-story-entry h1,
.wp-page-entry h1 { font-size: clamp(3.4rem, 7vw, 7rem); }
.entry-content { font-size: 1.05rem; }
.entry-content > * { max-width: 760px; }
.entry-content > .alignwide { max-width: 1240px; }
.entry-content > .alignfull { max-width: none; }
.wp-product-story { padding-block: 110px; }
.wp-related-books { padding-bottom: 120px; }
.sl-product-price { grid-column: 1 / -1; font-family: var(--display); font-size: 1.6rem; font-weight: 700; }
.sl-product-cart { grid-column: 1 / -1; }
.sl-product-cart form.cart { display: flex; align-items: flex-end; gap: 14px; flex-wrap: wrap; }
.sl-product-cart .variations { width: 100%; margin-bottom: 8px; }
.sl-product-cart .variations th,
.sl-product-cart .variations td { padding: 5px 10px 5px 0; text-align: left; }
.sl-product-cart select,
.sl-product-cart input { min-height: 48px; padding-inline: 12px; border: 1px solid rgba(255,250,240,.3); border-radius: 10px; color: var(--paper); background: var(--indigo-deep); }
.sl-product-cart button { min-height: 54px; padding: 14px 24px; border: 0; border-radius: 999px; color: var(--paper); background: var(--brick); font-family: var(--display); font-weight: 700; }
.sl-amazon-link { grid-column: 1 / -1; color: var(--paper); }

@media (max-width: 840px) {
  .primary-nav ul { width: 100%; flex-direction: column; align-items: stretch; gap: 2px; }
  .primary-nav li a { display: flex; padding: 12px 15px; }
  .primary-nav li:last-child a { justify-content: center; }
}

/* Book-specific art direction: the image stays editable while motion is an
   independent, reusable layer selected per book in WordPress. */
[data-motion="none"] .petal-field { display: none; }
[data-motion="leaves"] .petal {
  aspect-ratio: .62;
  border-radius: 80% 15% 70% 25%;
  opacity: .6;
  background: linear-gradient(135deg, #d8c765, #6f8b55);
}
[data-motion="snow"] .petal {
  aspect-ratio: 1;
  border-radius: 50%;
  opacity: .78;
  background: rgba(255,255,255,.9);
  box-shadow: 0 0 9px rgba(255,255,255,.65);
}
[data-motion="fireflies"] .petal {
  width: calc(var(--petal-size) * .55);
  aspect-ratio: 1;
  border-radius: 50%;
  opacity: .85;
  background: #ffe06f;
  box-shadow: 0 0 7px 3px rgba(255,224,111,.45);
  animation-name: firefly-drift;
}

.hero-text-right .hero-copy {
  margin-right: max(32px, calc((100vw - 1240px) / 2));
  margin-left: auto;
}
.hero-text-right .hero-wash {
  background:
    linear-gradient(270deg, rgba(21,43,58,.88) 0%, rgba(26,47,61,.7) 27%, rgba(26,47,61,.18) 55%, rgba(26,47,61,.03) 100%),
    linear-gradient(0deg, rgba(19,38,51,.46), transparent 36%);
}
.hero-text-right .hero-wash::after { background: radial-gradient(circle at 79% 45%, rgba(233,185,78,.18), transparent 25rem); }
.hero-text-right .hero-stamp { right: auto; left: max(32px, calc((100vw - 1240px) / 2)); }

/* Editable WordPress destinations projected from latitude and longitude. */
.wp-world-map {
  position: relative;
  min-height: 0;
  aspect-ratio: 1603 / 742;
  background: #8fc3dd;
}
.wp-world-map > img { width: 100%; height: 100%; min-height: 0; object-fit: contain; }
.wp-map-pins { position: absolute; inset: 0; pointer-events: none; }
.wp-map-pin {
  position: absolute;
  z-index: 2;
  top: var(--pin-y);
  left: var(--pin-x);
  display: flex;
  min-width: 44px;
  min-height: 44px;
  align-items: center;
  transform: translate(-50%, -50%);
  pointer-events: auto;
  color: var(--paper);
  font-family: var(--display);
  font-size: .72rem;
  font-weight: 700;
  padding: 0;
  border: 0;
  text-decoration: none;
  background: transparent;
  cursor: pointer;
}
.wp-map-pin i {
  display: block;
  width: 19px;
  height: 19px;
  border: 4px solid var(--paper);
  border-radius: 50% 50% 50% 0;
  transform: rotate(-45deg);
  background: var(--brick);
  box-shadow: 0 0 0 8px rgba(183,71,42,.2), 0 6px 15px rgba(41,70,95,.3);
  transition: transform .2s var(--ease-out);
}
.wp-map-pin span {
  position: absolute;
  top: 42px;
  left: 50%;
  padding: 6px 10px;
  transform: translateX(-50%);
  border-radius: 999px;
  white-space: nowrap;
  color: var(--indigo);
  background: rgba(255,250,240,.95);
  box-shadow: var(--shadow-sm);
}
.wp-map-pin.is-coming i,
.wp-map-pin.is-mystery i { background: var(--gold); }
.wp-map-pin:hover i,
.wp-map-pin:focus-visible i { transform: rotate(-45deg) translate(4px, -4px) scale(1.12); }
.wp-destination-list {
  display: grid;
  padding: 18px;
  border-top: 1px solid rgba(255,255,255,.28);
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 10px;
  background: #47788e;
}
.wp-destination-list a { display: grid; padding: 16px 18px; border-radius: 15px; color: var(--paper); background: rgba(26,47,61,.34); }
.wp-destination-list span { color: #ffe2a1; font-size: .58rem; font-weight: 900; letter-spacing: .12em; text-transform: uppercase; }
.wp-destination-list strong { margin-block: 2px 8px; font-family: var(--display); font-size: 1.1rem; }
.wp-destination-list small { opacity: .8; }

@keyframes firefly-drift {
  0% { transform: translate3d(var(--petal-drift-start), 105vh, 0); opacity: 0; }
  20%, 72% { opacity: .9; }
  100% { transform: translate3d(var(--petal-drift-end), -12vh, 0); opacity: 0; }
}

@media (max-width: 840px) {
  .hero-text-right .hero-copy { margin-right: 28px; margin-left: 28px; }
  .hero-text-right .hero-stamp { right: 28px; left: auto; }
  .wp-map-pin span { display: none; }
}

@media (max-width: 600px) {
  .map-mobile-hint {
    display: block;
    margin: 0;
    padding: 10px 18px;
    color: var(--indigo);
    background: rgba(255,250,240,.9);
    font-size: .72rem;
    font-weight: 800;
    letter-spacing: .04em;
    text-align: right;
  }
  .map-scroll {
    overflow-x: auto;
    overscroll-behavior-inline: contain;
    scrollbar-width: thin;
    touch-action: pan-x;
  }
  .map-scroll .world-map,
  .wp-world-map {
    width: 720px;
    min-width: 720px;
    min-height: 0;
    aspect-ratio: 1603 / 742;
    overflow: visible;
  }
  .map-scroll .world-map > img,
  .wp-world-map > img { object-fit: contain; }
}

/* ---------------------------------------------------------------------------
   Collection commerce: the cinematic selector is also the shop.
   --------------------------------------------------------------------------- */
.collection-detail {
  grid-template-columns: minmax(190px, 1fr) minmax(260px, 1.2fr) minmax(150px, .55fr) minmax(190px, auto);
  gap: clamp(18px, 2.2vw, 32px);
}
.collection-commerce { display: flex; min-width: 0; align-items: flex-start; flex-direction: column; gap: 7px; }
.collection-detail-status {
  display: inline-flex;
  width: fit-content;
  min-height: 30px;
  padding: 6px 11px;
  align-items: center;
  border: 1px solid color-mix(in srgb, var(--collection-deep) 20%, transparent);
  border-radius: 999px;
  color: var(--collection-deep);
  background: color-mix(in srgb, var(--collection-accent) 52%, var(--collection-surface));
  font-family: var(--display);
  font-size: .68rem;
  font-weight: 700;
}
.collection-languages { margin: 0; color: #5f554b; font-size: .72rem; font-weight: 800; }
.collection-price { margin: 0; color: var(--brick); font-family: var(--display); font-size: 1.15rem; font-weight: 700; }
.collection-price del { margin-right: .35rem; opacity: .55; font-size: .82em; }
.collection-actions { align-items: flex-start; flex-direction: column; gap: 10px; }
.collection-actions .button { width: 100%; min-width: 190px; justify-content: center; text-align: center; }
.collection-actions .text-link { white-space: normal; }
.collection-amazon { display: inline-flex; min-height: 44px; align-items: center; color: #5f554b; font-size: .72rem; font-weight: 800; text-decoration: underline; text-underline-offset: 4px; }
.collection-mobile-list { display: none; }
.collection-detail-status[hidden],
.collection-languages[hidden],
.collection-price[hidden],
.collection-amazon[hidden],
.collection-actions [hidden] { display: none !important; }

.hero-stamp.is-dark {
  border-color: rgba(41, 70, 95, .7);
  color: var(--indigo-deep);
  background: rgba(255, 250, 240, .3);
  backdrop-filter: blur(5px);
}
.hero-stamp.is-dark::before { border-color: rgba(41, 70, 95, .55); }
.hero-stamp[hidden] { display: none; }

@media (max-width: 1080px) {
  .collection-detail { grid-template-columns: 1fr 1fr; }
  .collection-commerce { grid-column: 1; }
  .collection-actions { grid-column: 2; justify-self: end; }
}

@media (max-width: 840px) {
  .collection-detail { grid-template-columns: 1fr; }
  .collection-commerce,
  .collection-actions { grid-column: 1; justify-self: stretch; }
  .collection-actions { align-items: flex-start; }
  .collection-actions .button { width: auto; }
}

@media (max-width: 700px) {
  .collection-hero { min-height: auto; padding: 112px 18px 54px; }
  .collection-stage,
  .collection-detail,
  .collection-progress,
  .collection-hint { display: none; }
  .collection-mobile-list { position: relative; z-index: 5; display: grid; margin-top: 42px; gap: 22px; }
  .collection-mobile-book { overflow: hidden; border: 1px solid rgba(255,250,240,.42); border-radius: 28px; color: var(--collection-ink); background: color-mix(in srgb, var(--collection-surface) 94%, transparent); box-shadow: 0 24px 60px rgba(39,25,18,.22); backdrop-filter: blur(18px); }
  .collection-mobile-cover { display: block; padding: 14px; background: color-mix(in srgb, var(--collection-accent) 22%, transparent); }
  .collection-mobile-cover img { width: 100%; height: auto; aspect-ratio: 1; border-radius: 18px; object-fit: contain; background: #fff; box-shadow: 0 18px 38px rgba(39,25,18,.18); }
  .collection-mobile-copy { display: flex; padding: 24px; flex-direction: column; align-items: flex-start; }
  .collection-mobile-copy h2 { margin: 8px 0 10px; font-size: clamp(2.15rem, 11vw, 3.5rem); }
  .collection-mobile-copy > p:not(.collection-detail-kicker):not(.collection-languages):not(.collection-price) { margin: 0 0 16px; color: #594f46; line-height: 1.6; }
  .collection-mobile-copy .collection-detail-status { margin-bottom: 14px; }
  .collection-mobile-actions { display: flex; width: 100%; margin-top: 20px; align-items: flex-start; flex-direction: column; gap: 12px; }
  .collection-mobile-actions .button { width: 100%; justify-content: center; text-align: center; }
}

/* Homepage: price sits above the buy/waitlist row when a book is purchasable. */
.book-price {
  font-family: "Fredoka", system-ui, sans-serif;
  font-size: 1.35rem; font-weight: 600; color: var(--gold);
}
.book-price del { opacity: .6; font-size: .85em; margin-inline-end: .4rem; }
