@font-face {
  font-family: "ALS Sector";
  src: url("/fonts/ALS_Sector-Regular.woff2") format("woff2"),
       url("/fonts/ALS_Sector-Regular.woff") format("woff");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "ALS Sector";
  src: url("/fonts/ALS_Sector-Regular.woff2") format("woff2"),
       url("/fonts/ALS_Sector-Regular.woff") format("woff");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "ALS Sector";
  src: url("/fonts/ALS_Sector-Bold.woff2") format("woff2"),
       url("/fonts/ALS_Sector-Bold.woff") format("woff");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "ALS Sector";
  src: url("/fonts/ALS_Sector-Bold.woff2") format("woff2"),
       url("/fonts/ALS_Sector-Bold.woff") format("woff");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  /* BMSTU palette */
  --navy: #006CDC;
  --navy-deep: #002C5B;
  --accent: #8CC5F4;
  --mid: #004E9F;
  --tint: #E1EFFB;
  --tint-2: #E7E7E7;
  --text: #1A1A19;
  --muted: #484847;
  --surface: #E1EFFB;
  --bg: #FFFFFF;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow-1: 0 6px 20px rgba(0, 44, 91, .10);
  --shadow-2: 0 12px 28px rgba(0, 44, 91, .16);
  --ease: cubic-bezier(.2, .7, .2, 1);
  --wrap: 1200px;
  --gutter: 20px;
  --font: "ALS Sector", Arial, Helvetica, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  font-family: var(--font);
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  overflow-x: hidden;
}

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  font-size: 17px;
  font-weight: 400;
  line-height: 1.6;
  color: var(--text);
}

img {
  max-width: 100%;
  height: auto;
}

button, input, select, textarea {
  font: inherit;
}

a {
  color: var(--navy);
}

a:hover {
  color: var(--mid);
}

:focus-visible {
  outline: 2px solid var(--navy);
  outline-offset: 2px;
}

.site-header :focus-visible,
.site-footer :focus-visible,
.hero :focus-visible,
.page-hero :focus-visible,
.band--navy :focus-visible {
  outline-color: #FFFFFF;
}

h1, h2, h3, h4 {
  color: var(--navy-deep);
  letter-spacing: 0;
  font-weight: 700;
}

h1 {
  font-size: 2rem;
  line-height: 1.1;
}

h2 {
  line-height: 1.15;
}

h3 {
  font-size: 20px;
  line-height: 1.25;
}

h4 {
  font-size: 18px;
  line-height: 1.3;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
}

.skip-link:focus {
  left: 1rem;
  top: 1rem;
  z-index: 100;
  padding: 0.5rem 1rem;
  background: var(--navy);
  color: #FFFFFF;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
}

.wrap {
  width: min(100%, var(--wrap));
  margin-inline: auto;
  padding-inline: var(--gutter);
}

/* Header */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  height: 64px;
  background: var(--navy);
}

.header-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  height: 100%;
}

.brand-block {
  display: flex;
  flex-shrink: 0;
  align-items: center;
  gap: 12px;
  color: #FFFFFF;
  text-decoration: none;
}

.brand-block:hover {
  color: #FFFFFF;
}

.brand-block img {
  display: block;
  width: auto;
  height: 40px;
  max-width: none;
}

.brand-text {
  color: #FFFFFF;
  height: 40px;
  border-left: 1px solid #FFFFFF;
  padding: 1px 0 0 16px;
  font-size: 10.5px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: .02em;
  text-transform: uppercase;
  white-space: nowrap;
}

.header-tools {
  width: auto;
}

/* Mobile menu below the header bar */
.site-nav.is-open {
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  padding: 0 var(--gutter) 1rem;
  background: var(--navy);
  box-shadow: var(--shadow-1);
}

.nav-toggle {
  margin: 0;
  padding: 0.5rem 0.75rem;
  border: 1px solid #FFFFFF;
  background: var(--navy);
  color: #FFFFFF;
  font: inherit;
  cursor: pointer;
}

.site-nav {
  display: none;
  font-size: 15px;
  font-weight: 500;
  letter-spacing: .01em;
}

.site-nav.is-open {
  display: block;
}

.site-nav ul {
  margin: 1rem 0 0;
  padding: 0;
  list-style: none;
}

.site-nav a {
  display: inline-block;
  padding: 0.5rem 0;
  color: #FFFFFF;
  text-decoration: none;
  text-decoration-thickness: 2px;
  text-underline-offset: 6px;
  white-space: nowrap;
}

