/* ==========================================================================
   Tekton Digital site.css: "Ink and Electric" (chosen 2026-10-03).
   Source of truth for look and feel:
   agency/site-refresh-2026-10/schemes/scheme-5-ink-electric.html
   Ink hero bands, light content sections, an ink CTA band and an ink footer.
   Heavy tight headings, a hand-drawn swoosh under key words (.sw, heading
   <em>, the current nav item, "learn more" links), thick underlines on text
   links, 3px button borders. Flat: no gradients, no glows. Texture is the
   drafting sheet (grid, grain, dot board) and motion is the swoosh being
   drawn; see "Texture and motion". Pages use the tokens below, never raw hex.
   ========================================================================== */

/* Self-hosted Geist (no third-party request; propagates to every page via --sans) */
@font-face {
  font-family: "Geist";
  src: url("/assets/fonts/geist.woff2") format("woff2");
  font-weight: 100 900; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Geist Mono";
  src: url("/assets/fonts/geist-mono.woff2") format("woff2");
  font-weight: 100 900; font-style: normal; font-display: swap;
}

/* --------------------------------------------------------------------------
   Tokens
   -------------------------------------------------------------------------- */
:root {
  /* Dark grounds: header, hero bands, CTA bands, footer */
  --bg-dark: #0e1116;
  --bg-dark-2: #262d38;      /* dividers and quiet fills on dark */
  --on-dark: #ffffff;
  --on-dark-muted: #b8bfca;

  /* Light grounds */
  --bg-light: #f3f4f6;       /* page ground */
  --bg-light-2: #e3e6eb;     /* pills, panel visual side, tints */
  --card: #ffffff;
  --muted: #4a515c;
  --line: #d4d8df;

  /* The one accent: electric blue */
  --accent: #4a85ff;         /* swoosh, fills and accent text on dark (5.5:1 on --bg-dark) */
  --accent-soft: #a9c4ff;    /* links and small accent text on dark */
  --accent-on-light: #1d56d8;/* links, accent text and the primary button fill on light */
  --accent-on-light-hover: #1746b4;
  --swoosh-on-light: #4a85ff;

  /* Sample UI only */
  --good: #1c6e3f;
  --good-bg: #e1f2e7;

  /* The swoosh: a hand-drawn brush underline, one per ground */
  --swoosh-dark: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 16' preserveAspectRatio='none'%3E%3Cpath fill='%234a85ff' d='M3 11.4C50 6.6 120 4.3 196 5.2c2.6.1 2.7 3.6.1 3.8C124 9.7 58 11.9 5.4 14.6 1.6 14.9.2 11.8 3 11.4Z'/%3E%3C/svg%3E");
  --swoosh-light: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 16' preserveAspectRatio='none'%3E%3Cpath fill='%234a85ff' d='M3 11.4C50 6.6 120 4.3 196 5.2c2.6.1 2.7 3.6.1 3.8C124 9.7 58 11.9 5.4 14.6 1.6 14.9.2 11.8 3 11.4Z'/%3E%3C/svg%3E");
  --swoosh: var(--swoosh-light);
  --focus: var(--accent-on-light);

  /* Text roles on light. Dark scopes (header, heroes, footer) flip these,
     so page and engine styles that say var(--ink) or var(--muted) stay
     readable on either ground. */
  --ink: #0e1116;            /* headings and text on light; also the ink fill */
  --ink-2: #262d38;          /* hover for ink */
  --text: #1f252e;           /* body copy on light */
  --line-2: #646b76;         /* breadcrumb separators, stronger rules */
  --line-soft: #e8ebef;      /* row dividers inside white cards */

  /* Old "Service Pro" names, mapped onto the new palette */
  --paper: var(--bg-light);
  --paper-2: var(--bg-light-2);
  --paper-3: #d5dae1;
  --gold: var(--accent);                 /* decorative: bullets, rules, small marks */
  --gold-deep: var(--accent-on-light);   /* accent text at large sizes on light */
  --gold-ink: var(--accent-on-light);    /* accent text at small sizes on light */
  --gold-soft: var(--accent-soft);       /* accent text on ink */
  --on-ink: var(--on-dark);
  --on-ink-muted: var(--on-dark-muted);

  /* Type */
  --sans: "Geist", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --mono: "Geist Mono", ui-monospace, "SF Mono", "Cascadia Mono", Menlo, Consolas, monospace;

  /* Shape and depth. Flat: sample UI gets an ink outline, not a shadow. */
  --r: 12px;                 /* cards */
  --r-mock: 10px;            /* floating mock UI */
  --r-btn: 8px;
  --shadow-mock: 0 0 0 2px #0e1116;

  /* The paper fleck is retired (the scheme is clean) */
  --fleck: none;

  /* Texture (2026-10-15): the drafting sheet. Neutral only, so blue stays
     on clickable things. A fine print grain and a drafting grid for ink
     grounds, a dot board and a pale grid for light ones. Tiles, not
     gradients. Used in the "Texture and motion" block below. */
  --tx-grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='g'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23g)' opacity='.09'/%3E%3C/svg%3E");
  --tx-grid-dark: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cpath d='M24.5 0v120M48.5 0v120M72.5 0v120M96.5 0v120M0 24.5h120M0 48.5h120M0 72.5h120M0 96.5h120' stroke='%23fff' stroke-opacity='.035'/%3E%3Cpath d='M.5 0v120M0 .5h120' stroke='%23fff' stroke-opacity='.07'/%3E%3C/svg%3E");
  --tx-grid-light: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cpath d='M24.5 0v120M48.5 0v120M72.5 0v120M96.5 0v120M0 24.5h120M0 48.5h120M0 72.5h120M0 96.5h120' stroke='%230e1116' stroke-opacity='.045'/%3E%3Cpath d='M.5 0v120M0 .5h120' stroke='%230e1116' stroke-opacity='.085'/%3E%3C/svg%3E");
  --tx-dots: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18'%3E%3Ccircle cx='1.5' cy='1.5' r='1' fill='%230e1116' fill-opacity='.16'/%3E%3C/svg%3E");
  --tx-mark: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='15' height='15'%3E%3Cpath d='M7.5 0v15M0 7.5h15' stroke='%23fff' stroke-opacity='.3'/%3E%3C/svg%3E");

  /* Button palette (dark grounds redefine these, so variants keep working) */
  --btn-primary-bg: var(--accent-on-light);
  --btn-primary-fg: #ffffff;
  --btn-primary-hover: var(--accent-on-light-hover);
  --btn-ghost-fg: #0e1116;
  --btn-ghost-bd: #0e1116;
  --btn-ghost-hover: rgba(14,17,22,0.07);

  /* Legacy names that pages, blog.css and render.mjs still reference */
  --cream: var(--card);
  --cream-2: var(--paper);
  --ink-soft: var(--ink-2);
  --clay: var(--ink);
  --clay-deep: var(--ink-2);
  --shadow-1: none;
  --shadow-2: var(--shadow-mock);
}

/* Dark scopes: the token flip. Everything inside reads light-on-ink. */
header, footer, .hero, .pillar-hero, .blog-hero, .article-head, .bp-hero, .intake-hero, .on-dark {
  --ink: #ffffff;
  --ink-2: #dfe3ea;
  --text: #e9ecf1;
  --muted: var(--on-dark-muted);
  --line: var(--bg-dark-2);
  --line-2: #8a93a0;
  --line-soft: var(--bg-dark-2);
  --paper: var(--bg-dark);
  --paper-2: var(--bg-dark-2);
  --paper-3: #343c49;
  --gold: var(--accent);
  --gold-deep: var(--accent-soft);
  --gold-ink: var(--accent-soft);
  --gold-soft: var(--accent-soft);
  background-color: var(--bg-dark);
  color: var(--on-dark);
}
/* Inside ink heroes a "card" (meta chips, small panels) is a quiet ink tile */
.hero, .pillar-hero, .blog-hero, .article-head, .bp-hero, .intake-hero { --card: var(--bg-dark-2); }
/* Every dark ground: button palette, focus ring and swoosh for ink */
header, footer, .hero, .pillar-hero, .blog-hero, .article-head, .bp-hero, .intake-hero, .on-dark,
.band, .seat-band, .tool-band, .exitpop-card, .card-wide, .meaning, .on-ink, .constellation-panel, .cta, .mobile-cta {
  --btn-primary-bg: var(--accent);
  --btn-primary-fg: var(--bg-dark);
  --btn-primary-hover: var(--accent-soft);
  --btn-ghost-fg: #ffffff;
  --btn-ghost-bd: var(--accent);
  --btn-ghost-hover: rgba(74,133,255,0.16);
  --focus: var(--accent);
  --swoosh: var(--swoosh-dark);
}
/* White cards that sit on an ink ground go back to the light roles */
.stack, section.band .cta-card {
  --ink: #0e1116;
  --ink-2: #262d38;
  --text: #1f252e;
  --muted: #4a515c;
  --line: #d4d8df;
  --line-soft: #e8ebef;
  --btn-primary-bg: var(--accent-on-light);
  --btn-primary-fg: #ffffff;
  --btn-primary-hover: var(--accent-on-light-hover);
  --btn-ghost-fg: #0e1116;
  --btn-ghost-bd: #0e1116;
  --btn-ghost-hover: rgba(14,17,22,0.07);
  --focus: var(--accent-on-light);
  --swoosh: var(--swoosh-light);
}

/* --------------------------------------------------------------------------
   Base
   -------------------------------------------------------------------------- */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--sans); font-size: 1.0625rem; color: var(--text); line-height: 1.55;
  background-color: var(--bg-light);
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
@supports (overflow: clip) { body { overflow-x: clip; } }
h1, h2, h3 { font-family: var(--sans); color: var(--ink); font-weight: 800; letter-spacing: -0.03em; line-height: 1.06; }
h1, h2 { font-weight: 900; letter-spacing: -0.035em; text-wrap: balance; }   /* no one-word orphan lines on big headlines */
h1 { font-size: clamp(2.5rem, 6vw, 4.5rem); }
h2 { font-size: clamp(2rem, 4.4vw, 3.3rem); }
h3 { font-size: clamp(1.5rem, 2.4vw, 2rem); letter-spacing: -0.025em; }
h1 em, h2 em { font-style: normal; color: inherit; }
a { color: inherit; text-decoration: none; }
img, svg { max-width: 100%; }
img { height: auto; }
strong, b { font-weight: 700; }
.wrap { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

.lede, .lead { font-size: 1.2rem; color: var(--muted); max-width: 36em; }
.muted { color: var(--muted); }
.center { text-align: center; }
.center .lede, .center .lead, .center.lede, .center.lead { margin-left: auto; margin-right: auto; }

/* Focus: 3px ring in the ground's accent */
a:focus-visible, button:focus-visible, summary:focus-visible, [tabindex]:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 4px; }

