:root {
  --primary: #0a4a8a;
  --primary-dark: #06325e;
  --primary-light: #2d6db0;
  --accent: #d18e1d;
  --accent-light: #f4c46a;
  --text: #1a232e;
  --text-muted: #5a6776;
  --text-light: #8a96a4;
  --bg: #ffffff;
  --bg-soft: #f6f8fb;
  --bg-tinted: #eef3f8;
  --border: #d8dde3;
  --border-light: #e8ecf1;
  --max-width: 1180px;
  --max-text: 760px;
  --font-body: -apple-system, BlinkMacSystemFont, "Segoe UI", "Helvetica Neue", "Inter", Arial, sans-serif;
  --font-display: "Iowan Old Style", "Palatino Linotype", Palatino, "URW Palladio L", Georgia, serif;
  --shadow-sm: 0 1px 3px rgba(15,30,55,0.06), 0 1px 2px rgba(15,30,55,0.04);
  --shadow-md: 0 4px 16px rgba(15,30,55,0.08), 0 2px 4px rgba(15,30,55,0.04);
  --shadow-lg: 0 12px 40px rgba(15,30,55,0.10), 0 4px 12px rgba(15,30,55,0.06);
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 17px; scroll-behavior: smooth; }
body { font-family: var(--font-body); color: var(--text); line-height: 1.65; background: var(--bg); -webkit-font-smoothing: antialiased; }
.container { max-width: var(--max-width); margin: 0 auto; padding: 0 24px; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--primary); }

