/* =========================================================
   DG RTD — concept microsite
   ========================================================= */

:root {
  --ink: #08142c;
  --ink-2: #0d1f3f;
  --navy: #07142e;
  --navy-soft: #0e2145;
  --blue: #1447b8;
  --blue-light: #7fb0ff;
  --gold: #ffcc00;
  --gold-soft: #f5d66b;
  --paper: #f6f4ee;
  --paper-2: #efece3;
  --white: #ffffff;
  --muted: #5a6274;
  --muted-light: rgba(255, 255, 255, 0.62);
  --line: rgba(8, 20, 44, 0.12);
  --line-light: rgba(255, 255, 255, 0.14);
  --serif: "Instrument Serif", Georgia, serif;
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, SFMono-Regular, monospace;
  --shell: min(1320px, 92vw);
  --radius: 18px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.65;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3, p, dl, dd, ol, ul, figure { margin: 0; }
ol, ul { padding: 0; list-style: none; }
button { font: inherit; cursor: pointer; }

::selection { background: var(--gold); color: var(--ink); }

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

.shell {
  width: var(--shell);
  margin-inline: auto;
}

.muted { color: var(--muted); }

.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 200;
  background: var(--gold);
  color: var(--ink);
  padding: 0.7rem 1.1rem;
  font-weight: 600;
  border-radius: 8px;
  transition: top 0.2s;
}
.skip-link:focus { top: 1rem; }

/* ---------- top bar ---------- */

.topbar {
  background: #050e20;
  color: rgba(255, 255, 255, 0.62);
  font-size: 11px;
  letter-spacing: 0.04em;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  position: relative;
  z-index: 60;
}

.topbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 38px;
}

.topbar__brand,
.topbar__meta {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  white-space: nowrap;
}

.topbar__dept { color: rgba(255, 255, 255, 0.9); }
.topbar__note {
  font-family: var(--mono);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--gold-soft);
}
.topbar__sep {
  width: 1px;
  height: 11px;
  background: rgba(255, 255, 255, 0.2);
}

.stars {
  width: 15px;
  height: 15px;
  flex: none;
  background:
    radial-gradient(circle at 50% 6%, var(--gold) 1.3px, transparent 1.7px),
    radial-gradient(circle at 71% 13%, var(--gold) 1.3px, transparent 1.7px),
    radial-gradient(circle at 87% 29%, var(--gold) 1.3px, transparent 1.7px),
    radial-gradient(circle at 94% 50%, var(--gold) 1.3px, transparent 1.7px),
    radial-gradient(circle at 87% 71%, var(--gold) 1.3px, transparent 1.7px),
    radial-gradient(circle at 71% 87%, var(--gold) 1.3px, transparent 1.7px),
    radial-gradient(circle at 50% 94%, var(--gold) 1.3px, transparent 1.7px),
    radial-gradient(circle at 29% 87%, var(--gold) 1.3px, transparent 1.7px),
    radial-gradient(circle at 13% 71%, var(--gold) 1.3px, transparent 1.7px),
    radial-gradient(circle at 6% 50%, var(--gold) 1.3px, transparent 1.7px),
    radial-gradient(circle at 13% 29%, var(--gold) 1.3px, transparent 1.7px),
    radial-gradient(circle at 29% 13%, var(--gold) 1.3px, transparent 1.7px);
}

