/* ==========================================================================
   Gentle Touch Cleaning: site stylesheet
   Tokens from the design research (08-design-tokens.css), adapted to a
   MONOCHROME-FIRST default (ink on warm paper, like the logo). The optional
   eucalyptus accent is one switch: <html data-accent="eucalyptus">.
   Contrast ratios are WCAG 2.x, computed for these exact hex values.
   ========================================================================== */

/* ---------- 1. Tokens ---------- */
:root {
  color-scheme: light;

  --gt-white:  #FFFFFF;
  --gt-paper:  #FAF8F4;   /* page background */
  --gt-linen:  #F3EFE8;   /* alternate bands */
  --gt-sand:   #ECE6DB;   /* selected / pressed fills (ink on it 13.9) */
  --gt-stone:  #E6E0D6;   /* hairlines: decorative only */
  --gt-ink:    #1F1D1A;   /* 16.8 white · 15.9 paper · 14.7 linen */
  --gt-ink-2:  #4A463F;   /* 9.4 white · 8.8 paper · 8.2 linen */
  --gt-ink-3:  #6B655C;   /* 5.8 white · 5.4 paper · 5.0 linen */
  --gt-line:   #8C8578;   /* UI borders, 3.5 on paper (>=3:1) */

  --gt-euc-900: #243A2E;
  --gt-euc-700: #3B5B4A;  /* white text 7.6 */
  --gt-euc-500: #6F8F7C;  /* decorative only */
  --gt-euc-200: #CFDDD2;
  --gt-euc-100: #E8EFE9;

  --gt-clay-700: #8E5440; /* stars, 5.7 on paper */
  --gt-clay-100: #F7EEE9;

  --gt-error: #A33A2A;    /* 6.2 on paper */
  --gt-ph:    #FFF1B8;    /* placeholder highlight (preview only) */

  /* Semantic aliases: build against these */
  --color-bg: var(--gt-paper);
  --color-surface: var(--gt-white);
  --color-band: var(--gt-linen);
  --color-text: var(--gt-ink);
  --color-text-muted: var(--gt-ink-2);
  --color-text-subtle: var(--gt-ink-3);
  --color-border: var(--gt-stone);
  --color-border-ui: var(--gt-line);
  --color-cta: var(--gt-ink);
  --color-cta-hover: #3A3631;
  --color-on-cta: var(--gt-paper);
  --color-link: var(--gt-ink);
  --color-focus: var(--gt-ink);
  --color-selected-bg: var(--gt-sand);
  --color-selected-border: var(--gt-ink);
  --color-tint: var(--gt-linen);
  --color-tint-text: var(--gt-ink);
  --color-accent: var(--gt-ink);       /* icons, small marks */

  --font-display: "Cormorant Garamond", "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  --font-sans: "Jost", "Avenir Next", "Segoe UI", system-ui, -apple-system, sans-serif;

  --step--2: clamp(0.7813rem, 0.769rem + 0.054vw, 0.8125rem);
  --step--1: clamp(0.9063rem, 0.894rem + 0.054vw, 0.9375rem);
  --step-0:  clamp(1.0625rem, 1.038rem + 0.109vw, 1.125rem);
  --step-1:  clamp(1.2188rem, 1.158rem + 0.272vw, 1.375rem);
  --step-2:  clamp(1.4063rem, 1.296rem + 0.489vw, 1.6875rem);
  --step-3:  clamp(1.625rem, 1.429rem + 0.870vw, 2.125rem);
  --step-4:  clamp(1.9375rem, 1.571rem + 1.630vw, 2.875rem);
  --step-5:  clamp(2.375rem, 1.788rem + 2.609vw, 3.875rem);
  --step-6:  clamp(2.75rem, 1.772rem + 4.348vw, 5.25rem);

  --tracking-caps: 0.18em;
  --tracking-eyebrow: 0.28em;
  --tracking-display: -0.01em;

  --space-1: 0.25rem; --space-2: 0.5rem; --space-3: 0.75rem; --space-4: 1rem;
  --space-5: 1.5rem;  --space-6: 2rem;   --space-7: 3rem;    --space-8: 4rem;
  --space-9: 6rem;    --space-10: 8rem;
  --space-gutter:  clamp(1rem, 0.217rem + 3.478vw, 3rem);
  --space-stack:   clamp(1.5rem, 1.109rem + 1.739vw, 2.5rem);
  --space-section: clamp(4rem, 2.043rem + 8.696vw, 9rem);

  --container: 75rem;
  --container-narrow: 47.5rem;
  --measure: 65ch;

  --radius-xs: 4px; --radius-s: 10px; --radius-m: 16px; --radius-l: 24px; --radius-pill: 999px;
  --radius-arch: 999px 999px var(--radius-m) var(--radius-m);

  --border-hair: 1px solid var(--gt-stone);
  --border-ui: 1px solid var(--gt-line);
  --shadow-1: 0 1px 2px rgb(31 29 26 / 0.06);
  --shadow-2: 0 10px 30px -14px rgb(31 29 26 / 0.22);
  --shadow-3: 0 16px 44px -18px rgb(31 29 26 / 0.34);

  --icon-s: 20px; --icon-m: 24px; --icon-l: 32px;

  --dur-fast: 120ms; --dur-base: 200ms; --dur-slow: 400ms; --dur-reveal: 700ms; --dur-draw: 1400ms;
  --ease-out: cubic-bezier(.22,.61,.36,1);
  --ease-in-out: cubic-bezier(.65,0,.35,1);
  --reveal-distance: 14px;
  --stagger: 70ms;

  --z-header: 50; --z-sticky: 60; --z-overlay: 80; --z-toast: 90;
  --header-h: 76px;
  --sticky-bar-h: 0px;
}
@media (max-width: 819px) { :root { --sticky-bar-h: 84px; --header-h: 64px; } }

/* Optional accent (owner decision O17): <html data-accent="eucalyptus"> */
:root[data-accent="eucalyptus"] {
  --color-cta: var(--gt-euc-700);
  --color-cta-hover: var(--gt-euc-900);
  --color-on-cta: var(--gt-white);
  --color-link: var(--gt-euc-700);
  --color-focus: var(--gt-euc-700);
  --color-selected-bg: var(--gt-euc-100);
  --color-selected-border: var(--gt-euc-700);
  --color-tint: var(--gt-euc-100);
  --color-tint-text: var(--gt-euc-900);
  --color-accent: var(--gt-euc-700);
}

/* Ink sections (footer, final CTA band) */
.theme-ink {
  --color-bg: var(--gt-ink);
  --color-surface: #2A2723;
  --color-band: #2A2723;
  --color-text: var(--gt-paper);
  --color-text-muted: #C9C2B6;         /* 9.9 on ink */
  --color-text-subtle: #B5AEA2;        /* 7.6 on ink */
  --color-border: rgb(250 248 244 / 0.16);
  --color-border-ui: #8C8578;
  --color-link: var(--gt-paper);
  --color-focus: var(--gt-paper);
  --color-cta: var(--gt-paper);
  --color-cta-hover: var(--gt-white);
  --color-on-cta: var(--gt-ink);
  --color-accent: var(--gt-paper);
  background: var(--color-bg); color: var(--color-text);
}

/* ---------- 2. Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html {
  -webkit-text-size-adjust: 100%;
  scroll-padding-top: calc(var(--header-h) + 16px);
  scroll-padding-bottom: calc(var(--sticky-bar-h) + 16px);
  overflow-x: clip;
}
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0; min-height: 100vh; background: var(--color-bg); color: var(--color-text);
  font-family: var(--font-sans); font-size: var(--step-0); font-weight: 400; line-height: 1.6;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: clip;
  font-feature-settings: "lnum" 1; /* lining figures everywhere: Cormorant defaults to old-style, and the `font:` shorthand used by components resets font-variant-numeric (it does not reset font-feature-settings) */
  /* No bottom padding for the mobile call/text bar: it hides over the CTA band and footer, so reserving its height
     only left an empty linen strip under the footer. scroll-padding-bottom (above) still keeps focus clear of it. */
}
h1, h2, h3 {
  font-family: var(--font-display); font-weight: 500; letter-spacing: var(--tracking-display);
  line-height: 1.08; margin: 0; text-wrap: balance; color: var(--color-text);
}
h1 { font-size: var(--step-5); line-height: 1.04; }
h2 { font-size: var(--step-4); line-height: 1.1; }
h3 { font-size: var(--step-2); font-weight: 600; line-height: 1.2; }
h4 { font-family: var(--font-sans); font-size: var(--step-1); font-weight: 500; line-height: 1.3; margin: 0; }
h1 em, h2 em { font-style: italic; font-weight: 400; }
p, li, dd { text-wrap: pretty; }
p { margin: 0; max-width: var(--measure); }
ul, ol { margin: 0; padding-left: 1.2em; }
a { color: var(--color-link); text-decoration-thickness: 1px; text-underline-offset: 0.22em; }
a:hover { text-decoration-thickness: 2px; }
img, svg, video { display: block; max-width: 100%; height: auto; }
button { font: inherit; color: inherit; }
hr { border: 0; border-top: var(--border-hair); margin: var(--space-7) 0; }
::selection { background: var(--gt-sand); color: var(--gt-ink); }
:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 3px; border-radius: 2px; }
[hidden] { display: none !important; }
strong, b { font-weight: 500; }
small { font-size: var(--step--1); }

