/* KEUS Fellowship — shared stylesheet
   Palette echoes the QA platform: ink, caliper cyan, off-white.
   Motif: the ultrasound sector and the depth scale (tick marks). */

:root {
  --ink: #15202b;
  --ink-2: #2b3a48;
  --muted: #4d5d6c;
  --paper: #f6f8fa;
  --white: #ffffff;
  --line: #d8e0e7;
  --line-strong: #b9c6d1;
  --cyan: #0e7490;
  --cyan-dark: #0b5c72;
  --cyan-bright: #22d3ee;
  --cyan-soft: #e3f3f7;
  --screen: #0d1720;          /* scanner-screen dark */
  --screen-2: #13212d;
  --screen-text: #e6edf3;
  --screen-muted: #a3b3c2;
  --tick: #b9c6d1;
  --tbc-bg: #fff4d6;
  --tbc-text: #6b3800;
  --tbc-line: #c26a00;

  --serif: "Source Serif 4", "Source Serif Pro", Georgia, "Times New Roman", serif;
  --sans: "IBM Plex Sans", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;

  --radius: 10px;
  --wrap: 1180px;
  --gutter: 24px;
  --header-h: 72px;
}

*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.6;
  overflow-wrap: break-word;
}

img, svg { max-width: 100%; }
svg { display: block; }

h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.01em;
  margin: 0 0 0.5em;
  color: inherit;
}
h1 { font-size: clamp(2.15rem, 4.6vw, 3.5rem); }
h2 { font-size: clamp(1.65rem, 3vw, 2.35rem); }
h3 { font-size: 1.3rem; }
h4 { font-size: 1.1rem; }

p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }

a { color: var(--cyan); text-decoration-thickness: 1px; text-underline-offset: 0.18em; }
a:hover { color: var(--cyan-dark); text-decoration-thickness: 2px; }

:focus-visible {
  outline: 3px solid var(--cyan);
  outline-offset: 2px;
  border-radius: 3px;
}
.on-dark :focus-visible,
.site-footer :focus-visible { outline-color: var(--cyan-bright); }

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0);
  white-space: nowrap; border: 0;
}

.skip-link {
  position: absolute;
  left: 12px; top: -60px;
  z-index: 100;
  background: var(--ink);
  color: #fff;
  padding: 10px 16px;
  border-radius: 6px;
  font-weight: 600;
  text-decoration: none;
}
.skip-link:focus { top: 12px; color: #fff; }

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin: 0 auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}

/* ---------- To-confirm placeholders (for the owner to spot) ---------- */
mark.tbc {
  background: var(--tbc-bg);
  color: var(--tbc-text);
  outline: 2px dashed var(--tbc-line);
  outline-offset: 1px;
  border-radius: 3px;
  padding: 0 0.3em;
  font-family: var(--sans);
  font-style: normal;
  font-weight: 500;
  font-size: 0.92em;
  letter-spacing: 0;
  text-transform: none;
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.97);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: var(--header-h);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: var(--ink);
  text-decoration: none;
  flex-shrink: 0;
}
.brand:hover { color: var(--ink); }
.brand-mark { width: 34px; height: 34px; flex-shrink: 0; }
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-name {
  font-family: var(--serif);
  font-weight: 700;
  font-size: 1.22rem;
  letter-spacing: -0.005em;
}
.brand-sub {
  font-family: var(--mono);
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 3px;
}