/* ---------- header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(7, 20, 46, 0.86);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--white);
  transition: background 0.3s, border-color 0.3s;
}

.site-header.is-scrolled {
  background: rgba(5, 14, 32, 0.96);
  border-bottom-color: rgba(255, 255, 255, 0.16);
}

.site-header__inner {
  display: flex;
  align-items: center;
  gap: 2rem;
  min-height: 78px;
}

.wordmark {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  text-decoration: none;
  flex: none;
}

.wordmark__mark {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.4);
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--gold);
  position: relative;
  flex: none;
}
.wordmark__mark::after {
  content: "";
  position: absolute;
  inset: 3px;
  border-radius: 50%;
  border: 1px dashed rgba(255, 204, 0, 0.25);
}

.wordmark__text {
  display: flex;
  flex-direction: column;
  line-height: 1.06;
}
.wordmark__text strong {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: -0.01em;
}
.wordmark__text small {
  font-family: var(--mono);
  font-size: 8.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5);
  margin-top: 3px;
}

.main-nav {
  display: flex;
  gap: 1.9rem;
  margin-left: auto;
}
.main-nav a {
  position: relative;
  text-decoration: none;
  font-size: 13px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.72);
  padding: 0.4rem 0;
  transition: color 0.2s;
}
.main-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 100%;
  height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s var(--ease);
}
.main-nav a:hover,
.main-nav a:focus-visible { color: var(--white); }
.main-nav a:hover::after,
.main-nav a:focus-visible::after { transform: scaleX(1); }

.site-header__actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: transparent;
  border-radius: 50%;
  position: relative;
}
.menu-toggle span {
  position: absolute;
  left: 13px;
  width: 18px;
  height: 1px;
  background: var(--white);
  transition: transform 0.3s, top 0.3s;
}
.menu-toggle span:first-child { top: 18px; }
.menu-toggle span:last-child { top: 24px; }
.site-header.is-open .menu-toggle span:first-child { top: 21px; transform: rotate(45deg); }
.site-header.is-open .menu-toggle span:last-child { top: 21px; transform: rotate(-45deg); }

.mobile-nav {
  display: none;
  overflow: hidden;
  max-height: 0;
  transition: max-height 0.4s var(--ease);
  padding-inline: 4vw;
  background: rgba(5, 14, 32, 0.98);
}
.mobile-nav a {
  display: block;
  padding: 0.9rem 0;
  text-decoration: none;
  font-size: 15px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.82);
}
.site-header.is-open .mobile-nav { max-height: 420px; border-bottom: 1px solid rgba(255,255,255,.1); }

/* ---------- buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  border-radius: 999px;
  padding: 0.95rem 1.55rem;
  font-size: 13.5px;
  font-weight: 600;
  letter-spacing: 0.01em;
  text-decoration: none;
  border: 1px solid transparent;
  transition: transform 0.25s var(--ease), background 0.25s, color 0.25s, border-color 0.25s;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn--gold {
  background: var(--gold);
  color: #0a1732;
}
.btn--gold:hover { background: #ffe04d; }
.btn--outline {
  border-color: rgba(255, 255, 255, 0.34);
  color: var(--white);
}
.btn--outline:hover {
  border-color: rgba(255, 255, 255, 0.8);
  background: rgba(255, 255, 255, 0.06);
}
.btn--light {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.34);
}
.btn--ghost {
  border-color: rgba(255, 255, 255, 0.18);
  color: rgba(255, 255, 255, 0.9);
}
.btn--small {
  padding: 0.6rem 1.05rem;
  font-size: 12px;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px solid var(--line);
  padding-bottom: 0.28rem;
  transition: border-color 0.25s, color 0.25s;
}
.text-link:hover { border-color: var(--ink); }
.text-link--light {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.35);
}
.text-link--light:hover { border-color: var(--gold); color: var(--gold); }

/* ---------- shared type ---------- */

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.17em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.72);
  margin-bottom: 1.5rem;
}
.eyebrow--dark { color: var(--muted); }

.eyebrow__dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 4px rgba(255, 204, 0, 0.12);
  flex: none;
}

.section-title {
  font-size: clamp(2.4rem, 4.6vw, 4.15rem);
  line-height: 0.99;
  letter-spacing: -0.035em;
  font-weight: 500;
  text-wrap: balance;
}
.section-title em {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  letter-spacing: -0.015em;
  color: var(--blue);
}
.section-title--light { color: var(--white); }
.section-title--light em { color: var(--gold-soft); }
.section-title--sm { font-size: clamp(2rem, 3.2vw, 3rem); }

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 2rem;
  margin-bottom: clamp(2.5rem, 5vw, 4.5rem);
}

/* ---------- hero ---------- */

.hero {
  position: relative;
  background:
    radial-gradient(1100px 700px at 78% 8%, rgba(20, 71, 184, 0.4), transparent 60%),
    radial-gradient(900px 600px at 12% 90%, rgba(20, 71, 184, 0.18), transparent 65%),
    linear-gradient(180deg, #07142e 0%, #081833 62%, #061022 100%);
  color: var(--white);
  overflow: hidden;
  padding: clamp(3rem, 6vw, 6rem) 0 0;
}

.hero__grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
  background-size: 88px 88px;
  mask-image: radial-gradient(ellipse at 50% 40%, #000 10%, transparent 78%);
  -webkit-mask-image: radial-gradient(ellipse at 50% 40%, #000 10%, transparent 78%);
  pointer-events: none;
}

.hero__glow {
  position: absolute;
  width: 620px;
  height: 620px;
  right: -160px;
  top: -220px;
  background: radial-gradient(circle, rgba(255, 204, 0, 0.16), transparent 65%);
  pointer-events: none;
}

.hero__inner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.82fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
  padding-bottom: clamp(3rem, 6vw, 5.5rem);
}

.hero__copy { max-width: 700px; }

.hero__title {
  font-size: clamp(3.1rem, 6.1vw, 6rem);
  line-height: 0.93;
  letter-spacing: -0.045em;
  font-weight: 500;
  margin-bottom: 1.8rem;
}
.hero__title em {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  color: var(--gold);
  letter-spacing: -0.01em;
  position: relative;
}

.hero__lead {
  font-size: clamp(1rem, 1.35vw, 1.16rem);
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.72);
  max-width: 560px;
  margin-bottom: 2.1rem;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: clamp(2.5rem, 4vw, 3.6rem);
}

