/* ==========================================================================
   Shawn Dwyer: personal homepage (shawn-dwyer.com, framework draft)
   Fleet structure: HTML + external stylesheet, per the canonical landing
   page template (fleet-ops/templates/landing-page: index.html + assets/
   page.css). No inline <style>, no inline style attributes.

   Tokens: the fleet --go-* scale, copied verbatim from the Golden Oak
   Design System tokens.css v1, 2026-07-25 (golden-oak-briefings
   src/assets/ds/tokens.css), the same scale as the Tuesday page v4.
   Component patterns follow the same system's components.css (field,
   button, card, dark band). The canonical template's CTA rule (dark
   ink text on gold) is superseded by point 6 below.

   Differences from the Tuesday page stylesheet, each deliberate:
   1. --go-error and --go-success are carried over from the Tuesday page.
      The fleet DS defines no form-state colors; the signup form's
      validation and success states need functional colors, so they are
      declared here as tokens rather than hardcoded at the use sites.
   2. A wide wrap (920px) is added beside the 640px text column, for the
      proof strip and the two-door row, which do not read well at 640px.
   3. Page components added: hero headshot and call-to-action link, the
      two-door cards, and story paragraph rhythm. All values are fleet
      tokens; nothing is hardcoded at a use site.
   4. Palette: scheme C, Charcoal and Gold (Shawn's decision,
      2026-11-26, fleet-wide; guide section 4). Page ground #f5f5f3,
      dark band #1c1c1e, accent gold #a97f2f, ink #161617. This scheme
      supersedes the earlier cream palette and the same-day contrast
      derivations made on it. --go-gold-text (#7a5c1e) is the gold for
      TEXT on light grounds (article kickers, the proof strip
      separator): 5.70:1 on the page ground. Gold is never used as
      text on dark grounds (point 6); on dark it survives only as
      non-text accents (the band's bottom rule, the headshot ring).
      --go-gold-hover (#a27a2d) is the accent darkened 4 percent; it
      was derived for the retired gold button and is retained in the
      token scale for fleet parity.
   5. Fleet UI-component floor (2026-11-26, Shawn's decision, applied
      to both this stylesheet and the briefings design system): the
      focus outline is full-opacity #7a5c1e (the --go-gold-text value;
      5.70:1 on the page ground, 6.22:1 on white), replacing the old
      gold at 45 percent opacity (1.53:1 blended). --go-hairline is
      #918e84, the old hairline darkened the minimum amount in the
      same warm neutral family to clear the 3:1 UI-component floor
      against both the page ground (3.00:1) and white (3.28:1).
   6. No gold text on dark; charcoal primary buttons (Shawn's rule,
      2026-11-26, fleet-wide, applied to both this stylesheet and the
      briefings design system): gold is never TEXT on the dark band or
      the footer. Band sub-labels and the series label now use
      --go-on-dark-soft (7.98:1 on the band); footer links and band
      nav hover use --go-on-dark (15.59:1). Primary buttons
      (.call-action, .cta) are charcoal --go-dark with --go-on-dark
      text (15.59:1), hovering to --go-dark-hover #2a2a2e (13.10:1).
      Gold fill is no longer a button treatment anywhere.
   ========================================================================== */


/* --------------------------------------------------------------------------
   1. Tokens (fleet --go-* scale, verbatim from tokens.css v1)
   -------------------------------------------------------------------------- */

:root {
  /* Color */
  --go-page:         #f5f5f3;
  --go-surface:      #ffffff;
  --go-ink:          #161617;
  --go-ink-soft:     #4a4238;
  --go-gold:         #a97f2f;
  --go-gold-hover:   #a27a2d;
  --go-gold-text:    #7a5c1e;
  --go-hairline:     #918e84;
  --go-dark:         #1c1c1e;
  --go-dark-hover:   #2a2a2e;
  --go-on-dark:      #f5f5f3;
  --go-on-dark-soft: #b8b1a2;

  /* Page additions: form-state colors (no fleet token exists) */
  --go-error:        #b3261e;
  --go-success:      #1e6b3c;

  /* Type */
  --go-font-display: Georgia, "Times New Roman", "Iowan Old Style", serif;
  --go-font-body:    -apple-system, BlinkMacSystemFont, "SF Pro Text", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --go-t-caption:    13px;
  --go-t-body:       16px;
  --go-t-lead:       20px;
  --go-t-h4:         25px;
  --go-t-h3:         31px;
  --go-t-h2:         39px;
  --go-t-h1:         49px;
  --go-t-display:    61px;
  --go-w-body:       400;
  --go-w-bold:       700;
  --go-lh-display:   1.05;
  --go-lh-heading:   1.15;
  --go-lh-body:      1.6;
  --go-lh-tight:     1.35;
  --go-ls-kicker:    0.14em;

  /* Space (8px grid) */
  --go-s-1:          8px;
  --go-s-2:          16px;
  --go-s-3:          24px;
  --go-s-4:          32px;
  --go-s-5:          40px;
  --go-s-6:          48px;
  --go-s-7:          56px;
  --go-s-8:          64px;
  --go-s-9:          72px;
  --go-s-10:         80px;
  --go-s-11:         88px;
  --go-s-12:         96px;
  --go-sec-desktop:  var(--go-s-12);
  --go-sec-mobile:   var(--go-s-5);

  /* Depth and motion */
  --go-radius:       8px;
  --go-shadow:       0 1px 2px rgba(22, 22, 23, 0.04),
                     0 12px 32px rgba(22, 22, 23, 0.08);
  --go-shadow-hover: 0 2px 4px rgba(22, 22, 23, 0.06),
                     0 20px 48px rgba(22, 22, 23, 0.12);
  --go-ease:         cubic-bezier(0.2, 0.8, 0.2, 1);
  --go-dur:          180ms;
}

