/* Betterkind. Blush paper, plum ink, kind blue for everything you can touch.
   Fraunces carries the voice and softens under your hand; Figtree does the work. */
@font-face { font-family: 'Fraunces'; font-style: normal; font-weight: 100 900; font-display: swap; src: url('fonts/fraunces-latin-full-normal.woff2') format('woff2'); }
@font-face { font-family: 'Fraunces'; font-style: italic; font-weight: 100 900; font-display: swap; src: url('fonts/fraunces-latin-full-italic.woff2') format('woff2'); }
@font-face { font-family: 'Figtree'; font-style: normal; font-weight: 300 900; font-display: swap; src: url('fonts/figtree-latin-wght-normal.woff2') format('woff2'); }

:root {
  --paper: #FFF4F0; --petal: #F8DCD8; --blush: #F2C3C2; --rose: #E2557B; --plum: #2A1233; --plum-2: #5B4163; --ash: #8A7484;
  --blue: #2B3FEA; --sun: #FFC24B; --sage: #9DB89A; --lilac: #B9A7E8;
  --display: 'Fraunces', 'Iowan Old Style', Georgia, serif; --text: 'Figtree', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --gutter: clamp(1.25rem, 4vw, 4.25rem); --gap: clamp(1rem, 2.2vw, 2rem); --section: clamp(5.5rem, 12vw, 11rem);
  --h1: clamp(3.4rem, 9.2vw, 10.6rem); --h2: clamp(2.5rem, 5.4vw, 5.9rem); --h3: clamp(1.55rem, 2.3vw, 2.25rem);
  --lead: clamp(1.15rem, 1.45vw, 1.38rem); --small: 0.9375rem; --label: 0.8125rem;
  --ease: cubic-bezier(0.22, 0.75, 0.2, 1); --spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  color-scheme: light;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 6rem; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--paper); color: var(--plum); font: 400 1.0625rem/1.62 var(--text); font-feature-settings: 'ss01'; -webkit-font-smoothing: antialiased; overflow-x: clip; }
/* paper: a whisper of grain over everything */
body::after { content: ""; position: fixed; inset: 0; pointer-events: none; z-index: 90; background: url('img/grain.png') 0 0 / 256px 256px; opacity: 0.32; mix-blend-mode: multiply; }
[hidden] { display: none !important; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 0.2em; }
p, h1, h2, h3, ul, ol, figure, blockquote { margin: 0; }
ul, ol { padding: 0; list-style: none; }
button { font: inherit; color: inherit; }
::selection { background: var(--blue); color: var(--paper); }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; border-radius: 3px; }
.wrap { width: min(100% - 2 * var(--gutter), 1380px); margin-inline: auto; }
.skip { position: absolute; left: 1rem; top: -4rem; z-index: 100; background: var(--plum); color: var(--paper); padding: 0.6rem 1rem; border-radius: 999px; }
.skip:focus { top: 1rem; }
h1, h2, h3, .display { font-family: var(--display); font-weight: 520; font-variation-settings: 'opsz' 144, 'SOFT' 40, 'WONK' 0; letter-spacing: -0.018em; }
h2 { font-size: var(--h2); line-height: 0.98; text-wrap: balance; }
p { text-wrap: pretty; }
h3 { font-size: var(--h3); line-height: 1.08; font-variation-settings: 'opsz' 72, 'SOFT' 70, 'WONK' 0; letter-spacing: -0.01em; }
.lead { font-size: var(--lead); line-height: 1.5; color: var(--plum-2); max-width: 34em; }
.bloom { width: 1em; height: 1em; fill: currentColor; display: inline-block; vertical-align: middle; overflow: visible; }

