/* Ford Webb Associates — shared color and readability system */
:root {
  --site-navy: #26344d;
  --site-panel: #34415b;
  --site-white: #ffffff;
  --site-gold: #e7c979;
  --site-teal: #9edbd8;
  --site-accent: #d4614a;
}
html { scroll-padding-top: 8rem; }
body {
  background: var(--site-navy) !important;
  color: var(--site-white) !important;
  font-size: 1.125rem;
  line-height: 1.75;
  padding-top: 0 !important;
  overflow-x: clip;
}
/* The site menu occupies its actual height, so wrapped links never cover content. */
body > nav {
  position: sticky !important;
  top: 0; left: auto; right: auto;
  z-index: 100;
  background: var(--site-navy) !important;
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: 1rem;
  padding: 0.65rem clamp(1rem, 2vw, 2.5rem);
}
body > nav .nav-links {
  flex: 1 1 auto;
  min-width: 0;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: .55rem 1rem;
  padding-top: 0;
}
body > nav .nav-links a {
  color: var(--site-white) !important;
  font-size: .9375rem !important;
  letter-spacing: .04em !important;
  line-height: 1.45;
  text-decoration: none;
}
body > nav .nav-links a:hover,
body > nav .nav-links a:focus-visible,
body > nav .nav-links a.active {
  color: var(--site-gold) !important;
}
@media (max-width: 1100px) {
  body > nav { flex-wrap: wrap; justify-content: space-between; }
  body > nav .nav-hamburger { display: flex; }
  body > nav .nav-logo img { height: 60px; width: auto; }
  body > nav .nav-links {
    display: none;
    flex: 0 0 100%; flex-direction: column; align-items: stretch;
    gap: 0; margin-top: 0; padding: .5rem 0;
    max-height: calc(100dvh - 100px); overflow-y: auto;
    border-top: 1px solid rgba(255,255,255,.2);
  }
  body > nav .nav-links.open { display: flex; }
  body > nav .nav-links a { padding: .65rem .25rem; }
}
/* Headings: white page titles, gold major sections, teal subheadings. */
body h1, body .inner-hero h1, body .hero-title,
body #page-casestudies h1, body #page-expertise h1,
body #page-ted h1, body #page-jean h1 { color: var(--site-white) !important; }
body h2, body .section-title,
body #page-casestudies h2.section-title,
body #page-expertise h2, body #page-services h2,
body #page-casestudies .insights-category > .section-title,
body .insight-article-body h2, body .practice-wrap h2,
body .section-title[style*="color:"] {
  color: var(--site-gold) !important;
  opacity: 1 !important;
}
body h3, body .sector-item h4, body .exp-block h3,
body #page-expertise h3, body #page-services h3,
body #page-casestudies article h3, body #page-casestudies .related-essay-band h3 {
  color: var(--site-teal) !important;
  opacity: 1 !important;
}
body .who-title, body .clients-sector-title { color: var(--site-gold) !important; }
body .section-label, body .eyebrow, body .hero-eyebrow,
body .hero-right-label, body .ted-title-label, body .ted-detail-label,
body .partner-role-tag, body .srv-right-label, body .srv-tag,
body .testi-source, body .placement-role, body .footer-col h4,
body .related-essay-band .kicker, body .insight-callout .label,
body #page-casestudies .section-label, body #page-casestudies .eyebrow {
  color: var(--site-teal) !important;
  font-size: .9375rem !important;
  font-weight: 600 !important;
  letter-spacing: .075em !important;
  opacity: 1 !important;
}
/* Readable paragraphs and lists. Avoid shrinking long text on phones. */
body .section p, body .section li, body .inner-hero .sub,
body .hero-sub, body .hero-who-paras p, body .who-text p,
body .ted-content p, body .ted-content li,
body .partner-right p, body .partner-cred-item, body .srv-body p,
body .srv-left p, body .sa-content p, body .sa-content li,
body .practice-wrap p, body .practice-wrap li, body .clients-col-list,
body .clients-intro p, body .clients-sector p, body .reviews-intro p,
body .board-resource-intro p, body #page-casestudies .board-resource-intro p,
body #page-casestudies article p {
  color: var(--site-white) !important;
  font-size: 1.125rem !important;
  line-height: 1.8;
  opacity: 1 !important;
}
body .section .section-sub { max-width: 900px; }
body .inner-hero .sub { max-width: 900px; }
body .inner-hero, body .section { overflow-wrap: break-word; }
/* Maintain support for dark cards, but unify previously mixed light/dark panels. */
body .fwa-light-card, body .fwa-featured-card, body .related-essay-band,
body .insight-callout, body .selected-experience-panel, body .cap-card,
body .exp-block, body .sector-item, body .review-card, body .number-card,
body #page-casestudies article, body #page-casestudies .related-essay-band,
body .insight-article-body, body .essay-cta, body .practice-cta {
  background: var(--site-panel) !important;
  color: var(--site-white) !important;
  border-color: rgba(158,219,216,.35) !important;
}
body .insight-article-body { border-left-color: var(--site-gold) !important; }
body .essay-divider { background: var(--site-gold) !important; }
body .insight-article-body p, body .insight-article-body li,
body .insight-article-body td, body .insight-article-body th,
body .essay-cta p, body .related-essay-band p, body .insight-callout p,
body .cap-card p, body .exp-block p, body .sector-item p,
body .review-card p, body .number-card p, body .selected-experience-panel li,
body .fwa-featured-card p, body #page-casestudies .related-essay-band p {
  color: var(--site-white) !important;
  font-size: 1.125rem !important;
  line-height: 1.8;
  opacity: 1 !important;
}
body .insight-article-body p, body .insight-article-body li {
  font-size: 1.1875rem !important;
  line-height: 1.85;
}
body .insight-article-body strong { color: var(--site-white) !important; }
body .insight-article-body a, body .essay-back, body .essay-meta,
body #page-insight-article .essay-back, body #page-insight-article .essay-meta,
body .related-essay-band a, body .insight-callout a,
body .practice-wrap a, body .practice-back, body .practice-card-link,
body .sa-content a, body .insights-read, body #page-casestudies article a {
  color: var(--site-teal) !important;
  text-decoration: underline !important;
  text-underline-offset: .18em;
  font-weight: 600 !important;
}
body .essay-back, body .essay-meta, body .essay-author-bio,
body .insights-read, body .practice-back, body .related-essay-band a,
body .insight-callout a, body .practice-card-link {
  font-size: 1rem !important;
  letter-spacing: .04em !important;
  line-height: 1.6;
}
/* Topic links are ordinary in-page navigation, never another fixed header. */
body #page-casestudies .insights-topics-nav {
  position: static !important;
  inset: auto; z-index: auto;
  display: block; background: transparent !important; border: 0 !important;
}
body #page-casestudies .insights-topics-links { gap: .75rem; }
body #page-casestudies .insights-topics-links a {
  color: var(--site-gold) !important;
  font-size: 1.0625rem !important;
  line-height: 1.45;
  letter-spacing: 0;
  font-weight: 600 !important;
  padding: .8rem 1rem;
  border-color: rgba(231,201,121,.65);
}
body #page-casestudies .insights-topics-links a:hover,
body #page-casestudies .insights-topics-links a:focus-visible {
  color: var(--site-white) !important; text-decoration: underline;
}
body #page-casestudies article h3 a {
  color: var(--site-teal) !important;
  text-decoration: none !important;
}
body #page-casestudies article h3 a:hover { text-decoration: underline !important; }
body #page-casestudies .insights-category { scroll-margin-top: 1rem; }
/* Credentials, client lists, quote attribution and secondary navigation. */
body .client-name, body .testi-attr, body .review-attribution,
body .review-subnote, body .footer-brand p, body .footer-col a {
  font-size: 1rem !important;
  line-height: 1.6;
}
body .review-attribution, body .client-role, body .stat-label {
  color: var(--site-teal) !important;
  font-size: .9375rem !important;
  letter-spacing: .05em !important;
}
body .review-subnote, body .testi-attr, body .footer-brand p,
body .footer-col a, body .footer-bottom p { color: var(--site-white) !important; }
body .footer-bottom p, body .footer-brand .est { font-size: .9375rem !important; }
body .footer-col a { text-decoration: underline; text-underline-offset: .18em; }
body #page-ted section > div p, body #page-jean section > div p {
  color: var(--site-white) !important;
}
body #page-ted h2, body #page-jean h2 {
  color: var(--site-gold) !important;
  font-size: 1.125rem !important;
  letter-spacing: .075em !important;
}
body #page-ted div[style*="color:#4aab9a"],
body #page-jean div[style*="color:#4aab9a"],
body #page-partners div[style*="text-transform:uppercase"] {
  color: var(--site-teal) !important;
}
body #page-partners div[style*="font-size:0.8rem"],
body #page-partners div[style*="font-size:0.9rem"],
body #page-ted div[style*="text-transform:uppercase"],
body #page-jean div[style*="text-transform:uppercase"] {
  font-size: .9375rem !important;
  letter-spacing: .075em !important;
}
body .reviews-grid div[style*="text-transform:uppercase"],
body div[style*="font-size:0.9rem"][style*="letter-spacing:0.13em"],
body div[style*="font-size:0.95rem"][style*="letter-spacing:0.13em"] {
  color: var(--site-teal) !important;
  font-size: 1rem !important;
  letter-spacing: .05em !important;
}
body .hero-title em { color: var(--site-gold) !important; }
body .section-label, body .eyebrow { font-size: .9375rem !important; }
body .section p.section-label, body .section p.eyebrow {
  color: var(--site-teal) !important; font-size: .9375rem !important;
}
body #page-home h2, body #page-casestudies h2,
body #page-insight-article .insight-article-body h2 {
  color: var(--site-gold) !important;
}
body #page-home h3, body #page-home h3:has(a[href*="ted"]),
body #page-home h3:has(a[href*="jean"]), body #page-casestudies h3 {
  color: var(--site-teal) !important;
}
/* Deliberate gold call-to-action exception: dark ink maintains contrast. */
body .cta-section {
  background: var(--site-gold) !important;
  color: var(--site-navy) !important;
}
body .cta-section h2, body .cta-section p, body .cta-section a:not(.btn-dark),
body #page-home .cta-section h2, body .cta-section#cta-anchor h2 {
  color: var(--site-navy) !important;
}
body .cta-section p { font-size: 1.125rem !important; line-height: 1.65; }
body .cta-section .btn-dark, body .essay-cta a {
  color: var(--site-white) !important;
  background: var(--site-navy) !important;
  font-size: 1rem !important;
  letter-spacing: .05em;
}
body .essay-cta a { border-color: var(--site-teal); }
body #page-home .cta-section a, body #page-home .cta-section a span {
  background: var(--site-navy) !important;
  color: var(--site-white) !important;
  font-size: 1rem !important;
  letter-spacing: .05em !important;
}
/* A light-background form remains the explicit contrast exception. */
body input, body textarea, body select { font-size: 1rem !important; }
body a:focus-visible, body button:focus-visible {
  outline: 3px solid var(--site-teal); outline-offset: 4px;
}
@media (max-width: 740px) {
  html { scroll-padding-top: 6rem; }
  body .inner-hero { padding-left: 1.25rem !important; padding-right: 1.25rem !important; }
  body .insight-article-body { padding-left: 1.25rem !important; padding-right: 1.25rem !important; }
  body .section p, body .section li, body .inner-hero .sub,
  body .insight-article-body p, body .insight-article-body li {
    font-size: 1.125rem !important;
  }
  body .insights-topics-links a { max-width: 100%; }
  body #page-casestudies .insights-essay-card { padding: 1.4rem; }
}