@media (prefers-reduced-motion: reduce) {
  :root { --go-dur: 0ms; }
}


/* --------------------------------------------------------------------------
   2. Base
   -------------------------------------------------------------------------- */

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

html, body { margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  background: var(--go-page);
  color: var(--go-ink);
  font-family: var(--go-font-body);
  font-size: var(--go-t-body);
  font-weight: var(--go-w-body);
  line-height: var(--go-lh-body);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2 {
  font-family: var(--go-font-display);
  font-weight: var(--go-w-bold);
  line-height: var(--go-lh-heading);
  letter-spacing: -0.02em;
  color: var(--go-ink);
  margin: 0;
}

/* The H1 sits on the h3/h2 steps of the fleet scale, not the DS h1 step:
   the name is a personal homepage headline, not a display headline, and
   the Tuesday page's approved sizes carry over. The values are fleet
   tokens either way. */
h1 {
  font-size: var(--go-t-h3);
  line-height: var(--go-lh-display);
  letter-spacing: -0.03em;
}
@media (min-width: 768px) { h1 { font-size: var(--go-t-h2); } }

h2 { font-size: var(--go-t-h4); }

p { margin: 0; color: var(--go-ink-soft); }

a { color: var(--go-dark); }

:focus-visible {
  outline: 3px solid var(--go-gold-text);
  outline-offset: 3px;
}

/* Text column, retained from the Tuesday page. The wide wrap carries the
   proof strip and the two-door row. */
.wrap {
  max-width: 640px;
  margin: 0 auto;
  padding: 0 var(--go-s-2);
}
.wrap-wide {
  max-width: 920px;
  margin: 0 auto;
  padding: 0 var(--go-s-2);
}
@media (min-width: 768px) {
  .wrap { padding: 0 var(--go-s-3); }
  .wrap-wide { padding: 0 var(--go-s-3); }
}

section { padding: var(--go-s-4) 0; }
@media (min-width: 768px) { section { padding: var(--go-s-6) 0; } }
section h2 { margin-bottom: var(--go-s-2); }


/* --------------------------------------------------------------------------
   3. Header band (dark, gold rule under)
   -------------------------------------------------------------------------- */

.band {
  background: var(--go-dark);
  border-bottom: 2px solid var(--go-gold);
}
.band .wrap-wide {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--go-s-2);
  padding-top: var(--go-s-2);
  padding-bottom: var(--go-s-2);
}
.brand { line-height: var(--go-lh-tight); }
.brand-name {
  display: block;
  font-weight: var(--go-w-bold);
  font-size: var(--go-t-lead);
  color: var(--go-on-dark);
  letter-spacing: 0.01em;
}
.brand-sub {
  display: block;
  font-size: var(--go-t-caption);
  font-weight: var(--go-w-bold);
  letter-spacing: var(--go-ls-kicker);
  text-transform: uppercase;
  color: var(--go-on-dark-soft);
}
.band .series {
  font-size: var(--go-t-caption);
  font-weight: var(--go-w-bold);
  letter-spacing: var(--go-ls-kicker);
  line-height: var(--go-lh-tight);
  color: var(--go-on-dark-soft);
  text-transform: uppercase;
  text-align: right;
}


/* --------------------------------------------------------------------------
   4. Hero (headshot, name, one line, one action)
   -------------------------------------------------------------------------- */

.hero { padding: var(--go-s-4) 0 var(--go-s-3); text-align: center; }
@media (min-width: 768px) { .hero { padding-top: var(--go-s-6); } }
.hero .headshot {
  display: block;
  width: 160px;
  height: 160px;
  margin: 0 auto var(--go-s-3);
  border-radius: 50%;
  border: 3px solid var(--go-gold);
  object-fit: cover;
  background: var(--go-surface);
}
.hero .promise {
  margin-top: var(--go-s-1);
  font-size: var(--go-t-lead);
  line-height: var(--go-lh-tight);
  color: var(--go-ink);
}
.call-action {
  display: inline-block;
  margin-top: var(--go-s-3);
  height: 52px;
  line-height: 52px;
  padding: 0 var(--go-s-4);
  border-radius: var(--go-radius);
  background: var(--go-dark);
  color: var(--go-on-dark);
  font-weight: var(--go-w-bold);
  font-size: var(--go-t-body);
  text-decoration: none;
  transition: background var(--go-dur) var(--go-ease);
}
.call-action:hover { background: var(--go-dark-hover); }


/* --------------------------------------------------------------------------
   5. Proof strip
   -------------------------------------------------------------------------- */