.site-nav a:hover,
.site-nav a:focus-visible,
.site-nav a[aria-current="page"] {
  text-decoration-line: underline;
}

.site-nav a[aria-current="page"] {
  font-weight: 700;
}

/* Main */

main {
  flex: 1;
  width: 100%;
}

.page-body {
  padding-block: 1.5rem 3rem;
}

.page-section {
  padding-block: 2.5rem;
}

.page-section:nth-of-type(even) {
  background: var(--tint);
}

.page-section:nth-of-type(even) .prose a,
.callout a {
  color: var(--mid);
}

/* Motion */

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .7s var(--ease), transform .7s var(--ease);
  transition-delay: var(--d, 0ms);
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

@keyframes hero-in {
  from { transform: scale(1); }
  to { transform: scale(1.07); }
}

@keyframes marquee {
  to { transform: translateX(-50%); }
}

/* Buttons */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 14px 22px;
  border-radius: 10px;
  border: 2px solid rgba(255, 255, 255, 0);
  font: inherit;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.2;
  text-decoration: none;
}

.btn--primary {
  background: var(--navy);
  border-color: var(--navy);
  color: #FFFFFF;
}

.btn--primary:hover,
.btn--primary:focus-visible {
  background: var(--mid);
  border-color: var(--mid);
  color: #FFFFFF;
}

.btn--secondary {
  background: rgba(255, 255, 255, 0);
  border-color: #FFFFFF;
  color: #FFFFFF;
}

.btn--secondary:hover,
.btn--secondary:focus-visible {
  color: #FFFFFF;
}

.btn-arrow {
  flex-shrink: 0;
  transition: transform .25s var(--ease);
}

.btn:hover .btn-arrow,
.btn:focus-visible .btn-arrow {
  transform: translateX(4px);
}

.btn-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 1.4rem;
  padding: 0.1rem 0.4rem;
  border-radius: 999px;
  background: var(--navy);
  color: #FFFFFF;
  font-size: 12px;
  font-weight: 700;
}

/* Cards, chips, pills, eyebrow */

.card {
  background: #FFFFFF;
  border-radius: var(--radius);
  box-shadow: var(--shadow-1);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-2);
}

.chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.chip {
  background: var(--tint);
  border: 1px solid var(--tint-2);
  border-radius: 30px;
  padding: 8px 16px;
  font-size: 14px;
}

.chip a {
  color: var(--navy-deep);
  text-decoration: none;
}

.chip a:hover {
  color: var(--mid);
}

.eyebrow,
.pill,
.hero-badge {
  margin: 0;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .03em;
  text-transform: uppercase;
}

.pill {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  border-radius: 30px;
  background: var(--tint);
  color: var(--navy-deep);
}

/* Landing hero */

.hero {
  position: relative;
  display: flex;
  flex-direction: column;
  color: #FFFFFF;
  overflow: hidden;
  -webkit-font-smoothing: antialiased;
}

.hero-slides {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  opacity: 0;
  transition: opacity 1.2s var(--ease);
}

.hero-slide.is-active {
  opacity: 1;
  animation: hero-in 7s linear forwards;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, rgba(0,44,91,.55) 0%, rgba(0,44,91,.88) 100%);
}

.hero-inner {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 520px;
  padding-block: 2.5rem;
}

.hero-top,
.hero-bottom {
  max-width: 720px;
}

.hero-badge {
  display: inline-block;
  margin: 0 0 1rem;
  padding: 0.35rem 0.9rem;
  border: 2px solid rgba(255, 255, 255, .4);
  border-radius: 30px;
  background: rgba(255, 255, 255, .14);
}

.hero h1 {
  max-width: 640px;
  margin: 0;
  color: #FFFFFF;
  font-size: 40px;
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: 0;
}

.hero-sub {
  max-width: 640px;
  margin: 0 0 1.25rem;
  font-size: 20px;
  color: rgba(255, 255, 255, .88);
}

.hero-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 0 0 1.25rem;
  padding: 0;
  list-style: none;
}

.hero-chips li {
  padding: 8px 12px;
  border-radius: 8px;
  background: rgba(255, 255, 255, .12);
  color: #FFFFFF;
  font-size: 14px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.hero-dots {
  position: absolute;
  right: var(--gutter);
  bottom: 1.25rem;
  z-index: 3;
  display: flex;
  gap: 8px;
}

.hero-dots button {
  width: 8px;
  height: 8px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: #FFFFFF;
  opacity: .45;
  cursor: pointer;
}

.hero-dots button[aria-selected="true"] {
  opacity: 1;
}

/* Page hero (subpages) */

.page-hero {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 280px;
  background: var(--navy-deep);
  color: #FFFFFF;
  overflow: hidden;
  -webkit-font-smoothing: antialiased;
}

.page-hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
}

