/* Gelding Marketing: wireframes v1 (structure mode). Shared foundation.
   Lead builder owns this file. Page builders: NEVER edit it; add a
   "Shared change request" to BUILD-NOTES.md instead.
   Direction: "Type and nothing else" (design-taste draw, seed 624322015),
   brand kept (black + white), one proposed accent (marking orange). */

/* ---------- 1. Tokens ---------- */
:root {
  /* colour: ground, ink, one accent [proposed accent: Chris to approve] */
  --paper: #F4F2EC;        /* ground */
  --paper-2: #E8E5DC;      /* one tone step (stripes, tiles) */
  --ink: #0B0B0B;          /* brand black, text */
  --ink-soft: #4A4843;     /* secondary text on paper (7.9:1) */
  --night: #000000;        /* inverted field = brand black (matches the horse mark, so the Home zoom has no seam) */
  --night-2: #171716;      /* tone step on night */
  --on-night: #F4F2EC;     /* text on night */
  --on-night-soft: #ABA79E;/* secondary text on night (8:1) */
  --accent: #FF5A1F;       /* "marking orange" [proposed]. Fills only; ink text on it (6.3:1). Never as text on paper. */
  --accent-press: #E64A12;
  /* placeholder colours (structure mode) */
  --fill-bg: #FFE0CC;
  --fill-line: #C2410C;
  --fill-bg-night: #3A1D0E;
  --fill-ink-night: #FFC2A0;

  /* type: Big Shoulders (display, uppercase) + Public Sans (text). Five steps. */
  --font-display: "Big Shoulders", "Arial Narrow", "Roboto Condensed", sans-serif;
  --font-text: "Public Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --step-small: clamp(0.8125rem, 0.79rem + 0.1vw, 0.875rem);   /* 13-14 */
  --step-body: clamp(1.0625rem, 1rem + 0.25vw, 1.1875rem);     /* 17-19 */
  --step-lead: clamp(1.25rem, 1.1rem + 0.7vw, 1.625rem);       /* 20-26 */
  --step-head: clamp(2.75rem, 1.4rem + 5vw, 6rem);             /* 44-96, section headings */
  --step-display: clamp(3.75rem, 1rem + 10vw, 10.5rem);        /* 60-168, hero + poster lists */

  /* space: one margin ramp (playbook #18), section rhythm */
  --margin: clamp(16px, 4.8vw - 5px, 40px);
  --gutter: clamp(16px, 2vw, 32px);
  --section: clamp(88px, 6vw + 64px, 200px);
  --maxw: 1680px;
  --header-h: 72px;
  --callbar-h: 0px;

  /* motion: one personality ("Steady": premium, no overshoot) */
  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);        /* entrances, UI */
  --ease-in-out: cubic-bezier(0.77, 0, 0.175, 1);    /* on-screen moves */
  --ease-smooth-out: cubic-bezier(0.22, 1, 0.36, 1); /* menus, panels */
  --dur-press: 140ms;
  --dur-ui: 220ms;
  --dur-close: 150ms;
  --dur-reveal: 760ms;
  --stagger: 70ms;
}
@media (max-width: 700px) {
  :root { --header-h: 60px; --callbar-h: 56px; }
}

/* ---------- 2. Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html {
  -webkit-text-size-adjust: 100%;
  -webkit-tap-highlight-color: transparent;
  scroll-padding-top: calc(var(--header-h) + 16px);
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-text);
  font-size: var(--step-body);
  line-height: 1.55;
  text-rendering: optimizeLegibility;
  padding-bottom: var(--callbar-h);
}
img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
p, h1, h2, h3, h4, ul, ol, figure, blockquote, dl, dd { margin: 0; }
ul, ol { padding: 0; list-style: none; }
h1, h2, h3, h4 { text-wrap: balance; font-weight: 800; }
p, li, dd, blockquote { text-wrap: pretty; }
button, input, select, textarea { font: inherit; color: inherit; }
input, textarea, select { font-size: max(16px, 1em); }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
.night :focus-visible, .site-footer :focus-visible { outline-color: var(--accent); }
::selection { background: var(--accent); color: var(--ink); }
.nobr { white-space: nowrap; }
a[href^="tel:"] { white-space: nowrap; } /* QA 2026-11-05: Privacy "Your choices" split (475) 231-|6548 at 1440 (qa-lessons: no phone number splits) */ /* QA 2026-11-05: keeps "24-month" from splitting at the hyphen on phones */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: var(--margin); top: -60px; z-index: 100; background: var(--ink); color: var(--paper); padding: 10px 14px; }
.skip:focus { top: 8px; }

/* layout helpers */
.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--margin); }
.grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gutter); }
.section { padding-block: var(--section); }
.night { background: var(--night); color: var(--on-night); }
.tone { background: var(--paper-2); }

/* type roles */
.display { font-family: var(--font-display); font-weight: 800; text-transform: uppercase; letter-spacing: -0.005em; line-height: 0.88; }
.h-section { font-family: var(--font-display); font-weight: 800; text-transform: uppercase; font-size: var(--step-head); line-height: 0.9; letter-spacing: -0.005em; }
.lead { font-size: var(--step-lead); line-height: 1.35; }
.small { font-size: var(--step-small); line-height: 1.45; }
.soft { color: var(--ink-soft); }
.night .soft, .site-footer .soft { color: var(--on-night-soft); }
.measure { max-width: 34ch; }

