/* ==========================================================================
   Peelisse v3.0 — "Caliza al atardecer". One stylesheet: tokens + base + shared
   components + page sections. Source: build/src/css/p3.css; published as
   /css/p3-<hash12>.css by build/tools/version_assets.py (never edit the published copy).
   Based on web/tokens.css and web/prototype/p3-components.css (DESIGN_SYSTEM_V3.md).
   Text colour pairs: only the pairs in DESIGN_SYSTEM_V3.md §2.2 (WCAG AA).
   ========================================================================== */

@property --p { syntax: "<number>"; inherits: true; initial-value: 0; }

/* QA 1-nov: metric-matched local fallbacks, so the swap to the Google Fonts does not reflow the hero
   (measured CLS up to 0.08 on /es/ at 1440 px when the fonts arrived after first paint). Values measured in
   Chromium with canvas measureText on a mixed EN/ES sample. */
@font-face { font-family: "Cormorant Fallback"; src: local("Georgia"); font-style: normal; size-adjust: 88.1%; ascent-override: 104.4%; descent-override: 32.9%; line-gap-override: 0%; }
@font-face { font-family: "Cormorant Fallback"; src: local("Georgia Italic"), local("Georgia-Italic"); font-style: italic; size-adjust: 78.6%; ascent-override: 117%; descent-override: 36.9%; line-gap-override: 0%; }
@font-face { font-family: "Outfit Fallback"; src: local("Arial"), local("ArialMT"); size-adjust: 97.4%; ascent-override: 102.7%; descent-override: 26.7%; line-gap-override: 0%; }