.page-hero .hero-overlay {
  z-index: 1;
}

.page-hero-inner {
  position: relative;
  z-index: 2;
  padding-block: 2rem 1.5rem;
}

.page-crumbs {
  margin: 0 0 0.75rem;
  font-size: 14px;
  color: rgba(255, 255, 255, .8);
}

.page-crumbs a {
  color: #FFFFFF;
}

.page-crumbs a:hover {
  color: #FFFFFF;
}

.page-hero h1 {
  margin: 0;
  color: #FFFFFF;
  font-size: 36px;
  font-weight: 700;
  line-height: 1.15;
}

.page-lead {
  margin: 0.75rem 0 0;
  max-width: 62ch;
  font-size: 18px;
  color: rgba(255, 255, 255, .85);
}

/* Landing bands */

.band {
  padding-block: 3rem;
}

.band--tint {
  background: var(--tint);
}

.band--tint-2 {
  background: var(--tint);
}

.band--navy {
  background: var(--navy-deep);
  color: #FFFFFF;
}

.section-title {
  margin: 0;
  color: var(--navy-deep);
  font-size: 28px;
  font-weight: 700;
  line-height: 1.15;
}

.section-title::after,
.prose h2::after {
  content: "";
  display: block;
  width: 48px;
  height: 4px;
  margin: 12px 0 20px;
  background: var(--navy);
}

.prose h2:has(+ .blk--facts)::after {
  display: none;
  margin: 0;
}

.section-sub {
  max-width: 62ch;
  margin: 0 0 1.5rem;
  color: var(--muted);
  font-size: 18px;
}

.partners-sub {
  margin-top: 2rem;
}

.band-actions {
  margin: 1.5rem 0 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.stat-card {
  padding: 1.25rem;
  border-bottom: 4px solid var(--navy);
}

.stat-number {
  margin: 0 0 0.35rem;
  color: var(--navy);
  font-size: 44px;
  font-weight: 700;
  line-height: 1.1;
}

.stat-label {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.about-grid,
.about-cards {
  display: grid;
  gap: 1.5rem;
}

.about-copy p {
  margin: 0 0 1rem;
}

.why-card {
  padding: 1.25rem 1.4rem;
}

.why-card h3 {
  margin: 0 0 0.75rem;
  font-size: 20px;
  font-weight: 700;
}

.check-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  display: flex;
  gap: 0.5rem;
  align-items: flex-start;
  margin: 0.4rem 0;
}

.icon-check {
  flex-shrink: 0;
  margin-top: 0.25rem;
  color: var(--navy);
}

.head-card {
  display: grid;
  gap: 1.5rem;
  padding: 1.5rem;
  margin-top: 2rem;
}

.head-card img {
  width: 160px;
  height: 200px;
  max-width: 160px;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: 12px;
  border-bottom: 6px solid var(--navy);
}

.head-name {
  margin: 0.5rem 0 0.25rem;
  color: var(--navy);
  font-size: 24px;
  font-weight: 700;
  line-height: 1.2;
}

.head-degree {
  margin: 0 0 0.75rem;
  color: var(--muted);
  font-size: 16px;
}

.head-copy p {
  margin: 0 0 1rem;
}

.research-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

.research-card {
  padding: 1.25rem;
}

.research-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  margin-bottom: 0.75rem;
  border-radius: 50%;
  background: var(--tint);
  color: var(--navy);
}

.research-card h3 {
  margin: 0;
  color: var(--navy);
  font-size: 17px;
  font-weight: 600;
  line-height: 1.35;
}

.accordion {
  margin-top: 1.5rem;
}

.accordion-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0;
  padding: 0.75rem 1rem;
  border: 1px solid var(--tint-2);
  border-radius: var(--radius-sm);
  background: #FFFFFF;
  color: var(--navy);
  font: inherit;
  cursor: pointer;
}

.accordion-chevron {
  transition: transform .45s var(--ease);
}

.accordion-btn[aria-expanded="true"] .accordion-chevron {
  transform: rotate(180deg);
}

.accordion-panel {
  max-height: 0;
  overflow: hidden;
  transition: max-height .45s var(--ease);
}

.accordion-panel.is-open {
  max-height: 80rem;
}