/* ---------- header ---------- */
.site-head { position: fixed; inset: 0 0 auto 0; z-index: 50; height: 5rem; padding-inline: var(--gutter); display: flex; align-items: center; gap: 2rem; transition: background-color 0.35s ease, box-shadow 0.35s ease, height 0.35s var(--ease); }
.site-head.is-solid { background: rgba(255, 244, 240, 0.84); -webkit-backdrop-filter: saturate(1.4) blur(14px); backdrop-filter: saturate(1.4) blur(14px); box-shadow: 0 1px 0 rgba(42, 18, 51, 0.08); height: 4.25rem; }
.brand { display: block; color: var(--plum); line-height: 0; margin-right: auto; }
.wordmark { height: 1.9rem; width: auto; overflow: visible; }
.wm-word { fill: currentColor; }
.wm-bloom { fill: var(--blue); transform-box: view-box; transform-origin: var(--bx) var(--by); transform: rotate(var(--spin, 0deg)); transition: transform 0.6s var(--spring); }
.brand:hover .wm-bloom { transform: rotate(calc(var(--spin, 0deg) + 120deg)) scale(1.12); }
.nav ul { display: flex; gap: clamp(1rem, 2.2vw, 2.25rem); }
.nav a { font-size: var(--small); font-weight: 500; text-decoration: none; position: relative; padding: 0.4rem 0; }
.nav a::after { content: ""; position: absolute; left: 50%; bottom: -0.1rem; width: 0.42rem; height: 0.42rem; margin-left: -0.21rem; border-radius: 50%; background: var(--rose); transform: scale(0); transition: transform 0.35s var(--spring); }
.nav a:hover::after, .nav a.is-here::after { transform: scale(1); }
.menu { display: none; appearance: none; border: 1px solid rgba(42, 18, 51, 0.22); background: none; border-radius: 999px; padding: 0.5rem 1rem; font-size: var(--small); font-weight: 500; cursor: pointer; }
.menu-sheet { position: fixed; z-index: 49; inset: 4.25rem 0 auto 0; background: var(--paper); padding: 1rem var(--gutter) 2rem; box-shadow: 0 30px 60px -30px rgba(42, 18, 51, 0.35); }
.menu-sheet a { display: block; padding: 0.85rem 0; font: 520 1.9rem/1.1 var(--display); font-variation-settings: 'opsz' 72, 'SOFT' 100; text-decoration: none; border-bottom: 1px solid rgba(42, 18, 51, 0.1); }

/* ---------- buttons ---------- */
.btn { --x: 50%; --y: 50%; position: relative; isolation: isolate; overflow: hidden; display: inline-flex; align-items: center; gap: 0.6rem; padding: 0.95rem 1.5rem; border-radius: 999px; background: var(--plum); color: var(--paper); font: 600 var(--small)/1 var(--text); text-decoration: none; border: 0; cursor: pointer; transition: transform 0.4s var(--spring), color 0.25s ease; }
/* the fill blooms out from wherever the pointer came in */
.btn::before { content: ""; position: absolute; z-index: -1; left: var(--x); top: var(--y); width: 0.5rem; height: 0.5rem; margin: -0.25rem; border-radius: 50%; background: var(--blue); transform: scale(0); transition: transform 0.55s var(--ease); }
.btn:hover::before, .btn:focus-visible::before { transform: scale(90); }
.btn:active { transform: scale(0.97); }
.btn--quiet { background: transparent; color: var(--plum); box-shadow: inset 0 0 0 1px rgba(42, 18, 51, 0.28); }
.btn--quiet::before { background: var(--petal); }
.btn--quiet:hover { box-shadow: inset 0 0 0 1px rgba(42, 18, 51, 0); }