.eyebrow {
  display: inline-block; font: 500 var(--step--2)/1.4 var(--font-sans);
  letter-spacing: var(--tracking-eyebrow); text-transform: uppercase; color: var(--color-text-muted);
}
/* Two-part eyebrow ("Commercial cleaning · Roanoke Valley, Virginia"): <p class="eyebrow eyebrow-split"><span>…</span><span>…</span></p>.
   Parts wrap as whole units and the dot shows only between parts on one line: every part carries a dot, the eyebrow is
   shifted left by one dot's width and that strip is clipped, so a dot that would start a line is never seen. */
.eyebrow-split { --sep: 1.6em; display: flex; flex-wrap: wrap; margin-left: calc(var(--sep) * -1); clip-path: inset(0 0 0 var(--sep)); }
.eyebrow-split > span { padding-left: var(--sep); text-indent: calc(var(--sep) * -1); }
.eyebrow-split > span::before { content: "\00B7"; content: "\00B7" / ""; display: inline-block; width: var(--sep); text-align: center; text-indent: 0; }
.lead { font-size: var(--step-1); line-height: 1.55; color: var(--color-text-muted); max-width: 40ch; font-weight: 300; }
.muted { color: var(--color-text-muted); }
.subtle { color: var(--color-text-subtle); font-size: var(--step--1); }
.num { font-variant-numeric: lining-nums tabular-nums; }
.visually-hidden, .sr-only {
  position: absolute !important; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap; margin: -1px; padding: 0; border: 0;
}
.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 100; padding: 10px 16px; border-radius: var(--radius-s);
  background: var(--gt-ink); color: var(--gt-paper); text-decoration: none; transition: top var(--dur-base);
}
.skip-link:focus { top: 12px; }