/* Mockup banner */
.mockup-banner { background: var(--accent); color: #fff; text-align: center; padding: 6px 16px; font-size: 12px; font-weight: 500; letter-spacing: 0.02em; }

/* Header */
header.site-header { background: #fff; border-bottom: 1px solid var(--border-light); position: sticky; top: 0; z-index: 100; box-shadow: var(--shadow-sm); }
.header-row { display: flex; align-items: center; justify-content: space-between; padding: 16px 0; gap: 32px; }
.brand img { height: 38px; width: auto; }
nav.primary ul { list-style: none; display: flex; gap: 26px; }
nav.primary a { color: var(--text); text-decoration: none; font-size: 14px; font-weight: 500; padding: 8px 0; border-bottom: 2px solid transparent; transition: all 0.15s; letter-spacing: 0.01em; }
nav.primary a:hover { color: var(--primary); }
nav.primary a.active { color: var(--primary); border-bottom-color: var(--primary); }
.header-cta { background: var(--primary); color: #fff !important; padding: 9px 18px; border-radius: 4px; text-decoration: none; font-size: 14px; font-weight: 600; transition: background 0.15s; }
.header-cta:hover { background: var(--primary-dark); }

/* Hero — homepage */
.hero-home { position: relative; overflow: hidden; min-height: 540px; display: flex; align-items: center; }
.hero-home .hero-img-wrap { position: absolute; inset: 0; z-index: 0; }
.hero-home .hero-img-wrap img { width: 100%; height: 100%; object-fit: cover; }
.hero-home .hero-overlay { position: absolute; inset: 0; background: linear-gradient(105deg, rgba(6,50,94,0.92) 0%, rgba(6,50,94,0.78) 50%, rgba(10,74,138,0.55) 100%); }
.hero-home .hero-content { position: relative; z-index: 1; padding: 80px 24px; color: #fff; }
.hero-home h1 { font-family: var(--font-display); font-size: 48px; line-height: 1.12; font-weight: 600; max-width: 880px; margin-bottom: 20px; letter-spacing: -0.01em; }
.hero-home .hero-lede { font-size: 19px; max-width: 720px; line-height: 1.6; margin-bottom: 32px; opacity: 0.95; }
.hero-home .hero-cta { display: flex; gap: 14px; flex-wrap: wrap; }

/* Hero — page (with image) */
.page-hero { padding: 56px 0 36px; background: linear-gradient(180deg, var(--bg-soft) 0%, #fff 100%); border-bottom: 1px solid var(--border-light); }
.page-hero.hero-with-image { position: relative; padding: 90px 0 70px; overflow: hidden; min-height: 380px; display: flex; align-items: center; border-bottom: 0; }
.hero-bg-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; }
.hero-overlay-dark { position: absolute; inset: 0; background: linear-gradient(105deg, rgba(6,50,94,0.90) 0%, rgba(6,50,94,0.75) 60%, rgba(10,74,138,0.45) 100%); z-index: 1; }
.hero-content-narrow { position: relative; z-index: 2; max-width: 880px; }
.hero-with-image .hero-content-narrow { color: #fff; }
.breadcrumb { font-size: 13px; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.07em; margin-bottom: 16px; font-weight: 500; }
.breadcrumb-light { color: rgba(255,255,255,0.85); }
.breadcrumb a { color: inherit; text-decoration: none; }
.breadcrumb a:hover { color: var(--accent-light); }
.page-hero h1 { font-family: var(--font-display); font-size: 42px; line-height: 1.15; font-weight: 600; max-width: 820px; margin-bottom: 18px; letter-spacing: -0.01em; }
.page-hero .lede { font-size: 19px; color: var(--text-muted); max-width: 720px; line-height: 1.65; }
.page-hero .lede-light { font-size: 19px; color: rgba(255,255,255,0.95); max-width: 720px; line-height: 1.65; }

/* Trust band — two variants */
/* Light = default per-page credibility strip, no cert numbers */
.trust-band { background: #f6f9fc; border-bottom: 1px solid var(--border-light); padding: 10px 0; font-size: 13px; color: var(--text-muted); }
.trust-band .trust-row { display: flex; flex-wrap: wrap; gap: 6px 14px; align-items: center; justify-content: center; line-height: 1.5; }
.trust-band .dot { color: var(--border); font-weight: 400; }
.trust-band strong { color: var(--primary-dark); font-weight: 600; }

/* Full = proof-point pages only (home, /companies/, /about/quality-policy/, /services/calibration/, /services/microbial-testing/, /compliance/iso-iec-17025/) */
.trust-band-full { background: linear-gradient(0deg, #f1f5fa 0%, #f8fafc 100%); border-top: 3px solid var(--primary); border-bottom: 1px solid var(--border-light); padding: 14px 0; font-size: 13px; color: var(--text); }
.trust-band-full .trust-row { gap: 18px 32px; }
.trust-band-full .trust-meta { font-size: 12px; color: var(--text-muted); padding-top: 8px; margin-top: 8px; border-top: 1px dashed var(--border); }

/* Three pillars */
.three-pillars { padding: 80px 0 60px; background: #fff; }
.section-title { font-family: var(--font-display); font-size: 36px; font-weight: 600; color: var(--primary-dark); margin-bottom: 12px; text-align: center; letter-spacing: -0.01em; }
.section-lede { text-align: center; max-width: 720px; margin: 0 auto 48px; color: var(--text-muted); font-size: 17px; }
.pillar-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.pillar-card { background: #fff; border: 1px solid var(--border); border-radius: 8px; padding: 36px 28px; text-decoration: none; color: var(--text); transition: all 0.2s; display: block; }
.pillar-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); border-color: var(--primary-light); }
.pillar-icon { display: inline-flex; align-items: center; justify-content: center; width: 64px; height: 64px; margin-bottom: 18px; padding: 10px; background: #eef4fa; border-radius: 8px; }
.pillar-icon svg { width: 100%; height: 100%; }
.pillar-card h3 { font-family: var(--font-display); font-size: 24px; color: var(--primary-dark); margin-bottom: 12px; font-weight: 600; }
.pillar-card p { color: var(--text-muted); font-size: 15px; margin-bottom: 18px; line-height: 1.6; }
.pillar-cta { color: var(--primary); font-weight: 600; font-size: 14px; }

/* Featured services strip */
.featured-services { padding: 80px 0; background: var(--bg-soft); }
.service-strip { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.service-card { background: #fff; border-radius: 8px; overflow: hidden; text-decoration: none; color: var(--text); border: 1px solid var(--border-light); transition: all 0.2s; }
.service-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.service-card img { width: 100%; height: 170px; object-fit: cover; }
.service-card-body { padding: 20px 22px; }
.service-card h4 { font-size: 17px; color: var(--primary-dark); margin-bottom: 4px; font-weight: 600; }
.service-card p { font-size: 13px; color: var(--text-muted); }

/* About strip */
.about-strip { padding: 80px 0; background: #fff; }
.about-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 64px; align-items: center; }
.about-strip h2 { font-family: var(--font-display); font-size: 32px; color: var(--primary-dark); margin-bottom: 18px; line-height: 1.25; font-weight: 600; }
.about-strip p { color: var(--text-muted); font-size: 16px; margin-bottom: 16px; line-height: 1.7; }
.about-img { width: 100%; height: auto; border-radius: 8px; box-shadow: var(--shadow-md); }

/* Closing CTA */
.closing-cta { background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%); color: #fff; padding: 72px 0; text-align: center; }
.closing-cta h2 { font-family: var(--font-display); font-size: 36px; margin-bottom: 14px; font-weight: 600; }
.closing-cta p { font-size: 17px; max-width: 640px; margin: 0 auto 28px; opacity: 0.92; }
.closing-cta .cta-block { background: rgba(255,255,255,0.08); border-left-color: var(--accent); justify-content: center; }
.closing-cta .phone-cta { color: rgba(255,255,255,0.85); }
.closing-cta .phone-cta a { color: var(--accent-light); }

/* Hub cards section (industries, services, compliance) */
.hub-cards-section { padding: 64px 0 80px; background: var(--bg-soft); }
.hub-cards-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.hub-card { background: #fff; border-radius: 8px; overflow: hidden; text-decoration: none; color: var(--text); border: 1px solid var(--border-light); transition: all 0.2s; display: block; }
.hub-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.hub-card img { width: 100%; height: 200px; object-fit: cover; }
.hub-card-body { padding: 22px 24px; }
.hub-card h3 { font-family: var(--font-display); font-size: 22px; color: var(--primary-dark); font-weight: 600; line-height: 1.25; }

/* Article body */
.article { padding: 18px 0 60px; }
/* Spoke pages get full container width; prose paragraphs/headings/lists self-constrain to readable width AND center within the container */
.article-narrow { max-width: var(--max-width); }
.article-narrow > p,
.article-narrow > ul,
.article-narrow > ol,
.article-narrow > h2,
.article-narrow > h3,
.article-narrow > h4,
.article-narrow > blockquote { max-width: 820px; margin-left: auto; margin-right: auto; }
.article-narrow > hr { max-width: 100%; margin-left: 0; margin-right: 0; border: 0; border-top: 1px solid var(--border); }
.article-narrow > table,
.article-narrow > .cert-scope-wrap,
.article-narrow > .split-section,
.article-narrow > section,
.article-narrow > .cta-banner { max-width: 100%; }
/* Inline CTA (small, end-of-section) */
.article-narrow > .cta-block { max-width: var(--max-text); margin-left: auto; margin-right: auto; }

/* Centered spoke hero — text + CTA stack centered on the dark background */
.hero-content-centered { margin-left: auto; margin-right: auto; text-align: center; }
.hero-content-centered .breadcrumb { justify-content: center; display: inline-block; }
.hero-content-centered h1 { margin-left: auto; margin-right: auto; }
.hero-content-centered .lede-light { margin-left: auto; margin-right: auto; }
.hero-content-centered .cta-block { background: transparent !important; border-left: 0 !important; padding: 0 !important; margin: 26px auto 0 !important; justify-content: center; }
.hero-content-centered .cta-block .btn { font-size: 17px; padding: 14px 28px; }
.hero-content-centered .cta-block .btn-primary { background: var(--accent); color: #fff; border-color: var(--accent); }
.hero-content-centered .cta-block .btn-primary:hover { background: #b87914; border-color: #b87914; }
.hero-content-centered .cta-block .btn-outline { background: transparent !important; color: #fff !important; border-color: rgba(255,255,255,0.75) !important; }
.hero-content-centered .cta-block .btn-outline:hover { background: rgba(255,255,255,0.14) !important; border-color: #fff !important; }
.hero-content-centered .cta-block .phone-cta { color: rgba(255,255,255,0.92); }
.hero-content-centered .cta-block .phone-cta a { color: #fff; font-weight: 600; }

/* Mid-page CTA banner — bigger, more visual weight; high-specificity overrides */
body .article-narrow .cta-banner,
body section.cta-banner { background: linear-gradient(120deg, var(--primary-dark) 0%, var(--primary) 100%) !important; color: #fff !important; padding: 40px 36px !important; border-radius: 10px !important; margin: 36px 0 !important; text-align: center !important; box-shadow: var(--shadow-lg) !important; border-left: 0 !important; }
body .article-narrow .cta-banner h3,
body section.cta-banner h3 { font-family: var(--font-display); font-size: 32px !important; font-weight: 600 !important; color: #ffffff !important; margin: 0 0 14px 0 !important; line-height: 1.2 !important; letter-spacing: -0.005em; }
body .article-narrow .cta-banner p,
body section.cta-banner p { color: rgba(255,255,255,0.94) !important; font-size: 17px !important; margin: 0 auto 28px auto !important; max-width: 680px !important; line-height: 1.55 !important; }
body .article-narrow .cta-banner .cta-block,
body section.cta-banner .cta-block { background: transparent !important; border-left: 0 !important; padding: 0 !important; margin: 0 auto !important; justify-content: center; gap: 14px; }
body .article-narrow .cta-banner .btn,
body section.cta-banner .btn { font-size: 17px !important; padding: 16px 32px !important; font-weight: 600; }
body .article-narrow .cta-banner .btn-primary,
body section.cta-banner .btn-primary { background: var(--accent) !important; color: #fff !important; border-color: var(--accent) !important; }
body .article-narrow .cta-banner .btn-primary:hover,
body section.cta-banner .btn-primary:hover { background: #b87914 !important; border-color: #b87914 !important; }
body .article-narrow .cta-banner .btn-outline,
body section.cta-banner .btn-outline { background: transparent !important; color: #fff !important; border-color: rgba(255,255,255,0.7) !important; }
body .article-narrow .cta-banner .btn-outline:hover,
body section.cta-banner .btn-outline:hover { background: rgba(255,255,255,0.14) !important; border-color: #fff !important; }
body .article-narrow .cta-banner .phone-cta,
body section.cta-banner .phone-cta { color: rgba(255,255,255,0.92) !important; display: block; margin-top: 20px !important; font-size: 16px; }
body .article-narrow .cta-banner .phone-cta a,
body section.cta-banner .phone-cta a { color: #fff !important; font-weight: 600; text-decoration: underline; }

/* Bigger, more visual buttons across spoke pages */
.split-text .cta-block .btn,
.cta-block.cta-large .btn { font-size: 16px; padding: 14px 26px; }

/* PDF download chip */
.pdf-download { display: inline-flex; align-items: center; gap: 10px; padding: 10px 18px; background: #fff; border: 1.5px solid var(--primary); color: var(--primary-dark); border-radius: 6px; text-decoration: none; font-weight: 600; font-size: 14px; margin-top: 12px; transition: all 0.15s; }
.pdf-download:hover { background: var(--primary); color: #fff; }
.pdf-download::before { content: "↓ PDF"; font-size: 12px; font-weight: 700; padding: 3px 7px; background: var(--accent); color: #fff; border-radius: 3px; letter-spacing: 0.04em; }
.pdf-download:hover::before { background: var(--accent-light); color: var(--primary-dark); }

/* Cert-scope embed — preserves the A2LA cert PDF look (Times New Roman, hard borders) */
.cert-scope-wrap { font-family: "Times New Roman", Times, serif; color: #000; background: #fff; padding: 28px 32px; border: 1px solid #d8dde3; border-radius: 4px; margin: 28px 0; box-shadow: var(--shadow-sm); overflow-x: auto; }
.cert-scope-wrap table.scope { border-collapse: collapse; border: 1.5pt solid #000; width: 100%; table-layout: fixed; font-size: 13px; }
.cert-scope-wrap table.scope th,
.cert-scope-wrap table.scope td { border: 1pt solid #000; padding: 8pt 10pt; vertical-align: top; line-height: 1.25; font-family: "Times New Roman", Times, serif; }
.cert-scope-wrap table.scope th { text-align: center; font-weight: normal; padding: 10pt; background: #fff; }
.cert-scope-wrap table.scope col.c-param { width: 22%; }
.cert-scope-wrap table.scope col.c-range { width: 26%; }
.cert-scope-wrap table.scope col.c-cmc { width: 26%; }
.cert-scope-wrap table.scope col.c-comments { width: 26%; }
.cert-scope-wrap table.scope .sub-label { padding-left: 1em; margin-top: 0.4em; }
.cert-scope-wrap table.scope .multi-line { white-space: pre-line; }
.cert-scope-wrap table.scope sup { font-size: 0.75em; vertical-align: super; line-height: 0; }
.cert-scope-caption { font-size: 12px; color: var(--text-muted); margin-top: 8px; font-style: italic; text-align: right; }
.article h2 { font-family: var(--font-display); font-size: 28px; font-weight: 600; color: var(--primary-dark); margin: 56px 0 18px; line-height: 1.25; letter-spacing: -0.005em; }
.article h2:first-child { margin-top: 0; }
.article h3 { font-size: 21px; font-weight: 600; color: var(--text); margin: 36px 0 12px; }
.article h4 { font-size: 17px; font-weight: 600; color: var(--text); margin: 24px 0 8px; }
.article p { margin: 0 0 16px; }
.article ul { margin: 0 0 18px 24px; }
.article li { margin: 6px 0; }
.article hr { border: 0; border-top: 1px solid var(--border); margin: 24px 0; }
.article a { color: var(--primary); text-decoration: underline; text-underline-offset: 2px; text-decoration-thickness: 1px; }
.article a:hover { color: var(--accent); }
.article blockquote { border-left: 3px solid var(--primary); padding: 16px 24px; margin: 24px 0; background: var(--bg-soft); font-style: italic; color: var(--text); border-radius: 0 4px 4px 0; }
.article blockquote cite { display: block; margin-top: 10px; font-size: 14px; font-style: normal; color: var(--text-muted); }
.article table { width: 100%; border-collapse: collapse; margin: 24px 0; font-size: 15px; box-shadow: var(--shadow-sm); border-radius: 4px; overflow: hidden; }
.article th, .article td { padding: 12px 16px; border-bottom: 1px solid var(--border-light); text-align: left; vertical-align: top; }
.article th { background: var(--primary); color: #fff; font-weight: 600; }
.article tr:last-child td { border-bottom: 0; }
.article tr:nth-child(even) td { background: var(--bg-soft); }

/* CTA block */
.cta-block { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin: 32px 0; padding: 20px 24px; background: var(--bg-tinted); border-left: 4px solid var(--primary); border-radius: 4px; }
.btn { display: inline-block; padding: 12px 22px; border-radius: 4px; text-decoration: none; font-weight: 600; font-size: 15px; transition: all 0.15s; border: 2px solid transparent; cursor: pointer; }
.btn-lg { padding: 14px 28px; font-size: 16px; }
.btn-primary { background: var(--primary); color: #fff !important; border-color: var(--primary); }
.btn-primary:hover { background: var(--primary-dark); border-color: var(--primary-dark); }
.btn-outline { background: #fff; color: var(--primary) !important; border-color: var(--primary); }
.btn-outline:hover { background: var(--primary); color: #fff !important; }
.btn-outline-light { background: transparent; color: #fff !important; border-color: rgba(255,255,255,0.6); }
.btn-outline-light:hover { background: rgba(255,255,255,0.1); border-color: #fff; }
.phone-cta { color: var(--text-muted); font-size: 15px; }
.phone-cta a { color: var(--primary); font-weight: 600; }

/* Cross-links unit */
.cross-links { background: var(--bg-soft); padding: 36px; margin: 48px 0; border-radius: 8px; }
.cross-links h2 { color: var(--primary-dark); margin-top: 0; margin-bottom: 24px; font-size: 22px; }
.cross-links-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.axis-group h4 { font-size: 14px; color: var(--primary-dark); text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 12px; }
.axis-group ul { list-style: none; margin: 0; }
.axis-group li { margin: 6px 0; }
.axis-group a { color: var(--primary); text-decoration: none; font-size: 15px; }
.axis-group a:hover { text-decoration: underline; }

/* Cross-link standalone item (orphans not in axis groups) */
.cross-link-item { padding: 6px 0; color: var(--primary); font-weight: 500; }

/* Accreditation badge */
/* CETA + NSF credentials block (Controlled Environments hub) */
.ce-credentials { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; max-width: 1180px; margin: 28px auto; padding: 0 24px; }
.ce-cred-card { display: flex; gap: 18px; align-items: flex-start; background: #fff; border: 2px solid var(--primary); border-radius: 8px; padding: 20px 22px; box-shadow: var(--shadow-sm); }
.ce-cred-mark { flex-shrink: 0; width: 80px; height: 80px; display: flex; align-items: center; justify-content: center; background: var(--primary); color: #fff; font-family: var(--font-display); font-size: 24px; font-weight: 700; border-radius: 6px; letter-spacing: 0.04em; }
.ce-cred-text { font-size: 14px; line-height: 1.55; color: var(--text); }
.ce-cred-text strong { color: var(--primary-dark); display: block; margin-bottom: 4px; }
@media (max-width: 800px) {
  .ce-credentials { grid-template-columns: 1fr; }
  .ce-cred-card { flex-direction: column; }
  .ce-cred-mark { width: 100%; height: 60px; font-size: 20px; }
}

/* Calibration hub — discipline grid layout (custom hub for /services/calibration/) */
.cal-hub-section { padding: 56px 0 32px; background: #fff; }
.cal-section-h2 { font-family: var(--font-display); font-size: 32px; color: var(--primary-dark); margin: 0 0 8px 0; }
.cal-section-sub { color: var(--text-muted); font-size: 16px; margin: 0 0 32px 0; max-width: 720px; }
.cal-tier-h3 { font-family: var(--font-display); font-size: 22px; color: var(--primary-dark); margin: 56px 0 18px 0; padding-top: 28px; border-top: 1px solid var(--border-light); }
.cal-deep-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 24px; }
.cal-card-deep { background: #fff; border: 1px solid var(--border); border-radius: 8px; overflow: hidden; text-decoration: none; color: inherit; transition: all 0.2s; display: flex; flex-direction: column; }
.cal-card-deep:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); border-color: var(--primary-light); }
.cal-card-deep img { width: 100%; height: 160px; object-fit: cover; display: block; }
.cal-card-deep .cal-card-body { padding: 20px 22px; flex: 1; display: flex; flex-direction: column; }
.cal-card-deep h3 { font-family: var(--font-display); font-size: 20px; color: var(--primary-dark); margin: 0 0 8px 0; font-weight: 600; }
.cal-card-deep p { font-size: 14px; color: var(--text-muted); margin: 0 0 14px 0; line-height: 1.5; flex: 1; }
.cal-card-deep .cal-card-cta { color: var(--primary); font-weight: 600; font-size: 13px; }

.cal-lighter-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 14px; }
.cal-card-lighter { background: var(--bg-soft); border: 1px solid var(--border-light); border-radius: 6px; padding: 18px 20px; text-decoration: none; color: inherit; transition: all 0.15s; }
.cal-card-lighter:hover { background: #fff; border-color: var(--primary-light); transform: translateY(-2px); box-shadow: var(--shadow-sm); }
.cal-card-lighter h4 { font-size: 15px; color: var(--primary-dark); font-weight: 600; margin: 0 0 4px 0; }
.cal-card-lighter p { font-size: 13px; color: var(--text-muted); margin: 0; line-height: 1.45; }

.cal-cross-section { padding: 64px 0 40px; background: var(--bg-soft); margin-top: 48px; }
.cal-cross-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(380px, 1fr)); gap: 20px; }
.cal-cross-card { background: #fff; border: 2px solid var(--accent); border-radius: 8px; padding: 24px 28px; text-decoration: none; color: inherit; transition: all 0.15s; }
.cal-cross-card:hover { background: #fffaf0; box-shadow: var(--shadow-md); }
.cal-cross-card h4 { font-family: var(--font-display); font-size: 22px; color: var(--primary-dark); margin: 0 0 6px 0; }
.cal-cross-card p { font-size: 14px; color: var(--text-muted); margin: 0; }

.cal-equip-section { padding: 32px 0 80px; background: #fff; }
.cal-equip-card { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 32px 36px; background: var(--primary-dark); color: #fff; border-radius: 10px; text-decoration: none; transition: all 0.15s; }
.cal-equip-card:hover { background: var(--primary); transform: translateY(-2px); box-shadow: var(--shadow-lg); }
.cal-equip-card h3 { font-family: var(--font-display); font-size: 24px; color: #fff; margin: 0 0 8px 0; }
.cal-equip-card p { color: rgba(255,255,255,0.92); margin: 0; font-size: 15px; max-width: 640px; }
.cal-equip-card .cal-equip-cta { color: var(--accent-light); font-weight: 600; font-size: 16px; flex-shrink: 0; }

/* ===========================================================
   HOMEPAGE HERO BRAND-MARK (May 1, 2026)
   Big white Allometrics logo above the H1 in the hero.
   To roll back: delete this block + the .hero-brand-mark img tag
   in render_homepage() + the body class block in render_page().
   =========================================================== */
.hero-brand-mark { display: none; }    /* hidden by default — only shown on homepage */
body.is-homepage .hero-home .hero-brand-mark {
  display: block;
  width: 480px;
  max-width: 80%;
  height: auto;
  margin-bottom: 26px;
  opacity: 0.96;
  filter: drop-shadow(0 2px 8px rgba(0,0,0,0.25));
}
@media (max-width: 800px) {
  body.is-homepage .hero-home .hero-brand-mark { width: 320px; margin-bottom: 18px; }
}
/* ===========================================================
   END HOMEPAGE HERO BRAND-MARK
   =========================================================== */

/* Speed bar — horizontal strip with three speed/responsiveness claims */
.speed-bar { display: flex; flex-wrap: wrap; gap: 18px 36px; align-items: center; justify-content: center; padding: 14px 24px; background: var(--bg-tinted); border-top: 1px solid var(--border-light); border-bottom: 1px solid var(--border-light); margin: 0 0 28px 0; }
.speed-bar .speed-item { font-size: 14px; font-weight: 600; color: var(--primary-dark); letter-spacing: 0.01em; position: relative; }
.speed-bar .speed-item::before { content: "⚡"; color: var(--accent); margin-right: 8px; font-size: 13px; }

/* Differentiator block — bold three-line callout */
.differentiator-block { background: var(--primary-dark); color: #fff; padding: 56px 36px; margin: 64px 0; border-radius: 10px; text-align: center; box-shadow: var(--shadow-lg); }
.differentiator-block .diff-inner { display: flex; flex-direction: column; align-items: center; gap: 8px; max-width: 920px; margin: 0 auto; }
.differentiator-block .diff-line { font-family: var(--font-display); font-size: 42px; font-weight: 600; line-height: 1.15; letter-spacing: -0.01em; color: #fff; }
.differentiator-block .diff-line:nth-child(2) { color: var(--accent-light); }
@media (max-width: 800px) {
  .differentiator-block { padding: 36px 20px; }
  .differentiator-block .diff-line { font-size: 28px; }
}

/* Collapsible cert-scope */
.cert-scope-collapsible { margin: 28px 0; }
.cert-scope-collapsible summary { cursor: pointer; padding: 14px 22px; background: #fff; border: 1.5px solid var(--primary); color: var(--primary-dark); border-radius: 6px; font-weight: 600; font-size: 15px; list-style: none; display: flex; align-items: center; gap: 10px; transition: all 0.15s; }
.cert-scope-collapsible summary::-webkit-details-marker { display: none; }
.cert-scope-collapsible summary::before { content: "▶"; font-size: 11px; color: var(--accent); transition: transform 0.2s; }
.cert-scope-collapsible[open] summary::before { transform: rotate(90deg); }
.cert-scope-collapsible summary:hover { background: var(--bg-tinted); border-color: var(--primary-dark); }
.cert-scope-collapsible[open] summary { border-bottom-left-radius: 0; border-bottom-right-radius: 0; border-bottom: 0; }

/* A2LA accreditation badge — prominent placement under the trust band */
.accreditation-badge { display: flex; gap: 28px; align-items: center; justify-content: center; padding: 16px 28px; background: #fff; border: 2px solid var(--primary); border-radius: 8px; margin: 12px auto 16px; max-width: 720px; box-shadow: var(--shadow-md); }
.accreditation-badge img { width: 200px; height: auto; flex-shrink: 0; }
.accreditation-badge .badge-text { font-size: 14px; line-height: 1.55; color: var(--text); text-align: left; }
.accreditation-badge .badge-text strong { color: var(--primary-dark); font-size: 17px; display: block; margin-bottom: 6px; letter-spacing: 0.01em; }

/* Footer */
footer.site-footer { background: var(--primary-dark); color: #d4dde8; padding: 56px 0 24px; margin-top: 0; font-size: 14px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr 1.2fr; gap: 36px; margin-bottom: 36px; }
.footer-brand .footer-logo { height: 36px; width: auto; margin-bottom: 16px; }
.footer-brand p { margin: 8px 0; }
.footer-brand a { color: inherit; text-decoration: none; }
.footer-badge { width: 130px; height: auto; margin-top: 18px; opacity: 0.92; background: #fff; padding: 6px 8px; border-radius: 4px; }
.footer-cert { font-size: 12px; color: #97a4b3; margin-top: 8px; line-height: 1.55; }
footer h4 { color: #fff; font-size: 13px; margin-bottom: 14px; text-transform: uppercase; letter-spacing: 0.06em; }
footer ul { list-style: none; }
footer li { margin: 7px 0; }
footer a { color: #d4dde8; text-decoration: none; transition: color 0.15s; }
footer a:hover { color: #fff; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); padding-top: 20px; font-size: 12px; color: #97a4b3; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 16px; }
.footer-bottom a { color: #97a4b3; }

/* Responsive */
@media (max-width: 960px) {
  .pillar-grid, .service-strip, .hub-cards-grid, .footer-grid, .cross-links-grid { grid-template-columns: 1fr 1fr; }
  .about-grid { grid-template-columns: 1fr; }
  .hero-home h1 { font-size: 36px; }
  .page-hero h1 { font-size: 32px; }
  .header-row { flex-wrap: wrap; gap: 12px; }
  nav.primary ul { gap: 16px; flex-wrap: wrap; }
  .header-cta { display: none; }
}
@media (max-width: 600px) {
  .pillar-grid, .service-strip, .hub-cards-grid, .footer-grid, .cross-links-grid { grid-template-columns: 1fr; }
  .hero-home h1 { font-size: 28px; }
  .page-hero h1 { font-size: 26px; }
  .accreditation-badge { flex-direction: column; align-items: flex-start; }
}

/* Split section — alternating image / text two-column (May 1, 2026) */
.split-section { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: stretch; max-width: 1180px; margin: 32px auto; padding: 0 24px; }
.split-section .split-image { width: 100%; display: flex; align-items: stretch; }
.split-section .split-image img { width: 100%; height: 100%; min-height: 320px; max-height: 560px; object-fit: cover; border-radius: 6px; box-shadow: 0 8px 28px rgba(10,40,90,0.10); display: block; }
.split-section .split-caption { display: none; }
.split-section .split-text { padding: 0 8px; }
.split-section .split-text h2 { font-family: var(--font-display); font-size: 28px; color: var(--primary-dark); margin: 0 0 16px 0; line-height: 1.2; }
.split-section .split-text h3 { font-size: 18px; color: var(--primary-dark); margin: 18px 0 8px 0; }
.split-section .split-text p { font-size: 16px; line-height: 1.65; color: var(--text); margin: 0 0 14px 0; }
.split-section .split-text ul { margin: 0 0 14px 0; padding-left: 22px; }
.split-section .split-text li { margin-bottom: 6px; line-height: 1.55; }
.split-section .split-text strong { color: var(--primary-dark); }
.split-right .split-image { order: 2; }
.split-right .split-text  { order: 1; }
@media (max-width: 800px) {
  .split-section { grid-template-columns: 1fr; gap: 28px; margin: 40px auto; }
  .split-right .split-image, .split-right .split-text { order: initial; }
}
