:root {
  --ink: #1d1d1f;
  --text: #424245;
  --muted: #6e6e73;
  --label: #57606a;
  --accent: #0a58ca;
  --accent-hover: #084298;
  --accent-tint: #e7f0fd;
  --bg: #fff;
  --surface: #f5f5f7;
  --surface-cool: #f6f8fa;
  --border: #d2d2d7;
  --border-cool: #d0d7de;
  --divider: #e5e7eb;
  --header-bg: rgba(255,255,255,.88);
  --soft-shadow: 0 1px 2px rgba(27, 31, 36, 0.05);
  --error-bg: #fef3f2;
  --error-border: #f4c7c3;
  --error-text: #912018;
  --sans: -apple-system, BlinkMacSystemFont, "SF Pro Text", "SF Pro Display", "Segoe UI", "Helvetica Neue", Helvetica, sans-serif;
  --display: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Segoe UI", "Helvetica Neue", Helvetica, sans-serif;
  --mono: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  --container: 1160px;
  --gutter: 24px;
  --section: 82px;
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 12px;
  --shadow: 0 1px 2px rgba(27, 31, 36, 0.05);
}

:root[data-theme="dark"] {
  color-scheme: dark;
  --ink: #f5f5f7;
  --text: #d1d1d6;
  --muted: #a1a1a6;
  --label: #98989d;
  --accent: #6aa8ff;
  --accent-hover: #8bbcff;
  --accent-tint: #172b46;
  --bg: #0b0d10;
  --surface: #15171b;
  --surface-cool: #111418;
  --border: #383a3f;
  --border-cool: #303238;
  --divider: #282a2f;
  --error-bg: #321b1e;
  --error-border: #6b3038;
  --error-text: #ffb3b8;
  --header-bg: rgba(11,13,16,.82);
  --soft-shadow: 0 1px 2px rgba(0,0,0,.3);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--sans); font-weight: 400; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; transition: background-color .35s ease, color .35s ease; }
button, input, textarea, select { font: inherit; }
button { cursor: pointer; }
a { color: var(--accent); text-decoration: none; }
a:hover { color: var(--accent-hover); }
button:focus-visible, a:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
img { max-width: 100%; display: block; }
main { min-height: 60vh; }
h1, h2, h3 { font-family: var(--display); font-weight: 600; letter-spacing: -.022em; }
h1, h2, h3, p { text-wrap: balance; }

.skip-link { position: fixed; left: 16px; top: -80px; z-index: 100; padding: 10px 14px; border-radius: var(--radius-md); background: var(--ink); color: #fff; }
.skip-link:focus { top: 16px; }
.noscript { padding: 24px; background: var(--error-bg); color: var(--error-text); text-align: center; }

.site-header { position: sticky; top: 0; z-index: 20; border-bottom: 1px solid var(--border); background: var(--header-bg); backdrop-filter: saturate(180%) blur(20px); }
.nav-inner { max-width: var(--container); min-height: 70px; margin: 0 auto; padding: 0 var(--gutter); display: flex; align-items: center; gap: 28px; }
.brand { display: inline-flex; align-items: center; gap: 9px; flex: 0 0 auto; color: var(--ink); }
.brand:hover { color: var(--ink); }
.brand-lockup { width: 164px; height: auto; }
:root[data-theme="dark"] .brand-lockup { filter: brightness(0) invert(1); }
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-name { font-size: 16px; font-weight: 600; letter-spacing: -.01em; }
.brand-sub { margin-top: 5px; font: 600 9px/1 var(--mono); letter-spacing: .2em; color: var(--accent); }
.site-nav { display: flex; align-items: center; gap: 4px; flex: 1 1 auto; }
.nav-link { min-height: 44px; padding: 0 8px; border: 0; background: transparent; color: var(--muted); font-size: 13px; }
.nav-link:hover, .nav-link[aria-current="page"] { color: var(--ink); }
.nav-link[aria-current="page"] { font-weight: 600; }
.header-cta { white-space: nowrap; }
.mobile-toggle { display: none; width: 44px; height: 44px; margin-left: auto; border: 0; background: transparent; color: var(--ink); }
.mobile-toggle svg { width: 20px; height: 20px; }
.mobile-sheet { display: none; border-top: 1px solid var(--border); padding: 8px var(--gutter) 20px; }
.mobile-sheet.open { display: flex; flex-direction: column; }
.mobile-link { min-height: 52px; border: 0; border-bottom: 1px solid var(--divider); background: transparent; text-align: left; color: var(--ink); font-size: 18px; }
.header-actions { display: flex; align-items: center; gap: 10px; margin-left: auto; }
.theme-toggle { display: inline-flex; min-height: 36px; align-items: center; gap: 7px; padding: 0 10px; border: 1px solid var(--border); border-radius: 999px; background: var(--surface); color: var(--muted); font-size: 12px; transition: background-color .2s ease, color .2s ease, border-color .2s ease; }
.theme-toggle:hover { border-color: var(--accent); color: var(--accent); }
.theme-toggle svg { flex: 0 0 auto; }
.mobile-theme-link { display: flex; align-items: center; gap: 10px; }


:root[data-theme="dark"] .portfolio,
:root[data-theme="dark"] .portfolio-row,
:root[data-theme="dark"] .area-panel,
:root[data-theme="dark"] .btn-secondary,
:root[data-theme="dark"] .field input,
:root[data-theme="dark"] .field textarea,
:root[data-theme="dark"] .field select,
:root[data-theme="dark"] .role-card,
:root[data-theme="dark"] .tab[aria-selected="true"],
:root[data-theme="dark"] .filter-tab[aria-pressed="true"] { background: var(--bg); color: var(--ink); }
:root[data-theme="dark"] .study-trigger,
:root[data-theme="dark"] .study-details { background: var(--surface); color: var(--ink); }
:root[data-theme="dark"] .map-frame iframe { filter: invert(.88) hue-rotate(180deg) saturate(.8); }

@media (min-width: 901px) {
  .mobile-sheet.open { display: none; }
}

.container { width: min(var(--container), calc(100% - 48px)); margin: 0 auto; }
.section { padding: var(--section) 0; }
.section-band { background: var(--surface); }
.page-header { padding: 56px 0 48px; background: var(--surface-cool); border-bottom: 1px solid var(--border-cool); }
.page-header-grid { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(260px, .65fr); gap: 48px; align-items: end; }
.page-header-aside { max-width: 330px; justify-self: end; padding: 20px 0 4px 26px; border-left: 1px solid var(--border-cool); }
.page-header-aside strong { display: block; margin: 9px 0 8px; font-size: 18px; line-height: 1.25; letter-spacing: -.015em; }
.page-header-aside > p:not(.meta-label) { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.55; }
.header-brief-facts { display: flex; flex-wrap: wrap; gap: 8px 16px; margin: 16px 0 6px; color: var(--label); font: 600 10px/1.4 var(--mono); }
.header-brief-note { color: var(--accent); font: 600 11px/1.4 var(--mono); }
.eyebrow, .meta-label, .kicker { margin: 0; color: var(--label); font: 600 11px/1.4 var(--mono); letter-spacing: .02em; }
.eyebrow { color: var(--accent); }
.hero { padding: 76px 0 46px; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(320px, .9fr); gap: 52px; align-items: center; }
.hero h1 { max-width: 700px; margin: 14px 0 20px; font-size: clamp(35px, 4.6vw, 54px); line-height: 1.08; letter-spacing: -.045em; font-weight: 600; }
.hero-lead, .page-lead { max-width: 680px; margin: 0; color: var(--muted); font-size: 19px; line-height: 1.55; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; margin-top: 28px; }
.hero-media { margin: 0; }
.hero-media { position: relative; }
.hero-media img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; border-radius: var(--radius-lg); border: 1px solid var(--border-cool); }
.hero-media figcaption { position: absolute; right: 14px; bottom: 14px; padding: 8px 10px; border: 1px solid rgba(255,255,255,.75); border-radius: var(--radius-sm); background: rgba(255,255,255,.88); color: var(--label); font: 600 10px/1.3 var(--mono); backdrop-filter: blur(10px); }