/* Placeholder marks (preview only; tools/check.mjs --launch fails if any remain) */
mark.ph, .ph {
  background: var(--gt-ph); color: inherit; padding: 0 0.2em; border-radius: 3px;
  box-shadow: inset 0 -1px 0 rgb(163 112 0 / 0.35); font-style: normal;
}
.theme-ink mark.ph, .theme-ink .ph { background: #5A4E1E; color: var(--gt-paper); box-shadow: none; }
html.no-ph mark.ph { background: none; box-shadow: none; padding: 0; }
.ph-block {
  display: grid; place-items: center; text-align: center; gap: var(--space-2); padding: var(--space-6);
  border: 1.5px dashed #C9A227; border-radius: var(--radius-m); background: #FFFBEA; color: var(--gt-ink-2);
  font-size: var(--step--1);
}

/* ---------- 3. Layout ---------- */
.container { width: min(100% - 2 * var(--space-gutter), var(--container)); margin-inline: auto; }
.container--narrow { width: min(100% - 2 * var(--space-gutter), var(--container-narrow)); margin-inline: auto; }
.section { padding-block: var(--space-section); }
.section--tight { padding-block: clamp(3rem, 2rem + 4vw, 5rem); }
.section--band { background: var(--color-band); }
.section--tint { background: var(--color-tint); }
/* Collapse the gap only between two plain sections; a plain section after a band/tint/ink section keeps its top padding. */
.section:not(.section--band):not(.section--tint):not(.theme-ink) + .section:not(.section--band):not(.section--tint):not(.theme-ink) { padding-top: 0; }
.stack > * + * { margin-top: var(--space-4); }
.stack-lg > * + * { margin-top: var(--space-stack); }
.stack-sm > * + * { margin-top: var(--space-2); }
/* List components reset their margin to 0 further down; keep the stack rhythm when they sit inside a stack. */
.stack > * + :is(.feature-list, .ticks, .steps, .area-list) { margin-top: var(--space-4); }
.stack-lg > * + :is(.feature-list, .ticks, .steps, .area-list) { margin-top: var(--space-stack); }
.stack-sm > * + :is(.feature-list, .ticks, .steps, .area-list) { margin-top: var(--space-2); }
.center { text-align: center; }
.center p, .center .lead { margin-inline: auto; }
.section-head { display: grid; gap: var(--space-4); margin-bottom: clamp(2rem, 1.2rem + 3vw, 3.75rem); max-width: 46rem; }
.section-head.center { margin-inline: auto; justify-items: center; }
.section-head--split { max-width: none; grid-template-columns: 1fr auto; align-items: end; gap: var(--space-5); }
@media (max-width: 719px) { .section-head--split { grid-template-columns: 1fr; } }

.grid { display: grid; gap: var(--space-5); }
.grid-2 { display: grid; gap: var(--space-5); grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { display: grid; gap: var(--space-5); grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { display: grid; gap: var(--space-5); grid-template-columns: repeat(4, minmax(0, 1fr)); }
.grid-auto { display: grid; gap: var(--space-5); grid-template-columns: repeat(auto-fill, minmax(min(100%, 17rem), 1fr)); }
@media (max-width: 959px) { .grid-3, .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
/* Tablets: an odd last row card (icon beside text) takes the full row instead of sitting alone in half of it */
@media (min-width: 640px) and (max-width: 959px) { .grid-3 > .card--row:last-child:nth-child(odd) { grid-column: 1 / -1; } }
@media (max-width: 639px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }

.split { display: grid; gap: clamp(2rem, 1rem + 5vw, 6rem); grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); align-items: center; }
.split--flip > :first-child { order: 2; }
.split--top { align-items: start; }
@media (max-width: 859px) { .split { grid-template-columns: 1fr; } .split--flip > :first-child { order: 0; } }

.cluster { display: flex; flex-wrap: wrap; gap: var(--space-3); align-items: center; }
.cluster--lg { gap: var(--space-4) var(--space-5); }

/* ---------- 4. Header ---------- */
.notice-bar {
  background: var(--gt-ink); color: var(--gt-paper); font-size: var(--step--1); text-align: center;
  padding: 10px var(--space-gutter);
}
.notice-bar a { color: inherit; }
.site-header {
  position: sticky; top: 0; z-index: var(--z-header);
  background: rgb(250 248 244 / 0.92); -webkit-backdrop-filter: saturate(1.4) blur(10px); backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid transparent; transition: border-color var(--dur-base), box-shadow var(--dur-base);
}
.site-header.is-scrolled { border-bottom-color: var(--gt-stone); }
.header-inner { display: flex; align-items: center; gap: var(--space-5); height: var(--header-h); }
.brand { display: inline-flex; align-items: center; color: var(--gt-ink); flex-shrink: 0; }
.brand img, .brand svg { height: 54px; width: auto; }
@media (max-width: 819px) { .brand img, .brand svg { height: 44px; } }
.primary-nav { margin-left: auto; }
.nav-list { display: flex; align-items: center; gap: clamp(0.25rem, -0.5rem + 1.4vw, 1.25rem); list-style: none; margin: 0; padding: 0; }
.nav-list > li { position: relative; }
.nav-link {
  display: inline-flex; align-items: center; gap: 4px; min-height: 44px; padding: 0 0.5rem; white-space: nowrap;
  font-size: var(--step--1); font-weight: 400; letter-spacing: 0.02em; color: var(--gt-ink); text-decoration: none;
  background: none; border: 0; cursor: pointer; border-radius: var(--radius-xs);
}
.nav-link:hover { text-decoration: underline; text-underline-offset: 0.4em; }
.nav-link[aria-current="page"], .nav-list > li.is-active > .nav-link { text-decoration: underline; text-underline-offset: 0.4em; text-decoration-thickness: 1px; }
.nav-link .icon { width: 16px; height: 16px; transition: transform var(--dur-base); }
.nav-link[aria-expanded="true"] .icon { transform: rotate(180deg); }
.nav-menu {
  position: absolute; top: calc(100% + 8px); left: 50%; translate: -50% 0; min-width: 19rem;
  padding: var(--space-3); list-style: none; margin: 0;
  background: var(--gt-white); border: var(--border-hair); border-radius: var(--radius-m); box-shadow: var(--shadow-3);
}
.nav-menu a { display: grid; grid-template-columns: auto 1fr; gap: 2px 12px; align-items: center; padding: 10px 12px;
  border-radius: var(--radius-s); text-decoration: none; color: var(--gt-ink); }
.nav-menu a:hover, .nav-menu a:focus-visible { background: var(--gt-linen); }
.nav-menu a .icon { grid-row: span 2; width: 22px; height: 22px; color: var(--color-accent); }
.nav-menu a span { font-size: var(--step--1); font-weight: 500; }
.nav-menu a small { grid-column: 2; font-size: var(--step--2); color: var(--gt-ink-3); line-height: 1.35; }
.header-actions { display: flex; align-items: center; gap: var(--space-3); }
.header-phone { font-size: var(--step--1); color: var(--gt-ink); text-decoration: none; white-space: nowrap; letter-spacing: 0.02em; }
.header-phone:hover { text-decoration: underline; }
.menu-toggle { display: none; }
@media (max-width: 1099px) { .header-phone { display: none; } }
/* The six-item nav plus the "Free walkthrough" button need about 1,000px; below that the menu button takes over */
@media (max-width: 1023px) {
  .primary-nav, .header-actions .btn--secondary { display: none; }
  .menu-toggle { display: inline-flex; margin-left: auto; align-items: center; justify-content: center; width: 48px; height: 48px;
    border: var(--border-ui); border-radius: 50%; background: var(--gt-white); cursor: pointer; }
  .menu-toggle .icon { width: 22px; height: 22px; }
  .header-actions { margin-left: 0; }
}
@media (max-width: 479px) { .header-actions .btn--primary { display: none; } }

/* Mobile menu sheet */
.mobile-menu {
  position: fixed; inset: 0; z-index: var(--z-overlay); background: var(--gt-paper);
  display: flex; flex-direction: column; overflow-y: auto; padding: 0 var(--space-gutter) calc(var(--space-7) + env(safe-area-inset-bottom));
}
.mobile-menu[hidden] { display: none; }
.mobile-menu .mm-top { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); flex-shrink: 0; }
.mobile-menu .mm-close { width: 48px; height: 48px; border: var(--border-ui); border-radius: 50%; background: var(--gt-white); display: grid; place-items: center; cursor: pointer; }
.mobile-menu .mm-close .icon { width: 22px; height: 22px; }
.mobile-menu nav { padding-block: var(--space-5); }
.mobile-menu .mm-group + .mm-group { margin-top: var(--space-6); }
.mobile-menu .mm-group h2 { font: 500 var(--step--2)/1.4 var(--font-sans); letter-spacing: var(--tracking-eyebrow); text-transform: uppercase; color: var(--gt-ink-3); margin-bottom: var(--space-2); }
.mobile-menu ul { list-style: none; padding: 0; margin: 0; }
.mobile-menu li a { display: block; padding: 10px 0; font: 500 var(--step-3)/1.15 var(--font-display); color: var(--gt-ink); text-decoration: none; border-bottom: var(--border-hair); font-variant-numeric: lining-nums; }
.mobile-menu .mm-contact { display: grid; gap: var(--space-3); margin-top: var(--space-6); }
body.menu-open { overflow: hidden; }

/* ---------- 5. Buttons ---------- */
.btn {
  --btn-h: 52px;
  display: inline-flex; align-items: center; justify-content: center; gap: 0.6em;
  min-height: var(--btn-h); padding: 0 1.75rem; border-radius: var(--radius-pill);
  border: 1.5px solid transparent;
  font: 500 var(--step--1)/1 var(--font-sans); letter-spacing: 0.04em; text-decoration: none; white-space: nowrap;
  cursor: pointer; -webkit-tap-highlight-color: transparent;
  transition: background-color var(--dur-base) var(--ease-out), color var(--dur-base) var(--ease-out),
              border-color var(--dur-base) var(--ease-out), transform var(--dur-fast) var(--ease-out);
}
.btn:hover { text-decoration: none; }
.btn:active { transform: translateY(1px); }
.btn--primary { background: var(--color-cta); color: var(--color-on-cta); }
.btn--primary:hover { background: var(--color-cta-hover); }
.btn--secondary { background: transparent; color: var(--color-text); border-color: currentColor; }
.btn--secondary:hover { background: var(--color-text); color: var(--color-bg); border-color: var(--color-text); }
.btn--ghost { background: var(--color-surface); color: var(--color-text); border-color: var(--color-border); }
.btn--ghost:hover { border-color: var(--color-text); }
.btn--text { min-height: 44px; padding: 0 0.25rem; border-radius: 0; background: none; color: var(--color-text);
  text-decoration: underline; text-underline-offset: 0.35em; text-decoration-thickness: 1px; }
.btn--text:hover { text-decoration-thickness: 2px; text-decoration: underline; }
.btn--sm { --btn-h: 42px; padding: 0 1.125rem; }
.btn--lg { --btn-h: 60px; padding: 0 2.25rem; font-size: var(--step-0); }
.btn--block { width: 100%; }
.btn--caps { text-transform: uppercase; letter-spacing: var(--tracking-caps); font-size: var(--step--2); }
.btn[disabled], .btn[aria-disabled="true"] { opacity: 0.45; cursor: not-allowed; }
.btn .icon { width: var(--icon-s); height: var(--icon-s); flex-shrink: 0; }
.btn-row { display: flex; flex-wrap: wrap; gap: var(--space-3); align-items: center; }
.link-arrow { display: inline-flex; align-items: center; gap: 0.45em; font-weight: 500; text-decoration: none; color: var(--color-text); }
.link-arrow .icon { width: 18px; height: 18px; transition: transform var(--dur-base) var(--ease-out); }
.link-arrow:hover { text-decoration: underline; }
.link-arrow:hover .icon { transform: translateX(3px); }

/* ---------- 6. Icons ---------- */
.icon { width: var(--icon-m); height: var(--icon-m); fill: none; stroke: currentColor; stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }
.icon--fill { fill: currentColor; stroke: none; }

/* ---------- 7. Chips, segmented controls, choice cards ---------- */
.chip {
  position: relative; display: inline-flex; align-items: center; gap: 0.5em; min-height: 46px; padding: 0 1.125rem;
  border-radius: var(--radius-pill); border: var(--border-ui); background: var(--gt-white);
  font: 400 var(--step--1)/1 var(--font-sans); color: var(--gt-ink); cursor: pointer; text-decoration: none;
  transition: background-color var(--dur-fast) var(--ease-out), border-color var(--dur-fast) var(--ease-out), transform var(--dur-fast);
}
.chip:hover { border-color: var(--gt-ink); text-decoration: none; }
.chip .icon { width: 18px; height: 18px; }
.chip[aria-pressed="true"], .chip:has(input:checked) { background: var(--color-selected-bg); border-color: var(--color-selected-border); }
.chip:has(input:focus-visible) { outline: 2px solid var(--color-focus); outline-offset: 2px; }
.chip input { position: absolute; opacity: 0; pointer-events: none; }
/* A check mark on a selected input chip, so the selected state never relies on color alone (WCAG 1.4.1) */
.chip:has(input:checked)::before {
  content: ""; width: 16px; height: 16px; flex-shrink: 0; 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='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-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='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center/contain no-repeat;
}
.chip-row { display: flex; flex-wrap: wrap; gap: 10px; }

.seg { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 4px; padding: 4px; align-self: start;
  border: var(--border-ui); border-radius: var(--radius-pill); background: var(--gt-white); }
.seg label { position: relative; display: grid; place-items: center; min-height: 44px; padding: 0 6px; border-radius: var(--radius-pill); cursor: pointer; font-size: var(--step--1); text-align: center; line-height: 1.1; }
.seg input { position: absolute; opacity: 0; pointer-events: none; }
.seg label:has(input:checked) { background: var(--gt-ink); color: var(--gt-paper); }
.seg label:has(input:focus-visible) { outline: 2px solid var(--color-focus); outline-offset: 2px; }

.choice { position: relative; display: grid; grid-template-columns: auto 1fr auto; gap: var(--space-3); align-items: center;
  padding: var(--space-4) var(--space-5); border: var(--border-ui); border-radius: var(--radius-m); background: var(--gt-white); cursor: pointer;
  transition: border-color var(--dur-fast), background-color var(--dur-fast); }
.choice:hover { border-color: var(--gt-ink-2); }
.choice:has(input:checked) { border: 1.5px solid var(--color-selected-border); background: var(--color-selected-bg); }
.choice .choice-title { font-weight: 500; }
.choice .choice-desc { display: block; font-size: var(--step--1); color: var(--gt-ink-2); }
.choice .save { font-size: var(--step--2); letter-spacing: 0.08em; text-transform: uppercase; color: var(--gt-ink-2); white-space: nowrap; }

.stepper { display: inline-grid; grid-template-columns: 44px minmax(3.5rem, auto) 44px; align-items: center; border: var(--border-ui); border-radius: var(--radius-pill); background: var(--gt-white); }
.stepper button { width: 44px; height: 44px; border: 0; background: none; border-radius: 50%; cursor: pointer; display: grid; place-items: center; }
.stepper button:hover { background: var(--gt-linen); }
.stepper button:disabled { opacity: 0.35; cursor: not-allowed; }
.stepper output, .stepper input { text-align: center; font-variant-numeric: tabular-nums; border: 0; background: none; width: 100%; font: inherit; }
.stepper .icon { width: 18px; height: 18px; }

/* ---------- 8. Forms ---------- */
/* minmax(0, 1fr): the form never grows wider than its card, even with a long button label or a wide fieldset (WCAG 1.4.10 reflow at 320px) */
.form { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--space-5); }
.form-grid { display: grid; gap: var(--space-4) var(--space-5); grid-template-columns: repeat(2, minmax(0, 1fr)); }
.form-grid .span-2 { grid-column: 1 / -1; }
@media (max-width: 599px) { .form-grid { grid-template-columns: 1fr; } }
.field { display: grid; gap: var(--space-2); align-content: start; }
.field > label, .field > .label, fieldset > legend {
  font-size: var(--step--1); font-weight: 500; color: var(--color-text);
}
.field .req { color: var(--gt-ink-3); font-weight: 400; }
.field .hint, .hint { font-size: var(--step--2); color: var(--color-text-subtle); line-height: 1.45; }
fieldset { border: 0; margin: 0; padding: 0; min-width: 0; display: grid; gap: var(--space-3); align-content: start; }
fieldset > legend { padding: 0; margin-bottom: var(--space-2); }
.input, .select, .textarea,
.form input[type="text"], .form input[type="email"], .form input[type="tel"], .form input[type="number"],
.form input[type="date"], .form input[type="url"], .form select, .form textarea {
  width: 100%; min-height: 52px; padding: 0 1rem; border: var(--border-ui); border-radius: var(--radius-s);
  background: var(--gt-white); color: var(--gt-ink);
  font: 400 max(16px, var(--step-0))/1.3 var(--font-sans);
  transition: border-color var(--dur-fast) var(--ease-out), box-shadow var(--dur-fast) var(--ease-out);
}
.textarea, .form textarea { min-height: 128px; padding-block: 0.875rem; resize: vertical; line-height: 1.5; }
.select, .form select {
  appearance: none; padding-right: 2.75rem; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231F1D1A' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 1rem center; background-size: 18px;
}
.form input[type="file"] { font-size: var(--step--1); padding: 12px; border: 1.5px dashed var(--gt-line); border-radius: var(--radius-s); background: var(--gt-white); width: 100%; color: var(--gt-ink-2); }
.form input[type="file"]::file-selector-button {
  font: 500 var(--step--1)/1 var(--font-sans); letter-spacing: 0.02em; padding: 10px 16px; margin-right: 12px;
  border: var(--border-ui); border-radius: var(--radius-pill); background: var(--gt-linen); color: var(--gt-ink); cursor: pointer;
  transition: background-color var(--dur-fast) var(--ease-out), color var(--dur-fast) var(--ease-out);
}
.form input[type="file"]:hover::file-selector-button { background: var(--gt-ink); color: var(--gt-paper); border-color: var(--gt-ink); }
/* Placeholders are hints, never labels; keep them readable (5.8:1 on white) instead of the browser's pale default */
::placeholder { color: var(--gt-ink-3); opacity: 1; }
.input:hover, .select:hover, .textarea:hover, .form input:hover, .form select:hover, .form textarea:hover { border-color: var(--gt-ink-2); }
.form input:focus-visible, .form select:focus-visible, .form textarea:focus-visible,
.input:focus-visible, .select:focus-visible, .textarea:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 2px; border-color: var(--gt-ink); }
[aria-invalid="true"] { border: 1.5px solid var(--gt-error) !important; }
.field .error, .error-text { display: flex; gap: 0.4em; align-items: center; font-size: var(--step--1); color: var(--gt-error); }
/* Inline message next to a field that failed validation (added by site.js); the icon means the message never relies on color alone */
.field-error { margin: 0; font-weight: 500; line-height: 1.4; align-items: flex-start; }
.field-error::before {
  content: ""; width: 16px; height: 16px; margin-top: 0.15em; flex-shrink: 0; 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='black' stroke-width='2' stroke-linecap='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M12 7.5v5.5M12 16.5v.01'/%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='black' stroke-width='2' stroke-linecap='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M12 7.5v5.5M12 16.5v.01'/%3E%3C/svg%3E") center/contain no-repeat;
}
.check { display: grid; grid-template-columns: auto 1fr; gap: 12px; align-items: start; font-size: var(--step--1); line-height: 1.5; cursor: pointer; }
.check input { margin-top: 2px; }
.check .hint { display: block; margin-top: 2px; }
input[type="radio"], input[type="checkbox"] { accent-color: var(--gt-ink); width: 20px; height: 20px; }
:root[data-accent="eucalyptus"] input[type="radio"], :root[data-accent="eucalyptus"] input[type="checkbox"] { accent-color: var(--gt-euc-700); }
.consent { display: grid; gap: var(--space-3); padding: var(--space-5); border-radius: var(--radius-m); background: var(--gt-linen); }
.consent .check { font-size: var(--step--2); color: var(--gt-ink-2); }
.consent .check strong { color: var(--gt-ink); font-size: var(--step--1); }
.form-note { font-size: var(--step--2); color: var(--gt-ink-3); }
.error-summary { padding: var(--space-4) var(--space-5); border: 1.5px solid var(--gt-error); border-radius: var(--radius-m); background: #FBF1EE; color: var(--gt-ink); }
.error-summary h2 { font: 500 var(--step-0)/1.3 var(--font-sans); margin-bottom: var(--space-2); }
.form-success { padding: var(--space-6); border-radius: var(--radius-l); background: var(--color-tint); color: var(--color-tint-text); }
.form-success h2, .form-success h3 { color: inherit; }
.hp-field { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
/* min-width: 0 lets a form card shrink inside a grid or flex column instead of widening it past the screen */
.form-card { min-width: 0; padding: clamp(1.5rem, 1rem + 2vw, 2.75rem); background: var(--gt-white); border: var(--border-hair); border-radius: var(--radius-l); box-shadow: var(--shadow-1); }
.repeat-block { padding: var(--space-5); border: var(--border-hair); border-radius: var(--radius-m); background: var(--gt-paper); display: grid; gap: var(--space-4); }
.repeat-block + .repeat-block { margin-top: var(--space-4); }
/* Long submit labels wrap onto two lines rather than pushing the form past a small screen */
.form .btn[type="submit"] { white-space: normal; text-align: center; line-height: 1.25; padding-block: 0.5rem; }
@media (max-width: 599px) {
  /* Phones: less nested padding so fields, chips and segments get the width */
  .form-card { padding: var(--space-5) var(--space-4); }
  .form-card .repeat-block { padding: var(--space-4) var(--space-3); }
}
@media (max-width: 479px) {
  /* Small phones: any button label too long for the screen wraps instead of being cut off (single-line buttons look the same) */
  .btn { white-space: normal; text-align: center; line-height: 1.25; padding-block: 0.5rem; }
  .btn--lg, .btn--block { padding-block: 0.75rem; }
}

/* A link the owner hasn't supplied yet (rendered by {{@link:…}}): a disabled button plus a placeholder note */
.pending-link { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-2) var(--space-3); }
.pending-link .subtle { font-size: var(--step--1); color: var(--color-text-subtle); }
.pending-link .btn[disabled] { opacity: 0.5; }

/* ---------- 9. Cards & tiles ---------- */
.card { position: relative; display: flex; flex-direction: column; gap: var(--space-3);
  padding: var(--space-6); background: var(--color-surface); border: var(--border-hair); border-radius: var(--radius-m);
  transition: transform var(--dur-slow) var(--ease-out), box-shadow var(--dur-slow) var(--ease-out), border-color var(--dur-slow) var(--ease-out); }
.card--link:hover, .card:has(a.stretch):hover { transform: translateY(-3px); box-shadow: var(--shadow-2); border-color: var(--gt-line); }
.card a.stretch { text-decoration: none; color: inherit; }
.card a.stretch::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.card h3 { font-size: var(--step-2); }
.card p { color: var(--color-text-muted); font-size: var(--step--1); }
.card .meta { font-size: var(--step--1); color: var(--color-text-muted); margin-top: auto; padding-top: var(--space-3); display: flex; align-items: center; gap: 0.5em; }
.card .meta .icon { width: 18px; height: 18px; transition: transform var(--dur-base); }
.card:hover .meta .icon { transform: translateX(3px); }
.card--flat { background: transparent; border: 0; padding: 0; }
.card--band { background: var(--gt-linen); border-color: transparent; }
.card > .tag { align-self: flex-start; }

.tile-media { margin: calc(var(--space-6) * -1) calc(var(--space-6) * -1) var(--space-2); overflow: hidden; border-radius: var(--radius-m) var(--radius-m) 0 0; aspect-ratio: 4/3; background: var(--gt-linen); }
.tile-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 900ms var(--ease-out); }
.card:hover .tile-media img { transform: scale(1.035); }