/* --------------------------------------------------------------------------
   The swoosh: a hand-drawn brush underline.
   Add class="sw" to any phrase; heading <em> gets it automatically.
   box-decoration-break keeps it under every line when a phrase wraps.
   -------------------------------------------------------------------------- */
.sw, h1 em, h2 em,
.nav-links > a:not(.btn)[aria-current="page"], .nav-links > a:not(.btn):hover,
.nav-drop-toggle:hover, .nav-drop.open > .nav-drop-toggle,
.more, .svc-more, .mega-all, .foot a:hover, .foot-right a:hover, .stack-total em {
  background-image: var(--swoosh);
  background-repeat: no-repeat;
  background-position: 0 100%;
  background-size: 100% 0.3em;
  padding-bottom: 0.08em;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}
.sw { font-style: normal; }
:is(h1, h2) :is(.sw, em) { background-size: 100% 0.26em; padding-bottom: 0.1em; }
/* A swooshed phrase stays on one line so its underline never splits, and a
   heading that carries one gets a little more leading so the swoosh clears
   the ascenders of the line below. h1 phrases may still wrap on phones. */
@media (min-width: 700px) { :is(h1, h2) :is(.sw, em), h3 .sw { white-space: nowrap; } }
:is(h1, h2):has(.sw, em), h3:has(.sw) { line-height: 1.12; }
/* The quiz colour chips use .sw for a swatch, not the swoosh */
.chip .sw { background-image: none; padding-bottom: 0; }

/* --------------------------------------------------------------------------
   Logo: recoloured from here (CSS fill beats the SVG attributes)
   -------------------------------------------------------------------------- */
.logo { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.logo svg { display: block; flex-shrink: 0; }
.logo svg > rect:nth-of-type(1) { fill: var(--bg-dark-2); }
.logo svg > rect:nth-of-type(2), .logo svg > rect:nth-of-type(4) { fill: var(--accent); }
.logo svg > rect:nth-of-type(3) { fill: var(--on-dark); }
.logo-text { font-family: var(--sans); font-weight: 900; font-size: 1.22rem; color: var(--ink); letter-spacing: -0.03em; white-space: nowrap; }
.logo-text span { color: var(--accent-on-light); }
:is(header, footer, .on-dark) .logo-text span { color: var(--accent); }

/* --------------------------------------------------------------------------
   Header and nav (ink)
   -------------------------------------------------------------------------- */
header { position: sticky; top: 0; z-index: 50; background-color: var(--bg-dark); background-image: none; border-bottom: 1px solid var(--bg-dark-2); }
.nav { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 76px; }
.nav-links { display: flex; gap: 28px; align-items: center; }
.nav-links > a { color: var(--on-dark); font-weight: 700; font-size: 0.98rem; }
.nav-links > a:not(.btn) { padding: 6px 0 4px; background-size: 100% 0.42em; }
.nav-links > a:not(.btn):hover, .nav-links > a[aria-current="page"]:not(.btn) { color: var(--on-dark); }
/* Same box with or without the swoosh, so hover never shifts the row */
.nav-links > a:not(.btn)[aria-current="page"], .nav-links > a:not(.btn):hover,
.nav-drop-toggle:hover, .nav-drop.open > .nav-drop-toggle { padding-bottom: 4px; background-size: 100% 0.42em; }
@media (max-width: 1080px) { .nav-links { gap: 20px; } }

/* Hamburger. The full nav needs about 900px (logo, six links, CTA), so the
   menu, the mobile sticky bar and the exit prompt all switch at 920px. */
.menu-toggle { display: none; background: none; border: 3px solid var(--bg-dark-2); cursor: pointer; width: 46px; height: 46px; align-items: center; justify-content: center; color: var(--on-dark); border-radius: var(--r-btn); }
.menu-toggle:hover { background: var(--bg-dark-2); }
.menu-toggle svg { display: block; width: 24px; height: 24px; }

@media (max-width: 920px) {
  .menu-toggle { display: flex; }
  /* Closed, the menu is also visibility:hidden, so its links leave the tab
     order and the accessibility tree. The visibility flip waits for the
     .2s fade on close and happens at once on open. */
  .nav-links { position: absolute; top: 76px; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0; background-color: var(--bg-dark); background-image: none; border-bottom: 3px solid var(--accent); padding: 8px 16px 20px; max-height: calc(100vh - 76px); overflow-y: auto; transform: translateY(-12px); opacity: 0; visibility: hidden; pointer-events: none; transition: transform .2s ease, opacity .2s ease, visibility 0s linear .2s; }
  .nav-links.open { transform: translateY(0); opacity: 1; visibility: visible; pointer-events: auto; transition-delay: 0s; }
  .nav-links a:not(.btn) { padding: 15px 8px; border-bottom: 1px solid var(--bg-dark-2); font-size: 1.05rem; background-size: 5.5em 0.42em; background-position: 8px calc(100% - 9px); }
  .nav-links .btn { margin-top: 16px; padding: 15px 20px; }
}

/* Nav mega-menu (Services / For Clinics / For Trades dropdowns).
   Real <a> links live in the HTML for SEO/AEO; nav.js enhances.
   On desktop the panel is a white card under the ink header. */
.nav-drop { position: relative; display: inline-flex; align-items: center; }
.nav-drop-toggle { display: inline-flex; align-items: center; gap: 6px; background: none; border: none; font-family: inherit; font-weight: 700; font-size: 0.98rem; color: var(--on-dark); cursor: pointer; padding: 6px 0 4px; line-height: 1.4; white-space: nowrap; background-size: 100% 0.42em; }
.nav-drop-toggle:hover, .nav-drop.open .nav-drop-toggle { color: var(--on-dark); }
.nav-drop-caret { width: 12px; height: 12px; flex: 0 0 auto; transition: transform .2s ease; }
.nav-drop.open .nav-drop-caret, .nav-drop:hover .nav-drop-caret { transform: rotate(180deg); }
.mega { position: absolute; top: 100%; left: 0; padding-top: 18px; opacity: 0; visibility: hidden; transform: translateY(-6px); transition: opacity .16s ease, transform .16s ease, visibility .16s; z-index: 60; }
.nav-drop:hover .mega, .nav-drop:focus-within .mega, .nav-drop.open .mega { opacity: 1; visibility: visible; transform: translateY(0); }
.mega-inner { background: var(--card); border: 3px solid var(--bg-dark); border-radius: var(--r); padding: 24px; display: grid; gap: 22px; }
.mega.mega-vertical .mega-inner { grid-template-columns: repeat(2, minmax(190px, 1fr)); width: 470px; }
.mega.mega-services .mega-inner { grid-template-columns: repeat(3, minmax(170px, 1fr)); width: 640px; }
.mega-col h4 { font-family: var(--mono); font-size: 0.72rem; font-weight: 500; letter-spacing: 0.12em; text-transform: uppercase; color: var(--gold-ink); margin-bottom: 10px; }
.mega-link { display: block; padding: 7px 0; color: var(--ink); font-size: 0.95rem; font-weight: 600; }
.mega-link:hover { color: var(--gold-ink); }
.mega-link span { display: block; font-size: 0.82rem; color: var(--muted); font-weight: 400; margin-top: 1px; }
.mega-foot { grid-column: 1 / -1; border-top: 1px solid var(--line); padding-top: 16px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; }
.mega-foot .mega-all { font-weight: 800; font-size: 0.95rem; color: var(--ink); background-size: 100% 0.42em; padding-bottom: 0.18em; }
.mega-foot .mega-all:hover { color: var(--ink); }
.tool-chip { display: inline-flex; align-items: center; gap: 6px; font-size: 0.8rem; color: var(--muted); background: var(--paper-2); border-radius: 999px; padding: 5px 12px; }
.tool-chip b { color: var(--ink); font-weight: 700; }

@media (min-width: 921px) {
  /* The white desktop panel takes the light roles back */
  header .mega-inner {
    --ink: #0e1116; --ink-2: #262d38; --text: #1f252e; --muted: #4a515c;
    --line: #d4d8df; --line-soft: #e8ebef; --paper: var(--bg-light); --paper-2: var(--bg-light-2);
    --gold: var(--accent); --gold-deep: var(--accent-on-light); --gold-ink: var(--accent-on-light);
    --focus: var(--accent-on-light); --swoosh: var(--swoosh-light);
    color: var(--ink);
  }
}

@media (max-width: 920px) {
  .nav-drop { width: 100%; display: block; }
  .nav-drop-toggle { width: 100%; justify-content: space-between; padding: 15px 8px; border-bottom: 1px solid var(--bg-dark-2); font-size: 1.05rem; background-size: 5.5em 0.42em; background-position: 8px calc(100% - 9px); }
  .mega { position: static; padding-top: 0; opacity: 1; visibility: visible; transform: none; display: none; }
  .nav-drop.open .mega { display: block; }
  /* Full-width menu rows: the swoosh stays word-length under the label */
  .nav-links > a:not(.btn)[aria-current="page"], .nav-links > a:not(.btn):hover,
  .nav-drop-toggle:hover, .nav-drop.open > .nav-drop-toggle { background-size: 5.5em 0.42em; background-position: 8px calc(100% - 9px); padding-bottom: 15px; }
  .mega-inner { border: none; border-radius: 0 0 var(--r) var(--r); padding: 8px 12px 16px; grid-template-columns: 1fr !important; width: auto !important; gap: 14px; background: var(--bg-dark-2); }
  .mega-col h4 { padding: 4px 8px 0; }
  .mega-foot { flex-direction: column; align-items: flex-start; padding-left: 8px; }
  /* One rule between the last link and the footer row, not two */
  .nav-links .mega-col .mega-link:last-child { border-bottom: 0; }
  .nav-links .mega-foot a.mega-all { padding: 6px 0 4px; font-size: 1rem; background-size: 100% 0.42em; }
  /* The panel is bg-dark-2 here, so the chip takes the ink fill to stay visible */
  .mega-inner .tool-chip { background: var(--bg-dark); }
  /* The menu carries its own Free Audit and Blueprint button; the sticky bar would cover it */
  body:has(.nav-links.open) .mobile-cta { display: none; }
}

/* --------------------------------------------------------------------------
   Buttons. 3px borders, weight 800.
   Light grounds: primary = blue fill, white text; ghost = ink outline.
   Dark grounds: primary = electric fill, ink text; ghost = electric outline.
   The palette variables flip per ground, so the same classes work anywhere.
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: inherit; font-weight: 800; font-size: 1rem; line-height: 1.2; letter-spacing: -0.005em; text-align: center;
  padding: 15px 26px; border-radius: var(--r-btn); border: 3px solid var(--btn-primary-bg);
  background: var(--btn-primary-bg); color: var(--btn-primary-fg);
  white-space: nowrap; cursor: pointer; text-decoration: none;
  transition: background-color .15s ease, border-color .15s ease, color .15s ease;
}
.btn:hover { background: var(--btn-primary-hover); border-color: var(--btn-primary-hover); color: var(--btn-primary-fg); }
button.btn { font-family: inherit; cursor: pointer; }
/* Legacy primary names: all the same primary look */
.btn-primary, .btn-gold, .btn-dark, .btn-solid, .btn-cta { background: var(--btn-primary-bg); color: var(--btn-primary-fg); border-color: var(--btn-primary-bg); }
.btn-primary:hover, .btn-gold:hover, .btn-dark:hover, .btn-solid:hover, .btn-cta:hover { background: var(--btn-primary-hover); border-color: var(--btn-primary-hover); color: var(--btn-primary-fg); }
/* Ghost: legacy secondary names, plus a plain .btn sitting beside a primary in a CTA group */
.btn-ghost, .btn-outline, .btn-secondary, .btn-line, .btn-light,
:is(.hero-cta, .hero-ctas, .pillar-cta, .cta-buttons, .mobile-cta, .btn-row):has(.btn-gold, .btn-primary) .btn:not(.btn-gold):not(.btn-primary):not(.btn-dark):not(.btn-ink) {
  background: transparent; color: var(--btn-ghost-fg); border-color: var(--btn-ghost-bd);
}
.btn-ghost:hover, .btn-outline:hover, .btn-secondary:hover, .btn-line:hover, .btn-light:hover,
:is(.hero-cta, .hero-ctas, .pillar-cta, .cta-buttons, .mobile-cta, .btn-row):has(.btn-gold, .btn-primary) .btn:not(.btn-gold):not(.btn-primary):not(.btn-dark):not(.btn-ink):hover {
  background: var(--btn-ghost-hover); color: var(--btn-ghost-fg); border-color: var(--btn-ghost-bd);
}
/* "Learn more" ink button for light grounds: ink fill, soft electric text */
.btn-ink { background: var(--bg-dark); color: var(--accent-soft); border-color: var(--bg-dark); }
.btn-ink:hover { background: var(--bg-dark-2); border-color: var(--bg-dark-2); color: var(--accent-soft); }
.btn-sm, .nav .btn { padding: 10px 18px; font-size: 0.95rem; }
.nav-links > a.btn { color: var(--btn-primary-fg); }
.btn-row, .hero-ctas, .hero-cta, .cta-buttons, .pillar-cta { display: flex; gap: 12px; flex-wrap: wrap; }

/* --------------------------------------------------------------------------
   Text links
   .link and long-form links: thick underline in the ground's accent.
   .more / .svc-more / .mega-all: bold "learn more" with the swoosh.
   -------------------------------------------------------------------------- */
.link, body .prose a:not(.btn), .faq-list p a, .answer-box a, .answer-first a {
  color: var(--accent-on-light); font-weight: 700;
  text-decoration: underline; text-decoration-thickness: 3px; text-underline-offset: 4px; text-decoration-color: currentColor;
  border-bottom: 0; padding-bottom: 0;
}
.link:hover, body .prose a:not(.btn):hover, .faq-list p a:hover, .answer-box a:hover, .answer-first a:hover { color: var(--ink); }
:is(header, footer, .hero, .pillar-hero, .blog-hero, .article-head, .bp-hero, .intake-hero, .on-dark, .band, .seat-band, .tool-band, .exitpop-card, .card-wide, .meaning, .on-ink, .cta) :is(.link, .prose a:not(.btn), p a:not(.btn)) { color: var(--accent-soft); }
:is(header, footer, .hero, .pillar-hero, .blog-hero, .article-head, .bp-hero, .intake-hero, .on-dark, .band, .seat-band, .tool-band, .exitpop-card, .card-wide, .meaning, .on-ink, .cta) :is(.link, .prose a:not(.btn), p a:not(.btn)):hover { color: var(--on-dark); }
.stack :is(.link, p a:not(.btn)), section.band .cta-card :is(.link, p a:not(.btn)) { color: var(--accent-on-light); }
.stack :is(.link, p a:not(.btn)):hover, section.band .cta-card :is(.link, p a:not(.btn)):hover { color: var(--ink); }

.more, .card .more, .vcard .more { display: inline-block; font-weight: 800; color: var(--ink); background-size: 100% 0.42em; padding-bottom: 0.18em; }
.more:hover, .card .more:hover, .vcard .more:hover { color: var(--ink); }

/* --------------------------------------------------------------------------
   Eyebrow, pills, labels
   -------------------------------------------------------------------------- */
.eyebrow { display: inline-block; font-family: var(--mono); font-size: 0.76rem; font-weight: 500; letter-spacing: 0.12em; text-transform: uppercase; line-height: 1.3; color: var(--ink); background: var(--bg-light-2); border-radius: 999px; padding: 7px 14px; margin-bottom: 22px; }
:is(.alt, .bg-card, .card, .svc-item, .pillar) .eyebrow { background: var(--bg-light-2); }
:is(header, footer, .hero, .pillar-hero, .blog-hero, .article-head, .bp-hero, .intake-hero, .on-dark, .band, .seat-band, .tool-band, .exitpop-card, .card-wide, .meaning, .on-ink, .cta) .eyebrow {
  color: var(--accent-soft); background: transparent; border: 2px solid var(--bg-dark-2); padding: 5px 12px;
}
a.eyebrow:hover { border-color: var(--accent); }

.pills { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-bottom: 44px; }
.pills.left { justify-content: flex-start; }
.pill { display: inline-flex; align-items: center; font: inherit; font-weight: 800; font-size: 1.05rem; line-height: 1.3; color: var(--ink); cursor: pointer; background: transparent; border: 3px solid var(--ink); border-radius: 999px; padding: 10px 22px; white-space: nowrap; transition: background-color .15s ease, border-color .15s ease, color .15s ease; }
.pill:hover { background: var(--bg-light-2); }
.pills .pill[aria-selected="true"], .pills .pill.active, .pills .pill.is-active, .pills .pill[aria-pressed="true"], .pill[aria-current="page"], .pill[aria-current="true"],
.pill[aria-selected="true"], .pill.active { background: var(--ink); border-color: var(--ink); color: var(--on-dark); }
:is(.alt, .bg-card) .pill:hover { background: var(--bg-light-2); }
:is(.alt, .bg-card) .pills .pill:is([aria-selected="true"], .active, .is-active, [aria-pressed="true"]) { background: var(--ink); }

/* Sample label: every illustrative number sits inside a mock UI wearing this. */
.sample { position: absolute; right: 16px; bottom: 14px; z-index: 4; font-family: var(--mono); font-size: 0.68rem; font-weight: 500; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink); background: var(--card); border: 2px solid var(--ink); padding: 3px 8px; border-radius: 4px; }
.sample.inline { position: static; display: inline-block; }

