/* ==========================================================================
   ADM Web N Tech — site styles
   Plain CSS, no build step.

   COLORS: three schemes are defined right below. The one everyone starts
   with is set by 'palette' in private/admwebntech/config.php ('midnight',
   'evergreen', or 'plum'). Midnight is the dark mode (its button says
   "Dark"); the other two are light. To adjust a color, change it in that scheme's block.
   ========================================================================== */

/* ---- Fonts (stored in /fonts, nothing loaded from other sites) ---------- */
@font-face { font-family: "Barlow"; font-weight: 400; font-style: normal; font-display: swap;
  src: url("../fonts/barlow-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Barlow"; font-weight: 500; font-style: normal; font-display: swap;
  src: url("../fonts/barlow-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Barlow"; font-weight: 600; font-style: normal; font-display: swap;
  src: url("../fonts/barlow-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Sora"; font-weight: 600; font-style: normal; font-display: swap;
  src: url("../fonts/sora-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Sora"; font-weight: 700; font-style: normal; font-display: swap;
  src: url("../fonts/sora-latin-700-normal.woff2") format("woff2"); }

/* ---- Shared colors (light). Evergreen and Plum build on these; Midnight
        replaces most of them further down. ------------------------------ */
:root {
  --surface: #ffffff;        /* cards and panels */
  --field-bg: #ffffff;       /* inside form fields */
  --link: var(--brand);      /* link text */
  --link-hover: var(--brand-hover);
  --accent-text: var(--brand);   /* numbers, icons, and small accents in the first color */
  --alert: var(--brand-hover);   /* text that needs attention: errors, past due, waiting on you */
  --solid: var(--dark);      /* a selected chip or a dark button on a light page */
  --on-solid: #ffffff;
  --white: #ffffff;          /* headings and text on dark sections */
  --second-solid: var(--second-ink);   /* the second color as a filled shape behind white text */
  --art-solid: var(--dark-2);
  --ink: #0f1b2d;            /* text */
  --ink-2: #53627a;          /* quieter text */
  --bg: #ffffff;             /* page */
  --alt: #f2f5fa;            /* soft sections */
  --dark: #0d1d33;           /* dark sections, top of the gradient */
  --dark-2: #1a3d68;         /* dark sections, bottom of the gradient */
  --on-dark: #f1f5fb;
  --on-dark-2: #b9c7dc;
  --brand: #c8431f;          /* buttons and links (white text is readable on it) */
  --brand-hover: #a53516;
  --bright: #ff8a66;         /* accent on dark backgrounds and in shapes */
  --second: #19a79c;         /* second accent, shapes */
  --second-ink: #0e7168;     /* second accent, dark enough for text */
  --tint-1: #ffece5;         /* soft wash of the first accent */
  --tint-2: #ddf3f0;         /* soft wash of the second accent */
  --line: #dbe2ec;
  --field-line: #7c889a;
  --glow-1: rgba(255, 138, 102, 0.5);
  --glow-2: rgba(25, 167, 156, 0.45);
  --glow-3: rgba(84, 130, 255, 0.4);
  --shade: 15, 27, 45;       /* shadow color, as r, g, b */

  --font-body: "Barlow", "Helvetica Neue", Arial, sans-serif;
  --font-display: "Sora", "Avenir Next", "Segoe UI", Arial, sans-serif;

  --wrap: 72rem;
  --gutter: clamp(1rem, 4vw, 2.5rem);
  --section: clamp(3.5rem, 8vw, 6.5rem);
  --curve: clamp(2.25rem, 6vw, 5.5rem);    /* height of the curved edge between sections */
  --header: 4.5rem;                         /* height of the site header */
  --radius: 12px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --shadow-sm: 0 1px 2px rgba(var(--shade), 0.06), 0 4px 14px -6px rgba(var(--shade), 0.12);
  --shadow: 0 1px 2px rgba(var(--shade), 0.06), 0 14px 36px -14px rgba(var(--shade), 0.24);
  --shadow-lg: 0 2px 4px rgba(var(--shade), 0.06), 0 34px 70px -28px rgba(var(--shade), 0.45);
}

/* ---- Color scheme: Midnight, shown as "Dark" (black and grays, coral, teal) - */
:root[data-palette="midnight"] {
  color-scheme: dark;
  --ink: #e4e4e4; --ink-2: #a3a3a3; --white: #ececec;
  --bg: #121212; --alt: #181818; --surface: #1f1f1f; --field-bg: #171717;
  --dark: #0a0a0a; --dark-2: #1c1c1c; --on-dark: #e8e8e8; --on-dark-2: #a6a6a6;
  --brand: #c8431f; --brand-hover: #a53516; --bright: #ff8a66;
  --second: #19a79c; --second-ink: #66d4c8; --second-solid: #12857b;
  --tint-1: rgba(255, 138, 102, 0.13); --tint-2: rgba(45, 190, 175, 0.13);
  --line: rgba(255, 255, 255, 0.12); --field-line: #6b6b6b;
  --link: #ff9d7f; --link-hover: #ffc2ae; --accent-text: #ff9573; --alert: #ffa286;
  --solid: #e4e4e4; --on-solid: #121212; --art-solid: #383838;
  --glow-1: rgba(255, 138, 102, 0.34); --glow-2: rgba(25, 167, 156, 0.3); --glow-3: rgba(190, 190, 190, 0.12);
  --shade: 0, 0, 0;
}

/* ---- Color scheme: Evergreen (deep green and copper) ---------------------- */
:root[data-palette="evergreen"] {
  --ink: #10201a; --ink-2: #51635a; --alt: #f1f5f1;
  --dark: #0b2b22; --dark-2: #17513f; --on-dark: #f0f6f2; --on-dark-2: #b5cbc0;
  --brand: #b4521e; --brand-hover: #934015; --bright: #f3a071;
  --second: #3f9a78; --second-ink: #1f6b50;
  --tint-1: #fbeadf; --tint-2: #dff1e8; --line: #d9e3dc; --field-line: #77877e;
  --glow-1: rgba(243, 160, 113, 0.5); --glow-2: rgba(63, 154, 120, 0.5); --glow-3: rgba(150, 200, 120, 0.3);
  --shade: 16, 32, 26;
}

/* ---- Color scheme: Plum (plum and raspberry) ------------------------------- */
:root[data-palette="plum"] {
  --ink: #22122b; --ink-2: #655670; --alt: #f6f3f8;
  --dark: #27112f; --dark-2: #4b2260; --on-dark: #f7f1fa; --on-dark-2: #cdb9d8;
  --brand: #b4325f; --brand-hover: #932349; --bright: #ff8fb0;
  --second: #7b6cf0; --second-ink: #5747c7;
  --tint-1: #fde7ef; --tint-2: #ebe8fd; --line: #e4dcea; --field-line: #8a7c94;
  --glow-1: rgba(255, 143, 176, 0.5); --glow-2: rgba(123, 108, 240, 0.5); --glow-3: rgba(255, 170, 120, 0.3);
  --shade: 34, 18, 43;
}

/* ---- Base ---------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  overflow-wrap: break-word;
}

img, svg { max-width: 100%; }
img { height: auto; }

h1, h2, h3, h4 { font-family: var(--font-display); margin: 0 0 0.5em; text-wrap: balance; }
h1 { font-size: clamp(2.2rem, 4.8vw, 3.8rem); font-weight: 700; line-height: 1.07; letter-spacing: -0.03em; }
h2 { font-size: clamp(1.65rem, 3.1vw, 2.45rem); font-weight: 600; line-height: 1.14; letter-spacing: -0.025em; }
h3 { font-size: 1.125rem; font-weight: 600; line-height: 1.3; letter-spacing: -0.01em; }

p, ul, ol, dl, table, blockquote { margin: 0 0 1.1em; }
p, li, dd { max-width: 64ch; }
ul, ol { padding-left: 1.2em; }
li + li { margin-top: 0.35em; }

a { color: var(--link); text-underline-offset: 0.2em; text-decoration-thickness: 0.07em; }
a:hover { color: var(--link-hover); }

:focus-visible { outline: 3px solid var(--bright); outline-offset: 3px; border-radius: 4px; }

strong { font-weight: 600; }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); position: relative; z-index: 1; }

.skip-link { position: absolute; left: var(--gutter); top: -4rem; z-index: 30; background: var(--surface); color: var(--ink); padding: 0.6rem 1rem; border-radius: var(--radius); }
.skip-link:focus { top: 0.5rem; }

[hidden] { display: none !important; }
.visually-hidden { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

.lede { font-size: clamp(1.1rem, 1.7vw, 1.25rem); line-height: 1.6; max-width: 38em; color: var(--ink-2); }
.muted { color: var(--ink-2); }
.small { font-size: 0.9375rem; }

.icon { width: 1.5rem; height: 1.5rem; flex: none; }

/* ---- Buttons ------------------------------------------------------------- */
.button {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.45rem;
  font: 600 1rem/1.2 var(--font-body);
  padding: 0.9rem 1.5rem;
  border: 1.5px solid transparent;
  border-radius: 999px;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.15s, color 0.15s, border-color 0.15s, transform 0.15s, box-shadow 0.15s;
}
.button .icon { width: 1.15rem; height: 1.15rem; transition: transform 0.15s; }
.button:hover .icon { transform: translateX(3px); }
.button--primary { background: var(--brand); color: #fff; box-shadow: 0 8px 20px -10px var(--brand); }
.button--primary:hover { background: var(--brand-hover); color: #fff; transform: translateY(-1px); }
.button--outline { border-color: var(--ink); color: var(--ink); background: transparent; }
.button--outline:hover { background: var(--ink); color: var(--bg); }
.button--ghost { border-color: rgba(255, 255, 255, 0.5); color: var(--white); background: transparent; }
.button--ghost:hover { background: var(--white); border-color: var(--white); color: var(--ink); }
.button--light { background: var(--white); color: var(--ink); }
.button--light:hover { background: var(--tint-1); color: var(--ink); }
.button--small { font-size: 0.9375rem; padding: 0.6rem 1.05rem; }
.button:disabled { opacity: 0.45; cursor: default; transform: none; box-shadow: none; }

.button-row { display: flex; flex-wrap: wrap; gap: 0.75rem; margin: 0; max-width: none; }

/* ---- Abstract shapes ------------------------------------------------------ */
.glow { position: absolute; z-index: 0; border-radius: 50%; pointer-events: none; animation: drift 22s ease-in-out infinite; }
.glow--a { width: min(46rem, 105vw); height: min(46rem, 105vw); right: max(-14rem, -40vw); top: max(-18rem, -50vw); background: radial-gradient(closest-side, var(--glow-1), transparent); }
.glow--b { width: min(36rem, 120vw); height: min(36rem, 120vw); left: max(-14rem, -50vw); bottom: max(-9rem, -30vw); background: radial-gradient(closest-side, var(--glow-2), transparent); animation-delay: -8s; }
.glow--c { width: min(40rem, 130vw); height: min(40rem, 130vw); left: 38%; top: 0; background: radial-gradient(closest-side, var(--glow-3), transparent); animation-delay: -4s; }
.glow--d { width: min(36rem, 120vw); height: min(36rem, 120vw); right: max(-12rem, -40vw); bottom: max(-14rem, -50vw); background: radial-gradient(closest-side, var(--glow-2), transparent); animation-delay: -12s; }
/* Where a section starts or ends on a straight edge, the glow stays inside it. */
.closing .glow--a { top: 1rem; right: max(-13rem, -45vw); width: min(30rem, 100vw); height: min(30rem, 100vw); }
.closing .glow--d { right: auto; left: max(-12rem, -45vw); bottom: 1rem; width: min(28rem, 95vw); height: min(28rem, 95vw); }
@keyframes drift { 50% { transform: translate(2.5rem, 1.75rem) scale(1.1); } }

.art { display: block; overflow: visible; pointer-events: none; color: var(--line); }
.art__line { fill: none; stroke: currentColor; stroke-width: 1.5; }
.art__line--soft { opacity: 0.55; }
.art__line--dash { stroke-dasharray: 3 10; stroke-linecap: round; stroke-width: 2; }
.art__arc { fill: none; stroke: var(--bright); stroke-width: 3; stroke-linecap: round; }
.art__dot--a { fill: var(--bright); }
.art__dot--b { fill: var(--second); }
.art__dot--c { fill: currentColor; }
.art__fill { fill: var(--tint-2); }
.art__solid { fill: var(--art-solid); }

/* The curved edge at the bottom of a section */
.has-flow { position: relative; }
.flow { position: absolute; left: 0; bottom: -1px; z-index: 1; display: block; width: 100%; height: var(--curve); pointer-events: none; }
.flow path { fill: var(--bg); }
.flow--alt path { fill: var(--alt); }
.flow--dark path { fill: var(--dark); }

/* ---- Header -------------------------------------------------------------- */
.site-header { position: relative; z-index: 5; background: var(--dark); color: var(--on-dark); }
/* With scripts on, the header floats over the dark top of each page so the shapes run behind it. */
.js .site-header { position: absolute; left: 0; right: 0; top: 0; background: transparent; }
.js .site-header:has(.site-nav.is-open) { background: var(--dark); box-shadow: var(--shadow-lg); }
.js .hero, .js .page-head, .js .shero { padding-top: calc(var(--header) + clamp(1.5rem, 4vw, 3.25rem)); }
.site-header__row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0.5rem 1.5rem; padding-block: 1rem; }

.wordmark { display: inline-flex; align-items: center; gap: 0.6rem; color: var(--white); text-decoration: none; font: 700 1.2rem/1 var(--font-display); letter-spacing: -0.02em; }
.wordmark:hover { color: var(--white); }
.wordmark__tab { position: relative; width: 1.4rem; height: 1.4rem; border: 3px solid var(--bright); border-radius: 50%; }
.wordmark__tab::after { content: ""; position: absolute; right: -0.45rem; top: -0.45rem; width: 0.6rem; height: 0.6rem; border-radius: 50%; background: var(--second); }
.wordmark img { display: block; height: 40px; width: auto; }

.nav-toggle { display: none; font: 600 0.9375rem/1 var(--font-body); background: transparent; color: var(--white); border: 1.5px solid rgba(255, 255, 255, 0.5); border-radius: 999px; padding: 0.6rem 1rem; cursor: pointer; }

.site-nav__list { display: flex; flex-wrap: wrap; align-items: center; gap: 0.25rem 1.5rem; list-style: none; margin: 0; padding: 0; }
.site-nav__list li { margin: 0; max-width: none; }
.site-nav__list a:not(.button) { color: var(--on-dark-2); text-decoration: none; font-weight: 500; font-size: 1rem; padding-block: 0.35rem; border-bottom: 2px solid transparent; transition: color 0.15s; }
.site-nav__list a:not(.button):hover { color: var(--white); }
.site-nav__list a[aria-current="page"] { color: var(--white); border-bottom-color: var(--bright); }

@media (max-width: 74.99rem) {
  .js .nav-toggle { display: inline-block; }
  .site-nav { width: 100%; }
  .js .site-nav { display: none; }
  .js .site-nav.is-open { display: block; }
  .site-nav__list { flex-direction: column; align-items: flex-start; gap: 0.15rem; padding-block: 0.5rem 0.75rem; }
  .site-nav__list a:not(.button) { display: inline-block; padding-block: 0.5rem; }
  .site-nav__cta { margin-top: 0.5rem; }
}

/* ---- Sections ------------------------------------------------------------ */
.section { position: relative; padding-block: var(--section); }
.section.has-flow { padding-bottom: calc(var(--section) + var(--curve)); }
.section--wash { background: var(--alt); }
.section--ink { background: linear-gradient(180deg, var(--dark) 0%, var(--dark-2) 100%); color: var(--on-dark); overflow: hidden; }
.section--ink h2 { color: var(--white); }
.section--ink .lede, .section--ink .section__head p { color: var(--on-dark-2); }
.section--ink a:not(.button):not(.scard__link) { color: var(--bright); }
.section--tight { padding-block: calc(var(--section) * 0.6); }

.section__head { margin-bottom: clamp(1.75rem, 4vw, 3rem); max-width: 44rem; }
.section__head p { color: var(--ink-2); font-size: 1.125rem; }
.section__head p:last-child { margin-bottom: 0; }
.section__head--center { margin-inline: auto; text-align: center; }
.section__head--center p { margin-inline: auto; }

.split { display: grid; gap: clamp(2rem, 5vw, 4.5rem); }
@media (min-width: 56rem) {
  .split { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); align-items: start; }
  .split--even { grid-template-columns: 1fr 1fr; }
  .split--center { align-items: center; }
}
.h2--spaced { margin-top: 2.75rem; }

/* ---- Home: page top -------------------------------------------------------- */
.hero { position: relative; overflow: hidden; background: linear-gradient(180deg, var(--dark) 0%, var(--dark-2) 100%); color: var(--on-dark); padding-block: clamp(2.5rem, 6vw, 5rem) calc(clamp(3rem, 7vw, 5.5rem) + var(--curve)); }
.hero__grid { display: grid; gap: clamp(2.5rem, 5vw, 4rem); align-items: center; }
@media (min-width: 62rem) { .hero__grid { grid-template-columns: minmax(0, 11fr) minmax(0, 9fr); } }
.hero h1 { color: var(--white); font-size: clamp(2.2rem, 4.4vw, 3.4rem); }
.hero h1 span { display: block; }
.hero h1 span + span { margin-top: 0.4em; font-size: 0.6em; font-weight: 600; line-height: 1.2; letter-spacing: -0.015em; color: var(--bright); }
.hero .lede { color: var(--on-dark-2); max-width: 33em; margin-bottom: 1.6em; }
.hero__for { position: relative; margin: 1.75em 0 0; padding-left: 1.1rem; max-width: 34em; font-size: 0.9875rem; color: var(--on-dark-2); }
.hero__for::before { content: ""; position: absolute; left: 0; top: 0.2em; bottom: 0.2em; width: 3px; border-radius: 3px; background: var(--bright); }
.hero__card { position: relative; }
.hero__rings { position: absolute; z-index: 0; left: 50%; top: 50%; width: 32rem; max-width: none; height: 32rem; margin: -16rem 0 0 -16rem; color: rgba(255, 255, 255, 0.2); }
.hero__copy { position: relative; z-index: 2; }

/* The card in the page top: one gap at a time, then its fix */
.gapcard { position: relative; z-index: 1; max-width: 30rem; margin-inline: auto; padding: 1.5rem 1.6rem 1.4rem; color: var(--ink); background: var(--surface); border-radius: var(--radius-xl); box-shadow: var(--shadow-lg); }
.gapcard::before { content: ""; position: absolute; z-index: -1; inset: 1rem -0.9rem -0.9rem 1rem; border-radius: var(--radius-xl); background: rgba(255, 255, 255, 0.16); }
.gapcard::after { content: ""; position: absolute; z-index: -2; inset: 2rem -1.8rem -1.8rem 2rem; border-radius: var(--radius-xl); background: rgba(255, 255, 255, 0.08); }
.gapcard__head { display: flex; justify-content: space-between; align-items: center; gap: 1rem; margin: 0 0 1.1rem; max-width: none; font-size: 0.875rem; font-weight: 600; color: var(--second-ink); }
.gapcard__head span { display: inline-flex; align-items: center; gap: 0.45rem; }
.gapcard__head span:last-child { padding: 0.25rem 0.65rem; border-radius: 999px; background: var(--alt); color: var(--ink-2); font-weight: 500; }
.gapcard__head .icon { width: 1.15rem; height: 1.15rem; }
.flip__items { list-style: none; margin: 0; padding: 0; }
.flip__item { margin: 0 0 1.4rem; max-width: none; }
.flip__gap { margin: 0 0 0.8rem; max-width: none; font: 600 clamp(1.3rem, 2.2vw, 1.6rem)/1.2 var(--font-display); letter-spacing: -0.02em; }
.flip__fix { margin: 0; max-width: none; font-size: 1.0625rem; line-height: 1.55; color: var(--ink-2); }
.flip__stamp { display: inline-block; margin-right: 0.35rem; padding: 0.2rem 0.6rem; font-size: 0.8125rem; font-weight: 600; color: var(--second-ink); background: var(--tint-2); border-radius: 999px; }
.js .flip__item { display: none; margin: 0; min-height: 11.5rem; }
.js .flip__item.is-current { display: block; }
.js .flip__gap { transition: color 0.3s; }
.js .flip__fix { opacity: 0; transform: translateY(8px); transition: opacity 0.35s, transform 0.35s; }
.js .flip__item.is-closed .flip__fix { opacity: 1; transform: none; }
.js .flip__item.is-closed .flip__gap { color: var(--field-line); text-decoration: line-through; text-decoration-color: var(--bright); text-decoration-thickness: 2px; }
.gapcard__controls { display: none; justify-content: space-between; gap: 0.75rem; margin-top: 1rem; }
.js .gapcard__controls { display: flex; }
html:not(.js) .gapcard__head span:last-child { display: none; }
html:not(.js) .glow--a { top: 0; }
.gapcard__controls button, .ticket__controls button { font: 600 0.875rem/1 var(--font-body); color: var(--ink); background: var(--surface); border: 1.5px solid var(--line); border-radius: 999px; padding: 0.55rem 0.95rem; cursor: pointer; transition: border-color 0.15s, background-color 0.15s; }
.gapcard__controls button:hover, .ticket__controls button:hover:not(:disabled) { border-color: var(--ink); }
.ticket__controls button:disabled { opacity: 0.4; cursor: default; }

/* ---- Home: moving band of gaps -------------------------------------------- */
.ticker { background: var(--alt); overflow: hidden; padding-block: 0.35rem 1.1rem; }
.ticker__track { display: flex; gap: 0.75rem; width: max-content; animation: ticker 110s linear infinite; }
.ticker:hover .ticker__track { animation-play-state: paused; }
.ticker__track span { position: relative; padding: 0.5rem 1rem 0.5rem 2rem; white-space: nowrap; font-size: 0.9375rem; font-weight: 500; color: var(--ink-2); background: var(--surface); border: 1px solid var(--line); border-radius: 999px; }
.ticker__track span::before { content: ""; position: absolute; left: 0.85rem; top: 50%; width: 0.6rem; height: 0.6rem; margin-top: -0.3rem; border: 2px solid var(--bright); border-radius: 3px; }
@keyframes ticker { to { transform: translateX(-50%); } }

/* ---- Home: the gap checklist ------------------------------------------------ */
.gaplist__groups { display: grid; gap: 1.25rem; }
@media (min-width: 56rem) { .gaplist__groups { grid-template-columns: 1fr 1fr; align-items: start; } }
@media (min-width: 68rem) { .gaplist__groups--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.gaplist__groups--1 { grid-template-columns: minmax(0, 40rem) !important; justify-content: center; }
.gaplist__group { min-width: 0; margin: 0; padding: 1.4rem 1.5rem 0.6rem; background: var(--surface); border: 0; border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); }
.gaplist__group legend { float: left; display: flex; align-items: center; gap: 0.7rem; width: 100%; margin: 0 0 0.6rem; padding: 0; font: 600 1.2rem/1.2 var(--font-display); letter-spacing: -0.015em; }
.gaplist__group ul { clear: both; list-style: none; margin: 0; padding: 0; }
.chipicon { display: inline-grid; place-items: center; flex: none; width: 2.5rem; height: 2.5rem; color: var(--second-ink); background: var(--tint-2); border-radius: 50%; }
.chipicon .icon { width: 1.3rem; height: 1.3rem; }
.gap { margin: 0; max-width: none; border-top: 1px solid var(--line); }
.gap__label { position: relative; display: flex; align-items: flex-start; gap: 0.85rem; padding: 0.95rem 0; cursor: pointer; line-height: 1.4; }
.gap__label input { position: absolute; left: 0; top: 0.95rem; width: 1.45rem; height: 1.45rem; margin: 0; opacity: 0; cursor: pointer; }
.gap__box { position: relative; flex: none; width: 1.45rem; height: 1.45rem; margin-top: 0.02rem; background: var(--field-bg); border: 1.5px solid var(--field-line); border-radius: 7px; transition: background-color 0.15s, border-color 0.15s; }
.gap__box::after { content: ""; position: absolute; left: 0.3rem; top: 0.32rem; width: 0.72rem; height: 0.38rem; border-left: 2.5px solid var(--white); border-bottom: 2.5px solid var(--white); transform: rotate(-45deg) scale(0); transition: transform 0.15s; }
.gap__label:hover .gap__box { border-color: var(--brand); }
.gap__label input:checked + .gap__box { background: var(--brand); border-color: var(--brand); }
.gap__label input:checked + .gap__box::after { transform: rotate(-45deg) scale(1); }
.gap__label input:focus-visible + .gap__box { outline: 3px solid var(--bright); outline-offset: 3px; }
.gap__fix { margin: 0 0 1rem 2.3rem; padding: 0.75rem 1rem; max-width: none; font-size: 1rem; background: var(--tint-2); border-radius: var(--radius); }
.gap__fix strong { color: var(--second-ink); }
.js .gaplist:not(.is-open) .gap:not(.is-ticked) .gap__fix { display: none; }

.gaplist__bar { position: sticky; bottom: 0.9rem; z-index: 6; margin-top: 1.5rem; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0.75rem 1.5rem; padding: 0.85rem 0.9rem 0.85rem 1.6rem; color: var(--white); background: var(--dark); border-radius: 2.25rem; box-shadow: var(--shadow-lg); }
.gaplist__bar p { margin: 0; max-width: none; }
.gaplist__count { font: 600 1.1rem/1.2 var(--font-display); letter-spacing: -0.01em; }
.gaplist__hint { color: var(--on-dark-2); font-size: 0.9375rem; }
.gaplist__actions { display: flex; flex-wrap: wrap; gap: 0.6rem; align-items: center; }
@media (max-width: 39.99rem) { .gaplist__hint { display: none; } .gaplist__bar { padding-left: 1.2rem; border-radius: var(--radius-lg); } }

/* ---- Home: how we find gaps ---------------------------------------------------- */
.review { margin-top: 2rem; max-width: 34rem; padding: 1.15rem 1.35rem 0.6rem; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow); }
.review__label { margin: 0 0 0.4rem; max-width: none; font-size: 0.9375rem; color: var(--ink-2); }
.review__label strong { color: var(--ink); }
.review__table { width: 100%; margin: 0; border-collapse: collapse; }
.review__table th, .review__table td { padding: 0.6rem 0.6rem 0.6rem 0; text-align: left; vertical-align: middle; border-bottom: 1px solid var(--line); }
.review__table tbody tr:last-child th, .review__table tbody tr:last-child td { border-bottom: 0; }
.review__table thead th { font-size: 0.8125rem; font-weight: 600; color: var(--ink-2); white-space: nowrap; }
.review__table tbody th { font-weight: 500; line-height: 1.35; }
.review__n { width: 1.9rem; font: 700 1.05rem/1 var(--font-display); color: var(--accent-text); }
.dots { white-space: nowrap; }
.dots i { display: inline-block; width: 0.6rem; height: 0.6rem; margin-right: 3px; border-radius: 50%; background: var(--line); }
.dots i.on { background: var(--second-solid); }

.path { list-style: none; margin: 0; padding: 0; }
.path li { position: relative; display: grid; grid-template-columns: 3.25rem minmax(0, 1fr); gap: 1.1rem; margin: 0; max-width: none; padding-bottom: 1.75rem; }
.path li:last-child { padding-bottom: 0; }
.path li::before { content: ""; position: absolute; left: 1.6rem; top: 3.5rem; bottom: 0.25rem; border-left: 2px dashed var(--line); }
.path li:last-child::before { content: none; }
.path__icon { display: grid; place-items: center; width: 3.25rem; height: 3.25rem; color: var(--accent-text); background: var(--tint-1); border-radius: 50%; }
.path h3 { margin: 0.35rem 0 0.2rem; }
.path p { margin: 0; color: var(--ink-2); }

/* ---- Solution cards ------------------------------------------------------------ */
.scards { list-style: none; margin: 0 0 2.25rem; padding: 0; display: grid; gap: 1.35rem; grid-template-columns: repeat(auto-fit, minmax(17.5rem, 1fr)); }
.scard { margin: 0; max-width: none; min-width: 0; }
.scard__link { display: flex; flex-direction: column; height: 100%; overflow: hidden; color: var(--ink); text-decoration: none; background: var(--surface); border-radius: var(--radius-lg); box-shadow: var(--shadow); transition: transform 0.2s, box-shadow 0.2s; }
.scard__link:hover { color: var(--ink); transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.scard__text { display: flex; flex-direction: column; flex: 1; gap: 0.45rem; padding: 1.15rem 1.3rem 1.35rem; }
.scard__name { font: 600 1.2rem/1.2 var(--font-display); letter-spacing: -0.015em; }
.scard__tag { color: var(--ink-2); font-size: 0.9875rem; line-height: 1.5; }
.scard__go { display: inline-flex; align-items: center; gap: 0.35rem; margin-top: auto; padding-top: 0.6rem; font-weight: 600; color: var(--accent-text); }
.scard__go .icon { width: 1.1rem; height: 1.1rem; transition: transform 0.2s; }
.scard__link:hover .scard__go .icon { transform: translateX(4px); }
.scards--row { grid-template-columns: repeat(auto-fit, minmax(11.5rem, 1fr)); margin-bottom: 0; }
.scard--small .scard__link { box-shadow: var(--shadow-sm); border: 1px solid var(--line); }
.scard--small .thumb { height: 7rem; padding: 0.75rem; gap: 0.35rem; overflow: hidden; }
.scard--small .scard__name { font-size: 1rem; }
.scard--small .scard__tag, .scard--small .scard__meta { display: none; }

/* Small pictures of each solution's screen */
.thumb { display: flex; flex-direction: column; justify-content: center; gap: 0.5rem; height: 10.5rem; padding: 1.15rem; }
.scard--yellow .thumb { background: linear-gradient(135deg, var(--tint-2), var(--tint-1)); }
.scard--orange .thumb { background: linear-gradient(135deg, var(--tint-1), var(--alt)); }
.scard--ink .thumb { background: linear-gradient(135deg, var(--dark-2), var(--dark)); }
.thumb__row { display: flex; align-items: center; gap: 0.45rem; padding: 0.45rem 0.6rem; background: var(--surface); border-radius: 8px; box-shadow: 0 2px 6px -2px rgba(var(--shade), 0.25); }
.thumb__bar { display: block; height: 0.42rem; border-radius: 3px; background: var(--ink); opacity: 0.72; }
.thumb__bar--l { width: 52%; } .thumb__bar--m { width: 38%; } .thumb__bar--s { width: 24%; }
.thumb__pill { margin-left: auto; width: 2.2rem; height: 0.75rem; border-radius: 999px; }
.thumb__pill--y { background: var(--bright); } .thumb__pill--o { background: var(--second); } .thumb__pill--k { background: var(--ink); }
.thumb__route { display: flex; align-items: center; gap: 1.4rem; padding-left: 0.25rem; }
.thumb__route b { position: relative; width: 0.8rem; height: 0.8rem; background: var(--surface); border: 2px solid var(--second-ink); border-radius: 50%; }
.thumb__route b + b::before { content: ""; position: absolute; right: 100%; top: 50%; width: 1.4rem; margin-top: -1px; border-top: 2px dashed var(--second-ink); }
.thumb__box { flex: none; width: 0.8rem; height: 0.8rem; border: 1.5px solid var(--field-line); border-radius: 3px; }
.thumb__box--on { background: var(--brand); border-color: var(--brand); }
.thumb__row em { margin-left: auto; width: 1.7rem; height: 0.42rem; background: var(--field-line); border-radius: 3px; opacity: 0.6; }
.thumb__total { display: flex; align-items: center; justify-content: flex-end; gap: 0.5rem; }
.thumb__total .thumb__bar { width: 2rem; }
.thumb__total strong { width: 3rem; height: 0.9rem; background: var(--brand); border-radius: 4px; }
.thumb__chip { width: 1.15rem; height: 0.8rem; background: var(--alt); border: 1px solid var(--line); border-radius: 4px; }
.thumb__bar + .thumb__chip { margin-left: auto; }
.thumb__chip--o { background: var(--bright); border-color: var(--bright); }
.thumb__grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 0.35rem; }
.thumb__grid i { height: 1.4rem; background: var(--surface); border-radius: 5px; box-shadow: 0 2px 5px -2px rgba(var(--shade), 0.25); }
.thumb__grid i.on { background: var(--second-solid); }
.thumb__grid i.off { background: transparent; box-shadow: none; border: 1.5px dashed var(--field-line); }
.thumb__bal { display: flex; align-items: flex-end; gap: 0.5rem; height: 3.2rem; }
.thumb__bal b { flex: 1; background: var(--surface); border-radius: 6px 6px 0 0; box-shadow: 0 2px 5px -2px rgba(var(--shade), 0.25); }
.thumb__bal .up { height: 100%; background: var(--second-solid); } .thumb__bal .down { height: 42%; } .thumb__bal .down2 { height: 66%; }
.thumb__hero { display: flex; flex-direction: column; gap: 0.35rem; padding: 0.6rem; background: rgba(255, 255, 255, 0.14); border-radius: 8px; }
.thumb__hero .thumb__bar { background: var(--white); opacity: 0.9; }

/* ---- Status labels ------------------------------------------------------- */
.status { display: inline-block; padding: 0.36rem 0.7rem; font-size: 0.78rem; font-weight: 600; line-height: 1; white-space: nowrap; color: var(--ink); background: var(--alt); border: 1px solid var(--line); border-radius: 999px; }
.status--received { color: var(--ink-2); }
.status--needs_info, .status--awaiting_approval { color: var(--alert); background: var(--tint-1); border-color: transparent; }   /* highlighted = waiting on the client */
.status--in_progress { color: var(--second-ink); background: var(--tint-2); border-color: transparent; }
.status--completed { color: var(--on-solid); background: var(--solid); border-color: var(--solid); }
.shero .status { color: var(--white); background: rgba(255, 255, 255, 0.14); border-color: rgba(255, 255, 255, 0.3); }

.tag { display: inline-block; padding: 0.32rem 0.6rem; font-size: 0.78rem; font-weight: 600; line-height: 1; white-space: nowrap; color: var(--ink-2); background: var(--alt); border: 1px solid var(--line); border-radius: 999px; }

/* ---- Home: the request ticket ------------------------------------------------ */
.ticket-wrap { position: relative; }
.ticket-wrap__blob { position: absolute; z-index: 0; left: -10%; top: -14%; width: 120%; height: 128%; }
.ticket { position: relative; z-index: 1; max-width: 30rem; margin-inline: auto; }
.ticket__sheet { background: var(--surface); border-radius: var(--radius-xl); box-shadow: var(--shadow-lg); }
.ticket__head, .ticket__body, .ticket__stub { padding: 1.2rem 1.5rem; }
.ticket__head { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; margin: 0; max-width: none; padding-bottom: 0; font-size: 0.875rem; font-weight: 600; color: var(--second-ink); }
.ticket__head span:last-child { color: var(--ink-2); font-weight: 500; }
.ticket__title { margin: 0 0 1rem; max-width: none; font: 600 1.2rem/1.3 var(--font-display); letter-spacing: -0.015em; }
.ticket__rail { display: none; list-style: none; margin: 0 0 1.1rem; padding: 0; gap: 5px; }
.ticket__rail li { flex: 1; margin: 0; }
.ticket__rail button { position: relative; display: block; width: 100%; height: 1.75rem; padding: 0; background: transparent; border: 0; cursor: pointer; }
.ticket__rail button::before { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 6px; margin-top: -3px; background: var(--line); border-radius: 3px; transition: background-color 0.25s; }
.ticket__rail button.is-done::before { background: var(--second); }
.ticket__rail button[aria-current="step"]::before { background: var(--brand); height: 10px; margin-top: -5px; border-radius: 5px; }
.ticket__panels { list-style: none; margin: 0; padding: 0; counter-reset: status; }
.ticket__panel { margin: 0 0 0.9rem; max-width: none; counter-increment: status; }
.ticket__status { margin: 0 0 0.2rem; font: 600 1.05rem/1.2 var(--font-display); }
.ticket__status::before { content: counter(status) ". "; }
.ticket__panel p:last-child { margin: 0; font-size: 1rem; line-height: 1.55; color: var(--ink-2); }
.ticket__count { display: none; }
.ticket__stub { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.75rem; margin: 0; border-top: 1.5px dashed var(--line); }
.ticket__stub dt { font-size: 0.8125rem; color: var(--ink-2); }
.ticket__stub dd { margin: 0; min-height: 2.6em; font-size: 0.9375rem; font-weight: 600; line-height: 1.3; }
.ticket__controls { display: none; }
.js .ticket__rail { display: flex; }
.js .ticket__panel { display: none; margin: 0; }
.js .ticket__panel.is-current { display: block; }
.js .ticket__panels { min-height: 8.75rem; }
.js .ticket__status { font-size: 1.5rem; font-weight: 700; letter-spacing: -0.02em; margin-bottom: 0.35rem; }
.js .ticket__status::before { content: none; }
.js .ticket__count { display: block; margin: 0 0 0.15rem; font-size: 0.8125rem; color: var(--ink-2); }
.js .ticket__controls { display: flex; justify-content: space-between; gap: 0.75rem; padding: 0 1.5rem 1.2rem; }

/* ---- Home: six parts of a research answer ------------------------------------ */
.parts { list-style: none; counter-reset: part; margin: 0 0 2.25rem; padding: 0; display: grid; gap: 1.1rem; grid-template-columns: repeat(auto-fit, minmax(18rem, 1fr)); }
.parts li { position: relative; overflow: hidden; counter-increment: part; margin: 0; max-width: none; padding: 1.35rem 1.4rem 1.3rem; background: var(--surface); border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); }
.parts li::after { content: counter(part); position: absolute; right: 1rem; top: 0.35rem; font: 700 3.6rem/1 var(--font-display); color: var(--alt); }
.parts__icon { position: relative; z-index: 1; display: grid; place-items: center; width: 2.75rem; height: 2.75rem; margin-bottom: 0.9rem; color: var(--accent-text); background: var(--tint-1); border-radius: 14px; }
.parts h3 { margin-bottom: 0.25em; }
.parts p { margin: 0; color: var(--ink-2); font-size: 1rem; }

/* ---- Home: who it is for -------------------------------------------------------- */
.fit { list-style: none; margin: 0 0 2rem; padding: 0; display: grid; gap: 1.1rem; grid-template-columns: repeat(auto-fit, minmax(14.5rem, 1fr)); }
.fit li { margin: 0; max-width: none; padding: 1.5rem 1.4rem; background: var(--alt); border-radius: var(--radius-lg); }
.fit__icon { display: grid; place-items: center; width: 3rem; height: 3rem; margin-bottom: 1rem; color: var(--white); background: linear-gradient(135deg, var(--brand), var(--bright)); border-radius: 16px; }
.fit h3 { margin-bottom: 0.3em; }
.fit p { margin: 0; color: var(--ink-2); font-size: 1rem; }
.fit__note { width: fit-content; max-width: 100%; margin: 0 auto; padding: 0.75rem 1.3rem; text-align: center; font-weight: 500; color: var(--second-ink); background: var(--tint-2); border-radius: 1.5rem; }

/* ---- Home: one person ------------------------------------------------------------ */
.person { display: grid; gap: 2rem 4rem; align-items: center; }
@media (min-width: 52rem) { .person { grid-template-columns: minmax(0, 20rem) minmax(0, 1fr); } }
.person__art { max-width: 20rem; margin-inline: auto; }
.person__art .art { width: 100%; height: auto; color: var(--field-line); }
.person__photo { display: block; width: 100%; border-radius: var(--radius-xl); box-shadow: var(--shadow); }

.checks { list-style: none; padding: 0; margin: 0 0 1.1em; }
.checks li { position: relative; padding-left: 2.1rem; }
.checks li::before { content: ""; position: absolute; left: 0; top: 0.2em; width: 1.4rem; height: 1.4rem; border-radius: 50%; background: var(--tint-2); }
.checks li::after { content: ""; position: absolute; left: 0.4rem; top: 0.62em; width: 0.6rem; height: 0.32rem; border-left: 2px solid var(--second-ink); border-bottom: 2px solid var(--second-ink); transform: rotate(-45deg); }
.checks--columns { columns: 2 18rem; column-gap: 2.5rem; }
.checks--columns li { break-inside: avoid; }
.checks--boxed li { margin: 0 0 0.6rem; max-width: none; padding: 0.8rem 1rem 0.8rem 3rem; background: var(--alt); border-radius: var(--radius); }
.checks--boxed li::before { left: 0.95rem; top: 0.95em; }
.checks--boxed li::after { left: 1.35rem; top: 1.37em; }
.crosses { list-style: none; padding: 0; margin: 0 0 1.1em; }
.crosses li { position: relative; padding-left: 2.1rem; color: var(--ink-2); }
.crosses li::before { content: ""; position: absolute; left: 0.1rem; top: 0.78em; width: 1rem; height: 2px; border-radius: 2px; background: var(--field-line); }

/* ---- Color buttons (the visitor's own choice of scheme) ---------------------------- */
.palette-pick { display: none; align-items: center; gap: 0.45rem; }
.js .palette-pick { display: inline-flex; }
.palette-pick__label { margin-right: 0.15rem; font-size: 0.875rem; color: var(--on-dark-2); }
.palette-pick__one { width: 1.35rem; height: 1.35rem; padding: 0; border: 0; border-radius: 50%; cursor: pointer; box-shadow: 0 0 0 1.5px rgba(255, 255, 255, 0.45); transition: transform 0.15s; }
.palette-pick__one:hover { transform: scale(1.12); }
.palette-pick__one[aria-pressed="true"] { box-shadow: 0 0 0 2px var(--dark), 0 0 0 4px var(--white); }
.palette-pick__one--midnight { background: linear-gradient(135deg, #2b2b2b 50%, #ff8a66 50%); }
.palette-pick__one--evergreen { background: linear-gradient(135deg, #1d5a45 50%, #f3a071 50%); }
.palette-pick__one--plum { background: linear-gradient(135deg, #4a2a63 50%, #ff8fb0 50%); }
.site-nav .palette-pick__label { display: none; }
/* With a fifth menu item (a published client story) there is no room in the top bar; the footer keeps the buttons. */
@media (min-width: 75rem) { .site-nav__colors--tight { display: none; } }
@media (max-width: 74.99rem) { .site-nav .palette-pick__label { display: inline; } .site-nav__colors { padding-block: 0.5rem; } }

/* ---- Solutions page: filter by group --------------------------------------------- */
.chips { display: none; flex-wrap: wrap; gap: 0.5rem; margin: 0 0 1.75rem; }
.js .chips { display: flex; }
.chips__one { padding: 0.55rem 1rem; font: 600 0.9375rem/1 var(--font-body); color: var(--ink); background: var(--surface); border: 1.5px solid var(--line); border-radius: 999px; cursor: pointer; transition: border-color 0.15s, background-color 0.15s, color 0.15s; }
.chips__one:hover { border-color: var(--ink); }
.chips__one[aria-pressed="true"] { color: var(--on-solid); background: var(--solid); border-color: var(--solid); }
.chips__n { margin-left: 0.3rem; font-weight: 500; opacity: 0.7; }
.scards--list .scard[hidden] { display: none; }

.draft-bar { position: fixed; z-index: 40; left: 0; right: 0; bottom: 0; margin: 0; max-width: none; padding: 0.7rem var(--gutter); text-align: center; font-weight: 600; color: #fff; background: var(--brand-hover); }
@media (min-width: 60rem) { .shero__grid--single { grid-template-columns: minmax(0, 46rem); } }

/* ---- Closing: one thing from your to-do list -------------------------------------- */
.closing { position: relative; overflow: hidden; padding-block: clamp(3.5rem, 8vw, 6rem) clamp(5.5rem, 14vw, 12.5rem); text-align: center; color: var(--on-dark); background: linear-gradient(180deg, var(--dark) 0%, var(--dark-2) 55%, var(--dark) 100%); }
.closing__inner { max-width: 46rem; }
.closing h2 { color: var(--white); font-size: clamp(2rem, 4.4vw, 3.2rem); font-weight: 700; }
.closing .lede { margin-inline: auto; color: var(--on-dark-2); }
.closing__line { position: absolute; z-index: 0; left: 50%; bottom: 0.25rem; width: 100%; max-width: 90rem; height: auto; transform: translateX(-50%); color: rgba(255, 255, 255, 0.2); }
.todo { display: flex; flex-wrap: wrap; gap: 0.6rem; max-width: 40rem; margin: 2rem auto 1rem; padding: 0.5rem; background: rgba(255, 255, 255, 0.1); border: 1px solid rgba(255, 255, 255, 0.22); border-radius: 2.25rem; }
.todo input { flex: 1 1 14rem; min-width: 0; padding: 0.9rem 1.25rem; font: inherit; color: var(--ink); background: var(--field-bg); border: 0; border-radius: 999px; }
.todo input::placeholder { color: var(--field-line); }
.todo .button { flex: 0 0 auto; }
.closing__more { margin: 0 auto; font-size: 0.9875rem; }
.closing__more a { color: var(--on-dark-2); }
.closing__more a:hover { color: var(--white); }
@media (max-width: 30rem) { .todo { border-radius: var(--radius-lg); } .todo .button { flex: 1 1 100%; } }


/* ---- Inner page heading -------------------------------------------------- */
.page-head { position: relative; overflow: hidden; color: var(--on-dark); background: linear-gradient(180deg, var(--dark) 0%, var(--dark-2) 100%); padding-block: clamp(2.25rem, 5vw, 4rem) calc(clamp(2.25rem, 5vw, 3.5rem) + var(--curve)); }
.page-head h1 { color: var(--white); font-size: clamp(2.1rem, 4.4vw, 3.4rem); max-width: 17em; }
.page-head .lede { color: var(--on-dark-2); margin-bottom: 0; }
.page-head .muted { color: var(--on-dark-2); }
.page-head:not(.has-flow) { background: radial-gradient(min(34rem, 100vw) 26rem at 102% -30%, var(--glow-1), transparent 72%), radial-gradient(min(30rem, 90vw) 22rem at -4% 130%, var(--glow-2), transparent 72%), linear-gradient(180deg, var(--dark) 0%, var(--dark-2) 100%); }
.page-head:not(.has-flow)::after { content: ""; position: absolute; z-index: 1; left: -6%; right: -6%; bottom: -1px; height: var(--curve); background: var(--bg); border-radius: 50% 50% 0 0 / 100% 100% 0 0; }
.page-head--alt:not(.has-flow)::after { background: var(--alt); }
.page-head__art { position: absolute; z-index: 0; right: -4rem; top: 50%; width: 26rem; height: 26rem; margin-top: -12rem; color: rgba(255, 255, 255, 0.18); }
@media (max-width: 59.99rem) { .page-head__art, .hero__rings, .shero__rings { display: none; } }

/* ---- Solution page top ----------------------------------------------------------- */
.shero { position: relative; overflow: hidden; color: var(--on-dark); background: linear-gradient(180deg, var(--dark) 0%, var(--dark-2) 100%); padding-block: clamp(2rem, 5vw, 4rem) calc(clamp(2.5rem, 6vw, 4.5rem) + var(--curve)); }
.shero--yellow .glow--a { background: radial-gradient(closest-side, var(--glow-2), transparent); }
.shero--yellow .glow--b { background: radial-gradient(closest-side, var(--glow-1), transparent); }
.shero--ink .glow--a { background: radial-gradient(closest-side, var(--glow-3), transparent); }
.shero__side { position: relative; }
.shero__copy { position: relative; z-index: 2; }
.shero__rings { position: absolute; z-index: 0; left: 50%; top: 50%; width: 32rem; max-width: none; height: 32rem; margin: -16rem 0 0 -16rem; color: rgba(255, 255, 255, 0.2); }
.shero__grid { display: grid; gap: 2.5rem 4rem; }
@media (min-width: 60rem) { .shero__grid { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); align-items: center; } }
.shero h1 { color: var(--white); max-width: 13em; }
.shero .lede { color: var(--on-dark-2); max-width: 32em; margin-bottom: 1.5em; }
.shero__crumb { display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem 1rem; margin: 0 0 1.1rem; max-width: none; }
.shero__crumb a { color: var(--on-dark-2); font-weight: 600; }
.shero__crumb a:hover { color: var(--white); }
.shero__note { margin: 1.5rem 0 0; max-width: 36em; font-size: 0.9375rem; color: var(--on-dark-2); }
.shero__gaps { position: relative; z-index: 1; color: var(--ink); background: var(--surface); border-radius: var(--radius-xl); box-shadow: var(--shadow-lg); padding: 1.35rem 1.5rem 0.75rem; }
.shero__gaps::before { content: ""; position: absolute; z-index: -1; inset: 1rem -0.9rem -0.9rem 1rem; border-radius: var(--radius-xl); background: rgba(255, 255, 255, 0.16); }
.shero__gapshead { margin: 0 0 0.4rem; font: 600 0.875rem/1.2 var(--font-body); letter-spacing: 0; color: var(--second-ink); }
.shero__gaps ul { list-style: none; margin: 0; padding: 0; }
.shero__gaps li { position: relative; margin: 0; max-width: none; padding: 0.75rem 0 0.75rem 2.1rem; border-top: 1px solid var(--line); line-height: 1.4; }
.shero__gaps li::before { content: ""; position: absolute; left: 0; top: 0.85rem; width: 1.2rem; height: 1.2rem; border: 1.5px solid var(--field-line); border-radius: 6px; }

.notice { max-width: 46rem; margin-bottom: 2rem; padding: 0.95rem 1.2rem; background: var(--tint-1); border-radius: var(--radius); }
.notice p { margin: 0; max-width: none; }
.notice--quiet { margin: 0; background: var(--alt); color: var(--ink-2); }
.faq-wrap { max-width: 50rem; }
.section--wash .notice--quiet { background: var(--surface); }

/* ---- Solution page: plan, changes, deliverables, phases ----------------------------- */
.spec { margin: 0; }
.spec > div { padding: 1rem 0; border-top: 1px solid var(--line); }
.spec > div:first-child { border-top: 0; padding-top: 0.25rem; }
.spec dt { font-size: 0.875rem; font-weight: 600; color: var(--second-ink); }
.spec dd { margin: 0.15rem 0 0; font-size: 1.0625rem; line-height: 1.5; }

.changes { width: 100%; border-collapse: separate; border-spacing: 0 0.6rem; }
.changes thead th { padding: 0 1.25rem 0.1rem; text-align: left; font: 600 0.9375rem/1.2 var(--font-body); color: var(--ink-2); }
.changes tbody th { width: 21%; padding: 1rem 1rem 1rem 0; text-align: left; vertical-align: top; font: 600 1.0625rem/1.3 var(--font-display); letter-spacing: -0.01em; }
.changes td { position: relative; padding: 1rem 1.25rem; vertical-align: top; }
.changes__before { width: 36%; color: var(--ink-2); background: var(--surface); border-radius: var(--radius) 0 0 var(--radius); }
.changes__after { padding-left: 2.25rem; font-weight: 500; background: var(--tint-2); border-radius: 0 var(--radius) var(--radius) 0; }
.changes__after::before { content: ""; position: absolute; left: -0.9rem; top: 50%; width: 1.8rem; height: 1.8rem; margin-top: -0.9rem; border-radius: 50%; background: var(--second-solid); }
.changes__after::after { content: ""; position: absolute; left: -0.34rem; top: 50%; width: 0.5rem; height: 0.5rem; margin-top: -0.25rem; border-top: 2px solid var(--white); border-right: 2px solid var(--white); transform: rotate(45deg); }
@media (max-width: 47.99rem) {
  .changes, .changes tbody, .changes tr, .changes th, .changes td { display: block; width: auto; }
  .changes thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .changes tr { margin-bottom: 1.75rem; }
  .changes tbody th { width: auto; padding: 0 0 0.5rem; }
  .changes__before { border-radius: var(--radius) var(--radius) 0 0; }
  .changes__after { padding: 1.4rem 1.25rem 1rem; border-radius: 0 0 var(--radius) var(--radius); }
  .changes__after::before { left: 1.25rem; top: 0; }
  .changes__after::after { left: 1.9rem; top: -0.1rem; transform: rotate(135deg); }
  .changes td[data-label]::before { content: none; }
}

.phases { list-style: none; margin: 0; padding: 0; }
.phases li { position: relative; margin: 0; max-width: none; padding: 0 0 1.75rem 2.4rem; }
.phases li:last-child { padding-bottom: 0; }
.phases li::before { content: ""; position: absolute; left: 0.5rem; top: 1.4rem; bottom: -0.2rem; width: 2px; background: linear-gradient(var(--second), var(--bright)); opacity: 0.5; }
.phases li:last-child::before { content: none; }
.phases li::after { content: ""; position: absolute; left: 0; top: 0.2rem; width: 1.1rem; height: 1.1rem; border: 3px solid var(--second); border-radius: 50%; background: var(--bg); }
.phases__n { margin: 0; font-size: 0.8125rem; font-weight: 600; color: var(--second-ink); }
.phases h3 { margin: 0.1rem 0 0.25rem; }
.phases p:last-child { margin: 0; color: var(--ink-2); }

.measures { list-style: none; margin: 0; padding: 0; }
.nexts { list-style: none; margin: 0; padding: 0; }
.nexts li { position: relative; margin: 0 0 0.6rem; max-width: none; padding: 0.8rem 1rem 0.8rem 2.7rem; background: transparent; border: 1.5px dashed var(--field-line); border-radius: var(--radius); }
.nexts li::before { content: "+"; position: absolute; left: 0.95rem; top: 0.72rem; font: 700 1.05rem/1.4 var(--font-display); color: var(--second-ink); }
.measures li { position: relative; margin: 0 0 0.6rem; max-width: none; padding: 0.8rem 1rem 0.8rem 2.6rem; font-weight: 500; background: var(--surface); border-radius: var(--radius); }
.measures li::before { content: ""; position: absolute; left: 1rem; top: 1.25em; width: 0.9rem; height: 0.55rem; border-left: 2px solid var(--brand); border-bottom: 2px solid var(--brand); }

.faq details { margin-bottom: 0.6rem; padding: 0.9rem 1.1rem; background: var(--surface); border-radius: var(--radius); }
.faq summary { display: flex; justify-content: space-between; align-items: center; gap: 1rem; list-style: none; cursor: pointer; font-weight: 600; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; display: grid; place-items: center; flex: none; width: 1.6rem; height: 1.6rem; font: 600 1.1rem/1 var(--font-body); color: var(--accent-text); background: var(--tint-1); border-radius: 50%; }
.faq details[open] summary::after { content: "\2013"; }
.faq p { margin: 0.6rem 0 0; color: var(--ink-2); }

/* ---- How we work: steps, month, practices ------------------------------------------ */
.journey { list-style: none; counter-reset: journey; margin: 0; padding: 0; display: grid; gap: 1.1rem; grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr)); }
.journey li { position: relative; counter-increment: journey; margin: 0; max-width: none; padding: 1.6rem 1.4rem 1.5rem; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); }
.journey li::before { content: counter(journey); position: absolute; right: 1.1rem; top: 0.7rem; font: 700 3.4rem/1 var(--font-display); color: var(--alt); }
.journey__icon { position: relative; display: grid; place-items: center; width: 3rem; height: 3rem; margin-bottom: 1rem; color: var(--white); background: linear-gradient(135deg, var(--brand), var(--bright)); border-radius: 16px; }
.journey h3 { margin-bottom: 0.3em; }
.journey p { margin: 0; color: var(--ink-2); font-size: 1rem; }
@media (min-width: 68rem) {
  .journey { grid-template-columns: repeat(4, 1fr); gap: 1.75rem; }
  .journey li:not(:last-child)::after { content: ""; position: absolute; right: -1.2rem; top: 2.8rem; width: 0.6rem; height: 0.6rem; border-top: 2.5px solid var(--bright); border-right: 2.5px solid var(--bright); transform: rotate(45deg); }
}

@media (min-width: 68rem) { .journey--three { grid-template-columns: repeat(3, 1fr); } }
.journey__after { margin-top: 2rem; }

.rhythm { position: relative; list-style: none; margin: 0; padding: 0; display: grid; gap: 1rem; }
.rhythm li { position: relative; margin: 0; max-width: none; padding: 1.25rem 1.2rem 1.3rem; background: var(--surface); border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); }
.rhythm__when { display: inline-block; margin: 0 0 1rem; padding: 0.35rem 0.8rem; font: 600 0.875rem/1.2 var(--font-display); letter-spacing: 0; color: var(--white); background: var(--dark-2); border-radius: 999px; }
.rhythm li:first-child .rhythm__when { background: var(--brand); }
.rhythm dl { margin: 0; }
.rhythm dt { margin-top: 0.85rem; font-size: 0.8125rem; font-weight: 600; color: var(--second-ink); }
.rhythm dt:first-child { margin-top: 0; }
.rhythm dd { margin: 0.15rem 0 0; max-width: none; font-size: 1rem; line-height: 1.45; color: var(--ink-2); }
.rhythm dd.rhythm__see { font-weight: 500; color: var(--ink); }
@media (min-width: 40rem) { .rhythm { grid-template-columns: 1fr 1fr; } }
@media (min-width: 68rem) {
  .rhythm { grid-template-columns: repeat(5, 1fr); padding-top: 2rem; }
  .rhythm::before { content: ""; position: absolute; left: 0.5rem; right: 0.5rem; top: 0.4rem; border-top: 2px dashed var(--field-line); }
  .rhythm li::before { content: ""; position: absolute; left: 1.4rem; top: -2rem; width: 0.9rem; height: 0.9rem; margin-top: -0.02rem; border: 3px solid var(--second); border-radius: 50%; background: var(--alt); }
  .rhythm li:first-child::before { border-color: var(--brand); }
}

.split__lead { position: relative; }
.split__lead > h2, .split__lead > p { position: relative; z-index: 1; }
.split__blob { position: absolute; z-index: 0; left: -5rem; top: -4.5rem; width: 20rem; height: 20rem; opacity: 0.7; }

.app--static .app__body { padding-block: 0.4rem 0.6rem; }
.table--flush tbody tr:last-child th, .table--flush tbody tr:last-child td { border-bottom: 0; }
@media (max-width: 39.99rem) { .table--flush tbody tr:last-child { border-bottom: 0; } }

.duo { display: grid; gap: 1.25rem; }
@media (min-width: 52rem) { .duo { grid-template-columns: 1fr 1fr; gap: 1.75rem; } }
.duo__card { padding: clamp(1.4rem, 3.5vw, 2.25rem); background: var(--alt); border-radius: var(--radius-xl); }
.section--wash .duo__card { background: var(--surface); box-shadow: var(--shadow-sm); }
.duo__card h2 { font-size: clamp(1.35rem, 2.3vw, 1.7rem); }
.duo__card > :last-child { margin-bottom: 0; }
.duo__icon { display: grid; place-items: center; width: 3rem; height: 3rem; margin-bottom: 1.1rem; color: var(--white); background: linear-gradient(135deg, var(--brand), var(--bright)); border-radius: 16px; }
.duo__icon--second { background: linear-gradient(135deg, var(--second-solid), var(--second)); }
.duo__after { margin: 1.75rem 0 0; }
.ministeps { list-style: none; counter-reset: mini; margin: 0; padding: 0; }
.ministeps li { position: relative; counter-increment: mini; margin: 0; max-width: none; padding: 0.7rem 0 0.7rem 2.6rem; border-top: 1px solid var(--line); }
.ministeps li:first-child { border-top: 0; }
.ministeps li::before { content: counter(mini); position: absolute; left: 0; top: 0.65rem; display: grid; place-items: center; width: 1.75rem; height: 1.75rem; font: 700 0.875rem/1 var(--font-display); color: var(--ink); background: var(--surface); border-radius: 50%; box-shadow: var(--shadow-sm); }
.section--wash .ministeps li::before { background: var(--alt); box-shadow: none; }
.duo__card ul { list-style: none; margin: 0; padding: 0; }
.duo__card ul li { position: relative; margin: 0; max-width: none; padding: 0.6rem 0 0.6rem 1.6rem; border-top: 1px solid var(--line); }
.duo__card ul li:first-child { border-top: 0; }
.duo__card ul li::before { content: ""; position: absolute; left: 0.1rem; top: 1.15rem; width: 0.5rem; height: 0.5rem; border-radius: 50%; background: var(--bright); }

.steps { list-style: none; margin: 0; padding: 0; counter-reset: step; display: grid; gap: 1.75rem; }
.steps > li { counter-increment: step; position: relative; margin: 0; max-width: none; padding-left: 3.9rem; }
.steps > li::before { content: counter(step); position: absolute; left: 0; top: -0.2rem; display: grid; place-items: center; width: 2.75rem; height: 2.75rem; font: 700 1.05rem/1 var(--font-display); color: var(--accent-text); background: var(--tint-1); border-radius: 50%; }
.steps h3 { margin-bottom: 0.25em; }
.steps p { color: var(--ink-2); }
.steps p:last-child { margin-bottom: 0; }
@media (min-width: 56rem) { .steps--columns { grid-template-columns: 1fr 1fr; column-gap: 3.5rem; } }

.status-guide { list-style: none; margin: 0; padding: 0; }
.status-guide li { display: grid; gap: 0.35rem 1.5rem; margin: 0 0 0.6rem; max-width: none; padding: 0.9rem 1.1rem; background: var(--alt); border-radius: var(--radius); }
.status-guide p { margin: 0; color: var(--ink-2); }
@media (min-width: 40rem) { .status-guide li { grid-template-columns: 12.5rem minmax(0, 1fr); align-items: baseline; } }

/* ---- Tables -------------------------------------------------------------- */
.table { width: 100%; border-collapse: collapse; }
.table caption { text-align: left; font-weight: 600; padding-bottom: 0.6rem; }
.table th, .table td { text-align: left; vertical-align: top; padding: 0.9rem 1rem 0.9rem 0; border-bottom: 1px solid var(--line); }
.table thead th { font-size: 0.875rem; font-weight: 600; color: var(--ink-2); }
.table tbody th { min-width: 8.5rem; font: 600 1rem/1.35 var(--font-display); letter-spacing: -0.01em; }
.table td { max-width: 34ch; color: var(--ink-2); }
@media (max-width: 39.99rem) {
  .table--stack thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .table--stack tr { display: block; padding: 0.9rem 0; border-bottom: 1px solid var(--line); }
  .table--stack th, .table--stack td { display: block; min-width: 0; max-width: none; padding: 0.15rem 0; border: 0; }
  .table--stack td::before { content: attr(data-label) ": "; font-weight: 600; color: var(--ink); }
}

/* ---- Research document --------------------------------------------------- */
.doc-layout { display: grid; gap: 1.5rem; }
.doc-index { order: -1; }
.doc-index__head { margin: 0 0 0.75rem; font: 600 0.9375rem/1.2 var(--font-display); letter-spacing: 0; color: var(--ink-2); }
.doc-index ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0.5rem; }
.doc-index li { margin: 0; max-width: none; }
.doc-index a { display: flex; align-items: center; gap: 0.6rem; padding: 0.45rem 0.9rem 0.45rem 0.45rem; font-weight: 500; color: var(--ink); text-decoration: none; background: var(--surface); border-radius: 999px; box-shadow: var(--shadow-sm); transition: transform 0.15s, box-shadow 0.15s; }
.doc-index a:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.doc-index__icon { display: grid; place-items: center; width: 2rem; height: 2rem; color: var(--accent-text); background: var(--tint-1); border-radius: 50%; }
.doc-index__icon .icon { width: 1.1rem; height: 1.1rem; }
@media (min-width: 68rem) {
  .doc-layout { grid-template-columns: minmax(0, 50rem) minmax(0, 1fr); gap: 2.5rem; align-items: start; }
  .doc-index { order: 0; position: sticky; top: 1.5rem; }
  .doc-index ol { display: grid; gap: 0.6rem; }
  .doc-index a { border-radius: var(--radius); padding: 0.6rem 0.9rem 0.6rem 0.6rem; }
}
.doc__part { scroll-margin-top: 1rem; }
.doc { max-width: 50rem; background: var(--surface); border-radius: var(--radius-lg); box-shadow: var(--shadow); overflow: hidden; }
.doc__head { padding: clamp(1.25rem, 4vw, 2.25rem); border-bottom: 1px solid var(--line); }
.doc__head h2 { margin-bottom: 0.4em; }
.doc__meta { display: flex; flex-wrap: wrap; gap: 0.25rem 2rem; margin: 0; font-size: 0.9375rem; color: var(--ink-2); }
.doc__meta div { display: flex; gap: 0.4rem; }
.doc__meta dt { font-weight: 600; }
.doc__meta dd { margin: 0; }
.doc__parts { counter-reset: part; }
.doc__part { counter-increment: part; padding: clamp(1.25rem, 4vw, 2.25rem); border-bottom: 1px solid var(--line); }
.doc__part:last-child { border-bottom: 0; }
.doc__part h3::before { content: counter(part) ". "; color: var(--accent-text); }
.doc__part > :last-child { margin-bottom: 0; }
.doc .table td { max-width: none; }
.doc__pick { background: var(--tint-2); }
@media (min-width: 40rem) { .doc .table th:first-child, .doc .table td:first-child { padding-left: 0.85rem; } }
@media (max-width: 39.99rem) { .doc .table--stack tr { padding-inline: 0.85rem; } }

/* ---- Interactive examples ------------------------------------------------------------- */
.section--demo { background: var(--alt); }
.app { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-xl); overflow: hidden; box-shadow: var(--shadow-lg); }
.app__bar { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 0.3rem 1rem; padding: 0.85rem 1.35rem; border-bottom: 1px solid var(--line); }
.app__name { position: relative; padding-left: 3.4rem; font: 600 1rem/1.2 var(--font-display); letter-spacing: -0.01em; }
.app__name::before { content: ""; position: absolute; left: 0; top: 50%; width: 0.65rem; height: 0.65rem; margin-top: -0.32rem; border-radius: 50%; background: var(--bright); box-shadow: 1rem 0 0 var(--second), 2rem 0 0 var(--line); }
.app__tag { padding: 0.3rem 0.7rem; font-size: 0.8125rem; font-weight: 500; color: var(--second-ink); background: var(--tint-2); border-radius: 999px; }
.app__body { padding: clamp(1.1rem, 3vw, 1.75rem); }
.app__noscript { margin: 0; padding: 1rem 1.35rem; }
.app h3, .app h4 { margin: 0 0 0.75rem; font: 600 1rem/1.2 var(--font-display); letter-spacing: -0.01em; }
.app p, .app li, .app dd { max-width: none; }
.app__reset { margin: 1.2rem 0 0; }

.mini { padding: 0.55rem 0.9rem; font: 600 0.875rem/1 var(--font-body); color: var(--ink); background: var(--surface); border: 1.5px solid var(--line); border-radius: 999px; cursor: pointer; transition: background-color 0.15s, color 0.15s, border-color 0.15s; }
.mini:hover:not(:disabled) { border-color: var(--ink); }
.mini--go { color: var(--on-solid); background: var(--solid); border-color: var(--solid); }
.mini--go:hover:not(:disabled) { color: var(--white); background: var(--brand); border-color: var(--brand); }
.mini--quiet { color: var(--ink-2); }
.mini:disabled { opacity: 0.4; cursor: default; }

.seg { display: inline-flex; flex-wrap: wrap; gap: 0.25rem; margin: 0 0 0.9rem; padding: 0.25rem; background: var(--alt); border-radius: 1.5rem; }
.seg button { padding: 0.55rem 1rem; font: 600 0.9375rem/1 var(--font-body); color: var(--ink-2); background: transparent; border: 0; border-radius: 999px; cursor: pointer; }
.seg button[aria-pressed="true"] { color: var(--ink); background: var(--surface); box-shadow: var(--shadow-sm); }

/* Job board */
.svc { display: grid; gap: 1.75rem 2.25rem; }
@media (min-width: 56rem) { .svc { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); } }
.svc__jobs { list-style: none; margin: 0; padding: 0; }
.svc__job { display: grid; gap: 0.6rem; margin: 0 0 0.65rem; padding: 0.85rem 1rem; border: 1.5px solid var(--line); border-radius: 14px; transition: border-color 0.15s, background-color 0.15s; }
.svc__job.is-selected { border-color: var(--second); background: var(--tint-2); }
.svc__top { display: flex; justify-content: space-between; align-items: flex-start; gap: 0.75rem; }
.svc__pick { padding: 0; font: inherit; text-align: left; color: var(--ink); background: none; border: 0; cursor: pointer; }
.svc__pick strong { display: block; }
.svc__pick span { color: var(--ink-2); font-size: 0.9375rem; }
.svc__actions { display: flex; flex-wrap: wrap; gap: 0.4rem; }
.svc__route { list-style: none; margin: 0 0 1.5rem; padding: 0; }
.svc__route li { display: flex; justify-content: space-between; gap: 1rem; margin: 0; padding: 0.55rem 0; border-bottom: 1px dashed var(--line); }
.svc__route em { font-style: normal; font-weight: 600; white-space: nowrap; }
.svc__route small { display: block; color: var(--ink-2); font-size: 0.8125rem; }
.phone { max-width: 21rem; padding: 1.1rem 1.2rem; background: var(--alt); border-radius: 22px; }
.phone__title { margin: 0 0 0.35rem; font: 600 1.1rem/1.2 var(--font-display); }
.phone__status { margin: 0; }
.phone__eta { margin: 0.45rem 0 0; font-weight: 600; color: var(--accent-text); }

/* Estimate builder */
.est { display: grid; gap: 1.75rem 2.25rem; }
@media (min-width: 56rem) { .est { grid-template-columns: 1fr 1fr; align-items: start; } }
.est__services { list-style: none; margin: 0; padding: 0; }
.est__services li { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 0.1rem 0.75rem; align-items: center; margin: 0; padding: 0.75rem 0; border-bottom: 1px solid var(--line); }
.est__services label { display: flex; align-items: center; gap: 0.65rem; font-weight: 600; cursor: pointer; }
.est__services input[type="checkbox"] { flex: none; width: 1.25rem; height: 1.25rem; accent-color: var(--brand); }
.est__price { grid-column: 1; padding-left: 1.9rem; color: var(--ink-2); font-size: 0.9375rem; }
.est__qty { grid-column: 2; grid-row: 1 / span 2; width: 4.6rem; padding: 0.45rem 0.5rem; font: inherit; color: var(--ink); border: 1.5px solid var(--field-line); border-radius: 10px; }
.est__qty:disabled { opacity: 0.4; }
.est__paper { padding: 1.25rem 1.35rem; background: var(--alt); border-radius: var(--radius-lg); }
.est__to { margin: 0 0 0.9rem; }
.est__to small { display: block; color: var(--ink-2); }
.est__lines { width: 100%; margin: 0 0 1.3rem; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.est__lines td, .est__lines th { padding: 0.5rem 0; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
.est__lines td:last-child, .est__lines th:last-child { text-align: right; white-space: nowrap; padding-left: 0.75rem; }
.est__lines small { display: block; color: var(--ink-2); }
.est__lines tfoot th, .est__lines tfoot td { border-bottom: 0; border-top: 2px solid var(--ink); font: 700 1.35rem/1.3 var(--font-display); letter-spacing: -0.02em; }
.est__status { list-style: none; display: flex; flex-wrap: wrap; gap: 0.3rem; margin: 0 0 0.7rem; padding: 0; }
.est__status li { margin: 0; padding: 0.38rem 0.7rem; font-size: 0.8125rem; font-weight: 600; line-height: 1; color: var(--ink-2); background: var(--surface); border-radius: 999px; }
.est__status li.is-done { color: var(--second-ink); background: var(--tint-2); }
.est__status li.is-current { color: var(--on-solid); background: var(--solid); }
.est__note { min-height: 3em; margin: 0 0 0.8rem; color: var(--ink-2); }

/* Inventory */
.inv__check { margin: 0 0 1rem; padding: 0.75rem 1rem; font-weight: 600; color: var(--second-ink); background: var(--tint-2); border-radius: var(--radius); }
.inv__check.is-alert { color: var(--alert); background: var(--tint-1); }
.inv__items { list-style: none; margin: 0; padding: 0; }
.inv__item { display: grid; gap: 0.7rem 1rem; margin: 0 0 0.65rem; padding: 0.9rem 1rem; border: 1.5px solid var(--line); border-radius: 14px; }
@media (min-width: 52rem) { .inv__item { grid-template-columns: minmax(0, 3fr) minmax(0, 6fr) auto; align-items: center; } }
.inv__name strong { display: block; }
.inv__name span { color: var(--ink-2); font-size: 0.9375rem; }
.inv__posts { display: flex; flex-wrap: wrap; gap: 0.4rem; }
.chip { padding: 0.45rem 0.7rem; font: 600 0.8125rem/1.25 var(--font-body); text-align: left; color: var(--ink); background: var(--alt); border: 0; border-radius: 10px; }
.chip b { font-weight: 600; }
.chip small { display: block; font-weight: 400; font-size: 0.75rem; color: var(--ink-2); }
.chip--gone { background: transparent; box-shadow: inset 0 0 0 1px var(--line); color: var(--field-line); }
.chip--gone b { text-decoration: line-through; }
.chip--todo { color: var(--white); background: var(--brand); cursor: pointer; }
.chip--todo small { color: var(--white); }
.chip--todo:hover { background: var(--brand-hover); }

/* Scheduler */
.sch__rules { margin: 0 0 0.4rem; color: var(--ink-2); font-size: 0.9375rem; }
.sch__days { display: grid; gap: 0.7rem; grid-template-columns: repeat(auto-fit, minmax(8.75rem, 1fr)); margin: 1rem 0 1.1rem; }
.sch__day { padding: 0.8rem 0.85rem 0.9rem; background: var(--alt); border-radius: 14px; }
.sch__day h4 { margin: 0; }
.sch__day p { margin: 0 0 0.6rem; font-size: 0.8125rem; color: var(--ink-2); }
.sch__slots { display: flex; flex-wrap: wrap; gap: 0.35rem; }
.slot { padding: 0.5rem 0.65rem; font: 600 0.875rem/1 var(--font-body); color: var(--second-ink); background: var(--surface); border: 1.5px solid transparent; border-radius: 999px; box-shadow: var(--shadow-sm); cursor: pointer; transition: background-color 0.15s, color 0.15s; }
.slot:hover { color: var(--white); background: var(--second-solid); }
.sch__confirm { margin: 0; padding: 1rem 1.15rem; background: var(--alt); border-radius: var(--radius-lg); }
.sch__confirm.is-booked { background: var(--tint-2); }
.sch__confirm p { margin: 0 0 0.3rem; }
.sch__confirm strong { font: 600 1.15rem/1.25 var(--font-display); letter-spacing: -0.015em; }
.sch__confirm .mini { margin-top: 0.4rem; }

/* House ledger */
.hse { display: grid; gap: 1.75rem 2.5rem; }
@media (min-width: 56rem) { .hse { grid-template-columns: 1fr 1fr; align-items: start; } }
.hse ul { list-style: none; margin: 0 0 1.5rem; padding: 0; }
.hse li { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; margin: 0; padding: 0.6rem 0; border-bottom: 1px solid var(--line); font-variant-numeric: tabular-nums; }
.hse li small { display: block; color: var(--ink-2); }
.hse li b { font-weight: 600; white-space: nowrap; }
.hse__form { display: grid; grid-template-columns: minmax(0, 1fr) 6.5rem; gap: 0.6rem; align-items: end; margin-bottom: 0.4rem; }
.hse__form label { display: block; font-size: 0.875rem; font-weight: 600; }
.hse__form input, .hse__form select { display: block; width: 100%; margin-top: 0.25rem; padding: 0.55rem 0.65rem; font: inherit; color: var(--ink); background: var(--field-bg); border: 1.5px solid var(--field-line); border-radius: 10px; }
.hse__form .mini { justify-self: start; padding: 0.75rem 1.1rem; }
.hse__error { min-height: 1.4em; margin: 0.3rem 0 1rem; color: var(--alert); font-weight: 600; font-size: 0.9375rem; }
.hse__bal li { display: grid; grid-template-columns: 3.5rem minmax(0, 1fr) auto; align-items: center; }
.hse__track { height: 0.6rem; background: var(--alt); border-radius: 999px; overflow: hidden; }
.hse__fill { display: block; height: 100%; background: var(--second); border-radius: 999px; transition: width 0.25s; }
.hse__fill--owes { background: var(--bright); }
.hse__bal li { grid-template-columns: 5.5rem minmax(0, 1fr) auto; }
.hse__bal b { font-weight: 500; color: var(--second-ink); }
.hse__bal b.hse__owes { font-weight: 600; color: var(--alert); }
.hse__total { font-weight: 600; border-bottom: 0 !important; }
.hse__pay li { align-items: center; flex-wrap: wrap; }
.hse__side { display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-end; gap: 0.4rem; }
.hse__side .mini { padding: 0.45rem 0.75rem; }
.hse__note { margin: 0; font-size: 0.9375rem; color: var(--ink-2); }
.hse__form { grid-template-columns: repeat(2, minmax(0, 1fr)); }

/* Website: two drafts */
.wfx { display: grid; gap: 1.1rem; }
.wfx .seg { justify-self: start; margin: 0; }
.wf__label { margin: 0 0 0.4rem; font-size: 0.875rem; font-weight: 600; color: var(--ink-2); }
.wf__page { max-width: 36rem; padding: 1.4rem 1.5rem; background: var(--surface); border: 1.5px solid var(--line); border-radius: var(--radius-lg); }
.wf__page--yellow { color: var(--white); border: 0; background: linear-gradient(180deg, var(--dark), var(--dark-2)); }
.wf__h { margin: 0 0 0.8rem; font: 600 1.35rem/1.2 var(--font-display); letter-spacing: -0.02em; }
.wf__list { list-style: none; margin: 0 0 1rem; padding: 0; }
.wf__line { margin: 0; padding: 0.45rem 0; color: var(--ink-2); border-bottom: 1px solid var(--line); }
.wf__check { position: relative; margin: 0; padding: 0.45rem 0 0.45rem 1.9rem; border-bottom: 1px solid rgba(255, 255, 255, 0.2); }
.wf__check::before { content: ""; position: absolute; left: 0; top: 0.62rem; width: 1rem; height: 1rem; border: 1.5px solid rgba(255, 255, 255, 0.7); border-radius: 5px; }
.wf__btn { display: inline-block; padding: 0.55rem 1rem; font-size: 0.875rem; font-weight: 600; border: 1.5px solid var(--ink); border-radius: 999px; }
.wf__btn--ink { color: var(--white); background: var(--brand); border-color: var(--brand); }
.wfx__notes { width: 100%; margin-top: 0.6rem; border-collapse: collapse; }
.wfx__notes caption { padding-bottom: 0.5rem; text-align: left; font: 600 1rem/1.2 var(--font-display); }
.wfx__notes th, .wfx__notes td { padding: 0.65rem 1rem 0.65rem 0; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
.wfx__notes thead th { font-size: 0.875rem; color: var(--ink-2); }
.wfx__notes td:first-child { width: 48%; color: var(--ink-2); }
.wfx__notes td:last-child { font-weight: 500; }
@media (max-width: 39.99rem) {
  .wfx__notes thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .wfx__notes tr, .wfx__notes td { display: block; width: auto; }
  .wfx__notes td:first-child { width: auto; border-bottom: 0; padding-bottom: 0.1rem; }
}

/* ---- Forms --------------------------------------------------------------- */
.form-layout { display: grid; gap: 1.5rem; }
.form-card { min-width: 0; padding: clamp(1.25rem, 4vw, 2.5rem); background: var(--surface); border-radius: var(--radius-xl); box-shadow: var(--shadow); }
.form-card .form > fieldset:last-of-type { margin-bottom: 1.5rem; }
.aside-card { position: relative; overflow: hidden; padding: clamp(1.4rem, 3.5vw, 2rem) clamp(1.4rem, 3.5vw, 2rem) 4.75rem; color: var(--on-dark); background: linear-gradient(160deg, var(--dark) 0%, var(--dark-2) 100%); border-radius: var(--radius-xl); }
.aside-card h2 { position: relative; z-index: 1; color: var(--white); font-size: 1.35rem; margin-bottom: 0.75em; }
.aside-card__art { position: absolute; z-index: 0; right: -8rem; bottom: -11.5rem; width: 18rem; height: 18rem; color: rgba(255, 255, 255, 0.16); }
.ministeps--dark { position: relative; z-index: 1; }
.ministeps--dark li { border-top-color: rgba(255, 255, 255, 0.14); color: var(--on-dark-2); }
.ministeps--dark li strong { display: block; color: var(--white); }
.ministeps.ministeps--dark li::before { color: var(--white); background: var(--brand); box-shadow: none; }
@media (min-width: 64rem) {
  .form-layout { grid-template-columns: minmax(0, 46rem) minmax(0, 1fr); gap: 2rem; align-items: start; }
  .aside-card { position: sticky; top: 1.5rem; }
}
.form { max-width: 44rem; }
.form fieldset { border: 0; margin: 0 0 2.5rem; padding: 0; }
.form legend { padding: 0; margin-bottom: 1rem; font: 600 1.35rem/1.2 var(--font-display); letter-spacing: -0.02em; }
.field { margin-bottom: 1.4rem; }
.field label, .field .label { display: block; font-weight: 600; margin-bottom: 0.4rem; }
.field .hint { display: block; font-weight: 400; color: var(--ink-2); font-size: 0.9375rem; }
.field input[type="text"], .field input[type="email"], .field input[type="tel"], .field input[type="url"],
.field input[type="password"], .field input[type="date"], .field input[type="number"], .field input[type="month"],
.field select, .field textarea { width: 100%; font: inherit; color: var(--ink); background: var(--field-bg); border: 1.5px solid var(--field-line); border-radius: var(--radius); padding: 0.75rem 0.9rem; }
.field textarea { min-height: 7rem; resize: vertical; line-height: 1.5; }
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible { border-color: var(--brand); outline: 3px solid var(--tint-1); outline-offset: 0; }
.field--error input, .field--error select, .field--error textarea { border-color: var(--brand); }
.field__error { color: var(--alert); font-weight: 600; margin: 0.35rem 0 0; font-size: 0.9375rem; }
.field-pair { display: grid; gap: 0 1.25rem; }
@media (min-width: 40rem) { .field-pair { grid-template-columns: 1fr 1fr; } }
.choices { display: flex; flex-wrap: wrap; gap: 0.5rem 1.5rem; }
.choices label { display: inline-flex; align-items: center; gap: 0.45rem; font-weight: 400; margin: 0; }
.choices input { width: 1.15rem; height: 1.15rem; accent-color: var(--brand); }
.optional { font-weight: 400; color: var(--ink-2); }
.form-errors { max-width: 44rem; margin-bottom: 2rem; padding: 1rem 1.2rem; background: var(--tint-1); border-radius: var(--radius); }
.form-errors h2 { font-size: 1.15rem; margin-bottom: 0.4em; }
.form-errors ul { margin: 0; }
/* A field people never see. Automated form-fillers complete it and give themselves away. */
.field--website-confirm { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* ---- Footer -------------------------------------------------------------- */
.site-footer { background: var(--dark); color: var(--on-dark-2); padding-block: clamp(2.5rem, 5vw, 3.5rem) 1.5rem; font-size: 1rem; }
.site-footer__grid { display: grid; gap: 2rem; }
@media (min-width: 52rem) { .site-footer__grid { grid-template-columns: minmax(0, 5fr) minmax(0, 4fr) minmax(0, 3fr); } }
.site-footer__name { margin-bottom: 0.6rem; font: 700 1.2rem/1 var(--font-display); letter-spacing: -0.02em; color: var(--white); }
.site-footer__label { margin: 0 0 0.7rem; font: 600 0.9375rem/1.2 var(--font-display); color: var(--white); }
.site-footer__label a { text-decoration: none; }
.site-footer p { margin-bottom: 0.4rem; max-width: 34ch; }
.site-footer__links { list-style: none; margin: 0; padding: 0; }
.site-footer__links li { margin: 0 0 0.45rem; }
.site-footer a { color: var(--on-dark); text-decoration-color: rgba(255, 255, 255, 0.3); overflow-wrap: anywhere; }
.site-footer a:hover { color: var(--white); text-decoration-color: var(--white); }
.site-footer__legal { margin-top: 2rem; padding-top: 1.25rem; border-top: 1px solid rgba(255, 255, 255, 0.12); font-size: 0.9375rem; }
.site-footer__legal p { max-width: none; margin: 0; }
.site-footer__legal { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0.75rem 1.5rem; }

/* ---- Motion preferences -------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; animation: none !important; }
}

@media print {
  .site-header, .site-footer, .closing, .nav-toggle, .ticket__controls, .glow, .flow, .ticker { display: none; }
  body { font-size: 11pt; }
  .section, .page-head, .hero, .shero { padding-block: 1rem; background: none; color: #000; }
  .page-head h1, .hero h1, .shero h1 { color: #000; }
}

/* ---- Dark mode (Midnight): an edge where a shadow alone does not separate a card -- */
:root[data-palette="midnight"] .scard__link,
:root[data-palette="midnight"] .app,
:root[data-palette="midnight"] .gapcard,
:root[data-palette="midnight"] .shero__gaps,
:root[data-palette="midnight"] .ticket__sheet,
:root[data-palette="midnight"] .doc,
:root[data-palette="midnight"] .form-card,
:root[data-palette="midnight"] .gaplist__group,
:root[data-palette="midnight"] .parts li,
:root[data-palette="midnight"] .review,
:root[data-palette="midnight"] .gaplist__bar { box-shadow: 0 0 0 1px var(--line), var(--shadow); }
:root[data-palette="midnight"] .gapcard::before, :root[data-palette="midnight"] .shero__gaps::before { background: rgba(255, 255, 255, 0.07); }
:root[data-palette="midnight"] .gapcard::after { background: rgba(255, 255, 255, 0.04); }
:root[data-palette="midnight"] .thumb__row, :root[data-palette="midnight"] .thumb__grid i, :root[data-palette="midnight"] .thumb__bal b { background: #2c2c2c; }
:root[data-palette="midnight"] .thumb__bar { background: var(--ink); opacity: 0.55; }
:root[data-palette="midnight"] .button--light { background: var(--ink); color: var(--bg); }
:root[data-palette="midnight"] .site-footer { border-top: 1px solid var(--line); }
@media print {
  :root[data-palette="midnight"] { color-scheme: light; --ink: #111; --ink-2: #444; --bg: #fff; --alt: #fff; --surface: #fff; --field-bg: #fff; --line: #ccc;
    --link: #000; --link-hover: #000; --alert: #000; --accent-text: #000; --second-ink: #0e7168; --tint-1: #fff; --tint-2: #fff; --solid: #000; --on-solid: #fff; --white: #000; }
}
.section--wash .fit li { background: var(--surface); box-shadow: var(--shadow-sm); }
.parts--plain li::after { content: none; }
@media (min-width: 68rem) { .journey--three li:nth-child(3n)::after { content: none; } }
