:root {
  --navy: #082b5d;
  --navy-deep: #041d3f;
  --blue: #173f70;
  --red: #c91f2c;
  --ink: #122238;
  --muted: #637083;
  --line: #dce3eb;
  --soft: #f3f6f9;
  --white: #ffffff;
  --max: 1200px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { background: var(--white); color: var(--ink); font-family: Arial, Helvetica, sans-serif; margin: 0; }
a { color: inherit; }
button, input, textarea { font: inherit; }
img { max-width: 100%; }

.skip-link { background: var(--navy); color: white; left: 1rem; padding: .75rem 1rem; position: fixed; top: -5rem; z-index: 100; }
.skip-link:focus { top: 1rem; }

.site-header { background: rgba(255,255,255,.97); border-bottom: 1px solid var(--line); border-top: 4px solid var(--red); position: sticky; top: 0; z-index: 50; }
.header-inner { align-items: center; display: flex; gap: 2rem; justify-content: space-between; margin: 0 auto; max-width: 1400px; min-height: 96px; padding: .65rem 1.5rem; }
.brand { align-items: center; display: inline-flex; flex: 0 0 auto; }
.brand img { display: block; height: auto; object-fit: contain; object-position: left center; width: clamp(238px, 20vw, 280px); }
.menu-toggle { background: var(--navy); border: 0; border-radius: 8px; color: white; cursor: pointer; display: none; font-weight: 700; min-height: 44px; padding: .7rem .85rem; }
.site-nav { align-items: center; display: flex; gap: 1rem; }
.site-nav a { border-bottom: 2px solid transparent; color: #34445a; font-size: .875rem; font-weight: 700; padding: .65rem 0; text-decoration: none; white-space: nowrap; }
.site-nav a:hover, .site-nav a:focus-visible, .site-nav a.active { border-color: var(--red); color: var(--navy); }

.hero { background: linear-gradient(135deg, #f8fafc 0%, #eef3f8 65%, #e8eef5 100%); overflow: hidden; position: relative; }
.hero::after { background: var(--red); content: ""; height: 4px; left: 0; position: absolute; top: 0; width: 31%; }
.hero-inner { align-items: center; display: grid; gap: 4.5rem; grid-template-columns: 1.08fr .92fr; margin: 0 auto; max-width: var(--max); min-height: 650px; padding: 5.4rem 1.5rem; }
.eyebrow { color: var(--blue); font-size: .75rem; font-weight: 800; letter-spacing: .16em; margin: 0 0 1.1rem; text-transform: uppercase; }
.hero h1, .page-hero h1 { color: var(--navy-deep); font-family: Georgia, 'Times New Roman', serif; font-size: clamp(3.5rem, 6.8vw, 6.25rem); font-weight: 400; letter-spacing: -.055em; line-height: .95; margin: 0; }
.hero h1 span { color: var(--blue); display: block; }
.hero-copy > p:not(.eyebrow) { color: var(--muted); font-size: 1.12rem; line-height: 1.7; margin: 1.7rem 0 0; max-width: 650px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 2rem; }
.button { align-items: center; border: 1px solid var(--navy); border-radius: 7px; display: inline-flex; font-size: .9rem; font-weight: 800; justify-content: center; min-height: 50px; padding: .8rem 1.15rem; text-decoration: none; }
.button.primary { background: var(--navy); color: white; }
.button.primary:hover { background: var(--blue); }
.button.secondary { background: white; color: var(--navy); }
.button.secondary:hover { background: var(--soft); }
.hero-visual { background: var(--navy-deep); border-radius: 24px 24px 110px 24px; box-shadow: 0 30px 75px rgba(3,29,64,.2); min-height: 430px; overflow: hidden; padding: 2.5rem; position: relative; }
.hero-visual::before, .hero-visual::after { border: 1px solid rgba(255,255,255,.18); border-radius: 50%; content: ""; position: absolute; }
.hero-visual::before { height: 410px; right: -190px; top: -105px; width: 410px; }
.hero-visual::after { height: 260px; right: -95px; top: -28px; width: 260px; }
.hero-brand-card { background: white; border-radius: 14px; padding: 2rem; position: relative; z-index: 2; }
.hero-brand-card img { display: block; margin: 0 auto; width: min(100%, 390px); }
.hero-principles { bottom: 2.4rem; color: white; display: grid; gap: .75rem; grid-template-columns: repeat(3, 1fr); left: 2.5rem; position: absolute; right: 2.5rem; z-index: 2; }
.hero-principles div { border-left: 2px solid var(--red); padding-left: .75rem; }
.hero-principles span { color: #aebdd0; display: block; font-size: .72rem; line-height: 1.35; }
.hero-principles strong { display: block; font-size: .85rem; margin-bottom: .25rem; }

.section { margin: 0 auto; max-width: var(--max); padding: 5.5rem 1.5rem; }
.section-heading { align-items: end; display: flex; gap: 2rem; justify-content: space-between; margin-bottom: 2.4rem; }
.section-heading h2 { color: var(--navy-deep); font-family: Georgia, 'Times New Roman', serif; font-size: clamp(2.2rem, 4vw, 3.8rem); font-weight: 400; letter-spacing: -.04em; line-height: 1.05; margin: 0; }
.section-heading p { color: var(--muted); line-height: 1.6; margin: 0; max-width: 480px; }
.service-grid { display: grid; gap: 1px; grid-template-columns: repeat(4, 1fr); background: var(--line); border: 1px solid var(--line); }
.service-card { background: white; display: flex; flex-direction: column; min-height: 300px; padding: 2rem; text-decoration: none; transition: background .2s ease, transform .2s ease; }
.service-card:hover { background: var(--soft); transform: translateY(-3px); }
.service-card small { color: var(--red); font-size: .72rem; font-weight: 800; letter-spacing: .12em; }
.service-card h3 { color: var(--navy); font-family: Georgia, 'Times New Roman', serif; font-size: 1.65rem; font-weight: 400; margin: 3rem 0 .85rem; }
.service-card p { color: var(--muted); font-size: .95rem; line-height: 1.65; margin: 0; }
.service-card b { color: var(--navy); font-size: 1.45rem; margin-top: auto; }
.statement { background: var(--navy); color: white; }
.statement-inner { display: grid; gap: 4rem; grid-template-columns: .75fr 1.25fr; margin: 0 auto; max-width: var(--max); padding: 5.2rem 1.5rem; }
.statement .eyebrow { color: #9fb6d0; }
.statement blockquote { font-family: Georgia, 'Times New Roman', serif; font-size: clamp(2rem, 4vw, 3.6rem); line-height: 1.12; margin: 0; }
.statement blockquote span { color: #9fb6d0; }

.page-hero { background: var(--soft); border-bottom: 1px solid var(--line); }
.page-hero-inner { margin: 0 auto; max-width: var(--max); padding: 5.7rem 1.5rem 4.8rem; }
.page-hero h1 { font-size: clamp(3.4rem, 6vw, 5.8rem); max-width: 950px; }
.page-hero .lead { color: var(--muted); font-size: 1.15rem; line-height: 1.7; margin: 1.6rem 0 0; max-width: 760px; }
.content-grid { display: grid; gap: 1.2rem; grid-template-columns: repeat(3, 1fr); }
.content-card { border: 1px solid var(--line); border-radius: 12px; min-height: 240px; padding: 2rem; }
.content-card .number { color: var(--red); font-size: .72rem; font-weight: 800; letter-spacing: .1em; }
.content-card h2, .content-card h3 { color: var(--navy); font-family: Georgia, 'Times New Roman', serif; font-size: 1.65rem; font-weight: 400; margin: 2.2rem 0 .8rem; }
.content-card p { color: var(--muted); line-height: 1.65; margin: 0; }
.placeholder-band { background: #eef3f8; border-left: 4px solid var(--red); display: grid; gap: 2rem; grid-template-columns: 1fr 2fr; margin-top: 2rem; padding: 2rem; }
.placeholder-band strong { color: var(--navy); }
.placeholder-band p { color: var(--muted); line-height: 1.65; margin: 0; }
.capability-grid, .training-grid { display: grid; gap: 1.2rem; grid-template-columns: repeat(4, 1fr); }
.training-grid { grid-template-columns: repeat(3, 1fr); }
.section-tight { padding-top: 0; }
.feature-band { background: var(--soft); border-left: 5px solid var(--red); display: grid; gap: 3.5rem; grid-template-columns: .9fr 1.1fr; padding: 3rem; }
.feature-band h2, .narrative h2 { color: var(--navy-deep); font-family: Georgia, 'Times New Roman', serif; font-size: clamp(2.2rem, 4vw, 3.7rem); font-weight: 400; letter-spacing: -.035em; line-height: 1.08; margin: 0; }
.feature-band p, .narrative > p:not(.eyebrow) { color: var(--muted); font-size: 1.05rem; line-height: 1.75; margin: 0 0 1.25rem; }
.check-list { color: var(--ink); display: grid; gap: .75rem; line-height: 1.55; margin: 1.5rem 0 0; padding-left: 1.25rem; }
.check-list li::marker { color: var(--red); }
.text-link { color: var(--navy); display: inline-block; font-weight: 800; margin-top: .6rem; text-underline-offset: .25em; }
.process-list { display: grid; gap: 0; list-style: none; margin: 0; padding: 0; }
.process-list li { border-top: 1px solid var(--line); display: grid; gap: 2rem; grid-template-columns: 90px 1fr; padding: 1.55rem 0; }
.process-list li:last-child { border-bottom: 1px solid var(--line); }
.process-list span { color: var(--red); font-size: .78rem; font-weight: 800; letter-spacing: .12em; padding-top: .35rem; }
.process-list h3 { color: var(--navy); font-family: Georgia, 'Times New Roman', serif; font-size: 1.55rem; font-weight: 400; margin: 0 0 .45rem; }
.process-list p { color: var(--muted); line-height: 1.65; margin: 0; max-width: 800px; }
.governance-section { background: var(--navy-deep); color: white; }
.section-heading.light h2 { color: white; }
.section-heading.light p { color: #b7c7d9; }
.section-heading.light .eyebrow { color: #9fb6d0; }
.governance-grid { background: rgba(255,255,255,.16); border: 1px solid rgba(255,255,255,.16); display: grid; gap: 1px; grid-template-columns: repeat(2, 1fr); }
.governance-grid article { background: var(--navy-deep); min-height: 190px; padding: 2rem; }
.governance-grid h3 { font-family: Georgia, 'Times New Roman', serif; font-size: 1.55rem; font-weight: 400; margin: 0 0 .7rem; }
.governance-grid p { color: #b7c7d9; line-height: 1.65; margin: 0; }
.narrative { max-width: 920px; }
.narrative h2 { margin-bottom: 1.8rem; }
.value-row { display: grid; gap: 1.2rem; grid-template-columns: repeat(3, 1fr); margin-top: 3.5rem; }
.value-row article { border-top: 4px solid var(--red); padding: 1.5rem 0; }
.value-row span { color: var(--muted); font-size: .78rem; font-weight: 800; }
.value-row h3 { color: var(--navy); font-family: Georgia, 'Times New Roman', serif; font-size: 1.5rem; font-weight: 400; margin: 1rem 0 .6rem; }
.value-row p { color: var(--muted); line-height: 1.6; margin: 0; }
.leadership-section { background: var(--soft); border-top: 1px solid var(--line); }
.bio-grid { display: grid; gap: 1.2rem; grid-template-columns: repeat(3, 1fr); }
.bio-card { background: white; border: 1px solid var(--line); padding: 1.5rem; }
.bio-photo { aspect-ratio: 4 / 5; background: #b7b7b7; display: block; height: auto; margin-bottom: 1.6rem; object-fit: cover; object-position: center top; width: 100%; }
.bio-label { color: var(--red) !important; font-size: .72rem !important; font-weight: 800; letter-spacing: .12em; margin: 0 0 .8rem !important; text-transform: uppercase; }
.bio-card h3 { color: var(--navy); font-family: Georgia, 'Times New Roman', serif; font-size: 1.8rem; font-weight: 400; margin: 0; }
.bio-role { color: var(--blue) !important; font-size: .9rem !important; font-weight: 800; margin: .5rem 0 1.1rem !important; }
.bio-card p { color: var(--muted); line-height: 1.65; margin: 0; }
.bio-card--linked { display: flex; flex-direction: column; }
.bio-card--linked > div:last-child { display: flex; flex: 1; flex-direction: column; }
.bio-card--linked .text-link { margin-top: auto; padding-top: 1.25rem; }

.team-section { border-top: 0; }
.team-section > .section { padding-top: 2rem; padding-bottom: 3rem; }
.team-heading { align-items: end; display: flex; gap: 1.5rem; justify-content: space-between; margin-bottom: 1.5rem; }
.team-heading h1 { color: var(--navy-deep); font-family: Georgia, 'Times New Roman', serif; font-size: clamp(2.25rem, 4vw, 3.5rem); font-weight: 400; letter-spacing: -.04em; line-height: 1.1; margin: 0; }
.team-heading p { color: var(--muted); line-height: 1.5; margin: 0; max-width: 26rem; }
.team-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.team-grid .bio-card { display: flex; flex-direction: column; padding: 1.25rem; }
.team-grid .bio-photo { margin: 0 auto 1rem; width: min(100%, 11rem); }
.team-grid .bio-card > div { display: flex; flex: 1; flex-direction: column; min-width: 0; }
.team-grid h2 { color: var(--navy); font-family: Georgia, 'Times New Roman', serif; font-size: clamp(1.4rem, 2.2vw, 1.8rem); font-weight: 400; line-height: 1.2; margin: 0; }
.team-grid .bio-role { margin: .4rem 0 .75rem !important; }
.team-grid .bio-card p { line-height: 1.5; }
.team-grid .text-link { line-height: 1.4; margin-top: auto; padding-top: 1rem; }

.profile-hero .page-hero-inner { align-items: end; display: grid; gap: 4rem; grid-template-columns: minmax(0, 1fr) 280px; }
.profile-back { color: var(--blue); display: inline-block; font-size: .88rem; font-weight: 800; margin-bottom: 2.4rem; text-decoration-thickness: 1px; text-underline-offset: .3em; }
.profile-title { color: var(--blue); font-size: 1.2rem; font-weight: 800; margin: 1.35rem 0 0; }
.profile-photo { aspect-ratio: 4 / 5; background: #b7b7b7; display: block; height: auto; object-fit: cover; object-position: center top; width: 100%; }
.profile-layout { align-items: start; display: grid; gap: 4.5rem; grid-template-columns: .68fr 1.32fr; }
.profile-sidebar { background: var(--soft); border-top: 4px solid var(--red); padding: 2rem; }
.profile-sidebar h2 { color: var(--navy-deep); font-family: Georgia, 'Times New Roman', serif; font-size: 1.8rem; font-weight: 400; margin: 0 0 1.5rem; }
.profile-detail { border-top: 1px solid var(--line); padding: 1.35rem 0; }
.profile-detail > span { color: var(--red); display: block; font-size: .72rem; font-weight: 800; letter-spacing: .12em; margin-bottom: .6rem; text-transform: uppercase; }
.profile-detail strong { color: var(--navy); line-height: 1.5; }
.profile-expertise { color: var(--ink); display: grid; gap: .7rem; line-height: 1.5; list-style: none; margin: 0; padding: 0; }
.profile-expertise li { border-left: 2px solid var(--red); padding-left: .8rem; }
.profile-biography .eyebrow { margin-bottom: .9rem; }
.profile-biography h2 { color: var(--navy-deep); font-family: Georgia, 'Times New Roman', serif; font-size: clamp(2.3rem, 4vw, 3.8rem); font-weight: 400; letter-spacing: -.04em; line-height: 1.08; margin: 0 0 2rem; }
.profile-biography p { color: var(--muted); font-size: 1.05rem; line-height: 1.8; margin: 0 0 1.35rem; }
.profile-biography .text-link { margin-top: 1rem; }

.contact-layout { display: grid; gap: 3rem; grid-template-columns: .8fr 1.2fr; }
.contact-copy h2 { color: var(--navy-deep); font-family: Georgia, 'Times New Roman', serif; font-size: 2.6rem; font-weight: 400; margin: 0 0 1rem; }
.contact-copy p { color: var(--muted); line-height: 1.65; }
.contact-list { border-top: 1px solid var(--line); margin-top: 2rem; }
.contact-list div { border-bottom: 1px solid var(--line); padding: 1.2rem 0; }
.contact-list span { color: var(--muted); display: block; font-size: .8rem; margin-bottom: .35rem; }
.contact-list strong { color: var(--navy); }
.contact-list a { overflow-wrap: anywhere; text-underline-offset: .2em; }
.contact-form { background: var(--soft); border-radius: 14px; display: grid; gap: 1rem; padding: 2rem; }
.contact-form label { color: var(--navy); display: grid; font-size: .88rem; font-weight: 700; gap: .45rem; }
.contact-form input, .contact-form textarea { background: white; border: 1px solid #cbd5e1; border-radius: 7px; color: var(--ink); min-height: 48px; padding: .75rem; width: 100%; }
.contact-form textarea { min-height: 140px; resize: vertical; }
.form-note { color: var(--muted); font-size: .82rem; line-height: 1.5; margin: 0; }
.form-message { background: #e6f2ea; border-radius: 7px; color: #205d36; display: none; padding: .8rem; }
.form-message.visible { display: block; }

.site-footer { background: var(--navy-deep); color: white; }
.footer-inner { display: grid; gap: 3rem; grid-template-columns: 1fr 2fr; margin: 0 auto; max-width: var(--max); padding: 3.5rem 1.5rem; }
.footer-brand img { background: white; border-radius: 8px; padding: .6rem; width: min(100%, 270px); }
.footer-brand p { color: #aebdd0; font-size: .85rem; line-height: 1.55; max-width: 300px; }
.footer-nav { display: grid; gap: .75rem 1.5rem; grid-template-columns: repeat(3, 1fr); }
.footer-nav a { color: #dfe7f0; font-size: .86rem; text-decoration: none; }
.footer-nav a:hover { color: white; text-decoration: underline; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.13); color: #8fa3ba; font-size: .78rem; margin: 0 auto; max-width: var(--max); padding: 1.2rem 1.5rem 2rem; }

@media (max-width: 1050px) {
  .header-inner { min-height: 82px; }
  .brand img { height: auto; width: min(230px, 58vw); }
  .menu-toggle { display: inline-flex; }
  .site-nav { align-items: stretch; background: white; border-bottom: 1px solid var(--line); box-shadow: 0 18px 30px rgba(3,29,64,.1); display: none; flex-direction: column; gap: 0; left: 0; padding: .8rem 1.5rem 1.2rem; position: absolute; right: 0; top: 86px; }
  .site-nav.open { display: flex; }
  .site-nav a { padding: .8rem 0; }
  .hero-inner { gap: 2.5rem; grid-template-columns: 1fr; }
  .hero-visual { min-height: 400px; }
  .service-grid { grid-template-columns: repeat(2, 1fr); }
  .capability-grid, .bio-grid { grid-template-columns: repeat(2, 1fr); }
  .team-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .training-grid { grid-template-columns: repeat(2, 1fr); }
  .profile-layout { gap: 3rem; grid-template-columns: .85fr 1.15fr; }
}

@media (max-width: 720px) {
  .hero-inner { min-height: auto; padding-bottom: 3rem; padding-top: 3.4rem; }
  .hero h1, .page-hero h1 { font-size: clamp(3rem, 14vw, 4.5rem); }
  .hero-visual { border-radius: 18px 18px 70px 18px; min-height: 385px; padding: 1.25rem; }
  .hero-brand-card { padding: 1.35rem; }
  .hero-principles { bottom: 1.8rem; grid-template-columns: 1fr; left: 1.5rem; right: 1.5rem; }
  .hero-principles div { display: grid; gap: .5rem; grid-template-columns: 120px 1fr; }
  .section { padding-bottom: 4rem; padding-top: 4rem; }
  .section-heading { align-items: start; flex-direction: column; }
  .service-grid, .content-grid, .statement-inner, .contact-layout, .footer-inner { grid-template-columns: 1fr; }
  .capability-grid, .training-grid, .feature-band, .governance-grid, .value-row, .bio-grid { grid-template-columns: 1fr; }
  .team-section > .section { padding-top: 1.5rem; padding-bottom: 2rem; }
  .team-heading { align-items: start; flex-direction: column; gap: .6rem; margin-bottom: 1.25rem; }
  .team-grid { gap: 1rem; }
  .team-grid .bio-card { align-items: start; display: grid; gap: 1rem; grid-template-columns: 5.5rem minmax(0, 1fr); padding: 1rem; }
  .team-grid .bio-photo { margin: 0; width: 100%; }
  .team-grid h2 { font-size: 1.4rem; }
  .feature-band { gap: 2rem; padding: 2rem; }
  .process-list li { gap: 1rem; grid-template-columns: 52px 1fr; }
  .service-card { min-height: 245px; }
  .placeholder-band { grid-template-columns: 1fr; }
  .profile-hero .page-hero-inner, .profile-layout { grid-template-columns: 1fr; }
  .profile-hero .page-hero-inner { gap: 2.5rem; }
  .profile-photo { max-width: 220px; }
  .footer-nav { grid-template-columns: repeat(2, 1fr); }
}

@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto !important; transition: none !important; }
}

/* Industry-specific support on What We Do. */
.industries-hero .page-hero-inner { padding-top: 3.25rem; padding-bottom: 2.75rem; }
.industries-hero h1 { font-size: clamp(2.5rem, 4.5vw, 4.5rem); letter-spacing: -.035em; line-height: 1.06; max-width: 900px; }
.industries-hero .lead { max-width: 830px; }
.industry-partner-note { border-left: 3px solid var(--red); color: var(--ink); font-size: 1rem; line-height: 1.65; margin: 1.5rem 0 0; max-width: 830px; padding-left: 1rem; }
.industry-navigation { display: flex; flex-wrap: wrap; gap: .65rem; margin-top: 1.75rem; }
.industry-navigation a { align-items: center; background: white; border: 1px solid #c4cfdd; border-radius: 6px; color: var(--navy); display: inline-flex; font-size: .9375rem; font-weight: 700; line-height: 1.4; min-height: 44px; padding: .65rem .9rem; text-decoration: none; }
.industry-navigation a:hover { background: var(--navy); border-color: var(--navy); color: white; }
.industry-navigation a:focus-visible { outline: 3px solid var(--red); outline-offset: 3px; }
.industry-sections { padding-top: 1rem; padding-bottom: 3rem; }
.industry-row { display: grid; gap: 4rem; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); padding: 2.75rem 0; }
.industry-row + .industry-row { border-top: 1px solid var(--line); }
.industry-row, .industry-working-details > div { scroll-margin-top: 8rem; }
.industry-copy h2 { color: var(--navy-deep); font-family: Georgia, 'Times New Roman', serif; font-size: clamp(1.9rem, 3vw, 2.6rem); font-weight: 400; line-height: 1.15; margin: 0 0 1rem; }
.industry-copy p { color: var(--muted); font-size: 1rem; line-height: 1.75; margin: 0; }
.industry-services { border-left: 3px solid var(--red); padding-left: 1.5rem; }
.industry-services h3, .industry-working-details h3 { color: var(--navy); font-size: 1.0625rem; line-height: 1.4; margin: 0 0 1rem; }
.industry-services ul { display: grid; font-size: 1rem; gap: .7rem; line-height: 1.6; margin: 0; padding-left: 1.2rem; }
.industry-services li::marker { color: var(--red); }
.industry-working { padding-top: 0; }
.industry-working .feature-band h2 { font-size: clamp(2rem, 3.5vw, 3rem); margin-bottom: 1.25rem; }
.industry-working .feature-band p { font-size: 1rem; margin-bottom: 0; }
.industry-working-details { display: grid; gap: 1.5rem; }
.industry-working-details h3 { margin-bottom: .5rem; }
@media (max-width: 720px) {
  .industries-hero .page-hero-inner { padding-top: 2.5rem; padding-bottom: 2rem; }
  .industries-hero h1 { font-size: clamp(2.25rem, 9vw, 3.5rem); }
  .industry-sections { padding-top: 0; padding-bottom: 2rem; }
  .industry-row { gap: 1.5rem; grid-template-columns: minmax(0, 1fr); padding: 2.25rem 0; }
  .industry-services { padding-left: 1rem; }
  .industry-working { padding-top: 0; }
}

/* Case study overview and category filters. */
.case-studies-hero .page-hero-inner { padding-top: 1.5rem; padding-bottom: 1.5rem; }
.case-studies-hero h1 { font-size: clamp(2.25rem, 4vw, 3rem); }
.case-studies-section { padding-top: 1.25rem; padding-bottom: 3rem; }
.case-study-filters { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1.25rem; }
.case-study-filter { background: var(--white); border: 1px solid #c4cfdd; border-radius: 6px; color: var(--navy); cursor: pointer; font-size: .875rem; font-weight: 700; line-height: 1.4; min-height: 44px; padding: .6rem .9rem; }
.case-study-filter:hover { background: #e8eef5; border-color: var(--navy); }
.case-study-filter[aria-pressed="true"] { background: var(--navy); border-color: var(--navy); box-shadow: inset 0 -3px 0 var(--red); color: var(--white); }
.case-study-filter:focus-visible, .case-study-tile-link:focus-visible { outline: 3px solid var(--red); outline-offset: 4px; }
.case-study-count { color: var(--muted); font-size: .875rem; line-height: 1.4; margin: 0 0 .9rem; }
.case-study-grid { display: grid; gap: 1.25rem; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.case-study-tile { min-width: 0; }
.case-study-tile-link { background: white; border: 1px solid var(--line); border-radius: 10px; color: var(--ink); display: flex; flex-direction: column; height: 100%; overflow: hidden; text-decoration: none; transition: border-color .15s ease, box-shadow .15s ease; }
.case-study-tile-link:hover { border-color: var(--navy); box-shadow: 0 5px 18px rgba(4,29,63,.1); }
.case-study-thumbnail { background: var(--soft); display: block; height: 7rem; object-fit: cover; object-position: center; width: 100%; }
.case-study-tile-body { display: flex; flex: 1; flex-direction: column; padding: 1rem; }
.case-study-tags { color: var(--blue); display: flex; flex-wrap: wrap; gap: .35rem .75rem; font-size: .875rem; font-weight: 700; line-height: 1.4; margin-bottom: .6rem; }
.case-study-tile h2 { color: var(--navy-deep); font-family: Georgia, 'Times New Roman', serif; font-size: 1.2rem; font-weight: 400; line-height: 1.25; margin: 0 0 1rem; overflow-wrap: break-word; }
.case-study-tile-footer { align-items: baseline; border-top: 1px solid var(--line); color: var(--navy); display: flex; flex-wrap: wrap; font-size: .875rem; font-weight: 700; gap: .5rem; justify-content: space-between; line-height: 1.4; margin-top: auto; padding-top: .75rem; }
.case-study-format { color: var(--muted); font-size: .8125rem; font-weight: 400; }
.case-study-tile[hidden], .case-study-empty[hidden] { display: none; }
.case-study-empty { border: 1px solid var(--line); border-radius: 10px; padding: 1.5rem; }
.case-study-empty h2 { color: var(--navy-deep); font-family: Georgia, 'Times New Roman', serif; font-size: 1.5rem; font-weight: 400; margin: 0 0 .75rem; }
.case-study-empty p { color: var(--muted); font-size: 1rem; line-height: 1.6; margin: 0; }
@media (max-width: 960px) {
  .case-study-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 560px) {
  .case-study-grid { grid-template-columns: 1fr; gap: 1rem; }
  .case-study-thumbnail { height: 8rem; }
}
/* Expanded primary navigation. */
@media (max-width: 1440px) {
  .header-inner { min-height: 82px; }
  .brand img { height: auto; width: min(230px, 58vw); }
  .menu-toggle { display: inline-flex; }
  .site-nav { align-items: stretch; background: white; border-bottom: 1px solid var(--line); box-shadow: 0 18px 30px rgba(3,29,64,.1); display: none; flex-direction: column; gap: 0; left: 0; padding: .8rem 1.5rem 1.2rem; position: absolute; right: 0; top: 100%; max-height: calc(100dvh - 86px); overflow-y: auto; }
  .site-nav.open { display: flex; }
  .site-nav a { padding: .8rem 0; }
}

/* Microsoft-protected staff files. */
.site-nav a.staff-login { background: var(--navy); border: 2px solid var(--navy); border-radius: 6px; color: white; min-height: 44px; padding: .65rem .9rem; }
.site-nav a.staff-login:hover { background: var(--blue); border-color: var(--blue); color: white; }
.site-nav a.staff-login:focus-visible { outline: 3px solid var(--red); outline-offset: 3px; }
@media (max-width: 1440px) { .site-nav a.staff-login { margin-top: .5rem; text-align: center; } }

/* Medical Insights publications */
.medical-insight-publications { padding-bottom: 0; }
.medical-insight-publications > h2 { color: var(--navy); font-family: Georgia, 'Times New Roman', serif; font-size: 2rem; font-weight: 400; margin: 0 0 1.5rem; }
.medical-insight-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.medical-insight-thumbnail { background: var(--navy); display: block; aspect-ratio: 510 / 286; height: auto; width: 100%; }
.medical-insight-grid h3 { color: var(--navy-deep); font-family: Georgia, 'Times New Roman', serif; font-size: 1.5rem; font-weight: 400; line-height: 1.3; margin: 0 0 .75rem; }
.medical-insight-grid p { color: var(--muted); font-size: 1rem; line-height: 1.6; margin: 0 0 1.25rem; }
.medical-insight-grid .medical-insight-author { color: var(--navy); font-size: .9375rem; font-weight: 600; margin: 0 0 .65rem; }
@media (max-width: 680px) { .medical-insight-grid { grid-template-columns: 1fr; } }
