:root {
  --navy: #0b2434;
  --navy-2: #14384a;
  --navy-deep: #08202e;
  --ink: #1a2830;
  --muted: #566670;
  --line: #e4e7e4;
  --line-strong: #ccd4d1;
  --paper: #f7f5ef;
  --white: #ffffff;
  --teal: #4e8584;
  --teal-strong: #2f6a68;   /* links + primary button (AA on white) */
  --gold: #b99454;
  --gold-ink: #8a6a2f;      /* pending status (AA on white) */
  --line-dark: rgba(255, 255, 255, 0.14);
  --sans: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  --serif: 'Newsreader', 'Source Serif 4', 'Iowan Old Style', Georgia, 'Times New Roman', serif;
  --sp: clamp(48px, 7vw, 96px);
  --maxw: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; color: var(--ink); background: var(--white);
  font-family: var(--sans); font-size: 17px; line-height: 1.65;
  text-rendering: optimizeLegibility; -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; }
button, input, textarea, select { font: inherit; color: inherit; }
button { cursor: pointer; }
::selection { background: var(--teal); color: var(--white); }
:focus-visible { outline: 2px solid var(--teal-strong); outline-offset: 3px; border-radius: 2px; }

h1, h2, h3 { font-family: var(--serif); font-weight: 500; letter-spacing: -0.012em; text-wrap: balance; }
.shell { width: min(var(--maxw), calc(100% - 48px)); margin-inline: auto; }
.measure { max-width: 70ch; }
.eyebrow { font-size: .72rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--teal-strong); margin: 0 0 12px; }
.skip-link { position: fixed; left: 12px; top: -60px; z-index: 200; background: var(--white); color: var(--navy); padding: 10px 14px; border-radius: 8px; box-shadow: 0 10px 30px rgba(11,36,52,.2); }
.skip-link:focus { top: 12px; }