/* ---------- the asterisk: kind print ---------- */
.ast { appearance: none; border: 0; background: none; padding: 0; margin: 0 0 0 0.05em; cursor: pointer; color: var(--blue); width: 0.4em; height: 0.4em; display: inline-block; vertical-align: 0.34em; position: relative; border-radius: 50%; line-height: 0; }
.ast .bloom { display: block; width: 100%; height: 100%; transition: transform 0.6s var(--spring), color 0.3s ease; }
.ast:hover .bloom { transform: rotate(60deg) scale(1.15); }
.ast[aria-expanded="true"] { color: var(--rose); }
.ast[aria-expanded="true"] .bloom { transform: rotate(180deg) scale(0.9); }
.ast::after { content: ""; position: absolute; inset: -0.3em; border-radius: 50%; }
.ast--hero::before { content: ""; position: absolute; inset: -0.08em; border-radius: 50%; border: 2px solid var(--blue); opacity: 0; animation: ast-ping 2.8s ease-out 2.2s infinite; }
.ast--hero[aria-expanded="true"]::before { animation: none; }
@keyframes ast-ping { 0% { transform: scale(0.6); opacity: 0.7; } 70%, 100% { transform: scale(1.7); opacity: 0; } }
.fn, .kp-fn { color: var(--blue); font: 500 var(--lead)/1.45 var(--text); display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 0.6rem; align-items: start; max-width: 32em; }
.fn-mark { width: 0.9em; height: 0.9em; margin-top: 0.28em; }
.fn-mark .bloom { width: 100%; height: 100%; }
.js .fn:not([hidden]), .js .kp-fn:not([hidden]) { animation: fn-in 0.55s var(--ease); }
@keyframes fn-in { from { opacity: 0; transform: translateY(-0.4rem); clip-path: inset(0 0 100% 0); } to { opacity: 1; transform: none; clip-path: inset(0 0 0 0); } }

/* ---------- hero ---------- */
.hero { position: relative; min-height: 100svh; display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); column-gap: var(--gap); padding: 7.5rem 0 0 var(--gutter); align-items: end; }
.hero-copy { align-self: center; padding-block: 1rem clamp(2rem, 5vh, 4rem); }
.hero h1 { font-size: var(--h1); line-height: 0.9; letter-spacing: -0.028em; }
.hero h1 .ln { display: block; white-space: nowrap; }
.hero .fn { margin-top: 1.4rem; }
.hero-lead { margin-top: clamp(1.6rem, 3.2vh, 2.4rem); font-size: var(--lead); line-height: 1.5; color: var(--plum-2); max-width: 30em; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 2rem; }
/* the photograph, framed like the window the light comes through */
.hero-photo { position: relative; align-self: stretch; margin-top: -2.5rem; overflow: hidden; border-radius: 50% 50% 0 0 / 34% 34% 0 0; background: var(--petal); }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 70%; transform: scale(1.04); transition: transform 1.6s var(--ease); }
.hero-photo.is-in img { transform: scale(1); }
.leaves { position: absolute; inset: -12%; pointer-events: none; mix-blend-mode: multiply; opacity: 0.24; transform: translate3d(var(--lx, 0px), var(--ly, 0px), 0); }
.leaves::before { content: ""; position: absolute; inset: 0; background: url('img/leaves.svg') center / cover no-repeat; animation: sway 11s ease-in-out infinite alternate; transform-origin: 70% 10%; }
@keyframes sway { from { transform: rotate(-1.6deg) translateY(-0.5%); } to { transform: rotate(1.8deg) translateY(0.8%); } }

/* soft type: letters soften and fill out under the pointer */
.soft-type .ch { display: inline; font-variation-settings: 'opsz' 144, 'SOFT' var(--s, 40), 'WONK' 0; font-weight: var(--w, 520); }
.soft-type .wd { display: inline; white-space: nowrap; }

/* ---------- made for ---------- */
.for { display: flex; align-items: baseline; justify-content: space-between; gap: 2rem; padding-block: clamp(3.5rem, 7vw, 6rem); border-bottom: 1px solid rgba(42, 18, 51, 0.12); }
.for-line { font: italic 400 clamp(1.9rem, 4.2vw, 4.4rem)/1.1 var(--display); font-variation-settings: 'opsz' 96, 'SOFT' 100, 'WONK' 1; letter-spacing: -0.015em; min-height: 1.15em; }
.for-k { color: var(--ash); font-style: normal; font-variation-settings: 'opsz' 96, 'SOFT' 100, 'WONK' 0; }
.for-who { color: var(--blue); display: inline-block; transition: opacity 0.35s ease, transform 0.5s var(--ease), filter 0.5s ease; }
.for-who.is-out { opacity: 0; transform: translateY(-0.35em); filter: blur(6px); }
.for-who.is-pre { opacity: 0; transform: translateY(0.35em); filter: blur(6px); transition: none; }
.for-next { flex: none; appearance: none; background: none; border: 0; border-bottom: 1px solid currentColor; padding: 0.2rem 0; cursor: pointer; font-size: var(--small); font-weight: 600; color: var(--plum); }
.for-next:hover { color: var(--blue); }

