/* ==========================================================================
   pioneeraidata.com design system (facelift 2026-11-20, direction "The Plan")

   Light pages, navy type, bone as the second surface, navy for the booking
   band and the footer. Orange is the main button and the small tick before a
   page's kicker, nothing else. Electric is for checks, status dots, and focus.

   Every page links this file through build-pages.py, which stamps a hash of
   these bytes into the link (?v=...), so a changed file always gets a new URL
   past Cloudflare's cache. Edit here, then run: python3 build-pages.py
   ========================================================================== */

:root {
  /* brand palette (BRAND.md) */
  --navy: #0D1B4B;
  --navy-deep: #091538;
  --orange: #F5821F;
  --orange-press: #E2721A;
  --electric: #0099FF;
  --bone: #F4F1EA;
  --white: #FFFFFF;
  --slate: #4A5568;
  --soft: #5A6178;
  --line: #E4E2DA;
  --muted: #8893B8;

  /* roles: components read these, bands redefine them */
  --fg: var(--navy);
  --fg-body: var(--slate);
  --fg-soft: var(--soft);
  --rule: var(--line);
  --surface: var(--white);

  --font: "Inter", system-ui, -apple-system, "Segoe UI", "Helvetica Neue", Arial, sans-serif;

  /* full bleed: bands run edge to edge; past 2144px the content block stays 2000px */
  /* full bleed at every width (Jeff, 2026-11-20: "every page needs to be full bleed") */
  --gutter: clamp(20px, 3.6vw, 72px);
  --sec-y: clamp(64px, 8vw, 132px);
  --header-h: 84px;
  --z: 1;             /* the wide-screen zoom factor, for vh math inside zoomed blocks */

  --paper-shadow: 0 1px 1px rgba(13, 27, 75, .06), 0 18px 40px -18px rgba(13, 27, 75, .28), 0 50px 80px -40px rgba(13, 27, 75, .22);
  --ease: cubic-bezier(.22, .61, .36, 1);
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
html {
  font-family: var(--font);
  font-optical-sizing: auto;
  /* cv08: capital I with serifs, so "AI" never reads as "Al" */
  font-feature-settings: "cv08" 1;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  -webkit-text-size-adjust: 100%;
  scroll-padding-top: calc(var(--header-h) + 16px);
  background: var(--white);
}
body {
  font-size: 18.5px;
  line-height: 1.7;
  color: var(--fg-body);
  background: var(--white);
  overflow-x: hidden;
}
img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; }
ul, ol { list-style: none; }
h1, h2, h3, h4 { color: var(--fg); text-wrap: balance; font-weight: 800; }
p { text-wrap: pretty; }
strong, b { font-weight: 650; color: var(--fg); }
::selection { background: rgba(0, 153, 255, .18); }
:focus-visible { outline: 3px solid var(--fg); outline-offset: 3px; border-radius: 4px; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
/* keeps a hyphenated word on one line (no-heat, after-hours) without changing the text search engines read */
.nw { white-space: nowrap; }
.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: 12px; top: -60px; z-index: 300; background: var(--navy); color: var(--white); padding: 10px 16px; border-radius: 8px; font-weight: 650; }
.skip:focus { top: 12px; }

.icon { width: 1em; height: 1em; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.icon-fill { fill: currentColor; stroke: none; }

/* ---------- type ---------- */
/* a calm scale: big enough to lead, never shouting (Jeff, 2026-11-20: "more organic") */
.display {
  font-size: clamp(44px, 5.1vw, 94px);
  line-height: 1;
  letter-spacing: -.032em;
  font-weight: 760;
}
h1, .h1 { font-size: clamp(40px, 4vw, 72px); line-height: 1.02; letter-spacing: -.03em; font-weight: 760; }
h2, .h2 { font-size: clamp(30px, 2.7vw, 50px); line-height: 1.08; letter-spacing: -.026em; font-weight: 750; }
h3, .h3 { font-size: clamp(20px, 1.35vw, 24px); line-height: 1.25; letter-spacing: -.015em; font-weight: 700; }
h4, .h4 { font-size: 18px; line-height: 1.3; letter-spacing: -.01em; font-weight: 700; }
.lede { font-size: clamp(18.5px, 1.3vw, 22px); line-height: 1.6; color: var(--fg-body); }
.small { font-size: 15.5px; line-height: 1.55; }
.note { font-size: 15px; line-height: 1.55; color: var(--fg-soft); }
.measure { max-width: 40em; }
.measure-wide { max-width: 52em; }
.kicker {
  display: flex; align-items: center; gap: 10px;
  font-size: 15px; font-weight: 600; line-height: 1.3; color: var(--fg-soft);
}
.kicker::before { content: ""; width: 22px; height: 2px; background: var(--orange); flex: none; }
.accent-text { color: var(--fg); }
.tnum { font-variant-numeric: tabular-nums; }

/* inline links inside running text */
.prose a, .link {
  color: var(--fg);
  font-weight: 550;
  text-decoration: underline;
  text-decoration-color: var(--electric);
  text-decoration-thickness: 1.5px;
  text-underline-offset: 3px;
}
.prose a:hover, .link:hover { text-decoration-thickness: 3px; }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 650; color: var(--fg); }
.link-arrow .icon { transition: transform .2s var(--ease); }
.link-arrow:hover .icon { transform: translateX(3px); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 24px; border-radius: 10px;
  font-size: 17px; font-weight: 650; letter-spacing: -.005em; line-height: 1.15; text-align: center;
  white-space: nowrap; transition: background-color .18s var(--ease), color .18s var(--ease), box-shadow .18s var(--ease);
}
.btn .icon { font-size: 18px; transition: transform .2s var(--ease); }
.btn:hover .icon { transform: translateX(3px); }
.btn-primary { background: var(--orange); color: var(--navy); }
.btn-primary:hover { background: var(--orange-press); }
.btn-line { color: var(--fg); box-shadow: inset 0 0 0 1.5px currentColor; }
.btn-line:hover { background: var(--fg); color: var(--surface); }
.btn-sm { min-height: 44px; padding: 0 18px; font-size: 15.5px; border-radius: 9px; }
.actions { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }

/* ---------- bands (full-bleed sections) ---------- */
.band { padding: var(--sec-y) var(--gutter); background: var(--surface); }
.band--bone { --surface: var(--bone); background-color: var(--bone); }
.band--white + .band--white, .band:not(.band--bone):not(.band--navy) + .band:not(.band--bone):not(.band--navy) { border-top: 1px solid var(--line); }
.band--navy, .site-footer {
  --fg: var(--bone);
  --fg-body: rgba(244, 241, 234, .82);
  --fg-soft: var(--muted);
  --rule: rgba(244, 241, 234, .14);
  --surface: var(--navy);
  background: var(--navy);
  color: var(--fg-body);
}
.band--tight { padding-top: clamp(40px, 5vw, 72px); padding-bottom: clamp(40px, 5vw, 72px); }

/* section heading row: headline left, intro right */
.sec-head {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 20px clamp(32px, 6vw, 120px); align-items: start;
  margin-bottom: clamp(36px, 4.5vw, 72px);
}
.sec-head > p { max-width: 36em; padding-top: .35em; }
.sec-head.stack { grid-template-columns: minmax(0, 1fr); }
.sec-head.stack > * { max-width: 46em; }

/* generic grids */
.split { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: clamp(36px, 6vw, 120px); align-items: start; }
.split--even { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.split--center { align-items: center; }
.cols-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(24px, 3vw, 48px); }
.cols-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(24px, 3vw, 48px); }
.cols-4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(24px, 3vw, 48px); }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  display: flex; align-items: center; gap: clamp(24px, 3vw, 48px);
  height: var(--header-h); padding: 0 var(--gutter);
  background: rgba(255, 255, 255, .96);
  -webkit-backdrop-filter: saturate(1.4) blur(10px); backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid var(--line);
}
.brand { display: block; flex: none; }
.brand img { height: 46px; width: auto; }
.site-nav { display: flex; align-items: center; gap: clamp(20px, 2.1vw, 36px); }
.site-nav a { position: relative; padding: 8px 0; font-size: 16px; font-weight: 550; color: var(--navy); }
.site-nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 2px; height: 2px; background: var(--navy); transform: scaleX(0); transform-origin: left; transition: transform .2s var(--ease); }
.site-nav a:hover::after, .site-nav a[aria-current="page"]::after { transform: scaleX(1); }
.header-end { margin-left: auto; display: flex; align-items: center; gap: 24px; }
.header-phone { display: flex; align-items: center; gap: 8px; font-size: 16px; font-weight: 600; color: var(--navy); font-variant-numeric: tabular-nums; white-space: nowrap; }
.header-phone .icon { font-size: 17px; }
.nav-toggle { display: none; align-items: center; gap: 8px; min-height: 44px; padding: 0 14px; border-radius: 9px; box-shadow: inset 0 0 0 1.5px var(--line); font-size: 15.5px; font-weight: 650; color: var(--navy); }
.nav-toggle .icon { font-size: 20px; }
.nav-toggle .i-close { display: none; }
.nav-open .nav-toggle .i-close { display: block; }
.nav-open .nav-toggle .i-menu { display: none; }