/* ---------------------------------------------------------------- header */
.site-header { position: sticky; top: 0; z-index: 100; background: rgba(255,255,255,.92); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.header-inner { min-height: 84px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; }
.logo-full { height: 58px; width: auto; display: block; }
.logo-icon { height: 42px; width: auto; display: none; }

.nav-wrap { position: relative; display: flex; align-items: center; }
.nav-cb { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.nav-toggle { display: none; }
.primary-nav { display: flex; align-items: center; gap: 26px; }
.primary-nav a { font-size: .94rem; font-weight: 500; color: var(--ink); padding: 6px 0; position: relative; transition: color .18s ease; }
.primary-nav a::after { content: ''; position: absolute; left: 0; right: 100%; bottom: 0; height: 2px; background: var(--teal-strong); transition: right .18s ease; }
.primary-nav a:hover, .primary-nav a:focus-visible, .primary-nav a[aria-current="page"] { color: var(--teal-strong); }
.primary-nav a:hover::after, .primary-nav a:focus-visible::after, .primary-nav a[aria-current="page"]::after { right: 0; }

/* ---------------------------------------------------------------- buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; padding: 11px 22px; border-radius: 9px; font-size: .92rem; font-weight: 600; border: 1px solid transparent; transition: background .18s ease, border-color .18s ease, transform .18s ease, color .18s ease; }
.btn-primary { color: var(--white); background: var(--teal-strong); }
.btn-primary:hover { background: #285b59; transform: translateY(-1px); }
.btn-light { color: var(--navy); background: var(--white); }
.btn-light:hover { transform: translateY(-1px); }
.text-link { display: inline-flex; align-items: center; gap: 7px; font-weight: 600; color: var(--teal-strong); }
.text-link::after { content: '\2192'; transition: transform .18s ease; }
.text-link:hover::after { transform: translateX(4px); }
.on-dark { color: #d3e4e2; }
.on-dark:hover { color: var(--white); }

/* ---------------------------------------------------------------- hero */
.hero { background: linear-gradient(158deg, var(--navy-deep), var(--navy) 68%, var(--navy-2)); color: var(--white); }
.hero-inner { min-height: 66vh; display: flex; flex-direction: column; justify-content: center; padding: clamp(56px, 9vw, 104px) 0; max-width: 62ch; }
.hero-eyebrow { font-size: .74rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: #9fc3c0; margin: 0 0 20px; }
.hero h1 { font-size: clamp(2.2rem, 4.7vw, 3.5rem); line-height: 1.05; margin: 0 0 20px; max-width: 18ch; }
.hero-deck { font-size: clamp(1.05rem, 1.4vw, 1.2rem); color: #cddbe0; max-width: 54ch; margin: 0 0 30px; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 22px; }

/* ---------------------------------------------------------------- sections */
.section { padding: var(--sp) 0; }
.section-paper { background: var(--paper); }
.section-head { max-width: 60ch; margin-bottom: clamp(26px, 3.5vw, 40px); }
.section-head h2 { font-size: clamp(1.6rem, 2.6vw, 2.1rem); line-height: 1.12; margin: 0; }
.section-head p { color: var(--muted); margin: 12px 0 0; }
.page-head { padding: clamp(64px, 8vw, 104px) 0 clamp(30px, 4vw, 52px); border-bottom: 1px solid var(--line); }
.page-head h1 { font-size: clamp(2rem, 3.6vw, 2.9rem); line-height: 1.06; margin: 0; max-width: 20ch; }
.page-head .lead { margin: 20px 0 0; color: var(--muted); font-size: 1.1rem; max-width: 68ch; }

/* ---------------------------------------------------------------- cards + badges */
.card-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 20px; }
.card-grid-lead { grid-template-columns: repeat(auto-fill, minmax(300px, 460px)); }
.adjacent-list { display: flex; flex-direction: column; gap: 18px; }
.adjacent-item h3 { font-size: 1.08rem; margin: 0 0 6px; }
.adjacent-item h3 a { color: var(--ink); text-decoration: none; border-bottom: 1px solid var(--line-strong); padding-bottom: 1px; }
.adjacent-item h3 a:hover { color: var(--teal-strong); border-color: var(--teal-strong); }
.adjacent-item p { margin: 0; color: var(--muted); font-size: .95rem; }
.org-status { max-width: 72ch; }
.org-status h2 { font-size: 1.15rem; margin: 0 0 10px; }
.org-status p { color: var(--muted); margin: 0; font-size: .96rem; }
.contact-card { border: 1px solid var(--line-strong); border-radius: 14px; background: var(--white); padding: clamp(24px, 3vw, 36px); }
.contact-label { font-size: .68rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin: 0 0 10px; }
.contact-address { font-family: var(--serif); font-size: clamp(1.3rem, 2.6vw, 1.75rem); color: var(--teal-strong); text-decoration: none; border-bottom: 1px solid currentColor; word-break: break-word; }
.contact-address:hover { color: var(--ink); }
.contact-hint { color: var(--muted); margin: 18px 0 0; max-width: 56ch; }
.section-head p a { color: var(--teal-strong); text-decoration: underline; text-underline-offset: 3px; }
.propose-intro { color: var(--ink); font-weight: 600; margin: 0 0 12px; }
.propose-list { margin: 0; padding-left: 1.15rem; color: var(--muted); display: flex; flex-direction: column; gap: 9px; }
.propose-note { color: var(--muted); margin: 18px 0 0; font-size: .95rem; }
.card { display: flex; flex-direction: column; padding: 26px 24px 22px; border: 1px solid var(--line-strong); border-radius: 14px; background: var(--white); transition: border-color .18s ease, transform .18s ease, box-shadow .18s ease; }
.card:hover { border-color: var(--teal-strong); transform: translateY(-2px); box-shadow: 0 12px 30px rgba(11,36,52,.06); }
.card h3 { font-size: 1.3rem; line-height: 1.22; margin: 14px 0 10px; }
.card-summary { color: var(--muted); font-size: .97rem; margin: 0 0 14px; }
.card-collab { font-size: .85rem; color: var(--teal-strong); margin: 0 0 16px; }
.card-collab .collab-name { font-weight: 600; }
.card-meta { font-size: .82rem; color: var(--muted); padding-top: 14px; border-top: 1px solid var(--line); margin-top: auto; margin-bottom: 16px; }
.badge { display: inline-flex; align-items: center; gap: 7px; font-size: .72rem; font-weight: 600; letter-spacing: .02em; color: var(--ink); border: 1px solid var(--line-strong); border-radius: 999px; padding: 5px 11px; align-self: flex-start; }
.badge-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--teal); flex: none; }
.badge-pending .badge-dot { background: var(--gold); }
.badge-pending { color: var(--gold-ink); border-color: #e6d6b6; }
.badge-prep .badge-dot { background: var(--muted); }
.badge-prep { color: var(--muted); }

/* domain tags (Humanities / Science; hybrid projects carry both) */
.card-tags, .head-tags { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; }
.head-tags { margin-bottom: 6px; }
.tags { display: inline-flex; flex-wrap: wrap; gap: 6px; }
.tag { font-size: .64rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; padding: 3px 9px; border-radius: 6px; border: 1px solid var(--line-strong); color: var(--muted); background: var(--white); white-space: nowrap; }
.tag-science { color: var(--teal-strong); border-color: #bfe0dd; background: #f1f8f7; }
.tag-humanities { color: #6b4f8a; border-color: #ddd0ea; background: #f7f4fb; }

/* ---------------------------------------------------------------- research areas / pathways */
.area-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.area-3 + .text-link { margin-top: 28px; }
.area { padding: 26px 24px; border: 1px solid var(--line-strong); border-radius: 14px; background: var(--white); }
.section-paper .area { background: var(--white); }
.area h3 { font-size: 1.2rem; margin: 0 0 10px; }
.area p { margin: 0; color: var(--muted); font-size: .97rem; }

/* research domains */
.domain-list { display: flex; flex-direction: column; }
.domain { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.4fr); gap: clamp(16px, 4vw, 56px); padding: clamp(32px, 4vw, 48px) 0; border-top: 1px solid var(--line); }
.domain:last-child { border-bottom: 1px solid var(--line); }
.domain h2 { font-size: clamp(1.4rem, 2.3vw, 1.9rem); margin: 0; line-height: 1.15; }
.domain p { color: var(--muted); margin: 0; }

/* about columns + principles */
.prose-cols { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 72px); }
.prose { max-width: 70ch; }
.prose h2 { font-size: clamp(1.5rem, 2.4vw, 2rem); margin: 0 0 14px; line-height: 1.15; }
.prose p { color: var(--muted); margin: 0 0 14px; }
.prose p:last-child { margin-bottom: 0; }
.prose a { color: var(--teal-strong); text-decoration: underline; text-underline-offset: 3px; }
.prose ul { margin: 14px 0 0; padding-left: 1.15rem; color: var(--muted); }
.prose li { margin: 7px 0; }

/* research network / people */
.people-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 24px 32px; }
.person { padding: 20px 0; border-top: 1px solid var(--line); }
.person-name { font-family: var(--serif); font-size: 1.12rem; margin: 0 0 4px; color: var(--ink); }
.person-role { color: var(--muted); margin: 0; font-size: .92rem; }

/* ---------------------------------------------------------------- project detail */
.proj-groups { display: flex; flex-direction: column; gap: clamp(40px, 5vw, 60px); }
.proj-group-title { font-size: 1.3rem; margin: 0 0 20px; padding-bottom: 12px; border-bottom: 1px solid var(--line); color: var(--ink); }

/* initiatives (broader foci grouping multiple projects) */
.initiative-list { display: flex; flex-direction: column; gap: clamp(28px, 4vw, 44px); }
.initiative { border: 1px solid var(--line-strong); border-radius: 16px; background: var(--white); padding: clamp(24px, 3vw, 34px); }
.initiative-head { padding-bottom: 22px; margin-bottom: 24px; border-bottom: 1px solid var(--line); }
.initiative-heading { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; }
.initiative-name { font-size: clamp(1.4rem, 2.2vw, 1.75rem); margin: 0; line-height: 1.15; }
.initiative-desc { color: var(--muted); margin: 12px 0 0; max-width: 62ch; }
.initiative-lead { margin: 14px 0 0; font-size: .9rem; color: var(--ink); }
.initiative-lead span { display: inline-block; margin-right: 8px; font-size: .68rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.initiative-projects-label { font-size: .68rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin: 0 0 14px; }
.initiative-projects { margin-left: clamp(8px, 2vw, 20px); }
.initiative-project { max-width: 94%; border-left: 3px solid var(--teal-strong); background: var(--paper); border-radius: 0 14px 14px 0; }
.initiative-project .card { border: 0; background: transparent; border-radius: 0 14px 14px 0; }
.initiative-project .card:hover { transform: none; box-shadow: none; }
.project-top { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(260px, .8fr); gap: clamp(32px, 5vw, 64px); align-items: start; }
.prose-stack { display: flex; flex-direction: column; gap: 30px; }
.facts { border: 1px solid var(--line-strong); border-radius: 14px; padding: 24px 26px; background: var(--paper); position: static; }
.facts-label { font-size: .66rem; text-transform: uppercase; letter-spacing: .12em; font-weight: 700; color: var(--muted); margin-bottom: 14px; }
.facts dl { margin: 0; display: grid; gap: 14px; }
.facts .row { display: grid; gap: 3px; padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.facts .row:last-child { border-bottom: 0; padding-bottom: 0; }
.facts dt { font-size: .72rem; text-transform: uppercase; letter-spacing: .06em; font-weight: 700; color: var(--muted); margin: 0; }
.facts dd { margin: 0; font-size: .96rem; }
.facts dd a { color: var(--teal-strong); text-decoration: underline; text-underline-offset: 2px; }
.facts .row-quiet dd { font-size: .85rem; font-weight: 400; color: var(--muted); }
.disclosure { border-left: 3px solid var(--gold); padding: 4px 0 4px 20px; }
.disclosure p { margin: 0; color: var(--muted); font-size: .98rem; }

/* ---------------------------------------------------------------- callout */
.callout { color: var(--white); background: linear-gradient(158deg, var(--navy-deep), var(--navy) 70%, var(--navy-2)); }
.callout-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 28px; padding: clamp(48px, 6vw, 72px) 0; }
.callout-slim .callout-inner { padding: clamp(36px, 4vw, 52px) 0; }
.callout-text { flex: 1 1 460px; }
.callout-text .eyebrow { color: #9fc3c0; }
.callout-text h2 { font-size: clamp(1.6rem, 3vw, 2.4rem); line-height: 1.1; margin: 0 0 12px; max-width: 22ch; }
.callout-text p { color: #cddbe0; margin: 0; max-width: 60ch; }
.callout-slim .callout-text p a { color: #d3e4e2; text-decoration: underline; }

/* ---------------------------------------------------------------- forms */
.form { max-width: 720px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.field { display: grid; gap: 7px; }
.field-wide { grid-column: 1 / -1; }
.field span { font-size: .8rem; font-weight: 600; color: var(--ink); }
.field input, .field select, .field textarea { width: 100%; border: 1px solid var(--line-strong); border-radius: 9px; background: var(--white); padding: 11px 13px; transition: border-color .18s ease, box-shadow .18s ease; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--teal-strong); box-shadow: 0 0 0 3px rgba(47,106,104,.15); }
.form-more { margin: 20px 0 0; border: 1px solid var(--line); border-radius: 10px; padding: 0 16px; background: var(--white); }
.form-more > summary { cursor: pointer; font-weight: 600; font-size: .92rem; color: var(--teal-strong); padding: 14px 0; list-style: none; }
.form-more > summary::-webkit-details-marker { display: none; }
.form-more > summary::before { content: '+ '; font-weight: 700; }
.form-more[open] > summary::before { content: '– '; }
.form-more[open] { padding-bottom: 18px; }
.form-more .form-grid { margin-top: 2px; }
.form-foot { margin-top: 24px; }
.form-note { font-size: .85rem; color: var(--muted); margin: 12px 0 0; }
.form-status { font-weight: 600; color: var(--teal-strong); margin: 12px 0 0; }
.contact-email { color: var(--muted); margin: 0 0 26px; }
.contact-email a { color: var(--teal-strong); text-decoration: underline; text-underline-offset: 3px; }

/* ---------------------------------------------------------------- footer */
.site-footer { background: var(--navy-deep); color: #cdd9dd; padding: clamp(44px, 5vw, 64px) 0 26px; }
.footer-top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; padding-bottom: 26px; border-bottom: 1px solid var(--line-dark); }
.footer-brand { display: inline-flex; align-items: center; gap: 14px; }
.footer-badge { background: var(--white); border-radius: 12px; padding: 8px; display: inline-flex; }
.footer-badge img { height: 40px; width: 40px; display: block; }
.footer-word { font-family: var(--serif); color: var(--white); font-size: 1.15rem; line-height: 1.15; }
.footer-copy { display: flex; flex-direction: column; gap: 10px; max-width: 52ch; }
.footer-sentence { color: #93a7b0; max-width: 46ch; margin: 0; font-size: .95rem; }
.footer-legal { color: #7f95a0; font-size: 13px; line-height: 1.5; margin: 0; }
.footer-bottom { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; padding-top: 24px; }
.footer-nav { display: flex; flex-wrap: wrap; gap: 10px 22px; font-size: .88rem; }
.footer-nav a { color: #b7c6cc; }
.footer-nav a:hover, .footer-nav a[aria-current="page"] { color: var(--white); }
.footer-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 20px; color: #7f95a0; font-size: .8rem; }
.footer-meta a { color: #b7c6cc; }
.footer-meta a:hover { color: var(--white); }

/* ---------------------------------------------------------------- responsive */
@media (max-width: 880px) {
  .prose-cols, .domain, .project-top, .area-3 { grid-template-columns: 1fr; }
  .area-3 { gap: 16px; }
  .domain { gap: 10px; }
}
@media (max-width: 720px) {
  .shell { width: min(100% - 32px, var(--maxw)); }
  .logo-full { display: none; }
  .logo-icon { display: block; }
  .nav-toggle { display: inline-flex; align-items: center; gap: 9px; font-size: .82rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; padding: 10px 15px; border: 1px solid var(--line-strong); border-radius: 999px; }
  .nav-bars { width: 16px; height: 9px; border-top: 2px solid currentColor; border-bottom: 2px solid currentColor; display: inline-block; }
  .nav-cb:checked ~ .nav-toggle { color: var(--teal-strong); border-color: var(--teal-strong); }
  .nav-cb:focus-visible ~ .nav-toggle { outline: 2px solid var(--teal-strong); outline-offset: 2px; }
  .primary-nav { display: none; position: absolute; right: 0; top: calc(100% + 14px); flex-direction: column; align-items: flex-start; gap: 2px; width: 220px; padding: 10px; background: var(--white); border: 1px solid var(--line-strong); border-radius: 12px; box-shadow: 0 20px 44px rgba(11,36,52,.16); }
  .nav-cb:checked ~ .primary-nav { display: flex; }
  .primary-nav a { width: 100%; padding: 10px 8px; border-radius: 8px; }
  .primary-nav a::after { display: none; }
  .primary-nav a:hover, .primary-nav a[aria-current="page"] { background: var(--paper); }
  .card-grid, .form-grid { grid-template-columns: 1fr; }
  .hero-inner { min-height: 0; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; }
}