/* ---------- what we believe ---------- */
.believe { padding-top: var(--section); }
.head { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); align-items: end; }
.head h2 { grid-column: 1 / span 7; }
.head .lead { grid-column: 9 / -1; padding-bottom: 0.4rem; }
.beliefs { margin-top: clamp(3.5rem, 7vw, 6.5rem); display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(2.5rem, 5vw, 4.5rem) var(--gap); counter-reset: none; }
.beliefs li { position: relative; padding-top: 1.6rem; border-top: 1px solid rgba(42, 18, 51, 0.16); display: grid; grid-template-columns: 2.6rem minmax(0, 1fr); column-gap: 1.1rem; }
.beliefs li:nth-child(odd) { padding-right: clamp(0rem, 4vw, 4rem); }
.b-mark { grid-row: 1 / span 2; width: 2.1rem; height: 2.1rem; color: var(--rose); margin-top: 0.15rem; }
.beliefs li:nth-child(2) .b-mark { color: var(--blue); } .beliefs li:nth-child(3) .b-mark { color: #6E9A6A; } .beliefs li:nth-child(4) .b-mark { color: #E3A21A; }
.b-mark .bloom { width: 100%; height: 100%; }
.beliefs p { margin-top: 0.7rem; color: var(--plum-2); max-width: 30em; }
.js .beliefs .b-mark .bloom { transform: scale(0.2) rotate(-90deg); opacity: 0; transition: transform 0.9s var(--spring), opacity 0.4s ease; }
.js .beliefs li.is-in .b-mark .bloom { transform: none; opacity: 1; }
.beliefs li:hover .b-mark .bloom { transform: rotate(60deg) scale(1.08); }

/* ---------- the family ---------- */
.family { margin-top: var(--section); background: var(--petal); padding-block: clamp(4.5rem, 9vw, 8rem); position: relative; }
.family-in { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); align-items: center; }
.family-copy { grid-column: 1 / span 5; }
.family-copy .lead { margin-top: 1.5rem; }
.petal-read { margin-top: clamp(2rem, 4vw, 3.25rem); padding-top: 1.2rem; border-top: 1px solid rgba(42, 18, 51, 0.18); min-height: 7.5rem; }
.pr-name { font: 520 var(--h3)/1.05 var(--display); font-variation-settings: 'opsz' 72, 'SOFT' 100, 'WONK' 0; transition: color 0.3s ease; }
.pr-line { margin-top: 0.45rem; color: var(--plum-2); max-width: 26em; }
.petal-read.is-swap .pr-name, .petal-read.is-swap .pr-line { animation: swap-in 0.45s var(--ease); }
@keyframes swap-in { from { opacity: 0; transform: translateY(0.4rem); } to { opacity: 1; transform: none; } }
.bloom-big { grid-column: 7 / -1; justify-self: center; width: min(100%, 38rem); aspect-ratio: 1; position: relative; }
.bloom-big svg { width: 100%; height: 100%; overflow: visible; }
.petals { transform-origin: 0 0; }
/* the petals unfurl the first time the family comes into view */
.js .bloom-big .petal { opacity: 0; transform: scale(0.3) rotate(-30deg); transition: opacity 0.6s ease, transform 1.1s var(--spring); transition-delay: calc(var(--k) * 90ms); }
.js .bloom-big.is-open .petal { opacity: 1; transform: none; }
.js .bloom-big .heart { transform: scale(0); transition: transform 0.9s var(--spring) 0.1s; }
.js .bloom-big.is-open .heart { transform: none; }
.petal { cursor: pointer; outline: none; }
.petal path { fill: var(--pf, var(--paper)); stroke: none; filter: url(#petal-shadow); transition: fill 0.35s ease, transform 0.6s var(--spring); transform: translate(0, 0); }
.petal text { font: 600 14px var(--text); letter-spacing: 0.005em; fill: var(--plum); pointer-events: none; transition: fill 0.3s ease, transform 0.6s var(--spring); }
.petal.is-on path, .petal:hover path, .petal:focus-visible path { fill: var(--c); filter: url(#petal-lift); transform: translate(var(--dx), var(--dy)); }
.petal.is-on text, .petal:hover text, .petal:focus-visible text { fill: var(--tc, var(--paper)); transform: translate(var(--dx), var(--dy)); }
.petal:focus-visible path { stroke: var(--plum); stroke-width: 2.5; stroke-dasharray: 4 5; }
.heart { fill: var(--rose); transition: transform 0.6s var(--spring); }
.bloom-big:hover .heart { transform: scale(1.08); }

/* ---------- promises ---------- */
.promises { padding-top: var(--section); }
.kp-grid { margin-top: clamp(3rem, 6vw, 5rem); display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); column-gap: clamp(2rem, 6vw, 6.5rem); align-items: start; }
.kp { border-bottom: 1px solid rgba(42, 18, 51, 0.16); }
.kp-photo { position: sticky; top: 6.5rem; }
.kp-photo img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 50% 50% 1.25rem 1.25rem / 26% 26% 1.25rem 1.25rem; background: var(--petal); }
.kp-photo figcaption { margin-top: 0.9rem; display: flex; gap: 0.5rem; align-items: center; font-size: var(--small); color: var(--plum-2); }
.cap-mark { width: 0.95rem; height: 0.95rem; color: var(--blue); flex: none; } .cap-mark .bloom { width: 100%; height: 100%; display: block; }
.kp li { border-top: 1px solid rgba(42, 18, 51, 0.16); padding: clamp(1.1rem, 2.2vw, 1.8rem) 0; }
.kp-line { font: 520 clamp(1.85rem, 3.9vw, 3.9rem)/1.06 var(--display); font-variation-settings: 'opsz' 144, 'SOFT' 60, 'WONK' 0; letter-spacing: -0.02em; transition: font-variation-settings 0.6s var(--ease), color 0.3s ease; }
.kp li:hover .kp-line { font-variation-settings: 'opsz' 144, 'SOFT' 100, 'WONK' 0; }
.kp-fn { margin-top: 0.8rem; padding-left: 0.1rem; grid-template-columns: minmax(0, 1fr); }

/* ---------- the letter ---------- */
.letter { margin-top: var(--section); background: var(--plum); color: var(--paper); position: relative; }
.letter-photo { position: relative; height: clamp(22rem, 58vw, 50rem); overflow: hidden; }
.letter-photo img { position: absolute; inset: -6% 0; width: 100%; height: 112%; object-fit: cover; object-position: 45% 50%; transform: translate3d(0, var(--py, 0px), 0); }
.letter-photo::after { content: ""; position: absolute; inset: 0; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.04); }
.letter-in { width: min(100% - 2 * var(--gutter), 1380px); margin-inline: auto; padding-block: clamp(4rem, 8vw, 7.5rem) clamp(4.5rem, 9vw, 8rem); display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); align-items: start; }
.letter h2 { grid-column: 1 / span 5; font-size: clamp(2.4rem, 4.6vw, 4.8rem); line-height: 0.98; color: var(--paper); position: sticky; top: 7rem; }
.letter-body { grid-column: 7 / -1; font: italic 340 clamp(1.18rem, 1.5vw, 1.45rem)/1.62 var(--display); font-variation-settings: 'opsz' 18, 'SOFT' 100, 'WONK' 1; color: #F7E4E1; max-width: 31em; }
.letter-body p + p { margin-top: 1.05em; }
.sign { margin-top: 2rem !important; display: flex; flex-direction: column; gap: 0.25rem; }
.sign-hand { font: italic 400 clamp(2rem, 3.2vw, 3rem)/1 var(--display); font-variation-settings: 'opsz' 144, 'SOFT' 100, 'WONK' 1; color: var(--blush); }
.sign-role { font: 500 var(--label)/1.4 var(--text); font-style: normal; color: rgba(255, 244, 240, 0.62); letter-spacing: 0.01em; }

/* ---------- say hello ---------- */
.hello { padding-block: var(--section); }
.hello-form { margin-top: clamp(2.5rem, 5vw, 4rem); display: grid; gap: 1.6rem; max-width: 60rem; }
.topics { border: 0; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 0.5rem; }
.topics legend { font-size: var(--small); font-weight: 600; margin-bottom: 0.75rem; padding: 0; }
.chip { position: relative; display: inline-flex; }
.chip input { position: absolute; inset: 0; opacity: 0; margin: 0; cursor: pointer; }
.chip span { padding: 0.62rem 1.05rem; border-radius: 999px; box-shadow: inset 0 0 0 1px rgba(42, 18, 51, 0.25); font-size: var(--small); font-weight: 500; transition: background-color 0.25s ease, color 0.25s ease, box-shadow 0.25s ease, transform 0.4s var(--spring); }
.chip:hover span { box-shadow: inset 0 0 0 1px var(--plum); }
.chip input:checked + span { background: var(--plum); color: var(--paper); box-shadow: none; }
.chip input:active + span { transform: scale(0.96); }
.chip input:focus-visible + span { outline: 2px solid var(--blue); outline-offset: 2px; }
.f-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.6rem var(--gap); }
.f { display: grid; gap: 0.35rem; }
.f span { font-size: var(--label); font-weight: 600; color: var(--plum-2); transition: color 0.2s ease; }
.f:focus-within span { color: var(--blue); }
.f input, .f textarea { font: 400 1.2rem/1.4 var(--text); color: var(--plum); background: transparent; border: 0; border-bottom: 1px solid rgba(42, 18, 51, 0.35); border-radius: 0; padding: 0.45rem 0 0.6rem; transition: border-color 0.25s ease; resize: vertical; }
.f input:focus, .f textarea:focus { outline: 0; border-bottom-color: var(--blue); box-shadow: 0 1px 0 0 var(--blue); }
.f-end { display: flex; flex-wrap: wrap; align-items: center; gap: 1.25rem 2rem; }
.f-mail { color: var(--plum-2); font-size: var(--small); }
.copy { appearance: none; border: 0; background: var(--petal); border-radius: 999px; padding: 0.3rem 0.7rem; font-size: var(--label); font-weight: 600; cursor: pointer; margin-left: 0.4rem; transition: background-color 0.2s ease, color 0.2s ease; }
.copy:hover { background: var(--blush); }
.copy.is-done { background: var(--blue); color: var(--paper); }
.f-status { min-height: 1.5em; color: var(--blue); font-weight: 500; }