.icon-ring { position: relative; width: 56px; height: 56px; display: grid; place-items: center; color: var(--color-accent); flex-shrink: 0; }
.icon-ring .gt-arc { position: absolute; inset: 0; --arc-w: 2.2; transition: transform var(--dur-slow) var(--ease-out); }
.card:hover .icon-ring .gt-arc { transform: rotate(28deg); }
.icon-ring .icon { width: 26px; height: 26px; }
@media (max-width: 639px) {
  /* Stacked cards on phones: tighter padding, wider photos, smaller icon rings (about a quarter less height per card) */
  .card:not(.card--flat) { padding: var(--space-5); }
  .tile-media { margin: calc(var(--space-5) * -1) calc(var(--space-5) * -1) var(--space-2); aspect-ratio: 16 / 9; }
  .card > .icon-ring { width: 44px; height: 44px; }
  .card > .icon-ring .icon { width: 22px; height: 22px; }
}

/* ---------- 10. Broken-circle motif ---------- */
.gt-arc { display: block; width: 100%; height: 100%; overflow: visible; color: inherit; }
.gt-arc circle { fill: none; stroke: currentColor; stroke-width: var(--arc-w, 1.2); stroke-linecap: round; }
.reveal-ready .gt-arc--draw circle { stroke-dasharray: 0 180; opacity: 0;
  transition: stroke-dasharray var(--dur-draw) var(--ease-in-out), opacity var(--dur-base) linear; }