.hero__stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  padding-top: 1.6rem;
  max-width: 620px;
}
.hero__stats dt {
  font-family: var(--mono);
  font-size: 9.5px;
  line-height: 1.5;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.45);
  margin-bottom: 0.65rem;
}
.hero__stats dd {
  font-size: clamp(1.5rem, 2.4vw, 2rem);
  font-weight: 500;
  letter-spacing: -0.04em;
  line-height: 1;
  color: var(--white);
  display: flex;
  flex-direction: column;
}
.hero__stats dd span {
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold-soft);
  margin-top: 0.5rem;
  font-weight: 400;
}

.hero__visual {
  position: relative;
  justify-self: end;
  width: min(100%, 480px);
}

.hero-card {
  position: relative;
  border-radius: 220px 220px 22px 22px;
  overflow: hidden;
  aspect-ratio: 0.86;
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: 0 40px 90px rgba(0, 0, 0, 0.45);
  animation: heroRise 1.1s var(--ease) both 0.15s;
}
.hero-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(4, 12, 27, 0) 45%, rgba(4, 12, 27, 0.78) 100%);
}
.hero-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.02);
  animation: heroZoom 14s ease-out both;
}
.hero-card figcaption {
  position: absolute;
  left: 1.5rem;
  right: 1.5rem;
  bottom: 1.5rem;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.hero-card figcaption .tag {
  align-self: flex-start;
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink);
  background: var(--gold);
  padding: 0.28rem 0.55rem;
  border-radius: 999px;
}
.hero-card__title {
  font-size: 1.12rem;
  font-weight: 500;
  letter-spacing: -0.02em;
  color: var(--white);
}

.hero-float {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.8rem 1rem;
  border-radius: 14px;
  background: rgba(9, 23, 48, 0.82);
  border: 1px solid rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.35);
  animation: floatIn 1s var(--ease) both 0.6s;
}
.hero-float strong {
  display: block;
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: -0.01em;
}
.hero-float small {
  display: block;
  font-family: var(--mono);
  font-size: 8.5px;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5);
  margin-top: 2px;
}
.hero-float--top { top: 12%; left: -14%; }
.hero-float--bottom { bottom: 8%; right: -10%; }
.hero-float__num {
  font-family: var(--serif);
  font-size: 2rem;
  line-height: 1;
  color: var(--gold);
}

.pulse {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #5ee6a8;
  box-shadow: 0 0 0 0 rgba(94, 230, 168, 0.6);
  animation: pulse 2.4s infinite;
  flex: none;
}

.hero__ticker {
  position: relative;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(4, 11, 24, 0.6);
  overflow: hidden;
  padding: 0.85rem 0;
}
.hero__ticker-track {
  display: flex;
  align-items: center;
  gap: 1.6rem;
  width: max-content;
  animation: ticker 46s linear infinite;
}
.hero__ticker-track span {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.62);
  white-space: nowrap;
}
.hero__ticker-track span[aria-hidden] { color: var(--gold); font-size: 7px; }

/* ---------- rolling gallery ---------- */

.portfolio {
  background: var(--paper);
  padding: clamp(4.5rem, 8vw, 8rem) 0 clamp(3rem, 5vw, 4.5rem);
  overflow: hidden;
}

.portfolio__head {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(1.5rem, 4vw, 4rem);
  align-items: end;
  margin-bottom: clamp(2rem, 4vw, 3.4rem);
}
.portfolio__intro {
  justify-self: end;
  max-width: 380px;
  border-left: 1px solid var(--line);
  padding-left: 1.5rem;
}
.portfolio__intro p { color: var(--muted); font-size: 14.5px; }
.portfolio__intro p + p { margin-top: 0.9rem; }
.portfolio__intro .muted {
  font-family: var(--mono);
  font-size: 9.5px;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.rail {
  position: relative;
  overflow: hidden;
  padding: 0.4rem 0;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent);
}
.rail + .rail { margin-top: 1.1rem; }