.proof {
  background: var(--go-surface);
  border-top: 1px solid var(--go-hairline);
  border-bottom: 1px solid var(--go-hairline);
}
.proof .wrap-wide {
  padding-top: var(--go-s-2);
  padding-bottom: var(--go-s-2);
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: baseline;
  gap: var(--go-s-1) var(--go-s-2);
  text-align: center;
  font-weight: var(--go-w-bold);
  font-size: var(--go-t-caption);
  color: var(--go-ink);
}
@media (min-width: 768px) { .proof .wrap-wide { font-size: var(--go-t-body); } }
@media (max-width: 640px) {
  .proof-item { flex-basis: 100%; }
  .proof .sep { display: none; }
}
.proof .sep { color: var(--go-gold-text); }


/* --------------------------------------------------------------------------
   6. Two doors
   -------------------------------------------------------------------------- */

.doors-grid { display: grid; gap: var(--go-s-2); }
@media (min-width: 768px) { .doors-grid { grid-template-columns: 1fr 1fr; } }
.door {
  background: var(--go-surface);
  border: 1px solid var(--go-hairline);
  border-radius: var(--go-radius);
  box-shadow: var(--go-shadow);
  padding: var(--go-s-3);
}
@media (min-width: 768px) { .door { padding: var(--go-s-4); } }
.door h2 { font-size: var(--go-t-h4); margin-bottom: var(--go-s-1); }
.door-more { margin-top: var(--go-s-2); }
.door-link { font-weight: var(--go-w-bold); }


/* --------------------------------------------------------------------------
   7. Form (Standard Intake; fleet field and card patterns, as the
      Tuesday page)
   -------------------------------------------------------------------------- */

.form-card {
  background: var(--go-surface);
  border: 1px solid var(--go-hairline);
  border-radius: var(--go-radius);
  box-shadow: var(--go-shadow);
  padding: var(--go-s-3);
}
@media (min-width: 768px) { .form-card { padding: var(--go-s-4); } }
.form-card h2 { font-size: var(--go-t-lead); margin-bottom: var(--go-s-2); }

.field { margin-bottom: var(--go-s-2); }

label {
  display: block;
  font-size: var(--go-t-caption);
  font-weight: var(--go-w-bold);
  letter-spacing: 0.02em;
  margin-bottom: var(--go-s-1);
  color: var(--go-ink);
}

input[type="text"], input[type="email"], input[type="tel"] {
  width: 100%;
  height: 48px;
  padding: 0 var(--go-s-2);
  font: inherit;
  font-size: var(--go-t-body);
  color: var(--go-ink);
  background: var(--go-surface);
  border: 1px solid var(--go-hairline);
  border-radius: var(--go-radius);
  transition: border-color var(--go-dur) var(--go-ease),
              box-shadow var(--go-dur) var(--go-ease);
}
input[type="text"]:focus, input[type="email"]:focus, input[type="tel"]:focus {
  outline: 0;
  border-color: var(--go-gold);
  box-shadow: 0 0 0 3px rgba(169, 127, 47, 0.20);
}

.helper {
  font-size: var(--go-t-caption);
  line-height: var(--go-lh-tight);
  color: var(--go-ink-soft);
  margin-top: var(--go-s-1);
}
.error-text {
  display: none;
  font-size: var(--go-t-caption);
  line-height: var(--go-lh-tight);
  color: var(--go-error);
  margin-top: var(--go-s-1);
}
.field.invalid input { border-color: var(--go-error); }
.field.invalid .error-text { display: block; }

.consent {
  display: flex;
  gap: var(--go-s-2);
  align-items: flex-start;
  margin: var(--go-s-2) 0;
}
.consent input[type="checkbox"] {
  width: 20px;
  height: 20px;
  flex: 0 0 auto;
  margin-top: 4px;
  accent-color: var(--go-dark);
}
.consent label {
  font-size: var(--go-t-caption);
  font-weight: var(--go-w-body);
  line-height: var(--go-lh-tight);
  letter-spacing: 0;
  margin: 0;
  color: var(--go-ink);
}
.consent label .consent-title { font-weight: var(--go-w-bold); display: block; }

.cta {
  width: 100%;
  height: 52px;
  border: 0;
  border-radius: var(--go-radius);
  cursor: pointer;
  background: var(--go-dark);
  color: var(--go-on-dark);
  font-family: var(--go-font-body);
  font-weight: var(--go-w-bold);
  font-size: var(--go-t-body);
  transition: background var(--go-dur) var(--go-ease);
}
.cta:hover { background: var(--go-dark-hover); }
.cta:disabled { opacity: 0.65; cursor: default; }

.consent-line {
  font-size: var(--go-t-caption);
  line-height: var(--go-lh-tight);
  color: var(--go-ink-soft);
  text-align: center;
  margin-top: var(--go-s-2);
}
.form-note {
  font-size: var(--go-t-caption);
  line-height: var(--go-lh-tight);
  color: var(--go-ink-soft);
  text-align: center;
  margin-top: var(--go-s-1);
}

.form-success {
  display: none;
  border: 1px solid var(--go-success);
  border-radius: var(--go-radius);
  padding: var(--go-s-2);
  margin-top: var(--go-s-2);
}
.form-success strong { color: var(--go-success); }
form.submitted .form-success { display: block; }