.site-nav .nav-phone { display: none; align-items: center; gap: 8px; border-bottom: 0; font-weight: 600; }
@media (max-width: 1320px) { .header-phone { display: none; } }
@media (max-width: 1080px) {
  .nav-toggle { display: inline-flex; }
  .site-nav {
    display: none; position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    padding: 8px var(--gutter) 24px; background: var(--white);
    border-bottom: 1px solid var(--line); box-shadow: 0 24px 40px -24px rgba(13, 27, 75, .25);
    max-height: calc(100vh - var(--header-h)); overflow-y: auto;
  }
  .nav-open .site-nav { display: flex; }
  .site-nav a { padding: 14px 0; font-size: 19px; border-bottom: 1px solid var(--line); }
  .site-nav a::after { display: none; }
  .site-nav .nav-phone { display: flex; }
}
@media (max-width: 640px) {
  :root { --header-h: 70px; }
  .brand img { height: 38px; }
  .header-end { gap: 10px; }
  .header-end .btn-sm { padding: 0 14px; }
  .nav-toggle .label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .nav-toggle { padding: 0 11px; }
}

/* ---------- hero (home): copy left, the plan on a bone desk right ---------- */
.hero { display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(0, 1fr); min-height: min(calc(100vh - var(--header-h)), 900px); }
.hero-copy { padding: clamp(48px, 7vh, 96px) clamp(24px, 4vw, 72px) clamp(48px, 6vh, 80px) var(--gutter); display: flex; flex-direction: column; justify-content: center; }
.hero-copy .kicker { margin-bottom: 28px; }
.hero-copy .display { max-width: 10.5ch; }
.hero-copy .lede { margin-top: 32px; max-width: 34em; }
.hero-copy .actions { margin-top: 40px; }
.terms { display: flex; flex-wrap: wrap; gap: 10px 28px; margin-top: 44px; padding-top: 24px; border-top: 1px solid var(--rule); font-size: 15.5px; font-weight: 550; color: var(--fg); max-width: 44em; }
.terms li { display: flex; align-items: center; gap: 8px; }
.terms .icon { color: var(--electric); font-size: 18px; }
.desk { isolation: isolate; background-color: var(--bone); display: flex; align-items: center; justify-content: center; padding: clamp(40px, 6vw, 96px) var(--gutter) clamp(40px, 6vw, 96px) clamp(24px, 4vw, 72px); }

/* the paper document */
.sheet {
  position: relative; width: min(600px, 100%);
  background: var(--white); color: var(--slate); border-radius: 4px;
  padding: clamp(26px, 2.6vw, 42px) clamp(22px, 2.6vw, 42px) clamp(22px, 2vw, 32px);
  box-shadow: var(--paper-shadow);
}
.sheet::before { content: ""; position: absolute; inset: 10px -10px -10px 10px; z-index: -1; background: var(--white); border-radius: 4px; box-shadow: 0 1px 1px rgba(13, 27, 75, .05), 0 12px 30px -16px rgba(13, 27, 75, .2); }
.sheet-head { display: flex; align-items: center; gap: 10px; padding-bottom: 18px; border-bottom: 2px solid var(--navy); }
.sheet-head img { width: 26px; height: 26px; }
.sheet-head b { font-size: 14px; font-weight: 700; letter-spacing: -.01em; color: var(--navy); }
.sheet-tag { margin-left: auto; font-size: 12.5px; font-weight: 650; color: var(--soft); border: 1px solid var(--line); border-radius: 5px; padding: 3px 8px; }
.sheet-title { font-size: clamp(24px, 2vw, 32px); font-weight: 800; letter-spacing: -.03em; line-height: 1.1; margin-top: 24px; color: var(--navy); }
.sheet-meta { font-size: 14.5px; color: var(--soft); margin-top: 6px; }
.sheet-rows { margin-top: 18px; counter-reset: row; }
.sheet-rows li { display: grid; grid-template-columns: 26px minmax(0, 1fr) auto; gap: 12px; align-items: baseline; padding: 15px 0; border-top: 1px solid var(--line); counter-increment: row; }
.sheet-rows li:first-child { border-top: 0; }
.sheet-rows li::before { content: counter(row); font-size: 14px; font-weight: 700; color: var(--soft); font-variant-numeric: tabular-nums; }
.sheet-rows .t { font-size: 16.5px; font-weight: 600; line-height: 1.35; color: var(--navy); }
.sheet-rows .t small { display: block; font-size: 14px; font-weight: 450; color: var(--soft); margin-top: 3px; }
.sheet-foot { margin-top: 12px; padding-top: 16px; border-top: 1px solid var(--line); font-size: 14px; color: var(--soft); display: flex; justify-content: space-between; gap: 8px 16px; flex-wrap: wrap; }
.st { display: inline-flex; align-items: center; gap: 7px; font-size: 13px; font-weight: 650; color: var(--navy); white-space: nowrap; }
.st::before { content: ""; width: 8px; height: 8px; border-radius: 50%; }
.st-run::before { background: var(--electric); }
.st-build::before { box-shadow: inset 0 0 0 2px var(--orange); }
.st-next::before { box-shadow: inset 0 0 0 1.5px var(--soft); }

/* paper grain on the desk: a faint noise so the surface reads as paper, not a fill */
.desk, .grain {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .05 0 0 0 0 .1 0 0 0 0 .29 0 0 0 .05 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* the plan as a typed note, signed: a document a person wrote, not a dashboard */
.desk-stack { display: flex; flex-direction: column; align-items: center; gap: 22px; width: min(600px, 100%); }
.letter-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-bottom: 18px; border-bottom: 1px solid var(--line); }
.letter-head .from { display: flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 700; color: var(--navy); }
.letter-head .from img { width: 24px; height: 24px; }
.letter-head time { font-size: 14px; color: var(--soft); }
.letter-title { font-size: clamp(23px, 1.9vw, 29px); font-weight: 750; letter-spacing: -.022em; line-height: 1.15; margin-top: 22px; color: var(--navy); }
.letter-intro { margin-top: 8px; font-size: 16px; line-height: 1.6; color: var(--slate); }
.letter-list { margin-top: 18px; counter-reset: li; }
.letter-list li { position: relative; padding: 12px 0 12px 34px; counter-increment: li; font-size: 16px; line-height: 1.55; color: var(--slate); }
.letter-list li + li { border-top: 1px dashed var(--line); }
.letter-list li::before { content: counter(li) "."; position: absolute; left: 0; top: 12px; font-weight: 700; color: var(--navy); font-variant-numeric: tabular-nums; }
.letter-list b { color: var(--navy); font-weight: 650; }
.letter-sign { margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--line); font-size: 15px; line-height: 1.5; color: var(--soft); }
.letter-sign b { display: block; font-size: 16px; color: var(--navy); }
.desk-caption { font-size: 14.5px; color: var(--soft); text-align: center; max-width: 30em; }

/* offer sizes by time (no prices on the site, Jeff 2026-11-20) */
.size-time { font-size: clamp(30px, 2.6vw, 46px); font-weight: 750; letter-spacing: -.026em; line-height: 1.08; margin-top: 10px; color: var(--fg); }