.rail__track {
  display: flex;
  gap: 1.1rem;
  width: max-content;
  animation: railMove var(--duration, 68s) linear infinite;
  will-change: transform;
}
.rail[data-direction="right"] .rail__track {
  animation-direction: reverse;
}
.rail:hover .rail__track,
.rail:focus-within .rail__track { animation-play-state: paused; }
.rail.is-paused .rail__track { animation-play-state: paused; }

.card {
  width: 350px;
  flex: none;
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid rgba(8, 20, 44, 0.08);
  position: relative;
  box-shadow: 0 10px 30px rgba(8, 20, 44, 0.05);
  transition: transform 0.45s var(--ease), box-shadow 0.45s var(--ease);
}
.card:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 50px rgba(8, 20, 44, 0.14);
}
.card img {
  width: 100%;
  height: 230px;
  object-fit: cover;
  transition: transform 0.8s var(--ease);
}
.card:hover img { transform: scale(1.05); }

.card__body {
  position: relative;
  padding: 1.35rem 1.4rem 1.5rem;
}
.card__tag {
  display: inline-block;
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 0.6rem;
}
.card h3 {
  font-size: 1.12rem;
  line-height: 1.2;
  letter-spacing: -0.02em;
  font-weight: 600;
  margin-bottom: 0.35rem;
}
.card p {
  font-size: 12.5px;
  line-height: 1.5;
  color: var(--muted);
}

.rail--compact .card--photo { width: 275px; }
.rail--compact .card--photo img {
  height: 300px;
  filter: saturate(0.85) contrast(1.02);
}
.rail--compact .card--photo::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 300px;
  background: linear-gradient(180deg, transparent 60%, rgba(8, 20, 44, 0.05));
  pointer-events: none;
}

.portfolio__foot {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  margin-top: 2.2rem;
}
.portfolio__foot .rule {
  flex: 1;
  height: 1px;
  background: var(--line);
}
.portfolio__foot p {
  font-size: 11px;
  color: var(--muted);
  max-width: 380px;
}
.rail-toggle {
  flex: none;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--ink);
  border-radius: 999px;
  padding: 0.5rem 0.9rem;
  font-family: var(--mono);
  font-size: 9.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: background 0.25s, color 0.25s, border-color 0.25s;
}
.rail-toggle:hover { background: var(--ink); color: var(--white); border-color: var(--ink); }

/* ---------- people (demo component) ---------- */

.people-strip {
  background: var(--white);
  padding: clamp(4rem, 7vw, 6.5rem) 0;
  border-top: 1px solid var(--line);
}
.people-strip__note {
  max-width: 360px;
  justify-self: end;
  font-size: 12.5px;
  color: var(--muted);
  border-left: 1px solid var(--line);
  padding-left: 1.4rem;
}
.people-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1.2rem, 2.4vw, 2rem);
}
.people-strip--focus .people-grid { grid-template-columns: repeat(2, 1fr); gap: clamp(1.6rem, 3vw, 2.6rem); }
.people-strip--focus .profile-card__body { padding: 1.7rem 1.8rem 2rem; }
.people-strip--focus .profile-card__body h3 { font-size: clamp(1.9rem, 3vw, 2.6rem); }
.people-strip--focus .profile-card__body p { font-size: 14px; max-width: 520px; }
.profile-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 18px;
  overflow: hidden;
}
.profile-card__media {
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: var(--paper-2);
}
.profile-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--ease);
}
.profile-card:hover .profile-card__media img { transform: scale(1.04); }
.profile-card__body { padding: 1.4rem 1.5rem 1.6rem; }
.profile-card__role {
  display: block;
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 0.5rem;
}
.profile-card__body h3 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(1.5rem, 2.2vw, 1.9rem);
  line-height: 1.05;
  letter-spacing: -0.015em;
  margin-bottom: 0.6rem;
}
.profile-card__body p {
  font-size: 13px;
  line-height: 1.55;
  color: var(--muted);
}
.profile-card__source {
  display: inline-block;
  margin-top: 1rem;
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
  text-decoration: none;
  border-bottom: 1px solid var(--line);
  padding-bottom: 0.15rem;
}
.profile-card__source:hover { color: var(--ink); border-color: var(--ink); }

/* ---------- condensed RTD context (people-focus mode) ---------- */