:root {
  --caliza-50: #FBF7F1; --caliza-100: #F5EEE3; --caliza-200: #EDE2D2; --caliza-300: #DFCDB6; --caliza-400: #C9B193;
  --ink-900: #2B1D15; --ink-700: #4A372B; --ink-600: #6A5444; --ink-line: #8C7563;
  --terra-700: #8E3F22; --terra-600: #A24A2A; --terra-500: #B95A36; --terra-300: #E2A27F; --terra-100: #F6DDCC;
  --sun-honey: #F2C27B; --sun-apricot: #F2A97E; --sun-coral: #E3805F; --sun-rose: #C96F70; --sun-dusk: #8D6A8F;
  --sea-900: #13263A; --sea-800: #1C3550; --sea-600: #2F5673; --sea-200: #BFD3DD;
  --olive-700: #5B6043; --olive-200: #DADDC6;
  --ok-700: #3F6B4A; --err-700: #9B2C2C;

  --bg: var(--caliza-100); --bg-raised: var(--caliza-50); --bg-sunk: var(--caliza-200);
  --text: var(--ink-900); --text-2: var(--ink-700); --text-muted: var(--ink-600);
  --link: var(--terra-700); --accent: var(--terra-600); --accent-press: var(--terra-700); --on-accent: #FFFFFF;
  --border: var(--ink-line); --hairline: rgb(43 29 21 / 0.14);
  --focus: var(--terra-600); --selected-wash: var(--terra-100);

  --sunset: linear-gradient(180deg, var(--sun-honey) 0%, var(--sun-apricot) 36%, var(--sun-coral) 66%, var(--sun-rose) 88%, var(--sun-dusk) 100%);
  --sunset-warm: linear-gradient(180deg, var(--sun-honey) 0%, var(--sun-apricot) 55%, var(--sun-coral) 100%);
  --sunset-horizontal: linear-gradient(90deg, var(--sun-honey), var(--sun-apricot) 40%, var(--sun-coral) 75%, var(--sun-rose));
  --sunset-soft: linear-gradient(170deg, #FCEBD6 0%, #F9DCC4 42%, #F3C6AE 78%, #ECB5A4 100%);
  --sun-rake: radial-gradient(120% 90% at 8% 0%, rgb(242 194 123 / 0.55) 0%, rgb(242 169 126 / 0.18) 38%, transparent 70%);
  --grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .17 0 0 0 0 .11 0 0 0 0 .08 0 0 0 .5 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  --grain-opacity: 0.16;

  --font-display: "Cormorant Garamond", "Cormorant", "Cormorant Fallback", Georgia, "Times New Roman", serif;
  --font-sans: "Outfit", "Outfit Fallback", "Helvetica Neue", Arial, system-ui, sans-serif;
  --step--1: clamp(0.875rem, 0.85rem + 0.11vw, 0.9375rem);
  --step-0: clamp(1.0625rem, 1.02rem + 0.19vw, 1.1875rem);
  --step-1: clamp(1.25rem, 1.16rem + 0.37vw, 1.5rem);
  --step-2: clamp(1.5rem, 1.31rem + 0.83vw, 2.125rem);
  --step-3: clamp(2rem, 1.63rem + 1.67vw, 3.25rem);
  --step-4: clamp(2.5rem, 1.94rem + 2.5vw, 4.25rem);
  --step-5: clamp(2.75rem, 1.9rem + 3.9vw, 5.5rem);
  --eyebrow-size: 0.8125rem; --eyebrow-track: 0.12em;
  --lh-tight: 1.04; --lh-snug: 1.18; --lh-body: 1.6;
  --track-hero: -0.035em; --track-h2: -0.025em;
  --measure: 62ch;

  --space-1: 4px; --space-2: 8px; --space-3: 12px; --space-4: 16px; --space-5: 24px; --space-6: 32px;
  --space-7: 48px; --space-8: 64px; --space-9: 96px; --space-10: 128px;
  --section-y: clamp(64px, 5.5vw + 44px, 128px);
  --gutter: clamp(16px, 3.5vw, 48px);
  --content: 1240px; --nav-h: 68px; --sticky-cta-h: 72px;
  --radius-1: 6px; --radius-2: 12px; --radius-3: 20px; --radius-4: 28px; --radius-pill: 999px;
  --shadow-1: 0 1px 2px rgb(43 29 21 / 0.06), 0 2px 8px rgb(43 29 21 / 0.05);
  --shadow-2: 0 12px 32px -12px rgb(43 29 21 / 0.22);
  --shadow-sun: 0 30px 60px -24px rgb(227 128 95 / 0.40);
  --dur-1: 120ms; --dur-2: 200ms; --dur-3: 320ms; --dur-4: 600ms; --dur-5: 900ms;
  --ease-out: cubic-bezier(0.2, 0.7, 0.2, 1); --ease-press: cubic-bezier(0.3, 0, 0.2, 1);
  --reveal-distance: 18px;
  --target: 44px; --focus-ring: 3px solid var(--focus); --focus-offset: 3px;
  color-scheme: light;
}

[data-theme="night"] {
  --bg: var(--sea-900); --bg-raised: var(--sea-800); --bg-sunk: #0E1D2D;
  --text: var(--caliza-100); --text-2: var(--sea-200); --text-muted: var(--sea-200);
  --link: var(--sun-apricot); --accent: var(--sun-apricot); --accent-press: var(--sun-honey); --on-accent: var(--ink-900);
  --border: rgb(191 211 221 / 0.55); --hairline: rgb(191 211 221 / 0.18);
  --focus: var(--sun-honey); --selected-wash: rgb(242 169 126 / 0.14);
  color-scheme: dark; background: var(--bg); color: var(--text);
}

/* Reduced motion (OS) and the on-page "Pause animations" control share one switch. */
@media (prefers-reduced-motion: reduce) {
  :root { --dur-1: 1ms; --dur-2: 1ms; --dur-3: 1ms; --dur-4: 1ms; --dur-5: 1ms; --reveal-distance: 0px; }
}
html[data-motion="paused"] { --dur-1: 1ms; --dur-2: 1ms; --dur-3: 1ms; --dur-4: 1ms; --dur-5: 1ms; --reveal-distance: 0px; }
html[data-motion="paused"] *, html[data-motion="paused"] *::before, html[data-motion="paused"] *::after { animation: none !important; transition: none !important; }

@media (prefers-contrast: more) { :root { --grain-opacity: 0; --hairline: rgb(43 29 21 / 0.4); --border: var(--ink-700); } }

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: calc(var(--nav-h) + 12px); }
@media (prefers-reduced-motion: no-preference) { html:not([data-motion="paused"]) { scroll-behavior: smooth; } }
body { margin: 0; background: var(--bg); color: var(--text); font: 400 var(--step-0)/var(--lh-body) var(--font-sans); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
img, svg, video, canvas { display: block; max-width: 100%; height: auto; }
a { color: var(--link); text-underline-offset: 0.2em; text-decoration-thickness: 1px; }
:focus-visible { outline: var(--focus-ring); outline-offset: var(--focus-offset); border-radius: 4px; }
::selection { background: var(--sun-honey); color: var(--ink-900); }
p, ul, ol, dl, dd, figure, blockquote { margin: 0; }
ul[role="list"], ol[role="list"] { list-style: none; padding: 0; }
button, input, select, textarea { font: inherit; color: inherit; }
.vh { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
/* Crystal Glass: the keyword H1 lives here, off-screen and aria-hidden. Never visible. */
.siil-seo-hidden-bedrock { position: absolute !important; left: -9999px; top: auto; width: 1px; height: 1px; overflow: hidden; }
.skip-link { position: absolute; left: var(--gutter); top: -100px; z-index: 100; padding: 12px 18px; border-radius: var(--radius-2); background: var(--ink-900); color: var(--caliza-50); text-decoration: none; }
.skip-link:focus { position: fixed; top: 10px; } /* QA 1-nov: fixed while focused, so it shows at once even when the page is scrolled */

/* ---------- Layout ---------- */
.wrap { width: min(100% - 2 * var(--gutter), var(--content)); margin-inline: auto; }
.wrap--narrow { width: min(100% - 2 * var(--gutter), 860px); margin-inline: auto; }
.section { padding-block: var(--section-y); }
.section--raised { background: var(--bg-raised); }
.section--sunk { background: var(--bg-sunk); }
.section--olive { background: var(--olive-200); }
/* Lighter than --sunset-soft so ink-600 small text keeps >= 4.5:1 at the bottom of tall sections (4.8:1 on #F5CDB6). */
.section--soft { background: linear-gradient(170deg, #FCEBD6 0%, #F9DCC4 55%, #F5CDB6 100%); }
.section-head { display: grid; gap: var(--space-3); max-width: 780px; }
.section-head--center { margin-inline: auto; text-align: center; justify-items: center; }
.split { display: grid; gap: var(--space-7); }
@media (min-width: 900px) { .split { grid-template-columns: 1fr 1fr; align-items: center; gap: var(--space-8); } .split--rev > :first-child { order: 2; } .split--top { align-items: start; } .split--top > .media { position: sticky; top: calc(var(--nav-h) + 24px); } }

/* ---------- Type ---------- */
.eyebrow { font: 500 var(--eyebrow-size)/1.4 var(--font-sans); letter-spacing: var(--eyebrow-track); text-transform: uppercase; color: var(--text-muted); }
.status { display: inline-flex; align-items: center; gap: 10px; }
.status::before { content: ""; flex: none; width: 8px; height: 8px; border-radius: 50%; background: var(--olive-700); box-shadow: 0 0 0 4px rgb(91 96 67 / 0.15); }
[data-theme="night"] .status::before { background: var(--sun-apricot); box-shadow: 0 0 0 4px rgb(242 169 126 / 0.18); }
.two-voice { font-family: var(--font-sans); font-weight: 400; letter-spacing: var(--track-hero); line-height: var(--lh-tight); text-wrap: balance; }
.two-voice em { font: italic 500 1.06em/0.95 var(--font-display); letter-spacing: -0.02em; }
/* Crystal Glass headings: <p class="bp-h1|bp-h2|bp-h3" role="heading" aria-level="1|2|3">. On /spray/
   and trust pages the same classes sit on real <h1>/<h2>/<h3>. */
.bp-h1, .bp-h2, .bp-h3 { margin: 0; font-weight: 400; }
.bp-h1 { font-size: var(--step-4); }
.bp-h2 { font-size: var(--step-3); }
.bp-h3 { font: 400 var(--step-2)/var(--lh-snug) var(--font-sans); letter-spacing: var(--track-h2); }
.bp-h3 em { font: italic 500 1.08em/1 var(--font-display); }
.lead { font-size: var(--step-1); line-height: 1.5; color: var(--text-2); max-width: var(--measure); text-wrap: pretty; }
.prose { max-width: var(--measure); color: var(--text-2); text-wrap: pretty; }
.prose > * + * { margin-top: var(--space-4); }
.fine { font-size: var(--step--1); color: var(--text-muted); text-wrap: pretty; }
.note-marker { display: inline-flex; align-items: center; gap: 8px; font-size: var(--step--1); color: var(--olive-700); font-weight: 500; }
.note-marker::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--olive-700); flex: none; }
.foot-ref { font-size: 0.75em; vertical-align: super; line-height: 0; }
.foot-ref a { text-decoration: none; }

/* ---------- Buttons & links ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: var(--space-3); min-height: 52px; padding: 14px 26px; border-radius: var(--radius-pill); border: 1px solid transparent; font: 500 1rem/1.2 var(--font-sans); text-decoration: none; cursor: pointer; white-space: nowrap; transition: background var(--dur-2) var(--ease-out), transform var(--dur-1) var(--ease-press), box-shadow var(--dur-2); }
.btn--primary { background: var(--accent); color: var(--on-accent); }
.btn--primary:hover { background: var(--accent-press); }
.btn--primary:active { transform: translateY(1px) scale(0.99); }
.btn--ghost { background: transparent; color: var(--text); border-color: var(--border); }
.btn--ghost:hover { background: var(--bg-sunk); }
.btn--sm { min-height: var(--target); padding: 10px 18px; font-size: 0.95rem; }
.btn[disabled] { opacity: 0.7; cursor: progress; }
.link-arrow { display: inline-flex; align-items: center; min-height: var(--target); gap: 8px; color: var(--text); text-decoration: underline; text-decoration-color: var(--border); text-underline-offset: 6px; }
.link-arrow:hover { text-decoration-color: currentColor; }
.ctas { display: flex; flex-wrap: wrap; gap: var(--space-3) var(--space-5); align-items: center; }

/* ---------- Header / nav ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: rgb(245 238 227 / 0.92); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); border-bottom: 1px solid var(--hairline); }
.site-header__bar { height: var(--nav-h); display: flex; align-items: center; gap: var(--space-4); padding-inline: var(--gutter); max-width: 1600px; margin-inline: auto; }
.brand { font: 500 30px/1 var(--font-display); letter-spacing: -0.03em; color: var(--text); text-decoration: none; min-height: var(--target); display: inline-flex; align-items: center; }
.site-nav { margin-left: auto; }
.site-nav__list { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: var(--space-2); }
.site-nav__list > li > a, .site-nav__sub-btn { display: inline-flex; align-items: center; gap: 6px; min-height: var(--target); padding: 0 10px; border: 0; border-radius: var(--radius-pill); background: none; color: var(--text); font-size: 0.97rem; text-decoration: none; cursor: pointer; }
.site-nav__list > li > a:hover, .site-nav__sub-btn:hover { background: rgb(43 29 21 / 0.05); }
.site-nav__list a[aria-current="page"] { text-decoration: underline; text-decoration-color: var(--terra-500); text-decoration-thickness: 2px; text-underline-offset: 8px; }
.site-nav__sub-btn::after { content: ""; width: 7px; height: 7px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: translateY(-2px) rotate(45deg); transition: transform var(--dur-2); }
.site-nav__sub-btn[aria-expanded="true"]::after { transform: translateY(2px) rotate(-135deg); }
.site-nav__has-sub { position: relative; }
.site-nav__sub { list-style: none; margin: 0; padding: var(--space-2); display: none; }
.site-nav__sub.is-open { display: grid; }
.site-nav__sub a { display: grid; gap: 2px; min-height: var(--target); padding: 10px 14px; border-radius: var(--radius-2); color: var(--text); text-decoration: none; }
.site-nav__sub a:hover { background: var(--bg-sunk); }
.site-nav__sub a span { font-weight: 500; }
.site-nav__sub a small { font-size: var(--step--1); color: var(--text-muted); }
.site-nav__sub a[aria-current="page"] span { text-decoration: underline; text-decoration-color: var(--terra-500); text-underline-offset: 6px; }
.nav-tag { display: inline-block; margin-left: 6px; padding: 0 6px; border-radius: var(--radius-pill); border: 1px solid var(--border); font-size: 0.72rem; line-height: 1.5; color: var(--text-muted); vertical-align: 2px; }
.site-header__tools { display: flex; align-items: center; gap: var(--space-2); }
.lang-switch { display: inline-flex; align-items: center; border: 1px solid var(--hairline); border-radius: var(--radius-pill); padding: 2px; }
.lang-switch a { display: inline-flex; align-items: center; justify-content: center; min-width: 40px; min-height: 40px; padding: 0 8px; border-radius: var(--radius-pill); color: var(--text-2); font-size: 0.85rem; font-weight: 500; text-decoration: none; letter-spacing: 0.06em; }
.lang-switch a[aria-current="true"] { background: var(--ink-900); color: var(--caliza-50); }
.menu-btn { display: inline-flex; align-items: center; gap: 8px; min-height: var(--target); padding: 0 14px; border: 1px solid var(--border); border-radius: var(--radius-pill); background: var(--bg-raised); cursor: pointer; font-size: 0.95rem; }
.menu-btn__icon { width: 16px; height: 10px; border-top: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; position: relative; }
.menu-btn[aria-expanded="true"] .menu-btn__icon { border-color: transparent; }
.menu-btn[aria-expanded="true"] .menu-btn__icon::before, .menu-btn[aria-expanded="true"] .menu-btn__icon::after { content: ""; position: absolute; left: 0; right: 0; top: 4px; border-top: 1.5px solid currentColor; transform: rotate(45deg); }
.menu-btn[aria-expanded="true"] .menu-btn__icon::after { transform: rotate(-45deg); }
.site-nav__join { display: none; }
.site-header__join { display: none; }

@media (max-width: 899.98px) {
  .site-nav { position: absolute; left: 0; right: 0; top: var(--nav-h); margin: 0; max-height: calc(100svh - var(--nav-h)); overflow-y: auto; background: var(--caliza-50); border-bottom: 1px solid var(--hairline); box-shadow: var(--shadow-2); padding: var(--space-3) var(--gutter) var(--space-6); display: none; }
  .site-header.is-open .site-nav { display: block; }
  .site-nav__list { flex-direction: column; align-items: stretch; gap: 0; }
  .site-nav__list > li > a, .site-nav__sub-btn { width: 100%; justify-content: space-between; min-height: 52px; padding: 0 4px; border-radius: 0; border-bottom: 1px solid var(--hairline); font-size: 1.125rem; }
  .site-nav__sub { padding: var(--space-2) 0 var(--space-3); border-bottom: 1px solid var(--hairline); }
  .site-nav__join { display: block; margin-top: var(--space-5); }
  .site-nav__join .btn { width: 100%; }
  .site-header__tools { margin-left: auto; }
}
@media (min-width: 900px) {
  .menu-btn { display: none; }
  .site-header__join { display: inline-flex; }
  .site-nav__sub { position: absolute; top: calc(100% + 10px); left: -12px; width: 300px; background: var(--caliza-50); border: 1px solid var(--hairline); border-radius: var(--radius-3); box-shadow: var(--shadow-2); }
}

/* ---------- Media ---------- */
.media { position: relative; margin: 0; overflow: hidden; border-radius: var(--radius-3); background: var(--caliza-300); }
.media img { width: 100%; height: 100%; object-fit: cover; }
.media--45 { aspect-ratio: 4 / 5; }
.media--32 { aspect-ratio: 3 / 2; }
.media--11 { aspect-ratio: 1 / 1; }
.media.grain::after, .grain::after { content: ""; position: absolute; inset: 0; pointer-events: none; background-image: var(--grain); opacity: var(--grain-opacity); mix-blend-mode: multiply; z-index: 1; border-radius: inherit; }
.grain { position: relative; isolation: isolate; }
.media-caption { margin-top: var(--space-3); font-size: var(--step--1); color: var(--text-muted); }

/* ---------- Hero ---------- */
.hero { position: relative; display: grid; gap: var(--space-6); padding-block: var(--space-6) var(--space-8); background: var(--sun-rake), var(--bg); overflow: clip; }
.hero__copy { padding-inline: var(--gutter); display: grid; gap: var(--space-4); align-content: center; }
.hero__title { font-size: var(--step-5); }
.hero__title--page { font-size: var(--step-4); }
.hero__sub { font-size: var(--step-1); line-height: 1.5; color: var(--text-2); max-width: 36ch; text-wrap: pretty; }
.hero__media { margin-inline: var(--gutter); aspect-ratio: 4 / 5; box-shadow: var(--shadow-sun); }
.hero__meta { display: grid; gap: 6px; }
.hero__form { margin-top: var(--space-2); }
.hero__aside { margin-inline: var(--gutter); min-width: 0; }
.hero__aside > .media { box-shadow: var(--shadow-sun); }
.value-line { max-width: var(--measure); color: var(--text-2); }
.value-line strong { color: var(--text); font-weight: 500; }
@media (min-width: 900px) {
  .hero { grid-template-columns: 1.04fr 1fr; align-items: center; min-height: min(880px, calc(100svh - var(--nav-h))); padding-block: var(--space-7); gap: var(--space-7); }
  .hero__copy { padding-left: max(var(--gutter), calc((100vw - var(--content)) / 2)); padding-right: 0; }
  .hero__media { margin: 0 var(--gutter) 0 0; max-height: 80svh; justify-self: stretch; }
  .hero__aside { margin: 0 var(--gutter) 0 0; }
  .hero__aside.gallery { width: min(100% - var(--gutter), calc(74svh * 0.8)); justify-self: center; margin: 0; }
}
@media (prefers-reduced-motion: no-preference) {
  html:not([data-motion="paused"]) .hero__copy > * { animation: rise var(--dur-5) var(--ease-out) both; }
  html:not([data-motion="paused"]) .hero__copy > :nth-child(2) { animation-delay: 60ms; }
  html:not([data-motion="paused"]) .hero__copy > :nth-child(3) { animation-delay: 120ms; }
  html:not([data-motion="paused"]) .hero__copy > :nth-child(n+4) { animation-delay: 180ms; }
}
@keyframes rise { from { opacity: 0; transform: translateY(var(--reveal-distance)); } to { opacity: 1; transform: none; } }

/* Scroll reveals: CSS scroll-driven where supported; visible from the start everywhere else. */
.reveal { opacity: 1; }
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    html:not([data-motion="paused"]) .reveal { animation: rise linear both; animation-timeline: view(); animation-range: entry 0% entry 55%; }
  }
}