/* ---------- 3. Placeholders (structure mode) ---------- */
/* Inline: words Chris still writes. <span class="fill">[FILL IN: what goes here]</span> */
.fill {
  background: var(--fill-bg);
  color: var(--ink);
  border-bottom: 2px dashed var(--fill-line);
  padding: 0.04em 0.28em;
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
  font-style: normal;
  overflow-wrap: anywhere;
}
.night .fill, .site-footer .fill, .callbar .fill { background: var(--fill-bg-night); color: var(--fill-ink-night); border-bottom-color: var(--accent); }
/* Block: a paragraph-sized placeholder. <p class="fill-block">[FILL IN: 2-3 sentences: who we help and why]</p> */
.fill-block {
  display: block;
  background: var(--fill-bg);
  color: var(--ink);
  border: 2px dashed var(--fill-line);
  padding: 0.9em 1.1em;
  max-width: 40ch;
  font-size: var(--step-body);
  line-height: 1.5;
  overflow-wrap: anywhere;
}
.fill-block--wide { max-width: 62ch; }
/* v3: draft copy that replaced a .fill-block keeps the same measure (no new wrapping) */
.copy { max-width: 40ch; }
.copy--wide { max-width: 62ch; }
/* v3: short draft copy wraps evenly, so no word sits alone on a last line */
main p, main li, main dd, main td, .site-footer p, .word-band .wb-sentence { text-wrap: balance; }
.night .fill-block, .site-footer .fill-block { background: var(--fill-bg-night); color: var(--fill-ink-night); border-color: var(--accent); }
/* Media: a dashed frame the size of the real thing.
   <figure class="insert" style="--ratio: 3/2"><span class="ph-label">INSERT PHOTO: Chris at work</span></figure> */
