/* =====================================================================
   Collar · the style
   The vet clinic: Gabarito for headlines, Rethink Sans for reading and
   Sometype Mono for what's engraved, on oat paper with plum-black ink, one
   plum accent, a tennis-ball highlight and a red kept for emergencies.
   Signature pieces: the ID tag (.idtag: a brass tag hanging from a collar
   that engraves your pet's name as you type; bone, round, key or stake),
   the triage (.triage: tick the signs, get "come now", "today" or "book"),
   the lookup (.lookup: "did they eat it?", searchable) and the planner
   (.plan: a start date gives every due date, past, next and later).
   Motion: html.calm stills everything (footer switch, remembered as
   "site-motion"; default from prefers-reduced-motion).
   ===================================================================== */

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; }
html:focus-within { scroll-behavior: smooth; }
html.calm:focus-within { scroll-behavior: auto; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 var(--fs-body)/1.65 var(--body); -webkit-font-smoothing: antialiased; overflow-x: clip; }
h1, h2, h3, h4, p, ul, ol, dl, dd, figure, blockquote { margin: 0; }
ul, ol { padding: 0; list-style: none; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 6px; }
::selection { background: var(--ball); color: var(--on-ball); }
.wrap { width: min(var(--wrap), 100% - 2 * var(--gutter)); margin-inline: auto; }
.sr-only { position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0; border: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 200; padding: 10px 16px; border-radius: var(--r-s); background: var(--ink); color: var(--paper); font-weight: 700; text-decoration: none; transition: top var(--d) var(--ease); }
.skip:focus { top: 12px; }
:root {
  --paw-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cellipse cx='12' cy='16.5' rx='5.2' ry='4.4'/%3E%3Cellipse cx='5.4' cy='10.2' rx='2.3' ry='2.8'/%3E%3Cellipse cx='9.5' cy='5.4' rx='2.3' ry='2.9'/%3E%3Cellipse cx='14.5' cy='5.4' rx='2.3' ry='2.9'/%3E%3Cellipse cx='18.6' cy='10.2' rx='2.3' ry='2.8'/%3E%3C/svg%3E");
  --leash: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 10'%3E%3Cpath d='M0 6Q6 0 12 5T24 5' fill='none' stroke='%23a9c21c' stroke-width='3' stroke-linecap='round'/%3E%3C/svg%3E");
}

/* ---------- type ---------- */
.h1, .h2, .h3 { font-family: var(--display); font-weight: 600; color: var(--ink); text-wrap: balance; }
.h1 { font-size: var(--fs-h1); line-height: 0.98; letter-spacing: -0.035em; font-weight: 700; }
.h2 { font-size: var(--fs-h2); line-height: 1.04; letter-spacing: -0.03em; }
.h3 { font-size: var(--fs-h3); line-height: 1.25; }
/* the lit phrase: plum, on a tennis-ball leash */
.h1 em, .h2 em { font-style: normal; color: var(--plum); padding-bottom: 0.1em; background: var(--leash) repeat-x 0 100% / 0.62em 0.26em; -webkit-box-decoration-break: clone; box-decoration-break: clone; }
.lead { font-size: var(--fs-lead); line-height: 1.6; color: var(--ink-2); max-width: 54ch; }
.muted { color: var(--muted); }
.small { font-size: var(--fs-small); }
.tag { display: inline-flex; align-items: center; gap: 10px; font: 500 var(--fs-label)/1.2 var(--mono); letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
.tag::before { content: ""; flex: none; width: 15px; height: 15px; background: var(--plum); -webkit-mask: var(--paw-mask) center / contain no-repeat; mask: var(--paw-mask) center / contain no-repeat; }
.tag b { font-weight: 700; color: var(--plum); }
.num, .mono { font-variant-numeric: tabular-nums; }
.mono { font-family: var(--mono); }
.prose p + p { margin-top: 1em; }
.prose a, .link { color: var(--plum); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 2px; font-weight: 600; }
.prose a:hover, .link:hover { color: var(--plum-2); text-decoration-color: var(--ball-2); }
[data-pet-name] { font-weight: inherit; }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 24px; border-radius: var(--r-pill); border: 2px solid transparent; font: 600 16.5px/1 var(--display); text-decoration: none; cursor: pointer; white-space: nowrap; transition: transform var(--d-fast) var(--ease), background var(--d-fast), border-color var(--d-fast), color var(--d-fast), box-shadow var(--d-fast); }
.btn svg { width: 18px; height: 18px; flex: none; transition: transform var(--d) var(--ease); }
.btn:hover svg { transform: translateX(3px); }
.btn:active { transform: scale(0.98); }
.btn-plum { background: var(--plum); color: var(--on-plum); box-shadow: 0 4px 0 var(--plum-2); }
.btn-plum:hover { background: var(--plum-2); }
.btn-plum:active { box-shadow: 0 1px 0 var(--plum-2); transform: translateY(3px); }
.btn-red { background: var(--red); color: var(--on-red); }
.btn-red:hover { filter: brightness(0.94); }
.btn-line { border-color: color-mix(in srgb, var(--ink) 28%, var(--line)); background: var(--card); color: var(--ink); }
.btn-line:hover { border-color: var(--plum); color: var(--plum); }
.btn-sm { min-height: 42px; padding: 0 16px; font-size: 15px; }
.btn:disabled { opacity: 0.5; cursor: not-allowed; transform: none; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }

/* ---------- top line ---------- */
.topline { background: var(--ink); color: var(--paper); }
.topline .wrap { display: flex; align-items: center; justify-content: center; gap: 12px; min-height: 40px; padding-block: 8px; text-align: center; font: 500 14.5px/1.4 var(--body); }
.topline b { padding: 3px 10px; border-radius: var(--r-pill); background: var(--red); color: var(--on-red); font: 700 11px/1.2 var(--mono); letter-spacing: 0.08em; text-transform: uppercase; }
.topline a { font-weight: 700; color: var(--paper); text-decoration-color: var(--ball); text-decoration-thickness: 2px; text-underline-offset: 3px; }
@media (max-width: 560px) { .topline b { display: none; } }