/* a log on paper: one event per row, used by the industry heroes */
.log { margin-top: 18px; }
.log li { display: grid; grid-template-columns: 40px minmax(0, 1fr) auto; gap: 14px; align-items: center; padding: 14px 0; border-top: 1px solid var(--line); }
.log li:first-child { border-top: 0; }
.log .glyph { width: 40px; height: 40px; border-radius: 10px; display: grid; place-items: center; background: var(--bone); color: var(--navy); font-size: 19px; }
.log .glyph.warn { color: var(--orange-press); }
.log .glyph.ok { color: var(--electric); }
.log .t { font-size: 16px; font-weight: 600; color: var(--navy); line-height: 1.3; }
.log .t small { display: block; font-size: 14px; font-weight: 450; color: var(--soft); margin-top: 2px; }
.log .time { font-size: 13.5px; font-weight: 600; color: var(--soft); font-variant-numeric: tabular-nums; white-space: nowrap; }
.sheet-total { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-top: 8px; padding-top: 18px; border-top: 2px solid var(--navy); }
.sheet-total span { font-size: 15px; font-weight: 600; color: var(--soft); }
.sheet-total b { font-size: clamp(26px, 2.2vw, 34px); font-weight: 800; letter-spacing: -.03em; color: var(--navy); }

/* ---------- inner page hero ---------- */
.page-hero { padding: clamp(56px, 7vw, 112px) var(--gutter) clamp(56px, 6vw, 96px); background: var(--white); }
.page-hero .kicker { margin-bottom: 24px; }
.page-hero h1 { max-width: 15ch; }
.page-hero .lede { margin-top: 28px; max-width: 36em; }
.page-hero .actions { margin-top: 36px; }
.page-hero.split { align-items: center; }
.page-hero-aside { align-self: stretch; display: flex; align-items: center; justify-content: center; }
.page-hero--desk { display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(0, 1fr); padding: 0; }
.page-hero--desk .page-hero-copy { padding: clamp(56px, 7vw, 112px) clamp(24px, 4vw, 72px) clamp(56px, 6vw, 96px) var(--gutter); display: flex; flex-direction: column; justify-content: center; }
.page-hero--desk .desk { min-height: 100%; }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: 14.5px; color: var(--fg-soft); margin-bottom: 20px; }
.crumbs a { color: var(--fg); font-weight: 550; }
.crumbs a:hover { text-decoration: underline; }

/* ---------- client logos ---------- */
.clients { display: flex; align-items: center; gap: clamp(24px, 4vw, 80px); padding: 36px var(--gutter); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--white); }
.clients p { font-size: 15px; font-weight: 600; color: var(--soft); max-width: 12em; line-height: 1.4; flex: none; }
.clients ul { display: flex; align-items: center; justify-content: space-between; flex: 1; gap: 32px 48px; flex-wrap: wrap; }
.clients img { height: 58px; width: auto; }
.clients img.tall { height: 72px; }
/* A client mark made for a dark ground sits on its own brand color: The Joel Daria
   Agency's lockup on Brightway's blue (#003049, from the agency's own page). */
.logo-tile { display: inline-flex; align-items: center; padding: 13px 16px; border-radius: 8px; background: #003049; -webkit-print-color-adjust: exact; print-color-adjust: exact; forced-color-adjust: none; }
.clients .logo-tile img { height: 28px; width: auto; }
.agency-mark .logo-tile { padding: 16px 20px; max-width: 100%; }
.agency-mark .logo-tile img { width: auto; height: auto; max-height: 28px; max-width: 100%; }
/* the hero's bone panel and a bone band right after it read as one block without a line */
.page-hero--desk + .band--bone { border-top: 1px solid rgba(13, 27, 75, .14); }
.agency-mark { margin: 32px 0 0; }
/* The logos drift slowly past (Jeff, 2026-11-20). site.js makes the copies and adds
   .reel-on; without script, or with reduced motion, the row stays still and wraps. */
.clients-reel { flex: 1; min-width: 0; }
.clients:not(.reel-on) .clients-set[aria-hidden] { display: none; }
.clients:not(.reel-on) .clients-set { display: grid; grid-template-columns: repeat(3, auto); justify-content: space-between; align-items: center; gap: 28px 40px; }
@media (min-width: 1366px) { .clients:not(.reel-on) .clients-set { grid-template-columns: repeat(6, auto); } }
@media (max-width: 520px) { .clients:not(.reel-on) .clients-set { grid-template-columns: repeat(2, auto); } }
.reel-toggle { display: grid; place-items: center; flex: none; width: 36px; height: 36px; border-radius: 8px; color: var(--soft); background: var(--white); box-shadow: inset 0 0 0 1px var(--line); }
.reel-toggle[hidden] { display: none; }
@media (hover: hover) { .reel-toggle:hover { color: var(--navy); box-shadow: inset 0 0 0 1px var(--navy); } }
.reel-toggle .icon { font-size: 15px; }
.reel-toggle .i-play-ic, .clients.is-paused .reel-toggle .i-pause-ic { display: none; }
.clients.is-paused .reel-toggle .i-play-ic { display: block; }
.clients.reel-on .clients-reel { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 5%, #000 95%, transparent 100%); mask-image: linear-gradient(90deg, transparent 0, #000 5%, #000 95%, transparent 100%); }
.clients.reel-on .clients-track { display: flex; width: max-content; animation: client-reel var(--reel-dur, 40s) linear infinite; }
.clients.reel-on .clients-set { flex: none; flex-wrap: nowrap; justify-content: flex-start; gap: 0 clamp(48px, 4.5vw, 88px); padding-right: clamp(48px, 4.5vw, 88px); }
/* the button pauses it; hovering the logos with a real mouse holds it too. No focus or
   touch rule: the button keeps focus after a click and phones keep a hover state after
   a tap, and either would hold the strip still after Play (round 6 review). */
.clients.is-paused .clients-track { animation-play-state: paused; }
@media (hover: hover) and (pointer: fine) { .clients.reel-on .clients-reel:hover .clients-track { animation-play-state: paused; } }
@keyframes client-reel { to { transform: translateX(-25%); } }
@media (prefers-reduced-motion: reduce) { .clients.reel-on .clients-track { animation: none; } }

/* ---------- the offer: two sizes ---------- */
.sizes { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-top: 2px solid var(--fg); }
.size { padding: 28px clamp(20px, 2.4vw, 40px) 8px 0; display: flex; flex-direction: column; }
.size + .size { padding-left: clamp(20px, 2.4vw, 40px); border-left: 1px solid var(--rule); }
.size-label { font-size: 15px; font-weight: 650; color: var(--fg-soft); }
.size h3 { margin-top: 6px; }
.price { font-size: clamp(50px, 4.8vw, 88px); font-weight: 800; letter-spacing: -.05em; line-height: 1; margin-top: 14px; color: var(--fg); white-space: nowrap; }
.price small { font-size: .26em; font-weight: 600; letter-spacing: 0; color: var(--fg-soft); margin-left: 8px; }
.size-for { margin-top: 18px; font-size: 16.5px; color: var(--fg-body); }
.size .checks { margin-top: 18px; }
.size .actions { margin-top: auto; padding-top: 28px; }

/* ---------- lists ---------- */
.checks li { position: relative; padding: 7px 0 7px 30px; font-size: 17px; line-height: 1.5; color: var(--fg-body); }
.checks li::before {
  content: ""; position: absolute; left: 0; top: 11px; width: 18px; height: 18px;
  background: var(--electric);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / contain no-repeat;
}
.checks.ruled li { border-top: 1px solid var(--rule); padding-top: 10px; padding-bottom: 10px; }
.checks.ruled li::before { top: 14px; }
.dashes li { position: relative; padding: 8px 0 8px 22px; color: var(--fg-body); }
.dashes li::before { content: ""; position: absolute; left: 0; top: 21px; width: 10px; height: 2px; background: var(--fg-soft); }

/* ---------- features: icon, title, text, separated by hairlines ---------- */
.features { display: grid; grid-template-columns: repeat(var(--cols, 3), minmax(0, 1fr)); gap: 0 clamp(24px, 3vw, 56px); }
.features.c2 { --cols: 2; }
.features.c4 { --cols: 4; }
.feature { padding: 28px 0 32px; border-top: 1px solid var(--rule); }
.feature-icon { display: block; color: var(--fg); font-size: 26px; margin-bottom: 16px; }
.feature-icon .icon { stroke-width: 1.6; }
.feature h3 { margin-bottom: 10px; }
.feature p { font-size: 16.5px; line-height: 1.6; }
.feature .tag { display: inline-flex; align-items: center; gap: 7px; margin-top: 14px; font-size: 14px; font-weight: 650; color: var(--fg); }
.feature .tag::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--electric); }

