/* ================================================================
   USHSG - Home Page Styles v5
   Depends on shared.css. Deep navy hero, no photos.
   ================================================================ */

/* ── Hero ────────────────────────────────────────────────────── */
.hero {
  position: relative;
  background: var(--ink);
  padding: 112px 0 96px;
  overflow: hidden;
  min-height: 90vh;
  display: flex; align-items: center;
}

/* Animated grid background */
.hero-bg { position: absolute; inset: 0; pointer-events: none; }
.hero-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.018) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.018) 1px, transparent 1px);
  background-size: 72px 72px;
  animation: gridDrift 40s linear infinite;
}
@keyframes gridDrift {
  0%   { transform: translate(0,0); }
  100% { transform: translate(72px, 72px); }
}

/* Radial glows - steel blue, no teal/green */
.hero-glow {
  position: absolute; border-radius: 50%;
  pointer-events: none; will-change: transform, opacity;
}
.hero-glow-1 {
  width: 700px; height: 700px;
  top: -160px; right: -120px;
  background: radial-gradient(circle, rgba(30,95,168,.14), transparent 70%);
  animation: glow1 20s ease-in-out infinite;
}
.hero-glow-2 {
  width: 480px; height: 480px;
  bottom: -80px; left: 4%;
  background: radial-gradient(circle, rgba(201,97,10,.07), transparent 70%);
  animation: glow2 26s ease-in-out infinite;
}
@keyframes glow1 {
  0%,100% { transform: translate(0,0) scale(1); opacity: 1; }
  50%      { transform: translate(-20px, 16px) scale(1.04); opacity: .75; }
}
@keyframes glow2 {
  0%,100% { transform: translate(0,0) scale(1); opacity: .8; }
  50%      { transform: translate(14px,-10px) scale(1.05); opacity: 1; }
}

.hero-inner {
  position: relative; z-index: 1;
  display: grid;
  grid-template-columns: 1fr 440px;
  gap: 72px;
  align-items: center;
}

/* Badge */
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  margin-bottom: 28px;
  padding: 5px 13px;
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 20px;
  color: rgba(255,255,255,.52);
  font-family: var(--font-display);
  font-size: .68rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
}
.hero-badge-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 6px var(--gold);
  animation: dotPulse 2.6s ease-in-out infinite;
}
@keyframes dotPulse {
  0%,100% { opacity: 1; transform: scale(1); }
  50%      { opacity: .6; transform: scale(.8); }
}

/* Headline */
.hero-copy h1 {
  margin: 0;
  color: var(--white);
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5vw, 4.2rem);
  font-weight: 800; line-height: 1.02; letter-spacing: -.02em;
}
.hero-sub {
  margin: 28px 0 0;
  color: rgba(255,255,255,.58);
  font-size: clamp(.95rem, 1.3vw, 1.06rem);
  line-height: 1.78; max-width: 520px;
}

/* CTAs */
.hero-ctas {
  display: flex; flex-wrap: wrap; gap: 12px;
  margin-top: 40px;
}
.hero-ctas .btn-outline {
  background: rgba(255,255,255,.06);
  border-color: rgba(255,255,255,.22);
  color: rgba(255,255,255,.85);
}
.hero-ctas .btn-outline:hover {
  background: rgba(255,255,255,.12);
  border-color: rgba(255,255,255,.4);
}

/* Proof tags */
.hero-proof {
  display: flex; flex-wrap: wrap; gap: 8px;
  margin-top: 28px;
}
.hero-proof span {
  padding: 4px 10px;
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 4px;
  color: rgba(255,255,255,.38);
  font-family: var(--font-display);
  font-size: .65rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase;
}