.insert {
  position: relative;
  display: grid;
  place-items: center;
  place-content: center;
  aspect-ratio: var(--ratio, 3 / 2);
  background: var(--paper-2);
  border: 2px dashed #8E8A80;
  padding: 16px;
  text-align: center;
  overflow: hidden;
}
.night .insert { background: var(--night-2); border-color: #6E6A62; }
.ph-label {
  font-family: var(--font-text);
  font-weight: 700;
  font-size: var(--step-small);
  letter-spacing: 0.01em;
  color: var(--ink);
  max-width: 30ch;
  overflow-wrap: anywhere;
}
.night .ph-label { color: var(--on-night); }
.ph-label b { display: block; font-family: var(--font-display); font-size: clamp(1.75rem, 1rem + 2vw, 3rem); line-height: 0.95; text-transform: uppercase; margin-bottom: 8px; }
/* Case study tile: an INSERT CASE STUDY frame that links to the case-study template */
a.insert { text-decoration: none; color: inherit; }
a.insert .ph-label { transition: translate var(--dur-ui) var(--ease-out); }
a.insert:active { scale: 0.99; }
a.insert { transition: scale var(--dur-press) var(--ease-out), background-color var(--dur-ui) ease; }

/* ---------- 4. Notes layer (hidden by default; viewer toggles ?notes=1 or press N) ---------- */
.note { display: none; }
html.notes-on .note {
  display: block;
  margin-top: 24px;
  max-width: 62ch;
  background: #FFF6C9;
  color: #1A1A1A;
  border-left: 6px solid var(--accent);
  padding: 14px 16px;
  font-family: var(--font-text);
  font-size: 14px;
  line-height: 1.5;
  text-transform: none;
  letter-spacing: 0;
  font-weight: 400;
}
html.notes-on .note strong { font-weight: 700; }
html.notes-on .note ul { list-style: disc; padding-left: 1.2em; }

/* ---------- 5. Buttons and links ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 22px;
  border: 0;
  border-radius: 0;                 /* square, decided once */
  background: var(--accent);
  color: var(--ink);
  font-family: var(--font-text);
  font-weight: 700;
  font-size: 1rem;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  user-select: none;
  -webkit-user-select: none;
  touch-action: manipulation;
  transition: scale var(--dur-press) var(--ease-out), background-color var(--dur-ui) ease, color var(--dur-ui) ease;
}
.btn:active { scale: 0.97; background: var(--accent-press); }
.btn .arr { transition: translate var(--dur-ui) var(--ease-out); }
.btn--ink { background: var(--ink); color: var(--paper); }
.btn--ink:active { background: #2A2A28; }
.btn--sm { min-height: 40px; padding: 0 14px; font-size: 0.9375rem; }
.link {
  font-weight: 700;
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 0.22em;
  transition: text-underline-offset var(--dur-ui) var(--ease-out), color var(--dur-ui) ease;
}
.link:active { color: var(--ink-soft); }
.night .link:active { color: var(--on-night-soft); }
.link .arr { display: inline-block; transition: translate var(--dur-ui) var(--ease-out); }
@media (hover: hover) and (pointer: fine) {
  .btn:hover { background: var(--ink); color: var(--paper); }
  .btn--ink:hover { background: var(--accent); color: var(--ink); }
  .night .btn:hover, .site-footer .btn:hover { background: var(--paper); color: var(--ink); }
  .btn:hover .arr, .link:hover .arr { translate: 4px 0; }
  .link:hover { text-underline-offset: 0.34em; }
  a.insert:hover { background: #DEDAD0; }
  a.insert:hover .ph-label { translate: 0 -4px; }
}

/* ---------- 6. Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--paper);
  height: var(--header-h);
}
.site-header .wrap { height: 100%; display: grid; grid-template-columns: auto 1fr auto; align-items: center; column-gap: 32px; }
.brand { display: inline-flex; align-items: center; text-decoration: none; }
.brand img { height: 40px; width: auto; }               /* full wordmark: never under 40px tall */
.brand .brand-mark { display: none; height: 24px; }       /* "GELDING" alone, phones */
.nav-main { display: flex; gap: clamp(16px, 2vw, 32px); justify-self: center; }
.nav-main a {
  font-weight: 600;
  font-size: 0.9875rem;
  text-decoration: none;
  padding: 10px 0;
  background-image: linear-gradient(currentColor, currentColor);
  background-size: 0% 2px;
  background-repeat: no-repeat;
  background-position: 0 85%;
  transition: background-size var(--dur-ui) var(--ease-out);
}
.nav-main a[aria-current="page"] { background-size: 100% 2px; }
.nav-main a:active { color: var(--ink-soft); }
@media (hover: hover) and (pointer: fine) { .nav-main a:hover { background-size: 100% 2px; } }
.header-cta { display: flex; justify-content: flex-end; align-items: center; gap: 12px; min-width: 130px; }
.header-cta .btn {
  transition: opacity var(--dur-ui) var(--ease-out), translate var(--dur-ui) var(--ease-out), scale var(--dur-press) var(--ease-out), background-color var(--dur-ui) ease, color var(--dur-ui) ease, visibility 0s linear var(--dur-ui);
}
/* playbook #1: hidden while the hero's own button shows; on once it has gone */
html.has-hero .header-cta .btn { opacity: 0; translate: 0 -6px; pointer-events: none; visibility: hidden; }
html.has-hero.hero-gone .header-cta .btn { opacity: 1; translate: 0 0; pointer-events: auto; visibility: visible; transition-delay: 0s; }
.header-cta .btn .short { display: none; }
.menu-btn {
  display: none;
  min-height: 44px;
  padding: 0 4px;
  background: none;
  border: 0;
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  touch-action: manipulation;
  user-select: none;
  -webkit-user-select: none;
  transition: scale var(--dur-press) var(--ease-out);
}
.menu-btn:active { scale: 0.95; }
.menu-btn .lines { display: inline-block; width: 18px; height: 10px; margin-right: 8px; vertical-align: 1px; background: linear-gradient(var(--ink), var(--ink)) 0 0 / 100% 2px no-repeat, linear-gradient(var(--ink), var(--ink)) 0 100% / 100% 2px no-repeat; transition: rotate var(--dur-ui) var(--ease-smooth-out); }
.menu-btn[aria-expanded="true"] .lines { rotate: 90deg; }

/* phone menu (also used at tablet) */
.menu-panel {
  position: fixed;
  inset: var(--header-h) 0 auto 0;
  z-index: 49;
  background: var(--paper);
  padding: 8px var(--margin) 28px;
  max-height: calc(100dvh - var(--header-h));
  overflow-y: auto;
  overscroll-behavior: contain;
  opacity: 0;
  translate: 0 -8px;
  visibility: hidden;
  transition: opacity var(--dur-close) var(--ease-smooth-out), translate var(--dur-close) var(--ease-smooth-out), visibility 0s linear var(--dur-close);
}
.menu-panel.is-open { opacity: 1; translate: 0 0; visibility: visible; transition: opacity 250ms var(--ease-smooth-out), translate 250ms var(--ease-smooth-out), visibility 0s; }
.menu-panel a { display: block; padding: 10px 0; font-family: var(--font-display); font-weight: 800; text-transform: uppercase; font-size: 2.25rem; line-height: 1; text-decoration: none; }
.menu-panel a[aria-current="page"] { color: var(--accent-press); }
.menu-panel a:active { color: var(--ink-soft); }
.menu-panel .menu-sub a { font-family: var(--font-text); text-transform: none; font-size: 1.0625rem; font-weight: 600; padding: 8px 0 8px 16px; }

@media (max-width: 1100px) {
  .nav-main { display: none; }
  .menu-btn { display: inline-flex; align-items: center; }
  .site-header .wrap { grid-template-columns: 1fr auto 1fr; }
  .site-header .menu-btn { justify-self: start; grid-column: 1; grid-row: 1; }
  .site-header .brand { grid-column: 2; grid-row: 1; justify-self: center; }
  .site-header .header-cta { grid-column: 3; grid-row: 1; }
}
@media (max-width: 700px) {
  .site-header .wrap { column-gap: 8px; }
  .brand .brand-full { display: none; }
  .brand .brand-mark { display: block; }
  .header-cta { min-width: 0; }
  .header-cta .btn { min-height: 40px; padding: 0 12px; font-size: 0.9375rem; }
  .header-cta .btn .long { display: none; }
  .header-cta .btn .short { display: inline; }
  .menu-btn .word { font-size: 0.9375rem; }
}

/* phone call bar: CALL ONLY (playbook #2) */
.callbar { display: none; }
@media (max-width: 700px) {
  .callbar {
    display: flex;
    position: fixed;
    left: 0; right: 0; bottom: 0;
    z-index: 48;
    height: calc(var(--callbar-h) + env(safe-area-inset-bottom, 0px));
    padding-bottom: env(safe-area-inset-bottom, 0px);
    background: var(--night);
    color: var(--on-night);
  }
  .callbar a {
    flex: 1;
    display: flex; align-items: center; justify-content: center; gap: 10px;
    font-weight: 700; text-decoration: none; font-size: 1rem;
    touch-action: manipulation; user-select: none; -webkit-user-select: none;
    transition: background-color var(--dur-press) ease;
  }
  .callbar a:active { background: var(--night-2); }
  .callbar .fill { font-weight: 600; font-size: 0.875rem; white-space: nowrap; }
}

/* ---------- 7. Footer ---------- */
.site-footer { background: var(--night); color: var(--on-night); padding-top: clamp(56px, 6vw, 96px); padding-bottom: 24px; }
.footer-cols { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gutter); row-gap: 40px; }
.footer-cols > div { grid-column: span 4; } /* 3 columns since 2026-11-04 (Ownership column removed) */
.footer-cols h2 { font-family: var(--font-text); font-size: 0.875rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.12em; margin-bottom: 12px; color: var(--on-night); } /* Chris 2026-11-04: footer headings in caps, like the rest of the type */
.footer-cols li { margin-bottom: 8px; font-size: 0.9875rem; color: var(--on-night-soft); }
.footer-cols a { text-decoration: none; color: var(--on-night-soft); transition: color var(--dur-ui) ease; }
.footer-cols a:active { color: var(--on-night); }
@media (hover: hover) and (pointer: fine) { .footer-cols a:hover { color: var(--on-night); text-decoration: underline; text-underline-offset: 0.2em; } }
.footer-mark { margin-top: clamp(64px, 14vh, 160px); }
.footer-mark img { width: 100%; height: auto; }                       /* wordmark runs margin to margin */
.footer-legal { margin-top: 20px; display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; font-size: var(--step-small); color: var(--on-night-soft); }
@media (max-width: 1000px) { .footer-cols > div { grid-column: span 6; } }
.footer-cols li { overflow-wrap: anywhere; }
@media (max-width: 700px) {
  .footer-cols { row-gap: 32px; }
  .footer-cols > div:first-child { grid-column: 1 / -1; }  /* contact details get the full row */
  .footer-mark { margin-top: 48px; }
  .footer-mark img { width: auto; height: 40px; }                    /* playbook #14: no big footer name on phones */
}
@media (max-width: 360px) { .footer-cols > div { grid-column: span 12; } }

/* ---------- 8. Reveal (content visible by default; motion only enhances) ---------- */
html.motion.reveal-ready [data-reveal]:not(.is-in) { opacity: 0; translate: 0 24px; }
html.motion.reveal-ready [data-reveal].is-in {
  opacity: 1; translate: 0 0;
  transition: opacity var(--dur-reveal) var(--ease-out), translate var(--dur-reveal) var(--ease-out);
  transition-delay: calc(var(--i, 0) * var(--stagger));
}

/* ---------- 9. Page hero for inner pages (shared pattern "Void, then statement on axis") ---------- */
.page-hero { min-height: calc(78svh - var(--header-h)); display: grid; align-content: end; padding-block: clamp(40px, 8vh, 96px) clamp(48px, 9vh, 104px); }
.page-hero .grid { align-items: end; row-gap: 28px; }
.page-hero h1 { grid-column: 6 / -1; font-family: var(--font-display); font-weight: 800; text-transform: uppercase; font-size: var(--step-display); line-height: 0.88; letter-spacing: -0.005em; }
.page-hero .ph-side { grid-column: 1 / 5; grid-row: 1; align-self: end; display: grid; gap: 20px; justify-items: start; }
@media (max-width: 800px) {
  .page-hero { min-height: auto; padding-top: 48px; }
  .page-hero h1, .page-hero .ph-side { grid-column: 1 / -1; grid-row: auto; }
}

/* masked line reveal for hero headlines (CSS, runs without GSAP) */
.mline { display: block; overflow: hidden; padding-bottom: 0.04em; margin-bottom: -0.04em; }
.mline > span { display: block; }
html.motion .mline > span { animation: mline-up 900ms var(--ease-out) backwards; animation-delay: calc(120ms + var(--l, 0) * 110ms); }
html.motion .hero-after { animation: fade-up 560ms var(--ease-out) backwards; animation-delay: 200ms; }
@keyframes mline-up { from { translate: 0 105%; } to { translate: 0 0; } }
@keyframes fade-up { from { opacity: 0; translate: 0 16px; } to { opacity: 1; translate: 0 0; } }

/* ---------- 10. Shared section patterns (documented in BUILD-NOTES.md) ---------- */

/* 10a. Poster list: names at display size, description beside (Home "What we do") */
.poster-list { display: grid; row-gap: 0.35em; }
.poster-row { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gutter); align-items: first baseline; text-decoration: none; color: inherit; }
.poster-row .name { grid-column: 1 / 9; font-family: var(--font-display); font-weight: 800; text-transform: uppercase; font-size: var(--step-display); line-height: 0.92; letter-spacing: -0.005em; transition: color var(--dur-ui) ease, translate var(--dur-ui) var(--ease-out); }
.poster-row .desc { grid-column: 9 / -1; font-size: var(--step-body); }
.poster-row.is-head .name { color: var(--on-night-soft); }
.poster-row:active .name { translate: 6px 0; }
@media (hover: hover) and (pointer: fine) {
  .poster-list:hover a.poster-row .name { color: var(--on-night-soft); }
  .poster-list a.poster-row:hover .name { color: var(--accent); translate: 10px 0; }
}
@media (max-width: 800px) {
  .poster-list { row-gap: 32px; }
  .poster-row .name { grid-column: 1 / -1; font-size: clamp(3rem, 15vw, 5rem); }
  .poster-row .desc { grid-column: 1 / -1; padding-left: var(--margin); margin-top: 10px; }
}