/* --------------------------------------------------------------------------
   8. Story
   -------------------------------------------------------------------------- */

.story p + p { margin-top: var(--go-s-2); }


/* --------------------------------------------------------------------------
   9. Footer
   -------------------------------------------------------------------------- */

footer {
  background: var(--go-dark);
  color: var(--go-on-dark);
  margin-top: var(--go-s-6);
}
footer .wrap { padding-top: var(--go-s-4); padding-bottom: var(--go-s-4); }
footer .fname {
  font-family: var(--go-font-display);
  font-weight: var(--go-w-bold);
  font-size: var(--go-t-body);
  color: var(--go-on-dark);
}
footer p {
  font-size: var(--go-t-caption);
  line-height: var(--go-lh-tight);
  color: var(--go-on-dark);
  margin-top: var(--go-s-1);
}
footer .fine { color: var(--go-on-dark-soft); }
footer a { color: var(--go-on-dark); }


/* --------------------------------------------------------------------------
   10. Rebuild additions (2026-11-26): band nav, hero roles line, writing
       shelf, article pages, and the closing invitation block. All values
       are fleet tokens, same as the rest of the sheet.
   -------------------------------------------------------------------------- */

.band-nav { display: flex; gap: var(--go-s-3); align-items: center; }
.band-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--go-on-dark);
  text-decoration: none;
  font-size: var(--go-t-caption);
  font-weight: var(--go-w-bold);
  letter-spacing: var(--go-ls-kicker);
  text-transform: uppercase;
}
.band-nav a:hover { color: var(--go-on-dark); text-decoration: underline; }
@media (max-width: 640px) {
  .band-nav { gap: var(--go-s-2); }
  .band .wrap-wide { flex-wrap: wrap; }
}

.hero .roles {
  margin-top: var(--go-s-2);
  font-size: var(--go-t-caption);
  font-weight: var(--go-w-bold);
  letter-spacing: 0.02em;
  line-height: var(--go-lh-tight);
  color: var(--go-ink-soft);
  text-transform: uppercase;
}

.writing-intro { margin-bottom: var(--go-s-3); max-width: 640px; }
.door h3 {
  font-family: var(--go-font-display);
  font-weight: var(--go-w-bold);
  font-size: var(--go-t-lead);
  line-height: var(--go-lh-heading);
  color: var(--go-ink);
  margin: 0 0 var(--go-s-2);
}
.article-list { list-style: none; margin: 0; padding: 0; }
.article-list li { padding: var(--go-s-1) 0; border-top: 1px solid var(--go-hairline); }
.article-list li:first-child { border-top: 0; padding-top: 0; }
.article-list a { text-decoration: none; font-weight: var(--go-w-bold); }
.article-list a:hover { text-decoration: underline; }
.article-list .article-note {
  display: block;
  font-weight: var(--go-w-body);
  font-size: var(--go-t-caption);
  line-height: var(--go-lh-tight);
  color: var(--go-ink-soft);
  margin-top: 4px;
}

/* Article pages */
.kicker {
  font-size: var(--go-t-caption);
  font-weight: var(--go-w-bold);
  letter-spacing: var(--go-ls-kicker);
  text-transform: uppercase;
  color: var(--go-gold-text);
  margin-bottom: var(--go-s-1);
}
.article-head { padding-top: var(--go-s-4); }
@media (min-width: 768px) { .article-head { padding-top: var(--go-s-6); } }
.article-head h1 { margin-bottom: var(--go-s-1); }
.byline { font-size: var(--go-t-caption); color: var(--go-ink-soft); }
.article-body { padding-top: var(--go-s-3); }
.article-body p + p { margin-top: var(--go-s-2); }
.article-body h2 {
  font-size: var(--go-t-lead);
  margin-top: var(--go-s-4);
  margin-bottom: var(--go-s-1);
}
.article-body ul { margin: var(--go-s-1) 0 var(--go-s-2); padding-left: var(--go-s-3); color: var(--go-ink-soft); }
.article-body li + li { margin-top: var(--go-s-1); }

/* The closing invitation, the same shape at the foot of every article */
.close-block {
  background: var(--go-surface);
  border: 1px solid var(--go-hairline);
  border-radius: var(--go-radius);
  box-shadow: var(--go-shadow);
  padding: var(--go-s-3);
  margin-top: var(--go-s-5);
}
@media (min-width: 768px) { .close-block { padding: var(--go-s-4); } }
.close-block h2 { font-size: var(--go-t-lead); margin-bottom: var(--go-s-1); }
.close-block p + p { margin-top: var(--go-s-1); }
.close-block .call-action { margin-top: var(--go-s-2); }

/* Writing index */
.writing-cat { padding: var(--go-s-4) 0 0; }
.writing-cat .article-list li { padding: var(--go-s-2) 0; }
.writing-cat .article-list a { font-size: var(--go-t-lead); font-family: var(--go-font-display); }

/* --------------------------------------------------------------------------
   11. Guide v2 additions (2026-11-26): the ungated missed-call cost
       calculator. Number inputs join the fleet field pattern; the result
       block reuses the form-card surface. All values are fleet tokens.
   -------------------------------------------------------------------------- */