/* ── Animated Flow Cards ──────────────────────────────────────── */
.hero-flow {
  display: flex; flex-direction: column; gap: 2px;
}
.flow-card {
  position: relative;
  display: flex; align-items: center; gap: 14px;
  padding: 15px 20px;
  border-radius: var(--r-md);
  border: 1px solid rgba(255,255,255,.07);
  background: rgba(255,255,255,.03);
  transition: border-color .3s ease, background .3s ease, transform .3s ease;
  overflow: hidden;
}
.flow-card--active {
  border-color: rgba(30,95,168,.45);
  background: rgba(30,95,168,.1);
  transform: translateX(5px);
}
.flow-card--gold {
  border-color: rgba(201,97,10,.35);
  background: rgba(201,97,10,.06);
}
.fc-num {
  flex: 0 0 28px;
  color: rgba(255,255,255,.22);
  font-family: var(--font-display);
  font-size: .68rem; font-weight: 700; letter-spacing: .06em;
}
.flow-card--active .fc-num { color: rgba(30,95,168,.9); }
.flow-card--gold .fc-num { color: rgba(201,97,10,.9); }
.fc-label {
  color: var(--white);
  font-family: var(--font-display);
  font-size: .85rem; font-weight: 700;
}
.fc-sub {
  color: rgba(255,255,255,.42);
  font-size: .72rem; margin-top: 2px;
}
.fc-pulse {
  position: absolute; right: 16px; top: 50%; transform: translateY(-50%);
  width: 8px; height: 8px; border-radius: 50%;
  background: rgba(30,95,168,.8);
  box-shadow: 0 0 0 0 rgba(30,95,168,.5);
  animation: fcPulse 2s ease-out infinite;
}
@keyframes fcPulse {
  0%  { box-shadow: 0 0 0 0 rgba(30,95,168,.5); }
  70% { box-shadow: 0 0 0 10px rgba(30,95,168,0); }
  100%{ box-shadow: 0 0 0 0 rgba(30,95,168,0); }
}
.flow-arrow {
  display: flex; justify-content: center; padding: 2px 0;
  color: rgba(255,255,255,.14);
}
.flow-arrow svg { width: 16px; height: 16px; }

/* ── Wedge - The Problem ─────────────────────────────────────── */
.wedge { padding: 96px 0; background: var(--white); }
.wedge-inner {
  display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: start;
  margin-bottom: 40px;
}
.wedge-statement h2 {
  margin: 0;
  color: var(--ink);
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3vw, 2.9rem);
  font-weight: 700; line-height: 1.1; letter-spacing: -.02em;
}
.wedge-statement p {
  margin: 16px 0 28px;
  color: var(--muted);
  font-size: 1.05rem; line-height: 1.68;
}
.wedge-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 24px; align-content: start;
}
.wedge-item {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: var(--surface);
}
.wi-num {
  color: #8b4400; /* darkened from --gold for WCAG AA on --surface: 5.31:1 */
  font-family: var(--font-display);
  font-size: .7rem; font-weight: 700; letter-spacing: .1em;
  margin-bottom: 10px;
}
.wedge-item p { margin: 0; color: var(--muted); font-size: .88rem; line-height: 1.6; }

.not-bar {
  padding: 22px 28px;
  border: 1px solid var(--line);
  border-left: 3px solid var(--accent);
  border-radius: var(--r-md);
  background: var(--accent-soft);
  color: var(--body);
  font-size: .92rem; line-height: 1.65;
}