/* ---------- footer ---------- */
.site-foot { background: var(--petal); padding: clamp(3.5rem, 7vw, 6rem) var(--gutter) 2rem; position: relative; }
.foot-mark { color: var(--plum); line-height: 0; }
.wordmark--big { width: 100%; height: auto; }
.foot-mark .wm-bloom { transition: transform 1.2s var(--spring); }
.site-foot:hover .foot-mark .wm-bloom { transform: rotate(240deg); }
.foot-grid { margin-top: clamp(2.5rem, 5vw, 4rem); display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 2rem var(--gap); font-size: var(--small); }
.foot-grid h2 { font: 600 var(--label)/1.3 var(--text); letter-spacing: 0.01em; color: var(--plum-2); margin-bottom: 0.6rem; }
.foot-grid address { font-style: normal; line-height: 1.6; }
.foot-grid ul li + li { margin-top: 0.3rem; }
.foot-about { font: italic 400 clamp(1.3rem, 1.9vw, 1.75rem)/1.3 var(--display); font-variation-settings: 'opsz' 72, 'SOFT' 100, 'WONK' 1; max-width: 18em; }
.foot-base { margin-top: clamp(3rem, 6vw, 5rem); padding-top: 1.25rem; border-top: 1px solid rgba(42, 18, 51, 0.16); display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; font-size: var(--label); color: var(--plum-2); }

