/* 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; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
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; }

/* ---------- the name, both ways: a dictionary entry ---------- */
.name { padding-block: clamp(4.5rem, 9vw, 8.5rem) clamp(4rem, 8vw, 7rem); border-bottom: 1px solid rgba(42, 18, 51, 0.12); display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); row-gap: clamp(2rem, 3.6vw, 3rem); }
.entry { grid-column: 1 / -1; display: flex; align-items: baseline; flex-wrap: wrap; column-gap: clamp(1rem, 2.5vw, 2.5rem); row-gap: 0.5rem; }
.headword { margin: 0; line-height: 0; }
.wordmark--entry { display: block; width: clamp(16.5rem, 43vw, 37rem); height: auto; color: var(--plum); }
.wordmark--entry .wm-bloom { transition: transform 1s var(--spring); }
.pron { font: 400 clamp(1.2rem, 1.8vw, 1.7rem)/1 var(--text); color: var(--plum-2); letter-spacing: 0.01em; }
.senses { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2.5rem var(--gap); counter-reset: sense; }
.sense { counter-increment: sense; position: relative; padding-left: clamp(2.6rem, 4vw, 3.6rem); }
.sense::before { content: counter(sense); position: absolute; left: 0; top: -0.05em; font: 520 clamp(2rem, 3vw, 2.9rem)/1 var(--display); font-variation-settings: 'opsz' 144, 'SOFT' 100, 'WONK' 0; color: var(--rose); }
.sense + .sense::before { color: var(--blue); }
.def { font-size: var(--lead); line-height: 1.5; color: var(--plum-2); max-width: 30em; }
.def b { font: 520 1.18em/1.2 var(--display); font-variation-settings: 'opsz' 72, 'SOFT' 100, 'WONK' 0; color: var(--plum); }
.ex { margin-top: 0.9rem; font: italic 400 clamp(1.6rem, 2.7vw, 2.75rem)/1.15 var(--display); font-variation-settings: 'opsz' 96, 'SOFT' 100, 'WONK' 1; letter-spacing: -0.012em; color: var(--plum); min-height: 2.3em; }
.pos { font: italic 400 0.86em/1 var(--display); font-variation-settings: 'opsz' 36, 'SOFT' 100, 'WONK' 1; color: var(--ash); margin-right: 0.35em; }
.cyc { color: var(--rose); cursor: pointer; text-decoration: underline dotted rgba(226, 85, 123, 0.5); text-decoration-thickness: 2px; text-underline-offset: 0.18em; transition: text-decoration-color 0.2s ease; }
.sense + .sense .cyc { color: var(--blue); text-decoration-color: rgba(43, 63, 234, 0.45); }
.cyc:hover { text-decoration-color: currentColor; }
.cyc.is-out, .cyc.is-in { text-decoration-color: transparent !important; }
.cyc-t .cw { display: inline-block; white-space: nowrap; }
.cyc-t .cc { display: inline-block; }
.cyc.is-out .cc { opacity: 0; transform: translateY(0.32em) rotate(-9deg) scale(0.86); filter: blur(3px); transition: opacity 0.22s ease, transform 0.3s ease, filter 0.3s ease; transition-delay: calc(var(--i) * 9ms); }
.cyc.is-in .cc { animation: cc-bloom 0.72s cubic-bezier(0.2, 1.45, 0.35, 1) both; animation-delay: calc(var(--i) * 24ms); }
@keyframes cc-bloom { 0% { opacity: 0; transform: translateY(0.5em) scale(0.15) rotate(16deg); filter: blur(4px); } 55% { opacity: 1; filter: blur(0); } 100% { opacity: 1; transform: none; filter: none; } }
.name-foot { grid-column: 1 / -1; display: flex; align-items: center; justify-content: space-between; gap: 1.2rem 2rem; flex-wrap: wrap; }
.another { display: none; padding: 0.7rem 1.25rem 0.7rem 0.85rem; }
.js .another { display: inline-flex; }
.another-bloom { width: 1.75rem; height: 1.75rem; overflow: visible; color: var(--blue); flex: none; }
.another-bloom .pt { fill: currentColor; fill-opacity: calc(0.2 + 0.8 * var(--f, 0)); }
.ab-turn { transform: rotate(var(--turn, 0deg)); transition: transform 0.9s var(--spring); }
.ab-heart { fill: var(--paper); }
.another:hover .ab-turn { transform: rotate(calc(var(--turn, 0deg) + 24deg)); }
.both { font: italic 400 var(--lead)/1.4 var(--display); font-variation-settings: 'opsz' 36, 'SOFT' 100, 'WONK' 1; color: var(--plum-2); display: flex; align-items: center; gap: 0.6rem; }
.both::before { content: ""; width: 2.5rem; height: 1px; background: currentColor; opacity: 0.5; }