/* ── Services Preview ────────────────────────────────────────── */
.services-preview { padding: 96px 0; background: var(--surface); }
.svc-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px;
  margin-bottom: 32px;
}
.svc-card {
  display: flex; flex-direction: column; gap: 12px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: var(--white);
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
  text-decoration: none; color: inherit;
}
.svc-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--sh-lg);
  border-color: rgba(30,95,168,.25);
}
.svc-card--dark { background: var(--ink); color: var(--white); border-color: var(--ink-80); }
.svc-card.svc-card--dark h3, .svc-card.svc-card--dark .svc-num { color: var(--white) !important; }
.svc-card.svc-card--dark p { color: rgba(255,255,255,.7); }
.svc-card.svc-card--dark .svc-link { color: rgba(255,255,255,.75); }
.svc-card.svc-card--dark:hover { border-color: rgba(30,95,168,.5); }
.svc-num {
  color: #8b4400; /* darkened from --gold for WCAG AA on white: 5.31:1 */
  font-family: var(--font-display);
  font-size: .68rem; font-weight: 700; letter-spacing: .1em;
}
.svc-card h3 {
  margin: 0;
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 1.02rem; font-weight: 700; letter-spacing: -.01em; line-height: 1.25;
}
.svc-card p { margin: 0; color: var(--muted); font-size: .86rem; line-height: 1.6; flex: 1; }
.svc-link {
  color: var(--accent);
  font-family: var(--font-display);
  font-size: .8rem; font-weight: 600; margin-top: auto;
}
.svc-footer { text-align: center; }

/* ── Focus Band - Dark ───────────────────────────────────────── */
.focus-band { padding: 96px 0; background: var(--ink); }
.focus-band-inner {
  display: grid; grid-template-columns: 1fr 1.4fr; gap: 72px; align-items: start;
}
.fb-copy h2 {
  color: var(--white);
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  font-weight: 700; line-height: 1.1; letter-spacing: -.02em;
  margin: 0 0 16px;
}
.fb-copy p {
  color: rgba(255,255,255,.5);
  font-size: .96rem; line-height: 1.68; margin: 0 0 28px;
}
.fb-cards {
  display: grid; grid-template-columns: 1fr 1fr; gap: 16px;
}
.fb-card {
  padding: 24px;
  border: 1px solid rgba(255,255,255,.08);
  border-radius: var(--r-md);
  background: rgba(255,255,255,.04);
  transition: background .18s, border-color .18s;
}
.fb-card:hover {
  background: rgba(255,255,255,.07);
  border-color: rgba(30,95,168,.35);
}
.fb-card svg { width: 22px; height: 22px; color: rgba(30,95,168,.8); margin-bottom: 14px; }
.fb-card h3, .fb-card h4 { /* h3 promoted for heading order; h4 kept for backwards compat */
  margin: 0 0 8px;
  color: var(--white);
  font-family: var(--font-display);
  font-size: .9rem; font-weight: 700;
}
.fb-card p { margin: 0; color: rgba(255,255,255,.45); font-size: .82rem; line-height: 1.58; }

/* ── Stats Band - replaces photo band ───────────────────────── */
.stats-band { padding: 72px 0; background: var(--accent-soft); border-top: 1px solid rgba(30,95,168,.12); border-bottom: 1px solid rgba(30,95,168,.12); }
.stats-band-inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}
.stat-item {
  text-align: center;
  padding: 28px 20px;
}
.stat-item .stat-num {
  display: block;
  color: var(--ink);
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.5vw, 2.8rem);
  font-weight: 800; line-height: 1; letter-spacing: -.02em;
  margin-bottom: 8px;
}
.stat-item .stat-label {
  color: var(--muted);
  font-size: .83rem; line-height: 1.45; max-width: 140px; margin: 0 auto;
}