.research-full {
  margin: 1rem 0 0;
  padding: 0 0 0 1.25rem;
}

.research-full li {
  margin: 0.4rem 0;
  break-inside: avoid;
}

.staff-faces {
  display: flex;
  flex-wrap: wrap;
  margin: 0 0 1rem;
  padding: 0;
  list-style: none;
}

.staff-faces li {
  margin-left: -16px;
}

.staff-faces li:first-child {
  margin-left: 0;
}

.staff-faces img {
  display: block;
  width: 72px;
  height: 72px;
  object-fit: cover;
  border: 2px solid #FFFFFF;
  border-radius: 50%;
}

.marquee {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, rgba(255, 255, 255, 0), #1A1A19 8%, #1A1A19 92%, rgba(255, 255, 255, 0));
  mask-image: linear-gradient(90deg, rgba(255, 255, 255, 0), #1A1A19 8%, #1A1A19 92%, rgba(255, 255, 255, 0));
}

.marquee-inner {
  display: flex;
  width: max-content;
  animation: marquee 45s linear infinite;
}

.marquee:hover .marquee-inner {
  animation-play-state: paused;
}

.marquee-track {
  display: flex;
  gap: 56px;
  padding-right: 56px;
  margin: 0;
  list-style: none;
}

.marquee img {
  height: 40px;
  width: auto;
  max-width: none;
  mix-blend-mode: multiply;
  filter: grayscale(1);
  opacity: .72;
  transition: filter .3s var(--ease), opacity .3s var(--ease);
}

.marquee li:hover img {
  filter: none;
  opacity: 1;
}

.partner-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 40px 56px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.partner-row img {
  display: block;
  height: 40px;
  width: auto;
  mix-blend-mode: multiply;
  filter: grayscale(1);
  opacity: .72;
  transition: filter .3s var(--ease), opacity .3s var(--ease);
}

.partner-row a:hover img,
.partner-row a:focus-visible img {
  filter: none;
  opacity: 1;
}

.cta-grid {
  display: grid;
  gap: 2rem;
  align-items: start;
}

.cta-title {
  margin: 0 0 0.75rem;
  color: #FFFFFF;
  font-size: 32px;
  font-weight: 700;
  line-height: 1.2;
}

.cta-sub {
  margin: 0 0 1.5rem;
  max-width: 62ch;
  font-size: 17px;
  color: rgba(255, 255, 255, .8);
}

.cta-address {
  margin: 1.5rem 0;
  font-style: normal;
  font-size: 16px;
  color: rgba(255, 255, 255, .85);
}

.cta-address p {
  display: flex;
  gap: 0.5rem;
  align-items: flex-start;
  margin: 0.5rem 0;
}

.cta-address a {
  color: inherit;
}

.cta-address a:hover {
  color: #FFFFFF;
}

.icon-contact {
  flex-shrink: 0;
  margin-top: 0.2rem;
}

.cta .eyebrow {
  color: #FFFFFF;
  margin: 0 0 0.75rem;
}

.cta-links {
  margin: 0;
  padding: 0;
  list-style: none;
}

.cta-links li {
  margin: 0.35rem 0;
}

.cta-links a {
  color: #FFFFFF;
  text-decoration: none;
}

.cta-links a:hover {
  color: #FFFFFF;
  text-decoration: underline;
}

.map {
  border-radius: 16px;
  overflow: hidden;
  aspect-ratio: 16 / 11;
  box-shadow: var(--shadow-2);
}

.map iframe {
  display: block;
}

.map-caption {
  margin: 0.75rem 0 0;
  font-size: 14px;
  color: rgba(255, 255, 255, .8);
}

.map-caption a {
  color: #FFFFFF;
}

.map-caption a:hover {
  color: var(--accent);
}

/* Prose + content blocks */

.prose {
  max-width: 860px;
}

.prose img {
  display: block;
  margin: 1rem 0;
  border-radius: 12px;
  box-shadow: var(--shadow-1);
}

.prose li img {
  display: inline-block;
  margin: 0.25rem 0;
  vertical-align: middle;
}

.prose h2 {
  margin-top: 0;
  font-size: 28px;
  font-weight: 700;
  line-height: 1.15;
}

.blk {
  margin: 1.25rem 0;
}

.prose .lead,
.blk--lead .lead {
  font-size: 20px;
  color: var(--muted);
}

.facts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.fact {
  padding: 1.25rem;
  background: #FFFFFF;
  border-radius: var(--radius);
  border-bottom: 4px solid var(--navy);
  box-shadow: var(--shadow-1);
}

.fact-value {
  margin: 0 0 0.35rem;
  color: var(--navy);
  font-size: 36px;
  font-weight: 700;
  line-height: 1.1;
}

.fact-label {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.blk--cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

.blk-card {
  padding: 1.25rem 1.4rem;
}

.blk-card h3 {
  margin: 0 0 0.5rem;
  font-size: 20px;
}

.callout {
  background: var(--tint);
  border-left: 4px solid var(--navy);
  border-radius: 10px;
  padding: 1rem 1.25rem;
}

.callout > :first-child {
  margin-top: 0;
}

.callout > :last-child {
  margin-bottom: 0;
}

.steps {
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: step;
}

.steps li {
  position: relative;
  display: grid;
  grid-template-columns: 32px 1fr;
  gap: 1.25rem;
  align-items: start;
  padding-bottom: 1.25rem;
  counter-increment: step;
}

.steps li::before {
  content: counter(step);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--navy);
  color: #FFFFFF;
  font-size: 14px;
  font-weight: 700;
  line-height: 1;
}

.steps li:not(:last-child)::after {
  content: "";
  position: absolute;
  left: 15px;
  top: 32px;
  bottom: 0;
  width: 2px;
  background: var(--tint-2);
}

.blk--gallery {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.gallery-item {
  margin: 0;
}

.blk--gallery img {
  width: 100%;
  height: 100%;
  margin: 0;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 12px;
  box-shadow: var(--shadow-1);
}

.blk--columns li,
.blk--columns p {
  break-inside: avoid;
}

.prose table {
  width: 100%;
  border-collapse: collapse;
  font-size: 15px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow-1);
}

.prose th,
.prose td {
  padding: 0.6rem 0.8rem;
  text-align: left;
}

.prose th {
  background: var(--tint);
  font-weight: 700;
}

.prose td {
  background: #FFFFFF;
  border-top: 1px solid var(--tint-2);
}

/* Staff directory */

.staff-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 1.5rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.staff-card {
  padding: 1.25rem;
}

.staff-card img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: 12px;
  border-bottom: 6px solid var(--navy);
}

