:root {
  --black: #000000;
  --white: #ffffff;
  --red: #f60000;
  --graphite: #484d4e;
  --page: #ececec;
  --line: #c9c9c9;
  --soft-line: #e6e6e6;
  --ink: #141414;
  --muted: #5f6668;
  --shadow: 0 22px 60px rgba(0, 0, 0, 0.12);
  --shadow-soft: 0 12px 28px rgba(0, 0, 0, 0.08);
  --radius: 28px;
  --radius-sm: 18px;
  --content: 1140px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-width: 320px;
  background:
    radial-gradient(circle at top left, rgba(246, 0, 0, 0.12), transparent 28%),
    radial-gradient(circle at 100% 0, rgba(72, 77, 78, 0.10), transparent 24%),
    linear-gradient(180deg, #f4f4f4 0%, #ececec 44%, #e7e7e7 100%);
  color: var(--ink);
  font-family: "Montserrat", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.45;
}
body.menu-open { overflow: hidden; }
a { color: inherit; }
img { max-width: 100%; display: block; }
button, input, textarea { font: inherit; }
button { cursor: pointer; }

.site-shell {
  position: relative;
  width: min(1460px, calc(100% - 40px));
  margin: 18px auto 28px;
}

/* Header */
.site-header {
  position: sticky;
  top: 16px;
  z-index: 120;
  min-height: 86px;
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 16px 24px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 28px;
  background:
    linear-gradient(120deg, rgba(14, 14, 14, 0.97), rgba(42, 45, 46, 0.97)),
    linear-gradient(120deg, var(--graphite), var(--black));
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.18);
  backdrop-filter: blur(10px);
}
.site-header::after {
  content: '';
  position: absolute;
  left: 24px;
  right: 24px;
  bottom: 0;
  height: 3px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--red), rgba(255, 255, 255, 0.32) 34%, rgba(255, 255, 255, 0));
}
.brand-link {
  min-width: 0;
  display: inline-flex;
  align-items: center;
  gap: 16px;
  color: var(--white);
  text-decoration: none;
}
.brand-logo-circle {
  position: relative;
  width: 52px;
  height: 52px;
  flex: 0 0 52px;
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(255,255,255,.14), rgba(255,255,255,.04));
  display: grid;
  place-items: center;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.1);
}
.brand-logo-circle::before {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  border: 1px solid rgba(246, 0, 0, 0.25);
}
.brand-logo-circle img { width: 31px; height: 25px; }
.page-title {
  display: grid;
  gap: 3px;
  overflow: visible;
  white-space: normal;
  text-overflow: clip;
  font-size: 13px;
  line-height: 1.12;
  font-weight: 600;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: rgba(255,255,255,.9);
}
.page-title span:last-child {
  font-size: 18px;
  line-height: 1.08;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: none;
  color: var(--white);
}
.menu-separator {
  width: 1px;
  height: 42px;
  margin-left: auto;
  background: linear-gradient(180deg, rgba(255,255,255,0), rgba(255,255,255,.35), rgba(255,255,255,0));
}
.menu-toggle {
  width: 48px;
  height: 48px;
  flex: 0 0 48px;
  border: 0;
  border-radius: 16px;
  background: linear-gradient(135deg, var(--red), #aa1115);
  display: grid;
  place-items: center;
  padding: 0;
  box-shadow: 0 14px 24px rgba(246,0,0,.28);
  transition: transform .2s ease, box-shadow .2s ease, filter .2s ease;
}
.menu-toggle:hover { transform: translateY(-1px); filter: brightness(1.04); box-shadow: 0 18px 28px rgba(246,0,0,.34); }
.menu-toggle:active { transform: scale(.97); }
.menu-toggle img { width: 22px; }

.menu-panel {
  position: absolute;
  top: 100px;
  right: 6px;
  z-index: 115;
  width: min(420px, calc(100% - 20px));
  padding: 12px;
  visibility: hidden;
  opacity: 0;
  transform: translateY(-10px) scale(.985);
  transform-origin: top right;
  border-radius: 24px;
  background: linear-gradient(160deg, rgba(18,18,18,.98), rgba(50,54,55,.98));
  border: 1px solid rgba(255,255,255,.08);
  box-shadow: 0 22px 54px rgba(0,0,0,.28);
  transition: opacity .2s ease, transform .2s ease, visibility .2s ease;
}
.menu-panel.is-open {
  visibility: visible;
  opacity: 1;
  transform: translateY(0) scale(1);
}
.menu-panel__inner { width: 100%; margin: 0; padding: 0; }
.menu-links { display: grid; gap: 10px; }
.menu-link {
  min-height: 66px;
  display: flex;
  align-items: center;
  padding: 16px 20px;
  border-radius: 18px;
  background: rgba(255,255,255,.05);
  color: var(--white);
  text-decoration: none;
  font-size: 18px;
  line-height: 1.18;
  font-weight: 600;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.07);
  transition: transform .18s ease, background .18s ease, box-shadow .18s ease;
}
.menu-link:hover {
  transform: translateX(5px);
  background: rgba(246,0,0,.15);
  box-shadow: inset 0 0 0 1px rgba(246,0,0,.28);
}
.menu-link.is-active {
  background: linear-gradient(135deg, rgba(246,0,0,.95), rgba(170,17,21,.95));
  box-shadow: none;
}

/* Main card */
.page-card {
  position: relative;
  margin-top: 18px;
  overflow: hidden;
  padding: 44px 0 34px;
  border-radius: 34px;
  background:
    linear-gradient(180deg, rgba(255,255,255,.98), rgba(250,250,250,.98)),
    var(--white);
  box-shadow: var(--shadow);
}
.page-card::before {
  content: '';
  position: absolute;
  inset: 0 0 auto;
  height: 9px;
  background: linear-gradient(90deg, var(--red), #ff5858 26%, rgba(72,77,78,.8));
}
.page-card::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at top right, rgba(246,0,0,.06), transparent 18%),
    linear-gradient(180deg, transparent 0%, rgba(72,77,78,.02) 100%);
}
.page-card > * { position: relative; z-index: 1; }
.page-card--flush { padding-top: 36px; }
.content,
.research-content,
.page-footer-wrap {
  position: relative;
  width: min(var(--content), calc(100% - 56px));
  margin: 0 auto;
}
.grant-content,
.services-content { width: min(1320px, calc(100% - 24px)); margin: 0 auto; }