.about-rtd {
  display: none;
  background: var(--paper-2);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: clamp(3.5rem, 6vw, 5.5rem) 0;
}
.about-rtd__inner {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
}
.about-rtd__copy p:not(.eyebrow) {
  margin: 1.2rem 0 1.5rem;
  color: var(--muted);
  font-size: 14.5px;
  max-width: 460px;
}
.about-rtd__facts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-left: 1px solid var(--line);
}
.about-rtd__facts > div {
  padding: 0.3rem 1.2rem;
  border-right: 1px solid var(--line);
}
.about-rtd__facts > div:last-child { border-right: 0; }
.about-rtd__facts dt {
  font-family: var(--mono);
  font-size: 8.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  line-height: 1.5;
  margin-bottom: 0.8rem;
}
.about-rtd__facts dd {
  font-family: var(--serif);
  font-size: clamp(2rem, 2.8vw, 2.7rem);
  line-height: 1;
  color: var(--blue);
  letter-spacing: -0.02em;
}
.about-rtd__facts dd span {
  display: block;
  font-family: var(--mono);
  font-size: 8.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 0.45rem;
}

/* people-first reveal: people dominate, RTD is context */
body.people-focus .pillars,
body.people-focus .priorities,
body.people-focus .missions,
body.people-focus .programme,
body.people-focus .numbers,
body.people-focus .news,
body.people-focus .leadership { display: none; }

body.people-focus .about-rtd { display: block; }
body.people-focus .people-strip { padding-top: clamp(3.5rem, 6vw, 6rem); }

@media (max-width: 900px) {
  .about-rtd__inner { grid-template-columns: 1fr; }
  .people-strip--focus .people-grid { grid-template-columns: 1fr; }
  .people-strip--focus .profile-card__body h3 { font-size: 1.9rem; }
  .about-rtd__facts { border-left: 0; }
  .about-rtd__facts > div { padding-left: 0; }
  .about-rtd__facts > div:first-child { padding-left: 0; }
}

/* ---------- pillars ---------- */

.pillars {
  background: var(--white);
  padding: clamp(4.5rem, 8vw, 8rem) 0;
  border-top: 1px solid var(--line);
}
.pillars__head { max-width: 900px; margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.pillars__lead {
  margin-top: 1.6rem;
  max-width: 620px;
  color: var(--muted);
  font-size: 15.5px;
}

.pillars__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1.5rem, 4vw, 4rem);
  border-top: 1px solid var(--line);
}
.pillar { padding-top: 1.6rem; }
.pillar__index {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  color: var(--blue);
  display: block;
  margin-bottom: 2.2rem;
}
.pillar h3 {
  font-size: 1.28rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  margin-bottom: 0.65rem;
}
.pillar p { font-size: 14px; color: var(--muted); }

/* ---------- priorities ---------- */

.priorities {
  background: var(--paper);
  padding: clamp(4.5rem, 8vw, 8rem) 0;
}
.priority-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: 20px;
  overflow: hidden;
}
.priority {
  background: var(--paper);
  padding: clamp(1.6rem, 2.6vw, 2.4rem);
  text-decoration: none;
  display: flex;
  flex-direction: column;
  min-height: 240px;
  transition: background 0.35s var(--ease), color 0.35s var(--ease);
  position: relative;
}
.priority__icon {
  width: 34px;
  height: 34px;
  color: var(--blue);
  margin-bottom: auto;
  transition: color 0.35s;
}
.priority__icon svg { width: 100%; height: 100%; }
.priority h3 {
  font-size: 1.14rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  margin: 1.8rem 0 0.4rem;
}
.priority p { font-size: 13px; color: var(--muted); max-width: 280px; transition: color 0.35s; }
.priority__meta {
  margin-top: 1.4rem;
  font-family: var(--mono);
  font-size: 9.5px;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--muted);
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: color 0.35s;
}
.priority:hover {
  background: var(--ink);
  color: var(--white);
}
.priority:hover p { color: rgba(255, 255, 255, 0.6); }
.priority:hover .priority__icon { color: var(--gold); }
.priority:hover .priority__meta { color: var(--gold-soft); }
.priority:hover .priority__meta span { transform: translate(3px, -3px); }
.priority__meta span { transition: transform 0.3s var(--ease); }

/* ---------- missions ---------- */

