/* =========================================================================
   Parity landing page stylesheet (index.html; the compact version, Revision 2, 2026-10-31, replaced the original page)
   Started as a copy of the original page's stylesheet.
   Revision 3 (2026-10-31): Cobalt and Marigold palette baked in below; hero frames show real demo previews.
   Changes: every colour is a token (so [data-palette] sets can recolour the page),
   big section labels (.shead), tabbed concept showcase, one pricing section with a
   Build / Care plan toggle, a clickable five-step stepper, and swipe rows on phones.
   Plain CSS, no build step. Works from file:// and from a static server.
   ========================================================================= */

/* ---------- Fonts (Google Fonts, OFL 1.1, self-hosted; licences in ../fonts/) ---------- */
@font-face {
  font-family: "Fraunces";
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url("../fonts/fraunces-opsz72-var-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Fraunces";
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/fraunces-opsz72-italic-400-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Figtree";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("../fonts/figtree-var-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* Metric-matched local fallbacks, so the swap to the web fonts barely moves the text (CLS).
   size-adjust measured 2026-10-28 in Chrome: web font width / fallback width on the same sample text.
   ascent/descent overrides = web font metrics divided by size-adjust. */
@font-face {
  font-family: "Fraunces Fallback";
  src: local("Georgia");
  size-adjust: 97%; ascent-override: 101%; descent-override: 26.8%; line-gap-override: 0%;
}
@font-face {
  font-family: "Fraunces Fallback";
  font-style: italic;
  src: local("Georgia Italic"), local("Georgia-Italic");
  size-adjust: 89.6%; ascent-override: 109.4%; descent-override: 29%; line-gap-override: 0%;
}
@font-face {
  font-family: "Figtree Fallback";
  src: local("Arial"), local("ArialMT");
  size-adjust: 100.1%; ascent-override: 94.9%; descent-override: 25%; line-gap-override: 0%;
}

/* ---------- Tokens ---------- */
/* Palette: Cobalt and Marigold, chosen by the user on 2026-10-31 (Revision 3). Values are the cobalt-marigold set
   generated and contrast-checked by qa/landing/scripts/r2-palettes.js. Token names are historical: "sage" is the
   primary accent (blue here) and "clay" the secondary accent (marigold here). The review-only page
   index-palettes.html recolours these through palettes.css.
   2026-11-11: the primary blue is now the logo blue #2F5BEA (was the Revision 3 cobalt), so site and logo are one brand.
   Its family is re-derived from it: hover = 25% toward the logo navy #0B1530, gradient end = 45% toward it,
   tints = the blue at 9-12% on white or cream, kept light enough that #2F5BEA text still reads 4.5:1 on them. */
:root {
  /* Surfaces */
  --paper: #FFFBF2;       /* page background: bright cream */
  --raised: #FFFFFF;      /* cards */
  --sand: #FBEFD6;        /* alternate section band */
  --hairline: #E8E5DF;    /* decorative borders only */
  /* Text */
  --ink: #141B33;         /* body and headings: deep navy ink, not black */
  --ink-soft: #434A66;    /* secondary text */
  --line: #858A9E;        /* input and control borders (3:1+) */
  /* Accents */
  --sage: #2F5BEA;        /* primary accent (logo blue): main buttons, links, focus ring */
  --sage-deep: #264ABC;   /* primary hover (logo blue 25% toward the logo navy) */
  --sage-soft: #EAEFFD;   /* tint (logo blue 10% on white) */
  --clay: #E39B2A;        /* secondary accent (marigold): decorative fills only */
  --clay-text: #875200;   /* text-safe marigold: eyebrows, small labels */
  --clay-soft: #FBE7C2;   /* tint */
  --clay-light: #F6C25F;  /* accent on dark backgrounds, focus ring on dark */
  /* Section bands and bento tiles */
  --mist: #E6EBFC;        /* cool band (Why Parity; logo blue 12% on white) */
  --blush: #FCE8D0;       /* warm band (How it works) */
  --forest-2: #1F3C96;    /* lighter end of the primary gradient (Mobile-first tile; logo blue 45% toward the navy) */
  --slate-2: #272D43;     /* raised controls on the ink tile */
  --terracotta: #875200;  /* = clay-text, used as a fill with paper text (price tag, seal) */
  /* Dark bands */
  --deep: #141E4D;
  --deep-soft: #BAC3E6;
  --footer: #0F173A;
  /* States */
  --error: #A13A2A;
  --focus: var(--sage);
  /* "On" colours and component tokens */
  --on-sage: #FFFFFF;          /* text and icons on primary buttons */
  --on-sage-soft: #EAEFFD;     /* secondary text on a primary tile */
  --on-deep: #FFFBF2;          /* text on the dark band, dark tiles and footer */
  --on-terracotta: #FFFBF2;
  --price-glow: #FDF2DD;
  --tile-ink: #141B33;         /* the Accessible tile */
  --device: #141B33;           /* phone bezels */
  --premium-bg: #141E4D; --premium-ink: #FFFBF2; --premium-soft: #BAC3E6; --premium-accent: #F6C25F; --premium-ring: transparent;
  --premium-glow-a: rgb(227 155 42 / 0.26); --premium-glow-b: rgb(47 91 234 / 0.5);
  --label-bg: #2F5BEA; --label-ink: #FFFFFF;           /* section label pill */
  --label-dark-bg: #F6C25F; --label-dark-ink: #141E4D; /* section label pill on the dark band */
  --on-error: #FFFFFF; --field-bg: #FFFFFF; --field-invalid: #FBF7F6;
  --hero-end: #FDF6E5; --blob-1: #ECEDF1; --blob-2: #FBECD2; --blob-3: #E6EBFC; --blob-4: #FBF0D9;
  --tick: #434A66;
  --shadow-rgb: 20 27 51;

  --font-display: "Fraunces", "Fraunces Fallback", Georgia, "Times New Roman", serif;
  --font-body: "Figtree", "Figtree Fallback", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --header-h: 4rem;
  --wrap: 74rem;
  --gutter: clamp(1.25rem, 4vw, 2.5rem);
  --radius: 20px;
  --band-inset: clamp(.375rem, 1.2vw, 1.25rem);  /* light colour bands sit inset as rounded panels */
  --band-radius: clamp(22px, 3vw, 40px);
  --head-gap: clamp(2.5rem, 1.9rem + 2.4vw, 4rem); /* space between a section header and its content */
  --ease-out: cubic-bezier(.2, .75, .25, 1);
  --ease-in-out: cubic-bezier(.45, 0, .25, 1);
  --shadow-soft: 0 1px 2px rgb(var(--shadow-rgb) / .05), 0 12px 32px -12px rgb(var(--shadow-rgb) / .18);
  --shadow-lift: 0 2px 6px rgb(var(--shadow-rgb) / .06), 0 28px 60px -20px rgb(var(--shadow-rgb) / .28);
  --cycle: 5.5s;          /* hero concept auto-advance interval */

  color-scheme: light;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-padding-top: calc(var(--header-h) + 1rem);
}
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: clamp(1rem, .96rem + .2vw, 1.0625rem);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden; /* safety net; layout is built not to need it */
}
@supports (overflow: clip) { body { overflow-x: clip; } }
img, svg, video { max-width: 100%; }
h1, h2, h3 { font-family: var(--font-display); font-weight: 500; line-height: 1.08; letter-spacing: -.015em; margin: 0; font-synthesis: none; }
p { margin: 0 0 1rem; }
a { color: inherit; }
button { font: inherit; }
main:focus { outline: none; }

:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; }
.contact :focus-visible,
.site-footer :focus-visible { outline-color: var(--clay-light); }
.package-premium :focus-visible { outline-color: var(--premium-accent); }
.contact .form-card :focus-visible { outline-color: var(--focus); }

.sr-only {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; border: 0;
}
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.icon {
  width: 1.25em; height: 1.25em; flex-shrink: 0;
  fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round;
}
.icon-play { fill: currentColor; }

.skip-link {
  position: absolute; left: 1rem; top: -100px; z-index: 100;
  background: var(--ink); color: var(--paper); padding: .75rem 1.25rem; border-radius: 10px;
  font-weight: 600; text-decoration: none;
}
.skip-link:focus { top: .75rem; }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }

.eyebrow {
  display: inline-flex; align-items: center; gap: .6rem;
  margin: 0 0 1rem;
  font-size: .875rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: var(--clay-text);
}
.hero .eyebrow { color: color-mix(in srgb, var(--clay-text) 85%, var(--ink)); }  /* a touch deeper: it sits on the film grain */
.eyebrow::before { content: ""; width: 1.75rem; height: 2px; border-radius: 2px; background: currentColor; }

.text-link {
  color: var(--sage); font-weight: 600;
  text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: .2em;
  transition: text-decoration-thickness .2s, color .2s;
}
.text-link:hover { color: var(--sage-deep); text-decoration-thickness: 2.5px; }

.placeholder {
  font-family: ui-monospace, "Cascadia Mono", Consolas, monospace; font-size: .9em;
  padding: .05em .4em; border-radius: 6px;
  background: color-mix(in srgb, currentColor 8%, transparent);
  border: 1px dashed color-mix(in srgb, currentColor 45%, transparent);
  white-space: nowrap;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  min-height: 48px; padding: .7rem 1.35rem;
  border: 0; border-radius: 999px; cursor: pointer;
  font-weight: 650; font-size: 1rem; line-height: 1.2; text-decoration: none;
  transition: background-color .25s, color .25s, box-shadow .25s, transform .2s var(--ease-out);
}
.btn .icon { width: 1.15em; height: 1.15em; transition: transform .3s var(--ease-out); }
.btn:active { transform: scale(.97); }
.btn-sm { min-height: 44px; padding: .55rem 1.1rem; font-size: .9375rem; }
.btn-lg { min-height: 54px; padding: .85rem 1.6rem; font-size: 1.0625rem; }
.btn-primary { background: var(--sage); color: var(--on-sage); box-shadow: 0 6px 18px -8px color-mix(in srgb, var(--sage) 70%, transparent); }
.btn-primary:hover { background: var(--sage-deep); }
.btn-ghost { background: color-mix(in srgb, var(--raised) 60%, transparent); color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--line); }
.btn-ghost:hover { background: var(--raised); box-shadow: inset 0 0 0 1.5px var(--ink); }
.btn-light { background: var(--premium-ink); color: var(--premium-bg); }
.btn-light:hover { background: color-mix(in srgb, var(--premium-ink) 85%, #fff); }
@media (hover: hover) and (pointer: fine) {
  .btn:hover .icon { transform: translateX(3px); }
}

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--paper) 94%, transparent);
  -webkit-backdrop-filter: saturate(1.2) blur(12px);
  backdrop-filter: saturate(1.2) blur(12px);
  transition: box-shadow .3s;
}
.site-header.is-scrolled { box-shadow: 0 1px 0 rgb(var(--shadow-rgb) / .07), 0 10px 30px -18px rgb(var(--shadow-rgb) / .35); }
.header-inner { display: flex; align-items: center; gap: 1rem; min-height: var(--header-h); position: relative; }

.brand {
  display: inline-flex; align-items: center; gap: .6rem; min-height: 44px;
  text-decoration: none; color: var(--ink); margin-right: auto;
}
/* Official Parity logo (2026-11-11), inline SVG from the vector master (qa/landing/scripts/r7-*). Its colours are fixed
   brand colours in the fill attributes, not palette tokens: header = navy #0B1530 + blue #2F5BEA (derived light-background
   variant), footer = off-white #F6F7F9 + blue (official colours). The wordmark is outlined paths, not a font. */
.brand-logo { display: block; height: 2.125rem; width: auto; aspect-ratio: 366.81 / 84; }
.site-footer .brand-logo { height: 2.375rem; }
.brand-light { color: var(--on-deep); }
/* Review-only dark palettes (index-palettes.html) have a dark header: use the official off-white there */
:root[data-palette="midnight-garden"] .site-header .brand-logo-ink,
:root[data-palette="ember-night"] .site-header .brand-logo-ink { fill: #F6F7F9; }
@media (forced-colors: active) { .brand-logo path { fill: CanvasText; } }

/* Header logo intro (index.html only, 2026-11-11): the icon assembles, the two L shapes open, the blue square pulses,
   "PARITY" slides out of the icon's right edge (an SVG clip at x=126, icon drawn on top; Y leads, P follows, so the
   letter spacing opens as they settle), then the Ls click shut. 1.3 s, once. Transform and opacity only, inside the
   SVG, so no layout shift. Off without JS (.js) and under reduced motion: the static logo shows. Hover and keyboard
   focus replay a short additive echo (animation-composition: add), which can't restart or jump the intro. */
.brand-anim { overflow: visible; }
.brand-anim .brand-logo-square { transform-box: fill-box; transform-origin: center; }
.lw-y { --from: -284.8px; --d: .34s;  --hd: 0s; }
.lw-t { --from: -238.6px; --d: .39s;  --hd: .025s; }
.lw-i { --from: -191.3px; --d: .44s;  --hd: .05s; }
.lw-r { --from: -167.1px; --d: .49s;  --hd: .075s; }
.lw-a { --from: -119.7px; --d: .54s;  --hd: .1s; }
.lw-p { --from: -67.4px;  --d: .59s;  --hd: .125s; }
@media (prefers-reduced-motion: no-preference) {
  .js .brand-anim .bl-1 { animation: brand-l1 1.3s linear both; }
  .js .brand-anim .bl-2 { animation: brand-l2 1.3s linear both; }
  .js .brand-anim .brand-logo-square { animation: brand-sq 1.3s linear both; }
  .js .brand-anim .lw { animation: brand-letter .6s cubic-bezier(.16, 1, .3, 1) var(--d) both; }
  .js .brand:focus-visible .brand-anim .bl-1 { animation: brand-l1 1.3s linear both, brand-l1-echo .5s cubic-bezier(.3, 0, .2, 1); animation-composition: replace, add; }
  .js .brand:focus-visible .brand-anim .bl-2 { animation: brand-l2 1.3s linear both, brand-l2-echo .5s cubic-bezier(.3, 0, .2, 1); animation-composition: replace, add; }
  .js .brand:focus-visible .brand-anim .brand-logo-square { animation: brand-sq 1.3s linear both, brand-sq-echo .5s cubic-bezier(.3, 0, .2, 1); animation-composition: replace, add; }
  .js .brand:focus-visible .brand-anim .lw { animation: brand-letter .6s cubic-bezier(.16, 1, .3, 1) var(--d) both, brand-letter-echo .45s cubic-bezier(.3, 0, .2, 1) calc(.08s + var(--hd)); animation-composition: replace, add; }
}
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .js .brand:hover .brand-anim .bl-1 { animation: brand-l1 1.3s linear both, brand-l1-echo .5s cubic-bezier(.3, 0, .2, 1); animation-composition: replace, add; }
  .js .brand:hover .brand-anim .bl-2 { animation: brand-l2 1.3s linear both, brand-l2-echo .5s cubic-bezier(.3, 0, .2, 1); animation-composition: replace, add; }
  .js .brand:hover .brand-anim .brand-logo-square { animation: brand-sq 1.3s linear both, brand-sq-echo .5s cubic-bezier(.3, 0, .2, 1); animation-composition: replace, add; }
  .js .brand:hover .brand-anim .lw { animation: brand-letter .6s cubic-bezier(.16, 1, .3, 1) var(--d) both, brand-letter-echo .45s cubic-bezier(.3, 0, .2, 1) calc(.08s + var(--hd)); animation-composition: replace, add; }
}
@keyframes brand-l1 {
  0%   { opacity: 0; transform: translate(5px, 5px); animation-timing-function: cubic-bezier(.2, .7, .2, 1); }
  16%  { opacity: 1; transform: translate(0, 0); animation-timing-function: cubic-bezier(.3, 0, .2, 1); }
  38%  { transform: translate(-6px, -6px); }
  74%  { transform: translate(-6px, -6px); animation-timing-function: cubic-bezier(.7, 0, .84, 0); }
  90%, 100% { opacity: 1; transform: translate(0, 0); }
}
@keyframes brand-l2 {
  0%   { opacity: 0; transform: translate(-5px, -5px); animation-timing-function: cubic-bezier(.2, .7, .2, 1); }
  16%  { opacity: 1; transform: translate(0, 0); animation-timing-function: cubic-bezier(.3, 0, .2, 1); }
  38%  { transform: translate(6px, 6px); }
  74%  { transform: translate(6px, 6px); animation-timing-function: cubic-bezier(.7, 0, .84, 0); }
  90%, 100% { opacity: 1; transform: translate(0, 0); }
}
@keyframes brand-sq {
  0%, 12% { opacity: 0; transform: scale(.3); animation-timing-function: cubic-bezier(.2, .7, .2, 1); }
  27%  { opacity: 1; transform: scale(1.4); animation-timing-function: cubic-bezier(.4, 0, .2, 1); }
  42%  { transform: scale(1); }
  84%  { transform: scale(1); animation-timing-function: cubic-bezier(.7, 0, .84, 0); }
  90%  { transform: scale(.8); animation-timing-function: cubic-bezier(.2, .7, .2, 1); }
  100% { opacity: 1; transform: scale(1); }
}
@keyframes brand-letter { from { transform: translateX(var(--from)); } to { transform: translateX(0); } }
@keyframes brand-l1-echo { 0%, 100% { transform: translate(0, 0); } 40% { transform: translate(-3.5px, -3.5px); } }
@keyframes brand-l2-echo { 0%, 100% { transform: translate(0, 0); } 40% { transform: translate(3.5px, 3.5px); } }
@keyframes brand-sq-echo { 0%, 100% { transform: scale(1); } 40% { transform: scale(1.3); } }
@keyframes brand-letter-echo { 0%, 100% { transform: translateX(0); } 45% { transform: translateX(3px); } }