/* ---------- industry links ---------- */
.industries { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; }
.industries a { display: flex; align-items: center; gap: 12px; min-height: 64px; padding: 0 18px; border-radius: 12px; background: var(--white); color: var(--navy); font-size: 17px; font-weight: 650; transition: box-shadow .2s var(--ease); }
.industries a:hover { box-shadow: inset 0 0 0 1.5px var(--navy); }
.industries .icon { font-size: 22px; stroke-width: 1.7; }
@media (max-width: 1080px) { .industries { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 720px) { .industries { grid-template-columns: repeat(2, minmax(0, 1fr)); } .industries a { min-height: 56px; padding: 0 14px; font-size: 16px; } }

/* ---------- steps: only for real sequences ---------- */
.steps { display: grid; grid-template-columns: repeat(var(--cols, 3), minmax(0, 1fr)); gap: 0 clamp(24px, 3vw, 56px); counter-reset: step; }
.steps.c4 { --cols: 4; }
.step { position: relative; padding-top: 28px; border-top: 2px solid var(--fg); counter-increment: step; }
.step::before { content: counter(step); display: block; font-size: clamp(40px, 3.2vw, 56px); font-weight: 800; letter-spacing: -.04em; line-height: 1; color: var(--fg); margin-bottom: 18px; font-variant-numeric: tabular-nums; }
.step .step-label { font-size: 14.5px; font-weight: 650; color: var(--fg-soft); margin-bottom: 6px; }
.step h3 { margin-bottom: 10px; }
.step p { font-size: 16.5px; }
.step-note { display: inline-block; margin-top: 14px; font-size: 14px; font-weight: 600; color: var(--fg-soft); }

/* ---------- stats ---------- */
.stats { display: grid; grid-template-columns: repeat(var(--cols, 3), minmax(0, 1fr)); gap: 0 clamp(24px, 3vw, 56px); }
.stat { padding-top: 24px; border-top: 2px solid var(--fg); }
.stat b { display: block; font-size: clamp(44px, 4.4vw, 80px); font-weight: 800; letter-spacing: -.05em; line-height: 1; color: var(--fg); text-wrap: balance; }
.stat p { margin-top: 14px; font-size: 16.5px; max-width: 26em; }
.stats + .note { margin-top: 32px; max-width: 46em; }

/* ---------- facts strip ---------- */
.facts { display: grid; grid-template-columns: repeat(var(--cols, 3), minmax(0, 1fr)); border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
.fact { padding: 28px clamp(16px, 2vw, 32px) 28px 0; }
.fact + .fact { padding-left: clamp(16px, 2vw, 32px); border-left: 1px solid var(--rule); }
.fact b { display: block; font-size: clamp(22px, 1.8vw, 30px); font-weight: 800; letter-spacing: -.03em; line-height: 1.1; color: var(--fg); }
.fact span { display: block; margin-top: 8px; font-size: 15.5px; color: var(--fg-body); }

/* ---------- panel: a set-off block, used sparingly ---------- */
.panel { background: var(--bone); border-radius: 14px; padding: clamp(24px, 2.6vw, 40px); }
.band--bone .panel { background: var(--white); }
.band--navy .panel { background: rgba(244, 241, 234, .06); }
.panel h3 { margin-bottom: 12px; }
.panel-label { font-size: 15px; font-weight: 650; color: var(--fg-soft); margin-bottom: 8px; }

/* ---------- photo ---------- */
.photo { position: relative; border-radius: 6px; overflow: hidden; background: var(--bone); }
.photo img { width: 100%; height: 100%; object-fit: cover; }
.photo figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 48px 20px 16px; background: linear-gradient(to top, rgba(13, 27, 75, .85), rgba(13, 27, 75, 0)); color: var(--bone); font-size: 15px; }
.photo figcaption b { color: var(--bone); display: block; font-size: 17px; }

/* ---------- loop (the four-tool sequence) ---------- */
.loop { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; counter-reset: loop; }
.loop li { position: relative; padding: 28px clamp(16px, 2vw, 32px) 8px 0; border-top: 2px solid var(--fg); counter-increment: loop; }
.loop li + li { padding-left: clamp(16px, 2vw, 32px); border-left: 1px solid var(--rule); }
.loop .role { display: flex; align-items: center; gap: 10px; font-size: 14.5px; font-weight: 650; color: var(--fg-soft); }
.loop .role::before { content: counter(loop); font-variant-numeric: tabular-nums; color: var(--fg); }
.loop h3 { margin: 14px 0 10px; }
.loop p { font-size: 16px; }
.loop .handoff { display: flex; align-items: center; gap: 8px; margin-top: 16px; font-size: 14.5px; font-weight: 600; color: var(--fg); }
.loop .handoff .icon { color: var(--electric); }
.loop-return { display: flex; align-items: center; gap: 12px; margin-top: 28px; padding-top: 18px; border-top: 1px dashed var(--rule); font-size: 15.5px; font-weight: 600; color: var(--fg); }
.loop-return .icon { font-size: 20px; color: var(--electric); }

/* ---------- FAQ ---------- */
.faq { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 clamp(32px, 5vw, 96px); align-items: start; }
.faq.one { grid-template-columns: minmax(0, 1fr); max-width: 60em; }
.faq details { border-top: 1px solid var(--rule); }
.faq-col details:last-child { border-bottom: 1px solid var(--rule); }
.faq summary { list-style: none; display: flex; justify-content: space-between; gap: 20px; align-items: flex-start; padding: 22px 0; cursor: pointer; font-size: 18.5px; font-weight: 650; line-height: 1.35; color: var(--fg); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .icon { font-size: 22px; margin-top: 1px; color: var(--fg); transition: transform .2s var(--ease); }
.faq details[open] summary .icon { transform: rotate(45deg); }
.faq .answer { padding: 0 44px 24px 0; font-size: 16.5px; }
.faq .answer p + p { margin-top: 10px; }

/* ---------- booking band ---------- */
.book { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(36px, 6vw, 120px); align-items: center; }
.book h2 { max-width: 14ch; }
.book .lede { margin-top: 24px; max-width: 32em; }
.book .checks { margin-top: 28px; max-width: 34em; }
.book-card { background: var(--white); color: var(--slate); border-radius: 14px; padding: clamp(24px, 2.6vw, 40px); box-shadow: 0 40px 80px -40px rgba(9, 21, 56, .6); --fg: var(--navy); --fg-body: var(--slate); --fg-soft: var(--soft); --rule: var(--line); --surface: var(--white); }
.book-who { display: flex; align-items: center; gap: 16px; padding-bottom: 22px; border-bottom: 1px solid var(--line); }
.book-who img { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; object-position: 50% 25%; }
.book-who b { display: block; font-size: 18px; color: var(--navy); }
.book-who span { font-size: 15px; color: var(--soft); }
.book-meta { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; padding: 22px 0; }
.book-meta li { display: flex; flex-direction: column; gap: 6px; font-size: 15px; font-weight: 600; color: var(--navy); }
.book-meta .icon { font-size: 22px; color: var(--electric); }
.book-card > p { font-size: 16px; padding-bottom: 22px; }
.book-card .btn { width: 100%; white-space: normal; }
.book-card .note { margin-top: 12px; text-align: center; }

/* ---------- CTA strip (inner pages) ---------- */
.cta { display: grid; grid-template-columns: minmax(0, 46em) auto; justify-content: start; gap: 28px clamp(40px, 6vw, 120px); align-items: end; }
.cta h2 { max-width: 16ch; }
/* the closing band with a real face: portrait, words, buttons */
.cta--person { grid-template-columns: auto minmax(0, 44em) auto; align-items: center; }
.cta-photo { width: clamp(132px, 11vw, 200px); aspect-ratio: 4 / 5; border-radius: 6px; overflow: hidden; background: var(--navy-deep); }
.cta-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 22%; }
.cta-sign { margin-top: 14px; font-size: 15px; color: var(--fg-soft); }
.cta-sign b { color: var(--fg); }
.cta .lede { margin-top: 20px; max-width: 36em; }
/* wide screens: the buttons go to the far edge instead of floating mid-band (round 4) */
@media (min-width: 1500px) {
  .cta { grid-template-columns: minmax(0, 46em) 1fr; }
  .cta--person { grid-template-columns: auto minmax(0, 44em) 1fr; }
  .cta > .actions { justify-self: end; }
}

/* ---------- tables ---------- */
.table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.table { width: 100%; border-collapse: collapse; font-size: 16px; }
.table th, .table td { text-align: left; padding: 16px 20px 16px 0; border-bottom: 1px solid var(--rule); vertical-align: top; }
.table th { font-size: 14.5px; font-weight: 650; color: var(--fg-soft); border-bottom: 2px solid var(--fg); }
.table td:first-child { font-weight: 650; color: var(--fg); }

/* ---------- prose (articles, policies, guides) ---------- */
.prose { max-width: 42em; font-size: 18.5px; line-height: 1.72; color: var(--fg-body); }
.prose > * + * { margin-top: 1.1em; }
.prose h2 { font-size: clamp(28px, 2.2vw, 38px); line-height: 1.12; letter-spacing: -.03em; margin-top: 1.8em; }
.prose h3 { font-size: clamp(21px, 1.5vw, 25px); margin-top: 1.6em; }
.prose h2 + *, .prose h3 + * { margin-top: .6em; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose ul li { list-style: disc; }
.prose ol li { list-style: decimal; }
.prose li + li { margin-top: .45em; }
.prose li::marker { color: var(--fg-soft); }
.prose blockquote { border-left: 3px solid var(--orange); padding: 4px 0 4px 22px; font-size: 1.08em; font-weight: 550; color: var(--fg); }
.prose code { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: .86em; padding: 2px 6px; border-radius: 5px; background: var(--bone); color: var(--navy); }
.prose pre { background: var(--navy); color: var(--bone); border-radius: 10px; padding: 18px 20px; overflow-x: auto; font-size: 15px; line-height: 1.6; }
.prose pre code { background: none; padding: 0; color: inherit; }
.panel pre { white-space: pre-wrap; overflow-wrap: anywhere; }
.prose figure { margin-top: 2em; margin-bottom: 2em; }
.prose figure img { width: 100%; border-radius: 8px; border: 1px solid var(--line); }
.prose figcaption { margin-top: 10px; font-size: 15px; line-height: 1.55; color: var(--fg-soft); }
.prose img { border-radius: 8px; }
.prose table { width: 100%; border-collapse: collapse; font-size: 16px; }
.prose th, .prose td { text-align: left; padding: 12px 16px 12px 0; border-bottom: 1px solid var(--rule); vertical-align: top; }
.prose th { font-weight: 650; color: var(--fg); border-bottom: 2px solid var(--fg); }
.prose hr { border: 0; border-top: 1px solid var(--rule); margin: 2.4em 0; }
.prose .btn { text-decoration: none; }

/* ---------- blog ---------- */
.post-filters { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: clamp(28px, 3vw, 44px); }
.post-filters button { min-height: 42px; padding: 0 16px; border-radius: 999px; box-shadow: inset 0 0 0 1.5px var(--line); font-size: 15px; font-weight: 600; color: var(--navy); }
.post-filters button:hover { box-shadow: inset 0 0 0 1.5px var(--navy); }
.post-filters button[aria-pressed="true"] { background: var(--navy); color: var(--white); box-shadow: none; }
.posts { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr)); gap: clamp(36px, 3.4vw, 56px) clamp(24px, 2.6vw, 44px); }
.post-card { display: flex; flex-direction: column; }
.post-card[hidden] { display: none; }
.article-aside .panel p { font-size: 16.5px; line-height: 1.6; }
.crumbs span[aria-hidden] { color: var(--soft); }
.post-card .thumb { aspect-ratio: 1200 / 630; border-radius: 6px; overflow: hidden; background: var(--bone); border: 1px solid var(--line); margin-bottom: 18px; }
.post-card .thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s var(--ease); }
.post-card:hover .thumb img { transform: scale(1.025); }
.post-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; font-size: 14.5px; color: var(--fg-soft); }
.post-cat { font-weight: 650; color: var(--fg); }
.post-card h2, .post-card h3 { font-size: clamp(21px, 1.5vw, 25px); line-height: 1.25; letter-spacing: -.02em; font-weight: 700; margin-top: 10px; }
.post-card h2 a:hover, .post-card h3 a:hover { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 4px; }
.post-card p { margin-top: 10px; font-size: 16.5px; line-height: 1.6; }
.post-card .link-arrow { margin-top: 14px; font-size: 15.5px; }
.article-head { padding: clamp(48px, 6vw, 96px) var(--gutter) clamp(32px, 3vw, 48px); }
.article-head h1 { max-width: 20ch; font-size: clamp(38px, 4vw, 72px); }
.article-head .lede { margin-top: 24px; max-width: 38em; }
.article-head .post-meta { margin-top: 24px; }
.article-lead { padding: 0 var(--gutter); }
.article-lead figure { max-width: 1320px; }
.article-lead img { width: 100%; border-radius: 8px; border: 1px solid var(--line); }
.article-lead figcaption { margin-top: 10px; font-size: 15px; color: var(--soft); }
.article-body { padding: clamp(40px, 4vw, 72px) var(--gutter) var(--sec-y); display: grid; grid-template-columns: minmax(0, 44em) minmax(300px, 1fr); gap: clamp(40px, 6vw, 120px); }
.article-aside { align-self: start; min-width: 0; }
.article-aside .btn { white-space: normal; }
.share { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--line); }
.share-label { font-size: 15px; font-weight: 650; color: var(--soft); margin-right: 4px; }
.share a, .share button { display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 0 14px; border-radius: 9px; box-shadow: inset 0 0 0 1.5px var(--line); font-size: 14.5px; font-weight: 600; color: var(--navy); text-decoration: none; }
.share a:hover, .share button:hover { box-shadow: inset 0 0 0 1.5px var(--navy); }
.share .icon { font-size: 16px; }
.share .copied { box-shadow: inset 0 0 0 1.5px var(--electric); }
/* blog index hero: the headline on the left, the newest post on the right (2026-11-20) */
.blog-hero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(36px, 6vw, 120px); align-items: center; }
.blog-hero .lede { margin-top: 28px; max-width: 34em; }
.blog-feature { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: clamp(20px, 2.4vw, 36px); align-items: center; padding: clamp(18px, 1.8vw, 28px); background: var(--bone); border-radius: 14px; }
.blog-feature .thumb { display: block; aspect-ratio: 1200 / 630; border-radius: 8px; overflow: hidden; border: 1px solid var(--line); background: var(--white); }
.blog-feature .thumb img { width: 100%; height: 100%; object-fit: cover; }
.blog-feature .post-meta { margin-top: 6px; }
.blog-feature h2 { font-size: clamp(22px, 1.7vw, 30px); line-height: 1.2; letter-spacing: -.02em; margin-top: 10px; }
.blog-feature h2 a:hover { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 4px; }
.blog-feature-text > p:not(.note):not(.post-meta) { margin-top: 10px; font-size: 16.5px; line-height: 1.6; }
.blog-feature .link-arrow { margin-top: 14px; }
/* article aside: author and booking cards, then related posts, filling the column it gets */
.aside-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 360px), 1fr)); gap: 20px; }
.related-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); gap: 20px; }
.aside-title { font-size: 19px; line-height: 1.3; letter-spacing: -.01em; font-weight: 700; margin-bottom: 10px; }
.author-who { display: flex; align-items: center; gap: 14px; margin-bottom: 14px; }
.author-who img { width: 72px; height: 72px; border-radius: 50%; object-fit: cover; object-position: 50% 22%; flex: none; }
.author-who b { display: block; font-size: 17px; }
.article-aside .author-who p { font-size: 15px; color: var(--fg-soft); line-height: 1.45; }
.author-card .link-arrow { margin-top: 12px; font-size: 15.5px; }
.article-aside .related { margin-top: clamp(32px, 3vw, 48px); }
.mini-card .thumb { display: block; aspect-ratio: 1200 / 630; border-radius: 6px; overflow: hidden; border: 1px solid var(--line); background: var(--bone); margin-bottom: 12px; }
.mini-card .thumb img { width: 100%; height: 100%; object-fit: cover; }
.mini-card h3 { font-size: 18px; line-height: 1.3; letter-spacing: -.01em; margin-top: 6px; }
.mini-card h3 a:hover { text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 1080px) { .blog-hero { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 640px) { .blog-feature { grid-template-columns: minmax(0, 1fr); } }
/* wide screens: the lead image sits beside the title, and the aside stays in view */
@media (min-width: 1201px) {
  .article-top.has-lead { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(36px, 5vw, 96px); align-items: center; padding: clamp(48px, 6vw, 96px) var(--gutter) 0; }
  .article-top.has-lead .article-head, .article-top.has-lead .article-lead { padding: 0; }
  .article-top.has-lead .article-head h1 { font-size: clamp(36px, 3.2vw, 60px); }
}
/* the side column follows the reader: author and booking cards stay in view,
   related posts settle at the end of the article (round 2 review) */
@media (min-width: 1201px) and (min-height: 860px) {
  .article-body > .article-aside { align-self: stretch; }
  .article-aside .aside-grid { position: sticky; top: calc(var(--header-h) + 32px); }
}
.band.related { padding-top: clamp(48px, 5vw, 80px); padding-bottom: clamp(48px, 5vw, 80px); }
.band.related h2 { margin-bottom: 24px; }
.related-grid { grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); }

