:root {
  --navy: #07162d;
  --navy2: #0c2548;
  --blue: #a10102;
  --cyan: #a10102;
  --yellow: #ffc928;
  --ink: #14233a;
  --muted: #64748b;
  --soft: #f3f7fb;
  --white: #fff;
  --radius: 22px;
  --shadow: 0 20px 60px rgba(7, 22, 45, 0.11);
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  color: var(--ink);
  font-family: Manrope, Arial, sans-serif;
  background: #fff;
}
body:before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.035;
  background-image: radial-gradient(#123 1px, transparent 1px);
  background-size: 18px 18px;
}
a {
  color: inherit;
  text-decoration: none;
}
img {
  max-width: 100%;
  display: block;
}
h1,
h2,
h3 {
  font-family: "Space Grotesk", sans-serif;
  line-height: 1.05;
  margin: 0 0 18px;
}
h1 {
  font-size: clamp(2.8rem, 6vw, 6.4rem);
  letter-spacing: -0.055em;
}
h2 {
  font-size: clamp(2rem, 4vw, 3.7rem);
  letter-spacing: -0.04em;
}
h3 {
  font-size: 1.35rem;
}
.site-header {
  height: 86px;
  padding: 0 max(24px, 5vw);
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #fff;
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid #e7edf5;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: "Space Grotesk";
  font-weight: 600;
  font-size: 17px;
  line-height: 1;
}
.brand b {
  color: var(--blue);
}
.brand small {
  display: block;
  font-family: Manrope;
  font-size: 7px;
  letter-spacing: 0.13em;
  color: var(--muted);
  margin-top: 5px;
}
.main-nav {
  display: flex;
  align-items: center;
  gap: clamp(12px, 1.6vw, 26px);
  font-size: 13px;
  font-weight: 600;
}
.main-nav > a:not(.btn):hover {
  color: var(--blue);
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 0;
  border-radius: 9px;
  padding: 15px 22px;
  background: var(--blue);
  color: #fff !important;
  font-weight: 800;
  cursor: pointer;
  font: inherit;
}
.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(161, 1, 2, 0.3);
}
.btn-small {
  padding: 11px 16px;
}
.btn-light {
  background: #fff;
  color: var(--navy) !important;
}
.btn-outline {
  background: transparent;
  border: 1px solid #b7c8dc;
  color: var(--ink) !important;
}
.menu-toggle {
  display: none;
  background: none;
  border: 0;
  font-size: 24px;
}
.hero {
  min-height: calc(100vh - 86px);
  position: relative;
  display: flex;
  align-items: center;
  padding: 80px max(24px, 8vw);
  color: #fff;
  background:
    linear-gradient(
      90deg,
      rgba(4, 15, 34, 0.99) 0%,
      rgba(4, 15, 34, 0.86) 40%,
      rgba(4, 15, 34, 0.1) 75%
    ),
    url("../images/hero-lab.png") center/cover;
}
.hero-content {
  width: min(690px, 60vw);
}
.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 24px;
}
.eyebrow:before {
  content: "";
  width: 28px;
  height: 2px;
  background: currentColor;
}
.hero h1 span {
  color: var(--yellow);
}
.hero p {
  font-size: clamp(1rem, 1.5vw, 1.22rem);
  line-height: 1.8;
  color: #d7e2ef;
  max-width: 640px;
}
.actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 32px;
}
.hero-scroll {
  position: absolute;
  bottom: 28px;
  right: 5vw;
  font-size: 10px;
  letter-spacing: 0.18em;
  writing-mode: vertical-rl;
}
.section {
  padding: 105px max(24px, 8vw);
}
.section.soft {
  background: var(--soft);
}
.section.dark {
  background: var(--navy);
  color: #fff;
}
.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 30px;
  margin-bottom: 48px;
}
.section-head p {
  max-width: 560px;
  color: var(--muted);
  line-height: 1.75;
}
.intro-grid,
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8vw;
  align-items: center;
}
.intro-card {
  border-radius: var(--radius);
  padding: 42px;
  background: linear-gradient(135deg, var(--navy2), #0b4380);
  color: #fff;
  box-shadow: var(--shadow);
}
.intro-card .big {
  font-family: "Space Grotesk";
  font-size: 3rem;
  color: var(--yellow);
}
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.card {
  position: relative;
  padding: 32px;
  border-radius: var(--radius);
  background: #fff;
  border: 1px solid #e3ebf4;
  transition: 0.25s;
  overflow: hidden;
}
.card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
}
.program-card {
  min-height: 390px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  color: #fff;
  background: var(--navy);
}
.program-card:before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 80% 15%, var(--glow), transparent 34%),
    linear-gradient(0deg, rgba(4, 17, 38, 0.98), rgba(4, 17, 38, 0.15));
}
.program-card > * {
  position: relative;
}
.program-card .num {
  position: absolute;
  top: 25px;
  right: 25px;
  font-size: 11px;
  letter-spacing: 0.15em;
}
.program-card p {
  color: #c5d3e5;
  line-height: 1.6;
}
.arrow-link {
  font-weight: 800;
  color: var(--yellow);
}
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-block: 1px solid #dce5ee;
}
.stat {
  padding: 38px 20px;
  text-align: center;
  border-right: 1px solid #dce5ee;
}
.stat:last-child {
  border: 0;
}
.stat strong {
  display: block;
  font-family: "Space Grotesk";
  font-size: 2.3rem;
  color: var(--blue);
}
.stat span {
  font-size: 12px;
  color: var(--muted);
}
.news-card {
  padding: 0;
}
.news-visual {
  height: 190px;
  background: linear-gradient(135deg, #a10102, #a10102);
  display: grid;
  place-items: center;
  color: #fff;
  font-size: 54px;
}
.news-card .content {
  padding: 26px;
}
.tag {
  display: inline-block;
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--blue);
  margin-bottom: 12px;
}
.cta-band {
  margin: 0 max(24px, 5vw) 80px;
  border-radius: 28px;
  padding: 60px clamp(28px, 6vw, 80px);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 30px;
  color: #fff;
  background: linear-gradient(120deg, #a10102, #a10102);
  position: relative;
  overflow: hidden;
}
.cta-band:after {
  content: "W";
  position: absolute;
  right: 20%;
  font: 800 180px "Space Grotesk";
  opacity: 0.08;
}
.page-hero {
  padding: 100px max(24px, 8vw) 75px;
  background: var(--navy);
  color: #fff;
}
.page-hero p {
  max-width: 690px;
  color: #c6d4e5;
  line-height: 1.8;
}
.breadcrumb {
  color: var(--cyan);
  font-size: 12px;
  margin-bottom: 25px;
}
.form-wrap {
  display: grid;
  grid-template-columns: 1fr 1.8fr;
  gap: 50px;
}
.form-card {
  background: #fff;
  padding: 38px;
  border: 1px solid #e3ebf4;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
label {
  display: block;
  font-size: 12px;
  font-weight: 800;
  margin-bottom: 7px;
}
input,
select,
textarea {
  width: 100%;
  padding: 13px 14px;
  border: 1px solid #ccd8e5;
  border-radius: 8px;
  font: inherit;
  margin-bottom: 18px;
  background: #fff;
}
textarea {
  min-height: 120px;
  resize: vertical;
}
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 18px;
}
.full {
  grid-column: 1/-1;
}
.flash {
  padding: 16px max(24px, 8vw);
  background: #dff7ea;
  color: #096b3d;
}
.empty {
  padding: 50px;
  border: 1px dashed #b8c8da;
  border-radius: 16px;
  text-align: center;
  color: var(--muted);
}
footer {
  padding: 70px max(24px, 8vw) 25px;
  background: #030d1d;
  color: #aab9cc;
}
.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 48px;
}
.footer-identity address {
  margin-top: 20px;
  color: inherit;
  font-size: 13px;
  font-style: normal;
  line-height: 1.8;
}
.footer-socials h4 {
  margin: 0 0 14px;
}
.footer-grid h4 {
  color: #fff;
}
.footer-grid a:not(.brand) {
  display: block;
  margin: 12px 0;
  font-size: 13px;
}
.brand.light {
  color: #fff;
}
.socials {
  display: flex;
  gap: 8px;
}
.socials span,
.socials a {
  width: 32px;
  height: 32px;
  border: 1px solid #34465e;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 11px;
}
.footer-grid .socials a {
  display: grid;
  margin: 0;
  color: inherit;
  text-decoration: none;
  transition: color .2s ease, border-color .2s ease, background-color .2s ease;
}
.footer-grid .socials a:hover,
.footer-grid .socials a:focus-visible {
  border-color: var(--ws-red, #A10102);
  color: #fff;
  background: rgba(161, 1, 2, .18);
}
.socials a svg {
  width: 15px;
  height: 15px;
  fill: currentColor;
}
.socials a:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 3px;
}
.footer-bottom {
  border-top: 1px solid #23334a;
  margin-top: 45px;
  padding-top: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-size: 11px;
}
.footer-credit {
  color: inherit;
  text-decoration: none;
}
.footer-credit:hover,
.footer-credit:focus-visible {
  color: #fff;
  text-decoration: underline;
}
.admin-shell {
  display: grid;
  grid-template-columns: 250px 1fr;
  min-height: 100vh;
  background: var(--soft);
}
.admin-side {
  background: var(--navy);
  color: #b8c7d9;
  padding: 28px 20px;
}
.admin-side .brand {
  color: #fff;
  margin-bottom: 35px;
}
.admin-side a {
  display: block;
  padding: 11px 14px;
  border-radius: 8px;
  font-size: 13px;
}
.admin-side a:hover,
.admin-side a.active {
  background: #a10102;
  color: #fff;
}
.admin-main {
  padding: 36px;
}
.metric-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.metric {
  background: #fff;
  padding: 24px;
  border-radius: 14px;
  border: 1px solid #e0e8f1;
}
.metric strong {
  font-size: 2rem;
  display: block;
  color: var(--blue);
}
table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
}
th,
td {
  text-align: left;
  padding: 13px;
  border-bottom: 1px solid #e5ebf1;
  font-size: 13px;
}
.badge {
  padding: 5px 9px;
  border-radius: 99px;
  background: rgba(161, 1, 2, 0.09);
  color: #a10102;
  font-size: 10px;
  font-weight: 800;
}
@media (max-width: 1050px) {
  .main-nav {
    display: none;
    position: absolute;
    top: 86px;
    left: 0;
    right: 0;
    padding: 25px;
    background: #fff;
    flex-direction: column;
    align-items: flex-start;
  }
  .main-nav.open {
    display: flex;
  }
  .menu-toggle {
    display: block;
  }
  .grid-3 {
    grid-template-columns: 1fr 1fr;
  }
  .metric-grid {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 720px) {
  .hero {
    min-height: 720px;
    background-position: 65% center;
  }
  .hero-content {
    width: 100%;
  }
  .hero h1 {
    font-size: 3.2rem;
  }
  .section {
    padding: 75px 22px;
  }
  .intro-grid,
  .split,
  .form-wrap {
    grid-template-columns: 1fr;
  }
  .grid-3,
  .stats,
  .footer-grid {
    grid-template-columns: 1fr;
    align-items: start;
    gap: 28px;
  }
  .stat {
    border-right: 0;
    border-bottom: 1px solid #dce5ee;
  }
  .section-head,
  .cta-band {
    align-items: flex-start;
    flex-direction: column;
  }
  .form-grid {
    grid-template-columns: 1fr;
  }
  .admin-shell {
    grid-template-columns: 1fr;
  }
  .admin-side {
    display: none;
  }
  .metric-grid {
    grid-template-columns: 1fr 1fr;
  }
  .footer-bottom {
    gap: 12px;
    flex-direction: column;
  }
}