input[type="number"] {
  width: 100%;
  height: 48px;
  padding: 0 var(--go-s-2);
  font: inherit;
  font-size: var(--go-t-body);
  color: var(--go-ink);
  background: var(--go-surface);
  border: 1px solid var(--go-hairline);
  border-radius: var(--go-radius);
  transition: border-color var(--go-dur) var(--go-ease),
              box-shadow var(--go-dur) var(--go-ease);
}
input[type="number"]:focus {
  outline: 0;
  border-color: var(--go-gold);
  box-shadow: 0 0 0 3px rgba(169, 127, 47, 0.20);
}

.calc-formula {
  font-size: var(--go-t-caption);
  line-height: var(--go-lh-tight);
  color: var(--go-ink-soft);
  border-top: 1px solid var(--go-hairline);
  padding-top: var(--go-s-2);
  margin-top: var(--go-s-2);
}
.calc-result { margin-top: var(--go-s-3); }
.calc-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: var(--go-s-2);
  padding: var(--go-s-1) 0;
  border-top: 1px solid var(--go-hairline);
}
.calc-row .calc-label { font-size: var(--go-t-caption); font-weight: var(--go-w-bold); color: var(--go-ink); }
.calc-row .calc-value {
  font-family: var(--go-font-display);
  font-weight: var(--go-w-bold);
  font-size: var(--go-t-h4);
  color: var(--go-ink);
  white-space: nowrap;
}
.calc-note { font-size: var(--go-t-caption); line-height: var(--go-lh-tight); margin-top: var(--go-s-2); }

/* --------------------------------------------------------------------------
   12. Consulting theme (2026-11-26): the second brand palette, Graphite
       and Safety Orange (guide section 4), for the AI consulting
       business. The --cx-* tokens are the palette's source values.
       .theme-consulting, set on <body>, redefines the same --go-* token
       names with the consulting values, so every component above renders
       in the consulting palette with no second stylesheet. Pages that
       carry it end to end: the FAQ page, the missed-call calculator,
       and the AI and Automation articles. Scoped uses on main-palette
       pages: .btn-consulting and .kicker-consulting (the homepage AI
       door) and .writing-cat-ai (the writing index's AI section), which
       read the --cx-* tokens directly.

       Pairs, measured on this palette: body ink 16.45:1 on the ground
       and 17.77:1 on white; muted #4e5054 7.48:1 and 8.08:1; button
       ink #141414 on the accent 4.87:1; accent-for-text #a63f14
       5.82:1 on the ground and 6.28:1 on white; off-white on graphite
       13.86:1; on-dark-soft #b8bcc2 7.85:1 on graphite. The accent is
       never text on the graphite band (3.95:1, and accent text on
       dark is banned house-wide); on dark it appears only as the
       band's bottom rule and other non-text accents. The button hover
       lightens the accent (#e0652f, button ink 5.33:1): darkening it
       drops the near-black button text under 4.5:1, so this accent
       hovers light where a dark-text accent must.
   -------------------------------------------------------------------------- */

:root {
  /* Color: consulting palette (Graphite and Safety Orange) */
  --cx-page:         #f7f6f4;
  --cx-surface:      #ffffff;
  --cx-ink:          #17181a;
  --cx-ink-soft:     #4e5054;
  --cx-accent:       #d95d28;
  --cx-accent-hover: #e0652f;
  --cx-accent-text:  #a63f14;
  --cx-btn-ink:      #141414;
  --cx-hairline:     #8f8d86;
  --cx-dark:         #23272f;
  --cx-on-dark:      #f7f6f4;
  --cx-on-dark-soft: #b8bcc2;
}

.theme-consulting {
  --go-page:         var(--cx-page);
  --go-surface:      var(--cx-surface);
  --go-ink:          var(--cx-ink);
  --go-ink-soft:     var(--cx-ink-soft);
  --go-gold:         var(--cx-accent);
  --go-gold-hover:   var(--cx-accent-hover);
  --go-gold-text:    var(--cx-accent-text);
  --go-hairline:     var(--cx-hairline);
  --go-dark:         var(--cx-dark);
  --go-on-dark:      var(--cx-on-dark);
  --go-on-dark-soft: var(--cx-on-dark-soft);
  --go-shadow:       0 1px 2px rgba(23, 24, 26, 0.04),
                     0 12px 32px rgba(23, 24, 26, 0.08);
  --go-shadow-hover: 0 2px 4px rgba(23, 24, 26, 0.06),
                     0 20px 48px rgba(23, 24, 26, 0.12);
}

/* The consulting primary button is the accent fill with near-black
   text. The base button is the dark band color, which a themed page
   would otherwise inherit through the remapped tokens. */
.theme-consulting .call-action,
.theme-consulting .cta {
  background: var(--cx-accent);
  color: var(--cx-btn-ink);
}
.theme-consulting .call-action:hover,
.theme-consulting .cta:hover { background: var(--cx-accent-hover); }

.theme-consulting :focus-visible { outline-color: var(--cx-accent-text); }