/* ---------- forms ---------- */
.form { display: grid; gap: 16px; }
.field { display: grid; gap: 6px; }
.field label { font-size: 15px; font-weight: 650; color: var(--fg); }
.field input, .field select, .field textarea {
  width: 100%; min-height: 50px; padding: 12px 14px; border-radius: 9px;
  border: 1.5px solid var(--line); background: var(--white); color: var(--navy); font-size: 17px;
}
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 2px solid var(--fg); outline-offset: 2px; border-color: var(--electric); }
.form .note a { text-decoration: underline; }
.form-status { font-size: 15.5px; font-weight: 600; color: var(--fg); }

/* ---------- footer ---------- */
.site-footer { background: var(--navy-deep); padding: clamp(56px, 6vw, 96px) var(--gutter) 28px; font-size: 15.5px; }
.footer-top { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(4, minmax(0, 1fr)); gap: 40px clamp(24px, 3vw, 56px); }
.footer-brand > a { display: inline-block; }
.footer-brand img { height: 46px; width: auto; }
.footer-brand p { margin-top: 20px; max-width: 26em; color: var(--fg-body); }
.footer-contact { margin-top: 22px; display: grid; gap: 8px; }
.footer-contact a, .footer-contact span { display: flex; align-items: center; gap: 10px; color: var(--fg); font-weight: 550; }
.footer-contact .icon { color: var(--muted); font-size: 17px; }
/* Google Workspace referral buttons (2026-12-02). The program's rules: only its Digital Buttons, and a clear "paid" disclosure above them. Hosted here, not hotlinked, so no page asks Google for anything. */
.footer-referral { margin-top: 26px; }
.footer-brand .footer-referral-note { margin: 0 0 12px; max-width: 26em; font-size: 14px; line-height: 1.45; color: var(--fg-body); }
.footer-brand .footer-referral-note strong { color: var(--fg); font-weight: 650; }
.footer-referral-buttons { display: flex; flex-wrap: wrap; gap: 12px; }
.footer-referral-buttons a { display: inline-flex; border-radius: 12px; }
.footer-brand .footer-referral-buttons img { display: block; width: 172px; height: 56px; }
.footer-col h2 { font-size: 15px; font-weight: 650; letter-spacing: 0; color: var(--muted); margin-bottom: 14px; }
.footer-col li + li { margin-top: 9px; }
.footer-col a { color: var(--fg-body); }
.footer-col a:hover { color: var(--bone); text-decoration: underline; text-underline-offset: 3px; }
.footer-area { margin-top: 48px; padding-top: 22px; border-top: 1px solid var(--rule); font-size: 14.5px; color: var(--muted); max-width: 120em; }
.footer-bottom { margin-top: 22px; display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; font-size: 14.5px; color: var(--muted); }
.footer-bottom a { color: var(--fg-body); }
.footer-bottom a:hover { color: var(--bone); }
.footer-bottom .grow { margin-right: auto; }
.footer-social { display: flex; gap: 14px; }
.footer-social a { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 8px; color: var(--fg-body); box-shadow: inset 0 0 0 1px var(--rule); }
.footer-social a:hover { color: var(--bone); box-shadow: inset 0 0 0 1px var(--muted); }
.footer-social .icon { font-size: 16px; }
/* the home page's floating chat button sits bottom right; keep the footer's last row clear of it (round 4) */
.chat-launch ~ .site-footer { padding-bottom: 104px; }
.weather[hidden] { display: none !important; }
.weather { display: inline-flex; align-items: center; gap: 8px; }
.weather::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--electric); }