/* ---------- Cross-document View Transitions ---------- */
@view-transition { navigation: auto; }
::view-transition-old(root), ::view-transition-new(root) { animation-duration: 260ms; animation-timing-function: var(--ease-out); }
.vt-product { view-transition-name: product-can; }
@media (prefers-reduced-motion: reduce) { @view-transition { navigation: none; } }

/* ---------- List form (G-FORM) ---------- */
.list-form { display: grid; gap: var(--space-3); max-width: 560px; }
.list-form__row { display: grid; gap: var(--space-3); }
@media (min-width: 560px) { .list-form__row { grid-template-columns: 1fr auto; } }
.list-form input[type="email"] { width: 100%; min-height: 54px; padding: 12px 18px; border-radius: var(--radius-pill); border: 1px solid var(--ink-700); background: rgb(251 247 241 / 0.94); color: var(--ink-900); font-size: 1.0625rem; }
.list-form input[type="email"]::placeholder { color: var(--ink-600); opacity: 1; }
.list-form .btn { min-height: 54px; }
.list-form__picks { display: grid; gap: var(--space-4); border: 0; margin: 0 0 var(--space-2); padding: 0; }
.list-form__group { border: 0; margin: 0; padding: 0; min-width: 0; }
.list-form__group legend { padding: 0; margin-bottom: var(--space-2); font-size: var(--step--1); font-weight: 500; color: var(--ink-900); }
.list-form__optional { font-weight: 400; color: inherit; }
.list-form__consent { display: flex; gap: 12px; align-items: flex-start; font-size: var(--step--1); color: var(--ink-900); line-height: 1.45; cursor: pointer; }
.list-form__consent input { flex: none; width: 22px; height: 22px; margin: 1px 0 0; accent-color: var(--ink-900); cursor: pointer; }
.list-form__consent[hidden] { display: none; }
.consent-line { font-size: var(--step--1); color: var(--text-muted); max-width: 60ch; text-wrap: pretty; }
.consent-line a { color: inherit; }
.form-note { font-size: var(--step--1); font-weight: 500; padding: 10px 14px; border-radius: var(--radius-2); background: rgb(251 247 241 / 0.9); color: var(--ink-900); max-width: 60ch; }
.form-note.is-ok { border-left: 4px solid var(--ok-700); }
.form-note.is-err { border-left: 4px solid var(--err-700); color: var(--err-700); }
.form-note:empty { display: none; }
.form-note[hidden] { display: none; }