/* ---------- header and phone menu ---------- */
.nav { position: sticky; top: 0; z-index: 40; background: color-mix(in srgb, var(--paper) 90%, transparent); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.nav-in { position: relative; display: flex; align-items: center; gap: 22px; min-height: 76px; }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; margin-right: auto; }
/* the mark: a round brass tag with a paw, on its ring */
.brand-mark { position: relative; flex: none; width: 40px; height: 40px; border-radius: 50%; background: radial-gradient(circle at 34% 30%, var(--brass-hi), var(--brass) 55%, var(--brass-lo)); box-shadow: inset 0 0 0 2px color-mix(in srgb, var(--brass-lo) 70%, transparent); }
.brand-mark::after { content: ""; position: absolute; inset: 10px; background: var(--brass-ink); -webkit-mask: var(--paw-mask) center / contain no-repeat; mask: var(--paw-mask) center / contain no-repeat; }
.brand-word { font: 700 24px/1 var(--display); letter-spacing: -0.03em; }
.brand-sub { display: block; font: 500 11px/1.2 var(--mono); letter-spacing: 0.06em; color: var(--muted); margin-top: 5px; }
.nav-links { display: flex; align-items: center; gap: 2px; }
.nav-links a { position: relative; padding: 10px 14px; border-radius: var(--r-pill); text-decoration: none; font: 500 16px/1 var(--display); color: var(--ink-2); transition: color var(--d-fast), background var(--d-fast); }
.nav-links a:hover { color: var(--ink); background: var(--well); }
.nav-links a[aria-current="page"] { color: var(--plum); background: var(--plum-soft); }
.nav-sos { display: inline-flex; align-items: center; gap: 8px; font: 600 15px/1 var(--display); color: var(--red); text-decoration: none; white-space: nowrap; }
.nav-sos::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: var(--red); box-shadow: 0 0 0 3px color-mix(in srgb, var(--red) 25%, transparent); }
.menu-btn { display: none; width: 46px; height: 46px; border-radius: 14px; border: 1px solid var(--line); background: var(--card); cursor: pointer; place-items: center; }
.menu-btn i, .menu-btn i::before, .menu-btn i::after { display: block; width: 18px; height: 2px; border-radius: 2px; background: var(--ink); position: relative; transition: transform var(--d) var(--ease), background var(--d-fast); }
.menu-btn i::before, .menu-btn i::after { content: ""; position: absolute; left: 0; }
.menu-btn i::before { top: -6px; } .menu-btn i::after { top: 6px; }
.menu-btn[aria-expanded="true"] i { background: transparent; }
.menu-btn[aria-expanded="true"] i::before { transform: translateY(6px) rotate(45deg); }
.menu-btn[aria-expanded="true"] i::after { transform: translateY(-6px) rotate(-45deg); }
.site-menu { position: absolute; left: 0; right: 0; top: 100%; display: grid; padding: 14px var(--gutter) 24px; background: var(--card); border-bottom: 1px solid var(--line); box-shadow: var(--shadow-lift); border-radius: 0 0 var(--r-l) var(--r-l); animation: co-open var(--d) var(--ease) both; }
.site-menu a { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; padding: 14px 0; border-bottom: 1px solid var(--line); text-decoration: none; font: 600 28px/1.1 var(--display); letter-spacing: -0.02em; color: var(--ink); }
.site-menu a::after { content: attr(data-no); font: 500 11px/1 var(--mono); color: var(--muted); }
.site-menu a[aria-current="page"] { color: var(--plum); }
.site-menu .btn { display: flex; justify-content: center; margin-top: 18px; border-bottom: 0; font: 600 16.5px/1 var(--display); color: var(--on-plum); }
.site-menu .btn::after { display: none; }
@keyframes co-open { from { opacity: 0; transform: translateY(-8px); } }
html.calm .site-menu { animation: none; }
@media (max-width: 1100px) { .nav-links { display: none; } .menu-btn { display: grid; } }
@media (max-width: 640px) { .nav .nav-cta { display: none; } }
@media (max-width: 420px) { .nav-sos span { display: none; } }
@media (min-width: 1101px) { .site-menu { display: none !important; } }

/* ---------- sections ---------- */
.section { position: relative; padding-block: clamp(64px, 9vw, 116px); }
.section.alt { background: var(--well); }
.section-head { display: grid; gap: 14px; justify-items: start; max-width: 780px; margin-bottom: clamp(30px, 4.5vw, 56px); }
.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px; }
@media (max-width: 980px) { .grid-3, .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 700px) { .grid-2, .grid-3 { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .grid-4 { grid-template-columns: 1fr; } }
.grid-2.lean { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 72px); align-items: start; }
@media (max-width: 900px) { .grid-2.lean { grid-template-columns: 1fr; } }

