/* Oke Lab — design tokens from the approved mockups. */
@font-face {
  font-family: "Public Sans";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/fonts/public-sans-latin-400-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Public Sans";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("/fonts/public-sans-latin-500-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Public Sans";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("/fonts/public-sans-latin-600-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Public Sans";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("/fonts/public-sans-latin-700-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Public Sans";
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url("/fonts/public-sans-latin-800-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --ink: #143d2f;
  --deep: #0d2a20;
  --link: #2c6a54;
  --accent: #d9a441;
  --tint: #eff4f0;
  --rule: #dce6df;
  --text: #1e2b24;
  --body: #33463b;
  --muted: #56665c;
  --on-dark: #d6e4db;
  --trainee: #f3e3bf;
  --presented: #d6e4db;
  --white: #ffffff;
  --footer: #b9ccc0;
  --footer-soft: #c8d9cf;
  --hero-muted: #b9ccc0;
  --step-2: #1f5a44;
  --step-3: #3e7a62;
  --cascade-4: #c8d9cf;
  --cascade-5: #e4ece6;
  --tile: #e4ece6;
  --tile-border: #cfddd4;
  --decor: #c8d9cf;
  --ph-border: #c8d9cf;
  --ph-border-strong: #9db8a8;
  --release-tile: #d6e4db;
  --release-border: #c8d9cf;
  --max: 1200px;
  --gutter: 24px;
  --font: "Public Sans", system-ui, sans-serif;
  --footer-fg: var(--footer);
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  font-family: var(--font);
  color: var(--text);
  background: var(--white);
  line-height: 1.55;
}

main {
  flex: 0 0 auto;
}

h1,
h2,
h3,
p,
ul,
ol,
dl,
dd,
figure {
  margin: 0;
}

ul,
ol {
  padding: 0;
}

button,
input {
  font-family: inherit;
}

a {
  color: var(--link);
  text-decoration: none;
}

.email-fallback { font-weight: 600; }
.site-footer .email-fallback,
.cta-band .email-fallback { color: var(--white); }

body:not(.page-home) a:hover {
  color: var(--ink);
}

img {
  max-width: 100%;
  height: auto;
}

.skip {
  position: absolute;
  left: 12px;
  top: 12px;
  transform: translateY(-180%);
  background: var(--white);
  color: var(--ink);
  font-weight: 700;
  padding: 10px 14px;
  border-radius: 6px;
  border: 2px solid var(--ink);
  z-index: 1000;
}

.skip:focus {
  transform: none;
}

:focus {
  outline: none;
}

:focus-visible {
  outline: 3px solid var(--ink);
  outline-offset: 3px;
}

.band-dark :focus-visible,
.site-footer :focus-visible,
.hero :focus-visible {
  outline-color: var(--accent);
}

[hidden] {
  display: none !important;
}

.section-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 64px var(--gutter);
}

.stack {
  display: flex;
  flex-direction: column;
}

.row {
  display: flex;
  flex-wrap: wrap;
}

.between {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
}

.eyebrow {
  margin: 0;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--link);
}

.eyebrow-tight {
  letter-spacing: 0.06em;
}

.eyebrow-accent {
  color: var(--accent);
}

.eyebrow-hero {
  margin: 0;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--hero-muted);
}

.h1 {
  margin: 0;
  font-weight: 800;
  letter-spacing: -0.025em;
  color: var(--ink);
}

.h1-60 { font-size: 60px; line-height: 1.05; }
.h1-50 { font-size: 50px; line-height: 1.08; }
.h1-48 { font-size: 48px; line-height: 1.08; }
.h1-46 { font-size: 46px; line-height: 1.08; }

.h2 {
  margin: 0;
  font-weight: 800;
  color: var(--ink);
}

.h2-38 { font-size: 38px; line-height: 1.15; letter-spacing: -0.02em; }
.h2-34 { font-size: 34px; line-height: 1.18; letter-spacing: -0.02em; }
.h2-34-tight { font-size: 34px; line-height: 1.15; letter-spacing: -0.02em; }
.h2-32 { font-size: 32px; letter-spacing: -0.02em; }
.h2-30 { font-size: 30px; letter-spacing: -0.02em; }
.h2-28 { font-size: 28px; letter-spacing: -0.02em; }
.h2-name { font-size: 32px; }

.group-title {
  margin: 0;
  font-size: 26px;
  font-weight: 800;
  letter-spacing: -0.01em;
  color: var(--ink);
}

.lead {
  margin: 0;
  color: var(--body);
}

.lead-20 { font-size: 20px; line-height: 1.55; max-width: 600px; }
.lead-19 { font-size: 19px; }
.lead-18 { font-size: 18px; }
.lead-17 { font-size: 17px; }
.lead-16 { font-size: 16px; }
.lead-15 { font-size: 15px; }

.on-dark { color: var(--on-dark); }
.ink { color: var(--ink); }
.white { color: var(--white); }
.muted { color: var(--muted); }
.body { color: var(--body); }