.reveal-ready .gt-arc--draw.is-drawn circle { stroke-dasharray: 90 90; opacity: 1; }
.gt-arc--spin { width: 20px; height: 20px; --arc-w: 8; animation: gt-spin 900ms linear infinite; }
@keyframes gt-spin { to { transform: rotate(360deg); } }
.divider-arc { display: flex; align-items: center; justify-content: center; gap: var(--space-5); padding-block: var(--space-6); color: var(--gt-ink); }
.divider-arc::before, .divider-arc::after { content: ""; flex: 1; max-width: 240px; height: 1px; background: var(--gt-stone); }
.divider-arc .gt-arc { width: 34px; height: 34px; --arc-w: 3; }

.media-arch { position: relative; }
.media-arch > img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--radius-arch); background: var(--gt-linen); }
.media-arch .arch-arc { position: absolute; left: -15%; top: -2%; width: 130%; height: auto; aspect-ratio: 1; color: var(--gt-ink); pointer-events: none; --arc-w: 0.32; }
.media-round > img { width: 100%; aspect-ratio: 4/3; object-fit: cover; border-radius: var(--radius-l); background: var(--gt-linen); }
.media-circle { position: relative; aspect-ratio: 1; }
.media-circle > img { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; }
.media-circle > .gt-arc { position: absolute; inset: -6%; width: 112%; height: 112%; color: var(--gt-ink); --arc-w: 0.35; }
.media-caption { margin-top: var(--space-3); font-size: var(--step--2); color: var(--gt-ink-3); letter-spacing: 0.02em; }

/* ---------- 11. Hero ---------- */
.hero { position: relative; padding-top: clamp(2rem, 1rem + 4vw, 4.5rem); padding-bottom: var(--space-section); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); gap: clamp(2rem, 1rem + 5vw, 6.5rem); align-items: center; }
.hero h1 { font-size: var(--step-6); }
.hero-text > .eyebrow { margin-bottom: var(--space-4); }
.hero .lead { max-width: 34ch; margin-top: var(--space-5); }
.hero-visual { position: relative; max-width: 30rem; justify-self: end; width: 100%; }
.hero-visual .hero-float {
  position: absolute; left: -12%; bottom: 9%; padding: 14px 18px 14px 16px; max-width: 16rem;
  background: var(--gt-white); border: var(--border-hair); border-radius: var(--radius-m); box-shadow: var(--shadow-2);
  display: grid; gap: 2px; font-size: var(--step--2); color: var(--gt-ink-2);
}
.hero-visual .hero-float strong { font: 500 var(--step-3)/1.1 var(--font-display); color: var(--gt-ink); font-variant-numeric: lining-nums tabular-nums; }
.hero-ask { margin-top: var(--space-6); display: grid; gap: var(--space-3); }
.hero-ask .label { font-size: var(--step--1); font-weight: 500; }
.hero-meta { display: flex; flex-wrap: wrap; gap: var(--space-2) var(--space-5); margin-top: var(--space-5); font-size: var(--step--1); color: var(--gt-ink-2); align-items: center; }
.hero-meta a:not(.btn) { color: var(--gt-ink); }
/* Phones and tablets: text, service chips and the quote button first (like every inner page), photo after */
@media (max-width: 859px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { justify-self: center; max-width: 24rem; margin-top: var(--space-6); }
  .hero-visual .hero-float { left: auto; right: -4%; bottom: 6%; }
}
@media (max-width: 519px) { .hero-visual { max-width: 17rem; } .hero-visual .hero-float { right: -8%; } }

.page-hero { padding-top: clamp(2rem, 1rem + 4vw, 4.5rem); padding-bottom: clamp(3rem, 2rem + 4vw, 6rem); }
.page-hero .container { display: grid; gap: var(--space-5); }
.page-hero h1 { max-width: 18ch; }
.page-hero .lead { max-width: 46ch; }
/* start, not center: the breadcrumb sits just under the header even when the media column is the taller one */
.page-hero--split .container { grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); align-items: start; gap: clamp(2rem, 1rem + 5vw, 6rem); }
.page-hero--split .page-hero-text { display: grid; gap: var(--space-5); align-content: center; }
@media (max-width: 859px) { .page-hero--split .container { grid-template-columns: 1fr; } }

.breadcrumb { font-size: var(--step--2); letter-spacing: 0.04em; color: var(--gt-ink-3); }
.breadcrumb ol { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; padding: 0; margin: 0; }
.breadcrumb li + li::before { content: "/"; margin-right: 6px; color: var(--gt-line); }
.breadcrumb a { color: var(--gt-ink-2); text-decoration: none; }
.breadcrumb a:hover { text-decoration: underline; }

/* ---------- 12. Trust strip, steps, features ---------- */
.trust { margin: 0; padding: var(--space-4) 0; display: flex; flex-wrap: wrap; gap: var(--space-3) var(--space-6);
  border-block: var(--border-hair); font-size: var(--step--1); color: var(--gt-ink-2); list-style: none; justify-content: center; }
.trust li { display: inline-flex; align-items: center; gap: var(--space-2); }
.trust .icon { width: 20px; height: 20px; color: var(--color-accent); }

.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-6); counter-reset: step; list-style: none; padding: 0; margin: 0; }
.steps > li { display: grid; gap: var(--space-3); align-content: start; padding-top: var(--space-5); border-top: 1px solid var(--gt-ink); }
.steps .step-num { font: 400 var(--step-5)/1 var(--font-display); font-variant-numeric: lining-nums; color: var(--gt-ink); }
.steps h3 { font-size: var(--step-2); }
.steps p { color: var(--color-text-muted); font-size: var(--step--1); }
.steps--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 1023px) { .steps--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 767px) { .steps { grid-template-columns: 1fr; } }

.feature-list { list-style: none; padding: 0; margin: 0; display: grid; gap: var(--space-4); }
.feature-list li { display: grid; grid-template-columns: auto 1fr; gap: var(--space-3); align-items: start; }
.feature-list .icon { width: 22px; height: 22px; margin-top: 3px; color: var(--color-accent); }
.feature-list strong { display: block; font-weight: 500; }
.feature-list span { color: var(--color-text-muted); font-size: var(--step--1); }

