:root {
  --brand-color: #2f5d8a;
  --ink: #1f2430;
  --muted: #5a6270;
  --bg: #ffffff;
  --amber-bg: #fff6e0;
  --amber-border: #f0b429;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  padding: 1rem 2rem;
  border-bottom: 3px solid var(--brand-color);
}

.brand a {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--brand-color);
  text-decoration: none;
}

.brand img.brand-logo {
  height: 64px;
  width: auto;
  display: block;
}

.brand .tagline {
  display: block;
  font-size: 0.85rem;
  color: var(--muted);
  font-weight: 400;
}

nav { display: flex; flex-wrap: wrap; gap: 1rem; }
nav a {
  color: var(--ink);
  text-decoration: none;
  font-size: 0.95rem;
}
nav a:hover { color: var(--brand-color); text-decoration: underline; }

.content {
  max-width: 800px;
  margin: 0 auto;
  padding: 2rem 1.5rem 4rem;
}

h1 {
  color: var(--brand-color);
  font-size: 2rem;
  margin-top: 1.5rem;
}
h2 {
  color: var(--ink);
  font-size: 1.3rem;
  margin-top: 2rem;
  border-bottom: 1px solid #e5e5e5;
  padding-bottom: 0.3rem;
}
p.subhead {
  font-size: 1.15rem;
  color: var(--muted);
}
p.num { margin-left: 0.5rem; }
ul { padding-left: 1.3rem; }
li { margin-bottom: 0.5rem; }
hr { border: none; border-top: 1px solid #e5e5e5; margin: 2rem 0; }

a.cta-primary, a.cta-secondary {
  display: inline-block;
  padding: 0.7rem 1.4rem;
  margin: 0.5rem 0.5rem 0.5rem 0;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 600;
}
a.cta-primary {
  background: var(--button-color, var(--brand-color));
  color: #fff;
}
a.cta-secondary {
  background: #fff;
  color: var(--brand-color);
  border: 2px solid var(--brand-color);
}

.cta-band {
  background: #f7f7f9;
  border-radius: 8px;
  padding: 1.5rem;
  margin: 2rem 0;
}

/* --- Review / open-question boxes --- */
.qbox {
  background: var(--amber-bg);
  border: 2px solid var(--amber-border);
  border-radius: 8px;
  padding: 1rem 1.2rem;
  margin: 1.2rem 0;
}
.qbox-tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  color: #8a5a00;
  background: #ffe8ad;
  padding: 0.15rem 0.5rem;
  border-radius: 4px;
  margin-bottom: 0.4rem;
}
.qbox p {
  margin: 0.4rem 0 0;
  font-size: 0.95rem;
  color: #5a4600;
}

.site-footer {
  text-align: center;
  padding: 1.5rem;
  color: var(--muted);
  font-size: 0.85rem;
  border-top: 1px solid #eee;
}

