:root {
  color-scheme: light;
  --bg: #f6f7f2;
  --surface: #ffffff;
  --surface-soft: #eef3ec;
  --figure-bg: #ffffff;
  --ink: #18211d;
  --muted: #5c6861;
  --line: #d6ddd4;
  --green: #1f6b5b;
  --green-dark: #15493e;
  --rust: #9b3f2e;
  --gold: #b89444;
  --blue: #375d8d;
  --shadow: 0 18px 45px rgba(19, 28, 24, 0.12);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  letter-spacing: 0;
}

img {
  display: block;
  width: 100%;
}

a {
  color: inherit;
  text-decoration-color: rgba(31, 107, 91, 0.38);
  text-underline-offset: 0.22em;
}

a:hover {
  text-decoration-color: currentColor;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 14px clamp(18px, 4vw, 52px);
  background: rgba(246, 247, 242, 0.92);
  border-bottom: 1px solid rgba(214, 221, 212, 0.75);
  backdrop-filter: blur(14px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 220px;
  text-decoration: none;
}

.brand-logo {
  width: 42px;
  height: 42px;
  object-fit: contain;
  border-radius: 999px;
  background: #10231f;
}

.brand strong,
.brand small {
  display: block;
  line-height: 1.05;
}

.brand small {
  margin-top: 4px;
  color: var(--muted);
  font-size: 0.76rem;
}

.main-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 8px;
}

.main-nav a {
  padding: 9px 12px;
  border-radius: 7px;
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 650;
  text-decoration: none;
}

.main-nav a:hover,
.main-nav a.is-active {
  color: var(--green-dark);
  background: rgba(31, 107, 91, 0.09);
}

.hero {
  position: relative;
  min-height: min(760px, calc(100vh - 10px));
  display: grid;
  align-items: end;
  padding: 132px clamp(20px, 6vw, 82px) 62px;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(9, 18, 17, 0.93), rgba(9, 18, 17, 0.7) 42%, rgba(9, 18, 17, 0.2) 76%),
    url("assets/hero-mlamd-ai-exascale.png") center right / cover no-repeat;
  color: #fff;
}

.hero::after {
  position: absolute;
  inset: auto 0 0;
  height: 18px;
  content: "";
  background: linear-gradient(90deg, var(--green), var(--gold), var(--rust), var(--blue));
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 1060px;
}

.eyebrow,
.label {
  margin: 0 0 12px;
  color: var(--rust);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: #f1cc76;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 980px;
  margin-bottom: 22px;
  font-size: clamp(3.1rem, 7vw, 6.8rem);
  line-height: 0.95;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 0;
  font-size: clamp(2rem, 4vw, 4rem);
  line-height: 1.02;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 12px;
  font-size: clamp(1.2rem, 2vw, 1.75rem);
  line-height: 1.15;
  letter-spacing: 0;
}

.lead {
  max-width: 780px;
  margin-bottom: 28px;
  color: rgba(255, 255, 255, 0.88);
  font-size: clamp(1.1rem, 1.8vw, 1.35rem);
  line-height: 1.6;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 38px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 12px 18px;
  border: 1px solid rgba(255, 255, 255, 0.42);
  border-radius: 7px;
  font-weight: 800;
  line-height: 1.15;
  text-align: center;
  text-decoration: none;
}

.button.primary {
  color: var(--ink);
  background: #f6cf73;
  border-color: #f6cf73;
}

.button.secondary {
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
}

.hero-facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  max-width: 980px;
  margin: 0;
}

.hero-facts a {
  min-height: 112px;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
}

.hero-fact-title {
  margin-bottom: 8px;
  color: #f6cf73;
  font-size: 0.85rem;
  font-weight: 800;
  text-transform: uppercase;
}

.hero-facts span:last-child {
  margin: 0;
  color: rgba(255, 255, 255, 0.86);
  line-height: 1.38;
}

.section {
  padding: clamp(64px, 9vw, 118px) clamp(20px, 5vw, 72px);
}

.section:nth-of-type(even) {
  background: var(--surface);
}

.section-heading {
  max-width: 780px;
  margin-bottom: 36px;
}

.section-heading.wide {
  max-width: 1080px;
}

.overview-grid,
.publication-grid,
.roadmap-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.feature-block,
.publication-card,
.roadmap-grid article {
  min-height: 250px;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
}