/* ---------- hero ---------- */
.hero { position: relative; padding-block: clamp(30px, 5vw, 72px) clamp(56px, 8vw, 104px); overflow: clip; }
.hero-grid { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 0.92fr); gap: clamp(28px, 5vw, 64px); align-items: center; }
.hero-copy { display: grid; gap: 22px; justify-items: start; min-width: 0; }
.hero-facts { display: grid; gap: 8px; font: 500 15px/1.4 var(--body); color: var(--ink-2); }
.hero-facts li { display: flex; gap: 10px; align-items: center; }
.hero-facts li::before { content: ""; flex: none; width: 16px; height: 16px; background: var(--plum); -webkit-mask: var(--paw-mask) center / contain no-repeat; mask: var(--paw-mask) center / contain no-repeat; }
@media (max-width: 1000px) { .hero-grid { grid-template-columns: 1fr; } }
/* "Who are we seeing?": the name that engraves the tag */
.petname { display: grid; gap: 8px; width: min(100%, 460px); }
.petname > span { font: 500 12px/1.2 var(--mono); letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
.petname div { display: flex; gap: 8px; padding: 6px; border-radius: var(--r-pill); background: var(--card); box-shadow: 0 0 0 1px var(--line), var(--shadow-card); }
.petname input { flex: 1; min-width: 0; padding: 0 16px; border: 0; background: transparent; font: 600 19px/1 var(--display); outline: none; }
.petname div:focus-within { box-shadow: 0 0 0 3px color-mix(in srgb, var(--focus) 35%, transparent), var(--shadow-card); }

/* ---------- the collar and the ID tag (signature) ---------- */
.stage { position: relative; display: grid; justify-items: center; gap: 26px; padding: 0 clamp(16px, 3vw, 32px) clamp(26px, 3.4vw, 40px); border-radius: var(--r-l); background: radial-gradient(120% 90% at 50% 0%, var(--plum-soft), transparent 70%), var(--card); box-shadow: var(--shadow-lift), 0 0 0 1px var(--line); overflow: hidden; min-width: 0; }
/* the collar: a plum strap with stitching and a buckle, the D-ring under it */
.collar { position: relative; width: calc(100% + 2 * clamp(16px, 3vw, 32px)); height: 54px; margin-top: 40px; background: var(--plum); box-shadow: inset 0 -6px 0 color-mix(in srgb, #000 18%, var(--plum)); }
.collar::before { content: ""; position: absolute; inset: 9px 0; border-block: 2px dashed color-mix(in srgb, var(--on-plum) 45%, transparent); }
.collar::after { content: ""; position: absolute; top: -8px; right: 14%; width: 46px; height: 70px; border-radius: 10px; border: 6px solid var(--brass); box-shadow: inset 0 0 0 2px var(--brass-lo), 0 0 0 1px var(--brass-lo); }
.collar .dring { position: absolute; left: 50%; top: 40px; width: 40px; height: 34px; margin-left: -20px; border: 5px solid #9aa0a8; border-top: 0; border-radius: 0 0 22px 22px; box-shadow: inset 0 -2px 0 #c8ccd2; z-index: 2; }
.idtag { --pivot: 50% 0%; position: relative; display: grid; justify-items: center; width: min(100%, 340px); margin-top: -12px; }
.idtag .swing { position: relative; width: 100%; transform-origin: var(--pivot); }
html:not(.calm) .idtag .swing { animation: co-sway 3.6s ease-in-out infinite alternate; }
html:not(.calm) .idtag.jolt .swing { animation: co-jolt 900ms var(--ease); }
@keyframes co-sway { from { transform: rotate(-3deg); } to { transform: rotate(3deg); } }
@keyframes co-jolt { 0% { transform: rotate(0); } 25% { transform: rotate(9deg); } 55% { transform: rotate(-6deg); } 80% { transform: rotate(3deg); } 100% { transform: rotate(0); } }
.idtag .ring { position: relative; z-index: 2; display: block; width: 34px; height: 34px; margin: 0 auto; border-radius: 50%; border: 5px solid #9aa0a8; box-shadow: inset 0 1px 0 #d6d9de, 0 1px 0 #6f747b; }
.idtag .plate-box { position: relative; margin-top: calc(-8.2% - 7px); }
.idtag svg.plate { width: 100%; height: auto; overflow: visible; filter: drop-shadow(0 14px 14px rgba(34, 26, 43, 0.26)); }
.idtag .metal { fill: var(--brass); stroke: var(--brass-lo); stroke-width: 3; fill-rule: evenodd; }
.idtag .bevel { fill: none; stroke: var(--brass-hi); stroke-width: 2.5; opacity: 0.7; transform-box: fill-box; transform-origin: center; transform: scale(0.94); }
.idtag .text { position: absolute; display: grid; place-content: center; justify-items: center; gap: 4px; text-align: center; color: var(--brass-ink); text-shadow: 0 1px 0 color-mix(in srgb, var(--brass-hi) 80%, transparent); pointer-events: none; }
.idtag .text b { font: 600 clamp(19px, 2.5vw, 31px)/1 var(--mono); letter-spacing: 0.08em; text-transform: uppercase; white-space: nowrap; min-height: 1em; }
.idtag .text span { font: 500 clamp(10.5px, 1.1vw, 12.5px)/1.2 var(--mono); letter-spacing: 0.1em; text-transform: uppercase; white-space: nowrap; }
.idtag .text b.engraving::after { content: ""; display: inline-block; width: 0.08em; height: 0.85em; margin-left: 0.06em; background: currentColor; vertical-align: -0.08em; }
html:not(.calm) .idtag .text b.engraving::after { animation: co-blink 0.8s steps(1) infinite; }
@keyframes co-blink { 50% { opacity: 0; } }
/* per shape: bone, round, key, stake */
.idtag[data-shape="bone"] .text { inset: 27% 20% 34%; }
.idtag[data-shape="round"] { width: min(100%, 250px); }
.idtag[data-shape="round"] .plate-box { margin-top: calc(-7.4% - 7px); }
.idtag[data-shape="round"] .text { inset: 24% 12% 14%; }
.idtag[data-shape="key"] { --pivot: 12.3% 0%; width: min(100%, 360px); }
.idtag[data-shape="key"] .ring { margin-left: calc(12.3% - 17px); }
.idtag[data-shape="key"] .plate-box { margin-top: calc(-22.1% - 7px); }
.idtag[data-shape="key"] .text { inset: 10% 6% 10% 27%; }
.idtag[data-shape="stake"] { --pivot: 50% 100%; width: min(100%, 190px); margin-top: 20px; }
.idtag[data-shape="stake"] .ring { display: none; }
.idtag[data-shape="stake"] .plate-box { margin-top: 0; }
.idtag[data-shape="stake"] .text { inset: 6% 8% 50%; }
.idtag[data-shape="stake"] .text b { font-size: clamp(15px, 1.8vw, 20px); }
html:not(.calm) .idtag[data-shape="stake"] .swing { animation-duration: 4.4s; }
/* without a collar: a key tag on its ring; a stake stands in turf */
.stage.loose { align-content: center; min-height: clamp(340px, 32vw, 420px); padding-block: clamp(76px, 7vw, 96px) clamp(40px, 4vw, 56px); }
.stage.grounded { padding-bottom: 0; }
.stage.grounded .idtag { margin-bottom: -46px; z-index: 0; }
.stage .turf { order: 9; position: relative; z-index: 1; width: calc(100% + 2 * clamp(16px, 3vw, 32px)); height: 70px; background: var(--plum); -webkit-mask: linear-gradient(#000, #000) 0 18px / 100% 100% no-repeat, conic-gradient(from 150deg at 50% 0, transparent, #000 1deg 59deg, transparent 60deg) 0 0 / 14px 19px repeat-x; mask: linear-gradient(#000, #000) 0 18px / 100% 100% no-repeat, conic-gradient(from 150deg at 50% 0, transparent, #000 1deg 59deg, transparent 60deg) 0 0 / 14px 19px repeat-x; }
.stage.grounded .stage-foot { order: 10; position: absolute; left: 0; right: 0; bottom: 14px; z-index: 2; }
.stage.grounded .stage-foot small { color: var(--on-plum); }
.stage.grounded .ball { bottom: 86px; }
.stage-foot { display: flex; flex-wrap: wrap; gap: 10px 16px; align-items: center; justify-content: center; }
.stage-foot small { text-align: center; max-width: 44ch; font: 500 12px/1.3 var(--mono); letter-spacing: 0.06em; color: var(--muted); }
/* the tennis ball: decoration that bounces */
.ball { position: absolute; width: 58px; height: 58px; border-radius: 50%; background: radial-gradient(circle at 34% 30%, color-mix(in srgb, #fff 45%, var(--ball)), var(--ball) 45%, var(--ball-2)); box-shadow: inset -4px -6px 10px rgba(0, 0, 0, 0.12); pointer-events: none; }
.ball::before, .ball::after { content: ""; position: absolute; top: 10%; bottom: 10%; width: 60%; border: 3px solid rgba(255, 255, 255, 0.85); border-radius: 50%; }
.ball::before { left: -28%; border-left-color: transparent; border-top-color: transparent; border-bottom-color: transparent; }
.ball::after { right: -28%; border-right-color: transparent; border-top-color: transparent; border-bottom-color: transparent; }
.stage .ball { right: 7%; bottom: 74px; }
html:not(.calm) .stage .ball { animation: co-bounce 2.6s cubic-bezier(0.3, 0, 0.7, 1) infinite; }
@keyframes co-bounce { 0%, 100% { transform: translateY(0) scale(1.08, 0.92); } 12% { transform: translateY(-10px) scale(0.96, 1.04); } 50% { transform: translateY(-70px) rotate(160deg); } 88% { transform: translateY(-10px) rotate(320deg) scale(0.96, 1.04); } }

/* ---------- the triage: is it urgent? ---------- */
.triage { display: grid; gap: 16px; padding: clamp(20px, 3vw, 30px); border-radius: var(--r-l); background: var(--card); box-shadow: var(--shadow-card), 0 0 0 1px var(--line); min-width: 0; }
.triage-head { display: grid; gap: 4px; }
.triage-head b { font: 600 22px/1.2 var(--display); letter-spacing: -0.02em; }
.triage-head span { font: 500 14.5px/1.4 var(--body); color: var(--muted); }
.signs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.sign { display: flex; gap: 10px; align-items: flex-start; padding: 12px 14px; border-radius: var(--r-s); background: var(--well); cursor: pointer; font: 500 15px/1.35 var(--body); transition: background var(--d-fast), box-shadow var(--d-fast); }
.sign input { flex: none; width: 19px; height: 19px; margin: 1px 0 0; accent-color: var(--plum); }
.sign:has(input:checked) { background: var(--plum-soft); box-shadow: inset 0 0 0 2px var(--plum); }
.sign:has(input:checked)[data-level="3"] { background: var(--red-soft); box-shadow: inset 0 0 0 2px var(--red); }
.sign:has(input:checked)[data-level="3"] input { accent-color: var(--red); }
@media (max-width: 560px) { .signs { grid-template-columns: 1fr; } }
/* the gauge: Book, Today, Now */
.gauge { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; padding: 4px; border-radius: var(--r-pill); background: var(--well); }
.gauge span { position: relative; z-index: 1; padding: 9px 6px; text-align: center; font: 600 12.5px/1 var(--mono); letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); transition: color var(--d); }
.gauge i { position: absolute; z-index: 0; top: 4px; bottom: 4px; left: 4px; width: calc((100% - 16px) / 3); border-radius: var(--r-pill); background: var(--ink); transform: translateX(calc(var(--lv, 0) * (100% + 4px))); transition: transform 520ms var(--snap), background var(--d); }
.triage[data-level="0"] .gauge i { opacity: 0; }
.triage[data-level="1"] .gauge span:nth-of-type(1), .triage[data-level="2"] .gauge span:nth-of-type(2), .triage[data-level="3"] .gauge span:nth-of-type(3) { color: var(--paper); }
.triage[data-level="2"] .gauge i { background: var(--plum); }
.triage[data-level="3"] .gauge i { background: var(--red); }
.triage[data-level="2"] .gauge span:nth-of-type(2) { color: var(--on-plum); }
.triage[data-level="3"] .gauge span:nth-of-type(3) { color: var(--on-red); }
html.calm .gauge i { transition: none; }
.triage-out { display: grid; gap: 12px; padding: 16px 18px; border-radius: var(--r-m); background: var(--well); font: 500 15.5px/1.5 var(--body); color: var(--ink-2); }
.triage-out b { display: block; font: 600 19px/1.25 var(--display); color: var(--ink); }
.triage[data-level="3"] .triage-out { background: var(--red-soft); }
.triage[data-level="3"] .triage-out b { color: var(--red); }
.triage-out .actions { gap: 10px; }

/* ---------- the lookup: did they eat it? ---------- */
.lookup { display: grid; gap: 14px; padding: clamp(20px, 3vw, 30px); border-radius: var(--r-l); background: var(--card); box-shadow: var(--shadow-card), 0 0 0 1px var(--line); min-width: 0; }
.lookup-head { display: grid; gap: 4px; }
.lookup-head b { font: 600 22px/1.2 var(--display); letter-spacing: -0.02em; }
.lookup-head span { font: 500 14.5px/1.4 var(--body); color: var(--muted); }
.lookup-search { position: relative; }
.lookup-search input { width: 100%; min-height: 52px; padding: 12px 16px 12px 46px; border-radius: var(--r-pill); border: 1px solid color-mix(in srgb, var(--ink) 25%, var(--line)); background: var(--paper); font: 500 17px/1 var(--body); }
.lookup-search input:focus { outline: none; border-color: var(--focus); box-shadow: 0 0 0 3px color-mix(in srgb, var(--focus) 30%, transparent); }
.lookup-search::before { content: ""; position: absolute; left: 17px; top: 50%; width: 18px; height: 18px; margin-top: -9px; background: var(--muted); -webkit-mask: var(--paw-mask) center / contain no-repeat; mask: var(--paw-mask) center / contain no-repeat; }
.lookup-list { display: grid; gap: 0; max-height: 440px; overflow-y: auto; border-top: 1px solid var(--line); overscroll-behavior: contain; }
.lookup-list li { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 4px 12px; padding: 13px 2px; border-bottom: 1px solid var(--line); }
.lookup-list li b { font: 600 16.5px/1.3 var(--display); }
.lookup-list li p { grid-column: 1 / -1; font-size: 15px; color: var(--ink-2); }
.lookup-list li .who { font: 500 11.5px/1.3 var(--mono); letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); }
.lookup-list mark { background: var(--ball); color: var(--on-ball); border-radius: 3px; padding: 0 1px; }
.lvl { align-self: start; padding: 4px 9px; border-radius: var(--r-pill); font: 600 11px/1.2 var(--mono); letter-spacing: 0.06em; text-transform: uppercase; white-space: nowrap; }
.lvl-3 { background: var(--red); color: var(--on-red); }
.lvl-2 { background: var(--plum-soft); color: var(--plum); }
.lvl-1 { background: var(--well); color: var(--ink-2); box-shadow: inset 0 0 0 1px var(--line); }
.lookup-none { padding: 14px 16px; border-radius: var(--r-m); background: var(--well); font: 500 15.5px/1.5 var(--body); color: var(--ink-2); }
.lookup-count { font: 500 12px/1.2 var(--mono); letter-spacing: 0.06em; color: var(--muted); }

/* ---------- the planner ---------- */
.plan { display: grid; gap: 18px; padding: clamp(20px, 3vw, 30px); border-radius: var(--r-l); background: var(--card); box-shadow: var(--shadow-card), 0 0 0 1px var(--line); min-width: 0; }
.plan-head { display: flex; flex-wrap: wrap; gap: 14px 22px; align-items: end; justify-content: space-between; }
.plan-head .field { min-width: 210px; }
.plan-list { position: relative; display: grid; gap: 0; }
.plan-list::before { content: ""; position: absolute; left: 13px; top: 18px; bottom: 18px; width: 2px; background: repeating-linear-gradient(var(--line) 0 6px, transparent 6px 11px); }
.plan-list li { position: relative; display: grid; grid-template-columns: 28px minmax(0, 1fr) auto; gap: 2px 14px; align-items: center; padding: 12px 0; }
.plan-list li::before { content: ""; grid-row: 1 / span 2; width: 28px; height: 28px; border-radius: 50%; background: var(--card); box-shadow: inset 0 0 0 2px var(--line); }
.plan-list li b { font: 600 17px/1.3 var(--display); }
.plan-list li small { grid-column: 2; font: 500 14px/1.35 var(--body); color: var(--muted); }
.plan-list li time { grid-row: 1 / span 2; grid-column: 3; justify-self: end; text-align: right; font: 500 13.5px/1.35 var(--mono); color: var(--ink-2); }
.plan-list li time em { display: block; font-style: normal; font-size: 11.5px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); }
.plan-list li[data-state="past"] b, .plan-list li[data-state="past"] time { color: var(--muted); }
.plan-list li[data-state="past"]::before { background: var(--well) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 28 28'%3E%3Cpath d='M9 14.5l3.4 3.2L19 10.5' fill='none' stroke='%23645a6c' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 100% no-repeat; }
.plan-list li[data-state="next"]::before { background: var(--ball); box-shadow: 0 0 0 5px color-mix(in srgb, var(--ball) 40%, transparent); }
html:not(.calm) .plan-list li[data-state="next"]::before { animation: co-pulse 2s ease-in-out infinite; }
@keyframes co-pulse { 50% { box-shadow: 0 0 0 10px color-mix(in srgb, var(--ball) 10%, transparent); } }
.plan-list li[data-state="next"] time em { color: var(--plum); font-weight: 600; }
.plan-out { padding: 14px 18px; border-radius: var(--r-m); background: var(--plum-soft); font: 500 15.5px/1.5 var(--body); color: var(--ink); }
.plan-out b { color: var(--plum); }
.plan-note { font: 500 13.5px/1.5 var(--body); color: var(--muted); }
@media (max-width: 520px) { .plan-list li { grid-template-columns: 28px minmax(0, 1fr); } .plan-list li time { grid-row: auto; grid-column: 2; justify-self: start; text-align: left; } .plan-list li time em { display: inline; margin-left: 6px; } }

/* ---------- emergency ---------- */
.sos { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 18px; align-items: center; padding: 22px 26px; border-radius: var(--r-l); background: var(--red-soft); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--red) 35%, transparent); }
.sos-dot { position: relative; width: 16px; height: 16px; border-radius: 50%; background: var(--red); }
html:not(.calm) .sos-dot::after { content: ""; position: absolute; inset: -6px; border-radius: 50%; border: 2px solid var(--red); animation: co-ping 1.8s ease-out infinite; }
@keyframes co-ping { 0% { transform: scale(0.8); opacity: 0.9; } 100% { transform: scale(1.8); opacity: 0; } }
.sos b { display: block; font: 600 22px/1.2 var(--display); letter-spacing: -0.02em; }
.sos p { font-size: 15.5px; color: var(--ink-2); }
@media (max-width: 700px) { .sos { grid-template-columns: auto minmax(0, 1fr); } .sos .actions { grid-column: 1 / -1; } }

/* ---------- prices, team, cards, facts, notices ---------- */
.price-card { position: relative; display: grid; gap: 10px; align-content: start; padding: 24px; border-radius: var(--r-m); background: var(--card); box-shadow: var(--shadow-card), 0 0 0 1px var(--line); min-width: 0; }
.price-card .k { font: 500 11.5px/1.2 var(--mono); letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
.price-card h3 { font: 600 22px/1.2 var(--display); letter-spacing: -0.02em; }
.price-card .price { display: flex; align-items: baseline; gap: 8px; font: 700 34px/1 var(--display); letter-spacing: -0.03em; color: var(--ink); }
.price-card .price small { font: 500 13px/1.2 var(--mono); letter-spacing: 0.04em; color: var(--muted); }
.price-card p { font-size: 15.5px; color: var(--ink-2); }
.price-card ul { display: grid; gap: 6px; padding-top: 10px; border-top: 1px dashed var(--line); font-size: 15px; color: var(--ink-2); }
.price-card li { display: flex; gap: 8px; }
.price-card li::before { content: ""; flex: none; width: 12px; height: 12px; margin-top: 6px; background: var(--plum); -webkit-mask: var(--paw-mask) center / contain no-repeat; mask: var(--paw-mask) center / contain no-repeat; }
.price-card.pick { box-shadow: var(--shadow-card), 0 0 0 2px var(--plum); }
.price-card.pick::after { content: attr(data-pick); position: absolute; top: -12px; right: 18px; padding: 5px 10px; border-radius: var(--r-pill); background: var(--ball); color: var(--on-ball); font: 600 11px/1 var(--mono); letter-spacing: 0.08em; text-transform: uppercase; }
.person { display: grid; gap: 8px; align-content: start; padding: 22px; border-radius: var(--r-m); background: var(--card); box-shadow: var(--shadow-card), 0 0 0 1px var(--line); min-width: 0; }
.person .face { display: grid; place-items: center; width: 62px; height: 62px; border-radius: 50%; background: radial-gradient(circle at 34% 30%, var(--brass-hi), var(--brass) 60%, var(--brass-lo)); color: var(--brass-ink); font: 600 22px/1 var(--mono); }
.person h3 { font: 600 22px/1.2 var(--display); letter-spacing: -0.02em; }
.person .role { font: 500 11.5px/1.3 var(--mono); letter-spacing: 0.08em; text-transform: uppercase; color: var(--plum); }
.person p { font-size: 15.5px; color: var(--ink-2); }
.person .pets { font: 500 13.5px/1.4 var(--body); color: var(--ink-2); }
.person .pets b { font-weight: 700; }
.person .reg { font: 500 12.5px/1.4 var(--mono); color: var(--muted); }
.card { display: grid; gap: 10px; align-content: start; padding: 24px; border-radius: var(--r-m); background: var(--card); box-shadow: var(--shadow-card), 0 0 0 1px var(--line); min-width: 0; }
.card .k { font: 500 11.5px/1.2 var(--mono); letter-spacing: 0.1em; text-transform: uppercase; color: var(--plum); }
.card h3 { font: 600 22px/1.2 var(--display); letter-spacing: -0.02em; }
.card p { color: var(--ink-2); font-size: 16px; }
.facts { display: grid; grid-template-columns: repeat(var(--n, 4), minmax(0, 1fr)); gap: 0; border-block: 1px solid var(--line); }
.facts > div { display: grid; gap: 6px; align-content: start; padding: 22px 18px 22px 0; min-width: 0; }
.facts > div + div { padding-left: 18px; border-left: 1px solid var(--line); }
.facts .k { font: 500 11.5px/1.2 var(--mono); letter-spacing: 0.1em; text-transform: uppercase; color: var(--plum); }
.facts b { font: 600 22px/1.2 var(--display); letter-spacing: -0.02em; }
.facts p { font-size: 15.5px; color: var(--ink-2); }
.facts.stack { grid-template-columns: 1fr; }
.facts.stack > div + div { padding-left: 0; border-left: 0; border-top: 1px solid var(--line); }
@media (max-width: 900px) { .facts:not(.stack) { grid-template-columns: repeat(2, minmax(0, 1fr)); } .facts > div:nth-child(3) { padding-left: 0; border-left: 0; } }
@media (max-width: 480px) { .facts { grid-template-columns: 1fr; } .facts > div + div { padding-left: 0; border-left: 0; border-top: 1px solid var(--line); } }
.notice { display: grid; grid-template-columns: auto 1fr; gap: 6px 14px; padding: 18px 20px; border-radius: var(--r-m); background: var(--plum-soft); font-size: 16px; color: var(--ink-2); }
.notice svg { width: 20px; height: 20px; color: var(--plum); margin-top: 3px; }
.notice b { color: var(--ink); }

/* ---------- closing ---------- */
.close { padding-block: clamp(56px, 8vw, 100px); }
.close-card { position: relative; display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 0.7fr); gap: 30px; align-items: end; padding: clamp(30px, 5vw, 64px); border-radius: var(--r-l); background: #221a2b; color: #f4eff8; overflow: hidden; isolation: isolate; }
.close-card::before { content: ""; position: absolute; z-index: -1; right: 5%; top: -30px; width: 240px; height: 240px; background: #dcef5f; opacity: 0.1; -webkit-mask: var(--paw-mask) center / contain no-repeat; mask: var(--paw-mask) center / contain no-repeat; transform: rotate(-14deg); }
html:not(.calm) .close-card::before { animation: co-float 7s ease-in-out infinite alternate; }
@keyframes co-float { to { transform: translateY(16px) rotate(-4deg); } }
.close-card .h2 { color: #fff; }
.close-card .h2 em { color: var(--close-em, #dcef5f); background: none; }
.close-card p { color: #d9cfe3; max-width: 52ch; margin-top: 14px; }
.close-card .tag { color: #ab9fb8; }
.close-card .tag b { color: var(--close-em, #dcef5f); }
.close-card .tag::before { background: var(--close-em, #dcef5f); }
.close-card .btn-plum { background: #dcef5f; color: #221a2b; box-shadow: 0 4px 0 #a9c21c; }
.close-card .btn-plum:hover { background: #e8f58a; }
.close-card :focus-visible { outline-color: #fff; }
@media (max-width: 860px) { .close-card { grid-template-columns: 1fr; } }
/* ---------- FAQ ---------- */
.faq { display: grid; gap: 10px; max-width: 880px; }
.faq details { border-radius: var(--r-m); background: var(--card); box-shadow: 0 0 0 1px var(--line); }
.faq summary { list-style: none; cursor: pointer; display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 12px; padding: 18px 22px; font: 600 18px/1.35 var(--display); border-radius: var(--r-m); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; width: 26px; height: 26px; border-radius: 50%; border: 1.5px solid var(--line); background: linear-gradient(var(--plum), var(--plum)) center / 10px 1.6px no-repeat, linear-gradient(var(--plum), var(--plum)) center / 1.6px 10px no-repeat; transition: transform var(--d) var(--ease); }
.faq details[open] summary::after { transform: rotate(135deg); }
.faq details > div { padding: 0 22px 20px; color: var(--ink-2); max-width: 72ch; }

/* ---------- footer ---------- */
.foot { padding-block: 56px 30px; border-top: 1px solid var(--line); background: var(--well); }
.foot-grid { display: grid; grid-template-columns: minmax(0, 1.5fr) repeat(3, minmax(0, 1fr)); gap: 32px; }
.foot h4 { font: 500 var(--fs-label)/1.2 var(--mono); letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); margin-bottom: 14px; }
.foot ul { display: grid; gap: 9px; }
.foot a { text-decoration: none; color: var(--ink-2); }
.foot a:hover { color: var(--plum); }
.licence { margin-top: 28px; padding: 14px 16px; border-radius: var(--r-s); background: var(--card); box-shadow: 0 0 0 1px var(--line); font: 400 12px/1.7 var(--mono); color: var(--muted); }
.licence b { color: var(--ink); font-weight: 500; }
.foot-base { display: flex; flex-wrap: wrap; gap: 14px 24px; justify-content: space-between; align-items: center; margin-top: 22px; padding-top: 20px; border-top: 1px solid var(--line); font-size: 14.5px; color: var(--muted); }
.foot-switches { display: flex; flex-wrap: wrap; gap: 10px; }
@media (max-width: 860px) { .foot-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 480px) { .foot-grid { grid-template-columns: 1fr; } }

/* ---------- switch ---------- */
.switch { display: inline-flex; align-items: center; gap: 10px; padding: 6px 14px 6px 6px; border: 1px solid var(--line); border-radius: var(--r-pill); background: var(--card); cursor: pointer; font: 500 14.5px/1 var(--body); color: var(--ink-2); }
.switch .sw { position: relative; flex: none; width: 38px; height: 22px; border-radius: var(--r-pill); background: var(--well); box-shadow: inset 0 0 0 1px var(--line); transition: background var(--d-fast); }
.switch .sw::after { content: ""; position: absolute; top: 3px; left: 3px; width: 16px; height: 16px; border-radius: 50%; background: var(--card); box-shadow: 0 1px 2px rgba(0, 0, 0, 0.3); transition: transform var(--d) var(--ease); }
.switch[aria-checked="true"] .sw { background: var(--plum); box-shadow: none; }
.switch[aria-checked="true"] .sw::after { transform: translateX(16px); background: #fff; }

/* =====================================================================
   Multi-page kit
   ===================================================================== */
.page-head { position: relative; padding-block: clamp(30px, 4.5vw, 64px) clamp(34px, 4.5vw, 60px); border-bottom: 1px solid var(--line); overflow: clip; }

.page-head .wrap { position: relative; }
.page-head .h1 { font-size: clamp(38px, 5vw, 68px); margin-top: 16px; }
.page-head .lead { margin-top: 16px; }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; font: 500 11.5px/1.3 var(--mono); letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--plum); }
.crumbs span[aria-hidden] { opacity: 0.6; }

.field { display: grid; gap: 7px; align-content: start; min-width: 0; }
.field > span, .field-set > legend { font: 600 15.5px/1.25 var(--body); color: var(--ink); }
.field small, .field-set > legend small { color: var(--muted); font: 400 14px/1.35 var(--body); }
.field input, .field textarea, .field select { width: 100%; min-height: 50px; padding: 12px 15px; border-radius: var(--r-s); border: 1px solid color-mix(in srgb, var(--ink) 25%, var(--line)); background: var(--card); color: var(--ink); transition: box-shadow var(--d-fast), border-color var(--d-fast); }
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--focus); box-shadow: 0 0 0 3px color-mix(in srgb, var(--focus) 30%, transparent); }
.field [aria-invalid="true"] { border-color: var(--plum); box-shadow: 0 0 0 3px color-mix(in srgb, var(--plum) 20%, transparent); }
.field select { appearance: none; -webkit-appearance: none; padding-right: 44px; background-image: linear-gradient(45deg, transparent 50%, var(--ink) 50%), linear-gradient(-45deg, transparent 50%, var(--ink) 50%); background-size: 6px 6px; background-position: right 22px center, right 16px center; background-repeat: no-repeat; }
.fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.field-wide { grid-column: 1 / -1; }
@media (max-width: 620px) { .fields { grid-template-columns: 1fr; } }
fieldset.field-set { border: 0; padding: 0; margin: 0; min-width: 0; display: grid; gap: 10px; }
fieldset.field-set > legend { padding: 0; margin-bottom: 10px; }
fieldset.field-set > .seg { justify-self: start; }
.form-card { display: grid; gap: 22px; padding: clamp(22px, 3.5vw, 38px); border-radius: var(--r-l); background: var(--card); box-shadow: var(--shadow-card), 0 0 0 1px var(--line); }
.form-done { padding: 16px 18px; border-radius: var(--r-m); background: var(--plum-soft); color: var(--ink); font-weight: 600; }
.check { display: flex; gap: 12px; align-items: flex-start; font-size: 16px; color: var(--ink-2); cursor: pointer; }
.check input { flex: none; width: 20px; height: 20px; margin: 3px 0 0; accent-color: var(--plum); }

.choices { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 10px; }
.choice { position: relative; display: block; cursor: pointer; min-width: 0; }
.choice input { position: absolute; opacity: 0; pointer-events: none; }
.choice > span { display: grid; gap: 3px; height: 100%; padding: 15px 17px; border-radius: var(--r-m); border: 1px solid var(--line); background: var(--card); transition: border-color var(--d-fast), background var(--d-fast), box-shadow var(--d-fast); }
.choice > span b { font: 600 17px/1.2 var(--display); }
.choice > span small { color: var(--muted); font-size: 14.5px; }
.choice:hover > span { border-color: color-mix(in srgb, var(--ink) 40%, var(--line)); }
.choice input:checked + span { border-color: var(--plum); box-shadow: 0 0 0 1px var(--plum); background: color-mix(in srgb, var(--plum-soft) 45%, var(--card)); }
.choice input:focus-visible + span { outline: 3px solid var(--focus); outline-offset: 2px; }

.seg { display: inline-flex; flex-wrap: wrap; gap: 4px; padding: 4px; border-radius: var(--r-pill); border: 1px solid var(--line); background: var(--card); }
.seg button, .seg label { position: relative; padding: 9px 15px; border: 0; border-radius: var(--r-pill); background: transparent; cursor: pointer; font: 500 14.5px/1 var(--body); color: var(--ink-2); }
.seg input { position: absolute; opacity: 0; pointer-events: none; }
.seg button:hover, .seg label:hover { background: var(--well); }
.seg button[aria-pressed="true"], .seg label:has(input:checked) { background: var(--ink); color: var(--paper); }
.seg label:has(input:focus-visible) { outline: 3px solid var(--focus); outline-offset: 2px; }

input.range { --p: 50%; appearance: none; -webkit-appearance: none; width: 100%; height: 6px; border-radius: 3px; background: linear-gradient(90deg, var(--plum) 0 var(--p), var(--line) var(--p) 100%); cursor: pointer; }
input.range::-webkit-slider-thumb { -webkit-appearance: none; width: 22px; height: 22px; border-radius: 50%; background: var(--card); border: 2px solid var(--plum); box-shadow: var(--shadow-card); }
input.range::-moz-range-thumb { width: 20px; height: 20px; border-radius: 50%; background: var(--card); border: 2px solid var(--plum); }

.table { overflow-x: auto; border-radius: var(--r-m); background: var(--card); box-shadow: 0 0 0 1px var(--line); }
.table table { width: 100%; border-collapse: collapse; font-size: 16px; }
.table caption { caption-side: bottom; text-align: left; padding: 12px 18px; font: 400 12px/1.5 var(--mono); color: var(--muted); }
.table th, .table td { padding: 14px 18px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
.table tr:last-child > * { border-bottom: 0; }
.table thead th { font: 500 10.5px/1.2 var(--mono); letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); background: var(--well); border-bottom: 1px solid var(--line); }
.table tbody th { font: 600 16.5px/1.35 var(--display); }
.table td { color: var(--ink-2); }
.table .r { text-align: right; font-family: var(--mono); font-variant-numeric: tabular-nums; white-space: nowrap; }
@media (max-width: 680px) {
  .table.stack table, .table.stack tbody, .table.stack tr, .table.stack td, .table.stack th { display: block; }
  .table.stack table { display: flex; flex-direction: column; }
  .table.stack caption { display: block; order: 1; }
  .table.stack thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .table.stack tr { padding: 12px 16px; border-bottom: 1px solid var(--line); }
  .table.stack td, .table.stack th { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: 12px; border: 0; padding: 4px 0; text-align: left !important; }
  .table.stack th[scope="row"] { display: block; }
  .table.stack td::before { content: attr(data-label); font: 500 10.5px/1.5 var(--mono); letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
}

.field input.range { min-height: 0; height: 6px; padding: 0; border: 0; margin: 14px 0 8px; box-shadow: none; background: linear-gradient(90deg, var(--plum) 0 var(--p), var(--line) var(--p) 100%); }



/* ---------- reveal on scroll ---------- */
.js [data-enter] { opacity: 0; transform: translateY(16px); transition: opacity 650ms var(--ease), transform 650ms var(--ease); }
.js [data-enter].entered { opacity: 1; transform: none; }
html.calm [data-enter] { opacity: 1 !important; transform: none !important; transition: none !important; }

@media print { .nav, .foot-switches, .menu-btn, .site-menu, .ball { display: none !important; } body { background: #fff; } }
