:root {
  color-scheme: light;
  /* Immersive Kitala-inspired palette with a dark hero and luminous light sections. */
  --bg: #ffffff;
  --bg-soft: #f4fbfc;
  --surface: #ffffff;
  --surface-strong: #e9fbfb;
  --text: #07162b;
  --muted: #5b6678;
  --line: #dbe8ef;
  --navy: #06172b;
  --blue: #45d9dc;
  --blue-2: #16a8cb;
  --yellow: #4f5cf5;
  --yellow-2: #dff9fb;
  --shadow: 0 24px 70px rgba(6, 23, 43, 0.1);
  --shadow-soft: 0 14px 34px rgba(6, 23, 43, 0.07);
  --radius: 8px;
  --gradient-text: linear-gradient(92deg, #ffffff 0%, #cdeff1 62%, #63e3e4 100%);
  --gradient-accent: linear-gradient(90deg, #16a8cb 0%, #4f5cf5 100%);
  --font-heading: "Plus Jakarta Sans", "Space Grotesk", "Sora", sans-serif;
  --font-body: "Inter", "Plus Jakarta Sans", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    linear-gradient(180deg, #06172b 0 520px, #ffffff 520px 100%),
    var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
  text-rendering: optimizeLegibility;
}

body.menu-open {
  overflow: hidden;
}

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

a {
  color: inherit;
  text-decoration: none;
}

a:focus-visible,
button:focus-visible {
  outline: 3px solid var(--yellow);
  outline-offset: 4px;
}

h1,
h2,
h3 {
  margin: 0;
  font-family: var(--font-heading);
  line-height: 1.04;
  letter-spacing: 0;
}

h1,
h2 {
  font-weight: 800;
}

h1,
.section-heading h2,
.takeaway-panel h2,
.repo-panel h2 {
  color: var(--text);
}

p {
  margin: 0;
}

ul,
ol {
  margin: 0;
  padding: 0;
}

.container {
  width: min(1120px, calc(100% - 40px));
  margin-inline: auto;
}

.section {
  padding: 92px 0;
  scroll-margin-top: 88px;
}

.soft-section {
  background:
    radial-gradient(circle at 12% 18%, rgba(99, 227, 228, 0.16), transparent 28%),
    radial-gradient(circle at 90% 8%, rgba(79, 92, 245, 0.09), transparent 24%),
    linear-gradient(180deg, rgba(69, 217, 220, 0.06), transparent 42%),
    var(--bg-soft);
}

.skip-link {
  position: fixed;
  top: 14px;
  left: 14px;
  z-index: 200;
  transform: translateY(-150%);
  border-radius: var(--radius);
  background: var(--yellow);
  color: #ffffff;
  font-weight: 800;
  padding: 10px 14px;
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid transparent;
  background: rgba(6, 23, 43, 0.72);
  backdrop-filter: blur(18px);
  transition: border-color 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.site-header.is-scrolled {
  border-bottom-color: rgba(99, 227, 228, 0.18);
  background: rgba(6, 23, 43, 0.9);
  box-shadow: 0 10px 30px rgba(6, 23, 43, 0.18);
}

.nav {
  display: flex;
  min-height: 86px;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.brand-mark {
  display: grid;
  width: 42px;
  height: 42px;
  flex: 0 0 auto;
  place-items: center;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--navy);
  box-shadow: 0 10px 24px rgba(6, 23, 43, 0.18);
}

.brand-mark img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  font-family: var(--font-heading);
  font-size: 1rem;
  color: #ffffff;
}

.brand small {
  color: rgba(255, 255, 255, 0.66);
  font-size: 0.78rem;
  font-weight: 700;
}

.nav-affiliation {
  display: inline-flex;
  align-items: center;
  margin-right: auto;
  border: 1px solid rgba(99, 227, 228, 0.18);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.82rem;
  font-weight: 800;
  padding: 7px 10px;
  transition: border-color 180ms ease, background 180ms ease, color 180ms ease;
}

.nav-affiliation:hover {
  border-color: rgba(99, 227, 228, 0.42);
  background: rgba(99, 227, 228, 0.1);
  color: #ffffff;
}

.nav-affiliation img {
  width: auto;
  height: 48px;
  max-width: 156px;
  border-radius: 4px;
  object-fit: contain;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 22px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.94rem;
  font-weight: 700;
}

.nav-links a {
  transition: color 180ms ease;
}

.nav-links a:hover {
  color: var(--blue);
}

.nav-toggle {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  color: var(--text);
  cursor: pointer;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  place-items: center;
  padding: 10px;
}

.nav-toggle span:not(.sr-only) {
  display: block;
  width: 20px;
  height: 2px;
  margin: 3px 0;
  border-radius: 2px;
  background: var(--text);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}

.hero {
  position: relative;
  overflow: hidden;
  padding: 78px 0 58px;
  background:
    linear-gradient(135deg, rgba(99, 227, 228, 0.08), transparent 38%),
    #06172b;
  color: #ffffff;
}

.hero::before {
  content: "";
  position: absolute;
  pointer-events: none;
  inset: 0;
  background-image: radial-gradient(circle, rgba(99, 227, 228, 0.36) 1px, transparent 1.4px);
  background-position: calc(100% - 360px) 88px, 0 0;
  background-size: 28px 28px;
  mask-image: radial-gradient(circle at 82% 28%, black 0 16%, transparent 38%);
  opacity: 0.28;
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(260px, 0.78fr);
  align-items: center;
  gap: 40px;
}

.eyebrow {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  gap: 9px;
  color: var(--blue);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 22px;
  height: 3px;
  border-radius: 999px;
  background: var(--yellow);
}

.hero h1 {
  max-width: 680px;
  margin-top: 14px;
  font-size: clamp(2.05rem, 4.7vw, 3.65rem);
  letter-spacing: 0;
  line-height: 1.12;
  background: var(--gradient-text);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-subtitle {
  margin-top: 18px;
  color: rgba(255, 255, 255, 0.88);
  font-size: clamp(1rem, 1.7vw, 1.18rem);
  font-style: italic;
  font-weight: 500;
  letter-spacing: 0;
}

.hero-description {
  max-width: 640px;
  margin-top: 14px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.98rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 24px;
}

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-weight: 800;
  padding: 12px 18px;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease, border-color 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button-primary {
  background: #63e3e4;
  color: #06172b;
  box-shadow: 0 12px 26px rgba(99, 227, 228, 0.18);
}

.button-primary:hover {
  background: #ffffff;
  box-shadow: 0 14px 30px rgba(99, 227, 228, 0.2);
}

.button-solid {
  border-color: transparent;
  background: var(--navy);
  color: #ffffff;
  box-shadow: 0 14px 30px rgba(6, 23, 43, 0.18);
}

.button-solid:hover {
  background: #0b2440;
  box-shadow: 0 16px 34px rgba(6, 23, 43, 0.22);
}

.button-secondary {
  border-color: rgba(99, 227, 228, 0.32);
  background: rgba(255, 255, 255, 0.06);
  color: #ffffff;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.12);
}

.hero-visual {
  color: #63e3e4;
  opacity: 0.72;
  max-width: 440px;
  justify-self: end;
}

.hero-visual svg {
  width: 100%;
  filter: none;
}

.continent {
  fill: rgba(99, 227, 228, 0.22);
  stroke: rgba(69, 217, 220, 0.18);
  stroke-width: 2;
}

.network-lines path {
  fill: none;
  stroke: var(--blue);
  stroke-width: 3;
  stroke-linecap: round;
  opacity: 0.24;
}

.nodes circle {
  fill: url(#nodeGlow);
  stroke: var(--surface);
  stroke-width: 6;
}

.metric-cards rect {
  fill: var(--surface);
  stroke: var(--line);
  filter: none;
}

.metric-cards path {
  fill: none;
  stroke: var(--blue);
  stroke-width: 7;
  stroke-linecap: round;
  opacity: 0.56;
}

.pattern-disc {
  animation: slow-spin 26s linear infinite;
  transform-origin: 374px 278px;
}

@keyframes slow-spin {
  to {
    transform: rotate(360deg);
  }
}

.logo-strip {
  border-block: 1px solid var(--line);
  background:
    linear-gradient(180deg, #ffffff, #f8feff),
    var(--surface);
  padding: 48px 0;
}

.section-heading {
  max-width: 720px;
}

.section-heading.centered {
  margin-inline: auto;
  text-align: center;
}

.section-heading.centered .eyebrow {
  margin-inline: auto;
}

.section-heading.compact {
  margin-bottom: 24px;
}

.section-heading h2 {
  margin-top: 14px;
  font-size: clamp(2rem, 4vw, 3.25rem);
}

.section-heading p:not(.eyebrow) {
  margin-top: 16px;
  color: var(--muted);
}

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

.logo-card {
  display: flex;
  min-height: 132px;
  align-items: center;
  justify-content: center;
  gap: 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  padding: 20px;
  box-shadow: var(--shadow-soft);
}

.logo-card img {
  width: 76px;
  height: 76px;
  flex: 0 0 auto;
  object-fit: contain;
}

.logo-card a {
  display: inline-flex;
  min-width: 0;
  color: var(--text);
  transition: color 180ms ease;
}

.logo-card a:hover {
  color: var(--blue);
}

.logo-card span {
  font-family: var(--font-heading);
  font-size: 1.08rem;
  font-weight: 800;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 58px;
}

.prose {
  color: var(--muted);
  font-size: 1.04rem;
}

.prose p + p {
  margin-top: 20px;
}

.card-grid,
.people-grid,
.publication-grid {
  display: grid;
  gap: 18px;
  margin-top: 34px;
}

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

.feature-card,
.person-card,
.publication-card,
.speakers-heading,
.repo-panel,
.takeaway-panel {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(255, 255, 255, 0.88)),
    var(--surface);
  box-shadow: var(--shadow-soft);
}

.feature-card {
  min-height: 320px;
  padding: 24px;
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.feature-card:hover,
.person-card:hover,
.publication-card:hover {
  transform: translateY(-4px);
  border-color: rgba(69, 217, 220, 0.46);
  box-shadow: var(--shadow);
}

.card-number {
  display: inline-grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: var(--radius);
  background: var(--surface-strong);
  color: var(--blue);
  font-family: var(--font-heading);
  font-weight: 800;
}

.feature-card h3 {
  margin-top: 28px;
  font-size: 1.35rem;
  color: var(--text);
}

.feature-card p {
  margin-top: 14px;
  color: var(--muted);
}

.takeaway-panel {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(0, 1.14fr);
  gap: 40px;
  overflow: hidden;
  padding: 38px;
  background:
    radial-gradient(circle at 92% 18%, rgba(99, 227, 228, 0.18), transparent 24%),
    linear-gradient(135deg, rgba(6, 23, 43, 0.98), rgba(10, 33, 59, 0.96)),
    var(--navy);
  color: #ffffff;
}

.takeaway-panel h2 {
  margin-top: 14px;
  font-size: clamp(2rem, 4vw, 3rem);
  color: #ffffff;
}

.check-list {
  list-style: none;
  display: grid;
  gap: 14px;
}

.check-list li {
  position: relative;
  border: 1px solid rgba(99, 227, 228, 0.22);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.06);
  padding: 14px 16px 14px 46px;
  color: rgba(255, 255, 255, 0.76);
  font-weight: 700;
}

.check-list li::before {
  content: "";
  position: absolute;
  top: 18px;
  left: 18px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--gradient-accent);
  box-shadow: inset 0 0 0 4px rgba(255, 255, 255, 0.32);
}

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

.person-card {
  display: grid;
  justify-items: center;
  align-content: start;
  min-height: 255px;
  padding: 20px 16px;
  text-align: center;
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.person-card img {
  width: 86px;
  height: 86px;
  aspect-ratio: 1;
  border-radius: var(--radius);
  object-fit: cover;
  object-position: center;
  background: var(--bg-soft);
}

.person-card h3 {
  margin-top: 14px;
  font-size: 1.18rem;
  color: var(--text);
}

.person-card p {
  margin-top: 6px;
  color: var(--muted);
  font-weight: 700;
}

.person-card span {
  display: block;
  margin-top: 6px;
  color: var(--blue);
  font-weight: 800;
}

.person-card a,
.publication-card a {
  display: inline-flex;
  margin-top: 10px;
  color: var(--blue);
  font-weight: 800;
}

.publication-grid {
  grid-template-columns: 1fr;
  gap: 16px;
  max-width: 940px;
}

.publication-card {
  position: relative;
  display: block;
  padding: 26px 28px 26px 34px;
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.publication-card::before {
  content: "";
  position: absolute;
  inset: 22px auto 22px 0;
  width: 4px;
  border-radius: 999px;
  background: var(--gradient-accent);
}

.publication-card h3 {
  max-width: 820px;
  margin-top: 8px;
  font-size: clamp(1.2rem, 2vw, 1.55rem);
  line-height: 1.18;
  color: var(--text);
}

.publication-card p {
  margin-top: 10px;
  color: var(--muted);
}

.publication-type {
  width: fit-content;
  border: 1px solid rgba(69, 217, 220, 0.32);
  border-radius: 999px;
  background: rgba(99, 227, 228, 0.12);
  color: var(--blue-2) !important;
  font-size: 0.78rem;
  font-weight: 800;
  line-height: 1;
  padding: 8px 11px;
  text-transform: uppercase;
}

.publication-card span {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  font-weight: 800;
}

.agenda-layout {
  align-items: start;
}

.timeline {
  list-style: none;
  border-left: 2px solid var(--line);
  padding-left: 24px;
}

.timeline li {
  position: relative;
  display: grid;
  grid-template-columns: 82px 1fr;
  gap: 18px;
  border-bottom: 1px solid var(--line);
  padding: 18px 0;
}

.timeline li::before {
  content: "";
  position: absolute;
  top: 28px;
  left: -31px;
  width: 12px;
  height: 12px;
  border: 4px solid var(--surface);
  border-radius: 50%;
  background: var(--gradient-accent);
  box-shadow: 0 0 0 2px var(--blue);
}

.timeline time {
  color: var(--blue);
  font-family: var(--font-heading);
  font-weight: 800;
}

.timeline span {
  display: block;
  font-weight: 800;
}

.timeline-content p {
  margin-top: 6px;
  color: var(--muted);
  font-weight: 700;
}

.timeline-content ul {
  display: grid;
  gap: 8px;
  margin-top: 12px;
  padding-left: 18px;
  color: var(--muted);
}

.timeline-content li {
  display: list-item;
  border-bottom: 0;
  padding: 0;
}

.timeline-content li::before {
  content: none;
}

.registration-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
  gap: 48px;
  align-items: start;
}

.registration-form {
  display: grid;
  gap: 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  padding: 28px;
  box-shadow: var(--shadow-soft);
}

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

.form-field {
  display: grid;
  gap: 8px;
  color: var(--text);
  font-weight: 800;
}

.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #ffffff;
  color: var(--text);
  font: inherit;
  font-weight: 500;
  padding: 12px 14px;
}

.form-field textarea {
  min-height: 150px;
  resize: vertical;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: 3px solid rgba(79, 92, 245, 0.22);
  border-color: var(--yellow);
}

.form-field input::placeholder,
.form-field textarea::placeholder {
  color: #8a96a8;
}

.form-fieldset {
  display: grid;
  gap: 12px;
  margin: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 16px;
}

.form-fieldset legend {
  color: var(--text);
  font-weight: 800;
  padding: 0 8px;
}

.choice-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.choice-row label {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--bg-soft);
  color: var(--muted);
  cursor: pointer;
  font-weight: 800;
  padding: 8px 12px;
}

.choice-row input {
  accent-color: var(--yellow);
}

.form-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
}

.form-status {
  color: var(--muted);
  font-weight: 800;
}

.form-status.is-success {
  color: #087f5b;
}

.form-status.is-error {
  color: #b42318;
}

.compact-cards {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.speakers-heading {
  max-width: none;
  opacity: 0.72;
  padding: 34px;
  text-align: center;
}

.speakers-heading .eyebrow {
  margin-inline: auto;
  color: #7c8897;
}

.speakers-heading h2 {
  background: linear-gradient(94deg, #718096, #a7b1bf);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.speakers-heading p {
  max-width: 560px;
  margin-inline: auto;
}

.keywords-section {
  padding-top: 74px;
}

.tag-cloud {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 30px;
}

.tag-cloud span {
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
  color: var(--muted);
  font-weight: 800;
  padding: 10px 16px;
  box-shadow: 0 10px 22px rgba(6, 23, 43, 0.05);
}

.tag-cloud span:nth-child(2n) {
  background: rgba(99, 227, 228, 0.16);
  color: var(--text);
}

.repo-section {
  padding-top: 0;
}

.repo-panel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 34px;
  border-color: rgba(99, 227, 228, 0.2);
  background:
    radial-gradient(circle at 86% 18%, rgba(99, 227, 228, 0.14), transparent 24%),
    linear-gradient(135deg, #06172b, #0a213b 62%, #06172b);
  color: #ffffff;
}

.repo-panel h2 {
  margin-top: 12px;
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  background: linear-gradient(95deg, #ffffff, #63e3e4 78%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.repo-panel p:not(.eyebrow) {
  margin-top: 12px;
  color: rgba(255, 255, 255, 0.72);
  overflow-wrap: anywhere;
}

.repo-panel .eyebrow {
  color: #63e3e4;
}

.repo-panel .button-solid {
  background: #63e3e4;
  color: #06172b;
}

.repo-panel .button-solid:hover {
  background: #ffffff;
}

.site-footer {
  border-top: 1px solid rgba(99, 227, 228, 0.18);
  background:
    radial-gradient(circle at 82% 12%, rgba(99, 227, 228, 0.12), transparent 26%),
    linear-gradient(135deg, #06172b, #081d35 58%, #06172b);
  padding: 48px 0;
  color: #ffffff;
}

.footer-grid {
  display: flex;
  justify-content: space-between;
  gap: 32px;
}

.footer-brand {
  margin-bottom: 18px;
}

.site-footer .brand strong {
  color: #ffffff;
}

.site-footer .brand small {
  color: rgba(255, 255, 255, 0.68);
}

.site-footer p,
.site-footer li {
  color: rgba(255, 255, 255, 0.72);
  font-weight: 700;
}

.site-footer li {
  color: rgba(255, 255, 255, 0.82);
}

.site-footer ul {
  display: grid;
  gap: 8px;
  list-style: none;
}

/* IntersectionObserver toggles this class for lightweight scroll entrance motion. */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 600ms ease, transform 600ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 980px) {
  .section {
    padding: 76px 0;
  }

  .nav-affiliation span {
    display: none;
  }

  .hero-grid,
  .split,
  .registration-layout,
  .takeaway-panel {
    grid-template-columns: 1fr;
  }

  .hero-grid {
    gap: 24px;
  }

  .hero-visual {
    max-width: 620px;
    margin-inline: auto;
  }

  .logo-grid,
  .card-grid.four,
  .form-grid,
  .people-grid,
  .publication-grid,
  .compact-cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .feature-card {
    min-height: auto;
  }

  .repo-panel {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 760px) {
  .container {
    width: min(100% - 28px, 1120px);
  }

  .nav {
    min-height: 68px;
  }

  .nav-toggle {
    display: grid;
  }

  .nav-links {
    position: fixed;
    inset: 68px 14px auto 14px;
    display: none;
    align-items: stretch;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--surface);
    color: var(--text);
    box-shadow: var(--shadow);
    flex-direction: column;
    gap: 0;
    padding: 10px;
  }

  .nav-links.is-open {
    display: flex;
  }

  .nav-links a {
    border-radius: var(--radius);
    padding: 13px 12px;
  }
  .hero {
    padding: 58px 0 44px;
  }

  .hero h1 {
    font-size: clamp(2rem, 11vw, 3.1rem);
  }

  .hero-actions,
  .hero-actions .button {
    width: 100%;
  }

  .hero-actions {
    align-items: stretch;
  }

  .hero-visual svg {
    min-width: 360px;
    margin-left: -42px;
  }

  .logo-grid,
  .card-grid.four,
  .people-grid,
  .publication-grid,
  .compact-cards {
    grid-template-columns: 1fr;
  }

  .logo-card {
    min-height: 112px;
  }

  .takeaway-panel,
  .repo-panel {
    padding: 24px;
  }

  .timeline li {
    grid-template-columns: 72px 1fr;
    gap: 12px;
  }

  .footer-grid {
    flex-direction: column;
  }
}

@media (max-width: 430px) {
  .brand small {
    display: none;
  }

  .nav-affiliation {
    padding: 5px 6px;
  }

  .timeline li {
    grid-template-columns: 1fr;
  }

  .timeline span {
    margin-top: -10px;
  }
}
