/* ==========================================================================
   Chesapeake Financial Planners — Home Page Rebuild
   Pixel-fidelity reconstruction of the live Cornerstone-built page.
   Source colors/fonts confirmed via live computed-style extraction on
   https://chesapeakefp.com/ (Sept 2026).
   ========================================================================== */

:root {
  /* Brand colors — extracted from live site computed styles */
  --navy: #003366;         /* hero gradient, footer headings */
  --brand-blue: #0171bb;   /* links, FAQ heading, hover states */
  --faq-blue: #1c76bc;     /* FAQ accordion bar background */
  --text-dark: #131313;    /* primary body/heading text */
  --text-muted: #4a4a4a;   /* secondary text/links */
  --surface-gray: #eeeeee; /* alternating section background */
  --surface-white: #ffffff;
  --footer-blue: #0e5ba8;  /* footer background (site footer band) */
  --footer-dark: #333333;  /* footer sub-band */
  --cta-orange: #f7941d;   /* Client Login button */
  --cta-dark: #333333;     /* File Upload button */
  --border-light: #d4d1ca;

  --font-display: "Russo One", sans-serif;
  --font-body: "Poppins", sans-serif;
  --font-accent: "Cormorant Garamond", serif;

  --site-max-width: 1280px;
  --site-width: 88%;
}

* { box-sizing: border-box; }
html { font-size: 14px; -webkit-font-smoothing: antialiased; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--text-dark);
  background: var(--surface-white);
  line-height: 1.5;
}
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
.container {
  width: var(--site-width);
  max-width: var(--site-max-width);
  margin: 0 auto;
}