/* Chips (radio/checkbox pills): calculator uses, join picks, club rhythms. */
.chips { display: flex; flex-wrap: wrap; gap: var(--space-2); }
.chip { position: relative; display: inline-flex; align-items: center; min-height: var(--target); padding: 8px 16px; border-radius: var(--radius-pill); border: 1px solid var(--border); background: transparent; cursor: pointer; font-size: 0.97rem; line-height: 1.2; }
.chip input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.chip:has(input:checked) { background: var(--ink-900); color: var(--caliza-50); border-color: var(--ink-900); }
.chip:has(input:focus-visible) { outline: var(--focus-ring); outline-offset: 2px; }
.join .chip { border-color: var(--ink-700); background: rgb(251 247 241 / 0.55); }
.join .chip:has(input:checked) { background: var(--ink-900); }

/* ---------- Join band (#reserve) ---------- */
.join { background: var(--sunset-warm); color: var(--ink-900); border-radius: var(--radius-4); padding: var(--space-7) var(--space-5); display: grid; gap: var(--space-5); }
.join .eyebrow, .join .lead, .join .fine, .join .consent-line { color: var(--ink-900); }
.join__grid { display: grid; gap: var(--space-6); }
.join__copy { display: grid; gap: var(--space-3); align-content: start; }
@media (min-width: 640px) { .join { padding: var(--space-8); } }
@media (min-width: 1000px) { .join__grid { grid-template-columns: 1fr 1.1fr; align-items: start; gap: var(--space-8); } }
.join__points { list-style: none; padding: 0; display: grid; gap: var(--space-2); }
.join__points li { display: flex; gap: 10px; align-items: baseline; }
.join__points li::before { content: ""; flex: none; width: 7px; height: 7px; border-radius: 50%; background: var(--ink-900); transform: translateY(-2px); }

