/* =========================================================
   Vitalis Health Group — Design D system ("Orbit Blocks")
   Flat navy foundation, no gradients, Manrope, hairline borders
   ========================================================= */

:root{
  --navy:       #0B2B60;
  --ink:        #1C2633;
  --mist:       #F2F6F9;
  --mist-teal:  #EAF7F5;
  --hairline:   #D7DEE9;
  --white:      #FFFFFF;
  --accent:     #17B8A6;
  --teal-deep:  #0B6E66;
  --slate:      #6B7686;
  --footer-ink: #5A6472;

  --font: "Manrope", -apple-system, "Segoe UI", sans-serif;

  --r-lg: 20px;
  --r-md: 14px;
  --r-sm: 10px;

  --maxw: 1120px;
}

*, *::before, *::after{ box-sizing: border-box; }
body{
  margin:0;
  font-family: var(--font);
  color: var(--ink);
  background: #fff;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
h1,h2,h3,h4{ font-family: var(--font); color: var(--navy); margin:0; font-weight:800; letter-spacing:-0.01em; }
p{ margin:0; }
ul{ margin:0; padding:0; list-style:none; }
a{ color:inherit; text-decoration:none; }
img{ max-width:100%; display:block; }
section{ position:relative; }

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

.wrap{ max-width: var(--maxw); margin:0 auto; padding:0 32px; }

/* -------------------- top utility bar + nav -------------------- */
.topbar{ background: var(--navy); color: rgba(255,255,255,0.72); font-size:12.5px; }
.topbar .wrap{ padding:9px 32px; display:flex; justify-content:space-between; }
.topbar span.hl{ color: rgba(255,255,255,0.5); }

header.nav-wrap{ background:#fff; border-bottom:1px solid var(--hairline); position:sticky; top:0; z-index:40; }
.nav{ position:relative; display:flex; align-items:center; justify-content:space-between; padding:16px 32px; max-width: var(--maxw); margin:0 auto; }
.brand{ display:flex; align-items:center; gap:14px; }
.brand-mark{ width:38px; height:38px; border-radius:10px; background:var(--navy); color:#fff; display:flex; align-items:center; justify-content:center; font-weight:800; font-size:15px; flex-shrink:0; }
.brand-mark-img{ width:54px; height:54px; object-fit:contain; flex-shrink:0; }
.brand-text{ display:flex; flex-direction:column; line-height:1.2; }
.brand-text .name{ font-weight:800; font-size:23px; color:var(--navy); }
.brand-text .tag{ font-size:10px; letter-spacing:.12em; color:var(--slate); font-weight:700; text-transform:uppercase; }

.nav-links{ display:flex; align-items:center; list-style:none; margin:0; padding:0; }
.nav-links a{ color:var(--slate); font-size:14px; font-weight:600; margin-right:32px; text-decoration:none; padding-bottom:4px; border-bottom:2px solid transparent; }
.nav-links li:last-child a{ margin-right:0; }
.nav-links a:hover{ color:var(--navy); }
.nav-links a.active{ color:var(--navy); border-bottom-color:var(--accent); }

.btn{ display:inline-flex; align-items:center; justify-content:center; gap:8px; padding:12px 24px; border-radius:999px; font-weight:700; font-size:14px; text-decoration:none; border:1.5px solid transparent; cursor:pointer; transition:transform .15s ease, background .15s ease, border-color .15s ease; }
.btn:hover{ transform:translateY(-1px); }
.btn-primary{ background:var(--navy); color:#fff; }
.btn-primary:hover{ background:#123B7A; }
.btn-hero-primary{ background:var(--accent); color:#fff; }
.btn-hero-primary:hover{ background:var(--teal-deep); }
.btn-outline{ border-color:var(--hairline); color:var(--navy); background:#fff; }
.btn-outline:hover{ background:var(--mist); }
.btn-ghost{ border-color:rgba(255,255,255,.4); color:#fff; background:transparent; }
.btn-ghost:hover{ border-color:rgba(255,255,255,.8); background:rgba(255,255,255,.06); }

.nav-toggle{ display:none; }
.nav-toggle-label{ display:none; }
.nav-right{ display:flex; align-items:center; gap:20px; }

/* -------------------- hero — flat solid navy, no gradient, no teal -------------------- */
.hero{ background:var(--navy); text-align:center; padding:52px 32px 58px; }
.hero.compact{ padding:36px 32px 30px; }
.hero-inner{ max-width:720px; margin:0 auto; }
.eyebrow{ font-size:12.5px; font-weight:700; letter-spacing:.13em; color:rgba(255,255,255,.65); text-transform:uppercase; }
.hero h1{ color:#fff; font-size:clamp(30px,4.2vw,48px); line-height:1.14; margin-top:14px; }
.hero.compact h1{ font-size:clamp(26px,3.6vw,40px); }
.hero p.sub{ color:rgba(255,255,255,.78); font-size:17px; max-width:560px; margin:18px auto 0; }
.btn-row{ display:flex; gap:14px; justify-content:center; margin-top:30px; flex-wrap:wrap; }

/* -------------------- section rhythm -------------------- */
.section{ padding:48px 0; }
.section.tight{ padding:32px 0; }
.section.white{ background:#fff; }
.section.tinted{ background:var(--mist); }

.section-head{ max-width:620px; margin:0 0 24px; }
.section-head.center{ margin-left:auto; margin-right:auto; text-align:center; }
.section-head h2{ font-size:clamp(24px,2.8vw,32px); margin-top:8px; line-height:1.2; }
.section-head p{ color:var(--slate); font-size:15.5px; margin-top:10px; }
.eyebrow.on-light{ color:var(--teal-deep); }

.lede{ font-size:17px; color:var(--slate); max-width:640px; }

/* -------------------- grids -------------------- */
.grid{ display:grid; gap:24px; }
.profile-grid{ display:grid; grid-template-columns:.78fr 1.22fr; }
.grid-2{ grid-template-columns:repeat(2,1fr); }
.grid-3{ grid-template-columns:repeat(3,1fr); }
.grid-4{ grid-template-columns:repeat(4,1fr); }

/* -------------------- flat bordered card grid (Concept B/D layout) -------------------- */
.grid-flat{
  display:grid; gap:1px; background:var(--hairline);
  border:1px solid var(--hairline); border-radius:var(--r-md); overflow:hidden;
}
.grid-flat.cols-2{ grid-template-columns:repeat(2,1fr); }
.grid-flat.cols-3{ grid-template-columns:repeat(3,1fr); }
.grid-flat.cols-4{ grid-template-columns:repeat(4,1fr); }
.grid-flat.cols-5{ grid-template-columns:repeat(5,1fr); }
.cell-flat{ background:#fff; padding:26px 24px; text-align:left; }
.cell-flat .icon-chip{ margin-bottom:14px; }
.cell-flat .tag{ font-size:11px; font-weight:700; letter-spacing:.08em; color:var(--teal-deep); }
.cell-flat.infra .tag{ color:var(--navy); }
.cell-flat h4{ font-size:15px; font-weight:700; color:var(--navy); margin:9px 0 7px; }
.cell-flat p{ color:var(--slate); font-size:14.5px; line-height:1.6; margin:0; }

/* -------------------- panel (hairline card) -------------------- */
.panel{ background:#fff; border:1px solid var(--hairline); border-radius:var(--r-lg); padding:30px; }

/* -------------------- icon badge — solid navy, no gradient -------------------- */
.icon-badge{ width:44px; height:44px; border-radius:12px; background:var(--navy); display:flex; align-items:center; justify-content:center; margin-bottom:16px; flex-shrink:0; }
.icon-badge svg{ width:20px; height:20px; }

/* -------------------- steps (About: Our Model) -------------------- */
.steps{ display:grid; grid-template-columns:repeat(3,1fr); gap:22px; }
.step{ background:#fff; border:1px solid var(--hairline); border-radius:var(--r-md); padding:26px; }
.step .num{ font-family:var(--font); font-size:28px; color:var(--accent); font-weight:800; }
.step .kicker{ font-size:11.5px; font-weight:700; letter-spacing:.1em; color:#9AA5B5; margin-top:2px; display:block; }
.step h4{ font-size:17px; margin:10px 0 8px; }
.step p{ color:var(--slate); font-size:15px; }

/* -------------------- workflow (About: Coordinated Patient Workflow) -------------------- */
.workflow{ display:grid; grid-template-columns:repeat(4,1fr); gap:18px; }
.wf-item{ background:var(--mist); border-radius:var(--r-md); padding:22px 20px; }
.wf-num{ width:30px; height:30px; border-radius:50%; background:var(--navy); color:#fff; display:flex; align-items:center; justify-content:center; font-size:13px; font-weight:700; margin-bottom:12px; }
.wf-item h5{ font-family:var(--font); font-size:15px; font-weight:700; color:var(--navy); margin-bottom:6px; }
.wf-item p{ font-size:15px; color:var(--slate); }

/* -------------------- governance split (About + Team) -------------------- */
.gov-split{ display:grid; grid-template-columns:1fr 1fr; gap:24px; }
.gov-col{ background:#fff; border:1px solid var(--hairline); border-radius:var(--r-lg); padding:30px; }
.gov-col h4{ font-size:19px; margin-bottom:4px; }
.gov-col .role{ color:var(--teal-deep); font-size:13px; font-weight:700; letter-spacing:.05em; margin-bottom:16px; display:block; }
.gov-col li{ font-size:15px; color:var(--ink); padding:10px 0; border-top:1px solid var(--mist); }
.gov-col li:first-of-type{ border-top:none; }
.gov-col li strong{ color:var(--navy); font-weight:700; }
.gov-note{ background:var(--mist); border-radius:var(--r-md); padding:24px 26px; margin-top:22px; border-left:4px solid var(--navy); }
.gov-note p{ color:var(--slate); font-size:15px; }

/* -------------------- service cards (Services page) -------------------- */
.service-card{ background:#fff; border:1px solid var(--hairline); border-radius:var(--r-md); padding:20px 22px; height:100%; display:flex; flex-direction:column; }
.service-card .tag{ font-size:11px; font-weight:700; letter-spacing:.08em; color:var(--teal-deep); }
.service-card.infra .tag{ color:var(--navy); }
.service-card h4{ font-size:16px; margin:8px 0 5px; }
.service-card p{ color:var(--slate); font-size:15px; line-height:1.55; margin:0; }

/* -------------------- card "know more" link (Services page) -------------------- */
.card-link{ display:inline-flex; align-items:center; gap:6px; margin-top:12px; font-family:var(--font); font-size:14px; font-weight:700; color:var(--teal-deep); background:none; border:none; cursor:pointer; align-self:flex-start; }
.card-link svg{ width:14px; height:14px; transition:transform .15s ease; }
.card-link:hover{ color:var(--navy); }
.card-link:hover svg{ transform:translateX(2px); }

/* -------------------- service detail modal (Services page) -------------------- */
.modal-overlay{ position:fixed; inset:0; background:rgba(11,43,96,.55); display:none; align-items:center; justify-content:center; padding:24px; z-index:200; }
.modal-overlay.open{ display:flex; }
.modal-box{ background:#fff; border-radius:var(--r-lg); max-width:560px; width:100%; max-height:85vh; overflow-y:auto; padding:38px; position:relative; box-shadow:0 30px 70px rgba(4,15,40,.4); }
.modal-close{ position:absolute; top:18px; right:18px; width:34px; height:34px; border-radius:50%; border:1px solid var(--hairline); background:#fff; display:flex; align-items:center; justify-content:center; cursor:pointer; color:var(--slate); }
.modal-close:hover{ background:var(--mist); color:var(--navy); }
.modal-tag{ font-size:11.5px; font-weight:700; letter-spacing:.08em; color:var(--teal-deep); text-transform:uppercase; }
.modal-box h3{ font-size:22px; margin:8px 0 18px; color:var(--navy); padding-right:24px; }
.modal-body p{ color:var(--slate); font-size:15px; line-height:1.7; margin:0 0 14px; }
.modal-body h5{ font-size:12.5px; text-transform:uppercase; letter-spacing:.07em; color:var(--navy); margin:20px 0 10px; }
.modal-body ul{ margin:0; padding:0; }
.modal-body li{ list-style:none; color:var(--slate); font-size:15px; padding:6px 0 6px 22px; position:relative; }
.modal-body li::before{ content:""; position:absolute; left:2px; top:15px; width:6px; height:6px; border-radius:50%; background:var(--accent); }

/* -------------------- pillar (icon + heading, centered) -------------------- */
/* -------------------- profile bar (Team: name + title band, PDF-style) -------------------- */
.profile-bar{ background:var(--navy); padding:22px 0; }
.profile-bar .row{ display:flex; justify-content:space-between; align-items:baseline; flex-wrap:wrap; gap:6px 24px; }
.profile-bar h2{ color:#fff; font-size:23px; margin:0; letter-spacing:.01em; }
.profile-bar p{ color:rgba(255,255,255,.82); font-size:14.5px; margin:0; }

.pillar{ text-align:center; }
.pillar h4{ font-size:16px; margin-bottom:8px; }
.pillar p{ color:var(--slate); font-size:15px; }

/* -------------------- team cards -------------------- */
.team-card{ background:#fff; border:1px solid var(--hairline); border-radius:var(--r-lg); padding:26px; }
.avatar{ width:76px; height:76px; border-radius:50%; background:var(--navy); color:#fff; display:flex; align-items:center; justify-content:center; font-weight:800; font-size:17px; margin-bottom:16px; overflow:hidden; }
.avatar img{ width:100%; height:100%; object-fit:cover; display:block; }
.team-card .name{ font-size:17px; font-weight:800; color:var(--navy); }
.team-card .role{ font-size:12px; font-weight:700; letter-spacing:.07em; color:var(--teal-deep); text-transform:uppercase; margin:4px 0 12px; display:block; }
.team-card .short{ font-size:15px; color:var(--navy); font-style:italic; margin-bottom:12px; }
.team-card .bio{ font-size:15px; color:var(--slate); }

/* -------------------- contact page -------------------- */
.contact-grid{ display:grid; grid-template-columns:1fr 1.1fr; gap:40px; align-items:start; }
.audience-pills{ display:grid; grid-template-columns:1fr 1fr; gap:14px; margin-top:24px; }
.audience-pill{ background:var(--mist); border-radius:var(--r-md); padding:16px 18px; font-size:14.5px; font-weight:700; color:var(--navy); display:flex; align-items:center; }
.audience-pill .dot{ width:8px; height:8px; border-radius:50%; background:var(--accent); flex-shrink:0; margin-right:12px; }
.divider{ height:1px; background:var(--hairline); }
.info-row{ display:flex; padding:16px 0; border-top:1px solid var(--mist); }
.info-row:first-of-type{ border-top:none; padding-top:0; }
.info-row .icon-badge{ margin-bottom:0; margin-right:14px; }
.info-row .label{ font-size:12px; color:#9AA5B5; font-weight:700; letter-spacing:.06em; text-transform:uppercase; }
.info-row .value{ font-size:15px; color:var(--ink); margin-top:2px; }

.form-panel{ background:#fff; border:1px solid var(--hairline); border-radius:var(--r-lg); padding:34px; min-height:520px; display:flex; flex-direction:column; justify-content:center; }
.form-panel.has-content{ justify-content:flex-start; }

/* -------------------- honeypot spam trap (invisible to real visitors) -------------------- */
.hp-field{ position:absolute; left:-9999px; top:-9999px; width:1px; height:1px; overflow:hidden; }

/* -------------------- contact form success state -------------------- */
.form-success{ background:var(--mist-teal); border:1px solid #B9E4DE; border-radius:var(--r-md); padding:18px 20px; margin-bottom:20px; }
.form-success strong{ display:block; color:var(--navy); font-size:15px; margin-bottom:4px; }
.form-success span{ display:block; color:var(--slate); font-size:14px; }

/* -------------------- contact form error state -------------------- */
.form-error{ background:#FDF1EC; border:1px solid #F3C9B6; border-radius:var(--r-md); padding:18px 20px; margin-bottom:20px; }
.form-error strong{ display:block; color:#9A3412; font-size:15px; margin-bottom:4px; }
.form-error span{ display:block; color:#7C4A32; font-size:14px; }
.form-error a{ color:#9A3412; text-decoration:underline; }
.form-grid{ display:grid; grid-template-columns:1fr 1fr; gap:18px; }
.field{ display:flex; flex-direction:column; gap:7px; margin-bottom:18px; }
.field.full{ grid-column:1/-1; }
.field label{ font-size:14.5px; font-weight:700; color:var(--navy); }
.field input, .field textarea{ border:1.5px solid var(--hairline); border-radius:var(--r-sm); padding:12px 14px; font-family:var(--font); font-size:15px; color:var(--ink); background:var(--mist); }
.field input:focus, .field textarea:focus{ outline:none; border-color:var(--accent); background:#fff; }
.field textarea{ resize:vertical; min-height:100px; }

/* -------------------- CTA band — flat solid navy, no gradient -------------------- */
.band{ background:var(--navy); color:#fff; padding:32px 0; }
.band h3{ color:#fff; font-size:22px; }
.band p{ color:rgba(255,255,255,.75); margin-top:8px; font-size:14.5px; }
.band-row{ display:flex; align-items:center; justify-content:space-between; gap:24px; flex-wrap:wrap; }

/* -------------------- footer — Design D minimal treatment: copyright strip only -------------------- */
footer{ background:#fff; border-top:1px solid var(--hairline); color:var(--footer-ink); padding:18px 0 24px; }
.footer-legal{ display:flex; justify-content:center; gap:24px; font-size:12.5px; padding-bottom:16px; margin-bottom:16px; border-bottom:1px solid var(--hairline); flex-wrap:wrap; }
.footer-legal a{ color:var(--footer-ink); font-weight:600; }
.footer-legal a:hover{ color:var(--navy); }

/* ---- responsive line break: hidden by default, shown only on mobile ---- */
.br-mobile{ display:none; }
.footer-bottom{ display:flex; justify-content:space-between; align-items:center; font-size:12.5px; color:var(--footer-ink); flex-wrap:wrap; gap:10px; }

/* -------------------- legal page content (Privacy / Terms / Nondiscrimination) -------------------- */
.legal-notice{ background:var(--mist); border-radius:var(--r-md); padding:22px 26px; margin-bottom:44px; border-left:4px solid var(--navy); }
.legal-notice p{ color:var(--navy); font-size:14px; font-weight:600; margin:0; }
.legal-body{ max-width:760px; }
.legal-body .eff-date{ color:var(--slate); font-size:14px; margin-bottom:36px; display:block; }
.legal-body h2{ font-size:19px; margin:36px 0 12px; }
.legal-body h2:first-of-type{ margin-top:0; }
.legal-body h3{ font-size:15.5px; margin:20px 0 8px; color:var(--navy); }
.legal-body p{ color:var(--slate); font-size:16px; margin-bottom:14px; }
.legal-body ul{ margin:0 0 14px; padding-left:0; }
.legal-body li{ list-style:none; color:var(--slate); font-size:16px; padding:6px 0 6px 22px; position:relative; }
.legal-body li::before{ content:""; position:absolute; left:2px; top:15px; width:6px; height:6px; border-radius:50%; background:var(--accent); }

/* -------------------- orbit + blocks diagram (Home) -------------------- */
.diagram-panel{ background:#fff; border:1px solid var(--hairline); border-radius:var(--r-lg); padding:36px; }
.diagram-panel svg{ width:100%; height:auto; display:block; max-width:600px; margin:0 auto; }
.diagram-caption{ text-align:center; color:var(--slate); font-size:13.5px; margin-top:18px; }

/* -------------------- hero split (Home): navy field + supporting photo -------------------- */
.hero.hero-split{ text-align:left; padding-top:44px; padding-bottom:44px; padding-left:0; padding-right:0; overflow:hidden; }
.hero-grid{ display:grid; grid-template-columns:1.05fr .95fr; gap:56px; align-items:center; max-width:var(--maxw); margin:0 auto; padding:0 32px; box-sizing:border-box; }
.hero-copy{ max-width:none; }
.hero-copy .sub{ margin-left:0; }
.hero-copy .btn-row{ justify-content:flex-start; }
.hero-photo-wrap{ position:relative; }
.hero-photo{ position:relative; border-radius:20px; overflow:hidden; height:400px; box-shadow:0 30px 60px rgba(4,15,40,.35); }
.hero-photo img{ width:100%; height:100%; object-fit:cover; filter:saturate(0.95) contrast(1.02); }
.hero-photo::after{ content:""; position:absolute; inset:0; background:linear-gradient(180deg, rgba(11,43,96,0) 55%, rgba(7,29,69,.4) 100%); pointer-events:none; }

/* -------------------- icon chip (small, teal — for cards/lists that need a lightweight icon) -------------------- */
.icon-chip{ width:38px; height:38px; border-radius:11px; background:var(--mist-teal); color:var(--teal-deep); display:flex; align-items:center; justify-content:center; flex-shrink:0; }
.icon-chip svg{ width:19px; height:19px; }
.icon-chip.navy{ background:var(--navy); color:#fff; }
.icon-chip.sm{ width:34px; height:34px; border-radius:10px; }
.icon-chip.sm svg{ width:17px; height:17px; }
.icon-chip.lg{ width:48px; height:48px; border-radius:13px; }
.icon-chip.lg svg{ width:24px; height:24px; }

/* -------------------- photo band (Team: office setting) -------------------- */
.photo-band{ border-radius:var(--r-lg); overflow:hidden; border:1px solid var(--hairline); height:340px; position:relative; }
.photo-band img{ width:100%; height:100%; object-fit:cover; }
.photo-band-caption{ margin-top:14px; text-align:center; color:var(--slate); font-size:13.5px; }

/* -------------------- split media (About: photo + copy) -------------------- */
.split-media{ display:grid; grid-template-columns:.85fr 1.15fr; gap:48px; align-items:center; }
.split-media .media{ border-radius:var(--r-lg); overflow:hidden; border:1px solid var(--hairline); height:320px; }
.split-media .media img{ width:100%; height:100%; object-fit:cover; }

/* -------------------- image placeholder card (used until real photography is supplied) -------------------- */
.img-placeholder{ background:var(--mist); border:2px dashed var(--hairline); border-radius:var(--r-lg); display:flex; flex-direction:column; align-items:center; justify-content:center; gap:8px; text-align:center; padding:24px; height:100%; min-height:260px; }
.img-placeholder .ph-icon{ width:52px; height:52px; border-radius:14px; background:#fff; border:1px solid var(--hairline); color:var(--teal-deep); display:flex; align-items:center; justify-content:center; margin-bottom:4px; }
.img-placeholder .ph-title{ font-weight:800; color:var(--navy); font-size:14.5px; }
.img-placeholder .ph-sub{ font-size:12.5px; color:var(--slate); max-width:220px; }

/* -------------------- service card icon row -------------------- */
.service-card .icon-chip{ margin-bottom:10px; }

/* =========================================================
   Home — Integrated Care Platform (photo orbit, 7 services)
   ========================================================= */
.orbit-wrap{ position:relative; width:100%; max-width:820px; aspect-ratio:1/1; margin:0 auto; }
.orbit-ring{ position:absolute; inset:10%; border:2px solid var(--hairline); border-radius:50%; }

.orbit-center{
  position:absolute; top:50%; left:50%; transform:translate(-50%,-50%);
  width:160px; height:120px; background:var(--navy); border-radius:18px;
  display:flex; align-items:center; justify-content:center; flex-direction:column;
  color:#fff; font-family:var(--font); font-weight:800; font-size:16px; text-align:center;
  box-shadow:0 16px 34px rgba(11,43,96,.28); z-index:5;
}

.orbit-node{
  position:absolute; width:160px; height:118px; border-radius:16px; overflow:hidden;
  border:1px solid var(--hairline); box-shadow:0 10px 26px rgba(4,15,40,.16);
  transform:translate(-50%,-50%); background:#fff;
  display:flex; flex-direction:column;
}
.orbit-illus{ flex:1; background:var(--mist-teal); display:flex; align-items:center; justify-content:center; }
.orbit-illus svg{ width:56px; height:56px; }
.orbit-photo{ flex:1; width:100%; object-fit:cover; display:block; min-height:0; }
.orbit-node .node-label{
  background:var(--navy); color:#fff; text-align:center;
  font-family:var(--font); font-weight:700; font-size:12.5px; line-height:1.28;
  padding:9px 10px; flex-shrink:0;
}

.diagram-credits{ text-align:center; color:#B7C0CE; font-size:11.5px; margin-top:16px; }

@media (max-width:880px){
  .orbit-wrap{
    display:grid; grid-template-columns:repeat(2,1fr); gap:14px;
    position:static; height:auto; aspect-ratio:auto; max-width:520px;
  }
  .orbit-ring{ display:none; }
  .orbit-center{ position:static; transform:none; grid-column:1 / -1; width:100%; height:100px; }
  .orbit-node{ position:static; transform:none; width:100%; height:170px; }
  .orbit-illus svg{ width:64px; height:64px; }
}
@media (max-width:420px){
  .orbit-wrap{ grid-template-columns:1fr; }
}

/* =========================================================
   Team page — Executive Profile (name/title band, cohesive
   profile view, stat strip) + Organizational Structure
   ========================================================= */

/* ---- profile heading (name + title travels with the profile, no navy band) ---- */
.profile-section{ padding-top:44px; }
.profile-heading{ margin-bottom:32px; padding-bottom:28px; border-bottom:1px solid var(--hairline); }
.profile-heading h2{ font-size:clamp(24px,3vw,32px); color:var(--navy); letter-spacing:-.01em; }
.profile-heading p{ color:var(--slate); font-size:15.5px; margin-top:6px; }

/* ---- profile subsections (Career History + BAM Track Record folded into one cohesive profile) ---- */
.profile-subsection{ margin-top:40px; padding-top:36px; border-top:1px solid var(--hairline); }
.profile-subhead{ font-size:19px; text-transform:uppercase; letter-spacing:.04em; color:var(--navy); margin-bottom:22px; }

/* ---- profile photo (left column, no snapshot panel underneath) ---- */
.profile-photo{ border-radius:var(--r-lg); overflow:hidden; border:1px solid var(--hairline); }
.profile-photo img{ width:100%; height:auto; display:block; }

/* ---- executive profile cards, icons removed for a cleaner, text-led look ---- */
.cell-flat.no-icon{ padding-top:24px; }
.cell-flat.no-icon .tag{ display:block; margin-bottom:2px; }

/* ---- executive snapshot as a full-width stat strip (replaces the side panel) ---- */
.stat-strip{ display:flex; border:1px solid var(--hairline); border-radius:var(--r-lg); margin-top:32px; overflow:hidden; }
.stat-item{ flex:1; padding:22px 16px; text-align:center; border-right:1px solid var(--hairline); }
.stat-item:last-child{ border-right:none; }
.stat-value{ display:block; font-size:21px; font-weight:800; color:var(--accent); letter-spacing:-.01em; }
.stat-label{ display:block; font-size:13.5px; color:var(--slate); margin-top:4px; }

/* ---- organizational structure (Design D system: navy / teal, flat, no gradients, symmetric grid) ---- */
.org-chart{ max-width:980px; margin:0 auto; }

.org-node-ceo-wrap{ display:flex; flex-direction:column; align-items:center; }
.org-node{ border-radius:var(--r-md); padding:14px 26px; text-align:center; font-weight:800; font-size:15.5px; border:1.5px solid transparent; }
.org-node-ceo{ background:var(--navy); color:#fff; font-size:16.5px; padding:16px 30px; border-radius:var(--r-md); box-shadow:0 10px 24px rgba(11,43,96,.16); width:auto; white-space:nowrap; }

.org-stem{ width:2px; height:26px; background:var(--hairline); margin:0 auto; }
.org-stem.wide{ height:30px; }

/* 3-way split connector (CEO -> CMO / COO / CFO) */
.org-split-3{ position:relative; padding-top:26px; }
.org-split-3::before{ content:""; position:absolute; top:0; left:16.667%; right:16.667%; height:2px; background:var(--hairline); }
.org-split-3-cols{ display:grid; grid-template-columns:repeat(3,1fr); max-width:980px; margin:0 auto; }
.org-split-3-cols > div{ display:flex; justify-content:center; }
.org-split-3-cols > div::before{ content:""; width:2px; height:26px; background:var(--hairline); }

.org-lead-wrap{ display:flex; flex-direction:column; align-items:center; }
.org-lead{ border-radius:var(--r-md); padding:13px 18px; text-align:center; font-weight:800; font-size:14px; border:1.5px solid; width:100%; max-width:270px; margin:0 auto; box-sizing:border-box; white-space:nowrap; }
.org-lead.teal{ background:var(--mist-teal); border-color:var(--accent); color:var(--teal-deep); }

/* three branch columns (CMO / COO / CFO), each with a lead node + 4 stacked department boxes */
.org-columns-3{
  display:grid; grid-template-columns:repeat(3,1fr); grid-auto-rows:min-content;
  gap:14px 24px; width:100%; max-width:980px; margin:26px auto 0; align-items:stretch;
}
.org-cell{ background:#fff; border-radius:var(--r-sm); padding:16px 18px; border:1.5px solid var(--accent); display:flex; flex-direction:column; justify-content:flex-start; min-height:96px; box-sizing:border-box; text-align:left; }
.org-cell h5{ font-family:var(--font); font-size:14px; font-weight:800; line-height:1.3; color:var(--teal-deep); margin:0 0 5px; }
.org-cell p{ font-size:13.5px; color:var(--slate); line-height:1.5; margin:0; }

.org-gov-note{ background:var(--mist); border-radius:var(--r-md); padding:22px 26px; margin-top:32px; border-left:4px solid var(--navy); text-align:center; }
.org-gov-note p{ color:var(--slate); font-size:14.5px; line-height:1.65; }
.org-gov-note strong{ color:var(--navy); }


/* =========================================================
   Responsive
   ========================================================= */
@media (max-width:980px){
  .grid-4{ grid-template-columns:repeat(2,1fr); }
  .grid-flat.cols-4{ grid-template-columns:repeat(2,1fr); }
  .grid-3{ grid-template-columns:repeat(2,1fr); }
  .grid-flat.cols-3{ grid-template-columns:repeat(2,1fr); }
  .grid-flat.cols-5{ grid-template-columns:repeat(3,1fr); }
  .steps{ grid-template-columns:1fr; }
  .workflow{ grid-template-columns:repeat(2,1fr); }
  .gov-split{ grid-template-columns:1fr; }
  .contact-grid{ grid-template-columns:1fr; }
  .hero-grid{ grid-template-columns:1fr; }
  .hero-photo-wrap{ margin-top:32px; }
  .hero-photo{ height:300px; }
  .split-media{ grid-template-columns:1fr; }
  .split-media .media{ height:260px; }
}

@media (max-width:760px){
  .br-mobile{ display:block; }
  .nav-links{
    position:absolute; top:100%; left:0; right:0;
    background:#fff; flex-direction:column; align-items:flex-start;
    padding:10px 32px 20px; border-bottom:1px solid var(--hairline);
    display:none;
  }
  .nav-links a{ width:100%; padding:10px 0 10px 12px; margin-right:0; border-bottom-color:transparent !important; border-left:3px solid transparent; }
  .nav-links a.active{ color:var(--navy); font-weight:700; border-left-color:var(--accent); background:none; border-radius:0; }
  .nav-toggle:checked ~ .nav-links{ display:flex; }
  .nav-toggle-label{ display:flex; width:38px; height:38px; border-radius:9px; border:1.5px solid var(--hairline); align-items:center; justify-content:center; cursor:pointer; }
  .nav-right .btn{ display:none; }

  .grid-2{ grid-template-columns:1fr; }
  .grid-3{ grid-template-columns:1fr; }
  .grid-4{ grid-template-columns:1fr; }
  .profile-grid{ grid-template-columns:1fr; }
  .grid-flat.cols-2, .grid-flat.cols-3, .grid-flat.cols-4, .grid-flat.cols-5{ grid-template-columns:1fr; }
  .workflow{ grid-template-columns:1fr; }
  .form-grid{ grid-template-columns:1fr; }
  .audience-pills{ grid-template-columns:1fr; }
  .band-row{ flex-direction:column; align-items:flex-start; }
  /* ---- topbar: hide the secondary tagline on narrow screens so the
     location text doesn't collide with it when both wrap to 2 lines ---- */
  .topbar .wrap{ justify-content:center; text-align:center; padding:9px 20px; }
  .topbar .wrap span:last-child{ display:none; }

  .hero{ padding:32px 24px 36px; }
  .hero.compact{ padding:28px 24px 24px; }
  .section{ padding:32px 0; }

  /* ---- Services page: modal padding tightens on small screens ---- */
  .modal-box{ padding:28px 22px; }

  /* ---- Team page: stat strip wraps to a 2x2 grid ---- */
  .stat-strip{ flex-wrap:wrap; }
  .stat-item{ flex:1 1 50%; border-right:1px solid var(--hairline); border-bottom:1px solid var(--hairline); }
  .stat-item:nth-child(2n){ border-right:none; }
  .stat-item:nth-last-child(-n+2){ border-bottom:none; }

  /* ---- Team page: organizational structure collapses to a single column ---- */
  .org-split-3{ padding-top:0; }
  .org-split-3::before{ display:none; }
  .org-split-3-cols{ display:none; }
  .org-split-3::after{ content:""; display:block; width:2px; height:26px; background:var(--hairline); margin:0 auto; }
  .org-columns-3{ grid-template-columns:1fr; max-width:420px; margin-top:20px; }
  .org-cell{ min-height:0; grid-column:1 !important; grid-row:auto !important; }
  .org-lead-wrap{ grid-column:1 !important; grid-row:auto !important; }
}