/* ── Engagements ─────────────────────────────────────────────── */
.engagements { padding: 96px 0; background: var(--white); }
.eng-grid {
  display: grid; grid-template-columns: 1fr 1.12fr 1fr; gap: 20px;
  margin-bottom: 28px;
}
.eng-card {
  display: flex; flex-direction: column; gap: 14px;
  padding: 32px;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: var(--surface);
}
.eng-card--featured {
  background: var(--ink);
  border-color: var(--ink-80);
  position: relative; top: -8px;
  box-shadow: var(--sh-xl);
}
.eng-type {
  font-family: var(--font-display);
  font-size: .68rem; font-weight: 700; letter-spacing: .14em;
  text-transform: uppercase; color: #8b4400; /* darkened for WCAG AA on --surface */
}
.eng-card h3 {
  margin: 0;
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 1.08rem; font-weight: 700; line-height: 1.2;
}
.eng-card--featured h3 { color: var(--white); }
.eng-card p { margin: 0; color: var(--muted); font-size: .88rem; line-height: 1.62; flex: 1; }
.eng-card--featured p { color: rgba(255,255,255,.52); }
.eng-outputs {
  display: flex; flex-wrap: wrap; gap: 6px; margin-top: 4px;
}
.eng-outputs span {
  padding: 3px 9px;
  border-radius: 4px;
  border: 1px solid var(--line);
  background: var(--white);
  font-family: var(--font-display);
  font-size: .68rem; font-weight: 600; letter-spacing: .04em; color: var(--muted);
}
.eng-card--featured .eng-outputs span {
  border-color: rgba(255,255,255,.1); background: rgba(255,255,255,.06); color: rgba(255,255,255,.5);
}
.eng-note {
  padding: 18px 24px;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: var(--surface);
  font-size: .86rem; color: var(--muted); line-height: 1.6;
}
.eng-note a { color: var(--accent); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }

/* ── CTA Band ────────────────────────────────────────────────── */
.cta-band { padding: 96px 0; background: var(--ink); }
.cta-band-inner {
  display: grid; grid-template-columns: 1fr auto; gap: 48px; align-items: center;
}
.cta-band-copy h2 {
  margin: 0;
  color: var(--white);
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 2.8vw, 2.6rem);
  font-weight: 700; letter-spacing: -.02em; line-height: 1.1;
}
.cta-band-copy p {
  margin: 14px 0 0;
  color: rgba(255,255,255,.5);
  font-size: .96rem; line-height: 1.65; max-width: 580px;
}
.cta-band-actions { display: flex; flex-direction: column; gap: 12px; align-items: flex-end; min-width: 220px; }

/* ── Responsive ──────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .hero-inner { grid-template-columns: 1fr; gap: 48px; }
  .hero-flow { display: none; }
  .hero { min-height: auto; padding: 80px 0 72px; }
  .svc-grid { grid-template-columns: 1fr 1fr; }
  .focus-band-inner { grid-template-columns: 1fr; gap: 40px; }
  .stats-band-inner { grid-template-columns: 1fr 1fr; }
  .cta-band-inner { grid-template-columns: 1fr; gap: 32px; }
  .cta-band-actions { flex-direction: row; align-items: center; }
}
@media (max-width: 768px) {
  .hero { padding: 60px 0 56px; }
  .hero-copy { min-width: 0; max-width: 100%; }
  .hero-badge { max-width: 100%; white-space: normal; font-size: .62rem; letter-spacing: .1em; }
  .hero-sub { max-width: 100%; font-size: .95rem; }
  .hero-proof { gap: 6px; }
  .hero-ctas .btn { max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: normal; }
  .wedge-inner { grid-template-columns: 1fr; gap: 40px; }
  .wedge-grid { grid-template-columns: 1fr; gap: 16px; }
  .eng-grid { grid-template-columns: 1fr; }
  .eng-card--featured { top: 0; }
  .fb-cards { grid-template-columns: 1fr; }
  .stats-band-inner { grid-template-columns: 1fr 1fr; gap: 0; }
  .stat-item { padding: 20px 16px; border-bottom: 1px solid var(--line); }
}
@media (max-width: 480px) {
  .svc-grid { grid-template-columns: 1fr; }
  .hero-ctas { flex-direction: column; }
  .hero-ctas .btn { justify-content: center; width: 100%; max-width: 100%; }
  .hero-copy h1 { font-size: clamp(2rem, 8vw, 2.6rem); letter-spacing: -.01em; }
  .hero-badge { font-size: .58rem; padding: 4px 10px; }
  .hero-carousel { margin-top: 24px; }
  .hc-slide { padding: 14px 44px 14px 14px; }
  .hero-proof span { font-size: .6rem; padding: 4px 8px; }
  .stats-band-inner { grid-template-columns: 1fr; }
  .cta-band-actions { flex-direction: column; width: 100%; }
  .cta-band-actions .btn { justify-content: center; width: 100%; }
}

/* ── Engagement grid - 4 tiers ───────────────────────────────── */
.eng-grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 24px;
  align-items: start;
}