/* ===================== HEADER / NAV ===================== */
.site-header {
  border-bottom: 1px solid #ececec;
  background: #fff;
  position: relative;
  z-index: 100;
}
.nav-wrap {
  /* full width: spans the viewport with a 24px gutter (page content keeps its own max width) */
  width: 100%;
  max-width: none;
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 24px;
  gap: 24px;
}
.logo-block { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.logo-img { height: 46px; width: auto; display: block; }

.main-nav { display: flex; align-items: center; gap: 22px; flex: 1; justify-content: center; }
.main-nav a {
  font-size: 13px;
  font-weight: bold;
  text-transform: uppercase;
  color: var(--text-dark);
  letter-spacing: 0.02em;
  white-space: nowrap;
}
.main-nav a:hover { color: var(--brand-blue); }
.main-nav a.active { color: var(--brand-blue); }

.nav-ctas { display: flex; align-items: center; gap: 8px; flex-shrink: 0; }
.nav-cta {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  padding: 12px 18px;
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 6px;
}
.nav-cta.fit { background: var(--brand-blue); color: #fff; }
.nav-cta.login { background: var(--cta-orange); color: #fff; }
.nav-cta.upload { background: var(--cta-dark); color: #fff; }
.nav-cta svg { width: 16px; height: 16px; flex-shrink: 0; }

/* ===================== HERO ===================== */
.hero {
  position: relative;
  margin: 0;
  padding: 70px 0;
  background-color: var(--text-dark);
  background-image:
    linear-gradient(to top, rgba(0,51,102,0.92), rgba(0,20,40,0.35)),
    var(--cfp-hero-img, none);
  background-size: cover;
  background-position: center;
  color: #fff;
}
.hero .container { text-align: center; max-width: 900px; }
.hero h1 {
  font-family: var(--font-display);
  font-size: 48px;
  line-height: 1.15;
  text-transform: uppercase;
  margin: 0 0 20px;
  font-weight: 400;
}
.hero p {
  font-family: var(--font-body);
  font-size: 18px;
  line-height: 1.5;
  color: #eef3f8;
  margin: 0;
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}

/* ===================== FEATURED IN (scrolling marquee) ===================== */
.featured-in { padding: 20px 0; background: var(--surface-white); text-align: center; overflow: hidden; }
.featured-in h2 {
  font-family: var(--font-display);
  font-size: 24px;
  color: var(--navy);
  text-transform: uppercase;
  margin: 0 0 20px;
  font-weight: 400;
}
.logo-marquee-wrap {
  width: 100%;
  overflow: hidden;
  margin-top: 14px;
  -webkit-mask-image: linear-gradient(to right, transparent, #000 5%, #000 95%, transparent);
  mask-image: linear-gradient(to right, transparent, #000 5%, #000 95%, transparent);
}
.logo-marquee-wrap + .logo-marquee-wrap { margin-top: 22px; }
.logo-marquee-track {
  display: flex;
  align-items: center;
  gap: 48px;
  width: max-content;
}
.logo-marquee-track img { height: 30px; width: auto; object-fit: contain; flex-shrink: 0; }
.marquee-reverse { animation: logo-scroll-rtl 55s linear infinite; }
.marquee-forward { animation: logo-scroll-ltr 50s linear infinite; }
@keyframes logo-scroll-rtl {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
@keyframes logo-scroll-ltr {
  from { transform: translateX(-50%); }
  to { transform: translateX(0); }
}
@media (prefers-reduced-motion: reduce) {
  .logo-marquee-track { animation: none; }
}

/* ===================== INTRO (gray, two-part) ===================== */
.intro-section { background: var(--surface-gray); padding: 40px 0; }
.intro-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}
.intro-row + .intro-row { margin-top: 40px; }
.intro-row.reverse { direction: rtl; }
.intro-row.reverse > * { direction: ltr; }
.intro-text p {
  font-size: 18px;
  line-height: 1.4;
  color: var(--text-dark);
  margin: 0 0 18px;
}
.intro-text p:last-child { margin-bottom: 0; }
.intro-text strong { font-weight: 700; }
.intro-image img { border-radius: 4px; width: 100%; height: auto; }

/* ===================== GOOGLE REVIEWS ===================== */
.reviews-section { padding: 40px 0; background: #fff; }
.stars { color: #f5b400; letter-spacing: 1px; }

.grw-slider-wrap { position: relative; display: flex; align-items: center; }
.grw-viewport { overflow: hidden; flex: 1; }
.grw-track {
  display: flex;
  gap: 20px;
  transition: transform 0.4s ease;
}
.grw-arrow {
  width: 32px; height: 32px; border-radius: 50%;
  background: #fff; border: 1px solid #ddd;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; z-index: 5; color: var(--text-muted);
  font-size: 18px; line-height: 1; flex-shrink: 0;
  position: relative; margin: 0 8px;
}
.grw-arrow:hover { background: #f5f5f5; }
.grw-dots { display: flex; justify-content: center; gap: 6px; margin-top: 16px; }
.grw-dots span { width: 7px; height: 7px; border-radius: 50%; background: #ccc; cursor: pointer; }
.grw-dots span.active { background: var(--cta-orange); }

.grw-card {
  background: var(--surface-gray);
  border-radius: 6px;
  padding: 20px;
  flex: 0 0 calc((100% - 40px) / 3);
  min-width: 0;
  box-sizing: border-box;
}
.grw-card-top { display: flex; align-items: flex-start; gap: 10px; margin-bottom: 8px; position: relative; }
.grw-avatar { width: 40px; height: 40px; border-radius: 50%; flex-shrink: 0; object-fit: cover; }
.grw-name-wrap { flex: 1; min-width: 0; }
.grw-name { font-weight: 700; font-size: 14px; color: #1a4b8f; text-decoration: none; display: block; }
.grw-time { font-size: 12px; color: var(--text-muted); }
.grw-g-icon { position: absolute; top: 0; right: 0; }
.grw-stars { display: block; margin: 2px 0 10px; font-size: 14px; color: #f5b400; letter-spacing: 1px; }
.grw-text { font-size: 14px; color: var(--text-dark); line-height: 1.55; margin: 0; }
.review-cta {
  display: inline-flex; align-items: center; gap: 8px;
  margin-top: 24px; padding: 10px 22px;
  background: rgb(31,103,231); color: #fff;
  border-radius: 27px; font-size: 14px; font-weight: bold;
}

/* ===================== FAQ ===================== */
.faq-section { background: var(--surface-white); padding: 40px 0; text-align: center; }
.faq-section h2 {
  font-family: var(--font-display);
  font-size: 36px;
  color: var(--brand-blue);
  text-transform: uppercase;
  margin: 0 0 30px;
  font-weight: 400;
}
.faq-list { text-align: left; display: flex; flex-direction: column; gap: 12px; }
.faq-item {
  background: var(--faq-blue);
  color: #fff;
  border-radius: 4px;
  overflow: hidden;
}
.faq-question {
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px 24px;
  font-weight: 700; font-size: 16px;
  cursor: pointer;
  user-select: none;
}
.faq-question .chevron {
  transition: transform 0.25s ease;
  flex-shrink: 0;
  margin-left: 16px;
}
.faq-item.open .faq-question .chevron { transform: rotate(90deg); }
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
  background: #fff;
  color: var(--text-dark);
}
.faq-item.open .faq-answer { max-height: 600px; }
.faq-answer-inner { padding: 20px 24px; font-size: 15px; line-height: 1.6; }
.faq-disclaimer {
  font-family: var(--font-accent);
  font-size: 14px;
  color: var(--text-dark);
  text-align: center;
  margin-top: 30px;
  line-height: 1.4;
}
.faq-disclaimer p { margin: 0 0 8px; }

/* ===================== FEATURED PERSPECTIVES ===================== */
.perspectives-section { background: var(--surface-gray); padding: 40px 0; }
.perspectives-header {
  display: flex; align-items: baseline; justify-content: space-between;
  margin-bottom: 24px; flex-wrap: wrap; gap: 12px;
}
.perspectives-header h2 {
  font-family: var(--font-display);
  font-size: 24px;
  color: var(--brand-blue);
  text-transform: uppercase;
  margin: 0;
  font-weight: 400;
}
.perspectives-header a {
  background: #fff;
  color: var(--text-dark);
  padding: 10px 20px;
  font-size: 14px;
  font-weight: bold;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid #ddd;
}
.perspective-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.perspective-card { background: #fff; overflow: hidden; box-shadow: 0 1px 4px rgba(0,0,0,0.08); }
.perspective-card img { width: 100%; height: 200px; object-fit: cover; }
.perspective-card-body { padding: 18px; }
.perspective-card h3 {
  font-family: var(--font-body);
  font-size: 18px;
  font-weight: 700;
  color: var(--navy);
  margin: 0 0 10px;
  line-height: 1.4;
}
.perspective-card .meta { font-size: 13px; color: var(--text-muted); }

/* ===================== CTA BAND ===================== */
.cta-band { background: #4a4a4a; padding: 36px 0; }
.cta-band-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}
.cta-band-text { flex: 1; }
.cta-band-text h2 {
  font-family: var(--font-body);
  font-size: 24px;
  font-weight: 700;
  color: #fff;
  margin: 0 0 10px;
  line-height: 1.3;
}
.cta-band-text p {
  font-size: 15px;
  line-height: 1.6;
  margin: 0;
  color: #d8d8d8;
  max-width: 640px;
}
.cta-band-btn {
  display: inline-block;
  flex-shrink: 0;
  background: var(--cta-orange);
  color: #fff;
  padding: 16px 32px;
  border-radius: 4px;
  font-weight: 700;
  font-size: 14px;
  text-transform: uppercase;
  text-decoration: none;
  white-space: nowrap;
}
.cta-band-btn:hover { background: #e08415; }

/* ===================== FOOTER ===================== */
.site-footer { background: var(--footer-blue); color: #fff; }
.footer-top { padding: 40px 0 32px; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 0.9fr 1.3fr 1fr;
  gap: 16px;
  margin-bottom: 36px;
}
.footer-col h4 {
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.3px;
  margin: 0 0 14px;
  color: #fff;
}
.footer-col ul { list-style: none; margin: 0 0 4px; padding: 0; }
.footer-col li { margin-bottom: 9px; font-size: 14px; }
.footer-col a { color: #eaf1fa; text-decoration: none; }
.footer-col a:hover { color: #fff; text-decoration: underline; }
.footer-col-brand { display: flex; flex-direction: column; }
.footer-brand-logo { margin-bottom: 16px; }
.footer-logo-img { height: auto; width: auto; max-width: 100%; max-height: 40px; display: block; }
.footer-social { display: flex; gap: 10px; margin-bottom: 20px; }
.footer-social a {
  width: 32px; height: 32px; border-radius: 50%;
  background: rgba(255,255,255,0.15);
  display: flex; align-items: center; justify-content: center;
  color: #fff;
  transition: background 0.15s ease;
}
.footer-social a:hover { background: rgba(255,255,255,0.3); }
.footer-social a svg { width: 16px; height: 16px; }
.footer-badges {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-auto-rows: 1fr;
  gap: 24px 20px;
  margin-top: 6px;
  flex: 1;
  align-content: space-evenly;
}
.footer-badges img {
  height: 100%; width: 100%; max-width: 120px; object-fit: contain;
  justify-self: start; align-self: center;
}
.footer-badges img[alt="FPA"],
.footer-badges img[alt="CFP Board"] {
  height: 40px; width: auto; max-width: 120px; object-fit: contain;
}
.footer-badges img[alt="ElevenLabs Startup Grants"] {
  width: auto; max-width: 130px;
}
.footer-badges img[alt="FINRA BrokerCheck"] { filter: brightness(0) invert(1); }
.footer-contact-divider { width: 40px; height: 2px; background: rgba(255,255,255,0.4); margin: 0 0 14px; }
.footer-contact-link { display: block; font-size: 14px; font-weight: 700; color: #fff; margin-bottom: 8px; }
.footer-contact-link:hover { text-decoration: underline; }

.footer-legal { padding-top: 24px; border-top: 1px solid rgba(255,255,255,0.18); }
.footer-legal p { font-size: 12px; color: #dbe6f2; line-height: 1.6; margin: 0 0 12px; }
.footer-legal a { color: #fff; text-decoration: underline; }

.footer-bottom { background: var(--footer-dark); padding: 16px 0; }
.footer-bottom-inner { display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.footer-copyright { font-size: 12px; color: #fff; margin: 0; font-weight: bold; letter-spacing: 0.3px; white-space: nowrap; }
.footer-bottom-mark { height: 22px; width: auto; opacity: 0.9; flex-shrink: 0; }
.footer-credit { font-size: 12px; color: #fff; margin: 0; font-weight: 700; letter-spacing: 0.3px; white-space: nowrap; display: flex; align-items: center; gap: 6px; }
.footer-credit .gvam { display: inline-flex; align-items: center; }
.footer-credit .gvam img { height: 13px; width: auto; vertical-align: middle; }

/* ===================== PAGE HEADER (About / interior pages) ===================== */
.page-header {
  position: relative;
  margin: 0;
  padding: 70px 0;
  background-color: var(--navy);
  background-size: cover;
  background-position: center;
  color: #fff;
  text-align: center;
}
.page-header h1 {
  font-family: var(--font-display);
  font-size: 44px;
  line-height: 1.15;
  text-transform: uppercase;
  margin: 0;
  font-weight: 400;
}

/* ===================== VALUES / VISION / MISSION ===================== */
.vvm-section { background: var(--surface-white); padding: 60px 0; }
.vvm-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; }
.vvm-col h2 {
  font-family: var(--font-display);
  font-size: 22px;
  color: var(--brand-blue);
  text-transform: uppercase;
  margin: 0 0 20px;
  font-weight: 400;
}
.vvm-values { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 14px; }
.vvm-values li { font-size: 15px; line-height: 1.5; color: var(--text-dark); padding-left: 18px; position: relative; }
.vvm-values li::before {
  content: "→";
  position: absolute;
  left: 0;
  color: var(--brand-blue);
  font-weight: 700;
}
.vvm-lead { font-family: var(--font-accent); font-size: 22px; font-style: italic; color: var(--navy); line-height: 1.4; margin: 0 0 24px; }
.vvm-divider { height: 1px; background: var(--border-light); margin: 0 0 24px; }
.vvm-col p { font-size: 15px; line-height: 1.6; color: var(--text-dark); margin: 0; }

/* ===================== OUR TEAM ===================== */
.team-section { background: var(--surface-gray); padding: 60px 0; text-align: center; }
.team-section h2 {
  font-family: var(--font-display);
  font-size: 28px;
  color: var(--brand-blue);
  text-transform: uppercase;
  margin: 0 0 36px;
  font-weight: 400;
}
.team-leaders {
  display: flex;
  justify-content: center;
  gap: 48px;
  margin: 0 auto 40px;
  padding-bottom: 32px;
  border-bottom: 1px solid var(--border-light);
  max-width: 560px;
}
.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px 24px;
  text-align: center;
  justify-content: center;
}
.team-card { text-align: center; }
.team-card img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  object-position: top;
  border-radius: 6px;
  margin-bottom: 14px;
}
.team-card-lead { width: 220px; }
.team-card-lead img { object-position: center 15%; }
.team-card h3 { font-size: 15px; font-weight: bold; color: var(--text-dark); margin: 0 0 4px; line-height: 1.3; }
.team-card p { font-size: 12px; color: var(--text-muted); margin: 0; text-transform: uppercase; letter-spacing: 0.03em; }

/* ===================== CLIENT REQUIREMENTS ===================== */
.requirements-section { background: var(--surface-white); padding: 60px 0; text-align: center; }
.requirements-section h2 {
  font-family: var(--font-display);
  font-size: 24px;
  color: var(--text-dark);
  text-transform: none;
  font-weight: 400;
  max-width: 780px;
  margin: 0 auto 32px;
  line-height: 1.35;
}
.requirements-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.requirement-card {
  background: var(--navy);
  color: #fff;
  font-size: 14px;
  font-weight: bold;
  line-height: 1.4;
  padding: 28px 20px;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 110px;
}

/* ===================== SERVICES HERO ===================== */
.services-hero { background: var(--surface-gray); padding: 20px 0 20px; }
.services-hero-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: start; }
.services-hero-text { display: flex; flex-direction: column; justify-content: center; min-height: 100%; }
.services-hero-text .eyebrow {
  display: block;
  font-family: var(--font-display);
  font-size: 15px;
  color: var(--brand-blue);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 10px;
}
.services-hero-text h1 {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 32px;
  line-height: 1.25;
  color: var(--navy);
  margin: 0 0 16px;
}
.services-hero-text p { font-size: 15px; line-height: 1.6; color: var(--text-dark); margin: 0 0 26px; max-width: 480px; }
.services-hero-btn {
  display: inline-block;
  background: var(--brand-blue);
  color: #fff;
  font-size: 13px;
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  padding: 14px 28px;
  border-radius: 3px;
}
.services-hero-image img { border-radius: 6px; width: 100%; height: auto; }
/* Safety cap: a hero photo is never allowed to be taller than 10:7 (a little taller than 3:2). Every approved
   photo is 3:2 or wider, so none are changed. A tall or very large upload (portrait photo, unusual crop) would
   otherwise stretch the whole hero; it is cropped from the center to 10:7 instead. The wrapper is a size container, so the limit is a ratio
   of the column width and scales at every screen size (about 426px on a desktop). */
.services-hero-image { container-type: inline-size; }
.services-hero-image img { max-height: 70cqw; object-fit: cover; object-position: center; }

/* ===================== SERVICES INTRO STATEMENT ===================== */
.services-intro { background: var(--surface-white); padding: 50px 0; }
.services-intro p {
  font-size: 15px;
  line-height: 1.7;
  color: var(--text-dark);
  max-width: 900px;
  margin: 0 auto 18px;
  text-align: center;
}
.services-intro p:last-child { margin-bottom: 0; }

/* ===================== SERVICE FEATURE ROWS ===================== */
.service-feature { background: var(--surface-gray); padding: 60px 0; }
.service-feature:nth-of-type(even) { background: var(--surface-white); }
.service-feature-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.service-feature.reverse .service-feature-image { order: 2; }
.service-feature-image img { border-radius: 6px; width: 100%; height: auto; }
.service-feature-text h2 {
  font-family: var(--font-display);
  font-size: 24px;
  color: var(--navy);
  text-transform: uppercase;
  font-weight: 400;
  margin: 0 0 8px;
  line-height: 1.25;
}
.service-feature-text .eyebrow {
  display: block;
  font-size: 13px;
  font-weight: bold;
  text-transform: uppercase;
  color: var(--text-muted);
  letter-spacing: 0.03em;
  margin-bottom: 18px;
}
.service-feature-text p { font-size: 14px; line-height: 1.65; color: var(--text-dark); margin: 0 0 16px; }
.service-feature-btn {
  display: inline-block;
  background: var(--brand-blue);
  color: #fff;
  font-size: 13px;
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  padding: 13px 26px;
  border-radius: 3px;
  margin-top: 8px;
}

/* ===================== WEALTH ARCHETYPE ===================== */
.wealth-archetype { background: var(--surface-gray); padding: 60px 0; }
.wealth-archetype-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 56px; align-items: center; }
.video-embed { position: relative; width: 100%; padding-top: 56.25%; border-radius: 6px; overflow: hidden; background: #000; }
.video-embed iframe { position: absolute; top: 0; left: 0; width: 100%; height: 100%; border: 0; }
.wealth-archetype-text h2 {
  font-family: var(--font-display);
  font-size: 24px;
  color: var(--navy);
  text-transform: uppercase;
  font-weight: 400;
  margin: 0 0 8px;
  line-height: 1.25;
}
.wealth-archetype-text .eyebrow {
  display: block;
  font-size: 13px;
  font-weight: bold;
  text-transform: uppercase;
  color: var(--text-muted);
  letter-spacing: 0.03em;
  margin-bottom: 18px;
}
.wealth-archetype-text p { font-size: 14px; line-height: 1.65; color: var(--text-dark); margin: 0 0 20px; }

/* ===================== AUDIENCE CARDS (Financial Planning hub) ===================== */
.audience-card { background: var(--surface-gray); padding: 60px 0; }
.audience-card:nth-of-type(odd) { background: var(--surface-white); }
.audience-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.audience-card.reverse .audience-image { order: 0; } /* live: image on the left for cards 2, 4, 6 */
.audience-image img { border-radius: 6px; width: 100%; height: auto; }
.audience-text h2 {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 26px;
  color: var(--navy);
  margin: 0 0 10px;
  line-height: 1.2;
}
.audience-text .eyebrow {
  display: block;
  font-size: 15px;
  font-weight: bold;
  color: var(--text-dark);
  margin-bottom: 16px;
  line-height: 1.4;
}
.audience-text p { font-size: 14px; line-height: 1.65; color: var(--text-dark); margin: 0 0 16px; }

/* ===================== CASE STUDY TEASER (FP subpages) ===================== */
.case-study-teaser { background: var(--surface-white); padding: 60px 0; }
.case-study-grid { max-width: 720px; margin: 0 auto; text-align: center; }
.case-study-text .eyebrow {
  display: block;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--brand-blue);
  margin-bottom: 10px;
}
.case-study-text h2 {
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 400;
  color: var(--text-dark);
  margin: 0 0 18px;
  line-height: 1.25;
}
.case-study-text p { font-size: 14px; line-height: 1.65; color: var(--text-dark); margin: 0 0 14px; }

/* ===================== KEY BENEFITS SLIDER (Business Owners) ===================== */
.key-benefits { background: var(--surface-white); padding: 60px 0; text-align: center; }
.key-benefits h2 {
  font-family: var(--font-display);
  font-size: 28px;
  color: var(--brand-blue);
  text-transform: uppercase;
  margin: 0 0 36px;
  font-weight: 400;
}
.kb-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px 24px; text-align: left; }
.kb-card img { width: 100%; aspect-ratio: 16/9.6; object-fit: cover; border-radius: 6px; margin-bottom: 14px; }
.kb-card h3 { font-size: 16px; font-weight: 700; color: var(--text-dark); margin: 0 0 8px; line-height: 1.3; }
.kb-card p { font-size: 14px; line-height: 1.6; color: var(--text-muted); margin: 0; }

/* ===================== WEALTH EVENTS SUB-EVENTS GRID ===================== */
.wealth-events-grid-section { background: var(--surface-gray); padding: 64px 0; text-align: center; }
.wealth-events-grid-section h2 {
  font-family: var(--font-display);
  font-size: 28px;
  color: var(--brand-blue);
  text-transform: uppercase;
  margin: 0 0 36px;
  font-weight: 400;
}
.we-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; text-align: left; }
.we-tile {
  background: var(--surface-white);
  border: 1px solid var(--border-light);
  border-radius: 8px;
  padding: 26px 22px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.we-tile h3 { font-size: 16px; font-weight: 700; color: var(--text-dark); margin: 0; line-height: 1.3; }
.we-tile p { font-size: 13px; line-height: 1.55; color: var(--text-muted); margin: 0; flex-grow: 1; }
.we-tile a { font-size: 13px; font-weight: 700; color: var(--brand-blue); text-decoration: none; }
.we-tile a:hover { text-decoration: underline; }

/* ===================== CASE STUDY STORY ===================== */
.case-study-story { background: var(--surface-white); padding: 70px 0; }
.case-study-story-inner { max-width: 700px; margin: 0 auto; }
.case-study-story-inner p { font-size: 15px; line-height: 1.75; color: var(--text-dark); margin: 0 0 20px; }
.case-study-story-inner blockquote {
  margin: 32px 0;
  padding: 4px 0 4px 24px;
  border-left: 4px solid var(--brand-blue);
  font-family: var(--font-accent);
  font-style: italic;
  font-size: 20px;
  line-height: 1.5;
  color: var(--navy);
}
.case-study-story-inner blockquote p { margin: 0; font-size: inherit; font-style: inherit; color: inherit; }

/* ===================== RESPONSIVE ===================== */
@media (max-width: 900px) {
  .main-nav { display: none; }
  .intro-row { grid-template-columns: 1fr; }
  .intro-row.reverse .intro-image { order: -1; }
  .grw-card { flex: 0 0 calc(100% - 20px); }
  .perspective-cards { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: repeat(3, 1fr); }
  .hero h1 { font-size: 32px; }
  .nav-ctas { gap: 4px; }
  .nav-cta { padding: 8px 10px; font-size: 10px; }
  .nav-cta span.label { display: none; }
  .cta-band-inner { flex-direction: column; align-items: flex-start; gap: 20px; }
  .cta-band-btn { align-self: flex-start; }
  .vvm-grid { grid-template-columns: 1fr; gap: 36px; }
  .team-leaders { gap: 28px; }
  .team-card-lead { width: 160px; }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .kb-grid { grid-template-columns: repeat(2, 1fr); }
  .we-grid { grid-template-columns: repeat(2, 1fr); }
  .requirements-grid { grid-template-columns: repeat(2, 1fr); }
  .page-header { padding: 50px 0; }
  .page-header h1 { font-size: 32px; }
  .services-hero { padding: 20px 0 20px; }
  .services-hero-grid { grid-template-columns: 1fr; gap: 20px; }
  .services-hero-image { order: -1; }
  .service-feature-grid { grid-template-columns: 1fr; gap: 28px; }
  .service-feature.reverse .service-feature-image { order: -1; }
  .wealth-archetype-grid { grid-template-columns: 1fr; gap: 28px; }
  .audience-grid { grid-template-columns: 1fr; gap: 28px; }
  .audience-card.reverse .audience-image { order: -1; }
}
@media (max-width: 600px) {
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom-inner { flex-direction: column; text-align: center; gap: 10px; }
  .perspectives-header { flex-direction: column; align-items: flex-start; }
  .team-leaders { flex-direction: column; align-items: center; gap: 24px; }
  .team-card-lead { width: 180px; }
  .team-grid { grid-template-columns: 1fr 1fr; gap: 20px; }
  .requirements-grid { grid-template-columns: 1fr; }
  .kb-grid { grid-template-columns: 1fr; }
  .we-grid { grid-template-columns: 1fr; }
}

/* ===================== TEMPLATE ADDITIONS (PHP/ACF rebuild) ===================== */
/* Production semantics: H1 = page label, H2 = tagline. Visual design is unchanged. */
h1.eyebrow { font-weight: 400; margin-top: 0; }
.services-hero-text h1.eyebrow { line-height: 1.2; }
.services-hero-text .hero-tagline {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 32px;
  line-height: 1.25;
  color: var(--navy);
  margin: 0 0 16px;
}
.faq-item.open .faq-answer { max-height: 4000px; }
.faq-question { cursor: pointer; }
.perspective-card-link { display: block; color: inherit; text-decoration: none; }
.footer-col h4 a { color: inherit; text-decoration: none; }
.footer-badges a { display: contents; }
.footer-bottom-inner > a:has(.footer-bottom-mark) { display: contents; }
.video-section { background: var(--surface-white); padding: 40px 0; }
.video-section .video-embed { max-width: 720px; margin: 0 auto; padding-top: 0; aspect-ratio: 16 / 9; border-radius: 0; }
span.service-feature-btn { cursor: default; }
.vcta-feature .service-feature-image a { display: block; }
.vcta-feature .service-feature-image img { display: block; width: auto; max-width: 320px; height: auto; max-height: 414px; margin: 0 auto; border-radius: 0; }
.vcta-feature .service-feature-text p { font-size: 15px; line-height: 1.6; margin: 0 0 20px; }

/* Mobile menu (<=900px): the approved header does not fit a phone, so the links and buttons collapse behind a toggle. */
.nav-toggle { display: none; background: none; border: 0; padding: 10px; cursor: pointer; flex-direction: column; gap: 5px; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--text-dark); }
/* Header fit: the approved header needs about 1260px of content width, so it overflowed every viewport below ~1500px. Tighten the gaps below 1500px, widen the bar below 1440px, and collapse to the toggle below 1320px. */
@media (max-width: 1500px) { .nav-wrap { gap: 16px; } .main-nav { gap: 14px; } .main-nav a { font-size: 12px; } .nav-cta { padding: 12px 16px; } }
@media (max-width: 1319px) {
  .nav-wrap { flex-wrap: wrap; }
  .nav-toggle { display: flex; margin-left: auto; }
  .site-header .main-nav, .site-header .nav-ctas { display: none; width: 100%; flex: 0 0 100%; }
  .site-header.nav-open .main-nav { display: flex; flex-direction: column; align-items: flex-start; gap: 0; order: 3; }
  .site-header.nav-open .main-nav a { padding: 12px 0; width: 100%; border-top: 1px solid #ececec; }
  .site-header.nav-open .nav-ctas { display: flex; flex-wrap: wrap; order: 4; gap: 8px; padding-bottom: 8px; }
  .site-header.nav-open .nav-cta { padding: 10px 14px; font-size: 12px; }
  .site-header.nav-open .nav-cta span.label { display: inline; }
}

/* ==========================================================================
   SECTION BUILDER (templates/cfp-sections.php) + TEAM BIOS (templates/cfp-bio.php)
   Same design language as the approved pages: Russo One headings, Poppins body,
   #003366 navy, #0171bb blue, grey / white banding.
   ========================================================================== */
.sx-hero-h1 { margin-top: 0; }
.sx-hero--noimg .services-hero-grid { grid-template-columns: 1fr; }
.sx-hero--noimg .services-hero-text p { max-width: 720px; }
.sx-hero-copy p { font-size: 15px; line-height: 1.6; color: var(--text-dark); margin: 0 0 18px; max-width: 520px; }
.sx-hero--left .sx-hero-copy p { max-width: 560px; }
.sx-hero-copy a { color: var(--brand-blue); font-weight: bold; }
.sx-hero .hero-tagline strong { font-weight: 700; }
.sx-letters { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr; gap: 12px; }
.sx-hero--letters .services-hero-grid { grid-template-columns: 1.15fr 0.7fr 1fr; gap: 36px; align-items: center; }
.sx-hero--letters .services-hero-text p { max-width: none; }
.sx-letters li { display: flex; align-items: center; gap: 12px; font-size: 15px; font-weight: 500; color: var(--text-dark); }
.sx-letter { flex: 0 0 34px; height: 34px; border-radius: 4px; background: var(--navy); color: #fff; font-family: var(--font-display); font-size: 18px; display: inline-flex; align-items: center; justify-content: center; }

.sx-hero-plain { background: var(--surface-gray); margin: 20px 0; padding: 36px 0; text-align: center; }
.sx-hero-plain h1 { font-family: var(--font-display); font-size: 44px; line-height: 1.15; text-transform: uppercase; color: var(--navy); font-weight: 400; margin: 0; }

/* shared pieces */
.sx-head { text-align: center; margin: 0 auto 36px; max-width: 900px; }
.sx-head h2, .sx-callout h2, .sx-buttons h2, .sx-columns2 h2, .sx-textbox h2, .sx-twobox h2, .sx-check h2, .sx-imageband h2, .sx-job h2 {
  font-family: var(--font-display); font-size: 24px; line-height: 1.3; color: var(--navy); font-weight: 400; text-transform: uppercase; margin: 0 0 14px;
}
.sx-intro p, .sx-after p { font-size: 15px; line-height: 1.65; margin: 0 0 14px; color: var(--text-dark); }
.sx-item-text h3 { font-size: 16px; font-weight: 700; line-height: 1.3; color: var(--text-dark); margin: 0 0 8px; }
.sx-item-text p { font-size: 14px; line-height: 1.65; color: var(--text-dark); margin: 0 0 10px; }
.sx-feature .service-feature-text ul, .sx-box ul, .sx-box-side ul, .sx-columns2 ul, .sx-textbox-text ul, .sx-article ul, .sx-item-text ul, .bio-body ul { margin: 0 0 16px; padding-left: 22px; }
.sx-feature .service-feature-text li, .sx-box li, .sx-box-side li, .sx-textbox-text li, .sx-article li, .sx-item-text li, .bio-body li { font-size: 14px; line-height: 1.65; margin: 0 0 6px; }
.sx-feature .service-feature-text a, .sx-article a, .sx-callout a, .bio-body a, .sx-job-text a { color: var(--brand-blue); font-weight: bold; text-decoration: underline; }
.sx-feature .service-feature-text h2 { margin-bottom: 14px; }

/* icons */
.sx-icon { display: inline-block; width: 1.1em; height: 1em; background-color: currentColor; -webkit-mask: var(--sx-icon) no-repeat center / contain; mask: var(--sx-icon) no-repeat center / contain; vertical-align: -0.12em; }
.sx-icon-img { max-width: 48px; max-height: 48px; }

/* icon columns */
.sx-icons { background: var(--surface-white); padding: 60px 0; }
.sx-icons.is-grey { background: var(--surface-gray); }
.sx-icon-grid { display: grid; gap: 28px; grid-template-columns: repeat(3, 1fr); }
.sx-icon-grid.cols-4 { grid-template-columns: repeat(4, 1fr); }
.sx-icon-grid.cols-1 { grid-template-columns: 1fr; }
.sx-icon-grid.cols-2 { grid-template-columns: repeat(2, 1fr); }
.sx-icon-item { text-align: center; }
.sx-icon-item > .sx-icon { display: block; margin: 0 auto 14px; width: 54px; height: 44px; color: var(--navy); }
.sx-icons.is-cards .sx-icon-item { background: #fff; border: 1px solid var(--brand-blue); border-radius: 8px; padding: 24px 20px; }
.sx-icons.is-cards .sx-item-text h3 { font-family: var(--font-display); font-weight: 400; font-size: 16px; color: var(--navy); }

/* checklist + image */
.sx-check { background: var(--surface-white); padding: 60px 0; }
.sx-check-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.sx-check-text .sx-head, .sx-check-text > h2 { text-align: left; margin: 0; max-width: none; }
.sx-check-text .sx-intro { margin-top: 4px; }
.sx-checklist ul { list-style: none; margin: 14px 0 18px; padding: 0; }
.sx-checklist li { position: relative; padding-left: 34px; margin: 0 0 14px; font-size: 15px; line-height: 1.55; }
.sx-checklist li::before { content: ""; position: absolute; left: 0; top: 1px; width: 20px; height: 20px; background-color: var(--brand-blue); -webkit-mask: url("../img/icons/circle-check.svg") no-repeat center / contain; mask: url("../img/icons/circle-check.svg") no-repeat center / contain; }
.sx-check-image img { border-radius: 6px; width: 100%; height: auto; }

/* steps */
.sx-steps { background: var(--surface-gray); padding: 60px 0; }
.sx-step-grid { display: grid; gap: 28px; grid-template-columns: repeat(3, 1fr); }
.sx-step-grid.cols-2 { grid-template-columns: repeat(2, 1fr); }
.sx-step-grid.cols-4 { grid-template-columns: repeat(4, 1fr); }
.sx-step-grid.cols-5 { grid-template-columns: repeat(5, 1fr); gap: 16px; }
.sx-step { text-align: center; }
.sx-step-num { display: block; margin: 0 auto 12px; width: 30px; height: 40px; color: var(--navy); }
.sx-steps.is-lines .sx-step + .sx-step { border-left: 1px solid #c9c9c9; }
.sx-steps.is-lines .sx-step { padding: 0 24px; }
.sx-steps.is-cards { background: var(--surface-white); }
.sx-steps.is-cards .sx-step { background: #fff; border: 1px solid var(--brand-blue); border-radius: 8px; padding: 24px 16px; }
.sx-steps.is-cards .sx-item-text h3 { font-family: var(--font-display); font-weight: 400; font-size: 16px; color: var(--navy); }
.sx-steps.is-list .sx-step { text-align: left; }
.sx-steps.is-list .sx-step-num { margin-left: 0; }

/* boxes */
.sx-twobox { background: var(--surface-white); padding: 60px 0; }
.sx-twobox-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; }
.sx-box { background: var(--navy); color: #fff; border-radius: 16px; padding: 28px 30px; }
.sx-box h2, .sx-box h3 { color: #fff; font-family: var(--font-display); font-weight: 400; font-size: 24px; margin: 0 0 14px; text-transform: none; }
.sx-box p, .sx-box li { color: #fff; font-size: 15px; line-height: 1.65; }
.sx-box p:last-child, .sx-box ul:last-child { margin-bottom: 0; }
.sx-box-side p { font-size: 15px; line-height: 1.65; margin: 0 0 14px; }
.sx-textbox { background: var(--surface-white); padding: 60px 0; }
.sx-textbox-text { margin: 0 0 30px; }
.sx-textbox-text p { font-size: 15px; line-height: 1.65; margin: 0 0 14px; }
.sx-textbox-text h2 { text-transform: none; }

.sx-columns2 { background: var(--surface-white); padding: 60px 0; }
.sx-columns2-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; }
.sx-columns2 p { font-size: 15px; line-height: 1.65; margin: 0 0 14px; }
.sx-columns2 h2 { text-transform: none; }

.sx-imageband { background: var(--navy); padding: 50px 0; text-align: center; }
.sx-imageband h2 { color: #fff; font-size: 36px; margin-bottom: 26px; }
.sx-imageband-img img { margin: 0 auto; border-radius: 6px; max-width: 640px; width: 100%; height: auto; }

/* jobs, call-outs, article, buttons */
.sx-job { background: var(--surface-white); padding: 44px 0; }
.sx-job.is-alt { background: var(--surface-gray); }
.sx-job-grid { display: grid; grid-template-columns: 1fr 2fr; gap: 56px; align-items: start; }
.sx-job-head .service-feature-btn { margin-top: 12px; }
.sx-job-text p { font-size: 15px; line-height: 1.65; margin: 0 0 14px; }
.sx-callout { background: var(--surface-white); padding: 60px 0; text-align: center; }
.sx-callout h2 { font-size: 32px; color: var(--brand-blue); }
.sx-callout p { font-size: 16px; line-height: 1.65; max-width: 760px; margin: 0 auto 14px; color: var(--text-muted); }
.sx-article { background: var(--surface-white); padding: 50px 0; }
.sx-article .container { max-width: 900px; }
.sx-article p { font-size: 15px; line-height: 1.7; margin: 0 0 16px; }
.sx-buttons { background: var(--surface-gray); padding: 50px 0; text-align: center; }
.sx-button-row { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }
.sx-button-row .service-feature-btn { margin-top: 0; min-width: 180px; text-align: center; }
.sx-embed { background: var(--surface-white); padding: 40px 0; min-height: 80px; }

/* scope of service (PFMO) */
.sx-scope { background: var(--surface-white); padding: 40px 0 50px; }
.sx-scope-bar { background: #fff; border: 3px solid #1d4f8f; border-radius: 12px; margin: 0 auto 24px; padding: 12px 24px; max-width: 900px; text-align: center; font-size: 18px; font-weight: bold; color: #333; }
.sx-scope-bar .label-main { margin-right: 8px; }
.sx-scope-bar .tag { margin: 0 8px; white-space: nowrap; }
.sx-scope-bar .check { color: #00a651; margin-right: 4px; }
.sx-scope-bar .core { color: #0072c6; }
.sx-scope-bar .advanced { color: #f37021; }
.sx-scope-grid { display: flex; flex-wrap: wrap; }
.sx-scope-col { box-sizing: border-box; width: 25%; padding: 16px 18px 24px; border-right: 1px solid #e5e5e5; border-bottom: 1px solid #e5e5e5; }
.sx-scope-col:nth-child(4n) { border-right: 0; }
.sx-scope-col h3 { font-size: 16px; font-weight: 700; color: #1d4f8f; margin: 0 0 10px; }
.sx-scope-col ul { list-style: disc; padding-left: 20px; margin: 0; font-size: 13px; line-height: 1.4; }
.sx-scope-col li { margin-bottom: 4px; }
.sx-scope-col li.core { color: #0072c6; font-weight: bold; }
.sx-scope-col li.advanced { color: #f37021; font-weight: bold; }

/* R.U.D.D.E.R. widget */
.sx-rudder { background: var(--surface-gray); padding: 50px 0; }
.sx-rudder-intro { max-width: 960px; margin: 0 auto 30px; text-align: center; }
.sx-rudder-intro p { font-size: 15px; line-height: 1.7; margin: 0 0 12px; }
.rudder-widget { max-width: 896px; margin: 0 auto; background: #fff; border-radius: 12px; box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25); overflow: hidden; }
.rudder-head { background: var(--brand-blue); color: #fff; text-align: center; padding: 22px 20px; }
.rudder-head h2 { font-family: var(--font-display); font-weight: 400; font-size: 24px; line-height: 1.3; margin: 0 0 6px; color: #fff; text-transform: none; }
.rudder-head p { margin: 0; font-size: 15px; color: #e5e7eb; }
.rudder-body { padding: 24px 28px 28px; }
.rudder-steps { display: flex; align-items: center; justify-content: center; margin-bottom: 22px; }
.rudder-dot { width: 44px; height: 44px; border-radius: 50%; border: 0; background: #4a4a4a; color: #fff; font: 700 17px/1 var(--font-body); cursor: pointer; box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2); transition: transform 0.3s, background-color 0.3s; }
.rudder-dot:hover, .rudder-dot:focus-visible, .rudder-dot.is-active { transform: scale(1.25); background: var(--brand-blue); outline: none; }
.rudder-rope { width: 48px; height: 12px; margin: 0 6px; border-radius: 4px; box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2); background-image: repeating-linear-gradient(45deg, #f5f5dc, #f5f5dc 4px, #c4a385 4px, #c4a385 8px); }
.rudder-panel { border: 1px solid #e5e7eb; border-radius: 12px; padding: 18px 22px; text-align: center; min-height: 230px; }
.rudder-panel h3 { font-family: var(--font-display); font-weight: 400; font-size: 22px; color: var(--brand-blue); margin: 0 0 10px; }
.rudder-panel p { font-size: 15px; line-height: 1.5; color: #929292; margin: 8px 0; }
.rudder-detail { animation: rudder-fade 0.3s ease; }
.rudder-detail[hidden], .rudder-default[hidden] { display: none; }
.rudder-tip { margin-top: 14px; padding: 12px 16px; border-left: 4px solid var(--brand-blue); border-radius: 8px; background: #eff6ff; text-align: center; }
.rudder-tip strong { font-size: 13px; text-transform: uppercase; color: #1e293b; letter-spacing: 0.03em; }
.rudder-tip p { color: #1e293b; margin: 4px 0 0; }
@keyframes rudder-fade { from { opacity: 0; } to { opacity: 1; } }

/* media cards */
.sx-media { background: var(--surface-white); padding: 40px 0 60px; }
.sx-media-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.sx-media-card { display: block; color: inherit; }
.sx-media-card article { height: 100%; background: #fff; border: 1px solid #e3e3e3; border-radius: 6px; padding: 22px 22px 20px; display: flex; flex-direction: column; align-items: flex-start; transition: box-shadow 0.2s; }
.sx-media-card:hover article { box-shadow: 0 6px 18px rgba(0, 0, 0, 0.12); }
.sx-media-date { font-size: 12px; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; margin-bottom: 8px; }
.sx-media-card h3 { font-size: 16px; font-weight: 700; line-height: 1.35; color: var(--navy); margin: 0 0 10px; }
.sx-media-card .outlet { display: inline-block; background: #fa8128; color: #fff; font-family: var(--font-display); font-size: 12px; line-height: 1.4; padding: 2px 8px; border-radius: 4px; margin-bottom: 10px; }
.sx-media-card p { font-size: 14px; line-height: 1.5; margin: 0 0 12px; color: var(--text-dark); }
.sx-media-more { margin-top: auto; border: 2px solid var(--brand-blue); border-radius: 4px; padding: 6px 12px; font-size: 12px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--brand-blue); transition: background 0.2s, color 0.2s; }
.sx-media-card:hover .sx-media-more { background: var(--brand-blue); color: #fff; }

/* glossary table */
.sx-table { background: var(--surface-white); padding: 30px 0 60px; }
.sx-table-search { text-align: right; margin: 0 0 14px; font-size: 14px; }
.sx-table-search input { margin-left: 8px; padding: 8px 10px; width: 260px; max-width: 100%; border: 1px solid #aaa; border-radius: 3px; font: inherit; }
.sx-table table { width: 100%; border-collapse: collapse; font-size: 14px; line-height: 1.5; }
.sx-table th { background: #d9e8f5; text-align: left; padding: 10px 12px; font-weight: 700; position: relative; cursor: pointer; user-select: none; }
.sx-table th::after { content: "\2195"; position: absolute; right: 10px; color: #8aa; font-size: 12px; }
.sx-table th[aria-sort="ascending"]::after { content: "\2191"; color: var(--navy); }
.sx-table th[aria-sort="descending"]::after { content: "\2193"; color: var(--navy); }
.sx-table td { padding: 12px; border-top: 1px solid #e5e5e5; vertical-align: top; }
.sx-table td:first-child { width: 22%; }
.sx-table tr[hidden] { display: none; }

/* team bios */
.bio-profile { background: var(--surface-white); padding: 40px 0 70px; }
.bio-grid { display: grid; grid-template-columns: 320px 1fr; gap: 56px; align-items: start; }
.bio-photo img { width: 100%; border-radius: 6px; height: auto; }
.bio-contact { display: flex; gap: 12px; margin: 18px 0 14px; }
.bio-btn { flex: 1; display: inline-flex; align-items: center; justify-content: center; gap: 8px; background: var(--brand-blue); color: #fff; font-weight: 700; font-size: 14px; text-transform: uppercase; letter-spacing: 0.03em; padding: 12px 14px; border-radius: 3px; }
.bio-btn:hover { background: var(--navy); }
.bio-back { display: inline-flex; align-items: center; gap: 8px; color: var(--navy); font-weight: 700; font-size: 14px; border: 2px solid var(--navy); border-radius: 3px; padding: 9px 16px; }
.bio-back:hover { background: var(--navy); color: #fff; }
.bio-badge { margin-top: 24px; }
.bio-badge img { max-width: 240px; width: 100%; height: auto; }
.bio-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 20px; margin-bottom: 22px; }
.bio-name { font-family: var(--font-body); font-size: 32px; font-weight: 700; line-height: 1.25; color: var(--text-muted); margin: 0; }
.bio-role { margin-top: 8px; font-size: 14px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.04em; color: var(--navy); }
.bio-linkedin { flex: 0 0 auto; width: 36px; height: 36px; background: #0072b1; color: #fff; display: inline-flex; align-items: center; justify-content: center; font-size: 20px; border-radius: 3px; }
.bio-body p { font-size: 15px; line-height: 1.7; margin: 0 0 16px; }
.bio-body blockquote { margin: 0 0 22px; padding: 6px 0 6px 20px; border-left: 4px solid var(--brand-blue); font-size: 17px; font-style: italic; }
.bio-body blockquote p { margin: 0; font-size: 17px; }

@media (max-width: 900px) {
  .sx-icon-grid, .sx-icon-grid.cols-4, .sx-step-grid, .sx-step-grid.cols-4, .sx-step-grid.cols-5 { grid-template-columns: 1fr 1fr; }
  .sx-hero--letters .services-hero-grid { grid-template-columns: 1fr; gap: 24px; }
  .sx-letters { grid-template-columns: 1fr 1fr; }
  .sx-check-grid, .sx-twobox-grid, .sx-columns2-grid, .sx-job-grid, .bio-grid { grid-template-columns: 1fr; gap: 28px; }
  .sx-check-image { order: -1; }
  .sx-scope-col { width: 50%; }
  .sx-scope-col:nth-child(4n) { border-right: 1px solid #e5e5e5; }
  .sx-scope-col:nth-child(2n) { border-right: 0; }
  .sx-media-grid { grid-template-columns: 1fr 1fr; }
  .sx-steps.is-lines .sx-step + .sx-step { border-left: 0; }
  .bio-grid { gap: 24px; }
  .bio-photo { max-width: 320px; }
  .sx-hero-plain h1 { font-size: 32px; }
}
@media (max-width: 600px) {
  .sx-icon-grid, .sx-icon-grid.cols-4, .sx-step-grid, .sx-step-grid.cols-4, .sx-step-grid.cols-5, .sx-media-grid, .sx-letters { grid-template-columns: 1fr; }
  .sx-scope-col { width: 100%; border-right: 0 !important; }
  .rudder-body { padding: 18px 12px 22px; }
  .rudder-rope { width: 18px; margin: 0 3px; }
  .rudder-dot { width: 36px; height: 36px; font-size: 14px; }
  .rudder-head h2 { font-size: 20px; }
  .bio-name { font-size: 26px; }
}
.sx-steps + .sx-rudder, .sx-steps.is-lines + .sx-rudder { background: var(--surface-white); }
.rudder-note { margin: 0; padding: 0 20px 18px; text-align: center; font-size: 12px; font-style: italic; color: #929292; }
.rudder-panel { min-height: 0; }
@media (max-width: 600px) {
  .sx-scope-bar { font-size: 15px; padding: 10px 12px; }
  .sx-scope-bar .tag { margin: 0 4px; }
  .sx-hero-copy p { max-width: none; }
}

/* Plugin teaser that Additional CSS used to hide on the old Pro site. */
section#hfa-teaser { display: none; }