/* --- Floating "answer questions" button --- */
.review-float {
  position: fixed;
  bottom: 1.2rem;
  right: 1.2rem;
  z-index: 999;
}
.review-btn {
  display: inline-block;
  background: #f0b429;
  color: #3a2b00;
  font-weight: 700;
  font-size: 0.9rem;
  padding: 0.8rem 1.1rem;
  border-radius: 999px;
  text-decoration: none;
  box-shadow: 0 4px 14px rgba(0,0,0,0.25);
}
.review-btn:hover { background: #e0a21b; }

@media (max-width: 600px) {
  .site-header { padding: 1rem; }
  .content { padding: 1.5rem 1rem 5rem; }
  .review-btn { font-size: 0.8rem; padding: 0.7rem 0.9rem; }
}

/* Lead form (Formspree-wired) */
.lead-form { display: flex; flex-direction: column; gap: 0.75rem; max-width: 560px; }
.lead-form .form-field { width: 100%; padding: 0.75rem 1rem; border: 1px solid #ccc; border-radius: 6px; font: inherit; }
.lead-form textarea.form-field { resize: vertical; }
.lead-form .form-note { font-size: 0.85rem; color: #666; margin: 0.25rem 0 0; }

/*
SITE 1: PEGRAM CONSULTING
Corporate Workplace Training & HR Compliance

Brand: Deep Navy (#183344) — Kortney palette Oct 7: navy/ivory/teal/gold
Tone: Trustworthy, Calm, Serious-But-Warm
*/

/* === PALETTE === */
:root {
  --brand-primary: #183344;         /* Deep navy - primary brand color (Kortney palette) */
  --brand-primary-dark: #0F2333;     /* Darker navy for hover/depth */
  --brand-primary-light: #BB9560;    /* Muted gold - restrained accent (h2 bars, focus outlines) */
  --brand-secondary: #BB9560;        /* Muted gold - blockquote borders and secondary accents */
  --accent-teal: #246B68;            /* Deep teal - buttons */
  --accent-teal-dark: #1D564F;       /* Darker teal - button hover */
  --accent-gold: #BB9560;            /* Muted gold - accents */

  --ink: #1f2430;                   /* Deep navy for headings - primary text color for titles and section headers */
  --ink-light: #3a404d;             /* Softer ink for subheadings - used for taglines and secondary text */
  --muted: #6c7280;                 /* Muted gray for body text - primary color for paragraph text and list items */
  --muted-light: #9aa1b0;            /* Light gray for captions - used for stat labels and fine print */

  --bg: #F5F1E9;                    /* Warm off-white for backgrounds */
  --bg-light: #ffffff;               /* Pure white for cards */
  --bg-alt: #EFE9DC;                 /* Subtle alternate background */

  --border: #d7dde5;                /* Light border color */
  --shadow: rgba(26, 26, 26, 0.1);   /* Subtle shadow for depth */

  /* Typography - Google Fonts assumed */
  --font-heading: 'Libre Franklin', sans-serif;
  --font-body: 'Source Serif 4', serif;
}

/* === BASE STYLES === */
body {
  background-color: var(--bg);
  color: var(--muted);
  font-family: var(--font-body);
  line-height: 1.7;
  margin: 0;
  padding: 0;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 600;
  color: var(--ink);
  margin-top: 0;
  margin-bottom: 0.75rem;
  line-height: 1.2;
}

h1 {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--brand-primary);
}

h2 {
  font-size: 1.8rem;
  position: relative;
  padding-left: 1rem;
  border-left: 4px solid var(--brand-primary-light);
  color: var(--ink);
}

h3 {
  font-size: 1.4rem;
  color: var(--ink-light);
}

p {
  margin-top: 0;
  margin-bottom: 1rem;
  color: var(--muted);
}

ul, ol {
  margin-top: 0;
  margin-bottom: 1rem;
  padding-left: 1.5rem;
}

li {
  margin-bottom: 0.5rem;
  color: var(--muted);
}

a {
  color: var(--brand-primary);
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover,
a:focus {
  color: var(--brand-primary-dark);
  text-decoration: underline;
}

a:focus-visible {
  outline: 2px solid var(--brand-primary-light);
  outline-offset: 2px;
}

/* === LAYOUT === */
.site-header {
  background-color: var(--bg-light);
  box-shadow: 0 2px 10px var(--shadow);
  position: sticky;
  top: 0;
  z-index: 1000;
  padding: 1rem 2rem;
  border-bottom: none;
}

.brand {
  display: flex;
  flex-direction: column;
}

.brand a {
  color: var(--brand-primary);
  text-decoration: none;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.6rem;
}

.tagline {
  font-size: 0.9rem;
  color: var(--ink-light);
  font-weight: 400;
  margin-top: 0.25rem;
}

nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 0;
  align-items: center;
}

nav a {
  color: var(--ink);
  font-size: 1rem;
  margin-left: 1.5rem;
  transition: color 0.2s ease;
}

@media (max-width: 768px) {
  nav a {
    margin-left: 0;
    margin-right: 1rem;
    padding: 0.75rem 0;
    display: block;
  }
}

nav a:hover,
nav a:focus {
  color: var(--brand-primary);
}

nav a:focus-visible {
  outline: 2px solid var(--border);
  outline-offset: 2px;
  border-radius: 4px;
}

.content {
  max-width: 1100px;
  margin: 0 auto;
  padding: 2rem;
}

.hero {
  background: var(--bg);
  color: var(--ink);
  text-align: center;
  padding: 3.5rem 2rem;
  margin-bottom: 2rem;
  border-bottom: 3px solid var(--accent-gold);
}

.hero h1 {
  color: var(--brand-primary);
  font-size: 2.8rem;
  margin-bottom: 0.4rem;
}

.hero .subhead {
  font-size: 1.3rem;
  line-height: 1.55;
  color: var(--ink-light);
  font-weight: 400;
  letter-spacing: 0.015em;
  max-width: 640px;
  margin: 0 auto;
  padding-top: 0.9rem;
}

.hero .subhead::before {
  content: "";
  display: block;
  width: 56px;
  height: 3px;
  background: var(--accent-gold);
  border-radius: 2px;
  margin: 0 auto 0.9rem;
}

.hero p {
  font-size: 1.2rem;
  color: var(--ink-light);
  max-width: 700px;
  margin: 0 auto 1.5rem;
}

.section {
  padding: 3rem 0;
  background-color: var(--bg);
  border-radius: 12px;
  margin-bottom: 2rem;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); /* smaller/squarer cards, 4-across per Kortney email 2026-10-06 */
  gap: 1.5rem;
  margin-top: 2rem;
}

.card {
  background-color: var(--bg-light);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1.5rem;
  box-shadow: 0 4px 8px var(--shadow);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 16px var(--shadow);
}

.card h3 {
  margin-top: 0;
  color: var(--ink);
}

.card p {
  color: var(--muted);
}

/* Links inside cards must not rely on color alone (a11y link-in-text-block) */
.card a {
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* === COMPONENTS === */
.subhead {
  font-size: 1.1rem;
  color: var(--ink-light);
  font-weight: 400;
  margin-bottom: 1rem;
  display: block;
}

.cta-band {
  background-color: var(--brand-primary);
  color: white;
  text-align: center;
  padding: 2rem;
  border-radius: 12px;
  margin: 3rem 0;
}

/* Dark surfaces need light text — generic p color (#6c7280) fails contrast here */
.cta-band p,
.cta-band li {
  color: #ffffff;
}

.site-footer p {
  color: #d9dce3;
}

.cta-band h2 {
  color: white;
  border-left: none;
  padding-left: 0;
  margin-bottom: 1rem;
}

.cta-primary {
  background-color: var(--accent-teal);
  color: #ffffff;
  padding: 0.8rem 2rem;
  border-radius: 30px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-size: 0.9rem;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  display: inline-block;
  text-decoration: none;
  min-height: 44px;
  min-width: 120px;
}

.cta-primary:hover,
.cta-primary:focus {
  background-color: var(--accent-teal-dark);
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 6px 12px var(--shadow);
}

.cta-primary:focus-visible {
  outline: 3px solid white;
  outline-offset: 2px;
}

.cta-secondary {
  background-color: transparent;
  color: white;
  padding: 0.8rem 2rem;
  border: 2px solid white;
  border-radius: 30px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-size: 0.9rem;
  transition: all 0.3s ease;
  cursor: pointer;
  display: inline-block;
  text-decoration: none;
  min-height: 44px;
  min-width: 120px;
}

.cta-secondary:hover,
.cta-secondary:focus {
  background-color: rgba(255, 255, 255, 0.15);
  transform: translateY(-2px);
}

.cta-secondary:focus-visible {
  outline: 3px solid white;
  outline-offset: 2px;
}

.qbox {
  background-color: #F8F4EA;
  border-left: 4px solid #BB9560;
  border-radius: 8px;
  padding: 1.2rem;
  margin: 2rem 0;
  position: relative;
  background-image: linear-gradient(to right, #F8F4EA 0%, #F8F4EA 200px), linear-gradient(to bottom, transparent 0%, #f9f9f9 100%);
  background-size: 200px 100%, 100% 100%;
  background-repeat: no-repeat;
}

.qbox-tag {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #8a5a00;
  background-color: #EFE3C8;
  padding: 0.25rem 0.6rem;
  border-radius: 4px;
  display: inline-block;
  margin-bottom: 0.5rem;
}

.form-field {
  margin-bottom: 1.5rem;
}

.form-field label {
  display: block;
  margin-bottom: 0.5rem;
  color: var(--ink);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.9rem;
}

.form-field input,
.form-field textarea,
.form-field select {
  width: 100%;
  padding: 0.8rem;
  border: 1px solid var(--border);
  border-radius: 8px;
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--muted);
  background-color: var(--bg-light);
  transition: border-color 0.3s ease;
}

.form-field input:focus,
.form-field textarea:focus,
.form-field select:focus {
  outline: none;
  border-color: var(--brand-primary);
  box-shadow: 0 0 0 3px rgba(24, 51, 68, 0.12);
}

.stat {
  text-align: center;
  padding: 1.5rem;
}

.stat-value {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--brand-primary);
  display: block;
  margin-bottom: 0.5rem;
}

.stat-label {
  font-size: 0.9rem;
  color: var(--muted-light);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 600;
}

/* === FOOTER === */
.site-footer {
  background-color: var(--ink);
  color: #ffffff;
  text-align: center;
  padding: 2rem;
  margin-top: 4rem;
  font-family: var(--font-heading);
}

.site-footer a {
  color: #ffffff;
  text-decoration: underline;
}

.site-footer a:hover,
.site-footer a:focus {
  color: var(--brand-primary-light);
}

/* === TABLES (if present) === */
table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.5rem 0;
  font-size: 0.95rem;
}