.section:nth-of-type(even) .feature-block,
.section:nth-of-type(even) .publication-card,
.section:nth-of-type(even) .roadmap-grid article {
  background: var(--surface-soft);
}

.feature-block p,
.publication-card p,
.roadmap-grid p,
.thrust-copy p,
.timeline p,
.site-footer p {
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.65;
}

.thrusts {
  display: grid;
  gap: 42px;
  background: var(--figure-bg);
}

.thrust-block {
  display: grid;
  gap: 30px;
  padding: clamp(24px, 4vw, 42px);
  border: 1px solid rgba(53, 73, 60, 0.14);
  border-top: 8px solid var(--green);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 18px 44px rgba(19, 28, 24, 0.08);
}

.thrust-block-pd {
  border-top-color: var(--blue);
}

.thrust-block-heading {
  max-width: 1040px;
}

.thrust-block-heading p,
.thrust-publication-note p {
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.65;
}

.thrust-block h4 {
  margin: 0 0 10px;
  color: var(--ink);
  font-size: 1.05rem;
}

.thrust-row {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(24px, 4vw, 58px);
  align-items: center;
}

.thrust-block .thrust-row {
  align-items: start;
}

.thrust-row.reverse {
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
}

.thrust-row.reverse .thrust-copy {
  order: 2;
}

.thrust-subsection {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(24px, 4vw, 48px);
  align-items: start;
  padding-top: 28px;
  border-top: 1px solid rgba(53, 73, 60, 0.14);
}

.thrust-progress-figures {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.thrust-publication-note {
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  background: var(--soft);
  border: 1px solid rgba(53, 73, 60, 0.12);
  border-radius: 8px;
  padding: 22px;
}

.thrust-link-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
}

.thrust-link-row a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 9px 13px;
  color: #fff;
  background: var(--green);
  border-radius: 999px;
  font-size: 0.88rem;
  font-weight: 800;
  text-decoration: none;
}

.thrust-block-pd .thrust-link-row a {
  background: var(--blue);
}

.compact-list {
  display: grid;
  gap: 10px;
  margin: 22px 0 0;
  padding-left: 19px;
  color: var(--muted);
  line-height: 1.55;
}

.compact-list li::marker {
  color: var(--green);
}

.module-list {
  margin-top: 18px;
}

.module-list li {
  padding-left: 2px;
}

.module-list strong {
  display: block;
  margin-bottom: 3px;
  color: var(--ink);
}

.thrust-block-pd .compact-list li::marker {
  color: var(--blue);
}

.media-panel {
  margin: 0;
  overflow: hidden;
  border: 0;
  border-radius: 8px;
  background: var(--figure-bg);
  box-shadow: 0 14px 34px rgba(19, 28, 24, 0.08);
}

.media-panel img {
  width: 100%;
  min-height: 260px;
  object-fit: contain;
  background: var(--figure-bg);
  border-radius: 8px;
}

.media-panel figcaption,
.wide-figure figcaption {
  padding: 12px 2px 0;
  color: var(--muted);
  border-top: 0;
  font-size: 0.9rem;
  line-height: 1.45;
}

.progress {
  background: var(--figure-bg);
}

.progress-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(280px, 0.7fr);
  gap: clamp(24px, 4vw, 52px);
  align-items: start;
}

.timeline {
  position: relative;
  display: grid;
  gap: 16px;
  padding-left: 20px;
}

.timeline::before {
  position: absolute;
  top: 6px;
  bottom: 6px;
  left: 0;
  width: 3px;
  content: "";
  background: linear-gradient(var(--green), var(--gold), var(--rust), var(--blue));
}

.timeline article {
  padding: 22px 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
}

.timeline span {
  display: inline-block;
  margin-bottom: 10px;
  color: var(--green);
  font-size: 0.82rem;
  font-weight: 850;
  text-transform: uppercase;
}

.evidence-stack {
  display: grid;
  gap: 18px;
}

.publication-card a {
  display: inline-flex;
  margin-top: 8px;
  color: var(--green-dark);
  font-weight: 800;
}

.science-visuals {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 22px;
  background: var(--figure-bg);
}

.wide-figure {
  margin: 0;
  overflow: hidden;
  border: 0;
  border-radius: 8px;
  background: var(--figure-bg);
}