.missions {
  position: relative;
  background: linear-gradient(180deg, #07142e, #0a1c3d 55%, #07142e);
  color: var(--white);
  padding: clamp(4.5rem, 8vw, 8rem) 0;
  overflow: hidden;
}
.missions__glow {
  position: absolute;
  width: 800px;
  height: 800px;
  left: -300px;
  bottom: -400px;
  background: radial-gradient(circle, rgba(20, 71, 184, 0.4), transparent 60%);
}
.missions__inner {
  position: relative;
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(2.5rem, 6vw, 6rem);
  align-items: start;
}
.missions__intro { position: sticky; top: 120px; }
.missions__intro .section-title { margin-bottom: 1.5rem; }
.missions__intro > p:not(.eyebrow) {
  color: rgba(255, 255, 255, 0.62);
  font-size: 14.5px;
  max-width: 400px;
  margin-bottom: 2rem;
}

.mission-list { border-top: 1px solid var(--line-light); }
.mission-list li {
  display: grid;
  grid-template-columns: 40px 1fr auto;
  gap: 1rem;
  align-items: center;
  padding: 1.5rem 0;
  border-bottom: 1px solid var(--line-light);
  transition: background 0.3s, padding 0.3s;
}
.mission-list li:hover { background: rgba(255, 255, 255, 0.03); padding-inline: 0.6rem; }
.mission-list__num {
  font-family: var(--mono);
  font-size: 10px;
  color: rgba(255, 255, 255, 0.45);
  align-self: start;
  padding-top: 0.35rem;
}
.mission-list h3 {
  font-size: 1.16rem;
  font-weight: 500;
  letter-spacing: -0.02em;
  margin-bottom: 0.15rem;
}
.mission-list p { font-size: 12.5px; color: rgba(255, 255, 255, 0.52); max-width: 340px; }
.mission-list__target {
  font-family: var(--serif);
  font-size: 2.1rem;
  line-height: 1;
  color: var(--gold);
  letter-spacing: -0.02em;
}

/* ---------- programme ---------- */

.programme { padding: clamp(4.5rem, 8vw, 8rem) 0; background: var(--white); }
.programme__head {
  display: grid;
  grid-template-columns: 1fr 0.9fr;
  gap: clamp(1.5rem, 4vw, 5rem);
  align-items: end;
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
}
.programme__lead {
  color: var(--muted);
  font-size: 14.5px;
  max-width: 430px;
  justify-self: end;
  border-left: 1px solid var(--line);
  padding-left: 1.5rem;
}
.programme__lead strong { color: var(--ink); font-weight: 600; }

.programme__grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: 20px;
  overflow: hidden;
}
.feature {
  grid-column: span 3;
  background: var(--paper);
  padding: clamp(1.5rem, 2.4vw, 2.1rem);
  display: flex;
  flex-direction: column;
  min-height: 190px;
  transition: background 0.3s;
}
.feature:hover { background: var(--paper-2); }
.feature--wide {
  grid-column: span 6;
  grid-row: span 2;
  background: var(--ink);
  color: var(--white);
  padding: clamp(2rem, 3.4vw, 3rem);
  justify-content: flex-end;
  min-height: 380px;
  position: relative;
  overflow: hidden;
}
.feature--wide::before {
  content: "";
  position: absolute;
  width: 420px;
  height: 420px;
  right: -140px;
  top: -160px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 204, 0, 0.16), transparent 65%);
}
.feature--wide:hover { background: #0b1b39; }
.feature__tag {
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: auto;
}
.feature--wide .feature__tag { color: var(--gold); }
.feature h3 {
  font-size: clamp(1.6rem, 2.4vw, 2.3rem);
  line-height: 1;
  letter-spacing: -0.04em;
  font-weight: 500;
  margin: 1.6rem 0 0.7rem;
}
.feature--wide h3 {
  font-family: var(--serif);
  font-size: clamp(2.6rem, 4.4vw, 4rem);
  font-weight: 400;
  letter-spacing: -0.02em;
  margin-top: 0.4rem;
}
.feature p { font-size: 13px; color: var(--muted); max-width: 360px; }
.feature--wide p { color: rgba(255, 255, 255, 0.62); font-size: 14px; }
.feature__meta {
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.4);
  margin-top: 1.4rem;
}
.feature--accent { background: var(--gold); }
.feature--accent:hover { background: #ffe04d; }
.feature--accent .feature__tag { color: rgba(8, 20, 44, 0.55); }
.feature--accent h3 { font-family: var(--serif); font-weight: 400; font-size: clamp(1.5rem, 2vw, 1.9rem); }
.feature--accent p { color: rgba(8, 20, 44, 0.68); }
.feature--accent .text-link { margin-top: 1.2rem; align-self: flex-start; color: var(--ink); border-color: rgba(8, 20, 44, 0.3); }

/* ---------- numbers ---------- */

.numbers {
  background: var(--paper-2);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: clamp(2.5rem, 4vw, 3.6rem) 0;
}
.numbers__inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}
.number { border-left: 1px solid var(--line); padding-left: 1.2rem; }
.number__value {
  display: block;
  font-family: var(--serif);
  font-size: clamp(2.4rem, 3.6vw, 3.4rem);
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--blue);
  margin-bottom: 0.6rem;
}
.number__label {
  font-size: 11.5px;
  line-height: 1.45;
  color: var(--muted);
  max-width: 190px;
}

/* ---------- news ---------- */

