:root {
  --paper: #fffaf0;
  --paper-deep: #fbeedb;
  --ink: #1e2a78;
  --ink-soft: #3d4790;
  --accent: #ff7038;
  --accent-ink: #b8400f;
  --teal: #2ec4b6;
  --teal-ink: #1a9e92;
  --white: #ffffff;
  --line: rgba(30, 42, 120, .16);
  --r: 22px;
  --r-s: 12px;
  --display: "Baloo 2", "Trebuchet MS", system-ui, sans-serif;
  --body: "Nunito", "Trebuchet MS", system-ui, sans-serif;
  --ease: cubic-bezier(0.2, 0.8, 0.2, 1);
  --bounce: cubic-bezier(0.34, 1.4, 0.64, 1);
  --header: 72px;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 1.0625rem/1.6 var(--body);
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
p, ul, ol, dl, figure, h1, h2, h3, blockquote { margin: 0; }
ul, ol { padding: 0; list-style: none; }
h1, h2, h3 { font-family: var(--display); font-weight: 600; line-height: 1.08; letter-spacing: 0; text-wrap: balance; }
p { text-wrap: pretty; }
section[id], main { scroll-margin-top: calc(var(--header) + 12px); }
.nw { white-space: nowrap; }
.vh { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; border-radius: 6px; }
[tabindex="-1"]:focus { outline: none; }

.wrap { width: min(100% - 40px, 1200px); margin-inline: auto; }

.skip {
  position: absolute; left: 12px; top: -60px; z-index: 50;
  background: var(--ink); color: var(--paper); padding: 10px 16px; border-radius: var(--r-s);
  font-weight: 700; text-decoration: none;
}
.skip:focus { top: 12px; }

/* ---------- header ---------- */
.top { position: sticky; top: 0; z-index: 20; background: var(--paper); border-bottom: 1px solid var(--line); }
.top-in { display: flex; align-items: center; gap: 24px; min-height: var(--header); }
.logo {
  display: inline-flex; align-items: center; gap: 8px;
  font: 700 1.6rem/1 var(--display); text-decoration: none;
  min-height: 44px;
}
.logo-mark { position: relative; width: 30px; height: 30px; flex: none; }
.logo-mark i { position: absolute; border-radius: 50%; }
.logo-mark i:nth-child(1) { width: 18px; height: 18px; left: 0; bottom: 0; background: var(--accent); }
.logo-mark i:nth-child(2) { width: 11px; height: 11px; right: 1px; top: 5px; background: var(--teal); }
.logo-mark i:nth-child(3) { width: 7px; height: 7px; left: 6px; top: 0; background: var(--ink); }
.nav { margin-left: auto; }
.nav ul { display: flex; gap: 4px; }
.nav a {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 12px;
  font-weight: 700; font-size: .98rem; text-decoration: none; border-radius: 999px;
  transition: background-color .2s var(--ease);
}
.menu { display: none; position: relative; }
.menu summary {
  list-style: none; cursor: pointer; display: inline-flex; align-items: center; min-height: 44px;
  padding: 0 16px; border: 2px solid var(--ink); border-radius: 999px; font-weight: 700;
}
.menu summary::-webkit-details-marker { display: none; }
.menu ul {
  position: absolute; right: 0; top: calc(100% + 10px); width: 240px; padding: 8px;
  background: var(--white); border: 2px solid var(--ink); border-radius: var(--r-s);
}
.menu a { display: flex; align-items: center; min-height: 46px; padding: 0 12px; font-weight: 700; text-decoration: none; border-radius: 8px; }

/* ---------- buttons ---------- */
.btn {
  -webkit-tap-highlight-color: transparent;
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 52px; padding: 0 26px;
  font: 700 1.08rem/1 var(--body); text-decoration: none; color: var(--ink);
  border: 2px solid var(--ink); border-radius: 999px; cursor: pointer;
  box-shadow: 0 4px 0 var(--ink);
  transition: transform .12s var(--ease), box-shadow .12s var(--ease), background-color .18s var(--ease);
}
.btn:active { transform: translateY(3px); box-shadow: 0 1px 0 var(--ink); }
.btn-primary { background: var(--accent); }
.btn-ghost { background: var(--white); }
.btn-small { min-height: 44px; padding: 0 18px; font-size: .98rem; box-shadow: 0 3px 0 var(--ink); }

@media (hover: hover) {
  .nav a:hover, .menu a:hover { background: var(--paper-deep); }
  .btn-primary:hover { background: #ff854f; }
  .btn-ghost:hover { background: var(--paper-deep); }
  .foot a:hover { text-decoration-thickness: 2px; }
}

/* ---------- hero ---------- */
.hero { padding: 64px 0 0; }
.hero-in { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 40px; align-items: center; }
.hero h1 { font-size: clamp(2.4rem, 4.6vw, 3.4rem); max-width: 13em; }
.lede { margin-top: 20px; font-size: 1.2rem; max-width: 32em; color: var(--ink-soft); }
.hero-meta { margin-top: 14px; font-size: 1.02rem; color: var(--ink-soft); max-width: 30em; }
.hero-copy .btn { margin-top: 28px; }

.stage { container-type: inline-size; }
@media (min-width: 901px) {
  .hero { min-height: min(calc(100vh - var(--header)), 980px); display: grid; grid-template-rows: 1fr auto; }
  .hero-in { align-self: center; }
}
@media (min-width: 1280px) { .stage { margin: -24px -56px -24px -16px; } }
.stage-in { position: relative; aspect-ratio: 3 / 2; }
.base, .piece { position: absolute; inset: 0; width: 100%; height: 100%; }
.pieces { position: absolute; inset: 0; perspective: 1100px; perspective-origin: 50% 55%; display: none; }

.piece-box { clip-path: polygon(0 62.21%, 17.06% 62.21%, 10.3% 70.6%, 27.5% 80%, 33.85% 69.63%, 39% 82.5%, 84.5% 72.8%, 78.13% 64.16%, 100% 64.16%, 100% 100%, 0 100%); }
.rise-clip { position: absolute; inset: 0; clip-path: polygon(0 0, 100% 0, 100% 64.16%, 78.13% 64.16%, 33.85% 69.63%, 17.06% 62.21%, 0 62.21%); }
.rise { position: absolute; inset: 0; transform-origin: 50% 70%; }
.under { position: absolute; inset: 0; }
.under-l { background: #c17739; clip-path: polygon(17.06% 62.21%, 33.85% 69.63%, 27.47% 79.3%, 20.96% 75.78%); }
.under-f { background: linear-gradient(176deg, #a8622a 62%, #d28947 72%); clip-path: polygon(33.85% 69.63%, 78.13% 64.16%, 74.87% 74.51%, 39.06% 81.84%); }
.flap { backface-visibility: visible; }
.flap-l { clip-path: polygon(17.06% 62.21%, 33.85% 69.63%, 27.47% 79.3%, 10.94% 70.31%); transform-origin: 17.06% 62.21%; }
.flap-f { clip-path: polygon(33.85% 69.63%, 78.13% 64.16%, 83.79% 72.66%, 39.06% 81.84%); transform-origin: 33.85% 69.63%; }

.fizz { position: absolute; inset: 0; pointer-events: none; display: none; }
.b { position: absolute; border-radius: 50%; opacity: 0; }
.b1 { left: 44%; top: 20%; width: 2.2cqw; height: 2.2cqw; background: #b98ae0; }
.b2 { left: 50%; top: 14%; width: 1.4cqw; height: 1.4cqw; background: var(--teal); }
.b3 { left: 56%; top: 22%; width: 2.8cqw; height: 2.8cqw; background: #c9a2ec; }
.b4 { left: 61%; top: 16%; width: 1.2cqw; height: 1.2cqw; background: var(--accent); }
.b5 { left: 39%; top: 26%; width: 1.6cqw; height: 1.6cqw; background: #a874d8; }
.b6 { left: 47%; top: 8%; width: 1.8cqw; height: 1.8cqw; background: #c9a2ec; }
.b7 { left: 64%; top: 26%; width: 1.9cqw; height: 1.9cqw; background: #b98ae0; }
.b8 { left: 53%; top: 4%; width: 1.1cqw; height: 1.1cqw; background: var(--teal); }

.box-label {
  position: absolute; left: 53%; top: 85%;
  display: grid; justify-items: center; gap: .2cqw;
  padding: .9cqw 2cqw 1cqw; border-radius: 1cqw;
  background: var(--paper); border: max(2px, .25cqw) solid var(--ink);
  transform: translate(-50%, -50%) rotate(-4deg);
  font-family: var(--display); line-height: 1.05; text-align: center; white-space: nowrap;
}
.box-label span { font-weight: 700; font-size: max(13px, 3cqw); }
.box-label b { font-weight: 700; font-size: max(12px, 1.9cqw); color: var(--accent-ink); }

/* The finished picture is the default. JS adds .play for one run (flaps open, the
   experiment rises out of the box) and always removes it again, so a stalled
   animation can never leave an empty box on screen. */
@media (prefers-reduced-motion: no-preference) {
  .stage.play .pieces { display: block; }
  .stage.play .base { visibility: hidden; }
  .stage.play .flap-l { animation: open-l .9s var(--bounce) .25s both; }
  .stage.play .flap-f { animation: open-f .9s var(--bounce) .4s both; }
  .stage.play .rise { animation: rise 1.1s var(--bounce) .75s both; }
  .stage.done .fizz { display: block; }
  .stage.done .b { animation: fizz 1.8s ease-out 1 both; }
  .stage.done .b2 { animation-delay: .3s; } .stage.done .b3 { animation-delay: .6s; }
  .stage.done .b4 { animation-delay: .9s; } .stage.done .b5 { animation-delay: 1.1s; }
  .stage.done .b6 { animation-delay: .15s; } .stage.done .b7 { animation-delay: .45s; }
  .stage.done .b8 { animation-delay: .75s; }
}
@keyframes open-l {
  from { transform: rotate3d(258, 76, 0, 168deg); filter: brightness(1.12); }
  to { transform: rotate3d(258, 76, 0, 0deg); filter: brightness(1); }
}
@keyframes open-f {
  from { transform: rotate3d(680, -56, 0, -168deg); filter: brightness(1.12); }
  to { transform: rotate3d(680, -56, 0, 0deg); filter: brightness(1); }
}
@keyframes rise {
  from { transform: translateY(62%) scale(.86); }
  to { transform: none; }
}
@keyframes fizz {
  0% { transform: translateY(0) scale(.4); opacity: 0; }
  15% { opacity: .95; }
  80% { opacity: .8; }
  100% { transform: translateY(-9cqw) scale(1); opacity: 0; }
}

/* ---------- facts strip ---------- */
.facts {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 28px; margin-top: 40px; padding: 8px 0 28px;
}
.facts li { display: grid; gap: 0; align-content: start; }
.facts b { font: 700 1.9rem/1.1 var(--display); }
.facts span { font-size: 1rem; color: var(--ink-soft); }

/* ---------- sections ---------- */
.sec { padding: 96px 0; }
.sec h2 { font-size: clamp(2.1rem, 4vw, 3.2rem); }
.sec-head { max-width: 46rem; margin-bottom: 36px; }
.sec-head p { margin-top: 14px; font-size: 1.12rem; color: var(--ink-soft); }
.big { margin-top: 18px; font-size: 1.18rem; color: var(--ink-soft); max-width: 38em; }
.small { font-size: .98rem; color: var(--ink-soft); }
.label { font: 700 1.05rem/1.2 var(--display); color: var(--accent-ink); }

/* this month's box */
.box-sec { padding-top: 88px; }
.box-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 56px; align-items: start; }
.steps { margin-top: 32px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 36px; }
.steps li { border-top: 2px solid var(--line); padding-top: 14px; }
.steps h3 { font-size: 1.35rem; }
.steps p { margin-top: 4px; color: var(--ink-soft); }
.dispatch { max-width: 60ch; margin-top: 32px; padding: 16px 20px; border-radius: var(--r-s); background: var(--paper-deep); font-size: 1rem; }
.dispatch b { font-weight: 700; }

.kit { background: var(--white); border: 2px solid var(--ink); border-radius: var(--r); padding: 30px 30px 26px; }
.kit h3 { font-size: 1.6rem; }
.kit-list { margin-top: 14px; }
.kit-list li { display: flex; justify-content: space-between; gap: 16px; padding: 10px 0; border-bottom: 2px dotted var(--line); }
.kit-list b { font-weight: 700; white-space: nowrap; }
.kit .kit-sub { margin-top: 22px; font-size: 1.25rem; }
.kit > p { margin-top: 6px; color: var(--ink-soft); }
.kit-facts { margin-top: 10px; }
.kit-facts div { display: flex; justify-content: space-between; gap: 16px; padding: 10px 0; border-bottom: 2px dotted var(--line); }
.kit-facts dt { font-weight: 400; }
.kit-facts dd { margin: 0; font-weight: 700; text-align: right; }

/* past experiments */
.past-sec, .plans-sec { background: var(--paper-deep) url("../img/grain.png") repeat; background-size: 160px; }
.past-grid { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); grid-template-rows: auto 1fr; gap: 0 56px; align-items: start; }
.past-head { grid-column: 2; grid-row: 1; }
.past-art { grid-column: 1; grid-row: 1 / span 2; }
.past-list { grid-column: 2; grid-row: 2; }
.past-art img { border-radius: var(--r); border: 2px solid var(--ink); width: 100%; }
.past-art { position: sticky; top: calc(var(--header) + 24px); }
.past-art figcaption { margin-top: 16px; color: var(--ink-soft); }
.past-art figcaption b { font: 700 1.2rem/1.3 var(--display); color: var(--ink); }
.past-list { margin-top: 28px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 32px; border-bottom: 2px dotted rgba(30, 42, 120, .22); }
.past-list li { display: grid; gap: 2px; align-content: start; padding: 16px 0 18px; border-top: 2px dotted rgba(30, 42, 120, .22); }
.past-list .month { font: 700 1.05rem/1.5 var(--display); color: var(--accent-ink); }
.past-list h3 { font-size: 1.3rem; line-height: 1.2; }
.past-list p { margin-top: 2px; font-size: 1rem; color: var(--ink-soft); }

/* parents */
.parents-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; align-items: end; }
.parents-head .big { margin-top: 0; }
.pcard {
  margin-top: 44px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  background: var(--white); border: 2px solid var(--ink); border-radius: var(--r);
}
.pcard-side { padding: 32px 36px 36px; }
.pcard-back { border-left: 2px dashed var(--ink-soft); background: #fffdf8; border-radius: 0 var(--r) var(--r) 0; }
.pcard img { width: 100%; border-radius: var(--r-s); margin-bottom: 24px; }
.pcard h3 { font-size: 1.6rem; }
.pcard-front p { margin-top: 10px; font-size: 1.08rem; }
.tea { margin-top: 14px; display: grid; gap: 22px; counter-reset: tea; }
.tea li { counter-increment: tea; display: grid; grid-template-columns: 34px minmax(0, 1fr); column-gap: 10px; }
.tea li::before { content: counter(tea) "."; font: 700 1.3rem/1.3 var(--display); color: var(--accent-ink); grid-row: span 2; }
.tea .q { font: 700 1.25rem/1.3 var(--display); }
.tea p + p { margin-top: 6px; color: var(--ink-soft); }
.tea i { font-style: italic; color: var(--ink); }
.parents-notes { margin-top: 56px; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 56px; }
.parents-notes h3 { font-size: 1.45rem; }
.leads { margin-top: 4px; }
.leads li { padding: 10px 0; border-bottom: 2px dotted var(--line); color: var(--ink-soft); }
.leads b { color: var(--ink); font-weight: 700; }
.ages div { display: grid; grid-template-columns: 92px minmax(0, 1fr); gap: 16px; align-items: baseline; padding: 12px 0; border-bottom: 2px dotted var(--line); }
.ages dt { font: 700 1.25rem/1.1 var(--display); }
.ages dd { margin: 0; color: var(--ink-soft); }

/* plans */

.plan-table { background: var(--white); border: 2px solid var(--ink); border-radius: var(--r); padding: 8px 28px; }
.plan-row { display: grid; grid-template-columns: minmax(0, 1.7fr) minmax(0, .9fr) minmax(0, .9fr) 220px; gap: 24px; align-items: center; padding: 22px 0; }
.plan-row + .plan-row { border-top: 2px dotted var(--line); }
.plan-head { padding: 14px 0 10px; font: 700 1rem/1.2 var(--display); color: var(--ink-soft); }
.plan-name h3 { font-size: 1.6rem; }
.plan-name p { margin-top: 2px; font-size: .98rem; color: var(--ink-soft); }
.plan-total { color: var(--ink-soft); }
.plan-total b { font: 700 2.4rem/1 var(--display); color: var(--ink); margin-right: 4px; }
.plan-per { font-size: 1.08rem; }
.plan-year .plan-per b { font-weight: 700; font-size: 1.25rem; }
.plan-row .btn { width: 100%; }
.plans-note { margin-top: 22px; max-width: 46rem; color: var(--ink-soft); }

/* gift */
.gift-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 56px; align-items: start; }
.gift-copy { position: sticky; top: calc(var(--header) + 24px); }
.gift-copy .small { margin-top: 22px; }
.quote { margin: 28px 0 0; max-width: 30rem; }
.quote blockquote { margin: 0; }
.quote p { font: 600 1.4rem/1.3 var(--display); }
.quote figcaption { margin-top: 8px; color: var(--ink-soft); }
.note {
  margin-top: 22px; padding: 14px 16px 12px; background: var(--paper-deep); border-radius: 4px;
  transform: rotate(-1.2deg); font: 500 1.3rem/1.25 "Caveat", cursive; color: var(--ink);
  box-shadow: 0 2px 0 rgba(30, 42, 120, .12);
}
.note span { display: block; text-align: right; font-size: 1.45rem; }
.gift-note { margin-top: 32px; padding-top: 22px; border-top: 2px dotted var(--line); max-width: 30rem; }
.gift-note h3 { font-size: 1.35rem; }
.gift-note p { margin-top: 6px; color: var(--ink-soft); }
.gift-form { background: var(--white); border: 2px solid var(--ink); border-radius: var(--r); padding: 30px; display: grid; gap: 18px; }
.who { border: 0; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.who legend { font-weight: 700; margin-bottom: 8px; padding: 0; }
.who label {
  display: inline-flex; align-items: center; gap: 10px; min-height: 46px; padding: 0 18px 0 14px;
  border: 2px solid var(--line); border-radius: 999px; cursor: pointer; font-weight: 700;
}
.who label:has(input:checked) { border-color: var(--ink); background: var(--paper-deep); }
.who input { width: 20px; height: 20px; accent-color: var(--ink); margin: 0; }
.row { display: grid; gap: 6px; }
.row.two { grid-template-columns: minmax(0, 1fr) 110px; gap: 14px; }
.row.two > div { display: grid; gap: 6px; }
.gift-form label { font-weight: 700; }
.gift-form label span { font-weight: 400; color: var(--ink-soft); }
input[type="text"], input[type="email"], select, textarea {
  width: 100%; min-height: 50px; padding: 10px 14px;
  font: 400 1.05rem/1.4 var(--body); color: var(--ink);
  background: var(--paper); border: 2px solid var(--ink-soft); border-radius: var(--r-s);
}
textarea { resize: vertical; min-height: 96px; }
input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 3px solid var(--accent); outline-offset: 1px; border-color: var(--ink); }
.gift-form .btn { justify-self: start; }
.hint, .form-note { font-size: .95rem; color: var(--ink-soft); }
.sent { border-radius: var(--r-s); background: #e3f7f4; border: 2px solid var(--teal-ink); padding: 16px 18px; }
.sent pre {
  margin: 12px 0 0; white-space: pre-wrap; word-break: break-word;
  font: 400 .95rem/1.5 var(--body); background: var(--white); padding: 12px 14px; border-radius: 8px;
}

/* footer */
.foot { background: var(--ink); color: var(--paper); padding: 52px 0 28px; }
.foot-in { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 56px; align-items: end; }
.foot p { color: rgba(255, 250, 240, .88); }
.foot p + p { margin-top: 6px; }
.foot .logo-foot { color: var(--paper); margin-bottom: 8px; }
.logo-foot .logo-mark i:nth-child(3) { background: var(--paper); }
.foot a { color: var(--paper); text-underline-offset: 3px; display: inline-flex; align-items: center; min-height: 44px; font-weight: 700; }
.foot .copy { margin-top: 28px; padding-top: 20px; border-top: 1px solid rgba(255, 250, 240, .18); font-size: .95rem; }

/* ---------- responsive ---------- */
@media (max-width: 1080px) {
  .nav { display: none; }
  .menu { display: block; }
  .top-cta { margin-left: auto; }
  .plan-row { grid-template-columns: minmax(0, 1.4fr) minmax(0, .9fr) minmax(0, .9fr) 190px; }
}
@media (max-width: 900px) {
  .hero { padding-top: 28px; }
  .hero-in, .box-grid, .parents-grid, .gift-grid, .past-grid { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .stage { margin: 0 -8px; }
  .facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .parents-head, .parents-notes { grid-template-columns: minmax(0, 1fr); gap: 16px 0; }
  .parents-notes { gap: 40px; }
  .pcard { grid-template-columns: minmax(0, 1fr); }
  .pcard-back { border-left: 0; border-top: 2px dashed var(--ink-soft); border-radius: 0 0 var(--r) var(--r); }
  .past-head, .past-art, .past-list { grid-column: 1; grid-row: auto; }
  .past-grid { gap: 28px; }
  .past-art { max-width: 560px; position: static; }
  .plan-table { padding: 4px 22px; }
  .plan-head { display: none; }
  .plan-row { grid-template-columns: minmax(0, 1fr) auto; gap: 8px 16px; padding: 22px 0; }
  .plan-head + .plan-row { border-top: 0; }
  .plan-name { grid-column: 1 / -1; }
  .plan-per { text-align: right; }
  .plan-row > :last-child { grid-column: 1 / -1; margin-top: 8px; }
  .foot-in { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .gift-copy { position: static; }
  .sec { padding: 72px 0; }
}
@media (max-width: 600px) {
  :root { --header: 64px; }
  body { font-size: 1.02rem; }
  .wrap { width: min(100% - 32px, 1200px); }
  .top-cta { display: none; }
  .menu { margin-left: auto; }
  .logo { font-size: 1.45rem; }
  .hero-in { gap: 0; }
  .hero-copy { display: contents; }
  .hero h1 { order: 1; font-size: clamp(2.1rem, 9.6vw, 2.6rem); }
  .stage { order: 2; margin: 10px -10px 0; }
  .hero-meta { order: 3; margin-top: 4px; }
  .hero-copy .btn { order: 4; margin-top: 18px; justify-self: start; }
  .lede { order: 5; font-size: 1.08rem; }
  .facts { gap: 18px 16px; }
  .facts b { font-size: 1.6rem; }
  .facts span { font-size: .92rem; }
  .steps { grid-template-columns: minmax(0, 1fr); }
  .kit { padding: 24px 20px 20px; }
  .past-list { grid-template-columns: minmax(0, 1fr); }
  .gift-form { padding: 22px 18px; }
  .row.two { grid-template-columns: minmax(0, 1fr) 92px; }
  .pcard-side { padding: 22px 20px 26px; }
  .ages div { grid-template-columns: minmax(0, 1fr); gap: 4px; }
  .plan-total b { font-size: 2rem; }
  .sec { padding: 60px 0; }
  .sec h2 { font-size: clamp(1.9rem, 8vw, 2.3rem); }
}
@media (hover: hover) {
  input[type="text"]:hover, input[type="email"]:hover, select:hover, textarea:hover { border-color: var(--ink); }
  .who label:hover { border-color: var(--ink-soft); }
}

/* Scroll-linked entrance: from a small offset to the natural state. Content is never
   hidden: without support, with reduced motion or with JS off it simply sits in place. */
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .reveal { animation: settle linear none; animation-timeline: view(); animation-range: entry 0% entry 60%; }
  }
}
@keyframes settle { from { transform: translateY(18px); opacity: .6; } to { transform: none; opacity: 1; } }

/* Wide screens: a roomier container and slightly larger type, so nothing looks stranded. */
@media (min-width: 1600px) {
  body { font-size: 1.125rem; }
  .wrap { width: min(100% - 96px, 1380px); }
  .hero { padding-top: 88px; }
  .hero h1 { font-size: 4rem; }
  .lede { font-size: 1.3rem; }
  .sec { padding: 120px 0; }
  .sec h2 { font-size: 3.6rem; }
  .facts b { font-size: 2.2rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn { transition: none; }
}

/* keep the crystal jar beside the list while it scrolls past on wide screens */
@media (min-width: 900px) { .past-art { position: sticky; top: 104px; } }