/* --------------------------------------------------------------------------
   Hero: a full-bleed ink band on every page type
   (.hero, engine .pillar-hero, .blog-hero, article heads, .bp-hero, .intake-hero)
   -------------------------------------------------------------------------- */
.hero { padding: 88px 0 80px; position: relative; }
.hero.center { text-align: center; }
.hero h1 { max-width: 15em; margin-bottom: 22px; }
.hero.center h1 { margin-left: auto; margin-right: auto; }
.hero p.lead, .hero .lede { margin-bottom: 32px; }
.hero.center p.lead, .hero.center .lede { margin-left: auto; margin-right: auto; }
.hero.center :is(.hero-cta, .hero-ctas) { justify-content: center; }
.hero-trust, .hero-note { margin-top: 16px; font-size: 0.92rem; color: var(--muted); }
.hero-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 56px; align-items: center; }
.hero-grid h1 { font-size: clamp(2.5rem, 5vw, 3.8rem); }
@media (max-width: 860px) { .hero-grid { grid-template-columns: 1fr; gap: 36px; } }

/* Ink heroes: lead copy in the muted on-dark tone, bold runs in white */
:is(.hero, .pillar-hero, .blog-hero, .article-head, .bp-hero, .intake-hero) :is(.lead, .lede, .standfirst, .hero-note p, .hero-fence) { color: var(--on-dark-muted); }
:is(.hero, .pillar-hero, .blog-hero, .article-head, .bp-hero, .intake-hero) :is(b, strong) { color: var(--on-dark); }
/* blog.css leaves almost no room under the blog index hero; the band needs it */
section.blog-hero { padding-bottom: 64px; }
section.blog-hero + .blog-list { padding-top: 56px; }
/* Article heads are a centred column, so the ink runs full-bleed behind it */
.wrap.article-head { background-color: var(--bg-dark); box-shadow: 0 0 0 100vmax var(--bg-dark); clip-path: inset(0 -100vmax); padding-bottom: 56px; }
/* Breadcrumbs on ink */
:is(.hero, .pillar-hero, .article-head, .bp-hero, .intake-hero) :is(.crumbs, .vs-crumbs) { color: var(--on-dark-muted); }
:is(.hero, .pillar-hero, .article-head, .bp-hero, .intake-hero) :is(.crumbs, .vs-crumbs) a { color: var(--on-dark); font-weight: 600; text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 4px; text-decoration-color: var(--bg-dark-2); }
:is(.hero, .pillar-hero, .article-head, .bp-hero, .intake-hero) :is(.crumbs, .vs-crumbs) a:hover { color: var(--on-dark); text-decoration-color: var(--accent); }
/* The one-line answer reads as a quiet outlined panel on ink */
:is(.hero, .pillar-hero, .bp-hero) .answer-box { background: transparent; border: 2px solid var(--bg-dark-2); border-left: 4px solid var(--accent); border-radius: 0 var(--r) var(--r) 0; }
:is(.hero, .pillar-hero, .bp-hero) .answer-box p { color: var(--on-dark-muted); }
:is(.hero, .pillar-hero, .bp-hero) .answer-box p strong { color: var(--on-dark); }