.staff-initials {
  display: grid;
  place-items: center;
  aspect-ratio: 4 / 5;
  border-radius: 12px;
  border-bottom: 6px solid var(--navy);
  background: var(--tint);
  color: var(--navy);
  font-size: 56px;
  font-weight: 700;
  letter-spacing: .04em;
}

.staff-card .staff-about {
  margin-top: 0.6rem;
  font-size: 14px;
  line-height: 1.45;
  color: var(--text);
}

.staff-card h2 {
  margin: 0.75rem 0 0.25rem;
  font-size: 18px;
  font-weight: 700;
  color: var(--navy);
}

.staff-card p {
  margin: 0.15rem 0;
  font-size: 15px;
  color: var(--muted);
}

.is-todo {
  color: var(--mid);
  font-style: italic;
}

/* Footer */

.site-footer {
  background: var(--navy-deep);
  color: #FFFFFF;
  -webkit-font-smoothing: antialiased;
}

.site-footer a {
  color: #FFFFFF;
}

.site-footer a:hover {
  color: var(--accent);
}

.footer-grid {
  display: grid;
  gap: 1.5rem;
  padding-block: 2rem;
}

.footer-brand .brand-block {
  gap: 16px;
  margin-bottom: 0.75rem;
}

.footer-brand .brand-block img {
  height: 48px;
}

.footer-brand .brand-text {
  height: 48px;
  padding-top: 2px;
  font-size: 12px;
}

.footer-brand p {
  margin: 0.25rem 0;
}

.footer-contacts {
  font-style: normal;
  margin: 0;
  font-size: 14px;
}

.footer-contacts p {
  margin: 0.35rem 0;
}

.footer-links {
  margin: 0 0 1rem;
  padding: 0;
  list-style: none;
  font-size: 14px;
}

.footer-links li {
  margin: 0.35rem 0;
}

.copyright {
  margin: 0;
  font-size: 14px;
}

.credit {
  grid-column: 1 / -1;
  margin: 1rem 0 0;
  font-size: 11px;
  text-align: right;
  color: rgba(255, 255, 255, .8);
}

.credit a {
  color: rgba(255, 255, 255, .75);
}

.credit a:hover {
  color: #FFFFFF;
}