/* ---------- 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; }
/* the kindness tag: a swing tag hung from the line above */
.believe .head { align-items: stretch; }
.believe .head-copy { grid-column: 1 / span 7; align-self: end; padding-bottom: 0.5rem; }
.believe .head-copy .lead { margin-top: 1.9rem; max-width: 31em; }
.tag-stage { grid-column: 9 / -1; position: relative; margin-top: calc(-1 * var(--section)); min-height: calc(21.5rem + 11.5rem); }
.tag-pin { position: absolute; z-index: 2; top: -5px; left: 50%; width: 10px; height: 10px; margin-left: -5px; border-radius: 50%; background: var(--plum); box-shadow: 0 0 0 3px var(--paper); }
.tag-rig { position: absolute; top: 0; bottom: 0; left: 50%; width: 17.5em; margin-left: -8.75em; font-size: 1rem; transform-origin: 50% 0; transform: rotate(-0.035rad); will-change: transform; perspective: 1100px; }
.tag-string { position: absolute; z-index: 3; top: 0; left: 50%; width: 1.5px; margin-left: -0.75px; bottom: calc(21.5em - 2.75em); background: linear-gradient(#8A7484, #5B4163); border-radius: 1px; }
.tag-twist { position: absolute; left: 0; bottom: 0; width: 17.5em; height: 21.5em; transform-style: preserve-3d; }
.tag-string::after { content: ""; position: absolute; left: 50%; bottom: -0.3em; width: 0.62em; height: 0.62em; margin-left: -0.31em; border: 1.5px solid #5B4163; border-top-color: transparent; border-radius: 50%; transform: rotate(18deg); }
.tag { position: relative; display: block; width: 100%; height: 100%; padding: 0; border: 0; background: none; font: inherit; color: var(--plum); cursor: pointer; text-align: left; transform-style: preserve-3d; transition: transform 0.95s var(--spring); -webkit-tap-highlight-color: transparent; user-select: none; }
.tag.is-flipped { transform: rotateY(180deg); }
.tag:focus-visible { outline: none; }
.tag:focus-visible .tag-shape path { stroke: var(--plum); stroke-width: 3; }
.tag-face { position: absolute; inset: 0; backface-visibility: hidden; -webkit-backface-visibility: hidden; filter: drop-shadow(0.6em 1em 0.9em rgba(42, 18, 51, 0.16)) drop-shadow(0.06em 0.12em 0.1em rgba(42, 18, 51, 0.14)); }
.tag-back { transform: rotateY(180deg); color: var(--paper); }
.tag-shape { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.tag-front .tag-shape path { fill: var(--sun); }
.tag-back .tag-shape path { fill: var(--blue); }
.tag-eyelet { fill: none; stroke: rgba(255, 253, 249, 0.85); stroke-width: 4; }
.tag-in { position: absolute; inset: 0; padding: 4.9em 1.75em 1.6em; display: flex; flex-direction: column; }
.tag-name { font: 560 3.05em/1 var(--display); font-variation-settings: 'opsz' 144, 'SOFT' 100, 'WONK' 0; letter-spacing: -0.02em; padding-bottom: 0.32em; border-bottom: 1.5px dashed rgba(42, 18, 51, 0.32); }
.tag-back .tag-name { border-bottom-color: rgba(255, 244, 240, 0.4); }
.tag-rows { display: grid; gap: 0.7em; margin-top: 1.15em; }
.tag-row { display: flex; align-items: baseline; gap: 0.5em; }
.tag-row::after { content: none; }
.tag-k { font: 600 0.8em/1 var(--text); color: rgba(42, 18, 51, 0.7); }
.tag-row .tag-k::after { content: ""; }
.tag-v { margin-left: auto; font: italic 400 1.28em/1.1 var(--display); font-variation-settings: 'opsz' 36, 'SOFT' 100, 'WONK' 1; }
.tag-row { background: radial-gradient(circle, rgba(42, 18, 51, 0.35) 0.9px, transparent 1.2px) 0 calc(100% - 0.28em) / 6px 6px repeat-x; }
.tag-k, .tag-v { background: var(--sun); padding: 0 0.3em; }
.tag-k { padding-left: 0; }
.tag-v { padding-right: 0; }
.tag-bottom { margin-top: auto; display: grid; gap: 0.45em; }
.tag-code { display: block; width: 62%; height: 2.1em; fill: var(--plum); opacity: 0.88; }
.tag-note { font: 500 0.78em/1.2 var(--text); color: rgba(42, 18, 51, 0.72); }
.tag-care { display: grid; gap: 0.55em; margin-top: 1.1em; font: italic 400 1.3em/1.2 var(--display); font-variation-settings: 'opsz' 36, 'SOFT' 100, 'WONK' 1; }
.tag-mark { width: 1.9em; height: 1.9em; color: var(--sun); }
.tag-mark .bloom { width: 100%; height: 100%; }
@media (prefers-reduced-motion: reduce) { .tag { transition: none; } }

.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, 56.25vw, 56rem); overflow: hidden; }
.letter-photo img { position: absolute; inset: -6% 0; width: 100%; height: 112%; object-fit: cover; object-position: 47% 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: 2.2rem; display: flex; flex-direction: column; align-items: flex-start; gap: 0.2rem; }
.signature { width: clamp(15rem, 22.5vw, 20rem); height: auto; color: var(--blush); margin: 0.5rem 0 0.1rem -0.9rem; overflow: visible; }

.sign-hand { font: italic 400 clamp(1.4rem, 1.9vw, 1.8rem)/1.2 var(--display); font-variation-settings: 'opsz' 72, 'SOFT' 100, 'WONK' 1; color: #F7E4E1; }
.sign-role { font: 500 var(--small)/1.4 var(--text); font-style: normal; color: rgba(255, 244, 240, 0.7); letter-spacing: 0.01em; margin-top: 0.2rem; }

/* ---------- 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; }
  .senses { grid-template-columns: minmax(0, 1fr); }
  .ex { min-height: 2.4em; }
  .head h2, .head .lead { grid-column: 1 / -1; }
  .believe .head-copy { grid-column: 1 / -1; }
  .tag-stage { grid-column: 1 / -1; margin-top: 2.25rem; min-height: calc(18.3rem + 5rem); }
  .tag-stage::before { content: ""; position: absolute; top: 0; left: 18%; right: 18%; height: 1px; background: rgba(42, 18, 51, 0.16); }
  .tag-rig { font-size: 0.85rem; }
  .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: 6 / 5; }
  .letter-photo img { object-position: 50% 50%; }
  .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; } }