.wide-figure img {
  aspect-ratio: 16 / 9;
  object-fit: contain;
  background: var(--figure-bg);
  border-radius: 8px;
}

.roadmap-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.roadmap-grid article {
  min-height: 280px;
  border-top: 5px solid var(--green);
}

.roadmap-grid article:nth-child(2) {
  border-top-color: var(--gold);
}

.roadmap-grid article:nth-child(3) {
  border-top-color: var(--rust);
}

.roadmap-grid article:nth-child(4) {
  border-top-color: var(--blue);
}

.site-footer {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
  padding: 42px clamp(20px, 5vw, 72px);
  color: #fff;
  background: #17251f;
}

.site-footer p {
  max-width: 820px;
  margin: 10px 0 0;
  color: rgba(255, 255, 255, 0.78);
}

.site-footer nav {
  display: grid;
  gap: 10px;
  align-content: start;
}

.site-footer a {
  color: #fff;
  font-weight: 700;
}

.people-hero {
  display: grid;
  min-height: 540px;
  align-items: end;
  padding: 132px clamp(20px, 6vw, 82px) 62px;
  color: #fff;
  background:
    linear-gradient(90deg, rgba(9, 18, 17, 0.94), rgba(9, 18, 17, 0.76) 46%, rgba(9, 18, 17, 0.34)),
    url("assets/hero-mlamd-ai-exascale.png") center right / cover no-repeat;
}

.people-hero > div {
  max-width: 980px;
}

.people-section {
  background: var(--surface);
}

.people-group {
  display: grid;
  gap: 22px;
  margin-top: 46px;
}

.people-group:first-of-type {
  margin-top: 0;
}

.group-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
}

.group-heading .label,
.group-heading h3 {
  margin-bottom: 0;
}

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

.people-grid.one-up {
  grid-template-columns: minmax(0, 1fr);
}

.person-card {
  display: grid;
  grid-template-columns: minmax(120px, 0.42fr) minmax(0, 0.58fr);
  gap: 20px;
  min-height: 320px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface-soft);
}

.featured-person {
  grid-template-columns: minmax(220px, 0.28fr) minmax(0, 0.72fr);
  max-width: 920px;
}

.person-card img {
  height: 100%;
  min-height: 320px;
  object-fit: cover;
  object-position: center top;
  background: #dce3df;
}

.person-photo-placeholder {
  display: grid;
  min-height: 320px;
  place-items: center;
  background:
    linear-gradient(135deg, rgba(31, 107, 91, 0.16), rgba(55, 93, 141, 0.16)),
    var(--surface);
}

.person-photo-placeholder span {
  display: grid;
  width: 88px;
  height: 88px;
  place-items: center;
  color: var(--green-dark);
  border: 1px solid rgba(31, 107, 91, 0.22);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  font-size: 1.35rem;
  font-weight: 850;
}

.person-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 22px 22px 22px 0;
}

.person-role {
  margin-bottom: 10px;
  color: var(--rust);
  font-size: 0.76rem;
  font-weight: 850;
  text-transform: uppercase;
}

.person-copy h3 {
  margin-bottom: 8px;
}

.person-title,
.person-org {
  margin-bottom: 4px;
  color: var(--green-dark);
  font-weight: 760;
}

.person-org {
  margin-bottom: 18px;
  color: var(--muted);
}

.person-copy p:last-child {
  margin-bottom: 0;
  color: var(--muted);
  line-height: 1.55;
}

.committee-section {
  background: #e8eee7;
}

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

.committee-panel {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
}

.committee-list {
  display: grid;
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.committee-list li {
  display: grid;
  gap: 5px;
  padding-bottom: 15px;
  border-bottom: 1px solid var(--line);
}

.committee-list li:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.committee-list strong {
  color: var(--ink);
  font-size: 1.05rem;
}

.committee-list span {
  color: var(--muted);
  line-height: 1.45;
}

@media (max-width: 980px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
  }

  .main-nav {
    justify-content: flex-start;
  }

  .hero {
    min-height: auto;
    padding-top: 104px;
  }

  .hero-facts,
  .overview-grid,
  .publication-grid,
  .roadmap-grid,
  .progress-layout,
  .thrust-row,
  .thrust-row.reverse,
  .thrust-subsection,
  .thrust-publication-note,
  .thrust-progress-figures,
  .science-visuals,
  .site-footer,
  .people-grid,
  .committee-grid {
    grid-template-columns: 1fr;
  }

  .person-card,
  .featured-person {
    grid-template-columns: minmax(160px, 0.34fr) minmax(0, 0.66fr);
  }

  .thrust-row.reverse .thrust-copy {
    order: 0;
  }

  .thrust-link-row {
    justify-content: flex-start;
  }

  .roadmap-grid article,
  .feature-block,
  .publication-card {
    min-height: 0;
  }
}