/* Pricing anchor */
.eng-anchor {
  font-family: var(--font-display);
  font-size: .8rem;
  font-weight: 500;
  color: var(--muted);
  margin-bottom: 6px;
  letter-spacing: .01em;
}
.eng-anchor strong {
  color: var(--ink);
  font-size: 1.1rem;
  font-weight: 800;
  letter-spacing: -.02em;
}
.eng-card--featured .eng-anchor strong {
  color: #f59e42; /* lightened from --gold for WCAG AA on --ink bg */
}

/* Override: featured card lifts slightly */
.eng-grid-4 .eng-card--featured {
  position: relative;
  top: -6px;
  box-shadow: var(--sh-xl);
}

@media (max-width: 1100px) {
  .eng-grid-4 { grid-template-columns: 1fr 1fr; }
  .eng-grid-4 .eng-card--featured { top: 0; }
}
@media (max-width: 600px) {
  .eng-grid-4 { grid-template-columns: 1fr; }
}

/* ── Resources section ───────────────────────────────────────── */
.resources-section {
  padding: 96px 0;
  background: var(--surface);
  border-top: 1px solid var(--line);
}
.resources-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.resource-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 24px 28px;
  display: flex; flex-direction: column; gap: 8px;
  transition: box-shadow .2s, border-color .2s;
}
.resource-card:hover {
  box-shadow: var(--sh-md);
  border-color: #c8d8e8;
}
.resource-cat {
  font-size: .7rem; font-weight: 700; letter-spacing: .12em;
  text-transform: uppercase; color: var(--accent);
}
.resource-card h3, .resource-card h4 { /* h3 promoted for heading order */
  margin: 0; color: var(--ink);
  font-family: var(--font-display);
  font-size: 1rem; font-weight: 600; line-height: 1.35;
}
.resource-card p {
  margin: 0; color: var(--body); font-size: .875rem; line-height: 1.65;
  flex: 1;
}
.resource-source {
  font-size: .75rem; color: #4e5f70; font-style: italic; /* darkened from --subtle #8fa3b3 for WCAG AA */
  border-top: 1px solid var(--line-soft); padding-top: 10px; margin-top: 4px;
}
@media (max-width: 900px) {
  .resources-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .resources-grid { grid-template-columns: 1fr; }
}


/* ── Hero carousel ───────────────────────────────────────────── */
.hero-carousel {
  margin-top: 40px;
  padding-top: 28px;
  border-top: 1px solid rgba(255,255,255,.08);
}
.hero-dest-label {
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: rgba(255,255,255,.4);
  margin: 0 0 12px;
}
.hc-track-wrap {
  position: relative;
  overflow: hidden;
  border-radius: var(--r-md);
}
.hc-track {
  display: flex;
  transition: transform .42s cubic-bezier(.4,0,.2,1);
}
.hc-slide {
  min-width: 100%;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 52px 16px 18px;
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.11);
  border-radius: var(--r-md);
  text-decoration: none;
  color: var(--white);
  cursor: pointer;
  transition: background .2s;
}
.hc-slide:hover { background: rgba(255,255,255,.13); }
.hc-icon {
  display: flex; align-items: center; justify-content: center;
  width: 38px; height: 38px; flex-shrink: 0;
  border-radius: 9px;
  background: rgba(201,97,10,.2);
}
.hc-icon svg { width: 16px; height: 16px; color: var(--gold); }
.hc-text { flex: 1; display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.hc-text strong { font-size: .9rem; font-weight: 600; color: var(--white); line-height: 1.2; }
.hc-text span { font-size: .74rem; color: rgba(255,255,255,.5); line-height: 1.3; }
.hc-arrow-icon { width: 14px; height: 14px; color: rgba(255,255,255,.3); flex-shrink: 0; transition: color .18s, transform .18s; }
.hc-slide:hover .hc-arrow-icon { color: var(--gold); transform: translateX(3px); }
.hc-btn {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 30px; height: 30px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.15);
  border-radius: 50%; cursor: pointer; color: var(--white);
  transition: background .15s;
  padding: 0;
}
.hc-btn:hover { background: rgba(255,255,255,.22); }
.hc-prev { left: 8px; }
.hc-next { right: 8px; }
.hc-btn svg { width: 13px; height: 13px; }
.hc-dots {
  display: flex; gap: 7px; justify-content: center;
  margin-top: 10px;
}
.hc-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: rgba(255,255,255,.22); border: none; cursor: pointer; padding: 0;
  transition: background .2s, transform .2s;
}
.hc-dot--active { background: var(--gold); transform: scale(1.35); }

