/* Locally hosted Inter, from the official project; OFL and sources accompany the files. */
@font-face { font-family: "Inter"; src: url("/assets/fonts/InterVariable.woff2") format("woff2"); font-style: normal; font-weight: 100 900; font-display: swap; }
@font-face { font-family: "Inter"; src: url("/assets/fonts/InterVariable-Italic.woff2") format("woff2"); font-style: italic; font-weight: 100 900; font-display: swap; }

/* Academic reading surface; colour is reserved for the brand and navigation. */
:root {
  --navy: #14264b;
  --hero-navy: var(--navy);
  --ink: #17191e;
  --paper: #fff;
  --white: #fff;
  --accent: #14264b;
  --surface-muted: #fff;
  --accent-text: var(--accent);
  --muted: #58616d;
  --line: #e5e7eb;
  --on-dark: #e8ecf3;
  --on-dark-muted: #c9d1df;
  --line-dark: #73858f;
  --font-sans: "Inter", Arial, sans-serif;
  --font-serif: var(--font-sans);
  --text-body: 18px;
  --text-small: 16px;
  --text-meta: 14px;
  --text-label: 14px;
  --title-hero: clamp(48px, 4.73vw, 68px);
  --title-page: 44px;
  --title-section: 32px;
  --title-item: 22px;
  --content-width: 1120px;
  --gutter: clamp(24px, 5vw, 72px);
  --page-inset: max(var(--gutter), calc((100% - var(--content-width)) / 2));
  --section-space: 64px;
  --column-gap: clamp(32px, 4.5vw, 64px);
  --header-navy: #061123;
  --brand-surface: transparent;
  --brand-width: 240px;
  --brand-max-height: 52px;
  --brand-slot: 256px;
  --header-height: 88px;
  --footer-brand-width: 184px;
  --transition: 160ms ease;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 24px; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: var(--text-body);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
button { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
[hidden] { display: none !important; }
::selection { background: var(--navy); color: var(--white); }
a:focus-visible, button:focus-visible { outline: 3px solid var(--navy); outline-offset: 5px; }
.hero :focus-visible { outline-color: var(--on-dark-muted); }
h1, h2, h3 { color: inherit; font-weight: 600; text-wrap: pretty; }
h1, h2 { letter-spacing: 0; }
h2 { font-size: var(--title-section); line-height: 1.25; margin: 0; }
h3 { font-size: var(--title-item); line-height: 1.35; letter-spacing: 0; margin: 0 0 12px; }
h1 em, h2 em { font: inherit; }
p { margin-top: 0; }
strong { font-weight: 600; }
.skip-link { position: fixed; left: 20px; top: -100px; padding: 12px 18px; background: var(--white); color: var(--ink); z-index: 20; }
.skip-link:focus { top: 12px; }
.preview-note { min-height: 32px; display: flex; flex-wrap: wrap; gap: 4px 10px; align-items: center; justify-content: center; padding: 6px 16px; background: var(--paper); color: var(--muted); font-size: var(--text-meta); line-height: 1.5; }
.preview-note span { color: var(--muted); }

/* Client vector wordmark on the same deep-blue surface as the hero's upper edge. */
.site-header { display: flex; align-items: stretch; justify-content: space-between; min-height: var(--header-height); background: var(--header-navy); color: var(--white); position: relative; z-index: 2; }
.brand { display: flex; align-items: center; justify-content: center; gap: 16px; flex: 0 0 var(--brand-slot); padding: 18px 16px; background: var(--brand-surface); color: var(--white); }
.brand-logo { display: block; width: var(--brand-width); max-width: 100%; height: auto; max-height: var(--brand-max-height); object-fit: contain; }
/* The supplied glow SVG includes transparent padding; retain it without inflating the header. */
.brand-logo-vector { max-height: none; margin-block: -20px; }
.wordmark { font-size: 34px; font-weight: 700; line-height: 1; letter-spacing: -.04em; }
.brand-description { font-size: 8px; line-height: 1.5; letter-spacing: .06em; }
.site-nav { display: flex; align-items: center; gap: 30px; padding: 0 var(--gutter) 0 30px; }
.site-nav a { display: inline-flex; align-items: center; position: relative; min-height: 52px; padding: 12px 0; font-size: 16px; white-space: nowrap; }
.site-nav a::after { content: ""; position: absolute; height: 2px; bottom: 5px; left: 0; width: 100%; background: currentColor; transform: scaleX(0); transform-origin: left; transition: transform var(--transition); }
.site-nav a[aria-current=page] { font-weight: 600; }
.site-nav a:hover::after, .site-nav a[aria-current=page]::after { transform: scaleX(1); }
.menu-toggle { display: flex; align-items: center; justify-content: center; gap: 16px; border: 0; border-left: 1px solid var(--line-dark); padding: 20px 24px; background: transparent; color: var(--white); cursor: pointer; font-size: 16px; }
.site-nav a:focus-visible, .menu-toggle:focus-visible { outline-color: var(--white); outline-offset: -5px; }
.brand:focus-visible { outline-offset: -5px; }
.menu-icon { width: 20px; height: 9px; border-top: 1px solid; border-bottom: 1px solid; transition: transform var(--transition); }
.menu-toggle[aria-expanded=true] .menu-icon { transform: rotate(-45deg); }

/* Account access stays visible separately from the mobile page navigation. */
.site-header:has(.header-account) .site-nav { margin-left: auto; gap: 24px; padding-inline: 24px; }
.header-account { position: relative; display: flex; align-items: center; flex: 0 0 auto; padding-inline: 24px var(--gutter); }
.header-account::before { content: ""; position: absolute; left: 0; height: 24px; border-left: 1px solid var(--line-dark); }
.header-login, .account-toggle { min-height: 44px; padding: 10px 0; border: 0; background: transparent; color: var(--white); font: inherit; font-size: 16px; line-height: 1.4; cursor: pointer; }
.header-login { white-space: nowrap; }
.header-login:hover { text-decoration: underline; text-underline-offset: 5px; }
.header-login:focus-visible, .account-toggle:focus-visible { outline-color: var(--white); }

/* Shared hero foundation; homepage composition is scoped below. */
.hero { background: var(--hero-navy); color: var(--paper); }
.hero-inner { min-height: 610px; padding: 64px var(--page-inset) 56px; display: flex; align-items: center; justify-content: center; text-align: center; }
.hero-copy { width: 100%; max-width: 1160px; }
.eyebrow { font-size: var(--text-small); font-weight: 400; letter-spacing: 0; line-height: 1.5; margin: 0 0 12px; color: var(--muted); }
.hero-eyebrow { color: var(--on-dark-muted); margin-bottom: 24px; }

.hero h1 { font-family: var(--font-serif); font-size: var(--title-hero); font-weight: 400; line-height: 1.16; letter-spacing: -.01em; margin: 0 0 30px; }
.hero h1 > span, .hero h1 > em { display: block; }
.hero h1 > em { font: inherit; color: inherit; margin-top: 4px; }
.hero-description { font-size: 18px; line-height: 1.65; color: var(--on-dark); margin: 0 auto; max-width: 650px; }
.hero-description strong { font-weight: 600; color: var(--paper); }
.service-availability { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 14px; margin-top: 24px; color: var(--on-dark); font-size: var(--text-meta); }
.status-label { display: inline-flex; align-items: center; gap: 9px; color: var(--on-dark); font-size: var(--text-meta); line-height: 1.5; }
.status-label .status-dot { background: currentColor; }
.status-dot { display: inline-block; width: 6px; height: 6px; background: var(--accent); flex-shrink: 0; }
.text-link { display: inline-flex; align-items: center; min-height: 44px; padding: 10px 0; font-size: var(--text-small); font-weight: 600; line-height: 1.5; color: var(--accent); text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1px; }
.text-link:hover { text-decoration-thickness: 2px; }
.hero-link { margin-top: 18px; color: var(--paper); border-color: var(--line-dark); }
.hero-link span { color: var(--on-dark-muted); }
.hero-link:hover { border-color: var(--on-dark); }
.hero-link:hover span { transform: translateY(2px); }

/* Shared reading grid and type scale, used by all five pages. */
.section-wrap { padding-inline: var(--page-inset); margin: 0; }
.section-heading { display: grid; grid-template-columns: .85fr 1.15fr; align-items: end; gap: var(--column-gap); }
.section-heading > p { max-width: 42ch; margin: 0; font-size: var(--text-small); line-height: 1.65; color: var(--muted); justify-self: end; }
.page-hero { padding-top: 48px; padding-bottom: 40px; background: var(--white); border-bottom: 1px solid var(--line); }
.page-hero .eyebrow { display: none; }
.page-hero h1 { font-family: var(--font-sans); font-weight: 600; font-size: var(--title-page); line-height: 1.2; margin: 0 0 18px; }
.page-lead { max-width: 68ch; margin: 0; color: var(--muted); font-size: var(--text-body); line-height: 1.65; }
.information-section { display: grid; grid-template-columns: .75fr 1.25fr; gap: var(--column-gap); padding-top: var(--section-space); padding-bottom: var(--section-space); }
.information-copy { max-width: 68ch; }
.information-copy > p, .service-intro-copy p { font-size: var(--text-body); line-height: 1.7; color: var(--ink); margin: 0 0 20px; }
.information-copy > p:last-child, .service-intro-copy p:last-child { margin-bottom: 0; }
.information-copy strong { color: var(--ink); }
.information-copy .text-link { margin-top: 8px; }
.inline-link { color: var(--accent); text-decoration: underline; text-underline-offset: 4px; text-decoration-color: var(--accent); transition: color var(--transition); }
.inline-link:hover { color: var(--accent-text); }
.detail-section { padding-top: 0; padding-bottom: var(--section-space); }
.ruled-section { border-top: 1px solid var(--line); padding-top: var(--section-space); }
.section-note, .research-directions .section-note { font-size: var(--text-small); line-height: 1.65; color: var(--muted); margin: 26px 0 0; max-width: 80ch; }
.source-note { font-size: var(--text-meta); line-height: 1.65; color: var(--muted); padding-top: 20px; padding-bottom: 20px; background: var(--paper); }
.source-note p { border-left: 2px solid var(--accent); padding-left: 16px; margin: 0; max-width: 110ch; }
.source-note strong { display: block; color: var(--ink); }
.source-note-bottom { padding-bottom: 28px; }
.information-copy .pending-note { border-left: 2px solid var(--accent); padding-left: 16px; margin: 24px 0 0; font-size: var(--text-meta); line-height: 1.65; }
.content-pending { padding-top: 32px; padding-bottom: var(--section-space); border-top: 1px solid var(--line); }
.content-pending p:not(.eyebrow) { max-width: 65ch; font-size: var(--text-small); color: var(--muted); }

/* Service overview, research findings and scope retain their full client copy. */
.service-intro { padding-top: var(--section-space); padding-bottom: var(--section-space); }
.service-intro .section-heading { align-items: start; }
.service-intro-copy { max-width: 64ch; }
.validation-summary { display: grid; grid-template-columns: .85fr 1.15fr; gap: var(--column-gap); margin-top: 38px; padding-top: 32px; border-top: 1px solid var(--line); }
.validation-intro h3 { font-size: 20px; }
.validation-intro p { max-width: 44ch; margin: 0 0 10px; font-size: var(--text-small); line-height: 1.7; color: var(--muted); }
.validation-metrics { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; margin: 0; }
.validation-metrics dt { font-size: var(--text-meta); color: var(--muted); line-height: 1.5; }
.validation-metrics dd { position: relative; font-size: clamp(54px, 5vw, 72px); font-weight: 600; line-height: 1.1; letter-spacing: -.04em; margin: 18px 0 14px; padding-top: 20px; font-variant-numeric: lining-nums tabular-nums; }
.validation-metrics dd > span { position: absolute; top: 0; left: 0; font-size: var(--text-meta); font-weight: 400; letter-spacing: 0; line-height: 1.5; }
.validation-metrics .metric-detail { font-size: var(--text-meta); font-weight: 400; letter-spacing: 0; line-height: 1.7; margin: 0; padding: 0; color: var(--muted); max-width: 29ch; }
.validation-caveat { margin: 30px 0 0; border-left: 2px solid var(--accent); padding-left: 16px; color: var(--muted); font-size: var(--text-small); line-height: 1.65; max-width: 108ch; }
#service-scope, .service-processing { background: var(--white); }
.scope-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; list-style: none; padding: 0; margin: 34px 0 0; }
.scope-list li { border-top: 1px solid var(--line); padding-top: 22px; }
.scope-list h3 { font-size: 20px; }
.scope-list p { font-size: var(--text-body); line-height: 1.65; color: var(--ink); margin: 0; }

/* Application and background processing are deliberately separate reading steps. */
.application-section { display: grid; grid-template-columns: .85fr 1.15fr; gap: var(--column-gap); padding-bottom: var(--section-space); }
.application-intro > p:not(.eyebrow) { max-width: 40ch; font-size: var(--text-body); line-height: 1.65; color: var(--muted); margin: 22px 0 0; }
.application-intro .application-availability { font-size: var(--text-small); border-top: 1px solid var(--line); padding-top: 22px; }
.application-availability strong { color: var(--ink); }
.application-availability .status-dot { margin-right: 7px; }
.application-steps { list-style: none; padding: 0; margin: 0; }
.application-steps li { display: grid; grid-template-columns: 28px minmax(0, 1fr); gap: 20px; padding: 24px 0; border-top: 1px solid var(--line); }
.application-steps li:first-child { border-top-color: var(--line); }
.application-steps li:last-child { padding-bottom: 0; }
.application-number, .step-number { font-size: var(--text-meta); line-height: 1.7; color: var(--muted); font-variant-numeric: tabular-nums; }
.application-number { padding-top: 4px; }
.application-steps h3 { font-size: 20px; margin: 0 0 8px; }
.application-steps p { font-size: var(--text-body); line-height: 1.65; color: var(--muted); margin: 0; }
.workflow { padding-top: var(--section-space); padding-bottom: var(--section-space); }
.workflow-steps { list-style: none; padding: 0; margin: 36px 0 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; }
.workflow-steps li { border-top: 1px solid var(--line); padding-top: 18px; }
.step-number { display: flex; justify-content: space-between; }
.step-number span { color: var(--accent-text); font-size: 17px; }
.workflow-steps h3 { margin: 22px 0 12px; font-size: 20px; }
.workflow-steps p { margin: 0; font-size: var(--text-body); line-height: 1.65; color: var(--muted); }
.workflow-note { border-top: 1px solid var(--line); padding-top: 20px; margin: 28px 0 0; color: var(--muted); font-size: var(--text-meta); line-height: 1.65; }

/* Methods and research directions use editorial rows rather than cards. */
.method-list, .research-directions { list-style: none; margin: 32px 0 0; padding: 0; }
.method-list li, .research-directions li { display: grid; grid-template-columns: 48px minmax(0, 1fr); gap: 24px; padding: 26px 0; border-top: 1px solid var(--line); }
.method-list .step-number, .research-directions .step-number { display: block; padding-top: 4px; }
.method-list p, .research-directions p { margin: 0; max-width: 68ch; font-size: var(--text-body); line-height: 1.7; color: var(--ink); }
.research-directions li > div { display: grid; grid-template-columns: .85fr 1.15fr; gap: 0 var(--column-gap); align-items: start; }
.research-directions h3 { max-width: 28ch; }
.research-directions .section-note { grid-column: 2; margin-top: 16px; font-size: var(--text-small); }
.research-finding { margin-top: 28px; padding-top: 24px; border-top: 1px solid var(--line); }
.research-finding > span { font-size: var(--text-small); font-weight: 600; letter-spacing: 0; }
.research-finding p { font-size: 18px; line-height: 1.6; margin: 0 0 10px; }
.research-finding strong { display: block; font-size: 36px; font-weight: 600; line-height: 1.2; letter-spacing: 0; margin-bottom: 12px; }
.research-finding small { display: block; max-width: 52ch; color: var(--muted); font-size: var(--text-meta); line-height: 1.7; }
.finding-first { margin: 0; padding: 0; border: 0; }
.information-copy .finding-detail { margin-top: 24px; }
.benchmark-counts { display: grid; grid-template-columns: 1fr 1fr; gap: var(--column-gap); margin: 32px 0 0; }
.benchmark-counts > div { display: flex; flex-direction: column; padding: 22px 0 8px; border-top: 1px solid var(--line); }
.benchmark-counts dt { font-size: var(--text-body); font-weight: 600; line-height: 1.5; }
.benchmark-counts dd { margin: 14px 0 10px; font-size: 42px; line-height: 1.15; letter-spacing: 0; font-weight: 600; font-variant-numeric: lining-nums tabular-nums; }
.benchmark-counts .count-detail { color: var(--muted); margin: 0; font-size: var(--text-small); line-height: 1.7; font-weight: 400; letter-spacing: 0; }

/* Names, roles and affiliations remain an open institutional roster. */
.team-section { display: grid; grid-template-columns: .7fr 1.3fr; gap: var(--column-gap); padding-top: 52px; padding-bottom: 52px; }
.team-section h2 { font-size: var(--title-section); }
.team-roster { display: grid; grid-template-columns: 1fr 1fr; gap: 32px 40px; align-content: start; }
.person { padding-top: 20px; border-top: 1px solid var(--line); }
.person h3 { font-size: 22px; margin-bottom: 8px; }
.person p { font-size: var(--text-small); line-height: 1.7; margin: 3px 0 0; color: var(--muted); }
.person .person-role { color: var(--ink); font-weight: 600; }
.person-label { display: block; margin-bottom: 8px; font-size: var(--text-meta); font-weight: 400; letter-spacing: 0; color: var(--muted); }
.director-roster { grid-template-columns: 1fr; }
.director-roster .person h3 { font-size: 26px; }

/* A plain related-page link replaces the coloured promotional band. */
.research-bridge { display: flex; justify-content: space-between; align-items: center; gap: 32px; padding: 24px var(--page-inset); border-block: 1px solid var(--line); background: var(--white); }
.research-bridge .eyebrow { display: none; }
.research-bridge h2 { font-size: 22px; }
.research-bridge .text-link { flex-shrink: 0; }
.site-footer { background: #e9edf5; color: var(--ink); padding: 32px var(--page-inset) 18px; }
.footer-main { display: flex; justify-content: space-between; align-items: center; gap: 24px; padding-bottom: 26px; }
.footer-brand { display: block; color: var(--navy); font-weight: 600; font-size: 30px; }
.footer-logo { display: block; width: var(--footer-brand-width); max-width: 100%; height: auto; max-height: var(--brand-max-height); object-fit: contain; }
.footer-brand span { display: block; margin-top: 10px; color: var(--muted); font-size: var(--text-meta); line-height: 1.7; font-weight: 400; }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; gap: 24px; padding-top: 12px; border-top: 1px solid var(--line); font-size: var(--text-meta); color: var(--muted); }
.footer-bottom p { margin: 0; }
.footer-bottom nav { display: flex; gap: 26px; }
.footer-bottom a { display: inline-flex; align-items: center; min-height: 44px; padding-block: 8px; }
.footer-bottom a:hover { color: var(--navy); text-decoration: underline; text-underline-offset: 4px; }
.footer-bottom > a span { margin-left: 8px; }

@media (max-width: 1100px) {
  :root { --brand-slot: 224px; --brand-width: 216px; --gutter: 40px; --column-gap: 40px; }
  .brand { padding-inline: 16px; }
  .site-nav { gap: 22px; padding-left: 24px; padding-right: 32px; }
  .site-header:has(.header-account) .site-nav { gap: 18px; padding-inline: 20px; }
  .header-account { padding-inline: 20px; }

  .validation-metrics { gap: 20px; }
  .research-directions li > div { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
  :root { --section-space: 56px; --brand-slot: 224px; --column-gap: 32px; --header-height: 80px; }
  .site-header { flex-wrap: wrap; }
  .site-nav { width: 100%; padding: 10px var(--gutter) 18px; flex-direction: column; align-items: stretch; gap: 0; border-top: 1px solid var(--line-dark); }
  .site-nav a { min-height: 50px; font-size: 16px; padding: 12px 0; }
  .site-nav a::after { width: 32px; bottom: 4px; }
  .site-header:has(.header-account) .brand { order: 0; margin-right: auto; }
  .header-account { order: 1; padding-inline: 16px; }
  .header-account::before { display: none; }
  .site-header:has(.header-account) .menu-toggle { order: 2; }
  .site-header:has(.header-account) .site-nav { order: 3; gap: 0; margin: 0; padding: 10px var(--gutter) 18px; }
  .hero-inner { min-height: 600px; padding-top: 58px; padding-bottom: 52px; }
  .hero-description { font-size: 17px; max-width: 60ch; }
  .section-heading, .information-section, .application-section, .validation-summary { grid-template-columns: 1fr 1.1fr; }
  .validation-summary { grid-template-columns: 1fr; gap: 26px; }
  .validation-intro p { max-width: 65ch; }
  .validation-metrics .metric-detail { max-width: 35ch; }
  .scope-list, .workflow-steps { gap: 24px; }
  .scope-list h3, .workflow-steps h3 { font-size: 19px; }
  .scope-list p, .workflow-steps p { font-size: var(--text-body); }
  .team-section { grid-template-columns: 1fr; gap: 30px; }
  .research-directions li > div { display: block; }
  .research-directions h3 { max-width: none; }
  .footer-bottom { flex-wrap: wrap; gap: 8px 24px; }
  .footer-bottom nav { gap: 20px; }
}
@media (max-width: 600px) {
  :root {
    --gutter: 24px;
    --section-space: 44px;
    --text-body: 16px;
    --text-small: 16px;
    --title-hero: clamp(32px, 9.74vw, 38px);
    --title-page: 34px;
    --title-section: 26px;
    --title-item: 21px;
    --brand-width: 156px;
    --brand-slot: auto;
    --brand-max-height: 44px;
    --footer-brand-width: 156px;
    --header-height: 74px;
  }
  .preview-note { min-height: 30px; }
  .brand { flex: 1; min-width: 0; padding: 16px 24px; justify-content: flex-start; }
  .menu-toggle { padding: 18px 22px; gap: 12px; }
  .brand-description { display: none; }
  .site-header:has(.header-account) .brand { flex: 1 1 112px; padding-inline: 16px; }
  .site-header:has(.header-account) .brand-logo { width: 168px; }
  .brand-logo-vector { margin-block: -16px; }
  .header-account { padding-inline: 12px; max-width: 150px; }
  .header-login { max-width: 92px; white-space: normal; font-size: 15px; text-align: left; }
  .site-header:has(.header-account) .menu-toggle { padding: 16px; min-width: 52px; }
  .site-header:has(.header-account) .menu-toggle > span:first-child { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
  .hero-inner { min-height: 0; padding-top: 42px; padding-bottom: 40px; }
  .hero-eyebrow { margin-bottom: 20px; }
  .hero h1 { line-height: 1.18; margin-bottom: 24px; }
  .hero h1 > em { margin-top: 8px; }
  .hero-description { font-size: 16px; line-height: 1.7; max-width: 34ch; }
  .service-availability { margin-top: 22px; }
  .status-label { font-size: var(--text-meta); }
  .hero-link { margin-top: 18px; font-size: 14px; }
  .desktop-break { display: none; }
  .section-heading, .information-section, .application-section { grid-template-columns: 1fr; gap: 24px; }
  .section-heading > p { justify-self: start; max-width: 48ch; margin: 0; font-size: 14px; }
  .eyebrow { margin-bottom: 16px; }
  .service-intro-copy p, .information-copy > p { line-height: 1.7; }
  .page-hero { padding-top: 38px; padding-bottom: 34px; }
  .page-hero h1 { margin-bottom: 18px; }
  .page-lead { font-size: 16px; }
  .source-note { font-size: var(--text-meta); padding-top: 18px; padding-bottom: 18px; }
  .source-note p { padding-left: 14px; }
  .validation-summary { margin-top: 28px; padding-top: 24px; }
  .validation-metrics { gap: 22px; }
  .validation-metrics dd { font-size: clamp(44px, 13vw, 54px); }
  .validation-caveat { margin-top: 26px; font-size: var(--text-meta); }
  .scope-list { grid-template-columns: 1fr; gap: 24px; margin-top: 26px; }
  .scope-list li { padding-top: 20px; }
  .scope-list h3 { font-size: 20px; margin-bottom: 9px; }
  .application-intro > p:not(.eyebrow) { max-width: none; }
  .application-steps li { grid-template-columns: 24px minmax(0, 1fr); gap: 16px; padding-block: 22px; }
  .application-steps h3 { font-size: 20px; }
  .workflow-steps { display: block; margin-top: 28px; }
  .workflow-steps li { display: grid; grid-template-columns: 24px minmax(0, 1fr); gap: 0 16px; padding: 22px 0; }
  .workflow-steps .step-number { grid-row: 1 / 3; padding-top: 3px; }
  .workflow-steps .step-number span { display: none; }
  .workflow-steps h3 { font-size: 20px; margin: 0 0 9px; }
  .workflow-steps p { grid-column: 2; font-size: var(--text-body); }
  .workflow-note { margin-top: 0; font-size: var(--text-meta); }
  .method-list, .research-directions { margin-top: 28px; }
  .method-list li, .research-directions li { grid-template-columns: 22px minmax(0, 1fr); gap: 16px; padding-block: 24px; }
  .method-list p, .research-directions p { line-height: 1.7; }
  .research-directions .section-note { font-size: var(--text-meta); margin-top: 14px; }
  .benchmark-counts { gap: 30px; margin-top: 28px; }
  .benchmark-counts dt { min-height: 3em; font-size: 16px; }
  .benchmark-counts dd { font-size: 36px; }
  .benchmark-counts .count-detail { font-size: var(--text-meta); }
  .team-section { padding-top: 38px; padding-bottom: 38px; gap: 24px; }
  .team-section h2 { font-size: var(--title-section); }
  .team-roster { grid-template-columns: 1fr; gap: 25px; }
  .person { padding-top: 20px; }
  .person h3 { font-size: 22px; }
  .person p { font-size: var(--text-small); }
  .person-label { font-size: var(--text-meta); }
  .director-roster .person h3 { font-size: 24px; }
  .research-bridge { display: block; padding-top: 30px; padding-bottom: 30px; }
  .research-bridge h2 { font-size: 22px; }
  .research-bridge .text-link { margin-top: 12px; font-size: 16px; }
  .site-footer { padding-top: 28px; }
  .footer-main { display: block; padding-bottom: 24px; }
  .footer-status { margin-top: 22px; }
  .footer-bottom { display: grid; grid-template-columns: 1fr auto; gap: 8px; }
  .footer-bottom nav { grid-column: 1 / -1; grid-row: 1; display: grid; grid-template-columns: 1fr 1fr; gap: 0 20px; }
  .footer-bottom > a { justify-self: end; }
}
/* Inner pages share an aligned title rail and a comfortable reading column.
   These rules are scoped away from the account and request interfaces. */
.editorial-page { --editorial-rail: 320px; --editorial-gap: 48px; --section-space: 44px; }
.editorial-page h2 { font-size: 28px; line-height: 1.3; }
.editorial-page .page-hero { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); align-items: center; gap: var(--editorial-gap); padding-block: 36px; }
.editorial-page .page-hero h1 { margin: 0; font-size: 40px; }
.editorial-page .page-lead { max-width: 65ch; }
.editorial-page .information-section, .editorial-page .section-heading { grid-template-columns: var(--editorial-rail) minmax(0, 1fr); gap: var(--editorial-gap); align-items: start; }
.editorial-page .section-heading > p { justify-self: start; max-width: 62ch; padding-top: 4px; }
.editorial-page .eyebrow { margin-bottom: 8px; }
.editorial-page .information-copy > p { line-height: 1.65; margin-bottom: 16px; }
.editorial-page .information-copy > p:last-child { margin-bottom: 0; }
.editorial-page .method-list, .editorial-page .research-directions { margin-top: 24px; }
.editorial-page .method-list li, .editorial-page .research-directions li { grid-template-columns: 28px minmax(0, 1fr); gap: 20px; padding-block: 20px; }
.editorial-page .method-list li > div, .editorial-page .research-directions li > div { display: grid; grid-template-columns: calc(var(--editorial-rail) - 48px) minmax(0, 1fr); gap: 0 var(--editorial-gap); align-items: start; }
.editorial-page .method-list h3, .editorial-page .research-directions h3 { font-size: 20px; line-height: 1.4; margin: 0; }
.editorial-page .method-list p, .editorial-page .research-directions p { line-height: 1.65; }
.editorial-page .method-list + .section-note { margin-left: calc(var(--editorial-rail) + var(--editorial-gap)); margin-top: 16px; }
.editorial-page .research-directions .section-note { margin-top: 12px; }
.editorial-page .research-finding strong { display: inline; font-size: inherit; margin: 0; }
.editorial-page .research-finding p { font-size: 22px; line-height: 1.4; margin-bottom: 8px; }
.editorial-page .information-copy .finding-detail { margin-top: 20px; }
.editorial-page .research-bridge { padding-block: 16px; }
.editorial-page .research-bridge h2 { font-size: 22px; }

/* Put the collection's context alongside its counts, without inventing a chart. */
.benchmark-overview { display: grid; grid-template-columns: 1.1fr 1fr; gap: 56px; padding-block: var(--section-space); }
.benchmark-overview > .information-section, .benchmark-overview > .detail-section { display: block; padding: 0; }
.benchmark-overview .information-copy { margin-top: 20px; }
.benchmark-overview .benchmark-counts { gap: 24px; margin-top: 24px; }
.benchmark-overview .benchmark-counts > div { padding-top: 16px; }
.benchmark-overview .benchmark-counts dd { font-size: 36px; margin-block: 10px 8px; }
.benchmark-overview .benchmark-counts .count-detail { font-size: 16px; margin: 0; }
.benchmark-overview .section-note { margin-top: 20px; }

.group-page { --editorial-rail: 280px; }
.group-page .team-section { grid-template-columns: var(--editorial-rail) minmax(0, 1fr); gap: var(--editorial-gap); padding-block: 32px; }
.group-page .team-section h2 { font-size: 28px; }
.group-page .team-roster { gap: 24px 36px; }
.group-page .person { padding-top: 0; border-top: 0; }
.group-page .person h3 { font-size: 22px; margin-bottom: 6px; }
.group-page .person p { line-height: 1.55; }
.group-page .person-label { font-size: 18px; font-weight: 600; color: var(--navy); }
.group-page .director-roster .person { display: block; }
@media (max-width: 1000px) {
  .editorial-page { --editorial-rail: 240px; --editorial-gap: 32px; }
  .benchmark-overview { gap: 32px; }
  .benchmark-overview .benchmark-counts { grid-template-columns: 1fr; gap: 16px; }
}
@media (max-width: 700px) {
  .editorial-page { --section-space: 32px; }
  .editorial-page h2, .group-page .team-section h2 { font-size: 26px; }
  .editorial-page .page-hero, .editorial-page .information-section, .editorial-page .section-heading, .group-page .team-section, .benchmark-overview { grid-template-columns: 1fr; gap: 20px; }
  .editorial-page .page-hero { padding-block: 28px; gap: 14px; }
  .editorial-page .page-hero h1 { font-size: 34px; }
  .editorial-page .method-list li, .editorial-page .research-directions li { grid-template-columns: 22px minmax(0, 1fr); gap: 14px; }
  .editorial-page .method-list li > div, .editorial-page .research-directions li > div { display: block; }
  .editorial-page .method-list h3, .editorial-page .research-directions h3 { margin-bottom: 10px; }
  .editorial-page .method-list + .section-note { margin-left: 0; }
  .editorial-page .research-bridge { padding-block: 20px; }
  .editorial-page .research-bridge .text-link { margin-top: 6px; }
  .benchmark-overview { gap: 32px; }
  .benchmark-overview .benchmark-counts { grid-template-columns: 1fr 1fr; gap: 24px; }
  .benchmark-overview .benchmark-counts dt { min-height: 0; }
  .group-page .team-roster { grid-template-columns: 1fr; gap: 24px; }
  .group-page .director-roster .person { display: block; }
}

/* Homepage: direct client text from PPT slides 7–10, with a restrained reading scale. */
.home-page {
  font-size: var(--text-body);
}
.home-page .hero { position: relative; isolation: isolate; background: #081d35; overflow: hidden; }
.home-page .hero-horizon { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; z-index: -2; }
.home-page .hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(to bottom, var(--header-navy), rgb(6 17 35 / 32%) 20%, rgb(6 17 35 / 28%) 43%, rgb(6 17 35 / 18%) 56%, rgb(6 17 35 / 72%) 100%); pointer-events: none; }
.home-page .hero-inner {
  /* Content-led height keeps research visible across desktop aspect ratios. */
  min-height: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 24px;
  padding-block: 68px 20px;
  padding-inline: clamp(24px, 4.5vw, 88px);
  text-align: center;
}
.home-page .hero-copy { display: block; width: 100%; max-width: 1600px; margin-inline: auto; align-self: center; }
.home-page .hero h1 { max-width: none; font-family: var(--font-sans); font-size: clamp(28px, 2.6vw, 44px); font-weight: 500; line-height: 1.17; letter-spacing: -.025em; margin: 0 auto 26px; text-wrap: balance; }
.home-page .hero h1 .hero-term { display: inline; white-space: nowrap; }
.home-page .hero-emblem { display: block; width: 210px; max-width: 100%; height: auto; margin: -12px auto 0; transform: skewX(-10deg); }
.home-page .hero-description { margin: 48px auto 0; max-width: 1240px; font-size: 26px; line-height: 1.5; color: #fff; text-wrap: balance; }
.home-page .hero-description span { display: block; }
.home-page .hero-providers { display: flex; align-items: center; justify-content: center; gap: 24px; text-align: center; }
.home-page .provider-label { margin: 0; color: var(--on-dark); font-size: 24px; font-weight: 500; line-height: 1.4; }
.home-page .provider-logos { --provider-logo-height: 30px; display: flex; align-items: center; justify-content: center; gap: 26px; }
.home-page .provider-logo { display: block; flex-shrink: 0; width: auto; height: var(--provider-logo-height); object-fit: contain; }
/* Compensate for the whitespace inside the DeepSeek SVG for an even visual height. */
.home-page .provider-logo.deepseek-logo { height: calc(var(--provider-logo-height) * 1.067); }
.model-brand { display: inline-flex; align-items: center; gap: 4px; vertical-align: middle; white-space: nowrap; }
.qwen-wordmark { display: inline-block; width: 92px; height: auto; vertical-align: middle; border-radius: 2px; }
.publication-wordmark { display: inline-block; width: 240px; max-width: 100%; height: auto; vertical-align: middle; }
.home-page .chapter-links { width: auto; margin-inline: auto; border-top: 0; }
.home-page .chapter-links a { display: inline-flex; align-items: center; gap: 20px; min-height: 44px; margin-top: 0; padding: 10px 22px; border-radius: 4px; background: var(--white); font-size: 16px; font-weight: 500; line-height: 1.5; color: var(--header-navy); }
.home-page .chapter-links a span { font-size: 20px; }
.home-page .chapter-links a:hover { text-decoration: underline; text-underline-offset: 5px; }
/* Chapters follow their content length instead of filling a viewport. */
.home-page > section:not(.hero) { padding-block: 56px; }
.home-page .chapter-content { width: 100%; }
.home-page .status-label { font-size: var(--text-meta); }
.home-performance, .home-service { padding-top: var(--section-space); padding-bottom: var(--section-space); }
/* The original service section is the primary action destination. */
.home-page > section.home-service {
  --line: rgb(232 236 243 / 25%);
  background: var(--header-navy);
  color: var(--white);
  border-top: 0;
  padding-block: 68px;
}
.performance-groups { display: grid; grid-template-columns: 1.2fr 1fr; gap: 56px; margin-top: 28px; }
.performance-group { padding-top: 20px; border-top: 1px solid var(--line); }
.performance-group h3 { margin-bottom: 16px; font-size: 22px; line-height: 1.35; }
.performance-results { display: grid; gap: 12px; list-style: none; margin: 0; padding: 0; }
.performance-results p { margin: 0; font-size: 20px; font-weight: 400; line-height: 1.6; color: var(--ink); }
.performance-results strong { font-size: inherit; font-weight: 600; }
.performance-source { margin-top: 28px; }
.performance-source p { margin: 0; color: var(--muted); font-size: var(--text-small); line-height: 1.65; }
.performance-source .source-intro { font-style: italic; }
.home-service .section-heading { display: block; }
.home-service .section-heading h2 { max-width: none; font-size: clamp(30px, 2.6vw, 38px); line-height: 1.3; letter-spacing: -.02em; text-wrap: balance; }
.home-service .service-brand { white-space: nowrap; }
.home-service .service-wordmark { display: inline-block; width: auto; height: .83em; vertical-align: -.02em; margin-inline-start: .12em; }
.home-service .service-entry { display: flex; margin-top: 28px; }
.home-service .service-entry-button { min-height: 58px; padding: 16px 28px; border: 1px solid var(--white); border-radius: 4px; background: var(--white); color: var(--header-navy); font-size: 18px; font-weight: 600; line-height: 1.4; text-align: center; cursor: pointer; transition: background-color var(--transition), border-color var(--transition); }
.home-service .service-entry-button:hover { background: #e8ecf3; border-color: #e8ecf3; }
.home-service .service-entry-button:focus-visible { outline-color: var(--white); }
.home-service .application-number { color: #c9c7e0; }
.home-page .home-service .application-steps p { color: var(--on-dark); }
.home-service .service-processes { margin-top: 44px; }
.service-processes { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--column-gap); margin-top: 32px; }
.service-stage > h3 { margin-bottom: 18px; font-size: 22px; }
.home-page .application-steps li { padding-block: 18px; }
.home-page .application-steps li:last-child { padding-bottom: 0; }
.home-page .application-steps p { color: var(--ink); font-size: var(--text-body); }
.home-page .application-number { padding-top: 3px; }
.home-page .home-notes .chapter-content { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 48px; }
.home-page .home-notes h2 { font-style: italic; }
.home-page .home-notes .scope-list { margin: 0; gap: 16px; grid-template-columns: 1fr; }
.home-page .home-notes .scope-list li { border: 0; padding: 0 0 16px; border-bottom: 1px solid var(--line); }
.home-page .home-notes .scope-list li:last-child { padding-bottom: 0; border-bottom: 0; }
.home-page .home-notes .scope-list p { font-size: var(--text-body); line-height: 1.65; font-style: italic; }
.home-notes#service-scope { background: var(--paper); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
@media (min-width: 901px) and (max-height: 780px) {
  .home-page .hero-inner { gap: 20px; padding-block: 63px 20px; }
  .home-page .hero h1 { margin-bottom: 20px; }
  .home-page .hero-description { font-size: 24px; }
  .home-page .hero-emblem { width: 200px; margin-bottom: 0; }
}
@media (max-width: 900px) {
  .home-page .hero-inner { gap: 24px; padding-block: 72px 24px; }
  .home-page .hero-description span { display: inline; }
  .home-page .hero-emblem { margin-bottom: 8px; }
  .home-page .hero-horizon { object-position: center top; }
  .performance-groups { gap: 32px; }
  .service-processes { grid-template-columns: 1fr; gap: 36px; }
}
@media (max-width: 600px) {
  .home-page .hero-inner { gap: 24px; padding-block: 72px 20px; }
  .home-page .hero h1 { font-size: clamp(28px, 7.7vw, 32px); line-height: 1.2; letter-spacing: -.02em; margin-bottom: 24px; }
  .home-page .hero-description { font-size: 20px; line-height: 1.6; max-width: none; }
  .home-page .hero-description span { display: inline; }
  .home-page .hero-emblem { width: 180px; margin-block: 4px 12px; }
  .home-page .hero-horizon { top: -140px; bottom: auto; height: calc(100% + 140px); }
  .home-page .hero::after { background: linear-gradient(to bottom, var(--header-navy), rgb(6 17 35 / 56%) 28%, rgb(6 17 35 / 30%) 35%, rgb(6 17 35 / 30%) 40%, rgb(6 17 35 / 56%) 54%, rgb(6 17 35 / 78%) 100%); }
  .home-page .hero-providers { flex-direction: column; gap: 12px; }
  .home-page .provider-logos { --provider-logo-height: clamp(24px, 7.5vw, 30px); gap: 20px; }
  .home-page .provider-label { font-size: 22px; }
  .qwen-wordmark { width: 82px; }
  .home-page .chapter-links a { font-size: 14px; }
  .home-page > section:not(.hero) { padding-block: 36px; }
  .performance-groups { grid-template-columns: 1fr; margin-top: 24px; gap: 24px; }
  .performance-group { padding-top: 16px; }
  .performance-group h3 { font-size: 20px; margin-bottom: 12px; }
  .performance-results p { font-size: 18px; }
  .performance-source { margin-top: 24px; }
  .home-page .home-notes .chapter-content { grid-template-columns: 1fr; gap: 24px; }
  .home-page > section.home-service { padding-block: 44px; }
  .home-service .section-heading { grid-template-columns: 1fr; gap: 24px; }
  .home-service .section-heading h2 { font-size: 30px; }
  .home-service .service-entry-button { width: 100%; min-height: 56px; font-size: 16px; padding-inline: 20px; }
  .home-service .service-processes { margin-top: 36px; }
  .home-service .service-entry { justify-self: stretch; }
  .service-processes { margin-top: 28px; }
  .service-stage > h3 { font-size: 20px; margin-bottom: 16px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}

/* Account access shares the site typography; authentication is not connected. */
.account-dialog { width: min(480px, calc(100% - 32px)); max-height: calc(100dvh - 32px); padding: 32px; border: 1px solid var(--line); border-radius: 4px; background: var(--white); color: var(--ink); overflow-y: auto; }
.account-dialog::backdrop { background: rgb(15 25 42 / 55%); }
body:has(.account-dialog[open]) { overflow: hidden; }
.account-heading-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 24px; }
.account-heading-row h2 { font-size: 28px; line-height: 1.25; }
.account-close { display: flex; justify-content: center; align-items: center; flex: 0 0 44px; height: 44px; padding: 0; border: 0; background: transparent; color: var(--muted); cursor: pointer; }
.account-close:hover { color: var(--navy); background: #f4f6f8; }
.account-tabs { display: flex; border-bottom: 1px solid var(--line); margin-bottom: 28px; }
.account-tabs button { flex: 1; min-height: 48px; border: 0; border-bottom: 2px solid transparent; margin-bottom: -1px; padding: 10px 16px; background: transparent; color: var(--muted); font-size: 18px; cursor: pointer; }
.account-tabs button[aria-selected=true] { border-bottom-color: var(--navy); color: var(--navy); font-weight: 600; }
.account-form { display: grid; gap: 24px; }
.account-field { display: grid; gap: 8px; }
.account-field label { font-size: 16px; line-height: 1.5; font-weight: 600; }
.account-field input { width: 100%; min-width: 0; min-height: 48px; padding: 10px 12px; border: 1px solid #9ba5b2; border-radius: 3px; background: var(--white); color: var(--ink); font: inherit; font-size: 18px; line-height: 1.5; }
.account-field input:focus-visible { outline: 2px solid var(--navy); outline-offset: 2px; }
.account-submit { min-height: 50px; margin-top: 4px; padding: 12px 20px; border: 1px solid var(--navy); border-radius: 3px; background: var(--navy); color: var(--white); font-size: 18px; font-weight: 600; }
.account-submit:disabled { opacity: .6; cursor: not-allowed; }
@media (max-width: 600px) {
  .account-dialog { padding: 24px; }
  .account-heading-row { margin-bottom: 18px; }
  .account-heading-row h2 { font-size: 26px; }
  .account-tabs { margin-bottom: 24px; }
  .account-field input { font-size: 16px; }
  .account-form { gap: 20px; }
}