.site-nav { display: flex; align-items: center; gap: 8px; }
.nav-list {
  display: flex;
  align-items: center;
  gap: 2px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-list a {
  display: block;
  padding: 8px 9px;
  color: var(--ink-2);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  border-radius: 6px;
  white-space: nowrap;
}
.nav-list a:hover { background: var(--paper); color: var(--ink); }
.nav-list a[aria-current="page"] {
  color: var(--cyan);
  box-shadow: inset 0 -2px 0 var(--cyan);
  border-radius: 6px 6px 0 0;
}

/* Sign-in dropdown */
.signin { position: relative; margin-left: 10px; }
.signin-label { display: none; }
.signin-toggle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font: inherit;
  font-size: 0.95rem;
  font-weight: 600;
  color: #fff;
  background: var(--ink);
  border: 1px solid var(--ink);
  border-radius: 7px;
  padding: 8px 14px;
  cursor: pointer;
  white-space: nowrap;
}
.signin-toggle:hover { background: var(--ink-2); }
.signin-toggle svg { width: 12px; height: 12px; transition: transform 0.15s ease; }
.signin.open .signin-toggle svg { transform: rotate(180deg); }
.signin-menu {
  display: none;
  position: absolute;
  right: 0;
  top: calc(100% + 10px);
  width: 330px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 14px 36px rgba(21, 32, 43, 0.16);
  padding: 8px;
  list-style: none;
  margin: 0;
}
.signin.open .signin-menu { display: block; }
.no-js .signin:hover .signin-menu,
.no-js .signin:focus-within .signin-menu { display: block; }
.signin-menu a {
  display: block;
  padding: 11px 12px;
  border-radius: 7px;
  text-decoration: none;
  color: var(--ink);
}
.signin-menu a:hover { background: var(--paper); color: var(--ink); }
.signin-menu .s-title {
  display: flex; align-items: center; gap: 6px;
  font-weight: 600;
}
.signin-menu .s-title svg { width: 12px; height: 12px; color: var(--cyan); }
.signin-menu .s-who { display: block; font-size: 0.86rem; color: var(--muted); margin-top: 2px; line-height: 1.4; }
.signin-menu .s-host { display: block; font-family: var(--mono); font-size: 0.75rem; color: var(--cyan); margin-top: 4px; }

.nav-toggle {
  display: none;
  align-items: center;
  gap: 8px;
  font: inherit;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--ink);
  background: var(--white);
  border: 1px solid var(--line-strong);
  border-radius: 7px;
  padding: 8px 12px;
  cursor: pointer;
}
.nav-toggle .bars { width: 18px; height: 12px; position: relative; }
.nav-toggle .bars span {
  position: absolute; left: 0; right: 0; height: 2px; background: currentColor; border-radius: 1px;
  transition: transform 0.15s ease, opacity 0.15s ease;
}
.nav-toggle .bars span:nth-child(1) { top: 0; }
.nav-toggle .bars span:nth-child(2) { top: 5px; }
.nav-toggle .bars span:nth-child(3) { top: 10px; }
.nav-open .nav-toggle .bars span:nth-child(1) { transform: translateY(5px) rotate(45deg); }
.nav-open .nav-toggle .bars span:nth-child(2) { opacity: 0; }
.nav-open .nav-toggle .bars span:nth-child(3) { transform: translateY(-5px) rotate(-45deg); }

@media (max-width: 1099px) {
  .nav-toggle { display: inline-flex; }
  .site-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--white);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 16px 30px rgba(21, 32, 43, 0.12);
    padding: 8px var(--gutter) 22px;
    max-height: calc(100vh - var(--header-h));
    overflow-y: auto;
  }
  .nav-open .site-nav { display: flex; }
  .no-js .header-inner { flex-wrap: wrap; }
  .no-js .nav-toggle { display: none; }
  .no-js .site-nav { display: flex; position: static; box-shadow: none; border: 0; width: 100%; }
  .nav-list { flex-direction: column; align-items: stretch; }
  .nav-list li { border-bottom: 1px solid var(--line); }
  .nav-list a { padding: 13px 4px; font-size: 1.02rem; border-radius: 0; }
  .nav-list a[aria-current="page"] { box-shadow: inset 3px 0 0 var(--cyan); padding-left: 14px; border-radius: 0; }
  .signin { margin: 18px 0 0; }
  .signin-toggle { display: none; }
  .signin-label {
    display: block;
    font-family: var(--mono);
    font-size: 0.74rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--muted);
    margin-bottom: 6px;
  }
  .signin-menu,
  .no-js .signin:hover .signin-menu {
    display: block;
    position: static;
    width: auto;
    box-shadow: none;
    padding: 0;
    border: 0;
    display: grid;
    gap: 8px;
  }
  .signin-menu a { border: 1px solid var(--line); background: var(--paper); }
}

/* ---------- Breadcrumbs ---------- */
.breadcrumbs {
  background: var(--white);
  border-bottom: 1px solid var(--line);
  font-size: 0.875rem;
}
.breadcrumbs ol {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 8px;
  list-style: none;
  margin: 0;
  padding: 10px 0;
}
.breadcrumbs li { display: inline-flex; align-items: center; gap: 8px; }
.breadcrumbs a { color: var(--muted); }
.breadcrumbs a:hover { color: var(--cyan); }
.breadcrumbs .sep { color: var(--line-strong); }
.breadcrumbs [aria-current="page"] { color: var(--ink); font-weight: 600; }