.nav-toggle {
  display: inline-flex; align-items: center; gap: .55rem;
  min-height: 44px; padding: .5rem .9rem; border-radius: 999px;
  background: transparent; color: var(--ink); border: 1.5px solid var(--line); cursor: pointer; font-weight: 600;
}
.nav-toggle-icon { position: relative; width: 1.1rem; height: .75rem; }
.nav-toggle-icon span {
  position: absolute; left: 0; right: 0; height: 2px; border-radius: 2px; background: currentColor;
  transition: transform .3s var(--ease-out), top .3s var(--ease-out);
}
.nav-toggle-icon span:first-child { top: .1rem; }
.nav-toggle-icon span:last-child { top: .55rem; }
.nav-open .nav-toggle-icon span:first-child { top: .325rem; transform: rotate(45deg); }
.nav-open .nav-toggle-icon span:last-child { top: .325rem; transform: rotate(-45deg); }

.site-nav ul { list-style: none; margin: 0; padding: 0; display: flex; }
.site-nav a:not(.btn) {
  display: flex; align-items: center; min-height: 44px; padding: .5rem .8rem;
  color: var(--ink); text-decoration: none; font-weight: 550;
  background: linear-gradient(currentColor, currentColor) no-repeat .8rem calc(100% - .55rem) / 0 1.5px;
  transition: background-size .3s var(--ease-out);
}
.site-nav a:not(.btn):hover,
.site-nav a:not(.btn):focus-visible,
.site-nav a.is-current { background-size: calc(100% - 1.6rem) 1.5px; }
.site-nav a.is-current { color: var(--sage); font-weight: 650; }

/* Mobile and tablet nav */
@media (max-width: 59.99rem) {
  .js .site-nav {
    display: none;
    position: absolute; top: 100%; left: 0; right: 0;
    background: var(--paper);
    border-bottom: 1px solid var(--hairline);
    box-shadow: 0 24px 40px -24px rgb(var(--shadow-rgb) / .35);
    padding: .25rem var(--gutter) 1.5rem;
  }
  .js .nav-open .site-nav { display: block; }
  .js .site-nav ul { flex-direction: column; }
  .js .site-nav a:not(.btn) { min-height: 52px; font-size: 1.125rem; border-bottom: 1px solid var(--hairline); padding-inline: 0; background-position: 0 calc(100% - .7rem); }
  .js .site-nav a:not(.btn):hover, .js .site-nav a:not(.btn):focus-visible { background-size: 4rem 1.5px; }
  .nav-cta-item .btn { width: 100%; margin-top: 1.25rem; }
  .no-js .nav-toggle { display: none; }
  .no-js .header-inner { flex-wrap: wrap; padding-block: .5rem; }
  .no-js .site-nav { order: 3; width: 100%; }
  .no-js .site-nav ul { flex-wrap: wrap; }
  .no-js .nav-cta-item { display: none; }
}
@media (max-width: 25.99rem) {
  .header-cta { display: none; }
}
@media (min-width: 60rem) {
  .nav-toggle { display: none; }
  .nav-cta-item { display: none; }
  .site-nav ul { gap: .1rem; }
}
@media (prefers-reduced-motion: no-preference) {
  .js .nav-open .site-nav { animation: nav-in .28s var(--ease-out); }
}
@keyframes nav-in { from { opacity: 0; transform: translateY(-8px); } }

/* ---------- Sections ---------- */
.section { padding-block: clamp(4rem, 2.75rem + 5vw, 7rem); }

/* Colour bands: light bands are inset, rounded panels so each chapter reads as its own block.
   Rhythm (compact page): hero (paper) / 01 mist / 02 paper / 03 sand / 04 blush / 05 paper / 06 deep. */
.band { margin-inline: var(--band-inset); border-radius: var(--band-radius); }
.why { background: var(--mist); }
.pricing { background: var(--sand); }
.process { background: var(--blush); }

/* Section headers (Revision 2): the user found the old 13 px kicker easy to miss. Now a solid label pill
   (16-17 px, bold, numbered) above a bigger, heavier display h2. On wide screens the lead sits beside the h2. */
.shead { margin-bottom: var(--head-gap); }
.slabel {
  display: inline-flex; align-items: center; gap: .75rem;
  margin: 0 0 clamp(1.1rem, .9rem + .9vw, 1.6rem);
  padding: .35rem 1.2rem .35rem .35rem; border-radius: 999px;
  background: var(--label-bg); color: var(--label-ink);
  font-size: clamp(.9375rem, .88rem + .25vw, 1.0625rem); font-weight: 700; line-height: 1.2;
  letter-spacing: .12em; text-transform: uppercase;
  box-shadow: 0 12px 26px -16px color-mix(in srgb, var(--label-bg) 85%, transparent);
}
.slabel-num {
  display: inline-grid; place-items: center; flex-shrink: 0;
  min-width: 2.35rem; height: 2.35rem; padding: 0 .45rem; border-radius: 999px;
  background: var(--label-ink); color: var(--label-bg);
  font-family: var(--font-display); font-style: italic; font-weight: 400; font-size: 1.125rem; letter-spacing: 0;
  font-variant-numeric: lining-nums; font-synthesis: none;
}
.shead h2, .contact h2 {
  font-size: clamp(2.6rem, 1.45rem + 4.6vw, 4.85rem); font-weight: 560; line-height: .98; letter-spacing: -.035em;
  margin: 0 0 1.1rem; text-wrap: balance;
}
.h-accent { font-style: italic; font-weight: 400; color: var(--sage); letter-spacing: -.02em; }
@media (min-width: 60rem) {
  .shead-grid {
    display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr);
    gap: clamp(2rem, 5vw, 5rem); align-items: end;
  }
  .shead-grid h2 { margin-bottom: 0; }
  .shead-grid .lead { padding-bottom: .45rem; }
}
.lead { font-size: clamp(1.0625rem, 1rem + .3vw, 1.1875rem); color: var(--ink-soft); margin: 0; max-width: 40rem; }