/* 10b. Slip: the process printed as a job ticket (Home + How it works) */
.slip-band { background: var(--night); color: var(--on-night); }
.slip-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gutter); align-items: start; row-gap: 40px; }
.slip-grid > .slip-text { grid-column: 1 / 6; display: grid; gap: 24px; justify-items: start; }
.slip-grid > .slip { grid-column: 7 / 12; }
.slip {
  background: var(--paper);
  color: var(--ink);
  padding: 32px 28px 64px;
  max-width: 520px;
  width: 100%;
  font-size: 1rem;
  font-variant-numeric: tabular-nums;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 14px), 96% 100%, 92% calc(100% - 14px), 88% 100%, 84% calc(100% - 14px), 80% 100%, 76% calc(100% - 14px), 72% 100%, 68% calc(100% - 14px), 64% 100%, 60% calc(100% - 14px), 56% 100%, 52% calc(100% - 14px), 48% 100%, 44% calc(100% - 14px), 40% 100%, 36% calc(100% - 14px), 32% 100%, 28% calc(100% - 14px), 24% 100%, 20% calc(100% - 14px), 16% 100%, 12% calc(100% - 14px), 8% 100%, 4% calc(100% - 14px), 0 100%);
}
.slip-top { display: flex; justify-content: space-between; gap: 12px; font-weight: 700; padding-bottom: 4px; }
.slip h3 { font-family: var(--font-text); font-size: 1rem; font-weight: 700; margin-top: 28px; margin-bottom: 6px; text-transform: none; }
.slip-row { display: grid; grid-template-columns: auto 1fr auto; align-items: baseline; gap: 10px; padding: 6px 0; }
.slip-row .dots { height: 4px; align-self: center; background-image: radial-gradient(circle, var(--ink) 1.6px, transparent 2px); background-size: 8px 4px; background-repeat: repeat-x; opacity: 0.55; }
.slip-row .val { text-align: right; }
.slip-total { margin: 28px -28px 0; background: var(--ink); color: var(--paper); min-height: 44px; padding: 10px 28px; display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 12px; font-weight: 700; }
.slip-total .fill { background: var(--fill-bg-night); color: var(--fill-ink-night); border-bottom-color: var(--accent); }
@media (max-width: 900px) {
  .slip-grid > .slip-text, .slip-grid > .slip { grid-column: 1 / -1; }
  .slip { max-width: none; padding: 24px 18px 56px; }
  .slip-total { margin-inline: -18px; padding-inline: 18px; }
  .slip-row { grid-template-columns: minmax(0, 1fr) 24px auto; }
}