.theme-consulting input[type="text"]:focus,
.theme-consulting input[type="email"]:focus,
.theme-consulting input[type="tel"]:focus,
.theme-consulting input[type="number"]:focus {
  box-shadow: 0 0 0 3px rgba(217, 93, 40, 0.20);
}

/* Scoped consulting pieces on main-palette pages */
.btn-consulting {
  display: inline-block;
  height: 52px;
  line-height: 52px;
  padding: 0 var(--go-s-4);
  border-radius: var(--go-radius);
  background: var(--cx-accent);
  color: var(--cx-btn-ink);
  font-weight: var(--go-w-bold);
  font-size: var(--go-t-body);
  text-decoration: none;
  transition: background var(--go-dur) var(--go-ease);
}
.btn-consulting:hover { background: var(--cx-accent-hover); }
.kicker-consulting { color: var(--cx-accent-text); }
.writing-cat-ai h2 { color: var(--cx-accent-text); }
.writing-cat-ai .article-list a { color: var(--cx-accent-text); }


/* --------------------------------------------------------------------------
   13. Visual standard (2026-11-26, guide section 14): no page ships as
       text only. These are the reusable visual components: stat blocks,
       numbered step visuals, visual checklists, card grids, pull
       visuals, the comparison table, and the phone mockup. Every value
       is a fleet token, so the components render in whichever palette
       the page carries; the consulting theme remaps them through the
       same --go-* names, and the phone reads the --cx-* tokens
       directly because it depicts the consulting product on any page.
       Infographics carry only real, sourced numbers; the copy inside
       each component comes from the page's own text.
   -------------------------------------------------------------------------- */

.figure { margin: var(--go-s-4) 0; }
.figure .kicker { margin-bottom: var(--go-s-2); }
.figure-cap {
  font-size: var(--go-t-caption);
  line-height: var(--go-lh-tight);
  color: var(--go-ink-soft);
  margin-top: var(--go-s-2);
}

/* Stat blocks: an oversized numeral with a caption that defines it */
.stat-strip { display: grid; gap: var(--go-s-2); margin: var(--go-s-3) 0; }
@media (min-width: 560px) {
  .stat-strip-2 { grid-template-columns: repeat(2, 1fr); }
  .stat-strip-3 { grid-template-columns: repeat(3, 1fr); }
  .stat-strip-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 900px) { .stat-strip-4 { grid-template-columns: repeat(4, 1fr); } }
.stat {
  background: var(--go-surface);
  border: 1px solid var(--go-hairline);
  border-radius: var(--go-radius);
  padding: var(--go-s-2);
}
.stat-num {
  font-family: var(--go-font-display);
  font-weight: var(--go-w-bold);
  font-size: var(--go-t-h2);
  line-height: var(--go-lh-display);
  letter-spacing: -0.02em;
  color: var(--go-ink);
}
.stat-label {
  font-size: var(--go-t-caption);
  line-height: var(--go-lh-tight);
  color: var(--go-ink-soft);
  margin-top: 4px;
}
.stat-solo { text-align: center; padding: var(--go-s-3); }
.stat-solo .stat-num { font-size: var(--go-t-display); }
.stat-solo .stat-label { max-width: 420px; margin-left: auto; margin-right: auto; }

/* Homepage proof strip as stat blocks (overrides the inline strip) */
.proof-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--go-s-2);
  padding-top: var(--go-s-3);
  padding-bottom: var(--go-s-3);
  text-align: center;
}
@media (min-width: 900px) { .proof-stats { grid-template-columns: repeat(4, 1fr); } }
.proof-stats .stat { background: transparent; border: 0; padding: var(--go-s-1); }
.proof-stats .stat-label { text-align: center; }

/* Numbered step visuals (flows, timelines, procedures) */
.steps {
  list-style: none;
  margin: var(--go-s-3) 0;
  padding: 0;
  display: grid;
  gap: var(--go-s-2);
  counter-reset: step;
}
@media (min-width: 680px) {
  .steps-2 { grid-template-columns: repeat(2, 1fr); }
  .steps-3 { grid-template-columns: repeat(3, 1fr); }
  .steps-4 { grid-template-columns: repeat(4, 1fr); }
}
.step {
  background: var(--go-surface);
  border: 1px solid var(--go-hairline);
  border-radius: var(--go-radius);
  padding: var(--go-s-2);
  position: relative;
}
.step::before {
  counter-increment: step;
  content: counter(step);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 2px solid var(--go-gold);
  background: var(--go-surface);
  color: var(--go-gold-text);
  font-family: var(--go-font-display);
  font-weight: var(--go-w-bold);
  font-size: 17px;
  margin-bottom: var(--go-s-1);
}
@media (min-width: 680px) {
  .steps-flow .step:not(:last-child)::after {
    content: "\2192";
    position: absolute;
    top: 24px;
    right: -15px;
    z-index: 1;
    color: var(--go-gold-text);
    font-weight: var(--go-w-bold);
  }
}
.step-when {
  font-size: var(--go-t-caption);
  font-weight: var(--go-w-bold);
  letter-spacing: var(--go-ls-kicker);
  text-transform: uppercase;
  color: var(--go-gold-text);
  margin-bottom: 4px;
}
.step-title {
  font-weight: var(--go-w-bold);
  line-height: var(--go-lh-tight);
  color: var(--go-ink);
  margin-bottom: 4px;
}
.step p {
  font-size: var(--go-t-caption);
  line-height: 1.5;
}