.news { padding: clamp(4.5rem, 8vw, 8rem) 0; background: var(--paper); }
.news__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1.5rem, 3vw, 2.5rem);
}
.news-card {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  border-top: 1px solid var(--ink);
  padding-top: 1.2rem;
  min-height: 240px;
  position: relative;
}
.news-card__date {
  font-family: var(--mono);
  font-size: 9.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 1.6rem;
}
.news-card h3 {
  font-size: clamp(1.15rem, 1.6vw, 1.4rem);
  line-height: 1.25;
  letter-spacing: -0.025em;
  font-weight: 600;
  margin-bottom: 0.7rem;
  max-width: 350px;
}
.news-card p { font-size: 13px; color: var(--muted); max-width: 330px; }
.news-card__link {
  margin-top: auto;
  padding-top: 1.5rem;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  display: flex;
  gap: 0.4rem;
  color: var(--blue);
}
.news-card__link span { transition: transform 0.3s var(--ease); }
.news-card:hover .news-card__link span { transform: translate(3px, -3px); }
.news-card::after {
  content: "";
  position: absolute;
  left: 0;
  top: -1px;
  width: 0;
  height: 2px;
  background: var(--blue);
  transition: width 0.45s var(--ease);
}
.news-card:hover::after { width: 100%; }

/* ---------- leadership ---------- */

.leadership {
  padding: clamp(4rem, 7vw, 6.5rem) 0;
  background: var(--white);
  border-top: 1px solid var(--line);
}
.leadership__inner {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: clamp(2rem, 5vw, 5rem);
  align-items: start;
}
.leadership__copy p:not(.eyebrow) {
  margin-top: 1.3rem;
  color: var(--muted);
  font-size: 14px;
  max-width: 400px;
}
.people {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
}
.people li {
  background: var(--white);
  padding: 1.4rem;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}
.people__role {
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 0.6rem;
}
.people strong { font-size: 15px; font-weight: 600; letter-spacing: -0.01em; }
.people li > span:last-child { font-size: 11.5px; color: var(--muted); line-height: 1.4; }

/* ---------- funding ---------- */

.funding {
  position: relative;
  background: linear-gradient(120deg, #07142e, #0c2350);
  color: var(--white);
  padding: clamp(4rem, 7vw, 6.5rem) 0;
  overflow: hidden;
}
.funding__grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 68px 68px;
  mask-image: linear-gradient(90deg, #000, transparent 80%);
  -webkit-mask-image: linear-gradient(90deg, #000, transparent 80%);
}
.funding__inner {
  position: relative;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
}
.funding__inner > div > p:not(.eyebrow) {
  margin-top: 1.4rem;
  color: rgba(255, 255, 255, 0.62);
  font-size: 14.5px;
  max-width: 440px;
}
.funding__actions {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.8rem;
  justify-self: end;
}
.funding__note {
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.06em;
  color: rgba(255, 255, 255, 0.4);
  margin-top: 0.4rem;
  max-width: 320px;
}

/* ---------- footer ---------- */

.site-footer {
  background: #050e20;
  color: rgba(255, 255, 255, 0.6);
  padding: clamp(3rem, 5vw, 4.5rem) 0 2rem;
  font-size: 12.5px;
}
.site-footer .wordmark__mark { border-color: rgba(255, 255, 255, 0.22); }
.footer__top {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: clamp(2rem, 5vw, 4rem);
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.footer__brand { display: flex; gap: 1rem; align-items: flex-start; }
.footer__brand p { color: rgba(255, 255, 255, 0.85); font-size: 13px; line-height: 1.5; }
.footer__brand p span { color: rgba(255, 255, 255, 0.42); font-size: 11px; }

.footer__nav {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}
.footer__nav h3 {
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.35);
  margin-bottom: 0.9rem;
}
.footer__nav a {
  display: block;
  text-decoration: none;
  color: rgba(255, 255, 255, 0.68);
  padding: 0.22rem 0;
  transition: color 0.2s;
}
.footer__nav a:hover { color: var(--gold); }

.footer__disclaimer {
  display: flex;
  justify-content: space-between;
  gap: 2rem;
  padding-top: 2rem;
  font-size: 11px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.4);
}
.footer__disclaimer p { max-width: 760px; }
.footer__disclaimer strong { color: rgba(255, 255, 255, 0.7); font-weight: 500; }
.footer__disclaimer a { color: rgba(255, 255, 255, 0.65); }
.footer__legal { white-space: nowrap; font-family: var(--mono); font-size: 9px; letter-spacing: 0.06em; text-transform: uppercase; }

/* ---------- reveal ---------- */

.will-reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}
.will-reveal.is-visible {
  opacity: 1;
  transform: none;
}

/* ---------- keyframes ---------- */

