/* Heaven in Your Body. One page, printed-flyer world: sheets of colored stock on a blush wall,
   deep rose ink, tear-off tabs. Palette pinned by the brief (DESIGN.md). Light only: print world. */
@font-face {font-family:'Figtree';font-style:normal;font-weight:300 900;font-display:swap;src:url('fonts/figtree-normal-300-900-latin-ext.woff2') format('woff2');unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;}
@font-face {font-family:'Figtree';font-style:normal;font-weight:300 900;font-display:swap;src:url('fonts/figtree-normal-300-900-latin.woff2') format('woff2');unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;}
@font-face {font-family:'Kalam';font-style:normal;font-weight:700;font-display:swap;src:url('fonts/kalam-normal-700-latin-ext.woff2') format('woff2');unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;}
@font-face {font-family:'Kalam';font-style:normal;font-weight:700;font-display:swap;src:url('fonts/kalam-normal-700-latin.woff2') format('woff2');unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;}
@font-face {font-family:'Young Serif';font-style:normal;font-weight:400;font-display:swap;src:url('fonts/young-serif-normal-400-latin-ext.woff2') format('woff2');unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;}
@font-face {font-family:'Young Serif';font-style:normal;font-weight:400;font-display:swap;src:url('fonts/young-serif-normal-400-latin.woff2') format('woff2');unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;}
/* fallbacks sized to the web fonts' widths, so the headline, notes and body text wrap the same before and after the swap (measured 2026-10-02) */
@font-face { font-family: 'Young Serif Fallback'; src: local('Georgia'); size-adjust: 114.6%; }
@font-face { font-family: 'Kalam Fallback'; src: local('Segoe Print'); size-adjust: 89.4%; }
@font-face { font-family: 'Figtree Fallback'; src: local('Segoe UI'), local('SegoeUI'); size-adjust: 100.8%; }
:root {
  /* paper stocks (pinned palette plus two derived tints) */
  --cream: #FDFBEF;
  --blush: #F8D8C8;
  --petal: #F3ACA7;
  --mist: #B0C0C8;
  --sage: #7E8D79;
  --sage-paper: #DFE5D8;     /* light sage stock, derived */
  --shell: #FCEEE6;          /* blush lifted toward cream, derived */
  /* inks */
  --rose: #B81018;
  --rose-ink: #8E0C13;       /* rose for small text on colored stock */
  --rose-hot: #9E0D14;       /* button hover */
  --ink: #2A2422;
  --ink-2: #5C534E;
  --sage-ink: #3F4C3A;       /* stamp ink */
  --water-ink: #243A45;
  /* type */
  --display: 'Young Serif', 'Young Serif Fallback', 'Iowan Old Style', Georgia, serif;
  --body: 'Figtree', 'Figtree Fallback', 'Segoe UI', system-ui, sans-serif;
  --hand: 'Kalam', 'Kalam Fallback', 'Segoe Print', cursive;
  /* depth: warm, tinted, offset */
  --shadow-sheet: 0 1px 1px rgb(92 40 30 / .08), 0 10px 22px -10px rgb(92 40 30 / .30), 0 28px 48px -26px rgb(92 40 30 / .28);
  --shadow-print: 0 1px 2px rgb(60 30 25 / .18), 0 14px 26px -12px rgb(60 30 25 / .42);
  --ease-out: cubic-bezier(.23, 1, .32, 1);
  --ease-io: cubic-bezier(.77, 0, .175, 1);
  --gutter: max(clamp(16px, 4.2vw, 44px), env(safe-area-inset-left, 0px), env(safe-area-inset-right, 0px));
  --wrap: 1240px;
  --sec: clamp(44px, 7vw, 104px);
  --radius: 3px;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; -webkit-tap-highlight-color: transparent; scroll-behavior: smooth; scroll-padding-top: calc(5.5rem + 8px); color-scheme: only light; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
/* keyboard focus scrolls into view at once, so the focused control is never mid-scroll or off screen */
html:has(:focus-visible) { scroll-behavior: auto; }
body {
  margin: 0;
  font: 400 1.0625rem/1.6 var(--body);
  color: var(--ink);
  background-color: var(--blush);
  background-image: url('images/paper.webp');
  background-size: 640px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img { display: block; max-width: 100%; height: auto; }
a { color: var(--rose); text-decoration-thickness: 1.5px; text-underline-offset: .18em; }
a, button, summary, label.chip { touch-action: manipulation; }
/* a long press on a control neither selects its label nor opens the link callout */
.btn, label.chip, .dock-tab, .tab, .round, .menu-btn, .door-index a, summary { -webkit-user-select: none; user-select: none; }
.dock-tab, .tab, .btn { -webkit-touch-callout: none; }
@media (hover: hover) and (pointer: fine) { a:hover { color: var(--rose-hot); } }
h1, h2, h3 { font-family: var(--display); font-weight: 400; color: var(--rose); margin: 0; text-wrap: balance; letter-spacing: -.012em; }
h2 { font-size: clamp(2.05rem, 1.35rem + 2.3vw, 3.4rem); line-height: 1.05; }
h3 { font-size: clamp(1.45rem, 1.2rem + .7vw, 1.8rem); line-height: 1.12; }
p { margin: 0 0 1em; text-wrap: pretty; }
ul, ol { margin: 0; padding: 0; list-style: none; }
::selection { background: var(--rose); color: var(--cream); }
:focus-visible { outline: 3px solid var(--rose); outline-offset: 3px; border-radius: 2px; }
html { scrollbar-color: var(--petal) var(--blush); }
.i { width: 1.15em; height: 1.15em; fill: currentColor; flex: none; }
.nowrap { white-space: nowrap; }
.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.wrap { width: min(var(--wrap), 100% - 2 * var(--gutter)); margin-inline: auto; }
.skip { position: absolute; left: 12px; top: 12px; translate: 0 calc(-100% - 24px); z-index: 100; background: var(--rose); color: var(--cream); padding: 10px 16px; border-radius: 4px; font-weight: 700; }
.skip:focus { translate: none; color: var(--cream); }
/* fixed grain over everything, never on scrolling boxes */
.grain { position: fixed; inset: 0; z-index: 90; pointer-events: none; background: url('images/paper.webp'); background-size: 480px; opacity: .35; mix-blend-mode: multiply; }
/* ---------- paper system ---------- */
.sheet, .flyer, .door, .index-card, .lined {
  position: relative;
  background-color: var(--stock, var(--cream));
  background-image: url('images/paper.webp');
  background-size: 520px;
  box-shadow: var(--shadow-sheet);
  border-radius: var(--radius);
  rotate: var(--r, 0deg);
}
.stock-cream { --stock: var(--cream); }
.stock-blush { --stock: var(--shell); }
.stock-petal { --stock: var(--petal); }
.stock-sage { --stock: var(--sage-paper); }
.stock-mist { --stock: var(--mist); }
/* washi tape: translucent strip with torn ends */
.tape {
  position: absolute; top: -14px; width: 118px; height: 30px; z-index: 3;
  background: rgb(253 251 239 / .62);
  box-shadow: 0 1px 2px rgb(60 30 25 / .10);
  backdrop-filter: blur(1px);
  --z: 5px;
  -webkit-mask: conic-gradient(from -45deg at left, #0000, #000 1deg 89deg, #0000 90deg) left / 51% var(--z) repeat-y, conic-gradient(from 135deg at right, #0000, #000 1deg 89deg, #0000 90deg) right / 51% var(--z) repeat-y;
          mask: conic-gradient(from -45deg at left, #0000, #000 1deg 89deg, #0000 90deg) left / 51% var(--z) repeat-y, conic-gradient(from 135deg at right, #0000, #000 1deg 89deg, #0000 90deg) right / 51% var(--z) repeat-y;
}
.tape-l { left: 8%; rotate: -4deg; }
.tape-r { right: 8%; rotate: 3deg; }
.tape-c { left: 50%; translate: -50% 0; rotate: -2deg; }
/* push pin */
.pin {
  position: absolute; top: 10px; left: 50%; translate: -50% 0; z-index: 4;
  width: 16px; height: 16px; border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #f7a3a0 0 12%, var(--rose) 45%, #6e0a0f 100%);
  box-shadow: 1px 3px 3px rgb(60 20 15 / .35), 3px 7px 8px -3px rgb(60 20 15 / .25);
}
/* photo prints: white border, pinned */
.print {
  margin: 0; position: relative;
  background: #fffdf8; padding: 10px 10px 12px;
  box-shadow: var(--shadow-print);
  rotate: var(--r, 0deg);
}
.print img { width: 100%; }
.print picture { display: block; }
/* the pin bites the print's white border, or the top edge of the AloMana and postpartum sheets, and overhangs it: never the person in the photo or the drawing */
.print > .pin, .door-water > .pin, .door-postpartum > .pin { top: -6px; }
/* rubber stamps */
.stamp {
  display: inline-flex; flex-direction: column; align-items: flex-start; gap: 1px;
  margin: 0; padding: 7px 12px 6px;
  border: 2px solid currentColor; border-radius: 6px;
  box-shadow: inset 0 0 0 2px var(--stock, var(--cream)), inset 0 0 0 3.5px currentColor;
  font: 800 .875rem/1.25 var(--body); letter-spacing: .05em; text-transform: uppercase;
  rotate: -2.5deg;
  -webkit-mask: url('images/wear.webp') 0 0 / 240px auto; mask: url('images/wear.webp') 0 0 / 240px auto; mask-mode: luminance;
}
.stamp > span:first-child { font-weight: 600; letter-spacing: .12em; font-size: .875rem; }
.stamp > span:last-child { text-transform: none; letter-spacing: .02em; }   /* the coverage line in sentence case */
/* 1x screens: at 14px, turned and worn, the "l" of Medi-Cal read as "i"; 15.2px reads clean (measured 2026-10-02).
   From 1024px, where the hero, birth and loss stamps keep two lines (990 to 1001px would push them to three). */
@media (min-width: 1024px) { .stamp > span:last-child { font-size: .95rem; } }
.stamp-sage { color: var(--sage-ink); }
.stamp-rose { color: var(--rose-ink); }
.stamp-ink { color: var(--ink); }
/* hand notes */
.hand { font-family: var(--hand); font-weight: 700; color: var(--rose); line-height: 1.2; }
/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  min-height: 48px; padding: 12px 22px;
  background: var(--rose); color: var(--cream);
  font: 700 1.02rem/1 var(--body); letter-spacing: .01em; text-decoration: none; white-space: nowrap;
  border: 0; border-radius: 4px; cursor: pointer;
  box-shadow: 0 1px 0 rgb(255 255 255 / .18) inset, 0 8px 16px -8px rgb(142 12 19 / .7);
  transition: background-color 200ms ease, transform 160ms var(--ease-out), box-shadow 200ms ease;
}
@media (hover: hover) and (pointer: fine) { .btn:hover { background: var(--rose-hot); color: var(--cream); } }
.btn:active { transform: scale(.97); }
.door-cta:active .i, .cert-view:active .i { transform: translateX(2px); }
summary:active { color: var(--rose); }
.tab:active { background-color: rgb(184 16 24 / .06); }
a:not(.btn):not(.tab):not(.dock-tab):active { opacity: .72; }
.btn .i { width: 1.25em; height: 1.25em; }
.btn-lg { min-height: 56px; padding: 15px 28px; font-size: 1.1rem; }
.btn-quiet { background: transparent; color: var(--rose-ink); box-shadow: inset 0 0 0 2px currentColor; }
@media (hover: hover) and (pointer: fine) { .btn-quiet:hover { background: rgb(184 16 24 / .07); color: var(--rose-ink); } }
.cta-row { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; }
.call-link { font-weight: 600; color: var(--ink); text-decoration-color: rgb(42 36 34 / .35); }
@media (hover: hover) and (pointer: fine) { .call-link:hover { color: var(--rose); } }
/* ---------- notice + header ---------- */
.top { position: sticky; top: 0; z-index: 50; background: rgb(248 216 200 / .96); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); border-bottom: 1px solid rgb(142 12 19 / .12); }
.top-in { width: min(var(--wrap), 100% - 2 * var(--gutter)); margin-inline: auto; min-height: 68px; display: flex; align-items: center; gap: 28px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; margin-right: auto; }
.brand img { width: 52px; height: auto; }
.brand-words { display: flex; flex-direction: column; line-height: 1.05; }
.brand-name { font-family: var(--display); font-size: 1.28rem; color: var(--rose); }
.brand-name-2 { white-space: nowrap; }
.brand-legal { font-size: .875rem; font-weight: 600; letter-spacing: .02em; color: var(--ink-2); margin-top: 3px; }
.nav { display: flex; gap: 26px; }
.nav a { position: relative; color: var(--ink); text-decoration: none; font-weight: 600; font-size: .96rem; transition: color 200ms ease; padding: 11px 7px; margin-inline: -7px; }
.nav a::after { content: ""; position: absolute; left: 7px; right: 7px; bottom: 6px; height: 1.5px; background: currentColor; transform: scaleX(0); transform-origin: left; transition: transform 200ms var(--ease-out); }
@media (hover: hover) and (pointer: fine) { .nav a:hover { color: var(--rose); } .nav a:hover::after { transform: scaleX(1); } }
.top-phone { display: inline-flex; align-items: center; gap: 8px; font-weight: 800; font-size: 1.02rem; color: var(--rose); text-decoration: none; padding: 9px 14px; border-radius: 4px; box-shadow: inset 0 0 0 2px rgb(184 16 24 / .5); transition: box-shadow 200ms ease, background-color 200ms ease; font-variant-numeric: tabular-nums; white-space: nowrap; }
@media (hover: hover) and (pointer: fine) { .top-phone:hover { box-shadow: inset 0 0 0 2px var(--rose); background: rgb(184 16 24 / .06); } }
/* the Menu button: shown at 980px and below, and on computers set to large text (the header fold after the 980px block) */
.menu-btn { display: none; align-items: center; gap: 10px; min-height: 44px; padding: 8px 14px; border: 0; border-radius: 4px; background: var(--cream); color: var(--ink); font: 700 .95rem var(--body); box-shadow: inset 0 0 0 1.5px rgb(42 36 34 / .22); cursor: pointer; transition: transform 160ms var(--ease-out); }
.menu-btn:active { transform: scale(.97); }
.menu-lines { width: 18px; height: 12px; background: linear-gradient(currentColor 0 0) 0 0 / 100% 2px no-repeat, linear-gradient(currentColor 0 0) 0 50% / 100% 2px no-repeat, linear-gradient(currentColor 0 0) 0 100% / 100% 2px no-repeat; }
.menu-btn[aria-expanded="true"] .menu-lines { width: 16px; height: 16px; margin-inline: 1px; background: linear-gradient(currentColor 0 0) 50% 50% / 100% 2px no-repeat, linear-gradient(currentColor 0 0) 50% 50% / 2px 100% no-repeat; rotate: 45deg; }
.menu { border-top: 1px solid rgb(142 12 19 / .12); padding: 12px var(--gutter) 22px; background: var(--blush); max-height: calc(100dvh - 68px); overflow-y: auto; overscroll-behavior: contain; }
.menu nav { display: grid; }
.menu nav a { padding: 13px 2px; font: 400 1.35rem/1.2 var(--display); color: var(--rose); text-decoration: none; border-bottom: 1px dashed rgb(42 36 34 / .18); text-wrap: balance; }
.menu-cta { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 18px; }
/* the open menu dims the page behind it; a tap there closes the menu (site.js) (only while the menu is open) */
html.menu-open body::before { content: ""; position: fixed; inset: 0; z-index: 49; background: rgb(42 36 34 / .22); }
/* ---------- hero ---------- */
.hero { padding: clamp(26px, 3.4vw, 52px) 0 var(--sec); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.58fr) minmax(0, 1fr); align-items: start; }
.flyer-hero { z-index: 2; margin-top: 12px; }
.flyer-body { padding: clamp(30px, 3.4vw, 50px) clamp(24px, 4.4vw, 64px) 0; }
.flyer-hero h1 { font-size: clamp(2.6rem, 1.1rem + 3.75vw, 4.75rem); line-height: 1.02; letter-spacing: -.02em; max-width: 12.5em; }
/* measure in em, not ch: ch follows the loaded font's "0" (11px in the fallback, 13px in Figtree), so a ch measure rewrapped
   the hero lede and moved the tabs when Figtree arrived. 22.5em is Figtree's 36ch exactly (its "0" is .625em). */
.lede { font-size: clamp(1.1rem, 1rem + .4vw, 1.3rem); line-height: 1.5; color: var(--ink); max-width: 22.5em; margin: 20px 0 26px; }
.stamp-hero { margin-top: 22px; }
.hero-proof { margin: 18px 0 0; font-size: .95rem; font-weight: 600; color: var(--ink-2); }
.hero-proof a { display: inline-block; padding-block: 12px; margin-block: -12px; font-weight: 800; color: var(--rose-ink); }
.letter-proof { margin: -4px 0 1em; }
.hero-prints { position: relative; z-index: 3; margin-left: -4.5vw; padding-top: 30px; }
.print-kalia { width: 80%; margin-left: auto; }
.hand-hi { position: absolute; left: -8%; bottom: -30px; font-size: clamp(1.5rem, 1.1rem + 1vw, 2.1rem); rotate: -6deg; padding: 4px 14px; background: var(--cream); box-shadow: var(--shadow-print); }
.print-water { position: absolute; width: 58%; left: -6%; top: 66%; z-index: -1; }
/* tear-off tabs */
.tabs { display: grid; grid-template-columns: repeat(8, minmax(0, 1fr)); margin-top: clamp(30px, 3vw, 44px); border-top: 2px dashed rgb(42 36 34 / .3); }
.tab {
  position: relative; display: flex; align-items: center; justify-content: center;
  height: 132px; padding: 12px 0;
  text-decoration: none; color: var(--ink); background-color: var(--stock, var(--cream));
  border-left: 1px dashed rgb(42 36 34 / .28);
  transform-origin: 50% 0;
  transition: background-color 200ms ease;
}
.tab:first-child { border-left: 0; }
.tab:focus-visible { outline-offset: -5px; z-index: 2; }
.tab-in { display: flex; flex-direction: column; align-items: center; gap: 5px; writing-mode: vertical-rl; rotate: 180deg; white-space: nowrap; }
.tab-t { font: 800 .875rem/1 var(--body); color: var(--rose); letter-spacing: .02em; }
.tab-n { font: 600 .875rem/1 var(--body); letter-spacing: .03em; font-variant-numeric: tabular-nums; }
@media (hover: hover) and (pointer: fine) {
  .tab:hover { background-color: rgb(184 16 24 / .06); }
}
.tab.torn { animation: tear 620ms var(--ease-out) forwards; pointer-events: none; }
.tab.torn::after { content: ""; }
@keyframes tear {
  0% { transform: none; opacity: 1; }
  22% { transform: translateY(3px) rotate(-5deg); opacity: 1; }
  100% { transform: translateY(70px) rotate(16deg); opacity: 0; }
}
.tabs-wide { grid-template-columns: repeat(10, minmax(0, 1fr)); }
/* computers: the call link and the reply line stack beside the Text button, one tidy unit */
@media (min-width: 981px) {
  .flyer-hero .cta-row { display: grid; grid-template-columns: auto minmax(0, 1fr); column-gap: 24px; row-gap: 0; align-items: center; }
  .flyer-hero .btn-lg { grid-row: 1 / span 2; }
  /* 12px over the text keeps a 44px tap target; the -4px margin keeps the row exactly as measured */
  .flyer-hero .cta-row .call-link { justify-self: start; align-self: end; padding: 12px 0 2px; margin-top: -4px; }
  .flyer-hero .reply-note { align-self: start; padding-right: 16px; text-wrap: pretty; }
}
/* laptop-height screens: the flyer's tear-off row ends inside the first screen (measured at 1280x800 and 1440x900) */
@media (min-width: 981px) and (min-height: 761px) and (max-height: 960px) {
  .hero { padding-top: 14px; }
  .flyer-hero .flyer-body { padding-top: 34px; }
  .hero-proof { margin-top: 14px; }
  .stamp-hero { margin-top: 14px; }
  .flyer-hero .tabs { margin-top: 18px; }
}
/* ---------- start here ---------- */
.start { padding-bottom: var(--sec); }
.start-grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(28px, 5vw, 80px); align-items: start; }
.start-intro p { font-size: 1.12rem; max-width: 30ch; margin-top: 18px; }
/* computers: the heading and the 1-2-3 steps stay beside the chooser while it grows; an em width, so the large-text header fold is left alone */
@media (min-width: 61.3em) and (min-height: 600px) { .start-intro { position: sticky; top: 92px; } }
.hand-start { font-size: 1.6rem; rotate: -4deg; display: inline-block; margin-top: 4px; }
.sheet-chooser { --stock: var(--cream); padding: clamp(30px, 3.6vw, 48px); }
@media (min-width: 1000px) { .sheet-chooser { width: 100%; max-width: 600px; justify-self: center; } /* the five answers fill their two rows */ }
.chooser { display: grid; gap: 24px; }
.q { border: 0; margin: 0; padding: 0; min-width: 0; }
.q legend { font: 400 1.45rem/1.2 var(--display); color: var(--ink); margin-bottom: 14px; padding: 0; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip { position: relative; cursor: pointer; }
.chip input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.chip span {
  display: inline-flex; align-items: center; gap: 8px; min-height: 50px; padding: 12px 20px;
  font-weight: 600; font-size: 1.05rem; color: var(--ink);
  background: #fffdf8; border-radius: 4px; box-shadow: inset 0 0 0 1.5px rgb(142 12 19 / .6), 0 1px 2px rgb(60 30 25 / .08);
  transition: box-shadow 180ms ease, background-color 180ms ease, color 180ms ease, transform 160ms var(--ease-out);
}
/* a radio ring before each answer: empty rose ring, then a cream dot on rose once chosen */
.chip span::before { content: ""; flex: none; width: 16px; height: 16px; border-radius: 50%; box-shadow: inset 0 0 0 2px var(--rose-ink); }
.chip input:checked + span::before { box-shadow: inset 0 0 0 2px currentColor; background: radial-gradient(circle, currentColor 0 3.5px, transparent 4px); }
@media (hover: hover) and (pointer: fine) { .chip:hover span { box-shadow: inset 0 0 0 1.5px var(--rose); } }
.chip input:active + span { transform: scale(.97); }
.chip input:checked + span { background: var(--rose); color: var(--cream); box-shadow: none; }
.chip input:focus-visible + span { outline: 3px solid var(--rose); outline-offset: 3px; }
.q[hidden], .compose[hidden], .private-note[hidden], .restart[hidden] { display: none; }
.q.arrive, .compose.arrive, .private-note.arrive { animation: arrive 260ms var(--ease-out) both; }
@keyframes arrive { from { opacity: 0; transform: translateY(8px); } }
@keyframes arrive-fade { from { opacity: 0; } }
.private-note { display: flex; gap: 10px; align-items: center; margin: 0; padding: 12px 16px; background: rgb(176 192 200 / .45); border-radius: 4px; font-weight: 600; color: var(--water-ink); }
.field-label { display: block; font-weight: 700; margin-bottom: 8px; }
.optional { font-weight: 500; color: var(--ink-2); font-size: .9rem; margin-left: 6px; }
.field { width: 100%; min-height: 50px; padding: 12px 14px; font: 500 1.02rem var(--body); color: var(--ink); background: #fff; border: 0; border-radius: 4px; box-shadow: inset 0 0 0 1.5px rgb(42 36 34 / .55); }
.field::placeholder { color: #7a6f69; }
.field:focus { outline: 2px solid transparent; box-shadow: inset 0 0 0 2px var(--rose); }
.text-note { margin: 18px 0 20px; padding: 16px 18px 14px; background: var(--shell); border-radius: 18px 18px 18px 4px; box-shadow: 0 1px 2px rgb(60 30 25 / .08); max-width: 46ch; }
.text-to { margin: 0 0 6px; font-size: .875rem; font-weight: 700; color: var(--ink-2); }
.text-to span { font-weight: 500; }
.text-body { margin: 0; font-size: 1.08rem; line-height: 1.45; }
.compose-privacy { margin: 12px 0 0; }
.compose .private-note { margin: 0 0 18px; }
.compose-care { margin: -4px 0 16px; }
.compose-care a { white-space: nowrap; }
.restart { justify-self: start; background: none; border: 0; padding: 4px 0; font: 600 .95rem var(--body); color: var(--ink-2); text-decoration: underline; text-underline-offset: .2em; cursor: pointer; }
@media (hover: hover) and (pointer: fine) { .restart:hover { color: var(--rose); } }
.restart:active { opacity: .72; }
/* ---------- care board ---------- */
.board { padding-bottom: var(--sec); }
.board-head { margin-bottom: clamp(36px, 4.4vw, 60px); }
.board-head > h2, .board-head > p { max-width: 40rem; }
.board-head p { font-size: 1.12rem; margin-top: 16px; }
.door-index { display: flex; flex-wrap: wrap; gap: 8px 10px; margin-top: 20px; }
/* each chip is a slip of its door's paper stock */
.door-index a { display: inline-flex; align-items: center; min-height: 44px; padding: 8px 14px; background: var(--stock, var(--cream)); color: var(--rose-ink); font: 700 .95rem/1.2 var(--body); text-decoration: none; border-radius: 4px; box-shadow: 0 1px 2px rgb(60 30 25 / .16), 0 4px 8px -6px rgb(60 30 25 / .3); }
@media (hover: hover) and (pointer: fine) { .door-index a:hover { box-shadow: inset 0 0 0 1.5px var(--rose), 0 1px 2px rgb(60 30 25 / .16); } }
.sheets { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: clamp(26px, 2.6vw, 40px); align-items: start; }
.door { display: flex; flex-direction: column; color: var(--ink); text-decoration: none; }
.door-body { display: flex; flex-direction: column; align-items: flex-start; gap: 0; padding: 26px clamp(22px, 2.4vw, 32px) 28px; }
.door-body h3, .door-body .h3 { font-family: var(--display); color: var(--rose); font-size: clamp(1.5rem, 1.2rem + .8vw, 1.95rem); line-height: 1.1; margin-bottom: 12px; display: block; text-wrap: balance; overflow-wrap: break-word; max-width: 100%; }
.door-body p, .door-body .p { margin: 0 0 16px; }
.door .stamp { margin: 6px 0 20px; }
.door-photo { margin: 0; padding: 12px 12px 0; }
.door-photo img { width: 100%; }
.door-art { margin: 0; padding: 22px 22px 0; }
.door-art img { width: min(100%, 240px); margin-inline: auto; mix-blend-mode: multiply; }
.door-art-sm img { width: min(100%, 190px); }
.door-cta { display: inline-flex; align-items: center; gap: 8px; margin-top: auto; font-weight: 800; color: var(--rose-ink); text-decoration: none; padding: 6px 0; background: linear-gradient(currentColor 0 0) 0 100% / 100% 1.5px no-repeat; }
.door-cta .i { transition: transform 220ms var(--ease-out); }
@media (hover: hover) and (pointer: fine) {
  .door-cta:hover { color: var(--rose); }
  .door-cta:hover .i, .door-water:has(.door-stretch:hover) .door-cta .i { transform: translateX(4px); }
}
.ticks { display: grid; gap: 8px; margin: 2px 0 18px; }
.ticks li { position: relative; padding-left: 26px; }
.ticks li::before { content: ""; position: absolute; left: 2px; top: .62em; width: 12px; height: 7px; border-left: 2px solid var(--rose); border-bottom: 2px solid var(--rose); rotate: -45deg; translate: 0 -50%; }
.price { font-family: var(--display); font-size: 1.35rem; color: var(--ink); font-variant-numeric: lining-nums; }
.price .unit { font-family: var(--body); font-size: .875rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-2); margin-right: 6px; }
.price .pair { display: inline-block; white-space: nowrap; }
.price .price-note { display: block; margin-top: 2px; font: 600 1rem/1.4 var(--body); color: var(--ink); }   /* coverage words under the figure, in the reading face */
.price .price-note .nowrap { display: inline-block; white-space: normal; }   /* each phrase drops to its own line whole; only wider than the sheet (large text) does it wrap inside */
/* two prices side by side; a gap instead of a margin, so a wrapped second price starts flush left */
.price:has(.pair) { display: flex; flex-wrap: wrap; align-items: baseline; column-gap: 16px; }
.where { display: flex; align-items: center; gap: 8px; font-weight: 600; font-size: .95rem; }
.fine { font-size: .92rem; color: var(--ink-2); line-height: 1.5; }
.door .fine a[href^="tel:"] { white-space: nowrap; }   /* a hotline number never splits */
.door-birth { grid-column: 1 / 8; grid-row: 1 / 3; }
.door-birth .door-body { padding-top: 30px; }
.door-postpartum { grid-column: 8 / 13; grid-row: 1; }
.door-loss { grid-column: 8 / 13; grid-row: 2; }
.door-massage { grid-column: 1 / 5; grid-row: 3; }
.door-coaching { grid-column: 5 / 9; grid-row: 3; margin-top: 24px; }
.door-water { grid-column: 9 / 13; grid-row: 3; margin-top: -8px; }
.door-postpartum .door-cta { color: var(--ink); }
.door-postpartum .door-art img { mix-blend-mode: multiply; filter: brightness(1.12); }   /* lifts the drawing's #FFE4F7 paper to white so multiply leaves only the petal stock */
.door-postpartum .fine, .door-postpartum .price .unit, .door-water .price .unit { color: var(--ink); }
.door-postpartum .fine a { color: var(--rose-ink); }
.door-loss .door-photo-soft img { aspect-ratio: 16 / 7; object-fit: cover; object-position: 50% 60%; }
.door-water { --stock: var(--mist); transition: rotate 300ms var(--ease-out); }
.door-water::before { content: ""; position: absolute; inset: 0; border-radius: inherit; box-shadow: 0 1px 1px rgb(92 40 30 / .08), 0 16px 30px -12px rgb(92 40 30 / .38), 0 36px 60px -30px rgb(92 40 30 / .3); opacity: 0; transition: opacity 200ms ease; pointer-events: none; }
.door-water .door-cta, .door-water .stamp-rose { color: var(--rose-ink); }
.door-stretch::after { content: ""; position: absolute; inset: 0; z-index: 1; }
@media (hover: hover) and (pointer: fine) {
  .door-water:has(.door-stretch:hover) { rotate: 0deg; }
  .door-water:has(.door-stretch:hover)::before { opacity: 1; }
}
/* ---------- coverage ---------- */
.coverage { padding: 32px 0 var(--sec); margin-top: -32px; }
.coverage-grid { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); gap: clamp(26px, 3.2vw, 48px); align-items: start; }
.sheet-benefits { padding: clamp(34px, 4vw, 56px) clamp(24px, 3.6vw, 52px); }
.sheet-lede { font-size: 1.1rem; max-width: 50ch; margin: 18px 0 30px; }
.inventory { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 0; border-top: 2px solid var(--ink); }
.inventory li { display: flex; flex-direction: column; gap: 8px; padding: 18px 14px 6px 0; }
.inventory li + li { padding-left: 14px; border-left: 1px dashed rgb(42 36 34 / .3); }
.count { font: 400 clamp(3rem, 2rem + 2.6vw, 4.6rem)/.9 var(--display); color: var(--rose); letter-spacing: -.03em; font-variant-numeric: lining-nums; }
.count-sm { font-size: clamp(1.5rem, 1.2rem + .9vw, 2rem); line-height: 1.05; padding-top: .5em; }
.what { font-size: .95rem; line-height: 1.4; font-weight: 600; text-wrap: pretty; }
.only-doula { position: relative; margin: 34px 0 18px; padding: 22px 38px 24px; width: fit-content; max-width: 100%; }
.scribble { position: absolute; left: -8px; top: -10px; width: calc(100% + 16px); height: calc(100% + 20px); overflow: visible; }
.scribble path { fill: none; stroke: var(--rose); stroke-width: 2.6; stroke-linecap: round; vector-effect: non-scaling-stroke; }
.hand-only { margin: 0; font-size: clamp(1.3rem, 1.1rem + .6vw, 1.65rem); rotate: -1.5deg; text-wrap: balance; text-align: center; }
.sheet-foot { margin: 0; font-weight: 600; }
.sheet-prices { padding: clamp(34px, 3.6vw, 48px) clamp(24px, 3vw, 40px) 30px; margin-top: 46px; }
@media (min-width: 981px) { .sheet-prices { position: sticky; top: 96px; } }
.sheet-prices > p { margin-top: 10px; }
.menu-list { margin: 22px 0 18px; display: grid; gap: 12px; }
.menu-list div { display: flex; align-items: baseline; gap: 10px; }
.menu-list dt { font-weight: 600; }
.menu-list .dur { white-space: nowrap; }   /* a wrapped name keeps its unit */
.menu-list dt::after { content: ""; }
.menu-list div::after { content: none; }
.menu-list dd { margin: 0; font: 400 1.2rem/1 var(--display); font-variant-numeric: lining-nums tabular-nums; color: var(--rose-ink); white-space: nowrap; order: 3; }
.menu-list div { position: relative; }
.menu-list div dt + dd { margin-left: auto; }
.menu-list div::before { content: ""; order: 2; flex: 1; border-bottom: 2px dotted rgb(42 36 34 / .35); translate: 0 -4px; min-width: 16px; }
/* ---------- water ---------- */
.water {
  position: relative; isolation: isolate; color: var(--water-ink);
  padding: calc(var(--sec) + 40px) 0 var(--sec);
  background: linear-gradient(180deg, #CBD7DD 0%, var(--mist) 38%, #A3B6BF 100%);
}
.water h2, .water h3 { color: var(--water-ink); }
.water-head { max-width: 46rem; }
.print-water-head { display: none; }
@media (min-width: 1000px) {
  /* desktop: the Fortuna pool print fills the head's right side; the gallery drops its copy */
  .water-head { max-width: none; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); grid-template-rows: 1fr auto auto auto 1fr; column-gap: clamp(30px, 4.4vw, 72px); align-items: center; }
  .water-head > :not(.print-water-head) { grid-column: 1; }
  .water-head > h2 { grid-row: 2; }
  .water-head > .lede { grid-row: 3; }
  .water-head > .spec { grid-row: 4; }
  .water-head > .alo-mark { justify-self: start; align-self: end; }
  .print-water-head { display: block; grid-column: 2; grid-row: 1 / -1; justify-self: center; width: min(100%, 340px); }
  .prints .slide-dup { display: none; }   /* .prints: outranks the later .slide display rule */
}
.water .lede { color: var(--water-ink); max-width: 25em; }   /* Figtree's 40ch */
.water-grid { display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(0, 1fr); gap: clamp(30px, 4.4vw, 72px); align-items: center; margin-top: clamp(30px, 4vw, 54px); }
.annotated { margin: 0; position: relative; rotate: var(--r); }
.annotated-img { position: relative; background: #fffdf8; padding: 12px; box-shadow: var(--shadow-print); }
.annotated-img img { width: 100%; }
.leaders { position: absolute; inset: 12px; width: calc(100% - 24px); height: calc(100% - 24px); overflow: visible; pointer-events: none; }
.leaders path { fill: none; stroke: #fffdf8; stroke-width: .5; stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: 0; vector-effect: none; filter: drop-shadow(0 1px 1px rgb(0 0 0 / .35)); }
.leaders circle { fill: #fffdf8; }
.notes { position: absolute; inset: 0; pointer-events: none; }
.note { position: absolute; font: 700 clamp(1rem, .85rem + .4vw, 1.2rem)/1.15 var(--hand); color: var(--rose-ink); background: var(--cream); padding: 5px 11px 3px; box-shadow: var(--shadow-print); white-space: nowrap; }
.note-1 { right: -3%; top: -16px; rotate: 3deg; }
.note-2 { left: -4%; top: 14%; rotate: -4deg; }
.note-3 { left: 4%; bottom: 20%; rotate: -2deg; }
.note-4 { right: -4%; bottom: -14px; rotate: 2.5deg; }
.flow { display: grid; gap: 18px; margin-top: 20px; counter-reset: flow; }
.flow li { position: relative; padding-left: 52px; counter-increment: flow; }
.flow li::before { content: counter(flow); position: absolute; left: 0; top: -2px; width: 36px; height: 36px; display: grid; place-items: center; border-radius: 50%; border: 1.5px solid var(--water-ink); font: 400 1.1rem/1 var(--display); font-variant-numeric: lining-nums; }
.flow strong { display: block; font-weight: 800; margin-bottom: 2px; }
.depths { margin-top: clamp(56px, 7vw, 96px); rotate: 0deg; }
.hand-depth { font-size: clamp(1.25rem, 1.05rem + .6vw, 1.6rem); color: var(--rose-ink); margin: 20px 0 0; rotate: -1deg; }
/* computers: the reassurance note stands beside the depths sheet as a margin note */
@media (min-width: 1101px) {
  .depths { display: grid; grid-template-columns: minmax(0, 900px) minmax(200px, 1fr); column-gap: 40px; align-items: center; }
  .hand-depth { margin: 0; max-width: 16ch; rotate: -4deg; text-wrap: balance; }
}
.water-fit { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(26px, 4vw, 64px); margin-top: clamp(52px, 6vw, 84px); }
.fit-col h3 { margin-bottom: 16px; }
.ticks-water li::before { border-color: var(--water-ink); }
.ticks-not li::before { content: ""; width: 11px; height: 11px; border: 0; rotate: 0deg; top: .62em; background: linear-gradient(45deg, transparent 42%, var(--rose-ink) 42% 58%, transparent 58%), linear-gradient(-45deg, transparent 42%, var(--rose-ink) 42% 58%, transparent 58%); }
.water-book { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 22px 40px; margin-top: clamp(52px, 6vw, 84px); padding: clamp(28px, 3.4vw, 44px); color: var(--ink); }
.water-book-main { max-width: 36rem; }
.water-book-main p:last-child { margin: 0; }
.water-price { font-weight: 600; margin-bottom: 8px; line-height: 1.35; text-wrap: balance; }
.water-price .big { display: block; font: 400 3.2rem/1 var(--display); font-variant-numeric: lining-nums; color: var(--rose); margin: 0 0 8px; }
.water-book-cta { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; }
@media (min-width: 981px) {
  /* computers: the button, call link and stamp stand in a column beside the price instead of wrapping under it */
  .water-book { flex-wrap: nowrap; max-width: 900px; margin-left: auto; }
  .water-book-cta { flex: none; flex-direction: column; align-items: center; gap: 4px; }
  .water-book-cta .stamp { margin-top: 10px; }
}
/* ---------- about ---------- */
.about-grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(30px, 5vw, 80px); align-items: center; }
.print-about { max-width: 420px; justify-self: end; }
.letter { padding: clamp(34px, 4vw, 58px) clamp(26px, 4vw, 58px); }
.letter h2 { margin-bottom: 22px; }
.letter p { max-width: 47ch; }
.sig { font: 700 2.2rem/1 var(--hand); color: var(--rose); margin: 26px 0 0; rotate: -4deg; width: fit-content; }
/* ---------- training ---------- */
.training { padding: 32px 0 var(--sec); margin-top: -32px; }
.index-card {
  --stock: #fffdf6; padding: clamp(32px, 3.8vw, 52px) clamp(24px, 3.8vw, 56px);
  background-image: linear-gradient(transparent 0 62px, rgb(184 16 24 / .35) 62px 63.5px, transparent 63.5px), repeating-linear-gradient(transparent 0 33px, rgb(126 141 121 / .28) 33px 34px), url('images/paper.webp');
  background-size: 100% 100%, 100% 34px, 520px;
  background-position: 0 0, 0 30px, 0 0;
}
.index-card h2 { font-size: clamp(1.8rem, 1.3rem + 1.6vw, 2.6rem); margin-bottom: 26px; }
.cred-list { columns: 2 22rem; column-gap: 48px; }
.cred-list li { break-inside: avoid; padding: 9px 0; display: block; }
.cred { font-weight: 700; }
.cred abbr { text-decoration: none; }   /* the ruled card stays clean; the title gives the full name */
.since { font-family: var(--hand); font-weight: 700; color: var(--rose-ink); font-size: 1.05rem; line-height: 1.2; }
.modalities { margin: 22px 0 0; color: var(--ink-2); }
.lineage { max-width: 62ch; margin: 30px auto 0; text-align: center; color: var(--ink-2); font-size: .98rem; text-wrap: balance; }
/* ---------- prints gallery ---------- */
.prints { padding-bottom: var(--sec); }
.prints-head { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin-bottom: 26px; }
.prints-ctrl { display: flex; gap: 10px; }
.round { width: 48px; height: 48px; border-radius: 50%; border: 0; display: grid; place-items: center; background: var(--cream); color: var(--rose); box-shadow: var(--shadow-print); cursor: pointer; transition: transform 160ms var(--ease-out), background-color 200ms ease; }
@media (hover: hover) and (pointer: fine) { .round:hover { background: #fff; } }
.round:active { transform: scale(.94); }
.round .i { width: 20px; height: 20px; }
.track {
  display: flex; gap: clamp(22px, 2.6vw, 40px); overflow-x: auto; overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory; scroll-padding-inline: max(var(--gutter), (100% - var(--wrap)) / 2);
  padding: 24px max(var(--gutter), (100% - var(--wrap)) / 2) 40px;
  scrollbar-width: none;
}
.track::-webkit-scrollbar { display: none; }
.track:focus-visible { outline-offset: -4px; }
.slide { flex: none; margin: 0; scroll-snap-align: start; background: #fffdf8; padding: 10px 10px 0; box-shadow: var(--shadow-print); rotate: var(--r); height: clamp(260px, 30vw, 420px); display: flex; flex-direction: column; }
.slide img { height: calc(100% - 38px); width: auto; max-width: none; object-fit: cover; }
.slide figcaption { font: 700 1.05rem/38px var(--hand); color: var(--rose-ink); padding-left: 4px; }
@media (min-width: 981px) { .prints .slide-hero { display: none; } }   /* the hero print shows this frame on computers */
@media (min-width: 601px) { .prints .slide-light { display: none; } }   /* tablets and computers show this portrait pinned under coaching */
/* ---------- area ---------- */
.area { padding-bottom: var(--sec); }
.area-foot { margin: 32px 0 0; font-size: 1.1rem; font-weight: 600; }
/* ---------- questions ---------- */
.questions { padding-bottom: var(--sec); }
.lined {
  --stock: #fffdf6; max-width: 900px; margin-inline: auto; padding: clamp(32px, 4vw, 56px) clamp(22px, 4vw, 60px) clamp(22px, 3vw, 40px);
}
.lined h2 { margin-bottom: 20px; }
details { border-top: 1px dashed rgb(42 36 34 / .28); }
details:last-of-type { border-bottom: 1px dashed rgb(42 36 34 / .28); }
summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 20px 2px; font: 400 clamp(1.18rem, 1.05rem + .45vw, 1.42rem)/1.25 var(--display); color: var(--ink); text-wrap: balance; }
summary::-webkit-details-marker { display: none; }
summary::after { content: ""; flex: none; width: 26px; height: 26px; border-radius: 50%; box-shadow: inset 0 0 0 1.5px var(--rose); background: linear-gradient(var(--rose) 0 0) 50% 50% / 11px 2px no-repeat, linear-gradient(var(--rose) 0 0) 50% 50% / 2px 11px no-repeat; transition: rotate 260ms var(--ease-out), background-size 260ms var(--ease-out); }
details[open] summary::after { rotate: 180deg; background-size: 11px 2px, 2px 0; }
@media (hover: hover) and (pointer: fine) { summary:hover { color: var(--rose); } }
.ans { padding: 0 2px 22px; max-width: 46ch; }
.ans p { margin: 0; }
details[open] .ans { animation: arrive 220ms var(--ease-out); }   /* the answer rises 8px and fades in: transform and opacity only */
/* ---------- closer ---------- */
.closer { padding: 32px 0 var(--sec); margin-top: -32px; }
.flyer-close { overflow: hidden; }
.close-grid { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 40px; align-items: end; padding: clamp(40px, 5vw, 72px) clamp(24px, 5vw, 72px) 0; }
.close-first { font: 700 clamp(1.5rem, 1.2rem + .9vw, 2rem)/1.2 var(--hand); color: var(--ink); margin: 10px 0 8px; rotate: -1.5deg; width: fit-content; }
.phone-specimen { display: block; width: fit-content; font: 400 clamp(3.2rem, 1.6rem + 4.6vw, 7rem)/.9 var(--display); letter-spacing: -.035em; color: var(--rose); text-decoration: none; margin: 18px 0 26px; font-variant-numeric: lining-nums; max-width: 100%; overflow-wrap: anywhere; }
@media (hover: hover) and (pointer: fine) { .phone-specimen:hover { color: var(--rose-hot); } }
.close-sub { font-size: 1.12rem; max-width: 44ch; margin-bottom: 24px; }
.close-qr { width: 200px; text-align: center; font-size: .9rem; color: var(--ink-2); padding-bottom: 8px; }
.close-qr img { width: 164px; margin: 0 auto 12px; background: #fff; padding: 12px; box-shadow: var(--shadow-print); rotate: 2deg; box-sizing: content-box; }
.flyer-close .tabs { margin-top: 44px; }
/* ---------- footer ---------- */
.foot { background: var(--cream) url('images/paper.webp'); background-size: 640px; padding: 64px 0 calc(56px + env(safe-area-inset-bottom)); border-top: 1px solid rgb(142 12 19 / .12); }
.foot-grid { display: grid; grid-template-columns: 280px minmax(0, 1fr); gap: 48px; align-items: center; }
.foot-mark { width: 260px; }
.foot-name { font: 400 1.6rem/1.1 var(--display); color: var(--rose); margin-bottom: 10px; }
.foot-text p { max-width: 60ch; }
.foot-text .nowrap { display: inline-block; white-space: normal; }
.foot-fine { font-size: .875rem; color: var(--ink-2); margin: 18px 0 0; }
/* ---------- mobile dock ---------- */
.dock { display: none; }
/* ---------- desktop popover ---------- */
.desk-pop { border: 0; padding: 28px 28px 24px; width: min(340px, 92vw); background: var(--cream) url('images/paper.webp'); background-size: 520px; box-shadow: 0 30px 80px -20px rgb(60 20 15 / .5); border-radius: 4px; text-align: center; color: var(--ink); max-height: calc(100dvh - 24px); overflow-y: auto; overscroll-behavior: contain; }
.desk-pop::backdrop { background: rgb(42 36 34 / .28); }
.desk-pop img { width: 150px; margin: 14px auto; background: #fff; padding: 10px; box-sizing: content-box; }
@media (min-height: 760px) { .desk-pop img.qr-msg { width: 210px; } }
.desk-pop .btn { scroll-margin-block: 10px; }   /* scrolled into view inside the panel, the 6px focus ring is not clipped at its edge */
/* short or zoomed screens: a tighter panel, still scrolling inside */
@media (max-height: 560px) {
  .desk-pop { padding: 16px 20px 14px; }
  .desk-pop img { width: 112px; margin: 8px auto; }
  .desk-pop .desk-x { top: 6px; right: 6px; }
}
.desk-h { font: 400 1.5rem/1.15 var(--display); color: var(--rose); margin: 0; }
.desk-n { font: 800 1.35rem/1 var(--body); margin: 0 0 8px; font-variant-numeric: tabular-nums; }
.desk-s { font-size: .92rem; color: var(--ink-2); margin-bottom: 18px; }
.desk-pop .btn { width: 100%; }
#desk-sms { margin-bottom: 10px; }
#desk-sms[hidden] { display: none; }   /* .btn's display would otherwise beat the hidden attribute */
.desk-x { position: absolute; top: 10px; right: 10px; width: 40px; height: 40px; border: 0; background: none; color: var(--ink-2); cursor: pointer; display: grid; place-items: center; border-radius: 50%; transition: transform 160ms var(--ease-out); }
.desk-x:focus-visible { outline-offset: -4px; }   /* the ring draws inside the round button, so the dialog's edge never clips it */
@media (hover: hover) and (pointer: fine) { .desk-x:hover { color: var(--rose); background: rgb(184 16 24 / .07); } }
.desk-x:active { transform: scale(.94); }
.desk-pop[popover]:popover-open { animation: pop 240ms var(--ease-out); }
@keyframes pop { from { opacity: 0; transform: translateY(8px) scale(.97); } }
/* ---------- rendering: below-fold sections skip layout and paint until they near the viewport ----------
   overflow-clip-margin lets tape, pins and turned corners that cross a section's top edge still paint (Chromium).
   The 32px top padding with a matching negative margin on .coverage, .about, .training and .closer does the
   same where overflow-clip-margin is not supported (Safari). */
main > section:not(.hero):not(.start), .board-pair > section, .end-pair > section, .foot { content-visibility: auto; contain-intrinsic-size: auto 1100px; overflow-clip-margin: 48px; }
/* first paint lays out only the hero and the chooser: on tall phones and computers Chromium would otherwise render the
   care board inside its content-visibility margin before first paint. index.html adds .boot on a fresh visit without a
   #hash and removes it one frame after first paint. */
.boot main > section:not(.hero):not(.start), .boot .board-pair > section, .boot .end-pair > section, .boot .foot { content-visibility: hidden; }
/* an in-page jump renders every section first (site.js adds .jumping), so a smooth scroll aims at the real position */
.jumping main > section:not(.hero):not(.start), .jumping .board-pair > section, .jumping .end-pair > section, .jumping .foot { content-visibility: visible; }
/* after load each skipped section is rendered once (site.js adds .cv-on in idle time): Chromium leaves never-rendered
   content-visibility:auto sections out of the accessibility tree, so heading and link lists would stop at the chooser */
main > section:not(.hero):not(.start).cv-on, .board-pair > section.cv-on, .end-pair > section.cv-on, .foot.cv-on { content-visibility: visible; }
/* a page opened on #section (a shared link, a redirect such as alomanaiat.com -> /#water): render every section so the browser's first jump lands on real heights */
html:has(:target) main > section:not(.hero):not(.start), html:has(:target) .board-pair > section, html:has(:target) .end-pair > section, html:has(:target) .foot { content-visibility: visible; }
/* a jump target that took focus for the keyboard draws no ring around the whole section */
[data-jump]:focus { outline: none; }
/* ---------- arrival motion (only when JS confirms motion is welcome) ---------- */
.m .settle:not(.in):not(:focus-within) { opacity: 0; translate: 0 10px; rotate: calc(var(--r, 0deg) + 1.2deg); }
.m .settle { transition: opacity 400ms var(--ease-out), translate 560ms var(--ease-out), rotate 700ms var(--ease-out); transition-delay: var(--d, 0ms); }
/* computers: the second of a side-by-side pair lands 70ms later, so the pair reads as placed by hand.
   The AloMana door is left out: its hover turn runs on this same transition and must not lag. */
@media (min-width: 981px) { .sheet-chooser, .door-postpartum, .sheet-prices, .letter, .lined { --d: 70ms; } }
/* keyboard focus that reaches a sheet before it has settled shows it at once */
.m .settle:focus-within { transition: none; }
/* the hero's one arrival: Kalia's print turns into place from first paint (transform only, never hidden) */
@media (prefers-reduced-motion: no-preference) {
  .hero .print-kalia { animation: hero-print 700ms var(--ease-out) 150ms both; }
}
@keyframes hero-print { from { translate: 0 10px; rotate: calc(var(--r, 0deg) + 2.4deg); } }
.m .scribble path { stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 900ms var(--ease-out) 200ms; }
.m .in .scribble path, .m .in.scribble path { stroke-dashoffset: 0; }
.m .leaders path { stroke-dashoffset: 1; transition: stroke-dashoffset 900ms var(--ease-out); }
.m .annotated.in .leaders path { stroke-dashoffset: 0; }
.m .annotated.in .leaders path:nth-child(2) { transition-delay: 80ms; }
.m .annotated.in .leaders path:nth-child(3) { transition-delay: 160ms; }
.m .annotated.in .leaders path:nth-child(4) { transition-delay: 240ms; }
.m .annotated .note { opacity: 0; transition: opacity 500ms ease; }
.m .annotated.in .note { opacity: 1; }
.m .annotated.in .note-1 { transition-delay: 400ms; }
.m .annotated.in .note-2 { transition-delay: 480ms; }
.m .annotated.in .note-3 { transition-delay: 560ms; }
.m .annotated.in .note-4 { transition-delay: 640ms; }
/* ---------- responsive ---------- */
@media (max-width: 1100px) {
  .nav { gap: 18px; }
  .door-birth { grid-column: 1 / 13; grid-row: auto; }
  .door-birth .tape { left: 25%; }
  .door-birth .door-photo { padding: 14px; }
  .door-postpartum, .door-loss { grid-column: span 6; grid-row: auto; }
  .door-massage, .door-coaching, .door-water { grid-column: span 4; grid-row: auto; margin-top: 0; }
  .inventory { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 10px; }
  .inventory li:nth-child(4) { border-left: 0; padding-left: 0; }
}
@media (max-width: 980px) {
  .nav, .top-phone { display: none; }
  .brand-legal { display: none; }
  .menu-btn { display: inline-flex; }
  .start-grid, .coverage-grid, .about-grid, .water-grid { grid-template-columns: minmax(0, 1fr); }
  .sheet-prices { margin-top: 0; }
  .print-about { justify-self: center; width: min(76%, 380px); }
  .foot-grid { grid-template-columns: 1fr; gap: 24px; text-align: center; justify-items: center; }
  .foot-text p { margin-inline: auto; }
  .close-grid { grid-template-columns: minmax(0, 1fr); }
  .close-qr { display: none; }
}
/* computers with a large browser text setting (20px and up at 981 to 1225px, 24px and up at 1280 to 1470px): the nav
   folds into the Menu button before the brand runs into it. em in a media query follows that setting, so at the default
   16px this range is empty and nothing changes. Without JavaScript the nav stays. */
@media (min-width: 981px) and (max-width: 61.25em) {
  .js .nav { display: none; }
  .menu-btn { display: inline-flex; }
}
@media (max-width: 760px) {
  body { font-size: 1.03rem; }
  .top-in { min-height: 60px; gap: 12px; }
  .brand img { width: 44px; }
  .brand-name { font-size: 1.2rem; line-height: 1.02; }
  .brand-name-2 { display: block; }
  .hero { padding-top: 14px; }
  .lede { margin: 16px 0 22px; }
  .tabs { grid-template-columns: repeat(5, minmax(0, 1fr)); }
  .tabs .tab:nth-child(n+6) { display: none; }
  .tabs-wide { grid-template-columns: repeat(5, minmax(0, 1fr)); }
  .tab { height: 112px; }
  .sheets { grid-template-columns: 1fr; gap: 30px; }
  .door-birth, .door-postpartum, .door-loss, .door-massage, .door-coaching, .door-water { grid-column: 1; }
  .door-birth { display: flex; }
  .inventory { grid-template-columns: 1fr; border-top-width: 2px; }
  .inventory li, .inventory li + li { flex-direction: row; align-items: center; gap: 12px; padding: 12px 0; border-left: 0; border-bottom: 1px dashed rgb(42 36 34 / .25); }
  .inventory li:last-child { border-bottom: 0; }
  .count { min-width: 2.1ch; font-size: 3rem; }
  .water { padding-top: calc(var(--sec) + 20px); }
  .note { font-size: .98rem; white-space: normal; max-width: 12em; }
  .note-1 { right: -6px; top: -18px; }
  .note-2 { left: -6px; top: 10%; }
  .note-3 { left: 2%; bottom: 14%; }
  .note-4 { right: -6px; bottom: -18px; }
  .leaders path { stroke-width: .8; }
  .water-book { flex-direction: column; align-items: flex-start; }
  .cred-list { columns: 1; }
  .prints-head { align-items: center; }
  .slide { height: 300px; }
  .phone-specimen { font-size: clamp(2.8rem, 1rem + 8.5vw, 3.9rem); }
}
/* ---------- mobile dock: phones upright (760px and below) and phones on their side (touch, 500px tall or less) ---------- */
@media (max-width: 760px), (pointer: coarse) and (max-height: 500px) {
  html { scroll-padding-bottom: calc(76px + env(safe-area-inset-bottom, 0px)); }
  .dock {
    display: grid; grid-template-columns: 1.4fr 1fr; gap: 0;
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
    padding: 0 0 env(safe-area-inset-bottom);
    background: var(--cream) url('images/paper.webp'); background-size: 520px;
    border-top: 2px dashed rgb(42 36 34 / .3);
    box-shadow: 0 -10px 24px -12px rgb(60 30 25 / .35);
    translate: 0 110%; transition: translate 160ms var(--ease-out);
  }
  .dock.show { translate: 0 0; transition: translate 240ms var(--ease-out); }
  .dock-tab { display: flex; align-items: center; justify-content: center; gap: 10px; min-height: 60px; font: 800 1.05rem/1 var(--body); text-decoration: none; }
  .dock-text { background: var(--rose); color: var(--cream); }
  .dock-tab:active { filter: brightness(.94); }
  @media (hover: hover) and (pointer: fine) { .dock-text:hover { color: var(--cream); background: var(--rose-hot); } }
  .dock-call { color: var(--rose-ink); border-left: 1px dashed rgb(42 36 34 / .3); }
  .dock-tab .i { width: 22px; height: 22px; }
  .dock-tab:focus-visible { outline-offset: -5px; }
  .dock-text:focus-visible { outline-color: var(--cream); }
  .foot { padding-bottom: calc(96px + env(safe-area-inset-bottom)); }
  /* the dock steps aside for the open menu and while the visitor types */
  html:has(.menu-btn[aria-expanded="true"]) .dock,
  html:has(.chooser .field:focus) .dock { translate: 0 110%; visibility: hidden; }
}
@media (max-width: 420px) {
  .chip span { padding: 10px 14px; }
}
@media (prefers-reduced-motion: reduce) {
  .tab.torn { animation: none; }
  .q.arrive, .compose.arrive, .private-note.arrive { animation: arrive-fade 200ms ease both; }
  .dock, .dock.show { transition: none; }
}
@media print {
  .grain, .dock, .top, .tabs, .desk-pop { display: none !important; }
  body { background: #fff; }
}
/* ---------- additions: how it works, water spec line, gallery pause ---------- */
.how { display: grid; gap: 10px; margin: 22px 0 18px; counter-reset: none; }
.how li { display: flex; align-items: center; gap: 12px; font-weight: 600; }
.how-n { flex: none; width: 30px; height: 30px; display: grid; place-items: center; border-radius: 50%; background: var(--cream); color: var(--rose); font: 400 1rem/1 var(--display); font-variant-numeric: lining-nums; box-shadow: 0 1px 2px rgb(60 30 25 / .15); }
/* every item carries its divider; the line is pulled left by gap + divider and clipped back, so a wrapped row never starts with a bar */
.spec { display: flex; flex-wrap: wrap; gap: 6px 14px; margin: 4px 0 0 -15.5px; clip-path: inset(-6px -6px -6px 15.5px); }
.spec span { font-weight: 700; font-size: .92rem; color: var(--water-ink); padding-left: 14px; border-left: 1.5px solid rgb(36 58 69 / .35); }
.asof { margin: 8px 0 0; font-size: .9rem; }
.round-play .i-play { display: none; }
.round-play[aria-pressed="true"] .i-play { display: block; }
.round-play[aria-pressed="true"] .i-pause { display: none; }
/* ---------- hero on phones and tablets (980px and below) ----------
   Phones: the headline runs the full width of the flyer (three lines from 320 to 430px), the lede under it, then the
   Text button with Kalia's print pinned beside it, crossing the flyer's right edge, "Hi, I'm Kalia." hanging off it.
   Tablets (a hero 600px and wider): the print sits beside the headline and lede. The print lives in the flyer
   (.print-kalia-flyer); the desktop print in .hero-prints is hidden here and its <picture> loads nothing below 981px.
   Large text (hero narrower than 16.5em) or no container units: one column, the print after the button.
   Numbers tied to assets: 1.2457 is the 700x872 portrait's ratio and 20px/22px its border; 8.7 is the headline's
   longest line on three lines in Young Serif em ("Wherever you're" 8.08em, measured 2026-10-01) plus a margin;
   7.7 is the longest on four lines. 5.2 is "Wherever" (5.05em, measured 2026-10-02) plus a margin: the rem floor lets the
   headline grow with large text, and the 5.2 cap keeps its longest word inside the column under page zoom.
   Re-measure if the headline copy or display font changes. */
.print-kalia-flyer { display: none; }
@media (max-width: 980px) {
  .hero-grid {
    grid-template-columns: 1fr;
    container: hero / inline-size;
    --pad: clamp(20px, 6vw, 48px);                      /* flyer side padding */
    --padt: 24px;                                       /* flyer top padding */
    --pw: clamp(112px, 30vw, 260px);                    /* portrait print width, border included */
    --over: 6px;                                        /* the print crosses the flyer's right edge by this much */
    --pt: 4px;                                          /* tablets: print top below the flyer's edge */
    --gap: 14px;
    --note: 22px;                                       /* how far the hand note hangs below the print */
  }
  .hero-prints { display: none; }
  .flyer-hero { grid-row: 1; grid-column: 1; }
  .flyer-hero .flyer-body {
    display: grid; grid-template-columns: minmax(0, 1fr); align-items: start;
    grid-template-areas: "head" "lede" "cta" "slot" "proof" "stamp";
    padding: var(--padt) var(--pad) 0;
  }
  .flyer-hero h1 { grid-area: head; max-width: none; text-wrap: balance; font-size: min(clamp(2.1rem, 1rem + 5.6vw, 3.4rem), 12vw); }
  .flyer-hero .lede { grid-area: lede; margin: 12px 0 18px; line-height: 1.45; }
  .flyer-hero .cta-row { grid-area: cta; row-gap: 10px; }
  .flyer-hero .cta-row .call-link { padding-top: 4px; min-height: 44px; }   /* 8px clear of Text Kalia; the visible text does not move; 4px top padding alone left the box at 43.8px */
  .flyer-hero .reply-note { margin-top: -12px; pointer-events: none; }   /* sits 18px under the call link's text; the call link keeps its full 44px tap box */
  .flyer-hero .btn-lg { padding-inline: 18px; }
  .flyer-hero .stamp-hero { grid-area: stamp; justify-self: start; }
  .hero-proof { grid-area: proof; margin-top: 16px; }
  .print-kalia-flyer { display: block; grid-area: slot; justify-self: end; width: var(--pw); margin: 12px calc(-1 * var(--over)) var(--note) 0; }
  /* stacked: the note sits on the paper to the left of the print */
  .hand-hi {
    left: auto; right: calc(100% + 14px); top: 34%; bottom: auto;
    width: max-content; max-width: min(6.5em, 40vw); padding: 0; background: none; box-shadow: none;
    font-size: 1.5rem; line-height: 1.1; text-align: right; rotate: -5deg;
  }
}
@media (max-width: 600px) {
  .flyer-hero .tape { width: 100px; height: 26px; top: -12px; }
  .flyer-hero .tape-l { left: 7%; }
}
@supports (width: 1cqi) {
  /* three lines at every phone width, sized from the full flyer column */
  @media (max-width: 980px) {
    .flyer-hero h1 { font-size: clamp(min(1.6rem, (100cqi - 2 * var(--pad)) / 5.2), (100cqi - 2 * var(--pad)) / 8.7, 2.7rem); }
  }
  /* two columns: the Text button beside the print */
  @container hero (min-width: 16.5em) {
    .hero-grid > * {
      --pad: clamp(20px, 6.8cqi, 48px);
      --pw: 34cqi;
      --gap: 12px;
      --col: calc(100cqi - var(--pad) - var(--pw) - var(--gap) + var(--over));   /* tablet headline column */
    }
    .flyer-hero .flyer-body {
      grid-template-columns: minmax(0, 1fr) calc(var(--pw) + var(--gap) - var(--over) - var(--pad));
      grid-template-areas: "head head" "lede lede" "cta slot" "proof slot" "stamp stamp";
      grid-template-rows: auto auto auto 1fr auto;
    }
    .hero-proof { margin-top: 22px; align-self: start; padding-right: 10px; font-size: .9rem; line-height: 1.45; }
    .flyer-hero .stamp-hero { margin-top: 16px; }
    .print-kalia-flyer { margin: -6px calc(-1 * (var(--pad) + var(--over))) var(--note) 0; }
    .hand-hi {
      right: 2px; top: auto; bottom: -18px; max-width: none; white-space: nowrap; text-align: left;
      padding: 3px 10px; background: var(--cream); box-shadow: var(--shadow-print);
      font-size: clamp(15px, 5.2cqi, 1.6rem); line-height: 1.2;
    }
  }
  /* larger phones (a hero 354 to 599px wide): the portrait grows into the paper beside the proof line (measured 2026-10-02) */
  @container hero (min-width: 21.5em) and (max-width: 599.98px) {
    .hero-grid > * { --pw: 37cqi; }
  }
  /* large phones on their side and tablets: the print beside the headline and lede, four lines */
  @container hero (min-width: 600px) and (min-width: 16.5em) {
    .flyer-hero .flyer-body {
      grid-template-areas: "head slot" "lede slot" "cta slot" "proof proof" "stamp stamp";
      grid-template-rows: auto auto 1fr auto auto;
    }
    .hero-proof { margin-top: 16px; padding-right: 0; font-size: .95rem; }
    .flyer-hero .stamp-hero { margin-top: 22px; }
    .flyer-hero h1 { font-size: clamp(min(2rem, var(--col) / 5.2), var(--col) / 7.7, 4.4rem); }
    .print-kalia-flyer { margin-top: calc(var(--pt) - var(--padt)); }
    .flyer-hero .lede { margin: 20px 0 28px; line-height: 1.5; }
    /* tablets: the call link and the reply line stack beside the Text button, one unit, as on computers */
    .flyer-hero .cta-row { display: grid; grid-template-columns: auto minmax(0, 1fr); column-gap: 24px; row-gap: 0; align-items: center; }
    .flyer-hero .btn-lg { grid-row: 1 / span 2; }
    .flyer-hero .cta-row .call-link { justify-self: start; align-self: end; padding: 12px 0 2px; margin-top: -4px; }
    .flyer-hero .reply-note { align-self: start; margin-top: -2px; }   /* 7px under the call link's text, as on computers */
  }
}
html { overflow-x: clip; }
@media (max-width: 760px) {
  .sheet, .flyer, .door, .index-card, .lined, .print, .annotated { rotate: calc(var(--r, 0deg) * .5); }
  .m .settle:not(.in):not(:focus-within) { rotate: calc(var(--r, 0deg) * .5 + .6deg); }
}
.print-water { left: 3%; top: 70%; }
@media (max-width: 760px) {
  .tab { height: 132px; }
}
/* detector fixes */
@media (hover: hover) and (pointer: fine) { .skip:hover { color: var(--cream); } }
.upto { display: block; font: 600 .875rem/1 var(--body); letter-spacing: 0; text-transform: none; color: var(--ink-2); margin-bottom: 6px; }
.inventory li:not(:has(.upto)):not(:has(.count-sm)) .count { padding-top: calc(.72rem + 6px); }
.sheet-note { margin: 0 0 10px; font-size: .98rem; max-width: 48ch; }
@media (max-width: 760px) {
  .inventory li .count { padding-top: 0 !important; }
  .upto { margin-bottom: 2px; }
}
/* notes for the open-water cradle photo */
.note-1 { left: 3%; right: auto; top: -16px; bottom: auto; rotate: -3deg; }
.note-2 { right: -3%; left: auto; top: 3%; bottom: auto; rotate: 4deg; }
.note-3 { left: 1%; right: auto; bottom: 7%; top: auto; rotate: -2deg; }
.note-4 { right: -3%; left: auto; bottom: -16px; top: auto; rotate: 2.5deg; }
@media (max-width: 760px) {
  .note-1 { left: -4px; top: -20px; }
  .note-2 { right: -6px; top: 2%; }
  .note-3 { left: -4px; bottom: 6%; }
  .note-4 { right: -6px; bottom: -20px; }
}
/* soft placeholder while a lazy photo decodes */
.print img, .door-photo img, .slide img, .annotated-img img { background: #EADBD2; }
.door-water .door-photo img { background: #9FB2BC; }
/* ---------- review round 1 ---------- */
.about { padding: 32px 0 var(--sec); margin-top: -32px; }
.prints { padding-top: calc(var(--sec) * .8); }
.water { padding-bottom: calc(var(--sec) + 30px); }
.sheet-benefits .cta-row { margin: 16px 0 14px; }
.sheet-prices .door-cta { margin-top: 4px; }
.letter .cta-row { margin-top: 26px; }
.medi-note { background: rgb(223 229 216 / .9); color: var(--sage-ink); }
.desk-msg { margin: 0 0 16px; padding: 12px 14px; background: var(--shell); border-radius: 14px 14px 14px 4px; text-align: left; font-size: .95rem; line-height: 1.45; }
.lined .ans a, .sheet-benefits .asof a, .door .fine a, .compose-care a, .sheet-prices .fine a, .water-book-main a { font-weight: 600; }
/* no JavaScript: hide what cannot work, keep the phone path and the section links */
.nojs-note { display: none; margin: 0; font-weight: 600; }
html:not(.js) .chooser, html:not(.js) .menu-btn, html:not(.js) .dock { display: none; }
html:not(.js) .nojs-note { display: block; }
/* tap targets */
.restart { min-height: 44px; padding: 10px 0; }
.door-cta { min-height: 44px; }
.cta-row .call-link { display: inline-flex; align-items: center; min-height: 44px; }
.brand { min-height: 44px; }
.desk-x { width: 44px; height: 44px; }
/* keep a Text/Call control in view on small tablets, where the dock is off */
@media (min-width: 761px) and (max-width: 980px) {
  .top-phone { display: inline-flex; padding: 8px 12px; font-size: .95rem; min-height: 44px; }
}
@media (max-width: 980px) {
  html:not(.js) .nav { display: flex; flex-wrap: wrap; gap: 12px; }
}
@media (max-width: 760px) {
  .chooser .q, .chooser .compose, .chooser .private-note { scroll-margin-bottom: 84px; scroll-margin-top: 84px; }
  /* start here: the sculpture sits beside the intro sentence; the steps run full width (no float) */
  .start-intro { display: grid; grid-template-columns: minmax(0, 1fr) clamp(108px, 32%, 140px); column-gap: 16px; align-items: start; }
  .start-intro h2, .start-intro .how, .start-intro .hand-start { grid-column: 1 / -1; }
  .start-intro > p:not(.hand) { grid-column: 1; grid-row: 2; }
  .start-intro .print-sculpt { float: none; grid-column: 2; grid-row: 2; width: 100%; margin: 16px 0 0; }
  .start-intro .hand-start { justify-self: start; }
}
/* phones: the intro runs full width; the sculpture print pairs with the hand note under the steps */
@media (max-width: 480px) {
  .start-intro > p:not(.hand) { grid-column: 1 / -1; grid-row: 2; max-width: 34ch; }
  .start-intro .how { grid-column: 1 / -1; grid-row: 3; }
  .start-intro .print-sculpt { grid-column: 2; grid-row: 4; margin: 8px 0 0; }
  .start-intro .hand-start { grid-column: 1; grid-row: 4; align-self: center; margin-top: 0; font-size: 1.85rem; line-height: 1.15; }
}
@media (prefers-reduced-motion: reduce) {
  summary::after, .door-water, .door-water::before, .door-cta .i, .btn, .chip span, .round, .nav a, .nav a::after, .menu-btn, .desk-x { transition: none; }
  .desk-pop[popover]:popover-open { animation: arrive-fade 180ms ease both; }
  details[open] .ans { animation: arrive-fade 180ms ease both; }
  .btn:active, .round:active, .chip input:active + span, .menu-btn:active, .desk-x:active { transform: none; }
}
.nav a { white-space: nowrap; }
@media (min-width: 981px) and (max-width: 1100px) {
  .top-in { gap: 18px; }
  .nav { gap: 14px; }
  .nav a { font-size: .9rem; }
  .top-phone { padding: 8px 10px; font-size: .95rem; min-height: 44px; }
}
.cta-row .call-link { gap: .3em; }
.count-sm { font-size: clamp(1.2rem, .95rem + .65vw, 1.55rem); }
/* ---------- review round 2 ---------- */
/* care board: two unequal columns, then an unequal two-up (no row of equal cards) */
.sheets { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(26px, 2.6vw, 40px); align-items: start; }
.sheets .col { display: flex; flex-direction: column; gap: clamp(30px, 3vw, 44px); min-width: 0; }
.sheets .row-c { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(26px, 2.6vw, 40px); align-items: start; margin-top: clamp(4px, 1vw, 12px); }
.sheets .col > *, .sheets .row-c > * { min-width: 0; }
.door-birth, .door-postpartum, .door-loss, .door-massage, .door-coaching, .door-water { grid-column: auto; grid-row: auto; margin-top: 0; }
.door-birth { display: flex; }
.door-loss { margin-top: 12px; }
.door-type .door-body { padding-top: 38px; }
.door-type h3 { font-size: clamp(1.8rem, 1.35rem + 1.1vw, 2.35rem); }
.door-type .stamp { font-size: .92rem; padding: 10px 16px 9px; margin: 10px 0 26px; }
@media (min-width: 1101px) {
  /* the door photo is a white-bordered print, top-aligned with the title and crossing the sheet's left edge */
  .door-water { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); align-items: start; }
  .door-water .door-photo { margin: 52px 0 0 -14px; padding: 8px 8px 10px; background: #fffdf8; box-shadow: var(--shadow-print); rotate: -1.4deg; }
}
/* computers: door copy stops near 66 characters a line (Figtree runs about 1.43 characters to its ch; 46ch measured
   64 to 72 at 1100 to 1440), the tick lists a little wider */
@media (min-width: 981px) { .door-body p:not(.stamp) { max-width: 46ch; } .door-body .ticks { max-width: 50ch; } }
/* tablets and computers: her backlit portrait fills the right column under coaching, so the board has no empty hole */
.print-board { display: none; }
@media (min-width: 601px) {
  .print-board { display: block; width: min(280px, 56%); align-self: center; margin: auto 0; padding: 9px 9px 11px; }
  /* the right column runs as tall as the left, and the print sits centered in whatever wall is left under coaching */
  .sheets .col-b { align-self: stretch; }
  .hand-board { margin: 8px 0 0; font-size: 1.12rem; line-height: 1.15; text-align: center; color: var(--rose-ink); }
}
@media (min-width: 601px) and (max-width: 1100px) { .print-board { width: min(250px, 70%); } }   /* the print ends at or above the loss door's bottom */
@media (max-width: 600px) {
  .sheets { display: flex; flex-direction: column; gap: 30px; align-items: stretch; }
  .sheets .col, .sheets .row-c { display: contents; }
  .door-birth { order: 1; }
  .door-postpartum { order: 2; }
  .door-loss { order: 3; margin-top: 0; }
  .door-coaching { order: 4; }
  .door-massage { order: 5; }
  .door-water { order: 6; }
}
/* tape: a real masking-tape raster instead of a masked gradient */
.tape { background: url('images/tape-a.webp') center / 100% 100% no-repeat; -webkit-mask: none; mask: none; backdrop-filter: none; -webkit-backdrop-filter: none; box-shadow: none; width: 126px; height: 32px; top: -15px; filter: drop-shadow(0 1px 1px rgb(60 30 25 / .16)); }
.tape-r { background-image: url('images/tape-b.webp'); }
.stamp { -webkit-mask-size: 280px auto; mask-size: 280px auto; }
/* AloMana: a region of mist paper stock, straight edges, square corners */
.water { background: var(--mist) url('images/paper.webp'); background-size: 640px; padding: var(--sec) 0; }
.depths { margin-top: clamp(56px, 7vw, 96px); }
.depth-sheet { padding: clamp(28px, 3.4vw, 44px) clamp(22px, 3.4vw, 48px) 16px; max-width: 900px; }
.water .depth-sheet h3 { color: var(--rose); }
.depth-list { margin-top: 16px; }
.depth-list li { display: grid; grid-template-columns: 64px minmax(0, 14rem) minmax(0, 1fr); gap: 6px 22px; align-items: center; padding: 16px 0; border-top: 1px dashed rgb(42 36 34 / .28); }
.depth-list li:first-child { border-top: 0; }
.depth-list p { margin: 0; color: var(--ink); }
.depth-list .depth-name { font: 400 clamp(1.25rem, 1.05rem + .8vw, 1.55rem)/1.05 var(--display); color: var(--rose); text-wrap: balance; }
.gauge { width: 64px; height: 44px; overflow: visible; }
.gauge .surface { fill: none; stroke: var(--sage); stroke-width: 1.2; stroke-dasharray: 3 3; }
.gauge .wave { fill: none; stroke: #5A7482; stroke-width: 2; stroke-linecap: round; }
@media (max-width: 760px) {
  .depth-list li { grid-template-columns: 52px minmax(0, 1fr); }
  .depth-list p { grid-column: 2; }
  .gauge { width: 52px; }
}
/* where to find me: one ruled index card */
.area-card { max-width: 920px; margin-inline: auto; background-image: linear-gradient(transparent 0 62px, rgb(184 16 24 / .35) 62px 63.5px, transparent 63.5px), url('images/paper.webp'); background-size: 100% 100%, 520px; background-position: 0 0, 0 0; }
.place-list { margin: 4px 0 22px; }
.place-list div { display: grid; grid-template-columns: minmax(0, 15rem) minmax(0, 1fr); gap: 4px 28px; padding: 14px 0; border-bottom: 1px dashed rgb(126 141 121 / .5); align-items: baseline; }
.place-list dt { font: 400 1.35rem/1.2 var(--display); color: var(--rose); }
.place-list dd { margin: 0; text-wrap: pretty; }
.area-card .area-foot { margin: 0; }
@media (max-width: 760px) {
  .place-list div { grid-template-columns: 1fr; }
}
/* the area card and the questions sheet share one board row; the card stays in view beside the long sheet */
@media (min-width: 1101px) {
  .board-pair { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); column-gap: clamp(32px, 4vw, 56px); width: min(var(--wrap), 100% - 2 * var(--gutter)); margin-inline: auto; padding-bottom: var(--sec); }
  .board-pair > section { padding-bottom: 0; }
  .board-pair .wrap { width: auto; }
  .board-pair .area > .wrap { height: 100%; }   /* the sticky card's containing block fills the stretched row, so the card can travel */
  .board-pair .area-card { position: sticky; top: 96px; max-width: none; margin: 0; }
  .board-pair .place-list div { grid-template-columns: minmax(0, 1fr); gap: 2px; }
  .board-pair .area-foot a { white-space: nowrap; }   /* in the narrower card the link drops to its own line as one unit */
  .board-pair .lined { max-width: none; margin: 56px 0 0; }
}
/* Medi-Cal inventory: 3 then 2, call-outs kept readable, counts on one baseline */
.inventory .count { min-height: 5.1rem; display: flex; flex-direction: column; justify-content: flex-end; padding-top: 0 !important; }
.count-sm { white-space: nowrap; font-size: clamp(1.2rem, .95rem + .6vw, 1.55rem); line-height: 1.1; }
@media (min-width: 1001px) {
  .inventory { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 26px; }
  .inventory li:nth-child(4) { border-left: 0; padding-left: 0; }
  .inventory .what { max-width: 26ch; }
  .inventory li:last-child { grid-column: span 2; }
  .inventory li:last-child .what { max-width: 40ch; }
}
@media (max-width: 760px) {
  .inventory li .count { flex: 0 0 56px; min-height: 0; min-width: 0; }
  .inventory { grid-template-columns: minmax(0, 1fr); }
  .inventory .what { min-width: 0; overflow-wrap: break-word; }
  /* the one word count ("Birth or loss") prints on one line above its call-out, as on computers */
  .inventory li:has(.count-sm) { flex-direction: column; align-items: flex-start; gap: 4px; }
  .inventory li .count-sm { flex: none; white-space: nowrap; font-size: 1.15rem; width: auto; }
}
/* hero: the portrait print crosses the flyer's edge; phones keep the headline to four lines */
@media (min-width: 981px) {
  .print-kalia { margin-right: 9%; }
}
@media (max-width: 600px) {
  .prints-head { flex-wrap: wrap; }
  .prints-head h2 { flex: 1 1 100%; }
  .prints-head { margin-bottom: 0; }
  .prints { padding-bottom: calc(var(--sec) * .55); }
  .prints .slide-wide { display: none; }   /* R2-17: the wide night panorama reads as a thin strip on a phone */
}
/* 'or call' links stay one link with one underline */
.cta-row .call-link { display: inline-block; padding: 12px 0; min-height: 0; gap: 0; }
/* rose hand underline */
.hand-mark { position: relative; display: inline-block; max-width: 100%; white-space: normal; }
.hand-mark svg { position: absolute; left: -2%; bottom: -8px; width: 104%; height: 10px; overflow: visible; pointer-events: none; }
.hand-mark path { fill: none; stroke: var(--rose); stroke-width: 2.4; stroke-linecap: round; vector-effect: non-scaling-stroke; }
/* verdict follow-ups */
@media (min-width: 981px) {
  .print-kalia { margin-right: 18%; }
}
.area-card { background-image: url('images/paper.webp'); background-size: 520px; }
.area-card h2 { padding-bottom: 14px; border-bottom: 1.5px solid rgb(184 16 24 / .35); margin-bottom: 6px; }
@media (min-width: 981px) {
  .print-water { left: auto; right: -6%; top: auto; bottom: -4%; width: 46%; rotate: 5deg; }
}
@media (min-width: 981px) and (max-width: 1399px) {
  .print-water { right: -6%; width: 46%; }   /* stays inside the viewport at 1100 and 1280 */
}
@media (min-width: 1200px) { .print-water { bottom: -14%; } }   /* the AloMana print steps further down the wall, beside the tear-off tabs */

/* training card, every width: the red rule is the heading's underline and the sage rules follow the text's own
   line height (the fixed 62px/34px background rules cut through the heading and the text) */
.training .index-card {
  --lh: 28px; --cx: clamp(22px, 3.8vw, 56px);
  padding: 28px var(--cx) 18px;
  background-image: url('images/paper.webp'); background-size: 520px; background-position: 0 0;
}
.training .index-card h2 { margin: 0 calc(-1 * var(--cx)) 6px; padding: 0 var(--cx) 12px; border-bottom: 1.5px solid rgb(184 16 24 / .35); }
.cred-list, .modalities, .cred-h {
  margin-inline: calc(-1 * var(--cx)); padding-inline: var(--cx); line-height: var(--lh);
  background: linear-gradient(transparent calc(var(--lh) - 1px), rgb(126 141 121 / .3) 0) 0 -4px / 100% var(--lh) repeat-y;
}
.cred-list li { position: relative; padding: 0 0 0 20px; text-wrap: pretty; }
.cred-list li::before { content: ""; position: absolute; left: 2px; top: calc(var(--lh) / 2 - 1px); width: 10px; height: 6px; border-left: 2px solid var(--rose); border-bottom: 2px solid var(--rose); rotate: -45deg; translate: 0 -50%; }
.since { display: inline-block; line-height: var(--lh); margin-left: 1ch; }   /* the note moves to the next ruled line as one unit */
.cred-h { font: 400 1.3rem/var(--lh) var(--display); color: var(--rose); padding-top: var(--lh); margin-block: 0; }
.training .index-card h2 + .cred-h { padding-top: 0; }
.modalities { margin: 0; padding: var(--lh) 0 0; }
@media (min-width: 981px) {
  /* desktop keeps the card's original air: a taller line pitch and the original top padding */
  .training .index-card { --lh: 34px; padding: clamp(32px, 3.8vw, 52px) var(--cx) 22px; }
  .training .index-card h2 { margin-bottom: 10px; }
  /* the ruled lines run the card's text width, like the lists above, while the text stops at about 73 characters */
  .modalities { padding-right: max(0px, calc(100% - 54ch)); }
}

/* her signature image from the old site's hero, pinned beside the start-here intro */
.print-sculpt { float: right; width: clamp(118px, 32%, 170px); margin: 8px 0 14px 18px; padding: 7px 7px 8px; }
.hand-sculpt { margin: 6px 0 0; font-size: clamp(.95rem, .85rem + .3vw, 1.08rem); line-height: 1.15; text-align: center; color: var(--rose-ink); }

/* credentials: one compact unit on the training index card. Four typeset certificate cards, each with its own
   rubber-stamp seal and a link to the real redacted scan, then the other credentials in two short columns. */
.cred-lede { margin: 0 0 22px; max-width: 46ch; font-size: 1.05rem; }
.certs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(14px, 1.8vw, 24px); align-items: stretch; }
.cert-card {
  position: relative; display: flex; flex-direction: column; align-items: center; text-align: center;
  padding: 18px 14px 8px; background: #fffdf8; border-radius: 3px;
  box-shadow: 0 1px 2px rgb(60 30 25 / .14), 0 8px 18px -10px rgb(60 30 25 / .35); rotate: var(--r, 0deg);
}
.cert-card::before { content: ""; position: absolute; inset: 6px; border: 1.25px solid rgb(184 16 24 / .38); box-shadow: inset 0 0 0 2.5px #fffdf8, inset 0 0 0 3.5px rgb(184 16 24 / .2); pointer-events: none; }
.cert-seal { width: 72px; height: 72px; margin: 0 0 8px; overflow: visible;
  -webkit-mask: url('images/wear.webp') 0 0 / 200px auto; mask: url('images/wear.webp') 0 0 / 200px auto; mask-mode: luminance; }
.seal-ring { fill: none; stroke: currentColor; stroke-width: 2.4; }
.seal-ring-in { stroke-width: 1.4; }
.seal-around { font: 800 8.6px var(--body); letter-spacing: .06em; fill: currentColor; }
.seal-big { font: 400 21px var(--display); font-variant-numeric: lining-nums; fill: currentColor; text-anchor: middle; }
.seal-big-sm { font-size: 17px; }
.seal-unit { font: 800 7px var(--body); letter-spacing: .14em; fill: currentColor; text-anchor: middle; }
.cert-title { margin: 0 0 4px; font: 400 clamp(1.2rem, 1.05rem + .4vw, 1.45rem)/1.08 var(--display); color: var(--rose); text-wrap: balance; }
.cert-meta { margin: 0; font-size: .9rem; line-height: 1.35; font-weight: 600; text-wrap: balance; }
.cert-date { margin: 2px 0 4px; font-size: .9rem; color: var(--ink-2); }
.cert-view { margin-top: auto; display: inline-flex; align-items: center; gap: 6px; min-height: 44px; font-weight: 800; font-size: .92rem; color: var(--rose-ink); text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: .28em; }
.cert-view .i { transition: transform 220ms var(--ease-out); }
/* the whole card is the hit area (.cert-card is position: relative) */
.cert-view::after { content: ""; position: absolute; inset: 0; z-index: 1; }
/* each seal has its own shape and ink */
.seal-birth { color: var(--rose-ink); rotate: -9deg; }
.seal-postpartum { color: var(--sage-ink); rotate: 7deg; }
.seal-hipaa { color: var(--water-ink); rotate: -5deg; }
.seal-cpr { color: var(--rose); rotate: 4deg; }
.seal-fill { fill: currentColor; stroke: none; }
.seal-dots { stroke-width: 2.2; stroke-dasharray: .1 4.4; stroke-linecap: round; }
.seal-line { fill: none; stroke: currentColor; stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }
.seal-word { font: 400 13px var(--display); fill: currentColor; text-anchor: middle; }
.seal-unit-sm { font-size: 6.2px; letter-spacing: .1em; }
.seal-big-cpr { font-size: 14px; }
.hand-certs { margin: 16px 0 20px; font-size: clamp(1.05rem, .95rem + .4vw, 1.3rem); color: var(--rose-ink); rotate: -1deg; }
.cred-more { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); gap: 0 clamp(24px, 4vw, 56px); margin-top: 8px; }
.cred-more .cred-list { columns: auto; }
/* inside the two columns the ruled rows stay within their own column */
.cred-more .cred-list, .cred-more .cred-h { margin-inline: 0; padding-inline: 0; }
.cred-more .cred-h { padding-top: var(--lh); }
.cred-more .cred-col:first-child .cred-h, .cred-more .cred-col + .cred-col .cred-h { padding-top: 0; }
@media (hover: hover) and (pointer: fine) {
  .cert-card { transition: rotate 300ms var(--ease-out), translate 300ms var(--ease-out); }
  .cert-card:hover { rotate: 0deg; translate: 0 -2px; }
  .cert-card:hover .cert-view .i { transform: translateX(3px); }
}
@media (max-width: 1000px) {
  .certs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  .cred-more { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 600px) {
  /* phones: each certificate is one slim row, the seal beside the words */
  .certs { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .cert-card { display: grid; grid-template-columns: minmax(0, 1fr) 54px; column-gap: 10px; align-items: start; text-align: left; padding: 14px 14px 2px 18px; rotate: calc(var(--r, 0deg) * .4); }
  .cert-seal { grid-column: 2; grid-row: 1 / span 3; width: 54px; height: 54px; margin: 2px 0 0; }
  .cert-card > :not(.cert-seal) { grid-column: 1; }
  .cert-title { font-size: 1.2rem; margin-top: 2px; }
  .cert-meta, .cert-date { font-size: .9rem; line-height: 1.3; }
  .cert-date { margin: 0; }
  .cred-more .cred-col + .cred-col .cred-h { padding-top: var(--lh); }
}
.cert-dlg { border: 0; overscroll-behavior: contain; padding: 14px 14px 10px; width: min(920px, 94vw); max-height: 92vh; max-height: 92svh; text-align: center; background: #fffdf8 url('images/paper.webp'); background-size: 520px; box-shadow: 0 30px 80px -20px rgb(60 20 15 / .55); border-radius: 3px; }
.cert-dlg::backdrop { background: rgb(42 36 34 / .55); }
.cert-dlg img { width: 100%; height: auto; max-height: calc(92vh - 130px); max-height: calc(92svh - 130px); object-fit: contain; }
.cert-dlg-note { margin: 8px 0 0; font-size: .875rem; color: var(--ink-2); text-align: center; }
.cert-x { position: absolute; top: 6px; right: 6px; background: rgb(255 253 248 / .9); color: var(--rose); }
.cert-full { display: inline-flex; align-items: center; min-height: 44px; margin-top: 2px; font-weight: 800; color: var(--rose-ink); text-decoration-thickness: 1.5px; }
.cert-dlg[open] { animation: pop 240ms var(--ease-out); }
/* while a certificate is open the page behind it does not scroll and the dock does not show through the backdrop;
   the gutter stays reserved so a desktop scrollbar going away does not shift the page */
html:has(.cert-dlg[open]) { overflow: hidden; scrollbar-gutter: stable; }
html:has(.cert-dlg[open]) .dock { visibility: hidden; }
/* phones: the scan runs nearly edge to edge (the UA's dialog max-width would otherwise cap it at 100% - 2em); Close sits in its own band above the scan */
@media (max-width: 600px) {
  .cert-dlg { width: calc(100vw - 12px); max-width: calc(100vw - 12px); padding: 52px 6px 8px; }
  .cert-x { top: 4px; right: 4px; box-shadow: none; }
  .cert-dlg img { max-height: calc(92svh - 204px); }
}
@media (max-height: 320px) { .cert-dlg img { max-height: none; } }   /* very short screens (400% zoom): the scan takes the width and the dialog scrolls */
@media (prefers-reduced-motion: reduce) {
  .cert-dlg[open] { animation: arrive-fade 180ms ease both; }
}

/* ---------- phones and tablets (mobile pass, 2026-09-29) ----------
   Fixes from the phone audit (qa/mobile/audit). Kept together and last on purpose: several of these must
   follow late top-level rules above (.stamp, .upto, .asof, .note-1/.note-2, .sheets, .depth-list). */
@media (max-width: 980px) {
  .top-in { flex-wrap: wrap; row-gap: 6px; }
  .foot-text a[href^="tel:"] { display: inline-block; padding: 10px 0; margin-block: -10px; }
  .q legend { text-wrap: balance; text-wrap: pretty; }
  /* prices: a label never splits */
  .price .unit { white-space: nowrap; }
  .door-birth .door-photo { padding: 12px 12px 0; }
  .door-birth .door-body { padding-top: 26px; }
  /* rubber stamps: the Medi-Cal line breaks only between its phrases */
  .stamp .stamp-ln { display: block; }
  .asof a { white-space: nowrap; }
  .asof a, .ans a, .door .fine a, .area-foot a, .compose-care a, .sheet-prices .fine a, .water-book-main a { display: inline-block; padding: 12px 8px; margin: -12px -8px; }
  .fine a[href="tel:988"] { padding-inline: 9px; margin-inline: -9px; }   /* the three-digit crisis line still gets a 44px wide tap box; the text does not move */
  .door .fine:has(+ .door-cta), .sheet-prices > .fine:has(+ .door-cta) { margin-bottom: 24px; }   /* a padded link on the last line stays 8px clear of the door link below */
  /* a second phone number in one sentence reaches down, never up over the first (a thumb on 1-833 must not dial 988) */
  .door .fine a ~ a, .compose-care a ~ a { padding-top: 0; padding-bottom: 24px; margin-top: 0; margin-bottom: -24px; }
  /* the space under those sentences grows by the same 12px, so clearance to the next control stays as today */
  .door-postpartum .fine:has(a ~ a) { margin-bottom: 28px; }
  .door .fine:has(a ~ a):has(+ .door-cta) { margin-bottom: 36px; }
  .compose-care:has(a ~ a) { margin-bottom: 28px; }
  .letter { width: 100%; max-width: 36rem; justify-self: center; }
  .water li { text-wrap: pretty; }
  .hand-depth { text-wrap: balance; }
}
/* tablets and large phones on their side: two equal board columns, fuller rows */
@media (min-width: 601px) and (max-width: 980px) {
  .sheets { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .sheets .row-c { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .door-birth h3 .keep { white-space: nowrap; }
  .flow { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 40px; }
  .water-fit { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 761px) and (max-width: 980px) {
  .sheet-prices { rotate: calc(var(--r, 0deg) * .5); }
  /* start here: intro, steps and note in one column, the sculpture print pinned beside them */
  .start-intro { display: grid; grid-template-columns: minmax(0, 1fr) clamp(150px, 22vw, 190px); column-gap: 40px; align-items: start; }
  .start-intro h2 { grid-column: 1 / -1; }
  .start-intro > p:not(.hand) { grid-column: 1; grid-row: 2; max-width: 46ch; }
  .start-intro .how { grid-column: 1; grid-row: 3; margin-top: 6px; }
  .start-intro .hand-start { grid-column: 1; grid-row: 4; justify-self: start; }
  .start-intro .print-sculpt { float: none; grid-column: 2; grid-row: 2 / span 3; justify-self: end; width: 100%; margin: 18px 0 0; }
}
@media (max-width: 760px) {
  html { scroll-padding-top: 72px; }   /* sized for the 60px phone header; the 96px default is for the 68px desktop bar */
  .menu { max-height: calc(100dvh - 60px); }
  /* buttons wrap instead of pushing their sheet past the screen */
  .btn { white-space: normal; text-align: center; line-height: 1.2; text-wrap: balance; }
  #send-text { scroll-margin-bottom: 84px; }
  /* price menu: a wrapped name keeps its unit, and the dotted leader runs from the last line to the price */
  .menu-list { gap: 10px; }
  .menu-list div { align-items: last baseline; gap: 0; }
  .menu-list div::before { content: none; }
  .menu-list dt { flex: 1 1 0; min-width: min-content; overflow: hidden; padding-right: 14px; }
  .menu-list div { flex-wrap: wrap; }   /* only very large text drops a price under its name; it never leaves the sheet */
  .menu-list dt::after { content: ""; display: inline-block; width: 100vw; height: 2px; padding-left: .35em; margin-right: -100vw; vertical-align: .28em;
    background: radial-gradient(circle at 1px 1px, rgb(42 36 34 / .35) 1px, transparent 1.3px) content-box 0 0 / 4px 2px repeat-x; }
  .menu-list div dt + dd { margin-left: auto; }
  /* door links: a wrapped label keeps its arrow right after the last word and its underline under the words */
  .door-cta { display: block; width: fit-content; max-width: 100%; padding: 10px 0; line-height: 1.45; background: none; text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: .32em; text-wrap: balance; }
  .door-cta .i { display: inline-block; vertical-align: -.22em; margin-left: .4em; }
  .only-doula { padding: 30px 22px 26px; }
  .lineage { font-size: 1rem; text-wrap: pretty; margin-top: 26px; text-align: left; margin-inline: 0; }
  /* the $135 sheet: one column, a full-width button, the stamp beside the price only when it fits */
  .water-book { flex-direction: column; flex-wrap: nowrap; align-items: stretch; gap: 20px; padding: 30px 22px 26px; container: book / inline-size; }
  .water-book-cta { display: block; }
  .water-book-cta .btn { width: 100%; padding-inline: 14px; }
  .water-book-cta .stamp { margin: 16px 0 0; }
  @container book (min-width: 14.4em) {
    .water-book-cta .stamp { position: absolute; top: 30px; right: 20px; margin: 0; }
  }
  .water-grid { margin-top: 46px; row-gap: 44px; }
  .note-2 { top: -14px; }
  .depth-sheet { padding-top: 40px; }
  .depth-list li { row-gap: 8px; }
  .depth-list p { grid-column: 1 / -1; max-width: 34rem; }
  /* gallery: no print wider than the screen, so the next one always peeks in */
  .slide { height: clamp(250px, 40vw + 132px, 300px); }
  .slide img { max-width: calc(100vw - var(--gutter) - 70px); }
  .slide img[src*="newborn"] { object-position: 35% 50%; }
  .phone-specimen { font-size: min(clamp(2.8rem, 1rem + 8.5vw, 3.9rem), 22.7vw - 18px); }
  .area-foot a { white-space: normal; text-wrap: balance; }
}
@media (max-width: 600px) {
  .water-fit { grid-template-columns: 1fr; }
  /* chooser: chips fill their rows, long options stay on one line at 360 */
  .sheet-chooser { padding: 30px 22px 26px; }
  .chip { flex: 1 1 auto; }
  .chip span { display: flex; width: 100%; padding: 11px 14px 11px 12px; font-size: 1rem; line-height: 1.3; text-wrap: balance; }
  .private-note { align-items: flex-start; padding: 12px 14px; font-size: 1rem; line-height: 1.45; }
  .private-note .i { margin-top: .15em; }
  .field { text-overflow: ellipsis; }
  .text-note { margin: 16px 0 18px; }
  .compose .cta-row { gap: 8px 20px; }
  .compose .cta-row .btn:first-child { flex: 1 1 100%; }
  /* the composed text, its note, the privacy and care lines and Send fit one 360x617 screen together */
  .compose .text-note { margin-bottom: 12px; }
  .compose .private-note { margin-bottom: 12px; padding-block: 10px; }
  .compose-privacy, .compose-care { font-size: .875rem; line-height: 1.45; }
  .compose-privacy { margin: 10px 0 0; }
  .compose-care { margin: 0 0 14px; }
}
@media (max-width: 420px) {
  .menu-cta .btn { padding-inline: 12px; }
  .letter { padding-inline: 22px; }
  .letter h2, .sheet-benefits h2 { font-size: min(2.05rem, 9vw); }
  .flyer-close .cta-row { display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px; }
}
@media (max-width: 400px) {
  .note-1 { max-width: 7.4em; text-wrap: balance; top: -30px; }
}
@media (max-width: 359px) {
  .water-book-cta .btn { font-size: 1.05rem; padding-inline: 12px; }
  .water-book-cta .btn .i { display: none; }
}
/* no JavaScript on a phone: the section links sit under the name instead of crowding the 60px bar */
@media (max-width: 980px) {
  html:not(.js) .top-in { height: auto; min-height: 60px; flex-wrap: wrap; row-gap: 6px; padding-block: 8px; }
  html:not(.js) .nav { flex: 1 1 100%; gap: 4px 16px; }
  html:not(.js) .nav a { padding: 8px 0; }
}
/* phones held sideways: a slimmer dock, so header and dock take less of a short screen */
@media (max-width: 760px) and (max-height: 480px), (pointer: coarse) and (max-height: 500px) {
  .dock-tab { min-height: 46px; }
}
/* phones on their side: a shorter headline, so the promise line starts in the first screen (measured 2026-10-02) */
@media (orientation: landscape) and (max-height: 500px) and (pointer: coarse) {
  .flyer-hero h1 { font-size: min(2.6rem, 12svh); }
  .flyer-hero .lede { margin: 10px 0 14px; }
}
/* very short screens (a phone on its side, 400% zoom): the header scrolls away so header and dock never take half the screen */
@media (max-height: 420px) { .top { position: relative; } html { scroll-padding-top: 16px; } }
html.top-tall .top { position: relative; } html.top-tall { scroll-padding-top: 16px; }   /* set by site.js when the bar is taller than 16% of the screen */
/* Windows contrast themes drop box-shadows: real borders for every control and panel. Keep this block last: it must
   follow the border: 0 rules above (.round, .btn, .desk-pop, .cert-dlg). */
@media (forced-colors: active) {
  .chip span { border: 2px solid ButtonText; }
  .chip span::before { box-shadow: none; border: 2px solid ButtonText; }
  .chip input:checked + span { forced-color-adjust: none; background: Highlight; color: HighlightText; border-color: Highlight; }
  .chip input:checked + span::before { border-color: HighlightText; background: radial-gradient(circle, HighlightText 0 3.5px, transparent 4px); }
  .chip input:focus-visible + span { outline: 3px solid Highlight; }
  .field { border: 2px solid FieldText; }
  .field:focus { outline: 3px solid Highlight; outline-offset: 2px; }
  .desk-pop, .cert-dlg { border: 2px solid CanvasText; }
  .round, .menu-btn, .btn, .dock-tab, .desk-x, .top-phone, .door-index a { border: 1px solid ButtonText; }
  .menu-lines { forced-color-adjust: none; color: ButtonText; }
  .upto { position: relative; z-index: 1; }   /* the count digit's backplate must not cover "up to" */
  .close-qr img, .desk-pop img { forced-color-adjust: none; }   /* the white mat is part of the code */
  .flyer, .sheet, .door, .index-card, .lined { border: 1px solid CanvasText; }   /* shadows are dropped, so each sheet keeps an edge */
}

/* Carson and Kalia, 2026-10-01 evening */
.reply-note { flex: 1 1 100%; margin: 0; font-size: .95rem; color: var(--ink-2); }
.menu-h { margin: 22px 0 4px; font: 400 1.14rem/1.3 var(--display); letter-spacing: 0; text-transform: none; color: var(--ink); text-wrap: balance; }
.menu-h + .menu-list { margin-top: 8px; }
/* the AloMana mark (logo choice I): its name in the site's type and water ink, with a rose wave */
.alo-mark { display: inline-flex; flex-direction: column; align-items: center; max-width: 100%; text-align: center; margin: 0 0 22px; color: var(--water-ink); }
.alo-word { font: 400 min(clamp(2.5rem, 1.8rem + 2vw, 3.4rem), 17vw)/1 var(--display); letter-spacing: -.01em; }
.alo-wave { width: clamp(120px, 10vw, 150px); height: 16px; margin: 6px 0 6px; overflow: visible; }
.alo-wave path { fill: none; stroke: var(--rose); stroke-width: 2.4; stroke-linecap: round; vector-effect: non-scaling-stroke; }
.alo-sub { font: 800 .875rem/1.2 var(--body); letter-spacing: .2em; text-transform: uppercase; }
.water-book-cta .call-link { display: inline-block; padding: 6px 0 12px; margin-top: 10px; }

/* Carson, 2026-10-02: the phone hero lede names Medi-Cal; computers show the coverage stamp beside the hero instead */
@media (min-width: 981px) { .lede-phone { display: none; } }

/* final check: tilted doors opened by a link land with their pin clear of the sticky header on phones */
@media (max-width: 980px) { .board .door { scroll-margin-top: 12px; } }

/* Carson, 2026-10-02: Kalia's own lines as hand notes (massage card, Medi-Cal sheet) */
.hand-rest { margin: 2px 0 12px; font-size: clamp(1.15rem, 1rem + .5vw, 1.4rem); color: var(--rose-ink); rotate: -1.5deg; text-wrap: balance; }
.hand-benefits { margin: 4px 0 14px; font-size: clamp(1.15rem, 1rem + .5vw, 1.4rem); color: var(--rose-ink); rotate: -1.5deg; }
.lede abbr { text-decoration: none; }

/* B&P 4608: CAMTC name and number in massage and AloMana advertising */
.camtc { margin: 6px 0 0; font-size: .875rem; color: var(--ink-2); }

/* ---------- v2: pages (qa/mockup/PLAN.md) ----------
   Everything above this line is the fork of site/styles.css, untouched (see _partials/FORK.json).
   Body classes: page-home, page-doula, page-massage, page-alomana. Phone-only ladder steps are scoped by body class and name their step. */

/* header: page links, the current page in rose */
.nav a[aria-current="page"] { color: var(--rose); }
.nav a[aria-current="page"]::after { transform: scaleX(1); }
/* menu: two labelled groups, then Text and Call */
.menu-group { margin: 6px 0 0; font: 800 .875rem/1.3 var(--body); letter-spacing: .1em; text-transform: uppercase; color: var(--ink-2); }
.menu nav + .menu-group { margin-top: 18px; }
.menu-here a { font-size: 1.15rem; padding: 11px 2px; }
.menu nav a[aria-current="page"], .foot-pages a[aria-current="page"] { position: relative; padding-left: 16px; }
.menu nav a[aria-current="page"]::before, .foot-pages a[aria-current="page"]::before { content: ""; position: absolute; left: 2px; top: 50%; width: 6px; height: 6px; margin-top: -3px; border-radius: 50%; background: var(--rose); }
/* footer: the Pages list */
.foot-pages { margin: 4px 0 14px; }
.foot-pages-h { margin: 0; font: 800 .875rem/1.3 var(--body); letter-spacing: .1em; text-transform: uppercase; color: var(--ink-2); }
.foot-pages ul { display: flex; flex-wrap: wrap; gap: 0 22px; }
.foot-pages a { display: inline-flex; align-items: center; min-height: 44px; min-width: 44px; font-weight: 700; color: var(--rose-ink); text-decoration-thickness: 1.5px; }
.foot-pages a[aria-current="page"] { color: var(--rose); font-weight: 800; text-decoration: none; }
@media (max-width: 980px) { .foot-pages ul { justify-content: center; } }
@media (max-width: 760px) {
  .foot { padding-top: 40px; }
  .foot-grid { gap: 16px; }
  .foot-mark { width: 140px; }
}

/* chevrons: native details, the summary is the whole tap row; content rises in, nothing below jumps */
.more { margin: 4px 0 14px; }
.door-body > .more, .letter > .more, .sheet-benefits > .more, .cred-card > .more { align-self: stretch; }
.more > summary { display: flex; align-items: center; gap: 14px; justify-content: flex-start; padding: 12px 0; min-height: 48px; font: 500 1rem/1.35 var(--body); color: var(--ink); text-wrap: pretty; }
.more > summary::after { content: none; }
.more-txt { flex: 1 1 auto; min-width: 0; }
.more-t { display: block; font: 400 clamp(1.12rem, 1.05rem + .3vw, 1.3rem)/1.2 var(--display); color: var(--ink); text-wrap: balance; }
.more-faq .more-t { font-size: clamp(1.18rem, 1.05rem + .45vw, 1.42rem); line-height: 1.25; }
.more-s { display: block; margin-top: 2px; font-size: .95rem; color: var(--ink); }
.more-p { display: block; margin-top: 2px; font-weight: 700; font-size: .95rem; color: var(--rose-ink); }
.more-p-cov { color: var(--sage-ink); } .stock-sage .more-p-cov { color: var(--ink); }
.more-i { flex: none; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; box-shadow: inset 0 0 0 1.5px var(--rose); color: var(--rose); }
.more-i .i { width: 15px; height: 15px; rotate: 90deg; }
.m .more-i .i { transition: rotate 220ms var(--ease-out); }
.more[open] > summary .more-i .i { rotate: -90deg; }
.more-body { padding: 2px 0 16px; }
.more[open] > .more-body { animation: arrive 220ms var(--ease-out); }
.more-faq { margin: 0; }
.more-faq > summary { padding: 14px 2px; }
.more-body > :last-child { margin-bottom: 0; }
@media (hover: hover) and (pointer: fine) { .more > summary:hover .more-t { color: var(--rose); } }
@media (prefers-reduced-motion: reduce) {
  .more-i .i, .m .more-i .i { transition: none; }
  .more[open] > .more-body { animation: arrive-fade 180ms ease both; }
}
@media (forced-colors: active) { .more-i { border: 1.5px solid ButtonText; } }
@media print { .more-i { display: none; } }
@media print { details::details-content { content-visibility: visible; } }


/* ---------- Home ---------- */
/* start here on phones: the sculpture print and the hand note stay on tablets and computers */
@media (max-width: 760px) {
  .page-home .start-intro { display: block; }
  .page-home .start-intro .print-sculpt, .page-home .start-intro .hand-start { display: none; }
  .page-home .start-intro > p:not(.hand) { max-width: 34ch; }
}
/* the chooser's route line: where to read more, under Send */
.route { display: flex; flex-wrap: wrap; align-items: baseline; gap: 0 18px; margin: 12px 0 0; }
.route[hidden] { display: none; }
.route-lead { flex: 1 1 100%; font-weight: 700; font-size: .95rem; color: var(--ink-2); }
#route-links { display: contents; }
.route .door-cta { margin-top: 0; }
/* cards: one per page. Phones stack; tablets put doula care full width over a pair; computers 7fr / 5fr */
.cards-sec .board-head { margin-bottom: clamp(24px, 3.4vw, 48px); }
.cards { display: grid; grid-template-columns: minmax(0, 1fr); gap: 24px; align-items: start; }
.card-mini { min-width: 0; }
.card-mini h3 { margin-bottom: 6px; }
.card-mini .door-body > p { margin: 0 0 10px; }
.card-row { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; margin: 2px 0 10px; }
.card-row > p, .card-mini .card-row .stamp { margin: 0; }
.card-links { display: flex; flex-wrap: wrap; gap: 0 24px; margin-top: auto; }
.card-photo { display: none; }
@media (max-width: 760px) {
  .card-mini .door-body { padding: 22px 20px 20px; }
}
@media (min-width: 761px) { .card-photo { display: block; } }
@media (min-width: 601px) and (max-width: 980px) {
  .cards { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 30px; }
  #card-doula { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); align-items: start; }
  #card-doula .door-photo { padding: 14px 0 14px 14px; }
}
@media (min-width: 981px) {
  .cards { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(26px, 2.6vw, 40px); }
  #card-doula { grid-row: 1 / span 2; }
  #card-water { margin-top: 6px; }
}
#card-water .price .unit, #card-water .door-cta { color: var(--ink); }
#card-water .door-cta { color: var(--rose-ink); }
/* meet Kalia: phones and tablets put a small print beside the heading; computers keep today's About print */
.meet-grid { display: grid; grid-template-columns: minmax(0, 1fr); }
.print-meet-desk { display: none; }
.print-meet { display: none; }
@media (max-width: 980px) {
  .meet .letter { display: grid; grid-template-columns: minmax(0, 1fr) 104px; column-gap: 16px; align-items: center; }
  .meet .letter h2 { grid-column: 1; grid-row: 1; margin: 0; }
  .print-meet { display: block; grid-column: 2; grid-row: 1; width: 104px; padding: 6px 6px 8px; }
  .meet-p, .meet-link { grid-column: 1 / -1; }
  .meet-p { margin: 18px 0 6px; }
}
@media (min-width: 981px) {
  .meet-grid { grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(30px, 5vw, 80px); align-items: center; }
  .print-meet-desk { display: block; }
  .meet .letter h2 { margin-bottom: 18px; }
  .meet-link { margin-top: 6px; }
}

/* ---------- Doula care ---------- */
/* page hero: a smaller flyer; the Text button sits in the first screen at every phone size */
.flyer-page { z-index: 2; margin-top: 12px; }
.flyer-page .flyer-body { padding: clamp(26px, 3.4vw, 50px) clamp(20px, 4.4vw, 64px) clamp(28px, 3vw, 44px); }
.flyer-page h1 { font-size: clamp(2.05rem, 1.35rem + 2.3vw, 3.4rem); line-height: 1.05; letter-spacing: -.02em; max-width: 12em; }
.flyer-page .lede { margin: 18px 0 24px; }
.flyer-page .stamp-hero { margin-top: 22px; }
.print-page { width: 88%; margin: 34px 0 0 auto; }
@media (min-width: 981px) {
  .flyer-page .cta-row { display: grid; grid-template-columns: auto minmax(0, 1fr); column-gap: 24px; row-gap: 0; align-items: center; }
  .flyer-page .btn-lg { grid-row: 1 / span 2; }
  .flyer-page .cta-row .call-link { justify-self: start; align-self: end; padding: 12px 0 2px; margin-top: -4px; }
  .flyer-page .reply-note { align-self: start; padding-right: 16px; }
}
@media (max-width: 980px) {
  .hero-page .hero-grid { container: none; }
  .flyer-page h1 { max-width: none; text-wrap: balance; font-size: min(clamp(2.05rem, 1.35rem + 2.3vw, 3.4rem), (100vw - 2 * var(--gutter) - 2 * clamp(20px, 4.4vw, 64px)) / 8.6); }
  .flyer-page .flyer-body { padding-top: 24px; }
  .flyer-page .lede { margin: 12px 0 18px; line-height: 1.45; }
  .flyer-page .cta-row { row-gap: 10px; }
  .flyer-page .btn-lg { padding-inline: 18px; }
  .flyer-page .cta-row .call-link { padding-top: 4px; min-height: 44px; }
  .flyer-page .reply-note { margin-top: -12px; pointer-events: none; }
  .flyer-page .stamp-hero { margin-top: 18px; }
}
/* doors: birth, then postpartum (with her portrait on tablets and computers), then loss */
.dsheets { display: grid; grid-template-columns: minmax(0, 1fr); gap: 30px; align-items: start; }
.dsheets > * { min-width: 0; }
.colb { display: flex; flex-direction: column; gap: clamp(30px, 3vw, 44px); min-width: 0; }
.page-doula .door-birth, .page-doula .door-loss { order: 0; margin-top: 0; }
@media (min-width: 761px) {
  .dsheets { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); grid-template-areas: "birth colb" "loss colb"; gap: clamp(26px, 2.6vw, 40px); }
  .page-doula .door-birth { grid-area: birth; }
  .page-doula .colb { grid-area: colb; align-self: stretch; }
  .page-doula .door-loss { grid-area: loss; }
}
@media (min-width: 981px) { .dsheets { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); } }
@media (max-width: 760px) {
  .page-doula .door-photo, .page-doula .door-art, .page-doula .print-board { display: none; }
  .page-doula .door-body { padding-top: 30px; }
}
/* Medi-Cal and prices */
.sheet-benefits .sheet-lede { margin-bottom: 8px; }
.sheet-benefits .more-body .inventory { margin-top: 6px; }
.sheet-benefits .more-body .sheet-note:first-of-type { margin-top: 18px; }
.sheet-benefits .more { margin-bottom: 4px; }
/* training: the four seals stay open, each opens its real scan */
.seals { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px clamp(8px, 2vw, 24px); margin: 18px 0 6px; }
.seals li { display: flex; justify-content: center; min-width: 0; }
.seal-link { position: relative; display: flex; flex-direction: column; align-items: center; gap: 8px; min-height: 44px; min-width: 44px; margin: 0; padding: 4px 2px; text-align: center; text-decoration: none; color: var(--rose-ink); }
.seal-link::after { content: none; }
.seal-link .cert-seal { width: min(68px, 100%); height: auto; aspect-ratio: 1; margin: 0; }
.seal-name { font: 400 clamp(1.05rem, .95rem + .3vw, 1.25rem)/1.15 var(--display); color: var(--rose); text-wrap: balance; text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: .22em; }
@media (hover: hover) and (pointer: fine) { .seal-link:hover .seal-name { color: var(--rose-hot); } .seal-link:hover .cert-seal { scale: 1.05; } }
@media (max-width: 599.98px) {
  .seal-name { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
}
.seals-note { margin: 4px 0 6px; font-size: .95rem; color: var(--ink-2); }
.cred-card .more-body .cred-lede { margin-top: 4px; }
.cert-dl { display: grid; gap: 12px 28px; margin: 4px 0 6px; }
.cert-dl dt { font: 400 1.15rem/1.2 var(--display); color: var(--rose); }
.cert-dl dd { margin: 0; font-size: .95rem; line-height: 1.4; }
.cert-dl dd + dd { color: var(--ink-2); }
@media (min-width: 601px) { .cert-dl { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } }
.cred-card .lineage { margin-top: 22px; }
/* questions: question open, answer behind the chevron */
.lined .more-faq:first-of-type { margin-top: 4px; }
/* more care: the other pages */
.more-care .board-head { margin-bottom: 0; }
/* ---------- v2: phone length ladder (PLAN.md section 2). Each step is gated by a body class, so the evidence
   script can switch one off and measure what it saves. Phones only (760px and below) unless marked. ---------- */
@media (min-width: 761px) { .d2-in, .d7-in, .d10-in { display: none; } }
@media (max-width: 760px) {
  /* default build: the doula About print is for tablets and computers (PLAN 1b A1); its 1px phone source left an empty frame */
  .page-doula .print-about { display: none; }
  /* H-1 the hero certificates line (Meet Kalia's link carries "see my certificates") */
  .page-home.l-h1 .hero-proof { display: none; }
  /* H-2 the 1-2-3 "how" list */
  .page-home.l-h2 .start-intro .how { display: none; }
  /* H-3 and D-8 withdrawn in the fix pass: the footer keeps its Pages list on phones, as one compact row */
  /* H-4 the area line under the cards */
  .page-home.l-h4 .cards-area { display: none; }
  /* H-5 Meet Kalia print to 88px */
  .page-home.l-h5 .meet .letter { grid-template-columns: minmax(0, 1fr) 88px; }
  .page-home.l-h5 .print-meet { width: 88px; }
  /* H-6 and D-1 withdrawn in the fix pass: decision 3 keeps every stamp visible, the hero stamps included */
  /* D-2 coverage: no "doula care only" note, no "or call", V5 inside the chevron, the two sheets joined */
  .page-doula.l-d2 .only-doula, .page-doula.l-d2 .d2-call, .page-doula.l-d2 .d2-out { display: none; }
  .page-doula:not(.l-d2) .d2-in { display: none; }
  .page-doula.l-d2 .coverage-grid { gap: 0; }
  .page-doula.l-d2 .sheet-benefits { rotate: 0deg; padding-bottom: 26px; }
  .page-doula.l-d2 .sheet-benefits .cta-row { margin-bottom: 0; }
  .page-doula.l-d2 .sheet-prices { rotate: 0deg; z-index: 1; --stock: var(--cream); padding: 24px clamp(24px, 3.6vw, 52px) 22px; border-top: 2px dashed rgb(42 36 34 / .3); border-radius: 0 0 var(--radius) var(--radius); box-shadow: 0 10px 22px -10px rgb(92 40 30 / .30), 0 28px 48px -26px rgb(92 40 30 / .28); }
  .page-doula.l-d2 .sheet-prices > .pin { display: none; }
  .page-doula.l-d2 .sheet-prices .menu-list { margin-bottom: 8px; }
  .d2-in { margin: 12px 0 10px; }
  /* D-4 cross-links: chips only */
  .page-doula.l-d4 .more-care h2 { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
  .page-doula.l-d4 .more-care .board-head > p:not(.card-mock) { display: none; }
  .page-doula.l-d4 .more-care .door-index { margin-top: 0; }
  /* D-7 door fine print: the postpartum Medi-Cal pointer and two birth sentences move into the chevrons */
  .page-doula.l-d7 .d7-out { display: none; }
  .page-doula:not(.l-d7) .d7-in { display: none; }
  /* D-10 birth: the open paragraph keeps its first sentence */
  .page-doula.l-d10 .d10-out { display: none; }
  .page-doula:not(.l-d10) .d10-in { display: none; }
}
/* D-5 and D-6 (all widths, in the markup): training is part of the About sheet, under an h3; heading "About Kalia" */
.letter-training { --lh: 28px; --cx: 0px; margin-top: 26px; padding-top: 22px; border-top: 1.5px solid rgb(184 16 24 / .35); }
.letter-training .training-h { font-size: clamp(1.45rem, 1.2rem + .7vw, 1.8rem); }
.letter-training .seals { margin-top: 14px; }
.letter-training .cred-list, .letter-training .modalities, .letter-training .cred-h { margin-inline: 0; padding-inline: 0; }
.letter-training .lineage { text-align: left; margin-inline: 0; }
.letter-training p { max-width: none; }
.page-doula .about-grid { align-items: start; }
@media (min-width: 981px) { .page-doula .print-about { position: sticky; top: 110px; } }
/* D-9 withdrawn in the fix pass: each question is its own chevron at every width, answers closed (decision 3) */
/* audit fixes: at 320 the coaching price wraps under its unit instead of crossing the card; the desktop call link keeps a 44px box */
@media (max-width: 380px) { .card-mini .price .pair { white-space: normal; } }
@media (min-width: 981px) { .flyer-page .cta-row .call-link { padding-bottom: 4px; } }
/* computers and tablets: the tall portrait photos on the doula door and the Home doula card crop to 4:3, so the
   left column does not run far past the right one */
@media (min-width: 761px) {
  .page-doula .door-birth .door-photo img, #card-doula .door-photo img { aspect-ratio: 4 / 3; object-fit: cover; object-position: 50% 35%; }
}

/* ---------- v2: fix pass (three reviews, 2026-10-02) ---------- */
/* menu: Text and Call sit right under the page links, in view at every phone size */
.menu .menu-cta { margin: 14px 0 4px; }
.menu-cta + .menu-group { margin-top: 18px; }
/* chevrons: once open, the preview line steps aside (the list below says it) and the content ends on a perforation */
.more[open] > summary .more-s { display: none; }
.more[open] > .more-body { border-bottom: 1.5px dashed rgb(42 36 34 / .18); }
.more-faq[open] > .more-body { border-bottom: 0; }
/* where to find me, inside the prices sheet */
.sheet-prices .more { margin: 4px 0 12px; align-self: stretch; }
.sheet-prices .place-list { display: grid; gap: 10px; margin: 2px 0 0; }
.sheet-prices .place-list div { display: grid; gap: 2px; }
.sheet-prices .place-list dt { font-weight: 800; color: var(--rose-ink); }
.sheet-prices .place-list dd { margin: 0; }
/* questions: four chevrons, the sheet kept to a reading width on computers */
.questions .lined { max-width: 820px; }
/* seals: a short name under each seal on phones; the full name is read out */
.seal-short { display: none; }
/* Doula care cross-links: a small taped sheet that ends on Text Kalia */
.more-care-sheet { position: relative; max-width: 820px; padding: clamp(26px, 3vw, 40px) clamp(22px, 3.6vw, 48px); }
.more-care-sheet .door-index { margin-top: 14px; }
.more-care-cta { margin-top: 22px; }
/* Home: the doula card fills its two rows on computers, so both columns end together */
@media (min-width: 981px) {
  #card-doula { align-self: stretch; }
  #card-doula .door-photo { flex: 1 1 auto; display: flex; min-height: 0; }
  #card-doula .door-photo picture { display: flex; flex: 1 1 auto; }
  #card-doula .door-photo img { flex: 1 1 auto; height: 100%; aspect-ratio: auto; min-height: 320px; object-fit: cover; object-position: 50% 30%; }
}
.card-photo-kalia img { aspect-ratio: 4 / 3; object-fit: cover; object-position: 50% 22%; }
.gift-foot { margin: 22px 0 0; max-width: 60ch; }
@media (max-width: 760px) {
  /* chevron previews keep to one line on phones; the whole preview is still read out */
  .more-s { display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical; overflow: hidden; }
  /* footer: a small wordmark, no repeated name, the pages as one centred row, room for the dock and no more */
  .foot { padding-top: 28px; padding-bottom: calc(78px + env(safe-area-inset-bottom)); }
  .foot-grid { gap: 10px; }
  .foot-mark { width: 150px; }
  .foot-name { display: none; }
  .foot-text > p { margin-block: 0 8px; }
  .foot-pages { margin: 0 0 6px; }
  .foot-pages-h { display: none; }
  .foot-pages ul { display: flex; flex-wrap: wrap; justify-content: center; gap: 0 16px; }
  .foot-pages a { font-size: .95rem; }
  .foot-fine { margin-top: 8px; }
  /* the Medi-Cal sheet's hand note goes on phones */
  .page-doula .hand-benefits { display: none; }
  /* seals: short names */
  .seal-short { display: block; font: 700 .8rem/1.15 var(--body); color: var(--rose-ink); text-align: center; }
  .seal-link { gap: 4px; }
  /* cross-links: the dock carries Text and Call on phones */
  .more-care-cta { display: none; }
  .more-care-sheet { padding: 22px 20px 20px; }
  /* Home massage card: the pin clears the headline */
  #card-massage > .pin { top: -9px; left: 50%; }
}

/* ---------- v2: the four-page site (qa/fullsite) ---------- */
/* an h2 that reads at the size of a door title (the one-page site set these as h3 inside one section) */
.h-sub { font-size: clamp(1.45rem, 1.2rem + .7vw, 1.8rem); line-height: 1.12; }
.door-cta .i { flex: none; }

/* Massage and coaching: two doors, then the price list beside "Where to find me", then questions */
.print-page-tall { width: min(290px, 74%); margin: 30px auto 0 8%; padding: 9px 9px 11px; }
.print-page-tall .hand-board { margin: 8px 0 0; font-size: 1.12rem; line-height: 1.15; text-align: center; color: var(--rose-ink); }
.msheets { display: grid; grid-template-columns: minmax(0, 1fr); gap: 30px; align-items: start; }
.msheets > .door { order: 0; min-width: 0; margin-top: 0; }
@media (min-width: 761px) { .msheets { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(26px, 2.6vw, 40px); } }
@media (min-width: 981px) { .msheets { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); } .msheets .door-coaching { margin-top: 24px; } }
.mc-info { padding-bottom: var(--sec); }
.mc-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 34px; align-items: start; }
@media (min-width: 761px) { .mc-grid { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(30px, 3.4vw, 52px); } }
.mc-prices h2 { margin-bottom: 14px; }
.mc-prices .menu-list { margin-bottom: 14px; }
.mc-prices .fine { margin: 0; }
.page-massage .area-card { max-width: none; margin: 0; }
.page-massage .area-card h2 { font-size: clamp(1.6rem, 1.3rem + 1vw, 2.2rem); }

/* AloMana: the mist water band opens the page; the Text button sits in the first screen on every phone */
.water-hero { padding: clamp(26px, 3.4vw, 52px) 0 clamp(48px, 6vw, 84px); }
.water-hero h1 { font-size: clamp(2.05rem, 1.35rem + 2.3vw, 3.4rem); line-height: 1.05; color: var(--water-ink); max-width: 13em; }
.water-hero .lede { margin: 18px 0 0; }
.water-hero .camtc { margin-top: 10px; }
.water-hero .spec { margin-top: 14px; }
.water-hero .cta-row { margin-top: 24px; }
.water-hero .stamp-hero { margin-top: 22px; }
.water-hero .reply-note { color: var(--water-ink); }
@media (min-width: 1000px) {
  .water-hero .water-head { grid-template-rows: auto; align-items: center; }
  .water-hero .print-water-head { grid-row: 1; }
}
.water-body { padding-top: 0; }
.water-body .water-grid { margin-top: 0; }
.water-copy .more { margin-top: 12px; }
.water-copy .flow { margin-top: 6px; }
.water .depth-sheet h2 { color: var(--rose); }
.depth-sheet .more { margin-bottom: 0; }
.depth-sheet .depth-list { margin-top: 0; }
.fit-col h2 { margin-bottom: 16px; }
@media (max-width: 760px) {
  .water-hero { padding-top: 18px; }
  .water-hero-copy { display: flex; flex-direction: column; align-items: flex-start; }
  .water-hero .alo-mark { align-self: center; margin-bottom: 14px; }
  .water-hero h1 { font-size: min(clamp(2.05rem, 1.35rem + 2.3vw, 3.4rem), (100vw - 2 * var(--gutter)) / 9.4); }
  /* the lede contains no links, so moving the button up changes what is seen first, not the keyboard order */
  .water-hero .cta-row { order: 1; margin-top: 18px; row-gap: 10px; }
  .water-hero .cta-row .call-link { padding-top: 4px; min-height: 44px; }
  .water-hero .reply-note { margin-top: -12px; pointer-events: none; }
  .water-hero .lede { order: 2; }
  .water-hero .camtc { order: 3; }
  .water-hero .spec { order: 4; }
  .water-hero .stamp-hero { order: 5; margin-top: 18px; }
}
/* no JavaScript on a phone: the page links keep their gap (the desktop link's -7px side margins ate it) */
@media (max-width: 980px) { html:not(.js) .nav a { margin-inline: 0; } }

/* review fix: "Where to find me" uses two columns only when its own box is wide enough (it sat in narrow cards at 768 to 1280) */
.place-list { container-type: inline-size; }
.place-list div, .board-pair .place-list div { grid-template-columns: minmax(0, 1fr); gap: 2px; }
@container (min-width: 560px) {
  .place-list div { grid-template-columns: minmax(0, 15rem) minmax(0, 1fr); gap: 4px 28px; }
}
/* review fix: Doula care's "Also with me" keeps its visible heading on phones, like the other pages */
.page-doula.l-d4 .more-care h2 { position: static; width: auto; height: auto; margin: 0 0 10px; overflow: visible; clip-path: none; white-space: normal; }

/* Photos (2026-10-03): a small pinned print beside the Text row on the three service pages.
   Doula care and Massage and coaching: her face print (.print-face) beside the Text button and call line, crossing the flyer's
   right edge like the Home portrait. Phones: the Text row's three parts join the flyer grid (display: contents) so the reply
   line runs the full width under the print and the button never moves; the 1fr row takes any extra print height.
   AloMana: a landscape water print (.print-water-cta) inside the Text row. Numbers measured 2026-10-03 at 320 to 430 and 1280/1440. */
.flyer-body.with-face {
  --fw: 150px; --fg: 24px; --pad: clamp(20px, 4.4vw, 64px); --over: 6px;
  display: grid; grid-template-columns: minmax(0, 1fr) calc(var(--fw) - var(--pad) - var(--over));
  column-gap: var(--fg); grid-template-areas: "head head" "lede lede" "cta face" "full face" "stamp face";
  grid-template-rows: auto auto auto auto 1fr;
}
.with-face > h1 { grid-area: head; }
.with-face > .lede { grid-area: lede; }
.with-face > .cta-row { grid-area: cta; }
.with-face > .hero-full { grid-area: full; margin: 16px 0 0; max-width: 30em; font-size: 1rem; line-height: 1.5; color: var(--ink); }
.with-face > .stamp-hero { grid-area: stamp; justify-self: start; align-self: start; }
.flyer-body .print-face {
  grid-area: face; align-self: start; justify-self: end; width: var(--fw);
  margin: -4px calc(-1 * (var(--pad) + var(--over))) 0 0; padding: 7px 7px 9px;
}
@media (min-width: 981px) {
  .flyer-body.with-face { grid-template-columns: minmax(0, 1fr) var(--fw); }
  .flyer-body .print-face { margin: -6px 0 0; }
}
@media (max-width: 980px) {
  .flyer-body.with-face {
    --fw: clamp(100px, 36vw - 18px, 160px); --fg: 14px;
    grid-template-areas: "head head" "lede lede" "btn face" "call face" "note note" "full full" "stamp stamp";
    grid-template-rows: auto auto auto 1fr auto auto auto;
  }
  .with-face > .cta-row { display: contents; }
  .with-face .btn-lg { grid-area: btn; justify-self: start; }
  .with-face .call-link { grid-area: call; justify-self: start; align-self: start; margin-top: 10px; }
  .with-face .reply-note { grid-area: note; margin-top: -2px; }
  .flyer-body .print-face { margin-top: 0; margin-bottom: 12px; }   /* the reply line starts 12px under the print (its turn adds about 3px) */
}

.print-water-cta { display: block; padding: 6px 6px 8px; }
@media (max-width: 760px) {
  .water-hero .cta-row {
    display: grid; grid-template-columns: max-content minmax(0, 1fr); column-gap: 14px; row-gap: 0;
    grid-template-areas: "btn face" "call face" "note note"; grid-template-rows: auto 1fr auto;
  }
  .water-hero .cta-row .btn-lg { grid-area: btn; }
  .water-hero .cta-row .call-link { grid-area: call; justify-self: start; align-self: start; margin-top: 10px; }
  .water-hero .cta-row .reply-note { grid-area: note; margin-top: -2px; }
  .print-water-cta { grid-area: face; align-self: start; justify-self: end; width: min(100%, 200px); margin-bottom: 12px; }
}
@media (min-width: 761px) {
  .water-hero .cta-row {
    display: grid; grid-template-columns: auto auto minmax(0, 1fr); column-gap: 20px; row-gap: 0; align-items: center;
    grid-template-areas: "btn call face" "note note face"; grid-template-rows: auto 1fr;
  }
  .water-hero .cta-row .btn-lg { grid-area: btn; }
  .water-hero .cta-row .call-link { grid-area: call; }
  .water-hero .cta-row .reply-note { grid-area: note; align-self: start; margin-top: 12px; }
  .print-water-cta { grid-area: face; align-self: start; justify-self: center; width: min(100%, 210px); margin-top: -8px; }
}

/* ---------- design pass 2026-10-11 ---------- */
/* Home cards on computers: three equal cards in one row; every photo the same 4:3 shape, links on one line at the bottom */
@media (min-width: 981px) {
  .cards { grid-template-columns: repeat(3, minmax(0, 1fr)); align-items: stretch; }
  #card-doula { grid-row: auto; align-self: stretch; }
  #card-water { margin-top: 0; }
  .card-mini { display: flex; flex-direction: column; }
  /* equal heights: the photo takes whatever height the longest card needs, so no blank paper inside a card */
  .card-mini .door-body { flex: none; }
  .card-mini .card-photo, #card-doula .door-photo { flex: 1 0 auto; position: relative; display: block; min-height: 230px; margin: 12px 12px 0; padding: 0; }
  .card-mini .card-photo picture { display: block; }
  .card-mini .card-photo img, #card-doula .door-photo img { position: absolute; inset: 0; width: 100%; height: 100%; min-height: 0; aspect-ratio: auto; object-fit: cover; }
  #card-doula .door-photo img { object-position: 50% 35%; }
}
/* "Also with me": one even list of page links, each with an arrow; centred like the questions sheet above it */
.more-care-sheet { margin-inline: auto; }
.door-index { display: grid; grid-template-columns: minmax(0, 1fr); gap: 10px; }
@media (min-width: 640px) { .door-index { grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); } }
.door-index a { justify-content: space-between; gap: 12px; min-height: 52px; padding: 12px 16px; font-size: 1rem; }
.door-index a .i { flex: none; width: 18px; height: 18px; transition: transform 220ms var(--ease-out); }
@media (hover: hover) and (pointer: fine) { .door-index a:hover .i { transform: translateX(4px); } }
/* footer pages on phones: a centred two-by-two grid, so no page sits alone on a second line */
@media (max-width: 760px) {
  .foot-pages ul { display: grid; grid-template-columns: repeat(2, max-content); justify-content: center; justify-items: center; gap: 0 28px; }
  .foot-pages a { white-space: nowrap; }
}
/* dock: the icon gives under a thumb */
.dock-tab .i { transition: transform 160ms var(--ease-out); }
.dock-tab:active .i { transform: scale(.86); }
/* credit line */
.foot-credit { margin: 10px 0 0; font-size: .875rem; }
.foot-credit a { color: var(--ink-2); text-decoration: none; transition: color 300ms var(--ease-out); }
.foot-credit a:hover, .foot-credit a:focus-visible { color: var(--rose); }
.foot-credit-name { position: relative; display: inline-block; }
.foot-credit-name::after { content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 1.5px; background: currentColor; opacity: .7; transform-origin: left center; }
.foot-credit a.is-armed .foot-credit-name::after { transform: scaleX(0); }
.foot-credit a.is-in .foot-credit-name { animation: credit-name 2200ms ease both; }
.foot-credit a.is-in .foot-credit-name::after { animation: credit-line 2200ms ease both; }
@keyframes credit-line {
  0% { transform: scaleX(0); height: 2.5px; background: var(--rose); opacity: 1; box-shadow: 0 0 0 rgb(184 16 24 / 0); }
  30% { transform: scaleX(1); height: 2.5px; background: var(--rose); opacity: 1; box-shadow: 0 0 12px 1px rgb(184 16 24 / .55); }
  60% { transform: scaleX(1); height: 2.5px; background: var(--rose); opacity: 1; box-shadow: 0 0 10px 1px rgb(184 16 24 / .4); }
  100% { transform: scaleX(1); height: 1.5px; background: currentColor; opacity: .7; box-shadow: 0 0 0 rgb(184 16 24 / 0); }
}
@keyframes credit-name { 0%, 15% { color: inherit; } 35%, 60% { color: var(--rose); } 100% { color: inherit; } }
@media (max-width: 760px) { .foot-credit { text-align: center; margin-top: 6px; } }
/* small touches, screens only and never under reduced motion:
   - rubber stamps press onto the paper once they are well on screen (again after they leave and come back)
   - push pins drop in and land with one small bounce as their sheet settles
   - the Arcata Wellness Center pin makes one hop, then two slow bobs */
@media screen and (prefers-reduced-motion: no-preference) {
  .stamp.touch:not(.play) { opacity: 0; }
  .stamp.touch.play { animation: stamp-press 520ms cubic-bezier(.2, .7, .3, 1) 400ms both; }
  @keyframes stamp-press {
    0% { opacity: 0; transform: scale(1.35); }
    55% { opacity: 1; transform: scale(.96); }
    78% { transform: scale(1.01); }
    100% { opacity: 1; transform: none; }
  }
  .m .settle:not(.in):not(:focus-within) .pin { opacity: 0; transform: translateY(-16px) scale(1.2); }
  .m .settle .pin { transition: opacity 180ms var(--ease-out) 420ms, transform 440ms cubic-bezier(.3, 1.45, .6, 1) 420ms; }
  .where .i.touch { transform-origin: 50% 100%; }
  .where .i.touch.play { animation: pin-hop 4100ms ease-in-out 800ms both; }
  @keyframes pin-hop {
    0% { transform: none; }
    14% { transform: translateY(-9px); animation-timing-function: cubic-bezier(.4, 0, .9, .6); }
    26% { transform: translateY(0) scaleY(.92); }
    31% { transform: translateY(-2px); }
    36% { transform: none; }
    56% { transform: translateY(-2.5px); }
    72% { transform: none; }
    88% { transform: translateY(-2.5px); }
    100% { transform: none; }
  }
}
/* reviewer round (2026-10-11) */
@media (min-width: 981px) {
  /* Massage page: both rows split evenly, so the column edges line up and no sheet floats over empty pink */
  .msheets { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: start; }
  .msheets .door-coaching { margin-top: 0; }
  .mc-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: start; }
  /* Doula page: the polaroid centres on the gap beside the loss card */
  .page-doula .colb > .print-board { margin-block: auto; }
}
@media (min-width: 761px) {
  /* AloMana price sheet centred like the questions and "Also with me" sheets */
  .water-book { max-width: 820px; margin-inline: auto; }
  /* Home chooser: the five answers as an even two-column grid, the last one full width */
  .sheet-chooser fieldset[data-q="stage"] .chips { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sheet-chooser fieldset[data-q="stage"] .chip:last-child:nth-child(odd) { grid-column: 1 / -1; }
}
/* the "Also with me" intro line shows on all three pages */
.page-doula.l-d4 .more-care .board-head > p:not(.card-mock) { display: block; }
@media (max-width: 760px) {
  /* certificate labels: 14px, one line each, two by two */
  .seal-short { font-size: .875rem; }
  .seals { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 14px; }
}
/* pins replay: keyed to their own class, which resets once the sheet has fully left the screen */
@media screen and (prefers-reduced-motion: no-preference) {
  .m .settle.in:not(.pin-in):not(:focus-within) .pin { opacity: 0; transform: translateY(-16px) scale(1.2); }
  .m .settle.pin-in .pin { transition: opacity 180ms var(--ease-out) 420ms, transform 440ms cubic-bezier(.3, 1.45, .6, 1) 420ms; }
  .m .settle.in:not(.pin-in) .pin { transition: none; }
}

/* ---------- Carson's review 2026-10-13 ---------- */
/* phones: the menu reads as three groups. Underlined page links, a Text/Call band with room around it, then this page's sections in a quieter style */
.menu-pages a:not([aria-current="page"]) { text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: 5px; text-decoration-color: rgb(184 16 24 / .45); }
.menu .menu-cta { margin: 26px 0 0; padding: 0 0 26px; border-bottom: 1px solid rgb(42 36 34 / .16); }
.menu-cta + .menu-group { margin-top: 22px; }
.menu .menu-here a { color: var(--ink); font-size: 1.1rem; }
.menu-here a::after { content: " \2193" / "";color: var(--rose); font-family: var(--body); font-size: .9em; }
/* AloMana on phones: the hero reads centred under the centred AloMana mark */
@media (max-width: 760px) {
  .water-hero-copy h1, .water-hero-copy .lede, .water-hero-copy .camtc, .water-hero .reply-note { text-align: center; }
  .water-hero-copy .spec { justify-content: center; margin: 8px 0 0; clip-path: none; gap: 8px; }
  .water-hero-copy .spec span { border-left: 0; padding: 5px 12px; background: rgb(255 255 255 / .4); border-radius: 999px; }
  .water-hero .cta-row { justify-content: center; }
  .water-hero .cta-row .call-link { justify-self: center; }
}
/* AloMana: the depths sheet sits evenly between the steps above and its note below; the note is centred */
@media (max-width: 1100px) {
  .depths { margin-top: 24px; }
  .hand-depth { margin-top: 40px; text-align: center; max-width: none; }
}
/* computers: hero photos balance their flyer */
@media (min-width: 981px) {
  /* Massage: the "Every visit is with me" print moves off the flyer to the middle of the right column */
  .page-massage .hero-prints { margin-left: 0; align-self: center; padding-top: 0; }
  .page-massage .print-page-tall { margin: 0 auto; }
  /* Doula: the newborn print centres on the flyer's height and steps right */
  .page-doula .hero-prints { margin-left: 0; align-self: center; padding-top: 0; }
  .page-doula .hero-prints .print-page { margin: 0 0 0 auto; }
  /* Home: Kalia's portrait steps right; the AloMana print comes to the front and overlaps it */
  .page-home .hero-prints .print-kalia { margin-right: 6%; position: relative; z-index: 1; }
  .page-home .print-water { z-index: 2; }
}
/* phones: section headings, their intro lines and handwritten notes are centred (Carson 2026-10-13); card text, prices and lists stay left; heroes keep their own layouts */
@media (max-width: 760px) {
  main > section:not(.hero) h2:not(.sr-only), .end-pair > section h2:not(.sr-only), main .board-head > p, main .lined > p, .start-intro > p { text-align: center; }
  main > section:not(.hero) .hand, .end-pair > section .hand { text-align: center; }
  .prints-head { justify-content: center; text-align: center; }
  .prints-ctrl { justify-content: center; width: 100%; }
  .meet h2 { text-align: left; }   /* Meet Kalia keeps its heading beside the print */
}
/* Home chooser (computers and tablets): every answer fills its grid cell, so rows share one height and the gaps stay even */
@media (min-width: 761px) {
  .sheet-chooser fieldset[data-q="stage"] .chip { display: flex; }
  .sheet-chooser fieldset[data-q="stage"] .chip span { flex: 1 1 auto; width: 100%; }
}
/* Home "Not sure where to begin?" on computers: the sculpture print gets its own column between the words and the chooser, about 40% larger */
@media (min-width: 981px) {
  .start-grid { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); align-items: center; }
  .start-intro { display: grid; grid-template-columns: minmax(0, 1fr) clamp(200px, 17vw, 250px); column-gap: clamp(28px, 3vw, 48px); align-items: center; }
  .start-intro h2 { grid-column: 1 / -1; }
  .start-intro > p:not(.hand) { grid-column: 1; grid-row: 2; }
  .start-intro .how { grid-column: 1; grid-row: 3; }
  .start-intro .hand-start { grid-column: 1; grid-row: 4; }
  .start-intro .print-sculpt { float: none; grid-column: 2; grid-row: 2 / span 3; width: 100%; margin: 0; justify-self: center; }
}
@media (min-width: 981px) and (max-width: 1199px) {
  .sheet-chooser fieldset[data-q="stage"] .chip span { padding: 10px 12px; gap: 8px; }
  .start-intro { grid-template-columns: minmax(0, 1fr) 180px; }
}
@media (min-width: 981px) {
  /* Doula "About Kalia": the photo centres on the letter's height */
  .page-doula .about-grid { align-items: center; }
  /* Home: the two lines under the three cards centre under the row */
  .gift-foot, .cards-area { text-align: center; margin-inline: auto; }
}

/* ---------- portfolio pass 2026-11-07: signature motion (BUILD-PLAN.md W1). Every touch plays once when it comes
   into view, ends inside 5s, never loops, and is off under reduced motion (site.js only arms it when motion is welcome). ---------- */
@media (prefers-reduced-motion: no-preference) {
  /* B1 the lotus blooms: first page of a visit only (html.bloom), rising out of its base */
  .bloom .brand img { animation: bloom 1100ms var(--ease-out) 120ms both; transform-origin: 50% 85%; }
  @keyframes bloom {
    from { clip-path: circle(0% at 50% 92%); scale: .9; }
    60% { clip-path: circle(60% at 50% 70%); }
    to { clip-path: circle(80% at 50% 55%); scale: 1; }
  }
  /* B2 the flyer is pinned up: it drops in a hair turned and settles; then the tape presses down */
  .m .flyer-hero { animation: flyer-pin 760ms var(--ease-out) both; }
  @keyframes flyer-pin { from { translate: 0 -14px; rotate: calc(var(--r, 0deg) + 1.6deg); } }
  .m .hero .tape { animation: tape-press 420ms var(--ease-out) 520ms both; }
  .m .hero .tape-r { animation-delay: 640ms; }
  @keyframes tape-press { from { opacity: 0; scale: 1.18; } }
  /* B3 ink headline: the headline rises out of a mask from first paint (CSS only, so nothing flickers) */
  .m .hero h1 { animation: ink-rise 720ms var(--ease-out) 120ms both; }
  @keyframes ink-rise { from { clip-path: inset(0 0 100% 0); translate: 0 .28em; } to { clip-path: inset(-.2em -.2em -.3em -.2em); } }
  /* the hero is never gated: with .m set early by the head script, its sheets show at first paint */
  .m .hero .settle:not(.in) { opacity: 1; translate: none; rotate: var(--r, 0deg); }
  .m .hero .hand-hi { animation: ink-write 1300ms cubic-bezier(.4, .1, .5, .9) 850ms both; }
  /* B4 Polaroids develop: pale and warm, then full colour, each time a print comes back on screen */
  .dev img { transition: filter 1600ms var(--ease-out) 150ms; }
  .dev:not(.play) img { filter: sepia(.5) brightness(1.22) contrast(.8) saturate(.55); transition-duration: 0ms; transition-delay: 0ms; }
  /* B5 handwritten notes write themselves on, left to right like a pen */
  .ink.touch:not(.play) { opacity: 0; }   /* opacity, not clip-path: a clip-path hide reads as 0% visible to IntersectionObserver, so the note never played (2026-11-08) */
  .ink.touch.play { animation: ink-write 1300ms cubic-bezier(.4, .1, .5, .9) 400ms both; }
  @keyframes ink-write { from { clip-path: inset(-50% 150% -50% -50%); } to { clip-path: inset(-50% -50% -50% -50%); } }
  /* B6 AloMana: one pass of pool light across the blue, and the wave under the name draws in */
  .water-light { position: absolute; inset: 0; overflow: hidden; pointer-events: none; z-index: 0; }
  .water-light::before { content: ""; position: absolute; top: -20%; bottom: -20%; left: 0; width: 42%; rotate: 14deg; translate: -110% 0;
    background: radial-gradient(closest-side, rgb(255 255 255 / .5), rgb(236 246 250 / .16) 60%, transparent);
    mix-blend-mode: screen; animation: water-sweep 3400ms cubic-bezier(.3, .1, .4, 1) 400ms both; }
  @keyframes water-sweep { to { translate: 300% 0; } }
  .water-hero > .wrap { position: relative; z-index: 1; }
  .m .alo-wave path { stroke-dasharray: 1; stroke-dashoffset: 1; animation: wave-draw 1200ms var(--ease-out) 350ms forwards; }
  @keyframes wave-draw { to { stroke-dashoffset: 0; } }
  /* B7 page turns: the paper slides, the header holds still (browsers without support simply navigate) */
  @view-transition { navigation: auto; }
  .top { view-transition-name: site-top; }
  ::view-transition-old(root) { animation: page-out 220ms var(--ease-out) both; }
  ::view-transition-new(root) { animation: page-in 420ms var(--ease-out) both; }
  @keyframes page-out { to { opacity: 0; translate: -18px 0; } }
  @keyframes page-in { from { opacity: 0; translate: 22px 0; } }
}

/* ---------- photo viewer (2026-11-08): the print, lifted off the board at its true shape ---------- */
.zoomable { cursor: zoom-in; }
.zoomable:has(img:focus-visible) { outline: 3px solid var(--rose); outline-offset: 4px; }
.zoomable img:focus-visible { outline: none; }
.pv { border: 0; padding: 0; background: none; max-width: 100vw; max-height: 100vh; width: 100vw; height: 100vh; height: 100dvh; overflow: hidden; overscroll-behavior: contain; display: none; place-items: center; }
.pv[open] { display: grid; }
.pv::backdrop { background: rgb(30 24 22 / .86); }
.pv-print { margin: 0; padding: 10px 10px 34px; background: #fffdf8; box-shadow: 0 30px 80px -20px rgb(0 0 0 / .6); rotate: -.6deg; max-width: 94vw; }
.pv-print img { display: block; width: auto; height: auto; max-width: calc(94vw - 20px); max-height: calc(100vh - 150px); max-height: calc(100dvh - 150px); object-fit: contain; background: var(--print-placeholder, #EADBD2); }
.pv-x { position: fixed; top: 14px; right: 14px; width: 46px; height: 46px; border: 0; border-radius: 50%; display: grid; place-items: center; background: #fffdf8; color: var(--ink); cursor: pointer; }
.pv-nav { position: fixed; top: 50%; translate: 0 -50%; width: 46px; height: 46px; border: 0; border-radius: 50%; display: grid; place-items: center; background: rgb(255 253 248 / .92); color: var(--rose); cursor: pointer; }
.pv-nav[hidden] { display: none; }
.pv-prev { left: 14px; } .pv-next { right: 14px; }
.pv-x .i, .pv-nav .i { width: 20px; height: 20px; }
.pv-x:active, .pv-nav:active { scale: .94; }
/* phones: the arrows sit low in thumb reach, under the print */
@media (max-width: 760px) {
  .pv-nav { top: auto; bottom: 18px; translate: none; }
  .pv-print { padding: 6px 6px 22px; max-width: calc(100vw - 16px); }
  .pv-print img { max-width: calc(100vw - 28px); max-height: calc(100dvh - 190px); }
}
html:has(.pv[open]) { overflow: hidden; }
html:has(.pv[open]) .dock { visibility: hidden; }
@media (prefers-reduced-motion: no-preference) {
  .pv[open] .pv-print { animation: pv-lift 300ms var(--ease-out); }
  .pv[open]::backdrop { animation: pv-dim 260ms ease; }
  @keyframes pv-lift { from { opacity: 0; scale: .94; rotate: 1.4deg; } }
  @keyframes pv-dim { from { opacity: 0; } }
}

/* ---------- desktop collages (2026-11-08) ---------- */
/* Doula hero: the birth-art print sits behind the newborn print, peeking out top left */
@media (min-width: 981px) {
  .page-doula .hero-prints { padding-block: 4% 0; }
  .page-doula .hero-prints .print-page { position: relative; z-index: 1; margin-top: 22%; }
  .print-art2 { position: absolute; top: 0; left: 2%; width: 44%; z-index: 0; padding: 8px 8px 22px; }
  .print-art2 img { display: block; width: 100%; height: auto; }
}
@media (max-width: 980px) { .print-art2 { display: none; } }
/* the photo strip runs bigger on wide screens */
@media (min-width: 1101px) { .prints .slide { height: clamp(380px, 33vw, 520px); } }
/* Questions and "Also with me" sit side by side */
@media (min-width: 1100px) {
  .end-pair { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); column-gap: clamp(28px, 3.2vw, 52px); align-items: start; width: min(var(--wrap), 100% - 2 * var(--gutter)); margin-inline: auto; padding-bottom: var(--sec); }
  .end-pair > section { padding-bottom: 0; }
  .end-pair .wrap { width: auto; }
  .end-pair .questions .lined, .end-pair .more-care-sheet { max-width: none; margin: 0; }
  .end-pair .more-care-sheet { margin-top: 48px; }
  .end-pair .door-index { grid-template-columns: minmax(0, 1fr); }
}

/* AloMana: Photos sits closer to the blue water band above it (2026-11-08) */
.water + .prints { padding-top: calc(var(--sec) * .5); }

/* pinned prints: a deeper white top edge so the pin goes through the paper, never into the person (Carson, 2026-11-08) */
.print.print:has(> .pin) { padding-top: 22px; }
.print > .pin { top: -3px; }
@media (min-width: 981px) {
  .card-mini .card-photo { margin-top: 22px; }
  .card-mini.card-mini > .pin { top: -3px; }
}