.btn { display: inline-flex; min-height: 44px; align-items: center; justify-content: center; gap: 8px; padding: 0 18px; border: 1px solid transparent; border-radius: var(--radius-md); font-size: 14px; font-weight: 600; letter-spacing: -.01em; transition: background-color .2s ease, border-color .2s ease, color .2s ease, transform .2s ease, box-shadow .2s ease; }
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-hover); color: #fff; }
.btn-secondary { background: #fff; border-color: var(--border); color: var(--ink); }
.btn-secondary:hover { border-color: #8c959f; color: var(--ink); }
.btn-link { min-height: 44px; padding: 0; border: 0; background: transparent; color: var(--accent); }
.btn-link:hover { color: var(--accent-hover); }
.btn-small { min-height: 36px; padding: 0 12px; font-size: 13px; }

.portfolio { overflow: hidden; border: 1px solid var(--border-cool); border-radius: var(--radius-lg); background: #fff; box-shadow: var(--shadow); }
.panel-head { padding: 15px 20px; border-bottom: 1px solid var(--border-cool); background: var(--surface-cool); }
.panel-head-row { display: flex; flex-wrap: wrap; gap: 8px 18px; justify-content: space-between; align-items: baseline; }
.panel-title { font-size: 15px; font-weight: 600; }
.panel-subtitle { color: var(--label); font: 500 11px/1.4 var(--mono); }
.portfolio-grid { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(250px, .75fr); }
.portfolio-items { min-width: 0; }
.portfolio-row { width: 100%; min-height: 70px; padding: 15px 20px; display: flex; align-items: center; justify-content: space-between; gap: 18px; border: 0; border-bottom: 1px solid var(--divider); background: #fff; color: var(--ink); text-align: left; }
.portfolio-row:hover { background: #fbfcfd; }
.row-title { display: block; font-size: 14px; font-weight: 600; line-height: 1.35; }
.row-meta { display: block; margin-top: 5px; color: var(--label); font: 500 11px/1.4 var(--mono); }
.status-pill { display: inline-flex; flex: 0 0 auto; align-items: center; gap: 6px; padding: 4px 8px; border-radius: var(--radius-sm); font: 600 11px/1.2 var(--mono); }
.status-dot { width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.status-progress { background: var(--accent-tint); color: var(--accent); }
.status-completed { background: #eef0f2; color: #68717c; }
.portfolio-aside { padding: 4px 20px 18px; border-left: 1px solid var(--divider); }
.fact { padding: 14px 0; border-bottom: 1px solid var(--divider); }
.fact:last-of-type { border-bottom: 0; }
.fact dt { margin-bottom: 5px; color: var(--label); font: 600 11px/1.4 var(--mono); }
.fact dd { margin: 0; font-size: 13px; line-height: 1.45; }
.bar { display: flex; gap: 3px; height: 8px; margin: 17px 20px 10px; }
.bar span { border-radius: 2px; }
.bar .b1 { flex: 3; background: var(--accent); }
.bar .b2 { flex: 1; background: #8c959f; }
.bar .b3 { flex: 4; background: #d0d7de; }
.legend { display: flex; flex-wrap: wrap; gap: 4px 16px; padding: 0 20px 16px; color: var(--label); font: 500 11px/1.4 var(--mono); }
.legend strong { color: var(--accent); }

.engagement-strip { border-top: 1px solid var(--border-cool); border-bottom: 1px solid var(--border-cool); background: var(--surface-cool); }
.engagement-grid { display: grid; grid-template-columns: 1.2fr 1fr 1fr 1.15fr; align-items: stretch; }
.engagement-intro, .engagement-link, .engagement-proof { min-height: 84px; padding: 16px 20px; }
.engagement-intro { display: flex; flex-direction: column; justify-content: center; border-right: 1px solid var(--border-cool); }
.engagement-intro strong { margin-top: 5px; font-size: 14px; line-height: 1.3; }
.engagement-link { display: flex; align-items: center; gap: 10px; border-right: 1px solid var(--border-cool); color: var(--ink); }
.engagement-link:hover { color: var(--accent); background: #fff; }
.engagement-link b, .engagement-link small { display: block; }
.engagement-link b { font-size: 13px; line-height: 1.3; }
.engagement-link small { margin-top: 4px; color: var(--muted); font-size: 11px; }
.engagement-icon { display: grid; width: 28px; height: 28px; flex: 0 0 auto; place-items: center; border: 1px solid var(--accent); border-radius: 50%; color: var(--accent); font-size: 15px; }
.engagement-proof { display: flex; flex-direction: column; justify-content: center; gap: 5px; color: var(--label); font: 500 10px/1.35 var(--mono); }
.engagement-proof b { color: var(--ink); font-weight: 700; }

.section-heading { max-width: 760px; margin-bottom: 34px; }
.section-heading h2, .page-header h1 { margin: 9px 0 12px; font-size: clamp(29px, 3.3vw, 39px); line-height: 1.12; letter-spacing: -.028em; font-weight: 600; }
.section-heading p { max-width: 660px; margin: 0; color: var(--muted); font-size: 18px; line-height: 1.5; }
.tabs { display: inline-flex; flex-wrap: wrap; gap: 3px; padding: 3px; border-radius: var(--radius-md); background: #e8e8ed; }
.tab { min-height: 42px; padding: 0 16px; border: 0; border-radius: var(--radius-sm); background: transparent; color: var(--ink); font-size: 13px; }
.tab[aria-selected="true"] { background: #fff; box-shadow: 0 1px 3px rgba(0,0,0,.1); font-weight: 600; }
.area-panel { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(280px, .7fr); gap: 32px; margin-top: 20px; padding: 38px 40px; border-radius: var(--radius-lg); background: #fff; }
.area-panel[hidden] { display: none; }
.area-panel h3 { margin: 8px 0 12px; font-size: 25px; line-height: 1.15; letter-spacing: -.018em; }
.area-panel p { max-width: 62ch; margin: 0; color: var(--text); font-size: 16px; line-height: 1.6; }
.area-side { padding-left: 32px; border-left: 1px solid var(--divider); }
.check-list { display: flex; flex-direction: column; gap: 14px; margin: 12px 0 0; padding: 0; list-style: none; }
.check-list li { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; line-height: 1.45; }
.check-list svg { flex: 0 0 auto; margin-top: 2px; }

.card-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.card-grid.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.card-grid.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.card { padding: 22px; border: 1px solid var(--border); border-radius: var(--radius-lg); background: var(--bg); box-shadow: var(--soft-shadow); }
.card h3 { margin: 0 0 8px; font-size: 16px; line-height: 1.3; }
.card p { margin: 0; color: var(--text); font-size: 14px; line-height: 1.55; }
.card .meta-label { margin-bottom: 12px; }
.number-card { position: relative; padding-top: 46px; }
.number { position: absolute; top: 19px; left: 22px; color: var(--accent); font: 600 12px/1 var(--mono); }
.audience-card { min-height: 180px; display: flex; flex-direction: column; justify-content: space-between; }
.audience-card .btn-link { align-self: flex-start; }

.fact-strip { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--border-cool); border-bottom: 1px solid var(--border-cool); }
.fact-strip .fact { padding: 18px 20px; border-right: 1px solid var(--border-cool); }
.fact-strip .fact:last-child { border-right: 0; }
.fact-value { display: block; margin-top: 5px; font-size: 15px; line-height: 1.35; }

.filters { display: flex; flex-wrap: wrap; gap: 10px 16px; align-items: center; margin-bottom: 18px; }
.filter-tabs { display: inline-flex; flex-wrap: wrap; gap: 3px; padding: 3px; border-radius: var(--radius-md); background: #e8e8ed; }
.filter-tab { min-height: 38px; padding: 0 12px; border: 0; border-radius: var(--radius-sm); background: transparent; color: var(--ink); font-size: 12px; }
.filter-tab[aria-pressed="true"] { background: #fff; box-shadow: 0 1px 3px rgba(0,0,0,.1); font-weight: 600; }
.chips { display: flex; flex-wrap: wrap; gap: 7px; }
.chip { min-height: 32px; padding: 0 10px; border: 1px solid var(--border); border-radius: 99px; background: #fff; color: var(--muted); font-size: 12px; }
.chip[aria-pressed="true"] { border-color: var(--accent); background: var(--accent-tint); color: var(--accent); font-weight: 600; }
.study-list { border-top: 1px solid var(--border-cool); }
.study-row { border-bottom: 1px solid var(--divider); }
.study-trigger { width: 100%; display: grid; grid-template-columns: minmax(0, 1fr) 150px 110px 24px; gap: 16px; align-items: center; padding: 18px 16px; border: 0; background: #fff; color: var(--ink); text-align: left; }
.study-trigger:hover { background: #fbfcfd; }
.study-trigger .study-title { font-size: 15px; font-weight: 600; line-height: 1.35; }
.study-trigger .study-meta { display: block; margin-top: 5px; color: var(--label); font: 500 11px/1.4 var(--mono); }
.study-chevron { color: var(--muted); transition: transform .2s ease; }
.study-row.open .study-chevron { transform: rotate(180deg); }
.study-details { display: none; grid-template-columns: minmax(0, 1fr) minmax(220px, .6fr); gap: 24px; padding: 0 16px 22px 16px; background: #fbfcfd; }
.study-row.open .study-details { display: grid; }
.study-details p { margin: 0; color: var(--text); font-size: 14px; line-height: 1.6; }
.study-facts { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.study-facts .fact { padding: 0 0 10px; border-bottom: 1px solid var(--divider); }
.study-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.pipeline-card { display: flex; flex-direction: column; justify-content: space-between; min-height: 150px; }
.pipeline-state { margin-top: 16px; color: var(--accent); font: 600 11px/1.4 var(--mono); }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; counter-reset: step; }
.step { position: relative; padding: 24px 22px 22px 56px; border-top: 1px solid var(--border); }
.step::before { counter-increment: step; content: "0" counter(step); position: absolute; top: 24px; left: 0; color: var(--accent); font: 600 12px/1 var(--mono); }
.step h3 { margin: 0 0 8px; font-size: 16px; }
.step p { margin: 0; color: var(--text); font-size: 14px; line-height: 1.55; }

.team-jump { display: flex; flex-wrap: wrap; gap: 8px 16px; margin: 24px 0 42px; padding: 15px 0; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.jump-link { font: 600 12px/1.4 var(--mono); }
.people-section { margin-top: 42px; }
.people-heading { display: flex; justify-content: space-between; align-items: baseline; gap: 18px; margin-bottom: 16px; }
.people-heading h2 { margin: 0; font-size: 23px; letter-spacing: -.02em; }
.people-list { border-top: 1px solid var(--border); }
.person-row { display: grid; grid-template-columns: 72px minmax(0, 1fr) auto; gap: 18px; align-items: center; padding: 18px 0; border-bottom: 1px solid var(--divider); }
.person-photo { width: 72px; height: 90px; object-fit: cover; border-radius: var(--radius-md); background: var(--surface); }
.person-name { margin: 0 0 4px; font-size: 16px; font-weight: 600; }
.person-role { margin: 0 0 8px; color: var(--label); font: 500 11px/1.4 var(--mono); }
.person-bio { margin: 0; max-width: 70ch; color: var(--text); font-size: 14px; line-height: 1.5; }
.person-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.tag { padding: 4px 7px; border-radius: var(--radius-sm); background: var(--surface-cool); color: var(--label); font: 500 10px/1.2 var(--mono); }
.person-actions { align-self: center; }
.bio-full { display: none; margin: 14px 0 0 90px; padding: 16px 18px; border-left: 2px solid var(--accent); background: var(--surface-cool); color: var(--text); font-size: 14px; line-height: 1.6; }
.person-row.open .bio-full { display: block; }
.operation-card { display: grid; grid-template-columns: 86px minmax(0, 1fr); grid-template-rows: auto auto; gap: 12px 16px; align-items: start; }
.operation-card img { grid-row: 1 / span 2; width: 86px; height: 108px; object-fit: cover; border-radius: var(--radius-md); background: var(--surface); }
.operation-card > div { grid-column: 2; }
.operation-card > button { grid-column: 2; justify-self: start; }

.capability-card { min-height: 180px; display: flex; flex-direction: column; justify-content: space-between; }
.spec { padding-top: 14px; border-top: 1px solid var(--divider); color: var(--label); font: 500 11px/1.4 var(--mono); }
.location-panel { display: grid; grid-template-columns: 1.1fr .9fr; gap: 30px; padding: 34px 0; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.location-panel h3 { margin: 0 0 10px; font-size: 21px; }
.location-panel p { margin: 0; color: var(--text); font-size: 15px; line-height: 1.6; }
.location-section { padding-top: 72px; }
.location-intro { display: grid; grid-template-columns: 1.1fr .9fr; gap: 42px; padding: 0 0 28px; border-top: 1px solid var(--border); }
.location-intro > div { padding-top: 28px; }
.location-intro h2 { margin: 10px 0 12px; font-size: clamp(30px, 3.3vw, 42px); line-height: 1.08; letter-spacing: -.035em; font-weight: 600; }
.location-summary { max-width: 44ch; margin: 0; color: var(--text); font-size: 16px; line-height: 1.55; }
.location-details { border-left: 1px solid var(--border); padding-left: 30px; }
.location-details dl { margin: 0; }
.location-details .fact { padding: 0 0 13px; margin-bottom: 13px; border-bottom: 1px solid var(--divider); }
.location-details .fact:last-child { margin-bottom: 16px; }
.location-details dd { margin: 5px 0 0; color: var(--text); font-size: 14px; line-height: 1.5; }
.location-section .map-card { margin-top: 0; }
.location-section .map-frame { height: 360px; }

.contact-layout { display: grid; grid-template-columns: minmax(0, 1fr) 290px; gap: 48px; align-items: start; }
.role-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; margin: 22px 0 26px; }
.role-card { min-height: 112px; padding: 16px; border: 1px solid var(--border); border-radius: var(--radius-md); background: #fff; color: var(--ink); text-align: left; }
.role-card[aria-pressed="true"] { border-color: var(--accent); box-shadow: 0 0 0 2px var(--accent-tint); }
.role-card strong { display: block; margin-bottom: 6px; font-size: 14px; }
.role-card span { display: block; color: var(--muted); font-size: 13px; line-height: 1.45; }
.form-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.field { display: flex; flex-direction: column; gap: 7px; }
.field.full { grid-column: 1 / -1; }
.field label { color: var(--label); font: 600 11px/1.4 var(--mono); }
.field input, .field textarea, .field select { width: 100%; min-height: 44px; padding: 9px 11px; border: 1px solid var(--border); border-radius: var(--radius-md); background: #fff; color: var(--ink); }
.field textarea { min-height: 120px; resize: vertical; }
.form-footer { display: flex; flex-wrap: wrap; gap: 14px 20px; align-items: center; margin-top: 18px; }
.checkbox { display: flex; gap: 9px; align-items: flex-start; color: var(--text); font-size: 13px; line-height: 1.45; }
.checkbox input { width: 17px; height: 17px; margin-top: 2px; accent-color: var(--accent); }
.form-message { display: none; margin: 16px 0 0; padding: 12px 14px; border: 1px solid var(--error-border); border-radius: var(--radius-md); background: var(--error-bg); color: var(--error-text); font-size: 13px; line-height: 1.45; }
.form-message.show { display: block; }
.form-message.success { border-color: #b7d7bf; background: #eef8f0; color: #1c5d2b; }
.sidebar { padding-left: 24px; border-left: 1px solid var(--border); }
.sidebar h2 { margin: 0 0 14px; font-size: 18px; }
.sidebar p { margin: 0 0 18px; color: var(--text); font-size: 14px; line-height: 1.55; }

.map-card { overflow: hidden; margin-top: 24px; border: 1px solid var(--border); border-radius: var(--radius-lg); background: var(--surface); box-shadow: var(--soft-shadow); }
.map-frame { height: 230px; background: var(--surface-cool); }
.map-frame iframe { width: 100%; height: 100%; border: 0; filter: var(--map-filter, none); }
.map-caption { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 16px 18px; }
.map-caption strong, .map-caption span { display: block; }
.map-caption strong { margin-top: 5px; font-size: 13px; }
.map-caption span { margin-top: 3px; color: var(--muted); font-size: 12px; }

.accordion { border-top: 1px solid var(--border); }
.accordion-item { border-bottom: 1px solid var(--divider); }
.accordion-trigger { width: 100%; display: flex; justify-content: space-between; gap: 18px; padding: 19px 0; border: 0; background: transparent; color: var(--ink); text-align: left; font-size: 16px; font-weight: 600; }
.accordion-trigger svg { flex: 0 0 auto; color: var(--muted); transition: transform .2s ease; }
.accordion-item.open .accordion-trigger svg { transform: rotate(45deg); }
.accordion-answer { display: none; max-width: 70ch; padding: 0 48px 20px 0; color: var(--text); font-size: 15px; line-height: 1.6; }
.accordion-item.open .accordion-answer { display: block; }

.callout { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px 24px; padding: 26px 28px; border: 1px solid var(--border-cool); border-radius: var(--radius-lg); background: var(--surface-cool); }
.callout h2 { margin: 0 0 6px; font-size: 20px; }
.callout p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.5; }

.site-footer { margin-top: var(--section); padding: 54px 0 28px; border-top: 1px solid var(--border); background: var(--surface); }
.footer-grid { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 28px; }
.footer-brand p { max-width: 300px; margin: 16px 0 0; color: var(--muted); font-size: 13px; line-height: 1.55; }
.footer-col h2 { margin: 0 0 12px; color: var(--label); font: 600 11px/1.4 var(--mono); }
.footer-col a, .footer-col button { display: block; padding: 4px 0; border: 0; background: transparent; color: var(--text); font-size: 13px; text-align: left; }
.footer-col a:hover, .footer-col button:hover { color: var(--accent); }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin-top: 44px; padding-top: 16px; border-top: 1px solid var(--border); color: var(--muted); font: 500 11px/1.4 var(--mono); }

.empty-state { padding: 34px 20px; border: 1px dashed var(--border); color: var(--muted); text-align: center; font-size: 14px; }
.loading { min-height: 50vh; display: grid; place-items: center; color: var(--muted); font: 500 12px/1.4 var(--mono); }

@media (max-width: 980px) {
  .site-nav { gap: 0; }
  .nav-link { padding: 0 5px; font-size: 12px; }
  .hero-grid, .page-header-grid { grid-template-columns: 1fr; }
  .page-header-aside { max-width: 520px; justify-self: start; padding: 18px 0 0; border-top: 1px solid var(--border-cool); border-left: 0; }
  .hero-media { max-width: 620px; }
  .portfolio-grid, .contact-layout { grid-template-columns: 1fr; }
  .portfolio-aside { border-left: 0; border-top: 1px solid var(--divider); }
  .area-panel, .location-panel { grid-template-columns: 1fr; }
  .location-intro { grid-template-columns: 1fr; gap: 0; }
  .location-details { padding-left: 0; border-left: 0; }
  .area-side { padding: 22px 0 0; border-top: 1px solid var(--divider); border-left: 0; }
  .card-grid { grid-template-columns: repeat(2, 1fr); }
  .sidebar { padding: 24px 0 0; border-top: 1px solid var(--border); border-left: 0; }
}

@media (max-width: 900px) {
  .site-nav, .header-cta { display: none; }
  .mobile-toggle { display: inline-flex; align-items: center; justify-content: center; }
}

@media (max-width: 760px) {
  :root { --section: 64px; --gutter: 18px; }
  .container { width: min(var(--container), calc(100% - 36px)); }
  .site-header .nav-inner { min-height: 64px; gap: 12px; }
  .brand-lockup { width: 154px; }
  .hero { padding-top: 52px; }
  .hero h1 { font-size: clamp(34px, 10vw, 45px); }
  .page-header { padding: 48px 0 42px; }
  .page-header h1 { font-size: 32px; }
  .location-section { padding-top: 56px; }
  .location-intro > div { padding-top: 22px; }
  .location-intro h2 { font-size: 32px; }
  .location-section .map-frame { height: 260px; }
  .map-caption { align-items: flex-start; flex-direction: column; }
  .portfolio-row { align-items: flex-start; flex-direction: column; gap: 10px; }
  .fact-strip { grid-template-columns: repeat(2, 1fr); }
  .fact-strip .fact:nth-child(2) { border-right: 0; }
  .fact-strip .fact:nth-child(-n+2) { border-bottom: 1px solid var(--border-cool); }
  .area-panel { padding: 26px 22px; }
  .card-grid, .card-grid.two, .card-grid.three, .steps, .role-grid, .form-grid { grid-template-columns: 1fr; }
  .study-trigger { grid-template-columns: minmax(0, 1fr) 24px; gap: 8px; }
  .study-trigger .status-pill, .study-trigger .study-condition { display: none; }
  .study-details { grid-template-columns: 1fr; }
  .study-facts { grid-template-columns: 1fr 1fr; }
  .person-row { grid-template-columns: 56px minmax(0, 1fr); gap: 12px; }
  .person-photo { width: 56px; height: 70px; }
  .person-actions { grid-column: 2; justify-self: start; }
  .bio-full { margin-left: 68px; }
  .operation-card { grid-template-columns: 72px minmax(0, 1fr); }
  .operation-card img { width: 72px; height: 90px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .engagement-grid { grid-template-columns: 1fr 1fr; }
  .engagement-intro { grid-column: 1 / -1; border-right: 0; border-bottom: 1px solid var(--border-cool); }
  .engagement-link { min-height: 92px; padding: 14px 16px; }
  .engagement-link:nth-child(3) { border-right: 0; }
  .engagement-proof { grid-column: 1 / -1; min-height: 58px; padding: 12px 16px; border-top: 1px solid var(--border-cool); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .001ms !important; animation-duration: .001ms !important; animation-iteration-count: 1 !important; }
}


/* Site-wide typography and layout refinement */
:root {
  --container: 1120px;
  --gutter: 28px;
  --section: 88px;
}

body {
  font-size: 16px;
  line-height: 1.5;
  letter-spacing: -0.005em;
}

h1, h2, h3 { text-wrap: balance; }

.container { width: min(var(--container), calc(100% - (var(--gutter) * 2))); }
.nav-inner { min-height: 68px; gap: 24px; }
.nav-link { font-size: 12.5px; letter-spacing: -0.01em; }

.page-header { padding: 68px 0 58px; }
.page-header-grid { gap: 56px; }
.page-header h1 { max-width: 760px; margin: 11px 0 16px; font-size: clamp(38px, 4.5vw, 58px); line-height: 1.045; letter-spacing: -0.048em; }
.page-lead { max-width: 650px; font-size: 18px; line-height: 1.55; }
.page-header-aside { max-width: 320px; padding-left: 30px; }
.page-header-aside strong { font-size: 17px; }

.hero { padding: 88px 0 56px; }
.hero-grid { gap: 64px; }
.hero h1 { max-width: 680px; margin: 14px 0 22px; font-size: clamp(40px, 5vw, 62px); line-height: 1.02; letter-spacing: -0.055em; }
.hero-lead { max-width: 640px; font-size: 18px; line-height: 1.58; }
.hero-actions { margin-top: 30px; }

.section-heading { max-width: 720px; margin-bottom: 38px; }
.section-heading h2 { margin: 10px 0 14px; font-size: clamp(30px, 3.2vw, 42px); line-height: 1.08; letter-spacing: -0.04em; }
.section-heading p { max-width: 620px; font-size: 17px; line-height: 1.58; }
.eyebrow, .meta-label, .kicker { font-size: 10px; letter-spacing: .06em; }

.btn { min-height: 46px; padding: 0 19px; border-radius: 11px; font-size: 14px; letter-spacing: -0.012em; }
.btn-small { min-height: 36px; padding: 0 13px; font-size: 12px; }
.btn-link { min-height: 42px; font-size: 14px; }

.card { padding: 25px; border-radius: 14px; }
.card h3 { margin-bottom: 9px; font-size: 17px; line-height: 1.28; letter-spacing: -0.022em; }
.card p { font-size: 14px; line-height: 1.58; }
.card-grid { gap: 16px; }

.fact-strip .fact { padding: 20px 22px; }
.fact-value { font-size: 15px; line-height: 1.4; }
.fact dt { font-size: 10px; letter-spacing: .05em; }

.portfolio { border-radius: 14px; }
.panel-head { padding: 17px 22px; }
.portfolio-row { min-height: 74px; padding: 16px 22px; }
.row-title { font-size: 15px; }
.row-meta { font-size: 10px; }
.portfolio-aside { padding-left: 22px; padding-right: 22px; }

.area-panel { gap: 42px; margin-top: 22px; padding: 42px; border-radius: 14px; }
.area-panel h3 { margin-bottom: 14px; font-size: 27px; letter-spacing: -0.03em; }
.area-panel p { font-size: 15px; line-height: 1.65; }

.steps { gap: 18px; }
.step { padding: 27px 24px 24px 58px; }
.step h3 { margin-bottom: 9px; font-size: 17px; letter-spacing: -0.02em; }
.step p { font-size: 14px; line-height: 1.58; }

.people-heading h2 { font-size: 26px; letter-spacing: -0.035em; }
.person-row { gap: 20px; padding: 21px 0; }
.person-name { font-size: 17px; letter-spacing: -0.02em; }
.person-bio { font-size: 14px; line-height: 1.58; }

.location-intro { gap: 56px; padding-bottom: 34px; }
.location-intro h2 { font-size: clamp(34px, 4vw, 48px); letter-spacing: -0.045em; }
.location-summary { font-size: 16px; line-height: 1.6; }
.location-details { padding-left: 36px; }
.location-section .map-frame { height: 380px; }

.contact-layout { gap: 56px; }
.role-card { min-height: 120px; padding: 18px; border-radius: 12px; }
.role-card strong { font-size: 15px; }
.role-card span { font-size: 13px; line-height: 1.5; }
.field label { font-size: 12px; }
.field input, .field textarea, .field select { min-height: 48px; font-size: 15px; }

.site-footer { padding-top: 62px; }
.footer-grid { gap: 34px; }
.footer-col a, .footer-col button { font-size: 13px; }

@media (max-width: 760px) {
  :root { --section: 68px; --gutter: 18px; }
  .container { width: min(var(--container), calc(100% - 36px)); }
  .nav-inner { min-height: 64px; }
  .brand-lockup { width: 150px; }
  .page-header { padding: 54px 0 44px; }
  .page-header h1 { margin: 10px 0 14px; font-size: clamp(34px, 9.5vw, 43px); line-height: 1.04; }
  .page-lead { font-size: 17px; line-height: 1.55; }
  .hero { padding: 60px 0 40px; }
  .hero h1 { font-size: clamp(38px, 10.5vw, 49px); line-height: 1.03; }
  .hero-lead { font-size: 17px; }
  .section-heading { margin-bottom: 28px; }
  .section-heading h2 { font-size: 31px; }
  .section-heading p { font-size: 16px; }
  .card { padding: 21px; }
  .area-panel { padding: 28px 22px; }
  .location-section { padding-top: 58px; }
  .location-intro { gap: 0; }
  .location-intro h2 { font-size: 34px; }
  .location-details { padding-left: 0; }
  .location-section .map-frame { height: 270px; }
  .contact-layout { gap: 34px; }
  .site-footer { padding-top: 52px; }
}


/* Numbered advantage cards: clearer label-to-content rhythm */
.number-card { padding-top: 58px; }
.number { top: 22px; left: 24px; }

#contact-form { scroll-margin-top: 92px; }


/* Map card refinement */
.map-card { border-radius: 18px; box-shadow: 0 14px 34px rgba(20, 30, 45, .10); }
.map-frame { background: #eef1f5; }
.map-caption { gap: 14px; padding: 17px 18px 18px; }
.map-caption > div { min-width: 0; }
.map-caption strong { max-width: 230px; font-size: 13px; line-height: 1.35; letter-spacing: -.01em; }
.map-caption span { line-height: 1.4; }
.map-caption .btn-link { white-space: nowrap; font-size: 13px; }
.sidebar .map-card .map-frame { height: 190px; }
.sidebar .map-caption { position: relative; min-height: 92px; padding-right: 118px; }
.sidebar .map-caption .btn-link { position: absolute; top: 27px; right: 16px; }
.location-section .map-card { box-shadow: 0 16px 38px rgba(20, 30, 45, .08); }

@media (max-width: 760px) {
  .sidebar .map-card .map-frame { height: 210px; }
  .sidebar .map-caption { min-height: 100px; }
}


/* Unified type system: one family, hierarchy through scale and spacing */
:root {
  --display: var(--sans);
  --mono: var(--sans);
}

body,
button,
input,
textarea,
select,
h1,
h2,
h3,
p,
a,
label,
legend,
dt,
dd,
small,
strong,
span {
  font-family: var(--sans);
}

h1, h2, h3 { font-family: var(--sans); }
.eyebrow, .meta-label, .kicker,
.header-brief-facts, .header-brief-note,
.panel-subtitle, .row-meta, .status-pill,
.fact dt, .legend, .engagement-proof,
.study-trigger .study-meta, .pipeline-state,
.step::before, .jump-link, .person-role, .tag,
.spec, .field label, .footer-col h2, .footer-bottom,
.loading, .brand-sub {
  font-family: var(--sans);
}

/* Optical hierarchy remains distinct without switching typefaces. */
.eyebrow, .meta-label, .kicker { letter-spacing: .075em; }
.header-brief-facts, .header-brief-note { letter-spacing: .035em; }
.fact dt, .field label, .footer-col h2 { letter-spacing: .055em; }
.row-meta, .panel-subtitle, .person-role, .spec { letter-spacing: .02em; }

/* Layout rhythm: consistent reading widths and section cadence. */
.page-header-grid, .hero-grid, .contact-layout { align-items: start; }
.page-header-aside { margin-top: 4px; }
.section-heading { margin-bottom: 36px; }
.card-grid { align-items: stretch; }
.card { height: 100%; }

@media (max-width: 760px) {
  .page-header-grid, .hero-grid, .contact-layout { align-items: stretch; }
  .section-heading { margin-bottom: 30px; }
}


/* Priority optimization pass: clearer conversion paths and tighter responsive rhythm */
.steps {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}

.location-panel {
  margin-top: -30px;
}

.role-grid {
  gap: 12px;
  margin-bottom: 20px;
}
.role-card {
  min-height: 96px;
  padding: 16px;
}
.role-card[aria-pressed="true"] {
  background: var(--accent-tint);
  border-color: var(--accent);
  box-shadow: inset 0 0 0 1px var(--accent), 0 6px 18px rgba(10, 88, 202, .10);
}
#contact-form .form-grid { margin-top: 4px; }
#contact-form .form-footer .btn-primary { min-width: 132px; }

@media (max-width: 1100px) {
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 760px) {
  .steps { grid-template-columns: 1fr; gap: 12px; }
  .location-panel { margin-top: -18px; }
  .role-card { min-height: 88px; padding: 15px; }
  .hero { padding-bottom: 28px; }
  .hero-media img {
    aspect-ratio: 1.22 / 1;
    object-fit: cover;
  }
}


/* Final Facilities rhythm adjustment */
.location-panel { margin-top: -52px; }
@media (max-width: 760px) {
  .location-panel { margin-top: -24px; }
}


/* Final accessibility, optical type, and interaction polish */
:root {
  --muted: #636366;
  --focus-ring: #0a58ca;
}

body,
h1, h2, h3,
button, input, textarea, select {
  font-kerning: normal;
  font-optical-sizing: auto;
}
body { text-rendering: optimizeLegibility; }
h1, h2, h3 { text-wrap: balance; }

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.required-mark { color: var(--error-text); }

button:focus-visible,
a:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
  outline: 3px solid var(--focus-ring);
  outline-offset: 3px;
}

.btn,
.btn-link,
.role-card,
.theme-toggle,
.portfolio-row,
.study-trigger,
.engagement-link,
.tab,
.filter-tab,
.chip,
.accordion-trigger {
  -webkit-tap-highlight-color: transparent;
}
.btn { will-change: transform, box-shadow; }
.btn-primary {
  box-shadow: 0 1px 2px rgba(10, 88, 202, .16);
}
.btn-primary:hover {
  box-shadow: 0 7px 18px rgba(10, 88, 202, .22);
}
.btn-primary:active,
.btn-secondary:active,
.role-card:active,
.theme-toggle:active {
  transform: translateY(0) scale(.985);
}
.btn-secondary:hover {
  background: var(--surface-cool);
  box-shadow: 0 4px 12px rgba(27, 31, 36, .08);
}
.btn-link:hover {
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}

.role-card {
  transition: transform .2s ease, border-color .2s ease, background-color .2s ease, box-shadow .2s ease;
}
.role-card:hover {
  border-color: var(--accent);
  background: var(--surface-cool);
  box-shadow: 0 5px 16px rgba(27, 31, 36, .08);
  transform: translateY(-2px);
}
.role-card[aria-pressed="true"]:hover {
  background: var(--accent-tint);
}
.field input,
.field textarea,
.field select {
  transition: border-color .2s ease, box-shadow .2s ease, background-color .2s ease;
}
.field input:focus-visible,
.field textarea:focus-visible,
.field select:focus-visible {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-tint);
}

.status-completed { color: #4d5660; }
:root[data-theme="dark"] .status-completed {
  background: #2c3036;
  color: #d1d1d6;
}
:root[data-theme="dark"] .portfolio-row:hover,
:root[data-theme="dark"] .study-trigger:hover,
:root[data-theme="dark"] .engagement-link:hover,
:root[data-theme="dark"] .role-card:hover {
  background: var(--surface);
}
:root[data-theme="dark"] .btn-secondary:hover {
  background: var(--surface-cool);
}

.accordion-answer[hidden] { display: none; }

@media (prefers-reduced-motion: reduce) {
  .btn:hover,
  .role-card:hover { transform: none; }
  .btn { will-change: auto; }
}


/* Header type refinement: readable at tablet widths, restrained at desktop */
.nav-inner { gap: 26px; }
.site-nav { gap: 6px; }
.nav-link {
  padding: 0 8px;
  font-size: clamp(12.5px, .95vw, 13.5px);
  letter-spacing: -.008em;
}
.nav-link[aria-current="page"] { font-weight: 600; }
@media (max-width: 980px) and (min-width: 901px) {
  .site-nav { gap: 2px; }
  .nav-link { padding: 0 5px; font-size: 12.5px; }
}


/* Narrow desktop header: preserve one-line navigation without crowding */
@media (max-width: 980px) and (min-width: 901px) {
  .header-cta { display: none; }
  .nav-link { white-space: nowrap; }
}


/* Page-title hierarchy: strong but proportionate across short and long headings */
.page-header h1 {
  max-width: 780px;
  font-size: clamp(38px, 4.2vw, 56px);
  line-height: 1.06;
  letter-spacing: -.045em;
}
.page-header .eyebrow {
  font-size: 11px;
  letter-spacing: .075em;
}
@media (max-width: 760px) {
  .page-header h1 {
    font-size: clamp(34px, 9.5vw, 43px);
    line-height: 1.05;
  }
}


/* Slight page-title lift: more presence without the oversized treatment */
.page-header h1 {
  font-size: clamp(39px, 4.4vw, 59px);
  line-height: 1.05;
}
@media (max-width: 760px) {
  .page-header h1 {
    font-size: clamp(35px, 9.7vw, 45px);
    line-height: 1.05;
  }
}


/* Final title split: optimal black headings, slightly larger blue page labels */
.page-header h1 {
  font-size: clamp(38px, 4.2vw, 56px);
  line-height: 1.06;
  letter-spacing: -.045em;
}
.hero .eyebrow,
.page-header .eyebrow {
  font-size: 12px;
  line-height: 1.45;
  letter-spacing: .08em;
}
@media (max-width: 760px) {
  .page-header h1 {
    font-size: clamp(34px, 9.5vw, 43px);
    line-height: 1.05;
  }
  .hero .eyebrow,
  .page-header .eyebrow {
    font-size: 11.5px;
  }
}