/* Audit and Blueprint hero sheet wrapper */
.blocks-art { display: flex; justify-content: center; }
.blocks-art svg { width: 100%; max-width: 380px; height: auto; }

/* --------------------------------------------------------------------------
   Sections: generous rhythm, alternate light and white grounds
   -------------------------------------------------------------------------- */
.section { padding: 96px 0; }
.section.alt, .alt, .bg-card { background: var(--card); }
.bg-paper, .bg-light { background: var(--bg-light); }
.bg-paper-2 { background: var(--bg-light-2); }
.section-head { max-width: 44em; margin-bottom: 48px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head h2 { margin-bottom: 16px; }
.section-head p { color: var(--muted); font-size: 1.15rem; }
.section-head.center p { margin-left: auto; margin-right: auto; max-width: 36em; }

/* --------------------------------------------------------------------------
   Cards: white on the light ground, light on white sections; an ink top
   rule carries the scheme's weight
   -------------------------------------------------------------------------- */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.cards2 { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
@media (max-width: 880px) { .cards { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 800px) { .cards2 { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .cards { grid-template-columns: 1fr; } }

.card, .vcard { background: var(--card); border-radius: var(--r); border-top: 6px solid var(--ink); padding: 32px 30px; display: flex; flex-direction: column; }
:is(.alt, .bg-card) :is(.card, .vcard) { background: var(--bg-light); }
/* A wide ink card keeps its ink ground inside an alt section (the rule above outranks .card-wide on specificity) */
:is(.alt, .bg-card) .card-wide { background: var(--bg-dark); }
.card .icon { width: 46px; height: 46px; border-radius: 10px; background: var(--bg-light-2); display: flex; align-items: center; justify-content: center; margin-bottom: 20px; color: var(--ink); }
:is(.alt, .bg-card) .card .icon { background: var(--card); }
.card h3, .vcard h3 { font-size: 1.35rem; margin-bottom: 10px; }
.card p, .vcard p { color: var(--muted); }
.card p + p { margin-top: 10px; }
.card .more, .vcard .more { margin-top: auto; align-self: flex-start; }
.card > :not(.more):has(+ .more), .vcard > :not(.more):has(+ .more) { margin-bottom: 22px; }
.card-label { font-family: var(--mono); font-size: 0.72rem; font-weight: 500; letter-spacing: 0.1em; text-transform: uppercase; color: var(--gold-ink); margin-bottom: 10px; }
.vlist { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin: 16px 0 24px; }
.vlist li { background: var(--card); border: 2px solid var(--ink); border-radius: 999px; padding: 5px 14px; font-size: 0.9rem; font-weight: 700; color: var(--ink); }
.vlist li a { color: inherit; }
.card-wide { grid-column: 1 / -1; flex-direction: row; align-items: center; gap: 26px; background: var(--bg-dark); border-top-color: var(--accent); }
.card-wide .icon { background: var(--bg-dark-2); color: var(--accent-soft); flex-shrink: 0; margin-bottom: 0; }
.card-wide h3 { color: var(--on-dark); }
.card-wide p { color: var(--on-dark-muted); }
@media (max-width: 560px) { .card-wide { flex-direction: column; align-items: flex-start; } }

/* Chooser (free offers) */
.choose-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
@media (max-width: 760px) { .choose-grid { grid-template-columns: 1fr; } }
.choose-card { display: flex; flex-direction: column; background: var(--card); border-radius: var(--r); border-top: 6px solid var(--ink); padding: 36px 32px; }
:is(.alt, .bg-card) .choose-card { background: var(--bg-light); }
.choose-card .icon { width: 48px; height: 48px; border-radius: 10px; background: var(--bg-light-2); color: var(--ink); display: flex; align-items: center; justify-content: center; margin-bottom: 20px; }
.choose-card .tag { font-family: var(--mono); font-size: 0.72rem; font-weight: 500; letter-spacing: 0.1em; text-transform: uppercase; color: var(--gold-ink); margin-bottom: 10px; }
.choose-card h3 { font-size: 1.45rem; margin-bottom: 10px; }
.choose-card p { color: var(--muted); margin-bottom: 24px; flex: 1; }
.choose-card .btn { align-self: flex-start; }
@media (max-width: 560px) { .choose-card .btn { align-self: stretch; } }

/* Service list (hubs and vertical pages) */
.svc-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; margin-top: 8px; }
.svc-item { border-radius: var(--r); border-top: 6px solid var(--ink); padding: 30px 30px 28px; background: var(--card); display: flex; flex-direction: column; }
:is(.alt, .bg-card) .svc-item { background: var(--bg-light); }
.svc-item h3 { font-size: 1.35rem; margin-bottom: 10px; }
.svc-item h3 a { color: var(--ink); }
.svc-item h3 a:hover { color: var(--gold-ink); }
.svc-item p { color: var(--muted); }
.svc-item .svc-more { align-self: flex-start; margin-top: 18px; font-size: 0.98rem; font-weight: 800; color: var(--ink); background-size: 100% 0.42em; padding-bottom: 0.18em; }
.svc-item .svc-more:hover { color: var(--ink); }
/* An odd last card spans the row instead of leaving a hole; its copy keeps a reading width */
.svc-list > .svc-item:last-child:nth-child(odd) { grid-column: 1 / -1; }
.svc-list > .svc-item:last-child:nth-child(odd) p { max-width: 44em; }
@media (max-width: 640px) { .svc-list { grid-template-columns: 1fr; } }

/* Three-pillar grid */
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
@media (max-width: 900px) { .pillars { grid-template-columns: 1fr; gap: 20px; } }
.pillars .pillar { background: var(--card); border-radius: var(--r); border-top: 6px solid var(--ink); padding: 32px 30px; }
:is(.alt, .bg-card) .pillars .pillar { background: var(--bg-light); }
.pillars .pillar-head { display: flex; align-items: center; gap: 14px; margin-bottom: 22px; padding-bottom: 20px; border-bottom: 3px solid var(--line); }
.pillars .pillar-icon { width: 46px; height: 46px; border-radius: 10px; background: var(--bg-light-2); color: var(--ink); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
:is(.alt, .bg-card) .pillars .pillar-icon { background: var(--card); }
.pillars .pillar-head h3 { font-size: 1.3rem; }
.pillars .pillar-list { list-style: none; display: flex; flex-direction: column; gap: 12px; }
.pillars .pillar-list li { font-size: 0.98rem; color: var(--muted); line-height: 1.5; padding-left: 18px; position: relative; }
.pillars .pillar-list li::before { content: ""; position: absolute; left: 0; top: 0.5em; width: 9px; height: 9px; border-radius: 2px; background: var(--accent); outline: 1.5px solid var(--ink); }
.pillars .pillar-list strong { color: var(--ink); font-weight: 700; }
.pillars .pillar-list a { color: inherit; text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 4px; text-decoration-color: var(--accent-on-light); }
.pillars .pillar-list a:hover { color: var(--accent-on-light); }

/* Answer box: the one-line direct answer */
.answer-box { background: var(--card); border-left: 4px solid var(--accent); border-radius: 0 var(--r) var(--r) 0; padding: 22px 26px; margin: 0 0 8px; max-width: 60em; }
:is(.alt, .bg-card) .answer-box { background: var(--bg-light); }
.answer-box p { color: var(--text); font-size: 1.08rem; line-height: 1.6; }
.answer-box p strong { color: var(--ink); font-weight: 700; }

/* --------------------------------------------------------------------------
   Lists: square electric bullets with an ink edge
   -------------------------------------------------------------------------- */
.proof-list, .bullets { list-style: none; display: grid; gap: 10px; }
.proof-list li, .bullets li { display: flex; gap: 12px; align-items: baseline; color: var(--text); }
.proof-list li::before, .bullets li::before { content: ""; flex: 0 0 9px; height: 9px; border-radius: 2px; background: var(--accent); outline: 1.5px solid var(--ink); transform: translateY(-1px); }

/* Check list (pairs with the system visual) */
.sol-sub { color: var(--muted); font-size: 1.12rem; line-height: 1.55; max-width: 34em; margin-bottom: 4px; }
.checklist { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 14px 28px; margin: 24px 0 32px; max-width: 44em; }
@media (max-width: 560px) { .checklist { grid-template-columns: 1fr; } }
.checklist li { display: flex; align-items: flex-start; gap: 10px; font-size: 1rem; color: var(--text); line-height: 1.45; }
.checklist li > svg { flex-shrink: 0; color: var(--accent-on-light); margin-top: 1px; }
.checklist a { color: var(--ink); font-weight: 700; text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 4px; text-decoration-color: var(--accent); }
.checklist a:hover { color: var(--gold-ink); }

/* --------------------------------------------------------------------------
   Steps
   -------------------------------------------------------------------------- */
.steps, .step-grid, .approach-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
@media (max-width: 860px) { .steps, .step-grid, .approach-grid { grid-template-columns: 1fr; } }
.approach { background: var(--card); }
.step { position: relative; background: var(--card); border: 3px solid var(--ink); border-radius: var(--r); padding: 32px 30px; }
:is(.alt, .bg-card, .approach) .step { background: var(--card); }
.step .n, .step .num { width: 46px; height: 46px; border-radius: 50%; background: var(--bg-dark); color: var(--accent); font-family: var(--sans); font-weight: 900; font-size: 1.05rem; letter-spacing: 0; line-height: 1; display: grid; place-items: center; margin-bottom: 20px; }
.step h3 { font-size: 1.35rem; margin-bottom: 10px; }
.step p { color: var(--muted); }

/* --------------------------------------------------------------------------
   Split panel: the signature component.
   <div class="panel"> <div class="panel-visual">mock UI + .sample</div>
   <div class="panel-copy">h3, p, .btn, .rule, .proof-label, .proof-list</div></div>
   Tabbed sets: wrap panels in .panel-set and toggle .active, or use [hidden].
   -------------------------------------------------------------------------- */
.panel { display: grid; grid-template-columns: 1fr 1fr; background: var(--card); border: 3px solid var(--ink); border-radius: var(--r); overflow: hidden; min-height: 560px; }
.panel[hidden], .panel-set > .panel:not(.active) { display: none; }
.panel + .panel { margin-top: 24px; }
.panel-set > .panel + .panel { margin-top: 0; }
.panel.flip .panel-visual { order: 2; border-right: 0; border-left: 3px solid var(--ink); }
.panel-visual { position: relative; background: var(--bg-light-2); border-right: 3px solid var(--ink); padding: 48px 36px 0; overflow: hidden; }
.panel-copy { padding: 64px 64px 56px; display: flex; flex-direction: column; }
.panel-copy h3 { margin-bottom: 18px; }
.panel-copy p { font-size: 1.12rem; color: var(--text); margin-bottom: 28px; max-width: 30em; }
.panel-copy .btn { align-self: flex-start; }
.rule { width: 56px; height: 4px; background: var(--ink); border-radius: 2px; margin: 40px 0 26px; border: 0; }
.proof-label { font-weight: 800; color: var(--ink); font-size: 1.15rem; margin-bottom: 12px; }
@media (max-width: 900px) {
  .panel { grid-template-columns: 1fr; min-height: 0; }
  .panel-visual, .panel.flip .panel-visual { order: 0; border: 0; border-bottom: 3px solid var(--ink); }
  .panel-visual { min-height: 420px; padding: 28px 20px 0; }
  .panel-copy { padding: 36px 24px 40px; }
}

/* Sample UI kit (lives inside .panel-visual or .mock; always paired with .sample).
   Flat: 2px ink outlines instead of shadows. */
.mock { position: relative; background: var(--card); border: 2px solid var(--ink); border-radius: var(--r-mock); padding: 24px 26px; color: var(--text); }
.stat { position: relative; width: 172px; background: var(--card); border: 2px solid var(--ink); border-radius: var(--r-mock); padding: 14px 16px 16px; z-index: 2; }
.panel-visual .stat { position: absolute; left: 36px; }
.stat .k { font-size: 0.82rem; color: var(--muted); font-weight: 600; }
.stat .v { font-size: 2rem; font-weight: 900; color: var(--ink); letter-spacing: -0.03em; display: flex; align-items: center; gap: 8px; line-height: 1.2; }
.stat .d { font-size: 0.72rem; font-weight: 800; color: var(--good); background: var(--good-bg); border-radius: 999px; padding: 2px 7px; letter-spacing: 0; }
.stat .bar { height: 8px; border-radius: 4px; background: var(--bg-light-2); margin-top: 8px; }
.stat-stack { display: grid; gap: 14px; }
.stat-stack .stat { position: relative; left: auto; top: auto; }
.s1 { top: 48px; } .s2 { top: 190px; } .s3 { top: 332px; }
.stars { color: var(--accent-on-light); font-size: 0.8rem; letter-spacing: 1px; }

/* Laptop frame with a business card and service checks */
.device { position: absolute; left: 190px; top: 70px; width: 640px; background: var(--bg-dark); border-radius: 16px 16px 0 0; padding: 10px 10px 0; }
.device .screen { background: var(--card); border-radius: 8px 8px 0 0; height: 520px; overflow: hidden; }
/* In a split panel the laptop runs off the bottom edge at any panel height */
.panel-visual .device { bottom: 0; }
.panel-visual .device .screen { height: 100%; }
.shot { height: 130px; background: var(--bg-dark-2); }
.bizcard { position: relative; margin: -48px 0 0 36px; background: var(--card); border: 2px solid var(--ink); border-radius: 8px; padding: 22px 24px; width: 520px; max-width: calc(100% - 48px); display: grid; grid-template-columns: 1fr 170px; gap: 18px; z-index: 1; }
.bizcard b { display: block; font-size: 1.35rem; font-weight: 900; color: var(--ink); letter-spacing: -0.02em; }
.bizcard .tag { font-size: 0.85rem; font-weight: 600; color: var(--ink); margin: 4px 0 2px; }
.bizcard .small { font-size: 0.74rem; color: var(--muted); }
.mini-btn { display: block; text-align: center; font-size: 0.78rem; font-weight: 800; border-radius: 6px; padding: 9px 6px; margin-bottom: 8px; border: 2px solid var(--ink); }
.mini-btn.dark { background: var(--ink); color: #fff; }
.mini-btn.line { color: var(--ink); }
.screen-body { padding: 26px 36px; }
.screen-body .st { font-weight: 900; color: var(--ink); font-size: 1.15rem; margin-bottom: 12px; }
.checks { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px 14px; font-size: 0.78rem; color: var(--ink); font-weight: 600; }
.checks span::before { content: "\2713"; color: var(--good); margin-right: 6px; font-weight: 800; }

/* Phone frame with a text thread */
.phone { position: absolute; left: 260px; top: 50px; width: 290px; height: 560px; background: var(--bg-dark); border-radius: 38px; padding: 11px; }
.phone .screen { height: 100%; border-radius: 28px; padding: 46px 16px 16px; background: var(--bg-light); overflow: hidden; }
.msg { font-size: 0.8rem; line-height: 1.4; padding: 10px 12px; border-radius: 14px; margin-bottom: 10px; max-width: 86%; }
.msg.in { background: var(--card); color: var(--ink); border: 1.5px solid var(--line); border-bottom-left-radius: 4px; }
.msg.out { background: var(--ink); color: #fff; margin-left: auto; border-bottom-right-radius: 4px; }
.msg-time { font-size: 0.68rem; font-weight: 600; color: var(--muted); text-align: center; margin: 6px 0 10px; }

/* Monthly report card */
.report { position: absolute; left: 48px; right: 48px; top: 64px; background: var(--card); border: 2px solid var(--ink); border-radius: var(--r-mock); padding: 28px 30px; }
.report.static { position: relative; left: auto; right: auto; top: auto; }
.report .rh { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; border-bottom: 3px solid var(--ink); padding-bottom: 10px; margin-bottom: 14px; }
.report .rh b { color: var(--ink); font-size: 1.1rem; font-weight: 900; }
.report .rh span { font-family: var(--mono); font-size: 0.7rem; color: var(--muted); letter-spacing: 0.08em; }
.rrow { display: grid; grid-template-columns: 1fr 70px 70px; gap: 8px; font-size: 0.86rem; padding: 9px 0; border-bottom: 1px solid var(--line); }
.rrow.head { font-family: var(--mono); font-size: 0.68rem; color: var(--muted); letter-spacing: 0.08em; text-transform: uppercase; }
.rrow span:nth-child(n+2) { text-align: right; font-variant-numeric: tabular-nums; }
.rrow .up { color: var(--good); font-weight: 800; }
.chart { display: flex; align-items: flex-end; gap: 10px; height: 110px; margin-top: 20px; }
.chart i { flex: 1; background: var(--bg-light-2); border-radius: 4px 4px 0 0; }
.chart i:last-child { background: var(--accent); outline: 2px solid var(--ink); outline-offset: -2px; }

@media (max-width: 900px) {
  .device { left: 120px; top: 40px; width: 560px; }
  .panel-visual .stat { left: 20px; width: 150px; }
  .s1 { top: 28px; } .s2 { top: 150px; } .s3 { top: 272px; }
  .phone { left: 180px; top: 30px; }
  .report { left: 24px; right: 24px; top: 30px; }
  /* Stacked panels: the laptop, phone and report run to the bottom edge, so
     the Sample label moves to the clear strip at the top right */
  .panel-visual:has(> .device) > .sample,
  .panel-visual:has(> .phone) > .sample,
  .panel-visual:has(> .report) > .sample { top: 12px; bottom: auto; right: 16px; }
  /* The report card sits in the flow so the visual grows to fit it */
  .panel-visual:has(> .report) { min-height: 0; padding: 44px 20px 28px; }
  .panel-visual > .report { position: relative; left: auto; right: auto; top: auto; }
}
@media (max-width: 520px) {
  .stat { width: 132px; padding: 10px 12px 12px; }
  .panel-visual .stat { width: 132px; }
  .stat .v { font-size: 1.6rem; }
  .phone { left: 50%; transform: translateX(-50%); width: 250px; height: 480px; }
  .report { left: 16px; right: 16px; padding: 20px; }
  /* The laptop fits the panel and its content starts clear of the stat cards,
     so no screen text is cut mid-word on either side */
  .device { left: 120px; right: -16px; width: auto; }
  .bizcard { margin: -48px 16px 0 24px; width: auto; max-width: none; grid-template-columns: 1fr; gap: 12px; padding: 16px 18px; }
  .bizcard > div + div { display: none; }
  .bizcard b { font-size: 1.1rem; }
  .screen-body { padding: 20px 16px 20px 24px; }
  .screen-body .st { font-size: 1rem; }
  .checks { grid-template-columns: 1fr; }
  /* A phone mock stands alone; the stat cards would sit on top of it.
     (The homepage .pv-phone panel keeps its own one-card layout.) */
  .panel-visual:not(.pv-phone):has(> .phone) > .stat { display: none; }
}

/* Two-column panels on desktop: a report card is centred in the visual half
   instead of pinned near the top (the copy side is often the taller one),
   with its Sample label right on top of it, and a phone mock is centred the
   same way. The homepage keeps its own layout for its report tab's label and
   its .pv-phone panels, so they match its other tabs. */
@media (min-width: 901px) {
  .panel-visual:has(> .report) { display: flex; flex-direction: column; justify-content: center; padding: 48px 48px 56px; }
  .panel-visual > .report { position: relative; left: auto; right: auto; top: auto; width: 100%; }
  .panel-visual:not(.pv-report):has(> .report) > .sample { position: static; order: -1; align-self: flex-end; margin-bottom: 10px; }
  .panel-visual:not(.pv-phone):has(> .phone) > .phone { top: 50%; transform: translateY(-50%); }
}

/* Tablet landscape (901-1150px): the panels are still two columns, but the
   visual half is only 426-551px wide, narrower than the 576px the laptop and
   phone are laid out for. The stat cards shrink, the laptop starts closer in
   with a one-column business card, and the phone sits right of the stat
   cards, so no sample text is cut mid-word. Same values the homepage lever
   panels use, so every page with these mocks matches it. */
@media (min-width: 901px) and (max-width: 1150px) {
  .panel-visual:has(> .device) > .stat,
  .panel-visual:has(> .phone) > .stat { left: 20px; width: 150px; }
  .panel-visual > .device { left: 140px; right: -16px; width: auto; }
  .panel-visual .bizcard { margin: -48px 20px 0 24px; width: auto; max-width: none; grid-template-columns: 1fr; gap: 14px; }
  .panel-visual .bizcard > div + div { display: flex; flex-wrap: wrap; gap: 8px; }
  .panel-visual .bizcard .mini-btn { flex: 1 1 auto; margin-bottom: 0; padding: 9px 12px; white-space: nowrap; }
  .panel-visual .screen-body { padding: 24px; }
  .panel-visual .checks { grid-template-columns: repeat(2, 1fr); }
  .panel-visual > .phone { left: auto; right: max(16px, calc((100% - 410px) / 2)); width: 240px; }
}

/* Desktop (1151px+): the visual half is about 550-576px, so the laptop is
   fitted to it (running 40px off the right edge, as in the Ink and Electric
   mockup) and the business card goes one column with its two buttons side
   by side under the text, all inside the screen. Two columns of service
   checks line up with the card. */
@media (min-width: 1151px) {
  .panel-visual > .device { right: -40px; width: auto; }
  .panel-visual .bizcard { margin: -44px 64px 0 24px; width: auto; max-width: none; grid-template-columns: 1fr; gap: 14px; padding: 18px 20px; }
  .panel-visual .bizcard > div + div { display: flex; gap: 8px; }
  .panel-visual .bizcard .mini-btn { flex: 1 1 0; margin-bottom: 0; white-space: nowrap; }
  .panel-visual .screen-body { padding: 24px 64px 24px 24px; }
  .panel-visual .checks { grid-template-columns: repeat(2, 1fr); }
}

/* Small tablets and phones in landscape (521-700px): the stacked visual is
   narrower than the 680px the laptop needs, so it takes the same fitted
   layout as tablet landscape and no sample text is cut mid-word. */
@media (min-width: 521px) and (max-width: 700px) {
  .panel-visual > .device { left: 120px; right: -16px; width: auto; }
  .panel-visual .bizcard { margin: -48px 20px 0 24px; width: auto; max-width: none; grid-template-columns: 1fr; gap: 14px; }
  .panel-visual .bizcard > div + div { display: flex; flex-wrap: wrap; gap: 8px; }
  .panel-visual .bizcard .mini-btn { flex: 1 1 auto; margin-bottom: 0; padding: 9px 12px; white-space: nowrap; }
  .panel-visual .screen-body { padding: 24px; }
  .panel-visual .checks { grid-template-columns: repeat(2, 1fr); }
}

/* --------------------------------------------------------------------------
   Ink band: the page's main offer or CTA
   -------------------------------------------------------------------------- */
.band { background: var(--bg-dark); color: var(--on-dark); padding: 104px 0; }
.band-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 64px; align-items: center; }
.band h2, .band h3 { color: var(--on-dark); }
.band h2 { margin-bottom: 18px; }
.band :is(.lede, .lead, p) { color: var(--on-dark-muted); }
.band .lede, .band .lead { margin-bottom: 30px; }
.band :is(b, strong) { color: var(--on-dark); }
@media (max-width: 900px) { .band-grid { grid-template-columns: 1fr; gap: 44px; } }
/* White value-stack card that sits on the band, edged in electric */
.stack { background: var(--card); color: var(--text); border: 3px solid var(--accent); border-radius: var(--r); padding: 26px 28px; }
.stack :is(b, strong) { color: var(--ink); }
.stack p { color: var(--muted); }
.stack-head { font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); padding-bottom: 10px; border-bottom: 3px solid var(--ink); }
.stack-row { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 0.98rem; font-weight: 600; color: var(--text); }
.stack-row span:last-child { font-variant-numeric: tabular-nums; color: var(--muted); font-weight: 500; }
.stack-total { display: flex; justify-content: space-between; gap: 16px; padding-top: 16px; font-weight: 900; color: var(--ink); font-size: 1.2rem; }
.stack-total s { color: var(--muted); font-weight: 600; margin-right: 10px; }
.stack-total em { font-style: normal; color: var(--ink); }
/* Line-item value stack inside .stack (homepage and packages share it):
   bold ink label, 800 ink figure, a muted note under each row, terms as a
   plain row. Markup: .vrow > b + .fig + small, then .vfoot. */
.vrow { display: grid; grid-template-columns: 1fr auto; align-items: baseline; gap: 2px 16px; padding: 13px 0; border-bottom: 1px solid var(--line); }
.vrow b { color: var(--ink); font-size: 1rem; }
.vrow small { grid-column: 1 / -1; color: var(--muted); font-size: 0.88rem; }
.vrow .fig { font-weight: 800; color: var(--ink); white-space: nowrap; font-variant-numeric: tabular-nums; text-align: right; }
.vfoot { padding-top: 14px; font-weight: 700; color: var(--ink); font-size: 0.92rem; }

/* "One partner for the whole growth push" roll-up band */
.seat-band { margin: 44px auto 0; max-width: 820px; background: var(--bg-dark); border-radius: var(--r); padding: 44px 44px; }
.seat-band .eyebrow { margin-bottom: 16px; }
.seat-band h3 { color: var(--on-dark); font-size: clamp(1.5rem, 2.4vw, 2rem); margin-bottom: 12px; }
.seat-band p { color: var(--on-dark-muted); font-size: 1.05rem; line-height: 1.6; margin-bottom: 26px; max-width: 50em; }
.seat-band p strong { color: var(--on-dark); font-weight: 700; }
.seat-band .pillar-cta { gap: 12px; }
@media (max-width: 600px) { .seat-band { padding: 32px 22px; margin-top: 34px; } }

/* Tool-agnostic band */
.tool-band { background: var(--bg-dark); border-radius: var(--r); padding: 40px 44px; margin: 8px 0; }
.tool-band h3 { color: var(--on-dark); font-size: clamp(1.4rem, 2.2vw, 1.8rem); margin-bottom: 12px; }
.tool-band p { color: var(--on-dark-muted); font-size: 1.05rem; line-height: 1.6; max-width: 52em; margin-bottom: 20px; }
.tool-band p strong { color: var(--on-dark); font-weight: 700; }
.tool-list { display: flex; flex-wrap: wrap; gap: 10px; }
.tool-list .tool { font-size: 0.9rem; font-weight: 700; color: var(--on-dark); background: var(--bg-dark-2); border-radius: 999px; padding: 7px 15px; }
@media (max-width: 600px) { .tool-band { padding: 30px 22px; } }

/* Meaning strip (legacy) */
.meaning { background: var(--bg-dark); color: var(--on-dark); padding: 72px 0; }
.meaning .wrap { display: grid; grid-template-columns: auto 1fr; gap: 36px; align-items: center; }
.meaning .mark { color: var(--accent); flex-shrink: 0; }
.meaning h2 { color: var(--on-dark); font-size: clamp(1.5rem, 2.6vw, 2rem); margin-bottom: 14px; }
.meaning p { color: var(--on-dark-muted); max-width: 52em; }
.meaning p + p { margin-top: 12px; }
.meaning .verse { font-style: italic; color: var(--accent-soft); margin-top: 16px; padding-left: 16px; border-left: 3px solid var(--accent); }
@media (max-width: 700px) { .meaning .wrap { grid-template-columns: 1fr; gap: 20px; } }

/* Growth-system cross-sell band (inner pages): a light card with linked
   tiles, so the page's closing .band stays its one ink block */
.system-band { position: relative; overflow: hidden; background: var(--card); border: 3px solid var(--ink); border-radius: var(--r); padding: 40px 40px; }
:is(.alt, .bg-card) .system-band { background: var(--bg-light); }
.system-band > * { position: relative; }
.system-band .sb-eyebrow { display: inline-block; font-family: var(--mono); font-size: 0.74rem; font-weight: 500; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink); background: var(--bg-light-2); border-radius: 999px; padding: 6px 13px; margin-bottom: 16px; }
:is(.alt, .bg-card) .system-band .sb-eyebrow { background: var(--card); }
.system-band h3 { color: var(--ink); font-size: clamp(1.4rem, 2.2vw, 1.8rem); line-height: 1.15; margin-bottom: 10px; max-width: 22em; }
.system-band .sb-sub { color: var(--muted); font-size: 1.02rem; line-height: 1.55; margin-bottom: 24px; max-width: 46em; }
.sb-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
@media (max-width: 720px) { .sb-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 440px) { .sb-grid { grid-template-columns: 1fr; } }
.sb-tile { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 15px 16px; background: var(--bg-light); border: 2px solid var(--line); border-radius: 10px; color: var(--ink); font-weight: 700; font-size: 0.96rem; transition: border-color .15s ease, color .15s ease; }
:is(.alt, .bg-card) .sb-tile { background: var(--card); }
.sb-tile:hover, .sb-tile.here { border-color: var(--ink); color: var(--ink); }
.sb-tile .sb-arr { color: var(--accent-on-light); font-weight: 800; flex-shrink: 0; }
.system-band .sb-foot { margin-top: 24px; color: var(--muted); font-size: 0.96rem; line-height: 1.55; }
.system-band .sb-foot a { color: var(--accent-on-light); font-weight: 700; text-decoration: underline; text-decoration-thickness: 3px; text-underline-offset: 4px; }
.system-band .sb-foot a:hover { color: var(--ink); }
@media (max-width: 600px) { .system-band { padding: 30px 22px; } }

/* Integrated-system constellation (shared: homepage + inner pages).
   Flat ink panel, electric hub, service nodes. Static (no flow animation).
   Hidden < 600px where a checklist carries mobile. */
.constellation-panel { position: relative; overflow: hidden; background: var(--bg-dark); border-radius: var(--r); padding: 40px 24px 36px; }
.constellation-panel > * { position: relative; }
.cst-lab { display: block; text-align: center; font-family: var(--mono); font-size: 0.74rem; font-weight: 500; letter-spacing: 0.12em; text-transform: uppercase; color: var(--accent-soft); margin-bottom: 12px; }
.cst-title { text-align: center; color: var(--on-dark); font-size: 1.3rem; font-weight: 800; letter-spacing: -0.015em; line-height: 1.35; max-width: 30em; margin: 0 auto; }
.constellation { display: block; width: 100%; max-width: 730px; height: auto; margin: 20px auto 0; overflow: visible; }
.constellation .orbit { fill: none; stroke: #3a4352; stroke-width: 1.2; stroke-dasharray: 1.5 10; stroke-linecap: round; }
.constellation .hub-frame { fill: none; stroke: rgba(169,196,255,0.45); stroke-width: 1.3; stroke-dasharray: 2 7; stroke-linecap: round; }
.constellation .spoke { stroke: #3a4352; stroke-width: 1.4; stroke-dasharray: 2.5 6; stroke-linecap: round; }
.constellation .flow { stroke: var(--accent); stroke-width: 2.1; stroke-linecap: round; stroke-dasharray: 5 250; stroke-dashoffset: 5; opacity: 0.5; animation: none; }
.constellation .spokes { opacity: 1; }
.constellation .tile { fill: #1a2029; stroke: #3a4352; stroke-width: 1.4; filter: none; }
.constellation .hub { fill: var(--accent); stroke: var(--accent-soft); stroke-width: 1.6; filter: none; }
.constellation .ic { fill: none; stroke: #e9ecf1; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.constellation .hub-ic { fill: none; stroke: var(--bg-dark); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.constellation .lab { fill: var(--on-dark-muted); font-family: var(--sans); font-size: 17px; font-weight: 600; letter-spacing: 0.006em; text-anchor: middle; transform: translateY(9px); }
.constellation .hub-lab { fill: var(--on-dark); font-family: var(--sans); font-size: 20px; font-weight: 800; text-anchor: middle; letter-spacing: -0.01em; }
.constellation .node { opacity: 1; }
.cst-foot { text-align: center; color: var(--on-dark-muted); font-size: 0.95rem; margin-top: 24px; max-width: 40em; margin-left: auto; margin-right: auto; }
@media (max-width: 600px) { .constellation-panel.constellation-mobile-hide { display: none; } }

/* --------------------------------------------------------------------------
   FAQ: <details> rows on 3px ink rules, a round +/minus control
   -------------------------------------------------------------------------- */
.faq, .faq-list { max-width: 780px; }
.faq-list { margin: 0 auto; border-top: 3px solid var(--ink); }
body .prose .faq-list { border-top: 3px solid var(--ink); }
:is(.faq, .faq-list) details, details.faq { border-bottom: 3px solid var(--ink); }
:is(.faq, .faq-list) summary, details.faq summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 22px 0; font-weight: 800; font-size: 1.15rem; line-height: 1.35; letter-spacing: -0.01em; color: var(--ink); }
:is(.faq, .faq-list) summary::-webkit-details-marker, details.faq summary::-webkit-details-marker { display: none; }
:is(.faq, .faq-list) summary::after, details.faq summary::after { content: "+"; flex: 0 0 34px; height: 34px; display: grid; place-items: center; border: 3px solid var(--ink); border-radius: 50%; font-weight: 800; font-size: 1.3rem; line-height: 1; color: var(--ink); }
:is(.faq, .faq-list) details[open] summary::after, details.faq[open] summary::after { content: "\2212"; background: var(--bg-dark); border-color: var(--bg-dark); color: var(--accent); }
:is(.faq, .faq-list) summary:hover, details.faq summary:hover { color: var(--ink-2); }
:is(.faq, .faq-list) details p, details.faq p { color: var(--muted); font-size: 1.02rem; line-height: 1.6; padding: 0 0 24px; max-width: 40em; }
:is(.faq, .faq-list) details p + p, details.faq p + p { margin-top: -10px; }

/* --------------------------------------------------------------------------
   CTA block (ink)
   -------------------------------------------------------------------------- */
.cta { padding: 104px 0; text-align: center; background: var(--bg-dark); color: var(--on-dark); }
.cta h2 { margin-bottom: 16px; color: var(--on-dark); }
.cta p { color: var(--on-dark-muted); font-size: 1.15rem; max-width: 34em; margin: 0 auto 30px; }
.cta-buttons { justify-content: center; }

/* --------------------------------------------------------------------------
   Footer (ink, with an electric top rule)
   -------------------------------------------------------------------------- */
footer { background: var(--bg-dark); color: var(--on-dark-muted); padding: 56px 0 40px; font-size: 0.95rem; border-top: 6px solid var(--accent); }
.foot { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 18px 24px; }
.foot .logo-text { color: var(--on-dark); }
.foot a { color: var(--on-dark); font-weight: 700; }
.foot a:not(.logo) { background-size: 100% 0.42em; padding-bottom: 0.18em; }
.foot a:hover { color: var(--on-dark); }
.foot a.logo:hover { background-image: none; }
.foot-right { display: flex; gap: 10px 26px; font-size: 0.95rem; flex-wrap: wrap; }
.foot-bottom { margin-top: 36px; padding-top: 22px; border-top: 1px solid var(--bg-dark-2); font-size: 0.88rem; color: var(--on-dark-muted); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px 16px; }
.foot-bottom a { color: var(--on-dark); text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 4px; text-decoration-color: var(--accent); }
.foot-bottom em { font-style: italic; color: var(--on-dark-muted); }

/* Scroll reveal: kept for markup that still carries it, but static */
.reveal, .reveal.in { opacity: 1; transform: none; }

/* --------------------------------------------------------------------------
   Mobile sticky conversion bar (ink)
   -------------------------------------------------------------------------- */
.mobile-cta { display: none; }
@media (max-width: 920px) {
  .mobile-cta { display: flex; gap: 10px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 80; background-color: var(--bg-dark); background-image: none; border-top: 1px solid var(--bg-dark-2); padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); }
  .mobile-cta .btn { flex: 1 1 0; min-width: 0; padding: 12px 14px; font-size: 0.95rem; }
  /* Room for the bar, kept inside the footer so its colour runs to the bottom */
  body:has(.mobile-cta) footer { padding-bottom: calc(40px + 74px + env(safe-area-inset-bottom)); }
}
@media (max-width: 600px) {
  /* The Audit and Blueprint button gets the wider share so its label stays on one
     line (47px buttons); it still clears the border at 320px wide */
  .mobile-cta .btn:first-child { flex: 1.5 1 0; }
  .mobile-cta .btn { font-size: 0.9rem; padding: 12px 10px; white-space: nowrap; }
}
/* The bar stays out of the way while the page's hero button is on screen
   (nav.js sets the class) and while the cookie banner is showing. */
body.hero-cta-in-view .mobile-cta,
body:has(#tk-consent-banner) .mobile-cta { display: none; }

/* Cookie banner (built by analytics.js with inline styles): put it on the
   ink palette. !important is the only way past inline styles. */
#tk-consent-banner { background: var(--bg-dark) !important; color: var(--on-dark-muted) !important; border-top: 3px solid var(--accent) !important; }
#tk-consent-banner p { color: var(--on-dark-muted) !important; }
#tk-consent-banner a { color: var(--accent-soft) !important; font-weight: 700 !important; text-decoration-thickness: 2px !important; text-underline-offset: 3px; }
#tk-consent-banner button { border-width: 3px !important; font-weight: 800 !important; }
#tk-consent-banner button:first-child { background: transparent !important; border-color: var(--accent) !important; color: var(--on-dark) !important; }
#tk-consent-banner button:last-child { background: var(--accent) !important; border-color: var(--accent) !important; color: var(--bg-dark) !important; }
#tk-consent-banner button:focus-visible { outline: 3px solid var(--accent-soft); outline-offset: 3px; }

/* --------------------------------------------------------------------------
   Forms, quiz modal
   -------------------------------------------------------------------------- */
.modal-overlay { position: fixed; inset: 0; z-index: 100; display: none; align-items: center; justify-content: center; padding: 20px; background: rgba(14,17,22,0.6); }
.modal-overlay.open { display: flex; }
.modal { background: var(--card); width: 100%; max-width: 560px; max-height: 92vh; overflow-y: auto; border: 3px solid var(--bg-dark); border-radius: var(--r); padding: 32px 32px 26px; position: relative; }
.modal-close { position: absolute; top: 16px; right: 16px; width: 38px; height: 38px; border-radius: var(--r-btn); background: var(--bg-light-2); color: var(--ink); display: flex; align-items: center; justify-content: center; cursor: pointer; border: none; z-index: 2; }
.modal-close:hover { background: var(--paper-3); }
.quiz-head { margin-bottom: 16px; padding-right: 34px; }
.quiz-head h3 { font-size: 1.45rem; margin-bottom: 6px; }
.quiz-head p { color: var(--muted); font-size: 0.96rem; }
.quiz-progress { height: 6px; background: var(--bg-light-2); border-radius: 999px; overflow: hidden; margin-bottom: 22px; }
.quiz-progress span { display: block; height: 100%; width: 0; background: var(--accent-on-light); border-radius: 999px; transition: width .3s ease; }
.quiz-step h4 { font-size: 1.12rem; font-weight: 800; color: var(--ink); margin-bottom: 4px; }
.quiz-step .hint { color: var(--muted); font-size: 0.9rem; margin-bottom: 16px; }
.field { margin-bottom: 16px; }
.field label { display: block; font-weight: 700; font-size: 0.92rem; margin-bottom: 6px; color: var(--ink); }
.field .sub { font-weight: 400; color: var(--muted); }
.field input, .field textarea, .field select { width: 100%; font-family: inherit; font-size: 1rem; color: var(--ink); border: 2px solid var(--line); border-radius: var(--r-btn); padding: 12px 14px; background: var(--card); }
.field input:focus, .field textarea:focus, .field select:focus { outline: 3px solid var(--accent-on-light); outline-offset: 1px; border-color: var(--accent-on-light); box-shadow: none; }
.field textarea { resize: vertical; min-height: 62px; }
.chips { display: flex; flex-wrap: wrap; gap: 9px; margin-bottom: 6px; }
.chip { font-family: inherit; font-size: 0.92rem; font-weight: 700; cursor: pointer; border: 2px solid var(--ink); background: var(--card); color: var(--ink); padding: 8px 15px; border-radius: 999px; transition: background-color .12s, color .12s, border-color .12s; }
.chip:hover { background: var(--bg-light-2); }
.chip.on { background: var(--ink); color: #fff; border-color: var(--ink); }
.chip .sw { display: inline-block; width: 10px; height: 10px; border-radius: 3px; margin-right: 7px; vertical-align: middle; border: 1px solid rgba(0,0,0,0.12); }
.slider-row { margin-bottom: 15px; }
.slider-row .slabels { display: flex; justify-content: space-between; font-size: 0.82rem; color: var(--muted); margin-bottom: 4px; }
.slider-row input[type=range] { width: 100%; accent-color: var(--accent-on-light); }
.field-label { display: block; font-weight: 700; font-size: 0.92rem; margin: 14px 0 6px; color: var(--ink); }
.quiz-nav { display: flex; justify-content: space-between; gap: 12px; margin-top: 24px; align-items: center; }
.quiz-nav .btn { padding: 12px 22px; }
.quiz-steplabel { font-size: 0.86rem; color: var(--muted); }
.quiz-error { color: #b23b2e; font-size: 0.88rem; margin-top: 10px; display: none; }
.quiz-success { text-align: center; padding: 16px 0 8px; display: none; }
.quiz-success.show { display: block; }
.quiz-success .check { width: 60px; height: 60px; border-radius: 50%; background: var(--good-bg); color: var(--good); display: flex; align-items: center; justify-content: center; margin: 0 auto 16px; }
.quiz-success h3 { font-size: 1.5rem; margin-bottom: 8px; }
.quiz-success p { color: var(--muted); }

/* --------------------------------------------------------------------------
   Audit and Blueprint prompt: ink side banner, slides in from the right ~3/4 down.
   Non-modal: sits under the quiz modal (z-100), over the mobile CTA (z-80).
   -------------------------------------------------------------------------- */
.exitpop { position: fixed; right: 20px; bottom: 20px; z-index: 90; width: min(360px, calc(100vw - 40px)); opacity: 0; visibility: hidden; transform: translateX(calc(100% + 24px)); transition: transform .32s ease, opacity .32s ease, visibility 0s linear .32s; }
.exitpop.open { opacity: 1; visibility: visible; transform: translateX(0); transition: transform .32s ease, opacity .32s ease, visibility 0s; }
.exitpop-card { position: relative; background: var(--bg-dark); color: var(--on-dark); border: 3px solid var(--accent); border-radius: var(--r); padding: 24px 24px 20px; text-align: left; }
.exitpop-card .eyebrow { margin-bottom: 14px; }
.exitpop-card h3 { color: var(--on-dark); font-size: 1.25rem; margin: 0 0 8px; padding-right: 26px; }
.exitpop-card p { color: var(--on-dark-muted); font-size: 0.94rem; margin-bottom: 16px; }
.exitpop-actions { display: flex; flex-direction: column; gap: 8px; align-items: stretch; }
.exitpop-actions .btn-gold { width: 100%; font-size: 0.98rem; padding: 12px 20px; }
.exitpop-dismiss { background: none; border: 0; color: var(--on-dark-muted); font: inherit; font-size: 0.88rem; cursor: pointer; padding: 4px; }
.exitpop-dismiss:hover { color: var(--on-dark); }
.exitpop-close { position: absolute; top: 10px; right: 10px; z-index: 2; width: 30px; height: 30px; border: 0; border-radius: var(--r-btn); background: var(--bg-dark-2); color: var(--on-dark-muted); display: flex; align-items: center; justify-content: center; cursor: pointer; }
.exitpop-close:hover { background: #343c49; color: var(--on-dark); }
@media (max-width: 920px) { body:has(.mobile-cta) .exitpop { bottom: 86px; } }
@media (max-width: 760px) { .exitpop { right: 12px; left: 12px; bottom: 12px; width: auto; } }
@media (prefers-reduced-motion: reduce) {
  .exitpop, .exitpop.open { transform: none; transition: opacity .2s ease, visibility 0s linear .2s; }
  .exitpop.open { transition: opacity .2s ease, visibility 0s; }
}

/* --------------------------------------------------------------------------
   About: founder section
   -------------------------------------------------------------------------- */
.founder { display: grid; grid-template-columns: 0.82fr 1.18fr; gap: 48px; align-items: center; }
@media (max-width: 760px) { .founder { grid-template-columns: 1fr; gap: 28px; } }
.founder-photo { position: relative; aspect-ratio: 4 / 5; border-radius: var(--r); overflow: hidden; background: var(--paper-3); display: flex; align-items: center; justify-content: center; }
.founder-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.founder-role { color: var(--gold-ink); font-weight: 700; font-size: 1rem; margin: 4px 0 16px; }
.founder-copy h2 { margin-bottom: 4px; }
.founder-copy p { color: var(--muted); font-size: 1.08rem; line-height: 1.6; margin-bottom: 14px; }
.founder-copy .pillar-cta { margin-top: 22px; }

/* Guide list injected by the content engine into hand-built hub pages
   (see injectHubGuides in _engine/build.mjs). Lives here because hub pages
   link site.css only. */
.hub-guides { list-style: none; padding: 0; margin: 0; display: grid; gap: 16px; max-width: 44em; }
.hub-guides li { display: flex; flex-direction: column; gap: 3px; padding-left: 20px; position: relative; }
.hub-guides li::before { content: ""; position: absolute; left: 0; top: 0.5em; width: 9px; height: 9px; border-radius: 2px; background: var(--accent); outline: 1.5px solid var(--ink); }
.hub-guides a { color: var(--ink); font-weight: 800; text-decoration: none; }
.hub-guides a:hover { color: var(--gold-ink); text-decoration: underline; text-decoration-thickness: 3px; text-underline-offset: 4px; }
.hub-guides span { color: var(--muted); font-size: 0.95rem; line-height: 1.5; }

/* --------------------------------------------------------------------------
   Engine-built pieces that site.css restyles for the scheme
   (blog.css is generated, so these sit here with enough specificity)
   -------------------------------------------------------------------------- */
body .post-card { border-top: 6px solid var(--ink); }
body .answer-first { border-left-color: var(--accent); }
body .prose ul > li::before { background: var(--accent); outline: 1.5px solid var(--ink); }
body .prose blockquote { border-left-color: var(--accent); }
body .meta .byline a, body .pillar-link a { border-bottom: 0; text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 4px; text-decoration-color: var(--accent); }
body .post-card:hover :is(h2, h3), body .post-card:focus-visible :is(h2, h3) { text-decoration-color: var(--accent); text-decoration-thickness: 3px; }

/* --------------------------------------------------------------------------
   Texture and motion (2026-10-15): the drafting sheet.
   Ink heroes and the ink band carry a drafting grid under a fine print
   grain; the footer carries the grain alone. The visual side of every split
   panel is a dot board. All neutral, all flat tiles.
   Motion is the swoosh being drawn: on load under the hero headline, and
   as each section heading scrolls into view (nav.js sets .tx-wait, then
   .tx-in). Elements that opt in with data-tx get the same two classes and
   their page says what waiting looks like. Nothing moves under
   prefers-reduced-motion, and without JS nothing waits.
   -------------------------------------------------------------------------- */
:is(.hero, .pillar-hero, .blog-hero, .bp-hero, .intake-hero, .band, .cta) {
  background-image: var(--tx-grain), var(--tx-grid-dark);
  background-position: 0 0, 50% 0;
}
footer { background-image: var(--tx-grain); }
.panel-visual { background-image: var(--tx-dots); background-position: 9px 9px; }

@keyframes tx-draw { from { background-size: 0% 0.26em; } }
@media (prefers-reduced-motion: no-preference) {
  :is(.hero, .pillar-hero, .blog-hero, .bp-hero, .intake-hero) h1 :is(.sw, em) { animation: tx-draw .9s cubic-bezier(.65, 0, .35, 1) .25s backwards; }
  .tx-wait:is(.sw, em) { background-size: 0% 0.26em; }
  .tx-in:is(.sw, em) { transition: background-size .9s cubic-bezier(.65, 0, .35, 1); }
}

/* --------------------------------------------------------------------------
   Phones
   -------------------------------------------------------------------------- */
@media (max-width: 700px) {
  .pills { flex-wrap: nowrap; overflow-x: auto; justify-content: flex-start; padding-bottom: 6px; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
  .pills::-webkit-scrollbar { display: none; }
  .pill { flex: 0 0 auto; font-size: 0.95rem; padding: 8px 15px; }
}
@media (max-width: 600px) {
  .wrap { padding: 0 16px; }
  .wrap.article-head { padding-bottom: 44px; }
  .nav { height: 68px; }
  .nav-links { top: 68px; max-height: calc(100vh - 68px); }
  .hero { padding: 56px 0 60px; }
  .hero p.lead, .hero .lede { font-size: 1.08rem; }
  .lede, .lead { font-size: 1.1rem; }
  .section, .band, .cta { padding: 68px 0; }
  section.blog-hero { padding-bottom: 48px; }
  .section-head { margin-bottom: 32px; }
  .card, .vcard, .svc-item, .pillars .pillar, .step { padding: 26px 22px; }
  .choose-card { padding: 28px 22px; }
  .stack { padding: 22px 20px; }
  .modal { padding: 26px 20px 22px; }
  .cta p { font-size: 1.05rem; }
  :is(.faq, .faq-list) summary, details.faq summary { font-size: 1.08rem; }
  /* CTA groups stack full width so long labels never squeeze */
  :is(.hero-cta, .hero-ctas, .cta-buttons, .pillar-cta, .btn-row) { flex-direction: column; align-items: stretch; gap: 10px; }
  :is(.hero-cta, .hero-ctas, .cta-buttons, .pillar-cta, .btn-row) .btn { width: 100%; }
  .foot { justify-content: flex-start; }
  .foot-bottom { font-size: 0.82rem; }
}
@media (max-width: 480px) {
  .btn { white-space: normal; }
  .eyebrow { font-size: 0.7rem; letter-spacing: 0.08em; }
  .logo-text { font-size: 1.08rem; }
  .nav { gap: 12px; }
}
@media (prefers-reduced-motion: reduce) { .btn, .pill, .nav-drop-caret, .mega { transition: none; } }

/* Engine-built pillar pages: eyebrows inside prose sit with the heading they label */
.prose .eyebrow { margin: 40px 0 14px; }
.prose .eyebrow + h2, .prose .eyebrow + h3 { margin-top: 0; }
.pillar-hero .pillar-cta { margin-bottom: 40px; }

/* A soft cross-fade between pages in browsers that support it; the rest just change page. */
@media (prefers-reduced-motion: no-preference) {
  @view-transition { navigation: auto; }
}