/* 10c. Two giant words compared (Home "Who owns it") */
.compare-head { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gutter); row-gap: 20px; align-items: start; }
.compare-head h2 { grid-column: 1 / 6; }
.compare-head .compare-text { grid-column: 7 / -1; display: grid; gap: 16px; justify-items: start; }
.specimens { margin-top: 12vh; display: grid; grid-template-columns: 1fr 1fr; column-gap: var(--gutter); }
.specimen { position: relative; } /* Chris 2026-11-02: words were cropped to ~60% height on purpose and read as "cut off"; now shown whole */
.specimen .cap { display: block; margin-bottom: 10px; font-size: 1rem; font-weight: 600; }
.specimen .word { display: block; font-family: var(--font-display); font-weight: 800; text-transform: uppercase; font-size: clamp(110px, 18vw, 340px); line-height: 0.86; letter-spacing: -0.01em; padding-bottom: 0.04em; }
.specimen--b { background: var(--ink); color: var(--paper); padding: 0 12px 14px; }
.specimen--b .cap { padding-top: 10px; }
@media (max-width: 700px) {
  .compare-head h2, .compare-head .compare-text { grid-column: 1 / -1; }
  .specimens { grid-template-columns: 1fr; row-gap: 16px; margin-top: 48px; }
  .specimen { height: auto; }
  .specimen .word { font-size: 36vw; }
}

/* 10d. Bento of INSERT CASE STUDY tiles (playbook 0h, 0g) */
.bento { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--gutter); }
.bento > .t-wide { grid-column: 1 / -1; --ratio: 21 / 8; }
.bento > .t-large { grid-column: 1 / 8; --ratio: 4 / 3; }
.bento > .t-tall { grid-column: 8 / -1; --ratio: auto; aspect-ratio: auto; }
@media (max-width: 700px) {
  .bento > .t-wide { --ratio: 4 / 3; }
  .bento > .t-large, .bento > .t-tall { grid-column: 1 / -1; }
  .bento > .t-tall { aspect-ratio: 3 / 4; }
}

/* 10e. Plans as a large table (Home + Pricing) */
.plans { width: 100%; table-layout: fixed; border-collapse: collapse; font-size: clamp(1.0625rem, 0.9rem + 0.5vw, 1.375rem); }
.plans th, .plans td { text-align: left; vertical-align: top; padding: 20px 16px; }
.plans tbody tr:nth-child(odd) { background: var(--paper-2); }
.plans thead th { vertical-align: bottom; padding-top: 0; }
.plans .plan-name { display: block; font-family: var(--font-display); font-weight: 800; text-transform: uppercase; font-size: clamp(2rem, 1rem + 2.6vw, 3.75rem); line-height: 0.9; }
.plans .plan-price { display: block; margin-top: 10px; font-weight: 400; }
.plans .row-label { font-weight: 600; width: 28%; }
.plans thead .row-label h2 { font-size: var(--step-head); }
.plans tfoot td { padding-top: 28px; }
@media (max-width: 800px) {
  .plans, .plans tbody, .plans tr, .plans td, .plans th { display: block; width: 100%; }
  .plans thead { display: none; }
  .plans tbody tr { background: none !important; padding: 0; }
  .plans td { padding: 0 0 18px; }
  .plans td::before { content: attr(data-label); display: block; color: var(--ink-soft); font-size: 1rem; margin-bottom: 4px; }
  .plans .row-label { display: none; }
  .plans tfoot { display: none; }
}
.plan-cards { display: none; }
@media (max-width: 800px) {
  .plans-wrap .plans { display: none; }
  .plan-cards { display: grid; gap: 16px; }
  .plan-card { background: var(--paper-2); padding: 24px 18px; display: grid; gap: 14px; }
  .plan-card h3 { font-family: var(--font-display); text-transform: uppercase; font-size: clamp(2rem, 8vw, 2.5rem); line-height: 0.9; }
  .plan-card dt { color: var(--ink-soft); font-size: 1rem; }
  .plan-card dd { margin-bottom: 10px; }
  .plan-card .btn { width: 100%; }
}