th {
  background-color: var(--brand-primary);
  color: white;
  text-align: left;
  padding: 0.8rem;
  font-weight: 600;
}

td {
  padding: 0.8rem;
  border-bottom: 1px solid var(--border);
  color: var(--muted);
}

table tr:last-child td {
  border-bottom: none;
}

table tr:hover {
  background-color: var(--bg-alt);
}

/* === BLOCKQUOTE (if present) === */
blockquote {
  margin: 1.5rem 0;
  padding: 1.5rem 1.5rem 1.5rem 1.8rem;
  border-left: 4px solid var(--brand-secondary);
  background-color: var(--bg-alt);
  font-style: italic;
  color: var(--ink-light);
  position: relative;
  border-radius: 0 8px 8px 0;
}

blockquote::before {
  content: "\201C";
  font-size: 3rem;
  color: var(--brand-secondary);
  position: absolute;
  top: 0.2rem;
  left: 0.4rem;
  opacity: 0.3;
  line-height: 1;
}

/* === RESPONSIVE === */
@media (max-width: 768px) {
  .site-header {
    flex-direction: column;
    align-items: flex-start;
    padding: 1rem;
  }

  .brand {
    margin-bottom: 1rem;
  }

  nav {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
  }

  nav a {
    margin-left: 0;
    margin-right: 1rem;
  }

  .content {
    padding: 1.5rem;
  }

  .hero {
    padding: 3rem 1.5rem;
  }

  .hero h1 {
    font-size: 2.2rem;
  }

  .section {
    padding: 2rem 1.5rem;
  }

  .cta-band {
    padding: 1.5rem;
  }

  .card-grid {
    grid-template-columns: 1fr;
  }
}

