:root {
  color-scheme: light;
  --bg: #eceded;
  --surface: #ffffff;
  --surface-soft: #e0e2e4;
  --ink: #1c2026;
  --muted: #58606a;
  --line: #d4d7da;
  --gold-text: #3a4048;
  --gold: #4a525c;
  --navy: #55606c;
  --navy-2: #66727e;
  --on-navy: #ffffff;
  --on-navy-muted: #e4e7ea;
  --hero-a: #d6d8db;
  --hero-b: #8d97a1;
  --shadow: 0 14px 34px -20px rgba(40, 48, 58, 0.4);
  --display: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --body: "Jost", "Helvetica Neue", Arial, sans-serif;
}
.hero-band, .contact { --on-navy: #161a20; --on-navy-muted: #343b44; --gold: #3a4048; }
.case { --gold: #e8ebee; }

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 72px; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font-family: var(--body); font-size: 16px; line-height: 1.6;
  padding-left: max(16px, env(safe-area-inset-left, 0px));
  padding-right: max(16px, env(safe-area-inset-right, 0px));
}
h1, h2, h3, h4 { font-family: var(--display); font-weight: 700; line-height: 1.1; margin: 0; text-wrap: balance; }
p { margin: 0; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 6px; }
.wrap { width: 100%; max-width: 960px; margin: 0 auto; }
.eyebrow { font-size: 12px; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold-text); }