@media (max-width: 620px) {
  .site-header {
    padding: 12px 16px;
  }

  .brand {
    min-width: 0;
  }

  .main-nav {
    width: 100%;
    max-width: 20rem;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .main-nav a {
    padding: 9px 8px;
    font-size: 0.8rem;
    text-align: center;
  }

  .hero {
    padding-right: 18px;
    padding-left: 18px;
    background-position: 62% center;
  }

  .people-hero {
    min-height: 520px;
    padding: 92px 18px 48px;
    background-position: 62% center;
  }

  .hero-actions {
    display: grid;
    max-width: 20rem;
  }

  h1 {
    max-width: 20rem;
    font-size: clamp(2.1rem, 9.2vw, 2.55rem);
  }

  .lead {
    max-width: 20rem;
  }

  h2 {
    font-size: clamp(1.85rem, 11vw, 3rem);
  }

  .section {
    padding-right: 18px;
    padding-left: 18px;
  }

  .media-panel img {
    min-height: 210px;
  }

  .person-card,
  .featured-person {
    grid-template-columns: 1fr;
  }

  .person-card img,
  .person-photo-placeholder {
    width: 100%;
    height: auto;
    max-height: 420px;
    min-height: 0;
    object-fit: contain;
    background: var(--surface);
  }

  .person-photo-placeholder {
    min-height: 240px;
  }

  .person-copy {
    padding: 0 20px 22px;
  }

  .group-heading {
    display: grid;
  }
}


.hero-fact {
  color: inherit;
  text-decoration: none;
  transition: transform 160ms ease, background 160ms ease, border-color 160ms ease;
}

.hero-fact:hover {
  transform: translateY(-2px);
  background: rgba(255, 255, 255, 0.13);
  border-color: rgba(255, 255, 255, 0.42);
}

.hero-fact-title {
  display: block;
  margin-bottom: 8px;
  color: #f6cf73;
  font-size: 0.85rem;
  font-weight: 800;
  text-transform: uppercase;
}

.hero-facts span:last-child {
  display: block;
  color: rgba(255, 255, 255, 0.86);
  line-height: 1.38;
}

.section-intro {
  max-width: 900px;
  margin-top: 20px;
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.65;
}

.data-section {
  background: var(--surface);
}

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

.data-card {
  display: flex;
  min-height: 360px;
  flex-direction: column;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface-soft);
}

.data-card.featured-data {
  background: #fff;
  border-top: 5px solid var(--green);
}

.data-card h3 {
  margin-bottom: 14px;
}

.data-card p {
  color: var(--muted);
  line-height: 1.6;
}

.data-meta {
  display: grid;
  gap: 8px;
  margin: auto 0 20px;
  padding-top: 18px;
}

.data-meta div {
  display: grid;
  grid-template-columns: 82px minmax(0, 1fr);
  gap: 12px;
  border-top: 1px solid var(--line);
  padding-top: 8px;
}

.data-meta dt {
  color: var(--green-dark);
  font-size: 0.76rem;
  font-weight: 850;
  text-transform: uppercase;
}

.data-meta dd {
  margin: 0;
  color: var(--muted);
  overflow-wrap: anywhere;
}

.data-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.data-links a,
.page-gateway a {
  color: var(--green-dark);
  font-weight: 800;
}

.page-gateway a {
  text-decoration: none;
}

.maintainer {
  margin-top: 12px;
  color: rgba(255, 255, 255, 0.84);
}

.maintainer a {
  color: #f6cf73;
}

.person-link-card {
  color: inherit;
  text-decoration: none;
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.person-link-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

.page-hero {
  min-height: 520px;
}

@media (max-width: 980px) {
  .data-grid {
    grid-template-columns: 1fr;
  }
}