/* ---------- Eyebrows, ticks, depth motif ---------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--mono);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--cyan);
  margin: 0 0 14px;
}
.eyebrow::before {
  content: "";
  width: 28px; height: 7px;
  background:
    linear-gradient(currentColor, currentColor) left bottom / 100% 1px no-repeat,
    repeating-linear-gradient(to right, currentColor 0 1px, transparent 1px 7px) left bottom / 100% 4px no-repeat;
  flex-shrink: 0;
}
.on-dark .eyebrow { color: var(--cyan-bright); }

/* A vertical depth scale: spine + minor ticks every 12px + major every 60px */
.ticked {
  position: relative;
  padding-left: 30px;
}
.ticked::before {
  content: "";
  position: absolute;
  left: 0; top: 4px; bottom: 4px;
  width: 13px;
  background:
    linear-gradient(var(--tick), var(--tick)) 0 0 / 1px 100% no-repeat,
    repeating-linear-gradient(to bottom, var(--tick) 0 1px, transparent 1px 12px) 0 0 / 6px 100% no-repeat,
    repeating-linear-gradient(to bottom, var(--tick) 0 1px, transparent 1px 60px) 0 0 / 13px 100% no-repeat;
}
.on-dark .ticked::before { --tick: #34495b; }

.lead { font-size: 1.2rem; line-height: 1.55; color: var(--ink-2); max-width: 44em; }
.on-dark .lead { color: var(--screen-muted); }
.muted { color: var(--muted); }
.small { font-size: 0.9rem; }
.mono { font-family: var(--mono); }

/* ---------- Buttons ---------- */
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 20px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  border: 1.5px solid transparent;
  line-height: 1.2;
}
.btn svg { width: 14px; height: 14px; }
.btn-primary { background: var(--cyan); color: #fff; border-color: var(--cyan); }
.btn-primary:hover { background: var(--cyan-dark); border-color: var(--cyan-dark); color: #fff; }
.btn-secondary { background: transparent; color: var(--ink); border-color: var(--line-strong); }
.btn-secondary:hover { border-color: var(--ink); color: var(--ink); background: var(--white); }
.on-dark .btn-primary { background: var(--cyan-bright); border-color: var(--cyan-bright); color: var(--screen); }
.on-dark .btn-primary:hover { background: #67e8f9; border-color: #67e8f9; color: var(--screen); }
.on-dark .btn-secondary { color: var(--screen-text); border-color: #3b5063; }
.on-dark .btn-secondary:hover { border-color: var(--screen-text); background: transparent; color: #fff; }

.text-link {
  display: inline-flex; align-items: center; gap: 6px;
  font-weight: 600; text-decoration: none;
}
.text-link::after { content: "\2192"; transition: transform 0.15s ease; }
.text-link:hover::after { transform: translateX(3px); }

/* ---------- Dark bands ---------- */
.on-dark {
  background: var(--screen);
  color: var(--screen-text);
}
.on-dark a:not(.btn) { color: var(--cyan-bright); }
.on-dark a:not(.btn):hover { color: #a5f3fc; }

/* ---------- Home hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid #1f3140;
}
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: 40px;
  align-items: center;
  padding-top: 72px;
  padding-bottom: 72px;
}
.hero h1 { color: #fff; max-width: 15em; }
.hero h1 em { font-style: normal; color: var(--cyan-bright); }
.hero-facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  margin: 40px 0 0;
  border-top: 1px solid #2a3d4e;
}
.hero-facts div { padding: 16px 18px 0 0; }
.hero-facts div + div { padding-left: 18px; border-left: 1px solid #2a3d4e; }
.hero-facts dt {
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--screen-muted);
}
.hero-facts dd { margin: 4px 0 0; font-weight: 500; color: #fff; line-height: 1.4; }
.hero-figure { position: relative; }
.sector-art { width: 100%; height: auto; max-width: 520px; margin-left: auto; }
.sector-sweep {
  transform-origin: 260px 34px;
  animation: sweep 7s ease-in-out infinite alternate;
}
@keyframes sweep {
  from { transform: rotate(-30deg); }
  to   { transform: rotate(30deg); }
}

/* ---------- Page head (inner pages) ---------- */
.page-head {
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid #1f3140;
}
.page-head .wrap { position: relative; z-index: 1; padding-top: 56px; padding-bottom: 60px; }
.page-head h1 { color: #fff; max-width: 18em; }
.page-head .lead { margin-bottom: 0; }
.page-head-art {
  position: absolute;
  right: -40px;
  top: -30px;
  width: 460px;
  height: auto;
  opacity: 0.9;
  pointer-events: none;
}

/* ---------- Sections ---------- */
.section { padding: 76px 0; }
.section-tight { padding: 56px 0; }
.section.white { background: var(--white); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section + .section.white, .section.white + .section { border-top-color: var(--line); }
.section-head { max-width: 46em; margin-bottom: 36px; }
.section-head p { color: var(--muted); font-size: 1.08rem; }

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 56px;
  align-items: start;
}
.prose { max-width: 40em; }
.prose p { font-size: 1.08rem; }
.prose ul, .prose ol { padding-left: 1.2em; margin: 0 0 1em; }
.prose li { margin-bottom: 0.4em; }

.grid { display: grid; gap: 20px; }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px;
}
.section.white .card { background: var(--paper); }
.card h3 { margin-bottom: 0.4em; }
.card p { color: var(--ink-2); }
.card .text-link { margin-top: 14px; }

/* Pillars */
.pillar { display: flex; flex-direction: column; border-top: 3px solid var(--ink); }
.pillar .num {
  font-family: var(--mono);
  font-size: 0.8rem;
  color: var(--cyan);
  letter-spacing: 0.08em;
  margin-bottom: 18px;
  display: flex; align-items: center; gap: 10px;
}
.pillar .num::after {
  content: ""; flex: 1; height: 7px;
  background:
    linear-gradient(var(--line-strong), var(--line-strong)) left bottom / 100% 1px no-repeat,
    repeating-linear-gradient(to right, var(--line-strong) 0 1px, transparent 1px 8px) left bottom / 100% 4px no-repeat;
}
.pillar p { flex: 1; }

/* Key facts list */
.facts {
  margin: 0;
  border-top: 1px solid var(--line);
}
.facts > div {
  display: grid;
  grid-template-columns: 210px minmax(0, 1fr);
  gap: 20px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}
.facts dt {
  font-family: var(--mono);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  padding-top: 3px;
}
.facts dd { margin: 0; }

/* Stats */
.stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; }
.stat { padding: 6px 18px 6px 0; }
.stat + .stat { padding-left: 18px; border-left: 1px solid var(--line); }
.on-dark .stat + .stat { border-left-color: #2a3d4e; }
.stat .figure {
  display: block;
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(2.2rem, 3.6vw, 3.2rem);
  line-height: 1;
  white-space: nowrap;
  font-variant-numeric: tabular-nums lining-nums;
  letter-spacing: -0.02em;
}
.on-dark .stat .figure { color: #fff; }
.stat .label { display: block; margin-top: 10px; color: var(--muted); font-size: 0.98rem; }
.on-dark .stat .label { color: var(--screen-muted); }

/* Hospital list */
.site-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.site-list li {
  background: var(--white);
  border: 1px solid var(--line);
  border-left: 3px solid var(--cyan);
  border-radius: 6px;
  padding: 14px 16px;
}
.section.white .site-list li { background: var(--paper); }
.site-list strong { display: block; font-weight: 600; }
.site-list span { color: var(--muted); font-size: 0.92rem; }

.tags { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.tags li {
  font-family: var(--mono);
  font-size: 0.85rem;
  padding: 5px 10px;
  border: 1px solid var(--line-strong);
  border-radius: 5px;
  background: var(--white);
}

/* Steps (QA flow) */
.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  counter-reset: step;
}
.steps li {
  position: relative;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px 22px 22px;
  counter-increment: step;
}
.section.white .steps li { background: var(--paper); }
.steps li::before {
  content: counter(step, decimal-leading-zero);
  display: block;
  font-family: var(--mono);
  font-size: 0.8rem;
  color: var(--cyan);
  letter-spacing: 0.08em;
  margin-bottom: 10px;
}
.steps h3 { font-size: 1.15rem; margin-bottom: 0.35em; }
.steps p { color: var(--ink-2); font-size: 0.98rem; }
.steps li.key { border-color: var(--cyan); box-shadow: inset 0 0 0 1px var(--cyan); }

/* Callout */
.callout {
  border-left: 3px solid var(--cyan);
  background: var(--cyan-soft);
  padding: 18px 22px;
  border-radius: 0 8px 8px 0;
  margin-top: 28px;
}
.callout p { color: var(--ink-2); }

/* Big number */
.bignum {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 36px;
  align-items: center;
}
.bignum .figure {
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(4rem, 11vw, 7.5rem);
  line-height: 0.9;
  letter-spacing: -0.03em;
  font-variant-numeric: lining-nums;
}
.on-dark .bignum .figure { color: #fff; }

/* Lists of applications */
.app-group h3 {
  font-family: var(--mono);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 14px;
}
.app-list { list-style: none; margin: 0; padding: 0; }
.app-list li {
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  gap: 12px;
}
.app-list li:last-child { border-bottom: 0; }
.app-list .detail { color: var(--muted); font-size: 0.92rem; text-align: right; }

/* Tables */
.table-wrap { width: 100%; overflow-x: auto; }
.data-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font-size: 1rem;
}
.data-table caption {
  text-align: left;
  caption-side: top;
  padding: 0 0 12px;
  color: var(--muted);
  font-size: 0.95rem;
}
.data-table th, .data-table td {
  padding: 13px 16px;
  text-align: left;
  border-bottom: 1px solid var(--line);
  vertical-align: baseline;
}
.data-table thead th {
  font-family: var(--mono);
  font-size: 0.74rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  background: var(--paper);
}
.data-table td.num, .data-table th.num { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.data-table td.num strong { font-family: var(--serif); font-size: 1.2rem; }
.data-table tbody th { font-weight: 600; }
.data-table .sub { display: block; font-weight: 400; color: var(--muted); font-size: 0.88rem; margin-top: 2px; }
.data-table tr.group-row th {
  background: var(--paper);
  font-family: var(--mono);
  font-size: 0.74rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--cyan);
}
.data-table tbody tr:last-child > * { border-bottom: 0; }

/* Checklist */
.checklist { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.checklist li { position: relative; padding-left: 30px; }
.checklist li::before {
  content: "";
  position: absolute; left: 0; top: 0.3em;
  width: 16px; height: 16px;
  border: 1.5px solid var(--cyan);
  border-radius: 3px;
  background:
    linear-gradient(var(--cyan), var(--cyan)) center / 8px 8px no-repeat;
}

/* Faculty cards */
.person {
  display: grid;
  grid-template-columns: 148px minmax(0, 1fr);
  gap: 26px;
  align-items: start;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px;
}
.person-photo {
  position: relative;
  width: 148px;
  aspect-ratio: 4 / 5;
  border-radius: 8px;
  overflow: hidden;
  background: var(--screen);
  display: grid;
  place-items: center;
}
.person-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.person-photo svg.photo-sector { position: absolute; inset: 0; width: 100%; height: 100%; }
.monogram {
  position: relative;
  font-family: var(--serif);
  font-weight: 600;
  font-size: 2.6rem;
  letter-spacing: 0.04em;
  color: #fff;
  line-height: 1;
}
.person .role {
  font-family: var(--mono);
  font-size: 0.76rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 6px;
}
.person h3 { font-size: 1.5rem; margin-bottom: 0.3em; }
.person .meta { margin: 14px 0 0; display: grid; gap: 8px; }
.person .meta div { display: grid; grid-template-columns: 70px minmax(0, 1fr); gap: 12px; font-size: 0.96rem; }
.person .meta dt { color: var(--muted); font-family: var(--mono); font-size: 0.74rem; letter-spacing: 0.08em; text-transform: uppercase; padding-top: 3px; }
.person .meta dd { margin: 0; }

/* Timeline (story) — the spine is a depth scale */
.timeline {
  list-style: none;
  margin: 0;
  padding: 0;
  position: relative;
}
.timeline::before {
  content: "";
  position: absolute;
  left: 150px; top: 10px; bottom: 10px;
  width: 16px;
  background:
    linear-gradient(var(--line-strong), var(--line-strong)) 0 0 / 1px 100% no-repeat,
    repeating-linear-gradient(to bottom, var(--line-strong) 0 1px, transparent 1px 14px) 0 0 / 7px 100% no-repeat,
    repeating-linear-gradient(to bottom, var(--line-strong) 0 1px, transparent 1px 70px) 0 0 / 16px 100% no-repeat;
}
.timeline > li {
  position: relative;
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr);
  gap: 0;
  padding: 0 0 48px;
}
.timeline > li:last-child { padding-bottom: 0; }
.timeline .when {
  font-family: var(--mono);
  font-size: 0.82rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
  padding: 6px 24px 0 0;
  text-align: right;
}
.timeline .body { position: relative; padding-left: 44px; }
.timeline .body::before {
  /* caliper cross marking each point on the scale */
  content: "";
  position: absolute;
  left: -7px; top: 9px;
  width: 15px; height: 15px;
  background:
    linear-gradient(var(--cyan), var(--cyan)) center / 15px 2px no-repeat,
    linear-gradient(var(--cyan), var(--cyan)) center / 2px 15px no-repeat;
}
.timeline .body h3 { font-size: 1.45rem; margin-bottom: 0.35em; }
.timeline .body p { color: var(--ink-2); font-size: 1.06rem; max-width: 38em; }
.timeline li.now .when { color: var(--cyan); font-weight: 500; }
.timeline li.now .body h3 { color: var(--ink); }
.timeline li.gap .body h3 { color: var(--muted); }
.timeline li.gap .body::before {
  background:
    linear-gradient(var(--line-strong), var(--line-strong)) center / 15px 2px no-repeat,
    linear-gradient(var(--line-strong), var(--line-strong)) center / 2px 15px no-repeat;
}
.timeline .figures { display: flex; flex-wrap: wrap; gap: 28px; margin-top: 18px; }
.timeline .figures div { border-top: 2px solid var(--ink); padding-top: 8px; min-width: 140px; }
.timeline .figures strong {
  display: block;
  font-family: var(--serif);
  font-size: 2.4rem;
  line-height: 1;
  font-variant-numeric: lining-nums;
}
.timeline .figures span { color: var(--muted); font-size: 0.95rem; }

.quote-block {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 30px 0;
  font-family: var(--serif);
  font-size: 1.35rem;
  line-height: 1.5;
}

/* Status notice (apply) */
.status {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 18px;
  align-items: start;
  background: var(--white);
  border: 1px solid var(--line);
  border-left: 4px solid var(--ink);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 22px 24px;
}
.status-dot {
  width: 14px; height: 14px; border-radius: 50%;
  border: 3px solid var(--muted);
  margin-top: 6px;
}
.status .label {
  font-family: var(--mono);
  font-size: 0.76rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  display: block;
  margin-bottom: 2px;
}
.status strong { font-family: var(--serif); font-size: 1.45rem; font-weight: 600; display: block; line-height: 1.25; }
.status p { margin-top: 6px; color: var(--ink-2); }

.numbered { list-style: none; margin: 0; padding: 0; counter-reset: n; display: grid; gap: 0; }
.numbered > li {
  counter-increment: n;
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr);
  gap: 12px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}
.numbered > li:first-child { border-top: 1px solid var(--line); }
.numbered > li::before {
  content: counter(n, decimal-leading-zero);
  font-family: var(--mono);
  color: var(--cyan);
  font-size: 0.9rem;
  padding-top: 3px;
}
.numbered h3 { font-size: 1.15rem; margin-bottom: 0.25em; }
.numbered p { color: var(--ink-2); }

/* CTA trio */
.cta-card { display: flex; flex-direction: column; gap: 6px; }
.cta-card p { flex: 1; }
.cta-links { list-style: none; margin: 8px 0 0; padding: 0; display: grid; gap: 8px; }
.cta-links a { font-weight: 600; }
.cta-links span { display: block; color: var(--muted); font-size: 0.88rem; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--screen);
  color: var(--screen-muted);
  font-size: 0.95rem;
  margin-top: 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr));
  gap: 40px;
  padding-top: 56px;
  padding-bottom: 40px;
}
.site-footer .brand { color: #fff; }
.site-footer .brand-sub { color: var(--screen-muted); }
.site-footer h2 {
  font-family: var(--mono);
  font-size: 0.74rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--screen-text);
  margin: 4px 0 14px;
}
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.site-footer a { color: var(--screen-text); text-decoration: none; }
.site-footer a:hover { color: var(--cyan-bright); text-decoration: underline; }
.site-footer .f-who { display: block; font-size: 0.84rem; color: var(--screen-muted); }
.site-footer .f-desc { margin-top: 16px; max-width: 26em; }
.site-footer mark.tbc { font-size: 0.86em; }
.footer-bottom {
  border-top: 1px solid #22364a;
  padding-top: 18px;
  padding-bottom: 26px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 24px;
  font-size: 0.85rem;
}
.footer-bottom .mono { letter-spacing: 0.04em; }

/* ---------- Responsive ---------- */
@media (max-width: 1000px) {
  .hero-grid { grid-template-columns: minmax(0, 1fr); gap: 20px; padding-top: 52px; padding-bottom: 52px; }
  .hero-figure { max-width: 420px; }
  .split { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .page-head-art { width: 340px; opacity: 0.55; }
}

@media (max-width: 680px) {
  :root { --gutter: 16px; --header-h: 64px; }
  body { font-size: 1rem; }
  .section { padding: 56px 0; }
  .section-tight { padding: 44px 0; }
  .lead { font-size: 1.1rem; }
  .brand-sub { display: none; }
  .brand-name { font-size: 1.12rem; }
  .brand-mark { width: 30px; height: 30px; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: minmax(0, 1fr); }
  .steps { grid-template-columns: minmax(0, 1fr); }
  .hero-facts { grid-template-columns: minmax(0, 1fr); }
  .hero-facts div, .hero-facts div + div { padding: 14px 0; border-left: 0; border-bottom: 1px solid #2a3d4e; }
  .stats { grid-template-columns: minmax(0, 1fr); gap: 22px; }
  .stat, .stat + .stat { padding: 0; border-left: 0; }
  .facts > div { grid-template-columns: minmax(0, 1fr); gap: 4px; }
  .site-list { grid-template-columns: minmax(0, 1fr); }
  .bignum { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .person { grid-template-columns: minmax(0, 1fr); }
  .person-photo { width: 120px; }
  .timeline::before { left: 0; }
  .timeline > li { grid-template-columns: minmax(0, 1fr); padding-left: 0; }
  .timeline .when { text-align: left; padding: 0 0 6px 36px; }
  .timeline .body { padding-left: 36px; }
  .timeline .body::before { left: -7px; top: -22px; }
  .footer-grid { grid-template-columns: minmax(0, 1fr); gap: 30px; }
  .page-head .wrap { padding-top: 40px; padding-bottom: 44px; }
  .page-head-art { width: 240px; right: -70px; top: -20px; opacity: 0.35; }
  .data-table th, .data-table td { padding: 11px 10px; }
  .app-list li { flex-direction: column; gap: 2px; }
  .app-list .detail { text-align: left; }
  .status { padding: 18px; gap: 14px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
  }
}

@media print {
  .site-header, .breadcrumbs, .site-footer, .hero-figure, .page-head-art { display: none !important; }
  .on-dark { background: #fff; color: #000; }
  .hero h1, .page-head h1 { color: #000; }
}

/* Brand mark arcs */
.brand-mark .arc { stroke: #22d3ee; }
.site-footer .brand-mark .arc { stroke: #0e7490; }

/* Story: timeline beside a summary of the record */
.story-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 56px;
  align-items: start;
}
.record-card {
  position: sticky;
  top: calc(var(--header-h) + 24px);
  border-radius: var(--radius);
  padding: 28px;
  border: 1px solid #1f3140;
}
.record-card h3 { color: #fff; font-size: 1.35rem; }
.record-figs { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin: 20px 0 22px; }
.record-figs div { border-top: 2px solid var(--cyan-bright); padding-top: 10px; }
.record-figs strong {
  display: block;
  font-family: var(--serif);
  font-weight: 600;
  font-size: 2.3rem;
  line-height: 1;
  color: #fff;
  font-variant-numeric: lining-nums;
  white-space: nowrap;
}
.record-figs span { color: var(--screen-muted); font-size: 0.92rem; }
.record-list { margin: 0; display: grid; gap: 0; }
.record-list > div { padding: 12px 0; border-top: 1px solid #2a3d4e; }
.record-list dt {
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--screen-muted);
}
.record-list dd { margin: 2px 0 0; color: #fff; }
.record-list dd.mono { font-size: 0.92rem; color: var(--cyan-bright); overflow-wrap: anywhere; }
@media (max-width: 1000px) {
  .story-grid { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .record-card { position: static; }
}