/* hero */
.hero-band {
  margin-left: calc(-1 * max(16px, env(safe-area-inset-left, 0px)));
  margin-right: calc(-1 * max(16px, env(safe-area-inset-right, 0px)));
  padding-left: max(16px, env(safe-area-inset-left, 0px));
  padding-right: max(16px, env(safe-area-inset-right, 0px));
  background: linear-gradient(115deg, var(--hero-a) 0%, var(--hero-b) 100%);
  color: var(--on-navy); position: relative; overflow: hidden;
}
.hero-band::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(60% 90% at 18% 110%, rgba(255,255,255,0.55), transparent 70%), radial-gradient(45% 70% at 62% 20%, rgba(255,255,255,0.35), transparent 70%), radial-gradient(40% 80% at 95% 90%, rgba(70,82,95,0.35), transparent 70%);
}
.hero-band::after {
  content: ""; position: absolute; width: 560px; height: 560px; border-radius: 50%;
  right: -180px; top: -300px; background: radial-gradient(circle, rgba(255, 255, 255, 0.4), transparent 68%);
  pointer-events: none;
}
.hero-band .wrap { position: relative; z-index: 1; }
nav { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 20; }
.nav-bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 0; flex-wrap: wrap; }
.logo {
  font-family: var(--display); font-weight: 700; font-size: 18px; letter-spacing: 0.08em;
  padding: 6px 16px; border-radius: 999px; background: rgba(255, 255, 255, 0.5);
  border: 1px solid rgba(58, 64, 72, 0.55); text-decoration: none; color: var(--on-navy);
}
.links { display: flex; gap: 22px; flex-wrap: wrap; }
.links a {
  font-size: 14px; font-weight: 500; text-decoration: none; color: var(--on-navy-muted);
  padding: 4px 0; border-bottom: 2px solid transparent; transition: color 0.2s, border-color 0.2s;
}
.links a:hover, .links a.active { color: var(--on-navy); border-color: var(--gold); }
.hero { display: grid; grid-template-columns: 240px 1fr; gap: 44px; align-items: center; padding: 38px 0 80px; }
.photo { position: relative; width: 100%; max-width: 240px; aspect-ratio: 1; }
.photo::before {
  content: ""; position: absolute; inset: 14px -14px -14px 14px; border: 1.5px solid var(--gold);
  border-radius: 26px; opacity: 0.8; transition: transform 0.4s ease;
}
.photo:hover::before { transform: translate(5px, 5px); }
.photo img { position: relative; width: 100%; height: 100%; object-fit: cover; border-radius: 26px; display: block; box-shadow: 0 24px 50px -22px rgba(0, 0, 0, 0.7); }
.hero h1 { font-size: clamp(42px, 6.4vw, 70px); color: var(--on-navy); margin: 12px 0 14px; font-weight: 600; }
.hero .eyebrow { color: var(--gold); }
.tagline { font-family: var(--display); font-style: italic; font-size: clamp(20px, 2.4vw, 25px); color: var(--on-navy); max-width: 32ch; }
.facts { list-style: none; margin: 22px 0 24px; padding: 0; display: grid; gap: 6px; font-size: 15px; color: var(--on-navy-muted); }
.facts li { display: grid; grid-template-columns: 84px minmax(0, 1fr); gap: 12px; align-items: baseline; }
.facts b { color: var(--gold); font-weight: 600; letter-spacing: 0.12em; font-size: 11px; text-transform: uppercase; display: block; }
.cta { display: flex; gap: 12px; flex-wrap: wrap; }
.btn {
  font-family: var(--body); font-size: 14px; font-weight: 600; text-decoration: none; cursor: pointer;
  padding: 11px 22px; border-radius: 999px; border: 1.5px solid var(--gold);
  transition: transform 0.2s, background 0.2s, color 0.2s; display: inline-flex; align-items: center; gap: 8px;
}
.btn:hover { transform: translateY(-2px); }
.btn-fill { background: var(--gold); color: #fff; }
.btn-fill:hover { background: #22272d; border-color: #22272d; }
.btn-line { background: transparent; color: var(--on-navy); }
.btn-line:hover { background: rgba(255, 255, 255, 0.5); }

/* sections */
section { padding: 72px 0 0; }
.head { display: grid; gap: 10px; margin-bottom: 30px; max-width: 62ch; }
.head h2 { font-size: clamp(32px, 4.6vw, 44px); }
.head p { color: var(--muted); }
.grid3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.grid4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.card {
  background: var(--surface); border-radius: 18px; padding: 24px; box-shadow: var(--shadow);
  border: 1px solid var(--line); transition: transform 0.25s ease, box-shadow 0.25s ease; min-width: 0;
}
.card:hover { transform: translateY(-4px); }
.card h3 { font-size: 23px; margin-bottom: 8px; }
.card p, .card li { color: var(--muted); font-size: 15px; }
.num { font-family: var(--display); font-weight: 700; font-size: 17px; color: var(--gold-text); display: block; margin-bottom: 14px; letter-spacing: 0.04em; }

/* experience */
.roles { display: grid; gap: 18px; }
.role { padding: 26px 28px; }
.role-meta { display: flex; gap: 14px; flex-wrap: wrap; font-size: 13px; font-weight: 600; letter-spacing: 0.04em; margin-bottom: 8px; }
.role-meta .when { color: var(--muted); }
.role-meta .where { color: var(--gold-text); }
.role h3 { font-size: 26px; margin-bottom: 6px; }
.role ul { margin: 12px 0 0; padding-left: 18px; display: grid; gap: 4px; }
.progress { margin-top: 22px; font-family: var(--display); font-style: italic; font-size: 20px; color: var(--muted); max-width: 60ch; }

/* metrics */
.metric { padding: 24px 22px; background: linear-gradient(180deg, var(--surface), var(--surface-soft)); }
.metric .big { font-family: var(--display); font-weight: 700; font-size: clamp(26px, 2.7vw, 33px); line-height: 1; white-space: nowrap; color: var(--gold-text); }
.metric .lab { font-size: 11px; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; margin: 12px 0 10px; color: var(--ink); }

@media (min-width: 641px) {
  #snapshot .card h3, #expertise .card h3, #foundation .card h3 { min-height: 2.2em; display: flex; align-items: flex-start; }
}
.grid2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.prose { display: grid; gap: 14px; max-width: 64ch; color: var(--muted); font-size: 16.5px; }
.subhead { font-size: 28px; margin: 38px 0 16px; }
.lede { margin-top: 12px; max-width: 54ch; font-size: 15.5px; color: var(--on-navy-muted); }
.tags { display: flex; flex-wrap: wrap; gap: 10px; }
.tag { font-size: 14px; font-weight: 500; padding: 7px 16px; border-radius: 999px; border: 1.5px dashed #9aa1a9; color: var(--ink); background: transparent; }
.tag.solid { border: 1.5px solid var(--line); background: var(--surface); }
.group-label { font-size: 12px; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold-text); margin: 34px 0 14px; display: block; }
.group-note { color: var(--muted); font-size: 14px; margin: -6px 0 14px; max-width: 60ch; }
.insight { font-family: var(--display); font-style: italic; font-size: 19px; line-height: 1.35; color: #fff; }
.step-ctl { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 14px; flex-wrap: wrap; }
.step-ctl span { font-size: 13px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
.btn-ghost { background: var(--surface); color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { background: var(--surface-soft); }
.direction { background: var(--surface-soft); }
/* case studies */
.case { background: var(--navy); color: var(--on-navy); border-color: transparent; display: flex; flex-direction: column; gap: 12px; }
.case h3 { color: #fff; margin: 0; font-size: 25px; }
.case .eyebrow { color: var(--gold); font-size: 11px; }
.case p { color: var(--on-navy-muted); }
.case .result { margin-top: auto; padding-top: 14px; border-top: 1px solid rgba(255, 255, 255, 0.35); color: var(--on-navy); font-size: 14px; }
.case .result b { color: var(--gold); font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; display: block; margin-bottom: 4px; }
.pull { margin-top: 26px; font-family: var(--display); font-style: italic; font-size: 24px; color: var(--muted); max-width: 52ch; padding-left: 18px; border-left: 3px solid var(--gold); }

/* process stepper */
.steps { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 10px; }
.step {
  font-family: var(--body); text-align: left; cursor: pointer; background: var(--surface); color: var(--ink);
  border: 1px solid var(--line); border-radius: 14px; padding: 14px 12px; display: grid; gap: 4px; align-content: start;
  transition: background 0.2s, transform 0.2s, border-color 0.2s;
}
.step:hover { transform: translateY(-3px); }
.step .n { font-family: var(--display); font-weight: 700; font-size: 20px; color: var(--gold-text); }
.step .t { font-size: 13.5px; font-weight: 600; line-height: 1.3; }
.step[aria-selected="true"] { background: var(--gold-text); border-color: var(--gold-text); }
.step[aria-selected="true"] .n, .step[aria-selected="true"] .t { color: #fff; }
.step-detail { margin-top: 18px; padding: 22px 26px; min-height: 108px; }
.step-detail h3 { font-size: 24px; margin-bottom: 6px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.chip { font-size: 13px; font-weight: 500; padding: 5px 12px; border-radius: 999px; background: var(--surface-soft); color: var(--ink); }

/* expertise + wide card */
.wide { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; padding: 28px; }
.wide h3 { font-size: 24px; margin-bottom: 12px; }
.wide ul { margin: 0; padding-left: 18px; display: grid; gap: 6px; color: var(--muted); font-size: 15px; }
.bring { margin-top: 22px; display: flex; flex-wrap: wrap; gap: 8px; }

/* contact */
.contact {
  margin-top: 0; border-radius: 22px; padding: 32px; color: var(--on-navy);
  background: linear-gradient(115deg, var(--hero-a), var(--hero-b)); box-shadow: var(--shadow);
  display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap;
}
.contact ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; min-width: 0; }
.contact li { display: flex; gap: 12px; align-items: baseline; flex-wrap: wrap; font-size: 16px; overflow-wrap: anywhere; }
.contact li b { color: var(--gold); font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; min-width: 70px; }
.contact a { text-decoration: underline; text-decoration-color: rgba(58, 64, 72, 0.6); text-underline-offset: 4px; }
.quote { margin-top: 34px; font-family: var(--display); font-style: italic; font-size: clamp(21px, 2.6vw, 27px); color: var(--muted); max-width: 54ch; }
footer { padding: 54px 0 40px; text-align: center; font-size: 13px; color: var(--muted); letter-spacing: 0.04em; }

/* reveal: starts mostly visible, settles on scroll */
.js .rv { opacity: 0.35; transform: translateY(16px); transition: opacity 0.7s ease, transform 0.7s ease; }
.js .rv.in { opacity: 1; transform: none; }

@media (max-width: 860px) {
  .links { gap: 16px; }
  .grid3 { grid-template-columns: 1fr 1fr; }
  .grid4 { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .hero { grid-template-columns: 1fr; gap: 34px; padding-bottom: 64px; }
  .photo { max-width: 200px; }
  .grid3, .grid4, .grid2, .wide { grid-template-columns: 1fr; }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .links { gap: 14px; }
  .contact { padding: 26px 22px; }
  .role { padding: 22px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .rv { opacity: 1; transform: none; transition: none; }
  .card, .btn, .step, .photo::before { transition: none; }
}
/* readability: larger left-aligned text, comfortable line height, stronger contrast */
:root { --muted: #424a54; }
body { font-size: 17px; line-height: 1.7; }
.head, .group-note, .quote, .progress { max-width: none; }
.head p { font-size: 17px; max-width: 80ch; }
.prose { display: block; column-count: 2; column-gap: 48px; max-width: none; font-size: 17px; line-height: 1.7; color: var(--muted); }
.prose p { break-inside: avoid; margin: 0 0 16px; }
.card p, .card li { font-size: 16px; line-height: 1.65; }
.card li { margin-bottom: 2px; }
.eyebrow { font-size: 13px; }
.role-meta { font-size: 14px; }
.facts { font-size: 16px; }
.facts b { font-size: 12.5px; }
.metric .lab { font-size: 12.5px; }
.step .t { font-size: 14px; }
.chip, .tag { font-size: 14px; }
.group-label { font-size: 13px; }
.case .eyebrow { font-size: 12.5px; }
.pull { border-left: 3px solid var(--gold); }
.cs { display: grid; gap: 14px; margin: 4px 0 0; }
.cs div { display: grid; gap: 3px; }
.cs dt { font-size: 12.5px; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold); }
.cs dd { margin: 0; font-size: 15.5px; line-height: 1.6; color: #eef0f2; }
.cs .learn dd { font-family: var(--display); font-style: italic; font-size: 19px; line-height: 1.35; color: #fff; }
.ftags { display: flex; flex-wrap: wrap; gap: 6px; }
.ftag { font-size: 13.5px; font-weight: 500; line-height: 1.3; padding: 4px 12px; border-radius: 999px; border: 1px solid rgba(58, 64, 72, 0.45); background: rgba(255, 255, 255, 0.45); color: var(--on-navy); }
.qcard p { font-family: var(--display); font-size: 21px; line-height: 1.3; color: var(--ink); }
.qnote { color: var(--muted); font-size: 14.5px; margin: -6px 0 16px; }
@media (max-width: 760px) { .prose { column-count: 1; } }
.pull { border-left: 3px solid var(--gold); }
.hello { font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace; font-size: 12.5px; letter-spacing: 0; color: var(--gold-text); }
/* dot cursor (fine pointers only; real cursor stays until the dot is active) */
.cursor { position: fixed; left: 0; top: 0; width: 0; height: 0; pointer-events: none; z-index: 9999; opacity: 0; transition: opacity 0.2s; mix-blend-mode: difference; }
.cursor.show { opacity: 1; }
.cursor span { position: absolute; left: 0; top: 0; width: 12px; height: 12px; border-radius: 50%; background: #fff; transform: translate(-50%, -50%); transition: width 0.25s ease, height 0.25s ease; }
.cursor.big span { width: 44px; height: 44px; }
html.has-cursor, html.has-cursor * { cursor: none !important; }
/* phone refinements */
@media (max-width: 640px) {
  section { padding-top: 56px; }
  .nav-bar { padding: 14px 0 6px; gap: 8px; }
  .links { gap: 2px 18px; line-height: 1.3; }
  .links a { padding: 9px 0 7px; }
  .hero { padding-top: 24px; }
  .hero h1 { line-height: 1.05; }
  .hero .eyebrow { line-height: 1.5; }
  .tagline { line-height: 1.3; }
  .facts li { grid-template-columns: 1fr; gap: 5px; }
  .btn { padding: 13px 22px; }
  .subhead { font-size: 25px; margin-top: 32px; }
  .grid4 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .metric { padding: 18px 16px; }
  .metric .lab { letter-spacing: 0.1em; font-size: 11.5px; }
  .metric p { font-size: 14.5px; line-height: 1.55; }
  .contact li { display: grid; gap: 3px; }
  .contact li b { min-width: 0; }
}

/* ===== multi-page additions ===== */
body { margin: 0; animation: pgin 0.5s ease both; }
@keyframes pgin { from { opacity: 0; } to { opacity: 1; } }
.pbar { position: fixed; left: 0; top: 0; height: 3px; width: 100%; background: var(--gold); transform: scaleX(0); transform-origin: 0 50%; z-index: 60; pointer-events: none; }
.site-nav { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 40; padding: 12px 0 0; margin-bottom: 14px; }
.site-nav .wrap { position: relative; }
.site-nav .nav-bar { background: rgba(255,255,255,0.88); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); border: 1px solid var(--line); border-radius: 999px; padding: 8px 12px 8px 10px; box-shadow: var(--shadow); flex-wrap: nowrap; }
.site-nav .logo { color: var(--ink); background: var(--bg); border-color: var(--line); }
.site-nav .links { flex-wrap: wrap; gap: 4px 24px; }
.site-nav .links a { color: var(--muted); }
.site-nav .links a:hover, .site-nav .links a.active { color: var(--ink); border-color: var(--gold); }
.menu-btn { display: none; font: inherit; font-size: 14px; font-weight: 600; color: var(--ink); background: var(--bg); border: 1px solid var(--line); border-radius: 999px; padding: 8px 16px; cursor: pointer; }

.page-hero { padding: 36px 0 70px; }
.page-hero h1 { font-size: clamp(38px, 5.6vw, 62px); color: var(--on-navy); margin: 10px 0 14px; font-weight: 600; }
.page-hero .eyebrow { color: var(--gold); }
.page-hero .lede { margin-top: 0; max-width: 60ch; font-size: 18px; color: var(--on-navy-muted); }
.crumbs { font-size: 13.5px; font-weight: 500; color: var(--on-navy-muted); margin-bottom: 6px; }
.crumbs a { text-decoration: none; border-bottom: 1px solid rgba(58,64,72,0.45); }
section.first { padding-top: 56px; }

/* explore tiles (home) */
.tile { display: flex; flex-direction: column; gap: 10px; text-decoration: none; color: inherit; min-height: 190px; }
.tile h3 { margin: 0; }
.tile .go { margin-top: auto; font-weight: 600; font-size: 14.5px; color: var(--gold-text); display: inline-flex; gap: 8px; align-items: center; transition: gap 0.2s; }
.tile:hover .go { gap: 14px; }
.tile .kicker { font-size: 12.5px; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; color: var(--gold-text); }

/* filters + timeline + accordion */
.toolbar { display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap; margin-bottom: 24px; }
.filters { display: flex; gap: 8px; flex-wrap: wrap; }
.fbtn { font: inherit; font-size: 14px; font-weight: 500; padding: 8px 16px; border-radius: 999px; border: 1.5px solid var(--line); background: var(--surface); color: var(--ink); cursor: pointer; transition: background 0.2s, color 0.2s, border-color 0.2s; }
.fbtn:hover { border-color: var(--gold); }
.fbtn[aria-pressed="true"] { background: var(--gold-text); border-color: var(--gold-text); color: #fff; }
.linkbtn { font: inherit; font-size: 14px; font-weight: 600; color: var(--gold-text); background: none; border: 0; padding: 6px 2px; cursor: pointer; text-decoration: underline; text-underline-offset: 4px; }
.timeline { position: relative; display: grid; gap: 18px; padding-left: 28px; border-left: 2px solid var(--line); margin-left: 6px; }
.timeline .role { position: relative; padding: 0; scroll-margin-top: 90px; }
.timeline .role::before { content: ""; position: absolute; left: -37px; top: 30px; width: 14px; height: 14px; border-radius: 50%; background: var(--bg); border: 3px solid var(--gold-text); }
.role.hide { display: none; }
.acc-head { width: 100%; text-align: left; font: inherit; color: inherit; background: none; border: 0; padding: 24px 28px; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px 16px; align-items: center; cursor: default; border-radius: 18px; }
.js .acc-head { cursor: pointer; }
.acc-head h3 { font-size: 26px; margin: 0; }
.acc-head .role-meta { margin: 0 0 6px; grid-column: 1; }
.acc-head .t { grid-column: 1; }
.chev { grid-column: 2; grid-row: 1 / span 2; width: 34px; height: 34px; border-radius: 50%; border: 1.5px solid var(--line); display: none; align-items: center; justify-content: center; font-size: 18px; line-height: 1; transition: transform 0.3s, background 0.2s; }
.js .chev { display: flex; }
.role[data-open="true"] .chev { transform: rotate(45deg); background: var(--surface-soft); }
.acc-body { display: grid; grid-template-rows: 1fr; transition: grid-template-rows 0.35s ease; }
.js .role[data-open="false"] .acc-body { grid-template-rows: 0fr; }
.acc-body > div { overflow: hidden; padding: 0 28px; min-height: 0; }
.acc-body .inner { padding-bottom: 26px; }
.js .role[data-open="false"] .acc-body > div { padding-bottom: 0; }
.acc-body ul { margin: 12px 0 0; padding-left: 18px; display: grid; gap: 6px; }
.rtags { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 16px; }

/* tabs (impact metrics, case stages, research) */
.tablist { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 18px; }
.tabbtn { font: inherit; cursor: pointer; text-align: left; color: var(--ink); background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 12px 18px; transition: background 0.2s, transform 0.2s, border-color 0.2s; }
.tabbtn:hover { transform: translateY(-2px); border-color: var(--gold); }
.tabbtn[aria-selected="true"] { background: var(--gold-text); border-color: var(--gold-text); color: #fff; }
.tabbtn small { display: block; font-size: 11.5px; letter-spacing: 0.16em; text-transform: uppercase; font-weight: 600; opacity: 0.75; }
.tabbtn.pill { border-radius: 999px; padding: 10px 20px; font-weight: 500; font-size: 15px; }
.tabpanel { background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 26px 28px; box-shadow: var(--shadow); }
.js .tabpanel[hidden] { display: none; }
.tabs:not(.js-on) .tabpanel + .tabpanel { margin-top: 16px; }
.tabpanel h3 { font-size: 28px; margin-bottom: 10px; }
.tabpanel p, .tabpanel li { color: var(--muted); font-size: 17px; line-height: 1.65; }
.tabpanel ul { margin: 10px 0 0; padding-left: 18px; display: grid; gap: 6px; }
.tabpanel .learn-q { font-family: var(--display); font-style: italic; font-size: 28px; line-height: 1.25; color: var(--ink); }
.panel-foot { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 20px; align-items: center; }
.tabs:not(.js-on) .tab-next { display: none; }

/* metric tabs */
.mtabs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; margin-bottom: 18px; }
.mtabs .tabbtn { padding: 20px 20px; background: linear-gradient(180deg, var(--surface), var(--surface-soft)); }
.mtabs .big { display: block; font-family: var(--display); font-weight: 700; font-size: clamp(26px, 2.7vw, 33px); line-height: 1; white-space: nowrap; color: var(--gold-text); }
.mtabs .lab { display: block; font-size: 12.5px; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; margin-top: 12px; color: var(--ink); }
.mtabs .tabbtn[aria-selected="true"] { background: var(--gold-text); }
.mtabs .tabbtn[aria-selected="true"] .big, .mtabs .tabbtn[aria-selected="true"] .lab { color: #fff; }
.mtabs.static .tabbtn { cursor: default; }
.hintline { font-size: 14px; color: var(--muted); margin-bottom: 14px; }

/* case index cards */
.case a.case-link { color: inherit; text-decoration: none; display: flex; flex-direction: column; gap: 12px; height: 100%; }
.case .more { margin-top: auto; padding-top: 6px; font-weight: 600; font-size: 14.5px; color: #fff; display: inline-flex; gap: 8px; transition: gap 0.2s; }
.case:hover .more { gap: 14px; }
.case .sum { font-size: 15.5px; line-height: 1.6; color: #eef0f2; }
.case .lq { font-family: var(--display); font-style: italic; font-size: 19px; color: #fff; padding-top: 12px; border-top: 1px solid rgba(255,255,255,0.3); }
.pager { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 48px; }
.pager a { text-decoration: none; background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 18px 22px; display: grid; gap: 4px; box-shadow: var(--shadow); transition: transform 0.25s; }
.pager a:hover { transform: translateY(-3px); }
.pager small { font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase; font-weight: 600; color: var(--gold-text); }
.pager b { font-family: var(--display); font-size: 22px; line-height: 1.15; }
.pager .nx { text-align: right; }
.cta-band { margin-top: 72px; }
.cta-band h2 { font-size: clamp(28px, 4vw, 38px); }
.foot-links { display: flex; gap: 6px 20px; justify-content: center; flex-wrap: wrap; margin-bottom: 14px; }
.foot-links a { text-decoration: none; }
.foot-links a:hover { text-decoration: underline; }
.hide-js { }
.js .only-nojs { display: none; }

@media (max-width: 860px) { .mtabs { grid-template-columns: 1fr 1fr; } }
@media (max-width: 700px) {
  .menu-btn { display: inline-block; }
  .js .links { display: none; position: absolute; left: 0; right: 0; top: calc(100% + 8px); flex-direction: column; flex-wrap: nowrap; gap: 0; background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 8px 20px; box-shadow: var(--shadow); }
  .js .links.open { display: flex; }
  .js .links a { padding: 13px 0; border-bottom: 1px solid var(--line); font-size: 16px; }
  .js .links a:last-child { border-bottom: 0; }
  .site-nav .nav-bar { flex-wrap: wrap; }
}
@media (max-width: 640px) {
  .page-hero { padding: 24px 0 52px; }
  .page-hero .lede { font-size: 17px; }
  section.first { padding-top: 40px; }
  .timeline { padding-left: 18px; margin-left: 4px; }
  .timeline .role::before { left: -27px; top: 26px; }
  .acc-head { padding: 20px 18px; }
  .acc-head h3 { font-size: 23px; }
  .acc-body > div { padding: 0 18px; }
  .tabpanel { padding: 22px 20px; }
  .tabpanel .learn-q { font-size: 24px; }
  .mtabs { gap: 10px; }
  .mtabs .tabbtn { padding: 16px 14px; }
  .mtabs .lab { letter-spacing: 0.1em; font-size: 11.5px; }
  .pager { grid-template-columns: 1fr; }
  .pager .nx { text-align: left; }
  .tablist { gap: 8px; }
  .tabbtn.pill { padding: 10px 16px; }
  .tile { min-height: 0; }
}
@media (prefers-reduced-motion: reduce) { body { animation: none; } .acc-body, .chev, .tabbtn, .tile .go { transition: none; } .pbar { display: none; } }