@media (min-width: 768px) {
  :root {
    --gutter: 32px;
  }

  h1 {
    font-size: 2.5rem;
  }

  .site-header {
    height: 88px;
  }

  .brand-block {
    gap: 16px;
  }

  .brand-block img {
    height: 56px;
  }

  .brand-text {
    height: 56px;
    padding-top: 3px;
    font-size: 14px;
  }

  .header-tools {
    width: auto;
    flex: 1 1 12rem;
    min-width: 0;
  }

  .nav-toggle {
    display: none;
  }

  .site-nav {
    display: block;
    font-size: 14px;
  }

  .site-nav ul {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 0 1rem;
    margin: 0;
  }

  .hero h1 {
    font-size: 48px;
  }

  .section-title,
  .prose h2 {
    font-size: 34px;
  }

  .page-hero h1 {
    font-size: 44px;
  }

  .research-grid {
    grid-template-columns: 1fr 1fr;
  }

  .research-full {
    columns: 2;
    column-gap: 2rem;
  }

  .head-card {
    grid-template-columns: 160px 1fr;
    align-items: start;
  }

  .blk--cards {
    grid-template-columns: repeat(2, 1fr);
  }

  .blk--columns {
    columns: 2;
    column-gap: 2rem;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr 1fr;
  }
}

@media (min-width: 1024px) {
  body {
    font-size: 18px;
  }

  .header-bar {
    flex-wrap: nowrap;
  }

  .site-nav {
    font-size: 15px;
  }

  .site-nav ul {
    flex-wrap: nowrap;
    gap: 1rem;
  }

  .page-body {
    padding-block: 2rem 4rem;
  }

  .page-section {
    padding-block: 3.5rem;
  }

  .page-hero {
    min-height: 340px;
  }

  .band {
    padding-block: 4rem;
  }

  .hero-inner {
    min-height: 640px;
  }

  .hero h1 {
    font-size: 56px;
  }

  .section-title,
  .prose h2 {
    font-size: 40px;
  }

  .stats-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .facts {
    grid-template-columns: repeat(4, 1fr);
  }

  .about-grid {
    grid-template-columns: 7fr 5fr;
    gap: 2rem;
    align-items: start;
  }

  .research-grid {
    grid-template-columns: 1fr 1fr 1fr;
  }

  .blk--cards {
    grid-template-columns: repeat(3, 1fr);
  }

  .blk--cards[data-cols="2"] {
    grid-template-columns: repeat(2, 1fr);
  }

  .blk--gallery {
    grid-template-columns: 1fr 1fr 1fr;
  }

  .cta-grid {
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .hero-slide {
    animation: none !important;
    transform: none;
  }

  .marquee-inner {
    animation: none !important;
    flex-wrap: wrap;
    width: auto;
  }

  .marquee {
    -webkit-mask-image: none;
    mask-image: none;
    overflow: visible;
  }

  .marquee-track[aria-hidden="true"] {
    display: none;
  }

  .marquee-track {
    flex-wrap: wrap;
    padding-right: 0;
  }

  .card:hover {
    transform: none;
  }

  .btn:hover .btn-arrow,
  .btn:focus-visible .btn-arrow {
    transform: none;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}


/* Photo credits — content, staff portraits and hero slides. */
.photo-credit {
  font-size: 12px;
  line-height: 1.3;
  color: #484847;
  margin-top: 6px;
}
.photo-credit a { color: #006CDC; }
.prose figure:not(.gallery-item) { margin: 1rem 0; }
.prose figure > img { margin-bottom: 0; }
.gallery-item:has(.photo-credit) > img { height: auto; }
.head-portrait, .staff-portrait { margin: 0; }
.hero-slide-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
}
.hero-slide.is-active { animation: none; }
.hero-inner { pointer-events: none; }
.hero-inner > * { pointer-events: auto; }
.hero .photo-credit, .page-hero .photo-credit {
  position: absolute;
  right: 12px;
  bottom: 12px;
  z-index: 3;
  margin: 0;
  color: #FFFFFF;
  opacity: .8;
  text-shadow: none;
}
.hero-slide:not(.is-active) .photo-credit { visibility: hidden; }
@media (prefers-reduced-motion: no-preference) {
  .hero-slide.is-active .hero-slide-image { animation: hero-in 7s linear forwards; }
}
/* End photo credits. */

/* Co-branding per BMSTU style guide 1.7: arms left, approved MT12 logo right, equal height */
.cobrand {
  display: flex;
  align-items: center;
  gap: 32px;
  margin-bottom: 24px;
}

.cobrand img {
  height: 64px;
  width: auto;
}