@keyframes railMove {
  from { transform: translate3d(0, 0, 0); }
  to { transform: translate3d(calc(-50% - 0.55rem), 0, 0); }
}
@keyframes ticker {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(94, 230, 168, 0.5); }
  70% { box-shadow: 0 0 0 9px rgba(94, 230, 168, 0); }
  100% { box-shadow: 0 0 0 0 rgba(94, 230, 168, 0); }
}
@keyframes heroRise {
  from { opacity: 0; transform: translateY(40px) scale(0.98); }
  to { opacity: 1; transform: none; }
}
@keyframes heroZoom {
  from { transform: scale(1.12); }
  to { transform: scale(1.02); }
}
@keyframes floatIn {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: none; }
}

/* ---------- responsive ---------- */

@media (max-width: 1100px) {
  .main-nav { display: none; }
  .menu-toggle { display: block; }
  .mobile-nav { display: block; }
  .site-header__actions .btn { display: none; }
  .hero__inner { grid-template-columns: 1fr 0.85fr; }
  .hero-float--top { left: -6%; }
  .hero-float--bottom { right: -4%; }
}

@media (max-width: 900px) {
  .hero__inner,
  .missions__inner,
  .programme__head,
  .leadership__inner,
  .funding__inner,
  .portfolio__head {
    grid-template-columns: 1fr;
  }
  .hero__visual {
    justify-self: start;
    width: min(100%, 420px);
    margin-top: 2rem;
  }
  .hero__stats { max-width: none; }
  .hero-float--top { left: auto; right: -8px; top: 8%; }
  .hero-float--bottom { right: auto; left: -8px; bottom: 4%; }
  .missions__intro { position: static; }
  .portfolio__intro { justify-self: start; border-left: 0; padding-left: 0; }
  .programme__lead { justify-self: start; border-left: 0; padding-left: 0; }
  .funding__actions { justify-self: start; }
  .pillars__grid { grid-template-columns: 1fr; gap: 2rem; }
  .pillar { display: grid; grid-template-columns: 40px 1fr; column-gap: 1rem; }
  .pillar__index { margin: 0; }
  .pillar h3, .pillar p { grid-column: 2; }
  .priority-grid { grid-template-columns: repeat(2, 1fr); }
  .people-grid { grid-template-columns: repeat(2, 1fr); }
  .people-strip__note { justify-self: start; border-left: 0; padding-left: 0; }
  .programme__grid { grid-template-columns: repeat(2, 1fr); }
  .feature, .feature--wide { grid-column: span 1; grid-row: auto; }
  .feature--wide { grid-column: span 2; min-height: 300px; }
  .numbers__inner { grid-template-columns: repeat(2, 1fr); gap: 2rem 1rem; }
  .news__grid { grid-template-columns: 1fr; }
  .news-card { min-height: 0; }
  .news-card__link { padding-top: 1rem; }
  .footer__top { grid-template-columns: 1fr; }
  .footer__disclaimer { flex-direction: column; gap: 1rem; }
}

@media (max-width: 620px) {
  .topbar__dept, .topbar__meta .topbar__note { display: none; }
  .hero__title { font-size: clamp(2.6rem, 11vw, 3.6rem); }
  .hero__stats { grid-template-columns: repeat(3, 1fr); gap: 0.8rem; }
  .hero__stats dt { font-size: 8px; letter-spacing: 0.06em; }
  .hero__stats dd { font-size: 1.45rem; }
  .hero-float { padding: 0.65rem 0.8rem; }
  .hero-float--top { right: -4px; }
  .hero-float--bottom { display: none; }
  .section-head { flex-direction: column; align-items: flex-start; }
  .priority-grid { grid-template-columns: 1fr; }
  .priority { min-height: 200px; }
  .programme__grid { grid-template-columns: 1fr; }
  .feature--wide { grid-column: span 1; }
  .numbers__inner { grid-template-columns: 1fr 1fr; }
  .mission-list li { grid-template-columns: 30px 1fr; }
  .mission-list__target { grid-column: 2; font-size: 1.6rem; }
  .people { grid-template-columns: 1fr; }
  .people-grid { grid-template-columns: 1fr; }
  .footer__nav { grid-template-columns: 1fr 1fr; }
  .card { width: 285px; }
  .card img { height: 195px; }
  .rail--compact .card--photo { width: 235px; }
  .rail--compact .card--photo img { height: 260px; }
  .portfolio__foot { flex-wrap: wrap; }
  .portfolio__foot p { order: 3; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .rail__track { animation: none !important; }
  .rail { overflow-x: auto; }
  .will-reveal { opacity: 1; transform: none; }
}
