:root {
  --ink: #1b2d5c; --sky: #83b2d7; --yellow: #ebc46c; --lavender: #aa9bd7;
  --leaf: #7ba29a; --peach: #efad8f; --orange: #d46243; --cream: #fef3e2;
  --heading: 'SF Pro Rounded', ui-rounded, 'Arial Rounded MT Bold', 'grenadine-mvb', sans-serif;
  --body: 'grenadine-mvb', sans-serif; --gutter: 16px;
  --night-gradient: linear-gradient(180deg,#1b2d5c 0%,#1b2d5c 45%,#294974 66%,#507fa7 84%,#83b2d7 100%);
  color-scheme: light; scroll-behavior: smooth; scroll-padding-top: 115px;
}
body.physics-view { height: auto; overflow: visible; background: var(--cream); color: var(--ink); font: 400 17px/1.7 var(--body); }
.hero { position: relative; isolation: isolate; height: 100svh; overflow: hidden; background: var(--night-gradient); }
.hero .brand-backdrop, .hero .grid, .hero .sky-layer, .hero .view-controls, .hero .sleep-layer, .hero .shine-layer { position: absolute; }
.hero .grid { height: 100%; }
.hero .brand-description { line-height: 1.55; }
.scroll-cue { position: absolute; z-index: 1002; bottom: max(16px,env(safe-area-inset-bottom)); left: calc(50% - 24px); width: 48px; height: 48px; display: grid; place-items: center; border: 1px solid #fff8; border-radius: 50%; color: #fff; background: #1b2d5c88; backdrop-filter: blur(8px); transition: background .2s, transform .2s; }
.scroll-cue svg { width: 22px; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.6; }
.scroll-cue:hover { background: var(--ink); transform: translateY(3px); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip-link { position: fixed; top: 12px; left: 12px; z-index: 5000; transform: translateY(-200%); background: var(--cream); color: var(--ink); padding: 12px 18px; }
.skip-link:focus { transform: none; }
a { color: inherit; } button, input, select, textarea { font: inherit; } button, a, summary { -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; } img { max-width: 100%; } p { margin: 0 0 1.2em; } h2,h3 { font-family: var(--heading); font-weight: 900; line-height: 1.04; letter-spacing: -.045em; margin: 0 0 .55em; text-wrap: balance; }
h2 { font-size: clamp(2.5rem,5.2vw,5.5rem); } h3 { font-size: clamp(1.5rem,2.2vw,2.35rem); } h2 em { font-style: normal; color: var(--orange); }
a:focus-visible,button:focus-visible,summary:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible { outline: 3px solid currentColor; outline-offset: 5px; }
#discover:focus { outline: none; }
.site-header { position: sticky; top: 0; z-index: 1005; display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 108px; padding: 12px max(16px,calc((100vw - 1536px)/2)); background: var(--cream); border-bottom: 1px solid #1b2d5c25; }
.nav-brand { display: block; padding: 8px 18px; flex-shrink: 0; } .nav-brand img { display: block; width: 90px; height: 70px; object-fit: contain; }
.site-header nav { display: flex; gap: clamp(18px,2.3vw,40px); align-items: center; } .site-header nav a { text-decoration: none; font-size: 15px; } .site-header nav a:hover { text-decoration: underline; text-underline-offset: 5px; }
.menu-toggle { display: none; }
.button { display: inline-flex; justify-content: space-between; align-items: center; gap: 32px; background: var(--ink); color: var(--cream); border: 2px solid var(--ink); border-radius: 999px; padding: 17px 27px; text-decoration: none; font-size: 16px; line-height: 1.35; font-weight: 600; min-height: 56px; transition: transform .2s, box-shadow .2s; }
.button span[aria-hidden] { font: 26px/1 system-ui,sans-serif; } .button:hover { transform: translateY(-3px); box-shadow: 0 5px 0 #1b2d5c25; } .button-small { padding: 12px 20px; min-height: 48px; font-size: 14px; } .button-yellow { background: var(--yellow); color: var(--ink); border-color: var(--yellow); }
.button-row { display: flex; flex-wrap: wrap; align-items: center; gap: 24px; margin: 32px 0 22px; } .text-link { text-decoration-thickness: 1px; text-underline-offset: 6px; font-weight: 500; }
.section-space { padding: clamp(64px,8vw,128px) max(16px,calc((100vw - 1536px)/2)); }
.page-grid { display: grid; grid-template-columns: repeat(8,minmax(0,1fr)); gap: var(--gutter); } .page-grid > * { min-width: 0; }
.eyebrow { font: 700 13px/1.6 var(--body); text-transform: uppercase; letter-spacing: .13em; margin-bottom: 24px; }
.small-print { font-size: 14px; line-height: 1.6; }
.step-note { margin-top: 10px; font-size: 13px; opacity: .72; }
/* An eyebrow with a qualifier under it: the eyebrow keeps its own rhythm,
   the note sits close beneath in sentence case rather than shouting. */
.eyebrow-tight { margin-bottom: 6px; }
.eyebrow-note { margin-bottom: 24px; font-size: 14px; opacity: .72; } .small-print span { padding: 0 7px; }
.introduction { background: var(--sky); color: var(--ink); }
.introduction h2 em { color: var(--ink); }
.supplied-photo { display: block; width: 100%; height: auto; }
.intro-copy { grid-column: 1 / 5; align-self: center; padding: 0 4vw 0 16px; } .intro-copy h2 { font-size: clamp(3rem,5.8vw,6.2rem); } .intro-copy > p:not(.eyebrow):not(.small-print) { max-width: 520px; } .body-large { font-size: clamp(18px,1.45vw,23px); line-height: 1.65; }
.intro-visual { grid-column: 5 / 9; align-self: center; position: relative; padding: 20px 4%; }
.shaped-photo { display: block; width: 100%; aspect-ratio: 1; height: auto; object-fit: cover; mask-repeat: no-repeat; mask-position: center; mask-size: contain; -webkit-mask-repeat: no-repeat; -webkit-mask-position: center; -webkit-mask-size: contain; }
.photo-blob { mask-image: url('./assets/blob-mask.svg'); -webkit-mask-image: url('./assets/blob-mask.svg'); object-position: 54% center; }
.intro-star { position: absolute; width: 25%; height: auto; bottom: 1%; right: 0; transform: rotate(12deg); }
.photo-caption { position: absolute; bottom: 0; left: 10%; font-size: 14px; transform: rotate(-4deg); }
.promise-strip { padding: 24px 16px; display: flex; align-items: center; justify-content: space-evenly; gap: 20px; background: var(--yellow); color: var(--ink); font-size: 16px; font-weight: 600; }
.promise-strip img { filter: brightness(0) saturate(100%); opacity: .65; flex: 0 0 18px; }
.section-heading { align-items: end; margin-bottom: 48px; padding: 0 16px; } .section-heading > div { grid-column: 1/6; } .section-heading > p { grid-column: 6/9; font-size: clamp(17px,1.45vw,22px); max-width: 450px; margin: 0 0 12px; } .section-heading h2 { margin-bottom: 0; font-size: clamp(2.5rem,4.1vw,4.4rem); }
.listen-section { background: var(--lavender); }
.story-showcase { display: grid; grid-template-columns: 3fr 5fr; background: var(--ink); color: var(--cream); border-radius: 40px; overflow: hidden; min-height: 370px; }
.story-illustration { position: relative; display: grid; place-items: center; padding: 40px; background: #ffffff06; }
.story-illustration > img:first-child { width: min(260px,80%); height: 260px; object-fit: contain; transform: rotate(-8deg); } .story-twinkle { position: absolute; right: 12%; top: 20%; }
.story-preview { align-self: center; padding: 48px 8% 48px 24px; } .story-preview h3 { font-size: clamp(2rem,3.3vw,3.5rem); max-width: 620px; } .story-preview > p:not(.eyebrow) { max-width: 600px; } .story-preview .eyebrow { color: var(--yellow); }
.audio-notice { display: inline-flex; gap: 10px; align-items: center; margin: 10px 0 0; border-top: 1px solid #fef3e230; padding-top: 18px; font-size: 14px; }
/* Where to hear the whole story, under the sample. Quiet on purpose: the
   sample is the thing being offered, these are for anyone who wants more. */
.story-links { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin: 14px 0 0; font-size: 14px; }
.story-links[hidden] { display: none; }
.story-links > span { opacity: .7; }
.story-links a { display: inline-flex; align-items: center; gap: 6px; padding: 6px 14px; border: 1px solid #fef3e240; border-radius: 999px; text-decoration: none; transition: border-color .2s, background .2s; }
.story-links a:hover { border-color: var(--yellow); background: #fef3e212; }
.story-selectors { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 16px; margin-top: 20px; } .story-selector { text-align: left; display: flex; gap: 18px; padding: 26px; border-radius: 24px; border: 1px solid #1b2d5c60; color: var(--ink); background: transparent; transition: background .2s; }
.story-selector[aria-pressed=true] { background: var(--cream); border-color: var(--ink); } .story-selector:hover { background: #fef3e280; } .story-selector strong { display: block; font-size: 16px; line-height: 1.5; font-weight: 600; } .story-selector small { display: block; margin-top: 8px; font-size: 14px; line-height: 1.6; } .story-number { opacity: .7; font-size: 14px; padding-top: 2px; }
.how-section { background: var(--cream); } .steps { list-style: none; display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 48px; padding: 0 16px; margin: 64px 0 0; } .steps li { min-width: 0; } .step-art { display: flex; align-items: center; justify-content: space-between; margin-bottom: 36px; border-bottom: 1px solid #1b2d5c30; padding: 0 16px 24px 0; height: 180px; } .step-art > span { font: 900 clamp(3.5rem,6vw,6rem)/1 var(--heading); letter-spacing: -.07em; } .step-art img { width: 125px; height: 135px; object-fit: contain; transform: rotate(8deg); } .steps li:nth-child(2) .step-art img { transform: rotate(-8deg); } .steps h3 { font-size: clamp(1.5rem,2vw,2.1rem); letter-spacing: -.035em; }
.pricing-section { background: var(--cream); } .pricing-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 24px; } .price-card { min-width: 0; max-width: 100%; overflow-wrap: anywhere; padding: clamp(28px,4vw,64px); border-radius: 40px; display: flex; flex-direction: column; } .bedtime-card { background: var(--yellow); } .adventure-card { background: var(--peach); } .price-heading { display: flex; justify-content: space-between; align-items: start; gap: 20px; margin: 20px 0; } .price-heading h3 { font-size: clamp(2.8rem,4.5vw,4.8rem); margin: 0; } .price { font: 900 clamp(2.5rem,4vw,4.5rem)/1 var(--heading); letter-spacing: -.05em; margin: 0; } .price span { display: block; font: 500 14px/2 var(--body); text-align: right; letter-spacing: 0; margin-top: 8px; } .price-card > p:not(.eyebrow):not(.duration) { max-width: 420px; min-height: 60px; } .duration { margin: 20px 0 0; padding-bottom: 28px; border-bottom: 1px solid #1b2d5c30; } .duration strong,.duration span { display: block; } .duration span { font-size: 14px; margin-top: 4px; } .price-card ul { list-style: none; padding: 0; margin: 28px 0 40px; } .price-card li { position: relative; padding-left: 25px; margin: 12px 0; } .price-card li:before { content: '✓'; position: absolute; left: 0; } .price-card .button { width: 100%; margin-top: auto; }
.book-section { background: var(--leaf); } .book-copy { grid-column: 1/5; align-self: center; padding: 0 3vw 0 16px; } .book-copy h2 em { color: var(--ink); } .book-copy > p:not(.eyebrow) { max-width: 490px; } .book-copy .button { margin-top: 18px; } .book-art { position: relative; grid-column: 5/9; padding: 50px 12% 80px; align-self: center; } .book-art > img:first-child { width: 100%; height: auto; transform: rotate(-9deg); } .book-label { position: absolute; bottom: 0; right: 4%; display: grid; place-items: center; width: clamp(180px,22vw,300px); aspect-ratio: 1; padding: 24px; border-radius: 50%; background: var(--yellow); text-align: center; font: 900 clamp(1.8rem,3.2vw,3rem)/1.08 var(--heading); letter-spacing: -.045em; color: var(--ink); transform: rotate(7deg); } .book-spark { position: absolute; width: 12%; top: 2%; right: 5%; }
/* The hardcover. Leaf is taken by the picture book above it, so this one sits
   on the sky blue, and the cover art is the hero rather than a character. */
.hardcover-section { background: var(--sky); }
.hardcover-art { grid-column: 1/5; align-self: center; padding: 20px 8% 30px; }
.photo-hardcover { mask-image: url('./assets/blob-mask.svg'); -webkit-mask-image: url('./assets/blob-mask.svg'); }
.hardcover-copy { grid-column: 5/9; align-self: center; padding-left: 10%; }
.hardcover-copy h2 { font-size: clamp(2.5rem,4vw,4.25rem); }
.hardcover-copy h2 em { color: var(--ink); }
.hardcover-copy > p:not(.eyebrow) { max-width: 460px; }
.hardcover-copy .button { margin-top: 18px; }
.gift-section { background: var(--peach); } .gift-visual { position: relative; grid-column: 1/5; padding: 20px 7% 30px; } .photo-heart { mask-image: url('./assets/heart-mask.svg'); -webkit-mask-image: url('./assets/heart-mask.svg'); object-position: 58% center; } .gift-heart { position: absolute; right: 0; bottom: 0; width: 24%; height: auto; transform: rotate(12deg); } .gift-copy { grid-column: 5/9; padding-left: 12%; align-self: center; } .gift-copy h2 em { color: var(--ink); } .gift-copy > p:not(.eyebrow) { max-width: 440px; } .gift-copy .button { margin-top: 18px; }
.faq-intro { grid-column: 1/4; padding: 0 16px; } .faq-intro h2 { font-size: clamp(2.5rem,4vw,4.25rem); } .faq-intro img { width: 145px; height: auto; margin: 50px 0 0 30px; transform: rotate(-14deg); } .faqs { grid-column: 4/9; padding: 0 16px; } .faqs details { border-bottom: 1px solid #1b2d5c30; } .faqs details:first-child { border-top: 1px solid #1b2d5c30; } .faqs summary { padding: 26px 36px 26px 0; list-style: none; cursor: pointer; position: relative; font-weight: 600; font-size: 18px; } .faqs summary::-webkit-details-marker { display: none; } .faqs summary:after { content: '+'; position: absolute; right: 4px; top: 23px; font: 24px/1.5 system-ui; } .faqs details[open] summary:after { content: '−'; } .faqs details p { padding-right: 36px; margin: 0 0 28px; }
.closing-section { isolation: isolate; overflow: hidden; text-align: center; background: var(--night-gradient); color: var(--cream); position: relative; } .closing-section > img { width: 95px; height: auto; transform: rotate(12deg); margin-bottom: 32px; } .closing-section > :not(.sky-layer) { position: relative; z-index: 1; } .closing-section .sky-layer { position: absolute; z-index: 0; } .closing-section .eyebrow { color: var(--yellow); } .closing-section h2 { font-size: clamp(3rem,6vw,6.2rem); } .closing-section .button { margin: 12px 0 24px; } .closing-section .small-print { margin: 0; color: var(--ink); }
.site-footer { background: var(--yellow); padding: 64px max(32px,calc((100vw - 1504px)/2)) 24px; } .site-footer > a { display: inline-block; padding: 10px 0 24px; max-width: 75%; } .site-footer img { width: 450px; height: auto; display: block; } .site-footer > div { display: flex; justify-content: space-between; gap: 32px; margin: 12px 0 36px; font-size: 15px; } .footer-small { font-size: 13px; border-top: 1px solid #1b2d5c30; padding-top: 20px; margin: 0; }
.story-dialog { background: var(--cream); color: var(--ink); border: 0; border-radius: 28px; padding: 48px; width: min(680px,calc(100% - 32px)); max-height: calc(100svh - 32px); overscroll-behavior: contain; } .story-dialog::backdrop { background: #101d41ba; backdrop-filter: blur(6px); } .story-dialog h2 { font-size: clamp(2.3rem,5vw,3.8rem); } .dialog-close { position: absolute; right: 14px; top: 14px; border: 0; border-radius: 50%; width: 40px; height: 40px; background: var(--yellow); color: var(--ink); font: 28px/1 system-ui; } .story-dialog > p:not(.eyebrow) { font-size: 15px; } #story-brief,#gift-details { display: grid; gap: 20px; } #story-brief label,#gift-details label { display: grid; gap: 7px; font-size: 15px; } #story-brief input:not([type=radio]):not([type=checkbox]),#story-brief textarea,#story-brief select,#gift-details input:not([type=radio]):not([type=checkbox]),#gift-details textarea { width: 100%; min-width: 0; background: #fff8; color: var(--ink); border: 1px solid #1b2d5c70; border-radius: 12px; padding: 12px 14px; font-size: 16px; font-family: inherit; } #story-brief textarea,#gift-details textarea { resize: vertical; } /* A label is a grid, so a bare text node and the (optional) span became two rows and the annotation dropped onto a line of its own. Keeping them in one element keeps them on one line. */ .field-label { display: block; } /* The way out of the finished pictures card. It is appended to the dialog rather than the form, because the form is hidden by then. */ .pictures-done { margin-top: 24px; } .form-pair { display: grid; grid-template-columns: 2fr 1fr; gap: 16px; } /* Name and email, not name and age: an email needs as much room as the name does, and at 1fr the placeholder was cut off mid-word. */ #gift-details .form-pair { grid-template-columns: 1fr 1fr; } /* A date is eight characters. Full width it read as an empty box. */ #gift-details input[type=date] { max-width: 240px; } .plan-options { padding: 0; margin: 0; border: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; } .plan-options legend { margin-bottom: 12px; font-size: 15px; } .plan-options label { display: flex !important; align-items: start; padding: 14px; border: 1px solid #1b2d5c50; border-radius: 12px; } .plan-options label:has(input:checked) { background: var(--yellow); border-color: var(--ink); } .plan-options strong { display: block; } input[type=checkbox],input[type=radio] { accent-color: var(--ink); width: 18px; height: 18px; flex-shrink: 0; } #story-brief .check-label { display: flex; align-items: center; gap: 12px; } .optional { font-size: 13px; } .form-status { font-size: 14px; margin: 0; } .form-status:empty { display: none; } /* The gift card's three ways out: pay, go back, or change your mind. The two
   quiet ones sit under the button and read as text, so neither competes with
   it and both are plainly there. */
.gift-actions { display: grid; gap: 10px; justify-items: start; }
.gift-actions .button { justify-self: stretch; text-align: center; }
.link-button { background: none; border: 0; padding: 6px 2px; min-height: 44px; color: var(--ink); font: inherit; font-size: 15px; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.link-button:hover { opacity: .72; } /* The confirmation that outlives the card. Sits above everything, in the
   brand's own colours, and can be dismissed but never disappears on its own. */
.order-received { position: sticky; top: 0; z-index: 60; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; padding: 14px 52px 14px 20px; background: var(--yellow); color: var(--ink); font-size: 15px; line-height: 1.5; }
.order-received strong { font-size: 16px; }
.order-received-close { position: absolute; right: 10px; top: 50%; transform: translateY(-50%); width: 40px; height: 40px; border: 0; border-radius: 50%; background: #1b2d5c1a; color: var(--ink); font: 22px/1 system-ui; cursor: pointer; }
@media (max-width: 760px) { .order-received { padding: 12px 48px 12px 16px; font-size: 14px; } }
@media (min-width: 901px) { .reveal.is-entering { animation: page-enter .7s cubic-bezier(.2,.7,.3,1) both; } }
@keyframes page-enter { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: none; } }
@media (max-width: 1000px) { .site-header { gap: 12px; } .site-header nav { gap: 16px; } .site-header nav a { font-size: 14px; } .nav-brand { padding: 8px; } .nav-create { gap: 14px; } .steps { gap: 24px; } .step-art img { width: 95px; } .story-selector { padding: 20px 16px; gap: 10px; } }
@media (max-width: 760px) {
  :root { scroll-padding-top: 92px; } body.physics-view { font-size: 16px; }
  .site-header { min-height: 88px; padding: 10px 16px; flex-wrap: wrap; gap: 12px; }
  .nav-brand { padding: 0 8px; } .nav-brand img { width: 70px; height: 60px; }
  .menu-toggle { display: flex; gap: 10px; align-items: center; background: none; color: var(--ink); border: 0; font-size: 15px; min-height: 44px; margin-left: auto; padding: 10px; } .menu-toggle span { font-size: 22px; } .nav-create { padding: 10px 15px; font-size: 13px; gap: 8px; min-height: 44px; } .nav-create span { display: none; }
  .site-header nav { display: none; order: 4; flex-basis: 100%; flex-direction: column; align-items: stretch; gap: 0; padding: 10px 0; } .site-header.menu-open nav { display: flex; } .site-header nav a { padding: 12px 8px; font-size: 16px; }
  .page-grid { grid-template-columns: repeat(4,minmax(0,1fr)); } .page-grid > * { grid-column: 1/-1; }
  .section-space { padding: 64px 16px; } .eyebrow { font-size: 12px; margin-bottom: 20px; }
  .intro-copy { padding: 0; } .intro-copy h2 { font-size: clamp(2.9rem,10.5vw,4.5rem); } .intro-copy > p:not(.eyebrow):not(.small-print) { max-width: 560px; } .intro-visual { width: 100%; max-width: 520px; justify-self: center; padding: 24px 0 0; margin-top: 16px; }
  .intro-star { width: 23%; } .photo-caption { left: 12%; font-size: 13px; } .button-row { gap: 22px; } .small-print { font-size: 13px; } .small-print span { padding: 0 2px; }
  .promise-strip { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; font-size: 13px; padding: 24px 16px; text-align: center; } .promise-strip img { display: none; }
  .section-heading { padding: 0; margin-bottom: 32px; gap: 24px; align-items: start; } .section-heading > div, .section-heading > p { grid-column: 1 / -1; min-width: 0; max-width: 100%; } .section-heading h2 { font-size: clamp(2.2rem,8vw,3.4rem); } .section-heading > p { margin: 0; font-size: 16px; }
  .story-showcase { grid-template-columns: 1fr; border-radius: 28px; } .story-illustration { padding: 32px 20px 0; background: transparent; } .story-illustration > img:first-child { width: 150px; height: 150px; } .story-twinkle { width: 26px; height: 26px; right: 24%; top: 30%; } .story-preview { padding: 28px; } .story-preview h3 { font-size: 2rem; } .story-preview .eyebrow { font-size: 11px; } .story-selectors { grid-template-columns: 1fr; gap: 10px; } .story-selector { border-radius: 16px; padding: 18px; } .story-selector strong { font-size: 15px; } .story-selector small { margin-top: 3px; }
  .steps { grid-template-columns: 1fr; padding: 0; gap: 40px; margin-top: 28px; } .step-art { height: 135px; margin-bottom: 24px; padding-bottom: 16px; } .step-art span { font-size: 4.5rem; } .step-art img { width: 110px; height: 115px; } .steps h3 { font-size: 1.8rem; } .steps li p { max-width: 540px; margin-bottom: 0; }
  .pricing-grid { grid-template-columns: minmax(0,1fr); gap: 20px; width: 100%; } .price-card { padding: 28px 24px; border-radius: 28px; } .price-heading { display: grid; grid-template-columns: minmax(0,1fr) auto; gap: 12px; } .price-heading h3 { min-width: 0; font-size: clamp(2rem,8.5vw,2.5rem); } .price { font-size: clamp(2rem,8.5vw,2.5rem); } .price-card > p:not(.eyebrow):not(.duration) { min-height: 0; } .price-card .button { padding: 15px 20px; font-size: 14px; gap: 12px; }
  .book-copy { padding: 0; }
  .hardcover-art, .hardcover-copy { grid-column: 1/-1; padding: 0; }
  .hardcover-art { max-width: 420px; justify-self: center; margin-bottom: 24px; }
  .hardcover-copy h2 { font-size: clamp(2.5rem,9vw,3.5rem); } .book-copy h2 { font-size: 3rem; } .book-art { max-width: 450px; width: 100%; justify-self: center; padding: 40px 15% 80px; margin-top: 24px; } .book-label { width: clamp(170px,48vw,220px); font-size: clamp(1.7rem,7vw,2.2rem); right: 5%; } .book-spark { top: 5%; right: 8%; }
  .gift-visual { max-width: 500px; justify-self: center; width: 100%; } .gift-copy { padding: 32px 0 0; } .gift-copy h2 { font-size: 3.4rem; } .gift-copy h2 br:last-child { display: none; }
  .faq-intro { padding: 0; } .faq-intro img { display: none; } .faqs { padding: 0; margin-top: 20px; } .faqs summary { font-size: 16px; padding-top: 24px; padding-bottom: 24px; } .faqs details p { font-size: 15px; padding-right: 12px; }
  .closing-section h2 { font-size: clamp(2.5rem,9vw,4rem); } .closing-section > img { width: 80px; } .closing-section .button { font-size: 14px; padding: 17px 22px; gap: 18px; }
  .site-footer { padding: 48px 24px 24px; } .site-footer > a { max-width: 100%; } .site-footer > div { flex-direction: column; gap: 12px; } .site-footer > div p { margin-bottom: 0; }
  .story-dialog { padding: 48px 24px 28px; } .plan-options { gap: 8px; } .plan-options label { padding: 12px 8px; font-size: 13px !important; } .story-dialog .button { font-size: 14px; } /* Side by side on a phone, a pair leaves two fields too narrow to read what is in them: the gift card's name and email both truncated mid-word, and their labels wrapped to two lines, so the two halves no longer lined up. One per row. */ .form-pair,#gift-details .form-pair { grid-template-columns: 1fr; } #gift-details input[type=date] { max-width: none; }
}
@media (prefers-reduced-motion: reduce) { :root { scroll-behavior: auto; } .reveal.is-entering { animation: none; } .button,.scroll-cue { transition: none; } .button:hover,.scroll-cue:hover { transform: none; } }

.page-loader { position: fixed; inset: 0; z-index: 10000; display: grid; place-items: center; background: var(--cream); overscroll-behavior: contain; touch-action: none; }
.page-loader[hidden] { display: none; }
.page-loader:focus { outline: none; }
.loader-logo { position: relative; width: min(54vw,340px); }
.loader-logo img { display: block; width: 100%; height: auto; }
.loader-logo .loader-fill { position: absolute; inset: 0; clip-path: url(#loader-wave-clip); -webkit-clip-path: url(#loader-wave-clip); }
.loader-wave-defs { position: absolute; width: 0; height: 0; pointer-events: none; }

/* ---------------------------------------------------------------------------
   ORDER FORM ADDITIONS

   Everything below was added when the planner became an order form: the
   add-on rows, the optional-questions expander, the audio player, the footer's
   legal links and the email field's note.

   It deliberately reuses the tokens and the shapes already established above —
   12px control radius, the #fff8 field wash, the 1px #1b2d5c ink borders, and
   yellow to mean "chosen" — so the new rows read as the same form rather than
   a bolted-on second one.
   --------------------------------------------------------------------------- */

/* Add-ons stack rather than sit side by side: each one carries a sentence
   explaining what it is, which does not survive being squeezed into a column. */
.addon-options { padding: 0; margin: 0; border: 0; display: grid; gap: 12px; }
.addon-options legend { margin-bottom: 12px; font-size: 15px; }
.addon { display: flex !important; align-items: start; gap: 12px; padding: 14px; border: 1px solid #1b2d5c50; border-radius: 12px; background: #fff8; }
.addon:has(input:checked) { background: var(--yellow); border-color: var(--ink); }
.addon > span { display: grid; gap: 4px; min-width: 0; }
.addon strong { font-weight: 700; }
/* An <em> for emphasis in the markup, but a price should not be italic. */
.addon-price { font-style: normal; font-weight: 700; }
.addon small { font-size: 13px; line-height: 1.5; }
/* The read-along is made from the picture book, so it cannot stand alone. Shown
   and dimmed rather than hidden, so the reason stays readable. */
.addon.is-unavailable { opacity: .55; }
.addon.is-unavailable input { cursor: not-allowed; }

/* The optional questions. Closed by default so the form reads as four
   questions, not eleven, at nine o'clock at night. */
.more-questions { border: 1px solid #1b2d5c30; border-radius: 12px; background: #fff6; }
.more-questions > summary { cursor: pointer; padding: 14px; font-size: 15px; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.more-questions > summary::-webkit-details-marker { display: none; }
.more-questions > summary::after { content: '+'; font: 400 22px/1 system-ui, sans-serif; flex-shrink: 0; }
.more-questions[open] > summary::after { content: '−'; }
.more-questions > summary:focus-visible { outline: 3px solid var(--ink); outline-offset: 2px; border-radius: 12px; }
.more-questions-body { display: grid; gap: 16px; padding: 0 14px 16px; }

/* The email field's reassurance, and any other small note under a control. */
.field-note { font-size: 13px; line-height: 1.5; opacity: .75; }

/* The sample player. Native controls, full width of the preview column. */
.story-audio { width: 100%; margin-top: 18px; display: block; }
.audio-error { font-size: 14px; font-weight: 700; margin: 10px 0 0; }
.audio-error[hidden] { display: none; }

/* The footer's legal and service links. */
/* The artist's questions, on the way back from paying. Same furniture as the
   planner: the card, the labels and the inputs are already styled above. */
#picture-questions, #shipping-details { display: grid; gap: 28px; }
#shipping-details[hidden] { display: none; }
.picture-question { display: grid; gap: 7px; }
.picture-question .question-text { margin: 0; font-size: 15px; font-weight: 600; }
.picture-question .field-note { margin-bottom: 4px; }
.picture-question input, .picture-question textarea { width: 100%; min-width: 0; background: #fff8; color: var(--ink); border: 1px solid #1b2d5c70; border-radius: 12px; padding: 12px 14px; font-size: 16px; font-family: inherit; }
.picture-question textarea { resize: vertical; }

/* Chips: a fixed list the server checks against, so they are radios wearing
   pills. The tick is the fill, not a dot, so it reads at a glance. */
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { display: inline-flex; align-items: center; border: 1px solid #1b2d5c50; border-radius: 999px; padding: 9px 16px; font-size: 15px; cursor: pointer; transition: background .15s, border-color .15s; }
/* Hidden to the eye, not to a keyboard or a screen reader. A zero-sized input
   drops out of the accessibility tree; this keeps it focusable and announced,
   and the pill below shows the state. */
.chip input { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.chip:hover { border-color: var(--ink); }
.chip:has(input:checked) { background: var(--yellow); border-color: var(--ink); font-weight: 600; }
.chip:has(input:focus-visible) { outline: 3px solid var(--ink); outline-offset: 3px; }

.footer-links { display: flex; flex-wrap: wrap; gap: 8px 24px; margin: 0 0 24px; font-size: 14px; }
.footer-links a { text-decoration: underline; text-underline-offset: 4px; }
/*
 * .footer-small already carries a top border and 20px of padding, which is
 * right for one closing line and wrong for three stacked ones: it drew a rule
 * above each. Only the first keeps it.
 */
.site-footer .footer-small + .footer-small { border-top: 0; padding-top: 0; margin-top: 6px; }

@media (max-width: 760px) {
  .addon { padding: 12px; }
  .more-questions-body { padding: 0 12px 14px; }
  .footer-links { gap: 8px 18px; margin-bottom: 20px; }
}