/* Visual checklist: the article's own list, rendered with checkboxes */
.article-body ul.checklist,
ul.checklist {
  list-style: none;
  margin: var(--go-s-3) 0;
  padding: var(--go-s-3);
  background: var(--go-surface);
  border: 1px solid var(--go-hairline);
  border-radius: var(--go-radius);
}
ul.checklist li {
  position: relative;
  padding-left: 38px;
  color: var(--go-ink-soft);
}
ul.checklist li + li { margin-top: var(--go-s-2); }
ul.checklist li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 1px;
  width: 20px;
  height: 20px;
  border: 2px solid var(--go-gold);
  border-radius: 5px;
  background: var(--go-surface);
}
ul.checklist li::after {
  content: "";
  position: absolute;
  left: 6px;
  top: 5px;
  width: 10px;
  height: 6px;
  border-left: 3px solid var(--go-gold-text);
  border-bottom: 3px solid var(--go-gold-text);
  transform: rotate(-45deg);
}
@media (min-width: 680px) {
  ul.checklist-cols { columns: 2; column-gap: var(--go-s-4); }
  ul.checklist-cols li { break-inside: avoid; }
}

/* Card grids (categories, parts, buckets) */
.cards { display: grid; gap: var(--go-s-2); margin: var(--go-s-3) 0; }
@media (min-width: 560px) { .cards-4 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 680px) { .cards-3 { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1100px) { .cards-4 { grid-template-columns: repeat(4, 1fr); } }
.card {
  background: var(--go-surface);
  border: 1px solid var(--go-hairline);
  border-top: 3px solid var(--go-gold);
  border-radius: var(--go-radius);
  padding: var(--go-s-2);
}
.card-title {
  font-family: var(--go-font-display);
  font-weight: var(--go-w-bold);
  font-size: var(--go-t-lead);
  line-height: var(--go-lh-heading);
  color: var(--go-ink);
  margin-bottom: 4px;
}
.card p {
  font-size: var(--go-t-caption);
  line-height: 1.5;
}

/* Pull visual: one short line from the piece, set as a display block */
.pull {
  font-family: var(--go-font-display);
  font-size: var(--go-t-h4);
  line-height: var(--go-lh-tight);
  color: var(--go-ink);
  border-left: 4px solid var(--go-gold);
  padding-left: var(--go-s-3);
  margin: var(--go-s-4) 0;
}

/* Comparison table */
.compare-wrap {
  overflow-x: auto;
  margin: var(--go-s-3) 0;
  background: var(--go-surface);
  border: 1px solid var(--go-hairline);
  border-radius: var(--go-radius);
}
.compare {
  border-collapse: collapse;
  width: 100%;
  min-width: 560px;
  font-size: var(--go-t-caption);
  line-height: var(--go-lh-tight);
}
.compare th, .compare td {
  padding: var(--go-s-1) var(--go-s-2);
  text-align: left;
  vertical-align: top;
  border-top: 1px solid var(--go-hairline);
}
.compare thead th {
  background: var(--go-dark);
  color: var(--go-on-dark);
  font-weight: var(--go-w-bold);
  border-top: 0;
}
.compare thead th.hl { background: var(--go-gold-text); color: var(--go-on-dark); }
.compare tbody th { color: var(--go-ink); font-weight: var(--go-w-bold); }
.compare td { color: var(--go-ink-soft); }
.compare td.hl { background: color-mix(in srgb, var(--go-gold) 10%, transparent); color: var(--go-ink); }

/* Door icons (inline SVG, stroke inherits the door's accent) */
.door-icon { display: block; width: 44px; height: 44px; margin-bottom: var(--go-s-2); color: var(--go-gold-text); }
.door-icon-cx { color: var(--cx-accent-text); }

/* Hero visual: the phone mockup beside the card copy */
.hero-visual { padding: var(--go-s-5) 0 var(--go-s-2); }
.hero-visual-flex {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--go-s-4);
}
@media (min-width: 860px) {
  .hero-visual-flex { flex-direction: row; justify-content: center; }
  .hero-visual-copy { max-width: 440px; }
}
.hero-visual-copy h2 { margin-bottom: var(--go-s-1); }

/* Phone mockup: a missed call answered by text. Built entirely from
   the consulting tokens, because it depicts the consulting system. */