/* ── Engagement output ticker ────────────────────────────────── */
.eng-ticker {
  position: relative;
  height: 28px;
  overflow: hidden;
  margin-bottom: 20px;
}
.et-slide {
  position: absolute;
  top: 0; left: 0; right: 0;
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: .78rem;
  font-weight: 500;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity .4s ease, transform .4s ease;
  pointer-events: none;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.et-slide::before {
  content: '';
  width: 5px; height: 5px; flex-shrink: 0;
  border-radius: 50%;
  background: var(--gold);
  display: inline-block;
}
.et-slide.et-active {
  opacity: 1;
  transform: translateY(0);
}
.et-slide.et-exit {
  opacity: 0;
  transform: translateY(-8px);
  transition: opacity .3s ease, transform .3s ease;
}
/* Featured card (dark) needs lighter text */
.eng-card--featured .et-slide { color: rgba(255,255,255,.75); }
.eng-card--featured .et-slide::before { background: var(--gold); }

/* ── Credibility band ────────────────────────────────────────── */
.cred-band {
  background: var(--white);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 0;
}
.cred-band-inner {
  display: grid;
  grid-template-columns: 1fr 1px 1fr 1px 1fr 1px 1fr;
  align-items: stretch;
  min-height: 96px;
}
.cred-divider {
  background: var(--line);
  width: 1px;
  align-self: stretch;
}
.cred-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 24px 28px;
  transition: background .2s;
}
.cred-item:hover {
  background: var(--surface);
}
.cred-icon {
  flex-shrink: 0;
  width: 36px; height: 36px;
  display: flex; align-items: center; justify-content: center;
  background: var(--accent-soft);
  border-radius: 8px;
  color: var(--accent);
}
.cred-icon svg { width: 18px; height: 18px; }
.cred-text {
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.cred-label {
  font-family: var(--font-body);
  font-size: .8rem;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: .02em;
}
.cred-desc {
  font-size: .72rem;
  color: var(--muted);
  line-height: 1.5;
}
@media (max-width: 900px) {
  .cred-band-inner {
    grid-template-columns: 1fr 1px 1fr;
    grid-template-rows: auto 1px auto;
  }
  .cred-divider:nth-child(4) {
    grid-column: 1 / -1;
    width: auto;
    height: 1px;
  }
  .cred-divider:nth-child(2),
  .cred-divider:nth-child(6) {
    display: none;
  }
}
@media (max-width: 520px) {
  .cred-band-inner {
    grid-template-columns: 1fr;
    grid-template-rows: unset;
  }
  .cred-divider {
    width: auto;
    height: 1px;
    grid-column: 1;
  }
  .cred-item { padding: 16px 0; }
}

/* ── Clinical context (split) ─────────────────────────────────── */
.clinical-context {
  overflow: hidden;
}
.clinical-context-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 460px;
}
.clinical-context-image {
  position: relative;
  overflow: hidden;
}
.clinical-context-image img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
  filter: brightness(.82) saturate(.9);
  transition: filter .4s ease, transform .6s ease;
}
.clinical-context:hover .clinical-context-image img {
  filter: brightness(.95) saturate(1);
  transform: scale(1.02);
}
.clinical-context-copy {
  background: var(--ink);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 64px 56px;
  gap: 20px;
}
.cc-eyebrow {
  font-family: var(--font-body);
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: #f59e42; /* lightened from --gold for WCAG AA on --ink bg: 4.61:1 */
  margin: 0;
}
.clinical-context-copy h2 {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 2.8vw, 2.2rem);
  font-weight: 700;
  color: var(--white);
  line-height: 1.2;
  margin: 0;
  letter-spacing: -.02em;
}
.clinical-context-copy p {
  font-size: .9rem;
  color: rgba(255,255,255,.72);
  line-height: 1.75;
  margin: 0;
  max-width: 420px;
}
.cc-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 8px;
}
.cc-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: .82rem;
  font-weight: 600;
  color: var(--white);
  text-decoration: none;
  opacity: .85;
  transition: opacity .15s, gap .2s;
}
.cc-link:hover { opacity: 1; gap: 12px; }
.cc-link svg { width: 14px; height: 14px; }
@media (max-width: 768px) {
  .clinical-context-inner {
    grid-template-columns: 1fr;
    min-height: auto;
  }
  .clinical-context-image { height: 260px; }
  .clinical-context-copy {
    padding: 40px 28px;
  }
}