/* 10f. Highlighted-words statement (Home "Who we are") */
.statement-cols { columns: 2; column-gap: var(--gutter); font-size: clamp(1.375rem, 0.9rem + 1.2vw, 2rem); line-height: 1.22; color: var(--ink-soft); }
.statement-cols p + p { margin-top: 0.6em; }
.statement-cols strong { color: var(--ink); font-weight: 600; }
.hl { background: var(--paper-2); color: var(--ink); padding: 0 0.1em; box-decoration-break: clone; -webkit-box-decoration-break: clone; }
.hl--accent { background: var(--accent); color: var(--ink); }
.hl--ink { background: var(--ink); color: var(--paper); }
a.hl { text-decoration: none; transition: background-color var(--dur-ui) ease, color var(--dur-ui) ease; }
a.hl:active { background: var(--accent-press); }
@media (hover: hover) and (pointer: fine) { a.hl--accent:hover { background: var(--ink); color: var(--paper); } }
@media (max-width: 800px) { .statement-cols { columns: 1; font-size: 1.25rem; line-height: 1.3; } }

/* 10g. Q and A as a table: big question, answer beside, all open */
.qa { display: grid; row-gap: clamp(48px, 6vw, 84px); }
.qa-row { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gutter); align-items: first baseline; }
.qa-row .q { grid-column: 1 / 7; font-family: var(--font-text); font-weight: 600; font-size: clamp(1.625rem, 1rem + 1.6vw, 2.5rem); line-height: 1.1; text-transform: none; }
.qa-row .a { grid-column: 8 / -1; max-width: 42ch; }
.qa-row.is-head .q { color: var(--ink-soft); }
@media (max-width: 800px) {
  .qa { row-gap: 48px; }
  .qa-row .q, .qa-row .a { grid-column: 1 / -1; }
  .qa-row .q { font-size: 1.5rem; }
  .qa-row .a { margin-top: 12px; }
}

/* 10h. One word is the button (CTA band) */
.word-band {
  position: relative;
  display: grid;
  grid-template-rows: auto 1fr;
  min-height: 60svh;
  padding: 24px var(--margin) 0;
  background: var(--accent);
  color: var(--ink);
  text-decoration: none;
  overflow: hidden;
  transition: background-color 120ms ease, color 120ms ease;
  touch-action: manipulation;
}
.word-band .wb-top { display: flex; justify-content: space-between; align-items: start; gap: 24px; max-width: var(--maxw); width: 100%; margin-inline: auto; }
.word-band .wb-sentence { font-size: 1.25rem; font-weight: 600; max-width: 34ch; }
.word-band .wb-arrow { width: 48px; height: 48px; flex: none; transition: translate var(--dur-ui) var(--ease-out); }
.word-band .wb-word { align-self: end; font-family: var(--font-display); font-weight: 800; text-transform: uppercase; font-size: clamp(9rem, 46vw, 52rem); line-height: 0.74; letter-spacing: -0.02em; margin-bottom: -0.02em; white-space: nowrap; max-width: var(--maxw); width: 100%; margin-inline: auto; }
/* QA v1: at line-height 0.74 the letters' ink rises ~0.06em above the line box, so at 1280+ (where the
   band grows with the word) BOOK covered the sentence's second line. Room above the ink, not below it. */
.word-band .wb-word { padding-top: 0.1em; }
.word-band:active { background: var(--accent-press); }
.word-band:focus-visible { outline-offset: -6px; outline-color: var(--ink); }
@media (hover: hover) and (pointer: fine) {
  .word-band:hover { background: var(--ink); color: var(--accent); }
  .word-band:hover .wb-arrow { translate: 6px -6px; }
  .word-band:hover .fill { background: var(--fill-bg-night); color: var(--fill-ink-night); }
}
@media (max-width: 700px) {
  .word-band { min-height: 46svh; }
  .word-band .wb-sentence { font-size: 1.0625rem; }
  .word-band .wb-arrow { width: 32px; height: 32px; }
  .word-band .wb-word { font-size: 46vw; }
}

/* 10i. Section heading row: heading left, text right (used by most sections) */
.head-row { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gutter); row-gap: 20px; align-items: end; margin-bottom: clamp(40px, 5vw, 72px); }
.head-row > h2 { grid-column: 1 / 7; }
.head-row > .head-text { grid-column: 8 / -1; display: grid; gap: 16px; justify-items: start; }
@media (max-width: 800px) { .head-row > h2, .head-row > .head-text { grid-column: 1 / -1; } }