.ticks { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.ticks li { position: relative; padding-left: 30px; }
.ticks li::before { content: ""; position: absolute; left: 0; top: 0.35em; width: 18px; height: 18px;
  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='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-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='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center/contain no-repeat; }
.ticks--x li::before { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M18 6 6 18M6 6l12 12'/%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='black' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M18 6 6 18M6 6l12 12'/%3E%3C/svg%3E"); color: var(--gt-ink-3); }
.ticks--2col { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: var(--space-6); }
@media (max-width: 639px) { .ticks--2col { grid-template-columns: 1fr; } }

/* ---------- 13. Tables ---------- */

/* container-type lets the caption size itself to the visible (scrolling) box with cqi units */
.table-wrap { position: relative; overflow-x: auto; border: var(--border-hair); border-radius: var(--radius-m); background: var(--gt-white); -webkit-overflow-scrolling: touch; container-type: inline-size; }
.table-wrap:focus-visible { outline: 2px solid var(--color-focus); }
/* separate + 0 spacing looks the same as collapse but lets a sticky first column carry its own borders */
table.data { width: 100%; border-collapse: separate; border-spacing: 0; font-size: var(--step--1); font-variant-numeric: lining-nums tabular-nums; }
/* Only wide tables (5+ columns) keep a minimum width and scroll sideways; narrower ones wrap to fit the phone */
table.data:where(:has(thead th:nth-child(5))) { min-width: 36rem; }
/* Row backgrounds pass down to a sticky first column (so it covers what scrolls under it) */
:where(table.data, table.data > thead, table.data > tbody, table.data > tfoot, table.data tr) { background: inherit; }
/* The caption stays in view while a wide table scrolls, and wraps inside the visible box */
table.data caption { text-align: left; padding: var(--space-4) var(--space-5); font-weight: 500; caption-side: top;
  position: sticky; left: 0; max-width: calc(100vw - 2 * var(--space-gutter) - 2px); max-width: 100cqi; }
table.data th, table.data td { padding: 12px 16px; text-align: left; border-bottom: var(--border-hair); vertical-align: top; }
table.data thead th { font-size: var(--step--2); letter-spacing: 0.08em; text-transform: uppercase; font-weight: 500; color: var(--gt-ink-2); background: var(--gt-paper); white-space: nowrap; }
table.data tbody th { font-weight: 500; white-space: nowrap; }
table.data tbody tr:last-child > * { border-bottom: 0; }
table.data :is(td, th) .typ { display: block; font-size: var(--step--2); font-weight: 400; color: var(--gt-ink-3); white-space: normal; }
table.data tr.is-highlight { background: var(--gt-linen); }
table.data td.yes { color: var(--gt-ink); }
table.data td.no { color: var(--gt-ink-3); }
table.data.vs-table tbody th { white-space: normal; }
@media (max-width: 719px) {
  /* Phones: the row-header column stays pinned while the rest of a wide table scrolls, so every cell keeps its label */
  .table-wrap table.data tbody tr > th:first-child, .table-wrap table.data thead tr > th:first-child {
    position: sticky; left: 0; z-index: 1; box-shadow: 1px 0 0 var(--gt-stone);
  }
  table.data tbody th:first-child { white-space: normal; min-width: 8rem; }
  table.data thead th { white-space: normal; }
  table.data th, table.data td { padding: 10px 12px; }
  :where(table.data tbody tr) > th:first-child { background: inherit; }
}


/* ---------- 14. Tabs, accordions, checklists ---------- */
.tabs { display: grid; gap: var(--space-5); }
.tablist { display: inline-flex; flex-wrap: wrap; gap: 4px; padding: 4px; border: var(--border-ui); border-radius: var(--radius-pill); background: var(--gt-white); justify-self: start; }
.tablist [role="tab"] { min-height: 42px; padding: 0 1.1rem; border: 0; border-radius: var(--radius-pill); background: none; cursor: pointer; font-size: var(--step--1); }
.tablist [role="tab"][aria-selected="true"] { background: var(--gt-ink); color: var(--gt-paper); }
.tablist [role="tab"]:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 2px; }

.faq { border-top: 1px solid var(--gt-ink); }
.faq details { border-bottom: var(--border-hair); }
.faq summary { display: flex; justify-content: space-between; align-items: center; gap: var(--space-4); padding: var(--space-5) 0; cursor: pointer; list-style: none;
  font: 500 var(--step-2)/1.25 var(--font-display); font-variant-numeric: lining-nums; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; flex-shrink: 0; width: 22px; height: 22px; background: currentColor; transition: transform var(--dur-base) var(--ease-out);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.5' stroke-linecap='round'%3E%3Cpath d='M5 12h14M12 5v14'/%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='black' stroke-width='1.5' stroke-linecap='round'%3E%3Cpath d='M5 12h14M12 5v14'/%3E%3C/svg%3E") center/contain no-repeat; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq .faq-body { padding-bottom: var(--space-5); color: var(--color-text-muted); display: grid; gap: var(--space-3); max-width: 62ch; }
.faq summary:focus-visible { outline-offset: 4px; }

.checklist-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 16rem), 1fr)); gap: var(--space-5); }
.checklist-room { padding: var(--space-5); background: var(--gt-white); border: var(--border-hair); border-radius: var(--radius-m); }
.checklist-room h3 { font-size: var(--step-2); margin-bottom: var(--space-3); display: flex; align-items: center; gap: 10px; }
.checklist-room h3 .icon { width: 22px; height: 22px; color: var(--color-accent); }
.checklist-room ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; font-size: var(--step--1); }
.checklist-room li { display: grid; grid-template-columns: 18px 1fr; gap: 10px; align-items: start; }
.checklist-room li .icon { width: 18px; height: 18px; margin-top: 3px; }
.checklist-room li.is-extra { color: var(--gt-ink-3); }
.tag { display: inline-flex; align-items: center; gap: 4px; padding: 3px 10px; border-radius: var(--radius-pill); font-size: var(--step--2); letter-spacing: 0.06em; text-transform: uppercase; background: var(--gt-linen); color: var(--gt-ink-2); white-space: nowrap; }
.tag--ink { background: var(--gt-ink); color: var(--gt-paper); }

/* ---------- 15. Quotes, notes, callouts ---------- */
.quote-card { padding: var(--space-7) var(--space-6); background: var(--gt-clay-100); border-radius: var(--radius-l); }
.quote-card blockquote { margin: var(--space-4) 0 0; font: 500 var(--step-3)/1.25 var(--font-display); font-variant-numeric: lining-nums; }
.quote-card .stars { color: var(--gt-clay-700); letter-spacing: 0.2em; }
.quote-card figcaption { margin-top: var(--space-4); font-size: var(--step--1); color: var(--gt-ink-2); }
.note { display: grid; grid-template-columns: auto 1fr; gap: var(--space-3); padding: var(--space-4) var(--space-5); border-radius: var(--radius-m); background: var(--gt-linen); font-size: var(--step--1); color: var(--gt-ink-2); }
.note .icon { width: 20px; height: 20px; margin-top: 2px; color: var(--gt-ink); }
.note strong { color: var(--gt-ink); }
.section--band .note { background: var(--gt-white); }
.section--band :is(.form-card, .card:not(.card--band), .promise) .note { background: var(--gt-linen); }
.promise { position: relative; padding: clamp(2rem, 1rem + 4vw, 4.5rem); border-radius: var(--radius-l); background: var(--gt-white); border: var(--border-hair); overflow: hidden; }
/* Centered on the card's corner, so only a quarter arc shows; it scales with the card's padding so it stays clear of the text */
.promise .gt-arc { --arc-size: clamp(8rem, 2rem + 12vw, 14rem); position: absolute; width: var(--arc-size); height: var(--arc-size);
  right: calc(var(--arc-size) / -2); top: calc(var(--arc-size) / -2); color: var(--gt-stone); --arc-w: 1; }
.promise > :not(.gt-arc) { position: relative; }
.pull { font: 400 var(--step-4)/1.15 var(--font-display); letter-spacing: -0.01em; max-width: 24ch; font-variant-numeric: lining-nums; }
.pull em { font-style: italic; }
.signature img { height: 56px; width: auto; }