.phone {
  width: 300px;
  max-width: 86vw;
  flex: 0 0 auto;
  background: var(--cx-dark);
  border-radius: 40px;
  padding: 12px;
  box-shadow: var(--go-shadow-hover);
}
.phone-notch {
  width: 90px;
  height: 5px;
  border-radius: 3px;
  background: var(--cx-on-dark-soft);
  margin: 2px auto 10px;
}
.phone-screen {
  background: var(--cx-page);
  border-radius: 28px;
  padding: var(--go-s-2);
}
.phone-app {
  font-size: var(--go-t-caption);
  font-weight: var(--go-w-bold);
  letter-spacing: var(--go-ls-kicker);
  text-transform: uppercase;
  color: var(--cx-ink-soft);
  text-align: center;
  margin-bottom: var(--go-s-1);
}
.notif {
  display: flex;
  gap: var(--go-s-1);
  align-items: flex-start;
  background: var(--cx-surface);
  border: 1px solid var(--cx-hairline);
  border-radius: 14px;
  padding: 10px 12px;
  color: var(--cx-ink);
}
.notif svg { flex: 0 0 auto; margin-top: 2px; color: var(--cx-accent-text); }
.notif-title { font-weight: var(--go-w-bold); font-size: 14px; line-height: var(--go-lh-tight); }
.notif-sub { font-size: var(--go-t-caption); line-height: var(--go-lh-tight); color: var(--cx-ink-soft); }
.msg {
  max-width: 88%;
  margin-top: 10px;
  padding: 9px 12px;
  border-radius: 16px;
  font-size: 14px;
  line-height: 1.45;
  color: var(--cx-ink);
}
.msg-out {
  background: var(--cx-accent);
  color: var(--cx-btn-ink);
  margin-left: auto;
  border-bottom-right-radius: 4px;
}
.msg-in {
  background: color-mix(in srgb, var(--cx-ink) 8%, var(--cx-surface));
  margin-right: auto;
  border-bottom-left-radius: 4px;
}
.msg-chip {
  display: block;
  font-size: 11px;
  font-weight: var(--go-w-bold);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 4px;
}
.booked {
  margin-top: 10px;
  background: var(--cx-surface);
  border: 1px solid var(--cx-hairline);
  border-left: 4px solid var(--cx-accent);
  border-radius: 12px;
  padding: 10px 12px;
  font-size: 14px;
  line-height: var(--go-lh-tight);
  color: var(--cx-ink);
}
.booked .booked-title { font-weight: var(--go-w-bold); }

/* Where leads die: the lead flow audit as a graphic. Leads in at the
   top, the top leak points in the middle with the fix beside each,
   what is left at the bottom. Token-based, so it renders in the
   consulting palette on the pages that carry it. The numbers are the
   demo kit's verified demonstration numbers, labeled as such on the
   graphic itself. */
.leaks {
  background: var(--go-surface);
  border: 1px solid var(--go-hairline);
  border-radius: var(--go-radius);
  overflow: hidden;
  margin: var(--go-s-3) 0;
}
.leaks-top, .leaks-bottom {
  background: var(--go-dark);
  padding: var(--go-s-2) var(--go-s-3);
}
.leaks-num {
  font-family: var(--go-font-display);
  font-weight: var(--go-w-bold);
  font-size: var(--go-t-h4);
  line-height: var(--go-lh-tight);
  color: var(--go-on-dark);
}
.leaks-sub {
  font-size: var(--go-t-caption);
  line-height: var(--go-lh-tight);
  color: var(--go-on-dark-soft);
  margin-top: 2px;
}
.leak-head { display: none; }
@media (min-width: 680px) {
  .leak-head {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--go-s-3);
    padding: var(--go-s-1) var(--go-s-3);
    font-size: var(--go-t-caption);
    font-weight: var(--go-w-bold);
    letter-spacing: var(--go-ls-kicker);
    text-transform: uppercase;
    color: var(--go-ink-soft);
  }
}
.leak {
  display: grid;
  gap: var(--go-s-1);
  padding: var(--go-s-2) var(--go-s-3);
  border-top: 1px solid var(--go-hairline);
}
@media (min-width: 680px) {
  .leak { grid-template-columns: 1fr 1fr; gap: var(--go-s-3); }
}
.leak-name { font-weight: var(--go-w-bold); line-height: var(--go-lh-tight); color: var(--go-ink); }
.leak-count {
  font-size: var(--go-t-caption);
  font-weight: var(--go-w-bold);
  color: var(--go-gold-text);
  margin-top: 2px;
}
.leak-fix p { font-size: var(--go-t-caption); line-height: 1.5; }
.leak-fix-label { display: none; }
@media (max-width: 679px) {
  .leak-fix-label { display: inline; font-weight: var(--go-w-bold); color: var(--go-ink); }
}
.leaks-demo {
  padding: var(--go-s-2) var(--go-s-3);
  border-top: 1px dashed var(--go-hairline);
  font-size: var(--go-t-caption);
  line-height: var(--go-lh-tight);
  color: var(--go-ink-soft);
}

/* Compact demonstration stats inside the homepage AI door, scoped to
   the consulting tokens like the door's button. Rows, not columns:
   the door is too narrow for three stat blocks side by side. */
.door-stats { grid-template-columns: 1fr; gap: var(--go-s-1); margin: var(--go-s-2) 0 0; }
.door-stats .stat {
  display: flex;
  align-items: baseline;
  gap: var(--go-s-2);
  padding: var(--go-s-1) var(--go-s-2);
  border-color: var(--cx-hairline);
}
.door-stats .stat-num { font-size: var(--go-t-h4); color: var(--cx-accent-text); }
.door-stats .stat-label { margin-top: 0; }
.door-demo {
  font-size: var(--go-t-caption);
  line-height: var(--go-lh-tight);
  color: var(--go-ink-soft);
  margin-top: var(--go-s-1);
}