/* Typography */
.section-title,
.page-section-heading,
.services-panel > .page-section-heading,
.grant-hero__copy .grant-hero-title,
.projects-title,
.services-panel > h1,
.placeholder h1 {
  color: var(--ink);
  letter-spacing: -.04em;
}
.section-title {
  position: relative;
  margin: 0 0 20px;
  padding-left: 18px;
  font-size: 27px;
  line-height: 1.1;
  font-weight: 800;
}
.section-title::before {
  content: '';
  position: absolute;
  left: 0;
  top: .18em;
  width: 7px;
  height: .95em;
  border-radius: 999px;
  background: var(--red);
}
.center-title {
  margin: 0 0 22px;
  text-align: left;
  font-size: clamp(32px, 4vw, 50px);
  line-height: .98;
  letter-spacing: -.045em;
  font-weight: 800;
}
.page-section-heading {
  position: relative;
  margin: 0 0 36px;
  padding-bottom: 18px;
  font-size: clamp(38px, 4.4vw, 58px);
  line-height: .98;
  font-weight: 800;
}
.page-section-heading::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 92px;
  height: 5px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--red), rgba(246,0,0,.18));
}
.page-section-heading--wide {
  width: min(1220px, calc(100% - 56px));
  margin: 2px auto 30px;
}
.eyebrow {
  margin: 0 0 8px;
  color: var(--graphite);
  font-size: 14px;
  line-height: 1.15;
  font-weight: 800;
  letter-spacing: .22em;
  text-transform: uppercase;
}
.eyebrow--red { color: #d8232a; }

/* Home */
.intro-text,
.goal-text,
.activity-copy {
  max-width: 950px;
  margin: 0;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.6;
}
.goal-text { margin-top: 16px; }
.partner-logos {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 18px;
  margin: 28px 0 20px;
  padding: 18px 20px;
  border-radius: 22px;
  background: linear-gradient(135deg, #131313, #404547);
  box-shadow: var(--shadow-soft);
}
.partner-logo {
  width: 78px;
  height: 78px;
  padding: 10px;
  border-radius: 20px;
  background: rgba(255,255,255,.93);
  object-fit: contain;
}
.partner-logo--rep { width: 86px; height: 86px; }
.partner-logo--svfu { width: 86px; height: 78px; }
.tasks {
  max-width: 100%;
  margin: 0 0 38px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}
.task-item {
  min-height: 104px;
  display: grid;
  grid-template-columns: 78px 1fr;
  align-items: center;
  padding: 14px 18px 14px 14px;
  border-radius: 24px;
  background: linear-gradient(135deg, #181818, #404547);
  color: var(--white);
  box-shadow: var(--shadow-soft);
}
.task-num {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  background: linear-gradient(135deg, var(--red), #a90f13);
  color: var(--white);
  font-size: 24px;
  font-weight: 800;
  box-shadow: 0 10px 18px rgba(246,0,0,.28);
}
.task-copy { padding: 0 6px 0 0; font-size: 16px; line-height: 1.4; }

.carousel {
  position: relative;
  width: 100%;
  margin: 38px 0 40px;
  overflow: hidden;
  border-radius: 30px;
  background: #111;
  box-shadow: var(--shadow);
  aspect-ratio: 16 / 7;
}
.carousel::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.08);
}
.carousel-track { height: 100%; display: flex; transition: transform .55s ease; }
.carousel-slide { min-width: 100%; height: 100%; margin: 0; }
.carousel-slide img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.carousel-control {
  position: absolute;
  top: 50%;
  z-index: 3;
  width: 56px;
  height: 56px;
  display: grid;
  place-items: center;
  transform: translateY(-50%);
  border: 0;
  border-radius: 50%;
  background: rgba(20,20,20,.75);
  color: #fff;
  font-size: 34px;
  line-height: 1;
  transition: background .18s ease, transform .18s ease;
}
.carousel-control:hover { background: var(--red); transform: translateY(-50%) scale(1.05); }
.carousel-control--prev { left: 20px; }
.carousel-control--next { right: 20px; }
.carousel-dots {
  position: absolute;
  left: 50%;
  bottom: 18px;
  z-index: 3;
  display: flex;
  gap: 10px;
  transform: translateX(-50%);
}
.carousel-dot {
  width: 12px;
  height: 12px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(255,255,255,.34);
}
.carousel-dot.is-active { width: 34px; background: var(--red); }

.activity-grid {
  max-width: 100%;
  margin: 24px 0 54px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}
.activity-link {
  min-height: 70px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px 24px;
  border-radius: 20px;
  background: var(--white);
  border: 1px solid rgba(72,77,78,.15);
  box-shadow: var(--shadow-soft);
  text-align: center;
  text-decoration: none;
  font-size: 16px;
  font-weight: 700;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.activity-link:hover {
  transform: translateY(-3px);
  border-color: rgba(246,0,0,.35);
  box-shadow: 0 18px 26px rgba(0,0,0,.09);
}

/* Footer */
.site-footer {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(430px, 1.1fr);
  gap: 36px;
  padding: 28px;
  border-radius: 28px;
  background: linear-gradient(135deg, #141414, #3a3f40);
  color: var(--white);
  box-shadow: var(--shadow-soft);
}
.footer-contact {
  display: grid;
  grid-template-columns: 124px 1fr;
  gap: 24px;
  align-items: center;
}
.footer-logo {
  width: 120px;
  padding: 18px;
  border-radius: 24px;
  background: rgba(255,255,255,.95);
  filter: none;
}
.footer-heading {
  margin: 0 0 14px;
  font-size: 20px;
  line-height: 1.1;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.footer-copy { margin: 0; color: rgba(255,255,255,.85); font-size: 16px; line-height: 1.55; }
.footer-copy a { color: var(--white); text-underline-offset: 3px; }

.contact-form {
  display: grid;
  gap: 10px;
  align-content: start;
}
.form-row {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 16px;
  align-items: start;
}
.form-row label {
  padding-top: 12px;
  text-align: right;
  color: rgba(255,255,255,.88);
  font-size: 15px;
}
.form-row input,
.form-row textarea {
  width: 100%;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 16px;
  background: rgba(255,255,255,.09);
  color: var(--white);
  padding: 12px 14px;
  outline: none;
}
.form-row input::placeholder,
.form-row textarea::placeholder { color: rgba(255,255,255,.55); }
.form-row input { min-height: 48px; }
.form-row textarea { min-height: 126px; resize: vertical; }
.form-row input:focus,
.form-row textarea:focus {
  border-color: rgba(246,0,0,.6);
  box-shadow: 0 0 0 3px rgba(246,0,0,.16);
}
.form-actions {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 14px;
  margin-top: 4px;
}
.form-status { min-height: 20px; font-size: 12px; color: rgba(255,255,255,.72); }
.submit-button {
  min-width: 148px;
  min-height: 48px;
  border: 0;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--red), #a71014);
  color: #fff;
  font-weight: 800;
  letter-spacing: .02em;
  box-shadow: 0 12px 22px rgba(246,0,0,.22);
}
.submit-button:hover { filter: brightness(.95); transform: translateY(-1px); }

/* Research page */
.research-content { width: min(1140px, calc(100% - 56px)); }
.research-hero-box {
  margin: 0 0 30px;
  padding: 34px 36px;
  border-radius: 28px;
  background: linear-gradient(135deg, #111, #404547);
  color: var(--white);
  box-shadow: var(--shadow);
}
.research-hero-box h1,
.research-hero-box h2 { margin: 0 0 16px; font-size: 30px; line-height: 1.08; font-weight: 800; }
.research-hero-box p { margin: 0; color: rgba(255,255,255,.88); font-size: 17px; line-height: 1.6; }
.research-section {
  margin: 0 0 26px;
  padding: 28px 28px 30px;
  border-radius: 24px;
  background: linear-gradient(180deg, rgba(255,255,255,.95), rgba(249,249,249,.95));
  border: 1px solid rgba(72,77,78,.12);
  box-shadow: var(--shadow-soft);
}
.research-section h2 { margin: 0 0 20px; font-size: 26px; line-height: 1.12; font-weight: 800; }
.research-section p { margin: 0 0 16px; color: var(--muted); font-size: 16px; line-height: 1.6; }
.dataset-row,
.benchmark-row,
.split-row {
  display: grid;
  gap: 24px 28px;
  align-items: start;
}
.dataset-row { grid-template-columns: minmax(280px, 420px) 1fr; }
.split-row { grid-template-columns: 1fr 160px; margin-bottom: 32px; }
.benchmark-row { grid-template-columns: 1fr 430px; }
.dataset-table {
  width: 100%;
  overflow: hidden;
  border-collapse: separate;
  border-spacing: 0;
  border-radius: 18px;
  box-shadow: 0 0 0 1px rgba(72,77,78,.18);
  font-size: 15px;
  background: var(--white);
}
.dataset-table th,
.dataset-table td {
  border-bottom: 1px solid rgba(72,77,78,.12);
  padding: 12px 14px;
  text-align: left;
}
.dataset-table th {
  background: linear-gradient(135deg, #181818, #404547);
  color: var(--white);
  font-weight: 700;
  text-align: center;
}
.dataset-table tr:last-child td { border-bottom: 0; }
.qr-image,
.benchmark-image {
  border-radius: 22px;
  background: var(--white);
  box-shadow: var(--shadow-soft);
}
.qr-image { width: 142px; height: 142px; padding: 8px; justify-self: center; }
.benchmark-image { width: 430px; padding: 10px; }
.external-link { color: #b20f13; text-underline-offset: 3px; overflow-wrap: anywhere; }

/* Placeholder */
.placeholder {
  min-height: 630px;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 40px;
}
.placeholder-inner {
  max-width: 700px;
  padding: 42px 38px;
  border-radius: 28px;
  background: linear-gradient(160deg, #fff, #f7f7f7);
  box-shadow: var(--shadow);
}
.placeholder-mark {
  width: 92px;
  height: 92px;
  margin: 0 auto 24px;
  border-radius: 28px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, #161616, #404547);
}
.placeholder-mark img { width: 54px; }
.placeholder h1 { margin: 0 0 14px; font-size: 42px; line-height: 1; font-weight: 800; }
.placeholder p { margin: 0; color: var(--muted); font-size: 17px; line-height: 1.6; }

/* Grants */
.grant-hero,
.projects-section,
.services-panel {
  position: relative;
  overflow: hidden;
  border-radius: 30px;
  box-shadow: var(--shadow);
}
.grant-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.22fr) minmax(380px, .9fr);
  gap: 30px 34px;
  padding: 34px 38px 36px;
  background:
    radial-gradient(circle at 100% 0, rgba(246,0,0,.18), transparent 28%),
    linear-gradient(135deg, #131313, #404547 65%);
  color: var(--white);
}
.grant-hero__copy { max-width: 760px; }
.grant-hero__copy .grant-hero-title {
  margin: 0 0 18px;
  color: var(--white);
  font-size: clamp(40px, 5vw, 66px);
  line-height: .95;
  font-weight: 800;
}
.grant-hero__copy > p:not(.eyebrow) {
  max-width: 660px;
  margin: 0 0 14px;
  color: rgba(255,255,255,.88);
  font-size: 16px;
  line-height: 1.6;
}
.grant-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 14px;
  align-self: center;
}
.grant-stat {
  min-height: 158px;
  display: grid;
  place-content: center;
  text-align: center;
  padding: 18px 12px;
  border-radius: 24px;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.12);
  backdrop-filter: blur(6px);
}
.grant-stat strong { font-size: 30px; line-height: 1; font-weight: 800; }
.grant-stat span { margin-top: 8px; color: rgba(255,255,255,.78); font-size: 16px; line-height: 1.2; }
.grant-documents {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 280px 1fr;
  align-items: center;
  gap: 18px;
  padding-top: 8px;
}
.grant-documents h2 { margin: 0; font-size: 22px; line-height: 1.1; }
.document-links { display: flex; flex-wrap: wrap; gap: 14px; }
.document-links a {
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 22px;
  border-radius: 999px;
  background: var(--white);
  color: #c91b20;
  text-decoration: none;
  text-align: center;
  font-weight: 800;
  box-shadow: 0 10px 22px rgba(0,0,0,.12);
}
.document-links a:hover { transform: translateY(-1px); }
.projects-section {
  margin-top: 24px;
  padding: 32px 28px 34px;
  background: linear-gradient(180deg, #fff, #f8f8f8);
}
.projects-title {
  margin: 0 0 26px;
  font-size: clamp(42px, 4vw, 62px);
  line-height: .96;
  font-weight: 800;
}
.contest-block + .contest-block { margin-top: 34px; }
.contest-title {
  position: relative;
  margin: 0 0 18px;
  padding-left: 52px;
  font-size: 24px;
  line-height: 1.1;
  font-weight: 800;
}
.contest-title::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  width: 38px;
  height: 4px;
  border-radius: 999px;
  background: var(--red);
  transform: translateY(-50%);
}
.project-grid { display: grid; gap: 18px; }
.project-grid--five { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.project-grid--three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.project-card {
  position: relative;
  min-width: 0;
  min-height: 320px;
  display: flex;
  flex-direction: column;
  padding: 22px 18px;
  border-radius: 24px;
  background: linear-gradient(180deg, #fff, #fafafa);
  border: 1px solid rgba(72,77,78,.12);
  box-shadow: var(--shadow-soft);
}
.project-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 18px;
  right: 18px;
  height: 4px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--red), rgba(246,0,0,.12));
}
.project-card--wide { min-height: 246px; }
.project-card h3 {
  margin: 10px 0 12px;
  font-size: 20px;
  line-height: 1.15;
  font-weight: 800;
  overflow-wrap: anywhere;
  word-break: normal;
  hyphens: auto;
}
.project-title {
  margin: 0 0 10px;
  color: #4e6486;
  font-size: 19px;
  line-height: 1.35;
  overflow-wrap: anywhere;
  word-break: normal;
  hyphens: auto;
}
.project-description {
  margin: 0 0 12px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.5;
  overflow-wrap: anywhere;
  word-break: normal;
  hyphens: auto;
}
.project-card__bottom {
  min-height: 76px;
  margin-top: auto;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 10px;
}
.project-logo {
  width: 78px;
  height: 78px;
  object-fit: contain;
}
.project-link {
  color: #c91015;
  font-size: 15px;
  font-weight: 800;
  text-decoration: none;
  overflow-wrap: anywhere;
}
.project-link:hover { text-decoration: underline; }
.grant-content .page-footer-wrap { padding-top: 28px; padding-bottom: 10px; }

/* Competence */
.competence-page-card { min-height: auto; }
.competence-content { display: flex; min-height: auto; flex-direction: column; }
.competence-intro {
  max-width: 900px;
  margin: 8px 0 36px;
  padding: 0;
  text-align: left;
}
.competence-intro::before {
  content: 'Совет по искусственному интеллекту';
  display: inline-block;
  margin: 0 0 14px;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(246,0,0,.10);
  color: #bf0f14;
  font-size: 12px;
  line-height: 1.2;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.competence-intro p {
  margin: 0;
  font-size: 28px;
  line-height: 1.34;
  font-weight: 600;
  letter-spacing: -.022em;
}
.competence-intro__accent { display: none; }
.competence-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 22px;
  margin: 8px 0 56px;
  align-items: stretch;
}
.competence-card {
  position: relative;
  min-width: 0;
  min-height: 410px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  padding: 26px 26px 28px;
  overflow: hidden;
  border-radius: 28px;
  box-shadow: var(--shadow-soft);
  text-align: left;
}
.competence-card:nth-child(1) {
  background: linear-gradient(150deg, #131313, #34393a 72%);
  color: var(--white);
}
.competence-card:nth-child(2) {
  background: linear-gradient(180deg, #fff, #f7f7f7);
  border: 1px solid rgba(72,77,78,.14);
}
.competence-card:nth-child(3) {
  background: linear-gradient(160deg, rgba(246,0,0,.10), rgba(255,255,255,.92));
  border: 1px solid rgba(246,0,0,.14);
}
.competence-card::before {
  content: '';
  position: absolute;
  inset: auto 0 0 0;
  height: 6px;
  background: linear-gradient(90deg, var(--red), rgba(246,0,0,.16));
}
.competence-card__number {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  margin-bottom: 20px;
  border-radius: 15px;
  background: linear-gradient(135deg, var(--red), #a80f13);
  color: var(--white);
  font-size: 14px;
  line-height: 1;
  font-weight: 800;
  box-shadow: 0 10px 18px rgba(246,0,0,.24);
}
.competence-card h1,
.competence-card h2 {
  margin: 0 0 16px;
  font-size: 24px;
  line-height: 1.15;
  font-weight: 800;
  overflow-wrap: anywhere;
}
.competence-card p { margin: 0 0 18px; font-size: 16px; line-height: 1.6; color: inherit; }
.competence-card ul {
  margin: 0 0 22px;
  padding-left: 20px;
  text-align: left;
  font-size: 15px;
  line-height: 1.55;
}
.competence-card li + li { margin-top: 4px; }
.competence-card__footer {
  margin-top: auto;
  padding-top: 18px;
  border-top: 1px solid rgba(255,255,255,.16);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  line-height: 1.35;
}
.competence-card:nth-child(2) .competence-card__footer,
.competence-card:nth-child(3) .competence-card__footer {
  border-top-color: rgba(72,77,78,.14);
}
.competence-phone {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 10px 16px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--red), #a80f13);
  color: #fff;
  text-decoration: none;
  font-size: 20px;
  line-height: 1;
  font-weight: 800;
  box-shadow: 0 10px 18px rgba(246,0,0,.24);
  transition: filter .18s ease, transform .18s ease;
}
.competence-phone:hover { filter: brightness(.95); transform: translateY(-1px); }
.competence-content .site-footer { margin-top: auto; }

/* Services */
.services-panel {
  padding: 38px 34px 42px;
  background:
    radial-gradient(circle at 0 0, rgba(246,0,0,.12), transparent 24%),
    linear-gradient(180deg, #ffffff, #f7f7f7);
}
.services-panel > .page-section-heading { margin: 0 0 36px; }
.service-grid { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 18px; }
.service-card {
  min-height: 390px;
  display: flex;
  flex-direction: column;
  padding: 24px 22px;
  border-radius: 26px;
  background: linear-gradient(180deg, #fff, #fbfbfb);
  border: 1px solid rgba(72,77,78,.12);
  box-shadow: var(--shadow-soft);
}
.service-num {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  margin-bottom: 24px;
  border-radius: 16px;
  background: linear-gradient(135deg, var(--red), #a80f13);
  color: #fff;
  font-weight: 800;
  box-shadow: 0 10px 18px rgba(246,0,0,.22);
}
.service-card h2 { margin: 0 0 14px; font-size: 23px; line-height: 1.15; font-weight: 800; }
.service-card p { margin: 0 0 18px; color: var(--muted); font-size: 16px; line-height: 1.58; }
.service-link { margin-top: auto; color: #ca161b; text-decoration: none; font-weight: 800; }
.service-link:hover { text-decoration: underline; }
.remote-work {
  display: grid;
  grid-template-columns: 1.05fr 1.08fr auto;
  gap: 24px;
  align-items: center;
  margin-top: 28px;
  padding: 28px;
  border-radius: 28px;
  background: linear-gradient(135deg, #171717, #404547);
  color: var(--white);
}
.remote-work__lead .eyebrow { margin-bottom: 6px; color: rgba(255,255,255,.65); }
.remote-work__lead h2 { margin: 0 0 14px; font-size: 30px; line-height: 1.04; font-weight: 800; color: var(--white); }
.remote-work__lead p { margin: 0; color: rgba(255,255,255,.82); font-size: 15px; line-height: 1.65; }
.remote-work ul { margin: 0; padding-left: 22px; color: rgba(255,255,255,.88); font-size: 15px; line-height: 1.62; }
.apply-button {
  min-width: 180px;
  min-height: 56px;
  display: grid;
  place-items: center;
  padding: 12px 20px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--red), #a80f13);
  color: #fff;
  box-shadow: 0 12px 26px rgba(246,0,0,.25);
  text-decoration: none;
  font-weight: 800;
}
.apply-button:hover { filter: brightness(.95); transform: translateY(-1px); }
.services-content .page-footer-wrap { padding-top: 28px; padding-bottom: 10px; }

/* Responsive */
@media (max-width: 1180px) {
  .project-grid--five { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .service-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .competence-grid { grid-template-columns: 1fr; }
}

@media (max-width: 980px) {
  .site-shell { width: min(100% - 22px, 1460px); margin-top: 12px; }
  .site-header { min-height: 78px; padding: 14px 18px; border-radius: 24px; }
  .menu-panel { top: 92px; }
  .content,
  .research-content,
  .page-footer-wrap,
  .page-section-heading--wide { width: calc(100% - 34px); }
  .tasks,
  .activity-grid,
  .grant-stats { grid-template-columns: 1fr; }
  .grant-hero { grid-template-columns: 1fr; }
  .grant-documents { grid-template-columns: 1fr; }
  .dataset-row,
  .benchmark-row,
  .split-row { grid-template-columns: 1fr; }
  .benchmark-image { width: min(100%, 460px); justify-self: center; }
  .service-grid { grid-template-columns: 1fr 1fr; }
  .remote-work { grid-template-columns: 1fr; }
  .remote-work .apply-button { justify-self: start; }
  .site-footer { grid-template-columns: 1fr; }
}

@media (max-width: 760px) {
  body { font-size: 15px; }
  .site-shell { width: 100%; margin: 0; }
  .site-header {
    top: 0;
    border-radius: 0 0 24px 24px;
    padding: 14px 16px;
    min-height: 88px;
  }
  .site-header::after { left: 16px; right: 16px; }
  .brand-logo-circle { width: 46px; height: 46px; flex-basis: 46px; border-radius: 14px; }
  .page-title { font-size: 11px; }
  .page-title span:last-child { font-size: 15px; }
  .menu-separator { display: none; }
  .menu-toggle { width: 46px; height: 46px; flex-basis: 46px; border-radius: 14px; }
  .menu-toggle img { width: 20px; }
  .menu-panel {
    top: 92px;
    right: 12px;
    width: calc(100% - 24px);
    padding: 10px;
    border-radius: 20px;
  }
  .menu-link { min-height: 62px; font-size: 17px; }
  .page-card { margin-top: 10px; padding: 28px 0 18px; border-radius: 28px 28px 0 0; }
  .page-card--flush { padding-top: 26px; }
  .content,
  .research-content,
  .page-footer-wrap,
  .page-section-heading--wide,
  .grant-content,
  .services-content { width: calc(100% - 24px); }
  .center-title,
  .page-section-heading,
  .projects-title { font-size: clamp(30px, 9vw, 42px); }
  .page-section-heading { margin-bottom: 28px; padding-bottom: 14px; }
  .page-section-heading::after { width: 72px; height: 4px; }
  .section-title { font-size: 23px; }
  .intro-text,
  .goal-text,
  .activity-copy { font-size: 16px; }
  .partner-logos { flex-wrap: wrap; padding: 14px; gap: 14px; }
  .partner-logo,
  .partner-logo--rep,
  .partner-logo--svfu { width: 72px; height: 72px; }
  .tasks { grid-template-columns: 1fr; gap: 12px; }
  .task-item { min-height: 0; grid-template-columns: 62px 1fr; padding: 14px; }
  .task-num { width: 44px; height: 44px; border-radius: 14px; font-size: 20px; }
  .task-copy { font-size: 15px; }
  .carousel { margin: 28px 0 34px; border-radius: 24px; aspect-ratio: 4 / 3; }
  .carousel-control { width: 44px; height: 44px; font-size: 28px; }
  .carousel-control--prev { left: 10px; }
  .carousel-control--next { right: 10px; }
  .carousel-dot { width: 10px; height: 10px; }
  .carousel-dot.is-active { width: 26px; }
  .activity-grid { grid-template-columns: 1fr; gap: 12px; margin-bottom: 40px; }
  .site-footer { padding: 22px 18px; border-radius: 24px; }
  .footer-contact { grid-template-columns: 92px 1fr; gap: 16px; }
  .footer-logo { width: 88px; padding: 14px; border-radius: 18px; }
  .form-row { grid-template-columns: 1fr; gap: 6px; }
  .form-row label { padding-top: 0; text-align: left; }
  .form-actions { align-items: flex-end; flex-direction: column; }
  .research-hero-box { padding: 26px 22px; border-radius: 22px; }
  .research-hero-box h1,
  .research-hero-box h2 { font-size: 26px; }
  .research-section { padding: 22px 18px; border-radius: 20px; }
  .research-section h2 { font-size: 22px; }
  .qr-image { width: 132px; height: 132px; }
  .grant-hero,
  .projects-section,
  .services-panel,
  .remote-work { padding: 24px 18px; border-radius: 24px; }
  .grant-hero__copy .grant-hero-title { font-size: 38px; }
  .document-links { flex-direction: column; }
  .document-links a { width: 100%; }
  .project-grid--five,
  .project-grid--three,
  .service-grid { grid-template-columns: 1fr; }
  .project-card,
  .project-card--wide,
  .service-card,
  .competence-card { min-height: 0; }
  .project-card h3 { font-size: 19px; }
  .project-title { font-size: 18px; }
  .contest-title { font-size: 22px; }
  .competence-intro { margin-bottom: 26px; }
  .competence-intro p { font-size: 22px; line-height: 1.42; }
  .competence-card { padding: 22px 20px 24px; border-radius: 24px; }
  .competence-card h1,
  .competence-card h2 { font-size: 22px; }
  .services-panel > .page-section-heading { margin-bottom: 28px; }
  .remote-work__lead h2 { font-size: 26px; }
  .remote-work .apply-button { width: 100%; }
  .placeholder { min-height: 520px; padding: 22px; }
  .placeholder-inner { padding: 30px 22px; border-radius: 24px; }
  .placeholder h1 { font-size: 34px; }
}

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

/* =========================================================
   LIGHT THEME REDESIGN
   ========================================================= */
:root {
  --page: #f4f5f6;
  --ink: #17191a;
  --muted: #62686a;
  --line: #cfd3d4;
  --soft-line: #e7e9ea;
  --shadow: 0 22px 55px rgba(30, 34, 35, 0.10);
  --shadow-soft: 0 10px 28px rgba(30, 34, 35, 0.08);
}

body {
  background:
    radial-gradient(circle at 8% 0, rgba(246, 0, 0, 0.055), transparent 25%),
    radial-gradient(circle at 92% 2%, rgba(72, 77, 78, 0.055), transparent 22%),
    linear-gradient(180deg, #f8f8f8 0%, #f1f2f3 100%);
  color: var(--ink);
}

.site-header {
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(72, 77, 78, 0.10);
  box-shadow: 0 14px 36px rgba(26, 30, 31, 0.10);
  backdrop-filter: blur(12px);
}
.site-header::after {
  height: 3px;
  background: linear-gradient(90deg, var(--red), rgba(246,0,0,.32) 30%, rgba(72,77,78,.12) 70%, transparent);
}
.brand-link { color: var(--ink); }
.brand-logo-circle {
  background: linear-gradient(180deg, #ffffff, #f1f2f2);
  box-shadow: inset 0 0 0 1px rgba(72,77,78,.10), 0 8px 18px rgba(30,34,35,.08);
}
.brand-logo-circle::before { border-color: rgba(246,0,0,.16); }
.page-title { color: var(--graphite); }
.page-title span:last-child { color: var(--ink); }
.menu-separator {
  background: linear-gradient(180deg, transparent, rgba(72,77,78,.22), transparent);
}
.menu-toggle {
  background: linear-gradient(135deg, var(--red), #d8171d);
  box-shadow: 0 10px 22px rgba(246,0,0,.20);
}
.menu-toggle:hover { box-shadow: 0 14px 26px rgba(246,0,0,.25); }

.menu-panel {
  background: rgba(255,255,255,.985);
  border: 1px solid rgba(72,77,78,.11);
  box-shadow: 0 20px 50px rgba(30,34,35,.16);
}
.menu-link {
  background: #f5f6f6;
  color: var(--ink);
  box-shadow: inset 0 0 0 1px rgba(72,77,78,.08);
}
.menu-link:hover {
  background: #fff0f1;
  box-shadow: inset 0 0 0 1px rgba(246,0,0,.18);
}
.menu-link.is-active {
  background: linear-gradient(135deg, var(--red), #d8171d);
  color: #fff;
}

.page-card {
  background:
    radial-gradient(circle at 100% 0, rgba(246,0,0,.035), transparent 18%),
    linear-gradient(180deg, #ffffff 0%, #fbfbfb 100%);
  box-shadow: 0 24px 60px rgba(29, 33, 34, 0.10);
}
.page-card::before {
  height: 7px;
  background: linear-gradient(90deg, var(--red), #ff5b60 28%, #a8abad 78%, #e7e8e8);
}
.page-card::after {
  background:
    radial-gradient(circle at top right, rgba(246,0,0,.025), transparent 18%),
    linear-gradient(180deg, transparent, rgba(72,77,78,.012));
}

.partner-logos {
  background: linear-gradient(135deg, #ffffff, #f1f2f2);
  border: 1px solid rgba(72,77,78,.10);
  box-shadow: var(--shadow-soft);
}
.partner-logo {
  background: #ffffff;
  border: 1px solid rgba(72,77,78,.09);
  box-shadow: 0 8px 18px rgba(30,34,35,.06);
}

.task-item {
  background: linear-gradient(135deg, #ffffff, #f5f6f6);
  color: var(--ink);
  border: 1px solid rgba(72,77,78,.10);
  box-shadow: var(--shadow-soft);
}
.task-num {
  background: linear-gradient(135deg, var(--red), #d8171d);
  box-shadow: 0 9px 18px rgba(246,0,0,.18);
}

.carousel {
  border: 1px solid rgba(72,77,78,.10);
  box-shadow: 0 18px 42px rgba(29,33,34,.12);
}
.carousel-control {
  background: rgba(255,255,255,.90);
  color: var(--ink);
  border: 1px solid rgba(72,77,78,.12);
  box-shadow: 0 8px 18px rgba(30,34,35,.10);
}
.carousel-control:hover { background: var(--red); color: #fff; }
.carousel-dot { background: rgba(255,255,255,.68); box-shadow: 0 0 0 1px rgba(0,0,0,.08); }

.activity-link {
  background: linear-gradient(180deg, #ffffff, #fafafa);
  border-color: rgba(72,77,78,.10);
}

.site-footer {
  background:
    radial-gradient(circle at 0 0, rgba(246,0,0,.065), transparent 30%),
    linear-gradient(135deg, #f7f7f7, #eceeee);
  color: var(--ink);
  border: 1px solid rgba(72,77,78,.10);
  box-shadow: var(--shadow-soft);
}
.footer-logo {
  background: #fff;
  border: 1px solid rgba(72,77,78,.10);
  box-shadow: 0 8px 20px rgba(30,34,35,.07);
}
.footer-copy { color: var(--muted); }
.footer-copy a { color: var(--ink); }
.form-row label { color: var(--graphite); }
.form-row input,
.form-row textarea {
  background: #ffffff;
  color: var(--ink);
  border: 1px solid #d2d6d7;
  box-shadow: inset 0 1px 2px rgba(30,34,35,.03);
}
.form-row input::placeholder,
.form-row textarea::placeholder { color: #929798; }
.form-row input:focus,
.form-row textarea:focus {
  border-color: rgba(246,0,0,.60);
  box-shadow: 0 0 0 3px rgba(246,0,0,.10);
}
.form-status { color: var(--graphite); }

/* Research */
.research-hero-box {
  background:
    radial-gradient(circle at 100% 0, rgba(246,0,0,.07), transparent 28%),
    linear-gradient(135deg, #ffffff, #f2f3f3);
  color: var(--ink);
  border: 1px solid rgba(72,77,78,.11);
  box-shadow: var(--shadow-soft);
}
.research-hero-box p { color: var(--muted); }
.research-section {
  background: linear-gradient(180deg, #fff, #fafafa);
  border-color: rgba(72,77,78,.10);
}
.dataset-table th {
  background: linear-gradient(135deg, #3f4546, #555b5c);
  color: #fff;
}
.qr-image,
.benchmark-image {
  border: 1px solid rgba(72,77,78,.10);
  box-shadow: var(--shadow-soft);
}

/* Grants */
.grant-hero {
  background:
    radial-gradient(circle at 100% 0, rgba(246,0,0,.08), transparent 30%),
    linear-gradient(135deg, #ffffff, #f1f2f2);
  color: var(--ink);
  border: 1px solid rgba(72,77,78,.10);
  box-shadow: var(--shadow);
}
.grant-hero__copy .grant-hero-title { color: var(--ink); }
.grant-hero__copy > p:not(.eyebrow) { color: var(--muted); }
.grant-stat {
  background: rgba(255,255,255,.78);
  border: 1px solid rgba(72,77,78,.11);
  box-shadow: 0 10px 22px rgba(30,34,35,.06);
}
.grant-stat strong { color: var(--ink); }
.grant-stat span { color: var(--muted); }
.document-links a {
  background: #fff;
  border: 1px solid rgba(246,0,0,.14);
  box-shadow: 0 8px 18px rgba(30,34,35,.07);
}
.projects-section {
  background:
    radial-gradient(circle at 0 0, rgba(246,0,0,.035), transparent 24%),
    linear-gradient(180deg, #fff, #f8f8f8);
  border: 1px solid rgba(72,77,78,.09);
}
.project-card {
  background: linear-gradient(180deg, #ffffff, #fbfbfb);
  border-color: rgba(72,77,78,.10);
}

/* Competence */
.competence-intro::before {
  background: #fff0f1;
  color: #bd151a;
  border: 1px solid rgba(246,0,0,.12);
}
.competence-card:nth-child(1),
.competence-card:nth-child(2),
.competence-card:nth-child(3) {
  background: linear-gradient(180deg, #ffffff, #f8f9f9);
  color: var(--ink);
  border: 1px solid rgba(72,77,78,.10);
}
.competence-card:nth-child(3) {
  background:
    radial-gradient(circle at 100% 0, rgba(246,0,0,.07), transparent 32%),
    linear-gradient(180deg, #ffffff, #f8f9f9);
}
.competence-card__footer,
.competence-card:nth-child(2) .competence-card__footer,
.competence-card:nth-child(3) .competence-card__footer {
  border-top-color: rgba(72,77,78,.12);
}

/* Services */
.services-panel {
  background:
    radial-gradient(circle at 0 0, rgba(246,0,0,.045), transparent 24%),
    linear-gradient(180deg, #ffffff, #f7f8f8);
  border: 1px solid rgba(72,77,78,.09);
}
.service-card {
  background: linear-gradient(180deg, #fff, #fafafa);
  border-color: rgba(72,77,78,.10);
}
.remote-work {
  background:
    radial-gradient(circle at 100% 0, rgba(246,0,0,.075), transparent 30%),
    linear-gradient(135deg, #ffffff, #eef0f0);
  color: var(--ink);
  border: 1px solid rgba(72,77,78,.10);
  box-shadow: var(--shadow-soft);
}
.remote-work__lead .eyebrow { color: #bd151a; }
.remote-work__lead h2 { color: var(--ink); }
.remote-work__lead p,
.remote-work ul { color: var(--muted); }

.placeholder-inner {
  background: linear-gradient(160deg, #fff, #f5f6f6);
  border: 1px solid rgba(72,77,78,.10);
}
.placeholder-mark {
  background: linear-gradient(135deg, #f5f5f5, #e8eaea);
  border: 1px solid rgba(72,77,78,.10);
}

@media (max-width: 760px) {
  .site-header { background: rgba(255,255,255,.98); }
  .page-card { background: linear-gradient(180deg, #fff, #fbfbfb); }
  .site-footer { background: linear-gradient(135deg, #f7f7f7, #eceeee); }
  .remote-work { background: linear-gradient(135deg, #ffffff, #eef0f0); }
}

/* Menu stays attached to the sticky header while the page is scrolled. */
.menu-panel {
  position: fixed;
  top: 116px;
  right: max(16px, calc((100vw - 1460px) / 2 + 6px));
}

@media (max-width: 980px) {
  .menu-panel {
    top: 104px;
    right: 16px;
  }
}

@media (max-width: 760px) {
  .menu-panel {
    top: 96px;
    right: 12px;
  }
}


/* Updated custom laboratory logo */
.brand-logo-circle { width: 72px; height: 54px; flex-basis: 72px; padding: 6px 8px; }
.brand-logo-circle img { width: 100%; height: 100%; max-height: 100%; object-fit: contain; }
.footer-logo { width: 138px; height: auto; object-fit: contain; }
@media (max-width: 760px) {
  .brand-logo-circle { width: 64px; height: 48px; flex-basis: 64px; padding: 5px 7px; }
  .footer-logo { width: 110px; }
}


/* Live LLM benchmark (replaces the former image) */
.benchmark-row {
  grid-template-columns: 1fr;
  gap: 26px;
}
.llm-benchmark {
  width: min(100%, 920px);
  margin: 4px auto 0;
  display: grid;
  gap: 13px;
  padding: 24px;
  border: 1px solid rgba(72, 77, 78, .12);
  border-radius: 28px;
  background: linear-gradient(180deg, #f7f7f7, #efefef);
  box-shadow: 0 16px 34px rgba(29, 33, 34, .10);
}
.llm-benchmark__item {
  min-width: 0;
  padding: 15px 18px 13px;
  overflow: hidden;
  border: 1px solid #d3d6d7;
  border-radius: 18px;
  background: rgba(255, 255, 255, .92);
  box-shadow: 0 5px 14px rgba(29, 33, 34, .04);
}
.llm-benchmark__item--highlight {
  background: linear-gradient(90deg, rgba(246, 0, 0, .085), rgba(255, 255, 255, .96));
}
.llm-benchmark__meta {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 11px;
}
.llm-benchmark__meta strong {
  min-width: 0;
  overflow-wrap: anywhere;
  font-size: 17px;
  line-height: 1.25;
  font-weight: 800;
}
.llm-benchmark__meta span {
  flex: 0 0 auto;
  font-size: 18px;
  line-height: 1;
  font-weight: 800;
}
.llm-benchmark__track {
  position: relative;
  height: 5px;
  overflow: hidden;
  border-radius: 999px;
  background: #dfe1e2;
}
.llm-benchmark__track span {
  display: block;
  width: calc(var(--score) / 291 * 100%);
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--red), #d8171d);
}

@media (max-width: 760px) {
  .llm-benchmark {
    gap: 10px;
    padding: 14px;
    border-radius: 22px;
  }
  .llm-benchmark__item {
    padding: 13px 14px 11px;
    border-radius: 15px;
  }
  .llm-benchmark__meta {
    gap: 12px;
    margin-bottom: 9px;
  }
  .llm-benchmark__meta strong { font-size: 14px; }
  .llm-benchmark__meta span { font-size: 15px; }
}

/* Home partner logos: centered and evenly distributed */
.partner-logos {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: center;
  justify-items: center;
  gap: 24px;
  width: 100%;
}

@media (max-width: 760px) {
  .partner-logos {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
  }
}

/* Requested visual refinements */
/* Top logo: remove the decorative frame/outline. */
.brand-logo-circle {
  padding: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}
.brand-logo-circle::before {
  display: none;
}

/* Main accent strip: smoothly fade all the way into white. */
.page-card::before {
  background: linear-gradient(
    90deg,
    var(--red) 0%,
    #ff4e55 25%,
    #ffb6b9 58%,
    #f8f8f8 84%,
    #ffffff 100%
  );
}

/* Contacts/footer: reduce its footprint while keeping the form usable. */
.site-footer {
  grid-template-columns: minmax(230px, .72fr) minmax(420px, 1.28fr);
  gap: 20px;
  padding: 18px 20px;
  border-radius: 22px;
}
.footer-contact {
  grid-template-columns: 68px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
}
.footer-logo {
  width: 64px;
  padding: 7px;
  border-radius: 14px;
}
.footer-heading {
  margin: 0 0 5px;
  font-size: 15px;
  line-height: 1.05;
  letter-spacing: .09em;
}
.footer-copy {
  font-size: 13px;
  line-height: 1.35;
}
.contact-form {
  gap: 7px;
}
.form-row {
  grid-template-columns: 142px 1fr;
  gap: 10px;
}
.form-row label {
  padding-top: 8px;
  font-size: 12px;
  line-height: 1.2;
}
.form-row input,
.form-row textarea {
  border-radius: 12px;
  padding: 8px 11px;
  font-size: 13px;
}
.form-row input {
  min-height: 36px;
}
.form-row textarea {
  min-height: 72px;
  max-height: 140px;
}
.form-actions {
  gap: 10px;
  margin-top: 1px;
}
.submit-button {
  min-width: 118px;
  min-height: 38px;
  font-size: 13px;
}

@media (max-width: 980px) {
  .site-footer {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .footer-contact {
    max-width: 360px;
  }
}

@media (max-width: 760px) {
  .brand-logo-circle {
    padding: 0;
    border-radius: 0;
  }
  .site-footer {
    padding: 15px;
    border-radius: 20px;
  }
  .footer-contact {
    grid-template-columns: 54px minmax(0, 1fr);
    gap: 10px;
  }
  .footer-logo {
    width: 52px;
    padding: 5px;
    border-radius: 12px;
  }
  .footer-heading {
    font-size: 14px;
  }
  .footer-copy {
    font-size: 12px;
  }
  .form-row {
    grid-template-columns: 1fr;
    gap: 4px;
  }
  .form-row label {
    padding-top: 0;
    font-size: 12px;
  }
  .form-actions {
    flex-direction: row;
    align-items: center;
  }
}

/* Exact uploaded 3D logo, uniformly downscaled into the existing header footprint.
   Scaling the whole 650x512 3D scene also scales its 12px depth, preventing
   the separated/multiple-logo appearance caused by resizing only the layers. */
.brand-logo-circle--3d {
  position: relative;
  overflow: hidden;
  isolation: isolate;
}
.brand-logo-3d {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 650px;
  height: 512px;
  margin-left: -325px;
  margin-top: -256px;
  transform: scale(.10546875);
  transform-origin: 50% 50%;
  perspective: 2200px;
  pointer-events: none;
}
.brand-logo-3d__slab {
  position: relative;
  display: block;
  width: 650px;
  height: 512px;
  transform-style: preserve-3d;
  transform-origin: 50% 50%;
  animation: brandLogo3dSpin 5s linear infinite;
  will-change: transform;
}
.brand-logo-circle--3d .brand-logo-3d__layer {
  position: absolute;
  inset: 0;
  display: block;
  width: 650px;
  height: 512px;
  max-height: none;
  object-fit: contain;
  backface-visibility: visible;
}
@keyframes brandLogo3dSpin {
  from { transform: rotateY(0deg); }
  to { transform: rotateY(360deg); }
}
@media (max-width: 760px) {
  .brand-logo-3d { transform: scale(.09375); }
}
@media (prefers-reduced-motion: reduce) {
  .brand-logo-3d__slab { animation: none; }
}

/* Content updates: partner links, form topics and consent, research QR codes. */
.partner-link {
  width: 100%;
  min-width: 0;
  display: grid;
  place-items: center;
  border-radius: 18px;
  text-decoration: none;
  transition: transform .2s ease, filter .2s ease;
}
.partner-link:hover,
.partner-link:focus-visible {
  transform: translateY(-3px);
  filter: drop-shadow(0 8px 12px rgba(30,34,35,.14));
}
.partner-link:focus-visible {
  outline: 3px solid rgba(246,0,0,.24);
  outline-offset: 5px;
}

.project-grid--two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.form-row select {
  width: 100%;
  min-height: 36px;
  border-radius: 12px;
  padding: 8px 36px 8px 11px;
  font: inherit;
  font-size: 13px;
  background-color: #fff;
  color: var(--ink);
  border: 1px solid #d2d6d7;
  box-shadow: inset 0 1px 2px rgba(30,34,35,.03);
  cursor: pointer;
}
.form-row select:focus {
  outline: none;
  border-color: rgba(246,0,0,.60);
  box-shadow: 0 0 0 3px rgba(246,0,0,.10);
}

.form-consent {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin: 1px 0 0 152px;
  color: var(--graphite);
  font-size: 11px;
  line-height: 1.35;
  cursor: pointer;
}
.form-consent input {
  width: 15px;
  height: 15px;
  flex: 0 0 15px;
  margin: 1px 0 0;
  accent-color: var(--red);
}
.form-consent a {
  color: #b20f13;
  text-underline-offset: 2px;
}

.dataset-aside {
  display: grid;
  grid-template-columns: minmax(220px, 1fr) 160px;
  align-items: start;
  gap: 14px 18px;
}
.dataset-aside p {
  margin: 0;
}
.dataset-aside .qr-link {
  justify-self: end;
  align-self: start;
}
.qr-link {
  display: inline-grid;
  place-items: center;
  border-radius: 22px;
  text-decoration: none;
  transition: transform .2s ease, box-shadow .2s ease;
}
.qr-link:hover,
.qr-link:focus-visible {
  transform: translateY(-2px);
}
.qr-link:focus-visible {
  outline: 3px solid rgba(246,0,0,.22);
  outline-offset: 4px;
}

@media (max-width: 980px) {
  .dataset-aside {
    grid-template-columns: 1fr;
    justify-items: start;
  }
  .dataset-aside .qr-link {
    justify-self: start;
  }
  .project-grid--two {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .project-grid--two {
    grid-template-columns: 1fr;
  }
  .form-consent {
    margin-left: 0;
    font-size: 11px;
  }
  .form-row select {
    min-height: 38px;
  }
}

/* Align the datasets QR code with the QR column below. */
@media (min-width: 981px) {
  .dataset-aside {
    grid-template-columns: minmax(0, 1fr) 160px;
    column-gap: 28px;
    align-items: start;
    width: 100%;
  }

  .dataset-aside > p {
    grid-column: 1;
    grid-row: 1;
  }

  .dataset-aside > .qr-link {
    grid-column: 2;
    grid-row: 1;
    justify-self: center;
  }
}
