/* The landing page and the shared look of every page. One Tuesday's world carried through a whole page: the sky is the page,
   Gloock and Onest are the two voices, Homefellow's surfaces are warm sheets. The scenes' objects are in scenes.css. */
@font-face { font-family: "Gloock"; src: url("/assets/fonts/gloock-400.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Onest"; src: url("/assets/fonts/onest-var.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }

:root {
  --ink: #14203A;
  --white: #FFF6E5;
  --sheet: #FFFDF7;
  --sun: #FFD766;
  --navy: #2B3766;
  --fg: var(--white);
  --fg-inv: var(--ink);
  --dim: rgba(20, 32, 58, .68);
  --rule: rgba(20, 32, 58, .13);
  --display: "Gloock", "Iowan Old Style", Georgia, serif;
  --text: "Onest", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --ui: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --pad: clamp(20px, 5.2vw, 76px);
  --max: 1240px;
  --land-h: 96px;
  --hero-max: min(1560px, 96vw);
  --hero-x: max(var(--pad), calc((100vw - var(--hero-max)) / 2));
  --house-w: clamp(124px, 11.6vw, 204px);
  --sun-d: clamp(60px, 6.4vw, 112px);
  --lift: 0 1px 1px rgba(20, 32, 58, .14), 0 3px 6px rgba(20, 32, 58, .1), 0 14px 22px -6px rgba(20, 32, 58, .22), 0 34px 50px -22px rgba(20, 32, 58, .38);
  --lift-s: 0 1px 1px rgba(20, 32, 58, .14), 0 4px 10px -2px rgba(20, 32, 58, .2), 0 14px 22px -12px rgba(20, 32, 58, .3);
  --ease: cubic-bezier(.3, .7, .2, 1);
}
body.lt { --fg: var(--ink); --fg-inv: var(--white); }
[data-sky] { color: var(--fg); transition: color .3s; }
[data-sky].on-light { --fg: var(--ink); --fg-inv: var(--white); }
[data-sky].on-dark { --fg: var(--white); --fg-inv: var(--ink); }
[data-sky].sky-mid.on-dark { text-shadow: 0 0 2px rgba(18, 20, 56, .45), 0 0 12px rgba(18, 20, 56, .55), 0 0 26px rgba(18, 20, 56, .4); }
[data-sky].sky-mid.on-light { text-shadow: 0 0 2px rgba(255, 246, 229, .5), 0 0 12px rgba(255, 246, 229, .6), 0 0 26px rgba(255, 246, 229, .4); }
[data-sky].sky-mid .btn, [data-sky].sky-mid .scene, [data-sky].sky-mid .app, [data-sky].sky-mid .hf-sheet, [data-sky].sky-mid .chatwin, [data-sky].sky-mid .kf, [data-sky].sky-mid .ph, [data-sky].sky-mid .lap, [data-sky].sky-mid input { text-shadow: none; }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; overflow-x: hidden; overflow-x: clip; }
body { margin: 0; background: #10173A; color: var(--fg); font: 400 18px/1.5 var(--text); -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; overflow-x: hidden; overflow-x: clip; transition: color .35s; }
p, h1, h2, h3, ul, ol, dl, dd, figure { margin: 0; }
/* no one-word last lines in running text (the scenes' look-alike apps wrap as apps do) */
:where(p, dd, li):not(:where(.scene, .family) *) { text-wrap: pretty; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--fg); outline-offset: 3px; border-radius: 6px; }
.vh { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip { position: fixed; left: 16px; top: -80px; z-index: 30; padding: 12px 18px; border-radius: 10px; background: var(--sheet); color: var(--ink); font-weight: 600; text-decoration: none; }
.skip:focus { top: 16px; }
.noscript { position: relative; margin: 0; padding: 20px var(--pad); text-align: center; }
.wrap { width: min(var(--max), 100% - 2 * var(--pad)); margin-inline: auto; }
.crane { fill: currentColor; stroke: currentColor; stroke-width: 2; stroke-linejoin: round; }

/* ---------- the sky ---------- */
.sky { position: fixed; left: 0; top: 0; width: 100%; height: 100vh; height: 100lvh; z-index: -1; overflow: hidden; background: linear-gradient(180deg, #1A2550 0%, #3F3A78 60%, #F2A65A 100%); }
.sky-layers i { position: absolute; inset: 0; opacity: 0; }
.stars { position: absolute; inset: 0; width: 100%; height: 100%; opacity: .75; }
.twinkles { position: absolute; inset: 0; opacity: .75; }
.grain { position: absolute; inset: 0; background-size: 120px 120px; }
.twinkles i { position: absolute; border-radius: 50%; background: var(--white); box-shadow: 0 0 7px 1px rgba(255, 246, 229, .28); animation: twinkle 3.8s ease-in-out infinite; }
.twinkles.off i { animation-play-state: paused; }
@keyframes twinkle { 0%, 100% { opacity: .2; transform: scale(.6); } 50% { opacity: 1; transform: scale(1); } }
.sun { position: absolute; left: 0; top: 0; opacity: 0; width: var(--sun-d); height: var(--sun-d); margin: calc(var(--sun-d) / -2) 0 0 calc(var(--sun-d) / -2); border-radius: 50%; color: var(--sun); background: currentColor; will-change: transform; }
.sun::before { content: ""; position: absolute; inset: -95%; border-radius: 50%; background: radial-gradient(closest-side, currentColor 0%, transparent 100%); opacity: .34; }
.clouds { position: absolute; inset: 0; color: #fff; }
.cloud { position: absolute; left: 0; top: 0; will-change: transform; }
svg.cloud { overflow: visible; } /* the vision page's sky draws its clouds as bare svgs */
.cloud svg { display: block; width: 100%; height: 100%; overflow: visible; will-change: transform; }
.moon { position: absolute; left: 0; top: 0; width: calc(var(--sun-d) * .86); height: calc(var(--sun-d) * .86); margin: calc(var(--sun-d) * -.43) 0 0 calc(var(--sun-d) * -.43); will-change: transform; opacity: 0; }
.moon svg { display: block; width: 100%; height: 100%; fill: var(--white); transform: rotate(-18deg); filter: drop-shadow(0 0 22px rgba(255, 246, 229, .4)); }

.hill { position: absolute; left: 0; bottom: calc(100% - 1px); width: 100%; height: 40px; fill: #0E1535; }
.house { position: absolute; left: calc(50% - var(--house-w) / 2); bottom: calc(100% + 9px); width: var(--house-w); overflow: visible; }
.house .h-body { fill: #0A0F2A; }
.house .h-trim { fill: #1C2655; }
.house .h-win { fill: var(--sun); }
.house .lamp { transform-box: fill-box; transform-origin: 50% 50%; }

/* ---------- top bar and hero ---------- */
.top { display: flex; justify-content: space-between; align-items: center; padding-top: 22px; }
.mark { display: inline-flex; align-items: center; gap: 11px; text-decoration: none; font: 400 25px/1 var(--display); letter-spacing: -.005em; }
.mark .crane { width: 44px; height: 25px; }
.btn { display: inline-flex; align-items: center; justify-content: center; height: 54px; padding: 0 26px; border: 0; border-radius: 13px; font: 600 17px/1 var(--text); letter-spacing: -.005em; text-decoration: none; white-space: nowrap; cursor: pointer; }
.btn-sun { background: var(--sun); color: var(--ink); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .55), 0 14px 26px -12px rgba(5, 8, 30, .7); }
.btn-sun:hover { background: #FFE08A; }
.btn-top { height: 44px; padding: 0 20px; border-radius: 11px; font-size: 16px; background: var(--sun); color: var(--ink); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .55), 0 8px 18px -10px rgba(5, 8, 30, .7); }
.btn-top:hover { background: #FFE08A; }

/* The hero is one screen and stands on its own: the words in the open sky near the top, and under them the dawn
   picture, as large as the window allows, its top melted into the live sky. The words are sized by the window's
   height as well as its width, so the picture's ground line is always in the first screen. */
.hero { position: relative; display: flex; flex-direction: column; min-height: max(100vh, 600px); min-height: max(100svh, 600px); container-type: inline-size; overflow: hidden; color: var(--fg); }
.hero .wrap { --max: var(--hero-max); }
.hero .top { position: relative; z-index: 4; flex: none; }
/* the words sit low in the sky, a little above the top of her stack: the stack's top is 3.45cqw + 6px above the foot
   of the words' box, which reaches down into the picture, and the spare height goes above them */
.hero-copy { position: relative; z-index: 3; flex: none; display: flex; flex-direction: column; align-items: center; margin: auto 0 calc(-12.15cqw + 6px); padding: clamp(10px, 3.4vh, 40px) var(--pad) calc(3.45cqw + 6px + clamp(28px, 4.5vh, 52px)); text-align: center; }
.hero h1 { font: 400 clamp(50px, min(7.4vw, 12vh), 136px)/.96 var(--display); letter-spacing: -.016em; margin-bottom: .2em; }
.hero-copy .lede { margin-bottom: 0; max-width: 34em; font-size: clamp(18px, min(1.65vw, 3vh), 27px); }
.lede { max-width: 31em; margin-bottom: 1.25em; font: 400 clamp(16.5px, min(1.35vw, 2.5vh), 22px)/1.48 var(--text); text-wrap: balance; }
/* the picture from just above its tree (6% of its height) down to its ground line (84.6%) at the least, and to
   its foot where the window is tall enough; under it the ground simply carries on */
.dawn { position: relative; z-index: 1; flex: 0 1 40.6cqw; min-height: 39.3cqw; overflow: hidden; background: linear-gradient(180deg, rgba(20, 23, 61, 0) 0, rgba(20, 23, 61, 0) 60%, rgb(20, 23, 61) 60.1%); -webkit-mask-image: linear-gradient(180deg, transparent 0, rgba(0, 0, 0, .3) 2.600cqw, rgba(0, 0, 0, .82) 5.500cqw, #000 7.500cqw); mask-image: linear-gradient(180deg, transparent 0, rgba(0, 0, 0, .3) 2.600cqw, rgba(0, 0, 0, .82) 5.500cqw, #000 7.500cqw); }
/* the plate with everything that lives on it, placed in parts of the plate's own width and height */
.plate { position: relative; }
.dawn .plate { position: absolute; left: 0; top: -3cqw; width: 100cqw; aspect-ratio: 2 / 1; }
.dawn-img { display: block; width: 100%; height: 100%; }
/* the mother: a cut-out on the plate (a canvas once the page is running), with a soft shadow where she stands */
.st-her { display: block; position: absolute; left: 24.8%; top: 23.4%; width: 19.44%; height: 60%; }
/* once it is running she is a canvas with room each side for the tower to lean and the sheets to fly */
.st-her.live { left: 10.22%; width: 48.6%; }
.st-woman { display: block; width: auto; height: 100%; margin: 0 auto; filter: brightness(.86) saturate(.9); }
/* the canvas reaches above her by the script's ROOM (0.4 of her height), so sheets that fly up are never cut off */
.st-woman-live { display: block; position: absolute; left: 0; bottom: 0; width: 100%; height: 140%; animation: arrive .3s ease both; }
/* with scripts on she waits for her canvas (lit to match the dawn) and arrives softly, never as a pop of colour */
.js .st-woman { visibility: hidden; }
@keyframes arrive { from { opacity: 0; } }
.st-shadow { position: absolute; left: 24.3%; top: 81%; width: 21.5%; height: 5%; border-radius: 50%; background: radial-gradient(closest-side, rgba(26, 14, 52, .5), rgba(26, 14, 52, .2) 55%, rgba(26, 14, 52, 0)); }
/* lit windows and lamps breathe, very gently */
.st-glow { position: absolute; border-radius: 50%; background: radial-gradient(closest-side, rgba(255, 215, 102, .55), rgba(255, 215, 102, .18) 55%, rgba(255, 215, 102, 0)); pointer-events: none; animation: stglow 5.6s ease-in-out infinite alternate; }
.st-window { left: 62%; top: 42%; width: 30%; height: 44%; }
.st-lantern { left: 57.5%; top: 55.5%; width: 7%; height: 13%; animation-duration: 4.3s; animation-delay: -2s; }
@keyframes stglow { from { opacity: .18; } to { opacity: .4; } }
/* pictures rest while they are off screen */
.off *, .off::before, .off::after { animation-play-state: paused !important; }
/* chimney smoke: soft puffs that rise, drift and thin */
.st-smoke { position: absolute; left: 81.1%; top: 27.2%; width: 3.200%; aspect-ratio: 1; --smoke: 214, 196, 232; }
.st-smoke i { position: absolute; inset: 0; border-radius: 50%; background: radial-gradient(closest-side, rgba(var(--smoke), .85), rgba(var(--smoke), .45) 55%, rgba(var(--smoke), 0)); opacity: 0; animation: puff 9s linear infinite; animation-delay: calc(var(--i) * -1.500s); }
@keyframes puff { 0% { transform: translate(0, 10%) scale(.4); opacity: 0; } 8% { opacity: .8; } 28% { transform: translate(34%, -130%) scale(1); opacity: .66; } 52% { transform: translate(-8%, -290%) scale(1.600); opacity: .5; } 76% { transform: translate(70%, -450%) scale(2.300); opacity: .3; } 100% { transform: translate(190%, -640%) scale(3.200); opacity: 0; } }
/* a quiet cue at the foot of the first screen that there is more below; it leaves once the visitor scrolls */
.scroll-cue { position: absolute; left: 50%; bottom: clamp(10px, 2.2vh, 22px); z-index: 5; display: grid; place-items: center; width: 48px; height: 48px; margin-left: -24px; color: var(--white); opacity: .85; transition: opacity .4s; }
.scroll-cue svg { width: 26px; height: auto; fill: none; stroke: currentColor; stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; filter: drop-shadow(0 1px 3px rgba(16, 20, 50, .6)); animation: cue 2.2s ease-in-out infinite; }
.scrolled .scroll-cue { opacity: 0; pointer-events: none; }
@keyframes cue { 0%, 100% { transform: translateY(-3px); opacity: .55; } 50% { transform: translateY(5px); opacity: 1; } }
/* the ground ends in a soft hill line, and the next section's sky begins under it */
.hero-ground { position: relative; z-index: 1; height: clamp(30px, 3.4vw, 56px); margin-top: -1px; pointer-events: none; }
.hero-ground svg { display: block; width: 100%; height: 100%; }
/* the slim bar that stays at the top of the window once the hero has gone by */
.stick { position: fixed; left: 0; right: 0; top: 0; z-index: 20; background: rgba(17, 22, 56, .78); color: var(--white); -webkit-backdrop-filter: blur(14px) saturate(1.2); backdrop-filter: blur(14px) saturate(1.2); box-shadow: 0 1px 0 rgba(255, 246, 229, .12), 0 10px 24px -14px rgba(10, 14, 44, .5); transform: translateY(-110%); transition: transform .35s var(--ease), background-color .4s, color .4s; }
.stick.on { transform: none; }
body.lt .stick { background: rgba(255, 253, 247, .82); color: var(--ink); box-shadow: 0 1px 0 rgba(20, 32, 58, .08), 0 10px 24px -14px rgba(20, 32, 58, .35); }
.stick-in { display: flex; justify-content: space-between; align-items: center; height: 58px; }
.stick .mark { font-size: 22px; }
.stick .mark .crane { width: 38px; height: 22px; }
.stick .btn-top { height: 40px; transition: opacity .3s ease, visibility 0s; }
.stick.at-form .btn-top { opacity: 0; visibility: hidden; transition: opacity .3s ease, visibility 0s .3s; }
.stick :focus-visible { outline-color: currentColor; }

/* ---------- sections ---------- */
.sec { position: relative; padding: clamp(96px, 17vh, 190px) 0 0; color: var(--fg); }
h2 { font: 400 clamp(46px, 6.3vw, 112px)/1 var(--display); letter-spacing: -.014em; text-wrap: balance; }
h3 { font: 400 clamp(30px, 3.3vw, 54px)/1.06 var(--display); letter-spacing: -.01em; text-wrap: balance; }
.copy { max-width: 34em; font: 400 clamp(18px, 1.42vw, 22px)/1.52 var(--text); text-wrap: pretty; }
.big { font: 400 clamp(30px, 3.5vw, 58px)/1.1 var(--display); letter-spacing: -.01em; text-wrap: balance; }

/* always one more thing: the kitchen morning, with the slips as the thoughts round one person's head */
.load { padding-top: clamp(24px, 5vh, 64px); }
/* on a wide screen the words stand beside the picture, level with the family, close enough to read as one */
.load-in { display: grid; grid-template-columns: minmax(0, 9fr) minmax(0, 11fr); gap: clamp(20px, 2.6vw, 44px); align-items: center; }
.load-copy { padding-top: 0; }
.load h2 { margin-bottom: .42em; font-size: clamp(40px, 4.6vw, 76px); }
.load .copy { max-width: 22em; font-size: clamp(18px, 1.62vw, 25px); }
.load .copy + .copy { margin-top: .9em; }
.vig { position: relative; padding-top: 12%; }
.vig-pic { position: relative; z-index: 1; }
.vig-pic img { display: block; width: 100%; height: auto; }
.thoughts { position: absolute; inset: 0; }
.th { position: absolute; left: 0; top: 0; opacity: 0; animation: thought 5.5s linear infinite; will-change: transform, opacity; }
.th b { display: block; padding: 8px 13px 9px; border-radius: 8px; background: var(--sheet); color: var(--ink); font: 500 15px/1.2 var(--text); white-space: nowrap; box-shadow: var(--lift-s); transform: rotate(var(--r, 0deg)); }
.thoughts.off .th { animation-play-state: paused; }
/* it pops in from her head with a little urgency, jostles for its space, and goes */
@keyframes thought {
  0% { transform: translate(-50%, -50%) translate(var(--sx), var(--sy)) scale(.2); opacity: 0; animation-timing-function: cubic-bezier(.2, .9, .3, 1.3); }
  3% { opacity: 1; }
  9% { transform: translate(-50%, -50%) translate(0, 0) scale(1.1); opacity: 1; }
  13% { transform: translate(-50%, -50%) translate(0, 0) rotate(-1.200deg) scale(1); animation-timing-function: cubic-bezier(.45, 0, .55, 1); }
  34% { transform: translate(-50%, -50%) translate(var(--dx), -4px) rotate(1.200deg); animation-timing-function: cubic-bezier(.45, 0, .55, 1); }
  58% { transform: translate(-50%, -50%) translate(calc(var(--dx) * -.6), 1px) rotate(-.9deg); animation-timing-function: cubic-bezier(.45, 0, .55, 1); }
  84% { transform: translate(-50%, -50%) translate(calc(var(--dx) * .4), -7px) rotate(.6deg) scale(1); opacity: 1; animation-timing-function: cubic-bezier(.45, 0, .55, 1); }
  100% { transform: translate(-50%, -50%) translate(calc(var(--dx) * .6), -16px) scale(.9); opacity: 0; }
}

/* meet Homefellow: six parts, each a heading, its copy and a stage */
.meet { padding-top: clamp(64px, 13vh, 130px); }
.meet h2 { font-size: clamp(50px, 8.4vw, 150px); }
/* the answer to the hero's problem, set as a lede under the heading */
.meet-lede { max-width: 31em; margin-top: .75em; font: 400 clamp(20px, 1.72vw, 27px)/1.46 var(--text); text-wrap: pretty; }
.part { padding-top: clamp(72px, 13vh, 150px); scroll-margin-top: 76px; }
.meet h2 + .part, .meet .wrap + .part { padding-top: clamp(56px, 9vh, 104px); }
/* the copy sits under its heading, left-aligned, at a comfortable measure */
.part-head { margin-bottom: clamp(30px, 5vh, 52px); }
.part-head h3, .part-head h2 { margin-bottom: .42em; }
.side .part-head h2 { margin-bottom: .34em; }

/* wherever it's useful */

/* lighter, calmer, happier: the heading in the open sky, the picture melting into it, the four loves on the ground */
.for { text-align: center; container-type: inline-size; }
.for h2 { font-size: clamp(42px, 6.3vw, 112px); }
.for .copy { margin: .8em auto 0; text-wrap: balance; }
.for-head { position: relative; z-index: 1; }
.gold { --plum: rgb(55, 25, 59); --iw: min(100cqw, 2400px); --ih: calc(var(--iw) / 2); position: relative; isolation: isolate; margin-top: calc(var(--ih) * -.115); }
.gold::before { content: ""; position: absolute; z-index: -1; left: 0; right: 0; top: calc(var(--ih) * .86); bottom: 0; background: var(--plum); }
.gold-edge { position: absolute; left: 0; top: calc(100% - 1px); display: block; width: 100%; height: clamp(30px, 3.4vw, 56px); fill: var(--plum); pointer-events: none; }
.gold-art { position: relative; width: var(--iw); margin: 0 auto; }
.gold-art .plate { width: 100%; }
/* the girl on the swing: a cut-out hung from the branch, a real pendulum from its pivot between the two ropes */
.gold-swing { position: absolute; left: 11.9%; top: 47.2%; width: 8.88%; height: auto; transform-origin: 45% 0; animation: swing 1.6s cubic-bezier(.45, 0, .55, 1) infinite alternate; filter: brightness(.95) saturate(.96); }
/* a lopsided arc: back only as far as her brother's hands, then well out in front, so she never covers him */
@keyframes swing { from { transform: rotate(1deg); } to { transform: rotate(-20deg); } }
.gold .st-smoke { left: 81%; top: 27.6%; --smoke: 255, 232, 210; }
.st-dinner { left: 62%; top: 42%; width: 30%; height: 44%; }
.st-bed { left: 69.5%; top: 32%; width: 13%; height: 22%; animation-duration: 4.7s; animation-delay: -1.5s; }
.st-sun { left: 82.5%; top: 46%; width: 22%; height: 40%; animation-duration: 7s; }
/* more life, all of it small: leaves that drift down, motes of light over the grass, a lantern that flickers */
.gold .st-lantern { left: 57.5%; top: 55.5%; width: 7%; height: 13%; }
.st-flicker { animation: flicker 2.3s steps(1) infinite, stglow 4.3s ease-in-out infinite alternate; }
@keyframes flicker { 0%, 100% { scale: 1; } 18% { scale: 1.16; } 24% { scale: .9; } 46% { scale: 1.1; } 62% { scale: .97; } 81% { scale: 1.13; } }
.st-leaves { position: absolute; left: 4%; top: 36%; width: 20%; height: 46%; pointer-events: none; }
.st-leaves i { position: absolute; left: calc(8% + var(--i) * 19%); top: 0; width: 4.200%; aspect-ratio: 1.5; border-radius: 80% 10% 80% 10%; background: #C8643C; opacity: 0; animation: leaf 9s linear infinite; animation-delay: calc(var(--i) * -3.700s); }
.st-leaves i:nth-child(odd) { background: #E39A46; animation-duration: 12s; }
@keyframes leaf { 0% { transform: translate(0, 0) rotate(0); opacity: 0; } 8% { opacity: .9; } 35% { transform: translate(180%, 330%) rotate(160deg); } 65% { transform: translate(-60%, 640%) rotate(300deg); opacity: .9; } 100% { transform: translate(140%, 980%) rotate(520deg); opacity: 0; } }
.st-flies { position: absolute; left: 2%; top: 66%; width: 60%; height: 16%; pointer-events: none; }
.st-flies i { position: absolute; left: calc(4% + var(--i) * 10.500%); top: var(--y, 40%); width: 5px; height: 5px; border-radius: 50%; background: #FFE9A6; box-shadow: 0 0 8px 3px rgba(255, 220, 130, .7); opacity: 0; animation: fly 6.500s ease-in-out infinite; animation-delay: calc(var(--i) * -1.900s); }
@keyframes fly { 0%, 100% { transform: translate(0, 0); opacity: 0; } 20% { opacity: .95; } 50% { transform: translate(14px, -10px); opacity: .5; } 70% { opacity: 1; } 85% { transform: translate(-8px, -18px); } }
/* a few birds cross the sky once in a while */
.st-birds { position: absolute; left: 0; top: 24%; width: 100%; height: 14%; overflow: hidden; pointer-events: none; }
.st-birds svg { position: absolute; left: 0; top: calc(20% + var(--i) * 22%); width: 1.9%; overflow: visible; fill: none; stroke: #4A2040; stroke-width: 3.2; stroke-linecap: round; stroke-linejoin: round; opacity: 0; animation: bird 22s linear infinite, flap .62s ease-in-out infinite alternate; animation-delay: calc(-4s + var(--i) * 1.300s), calc(var(--i) * -.21s); }
.st-birds svg { transform-origin: 50% 80%; }
@keyframes bird { 0% { transform: translate(1200%, 0); opacity: 0; } 3% { opacity: .9; } 56% { opacity: .9; } 60%, 100% { transform: translate(3800%, -160%); opacity: 0; } }
@keyframes flap { from { scale: 1 1; } to { scale: 1 .25; } }
.gold-img { display: block; width: 100%; height: auto; -webkit-mask-image: linear-gradient(180deg, transparent 0, rgba(0, 0, 0, .28) 6%, rgba(0, 0, 0, .8) 13%, #000 18%); mask-image: linear-gradient(180deg, transparent 0, rgba(0, 0, 0, .28) 6%, rgba(0, 0, 0, .8) 13%, #000 18%); }
.gold-note { position: absolute; left: 43.2%; top: 47%; display: grid; gap: 1px; color: #2B1838; text-align: left; }
.gold-note b { margin-bottom: 3px; font: 400 clamp(24px, 2.3vw, 38px)/1 var(--display); }
.gold-note span { font: 600 clamp(15px, 1.12vw, 18px)/1.3 var(--text); white-space: nowrap; }
.gold-caps { position: relative; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0 clamp(20px, 2.8vw, 48px); width: var(--iw); min-height: clamp(64px, 7.4vw, 120px); margin: calc(var(--ih) * -.125) auto 0; padding: 0 var(--pad); color: var(--white); }
/* the four loves on an even grid across the picture, each under its quarter: never touching, never at the edge */
.gold-caps li { justify-self: center; max-width: 22ch; text-align: center; font: 400 clamp(18px, 1.8vw, 28px)/1.12 var(--display); letter-spacing: -.006em; text-wrap: balance; }
@media (min-width: 2401px) {
  .gold-img { -webkit-mask-image: linear-gradient(180deg, transparent 0, rgba(0, 0, 0, .28) 6%, rgba(0, 0, 0, .8) 13%, #000 18%), linear-gradient(90deg, transparent 0, #000 7%, #000 93%, transparent 100%); -webkit-mask-composite: source-in; mask-image: linear-gradient(180deg, transparent 0, rgba(0, 0, 0, .28) 6%, rgba(0, 0, 0, .8) 13%, #000 18%), linear-gradient(90deg, transparent 0, #000 7%, #000 93%, transparent 100%); mask-composite: intersect; }
}
.sky-clear { position: absolute; left: 0; top: 0; display: none; -webkit-mask: linear-gradient(90deg, transparent, #000 30px, #000 calc(100% - 30px), transparent), linear-gradient(180deg, transparent, #000 24px, #000 calc(100% - 24px), transparent); -webkit-mask-composite: source-in; mask: linear-gradient(90deg, transparent, #000 30px, #000 calc(100% - 30px), transparent), linear-gradient(180deg, transparent, #000 24px, #000 calc(100% - 24px), transparent); mask-composite: intersect; }

/* on your family's side */
.side { padding-top: clamp(60px, 10vh, 120px); }
.side-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 6vw, 96px); align-items: center; margin-top: clamp(20px, 4vh, 48px); }
/* the house at dusk, painted; a window brightens for each promise as it comes in */
.side-pic { position: relative; -webkit-mask-image: radial-gradient(ellipse 50% 50% at 52% 54%, #000 46%, rgba(0, 0, 0, .55) 72%, transparent 100%); mask-image: radial-gradient(ellipse 50% 50% at 52% 54%, #000 46%, rgba(0, 0, 0, .55) 72%, transparent 100%); }
.side-pic img { display: block; width: 100%; height: auto; }
.side-pic .win { position: absolute; translate: -50% -50%; border-radius: 50%; background: radial-gradient(closest-side, rgba(255, 220, 120, .62), rgba(255, 215, 102, .2) 55%, rgba(255, 215, 102, 0)); opacity: 0; transition: opacity 1.1s ease; pointer-events: none; }
.side-pic .win.lit { opacity: 1; }
.promises li { padding: clamp(18px, 2.6vh, 26px) 0; border-top: 1px solid color-mix(in srgb, var(--fg) 24%, transparent); }
.promises li:last-child { border-bottom: 1px solid color-mix(in srgb, var(--fg) 24%, transparent); }
.promises h3 { display: flex; align-items: center; gap: .5em; margin-bottom: 8px; font-size: clamp(26px, 2.5vw, 40px); }
.pane { flex: none; position: relative; width: .62em; height: .62em; border-radius: 2px; background: color-mix(in srgb, var(--fg) 24%, transparent); transition: background-color 1.1s ease, box-shadow 1.1s ease; }
.pane::before, .pane::after { content: ""; position: absolute; background: #1C2655; }
.pane::before { left: calc(50% - 1px); top: 0; width: 2px; height: 100%; }
.pane::after { top: calc(50% - 1px); left: 0; height: 2px; width: 100%; }
.promises li.lit .pane { background: var(--sun); box-shadow: 0 0 18px 2px rgba(255, 215, 102, .5); }
.promises p { max-width: 34em; padding-left: calc(clamp(26px, 2.5vw, 40px) * 1.12); font: 400 clamp(17px, 1.32vw, 20px)/1.55 var(--text); opacity: .92; }
.deeper { margin-top: clamp(28px, 5vh, 56px); font: 400 clamp(20px, 1.8vw, 28px)/1.3 var(--display); }
.deeper a { text-decoration-thickness: 1.5px; text-underline-offset: .18em; }

/* good questions: long reading, on a sheet */
.faq-sheet { max-width: 1040px; margin: 0 auto; padding: clamp(28px, 5vw, 72px) clamp(22px, 5.4vw, 84px) clamp(20px, 4vw, 56px); border-radius: 18px; background: var(--sheet); color: var(--ink); box-shadow: var(--lift); }
.faq-sheet h2 { font-size: clamp(42px, 5vw, 84px); margin-bottom: .5em; }
.faq > div { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: 6px clamp(24px, 4vw, 56px); padding: clamp(18px, 2.4vw, 28px) 0; border-top: 1px solid var(--rule); }
.faq dt { font: 400 clamp(23px, 2vw, 31px)/1.18 var(--display); text-wrap: balance; }
.faq dd { max-width: 36em; font: 400 clamp(17px, 1.3vw, 19.5px)/1.6 var(--text); color: rgba(20, 32, 58, .88); }
.faq a { text-decoration-thickness: 1.5px; text-underline-offset: .16em; }
.faq-sheet :focus-visible { outline-color: var(--ink); }

/* the sign-up */
.ready { padding-bottom: 0; text-align: center; scroll-margin-top: 0; container-type: inline-size; }
/* the last page of the story the hero begins: the same hill at night, her stack set down by the steps */
.end-art { position: relative; margin-top: clamp(-40px, -2vw, -10px); overflow: hidden; }
.end-art .plate { width: 100cqw; aspect-ratio: 2 / 1; margin-bottom: -6cqw; }
.end-art img { display: block; width: 100%; height: 100%; -webkit-mask-image: linear-gradient(180deg, transparent 0, rgba(0, 0, 0, .5) 14%, #000 26%); mask-image: linear-gradient(180deg, transparent 0, rgba(0, 0, 0, .5) 14%, #000 26%); }
.ready h2 { font-size: clamp(48px, 7.6vw, 136px); margin-bottom: .28em; }
.vision { max-width: 18em; margin: 0 auto .7em; font: 400 clamp(25px, 2.6vw, 42px)/1.2 var(--display); text-wrap: balance; }
.ready .copy { margin: 0 auto; }
.signup { max-width: 640px; margin: clamp(30px, 5vh, 52px) auto 0; text-align: left; }
.signup label { display: block; margin-bottom: 10px; font: 600 18px/1.3 var(--text); }
.signup-row { display: flex; gap: 12px; }
.signup input { flex: 1 1 auto; min-width: 0; height: 54px; padding: 0 18px; border: 0; border-radius: 13px; background: var(--sheet); color: var(--ink); font: 500 18px/1 var(--text); }
.signup input::placeholder { color: rgba(20, 32, 58, .5); }
.signup input:focus-visible, .signup .btn:focus-visible { outline: 3px solid var(--sun); outline-offset: 3px; }
.signup .btn:focus-visible { outline-color: var(--white); }
.signup .btn:disabled { cursor: progress; opacity: .8; }
/* the sign-up's old address (/#updates) lands where /#ready does */
.alias { position: absolute; top: 0; }
/* the honeypot: people never see it, bots fill it in */
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.fine { margin-top: 14px; font-size: 16px; line-height: 1.5; opacity: .82; }
.said { margin-top: 10px; font: 600 18px/1.4 var(--text); color: var(--sun); }
.said:empty { display: none; }
.signup.done .signup-row, .signup.done label, .signup.done .fine { display: none; }
.signup.done .said { margin: 0; text-align: center; font: 400 clamp(26px, 2.6vw, 40px)/1.25 var(--display); }

/* the footer: the ground again, at night */
.foot { position: relative; margin-top: clamp(120px, 16vh, 200px); padding: 34px 0 44px; background: #0A0F2A; color: var(--white); }
.foot .hill { fill: #0A0F2A; }
.foot .house { left: auto; right: max(7%, calc((100vw - var(--max)) / 2)); bottom: calc(100% + 9px); }
.foot .house .h-body { fill: #070B20; }
/* the landing page's footer stands on the ground of its last picture */
.foot.foot-end { margin-top: 0; background: #101542; }
.foot-in { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 2fr); gap: 28px 48px; align-items: start; }
.foot .mark { font-size: 28px; }
.sitemap { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 40px; }
.sitemap h3 { margin-bottom: 2px; font: 600 16px/1.3 var(--text); letter-spacing: 0; color: rgba(255, 246, 229, .7); }
.sitemap a { display: block; width: max-content; padding: 10px 0 9px; font-size: 17px; line-height: 25px; text-decoration: none; }
.sitemap a:hover { text-decoration: underline; text-underline-offset: .2em; }
.foot-line { grid-column: 1 / -1; padding-top: 20px; border-top: 1px solid rgba(255, 246, 229, .16); font-size: 16px; color: rgba(255, 246, 229, .78); }
.foot :focus-visible { outline-color: var(--white); }

/* ---------- shorter desktop screens ---------- */
@media (min-width: 901px) and (max-height: 800px) {
  .top { padding-top: 10px; }
}

/* ---------- phone: one column ---------- */
@media (max-width: 900px) {
  :root { --house-w: 104px; --sun-d: 50px; }
  body { font-size: 17px; }
  .mark { font-size: 20px; gap: 7px; }
  .mark .crane { width: 31px; height: 18px; }
  .top { padding-top: 14px; gap: 10px; }
  .btn-top { height: 44px; padding: 0 12px; font-size: 14.5px; border-radius: 10px; }
  /* the phone's first screen: the bar, the words close under it, and the picture filling the bottom half */
  .hero { min-height: max(100svh, 640px); }
  .hero-copy { margin: auto 0 0; padding: clamp(6px, 2svh, 20px) var(--pad) clamp(24px, 4svh, 40px); }
  .hero h1 { font-size: clamp(50px, min(19vw, 10.5svh), 100px); }
  .lede { font-size: clamp(16.5px, 2.1svh, 17.5px); line-height: 1.42; margin-bottom: .95em; text-wrap: pretty; }
  /* the plate is twice the screen's width, set so the house and its lit window are on the right and its ground
     line is near the bottom; its own top melts into the sky with a long fade. The mother is her own layer, sized
     by the screen: about 40% of its height, stack included, fully in view left of centre, feet on the ground line.
     The picture sits under the words, with room for the stack to sway (the words take any spare height above). */
  /* the smoke rises above this box, so nothing is cut at its top: only its sides and foot are clipped */
  .dawn { --her: clamp(250px, 40svh, 390px); flex: none; height: calc(var(--her) + 6svh); margin-top: 0; -webkit-mask-image: none; mask-image: none; background: none; overflow: visible; clip-path: inset(-60svh 0 0 0); }
  .dawn .plate { left: -79cqw; top: auto; bottom: -10cqw; width: 200cqw; }
  .st-her { left: 84cqw; top: calc(83.4% - var(--her)); width: calc(var(--her) * .648); height: var(--her); }
  .st-her.live { left: calc(84cqw - var(--her) * .486); width: calc(var(--her) * 1.62); }
  .st-shadow { left: 83cqw; top: 80.6%; width: calc(var(--her) * .76); }
  .dawn-img { -webkit-mask-image: linear-gradient(180deg, transparent 0, rgba(0, 0, 0, .2) 12%, rgba(0, 0, 0, .7) 24%, #000 32%); mask-image: linear-gradient(180deg, transparent 0, rgba(0, 0, 0, .2) 12%, rgba(0, 0, 0, .7) 24%, #000 32%); }
  .load-in { grid-template-columns: minmax(0, 1fr); }
  .load h2 { margin-bottom: 0; }
  .load-copy { display: contents; }
  .load .copy { order: 3; max-width: 34em; }
  .load .copy + .copy { order: 4; margin-top: -6px; }
  /* the picture a little larger than the screen, cropped towards the mother, with room above her for the thoughts */
  /* the whole family in view, the mother near the right third, and a small cloud close round her head */
  .load-copy { padding-top: 0; }
  .vig { order: 2; margin: 0 calc(var(--pad) * -1); padding-top: 22%; overflow: hidden; }
  .vig-pic { width: 125%; margin-left: -3%; }
  .th b { padding: 5px 9px 6px; border-radius: 7px; font-size: 13.5px; }
  .stick-in { height: 52px; }
  .stick .mark { font-size: 19px; }
  .stick .btn-top { height: 44px; }
  .for h2 { font-size: clamp(40px, 11.6vw, 72px); }
  /* one continuous picture, taller than it is wide on the screen, that pans across with the scroll */
  .gold { --gh: 58svh; margin-top: -30px; padding-bottom: 6px; }
  .gold::before { top: calc(var(--gh) * .82); }
  .gold-art { position: relative; width: 100%; height: var(--gh); overflow: hidden; }
  .gold-art .plate { position: absolute; left: 0; top: 0; width: auto; height: 100%; aspect-ratio: 2 / 1; transform: translate3d(calc(var(--pan, 0) * (100cqw - var(--gh) * 2)), 0, 0); will-change: transform; }
  .gold-art .gold-img { width: 100%; height: 100%; }
  .gold-note { left: 61.5%; top: 19%; opacity: 0; transition: opacity .6s ease; }
  .gold-note b { font-size: 26px; }
  .gold.arrived .gold-note { opacity: 1; }
  /* the four loves, one at a time, to match what is in view */
  .gold-caps { display: grid; grid-template-columns: minmax(0, 1fr); width: auto; height: auto; min-height: 3.4em; margin: -6px var(--pad) 0; padding: 0; text-align: center; }
  .gold-caps li { grid-area: 1 / 1; position: relative; left: auto; width: auto; max-width: none; transform: translateY(8px); font-size: 25px; opacity: 0; transition: opacity .45s ease, transform .6s var(--ease); }
  .gold-caps li.cur { opacity: 1; transform: none; }
  .sec { padding-top: clamp(84px, 13vh, 120px); }
  .load { padding-top: clamp(52px, 8vh, 76px); }
  .meet-lede { font-size: 19.5px; line-height: 1.45; }
  h2 { font-size: clamp(42px, 12.4vw, 76px); }
  h3 { font-size: clamp(29px, 8vw, 40px); }
  .side-grid, .faq > div, .foot-in { grid-template-columns: minmax(0, 1fr); }
  .big { font-size: clamp(28px, 7.6vw, 40px); }
  .meet { padding-top: clamp(56px, 8vh, 76px); }
  .inter { font-size: clamp(33px, 9.4vw, 56px); }
  .part { padding-top: clamp(64px, 10vh, 96px); }
  .part-head { margin-bottom: 26px; }
  .side-pic { width: 100%; max-width: 420px; margin: 0 auto; }
  .promises p { padding-left: 0; }
  .faq-sheet { border-radius: 14px; margin-inline: calc(var(--pad) * -.35); }
  .ready { text-align: left; }
  .ready h2 { font-size: clamp(50px, 14.6vw, 84px); }
  .vision, .ready .copy { margin-left: 0; }
  .signup-row { flex-direction: column; }
  .signup.done .said { text-align: left; }
  .foot .house { right: 5%; }
  .foot { margin-top: 90px; }
  .end-art { margin-top: 0; }
  /* framed as the hero is on a phone: the set-down stack by the porch and the lit window fully in view */
  .end-art .plate { width: 200cqw; margin: 0 0 -10cqw -79cqw; }
  .foot-line { text-wrap: balance; }
  .foot .mark { font-size: 24px; }
}

/* ---------- a tablet held upright: the phone's one column, set as a narrower centred column ---------- */
@media (min-width: 701px) and (max-width: 900px) {
  :root { --max: 620px; }
  .stick .wrap, .foot .wrap { --max: 1240px; }
  .copy, .load .copy { max-width: 32em; }
}

/* ---------- the narrowest phones: the wordmark and the button keep apart ---------- */
@media (max-width: 380px) {
  .mark { gap: 6px; font-size: 18px; }
  .mark .crane { width: 27px; height: 16px; }
  .stick .mark { font-size: 18px; }
  .btn-top { padding: 0 10px; font-size: 14px; }
}

@media (prefers-reduced-motion: reduce) {
  .scroll-cue svg { animation: none; }
  .twinkles i, .cloud svg, .cloud path, .st-glow, .st-smoke i, .st-birds svg, .st-birds path, .gold-swing, .st-leaves i, .st-flies i { animation: none !important; }
  .st-flies i:nth-child(3n) { opacity: .8; }
  .th { animation-play-state: paused !important; }
  .gold-swing { transform: rotate(-6deg); }
  .st-smoke i:nth-child(2) { transform: translate(40%, -130%) scale(1.2); opacity: .4; }
  .st-smoke i:nth-child(3) { transform: translate(120%, -300%) scale(2); opacity: .22; }
  body, .btn-top { transition: none; }
}

/* the sky's own clouds drift slowly, each by itself */
@keyframes cloud { from { transform: translateX(-34px); } to { transform: translateX(84px); } }