/* ---------- legal pages ---------- */
.doc { padding: 9rem 0 var(--section); max-width: 46rem; }
.doc h1 { font-size: clamp(2.8rem, 6vw, 5rem); line-height: 1; }
.doc-date { margin-top: 1rem; color: var(--ash); font-size: var(--small); }
.doc h2 { font-size: clamp(1.4rem, 2vw, 1.8rem); margin-top: 2.6rem; font-variation-settings: 'opsz' 72, 'SOFT' 80, 'WONK' 0; }
.doc p { margin-top: 0.8rem; color: var(--plum-2); }

/* ---------- small kindnesses: a bloom where you click ---------- */
.kc { position: fixed; z-index: 80; pointer-events: none; width: 1.5rem; height: 1.5rem; margin: -0.75rem 0 0 -0.75rem; animation: kc 0.95s var(--ease) forwards; }
.kc .bloom { width: 100%; height: 100%; }
@keyframes kc { 0% { transform: scale(0.1) rotate(-60deg); opacity: 1; } 55% { opacity: 1; } 100% { transform: scale(1.25) rotate(40deg) translateY(-0.9rem); opacity: 0; } }

/* ---------- smaller screens ---------- */
@media (max-width: 1100px) {
  .nav { display: none; }
  .menu { display: inline-flex; }
}
@media (max-width: 899px) {
  .hero { grid-template-columns: minmax(0, 1fr); padding: 6.5rem var(--gutter) 0; min-height: 0; }
  .hero-copy { padding-bottom: 2.5rem; }
  .hero h1 .ln { white-space: normal; }
  .hero-photo { margin: 0 calc(-1 * var(--gutter)); aspect-ratio: 5 / 5.4; border-radius: 50% 50% 0 0 / 30% 30% 0 0; }
  .for { flex-direction: column; align-items: flex-start; gap: 1rem; }
  .for-line { min-height: 2.25em; }
  .head h2, .head .lead { grid-column: 1 / -1; }
  .head .lead { margin-top: 1.25rem; }
  .beliefs { grid-template-columns: minmax(0, 1fr); }
  .beliefs li:nth-child(odd) { padding-right: 0; }
  .family-copy, .bloom-big { grid-column: 1 / -1; }
  .bloom-big { margin-top: 2rem; width: min(100% + 2rem, 32rem); margin-inline: -1rem; justify-self: center; }
  .petal text { font-size: 19px; }
  .letter-photo { height: auto; aspect-ratio: 16 / 11; }
  .letter h2, .letter-body { grid-column: 1 / -1; position: static; }
  .letter-body { margin-top: 2rem; }
  .kp-grid { grid-template-columns: minmax(0, 1fr); row-gap: 2.5rem; }
  .kp-photo { position: relative; top: 0; order: -1; }
  .kp-photo img { aspect-ratio: 5 / 4; object-position: 50% 46%; border-radius: 50% 50% 1rem 1rem / 34% 34% 1rem 1rem; }
  .f-row { grid-template-columns: minmax(0, 1fr); }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .foot-about { grid-column: 1 / -1; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
  .leaves::before { animation: none; }
}

@media (prefers-reduced-motion: no-preference) {
  .js .hero-photo { animation: arch-rise 1.5s var(--ease) 0.1s both; }
  .js .hero h1 .ln { animation: line-in 1.15s var(--ease) both; }
  .js .hero h1 .ln + .ln { animation-delay: 0.12s; }
  .js .hero-lead, .js .hero-actions { animation: line-in 1.1s var(--ease) 0.38s both; }
  .js .hero-actions { animation-delay: 0.5s; }
  .js .site-head { animation: fade 0.9s ease 0.55s both; }
  .js .leaves { animation: fade 2.4s ease 1.1s both; }
}
@keyframes arch-rise { from { clip-path: inset(100% 0 0 0); } to { clip-path: inset(0 0 0 0); } }
@keyframes line-in { from { opacity: 0; transform: translateY(0.32em); } to { opacity: 1; transform: none; } }
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }
