@font-face {
  font-family: Cormorant;
  src: url("cormorant.ttf") format("truetype");
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
}
@font-face {
  font-family: Cormorant;
  src: url("cormorant-italic.ttf") format("truetype");
  font-style: italic;
  font-weight: 300 700;
  font-display: swap;
}
@font-face {
  font-family: DM Sans;
  src: url("dm-sans.ttf") format("truetype");
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}
:root {
  --serif: Cormorant, Georgia, serif;
  --sans: "DM Sans", system-ui, sans-serif;
  --paper: #fff8eb;
  --cover-height: clamp(39rem, 92svh, 62rem);
  --gutter: clamp(1.3rem, 5vw, 5rem);
  --cover-transition: cubic-bezier(.22,.7,.18,1);
}
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
body { margin: 0; color: var(--ink); background: var(--page); font: 1rem/1.55 var(--sans); }
h1, h2, p, figure { margin: 0; }
h1, h2 { font-family: var(--serif); font-weight: 500; }
h1 { font-size: clamp(5rem, 10vw, 10rem); line-height: .81; letter-spacing: -.07em; }
img { display: block; width: 100%; height: 100%; object-fit: cover; }
button { font: inherit; cursor: pointer; }
:where(button, a):focus-visible { outline: 2px solid currentColor; outline-offset: 5px; }
.eyebrow { font-weight: 650; font-size: .78rem; letter-spacing: .16em; text-transform: uppercase; }
.cover { min-height: var(--cover-height); }
.cover-lead { max-width: 25rem; font-size: clamp(1rem, 1.25vw, 1.2rem); line-height: 1.65; }
.cover h1 { margin: .16em 0 .24em; }
.cover .primary { margin-top: 1.65rem; }
.primary {
  min-height: 3.15rem;
  border: 1px solid transparent;
  border-radius: 999px;
  padding: .67rem 1.32rem;
  background: var(--button);
  color: var(--button-ink);
  font-size: .9rem;
  font-weight: 700;
  transition: transform .22s ease, box-shadow .22s ease, background-color .22s ease;
}
.primary:hover { transform: translateY(-2px); box-shadow: 0 10px 24px #11091630; }
.primary:active { transform: translateY(0); }
footer { display: flex; justify-content: center; padding: .55rem var(--gutter) .8rem; }
.text-button {
  border: 0;
  background: transparent;
  color: inherit;
  font-size: .86rem;
  font-weight: 650;
  min-height: 2.75rem;
  padding: .3rem .15rem;
}
.text-button:hover { text-decoration: underline; text-underline-offset: 4px; }

/* The Secret Garden */
[data-design="secret"] { --page: #15211b; --ink: #f8f0df; --button: #f5ebd4; --button-ink: #26382b; }
.secret-cover { position: relative; display: grid; align-items: center; isolation: isolate; overflow: hidden; }
.secret-photo, .secret-wash { position: absolute; inset: 0; z-index: -1; }
.secret-photo { object-position: 58% 50%; filter: saturate(.72) brightness(.82); animation: garden-breathe 15s ease-out both; }
.secret-wash { background: linear-gradient(90deg, #0d1b13f7 0%, #122317db 24%, #14261b46 61%, #15231900 84%), linear-gradient(0deg, #08140cba, transparent 34%, transparent 75%, #0b170d81); }
.secret-header {
  position: absolute; top: 2.1rem; left: var(--gutter); right: var(--gutter);
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 1rem;
  border-bottom: 1px solid #f5e8c942; padding-bottom: .75rem;
  text-transform: uppercase; letter-spacing: .15em; font-size: .7rem; font-weight: 650;
}
.secret-header > :last-child { text-align: right; }
.sprig { font-size: 1.72rem; line-height: 1; color: #e0b992; }
.secret-copy { position: relative; padding: 7rem var(--gutter) 8rem; width: min(100%, 60rem); }
.secret-copy .eyebrow { color: #ffd3ad; }
.secret-copy h1 { font-size: clamp(6rem, 15vw, 15rem); white-space: nowrap; }
.secret-copy h1 span { color: #e6b589; }
.secret-copy .cover-lead { color: #f0e6d5; }
.secret-index { position: absolute; right: var(--gutter); bottom: 2.25rem; display: flex; align-items: center; gap: .9rem; font: 1.18rem var(--serif); }
.secret-index-line { width: 4rem; height: 1px; background: #eadabc8c; }
@keyframes garden-breathe { from { transform: scale(1.055); } to { transform: scale(1); } }

/* A Letter in Bloom */
[data-design="bloom"] { --page: #f7eae7; --ink: #361d2a; --button: #6c344d; --button-ink: #fff5ee; }
.bloom-cover { padding: 0 var(--gutter) 2.6rem; overflow: hidden; background: radial-gradient(ellipse at 78% 56%, #eabdc64d, transparent 61%); }
.bloom-header {
  max-width: 88rem; margin: auto; padding: 2.05rem 0 1rem;
  border-bottom: 1px solid #79495855; display: flex; justify-content: space-between; gap: .6rem;
  font-size: .75rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
}
.bloom-grid {
  width: min(100%, 88rem); min-height: calc(var(--cover-height) - 7rem); margin: auto;
  display: grid; grid-template-columns: .91fr 1.09fr; gap: 5%; align-items: center; padding: 2rem 0 0;
}
.bloom-copy { padding: 2rem 0 2.5rem clamp(0rem, 4vw, 4rem); z-index: 1; }
.bloom-copy h1 em { color: #8a3f59; }
.bloom-copy .cover-lead { color: #573c49; }
.bloom-figure {
  position: relative; width: min(100%, 34rem); justify-self: center; padding: .75rem;
  border-radius: 49% 49% 1rem 1rem / 35% 35% 1rem 1rem;
  border: 1px solid #a66c7d8c; transform: rotate(2deg); background: #ffece8ae;
  box-shadow: 0 1.25rem 4rem #703b5323; animation: portrait-arrive .9s var(--cover-transition) both;
}
.bloom-figure img {
  border-radius: 49% 49% .64rem .64rem / 35% 35% .64rem .64rem;
  height: clamp(21rem, 49vw, 35rem); object-position: 44% 50%;
}
.bloom-figure figcaption {
  position: absolute; bottom: 1.6rem; right: -.9rem; padding: .42rem .94rem;
  color: #642b43; background: #fff3ee; transform: rotate(-6deg); box-shadow: 0 .18rem 1rem #5e35432d;
  font: italic 500 1.38rem var(--serif);
}
@keyframes portrait-arrive { from { opacity: .3; transform: rotate(6deg) translateY(2.5rem); } }

/* After Dusk */
[data-design="dusk"] { --page: #14131f; --ink: #f5ecf2; --button: #dfbed8; --button-ink: #32213a; }
.dusk-cover {
  position: relative; display: grid; grid-template-columns: 1fr .86fr; align-items: center; gap: 6vw;
  padding: 6rem var(--gutter) 4rem; isolation: isolate; overflow: hidden;
  background: radial-gradient(ellipse at 68% 52%, #55365a 0%, #221c34 48%, #14131f 85%);
}
.dusk-header {
  position: absolute; margin: 0; top: 1.9rem; left: var(--gutter);
  display: flex; align-items: center; gap: .55rem;
  font-size: .75rem; letter-spacing: .16em; text-transform: uppercase; font-weight: 650;
}
.dusk-header span { color: #e5b9c8; font-size: 1.55rem; line-height: 1; }
.dusk-copy { position: relative; z-index: 1; padding-left: clamp(0rem, 3.5vw, 3rem); }
.dusk-copy h1 { font-size: clamp(5rem, 12vw, 12.3rem); }
.dusk-copy h1 em { color: #e1b8d8; white-space: nowrap; }
.dusk-copy .eyebrow { color: #e7b9c9; }
.dusk-copy .cover-lead { color: #e1d1e4; }
.dusk-figure {
  position: relative; width: min(100%, 32rem); justify-self: start;
  padding: .75rem; height: clamp(23rem, 56vw, 39rem);
  border: 1px solid #dbaab58c; border-radius: 49% 49% 45% 45% / 33% 33% 28% 28%;
  box-shadow: 0 0 4rem #ee99bd38, inset 0 0 1.6rem #f1bdc32d;
  background: #1b122742;
}
.dusk-figure img { border-radius: inherit; object-position: 49% 53%; filter: saturate(.75) brightness(.83); }
.dusk-figure span { position: absolute; bottom: -.78em; left: 13%; color: #ffd7b9; font-size: 3.1rem; text-shadow: 0 0 1.4rem #ffd7b9; animation: lantern-glow 3.2s ease-in-out infinite alternate; }
.dusk-grain {
  position: absolute; inset: 0; background-image: radial-gradient(circle, #efcfbb9c .55px, transparent 1.15px), radial-gradient(circle, #f4dab36b .5px, transparent 1.05px);
  background-size: 113px 139px, 89px 107px; background-position: 19px 15px, 62px 49px;
  mask-image: linear-gradient(116deg, #0002 0%, #000 80%); opacity: .7; z-index: -1;
}
.dusk-orbit { border: 1px solid #d9b0d730; border-radius: 100%; position: absolute; z-index: -1; width: 70vw; height: 36vw; right: -14vw; top: 30%; transform: rotate(32deg); }
.orbit-left { transform: rotate(-27deg); right: -9vw; top: 32%; }
@keyframes lantern-glow { to { opacity: .55; transform: scale(.89) translateY(-5px); } }

/* The Flower Keepsake */
[data-design="keepsake"] { --page: #dce4d6; --ink: #263a2d; --button: #365b43; --button-ink: #fff9e9; }
.keepsake-cover { display: grid; align-items: center; padding: 3.5rem var(--gutter); }
.scrapbook {
  position: relative; isolation: isolate; width: min(100%, 85rem); min-height: min(77svh, 49rem); margin: auto;
  display: grid; grid-template-columns: .91fr 1.09fr; gap: 5%; align-items: center; padding: 3rem clamp(2.2rem, 6vw, 6rem);
  border: 1px solid #56695576; border-radius: .6rem .9rem .9rem .6rem;
  background: linear-gradient(90deg,#b09b7333, transparent 4%, transparent 48%, #b39a762c 50%, #fff9efdd 51%, transparent 55%), repeating-linear-gradient(0deg,#fff9ee00 0 26px,#b7aa891a 26px 27px), #fbf1dc;
  box-shadow: 0 .3rem 0 -.07rem #ddd4bd, 0 .57rem 0 -.18rem #faf0d8, 0 1.2rem 3.8rem #2e4e354a;
}
.book-copy { padding-block: 1rem; }
.book-copy h1 { font-size: clamp(5rem, 10.7vw, 10.1rem); }
.book-copy h1 em { color: #72634f; }
.book-copy .eyebrow { color: #515e44; }
.book-copy .cover-lead { color: #424739; max-width: 22.5rem; }
.photo-stack { position: relative; width: min(91%, 32rem); aspect-ratio: 1.13; justify-self: center; z-index: 1; }
.photo-stack figure { position: absolute; padding: .63rem; background: #fff8ed; box-shadow: 0 .65rem 1.7rem #4b432d56; }
.under-photo { inset: 3% -3% 0 15%; transform: rotate(11deg); }
.top-photo { inset: -3% 8% 4% 0; transform: rotate(-7deg); display: flex; flex-direction: column; animation: keepsake-arrive .9s var(--cover-transition) both; }
.top-photo img { min-height: 0; object-position: 55% bottom; }
.top-photo figcaption { text-align: center; padding-top: .22rem; font: italic 500 1.55rem var(--serif); }
.tape { display: block; position: absolute; z-index: 2; top: -8%; left: 32%; width: 34%; height: 14%; border: 1px dashed #a98555a0; background: #dfc088ad; transform: rotate(1deg); }
.book-stamp {
  position: absolute; bottom: 1.6rem; right: 3rem; z-index: 2; transform: rotate(-9deg);
  width: 5.15rem; height: 5.15rem; display: grid; place-content: center;
  border: 3px double #a45355; border-radius: 100%; color: #8c4246; background: #fbeedb;
  text-align: center; font: 700 .67rem/1.3 var(--sans); letter-spacing: .11em; text-transform: uppercase;
}
.book-stamp span { font-size: .85rem; }
@keyframes keepsake-arrive { from { opacity: .25; transform: rotate(2deg) translate(-2rem, -1.5rem); } }

/* You, in Sunlight */
[data-design="sunlight"] { --page: #ffedaa; --ink: #2e431f; --button: #294323; --button-ink: #fff2b8; }
.sunlight-cover { padding: 0 var(--gutter) 2.2rem; }
.sun-header {
  width: min(100%, 92rem); margin: auto; min-height: 4.7rem; display: flex; justify-content: space-between; align-items: center;
  border-bottom: 1px solid #5a602578; font-size: .75rem; font-weight: 750; letter-spacing: .12em; text-transform: uppercase;
}
.sun-header span:last-child { font-size: 2.1rem; line-height: 1; }
.sun-hero {
  max-width: 92rem; margin: auto; min-height: calc(var(--cover-height) - 7rem);
  display: grid; grid-template-columns: .85fr 1.15fr; gap: min(4vw, 4rem); align-items: center;
}
.sun-copy { padding-block: 2.5rem; }
.sun-copy h1 { font-size: clamp(5rem, 10.6vw, 10.5rem); position: relative; z-index: 1; }
.sun-copy h1 em { color: #486029; white-space: nowrap; }
.sun-copy .cover-lead { max-width: 23rem; }
.flower-strips {
  width: 100%; height: clamp(19rem, 37vw, 36rem); display: grid; grid-template-columns: .71fr 1.16fr .71fr;
  align-items: center; gap: .48rem; perspective: 800px;
}
.flower-strips img { border-radius: 6rem 6rem 6rem 6rem; box-shadow: 0 .75rem 1.65rem #643d1f27; animation: strip-arrive .82s var(--cover-transition) both; }
.flower-strips img:first-child { height: 76%; object-position: 42% 50%; transform: translateY(-12%); }
.flower-strips img:nth-child(2) { height: 98%; object-position: 45% 52%; animation-delay: .09s; }
.flower-strips img:last-child { height: 77%; object-position: 32% 50%; transform: translateY(14%); animation-delay: .16s; }
@keyframes strip-arrive { from { opacity: .35; scale: .8 .9; translate: 0 2.2rem; } }

/* The walk through the six gardens */
.garden { padding: 0 var(--gutter); max-width: 115rem; min-height: 89svh; margin: auto; }
.garden-top {
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center;
  gap: .55rem; padding: .55rem 0 .45rem; border-bottom: 1px solid color-mix(in srgb, currentColor 28%, transparent);
}
.garden-top button:first-child { justify-self: start; }
.garden-top button:last-child { justify-self: end; }
.garden-dedication { font-family: var(--serif); font-size: clamp(.99rem, 2.8vw, 1.38rem); font-weight: 650; }
.stage { margin-top: clamp(.9rem, 3vh, 2.25rem); touch-action: pan-y; }
.chapter {
  position: relative; min-height: clamp(26rem, 65svh, 49rem); display: grid; align-items: center;
  grid-template-columns: 1.15fr 1fr; overflow: hidden; isolation: isolate;
}
.chapter-visual { align-self: stretch; min-height: 100%; overflow: hidden; }
.chapter-words { position: relative; z-index: 1; padding: clamp(1.85rem, 5vw, 5rem); animation: words-in .68s .08s var(--cover-transition) both; }
.chapter-words h2 { font-size: clamp(3.1rem, 6.2vw, 6.3rem); line-height: .9; letter-spacing: -.054em; margin: .32em 0 .35em; text-wrap: balance; }
.chapter-message { font-size: clamp(1rem, 1.32vw, 1.2rem); max-width: 33rem; line-height: 1.65; }
.scene-photo { min-height: 11rem; }
.garden-nav {
  min-width: 0; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 1rem; padding: 1rem 0 0;
}
.nav-button {
  min-height: 2.8rem; padding: .42rem .85rem;
  color: inherit; background: transparent; font-weight: 700; font-size: .88rem;
  border: 1px solid color-mix(in srgb, currentColor 38%, transparent); border-radius: 6rem;
  transition: background-color .18s ease;
}
.nav-button:hover { background: color-mix(in srgb, currentColor 12%, transparent); }
.nav-button:disabled { opacity: .35; cursor: default; }
.nav-button:first-child { justify-self: start; }
.nav-button:last-child { justify-self: end; }
.garden-steps { display: flex; align-items: center; justify-content: center; gap: .55rem; min-width: 0; }
.garden-step {
  width: 2.6rem; height: 2.6rem; padding: 2px; border-radius: 50%; overflow: hidden;
  border: 1px solid transparent; background: transparent; opacity: .81; transition: opacity .18s ease, transform .18s ease, border-color .18s ease;
}
.garden-step img { border-radius: inherit; }
.garden-step:hover, .garden-step[aria-current] { opacity: 1; transform: translateY(-2px); border-color: currentColor; }
[data-design="secret"] .chapter { min-height: clamp(28rem, 70svh, 56rem); grid-template-columns: 1fr; border-radius: .38rem; }
[data-design="secret"] .chapter-visual, [data-design="secret"] .chapter::after { position: absolute; inset: 0; z-index: -1; }
[data-design="secret"] .chapter::after { content: ""; background: linear-gradient(90deg,#0c1a12f2 0%,#142117b4 38%,#202c200d 84%); }
[data-design="secret"] .scene-photo { animation: split-wipe .92s var(--cover-transition) both; filter: brightness(.95) saturate(.8); }
[data-design="secret"] .backwards .scene-photo { animation-name: split-wipe-back; }
[data-design="secret"] .chapter-words { max-width: 55rem; }
[data-design="secret"] .flower-label { color: #f2bca7; }
[data-design="bloom"] .chapter { border: 1px solid #b986914f; background: #fff2ec; box-shadow: 0 1.1rem 2.4rem #730d3221; border-radius: 2rem .42rem .42rem 2rem; }
[data-design="bloom"] .chapter-visual { padding: clamp(.75rem, 2.5vw, 2.5rem); padding-right: 0; }
[data-design="bloom"] .scene-photo { border-radius: 48% 48% .5rem .5rem / 32% 32% .5rem .5rem; animation: fold-in .84s var(--cover-transition) both; transform-origin: left center; }
[data-design="bloom"] .backwards .scene-photo { transform-origin: right center; }
[data-design="bloom"] .flower-label { color: var(--flower-ink); }
[data-design="dusk"] .chapter { min-height: clamp(29rem, 69svh, 54rem); grid-template-columns: 1fr .88fr; gap: 3%; padding: 1.4rem 3vw; background: radial-gradient(ellipse at 32% 50%, color-mix(in srgb, var(--flower) 40%, #14131f), #14131f 62%); }
[data-design="dusk"] .chapter-visual { align-self: center; justify-self: center; width: min(100%, 31rem); height: clamp(21rem, 56svh, 43rem); min-height: 0; border-radius: 50% 50% 42% 42% / 37% 37% 32% 32%; border: 1px solid #e8bac07a; padding: .5rem; box-shadow: 0 0 3.2rem color-mix(in srgb, var(--flower) 58%, transparent), inset 0 0 1.2rem #f2b0bf46; }
[data-design="dusk"] .scene-photo { animation: lantern-reveal 1s var(--cover-transition) both; border-radius: inherit; filter: saturate(.74) brightness(.88); }
[data-design="dusk"] .chapter-words { padding: 1.6rem clamp(.4rem, 3vw, 2.2rem); }
[data-design="dusk"] .flower-label { color: #f4c5d9; }
[data-design="dusk"] .garden-step { position: relative; width: 2.05rem; height: 2.3rem; display: grid; place-items: center; overflow: visible; opacity: 1; }
[data-design="dusk"] .garden-step img { display: none; }
[data-design="dusk"] .garden-step::before { content: ""; width: .63rem; height: .63rem; border-radius: 50%; background: var(--step-color); box-shadow: 0 0 .85rem var(--step-color); }
[data-design="dusk"] .garden-step[aria-current]::before { background: #ffcedb; box-shadow: 0 0 1.1rem #f5adbb; }
[data-design="keepsake"] .chapter { width: min(100%, 80rem); margin: auto; border: 1px solid #52674855; border-radius: .43rem; background: repeating-linear-gradient(0deg,#fff9ee00 0 31px,#b7aa891c 31px 32px), #faf1dd; box-shadow: 0 .31rem 0 -.15rem #d5caad, 0 .63rem 0 -.3rem #fff5dd, 0 .78rem 2rem #303c312d; }
[data-design="keepsake"] .chapter-visual { align-self: center; min-height: 0; padding: clamp(.5rem, 2vw, 1.4rem); width: 86%; margin: 2.5rem auto; height: clamp(18rem, 47svh, 34rem); background: #fff9ec; transform: rotate(-4deg); box-shadow: 0 .5rem 1.5rem #64491f48; animation: keepsake-in .8s var(--cover-transition) both; }
[data-design="keepsake"] .backwards .chapter-visual { animation-name: keepsake-back; }
[data-design="keepsake"] .flower-label { color: var(--flower-ink); }
[data-design="sunlight"] .chapter { background: #fff0b6; border: 1px solid #7b68223b; border-radius: 5rem 5rem 1.3rem 1.3rem; grid-template-columns: 1.32fr .97fr; }
[data-design="sunlight"] .chapter-visual { margin: 1.45rem; height: calc(100% - 2.9rem); min-height: 0; border-radius: 4rem .9rem .9rem 1.1rem; overflow: hidden; }
[data-design="sunlight"] .scene-photo { animation: slide-through .75s var(--cover-transition) both; }
[data-design="sunlight"] .backwards .scene-photo { animation-name: slide-back; }
[data-design="sunlight"] .chapter-words { padding-left: clamp(.5rem, 2vw, 2rem); }
[data-design="sunlight"] .flower-label { color: var(--flower-ink); }
[data-design="sunlight"] .garden-steps { gap: .26rem; }
[data-design="sunlight"] .garden-step { border-radius: .35rem; width: 3.1rem; height: 2.42rem; }
@keyframes words-in { from { opacity: 0; translate: 0 1rem; } to { opacity: 1; translate: 0; } }
@keyframes split-wipe { from { clip-path: inset(0 5% 0 95%); scale: 1.06; } to { clip-path: inset(0); scale: 1; } }
@keyframes split-wipe-back { from { clip-path: inset(0 95% 0 5%); scale: 1.06; } to { clip-path: inset(0); scale: 1; } }
@keyframes fold-in { from { opacity: .18; transform: perspective(700px) rotateY(-30deg) translateX(5%); } }
@keyframes lantern-reveal { from { clip-path: circle(9% at 50% 65%); filter: brightness(.4); } to { clip-path: circle(78% at 50% 50%); } }
@keyframes keepsake-in { from { opacity: .15; transform: rotate(13deg) translate(18%, 10%); } }
@keyframes keepsake-back { from { opacity: .15; transform: rotate(-19deg) translate(-18%, 10%); } }
@keyframes slide-through { from { opacity: .2; transform: translateX(30%) scale(1.12); } }
@keyframes slide-back { from { opacity: .2; transform: translateX(-30%) scale(1.12); } }

/* The final note and credits */
dialog {
  position: fixed; max-height: min(85svh, 45rem); width: min(35rem, calc(100% - 2rem));
  padding: clamp(1.6rem, 5vw, 3.2rem); border-radius: .85rem; border: 1px solid #aa7870;
  color: #3c2b35; background: #fff7ed; box-shadow: 0 2rem 6rem #1e0c26b0; overflow: auto;
}
dialog::backdrop { background: #110f1aba; backdrop-filter: blur(5px); }
dialog[open] { animation: words-in .37s var(--cover-transition) both; }
dialog h2 { font-size: clamp(2.9rem, 10vw, 4.7rem); line-height: .92; letter-spacing: -.059em; margin: .18em 0 .25em; }
dialog p + p { margin-top: .9rem; }
dialog .eyebrow { color: #8e405e; }
dialog .dialog-close { position: absolute; top: .4rem; right: .65rem; min-width: 2.75rem; height: 2.75rem; color: #682841; border: 0; background: transparent; font: 1.8rem var(--sans); }
.signature { color: #87394d; font: italic 600 1.7rem var(--serif); }
dialog .primary { --button: #70364f; --button-ink: #fff6ed; margin-top: 1.15rem; }
.credits-dialog ul { padding-left: 1.25rem; margin-bottom: 0; }
.credits-dialog li { margin-bottom: .48rem; }
.credits-dialog a { color: #762f45; text-underline-offset: .14em; }
@media (max-width: 820px) {
  .bloom-copy { padding-left: 0; }
  .dusk-cover { gap: 3vw; }
  .dusk-copy { padding-left: 0; }
  .secret-copy { padding-block: 7rem; }
}
@media (max-width: 640px) {
  :root { --cover-height: 90svh; }
  h1 { font-size: clamp(4.7rem, 15vw, 6.7rem); }
  .cover .primary { margin-top: 1.15rem; }
  .secret-header { top: 1.1rem; gap: .4rem; }
  .secret-header > :first-child, .secret-header > :last-child { font-size: .62rem; letter-spacing: .08em; }
  .secret-copy { padding: 9rem var(--gutter) 6rem; }
  .secret-copy h1 { font-size: clamp(5rem, 19vw, 8rem); }
  .secret-wash { background: linear-gradient(90deg,#101c13e8 0%,#122317ab 39%,#14261b34 92%), linear-gradient(0deg,#0b170db8,transparent 61%); }
  .secret-photo { object-position: 56% 50%; }
  .secret-index { bottom: 1.65rem; }
  .bloom-cover { padding-bottom: 2rem; }
  .bloom-header { padding-top: 1rem; font-size: .64rem; letter-spacing: .09em; gap: .75rem; }
  .bloom-grid { display: flex; flex-direction: column; gap: 0; align-items: stretch; padding-top: .1rem; }
  .bloom-copy { padding: 1.75rem 0 1.55rem; }
  .bloom-figure { width: min(93%, 27rem); align-self: center; padding: .48rem; }
  .bloom-figure img { height: clamp(13.5rem, 57vw, 22rem); }
  .bloom-figure figcaption { bottom: 1.1rem; right: -.44rem; font-size: 1.12rem; }
  .dusk-cover { display: flex; flex-direction: column; align-items: stretch; justify-content: start; gap: 1.5rem; padding: 3.9rem var(--gutter) 2rem; }
  .dusk-header { top: 1rem; }
  .dusk-copy h1 { font-size: clamp(4.4rem, 14vw, 7.5rem); }
  .dusk-figure { width: min(71%, 17.5rem); height: clamp(13rem, 59vw, 21rem); align-self: center; padding: .44rem; }
  .dusk-figure span { font-size: 2rem; }
  .dusk-orbit { width: 110vw; height: 66vw; right: -26vw; top: 47%; }
  .keepsake-cover { padding: 1.15rem var(--gutter) 1.8rem; }
  .scrapbook { grid-template-columns: 1fr; gap: .85rem; padding: 1.45rem 1.3rem 1.5rem; background: repeating-linear-gradient(0deg,#fff9ee00 0 26px,#b7aa891a 26px 27px), #fbf1dc; }
  .book-copy { padding-block: .2rem .85rem; }
  .book-copy h1 { font-size: clamp(4.2rem, 16vw, 6.8rem); }
  .book-stamp { width: 3.8rem; height: 3.8rem; bottom: .5rem; right: .65rem; font-size: .57rem; line-height: 1.1; }
  .photo-stack { width: min(80%, 21rem); margin-top: .5rem; }
  .top-photo figcaption { font-size: 1.25rem; }
  .sun-header { min-height: 3.3rem; }
  .sun-hero { display: flex; flex-direction: column; gap: .25rem; align-items: stretch; }
  .sun-copy { padding: 1.45rem 0 0; }
  .sun-copy h1 { font-size: clamp(4.6rem, 16vw, 8.5rem); }
  .flower-strips { height: clamp(13rem, 58vw, 25rem); gap: .4rem; padding-block: .65rem; }
  .garden { min-height: 0; }
  .garden-top { padding-top: .2rem; }
  .garden-top .text-button { font-size: .75rem; }
  .chapter, [data-design="dusk"] .chapter, [data-design="sunlight"] .chapter { min-height: auto; grid-template-columns: 1fr; }
  .chapter-visual { min-height: 0; height: clamp(12.5rem, 55vw, 22rem); }
  .chapter-words { padding: 1.15rem 1.3rem 1.4rem; }
  .chapter-words h2 { font-size: clamp(2.75rem, 10vw, 4rem); }
  [data-design="secret"] .chapter { min-height: 33.5rem; min-height: max(25rem, 66svh); align-items: end; }
  [data-design="secret"] .chapter-visual { height: 100%; }
  [data-design="secret"] .chapter::after { background: linear-gradient(0deg,#101c13f7 0%,#18291ed3 27%,#18271d18 82%); }
  [data-design="secret"] .chapter-words { padding: 1.35rem 1.1rem 1.65rem; }
  [data-design="bloom"] .chapter { border-radius: 1.2rem; }
  [data-design="bloom"] .chapter-visual { padding: .75rem .75rem 0; }
  [data-design="bloom"] .scene-photo { border-radius: .8rem .8rem .25rem .25rem; }
  [data-design="dusk"] .chapter { padding-top: .38rem; gap: .1rem; }
  [data-design="dusk"] .chapter-visual { height: clamp(12rem, 57vw, 19rem); width: min(84%, 21rem); padding: .35rem; }
  [data-design="dusk"] .chapter-words { padding: 1.15rem .4rem .45rem; }
  [data-design="keepsake"] .chapter-visual { height: clamp(10rem, 43vw, 17rem); margin: 1.15rem auto .2rem; }
  [data-design="sunlight"] .chapter { border-radius: 2.35rem 2.35rem .8rem .8rem; }
  [data-design="sunlight"] .chapter-visual { height: clamp(11rem, 47vw, 17rem); margin: .65rem .65rem 0; border-radius: 1.8rem 1.8rem .5rem .5rem; }
  [data-design="sunlight"] .chapter-words { padding: 1.13rem 1.1rem 1.37rem; }
  .garden-nav { gap: .55rem; grid-template-columns: 1fr 1fr; }
  .garden-steps { grid-row: 2; grid-column: span 2; padding-top: .3rem; }
  .nav-button { min-height: 2.8rem; }
  .garden-step { width: 2.75rem; height: 2.75rem; }
  [data-design="dusk"] .garden-step { width: 2.55rem; height: 2.75rem; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-delay: 0ms !important; transition-duration: .01ms !important; }
}
