/* Deliberate differences from the live CSS. Every rule here is listed in CHANGES.md. */

/* C1. Italic gold headline accent retired (style guide v1.1, Jim 2026-11-18; reconfirmed 2026-11-20).
   Accent words match the rest of the headline: same color, upright. margin-left: 0 undoes live's
   -10px nudge; the importer normalizes the spacing around each span. */
h1 .accent, h2 .accent, h3 .accent,
.section-label .accent, .section-label-light .accent,
[class*="headline"] .accent,
.contact-headline span,
.reviews-headline span,
#reviews-contact .contact-headline span,
.page-id-20 #contact .contact-headline span {
  color: inherit !important;
  font-style: normal !important;
  margin-left: 0 !important;
}

/* C2. Readable small text (Jim 2026-11-20: small fonts too tiny, the "Industries Served" eyebrow barely
   visible). Sizes: the importer adds 2px to every 8-14px font-size in the live CSS. Color: the muted gray
   (3.4-3.9:1) and the steel used for small text (3.6-4.1:1) fail the 4.5:1 guideline on the light
   backgrounds, so text gets deeper versions (5.3-6:1). The brand steel stays for lines and drawings. */
:root { --muted: #5c6370; --steel-text: #4a6874; }
.hero-overline, .section-label, .service-link, .industries-label { color: var(--steel-text) !important; }
.hero-overline::before, .section-label::before { background: var(--steel-text) !important; }

/* C3. No gold text on light backgrounds (brand guide v1.2 Fixed rule 3; failed contrast at 1.6-1.9:1).
   Gold stays for fills, lines and accents; text on light grounds uses ink or the deeper steel. */
.hcb-stat-num.orange { color: var(--ink) !important; }
.hcb-stat-trend { color: var(--steel-text) !important; }
.diff-num { color: var(--steel-text) !important; }
.diff-content a { color: var(--steel-text) !important; text-decoration: underline; text-underline-offset: 3px; }
.industries-tags .tag.active { color: var(--ink) !important; }
/* links inside running text on the dark stat card need more than color to stand out */
.diff-stat-label a { text-decoration: underline; text-underline-offset: 3px; }

/* C2 follow-up: the footer is dark, so it keeps the light grey (5.6:1) instead of the deepened one. */
.anchor-footer { --muted: var(--muted-light); }
/* The home page shows the contact section on a light ground; its eyebrow was gold-on-light (1.8:1). */
.page-id-20 #contact .section-label-light { color: var(--steel-text) !important; }
.page-id-20 #contact .section-label-light::before { background: var(--steel-text) !important; }

/* L1-L4. Laura's Redline comments (2026-11-20) */
/* Headlines break evenly, so no line ends on a lone word ("Forget about it." #39) */
h1, h2, h3 { text-wrap: balance; }
/* Services: six cards in two even rows of three (#37, Jim's sixth card), whole cards clickable (#40) */
.sv-detail-grid { grid-template-columns: repeat(3, 1fr) !important; }
@media (max-width: 1100px) { .sv-detail-grid { grid-template-columns: repeat(2, 1fr) !important; } }
@media (max-width: 700px) { .sv-detail-grid { grid-template-columns: 1fr !important; } }
.sv-detail-card { position: relative; cursor: pointer; }
.sv-detail-card .sv-detail-link::after { content: ''; position: absolute; inset: 0; border-radius: inherit; }
.sv-detail-card:focus-within { outline: 2px solid var(--steel-text); outline-offset: 4px; }
/* Ongoing support: six even cards, then the add-on full width (#38) */
#service-includes .include-card--featured { grid-column: 1 / -1; }
#service-includes .include-card--featured .service-desc { max-width: 760px; }
/* Services card links: gold on white (C3) */
.sv-detail-link { color: var(--steel-text) !important; }

/* I1. Anchor icon set (Jim 2026-11-20: replace the stock icons that read as AI-made; scripts/icons.mjs).
   Lines take the surrounding color, one gold detail per icon; icon tiles get the blueprint treatment
   of the home page drawings (pale steel, faint grid, steel hairline). */
.ax-ic { overflow: visible; color: var(--steel-text) !important; }
.ax-ic .l { fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.ax-ic .g { fill: none; stroke: var(--orange); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.ax-ic .gf { fill: var(--orange); stroke: none; }
.service-icon, .industry-service-icon, .sv-selector-icon, .sv-detail-icon, .ind-detail-icon, .problem-icon,
.about-life-value-icon, .lc-detail-icon, .hm-domain-icon, .article-tech-card-icon, .cc-review-banner-icon {
  background-color: var(--steel-pale) !important;
  background-image: linear-gradient(rgba(97,131,144,0.13) 1px, transparent 1px), linear-gradient(90deg, rgba(97,131,144,0.13) 1px, transparent 1px) !important;
  background-size: 8px 8px !important;
  background-position: -1px -1px !important;
  border: 1px solid rgba(97,131,144,0.3) !important;
}
/* icons on dark grounds take light lines (found by scanning every page) */
.contact-detail .ax-ic, .industry-trust-item .ax-ic, .chd-icon .ax-ic, .sv-industry-icon .ax-ic { color: rgba(255, 255, 255, 0.88) !important; }
.page-id-20 #contact .contact-detail .ax-ic { color: var(--steel-text) !important; }
/* the drawn icons carry more detail than the stock set: give them a little more room in their tiles */
.service-icon svg.ax-ic, .industry-service-icon svg.ax-ic, .sv-selector-icon svg.ax-ic, .sv-detail-icon svg.ax-ic, .ind-detail-icon svg.ax-ic,
.problem-icon svg.ax-ic, .about-life-value-icon svg.ax-ic, .lc-detail-icon svg.ax-ic, .hm-domain-icon svg.ax-ic, .article-tech-card-icon svg.ax-ic { width: 28px !important; height: 28px !important; }

/* CD. Copy deck blocks (Jim approved all rows, 2026-11-21; scripts/copy-deck.py). Shared here because each
   lifted page carries only its own live CSS. */
.ax-faq { padding: 110px 60px; background: var(--off-white); }
.ax-faq .section-inner, .ax-answers .section-inner { max-width: 1200px; margin: 0 auto; }
.ax-faq-list { margin-top: 40px; max-width: 860px; border-top: 1px solid var(--border-light); }
.ax-faq-item { border-bottom: 1px solid var(--border-light); }
.ax-faq-item summary { list-style: none; cursor: pointer; padding: 22px 44px 22px 0; position: relative; font-family: 'Hedvig Letters Serif', serif; font-size: 20px; line-height: 1.35; color: var(--ink); }
.ax-faq-item summary::-webkit-details-marker { display: none; }
.ax-faq-item summary::after { content: '+'; position: absolute; right: 6px; top: 50%; transform: translateY(-50%); font-family: 'Poppins', sans-serif; font-size: 24px; color: var(--steel-text); }
.ax-faq-item[open] summary::after { content: '−'; }
.ax-faq-item summary:focus-visible { outline: 2px solid var(--steel-text); outline-offset: 4px; }
.ax-faq-item p { margin: 0 0 24px; padding: 0; max-width: 760px; font-size: 16px; line-height: 1.75; color: var(--ink-soft); }
.ax-answers { padding: 110px 60px; background: var(--white); }
.ax-answers-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 48px; }
.ax-answer-item { padding: 32px; border: 1px solid var(--border-light); border-radius: 14px; background: var(--off-white); }
.ax-answer-item h3 { font-family: 'Hedvig Letters Serif', serif; font-size: 22px; font-weight: 400; line-height: 1.3; color: var(--ink); margin: 0 0 12px; padding: 0; }
.ax-answer-item p { margin: 0; padding: 0; font-size: 16px; line-height: 1.7; color: var(--ink-soft); }
.ax-proof .ax-proof-kicker { font-family: 'Hedvig Letters Serif', serif; font-size: 22px; line-height: 1.25; color: var(--orange); }
.ax-proof .industry-stat-label { color: rgba(255, 255, 255, 0.72) !important; font-size: 15px; }
.ax-answer { font-size: 1.05em; line-height: 1.7; padding: 20px 24px !important; margin: 0 0 28px !important; background: var(--steel-pale); border-left: 3px solid var(--steel); border-radius: 0 10px 10px 0; color: var(--ink); }
/* Redesign: SEO continuity is the biggest fear in a redesign, so its card leads (h7) */
.post-334 #service-includes .includes-grid > .include-card:nth-child(5) { order: -1; }
@media (max-width: 900px) { .ax-answers-grid { grid-template-columns: 1fr; } }
@media (max-width: 768px) { .ax-faq, .ax-answers { padding: 70px 24px; } .ax-faq-item summary { font-size: 18px; } }

/* ── Blueprint scenes (Jim, 2026-11-21): card drawings that match the home page's. Markup from
   src/lib/scenes.mjs; the home situations use the same classes. Tones: steel, gold (industry cards), dark. */
.ax-scene{display:block;width:100%;max-width:220px;margin:0 0 22px;background:none!important;border:0!important;box-shadow:none!important;height:auto!important;padding:0!important;border-radius:0!important}
.ax-scene svg{display:block;width:100%;height:auto;overflow:visible}
.ax-scene svg *{vector-effect:non-scaling-stroke}
.ax-scene .tile{fill:var(--steel-pale,#eef3f5)}
.ax-scene .gr{fill:none;stroke:#d6e2e7;stroke-width:1}
.ax-scene .fr{fill:#fff;stroke:var(--steel,#618390);stroke-width:1.5;stroke-linejoin:round}
.ax-scene .fw{fill:#fff;stroke:none}
.ax-scene .ln{fill:none;stroke:var(--steel,#618390);stroke-width:1.5;stroke-linecap:round;stroke-linejoin:round}
.ax-scene .dl{fill:none;stroke:var(--steel-light,#7a9fae);stroke-width:1.5;stroke-dasharray:3 3;stroke-linecap:round}
.ax-scene .ac{fill:var(--orange,#e2b524)}
.ax-scene .acs{fill:none;stroke:var(--orange,#e2b524);stroke-width:2.2;stroke-linecap:round;stroke-linejoin:round}
.ax-scene .nd{fill:var(--steel-light,#7a9fae)}
.ax-scene .pt{fill:var(--ink,#1a1f28)}
.ax-scene .wh{fill:none;stroke:var(--ink,#1a1f28);stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.ax-scene .thin{stroke-width:1!important}
.ax-scene--gold .tile{fill:var(--orange-pale,#fdf8e7)}
.ax-scene--gold .gr{stroke:#f1e5bd}
.ax-scene--gold .ac{fill:#d9a91c}
.ax-scene--gold .acs{stroke:#d9a91c}
.ax-scene--dark .tile{fill:var(--dark-3,#2d3340)}
.ax-scene--dark .gr{stroke:rgba(255,255,255,.06)}
.ax-scene--dark .fr{fill:var(--dark,#232832);stroke:var(--steel-light,#7a9fae)}
.ax-scene--dark .fw{fill:var(--dark,#232832)}
.ax-scene--dark .ln{stroke:var(--steel-light,#7a9fae)}
.ax-scene--dark .dl{stroke:rgba(255,255,255,.35)}
.ax-scene--dark .nd{fill:rgba(255,255,255,.35)}
/* services page: the detail card header keeps the "Most Popular" tag beside the drawing */
.sv-detail-card .ax-scene,.ax-scene--in-sv-detail-icon{max-width:200px;margin:0}
.ax-scene--in-sv-industry-icon{max-width:200px;margin:0 0 18px}

/* About: headshots by the names in "Two people. Every project." (Jim, 2026-11-21) */
.about-team-card-top--photo{display:flex;align-items:center;gap:18px}
.about-team-photo{width:84px;height:84px;border-radius:50%;object-fit:cover;flex:none;box-shadow:0 0 0 4px var(--steel-pale,#eef3f5)}

/* Contact: book a call or send a message (Jim, 2026-11-21) */
.ax-ct-tabs{display:flex;gap:6px;padding:5px;margin:0 0 24px;background:var(--steel-pale,#eef3f5);border-radius:10px}
.ax-ct-tab{flex:1;border:0;background:none;padding:11px 12px;border-radius:7px;font:600 14px/1.2 'Poppins',sans-serif;color:var(--ink-soft,#3a3f4a);cursor:pointer}
.ax-ct-tab.is-active{background:#fff;color:var(--ink,#1a1f28);box-shadow:0 2px 8px rgba(0,0,0,.08)}
.ax-ct-tab:focus-visible,.ax-ct-len-btn:focus-visible{outline:2px solid var(--orange,#e2b524);outline-offset:2px}
.ax-ct-len{display:flex;flex-wrap:wrap;gap:8px;margin:0 0 12px}
.ax-ct-len-btn{border:1px solid rgba(0,0,0,.12);background:#fff;border-radius:999px;padding:7px 14px;font:500 13px/1.2 'Poppins',sans-serif;color:var(--ink-soft,#3a3f4a);cursor:pointer}
.ax-ct-len-btn.is-active{border-color:var(--orange,#e2b524);background:var(--orange-pale,#fdf8e7);color:var(--ink,#1a1f28)}
.ax-ct-panel[hidden],#ct-panel-book .calendly-inline-widget[hidden]{display:none!important}
#ct-panel-book .calendly-inline-widget{border-radius:10px;overflow:hidden}
/* Restored heroes (Jim, 2026-11-21): the tiny labels inside the hero picture cards, darkened to pass contrast
   (no gold text on light backgrounds, Jim 2026-11-18) */
.ba-card-url,.ba-timestamp{color:#45443f!important}
.ba-live-indicator{color:#1f6b45!important}
.ba-mini-num{color:var(--ink,#1a1f28)!important}
.rd-meta-tag--live{color:#1f6b45!important}
/* Industries "Why it matters" (back 2026-11-21): no gold text on the light background (Jim, 2026-11-18) */
#industries-why .sv-diff-num, #industries-why .sv-diff-stat-num span { color: var(--steel-text, #4a6874) !important; }
/* Card processing "The Solution" (back 2026-11-21): the terminal photo ran off the screen at tablet widths */
.cc-solution-top { grid-template-columns: minmax(0, 1fr) 300px; }
@media (min-width: 769px) and (max-width: 1100px) { .cc-solution-top { grid-template-columns: minmax(0, 1fr) 200px; gap: 32px; } }
.cc-price-panel-label { color: rgba(255, 255, 255, 0.7) !important; }