/* ---------- Hero ---------- */
.hero {
  position: relative; isolation: isolate;
  overflow: hidden;
  padding: clamp(2.5rem, 1rem + 5vw, 5rem) 0 clamp(5.5rem, 4rem + 4vw, 7rem);
}
@supports (overflow: clip) { .hero { overflow: clip; } }
@media (min-width: 62rem) {
  .hero { min-height: min(54rem, calc(100svh - var(--header-h))); display: flex; align-items: center; }
}
.hero-bg { position: absolute; inset: 0; z-index: -1; overflow: hidden; background: linear-gradient(180deg, var(--paper) 0%, var(--hero-end) 100%); }
.blob {
  position: absolute; border-radius: 50%;
  filter: blur(64px); opacity: .9;
  will-change: transform;
}
.blob-1 { width: 48vmax; height: 48vmax; left: -16vmax; top: -20vmax; background: var(--blob-1); animation: drift-1 34s var(--ease-in-out) infinite alternate; }
.blob-2 { width: 40vmax; height: 40vmax; right: -14vmax; top: -10vmax; background: var(--blob-2); animation: drift-2 40s var(--ease-in-out) infinite alternate; }
.blob-3 { width: 36vmax; height: 36vmax; left: 28%; bottom: -24vmax; background: var(--blob-3); animation: drift-3 30s var(--ease-in-out) infinite alternate; }
.blob-4 { width: 22vmax; height: 22vmax; right: 16%; bottom: 6%; background: var(--blob-4); animation: drift-4 26s var(--ease-in-out) infinite alternate; }
@keyframes drift-1 { to { transform: translate(14vw, 10vh) scale(1.12); } }
@keyframes drift-2 { to { transform: translate(-12vw, 16vh) scale(.92); } }
@keyframes drift-3 { to { transform: translate(-16vw, -10vh) scale(1.15); } }
@keyframes drift-4 { to { transform: translate(-20vw, -14vh) scale(1.2); } }
.hero.is-paused .blob, .hero.is-offscreen .blob { animation-play-state: paused; }
/* Film grain as a pseudo-element: as a real element with a background image it became the page's LCP element. */
.hero-bg::after {
  content: ""; position: absolute; inset: 0; opacity: .35; pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .12 0 0 0 0 .16 0 0 0 0 .2 0 0 0 .5 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.hero-grid { display: grid; gap: clamp(3rem, 6vw, 4rem); align-items: center; }
@media (min-width: 62rem) {
  .hero-grid { grid-template-columns: minmax(0, 1.04fr) minmax(0, 1fr); }
}

.hero-title {
  font-size: clamp(2.75rem, 1.5rem + 5.2vw, 5.4rem);
  line-height: 1.02; letter-spacing: -.03em; font-weight: 450;
  margin-bottom: 1.5rem; text-wrap: balance;
}
.accent { font-style: italic; font-weight: 400; color: var(--sage); letter-spacing: -.02em; }
.hero-title .w {
  display: inline-block; vertical-align: top;
  overflow: hidden; overflow: clip;
  padding: 0 .06em .14em; margin: 0 -.06em -.14em;
}
.hero-title .w > span { display: inline-block; }
.hero-lead { font-size: clamp(1.0625rem, 1rem + .35vw, 1.25rem); color: var(--ink-soft); max-width: 34rem; margin-bottom: 2rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-bottom: 2rem; }
.hero-points {
  list-style: none; margin: 0; padding: 0;
  display: flex; flex-wrap: wrap; gap: .5rem 1.5rem;
  font-size: .9375rem; color: var(--ink-soft);
}
.hero-points li { display: flex; align-items: center; gap: .45rem; }
.hero-points .icon { width: 1.1rem; height: 1.1rem; color: var(--sage); stroke-width: 2.25; }
@media (max-width: 29.99rem) {
  .hero-actions .btn { width: 100%; }
}

/* Hero load-in (CSS only). The headline words rise from behind a mask. */
@media (prefers-reduced-motion: no-preference) {
  .js .hero-title .w > span { animation: word-rise 1s var(--ease-out) both; animation-delay: calc(var(--w) * 65ms + 100ms); }
  /* data-w="N" replaces style="--w:N" (CSP without 'unsafe-inline', 2026-11-15) */
  .hero-title [data-w="0"] { --w: 0; }
  .hero-title [data-w="1"] { --w: 1; }
  .hero-title [data-w="2"] { --w: 2; }
  .hero-title [data-w="3"] { --w: 3; }
  .hero-title [data-w="4"] { --w: 4; }
  .hero-title [data-w="5"] { --w: 5; }
  .hero-title [data-w="6"] { --w: 6; }
  .hero-title [data-w="7"] { --w: 7; }
  .js .hero .eyebrow { animation: fade-up .7s var(--ease-out) both; }
  /* .hero-lead is deliberately not animated: on phones it is the largest text block, so likely the LCP element. */
  .js .hero-actions { animation: fade-up .6s var(--ease-out) .5s both; }
  .js .hero-points { animation: fade-up .7s var(--ease-out) .62s both; }
  .js .hero-visual { animation: fade-up-lg 1.2s var(--ease-out) .3s both; }
}
@keyframes word-rise { from { transform: translateY(108%); } to { transform: none; } }
@keyframes fade-up { from { opacity: 0; transform: translateY(16px); } }
@keyframes fade-up-lg { from { opacity: 0; transform: translateY(36px) scale(.98); } }

/* Hero visual (Revision 3): a browser frame and a phone frame showing the four concepts. Posters (real screenshots)
   until a visitor picks one, then the real demo live in both frames (iframes built by compact.js at a true 1280 px
   desktop and 390 px phone viewport, scaled with a transform). The switcher is first in the DOM; `order` puts it below. */
.hero-visual { position: relative; min-width: 0; display: flex; flex-direction: column; }
.hero-visual .switcher { order: 2; }
.device-stage { position: relative; padding-bottom: 9%; }
/* Wide screens: the frames reach a little into the right margin, so the live previews are larger and easier to read */
@media (min-width: 80rem) {
  .device-stage { margin-right: calc(-1 * clamp(0px, (100vw - var(--wrap)) / 2 - 1.5rem, 5rem)); }
}
.browser-hero { margin-left: 9%; }
.phone {
  position: absolute; left: 0; bottom: 0; width: 26%;
  aspect-ratio: 9 / 18.5;
  border: 5px solid var(--device); border-radius: 22px;
  background: var(--device);
  box-shadow: var(--shadow-lift);
  overflow: hidden;
}
.phone-view { position: relative; width: 100%; height: 100%; border-radius: 17px; overflow: hidden; container-type: size; background: #fff; }
.slide { position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: opacity .7s ease, visibility 0s linear .7s; }
.slide.is-active { opacity: 1; visibility: visible; transition: opacity .7s ease, visibility 0s; }
.poster { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 50% 0; }
/* Live demo frames: absolutely placed, so neither their 1280 px layout width nor loading can move the page.
   compact.js sets width (viewport + hidden scrollbar), height and the scale. Shown only once loaded. */
.live-frame {
  position: absolute; left: 0; top: 0; border: 0; background: #fff;
  transform-origin: 0 0;
  opacity: 0; visibility: hidden; transition: opacity .35s ease, visibility 0s linear .35s;
}
.live-frame.is-active.is-loaded { opacity: 1; visibility: visible; transition: opacity .35s ease, visibility 0s; }
/* Loading state: a small pill over the poster while the live site loads */
.frame-loading {
  position: absolute; left: 50%; top: 50%; z-index: 2; translate: -50% -50%;
  display: none; align-items: center; gap: .5rem;
  padding: .4rem .8rem; border-radius: 999px;
  background: rgb(20 27 51 / .82); color: #FFFFFF; font-size: .8125rem; font-weight: 600; white-space: nowrap;
}
.frame-view.is-loading .frame-loading { display: inline-flex; }
.frame-loading i { width: .9rem; height: .9rem; border-radius: 50%; border: 2px solid rgb(255 255 255 / .35); border-top-color: #FFFFFF; animation: frame-spin .8s linear infinite; }
.phone-view .frame-loading { padding: .4rem; }
@keyframes frame-spin { to { rotate: 1turn; } }
/* Mouse and trackpad devices, before a concept is picked: a hint that the frames come alive */
.try-hint {
  position: absolute; left: 50%; bottom: 1rem; z-index: 2; translate: -50% 0;
  padding: .4rem .85rem; border-radius: 999px;
  background: rgb(20 27 51 / .86); color: #FFFFFF; font-size: .8125rem; font-weight: 600; white-space: nowrap;
  opacity: 0; transition: opacity .25s; pointer-events: none;
}
.device-stage.can-live[data-state="poster"] { cursor: pointer; }
/* Zoom (2026-11-11): the hint now shows on hover and keyboard focus, poster or live */
.try-hint { z-index: 3; }
.device-stage.can-live .browser-view:hover .try-hint,
.browser-view:has(.zoom-hit:focus-visible) .try-hint { opacity: 1; }
/* Touch screens: the frames never capture scrolling; a tap opens the full site */
.device-stage.opens-demo { cursor: pointer; }
.device-stage.opens-demo .live-frame { pointer-events: none; }
/* Keyboard users can jump past the live site's links (shown only once frames are live) */
.skip-preview { position: absolute; left: 9%; top: .5rem; z-index: 3; }
.skip-preview:not(:focus) { width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip-preview:focus { padding: .55rem 1rem; border-radius: 10px; background: var(--ink); color: var(--paper); font-weight: 600; text-decoration: none; }

/* ---------- Hero zoom (2026-11-11) ----------
   compact.js puts a transparent button over each frame (accessible name "Zoom in on the <concept> preview, desktop
   view"). It opens a modal <dialog> (built on first use) with the live demo at a true 1280 px desktop or 390 x 844 phone
   viewport, as close to 1:1 as the window allows, plus a Desktop / Phone toggle, the concept switcher, "Open the full
   site" and Close. The frame zooms from where it sits (FLIP, Web Animations; none under reduced motion). */
.zoom-hit {
  position: absolute; inset: 0; z-index: 2; width: 100%; height: 100%; padding: 0; border: 0; border-radius: inherit;
  background: transparent; cursor: zoom-in; touch-action: manipulation; -webkit-tap-highlight-color: transparent;
}
.zoom-hit:focus-visible { outline-offset: -3px; }
.zoom-badge {
  position: absolute; right: .6rem; bottom: .6rem; display: grid; place-items: center;
  width: 2rem; height: 2rem; border-radius: 50%;
  background: rgb(20 27 51 / .86); color: #FFFFFF; box-shadow: 0 4px 12px rgb(20 27 51 / .25);
  transition: transform .25s var(--ease-out);
}
.phone .zoom-badge { right: .35rem; bottom: .35rem; width: 1.6rem; height: 1.6rem; }
.zoom-badge .icon { width: 1rem; height: 1rem; stroke-width: 2.4; }
.phone .zoom-badge .icon { width: .85rem; height: .85rem; }
.zoom-hit:hover .zoom-badge, .zoom-hit:focus-visible .zoom-badge { transform: scale(1.12); }
.is-zoom-source { opacity: 0; }
html.zoom-open { overflow: hidden; scrollbar-gutter: stable; }

.zoom {
  position: fixed; inset: 0; width: 100%; height: 100%; max-width: none; max-height: none;
  margin: 0; padding: 0; border: 0; background: transparent; color: var(--ink); overflow: hidden;
  overscroll-behavior: contain;
}
.zoom::backdrop { background: transparent; }
.zoom-scrim { position: absolute; inset: 0; background: rgb(11 16 34 / .86); }
.zoom-inner {
  position: relative; height: 100%; padding: 12px;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px;
  pointer-events: none;   /* empty space falls through to the scrim, which closes */
}
.zoom-bar, .zoom-device { pointer-events: auto; }
.zoom-bar {
  display: flex; flex-wrap: wrap; align-items: center; gap: .5rem .9rem;
  padding: .5rem .55rem .5rem 1rem; border-radius: 14px;
  background: var(--raised); box-shadow: var(--shadow-lift);
}
.zoom-title { flex: 1 1 auto; min-width: 0; display: flex; flex-wrap: wrap; align-items: center; gap: .3rem .6rem; font-family: var(--font-body); font-size: 1rem; font-weight: 650; letter-spacing: 0; line-height: 1.3; }
.zoom-title .cap-tag { font-weight: 600; color: var(--ink-soft); }
@media (max-width: 99.99rem) { .zoom-title .cap-tag { display: none; } }   /* keeps the toolbar on one row; each demo's own pill says "fictional business" */
.seg { display: inline-flex; padding: 3px; border-radius: 999px; border: 1.5px solid var(--line); }
.seg-btn {
  min-height: 36px; padding: .25rem .9rem; border: 0; border-radius: 999px;
  background: transparent; color: var(--ink); font-size: .875rem; font-weight: 600; cursor: pointer;
}
.seg-btn[aria-pressed="true"] { background: var(--ink); color: var(--paper); }
.seg-btn:focus-visible { outline-offset: 1px; }
.zoom-chips { display: flex; flex-wrap: wrap; gap: .4rem; }
.zoom-chips .chip { min-height: 40px; padding: .3rem .85rem; font-size: .875rem; }
.zoom-bar .open-full { margin-top: 0; min-height: 40px; font-size: .875rem; }
.zoom-close {
  display: inline-flex; align-items: center; gap: .35rem; min-height: 40px; padding: .3rem .95rem;
  border-radius: 999px; border: 1.5px solid var(--line); background: var(--raised); color: var(--ink);
  font-size: .875rem; font-weight: 600; cursor: pointer;
}
.zoom-close:hover { border-color: var(--ink); }
.zoom-close .icon { width: 1rem; height: 1rem; stroke-width: 2.4; rotate: 45deg; }
@media (max-width: 47.99rem) {
  .zoom-bar { gap: .45rem .6rem; padding: .45rem .45rem .5rem .75rem; }
  .zoom-title { order: 1; flex: 1 1 calc(100% - 7.5rem); font-size: .9375rem; }
  .zoom-title .cap-tag { display: none; }
  .zoom-close { order: 2; }
  .seg { order: 3; }
  .zoom-bar .open-full { order: 4; }
  .zoom-chips { order: 5; flex-basis: 100%; }
}
.zoom-device {
  position: relative; transform-origin: 0 0; overflow: hidden;
  border-radius: 14px; background: var(--raised); box-shadow: 0 40px 90px -30px rgb(0 0 0 / .6);
}
.zoom-device .url { max-width: 42%; }
.zoom-device.is-live .live-badge { display: inline-flex; }
.zoom-view { position: relative; overflow: hidden; background: #FFFFFF; }
.zoom-view.is-loading .frame-loading { display: inline-flex; }
.zoom-device[data-kind="phone"] { border: 8px solid var(--device); border-radius: 44px; background: var(--device); }
.zoom-device[data-kind="phone"] .browser-bar { display: none; }
.zoom-device[data-kind="phone"] .zoom-view { border-radius: 36px; }
.zoom-device[data-kind="phone"] .frame-loading b { display: none; }
@media (forced-colors: active) { .zoom-bar, .zoom-device { border: 1px solid CanvasText; } }

.switcher { margin-top: 1.75rem; }
.switcher-label { font-size: .875rem; font-weight: 600; color: var(--ink-soft); margin-bottom: .6rem; }
.chips { display: flex; flex-wrap: wrap; gap: .5rem; }
.chip {
  position: relative; overflow: hidden;
  min-height: 44px; padding: .45rem 1rem;
  border-radius: 999px; border: 1.5px solid var(--line);
  background: color-mix(in srgb, var(--raised) 75%, transparent); color: var(--ink);
  font-weight: 600; font-size: .9375rem; cursor: pointer;
  transition: background-color .25s, color .25s, border-color .25s;
}
.chip:hover { border-color: var(--ink); }
.chip[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: var(--paper); }
/* Auto-advance progress bar. JS listens for this animation's end to move to the next concept,
   so pausing the CSS animation also pauses the cycle. */
.chip::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 3px;
  background: var(--clay-light); transform: scaleX(0); transform-origin: 0 50%;
}
/* Longhands on purpose: the `animation` shorthand would reset animation-play-state to running
   and, with this selector's higher specificity, override the pause rules below. */
.switcher.is-cycling .chip[aria-pressed="true"]::after {
  animation-name: chip-progress;
  animation-duration: var(--cycle);
  animation-timing-function: linear;
  animation-fill-mode: forwards;
}
.hero.is-paused .chip::after,
.hero.is-offscreen .chip::after,
.hero-visual:hover .chip::after,
.switcher:focus-within .chip::after { animation-play-state: paused; }
@keyframes chip-progress { to { transform: scaleX(1); } }
.switcher-caption { margin: .85rem 0 0; font-size: .9375rem; color: var(--ink-soft); display: flex; flex-wrap: wrap; align-items: center; gap: .35rem .6rem; }
.cap-name { font-weight: 650; color: var(--ink); }
.cap-tag { font-size: .8125rem; font-weight: 600; padding: .15rem .55rem; border-radius: 999px; border: 1px solid var(--line); background: color-mix(in srgb, var(--raised) 70%, transparent); }
.switcher-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .35rem 1.25rem; }
.open-full { display: inline-flex; align-items: center; gap: .35rem; min-height: 44px; margin-top: .85rem; font-size: .9375rem; }
/* 2026-11-11: the logo blue measured 4.3:1 on the darkest grain pixels of the hero mesh, so this small link uses the
   darker blue (7.3:1 on cream); hover still thickens the underline and moves the arrow. */
.hero .open-full { color: var(--sage-deep); }
.open-full .icon { width: 1rem; height: 1rem; stroke-width: 2.25; transition: transform .3s var(--ease-out); }
.open-full:hover .icon { transform: translateX(3px); }

.motion-toggle {
  position: absolute; right: var(--gutter); bottom: 1.25rem; z-index: 2;
  display: inline-flex; align-items: center; gap: .45rem;
  min-height: 44px; padding: .45rem .95rem;
  border-radius: 999px; border: 1.5px solid var(--line);
  background: color-mix(in srgb, var(--raised) 85%, transparent); color: var(--ink);
  font-size: .875rem; font-weight: 600; cursor: pointer;
}
.motion-toggle[hidden] { display: none; }
.motion-toggle:hover { border-color: var(--ink); }
.motion-toggle .icon { width: 1rem; height: 1rem; stroke-width: 2.25; }
.motion-toggle .icon-play { display: none; }
.hero.is-paused .motion-toggle .icon-play { display: block; }
.hero.is-paused .motion-toggle .icon-pause { display: none; }

/* ---------- Browser frame ---------- */
.browser {
  background: var(--raised);
  border-radius: 14px; overflow: hidden;
  border: 1px solid rgb(var(--shadow-rgb) / .08);
  box-shadow: var(--shadow-lift);
}
.browser-bar {
  display: flex; align-items: center; gap: .75rem;
  height: 2.1rem; padding: 0 .85rem;
  background: #F1ECE2; border-bottom: 1px solid rgb(var(--shadow-rgb) / .07);
}
.dots { display: flex; gap: .35rem; }
.dots i { width: .55rem; height: .55rem; border-radius: 50%; background: #D8CFC0; }
.url {
  flex: 1; max-width: 58%; margin-inline: auto;
  display: flex; align-items: center; gap: .4rem;
  height: 1.2rem; padding: 0 .55rem; border-radius: 999px; background: #E6DFD2;
}
.url .icon { width: .7rem; height: .7rem; color: #7C7466; stroke-width: 2.5; }
.url i { height: .32rem; width: 48%; border-radius: 9px; background: #CFC6B6; }
/* Hero frame: a clearly labelled concept name instead of a domain (an invented domain could belong to a real business) */
.url-text { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: .6875rem; font-weight: 600; line-height: 1; color: #4A4438; }
.live-badge {
  display: none; align-items: center; gap: .3rem; margin-left: -.25rem;
  font-size: .625rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: #4A4438;
}
.live-badge::before { content: ""; width: .45rem; height: .45rem; border-radius: 50%; background: #1E8A4C; box-shadow: 0 0 0 3px rgb(30 138 76 / .2); }
.device-stage[data-state="live"] .live-badge { display: inline-flex; }
.browser-view { position: relative; aspect-ratio: 16 / 10; overflow: hidden; container-type: size; background: #fff; }

/* ---------- Mock pages (decorative, sized in container units so they scale with the frame) ---------- */
.mock {
  position: absolute; inset: 0 0 auto 0;
  display: flex; flex-direction: column; gap: 3.2cqw;
  padding-bottom: 4cqw;
  background: var(--m-bg);
}
.mock span, .pmock span { display: block; }
.m-nav { display: flex; align-items: center; gap: 2.4cqw; padding: 2.4cqw 4.5cqw; border-bottom: .25cqw solid var(--m-surf); }
.m-nav .s-l { width: 12cqw; height: 2.4cqw; border-radius: .8cqw; background: var(--m-pri); }
.m-nav .s-t { width: 6.5cqw; height: 1.1cqw; border-radius: 1cqw; background: var(--m-mut); }
.m-nav .s-l + .s-t { margin-left: auto; }
.m-nav .s-b { width: 11cqw; height: 3.4cqw; border-radius: 3cqw; background: var(--m-acc); }
.m-hero { display: grid; grid-template-columns: 1fr 1.1fr; gap: 4cqw; align-items: center; padding: 1.5cqw 4.5cqw 0; }
.m-copy { display: flex; flex-direction: column; gap: 1.5cqw; }
.m-copy .s-h { height: 3.8cqw; width: 92%; border-radius: .9cqw; background: var(--m-ink); }
.m-copy .s-h:nth-child(2) { width: 66%; }
.m-copy .s-t { height: 1.2cqw; width: 88%; border-radius: 1cqw; background: var(--m-mut); }
.m-copy .s-t:nth-child(3) { margin-top: .9cqw; }
.m-copy .s-t:nth-child(4) { width: 70%; }
.m-copy .s-b { width: 18cqw; height: 4.4cqw; border-radius: 4cqw; background: var(--m-acc); margin-top: 1.4cqw; }
.m-art { position: relative; aspect-ratio: 1.15; border-radius: 2.2cqw; overflow: hidden; background: var(--m-surf); }
.m-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2.6cqw; padding: 0 4.5cqw; }
.m-cards > span { position: relative; aspect-ratio: 1.25; border-radius: 1.8cqw; background: var(--m-surf); }
.m-cards > span::before { content: ""; position: absolute; left: 2.2cqw; top: 2.2cqw; width: 4.4cqw; height: 4.4cqw; border-radius: 50%; background: var(--m-pri); }
.m-cards > span::after {
  content: ""; position: absolute; left: 2.2cqw; right: 3cqw; bottom: 2.4cqw; height: 5.2cqw;
  background:
    linear-gradient(var(--m-ink), var(--m-ink)) 0 0 / 70% 1.3cqw no-repeat,
    linear-gradient(var(--m-mut), var(--m-mut)) 0 2.5cqw / 100% 1cqw no-repeat,
    linear-gradient(var(--m-mut), var(--m-mut)) 0 4.2cqw / 78% 1cqw no-repeat;
}
.m-band { display: grid; justify-items: center; gap: 1.6cqw; padding: 6cqw 4.5cqw; background: var(--m-pri); }
.m-band .s-h { width: 42cqw; height: 3.4cqw; border-radius: .9cqw; background: var(--m-bg); }
.m-band .s-t { width: 54cqw; height: 1.2cqw; border-radius: 1cqw; background: var(--m-bg); opacity: .55; }
.m-band .s-b { width: 16cqw; height: 4.2cqw; border-radius: 4cqw; background: var(--m-acc); margin-top: 1cqw; }
.m-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.8cqw; padding: 0 4.5cqw; }
.m-grid > span { aspect-ratio: 1; border-radius: 1.6cqw; background: var(--m-surf); }
.m-grid > span:nth-child(1) { background: var(--g1, var(--m-surf)); }
.m-grid > span:nth-child(2) { background: var(--g2, var(--m-surf)); }
.m-grid > span:nth-child(3) { background: var(--g3, var(--m-surf)); }
.m-grid > span:nth-child(4) { background: var(--g4, var(--m-surf)); }
.m-grid > span:nth-child(5) { background: var(--g5, var(--m-surf)); }
.m-grid > span:nth-child(6) { background: var(--g6, var(--m-surf)); }
.m-foot { display: flex; align-items: center; gap: 3cqw; margin-top: 2cqw; padding: 5cqw 4.5cqw; background: var(--m-ink); }
.m-foot .s-l { width: 12cqw; height: 2.4cqw; border-radius: .8cqw; background: var(--m-bg); opacity: .85; }
.m-foot .s-t { width: 14cqw; height: 1.1cqw; border-radius: 1cqw; background: var(--m-mut); opacity: .6; }
.m-foot .s-l + .s-t { margin-left: auto; }

/* Phone mock */
.pmock { position: absolute; inset: 0; display: flex; flex-direction: column; gap: 5cqw; background: var(--m-bg); }
.p-nav { display: flex; justify-content: space-between; align-items: center; padding: 7cqw 7cqw 2cqw; }
.p-nav .s-l { width: 36cqw; height: 6.5cqw; border-radius: 2cqw; background: var(--m-pri); }
.p-nav .s-m {
  width: 10cqw; height: 6.5cqw;
  background:
    linear-gradient(var(--m-ink), var(--m-ink)) 0 0 / 100% 1.5cqw no-repeat,
    linear-gradient(var(--m-ink), var(--m-ink)) 0 2.5cqw / 100% 1.5cqw no-repeat,
    linear-gradient(var(--m-ink), var(--m-ink)) 0 5cqw / 100% 1.5cqw no-repeat;
}
.pmock .m-art { margin: 0 7cqw; aspect-ratio: 1.02; border-radius: 6cqw; }
.p-copy { display: flex; flex-direction: column; gap: 3.2cqw; padding: 1cqw 7cqw 0; }
.p-copy .s-h { height: 7cqw; width: 94%; border-radius: 2cqw; background: var(--m-ink); }
.p-copy .s-h:nth-child(2) { width: 68%; }
.p-copy .s-t { height: 3cqw; width: 88%; border-radius: 2cqw; background: var(--m-mut); margin-top: 1.5cqw; }
.p-copy .s-b { width: 60cqw; height: 11cqw; border-radius: 11cqw; background: var(--m-acc); margin-top: 3cqw; }

/* Industry themes for the mockups (colours from each industry's palette note) */
.t-landscaping {
  --m-bg: #F7F8F2; --m-surf: #E6EDDC; --m-pri: #2F6B3A; --m-acc: #B5532A; --m-ink: #1C2419; --m-mut: #BCC5B2;
  --g1: linear-gradient(160deg, #9DBB86, #2F6B3A); --g2: linear-gradient(200deg, #E6EDDC, #C9D8B8);
  --g3: linear-gradient(160deg, #D9B37E, #B5532A); --g4: linear-gradient(180deg, #B9CDA2, #5E8B57);
  --g5: linear-gradient(160deg, #DDE5D2, #A7BD93); --g6: linear-gradient(200deg, #86A874, #2F6B3A);
  --c-bg: #E8EEDF;
}
.t-landscaping .m-art {
  background:
    radial-gradient(circle at 76% 26%, #F4D3A8 0 8%, transparent 8.5%),
    radial-gradient(ellipse 85% 52% at 12% 100%, #2F6B3A 0 99%, transparent 100%),
    radial-gradient(ellipse 80% 46% at 96% 100%, #3E7C45 0 99%, transparent 100%),
    radial-gradient(ellipse 110% 60% at 55% 100%, #86A874 0 99%, transparent 100%),
    radial-gradient(ellipse 120% 74% at 22% 100%, #B9CDA2 0 99%, transparent 100%),
    linear-gradient(180deg, #E4ECDA 0%, #F7F1E4 100%);
}
.t-coffee {
  --m-bg: #FBF7F1; --m-surf: #F2E8DB; --m-pri: #6F4430; --m-acc: #B44A33; --m-ink: #2B1D16; --m-mut: #D6C7B6;
  --g1: linear-gradient(160deg, #C8925F, #6F4430); --g2: linear-gradient(200deg, #F2E8DB, #E2CDB4);
  --g3: linear-gradient(160deg, #D98E6E, #B44A33); --g4: linear-gradient(180deg, #A9774F, #5A3726);
  --g5: linear-gradient(160deg, #F6EEE3, #DCC4A8); --g6: linear-gradient(200deg, #B98A5E, #6F4430);
  --c-bg: #F3EADF;
}
.t-coffee .m-art {
  background:
    radial-gradient(circle closest-side at 50% 52%,
      #CB9767 0 15%, #7A4A30 16% 43%, #F7F1E8 44% 57%, #E4D6C4 58% 60%,
      #FFFFFF 61% 85%, rgb(43 29 22 / .1) 86% 89%, transparent 90%),
    linear-gradient(135deg, #D7B490 0%, #B98A63 100%);
}
.t-cleaning {
  --m-bg: #F7FBFD; --m-surf: #E3F1F7; --m-pri: #0B6FA4; --m-acc: #1F7A4D; --m-ink: #102A3A; --m-mut: #B8CAD5;
  --g1: linear-gradient(160deg, #BFDDEB, #0B6FA4); --g2: linear-gradient(200deg, #E3F1F7, #C6E1EE);
  --g3: linear-gradient(160deg, #A8D8BE, #1F7A4D); --g4: linear-gradient(180deg, #D6ECF5, #7FB8D6);
  --g5: linear-gradient(160deg, #F2F9FC, #CFE5EF); --g6: linear-gradient(200deg, #8CC3DF, #0B6FA4);
  --c-bg: #E4EFF4;
}
.t-cleaning .m-art {
  background:
    radial-gradient(ellipse 4% 4.6% at 27% 30%, #fff 0 90%, transparent 100%),
    radial-gradient(ellipse 18% 20.7% at 33% 38%, rgb(255 255 255 / .35) 0 80%, rgb(255 255 255 / .95) 82% 91%, transparent 94%),
    radial-gradient(ellipse 2.4% 2.8% at 66% 56%, #fff 0 90%, transparent 100%),
    radial-gradient(ellipse 11% 12.6% at 70% 61%, rgb(255 255 255 / .3) 0 78%, rgb(255 255 255 / .9) 80% 90%, transparent 93%),
    radial-gradient(ellipse 7% 8% at 58% 24%, rgb(255 255 255 / .3) 0 76%, rgb(255 255 255 / .9) 78% 90%, transparent 93%),
    radial-gradient(ellipse 6% 6.9% at 22% 76%, rgb(255 255 255 / .3) 0 76%, rgb(255 255 255 / .9) 78% 90%, transparent 93%),
    linear-gradient(155deg, #E3F1F7 0%, #A9D3E8 100%);
}
.t-cleaning .m-art::after {
  content: ""; position: absolute; right: 16%; top: 14%; width: 14%; aspect-ratio: 1;
  background: #fff;
  clip-path: polygon(50% 0, 60% 40%, 100% 50%, 60% 60%, 50% 100%, 40% 60%, 0 50%, 40% 40%);
}
.t-salon {
  --m-bg: #FAF7F2; --m-surf: #EFE7DC; --m-pri: #8A5A44; --m-acc: #5E7357; --m-ink: #2B2622; --m-mut: #D3C7BB;
  --g1: linear-gradient(160deg, #E6C3B3, #8A5A44); --g2: linear-gradient(200deg, #EFE7DC, #DDD0C0);
  --g3: linear-gradient(160deg, #B8C6AE, #5E7357); --g4: linear-gradient(180deg, #F3D9CC, #C99A84);
  --g5: linear-gradient(160deg, #F7F1EA, #E2D4C6); --g6: linear-gradient(200deg, #C99A84, #8A5A44);
  --c-bg: #F1E8E0;
}
.t-salon .m-art {
  background:
    radial-gradient(circle at 74% 24%, #F6DFD3 0 9%, transparent 9.5%),
    linear-gradient(180deg, #EFE7DC 0%, #E7D9CB 100%);
}
.t-salon .m-art::before,
.t-salon .m-art::after { content: ""; position: absolute; bottom: 0; border-radius: 999px 999px 0 0; }
.t-salon .m-art::before { left: 14%; width: 34%; height: 74%; background: linear-gradient(180deg, #D7AE9A, #B88069); }
.t-salon .m-art::after { right: 16%; width: 28%; height: 56%; background: linear-gradient(180deg, #AEBEA6, #7F9477); }
.t-parity {
  --m-bg: #FBF8F2; --m-surf: #EEE7DA; --m-pri: #2F5D50; --m-acc: #B4643F; --m-ink: #1F2933; --m-mut: #D2C9B9;
}
.t-parity .m-art {
  background:
    radial-gradient(circle at 30% 30%, #DCE7DF 0 22%, transparent 22.5%),
    radial-gradient(circle at 72% 64%, #F2DFD2 0 28%, transparent 28.5%),
    linear-gradient(160deg, #EEE7DA, #E2D9CA);
}

/* ---------- 01 Why Parity: bento grid with micro-demos (revision 1) ----------
   Each tile's art is decorative (aria-hidden). Its resting state is the final frame of its micro-demo.
   The demos play once, only with JS and motion allowed, when the scroll reveal adds .is-visible.
   Nothing loops, so no pause control is needed (all finish within about 3 s). */
.bento {
  list-style: none; margin: 0; padding: 0;
  display: grid; gap: clamp(.75rem, .5rem + .8vw, 1.125rem);
  grid-template-columns: minmax(0, 1fr);
}
/* grid-area names only inside the media queries that define them (an undefined area name creates implicit tracks) */
@media (min-width: 40rem) {
  .bento {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-areas: "mobile fast" "mobile access" "price domain" "local local";
  }
  .tile-mobile { grid-area: mobile; } .tile-fast { grid-area: fast; } .tile-access { grid-area: access; }
  .tile-price { grid-area: price; } .tile-local { grid-area: local; } .tile-domain { grid-area: domain; }
}
@media (min-width: 64rem) {
  .bento {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    grid-template-areas: "mobile fast fast" "mobile access price" "local local domain";
  }
}

.tile {
  --tile-soft: var(--ink-soft);
  position: relative; isolation: isolate; overflow: hidden;
  display: flex; flex-direction: column; gap: clamp(1.25rem, 1rem + 1vw, 1.75rem);
  padding: clamp(1.25rem, 1rem + 1.1vw, 2rem);
  border-radius: 24px;
  background: var(--raised); color: var(--ink);
  box-shadow: 0 1px 2px rgb(var(--shadow-rgb) / .05), 0 22px 44px -30px rgb(var(--shadow-rgb) / .4);
}
.tile h3 { font-size: clamp(1.4rem, 1.2rem + .6vw, 1.7rem); letter-spacing: -.02em; margin: 0 0 .5rem; }
.tile p { margin: 0; color: var(--tile-soft); max-width: 34rem; }
.tile-art {
  order: -1; flex: 1 0 auto; position: relative;
  display: grid; place-items: center; min-height: 9.5rem;
  container-type: inline-size;   /* the price tile hides its quote card when the art is narrow */
}
.tile-art .icon { width: 1em; height: 1em; }
@media (min-width: 40rem) {
  .tile-local { flex-direction: row; align-items: center; gap: clamp(1.5rem, 3vw, 2.5rem); }
  .tile-local .tile-art { order: 0; flex: 1.3 1 0; }
  .tile-local .tile-copy { flex: 1 1 0; }
}
@media (min-width: 64rem) {
  .tile-fast { flex-direction: row; align-items: center; gap: clamp(1.5rem, 3vw, 2.5rem); }
  .tile-fast .tile-art { order: 0; flex: 1.1 1 0; }
  .tile-fast .tile-copy { flex: 1 1 0; }
}

/* Tile colours: all from the palette (ratios in the project note) */
.tile-mobile {
  --tile-soft: var(--deep-soft); color: var(--on-deep);
  background:
    radial-gradient(75% 42% at 50% 30%, rgb(231 183 156 / .1), transparent 72%),   /* .1 keeps deep-soft text >= 4.9:1 even at the glow's centre */
    linear-gradient(165deg, var(--forest-2) 0%, var(--deep) 62%);
}
.tile-access {
  --tile-soft: var(--deep-soft); color: var(--on-deep);
  background: radial-gradient(90% 60% at 0% 0%, color-mix(in srgb, var(--sage) 30%, transparent), transparent 70%), var(--tile-ink);
}
.tile-price { background: radial-gradient(80% 60% at 85% 0%, var(--price-glow), transparent 70%), var(--clay-soft); }
.tile-domain {
  --tile-soft: var(--on-sage-soft); color: var(--on-sage);
  background: radial-gradient(90% 70% at 100% 100%, rgb(29 43 39 / .35), transparent 70%), var(--sage);
}

/* --- Mobile-first: a phone with a thumb-reach action bar --- */
.art-phone { padding-block: .25rem .5rem; }
.mini-phone {
  width: clamp(9.75rem, 8rem + 6vw, 12.25rem); aspect-ratio: 9 / 18.6;
  padding: .42rem; border-radius: 1.75rem; background: #0D1513;
  box-shadow: 0 0 0 1px rgb(246 242 234 / .16), 0 34px 60px -24px rgb(0 0 0 / .7);
}
.mp-screen {
  position: relative; height: 100%; overflow: hidden;
  display: flex; flex-direction: column; gap: .5rem; padding: .8rem .7rem 0;
  border-radius: 1.35rem; background: var(--raised);
}
.mp-top { display: flex; justify-content: space-between; align-items: center; flex-shrink: 0; }
.mp-top i { width: 42%; height: .5rem; border-radius: .25rem; background: var(--sage); }
.mp-top b {
  width: .9rem; height: .55rem;
  background:
    linear-gradient(var(--ink), var(--ink)) 0 0 / 100% 2px no-repeat,
    linear-gradient(var(--ink), var(--ink)) 0 50% / 100% 2px no-repeat,
    linear-gradient(var(--ink), var(--ink)) 0 100% / 100% 2px no-repeat;
}
.mp-hero {
  display: block; flex-shrink: 0; aspect-ratio: 1.2; border-radius: .7rem;
  background:
    radial-gradient(circle at 74% 28%, #F4D3A8 0 9%, transparent 9.5%),
    radial-gradient(ellipse 90% 55% at 15% 100%, var(--sage) 0 99%, transparent 100%),
    radial-gradient(ellipse 110% 62% at 70% 100%, #8FB3A2 0 99%, transparent 100%),
    linear-gradient(180deg, var(--sage-soft) 0%, #F3EBDF 100%);
}
.mp-h, .mp-t { display: block; flex-shrink: 0; border-radius: .2rem; }
.mp-h { height: .55rem; width: 88%; background: var(--ink); }
.mp-h2 { width: 60%; }
.mp-t { height: .3rem; width: 92%; background: #D2C9B9; }
.mp-t2 { width: 70%; }
.mp-open {
  align-self: flex-start; flex-shrink: 0;
  display: inline-flex; align-items: center; gap: .3rem;
  padding: .2rem .5rem; border-radius: 999px;
  background: var(--sage-soft); color: var(--sage);
  font-size: .625rem; font-weight: 700; line-height: 1.2;
}
.mp-open::before { content: ""; width: .4rem; height: .4rem; border-radius: 50%; background: var(--sage); }
.mp-cards { display: grid; grid-template-columns: 1fr 1fr; gap: .4rem; flex-shrink: 0; }
.mp-cards i { aspect-ratio: 1.15; border-radius: .5rem; background: linear-gradient(160deg, var(--sage-soft), #C3D6CA); }
.mp-cards i + i { background: linear-gradient(160deg, var(--clay-soft), #E8C7B2); }
.mp-actions {
  position: absolute; left: 0; right: 0; bottom: 0;
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .3rem;
  padding: .45rem .45rem .7rem;
  background: color-mix(in srgb, var(--raised) 97%, transparent); box-shadow: 0 -8px 18px -10px rgb(var(--shadow-rgb) / .35);
}
.mp-btn {
  position: relative; display: grid; justify-items: center; gap: .12rem;
  padding: .32rem 0 .28rem; border-radius: .55rem;
  font-size: .625rem; font-weight: 700; line-height: 1.1;
}
.mp-btn .icon { width: .85rem; height: .85rem; stroke-width: 2.2; }
.mp-call { background: var(--sage); color: var(--on-sage); }
.mp-map { background: var(--sage-soft); color: var(--sage); }
.mp-book { background: var(--clay-soft); color: var(--clay-text); }
.mp-call::after {   /* tap ripple: only visible while animating */
  content: ""; position: absolute; left: 50%; top: 50%;
  width: 2.4rem; height: 2.4rem; margin: -1.2rem 0 0 -1.2rem;
  border-radius: 50%; border: 2px solid var(--clay-light); opacity: 0; pointer-events: none;
}

/* --- Fast: a load-time gauge. Bands are Google's Core Web Vitals LCP bands (good up to 2.5 s, poor over 4 s).
       The needle shows the target, not a measured result. --- */
.art-gauge { min-height: 10.5rem; }
.gauge { width: min(100%, 17.5rem); display: grid; justify-items: center; gap: .6rem; }
.gauge-svg { display: block; width: 100%; height: auto; overflow: visible; }
.g-seg { fill: none; stroke-width: 15; }
.g-good { stroke: var(--sage); stroke-dasharray: 41.2 100; }
.g-mid { stroke: #DDB06A; stroke-dasharray: 0 42.15 24.05 100; }
.g-poor { stroke: var(--clay); stroke-dasharray: 0 67.15 32.85 100; }
.g-tick { font-family: var(--font-body); font-size: 10.5px; font-weight: 600; fill: var(--tick); }
.g-needle { transform-box: view-box; transform-origin: 110px 110px; transform: rotate(48deg); }
.g-needle line { stroke: var(--ink); stroke-width: 4.5; stroke-linecap: round; }
.g-needle circle { fill: var(--ink); }
.g-needle .g-hub { fill: var(--raised); }
.gauge-chip {
  display: inline-flex; align-items: center; gap: .4rem;
  padding: .3rem .75rem; border-radius: 999px;
  background: var(--sage-soft); color: var(--sage); font-size: .8125rem; font-weight: 700;
}
.gauge-chip i { width: .5rem; height: .5rem; border-radius: 50%; background: var(--sage); }

/* --- Accessible: a Tab key moves a visible focus ring across three buttons --- */
.art-keys { min-height: 9rem; }
.keys { width: min(100%, 17rem); display: grid; gap: 1.1rem; justify-items: start; }
.keycap {
  display: inline-flex; align-items: center; gap: .45rem;
  padding: .5rem .85rem .55rem; border-radius: .6rem;
  background: var(--paper); color: var(--ink);
  font-size: .875rem; font-weight: 700; letter-spacing: .02em;
  box-shadow: 0 4px 0 #9AA7A0, 0 6px 14px -4px rgb(0 0 0 / .5);
}
.keycap .icon { width: 1.05rem; height: 1.05rem; stroke-width: 2.2; }
.fbtns { position: relative; width: 100%; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .55rem; }
.fbtn {
  display: grid; place-items: center; min-height: 2.5rem; border-radius: 999px;
  background: var(--slate-2); color: var(--paper);
  font-size: .875rem; font-weight: 650;
  box-shadow: inset 0 0 0 1px rgb(246 242 234 / .14);
}
.fring {
  position: absolute; left: 0; top: 0; bottom: 0; width: calc((100% - 1.1rem) / 3);
  border-radius: 999px; outline: 3px solid var(--clay-light); outline-offset: 3px;
  transform: translateX(calc(200% + 1.1rem));
}

/* --- Fixed price: a hanging price tag and a signed written quote --- */
.art-tag { min-height: 10.5rem; }
.tag-scene { display: flex; align-items: flex-start; justify-content: center; gap: 1rem; width: 100%; }
.tag-swing { display: flex; flex-direction: column; align-items: center; transform-origin: 50% .35rem; transform: rotate(-3deg); }
.tag-nail {
  position: relative; z-index: 2; width: .7rem; height: .7rem; border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #C9BBAA, #6E6455); box-shadow: 0 1px 2px rgb(0 0 0 / .3);
}
.tag-string { position: relative; z-index: 1; width: 2px; height: 2.45rem; margin: -.2rem 0 -1rem; background: #6E6455; }
.tag {
  position: relative; display: grid; justify-items: center;
  width: 6.75rem; padding: 1.4rem .5rem .9rem;
  background: var(--terracotta); color: var(--on-terracotta);
  clip-path: polygon(50% 0, 100% 14%, 100% 100%, 0 100%, 0 14%);
}
.tag::before {   /* the hole the string goes through */
  content: ""; position: absolute; top: .6rem; left: 50%; width: .5rem; height: .5rem; margin-left: -.25rem;
  border-radius: 50%; background: var(--clay-soft); box-shadow: inset 0 1px 1px rgb(0 0 0 / .35);
}
.tag-from { font-size: .75rem; font-weight: 600; color: var(--clay-soft); }
.tag-amount { font-family: var(--font-display); font-size: 1.85rem; font-weight: 600; line-height: 1.05; letter-spacing: -.02em; }
.tag-note { font-size: .6875rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--clay-soft); }
.quote-card {
  display: grid; gap: .4rem; width: 8.75rem; margin-top: 1.4rem;
  padding: .75rem .8rem .7rem; border-radius: .7rem;
  background: var(--raised); box-shadow: 0 10px 24px -14px rgb(var(--shadow-rgb) / .45);
  transform: rotate(2.5deg);
}
.qc-title { font-size: .6875rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--clay-text); }
.qc-line { display: block; height: .3rem; border-radius: .2rem; background: #D2C9B9; }
.qc-short { width: 65%; }
.qc-sign { display: block; width: 80%; height: auto; }
.qc-sign path { fill: none; stroke: var(--ink); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 100; stroke-dashoffset: 0; }
.qc-ok {
  justify-self: start; display: inline-flex; align-items: center; gap: .25rem;
  padding: .15rem .45rem; border-radius: 999px;
  background: var(--sage-soft); color: var(--sage); font-size: .6875rem; font-weight: 700;
}
.qc-ok .icon { width: .8rem; height: .8rem; stroke-width: 3; }
/* The quote card needs 16.5rem (264 px) beside the tag. Below that it's hidden, and the tag stands alone.
   Note: toggling display restarts the card's micro-demo. That only happens on a real resize across this width. */
@container (max-width: 16.5rem) { .quote-card { display: none; } }

/* --- Found locally: a search, a pin drop and a local result --- */
.art-map { min-height: 0; }
.map {
  position: relative; width: 100%; height: 14.5rem; border-radius: 18px; overflow: hidden;
  background:
    repeating-linear-gradient(90deg, transparent 0 52px, rgb(255 255 255 / .9) 52px 56px),
    repeating-linear-gradient(0deg, transparent 0 40px, rgb(255 255 255 / .9) 40px 44px),
    #E9E2D3;
  box-shadow: inset 0 0 0 1px rgb(var(--shadow-rgb) / .06);
}
.map > span { position: absolute; display: block; }
.map-park { left: 7%; top: 8%; width: 30%; height: 30%; border-radius: 14px; background: #CFE0D3; }
.map-river { left: -10%; right: -10%; top: 50%; height: 22px; border-radius: 50%; background: #CFDDE6; transform: rotate(-7deg); }
.map-avenue { left: -10%; right: -10%; top: 30%; height: 9px; background: #fff; transform: rotate(22deg); }
.map-pin { left: 70%; top: 7%; width: 2rem; height: 2.6rem; }
.map-pin::after {   /* ground shadow */
  content: ""; position: absolute; left: 50%; bottom: -.15rem; width: 1rem; height: .35rem; margin-left: -.5rem;
  border-radius: 50%; background: rgb(var(--shadow-rgb) / .22);
}
.pin-head {
  position: absolute; left: 0; top: 0; z-index: 1; width: 2rem; height: 2rem;
  border-radius: 50% 50% 50% 0; background: var(--clay); transform: rotate(-45deg);
  box-shadow: -2px 3px 6px rgb(var(--shadow-rgb) / .25);
}
.pin-head::after { content: ""; position: absolute; inset: 0; margin: auto; width: .7rem; height: .7rem; border-radius: 50%; background: var(--raised); }
.pin-pulse {   /* ring that spreads once when the pin lands */
  position: absolute; left: 50%; bottom: -.4rem; width: 1.8rem; height: .7rem; margin-left: -.9rem;
  border-radius: 50%; border: 2px solid var(--clay); opacity: 0;
}
.serp { position: absolute; left: .75rem; bottom: .75rem; z-index: 2; width: min(16rem, calc(100% - 1.5rem)); display: grid; gap: .45rem; }
.serp-search {
  display: flex; align-items: center; gap: .4rem; justify-self: start;
  padding: .4rem .8rem .4rem .65rem; border-radius: 999px;
  background: var(--raised); color: var(--ink-soft); font-size: .8125rem; font-weight: 600;
  box-shadow: 0 6px 16px -10px rgb(var(--shadow-rgb) / .5);
}
.serp-search .icon { width: .95rem; height: .95rem; stroke-width: 2.2; color: var(--ink); }
.serp-card {
  display: grid; gap: .3rem; padding: .7rem .8rem; border-radius: 14px;
  background: var(--raised); box-shadow: 0 14px 30px -16px rgb(var(--shadow-rgb) / .55);
}
.serp-name { font-family: var(--font-display); font-weight: 600; font-size: 1.05rem; line-height: 1.1; color: var(--ink); }
.serp-meta { font-size: .75rem; color: var(--ink-soft); }
.serp-meta b { color: var(--sage); font-weight: 700; }
.serp-chips { display: flex; flex-wrap: wrap; gap: .3rem; margin-top: .1rem; }
.serp-chips i { font-style: normal; font-size: .6875rem; font-weight: 650; padding: .15rem .5rem; border-radius: 999px; border: 1px solid var(--line); color: var(--ink); }

/* --- Own your domain: a registration deed with a key seal --- */
.art-deed { min-height: 10rem; padding-bottom: 1.25rem; }
.deed {
  position: relative; display: grid; gap: .35rem; width: min(100%, 15rem);
  padding: .9rem 1rem 2.1rem; border-radius: .6rem;   /* bottom space is the seal's spot, so it never covers a value */
  background: var(--raised); color: var(--ink);
  box-shadow: inset 0 0 0 4px var(--raised), inset 0 0 0 5px var(--hairline), 0 18px 34px -18px rgb(0 0 0 / .55);
  transform: rotate(-2.5deg);
}
.deed-kicker { font-size: .6875rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--clay-text); }
.deed-domain { font-family: var(--font-display); font-weight: 600; font-size: 1.15rem; letter-spacing: -.01em; margin-bottom: .2rem; overflow-wrap: anywhere; }
.deed-row { display: flex; justify-content: space-between; gap: .75rem; padding-top: .35rem; border-top: 1px dashed var(--hairline); font-size: .8125rem; color: var(--ink-soft); }
.deed-row b { color: var(--ink); font-weight: 700; }
.deed-you { padding: 0 .3rem; border-radius: .25rem; background: linear-gradient(var(--clay-light), var(--clay-light)) no-repeat 0 0 / 100% 100%; }
.deed-seal {
  position: absolute; right: .9rem; bottom: -1.2rem;
  display: grid; place-items: center; width: 2.9rem; height: 2.9rem; border-radius: 50%;
  background: var(--terracotta); color: var(--on-terracotta);
  box-shadow: 0 0 0 3px rgb(246 242 234 / .9), 0 6px 14px -4px rgb(0 0 0 / .45);
}
.deed-seal .icon { width: 1.35rem; height: 1.35rem; stroke-width: 2; }

/* --- The micro-demos (signature effect for this section). One pass each, keyed off the reveal. --- */
@media (prefers-reduced-motion: no-preference) {
  /* Mobile-first: the action bar slides up, then "Call" is tapped */
  .js .tile-mobile.is-visible .mp-actions { animation: mp-bar-in .6s var(--ease-out) .55s both; }
  .js .tile-mobile.is-visible .mp-call { animation: mp-press .5s ease 1.45s both; }
  .js .tile-mobile.is-visible .mp-call::after { animation: ripple-out .9s var(--ease-out) 1.45s both; }
  /* Fast: the needle sweeps into the good band and settles; then the target chip appears */
  .js .tile-fast.is-visible .g-needle { animation: g-sweep 1.7s cubic-bezier(.25, .8, .3, 1) .5s both; }
  .js .tile-fast.is-visible .gauge-chip { animation: pop-in .45s var(--ease-out) 1.9s both; }
  /* Accessible: three Tab presses move the focus ring across the buttons */
  .js .tile-access.is-visible .fring { animation: f-hop 2.6s var(--ease-in-out) .5s both; }
  .js .tile-access.is-visible .keycap { animation: key-press 2.6s linear .5s both; }
  /* Fixed price: the tag swings to rest, then the quote is signed and agreed */
  .js .tile-price.is-visible .tag-swing { animation: tag-swing 2.1s ease-in-out .45s both; }
  .js .tile-price.is-visible .qc-sign path { animation: draw-sign 1s ease-in-out 1.4s both; }
  .js .tile-price.is-visible .qc-ok { animation: pop-in .45s var(--ease-out) 2.35s both; }
  /* Found locally: the search appears, the pin drops and pulses, the result rises in */
  .js .tile-local.is-visible .serp-search { animation: rise-in .5s var(--ease-out) .35s both; }
  .js .tile-local.is-visible .map-pin { animation: pin-drop .75s cubic-bezier(.34, 1.45, .55, 1) .6s both; }
  .js .tile-local.is-visible .pin-pulse { animation: pin-pulse 1.1s var(--ease-out) 1.25s both; }
  .js .tile-local.is-visible .serp-card { animation: rise-in .6s var(--ease-out) 1.35s both; }
  /* Domain: the deed settles, the key seal is stamped, "You" is highlighted */
  .js .tile-domain.is-visible .deed { animation: deed-in .7s var(--ease-out) .4s both; }
  .js .tile-domain.is-visible .deed-seal { animation: seal-stamp .55s cubic-bezier(.3, 1.3, .5, 1) 1.05s both; }
  .js .tile-domain.is-visible .deed-you { animation: mark-you .5s var(--ease-out) 1.6s both; }
}
@keyframes mp-bar-in { from { transform: translateY(105%); } }
@keyframes mp-press { 0%, 100% { transform: none; } 35% { transform: scale(.9); } }
@keyframes ripple-out { from { opacity: .95; transform: scale(.25); } to { opacity: 0; transform: scale(1.5); } }
@keyframes g-sweep { 0% { transform: rotate(0deg); } 55% { transform: rotate(63deg); } 78% { transform: rotate(44deg); } 100% { transform: rotate(48deg); } }
@keyframes pop-in { from { opacity: 0; transform: translateY(6px) scale(.92); } }
@keyframes f-hop {
  0% { transform: none; opacity: 0; }
  8%, 32% { transform: none; opacity: 1; }
  42%, 64% { transform: translateX(calc(100% + .55rem)); }
  74%, 100% { transform: translateX(calc(200% + 1.1rem)); opacity: 1; }
}
@keyframes key-press {
  0%, 9%, 28%, 37%, 60%, 69%, 100% { transform: none; box-shadow: 0 4px 0 #9AA7A0, 0 6px 14px -4px rgb(0 0 0 / .5); }
  4%, 32%, 64% { transform: translateY(3px); box-shadow: 0 1px 0 #9AA7A0, 0 3px 8px -4px rgb(0 0 0 / .5); }
}
@keyframes tag-swing {
  0% { transform: rotate(14deg); } 22% { transform: rotate(-10deg); } 44% { transform: rotate(6deg); }
  64% { transform: rotate(-5deg); } 82% { transform: rotate(-1.5deg); } 100% { transform: rotate(-3deg); }
}
@keyframes draw-sign { from { stroke-dashoffset: 100; } }
@keyframes rise-in { from { opacity: 0; transform: translateY(10px); } }
@keyframes pin-drop { from { transform: translateY(-2.75rem); opacity: 0; } 40% { opacity: 1; } }
@keyframes pin-pulse { from { opacity: .9; transform: scale(.4); } to { opacity: 0; transform: scale(2.4); } }
@keyframes deed-in { from { transform: rotate(-8deg) translateY(14px); } }
@keyframes seal-stamp { from { opacity: 0; transform: scale(1.9) rotate(-25deg); } }
@keyframes mark-you { from { background-size: 0 100%; } }

/* ---------- Concept showcase ---------- */
.concept-card {
  position: relative;
  display: grid; gap: 1.75rem; align-items: center;
  padding: clamp(1.25rem, .8rem + 2.2vw, 2.75rem);
  border-radius: 28px;
  background: var(--c-bg, var(--raised));
  border: 1px solid rgb(var(--shadow-rgb) / .08);
  box-shadow: 0 1px 2px rgb(var(--shadow-rgb) / .05), 0 30px 60px -32px rgb(var(--shadow-rgb) / .35);
}
@media (min-width: 60rem) {
  .concept-card { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(2rem, 4vw, 3.5rem); }
}
.concept-tag {
  display: inline-flex; align-items: center; margin: 0 0 1.1rem;
  padding: .3rem .75rem; border-radius: 999px;
  background: var(--ink); color: var(--paper);
  font-size: .8125rem; font-weight: 600; letter-spacing: .01em;
}
.concept-industry { margin: 0 0 .35rem; font-size: .875rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--clay-text); }
.concept-card h3 { font-size: clamp(1.75rem, 1.3rem + 1.6vw, 2.5rem); margin-bottom: .85rem; }
.concept-desc { color: var(--ink-soft); }
.concept-points { list-style: none; margin: 0 0 1.5rem; padding: 0; display: grid; gap: .4rem; }
.concept-points li { position: relative; padding-left: 1.4rem; }
.concept-points li::before { content: ""; position: absolute; left: .15rem; top: .62em; width: .5rem; height: .5rem; border-radius: 50%; background: var(--sage); }
.concept-link {
  display: inline-flex; align-items: center; gap: .5rem; min-height: 48px;
  padding: .7rem 1.3rem; border-radius: 999px;
  background: var(--ink); color: var(--paper);
  font-weight: 650; text-decoration: none;
  transition: background-color .25s;
}
.concept-link .icon { transition: transform .3s var(--ease-out); }
/* Whole card is clickable through the one real link (no duplicate tab stops). */
.concept-link::after { content: ""; position: absolute; inset: 0; border-radius: 28px; z-index: 1; }
.concept-card:hover .concept-link { background: var(--ink-soft); }
.concept-card:has(.concept-link:focus-visible) { outline: 3px solid var(--focus); outline-offset: 4px; }
.concept-frame { min-width: 0; }
.concept-frame .browser { transition: transform .5s var(--ease-out), box-shadow .5s; }
.concept-frame .browser-view { aspect-ratio: 16 / 10.5; }
.shot-pan { position: absolute; inset: 0 0 auto 0; transition: transform 1.4s var(--ease-in-out); }
.shot-pan .mock { position: relative; padding-bottom: 0; }
.shot-img { display: block; width: 100%; height: auto; }
@media (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) {
  .concept-card:hover .concept-frame .browser { transform: translateY(-6px); }
  .concept-card:hover .concept-link .icon { transform: translateX(4px); }
  .concept-card:hover .shot-pan { transform: translateY(calc(-100% + 100cqh)); transition-duration: 5s; }
}
@media (prefers-reduced-motion: no-preference) {
  .concept-card:focus-within .shot-pan { transform: translateY(calc(-100% + 100cqh)); transition-duration: 5s; }
}

/* Concept tabs (Revision 2): one concept at a time instead of four stacked cards, which cut about three
   screens of scrolling. Without JS the tab bar stays hidden and all four cards show in a column.
   Each tab's dot uses that concept's own primary colour (from its .t-* theme). */
.ctab-list {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .4rem;
  margin: 0 0 1.25rem; padding: .4rem; border-radius: 24px;
  background: color-mix(in srgb, var(--raised) 80%, transparent); border: 1px solid var(--hairline);
  box-shadow: var(--shadow-soft);
}
@media (min-width: 48rem) { .ctab-list { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.ctab {
  position: relative; display: grid; align-content: center; gap: .15rem; text-align: left;
  min-height: 68px; padding: .65rem .85rem .65rem 2.35rem; border: 0; border-radius: 18px; cursor: pointer;
  background: transparent; color: var(--ink); font: inherit;
  transition: background-color .25s, color .25s, box-shadow .25s;
}
.ctab::before {
  content: ""; position: absolute; left: .95rem; top: 50%; width: .75rem; height: .75rem; margin-top: -.375rem;
  border-radius: 50%; background: var(--m-pri); box-shadow: 0 0 0 3px var(--m-surf);
}
.ctab-ind { font-size: .875rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--clay-text); line-height: 1.25; }
.ctab-name { font-family: var(--font-display); font-size: clamp(1rem, .95rem + .3vw, 1.1875rem); font-weight: 560; line-height: 1.15; }
.ctab:hover { background: color-mix(in srgb, var(--ink) 7%, transparent); }
.ctab[aria-selected="true"] { background: var(--ink); color: var(--paper); box-shadow: 0 10px 24px -14px rgb(var(--shadow-rgb) / .7); }
.ctab[aria-selected="true"] .ctab-ind { color: var(--paper); }
.ctab:focus-visible { outline-offset: 2px; }
@media (max-width: 29.99rem) {
  .ctab { padding: .6rem .6rem .6rem 1.95rem; }
  .ctab::before { left: .75rem; }
  .ctab-ind { letter-spacing: .04em; }
}
.concepts { list-style: none; margin: 0; padding: 0; display: grid; gap: 1.25rem; }
.ctab-panel[hidden] { display: none; }
@media (prefers-reduced-motion: no-preference) {
  .js .ctab-panel.is-entering .concept-card { animation: fade-up .5s var(--ease-out); }
}

.coming { margin-top: 2rem; display: flex; flex-wrap: wrap; align-items: center; gap: .75rem 1rem; }
.coming-title { margin: 0; font-weight: 650; }
.coming-list { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .5rem; }
.coming-list li { padding: .35rem .85rem; border-radius: 999px; border: 1.5px dashed var(--line); color: var(--ink-soft); font-size: .9375rem; }

/* ---------- 03 Pricing (Revision 2): packages and care plans in one section ----------
   A two-way toggle (ARIA tabs) switches between the one-time build packages and the monthly care plans.
   Without JS the toggle stays hidden and both panels show, one after the other. */
.ptoggle {
  position: relative; display: grid; grid-template-columns: 1fr 1fr;
  width: min(100%, 38rem); margin: 0 0 clamp(1.5rem, 1rem + 1.5vw, 2.25rem); padding: .35rem;
  border-radius: 999px; background: var(--raised); border: 1px solid var(--hairline); box-shadow: var(--shadow-soft);
}
.ptoggle-thumb {
  position: absolute; top: .35rem; bottom: .35rem; left: .35rem; width: calc(50% - .35rem);
  border-radius: 999px; background: var(--ink); box-shadow: 0 8px 20px -10px rgb(var(--shadow-rgb) / .8);
  transition: translate .45s var(--ease-out);
}
.ptoggle[data-active="care"] .ptoggle-thumb { translate: 100% 0; }
.ptab {
  position: relative; z-index: 1; display: grid; justify-items: center; align-content: center; gap: .1rem;
  min-height: 62px; padding: .45rem .75rem; border: 0; border-radius: 999px; cursor: pointer;
  background: transparent; color: var(--ink); font: inherit; text-align: center; line-height: 1.2;
}
.ptab-title { font-weight: 700; font-size: clamp(1rem, .95rem + .3vw, 1.125rem); }
.ptab-sub { font-size: .875rem; color: var(--ink-soft); }
.ptab[aria-selected="true"], .ptab[aria-selected="true"] .ptab-sub { color: var(--paper); }
.ptab:not([aria-selected="true"]):hover .ptab-title { text-decoration: underline; text-underline-offset: .2em; }
.ptab:focus-visible { outline-offset: 4px; }
@media (max-width: 29.99rem) { .ptoggle, .ptoggle-thumb, .ptab { border-radius: 20px; } }

.ppanel[hidden] { display: none; }
.no-js .ppanel + .ppanel { margin-top: 3rem; }
.ppanel-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: .4rem 2rem; margin-bottom: 1.25rem; }
.ppanel-title { font-size: clamp(1.6rem, 1.3rem + 1vw, 2.1rem); font-weight: 560; }
.ppanel-head p { margin: 0; color: var(--ink-soft); max-width: 38rem; }
@media (prefers-reduced-motion: no-preference) {
  .js .ppanel.is-entering { animation: fade-up .45s var(--ease-out); }
}

.package-grid { display: grid; gap: 1.25rem; }
@media (min-width: 60rem) { .package-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.package {
  position: relative;
  display: flex; flex-direction: column;
  padding: clamp(1.5rem, 1rem + 1.5vw, 2.25rem);
  border-radius: 24px; background: var(--raised); border: 1px solid var(--hairline);
}
.package-head h4, .care-card h4 { margin: 0; font-family: var(--font-display); font-weight: 560; line-height: 1.08; letter-spacing: -.015em; font-synthesis: none; }
.package-head h4 { font-size: 1.875rem; }
.package-sub { color: var(--ink-soft); margin: .3rem 0 1.25rem; }
.price { display: flex; align-items: baseline; gap: .45rem; margin: 0 0 1.5rem; padding-bottom: 1.5rem; border-bottom: 1px solid var(--hairline); }
.price-from { font-size: .9375rem; color: var(--ink-soft); }
.price-num { font-family: var(--font-display); font-size: clamp(2.5rem, 2rem + 2vw, 3.25rem); font-weight: 500; line-height: 1; letter-spacing: -.03em; white-space: nowrap; }
.checklist { list-style: none; margin: 0 0 1.5rem; padding: 0; display: grid; gap: .7rem; }
.checklist li { position: relative; padding-left: 1.85rem; }
/* Check icons: a tinted disc plus a masked tick, so both follow the palette */
.checklist li::before, .checklist li::after { content: ""; position: absolute; left: 0; top: .2em; width: 1.2rem; height: 1.2rem; }
.checklist li::before { border-radius: 50%; background: var(--sage-soft); }
.checklist li::after {
  background: var(--sage);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6.5 12.5l3.8 3.8L17.5 8.5'/%3E%3C/svg%3E") center / 72% no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6.5 12.5l3.8 3.8L17.5 8.5'/%3E%3C/svg%3E") center / 72% no-repeat;
}
.checklist-sm { font-size: .9688rem; gap: .6rem; }
.package-time { margin: auto 0 1.25rem; padding-top: .5rem; font-size: .9375rem; color: var(--ink-soft); }
.package-addon { margin: 0 0 .25rem; font-size: .9375rem; font-weight: 650; color: var(--premium-accent); }
.package-cta { width: 100%; }
.package-premium {
  color: var(--premium-ink); border-color: var(--premium-ring);
  box-shadow: 0 0 0 1px var(--premium-ring), 0 30px 60px -30px rgb(var(--shadow-rgb) / .55);
  background:
    radial-gradient(120% 70% at 100% 0%, var(--premium-glow-a), transparent 60%),
    radial-gradient(100% 70% at 0% 100%, var(--premium-glow-b), transparent 60%),
    var(--premium-bg);
}
.package-premium .package-sub,
.package-premium .price-from,
.package-premium .package-time { color: var(--premium-soft); }
.package-premium .price { border-color: color-mix(in srgb, var(--premium-ink) 16%, transparent); }
.package-premium .checklist li::before { background: color-mix(in srgb, var(--premium-accent) 18%, transparent); }
.package-premium .checklist li::after { background: var(--premium-accent); }
/* Hover lift uses the separate `translate` property so it never fights the reveal's `transform`. */
@media (hover: hover) and (pointer: fine) {
  .package:hover, .care-card:hover { translate: 0 -5px; box-shadow: var(--shadow-lift); }
  .package-premium:hover { box-shadow: 0 0 0 1px var(--premium-ring), var(--shadow-lift); }
}
@media (prefers-reduced-motion: reduce) {
  .package:hover, .care-card:hover { translate: none; }
}

.care-grid { display: grid; gap: 1rem; }
@media (min-width: 60rem) { .care-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.care-card { display: flex; flex-direction: column; padding: 1.75rem; border-radius: var(--radius); background: var(--raised); border: 1px solid var(--hairline); transition: translate .35s var(--ease-out), box-shadow .35s; }
.care-card h4 { font-size: 1.625rem; }
.care-price { font-family: var(--font-display); font-size: 2rem; font-weight: 500; letter-spacing: -.02em; margin: .35rem 0 1.25rem; white-space: nowrap; }
.care-price .care-per { font-family: var(--font-body); font-size: .9375rem; font-weight: 400; letter-spacing: 0; color: var(--ink-soft); }
.care-card .checklist { margin: 0 0 1.25rem; }
.care-card .package-cta { margin-top: auto; }
/* A line that is not included (e.g. Essential's edits): a neutral dash instead of a check */
.checklist li.is-extra { color: var(--ink-soft); }
.checklist li.is-extra::before { background: var(--sand); }
.checklist li.is-extra::after {
  background: var(--ink-soft);
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='3' stroke-linecap='round'%3E%3Cpath d='M7.5 12h9'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='3' stroke-linecap='round'%3E%3Cpath d='M7.5 12h9'/%3E%3C/svg%3E");
}

/* Swipe rows on narrow screens (bento under 40rem, packages and care plans under 60rem).
   Native scroll-snap, so it works without JS; compact.js adds previous/next buttons and dots. */
@media (max-width: 39.99rem) {
  .bento { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: min(84%, 21rem); }
}
@media (max-width: 59.99rem) {
  .package-grid, .care-grid { grid-auto-flow: column; grid-auto-columns: min(84%, 23rem); }
}
@media (max-width: 39.99rem) { .bento.swipe { overflow-x: auto; } }
@media (max-width: 59.99rem) { .package-grid.swipe, .care-grid.swipe { overflow-x: auto; } }
.swipe {
  overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scrollbar-width: none;
  scroll-padding-inline: var(--gutter);
  margin-inline: calc(var(--gutter) * -1); padding: .25rem var(--gutter) 1.5rem;
}
.swipe::-webkit-scrollbar { display: none; }
.swipe > * { scroll-snap-align: start; }
@media (min-width: 60rem) { .package-grid.swipe, .care-grid.swipe { margin-inline: 0; padding: 0; } }
@media (min-width: 40rem) { .bento.swipe { margin-inline: 0; padding: 0; } }
.swipe-nav { display: flex; align-items: center; justify-content: center; gap: .75rem; margin-top: .25rem; }
.swipe-nav[hidden] { display: none; }
.swipe-btn {
  display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; cursor: pointer;
  background: var(--raised); color: var(--ink); border: 1.5px solid var(--line);
}
.swipe-btn .icon { width: 1.1rem; height: 1.1rem; stroke-width: 2.25; }
.swipe-btn[data-dir="-1"] .icon { transform: scaleX(-1); }
.swipe-btn[aria-disabled="true"] { opacity: .45; cursor: default; }
.swipe-dots { display: flex; gap: .45rem; }
.swipe-dots i { width: .55rem; height: .55rem; border-radius: 999px; background: var(--line); transition: width .3s var(--ease-out), background-color .3s; }
.swipe-dots i.is-on { width: 1.6rem; background: var(--ink); }

/* Fine print shared by both panels: payment, extra work, menus */
.fine-print { display: grid; gap: .75rem; margin-top: 1.5rem; }
@media (min-width: 60rem) { .fine-print { grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 2rem; } }
.fine-item {
  display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: start; gap: .9rem;
  padding: 1.1rem 1.25rem; border-radius: 18px; background: var(--raised); border: 1px solid var(--hairline);
  color: var(--ink-soft); font-size: .9688rem;
}
.fine-item > .icon { width: 2.5rem; height: 2.5rem; padding: .55rem; border-radius: 12px; background: var(--sage-soft); color: var(--sage); stroke-width: 2; }
.fine-item p { margin: 0; }
.fine-item strong { display: block; margin-bottom: .15rem; color: var(--ink); font-size: 1rem; }

/* ---------- 04 How it works (Revision 2): a clickable five-step stepper ----------
   Replaces five tall scroll-driven steps. Picking a step shows its text and sets the build mockup's stage
   (desktop only, as before). Without JS the step bar stays hidden and all five step cards show. */
.process-layout { display: grid; gap: 2rem; }
@media (min-width: 60rem) {
  .process-layout { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(2.5rem, 5vw, 5rem); align-items: center; }
}
.pstep-list { position: relative; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: .15rem; margin: 0 0 1.25rem; }
.pstep-list::before {
  content: ""; position: absolute; left: 10%; right: 10%; top: 1.375rem; height: 2px;
  background: color-mix(in srgb, var(--clay-text) 28%, transparent);
}
.pstep-tab {
  position: relative; display: grid; justify-items: center; align-content: start; gap: .35rem;
  min-height: 44px; padding: 0 0 .3rem; border: 0; border-radius: 14px; background: none; cursor: pointer;
  color: var(--ink); font: inherit; font-weight: 650; font-size: .875rem; line-height: 1.2;
}
.pstep-num {
  position: relative; z-index: 1; display: grid; place-items: center; width: 2.75rem; height: 2.75rem; border-radius: 50%;
  background: var(--raised); border: 2px solid var(--sage); color: var(--sage); font-weight: 700; font-size: 1.0625rem;
  transition: background-color .3s, color .3s, transform .3s var(--ease-out);
}
.pstep-sub { display: none; }
.pstep-tab.is-done .pstep-num { background: var(--sage-soft); }
.pstep-tab[aria-selected="true"] .pstep-num { background: var(--sage); color: var(--on-sage); transform: scale(1.1); }
.pstep-tab[aria-selected="true"] .pstep-name { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: .25em; }
@media (min-width: 60rem) {
  .pstep-list { grid-template-columns: 1fr; gap: .25rem; }
  .pstep-list::before { left: 1.375rem; right: auto; top: 1.75rem; bottom: 1.75rem; width: 2px; height: auto; }
  .pstep-tab {
    grid-template-columns: 2.75rem minmax(0, 1fr); justify-items: start; align-items: center; column-gap: 1rem; row-gap: 0;
    padding: .45rem .75rem .45rem 0; text-align: left; font-size: 1.1875rem;
  }
  .pstep-num { grid-row: span 2; }
  .pstep-name { font-family: var(--font-display); font-weight: 560; }
  .pstep-sub { display: block; font-size: .9375rem; font-weight: 500; color: var(--ink-soft); }
  .pstep-tab[aria-selected="true"] .pstep-name { text-decoration: none; }
  .pstep-tab[aria-selected="true"] { background: color-mix(in srgb, var(--raised) 70%, transparent); }
  .pstep-tab:hover .pstep-name { text-decoration: underline; text-underline-offset: .2em; }
}
.pstep-panel {
  padding: clamp(1.25rem, 1rem + 1vw, 1.75rem); border-radius: 20px;
  background: var(--raised); border: 1px solid var(--hairline); box-shadow: var(--shadow-soft);
}
.pstep-panel[hidden] { display: none; }
.no-js .pstep-panel + .pstep-panel { margin-top: .75rem; }
.pstep-k { margin: 0 0 .35rem; font-size: .875rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--clay-text); }
.pstep-panel h3 { font-size: clamp(1.5rem, 1.3rem + .6vw, 1.75rem); font-weight: 560; }
.pstep-panel .step-sub { margin: .3rem 0 .6rem; font-weight: 650; color: var(--clay-text); }
.pstep-panel p:not([class]) { margin: 0; color: var(--ink-soft); }
.pstep-next { margin-top: 1.1rem; }
/* On wide screens the step bar already shows each step's name and summary, so the panel keeps them for screen readers only */
@media (min-width: 60rem) {
  .js .pstep-panel h3, .js .pstep-panel .step-sub { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
}
.pstep-next[hidden] { display: none; }
@media (prefers-reduced-motion: no-preference) {
  .js .pstep-panel.is-entering { animation: fade-up .4s var(--ease-out); }
}
.process-visual { display: none; }
@media (min-width: 60rem) { .process-visual { display: block; } }

/* Build visual: a site assembles itself as the steps are picked (stage set by JS; default 5 = finished) */
.build { position: relative; padding: 2.25rem 1.5rem 3.25rem 2rem; }
.build-view { aspect-ratio: 16 / 11; }
.build-url { position: relative; }
.live-pill {
  position: absolute; right: -3.4rem; top: 50%; translate: 0 -50%;
  padding: .1rem .5rem; border-radius: 999px;
  background: var(--sage); color: var(--on-sage); font-size: .75rem; font-weight: 700; line-height: 1.4;
}
.b-wire { position: absolute; inset: 0; }
.b-wire span {
  position: absolute; border: 2px dashed #B9B0A1; border-radius: 1.2cqw;
  transition: background-color .5s, border-color .5s;
}
.w-nav { left: 4%; right: 4%; top: 5%; height: 7%; }
.w-copy { left: 4%; top: 18%; width: 42%; height: 38%; }
.w-img { right: 4%; top: 18%; width: 46%; height: 44%; }
.w-card { bottom: 6%; height: 26%; width: 28.6%; }
.w-card:nth-child(4) { left: 4%; }
.w-card:nth-child(5) { left: 35.7%; }
.w-card:nth-child(6) { left: 67.4%; }
.b-site { position: absolute; inset: 0; }
.b-pin {
  position: absolute; display: grid; place-items: center;
  width: 2.4rem; height: 2.4rem; border-radius: 50% 50% 50% 4px;
  background: var(--clay); color: #fff; box-shadow: var(--shadow-soft);
}
.b-pin .icon { width: 1.15rem; height: 1.15rem; stroke-width: 2.25; }
.pin-1 { left: 30%; top: 30%; }
.pin-2 { right: 14%; top: 64%; background: var(--sage); }
.b-card {
  position: absolute; padding: .9rem 1rem; border-radius: 14px;
  background: var(--raised); box-shadow: var(--shadow-lift); border: 1px solid var(--hairline);
}
.b-intake { left: 0; bottom: .5rem; width: 40%; display: grid; gap: .55rem; }
.bi-row { display: flex; align-items: center; gap: .55rem; }
.bi-row i { width: .85rem; height: .85rem; border-radius: 4px; border: 2px solid var(--sage); flex-shrink: 0; }
.bi-row:nth-child(-n+2) i { background: var(--sage); }
.bi-row b { height: .42rem; flex: 1; border-radius: 9px; background: #D2C9B9; }
.bi-row:nth-child(2) b { flex: .7; }
.bi-row:nth-child(4) b { flex: .55; }
.b-palette { right: 0; top: 0; display: flex; align-items: center; gap: 1rem; }
.bp-aa { font-family: var(--font-display); font-size: 2.25rem; line-height: 1; color: var(--ink); }
.bp-swatches { display: grid; grid-template-columns: repeat(2, 1.4rem); gap: .35rem; }
.bp-swatches i { width: 1.4rem; height: 1.4rem; border-radius: 50%; }
.bp-swatches i:nth-child(1) { background: var(--sage); }
.bp-swatches i:nth-child(2) { background: var(--clay); }
.bp-swatches i:nth-child(3) { background: var(--sand); box-shadow: inset 0 0 0 1px var(--hairline); }
.bp-swatches i:nth-child(4) { background: var(--ink); }
.b-phone {
  position: absolute; right: 0; bottom: 0; width: 23%; aspect-ratio: 9 / 18;
  border: 4px solid var(--ink); border-radius: 18px; overflow: hidden;
  container-type: size; background: #fff; box-shadow: var(--shadow-lift);
}
.b-checks { position: absolute; left: 0; bottom: 0; display: flex; flex-wrap: wrap; gap: .45rem; max-width: 74%; }
.b-check {
  display: inline-flex; align-items: center; gap: .35rem;
  padding: .35rem .7rem .35rem .5rem; border-radius: 999px;
  background: var(--raised); box-shadow: var(--shadow-soft); border: 1px solid var(--hairline);
  font-size: .8125rem; font-weight: 650; color: var(--ink);
}
.b-check .icon { width: 1rem; height: 1rem; color: var(--on-sage); background: var(--sage); border-radius: 50%; padding: .12rem; stroke-width: 3; }

/* Hidden by default; each stage reveals its pieces */
.b-intake, .b-palette, .b-site, .b-phone, .b-pin, .b-checks, .live-pill {
  opacity: 0; visibility: hidden; transform: translateY(12px) scale(.98);
  transition: opacity .5s ease, transform .6s var(--ease-out), visibility 0s linear .6s;
}
.build[data-stage="1"] .b-intake,
.build[data-stage="2"] .b-palette,
.build[data-stage="3"] .b-site, .build[data-stage="4"] .b-site, .build[data-stage="5"] .b-site,
.build[data-stage="3"] .b-phone, .build[data-stage="4"] .b-phone, .build[data-stage="5"] .b-phone,
.build[data-stage="4"] .b-pin,
.build[data-stage="5"] .b-checks,
.build[data-stage="5"] .live-pill {
  opacity: 1; visibility: visible; transform: none;
  transition: opacity .5s ease, transform .6s var(--ease-out), visibility 0s;
}
.build[data-stage="4"] .pin-2 { transition-delay: .25s; }
.build[data-stage="3"] .b-wire, .build[data-stage="4"] .b-wire, .build[data-stage="5"] .b-wire { opacity: 0; transition: opacity .4s; }
.build[data-stage="2"] .w-nav { background: var(--sage-soft); border-color: transparent; }
.build[data-stage="2"] .w-copy { background: var(--clay-soft); border-color: transparent; }
.build[data-stage="2"] .w-img { background: #DCE4EA; border-color: transparent; }
.build[data-stage="2"] .w-card { background: var(--sand); border-color: transparent; }
.build[data-stage="5"] .build-url { box-shadow: inset 0 0 0 1.5px var(--sage); }
.build[data-stage="5"] .build-url .icon { color: var(--sage); }

/* ---------- FAQ ---------- */
.faq-layout { display: grid; gap: 2.5rem; }
@media (min-width: 60rem) {
  .faq-layout { grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: 4rem; align-items: start; }
  .faq-head { position: sticky; top: calc(var(--header-h) + 2rem); }
}
.faq-list { display: grid; gap: .75rem; }
.faq-item { border-radius: 16px; background: var(--raised); border: 1px solid var(--hairline); transition: box-shadow .3s; }
.faq-item[open] { box-shadow: var(--shadow-soft); }
.faq-head.shead { margin-bottom: 0; }
.faq-item summary {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  min-height: 56px; padding: 1rem 1.25rem; border-radius: 16px;
  list-style: none; cursor: pointer;
  font-weight: 650; font-size: 1.0625rem;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover { color: var(--sage); }
.faq-item summary .icon { color: var(--sage); stroke-width: 2.25; transition: transform .35s var(--ease-out); }
.faq-item[open] summary .icon { transform: rotate(45deg); }
.faq-body { padding: 0 1.25rem 1.25rem; color: var(--ink-soft); }
.faq-body p { margin: 0 0 .75rem; }
.faq-body p:last-child { margin: 0; }
@media (prefers-reduced-motion: no-preference) {
  .faq-item[open] .faq-body { animation: fade-up .45s var(--ease-out); }
  @supports (interpolate-size: allow-keywords) {
    .faq-list { interpolate-size: allow-keywords; }
    .faq-item::details-content { block-size: 0; overflow: clip; transition: block-size .35s var(--ease-out), content-visibility .35s allow-discrete; }
    .faq-item[open]::details-content { block-size: auto; }
  }
}

/* ---------- Contact ---------- */
.contact { background: var(--deep); color: var(--on-deep); }
.contact .slabel { background: var(--label-dark-bg); color: var(--label-dark-ink); box-shadow: none; }
.contact .slabel-num { background: var(--label-dark-ink); color: var(--label-dark-bg); }
.contact .h-accent { color: var(--clay-light); }
.contact .lead { color: var(--deep-soft); }
.contact-layout { display: grid; gap: 3rem; }
@media (min-width: 60rem) { .contact-layout { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 4.5rem; align-items: start; } }
.next-steps { list-style: none; margin: 2.25rem 0; padding: 0; display: grid; gap: .9rem; }
.next-steps li { display: flex; align-items: center; gap: .9rem; }
.next-steps span {
  display: grid; place-items: center; flex-shrink: 0; width: 2.1rem; height: 2.1rem; border-radius: 50%;
  border: 1.5px solid var(--clay-light); color: var(--clay-light); font-weight: 700; font-size: .9375rem;
}
.contact-details { list-style: none; margin: 0; padding: 1.75rem 0 0; display: grid; gap: 1rem; border-top: 1px solid color-mix(in srgb, var(--on-deep) 14%, transparent); }
.contact-details li { display: flex; align-items: center; gap: .85rem; }
.contact-details .icon { color: var(--clay-light); }
.cd-label { display: inline-block; min-width: 4.75rem; font-size: .875rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--deep-soft); }

.form-card {
  background: var(--raised); color: var(--ink);
  border-radius: 24px; padding: clamp(1.5rem, 1rem + 2vw, 2.5rem);
  box-shadow: 0 40px 80px -30px rgb(0 0 0 / .55);
}
.quote-form { position: relative; }
.field { display: grid; gap: .4rem; margin: 0 0 1.25rem; }
.field label, .field legend { font-weight: 650; color: var(--ink); }
.optional { font-weight: 400; color: var(--ink-soft); }
.quote-form input[type="text"],
.quote-form input[type="email"],
.quote-form textarea {
  width: 100%; min-height: 50px; padding: .75rem .95rem;
  font: inherit; font-size: 1.0625rem; color: var(--ink);
  background: var(--field-bg); border: 1.5px solid var(--line); border-radius: 12px;
  transition: border-color .2s, background-color .2s;
}
.quote-form textarea { min-height: 8.5rem; resize: vertical; line-height: 1.5; }
.quote-form input:hover, .quote-form textarea:hover { border-color: var(--ink-soft); }
.quote-form input:focus-visible, .quote-form textarea:focus-visible { border-color: var(--sage); outline-offset: 2px; }
.quote-form [aria-invalid="true"] { border-color: var(--error); background: var(--field-invalid); }
.field-hint { margin: 0; font-size: .9375rem; color: var(--ink-soft); }
.field-error { margin: 0; display: flex; align-items: flex-start; gap: .45rem; font-size: .9375rem; font-weight: 650; color: var(--error); }
.field-error::before {
  content: "!"; display: grid; place-items: center; flex-shrink: 0; margin-top: .1rem;
  width: 1.15rem; height: 1.15rem; border-radius: 50%; background: var(--error); color: var(--on-error); font-size: .75rem; font-weight: 800;
}
.field-error[hidden] { display: none; }
.pkg-field { border: 0; padding: 0; min-width: 0; }
.pkg-field legend { padding: 0; margin-bottom: .55rem; }
.pkg-options { display: flex; flex-wrap: wrap; gap: .5rem; }
.pkg-option { position: relative; display: inline-flex; }
.pkg-option input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.pkg-option span {
  display: inline-flex; align-items: center; gap: .4rem; min-height: 44px; padding: .5rem 1rem;
  border-radius: 999px; border: 1.5px solid var(--line); background: var(--field-bg);
  font-size: .9375rem; font-weight: 600; color: var(--ink);
  transition: background-color .2s, color .2s, border-color .2s;
}
.pkg-option input:hover + span { border-color: var(--ink); }
.pkg-option input:checked + span { background: var(--sage); border-color: var(--sage); color: var(--on-sage); }
.pkg-option input:checked + span::before {
  content: ""; width: .9rem; height: .9rem; background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / contain no-repeat;
}
.pkg-option input:focus-visible + span { outline: 3px solid var(--focus); outline-offset: 2px; }
.hp { position: absolute; left: -10000px; top: auto; width: 1px; height: 1px; overflow: hidden; }

.btn-submit { position: relative; width: 100%; margin-top: .25rem; }
.btn-spinner {
  position: absolute; left: 50%; top: 50%; width: 1.3rem; height: 1.3rem; margin: -.65rem 0 0 -.65rem;
  border-radius: 50%; border: 2.5px solid color-mix(in srgb, var(--on-sage) 35%, transparent); border-top-color: var(--on-sage);
  opacity: 0;
}
.btn-submit[data-state="loading"] .btn-label { opacity: 0; }
.btn-submit[data-state="loading"] .btn-spinner { opacity: 1; animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.form-privacy, .form-fallback { margin: 1rem 0 0; font-size: .9375rem; color: var(--ink-soft); }
.form-fallback { margin-top: .35rem; }

.form-success { text-align: center; padding: 1.5rem .5rem; }
.form-success h3 { font-size: clamp(1.6rem, 1.3rem + 1vw, 2rem); margin: 1.25rem 0 .75rem; }
.form-success h3:focus { outline: none; }
.form-success > p { color: var(--ink-soft); max-width: 28rem; margin-inline: auto; }
.success-check { width: 4rem; height: 4rem; fill: none; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.success-check circle { stroke: var(--sage-soft); fill: var(--sage-soft); }
.success-check path { stroke: var(--sage); stroke-dasharray: 40; stroke-dashoffset: 0; }
@media (prefers-reduced-motion: no-preference) {
  .form-success:not([hidden]) .success-check { animation: pop .5s var(--ease-out) both; }
  .form-success:not([hidden]) .success-check path { animation: draw .6s var(--ease-out) .25s both; }
  .shake { animation: shake .4s ease; }
}
@keyframes pop { from { transform: scale(.6); opacity: 0; } }
@keyframes draw { from { stroke-dashoffset: 40; } }
@keyframes shake { 20%, 60% { transform: translateX(-5px); } 40%, 80% { transform: translateX(5px); } }
.preview-note { margin: 1.25rem auto; padding: .8rem 1rem; border-radius: 12px; background: var(--clay-soft); color: var(--ink) !important; font-size: .9375rem; text-align: left; }

/* ---------- Footer ---------- */
.site-footer { background: var(--footer); color: var(--deep-soft); padding: 4rem 0 2.25rem; font-size: .9688rem; }
.footer-grid { display: grid; gap: 2.25rem; }
@media (min-width: 48rem) { .footer-grid { grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr) minmax(0, 1fr); } }
.footer-brand p { margin: 1rem 0 0; max-width: 22rem; }
.footer-nav ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .1rem; }
.footer-nav a { display: inline-flex; align-items: center; min-height: 44px; min-width: 44px; color: var(--on-deep); text-decoration: none; }
.footer-nav a:hover { text-decoration: underline; text-underline-offset: .2em; }
.footer-contact p { margin: 0 0 .75rem; color: var(--on-deep); }
.footer-notes { position: relative; margin-top: 3rem; padding-top: 1.5rem; display: grid; gap: .35rem; font-size: .875rem; }
.footer-notes::before { content: ""; position: absolute; top: 0; left: var(--gutter); right: var(--gutter); height: 1px; background: color-mix(in srgb, var(--on-deep) 12%, transparent); }
.footer-notes p { margin: 0; }
.footer-notes strong { color: var(--on-deep); }
/* Legal links (Privacy Policy, Terms of Use, Accessibility): in every footer. The current page is marked with weight and a thicker underline, not colour. */
.footer-legal ul { list-style: none; margin: 0 0 .5rem; padding: 0; display: flex; flex-wrap: wrap; gap: 0 1.75rem; }
.footer-legal a { display: inline-flex; align-items: center; min-height: 44px; color: var(--on-deep); font-weight: 550; text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: .2em; }
.footer-legal a:hover { text-decoration-thickness: 3px; }
.footer-legal a[aria-current="page"] { font-weight: 750; text-decoration-thickness: 3px; }

/* ---------- Legal pages: privacy.html, terms.html, accessibility.html (Revision 5, 2026-10-31) ----------
   Same header, footer and tokens as the landing page; plain reading layout. Only tokens are used for colour. */
.legal-page { padding-top: clamp(2.25rem, 1.25rem + 4vw, 4.5rem); padding-bottom: clamp(4rem, 3rem + 4vw, 7rem); }
.legal-wrap { max-width: 52rem; }
.legal-title {
  font-size: clamp(2.5rem, 1.6rem + 3.6vw, 4.25rem); font-weight: 560; line-height: 1; letter-spacing: -.03em;
  margin: 0 0 1rem; text-wrap: balance;
}
.legal-meta { margin: 0 0 1.5rem; color: var(--ink-soft); font-size: .9688rem; }
.legal-notice, .legal-summary { margin: 0 0 1.75rem; padding: 1.1rem 1.35rem; border-radius: 16px; color: var(--ink); }
.legal-notice { background: var(--clay-soft); font-size: .9688rem; }
.legal-summary { background: var(--sage-soft); border-radius: 20px; padding: 1.5rem 1.5rem 1.1rem; }
.legal-notice p:last-child, .legal-summary ul:last-child { margin-bottom: 0; }
.legal-notice p { margin: 0; }
.legal-summary h2 { font-size: 1.5rem; margin: 0 0 .75rem; }
.legal-toc { margin: 0 0 1rem; }
.legal-toc-title { margin: 0 0 .25rem; font-weight: 700; }
.legal-toc ol { margin: 0; padding: 0; list-style: none; display: grid; column-gap: 2rem; }
@media (min-width: 40rem) { .legal-toc ol { grid-auto-flow: column; grid-template-rows: repeat(7, auto); grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.legal-toc a { display: flex; align-items: center; min-height: 44px; color: var(--ink); text-decoration: none; }
.legal-toc a:hover { color: var(--sage); text-decoration: underline; text-underline-offset: .2em; }
.legal-body h2 {
  font-size: clamp(1.55rem, 1.3rem + 1vw, 2.05rem); font-weight: 560; line-height: 1.12; letter-spacing: -.02em;
  margin: 3rem 0 .85rem;
}
.legal-body p, .legal-body li { max-width: 44rem; }
.legal-body ul { margin: 0 0 1rem; padding-left: 1.3rem; }
.legal-body li { margin: 0 0 .5rem; }
.legal-body a:not(.btn) {
  color: var(--sage); font-weight: 600;
  text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: .2em;
}
.legal-body a:not(.btn):hover { color: var(--sage-deep); text-decoration-thickness: 2.5px; }
.legal-end { margin-top: 3rem; display: flex; flex-wrap: wrap; gap: .75rem; }

/* Stable height (see the Stable-Height Tabs note): step panels share one grid cell, so switching
   never moves the page. Inactive panels keep the hidden attribute but stay laid out, invisible and unfocusable. */
/* Concept panels are NOT stacked: hidden panels would still load their lazy screenshots (about 250 KB on phones). */
.js .concepts { display: block; }
.js .pstep-panels { display: grid; }
.js .pstep-panels > .pstep-panel { grid-area: 1 / 1; }
.js .pstep-panels > .pstep-panel[hidden] { display: block !important; visibility: hidden; }

/* ---------- Without JS: hide the tab bars and show every panel ---------- */
.no-js .ctab-list, .no-js .ptoggle, .no-js .pstep-list, .no-js .pstep-next[data-next] { display: none; }
.no-js .ctab-panel[hidden], .no-js .ppanel[hidden], .no-js .pstep-panel[hidden] { display: block !important; }

/* ---------- Scroll reveals (basic motion set) ---------- */
.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s var(--ease-out), transform .8s var(--ease-out), translate .35s var(--ease-out), box-shadow .35s; }
.package, .care-card { transition: translate .35s var(--ease-out), box-shadow .35s; }
.js .reveal.is-visible { opacity: 1; transform: none; }

/* ---------- Page transitions to and from the concept sites (progressive enhancement) ---------- */
@view-transition { navigation: auto; }

/* ---------- Reduced motion: everything is visible and still ---------- */
@media (prefers-reduced-motion: reduce) {
  .blob { animation: none; }
  .js .reveal { transform: none; transition: opacity .3s linear; }
  .slide, .slide.is-active, .slide .mock, .slide .pmock, .open-full .icon { transition: none; transform: none; }
  .live-frame, .live-frame.is-active.is-loaded, .try-hint { transition: none; }
  .frame-loading i { animation: none; border-color: #FFFFFF; }
  .shot-pan, .concept-frame .browser, .btn, .btn .icon, .pstep-num, .faq-item summary .icon, .nav-toggle-icon span, .ptoggle-thumb, .swipe-dots i, .ctab { transition: none; }
  .pstep-tab[aria-selected="true"] .pstep-num { transform: none; }
  .swipe { scroll-behavior: auto; }
  .btn:active { transform: none; }
  .b-intake, .b-palette, .b-site, .b-phone, .b-pin, .b-checks, .live-pill, .b-wire, .b-wire span { transition: none !important; transform: none; }
  .btn-submit[data-state="loading"] .btn-spinner { animation: none; border-color: var(--on-sage); border-right-color: transparent; }
  ::view-transition-group(*), ::view-transition-old(*), ::view-transition-new(*) { animation: none !important; }
}

/* ---------- Client View (2026-11-11): the footer link on index.html and the sign-in page client-login.html ----------
   A placeholder sign-in: the form sends nothing (see client-login.js). Only tokens are used for colour. */
/* Landing page footer: the very bottom row, under the copyright line */
.footer-client {
  position: relative; margin-top: 1.5rem; padding-top: 1.25rem;
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .75rem 1.5rem;
  font-size: .875rem;
}
.footer-client::before { content: ""; position: absolute; top: 0; left: var(--gutter); right: var(--gutter); height: 1px; background: color-mix(in srgb, var(--on-deep) 12%, transparent); }
.footer-client p { margin: 0; }
.btn-client { color: var(--on-deep); background: transparent; box-shadow: inset 0 0 0 1.5px color-mix(in srgb, var(--on-deep) 45%, transparent); }
.btn-client:hover { background: color-mix(in srgb, var(--on-deep) 10%, transparent); box-shadow: inset 0 0 0 1.5px var(--on-deep); }
.btn-client .icon { width: 1.05em; height: 1.05em; }
.btn-client:hover .icon { transform: none; }

/* Sign-in page */
.client-login { position: relative; isolation: isolate; padding-block: clamp(2.25rem, 1.25rem + 4vw, 5rem) clamp(4rem, 3rem + 4vw, 7rem); }
.client-login::before { /* soft colour wash behind the card (decorative, light tints only) */
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(38rem 26rem at 80% 35%, color-mix(in srgb, var(--blob-3) 80%, transparent), transparent 70%),
    radial-gradient(30rem 20rem at 8% 92%, color-mix(in srgb, var(--blob-2) 70%, transparent), transparent 70%);
}
.cl-wrap { display: grid; gap: 2.25rem; max-width: 68rem; }
@media (min-width: 60rem) {
  .cl-wrap { grid-template-columns: minmax(0, 1fr) minmax(0, 28rem); grid-template-areas: "intro door" "back door"; column-gap: 4.5rem; row-gap: 1.5rem; }
  .cl-intro { grid-area: intro; align-self: end; }
  .cl-door { grid-area: door; align-self: center; }
  .cl-back { grid-area: back; align-self: start; justify-self: start; }
}
.cl-title {
  font-size: clamp(2.5rem, 1.6rem + 3.6vw, 4.25rem); font-weight: 560; line-height: 1; letter-spacing: -.03em;
  margin: 0 0 1.1rem; text-wrap: balance;
}
.cl-lead { max-width: 32rem; margin: 0 0 1.5rem; font-size: clamp(1.0625rem, 1rem + .35vw, 1.25rem); color: var(--ink-soft); }
.cl-notice { max-width: 32rem; margin: 0; }

/* The card is a browser frame: "your site, behind this door". The address bar names no domain. */
.cl-door { width: 100%; max-width: 30rem; justify-self: center; border-radius: 22px; }
.cl-door .browser-bar { height: 2.75rem; padding-inline: 1rem; }
.cl-door .dots i { width: .65rem; height: .65rem; }
.cl-door .url { max-width: 82%; height: 1.75rem; padding-inline: .75rem; gap: .45rem; }
.cl-door .url .icon { width: .85rem; height: .85rem; }
.cl-door .url-text { font-size: .8125rem; }
.cl-body { padding: clamp(1.5rem, 1rem + 2vw, 2.25rem); }
.cl-badge { display: grid; place-items: center; width: 4rem; height: 4rem; margin: 0 0 1.1rem; border-radius: 50%; background: var(--sage-soft); }
.cl-lock { width: 2.25rem; height: 2.25rem; overflow: visible; }
.cl-shackle { fill: none; stroke: var(--sage); stroke-width: 4; stroke-linecap: round; transform-box: fill-box; }
.cl-lock-body { fill: var(--sage); }
.cl-keyhole { fill: none; stroke: var(--on-sage); stroke-width: 3.5; stroke-linecap: round; }
.cl-card-title { font-size: clamp(1.45rem, 1.3rem + .6vw, 1.75rem); font-weight: 560; letter-spacing: -.02em; margin: 0 0 1.25rem; }

.cl-form .field { margin-bottom: 1.1rem; }
.cl-pass { position: relative; }
.cl-pass input {
  width: 100%; min-height: 54px; padding: .75rem .95rem;
  font: inherit; font-size: 1.0625rem; color: var(--ink);
  background: var(--field-bg); border: 1.5px solid var(--line); border-radius: 12px;
  transition: border-color .2s, background-color .2s;
}
.js .cl-pass input { padding-right: 5.5rem; } /* room for the Show button */
.cl-pass input:hover { border-color: var(--ink-soft); }
.cl-pass input:focus-visible { border-color: var(--sage); outline-offset: 2px; }
.cl-pass input[aria-invalid="true"] { border-color: var(--error); background: var(--field-invalid); }
.cl-toggle {
  position: absolute; top: 50%; right: .3rem; translate: 0 -50%;
  min-width: 4.5rem; min-height: 44px; padding: .4rem .8rem;
  border: 0; border-radius: 9px; cursor: pointer;
  background: var(--sage-soft); color: var(--sage-deep);
  font-family: inherit; font-size: .9375rem; font-weight: 700;
  transition: background-color .2s;
}
.cl-toggle:hover { background: color-mix(in srgb, var(--sage) 14%, var(--sage-soft)); }
.cl-toggle:focus-visible { outline-offset: 1px; }
.cl-submit { width: 100%; margin-top: .25rem; }
.cl-noscript, .cl-status:not(:empty) { margin: 1rem 0 0; padding: .85rem 1rem; border-radius: 12px; background: var(--clay-soft); color: var(--ink); font-size: .9688rem; }
.cl-status { margin: 0; } /* always rendered, so the live region is never hidden */
.cl-help { margin: 1.4rem 0 0; padding-top: 1.1rem; border-top: 1px solid var(--hairline); font-size: .9375rem; color: var(--ink-soft); }
.cl-back { display: inline-flex; align-items: center; gap: .5rem; min-height: 44px; justify-self: start; }
.cl-back .icon { width: 1.1em; height: 1.1em; transform: scaleX(-1); }

/* The one motion touch: on "View my site" the lock tugs and stays shut. Off under reduced motion. */
@media (prefers-reduced-motion: no-preference) {
  .cl-badge.is-tugged { animation: cl-wiggle .6s var(--ease-out); }
  .cl-badge.is-tugged .cl-shackle { animation: cl-tug .6s var(--ease-out); }
}
@keyframes cl-tug { 30% { transform: translateY(-3px); } 55% { transform: none; } 75% { transform: translateY(-1px); } }
@keyframes cl-wiggle { 25% { rotate: -6deg; } 50% { rotate: 5deg; } 75% { rotate: -2deg; } }