/* Floating review button (Kortney's Q&A workflow) */
.review-float { position: fixed; bottom: 24px; right: 24px; z-index: 50; }
.review-btn {
  display: inline-block; background: #F8F4EA; color: #6a4a00;
  border: 2px solid #BB9560; border-radius: 999px;
  padding: 12px 20px; font-weight: 700; text-decoration: none;
  box-shadow: 0 4px 14px rgba(0,0,0,.15); font-family: inherit; font-size: .95rem;
  min-height: 44px;
}
.review-btn:hover { filter: brightness(1.05); transform: translateY(-1px); }
.cta-label { display: block; font-size: .9em; opacity: .85; margin-bottom: .35rem; }

@media (max-width: 768px) {
  .review-float { bottom: 12px; right: 12px; left: 12px; }
  .review-btn { display: block; text-align: center; }
  .site-footer { padding-bottom: 5.5rem; }
}

/* Lead form (Formspree-wired) */
.lead-form { display: flex; flex-direction: column; gap: 0.75rem; max-width: 560px; }
.lead-form .form-field { width: 100%; padding: 0.75rem 1rem; border: 1px solid #ccc; border-radius: 6px; font: inherit; box-sizing: border-box; }
.lead-form textarea.form-field { resize: vertical; font-family: inherit; }
.lead-form .form-note { font-size: 0.85rem; color: #666; margin: 0.25rem 0 0; }

/* bio photo — About (src: Kortney email 2026-10-05) */
.bio-photo { max-width: 240px; width: 100%; height: auto; border-radius: 10px; display: block; margin: 0 auto 1.4rem; box-shadow: 0 2px 10px rgba(0,0,0,.12); }


/* --- hero with image (2026-10-14 placement map; restored 2026-10-19 from the
   Oct 14 built styles.css — rule was lost with the uncommitted CSS state) ---
   2026-10-20 mobile fix: blog ARTICLE pages reuse .hero for title + date
   (p.eyebrow), and several articles nest their whole body inside it. The global
   flex/left rules squeezed every paragraph into a sliver column on desktop, and
   under 820px the text-align:center turned the entire article body centered
   (client report: "blog looks all over the place on my phone"). Article heroes
   are exempted via .eyebrow and render as normal left-aligned blocks; every
   other page's hero keeps the exact desktop/mobile behavior Kortney approved. */
.hero { display: flex; align-items: center; gap: 2.5rem; text-align: left; }
.hero:has(.eyebrow) { display: block; text-align: left; }
.hero:has(.eyebrow) p { max-width: none; margin: 0 0 1rem; font-size: 1rem; }
.hero .eyebrow { font-size: 0.95rem; color: var(--muted-light); margin-bottom: 0.75rem; }
.hero-copy { flex: 1; min-width: 260px; }
.hero-img { max-height: 420px; width: auto; max-width: 46%; border-radius: 10px; object-fit: cover; }
@media (max-width: 820px) {
  .hero { flex-direction: column; text-align: center; }
  .hero:has(.eyebrow) { text-align: left; }
  .hero-img { max-height: 300px; max-width: 100%; }
}

/* --- blog content hardening (2026-10-20 mobile fix) ---
   Article pages are generated from WordPress copy: embedded images/videos have no
   width constraints, and bare long URLs can paint as unbreakable strings that push
   the page wider than the viewport. Constrain media and let long links break. */
.content img, .content video, .content iframe {
  max-width: 100%;
  height: auto;
}
.content a { overflow-wrap: anywhere; }
.content table { display: block; max-width: 100%; overflow-x: auto; }

/* === about/images fix 2026-10-20 ===
   Root cause: the 2026-10-20 blog hardening added `.content img { max-width:100% }`
   (specificity 0,1,1). The About page body renders inside <main class="content">,
   so that later, higher-specificity rule overrode `.bio-photo { max-width:240px }`
   (0,1,0) and the headshot painted full-width ("the picture in About is too big").
   Fix: re-assert the cap at 0,2,1 specificity, scoped ONLY to .bio-photo so blog
   article media keeps the hardening. */
.content img.bio-photo {
  max-width: 240px;
  width: 100%;
  height: auto;
  display: block;
  margin: 0 auto 1.4rem;
}
/* === end about/images fix === */

/* === home hero layout fix 2026-10-20 (Brick: image "embedded and throwing off text") === */
/* Stack the home hero: centered text block, image below at a readable width — no side-by-side crowding */
.hero { display: block; }
.hero-copy { max-width: 760px; margin: 0 auto; }
.hero .hero-img { display: block; margin: 1.6rem auto 0; max-height: none; max-width: 720px; width: 100%; height: auto; border-radius: 10px; object-fit: initial; }
@media (max-width: 820px) {
  .hero { display: block; flex-direction: column; text-align: center; }
  .hero:has(.eyebrow) { text-align: left; }
  .hero .hero-img { max-height: none; max-width: 100%; }
}
/* === end home hero layout fix === */

/* === services fix 2026-10-20 ===
   Client report: services hub + the new dedicated service pages read as "a mess".
   Root causes found by screenshot diagnosis (1280px + 390px):
   (1) the global `.content a { overflow-wrap:anywhere }` hardening breaks CTA
       button labels mid-word ("CONSULTA TION") when the button is width-squeezed;
   (2) the slimmed services hub renders its four teasers as bare full-width
       .section blocks with 3rem vertical padding — no card affordance, huge gaps;
   (3) the dedicated pages (13/14/15) nest their whole body inside .hero (no
       "## H2:" until the FAQ), so paragraphs render as skinny strips / centered
       walls — fixed in the markdown by adding real H2 sections; CSS below only
       adds FAQ visual relief and centers the injected training photo. */

/* 1) CTA labels must wrap between words, never inside one */
.cta-primary,
.cta-secondary {
  overflow-wrap: normal;
  word-break: normal;
}

/* 2) Services hub: teasers become cards (targets the four hub sections only,
   via their unique h2 ids — no effect on any other page) */
.section:has(> :is(#remediation-coaching, #respect-and-professional-boundaries-program, #hr-on-call, #remediation-workshops)) {
  background: #ffffff; /* white cards on the cream page background */
  border: 1px solid rgba(24, 51, 68, 0.14);
  border-radius: 12px;
  box-shadow: 0 1px 5px rgba(24, 51, 68, 0.07);
  padding: 1.75rem 2rem;
  margin-bottom: 1.25rem;
}
.section:has(> :is(#remediation-coaching, #respect-and-professional-boundaries-program, #hr-on-call, #remediation-workshops)) h2 {
  margin-bottom: 0.5rem;
}
.section:has(> :is(#remediation-coaching, #respect-and-professional-boundaries-program, #hr-on-call, #remediation-workshops)) em {
  display: block;
  font-size: 1.02rem;
  color: var(--ink-light);
  margin-bottom: 0.75rem;
}
.section:has(> :is(#remediation-coaching, #respect-and-professional-boundaries-program, #hr-on-call, #remediation-workshops)) p:last-child {
  margin-bottom: 0;
}
@media (max-width: 600px) {
  .section:has(> :is(#remediation-coaching, #respect-and-professional-boundaries-program, #hr-on-call, #remediation-workshops)) {
    padding: 1.25rem 1.25rem;
  }
}

/* 3) FAQ relief on the service pages: question headings get real hierarchy and
   breathing room (scoped to the FAQ sections via their h2 ids) */
:is(#faq, #frequently-asked-questions) ~ h3 {
  font-size: 1.08rem;
  color: var(--brand-primary);
  margin: 1.4rem 0 0.35rem;
}
:is(#faq, #frequently-asked-questions) ~ h3 + p {
  margin-top: 0;
}

/* 4) Injected training photo (respect-and-professional-boundaries page):
   center it instead of hugging the left edge */
.content img[src="img/kortney-training.jpg"] {
  margin: 1.25rem auto !important; /* inline style from the build injects margin:0.75rem 0 */
}
/* === end services fix === */

/* === hero centering 2026-10-20 (Brick 8360: center page headers + top CTA buttons) === */
.hero { text-align: center; }
/* blog article heroes remain left-aligned (eyebrow = article pages only) */
.hero:has(.eyebrow) { text-align: left; }
/* CTA anchors must be inline-block so the centered text-align centers the button itself */
.hero .cta-primary,
.hero .cta-secondary { display: inline-block; }
/* === end hero centering === */

/* Contact page: form + keynote photo side-by-side (Kortney email 2026-10-19,
   "add the attached picture to the blank space... talking to a crowd") */
.contact-split { display: flex; gap: 2rem; align-items: flex-start; }
.contact-split form.lead-form { flex: 1 1 auto; }
.contact-split .contact-photo { flex: 0 0 240px; width: 240px; height: auto; border-radius: 10px; }
@media (max-width: 768px) {
  .contact-split { flex-direction: column; }
  .contact-split .contact-photo { flex: none; width: 100%; max-width: 480px; }
}