/* ── HEADSHOT VARIANT of clinical-context ───────────────── */
.clinical-context-image--headshot {
  background: var(--ink);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 60px 48px;
}
.clinical-context-image--headshot img {
  width: 220px;
  height: 220px;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid rgba(255,255,255,.15);
  box-shadow: 0 0 0 8px rgba(30,95,168,.18);
}
@media (max-width: 768px) {
  .clinical-context-image--headshot {
    padding: 40px 24px 24px;
  }
  .clinical-context-image--headshot img {
    width: 140px;
    height: 140px;
  }
}

/* ── Engagement card deliverables accordion (adapted from services.html pattern) ── */
.eng-card .accordion-toggle {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  font-family: var(--font-body);
  font-size: .82rem;
  font-weight: 600;
  color: var(--ink);
  cursor: pointer;
  text-align: left;
  transition: background .15s, border-color .15s;
  margin-top: 4px;
}
.eng-card .accordion-toggle:hover {
  background: var(--accent-soft, #eff4fb);
  border-color: #c4d5e8;
}
.eng-card--featured .accordion-toggle {
  background: rgba(255,255,255,.06);
  border-color: rgba(255,255,255,.14);
  color: var(--white);
}
.eng-card--featured .accordion-toggle:hover {
  background: rgba(255,255,255,.1);
}
.eng-card .acc-chevron {
  margin-left: auto;
  width: 13px;
  height: 13px;
  border-right: 1.8px solid var(--accent);
  border-bottom: 1.8px solid var(--accent);
  transform: rotate(45deg);
  transition: transform .25s ease;
  flex-shrink: 0;
  position: relative;
  top: -2px;
}
.eng-card--featured .acc-chevron {
  border-color: var(--gold);
}
.eng-card .accordion-toggle[aria-expanded="true"] .acc-chevron {
  transform: rotate(-135deg);
  top: 2px;
}
.eng-card .accordion-body {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows .3s ease;
  overflow: hidden;
}
.eng-card .accordion-body.is-open {
  grid-template-rows: 1fr;
}
.eng-card .accordion-body-inner {
  min-height: 0;
  overflow: hidden;
}
.eng-card .eng-outputs {
  margin-top: 10px;
  padding-bottom: 2px;
}