/* ---------- chat (home page assistant) ---------- */
.chat-launch {
  position: fixed; right: max(20px, env(safe-area-inset-right, 0px)); bottom: max(20px, env(safe-area-inset-bottom, 0px)); z-index: 150;
  display: inline-flex; align-items: center; gap: 10px; min-height: 52px; padding: 0 20px 0 14px;
  border-radius: 999px; background: var(--navy); color: var(--bone); font-size: 15.5px; font-weight: 650;
  box-shadow: 0 18px 40px -16px rgba(13, 27, 75, .55);
}
.chat-launch img { width: 26px; height: 26px; }
.chat-launch:hover { background: #142563; }
.chat-launch:focus-visible { outline: 3px solid var(--white); outline-offset: 2px; box-shadow: 0 0 0 7px var(--navy); }
.chat-head, .qb .booking-strip { --fg: var(--bone); }
.chat-launch[aria-expanded="true"] .chat-open-label { display: none; }
.chat-launch[aria-expanded="false"] .chat-close-label { display: none; }
.chat-window {
  position: fixed; right: max(20px, env(safe-area-inset-right, 0px)); bottom: calc(max(20px, env(safe-area-inset-bottom, 0px)) + 66px); z-index: 150;
  width: min(400px, calc(100vw - 40px)); height: min(560px, calc(100vh - 140px));
  display: flex; flex-direction: column; background: var(--white); border-radius: 14px; overflow: hidden;
  box-shadow: 0 30px 80px -24px rgba(13, 27, 75, .45), 0 0 0 1px rgba(13, 27, 75, .06);
}
.chat-window[hidden] { display: none; }
.chat-head { display: flex; align-items: center; gap: 12px; padding: 16px 18px; background: var(--navy); color: var(--bone); }
.chat-head img { width: 30px; height: 30px; }
.chat-head b { display: block; color: var(--bone); font-size: 16px; }
.chat-head span { font-size: 13.5px; color: var(--muted); }
.chat-head button { margin-left: auto; color: var(--bone); font-size: 22px; display: grid; place-items: center; width: 36px; height: 36px; border-radius: 8px; }
.chat-head button:hover { background: rgba(244, 241, 234, .1); }
.chat-msgs { flex: 1; overflow-y: auto; padding: 18px; display: flex; flex-direction: column; gap: 10px; background: var(--bone); }
.chat-bubble { max-width: 88%; padding: 11px 14px; border-radius: 12px; font-size: 15.5px; line-height: 1.5; background: var(--white); color: var(--navy); }
.chat-bubble.user { align-self: flex-end; background: var(--navy); color: var(--bone); }
.chat-bubble.thinking { color: var(--soft); }
.chat-prompts { display: flex; flex-wrap: wrap; gap: 8px; }
.chat-prompts button { min-height: 38px; padding: 0 12px; border-radius: 999px; background: var(--white); box-shadow: inset 0 0 0 1.5px var(--line); font-size: 14px; font-weight: 600; color: var(--navy); }
.chat-prompts button:hover { box-shadow: inset 0 0 0 1.5px var(--navy); }
.chat-form { display: flex; gap: 8px; padding: 12px; border-top: 1px solid var(--line); background: var(--white); }
.chat-form input { flex: 1; min-width: 0; min-height: 46px; padding: 0 14px; border-radius: 9px; border: 1.5px solid var(--line); font-size: 16px; color: var(--navy); }
.chat-form input:focus { outline: 2px solid var(--navy); outline-offset: 2px; border-color: var(--electric); }
.chat-form button { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 9px; background: var(--orange); color: var(--navy); font-size: 19px; }
.chat-form button:disabled { opacity: .5; cursor: default; }
@media (max-width: 640px) {
  .chat-launch .chat-open-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .chat-launch { padding: 0 13px; }
}

/* ---------- responsive ---------- */
@media (max-width: 1200px) {
  .footer-top { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .footer-brand { grid-column: 1 / -1; }
  .features.c4, .steps.c4, .cols-4 { --cols: 2; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .loop { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .loop li:nth-child(3) { padding-left: 0; border-left: 0; }
}
@media (max-width: 1200px) {
  .article-body { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 1080px) {
  .hero, .page-hero--desk { grid-template-columns: minmax(0, 1fr); min-height: 0; }
  .hero-copy, .page-hero--desk .page-hero-copy { padding-right: var(--gutter); }
  .desk { padding-left: var(--gutter); }
  .split, .split--even, .book, .sec-head, .cta { grid-template-columns: minmax(0, 1fr); }
  .sec-head { align-items: start; }
  .features, .steps, .stats, .cols-3 { --cols: 2; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .faq { grid-template-columns: minmax(0, 1fr); }
  .faq-col + .faq-col details:first-child { border-top: 0; }
  .faq-col:first-child details:last-child { border-bottom: 0; }
  /* label and pause button on one row, the logos full width under them */
  .clients { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 20px 16px; }
  .clients-reel { grid-column: 1 / -1; grid-row: 2; width: 100%; }
  .clients ul { justify-content: flex-start; gap: 28px 48px; }
}
@media (max-width: 720px) {
  body { font-size: 17px; }
  .features, .steps, .stats, .cols-2, .cols-3, .cols-4, .features.c2, .features.c4, .steps.c4, .loop, .facts { --cols: 1; grid-template-columns: minmax(0, 1fr); }
  .loop li + li, .loop li:nth-child(3) { padding-left: 0; border-left: 0; }
  .fact + .fact { padding-left: 0; border-left: 0; border-top: 1px solid var(--rule); }
  .sizes { grid-template-columns: minmax(0, 1fr); }
  .size + .size { padding-left: 0; border-left: 0; border-top: 1px solid var(--rule); margin-top: 20px; }
  .step + .step, .stat + .stat { margin-top: 36px; }
  .footer-top { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .book-meta { grid-template-columns: minmax(0, 1fr); }
  .book-meta li { flex-direction: row; align-items: center; gap: 10px; }
  .faq .answer { padding-right: 0; }
  .clients img { height: 44px; }
  .clients img.tall { height: 56px; }
  .clients .logo-tile { padding: 10px 12px; }
  .clients .logo-tile img { height: 24px; }
  .table { font-size: 15px; }
  .prose { font-size: 17.5px; }
}
@media (max-width: 420px) {
  .footer-top { grid-template-columns: minmax(0, 1fr); }
  .actions .btn { width: 100%; }
  .header-end .btn-sm { font-size: 15px; }
}

/* ---------- print (the playbook guide and policies get saved as PDF) ---------- */
@media print {
  .site-header, .site-footer, .chat-launch, .chat-window, .skip, #pc-root, #pc-reopen { display: none !important; }
  .band, .page-hero { padding: 24px 0 !important; background: none !important; }
  body { font-size: 12pt; }
}

/* fork B: guide layout (long guides and policies: reading column left, contents panel at the right edge) */
.guide { grid-template-columns: minmax(0, 44em) minmax(280px, 1fr); justify-content: start; }
@media (min-width: 1081px) { .guide .article-aside { align-self: start; position: sticky; top: calc(var(--header-h) + 28px); max-height: calc((100vh - var(--header-h) - 56px) / var(--z)); overflow-y: auto; } }
.guide .article-aside { max-width: none; display: grid; gap: 16px; }
.guide .prose > h2:first-child, .guide .prose > section:first-child > h2:first-child { margin-top: 0; }
.guide .prose section + section { margin-top: 2.6em; }
.toc h2 { margin-bottom: 6px; }
.toc a { color: var(--fg); font-weight: 550; }
.toc a:hover { text-decoration: underline; text-underline-offset: 3px; }
.byline { margin-top: 18px; font-size: 15px; color: var(--fg-soft); }
.byline a { color: var(--fg); font-weight: 600; }
@media (max-width: 1080px) { .guide { grid-template-columns: minmax(0, 1fr); } }
.prose section > * + * { margin-top: 1.1em; }
.prose section > h2:first-child { margin-top: 0; }
.prose section > h3 { margin-top: 1.6em; }
.prose section > h2 + *, .prose section > h3 + * { margin-top: .6em; }

/* fork D: quote bot (pioneer-ai-quote-chatbot-demo.html). The conversation on the
   left, the estimate as a paper sheet on the right. Scoped under .qb. */
.qb { isolation: isolate; }
.qb-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: clamp(24px, 3vw, 56px); align-items: start; }
.qb-chat { display: flex; flex-direction: column; background: var(--white); border-radius: 14px; overflow: hidden; box-shadow: 0 1px 1px rgba(13, 27, 75, .05), 0 24px 50px -30px rgba(13, 27, 75, .3); }
.qb-chat-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 20px 24px; border-bottom: 1px solid var(--line); }
.qb-chat-head h2 { font-size: 19px; letter-spacing: -.01em; }
.qb-chat-head span { font-size: 14px; color: var(--soft); }
.qb-progress { display: none; padding: 16px 24px 0; }
.qb-progress.visible { display: block; }
.qb-progress-row { display: flex; justify-content: space-between; gap: 12px; margin-bottom: 8px; font-size: 14px; font-weight: 600; color: var(--navy); }
.qb-track { height: 6px; border-radius: 6px; background: var(--bone); overflow: hidden; }
.qb-fill { height: 100%; border-radius: 6px; background: var(--electric); transition: width .3s var(--ease); }
.qb-messages { display: flex; flex-direction: column; gap: 12px; min-height: 340px; max-height: 540px; overflow-y: auto; padding: 20px 24px; }
.qb .message-row { display: flex; align-items: flex-end; gap: 10px; }
.qb .message-row.user { justify-content: flex-end; }
.qb .avatar { flex: none; width: 30px; height: 30px; }
.qb .avatar.user { display: none; }
.qb .avatar img { width: 30px; height: 30px; }
.qb .bubble { max-width: 82%; padding: 12px 15px; border-radius: 14px; background: var(--bone); color: var(--navy); font-size: 16px; line-height: 1.5; }
.qb .bubble.user { background: var(--navy); color: var(--bone); }
.qb-options-area { padding: 16px 24px 20px; border-top: 1px solid var(--line); }
.qb .options { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 12px; }
.qb .options:empty { margin: 0; }
.qb .chip { min-height: 42px; padding: 0 15px; border-radius: 999px; background: var(--white); box-shadow: inset 0 0 0 1.5px var(--line); font-size: 15px; font-weight: 600; color: var(--navy); }
.qb .chip:hover { box-shadow: inset 0 0 0 1.5px var(--navy); }
.qb .chip.active { background: var(--navy); color: var(--white); box-shadow: none; }
.qb .chip:disabled { opacity: .45; cursor: default; }
.qb-form { display: flex; gap: 8px; }
.qb-form input { flex: 1; min-width: 0; min-height: 48px; padding: 0 14px; border-radius: 9px; border: 1.5px solid var(--line); background: var(--white); color: var(--navy); font-size: 16px; }
.qb-form input:focus { outline: 2px solid var(--navy); outline-offset: 2px; border-color: var(--electric); }
.qb-hint { margin-top: 10px; font-size: 14px; color: var(--soft); }
.qb-quote { position: sticky; top: calc(var(--header-h) + 24px); width: 100%; }
.qb .quote-id { font-size: 13.5px; font-weight: 600; color: var(--soft); font-variant-numeric: tabular-nums; }
.qb-total { margin-top: 14px; font-size: clamp(40px, 3.4vw, 60px); font-weight: 760; letter-spacing: -.035em; line-height: 1; color: var(--navy); font-variant-numeric: tabular-nums; }
.qb-total.empty { font-size: clamp(28px, 2.2vw, 36px); letter-spacing: 0; color: var(--soft); }
.qb-total-sub { margin-top: 6px; font-size: 15px; color: var(--soft); }
.qb-meter { height: 4px; margin-top: 18px; border-radius: 4px; background: var(--bone); overflow: hidden; }
.qb-meter > div { width: 0; height: 100%; background: var(--electric); transition: width .3s var(--ease); }
.qb-status { margin-top: 8px; font-size: 14.5px; color: var(--soft); }
.qb-section { margin-top: 22px; }
.qb-section-title { display: flex; justify-content: space-between; padding-bottom: 8px; border-bottom: 2px solid var(--navy); font-size: 14.5px; font-weight: 700; color: var(--navy); }
.qb .detail-row, .qb .quote-line { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 12px; padding: 8px 0; border-bottom: 1px dashed var(--line); font-size: 14.5px; line-height: 1.4; }
.qb .detail-k, .qb .quote-line > span:first-child { color: var(--soft); }
.qb .detail-v, .qb .quote-line > span:last-child { color: var(--navy); font-weight: 550; overflow-wrap: anywhere; }
.qb .detail-row.is-empty .detail-v { color: var(--soft); font-weight: 450; }
.qb .detail-check { margin-right: 6px; color: var(--electric); font-weight: 700; }
.qb .quote-line.highlight > span:last-child { font-weight: 700; }
.qb-foot { margin-top: 20px; padding-top: 14px; border-top: 1px solid var(--line); }
.qb-foot p { font-size: 14px; color: var(--soft); }
.qb-foot .actions { margin-top: 12px; gap: 10px; }
.qb .booking-strip { display: none; margin-top: 20px; padding: 20px; border-radius: 10px; background: var(--navy); color: var(--bone); }
.qb .booking-strip.visible { display: block; }
.qb .booking-strip h3 { color: var(--bone); font-size: 18px; }
.qb .booking-strip p { margin: 6px 0 14px; font-size: 15px; color: rgba(244, 241, 234, .82); }
.qb .booking-strip .btn { width: 100%; }
/* sticky only on screens tall enough to show the whole panel (about 1040px with the header),
   or Continue hides below the fold (rounds 4 and 5); the wide-screen zoom makes it 15 or 25% taller */
@media (min-width: 1081px) and (max-width: 2099px) and (min-height: 1080px),
       (min-width: 2100px) and (max-width: 2399px) and (min-height: 1250px),
       (min-width: 2400px) and (min-height: 1350px) { .qb-chat { position: sticky; top: calc(var(--header-h) + 24px); } }
@media (max-width: 1080px) { .qb-grid { grid-template-columns: minmax(0, 1fr); } .qb-quote { position: relative; top: auto; } }
@media (max-width: 640px) {
  .qb-chat-head, .qb-messages, .qb-options-area, .qb-progress { padding-left: 16px; padding-right: 16px; }
  .qb .bubble { max-width: 90%; }
}
/* ?embed=1: only the calculator */
.embed-mode .site-header, .embed-mode .site-footer, .embed-mode .qb-hero, .embed-mode .skip { display: none !important; }
.embed-mode .qb { padding: 16px; }
@media print {
  .qb-hero, .qb-chat, .qb .booking-strip, .qb-foot .actions { display: none !important; }
  .qb { padding: 0 !important; background: none !important; }
  .qb-grid { display: block; }
  .qb-quote { position: relative; top: auto; box-shadow: none; }
  .qb-quote::before { display: none; }
}

/* fork A: about, our work, AI & Data pages */
.about-portrait { aspect-ratio: 1000 / 1154; width: min(620px, 100%); justify-self: center; }
.about-creds { display: grid; gap: 20px; }
.about-cert { display: grid; gap: 10px; margin-top: 22px; }
.about-cert img { width: 100%; border-radius: 6px; border: 1px solid var(--line); }
.about-family .photo { aspect-ratio: 4 / 3; width: 100%; }
.about-family .photo img { object-position: 50% 82%; }
.about-tools { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 24px; }
@media (max-width: 640px) { .about-tools { grid-template-columns: minmax(0, 1fr); } }
.work-index ol { margin-top: 6px; }
.work-index li + li { border-top: 1px solid var(--rule); }
.work-index a { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; color: var(--fg); }
.work-index a b { font-weight: 650; }
.work-index a span { font-size: 15px; color: var(--fg-soft); text-align: right; }
.work-index a:hover b { text-decoration: underline; text-underline-offset: 3px; }
.project { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 20px clamp(32px, 6vw, 120px); padding: clamp(32px, 3.4vw, 52px) 0; border-top: 1px solid var(--rule); }
.project-head { position: sticky; top: calc(var(--header-h) + 28px); align-self: start; }
.project-kind { font-size: 15px; font-weight: 600; color: var(--fg-soft); }
.project h3 { margin-top: 8px; font-size: clamp(22px, 1.8vw, 30px); letter-spacing: -.022em; }
.project-status { margin-top: 10px; font-size: 15px; color: var(--fg-soft); }
.project .prose { font-size: 17.5px; }
.specs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 32px; margin-top: 24px; padding-top: 20px; border-top: 1px solid var(--rule); }
.specs dt { font-size: 14.5px; font-weight: 650; color: var(--fg-soft); }
.specs dd { margin-top: 2px; font-size: 16px; color: var(--fg); }
.convo { margin-top: 16px; display: grid; gap: 12px; }
.convo li { font-size: 16px; line-height: 1.5; color: var(--navy); padding: 12px 14px; border-radius: 10px; background: var(--bone); max-width: 88%; }
.convo li.us { justify-self: end; background: var(--white); box-shadow: inset 0 0 0 1px var(--line); }
.convo .who { display: block; font-size: 13px; font-weight: 650; color: var(--soft); margin-bottom: 2px; }
.table.compare td:last-child, .table.compare th:last-child { color: var(--fg); font-weight: 600; }
@media (max-width: 1080px) { .about-portrait, .about-family .photo { justify-self: start; } .project { grid-template-columns: minmax(0, 1fr); } .project-head { position: static; } }
@media (max-width: 520px) { .specs { grid-template-columns: minmax(0, 1fr); } .work-index a { flex-direction: column; gap: 2px; } .work-index a span { text-align: left; } }

/* fork F: document layout (playbook-guide.html): a sticky "On this page"
   column at the left edge, the document filling the rest of the width. */
.doc { display: grid; grid-template-columns: minmax(200px, 260px) minmax(0, 1fr); gap: clamp(32px, 5vw, 96px); align-items: start; }
.doc-nav { position: sticky; top: calc(var(--header-h) + 28px); }
.doc-nav .project-kind { margin-bottom: 6px; }
.doc-main > section + section { margin-top: clamp(56px, 6vw, 96px); padding-top: clamp(40px, 4vw, 64px); border-top: 1px solid var(--rule); }
.features.c5 { --cols: 5; }
@media (max-width: 1500px) { .features.c5 { --cols: 2; grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 1080px) { .doc { grid-template-columns: minmax(0, 1fr); } .doc-nav { position: static; } }
@media (max-width: 720px) { .features.c5 { grid-template-columns: minmax(0, 1fr); } }
/* print: one column, nothing that only works on screen */
@media print {
  .no-print, .doc-nav { display: none !important; }
  .doc { display: block; }
  .project, .page-hero--desk { display: block; }
  .project-head { position: static; }
  .desk { padding: 16px 0 !important; background: none !important; }
  .sheet { box-shadow: none; border: 1px solid var(--line); }
  .sheet::before { display: none; }
  h2, h3, h4, .kicker, .project-kind { break-after: avoid; page-break-after: avoid; }
  .sec-head { break-inside: avoid; break-after: avoid; }
  .split--center { break-inside: avoid; }
  .kicker::before { display: none; }
  .share, .article-aside, .band.related, .post-filters { display: none !important; }
  li, .feature, .step, figure { break-inside: avoid; }
}

/* ---------- very wide screens: scale up, don't strand content (Jeff, 2026-11-20: full bleed, use the space) ---------- */
@media (min-width: 2100px) { .site-header, main, .site-footer { zoom: 1.15; --z: 1.15; } html { scroll-padding-top: calc(var(--header-h) * 1.15 + 16px); } }
@media (min-width: 2400px) { .site-header, main, .site-footer { zoom: 1.25; --z: 1.25; } html { scroll-padding-top: calc(var(--header-h) * 1.25 + 16px); } }