/* 10j. Search-result preview (Home Website SEO; reusable on Websites) */
.serp-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gutter); row-gap: 32px; align-items: start; }
.serp-controls { grid-column: 1 / 6; display: grid; gap: 28px; }
.serp-out { grid-column: 7 / -1; display: grid; gap: 12px; }
.serp-controls fieldset { border: 0; padding: 0; margin: 0; min-width: 0; }
.serp-controls legend, .town-field > span { display: block; font-weight: 700; margin-bottom: 12px; padding: 0; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips label { position: relative; cursor: pointer; }
.chips input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.chips span { display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px; background: var(--paper-2); font-weight: 600; user-select: none; -webkit-user-select: none; transition: background-color var(--dur-ui) ease, color var(--dur-ui) ease, scale var(--dur-press) var(--ease-out); }
.chips input:checked + span { background: var(--ink); color: var(--paper); }
.chips input:focus-visible + span { outline: 3px solid var(--accent); outline-offset: 2px; }
.chips label:active span { scale: 0.96; }
@media (hover: hover) and (pointer: fine) { .chips label:hover input:not(:checked) + span { background: #DAD6CC; } }
.town-field input { width: 100%; max-width: 420px; min-height: 52px; padding: 0 16px; background: var(--paper); border: 2px solid var(--ink); border-radius: 0; font-size: 1.125rem; }
.town-field input:focus-visible { outline-offset: 2px; }
.serp-label { color: var(--ink-soft); font-weight: 600; }
.serp-card { background: #FFFFFF; padding: clamp(20px, 3vw, 36px); display: grid; gap: 6px; }
.serp-url { font-size: 0.9375rem; color: var(--ink-soft); overflow-wrap: anywhere; }
.serp-title { font-size: clamp(1.25rem, 1rem + 0.9vw, 1.75rem); font-weight: 600; line-height: 1.2; text-decoration: underline; text-decoration-color: var(--accent); text-decoration-thickness: 3px; text-underline-offset: 0.18em; overflow-wrap: anywhere; }
.serp-desc { color: var(--ink); max-width: 60ch; text-wrap: balance; }   /* QA v1: no lone "it." on the sample line */
.serp-card.is-swap > * { animation: serp-swap 150ms var(--ease-out) both; }
@keyframes serp-swap { from { opacity: 0.35; } to { opacity: 1; } }
@media (max-width: 800px) { .serp-controls, .serp-out { grid-column: 1 / -1; } }
/* QA v1: five trade chips in the 5-column control panel wrapped 4 + 1 ("Carpentry" alone) at 1024-2000.
   Desktop: three columns, so the rows are 3 + 2. Narrow phones: tighter chips so 320 stays 2 + 3, not 2 + 2 + 1. */
@media (min-width: 801px) { .serp-controls .chips { display: grid; grid-template-columns: repeat(3, max-content); } .serp-controls .chips span { width: 100%; } }
@media (max-width: 360px) { .serp-controls .chips span { padding: 0 12px; } }

/* small Home helpers */
.who-h { margin-bottom: clamp(32px, 4vw, 56px); }
.price-more, .faq-more { margin-top: clamp(32px, 4vw, 56px); }
.plan-cards > .h-section { margin-bottom: 8px; }
@media (max-width: 380px) { .menu-btn .lines { display: none; } }

/* ---------- 12. Integration (lead, v1): shared requests from the page builders ---------- */
/* 12a. Faces on a tone field: INSERT frames and chips take --paper so they never melt into --paper-2 (request B) */
.tone .insert, .tone .chips span { background: var(--paper); }
a > .insert { transition: background-color var(--dur-ui) ease; }
@media (hover: hover) and (pointer: fine) {
  .tone a.insert:hover, .tone a:hover > .insert { background: #FBFAF6; }
  .tone .chips label:hover input:not(:checked) + span { background: #FBFAF6; }
}
/* 12b. Q and A whose only heading is its first row: .qa--titled sets that row as the section heading (request B) */
.qa--titled .qa-row.is-head .q { font-family: var(--font-display); font-weight: 800; text-transform: uppercase; font-size: var(--step-head); line-height: 0.9; color: var(--ink); }
.qa--titled + .qa-more, .qa-more { margin-top: clamp(32px, 4vw, 56px); }
/* 12c. Bar list: a short list with a 16x5 ink bar before each item (request A: services, seo-plus, monthly-upkeep) */
.bar-list { display: grid; gap: 12px; }
.bar-list > li { display: grid; grid-template-columns: 16px minmax(0, 1fr); gap: 14px; align-items: baseline; }
.bar-list > li::before { content: ""; width: 16px; height: 5px; background: currentColor; translate: 0 -0.3em; }

/* ---------- 11. Reduced motion: keep content and fades, drop travel ---------- */
@media (prefers-reduced-motion: reduce) {
  html.motion [data-reveal] { translate: none; }
  html.motion .mline > span { animation: none; }
  html.motion .hero-after { animation: none; }
  .btn, .link, .poster-row .name, a.insert, .menu-panel { transition-duration: 0.01ms !important; }
}

/* Rent / Own words link to their details pages (2026-11-03) */
a.specimen--link { display: block; color: inherit; text-decoration: none; }
a.specimen--link.specimen--b { color: var(--paper); }
a.specimen--link .cap .arr { display: inline-block; transition: transform 200ms var(--ease-out, ease-out); }
@media (hover: hover) and (pointer: fine) { a.specimen--link:hover .cap .arr { transform: translateX(6px); } a.specimen--link:not(.specimen--b):hover { background: #DAD6CC; } }
a.specimen--link:not(.specimen--b) { padding: 0 12px 14px; }
a.specimen--link:not(.specimen--b) .cap { padding-top: 10px; }
a.specimen--link:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
@media (prefers-reduced-motion: reduce) { a.specimen--link .cap .arr { transition: none; } }

/* Shared form fields (2026-11-03, from Contact) */
.field { display: grid; gap: 8px; align-content: start; min-width: 0; border: 0; padding: 0; margin: 0; }
.field > label, .field > legend { font-weight: 700; font-size: 1rem; padding: 0; }
.opt { font-weight: 400; color: var(--ink-soft); }
.field input, .field select, .field textarea { width: 100%; min-height: 52px; padding: 12px 14px; background: var(--paper); border: 2px solid var(--ink); border-radius: 0; font-size: 1.0625rem; line-height: 1.4; color: var(--ink); }
.field textarea { resize: vertical; min-height: 120px; }
.field input:focus-visible, .field textarea:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
.field.is-error input, .field.is-error textarea { border-color: #B42318; background-color: #FFF4F2; }
.err { color: #B42318; font-weight: 600; font-size: 0.9375rem; }
.err:empty { display: none; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-status { font-weight: 600; }
.form-status:empty { display: none; }

/* About: send us a note (2026-11-03) */
.ab-note { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gutter); row-gap: 40px; align-items: start; }
.ab-note-text { grid-column: 1 / 6; display: grid; gap: 24px; justify-items: start; }
.ab-note-form { grid-column: 7 / -1; }
.ab-form { display: grid; gap: 20px; justify-items: stretch; }
.ab-form .btn { justify-self: start; min-width: 160px; }
.ab-form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px var(--gutter); }
.ab-done { display: grid; gap: 12px; padding: 32px; background: var(--paper); outline: none; }
@media (max-width: 900px) { .ab-note-text, .ab-note-form { grid-column: 1 / -1; } }
@media (max-width: 600px) { .ab-form-row { grid-template-columns: 1fr; } .ab-form .btn { width: 100%; } }

/* Legal pages (2026-11-03) */
.legal-text { max-width: 760px; display: grid; gap: 16px; }
.legal-text h2 { font-family: var(--font-display); font-weight: 800; text-transform: uppercase; font-size: clamp(1.6rem, 1rem + 1.4vw, 2.4rem); line-height: 1; margin-top: 20px; }
.legal-text ul { display: grid; gap: 10px; padding-left: 1.2em; list-style: disc; }
.form-legal { font-size: 0.875rem; color: var(--ink-soft); }

/* Build timelapse (How it works, 2026-11-04): the looping WebP in a fixed 16:10 frame on a black field */
.tl-frame { margin: 0; background: var(--night); padding: clamp(8px, 1.1vw, 16px); }
.tl-frame picture, .tl-frame img { display: block; width: 100%; aspect-ratio: 16 / 10; }
.tl-frame img { height: auto; object-fit: cover; object-position: top center; background: var(--paper); }

/* Two plans, Own | Rent, then add-ons (Chris 2026-11-05, pricing + Home). Own on paper, Rent on the night field; stacked under 800px. */
.pp-head { margin-bottom: clamp(32px, 4vw, 64px); }
.pp-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--gutter); align-items: stretch; }
.pp { background: var(--paper); color: var(--ink); padding: clamp(24px, 3vw, 48px); display: grid; grid-template-rows: auto auto auto 1fr auto; gap: clamp(16px, 1.8vw, 24px); align-content: start; }
.pp--night { background: var(--night); color: var(--on-night); }
.pp-name { font-family: var(--font-display); font-weight: 800; text-transform: uppercase; font-size: clamp(2.125rem, 1rem + 4vw, 5rem); line-height: 0.85; letter-spacing: -0.01em; }
.pp-tag { font-size: var(--step-lead); line-height: 1.3; font-weight: 600; max-width: 26ch; }
.pp-price { display: grid; gap: 6px; padding-block: clamp(16px, 1.6vw, 24px); background: var(--paper-2); padding-inline: clamp(16px, 1.6vw, 24px); }
.pp--night .pp-price { background: var(--night-2); }
.pp-fig { font-family: var(--font-display); font-weight: 800; font-size: clamp(2.75rem, 1.6rem + 3vw, 4.5rem); line-height: 0.95; font-variant-numeric: tabular-nums; }
.pp-fig small { font-family: var(--font-text); font-weight: 600; font-size: var(--step-body); margin-left: 6px; }
.pp-sub { color: var(--ink-soft); }
.pp--night .pp-sub { color: var(--on-night-soft); }
.pp-list { display: grid; gap: 12px; align-content: start; }
.pp-list li { position: relative; padding-left: 26px; max-width: 46ch; }
.pp-list li::before { content: ""; position: absolute; left: 0; top: 0.5em; width: 12px; height: 12px; background: var(--accent); }
.pp-go { justify-self: start; }
.btn--paper { background: var(--paper); color: var(--ink); }
.btn--paper:active { background: var(--paper-2); }
.addons { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--gutter); align-items: stretch; }
.addon { background: var(--paper-2); padding: clamp(24px, 2.6vw, 40px); display: grid; gap: 16px; align-content: start; }
.addon-name { font-family: var(--font-display); font-weight: 800; text-transform: uppercase; font-size: clamp(2.25rem, 1rem + 2.6vw, 3.75rem); line-height: 0.9; }
.addon-for { font-weight: 700; font-size: 1rem; }
.addon-tag { justify-self: start; font-weight: 700; font-size: 0.9375rem; padding: 4px 10px; background: var(--accent); color: var(--ink); }
.addon-terms { display: grid; gap: 4px; }
.addon-terms div { display: flex; justify-content: space-between; gap: 16px; padding: 10px 0; }
.addon-terms div + div { box-shadow: inset 0 3px 0 var(--paper); }
.addon-terms dd { font-weight: 700; font-variant-numeric: tabular-nums; white-space: nowrap; }
.addon .pp-list li { max-width: none; }
.addon-small { color: var(--ink-soft); max-width: 52ch; }
.pp-addline { margin-top: clamp(24px, 3vw, 40px); font-size: var(--step-lead); line-height: 1.35; max-width: 62ch; }
@media (max-width: 800px) {
  .pp-grid, .addons { grid-template-columns: minmax(0, 1fr); }
}
.pp--tone { background: var(--paper-2); }
.pp--tone .pp-price { background: var(--paper); }