/* ---------- 16. CTA band & contact tiles ---------- */
.cta-band { position: relative; overflow: hidden; }
.cta-band .container { display: grid; gap: var(--space-5); justify-items: center; text-align: center; }
.cta-band h2 { font-size: var(--step-5); max-width: 18ch; }
.cta-band p { color: var(--color-text-muted); max-width: 44ch; margin-inline: auto; }
.cta-band p.subtle { max-width: none; }
.cta-band .gt-arc { position: absolute; width: 34rem; height: 34rem; left: 50%; top: 50%; translate: -50% -50%; color: rgb(250 248 244 / 0.08); --arc-w: 0.5; pointer-events: none; }
/* 1 column on phones, 2x2 on tablets, 4 across on desktops: never three tiles plus an orphan */
.contact-tiles { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--space-4); }
@media (min-width: 600px) { .contact-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .contact-tiles { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.contact-tile { display: grid; gap: 6px; align-content: start; min-width: 0; padding: var(--space-5); background: var(--gt-white); border: var(--border-hair); border-radius: var(--radius-m); text-decoration: none; color: var(--gt-ink); transition: border-color var(--dur-base), transform var(--dur-base); }
.contact-tile:hover { border-color: var(--gt-ink); transform: translateY(-2px); text-decoration: none; }
.contact-tile .icon { width: 26px; height: 26px; margin-bottom: 6px; }
.contact-tile strong { font-weight: 500; }
.contact-tile span { font-size: var(--step--1); color: var(--gt-ink-2); overflow-wrap: anywhere; }

/* ---------- 17. ZIP checker ---------- */
.zip-check { display: grid; gap: var(--space-3); max-width: 30rem; }
.zip-check form { display: flex; flex-wrap: wrap; gap: var(--space-2); }
.zip-check form > label { flex-basis: 100%; font-size: var(--step--1); font-weight: 500; color: var(--color-text); }
.zip-check input { flex: 1; min-width: 0; }
.zip-result { font-size: var(--step--1); min-height: 1.6em; }
.area-list { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 14rem), 1fr)); gap: 0 var(--space-6); border-top: 1px solid var(--gt-ink); }
.area-list li { border-bottom: var(--border-hair); }
.area-list a, .area-list span { display: flex; justify-content: space-between; align-items: center; padding: var(--space-4) 0; text-decoration: none; color: var(--gt-ink); font: 500 var(--step-2)/1.2 var(--font-display); font-variant-numeric: lining-nums; }
.area-list a:hover { text-decoration: underline; }
.area-list .icon { width: 18px; height: 18px; }

/* ---------- 18. Prose (legal, guides, long content) ---------- */
.prose { max-width: 44rem; overflow-wrap: break-word; }
.prose > * + * { margin-top: 1.1em; }
.prose h2 { font-size: var(--step-3); margin-top: 2.2em; }
.prose h3 { font-size: var(--step-2); margin-top: 1.8em; }
.prose h4 { margin-top: 1.5em; }
.prose p, .prose li { color: var(--gt-ink-2); }
.prose ul, .prose ol { padding-left: 1.3em; display: grid; grid-template-columns: minmax(0, 1fr); gap: 0.45em; }
.prose :is(.ticks, .feature-list, .area-list, .steps), .prose .checklist-room ul { padding-left: 0; }
.prose table { width: 100%; border-collapse: collapse; font-size: var(--step--1); }
.prose th, .prose td { text-align: left; padding: 10px 12px; border-bottom: var(--border-hair); vertical-align: top; }
.prose blockquote { margin-left: 0; padding-left: var(--space-5); border-left: 2px solid var(--gt-ink); font-family: var(--font-display); font-size: var(--step-2); color: var(--gt-ink); }
.prose .note { margin-top: 1.5em; }
.legal-meta { font-size: var(--step--2); color: var(--gt-ink-3); letter-spacing: 0.04em; }
.toc { position: sticky; top: calc(var(--header-h) + 24px); align-self: start; font-size: var(--step--1); }
.toc ol, .toc ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; border-left: var(--border-hair); }
.toc a { display: block; padding-left: var(--space-4); color: var(--gt-ink-2); text-decoration: none; margin-left: -1px; border-left: 1px solid transparent; }
.toc a:hover { color: var(--gt-ink); border-left-color: var(--gt-ink); }
.with-toc { display: grid; grid-template-columns: 14rem minmax(0, 1fr); gap: clamp(2rem, 1rem + 4vw, 5rem); }
@media (max-width: 899px) { .with-toc { grid-template-columns: 1fr; } .toc { position: static; } }

/* ---------- 19. Footer ---------- */
.site-footer { padding-top: clamp(4rem, 3rem + 4vw, 7rem); padding-bottom: calc(var(--space-6) + env(safe-area-inset-bottom)); }
.footer-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(4, minmax(0, 1fr)); gap: var(--space-7) var(--space-6); }
.footer-brand { display: grid; gap: var(--space-5); align-content: start; }
.footer-brand .logo-circle { width: 132px; height: auto; color: var(--gt-paper); }
.footer-brand p { color: var(--color-text-muted); font-size: var(--step--1); max-width: 30ch; }
.footer-contact { display: grid; gap: 6px; font-size: var(--step--1); }
.footer-contact a { color: var(--gt-paper); text-decoration: none; }
.footer-contact a:hover { text-decoration: underline; }
.footer-col h2 { font: 500 var(--step--2)/1.4 var(--font-sans); letter-spacing: var(--tracking-eyebrow); text-transform: uppercase; color: var(--color-text-subtle); margin-bottom: var(--space-4); }
.footer-col ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; font-size: var(--step--1); }
.footer-col a { color: var(--color-text-muted); text-decoration: none; }
.footer-col a:hover { color: var(--gt-paper); text-decoration: underline; }
.footer-bottom { margin-top: clamp(3rem, 2rem + 3vw, 5rem); padding-top: var(--space-5); border-top: 1px solid var(--color-border);
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--space-3) var(--space-6); font-size: var(--step--2); color: var(--color-text-subtle); }
.footer-bottom ul { display: flex; flex-wrap: wrap; gap: var(--space-2) var(--space-5); list-style: none; padding: 0; margin: 0; }
.footer-bottom a { color: var(--color-text-muted); text-decoration: none; }
.footer-bottom a:hover { text-decoration: underline; color: var(--gt-paper); }
@media (max-width: 1023px) { .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .footer-brand { grid-column: 1 / -1; } }
@media (max-width: 479px) { .footer-grid { grid-template-columns: 1fr; } }

/* ---------- 20. Mobile sticky action bar ---------- */
.sticky-bar { position: fixed; z-index: var(--z-sticky); inset-inline: 12px; bottom: calc(12px + env(safe-area-inset-bottom));
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(0, 2fr); gap: 6px; padding: 6px; border-radius: var(--radius-pill);
  background: rgb(31 29 26 / 0.94); box-shadow: var(--shadow-3);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  transition: transform var(--dur-slow) var(--ease-out), opacity var(--dur-slow) var(--ease-out); }
.sticky-bar[data-hidden="true"] { transform: translateY(calc(100% + 24px)); opacity: 0; pointer-events: none; visibility: hidden;
  transition: transform var(--dur-slow) var(--ease-out), opacity var(--dur-slow) var(--ease-out), visibility 0s linear var(--dur-slow); }
.sticky-bar a { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px;
  border-radius: var(--radius-pill); color: var(--gt-paper); text-decoration: none; font: 500 14px/1 var(--font-sans); letter-spacing: 0.02em; }
.sticky-bar a.is-primary { background: var(--gt-paper); color: var(--gt-ink); }
.sticky-bar a:focus-visible { outline: 2px solid var(--gt-paper); outline-offset: 2px; }
.sticky-bar .icon { width: var(--icon-s); height: var(--icon-s); }
@media (min-width: 820px) { .sticky-bar { display: none; } body { padding-bottom: 0; } }

/* ---------- 21. Reveal ---------- */
.reveal-ready .reveal { opacity: 0; transform: translateY(var(--reveal-distance));
  transition: opacity var(--dur-reveal) var(--ease-out), transform var(--dur-reveal) var(--ease-out);
  transition-delay: calc(var(--i, 0) * var(--stagger)); }
.reveal-ready .reveal.is-in { opacity: 1; transform: none; }
/* Hero: CSS-only entrance on first paint, never gated on JavaScript */
@keyframes gt-fade-up { from { opacity: 0; transform: translateY(var(--reveal-distance)); } to { opacity: 1; transform: none; } }
.hero .reveal { animation: gt-fade-up var(--dur-reveal) var(--ease-out) both; animation-delay: calc(var(--i, 0) * var(--stagger)); }

/* ---------- 22. Misc components ---------- */

.stat-row { display: flex; flex-wrap: wrap; gap: var(--space-6) var(--space-8); }
.stat { display: grid; gap: 4px; }
.stat strong { font: 400 var(--step-5)/1 var(--font-display); font-variant-numeric: lining-nums; }
.stat span { font-size: var(--step--1); color: var(--color-text-muted); }

.split-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-6); }
@media (max-width: 719px) { .split-list { grid-template-columns: 1fr; } }

.kicker-line { display: flex; align-items: center; gap: var(--space-3); }
.kicker-line::before { content: ""; width: 36px; height: 1px; background: currentColor; }