.max-900 { max-width: 900px; }
.max-880 { max-width: 880px; }
.max-820 { max-width: 820px; }
.max-780 { max-width: 780px; }
.max-760 { max-width: 760px; }
.max-720 { max-width: 720px; }
.max-640 { max-width: 640px; }

/* Header */
.site-header {
  background: var(--white);
  border-bottom: 1px solid var(--rule);
}

.header-bar {
  max-width: var(--max);
  margin: 0 auto;
  padding: 14px var(--gutter);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 24px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--ink);
  min-width: 0;
}

.brand:hover {
  color: var(--ink);
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.brand-name {
  font-weight: 800;
  font-size: 20px;
  letter-spacing: -0.01em;
}

.brand-tag {
  font-size: 12px;
  color: var(--muted);
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 22px;
  font-size: 15px;
}

.site-nav a {
  color: var(--body);
  text-decoration: none;
}

.site-nav a.btn-nav,
body:not(.page-home) .site-nav a.btn-nav:hover,
.page-home .site-nav a.btn-nav:hover {
  color: var(--white);
}

.site-nav a[aria-current="page"] {
  color: var(--ink);
  font-weight: 700;
  border-bottom: 2px solid var(--accent);
}

body:not(.page-home) .site-nav a:hover {
  color: var(--ink);
}

.menu-btn {
  display: none;
  font-size: 15px;
  font-weight: 700;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 8px 14px;
  border-radius: 6px;
  border: 1.5px solid var(--ink);
  background: var(--white);
  color: var(--ink);
  cursor: pointer;
}

.mobile-nav {
  display: none;
  flex-direction: column;
  border-top: 1px solid var(--rule);
  padding: 4px var(--gutter) 12px;
}

.mobile-nav a {
  padding: 13px 0;
  border-bottom: 1px solid var(--rule);
  color: var(--ink);
  text-decoration: none;
  font-weight: 600;
  font-size: 17px;
}

.mobile-nav:not(.open) {
  display: none !important;
}

body:not(.page-home) .mobile-nav a:hover {
  color: var(--ink);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  border-radius: 6px;
  cursor: pointer;
  --btn-fg: var(--white);
  color: var(--btn-fg);
}

.btn:hover {
  color: var(--btn-fg);
}

body:not(.page-home) a.btn:hover {
  color: var(--btn-fg);
}

.btn-brass {
  background: var(--accent);
  --btn-fg: var(--ink);
  color: var(--ink);
  font-weight: 700;
  padding: 14px 22px;
}

.btn-outline {
  border: 1.5px solid var(--white);
  --btn-fg: var(--white);
  color: var(--white);
  font-weight: 600;
  padding: 13px 22px;
  background: transparent;
}

.btn-static {
  cursor: default;
  pointer-events: none;
  opacity: 0.72;
}

.btn-solid {
  background: var(--ink);
  --btn-fg: var(--white);
  color: var(--white);
  font-weight: 600;
  padding: 13px 20px;
}

.btn-solid-lg {
  padding: 14px 22px;
}

.btn-nav {
  background: var(--ink);
  color: var(--white);
  --btn-fg: var(--white);
  text-decoration: none;
  padding: 10px 16px;
  border-radius: 6px;
  font-weight: 600;
}

.btn-ghost {
  border: 1px solid #c8d9cf;
  color: var(--ink);
  --btn-fg: var(--ink);
  text-decoration: none;
  font-weight: 600;
  padding: 10px 14px;
  border-radius: 6px;
  background: var(--white);
}

.btn-profile {
  border: 1px solid #c8d9cf;
  color: var(--ink);
  --btn-fg: var(--ink);
  text-decoration: none;
  font-weight: 600;
  padding: 9px 14px;
  border-radius: 6px;
  font-size: 14px;
  background: var(--white);
}

.text-link {
  font-weight: 600;
  color: var(--link);
}

.text-link:hover {
  color: var(--ink);
}

.more-link {
  font-weight: 600;
  color: var(--link);
}

/* Placeholders the lab still needs to replace */
.ph {
  border-radius: 8px;
  background: var(--tint);
  border: 1px dashed var(--ph-border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 600;
  color: var(--muted);
  text-align: center;
  padding: 8px;
}

.ph-logo { height: 88px; }
.ph-logo-sm {
  height: 72px;
  background: var(--white);
  border-color: var(--ph-border-strong);
}
.ph-shot {
  height: 160px;
  border-radius: 8px;
  background: var(--on-dark);
  border: 1px dashed var(--ph-border-strong);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  color: var(--muted);
  font-weight: 400;
}
.portrait { display: block; line-height: 0; border-radius: 10px; overflow: hidden; background: var(--tint); }
.portrait img,
img.portrait { width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; display: block; }
.portrait-pi { flex: 0 0 200px; width: 200px; }
.portrait-card { flex: 0 0 72px; width: 72px; border-radius: 8px; }
.portrait-alumni { flex: 0 0 56px; width: 56px; border-radius: 8px; }
.monogram {
  aspect-ratio: 4 / 5;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  letter-spacing: 0.02em;
  background: #e4ece6;
  color: var(--ink);
  border-radius: 8px;
}
.monogram-pi { flex: 0 0 200px; width: 200px; border-radius: 10px; font-size: 42px; background: var(--on-dark); }
.monogram-card { flex: 0 0 72px; width: 72px; font-size: 18px; }
.monogram-alumni { flex: 0 0 56px; width: 56px; font-size: 15px; background: var(--ink); color: #fff; }
.logo-link {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 88px;
  padding: 12px 14px;
  background: var(--white);
  border: 1px solid var(--rule);
  border-radius: 8px;
}
.logo-link:hover { border-color: var(--ink); }
body:not(.page-home) a.logo-link:hover { color: inherit; }
.org-logo { display: block; max-height: 64px; max-width: 100%; width: auto; height: auto; object-fit: contain; }
.ph-inline {
  font-style: italic;
  color: var(--muted);
  border: 1px dashed var(--ph-border-strong);
  border-radius: 4px;
  padding: 0 6px;
  background: var(--tint);
}
.ph-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px dashed var(--ph-border-strong);
  background: var(--tint);
  color: var(--ink);
  font-weight: 600;
  padding: 10px 14px;
  border-radius: 6px;
}
.ph-link-sm {
  padding: 9px 14px;
  font-size: 14px;
}
.ph-tag {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink);
  background: var(--trainee);
  padding: 2px 6px;
  border-radius: 4px;
  font-style: normal;
}

.chip {
  align-self: flex-start;
  font-size: 12px;
  font-weight: 700;
  background: var(--tint);
  color: var(--body);
  padding: 4px 10px;
  border-radius: 999px;
}

.badge {
  align-self: flex-start;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  padding: 5px 12px;
  border-radius: 999px;
}

.badge-live {
  background: var(--accent);
  color: var(--ink);
}

.badge-preview {
  border: 1.5px solid var(--hero-muted);
  color: var(--on-dark);
  padding: 4px 12px;
}

.badge-preview-ink {
  border: 1.5px solid var(--ink);
  color: var(--ink);
  padding: 4px 12px;
}

.badge-recruit {
  align-self: flex-start;
  font-size: 13px;
  font-weight: 700;
  color: var(--ink);
  background: var(--accent);
  padding: 5px 12px;
  border-radius: 999px;
}

.pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.pill {
  background: var(--white);
  border: 1px solid #c8d9cf;
  color: var(--ink);
  text-decoration: none;
  padding: 10px 16px;
  border-radius: 999px;
  font-weight: 600;
}

body:not(.page-home) a.pill:hover {
  color: var(--ink);
}

/* Home */
.hero {
  background: var(--ink);
  color: var(--white);
}

.hero-inner {
  padding: 88px var(--gutter) 96px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 56px;
}

.hero-copy {
  flex: 1 1 520px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  padding-top: 8px;
}
.hero-actions .btn {
  justify-content: center;
  text-align: center;
  line-height: 1.3;
  white-space: normal;
}
@media (max-width: 760px) {
  .hero-actions { flex-direction: column; align-items: stretch; }
}

.hero-card {
  flex: 0 1 380px;
  align-self: stretch;
  background: var(--white);
  color: var(--ink);
  border-radius: 10px;
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  font-weight: 800;
  text-align: center;
}

.hero-see,
.hero-every,
.hero-child,
.hero-steps,
.hero-tag {
  display: block;
  width: 100%;
  text-align: center;
  line-height: 1;
}

/* Letter-spacing adds space after the last glyph. The matching indent keeps the words optically centered. */
.hero-see { font-size: 104px; letter-spacing: 0.04em; text-indent: 0.04em; }
.hero-every { font-size: 58px; letter-spacing: 0.12em; text-indent: 0.12em; }
.hero-child { font-size: 38px; letter-spacing: 0.2em; text-indent: 0.2em; }
.hero-rule { width: 100%; height: 3px; background: var(--accent); margin: 6px 0; }
.hero-steps { font-size: 17px; letter-spacing: 0.3em; text-indent: 0.3em; color: var(--body); }
.hero-tag { font-size: 11px; letter-spacing: 0.22em; text-indent: 0.22em; color: var(--muted); }

@media (max-width: 1080px) {
  .hero-inner { justify-content: center; }
  .hero-card {
    align-self: center;
    max-width: 420px;
    margin-inline: auto;
  }
}

.findings .section-inner { padding: 80px var(--gutter) 40px; gap: 32px; }
.questions .section-inner { padding: 56px var(--gutter) 80px; gap: 32px; }

.grid-findings {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}
@media (min-width: 720px) {
  .grid-findings { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 1100px) {
  .grid-findings { grid-template-columns: repeat(4, 1fr); }
}

.finding {
  border: 1px solid var(--rule);
  border-radius: 10px;
  padding: 26px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  background: var(--white);
}

.stat {
  font-size: 40px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--ink);
}

.finding h3,
.card-title {
  margin: 0;
  font-size: 18px;
  line-height: 1.35;
  font-weight: 700;
  color: var(--ink);
}

.finding p { font-size: 15px; color: var(--body); }
.finding .text-link { margin-top: auto; font-size: 15px; }

.grid-questions {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}
@media (min-width: 960px) {
  .grid-questions { grid-template-columns: repeat(3, 1fr); }
}

.q-card {
  text-decoration: none;
  color: inherit;
  background: var(--tint);
  border-radius: 10px;
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.q-kicker {
  font-size: 13px;
  font-weight: 700;
  color: var(--link);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.q-card h3 {
  font-size: 23px;
  font-weight: 700;
  line-height: 1.3;
  color: var(--ink);
}

.q-card p { font-size: 16px; color: var(--body); }
.q-card .more { font-weight: 600; color: var(--link); }

.band-dark { background: var(--ink); color: var(--white); }
.band-dark .section-inner { padding: 80px var(--gutter); gap: 32px; }
.band-dark .h2 { color: var(--white); }

.grid-tools {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-areas:
    "shop atlas"
    "eye atlas";
  gap: 24px;
  align-items: stretch;
}
.tool-card-shop { grid-area: shop; }
.tool-card-eye { grid-area: eye; }
.tool-card-atlas { grid-area: atlas; }
.tool-card .btn { margin-top: auto; }
@media (max-width: 760px) {
  .grid-tools {
    grid-template-columns: 1fr;
    grid-template-areas:
      "shop"
      "eye"
      "atlas";
  }
}

.tool-card {
  background: var(--deep);
  border-radius: 12px;
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.tool-card h3 {
  font-size: 28px;
  line-height: 1.2;
  font-weight: 800;
}

.tool-card p { font-size: 17px; color: var(--on-dark); }
.tool-card-atlas .state-grid { margin-top: auto; }
.tool-card-atlas .btn-static { margin-top: 14px; }

.state-grid {
  display: grid;
  grid-template-columns: repeat(11, minmax(0, 1fr));
}

.state-grid-decor {
  gap: 4px;
  padding: 6px 0;
}

.decor-tile {
  aspect-ratio: 1;
  border-radius: 3px;
  background: var(--decor);
}

.partners .section-inner { padding: 72px var(--gutter); gap: 28px; }

.grid-partners-home {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}
@media (min-width: 720px) {
  .grid-partners-home { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 1100px) {
  .grid-partners-home { grid-template-columns: repeat(4, 1fr); }
}

.partner-home {
  border-top: 3px solid var(--ink);
  padding-top: 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  text-align: center;
}

.partner-home .logo-link,
.partner-home strong,
.partner-home span { align-self: stretch; }
.partner-home strong { font-size: 17px; font-weight: 700; color: var(--ink); }
.partner-home span { font-size: 15px; color: var(--body); }

.news {
  background: var(--tint);
}

.news .section-inner {
  padding: 80px var(--gutter);
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 48px;
}

.news-list {
  flex: 1 1 520px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.news-items {
  list-style: none;
  display: flex;
  flex-direction: column;
}

.news-items li {
  display: flex;
  gap: 20px;
  padding: 16px 0;
  border-bottom: 1px solid #c8d9cf;
}

.news-date {
  flex: 0 0 92px;
  font-size: 14px;
  font-weight: 700;
  color: var(--muted);
}

.news-items li span:last-child,
.news-items li a {
  font-size: 16px;
  color: var(--text);
}
.news-items li a {
  color: var(--link);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.recruit-card {
  flex: 1 1 380px;
  min-width: 0;
  background: var(--white);
  border-radius: 10px;
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.recruit-photo { display: block; margin: 0; border-radius: 8px; overflow: hidden; }
.recruit-photo img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  object-position: center top;
}
@media (max-width: 980px) {
  .recruit-photo img {
    height: 230px;
    max-height: none;
    aspect-ratio: auto;
    object-fit: cover;
    object-position: center top;
  }
}
.recruit-card p { font-size: 16px; color: var(--body); }
.recruit-card strong { color: var(--ink); }

.funders .section-inner { padding: 48px var(--gutter); gap: 12px; }

.funders h2 {
  margin: 0 0 8px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.funder-grid {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
}

.funder-grid li {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  text-align: center;
}
.funder-grid .logo-link,
.funder-grid span { align-self: stretch; }
.funder-grid .logo-link {
  box-sizing: border-box;
  height: 120px;
  padding: 14px 16px;
}
/* The seal fills the shared card. Less padding, same outer height as the wordmarks. */
.funder-grid .logo-link:has(.org-logo[src$="ktef-logo.png"]) {
  padding: 4px 8px;
}
.funder-grid .org-logo[src$="ktef-logo.png"] {
  height: 110px;
  max-height: none;
  width: auto;
  max-width: 100%;
}
.funder-grid span { font-size: 15px; font-weight: 600; color: var(--ink); }

/* Footer. flex-grow keeps it at the bottom of short pages. */
.site-footer {
  flex: 1 0 auto;
  background: var(--deep);
  color: var(--footer-fg);
  font-size: 15px;
}

.site-footer.is-soft { --footer-fg: var(--footer-soft); color: var(--footer-soft); }

.footer-full,
.footer-compact {
  max-width: var(--max);
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}

.footer-full { padding: 56px var(--gutter); gap: 40px; }
.footer-compact { padding: 40px var(--gutter); gap: 16px 40px; align-items: center; }
.footer-compact-links { display: flex; flex-wrap: wrap; gap: 10px 20px; }

.footer-brand,
.footer-contact,
.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-brand { flex: 1 1 280px; }
.footer-contact,
.footer-nav { flex: 1 1 200px; }

.footer-name { font-size: 20px; font-weight: 800; color: var(--white); }
.footer-contact strong,
.footer-label { font-weight: 700; color: var(--white); }

.site-footer a { color: var(--white); }
.site-footer .footer-nav a { color: inherit; }

body:not(.page-home) .site-footer a:hover { color: var(--white); }

/* Research */
.page-hero { background: var(--tint); }
.page-hero .section-inner { padding: 72px var(--gutter) 56px; gap: 18px; }
.page-hero-tools .section-inner { padding: 56px var(--gutter) 48px; gap: 14px; }
.page-hero-pub .section-inner {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  padding: 56px var(--gutter) 48px;
  gap: 12px;
}
.pub-hero-row {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}
.pub-hero-copy { gap: 12px; flex: 1 1 auto; min-width: 0; }
.page-hero-pub .pub-actions { flex: 0 0 auto; justify-content: flex-end; }
@media (max-width: 640px) {
  .pub-hero-row { flex-direction: column; align-items: flex-start; gap: 16px; }
  .page-hero-pub .pub-actions { justify-content: flex-start; }
}
.page-hero-team .section-inner { padding: 56px var(--gutter); gap: 32px; }

.cascade { border-bottom: 1px solid var(--rule); }
.cascade .section-inner { padding: 40px var(--gutter); gap: 20px; }
.cascade-figure { display: block; margin: 0; }
.cascade-figure img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 2000 / 336;
}
@media (max-width: 640px) {
  .cascade-figure img { aspect-ratio: 800 / 1151; }
}

.theme { border-bottom: 1px solid var(--rule); }
.theme .section-inner {
  padding: 64px var(--gutter);
  display: flex;
  flex-wrap: wrap;
  gap: 48px;
}

.theme-copy,
.theme-papers { flex: 1 1 400px; min-width: 0; display: flex; flex-direction: column; }
.theme-copy { gap: 18px; }
.theme-papers { flex-basis: 560px; gap: 14px; }
.found-label { font-size: 14px; font-weight: 700; color: var(--ink); }
.theme-copy p { font-size: 17px; }

.paper-card {
  text-decoration: none;
  color: inherit;
  border: 1px solid var(--rule);
  border-radius: 10px;
  padding: 20px 22px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  background: var(--white);
}

.paper-meta { font-size: 13px; font-weight: 700; color: var(--muted); }
.paper-card h3 { font-size: 18px; font-weight: 700; line-height: 1.35; color: var(--ink); }
.paper-card p { font-size: 15px; color: var(--body); }

.cta-band .section-inner,
.cta-light .section-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.cta-band .section-inner { padding: 64px var(--gutter); }

.cta-copy { display: flex; flex-direction: column; gap: 8px; flex: 1 1 520px; }
.cta-copy p { font-size: 17px; }

.cta-light { border-top: 1px solid var(--rule); }
.cta-light .section-inner { padding: 56px var(--gutter); }

/* Policy */
.policy-hero { background: var(--ink); color: var(--white); }
.policy-hero .hero-top { padding: 72px var(--gutter) 32px; gap: 18px; }
.policy-hero .hero-news { padding: 32px var(--gutter) 80px; gap: 24px; }
.policy-hero .h1,
.policy-hero .h2 { color: var(--white); }

.lead-story {
  text-decoration: none;
  color: var(--ink);
  background: var(--accent);
  border-radius: 14px;
  padding: 36px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.lead-kicker { font-size: 13px; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; }
.lead-h { font-size: 34px; font-weight: 800; line-height: 1.15; letter-spacing: -0.02em; max-width: 900px; }
.lead-story p { font-size: 17px; max-width: 820px; }
.lead-story .more { font-size: 16px; font-weight: 700; }

.press-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 16px;
}

.press-card {
  text-decoration: none;
  color: var(--white);
  background: var(--deep);
  border-radius: 12px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

body:not(.page-home) a.press-card:hover { color: var(--white); }

.press-meta {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent);
}

.press-card h3 { font-size: 19px; font-weight: 700; line-height: 1.3; }
.press-more {
  align-self: flex-start;
  margin-top: 4px;
  background: transparent;
  color: var(--white);
  border: 1.5px solid var(--white);
  border-radius: 999px;
  font: inherit;
  font-weight: 700;
  padding: 10px 18px;
  cursor: pointer;
}
@media (max-width: 760px) {
  .press-grid.is-collapsed .press-card-extra { display: none; }
}
@media (min-width: 761px) {
  .press-more { display: none !important; }
}
.press-card .more { font-size: 15px; font-weight: 600; color: var(--hero-muted); margin-top: auto; }

.commentaries { background: var(--tint); }
.commentaries .section-inner { padding: 64px var(--gutter); gap: 24px; }

.comment-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
}

.comment-card {
  text-decoration: none;
  color: inherit;
  background: var(--white);
  border-radius: 12px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.comment-card .meta { font-size: 13px; font-weight: 700; color: var(--muted); }
.comment-card h3 { font-size: 20px; font-weight: 800; line-height: 1.3; color: var(--ink); }
.comment-card .by { font-size: 15px; color: var(--body); }
.comment-card .more { font-size: 15px; font-weight: 600; color: var(--link); margin-top: auto; }

.partnerships .section-inner { padding: 64px var(--gutter); gap: 24px; }

.partner-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}
@media (min-width: 720px) {
  .partner-grid { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 1100px) {
  .partner-grid { grid-template-columns: repeat(4, 1fr); }
}

.partner-card {
  background: var(--tint);
  border-radius: 12px;
  padding: 26px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  text-align: center;
}
.partner-card .logo-link,
.partner-card .partner-role,
.partner-card h3,
.partner-card p { align-self: stretch; }

.partner-role {
  font-size: 13px;
  font-weight: 700;
  color: var(--link);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.partner-card h3 { font-size: 19px; line-height: 1.3; color: var(--ink); }
.partner-card p { font-size: 15px; color: var(--body); }

/* Tools */
.shop-wrap .section-inner { padding: 56px var(--gutter) 24px; }
.atlas-wrap .section-inner { padding: 32px var(--gutter) 64px; }
.eyecuity-wrap .section-inner { padding: 24px var(--gutter) 8px; }
.eyecuity-shots {
  flex: 1 1 360px;
  min-width: 0;
  display: flex;
  gap: 12px;
  align-items: flex-end;
  justify-content: center;
}
.phone-shot {
  margin: 0;
  flex: 1 1 0;
  max-width: 168px;
  background: #0b241c;
  border: 3px solid #d7e4dc;
  border-radius: 22px;
  padding: 8px;
  line-height: 0;
}
.phone-shot img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 14px;
}
@media (max-width: 760px) {
  .eyecuity-shots {
    justify-content: flex-start;
    overflow-x: auto;
    padding-bottom: 4px;
    scroll-snap-type: x mandatory;
  }
  .phone-shot {
    flex: 0 0 46%;
    max-width: none;
    scroll-snap-align: start;
  }
}

.box { border-radius: 14px; padding: 40px; }
.shop-box {
  background: var(--ink);
  color: var(--white);
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  align-items: center;
}
.shop-copy { flex: 1 1 440px; min-width: 0; display: flex; flex-direction: column; gap: 14px; }
.shop-copy .h2 { color: var(--white); }
.shop-copy p,
.shop-copy li { font-size: 16px; color: var(--on-dark); }
.shop-copy p { font-size: 17px; }
.shop-copy ul { margin: 0; padding-left: 20px; display: flex; flex-direction: column; gap: 4px; }
.shop-shot {
  flex: 1 1 380px;
  min-width: 0;
  display: block;
  line-height: 0;
  border-radius: 16px;
}
.shop-shot img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 16px;
}
body:not(.page-home) a.shop-shot:hover { color: inherit; }
.fake-filters { display: flex; gap: 8px; flex-wrap: wrap; }
.fake-filters span {
  font-size: 12px;
  font-weight: 700;
  background: var(--tint);
  padding: 6px 10px;
  border-radius: 6px;
}
.fake-lines { display: flex; flex-direction: column; gap: 6px; }
.fake-lines i { display: block; height: 12px; background: var(--rule); border-radius: 4px; }
.fake-lines i:first-child { width: 70%; }
.fake-lines i:last-child { width: 52%; }

.atlas-box {
  background: var(--tint);
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.var-row, .filter-row { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.var-label { font-size: 14px; font-weight: 700; color: var(--ink); margin-right: 6px; }

.filter-btn,
.var-btn {
  font-size: 15px;
  font-weight: 600;
  padding: 10px 16px;
  min-height: 44px;
  border-radius: 999px;
  border: 1.5px solid var(--ink);
  cursor: pointer;
  background: var(--white);
  color: var(--ink);
}

.var-btn { font-size: 14px; padding: 10px 14px; }

.filter-btn[aria-pressed="true"],
.var-btn[aria-pressed="true"] {
  background: var(--ink);
  color: var(--white);
}

.atlas-layout {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  align-items: flex-start;
}

.atlas-map { flex: 999 1 560px; min-width: 0; position: relative; }
.atlas-map .state-grid { gap: 6px; }

.tile {
  aspect-ratio: 1;
  min-height: 36px;
  border-radius: 6px;
  border: 1px solid var(--tile-border);
  background: var(--tile);
  color: var(--ink);
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  padding: 0;
}

.tile[aria-pressed="true"] {
  background: var(--accent);
  border: 2px solid var(--ink);
}

.tile-release {
  background: var(--release-tile);
  border-color: var(--release-border);
}

.tile-release[aria-pressed="true"] {
  background: var(--accent);
  border: 2px solid var(--ink);
}

.profile {
  flex: 1 1 320px;
  min-width: 0;
  background: var(--white);
  border: 1px solid var(--rule);
  border-radius: 10px;
  padding: 26px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.profile h3,
.profile .h2 { margin: 0; font-size: 28px; font-weight: 800; color: var(--ink); }

.profile dl { margin: 0; display: flex; flex-direction: column; }
.profile-row {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 0;
  border-bottom: 1px solid var(--rule);
}
.profile dt { font-size: 15px; color: var(--body); }
.profile dd { margin: 0; font-size: 14px; font-weight: 600; color: var(--muted); text-align: right; }
.profile-note {
  background: var(--tint);
  border-radius: 8px;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.profile-note strong { font-size: 15px; color: var(--ink); }
.profile-note a { font-weight: 600; font-size: 15px; }

/* Publications */
.pub-actions { display: flex; }
.pub-intro { font-size: 17px; color: var(--body); }
.pub-intro strong { color: var(--ink); }

.tag {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 4px;
  color: var(--ink);
}
.tag-trainee { background: var(--trainee); }
.tag-presented { background: var(--presented); }

.pub-wrap .section-inner {
  max-width: 1000px;
  padding: 36px var(--gutter) 72px;
  gap: 24px;
}

.pub-list { list-style: none; display: flex; flex-direction: column; }
.pub-list li {
  display: flex;
  gap: 24px;
  padding: 22px 0;
  border-bottom: 1px solid var(--rule);
}
.pub-year { flex: 0 0 56px; font-size: 15px; font-weight: 800; color: var(--ink); }
.pub-body { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; gap: 8px; }
.pub-title {
  font-size: 18px;
  font-weight: 700;
  line-height: 1.35;
}
.pub-title a { color: var(--ink); }
.pub-title a:hover { color: var(--ink); }
.byline { font-size: 15px; color: var(--body); }
.byline strong { color: var(--ink); }
.pub-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 10px;
  font-size: 14px;
}
.pub-meta em { color: var(--body); }
.pub-meta a { font-weight: 600; }
.kw-row { display: flex; flex-wrap: wrap; gap: 6px; }
.theme-pill {
  font-size: 13px;
  font-weight: 700;
  background: var(--ink);
  color: var(--white);
  padding: 3px 10px;
  border-radius: 999px;
}
.kw {
  font-size: 13px;
  font-weight: 600;
  background: var(--tint);
  color: var(--body);
  padding: 3px 10px;
  border-radius: 999px;
}

/* Team */
.pi-card {
  background: var(--white);
  border-radius: 12px;
  padding: 32px;
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  align-items: flex-start;
}
.pi-copy { flex: 1 1 480px; min-width: 0; display: flex; flex-direction: column; gap: 12px; }
.pi-copy p { font-size: 16px; color: var(--body); }
.pi-links { display: flex; flex-wrap: wrap; gap: 10px; padding-top: 4px; }
.pi-photo-link { display: block; line-height: 0; border-radius: 10px; }
.pi-card a.pi-photo-link,
.pi-card a.pi-name-link,
body:not(.page-home) .pi-card a.pi-photo-link,
body:not(.page-home) .pi-card a.pi-name-link {
  color: inherit;
  text-decoration: none;
}
.pi-card a.pi-name-link:hover,
body:not(.page-home) .pi-card a.pi-name-link:hover {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.roster .section-inner { padding: 48px var(--gutter) 8px; gap: 20px; }
.roster-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 20px;
}
.member {
  border: 1px solid var(--rule);
  border-radius: 10px;
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.member-id { display: flex; align-items: center; gap: 14px; }
.member h3 { margin: 0; font-size: 18px; color: var(--ink); }
.member .role { font-size: 14px; color: var(--muted); }
.member p { font-size: 15px; color: var(--body); }

.alumni {
  margin-top: 56px;
  background: var(--ink);
  color: var(--white);
}
.alumni .section-inner { padding: 64px var(--gutter); gap: 28px; }
.alumni .h2 { color: var(--white); }
.alumni-grid {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 16px;
}
.alumni-grid li {
  background: var(--deep);
  border-radius: 10px;
  padding: 16px 18px;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 14px;
}
.alumni-grid strong { font-size: 18px; font-weight: 700; }
.alumni-grid span { font-size: 15px; color: var(--accent); font-weight: 600; }

/* Join */
.join-hero { background: var(--ink); color: var(--white); }
.join-hero .h1 { color: var(--white); }
.join-hero .section-inner {
  padding: 72px var(--gutter);
}
.join-hero .h1,
.hero .h1 { color: var(--white); }
.join-copy {
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-width: 720px;
}
.positions .section-inner { padding: 64px var(--gutter) 40px; gap: 24px; }
.position-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}
.join-photo {
  order: -1;
  margin: 0;
  min-width: 0;
  border-radius: 10px;
  overflow: hidden;
}
.join-photo img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1400 / 933;
  object-fit: contain;
  object-position: center center;
  border-radius: 10px;
}
@media (min-width: 700px) and (max-width: 999px) {
  .position-grid { grid-template-columns: 1fr 1fr; }
  .join-photo { grid-column: 1 / -1; }
}
@media (min-width: 1000px) {
  .position-grid { grid-template-columns: 1fr 1fr 1.2fr; }
  .position:nth-child(1) { grid-column: 1; grid-row: 1; }
  .position:nth-child(2) { grid-column: 2; grid-row: 1; }
  .position:nth-child(3) { grid-column: 1; grid-row: 2; }
  .position:nth-child(4) { grid-column: 2; grid-row: 2; }
  .join-photo {
    order: 0;
    grid-column: 3;
    grid-row: 1 / span 2;
    align-self: start;
    height: auto;
  }
  .join-photo img {
    width: 100%;
    height: auto;
    max-height: none;
    aspect-ratio: 1400 / 933;
    object-fit: contain;
  }
}
.position {
  border: 1px solid var(--rule);
  border-radius: 10px;
  padding: 16px 16px 14px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.position h3 { margin: 0; font-size: 17px; line-height: 1.25; color: var(--ink); }
.position .meta { font-size: 13px; font-weight: 600; color: var(--link); }
.position p { margin: 0; font-size: 14px; line-height: 1.4; color: var(--body); }

.apply .section-inner {
  padding: 24px var(--gutter) 64px;
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
}
.apply-main, .apply-side { flex: 1 1 440px; min-width: 0; display: flex; flex-direction: column; gap: 14px; }
.apply-main h2 { margin: 0; font-size: 26px; font-weight: 800; color: var(--ink); }
.apply-main h2 + h2 { margin-top: 12px; }
.apply-main p, .apply-main li { font-size: 16px; color: var(--body); }
.apply-steps { margin: 0; padding-left: 22px; display: flex; flex-direction: column; gap: 8px; }
.side-card {
  background: var(--tint);
  border-radius: 10px;
  padding: 26px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.side-card h2 { margin: 0; font-size: 22px; font-weight: 800; color: var(--ink); }
.side-card p { font-size: 15px; color: var(--body); }
.side-card a { font-weight: 600; }

/* Draft atlas extras */
.year-row { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; }
.year-row label { font-size: 14px; font-weight: 700; color: var(--ink); }
.year-row input { flex: 1 1 320px; accent-color: var(--ink); }
.year-out { font-size: 22px; font-weight: 800; color: var(--ink); min-width: 64px; }
.legend {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
  font-size: 14px;
  color: var(--body);
  margin-top: 14px;
}
.legend strong { color: var(--ink); }
.swatch { width: 16px; height: 16px; border-radius: 3px; display: inline-block; }
.swatch-a { background: var(--ink); }
.swatch-b { background: #5e8c76; }
.swatch-c { background: var(--on-dark); border: 1px solid var(--ph-border-strong); }
.legend-note { margin: 0; font-size: 13px; color: var(--muted); }
.atlas-map-col { display: flex; flex-direction: column; gap: 14px; }
.release-profile { border: 1px solid var(--rule); background: transparent; }
.release-profile dd { font-size: 15px; font-style: italic; }
.data-band .section-inner {
  padding: 56px var(--gutter);
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
}
.data-col { flex: 1 1 420px; display: flex; flex-direction: column; gap: 14px; }
.data-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.cite-label { font-size: 14px; font-weight: 700; color: var(--accent); }
.cite {
  margin: 0;
  font-size: 15px;
  background: var(--deep);
  padding: 18px;
  border-radius: 8px;
  color: var(--on-dark);
  font-family: ui-monospace, Menlo, monospace;
}
.data-col .fine { font-size: 14px; color: var(--decor); }
.data-col .fine a { color: var(--white); }

/* 404 */
.missing .section-inner { padding: 72px var(--gutter); gap: 16px; max-width: 800px; }
.missing-links { display: flex; flex-wrap: wrap; gap: 10px; padding-top: 8px; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

@media (max-width: 760px) {
  .site-nav { display: none !important; }
  .header-bar { flex-wrap: nowrap !important; }
  .brand { min-width: 0; }
  .menu-btn { display: inline-flex; flex-shrink: 0; }
  .mobile-nav { display: flex; }
  .h1 { font-size: 34px !important; line-height: 1.12 !important; }
  .h2 { font-size: 26px !important; line-height: 1.2 !important; }
  .lead-h { font-size: 24px !important; }
  .hero-inner { justify-content: center; }
  .hero-card {
    display: flex !important;
    flex: 1 1 100%;
    align-self: center;
    max-width: 420px;
    margin-inline: auto;
  }
  .hero-see { font-size: 80px; }
  .hero-every { font-size: 46px; }
  .hero-child { font-size: 30px; }
  .hero-steps { font-size: 13px; letter-spacing: 0.16em; text-indent: 0.16em; }
  .hero-tag { font-size: 10px; letter-spacing: 0.14em; text-indent: 0.14em; }
  .box { padding: 22px !important; }
  .section-inner { padding-top: 44px !important; padding-bottom: 44px !important; }
  .tile { font-size: 9px !important; min-height: 0 !important; border-radius: 4px !important; }
}
@media (max-width: 640px) {
  .hero-card { display: none !important; }
}