/* ---------- Spray demo (night) ---------- */
.spray-sec { padding-block: var(--section-y); }
.spray__grid { display: grid; gap: var(--space-7); }
.spray__stage { position: relative; aspect-ratio: 16 / 11; border-radius: var(--radius-3); overflow: hidden; background: #E1AC88; box-shadow: var(--shadow-sun); }
.spray__stage canvas { width: 100%; height: 100%; touch-action: none; -webkit-user-select: none; user-select: none; }
.spray__stage .spray__still { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
[data-spray].is-live .spray__still { display: none; }
.spray__controls { display: flex; flex-direction: column; align-items: flex-start; gap: var(--space-3); margin-top: var(--space-5); }
.spray-btn { position: relative; display: inline-flex; align-items: center; gap: var(--space-4); min-height: 64px; padding: 10px 28px 10px 10px; border-radius: var(--radius-pill); border: 1px solid var(--border); background: var(--bg-raised); color: var(--text); font: 500 1.0625rem/1 var(--font-sans); cursor: pointer; touch-action: none; -webkit-user-select: none; user-select: none; -webkit-touch-callout: none; transition: transform var(--dur-1) var(--ease-press), background var(--dur-2); }
.spray-btn__dot { width: 44px; height: 44px; border-radius: 50%; background: var(--accent); box-shadow: inset 0 -3px 0 rgb(0 0 0 / 0.18); transition: transform var(--dur-1) var(--ease-press); }
[data-state="spraying"] .spray-btn { transform: scale(0.985); background: var(--selected-wash); }
[data-state="spraying"] .spray-btn__dot { transform: scale(0.88); }
[data-spray]:not(.is-live) .spray-btn { display: none; }
.facts-list { list-style: none; padding: 0; margin-top: var(--space-6); display: grid; gap: var(--space-4); }
.facts-list li { display: grid; gap: 2px; padding-top: var(--space-4); border-top: 1px solid var(--hairline); }
.facts-list b { font-weight: 500; }
.facts-list span { color: var(--text-2); }
@media (min-width: 900px) { .spray__grid { grid-template-columns: 1.25fr 1fr; align-items: center; gap: var(--space-8); } }

/* ---------- The leave: scroll visual ---------- */
.leave { position: relative; height: 240vh; }
.leave__sticky { position: sticky; top: 0; height: 100vh; height: 100svh; display: grid; align-content: center; gap: var(--space-5); justify-items: center; overflow: clip; padding-inline: var(--gutter); text-align: center; }
.leave__stage { --lift: clamp(0, calc((var(--p) - 0.56) / 0.4), 1); --wet: clamp(0, calc((var(--p) - 0.1) * 3.2), 1); --jet: clamp(0, min(calc((var(--p) - 0.04) * 9), calc((0.46 - var(--p)) * 9)), 1);
  position: relative; width: min(560px, 100%); aspect-ratio: 16 / 10; container-type: inline-size; border-radius: var(--radius-4); background: radial-gradient(120% 120% at 15% 0%, #F2CFB2 0%, #E2AE8B 55%, #CD9471 100%); box-shadow: var(--shadow-sun); overflow: hidden; }
.leave__wet { position: absolute; left: 62%; top: 10%; width: 30%; height: 40%; background: radial-gradient(50% 50% at 50% 50%, rgb(255 248 236 / 0.85), transparent 72%); opacity: var(--wet); }
.leave__patch { --c: calc(var(--lift) * 22cqi); position: absolute; left: 20%; top: 22%; width: 60%; height: 56%; border-radius: 12px; background: repeating-linear-gradient(0deg, rgb(120 90 60 / 0.06) 0 1px, transparent 1px 5px), linear-gradient(160deg, #F6EEE2, #E9DCCB); box-shadow: 0 6px 14px -6px rgb(80 40 20 / 0.3); clip-path: polygon(0 0, calc(100% - var(--c)) 0, 100% var(--c), 100% 100%, 0 100%); }
.leave__flap-wrap { position: absolute; left: 20%; top: 22%; width: 60%; height: 56%; pointer-events: none; filter: drop-shadow(-4px 6px 6px rgb(70 35 18 / calc(var(--lift) * 0.35))); }
.leave__flap { --c: calc(var(--lift) * 22cqi); position: absolute; top: 0; right: 0; width: var(--c); height: var(--c); clip-path: polygon(0 0, 100% 100%, 0 100%); background: linear-gradient(135deg, #FFF8EE 0%, #EADBC8 60%, #D6C1A7 100%); }
.leave__jet { position: absolute; left: 4%; top: 6%; width: 78%; height: 22%; opacity: var(--jet); pointer-events: none; }
.leave__jet::before { content: ""; position: absolute; left: 0; top: 0; width: 34px; height: 46px; border-radius: 10px 10px 4px 4px; background: linear-gradient(90deg, #B95A36, #8E3F22); }
.leave__jet::after { content: ""; position: absolute; left: 34px; top: 12px; right: 0; height: 3px; border-radius: 3px; background: linear-gradient(90deg, rgb(255 244 226 / 0.95), rgb(242 169 126 / 0.5)); transform-origin: left center; transform: rotate(9deg); box-shadow: 0 0 10px rgb(255 226 190 / 0.6); }
.leave__steps { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: var(--space-3) var(--space-5); padding: 0; margin: 0; counter-reset: lv; }
.leave__steps li { --at: 0; display: grid; gap: 2px; max-width: 17rem; text-align: center; opacity: clamp(0.35, calc((var(--p) - var(--at)) * 4 + 0.35), 1); }
.leave__steps li:nth-child(2) { --at: 0.33; }
.leave__steps li:nth-child(3) { --at: 0.62; }
.leave__steps b { font: 400 var(--step-1)/1.2 var(--font-sans); }
.leave__steps em { font: italic 500 1.12em/1 var(--font-display); }
.leave__steps span { font-size: var(--step--1); color: var(--text-2); }
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    html:not([data-motion="paused"]) .leave { view-timeline: --leave block; }
    html:not([data-motion="paused"]) .leave__sticky { animation: leave-p linear both; animation-timeline: --leave; animation-range: contain 0% contain 100%; }
  }
}
@keyframes leave-p { from { --p: 0; } to { --p: 1; } }
@media (min-width: 900px) { .leave__steps { gap: var(--space-5) var(--space-7); } }
/* Still state: reduced motion or paused. The section stops being tall; the end state shows. */
@media (prefers-reduced-motion: reduce) { .leave { height: auto; } .leave__sticky { position: relative; height: auto; padding-block: var(--section-y); --p: 1; } }
html[data-motion="paused"] .leave { height: auto; }
html[data-motion="paused"] .leave__sticky { position: relative; height: auto; padding-block: var(--section-y); --p: 1 !important; }

/* ---------- Segment cards ("Made for") ---------- */
.segments { list-style: none; padding: 0; display: grid; gap: var(--space-4); grid-template-columns: 1fr; margin-top: var(--space-7); }
.seg { position: relative; border-radius: var(--radius-3); overflow: hidden; background: var(--sea-800); isolation: isolate; min-height: 340px; }
.seg__link { position: absolute; inset: 0; display: grid; align-content: end; padding: var(--space-5); color: var(--caliza-50); text-decoration: none; }
.seg__link img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform var(--dur-5) var(--ease-out); }
.seg__link::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgb(19 38 58 / 0) 24%, rgb(19 38 58 / 0.72) 54%, rgb(19 38 58 / 0.95) 100%); }
.seg__link:hover img { transform: scale(1.03); }
.seg__link:focus-visible { outline-offset: -6px; outline-color: var(--sun-honey); border-radius: var(--radius-3); }
.seg__kicker { font: 500 0.8125rem/1.4 var(--font-sans); letter-spacing: 0.12em; text-transform: uppercase; color: var(--sun-honey); }
.seg__title { font: 400 var(--step-2)/1.08 var(--font-sans); letter-spacing: var(--track-h2); margin-top: 6px; text-wrap: balance; }
.seg__title em { font: italic 500 1.1em/1 var(--font-display); }
.seg__line { margin-top: 8px; color: var(--caliza-200); font-size: var(--step--1); max-width: 40ch; }
.seg__go { position: absolute; right: var(--space-5); bottom: var(--space-5); width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: rgb(251 247 241 / 0.16); border: 1px solid rgb(251 247 241 / 0.5); color: var(--caliza-50); }
.seg__body { display: grid; padding-right: 56px; text-shadow: 0 1px 12px rgb(19 38 58 / 0.35); }
.seg__go::after { content: "→"; transition: transform var(--dur-2); }
.seg__link:hover .seg__go::after { transform: translateX(4px); }
/* Six equal cards, one per use: 1 column, 2 from 760 px, 3 from 1100 px. No card leads. */
@media (min-width: 760px) { .segments { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .segments { grid-template-columns: repeat(3, 1fr); } }

/* ---------- Offer: sizes + plan + calculator ---------- */
.offer__intro { display: grid; gap: var(--space-6); align-items: center; }
@media (min-width: 900px) { .offer__intro { grid-template-columns: 1.1fr 0.9fr; } }
.offer__figure { max-width: 460px; justify-self: end; width: 100%; }
.offer__grid { display: grid; gap: var(--space-7); margin-top: var(--space-7); }
@media (min-width: 1000px) { .offer__grid { grid-template-columns: 1fr 1fr; align-items: start; } }
fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
legend { padding: 0; }
.picker-legend { margin-bottom: var(--space-3); }
.size-cards { display: grid; gap: var(--space-4); grid-template-columns: 1fr 1fr; }
.size-card { position: relative; display: flex; flex-direction: column; gap: 6px; padding: var(--space-5); min-height: 216px; border-radius: var(--radius-3); background: var(--bg-raised); border: 1px solid var(--hairline); cursor: pointer; transition: border-color var(--dur-2), box-shadow var(--dur-2); }
.size-card input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; z-index: 1; }
.size-card:has(input:checked) { border: 2px solid var(--accent); box-shadow: var(--shadow-2); }
.size-card:has(input:focus-visible) { outline: var(--focus-ring); outline-offset: 3px; }
.size-card__name { font: italic 500 1.65rem/1 var(--font-display); }
.size-card__ml { font: 400 var(--step-3)/1 var(--font-sans); letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.size-card__tag { color: var(--text-2); font-size: var(--step--1); }
.size-card__price { font-weight: 500; font-size: var(--step--1); }
.badge { display: inline-flex; width: fit-content; align-items: center; min-height: 24px; padding: 2px 10px; border-radius: var(--radius-pill); font-size: 0.8125rem; background: var(--olive-200); color: var(--ink-900); }
.size-card__foot { margin-top: auto; padding-top: var(--space-3); display: flex; align-items: flex-end; justify-content: space-between; gap: var(--space-3); }
.size-card__can { position: relative; flex: none; width: 26px; border-radius: 9px 9px 6px 6px; background: linear-gradient(90deg, #FBF5EC, #E2D3BF); box-shadow: inset 0 0 0 1px rgb(43 29 21 / 0.14); }
.size-card__can::before { content: ""; position: absolute; left: 5px; right: 5px; top: -10px; height: 10px; border-radius: 5px 5px 0 0; background: var(--terra-500); }
.size-card[data-size="go"] .size-card__can { height: 62px; width: 24px; }
.size-card[data-size="home"] .size-card__can { height: 84px; width: 28px; }
.plan-toggle { margin-top: var(--space-6); }
.segmented { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; padding: 6px; border-radius: var(--radius-pill); background: rgb(43 29 21 / 0.07); }
.segmented label { position: relative; display: flex; align-items: center; justify-content: center; min-height: 48px; padding: 8px 14px; border-radius: var(--radius-pill); cursor: pointer; text-align: center; font-weight: 500; }
.segmented input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.segmented label:has(input:checked) { background: var(--bg-raised); box-shadow: var(--shadow-1); }
.segmented label:has(input:focus-visible) { outline: var(--focus-ring); outline-offset: 2px; }
.club-panel { margin-top: var(--space-4); display: grid; gap: var(--space-4); padding: var(--space-5); border-radius: var(--radius-3); background: var(--bg-raised); }
.club-panel[hidden] { display: none; }
.check { display: flex; gap: 12px; align-items: center; min-height: var(--target); cursor: pointer; }
.check input { width: 22px; height: 22px; margin: 0; accent-color: var(--accent); cursor: pointer; flex: none; }
.notice { padding: 12px 16px; border-radius: var(--radius-2); background: var(--terra-100); color: var(--ink-900); font-size: var(--step--1); }
.notice[hidden] { display: none; }
.calc { padding: var(--space-6) var(--space-5); border-radius: var(--radius-4); background: var(--bg-raised); box-shadow: var(--shadow-2); display: grid; gap: var(--space-5); }
@media (min-width: 560px) { .calc { padding: var(--space-6); } }
.calc__title { font: 400 var(--step-2)/1.15 var(--font-sans); letter-spacing: var(--track-h2); }
.calc__freq { display: grid; gap: var(--space-2); }
.calc__freq output { color: var(--text-2); font-variant-numeric: tabular-nums; }
input[type="range"] { width: 100%; min-height: var(--target); accent-color: var(--accent); cursor: pointer; }
.calc__results { display: grid; gap: var(--space-4); }
.calc__row { display: grid; grid-template-columns: 1fr auto; gap: 6px var(--space-4); align-items: baseline; }
.calc__row strong { font-weight: 500; font-variant-numeric: tabular-nums; text-align: right; }
.calc__row > span:first-child { white-space: nowrap; }
@media (max-width: 479.98px) { .calc__row { grid-template-columns: 1fr; gap: 2px; } .calc__row strong { text-align: left; } }
.range-bar { grid-column: 1 / -1; position: relative; height: 12px; border-radius: var(--radius-pill); background: rgb(43 29 21 / 0.08); overflow: hidden; }
.range-bar span { position: absolute; top: 0; bottom: 0; left: 0; border-radius: inherit; transition: width var(--dur-3) var(--ease-out); }
.range-bar__hi { width: calc(var(--hi, 0.6) * 100%); background: repeating-linear-gradient(-45deg, rgb(227 128 95 / 0.38) 0 5px, rgb(227 128 95 / 0.18) 5px 10px); }
.range-bar__lo { width: calc(var(--lo, 0.4) * 100%); background: var(--sunset-horizontal); }
.calc__note { font-size: var(--step--1); color: var(--text-muted); }
.calc:not(.is-live) .calc__results strong { visibility: hidden; }

/* ---------- Three cans at true scale ---------- */
.scale { display: grid; gap: var(--space-7); }
@media (min-width: 900px) { .scale { grid-template-columns: 0.9fr 1.1fr; align-items: center; } }
.scale__figure { position: relative; margin: 0; padding: var(--space-6) var(--space-4) var(--space-4); border-radius: var(--radius-4); background: linear-gradient(180deg, var(--caliza-50) 0%, var(--caliza-200) 100%); overflow: hidden; }
.scale__svg { width: 100%; max-width: 560px; margin-inline: auto; }
.scale__labels { position: relative; height: 76px; max-width: 560px; margin-inline: auto; }
.scale__labels i { font-style: normal; color: var(--text-muted); font-size: 0.8125rem; }
.scale__labels span { position: absolute; top: 0; transform: translateX(-50%); display: grid; text-align: center; gap: 2px; font-size: var(--step--1); color: var(--text-2); white-space: nowrap; }
.scale__labels b { font-weight: 500; color: var(--text); font-size: 0.98rem; }
.scale__labels span:nth-child(1) { left: 16.6667%; }
.scale__labels span:nth-child(2) { left: 46.6667%; }
.scale__labels span:nth-child(3) { left: 80%; }
.scale__can { transform-box: fill-box; transform-origin: 50% 100%; }
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    html:not([data-motion="paused"]) .scale__can { animation: can-rise linear both; animation-timeline: view(); animation-range: entry 10% cover 40%; }
    html:not([data-motion="paused"]) .scale__can--go { animation-range: entry 16% cover 44%; }
    html:not([data-motion="paused"]) .scale__can--home { animation-range: entry 22% cover 48%; }
  }
}
@keyframes can-rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
.footnotes { margin-top: var(--space-4); padding: 0; list-style: none; font-size: var(--step--1); color: var(--text-muted); }

/* ---------- Scenes rail ---------- */
.scenes { list-style: none; padding: 0 0 var(--space-4); margin: var(--space-6) 0 0; display: grid; grid-auto-flow: column; grid-auto-columns: min(78%, 320px); gap: var(--space-4); overflow-x: auto; scroll-snap-type: x mandatory; overscroll-behavior-x: contain; scrollbar-width: thin; }
.scenes:focus-visible { outline-offset: 6px; }
.scene { scroll-snap-align: start; display: grid; gap: var(--space-3); align-content: start; }
.scene .media { aspect-ratio: 4 / 5; }
.scene__line { font: italic 500 1.35rem/1.25 var(--font-display); }
@media (min-width: 1100px) { .scenes { grid-auto-flow: row; grid-template-columns: repeat(4, 1fr); overflow: visible; } }

/* ---------- Filled close to you (route diagram) ---------- */
.routes { display: grid; gap: var(--space-4); margin-top: var(--space-6); }
@media (min-width: 760px) { .routes { grid-template-columns: 1fr 1fr; } }
.route { padding: var(--space-5); border-radius: var(--radius-3); background: rgb(251 247 241 / 0.7); display: grid; gap: var(--space-3); }
.route svg { width: 100%; height: auto; }
.route__title { font-weight: 500; }
.route__dash { stroke-dasharray: 4 6; }
@media (prefers-reduced-motion: no-preference) { html:not([data-motion="paused"]) .route__truck { animation: drive 6s linear infinite; } }
@keyframes drive { from { transform: translateX(0); } to { transform: translateX(196px); } }

/* ---------- Product truth rows, steps, rules ---------- */
.truth { display: grid; gap: 0; margin-top: var(--space-6); border-top: 1px solid var(--hairline); }
.truth > div { display: grid; gap: 4px var(--space-6); padding: var(--space-4) 0; border-bottom: 1px solid var(--hairline); }
@media (min-width: 700px) { .truth > div { grid-template-columns: 11rem 1fr; } }
.truth dt { font-weight: 500; }
.truth dd { margin: 0; color: var(--text-2); }
.steps { list-style: none; padding: 0; margin-top: var(--space-6); display: grid; gap: var(--space-4); counter-reset: step; }
@media (min-width: 900px) { .steps--3 { grid-template-columns: repeat(3, 1fr); } }
.step { counter-increment: step; position: relative; padding: var(--space-5); border-radius: var(--radius-3); background: var(--bg-raised); display: grid; gap: var(--space-2); align-content: start; }
.step::before { content: counter(step, decimal-leading-zero); font: 500 0.8125rem/1 var(--font-sans); letter-spacing: 0.12em; color: var(--terra-700); }
.step b, .step .bp-h3 { font: 400 var(--step-1)/1.25 var(--font-sans); }
.step p { color: var(--text-2); }
.cards { list-style: none; padding: 0; display: grid; gap: var(--space-4); }
@media (min-width: 900px) { .cards--3 { grid-template-columns: repeat(3, 1fr); } }
.card { padding: var(--space-5); border-radius: var(--radius-3); background: var(--bg-raised); display: grid; gap: var(--space-3); align-content: start; }
.card p:not(.eyebrow):not(.bp-h3):not(.fine) { color: var(--text-2); }
.rules { list-style: none; padding: 0; margin-top: var(--space-6); display: grid; gap: var(--space-3); }
@media (min-width: 760px) { .rules { grid-template-columns: 1fr 1fr; } }
.rules li { display: flex; gap: 12px; align-items: flex-start; padding: var(--space-4); border-radius: var(--radius-2); background: var(--bg-raised); }
.rules li::before { content: ""; flex: none; width: 18px; height: 18px; margin-top: 4px; border-radius: 50%; border: 2px solid var(--terra-600); background: linear-gradient(135deg, transparent 44%, var(--terra-600) 44% 56%, transparent 56%); }
.ticks { list-style: none; padding: 0; margin-top: var(--space-5); display: grid; gap: var(--space-3); }
.ticks li { display: flex; gap: 12px; align-items: flex-start; }
.ticks li::before { content: ""; flex: none; width: 10px; height: 6px; margin-top: 9px; border-left: 2px solid var(--olive-700); border-bottom: 2px solid var(--olive-700); transform: rotate(-45deg); }

/* ---------- Product page: hero gallery ---------- */
.gallery { display: grid; gap: var(--space-3); }
.gallery__thumbs { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--space-2); }
.gallery__thumbs button { position: relative; display: block; width: 100%; aspect-ratio: 1; padding: 0; border: 2px solid transparent; border-radius: var(--radius-2); overflow: hidden; background: var(--caliza-300); cursor: pointer; }
.gallery__thumbs button[aria-pressed="true"] { border-color: var(--accent); }
.gallery__thumbs img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- Cutaway (how) ---------- */
.cutaway { display: grid; gap: var(--space-6); align-items: center; margin-top: var(--space-6); }
@media (min-width: 900px) { .cutaway { grid-template-columns: 0.8fr 1.2fr; } }
.cutaway svg { width: 100%; max-width: 300px; margin-inline: auto; }
.legend { list-style: none; padding: 0; display: grid; gap: var(--space-3); }
.legend li { display: grid; grid-template-columns: 22px 1fr; gap: 12px; align-items: start; }
.legend i { width: 22px; height: 22px; border-radius: 6px; margin-top: 2px; }

/* ---------- FAQ ---------- */
.faq__list { margin-top: var(--space-6); max-width: 900px; }
.faq details { border-bottom: 1px solid var(--hairline); }
.faq summary { display: flex; align-items: center; justify-content: space-between; gap: var(--space-4); min-height: 64px; padding: var(--space-4) 0; cursor: pointer; list-style: none; font-size: var(--step-1); line-height: 1.3; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; flex: none; width: 12px; height: 12px; border-right: 2px solid var(--text); border-bottom: 2px solid var(--text); transform: rotate(45deg); transition: transform var(--dur-3) var(--ease-out); }
.faq details[open] summary::after { transform: rotate(-135deg); }
.faq__a { padding: 0 0 var(--space-5); color: var(--text-2); max-width: var(--measure); }

/* ---------- Sticky CTA (mobile) ---------- */
.sticky-cta { position: fixed; inset: auto 0 0 0; z-index: 40; display: flex; align-items: center; justify-content: space-between; gap: var(--space-3); min-height: var(--sticky-cta-h); padding: 10px var(--gutter) calc(10px + env(safe-area-inset-bottom)); background: rgb(251 247 241 / 0.96); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); border-top: 1px solid var(--hairline); transform: translateY(110%); transition: transform var(--dur-3) var(--ease-out); }
.sticky-cta.is-on { transform: none; }
.sticky-cta__sum { font-size: 0.95rem; color: var(--text-2); line-height: 1.3; }
.sticky-cta__sum b { display: block; color: var(--text); font-weight: 500; }
@media (min-width: 900px) { .sticky-cta { display: none; } }

/* ---------- Footer ---------- */
.site-footer { background: var(--caliza-200); padding-block: var(--space-8) calc(var(--space-7) + var(--sticky-cta-h)); color: var(--text); }
.site-footer__top { display: grid; gap: var(--space-6); }
.site-footer__brand { display: grid; gap: var(--space-3); align-content: start; }
.site-footer__brand .brand { font-size: 34px; }
.site-footer__cols { display: grid; gap: var(--space-6) var(--space-5); grid-template-columns: repeat(2, minmax(0, 1fr)); }
.site-footer__col p { font-size: 0.8125rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-600); margin-bottom: var(--space-2); }
.site-footer__col ul { list-style: none; padding: 0; margin: 0; }
.site-footer__col a { display: inline-flex; align-items: center; min-height: var(--target); color: var(--text); text-decoration: none; }
.site-footer__col a:hover { text-decoration: underline; }
.site-footer__legal { margin-top: var(--space-7); display: flex; flex-wrap: wrap; gap: var(--space-2) var(--space-5); align-items: center; font-size: var(--step--1); color: var(--ink-600); }
.motion-toggle { display: inline-flex; align-items: center; gap: 8px; min-height: var(--target); padding: 0 14px; border: 1px solid var(--ink-line); border-radius: var(--radius-pill); background: transparent; color: var(--ink-900); cursor: pointer; font-size: var(--step--1); }
.motion-toggle::before { content: ""; width: 10px; height: 12px; border-left: 3px solid currentColor; border-right: 3px solid currentColor; }
.motion-toggle[data-paused]::before { width: 0; height: 0; border-left: 10px solid currentColor; border-right: 0; border-top: 6px solid transparent; border-bottom: 6px solid transparent; }
@media (min-width: 900px) { .site-footer { padding-bottom: var(--space-7); } .site-footer__top { grid-template-columns: 0.9fr 2.1fr; } .site-footer__cols { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

/* ---------- 404 ---------- */
.notfound { min-height: 70svh; display: grid; align-content: center; gap: var(--space-5); padding-block: var(--section-y); }

/* ==========================================================================
   Door pages + trust pages (door-pages builder, 1-nov-2026). APPEND-ONLY block:
   nothing above this line changed, so older copies of this stylesheet stay a strict subset.
   Used by /ostomy/, /about/, /uses/, the other door pages and the trust pages.
   ========================================================================== */

/* ---------- Compact page header without an image (/uses/ and the trust pages) ---------- */
.page-head { background: var(--sun-rake), var(--bg); padding-block: var(--space-8) var(--space-7); }
.page-head__inner { display: grid; gap: var(--space-4); max-width: 900px; }
.page-head__inner > .lead { max-width: 58ch; }
.page-head .notice { max-width: 62ch; font-size: var(--step-0); }

/* ---------- Moments: short scene lines that come into focus as you read (/ostomy/ "The morning") ---------- */
.moments { list-style: none; padding: 0; margin: var(--space-6) 0; display: grid; gap: var(--space-3); }
.moments li { display: flex; gap: 14px; align-items: baseline; font: italic 500 var(--step-2)/1.2 var(--font-display); letter-spacing: -0.01em; color: var(--text); text-wrap: balance; }
.moments li::before { content: ""; flex: none; width: 18px; height: 1px; background: var(--terra-500); transform: translateY(-0.3em); }
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    html:not([data-motion="paused"]) .moments li { animation: moment-focus linear both; animation-timeline: view(); animation-range: entry 0% cover 40%; }
  }
}
@keyframes moment-focus { from { opacity: 0.3; transform: translateX(-10px); } to { opacity: 1; transform: none; } }

/* ---------- Captions under door images: "Home · 200 ml. Stays by the sink." ---------- */
.media-caption b { font-weight: 500; color: var(--text); }

/* ---------- Trust pages: plain prose with real, visible h1/h2 (/privacy/, /terms/, /contact/, /shipping/) ---------- */
.legal { margin-top: var(--space-7); }
.legal > h2 { margin-top: var(--space-7); color: var(--text); }
.legal > h2:first-child { margin-top: 0; }
.legal ul { padding-left: 1.25em; display: grid; gap: var(--space-2); }
.legal strong { font-weight: 500; color: var(--text); }
.legal__mail { font: italic 500 var(--step-3)/1.15 var(--font-display); letter-spacing: -0.02em; overflow-wrap: anywhere; }
.legal__mail a { color: var(--text); text-decoration-color: var(--terra-500); text-underline-offset: 0.18em; }
.legal__updated { margin-top: var(--space-7); }

/* ---------- leave-contrast-floor: the shared "leave" steps dimmed to 0.35 before the scroll reached them, which fails WCAG AA
   (flagged by the Spanish builder's axe pass on /, /es/, /how/, /es/como-funciona/). Floor 0.75 keeps the small step text >= 4.5:1
   on --bg (4.86:1 computed); same progression, just subtler. Later rule, same specificity: overrides the one above. ---------- */
.leave__steps li { opacity: clamp(0.75, calc((var(--p) - var(--at)) * 4 + 0.75), 1); }

/* ==========================================================================
   Marketing pass (2-nov-2026): hero niche switcher on / and /es/.
   One headline for everyone; a row of niche chips (native toggle buttons, aria-pressed) swaps the hero image
   and a one-line benefit with a link. The image box is the existing 4:5 .hero__media frame (no layout shift);
   the next image fades in on a layer above the current one (.niche-media__next). Reduced motion or
   "Pause animations": instant swap (p3-core.js), no fade. Without JS the chip row stays hidden (<noscript> style).
   ========================================================================== */
.niche { display: grid; gap: var(--space-3); }
.niche__pick { display: grid; gap: var(--space-2); }
.niche__label { font: 500 var(--eyebrow-size)/1.4 var(--font-sans); letter-spacing: var(--eyebrow-track); text-transform: uppercase; color: var(--text-muted); }
.niche__chips { display: flex; flex-wrap: wrap; gap: var(--space-2); }
.niche__chip { -webkit-appearance: none; appearance: none; margin: 0; border-color: var(--ink-line); background: rgb(251 247 241 / 0.6); color: var(--text); transition: background var(--dur-2) var(--ease-out), color var(--dur-2) var(--ease-out), border-color var(--dur-2) var(--ease-out); }
.niche__chip:hover { background: var(--bg-raised); border-color: var(--ink-700); }
.niche__chip[aria-pressed="true"] { background: var(--ink-900); color: var(--caliza-50); border-color: var(--ink-900); }
.niche__chip:focus-visible { outline: var(--focus-ring); outline-offset: 2px; border-radius: var(--radius-pill); }
/* The line keeps room for its longest state (EN and ES, measured 320-1920 px), so nothing below it moves when a
   chip is picked: 3 lines by default, 4 under 360 px, 2 from 1024 px. The link is plain inline text in the sentence. */
.niche__line { max-width: 44ch; min-height: calc(3 * 1.6em); color: var(--text-2); text-wrap: pretty; }
@media (max-width: 359.98px) { .niche__line { min-height: calc(4 * 1.6em); } }
@media (min-width: 1024px) { .niche__line { min-height: calc(2 * 1.6em); } }
.niche__line .link-arrow { display: inline; min-height: 0; padding: 0; white-space: nowrap; }
.niche-media__next { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; z-index: 0; pointer-events: none; transition: opacity 280ms var(--ease-out); }
.niche-media__next.is-in { opacity: 1; }
@media (prefers-reduced-motion: no-preference) {
  html:not([data-motion="paused"]) .niche.is-changed .niche__line { animation: niche-in var(--dur-3) var(--ease-out); }
}
@media (prefers-reduced-motion: reduce) { .niche-media__next { transition: none; } }
html[data-motion="paused"] .niche-media__next { transition: none; }
@keyframes niche-in { from { opacity: 0.2; } to { opacity: 1; } }
/* Stability while the web fonts arrive (measured with fonts landing after first paint): the home hero copy is taller
   than the image, so a centred image re-centred whenever the subtitle re-wrapped; top-aligning it keeps it still.
   The hero consent line is always two lines, so "Privacy" cannot hop between lines when Outfit replaces the fallback. */
@media (min-width: 900px) { .hero--niche .hero__media { align-self: start; } }
.hero__form .consent-line { max-width: 280px; }