.badge-row { display: flex; flex-wrap: wrap; gap: 8px; }

.vs-table td:first-child, .vs-table th:first-child { width: 36%; }

.print-only { display: none; }
.nowrap { white-space: nowrap; }

/* ---------- 23. Preferences & print ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
  .reveal-ready .reveal { opacity: 1; transform: none; }
  .reveal-ready .gt-arc--draw circle { stroke-dasharray: 90 90; opacity: 1; }
  .card:hover, .contact-tile:hover { transform: none; }
}
@media (forced-colors: active) {
  .btn, .chip, .seg, .choice, .input, .select, .textarea { border-color: CanvasText; }
  .gt-arc circle { stroke: CanvasText; }
  /* Selected states are painted with backgrounds, which forced colors resets; use the system selection colors instead */
  .seg label:has(input:checked), .tablist [role="tab"][aria-selected="true"] { forced-color-adjust: none; background: SelectedItem; color: SelectedItemText; }
  .chip:has(input:checked), .chip[aria-pressed="true"], .choice:has(input:checked) { border-width: 3px; border-color: Highlight; }
  /* Mask-painted icons (check marks, ticks, accordion plus, inline error icon) would vanish; paint them in the text color */
  .chip:has(input:checked)::before, .ticks li::before, .faq summary::after, .field-error::before { forced-color-adjust: none; background: CanvasText; }
}
/* Very short viewports (landscape phones, 400% zoom): the header scrolls away and the call/text bar steps aside,
   so they don't cover half the screen (WCAG 1.4.10). Contact links stay in the header, menu, CTA band and footer. */
@media (max-height: 480px) {
  .site-header { position: relative; }
  .sticky-bar { display: none; }
  :root { --sticky-bar-h: 0px; }
  body { padding-bottom: 0; }
  html { scroll-padding-top: 16px; scroll-padding-bottom: 16px; }
  .toc { top: 16px; }
}
@media print {
  .site-header, .site-footer, .sticky-bar, .notice-bar, .cta-band, .no-print, .mobile-menu { display: none !important; }
  body { background: #fff; padding: 0; font-size: 11pt; }
  .section { padding-block: 1.2rem; }
  .checklist-room { break-inside: avoid; border-color: #bbb; }
  .print-only { display: block; }
  a { text-decoration: none; color: inherit; }
  mark.ph { background: none; box-shadow: none; }
}

/* Service-area zones ({{@zones}}): plain list, no fees (quote-only site) */
.zone-list { margin: 0; border-top: 1px solid var(--gt-ink); }
.zone-list > div { display: grid; grid-template-columns: minmax(8rem, 12rem) 1fr; gap: var(--space-4); padding: var(--space-4) 0; border-bottom: var(--border-hair); }
.zone-list dt { font-weight: 500; }
.zone-list dd { margin: 0; color: var(--color-text-muted); font-size: var(--step--1); }
@media (max-width: 559px) { .zone-list > div { grid-template-columns: 1fr; gap: 4px; } }

/* ---------- 24. Commercial shell additions (2026-10-08) ---------- */
/* Services dropdown: two columns of facility types, with "All services" and "Homes" as a footer row.
   Anchored to the left edge of the Services item so it never runs off the left of the screen. */
.nav-menu--wide { left: 0; translate: -0.75rem 0; width: min(40rem, calc(100vw - 2 * var(--space-gutter)));
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2px var(--space-2); }
.nav-menu--wide[hidden] { display: none; }
.nav-menu--wide .nav-menu-foot { margin-top: var(--space-2); padding-top: var(--space-2); border-top: var(--border-hair); }
.nav-menu--wide .nav-menu-foot a .icon { color: var(--gt-ink-3); }

/* Mobile menu: the long Company and Clients lists in compact two-column sans type, so the buttons stay within reach */
.mobile-menu .mm-group--sm ul { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: var(--space-5); }
.mobile-menu .mm-group--sm li a { font: 400 var(--step-0)/1.3 var(--font-sans); padding: 12px 0; }
@media (max-width: 359px) { .mobile-menu .mm-group--sm ul { grid-template-columns: 1fr; } }

/* Split page hero with an arched photo: a sensible default size (page stylesheets may still override it) */
/* :where() keeps this at the lowest weight, so any page stylesheet (.page-hero--split .media-arch, .co-hero-media…) still wins */
:where(.page-hero--split > .container) > .media-arch { width: 100%; max-width: 27rem; justify-self: end; }
@media (max-width: 859px) { :where(.page-hero--split > .container) > .media-arch { justify-self: center; max-width: 19rem; margin-top: var(--space-4); } }

/* Typographic hero: an icon ring sits above the eyebrow; a row of rings when a page covers several kinds of space */
.page-hero .icon-ring + .eyebrow, .page-hero .ring-row + .eyebrow { margin-top: calc(var(--space-2) * -1); }
.ring-row { display: flex; flex-wrap: wrap; gap: var(--space-2); }

/* Aside card in a typographic split hero (e.g. "How every quote works" beside the services hub title) */
:where(.page-hero--split > .container) > .promise { align-self: center; }
.promise .steps-mini { list-style: none; padding: 0; display: grid; gap: var(--space-4); counter-reset: mini; }
.promise .steps-mini li { display: grid; grid-template-columns: 2.25rem 1fr; gap: var(--space-3); align-items: baseline; counter-increment: mini; }
.promise .steps-mini li::before { content: "0" counter(mini); font: 400 var(--step-3)/1 var(--font-display); font-variant-numeric: lining-nums; color: var(--gt-ink); }
.promise .steps-mini strong { display: block; font-weight: 500; }
.promise .steps-mini span { color: var(--color-text-muted); font-size: var(--step--1); }

/* Small icon cards (keys and lock-up, builder phases): icon ring beside the text instead of above it */
.card--row { flex-direction: row; align-items: flex-start; gap: var(--space-4); }
.card--row > div { display: grid; gap: var(--space-2); }
.card--row h3 { font-size: var(--step-1); }
@media (max-width: 639px) { .card--row { gap: var(--space-3); } }

/* Cards inside an ink band */
.theme-ink .card { background: var(--color-surface); border-color: var(--color-border); color: var(--color-text); }
.theme-ink .card p { color: var(--color-text-muted); }
.theme-ink .icon-ring { color: var(--gt-paper); }
/* A centered paragraph also centers its own (measure-limited) box, not just its text */
p.center { margin-inline: auto; }
/* Tablets and phones: the quote button sits beside the menu button on the right, not against the logo */
@media (max-width: 1023px) { .header-actions { margin-left: auto; } .menu-toggle { margin-left: var(--space-2); } }
/* Facility cards (home, services hub): on phones, icon beside the text and no "See the scope" line,
   so eight cards don't become eight full screens of scrolling. The whole card is still the link. */
@media (max-width: 639px) {
  .facility-grid { gap: var(--space-3); }
  .facility-grid > .card { display: grid; grid-template-columns: 44px minmax(0, 1fr); column-gap: var(--space-4); row-gap: var(--space-2); align-items: start; padding: var(--space-5) var(--space-5) var(--space-5) var(--space-4); }
  .facility-grid > .card > .icon-ring { grid-row: span 2; }
  .facility-grid > .card > .meta { display: none; }
  .facility-grid > .card h3 { font-size: var(--step-1); }
}
/* A comparison table whose cells need room: keeps a readable width and scrolls sideways on phones (row labels stay pinned) */
table.data.data--wide { min-width: 44rem; }
/* Any table wider than its box (site.js sets data-overflow): the right edge fades and the caption, which stays in view
   while the table scrolls, says it scrolls. Both go away once the reader reaches the last column. */
.table-wrap[data-overflow]:not([data-at-end]):not(:focus-visible) { /* (a mask would clip the focus outline) */
  -webkit-mask-image: linear-gradient(to right, #000 calc(100% - 3rem), rgb(0 0 0 / 0.3));
  mask-image: linear-gradient(to right, #000 calc(100% - 3rem), rgb(0 0 0 / 0.3));
}
.table-wrap[data-overflow] > table.data > caption::after {
  content: "Scroll sideways to see every column \2192";
  content: "Scroll sideways to see every column \2192" / "";
  display: block; margin-top: 4px; font-size: var(--step--2); font-weight: 400; letter-spacing: 0.02em; color: var(--color-text-subtle);
}
.table-wrap[data-overflow][data-at-end] > table.data > caption::after { visibility: hidden; }
@media print { .table-wrap[data-overflow] { -webkit-mask-image: none; mask-image: none; } .table-wrap[data-overflow] > table.data > caption::after { content: none; } }
