:root {
  color-scheme: dark;
  --ink: #06080d;
  --ink-soft: #0a0f18;
  --panel: #0d1420;
  --panel-bright: #121c2b;
  --line: rgba(255, 255, 255, 0.12);
  --line-strong: rgba(255, 255, 255, 0.24);
  --white: #f7f9fc;
  --muted: #a9b3c1;
  --red: #ee2028;
  --red-deep: #a80e19;
  --blue: #0c70b7;
  --blue-bright: #23a9e0;
  --cyan: #80dcff;
  --max: 1380px;
  --gutter: clamp(1.25rem, 4vw, 4.5rem);
  --section-space: clamp(6rem, 11vw, 11rem);
  --display: "Space Grotesk", sans-serif;
  --body: "Inter", sans-serif;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  min-width: 320px;
  overflow-x: clip;
  scroll-behavior: smooth;
  background: var(--ink);
}

body {
  min-height: 100vh;
  margin: 0;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 82% 8%, rgba(238, 32, 40, 0.1), transparent 28rem),
    radial-gradient(circle at 12% 40%, rgba(12, 112, 183, 0.09), transparent 30rem),
    var(--ink);
  color: var(--white);
  font-family: var(--body);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body,
main,
.hero-copy,
.hero h1,
.hero-lead {
  min-width: 0;
}

body.menu-open {
  overflow: hidden;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button,
input,
textarea,
select {
  font: inherit;
}

button {
  color: inherit;
}

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

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

::selection {
  background: var(--red);
  color: white;
}

:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  top: 0.75rem;
  left: 0.75rem;
  z-index: 2000;
  padding: 0.75rem 1rem;
  border-radius: 999px;
  background: var(--white);
  color: var(--ink);
  font-weight: 700;
  transform: translateY(-160%);
  transition: transform 180ms ease;
}

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

.scroll-progress {
  position: fixed;
  inset: 0 0 auto;
  z-index: 1500;
  height: 2px;
  background: transparent;
  pointer-events: none;
}

.scroll-progress span {
  display: block;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, var(--blue-bright), var(--red));
  box-shadow: 0 0 18px rgba(238, 32, 40, 0.7);
  transform: scaleX(0);
  transform-origin: left;
}

#network-canvas {
  position: fixed;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  opacity: 0.34;
  pointer-events: none;
}

.page-noise {
  position: fixed;
  inset: 0;
  z-index: 1000;
  opacity: 0.035;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.7'/%3E%3C/svg%3E");
}

.pointer-aura {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1;
  width: 28rem;
  height: 28rem;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(35, 169, 224, 0.08), transparent 68%);
  pointer-events: none;
  transform: translate3d(calc(var(--pointer-x, 50vw) - 50%), calc(var(--pointer-y, 50vh) - 50%), 0);
  transition: opacity 300ms ease;
}

main,
.site-footer {
  position: relative;
  z-index: 2;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1200;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  min-height: 5.25rem;
  padding: 0 var(--gutter);
  border-bottom: 1px solid transparent;
  transition:
    min-height 300ms var(--ease),
    background 300ms ease,
    border-color 300ms ease,
    backdrop-filter 300ms ease;
}

.site-header.is-scrolled {
  min-height: 4.5rem;
  border-color: var(--line);
  background: rgba(6, 8, 13, 0.78);
  backdrop-filter: blur(20px) saturate(150%);
}

.brand {
  display: inline-flex;
  justify-self: start;
  align-items: center;
  width: clamp(9rem, 13vw, 12rem);
  min-height: 2.75rem;
}

.brand img {
  width: 100%;
  height: 3rem;
  object-fit: cover;
  object-position: center 46%;
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: clamp(1rem, 2.2vw, 2.4rem);
  padding: 0.45rem 0.7rem;
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.025);
}

.desktop-nav a {
  position: relative;
  padding: 0.45rem 0.2rem;
  color: var(--muted);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: color 200ms ease;
}

.desktop-nav a::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 1px;
  background: var(--red);
  content: "";
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 300ms var(--ease);
}

.desktop-nav a:hover,
.desktop-nav a.is-active {
  color: var(--white);
}

.desktop-nav a:hover::after,
.desktop-nav a.is-active::after {
  transform: scaleX(1);
  transform-origin: left;
}

.header-actions {
  display: flex;
  justify-self: end;
  align-items: center;
  gap: 0.8rem;
}

.header-platform {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  min-height: 2.75rem;
  padding: 0 1rem;
  border: 1px solid rgba(238, 32, 40, 0.55);
  border-radius: 999px;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition:
    color 200ms ease,
    background 200ms ease,
    border-color 200ms ease;
}

.header-platform:hover {
  border-color: var(--red);
  background: var(--red);
  color: white;
}

.menu-toggle {
  display: none;
  width: 2.75rem;
  height: 2.75rem;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.04);
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 1rem;
  height: 1px;
  margin: 0.3rem auto;
  background: currentColor;
  transition: transform 250ms var(--ease);
}

.menu-toggle[aria-expanded="true"] span:first-child {
  transform: translateY(3px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] span:last-child {
  transform: translateY(-3px) rotate(-45deg);
}

.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 1100;
  display: grid;
  align-content: center;
  padding: 7rem var(--gutter) 3rem;
  background:
    radial-gradient(circle at 80% 20%, rgba(238, 32, 40, 0.2), transparent 28rem),
    linear-gradient(145deg, rgba(6, 8, 13, 0.99), rgba(8, 18, 31, 0.99));
  opacity: 0;
  visibility: hidden;
  transform: translateY(-2%);
  transition:
    opacity 350ms ease,
    transform 450ms var(--ease),
    visibility 350ms;
}

.mobile-menu.is-open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.mobile-menu nav {
  display: grid;
}

.mobile-menu nav a {
  display: flex;
  align-items: baseline;
  gap: 1rem;
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--line);
  font-family: var(--display);
  font-size: clamp(2rem, 10vw, 4.5rem);
  font-weight: 600;
  letter-spacing: -0.05em;
}

.mobile-menu nav a span {
  color: var(--red);
  font-family: var(--body);
  font-size: 0.7rem;
  letter-spacing: 0.12em;
}

.mobile-menu-meta {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 2.25rem;
  color: var(--muted);
  font-size: 0.82rem;
}

.mobile-menu-meta p {
  margin: 0;
}

.section-shell {
  width: min(calc(100% - (var(--gutter) * 2)), var(--max));
  margin: 0 auto;
  padding: var(--section-space) 0;
}

.section-marker {
  display: grid;
  grid-template-columns: 3rem 1fr;
  align-items: center;
  gap: 1rem;
  margin-bottom: clamp(3rem, 7vw, 6.5rem);
  color: var(--muted);
  font-family: var(--display);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.section-marker::after {
  grid-column: 2;
  grid-row: 1;
  height: 1px;
  margin-left: 10rem;
  background: linear-gradient(90deg, var(--line-strong), transparent);
  content: "";
}

.section-marker span {
  display: grid;
  place-items: center;
  width: 2.8rem;
  height: 2.8rem;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--red);
}

.section-marker p {
  z-index: 1;
  width: fit-content;
  margin: 0;
  padding-right: 1rem;
  background: var(--ink);
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  margin: 0;
  color: var(--red);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.signal-dot {
  position: relative;
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 50%;
  background: var(--red);
  box-shadow: 0 0 0 0 rgba(238, 32, 40, 0.6);
  animation: signal 2s infinite;
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(28rem, 0.98fr);
  align-items: center;
  gap: clamp(3rem, 5vw, 6rem);
  min-height: 100svh;
  padding: 8.5rem var(--gutter) 6rem;
  overflow: hidden;
}

.hero-grid {
  position: absolute;
  inset: 0;
  opacity: 0.45;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-position: center;
  background-size: 4rem 4rem;
  mask-image: linear-gradient(to bottom, black, transparent 90%);
}

.hero-grid::before,
.hero-grid::after {
  position: absolute;
  content: "";
}

.hero-grid::before {
  top: 18%;
  left: -10%;
  width: 48%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--red), transparent);
  transform: rotate(-28deg);
  opacity: 0.45;
}

.hero-grid::after {
  right: -8%;
  bottom: 20%;
  width: 40%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--blue-bright), transparent);
  transform: rotate(-28deg);
  opacity: 0.5;
}

.hero-glow {
  position: absolute;
  width: 28rem;
  height: 28rem;
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.16;
  pointer-events: none;
}

.hero-glow-red {
  top: 5%;
  right: 14%;
  background: var(--red);
  animation: glow-drift 9s ease-in-out infinite alternate;
}

.hero-glow-blue {
  bottom: -8%;
  left: 20%;
  background: var(--blue);
  animation: glow-drift 12s ease-in-out -3s infinite alternate-reverse;
}

.hero-copy,
.hero-visual {
  position: relative;
  z-index: 3;
}

.hero-copy {
  max-width: 50rem;
}

.hero h1 {
  margin: 1.6rem 0 0;
  font-family: var(--display);
  font-size: clamp(3.9rem, 7.1vw, 8.25rem);
  font-weight: 500;
  letter-spacing: -0.075em;
  line-height: 0.86;
}

.hero h1 span,
.hero h1 strong {
  display: block;
}

.hero h1 span {
  color: transparent;
  -webkit-text-stroke: 1px rgba(247, 249, 252, 0.5);
}

.hero h1 strong {
  position: relative;
  width: fit-content;
  margin-top: 0.16em;
  color: var(--white);
  font-weight: 700;
}

.hero h1 strong::after {
  position: absolute;
  right: -0.2em;
  bottom: 0.05em;
  width: 0.13em;
  height: 0.13em;
  border-radius: 50%;
  background: var(--red);
  box-shadow: 0 0 30px rgba(238, 32, 40, 0.7);
  content: "";
}

.hero-lead {
  max-width: 40rem;
  margin: 2rem 0 0;
  color: var(--muted);
  font-size: clamp(1rem, 1.5vw, 1.25rem);
  line-height: 1.75;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 2.3rem;
}

.button {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 1.25rem;
  min-height: 3.75rem;
  padding: 0 1.5rem;
  overflow: hidden;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  transition:
    border-color 250ms ease,
    background 250ms ease,
    color 250ms ease,
    transform 250ms var(--ease);
}

.button::before {
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, transparent 25%, rgba(255, 255, 255, 0.18), transparent 70%);
  content: "";
  transform: translateX(-140%);
  transition: transform 700ms var(--ease);
}

.button:hover::before {
  transform: translateX(140%);
}

.button-primary {
  background: var(--red);
  box-shadow: 0 16px 44px rgba(238, 32, 40, 0.18);
  color: white;
}

.button-primary:hover {
  background: #ff2b34;
  box-shadow: 0 18px 60px rgba(238, 32, 40, 0.28);
}

.button-ghost {
  border-color: var(--line-strong);
  background: rgba(255, 255, 255, 0.035);
  color: var(--white);
  backdrop-filter: blur(10px);
}

.button-ghost:hover {
  border-color: rgba(35, 169, 224, 0.6);
  background: rgba(35, 169, 224, 0.08);
}

.button-arrow {
  display: grid;
  place-items: center;
  width: 1.8rem;
  height: 1.8rem;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.18);
  font-size: 1rem;
}

.play-icon {
  color: var(--blue-bright);
  font-size: 0.8rem;
}

.hero-visual {
  justify-self: end;
  width: min(100%, 26rem);
  perspective: 1200px;
}

.visual-index {
  position: absolute;
  top: -1.8rem;
  right: 0;
  color: rgba(255, 255, 255, 0.38);
  font-family: var(--display);
  font-size: 0.72rem;
  letter-spacing: 0.16em;
}

.hero-image-frame {
  position: relative;
  aspect-ratio: 1600 / 2769;
  overflow: hidden;
  border: 1px solid var(--line-strong);
  border-radius: 1.25rem 1.25rem 8rem 1.25rem;
  background: var(--panel);
  box-shadow: 0 50px 100px rgba(0, 0, 0, 0.48);
  transform: rotateY(var(--tilt-x, 0deg)) rotateX(var(--tilt-y, 0deg));
  transform-style: preserve-3d;
  transition: transform 180ms ease-out;
}

.hero-image-frame::before {
  position: absolute;
  inset: 0;
  z-index: 2;
  background:
    linear-gradient(to top, rgba(6, 8, 13, 0.9), transparent 55%),
    linear-gradient(120deg, rgba(12, 112, 183, 0.22), transparent 40%, rgba(238, 32, 40, 0.12));
  content: "";
  pointer-events: none;
}

.hero-image-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: saturate(0.82) contrast(1.08);
}

.hero-image-scan {
  position: absolute;
  z-index: 3;
  top: 0;
  right: 0;
  left: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--cyan), transparent);
  box-shadow: 0 0 18px var(--cyan);
  animation: scan 5s ease-in-out infinite;
}

.image-corner {
  position: absolute;
  z-index: 4;
  width: 3.5rem;
  height: 3.5rem;
}

.corner-tl {
  top: 1rem;
  left: 1rem;
  border-top: 1px solid var(--white);
  border-left: 1px solid var(--white);
}

.corner-br {
  right: 2.5rem;
  bottom: 2.5rem;
  border-right: 1px solid var(--red);
  border-bottom: 1px solid var(--red);
}

.hero-orbit {
  position: absolute;
  right: -4rem;
  bottom: -2.5rem;
  z-index: 5;
  width: 10rem;
  height: 10rem;
  border: 1px solid rgba(35, 169, 224, 0.3);
  border-radius: 50%;
  animation: orbit-spin 12s linear infinite;
}

.hero-orbit::before,
.hero-orbit::after {
  position: absolute;
  border: 1px solid rgba(238, 32, 40, 0.35);
  border-radius: 50%;
  content: "";
}

.hero-orbit::before {
  inset: 1.2rem;
}

.hero-orbit::after {
  inset: 3rem;
}

.hero-orbit span {
  position: absolute;
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background: var(--red);
}

.hero-orbit span:nth-child(1) {
  top: -0.25rem;
  left: 50%;
}

.hero-orbit span:nth-child(2) {
  right: 0.8rem;
  bottom: 1.5rem;
  background: var(--blue-bright);
}

.hero-orbit span:nth-child(3) {
  bottom: 0.75rem;
  left: 1.1rem;
  background: var(--white);
}

.visual-caption {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 1rem;
  color: rgba(255, 255, 255, 0.5);
  font-family: var(--display);
  font-size: 0.65rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.scroll-cue {
  position: absolute;
  bottom: 2rem;
  left: var(--gutter);
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 1rem;
  color: rgba(255, 255, 255, 0.45);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.scroll-cue i {
  position: relative;
  display: block;
  width: 3.5rem;
  height: 1px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.18);
}

.scroll-cue i::after {
  position: absolute;
  inset: 0;
  background: var(--red);
  content: "";
  animation: cue-slide 2s ease-in-out infinite;
}

.kinetic-rail {
  position: relative;
  z-index: 4;
  overflow: hidden;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.018);
  transform: rotate(-1.2deg) scale(1.02);
}

.kinetic-track {
  display: flex;
  align-items: center;
  width: max-content;
  padding: 1.25rem 0;
  animation: marquee 32s linear infinite;
}

.kinetic-track span {
  color: rgba(255, 255, 255, 0.8);
  font-family: var(--display);
  font-size: clamp(1rem, 2vw, 1.7rem);
  font-weight: 600;
  letter-spacing: -0.03em;
  text-transform: uppercase;
}

.kinetic-track i {
  width: 0.55rem;
  height: 0.55rem;
  margin: 0 2.6rem;
  border-radius: 50%;
  background: var(--red);
  box-shadow: 0 0 18px rgba(238, 32, 40, 0.5);
}

.intro {
  padding-bottom: calc(var(--section-space) * 0.85);
}

.intro-layout,
.section-heading-row {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(20rem, 0.9fr);
  gap: clamp(3rem, 8vw, 9rem);
  align-items: start;
}

.intro-heading h2,
.section-heading-row h2,
.eurobot-copy h2,
.closing h2 {
  margin: 1rem 0 0;
  font-family: var(--display);
  font-size: clamp(3rem, 6.2vw, 7rem);
  font-weight: 600;
  letter-spacing: -0.07em;
  line-height: 0.95;
}

.intro-heading h2 span,
.section-heading-row h2 span {
  display: block;
  color: var(--blue-bright);
}

.outline-text {
  color: transparent !important;
  -webkit-text-stroke: 1px rgba(35, 169, 224, 0.75);
}

.intro-copy {
  padding-top: 2rem;
  color: var(--muted);
  font-size: clamp(1rem, 1.25vw, 1.14rem);
  line-height: 1.85;
}

.intro-copy p {
  margin: 0 0 1.4rem;
}

.intro-copy .intro-dropcap {
  color: var(--white);
  font-family: var(--display);
  font-size: clamp(1.35rem, 2vw, 1.8rem);
  font-weight: 500;
  line-height: 1.45;
}

.intro-dropcap::first-letter {
  float: left;
  margin: -0.05em 0.15em -0.1em 0;
  color: var(--red);
  font-family: var(--display);
  font-size: 3.6em;
  font-weight: 700;
  line-height: 1;
}

.intro-facts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-top: clamp(4rem, 8vw, 8rem);
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.fact-card {
  min-height: 18rem;
  padding: clamp(1.5rem, 3vw, 3rem);
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.012);
  transition:
    background 300ms ease,
    transform 300ms var(--ease);
}

.fact-card:hover {
  background: rgba(255, 255, 255, 0.04);
  transform: translateY(-0.35rem);
}

.fact-card-accent {
  background: linear-gradient(145deg, rgba(238, 32, 40, 0.13), rgba(12, 112, 183, 0.08));
}

.fact-card strong {
  display: block;
  margin-bottom: 4.5rem;
  font-family: var(--display);
  font-size: clamp(2.8rem, 5vw, 5rem);
  font-weight: 500;
  letter-spacing: -0.07em;
}

.fact-card span {
  color: var(--red);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.fact-card p {
  max-width: 18rem;
  margin: 0.8rem 0 0;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.7;
}

.axes {
  padding-top: calc(var(--section-space) * 0.8);
}

.section-heading-row {
  align-items: end;
  margin-bottom: clamp(4rem, 8vw, 8rem);
}

.section-intro {
  max-width: 36rem;
  margin: 0 0 0.4rem;
  color: var(--muted);
  font-size: clamp(1rem, 1.3vw, 1.15rem);
  line-height: 1.8;
}

.axis-stack {
  display: grid;
  gap: 1.25rem;
}

.axis-panel {
  position: sticky;
  top: 6rem;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(22rem, 0.85fr);
  min-height: 38rem;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 1.5rem;
  background: var(--panel);
  box-shadow: 0 40px 90px rgba(0, 0, 0, 0.35);
}

.axis-panel:nth-child(2) {
  top: 7.5rem;
}

.axis-number {
  position: absolute;
  top: 1.5rem;
  left: 1.5rem;
  z-index: 3;
  display: grid;
  place-items: center;
  width: 3rem;
  height: 3rem;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 50%;
  background: rgba(6, 8, 13, 0.6);
  font-family: var(--display);
  font-size: 0.75rem;
  backdrop-filter: blur(12px);
}

.axis-media {
  position: relative;
  overflow: hidden;
}

.axis-media::after {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, transparent 55%, var(--panel)),
    linear-gradient(to top, rgba(6, 8, 13, 0.7), transparent 45%);
  content: "";
}

.axis-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.7) contrast(1.08);
  transition: transform 1.2s var(--ease);
}

.axis-panel:hover .axis-media img {
  transform: scale(1.05);
}

.axis-aeronautics {
  background: #0a1726;
}

.axis-aeronautics .axis-media::after {
  background:
    linear-gradient(90deg, transparent 55%, #0a1726),
    linear-gradient(to top, rgba(6, 8, 13, 0.7), transparent 45%);
}

.axis-content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(2rem, 5vw, 5.5rem);
}

.axis-content h3 {
  margin: 1rem 0 1.5rem;
  font-family: var(--display);
  font-size: clamp(3.5rem, 6vw, 6.5rem);
  font-weight: 600;
  letter-spacing: -0.075em;
  line-height: 0.95;
}

.axis-content > p:not(.eyebrow) {
  margin: 0;
  color: var(--muted);
  font-size: clamp(0.95rem, 1.25vw, 1.1rem);
  line-height: 1.8;
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-top: 2rem;
}

.tag-list span {
  padding: 0.55rem 0.8rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* Flagship international competitions */
.flagships {
  padding-top: var(--section-space);
}

.flagships-heading {
  margin-bottom: clamp(2.5rem, 5vw, 5rem);
}

.flagship-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(1rem, 2vw, 1.8rem);
}

.flagship-card {
  position: relative;
  display: block;
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 1.4rem;
  background: rgba(13, 20, 32, 0.72);
  box-shadow: 0 2rem 6rem rgba(0, 0, 0, 0.22);
  transform: perspective(1200px) rotateY(var(--tilt-x, 0deg)) rotateX(var(--tilt-y, 0deg));
  transform-style: preserve-3d;
  transition:
    border-color 300ms ease,
    box-shadow 500ms var(--ease),
    transform 180ms ease-out;
}

.flagship-card:hover,
.flagship-card:focus-visible {
  border-color: rgba(128, 220, 255, 0.45);
  box-shadow: 0 2.5rem 7rem rgba(0, 0, 0, 0.42);
}

.flagship-card:focus-visible {
  outline-offset: 0.35rem;
}

.flagship-media {
  position: relative;
  aspect-ratio: 1.18;
  overflow: hidden;
  background: var(--panel);
}

.flagship-media::after {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(to top, rgba(6, 8, 13, 0.88), transparent 55%),
    linear-gradient(120deg, rgba(12, 112, 183, 0.13), transparent 45%, rgba(238, 32, 40, 0.12));
  content: "";
}

.flagship-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.75) contrast(1.09);
  transform: scale(1.02);
  transition: filter 600ms ease, transform 900ms var(--ease);
}

.flagship-card:hover .flagship-media img,
.flagship-card:focus-visible .flagship-media img {
  filter: saturate(0.95) contrast(1.08);
  transform: scale(1.07);
}

.flagship-index {
  position: absolute;
  top: 1.2rem;
  left: 1.2rem;
  z-index: 4;
  padding: 0.45rem 0.65rem;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  background: rgba(6, 8, 13, 0.64);
  color: rgba(255, 255, 255, 0.68);
  font-family: var(--display);
  font-size: 0.62rem;
  letter-spacing: 0.13em;
  backdrop-filter: blur(10px);
}

.flagship-content {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 2rem;
  padding: clamp(1.5rem, 3vw, 2.4rem);
}

.flagship-content h3 {
  margin: 0.65rem 0 0.8rem;
  font-family: var(--display);
  font-size: clamp(2.7rem, 5vw, 5.3rem);
  font-weight: 600;
  letter-spacing: -0.065em;
  line-height: 0.92;
}

.flagship-content > div > p:last-child {
  max-width: 31rem;
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
}

.flagship-arrow {
  display: grid;
  flex: 0 0 auto;
  place-items: center;
  width: 3.4rem;
  height: 3.4rem;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  font-size: 1.4rem;
  transition: background 300ms ease, border-color 300ms ease, transform 400ms var(--ease);
}

.flagship-card:hover .flagship-arrow,
.flagship-card:focus-visible .flagship-arrow {
  border-color: var(--red);
  background: var(--red);
  transform: rotate(45deg);
}

.memories {
  padding: var(--section-space) 0;
  overflow: hidden;
  background:
    linear-gradient(180deg, transparent, rgba(12, 112, 183, 0.06), transparent),
    var(--ink);
}

.memories-heading {
  padding-top: 0;
  padding-bottom: 0;
}

.gallery-viewport {
  position: relative;
  margin-top: 2rem;
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, black 5%, black 95%, transparent);
}

.gallery-track {
  display: flex;
  width: max-content;
  gap: 1rem;
  padding: 2rem 0;
  animation: gallery-scroll 70s linear infinite;
}

.gallery-viewport:hover .gallery-track,
.gallery-viewport:focus-within .gallery-track {
  animation-play-state: paused;
}

.memory-card {
  position: relative;
  margin: 0;
  width: clamp(17rem, 25vw, 28rem);
  aspect-ratio: 4 / 3;
  flex: 0 0 auto;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 1rem;
  background: var(--panel);
  transform: rotate(var(--card-rotation, 0deg));
  transition:
    transform 500ms var(--ease),
    border-color 300ms ease;
}

.person-card.image-unavailable {
  grid-template-columns: 1fr;
  background:
    radial-gradient(circle at 68% 20%, rgba(35, 169, 224, 0.3), transparent 35%),
    linear-gradient(145deg, rgba(238, 32, 40, 0.15), var(--panel) 58%);
}

.person-card.image-unavailable .person-meta::before {
  margin-bottom: auto;
  color: rgba(255, 255, 255, 0.12);
  font-family: var(--display);
  font-size: clamp(3rem, 7vw, 6rem);
  font-weight: 700;
  letter-spacing: -0.08em;
  content: "AERO";
}

.memory-card:nth-child(3n + 1) {
  --card-rotation: -1.2deg;
}

.memory-card:nth-child(3n + 2) {
  --card-rotation: 0.8deg;
}

.memory-card:hover {
  z-index: 2;
  border-color: rgba(35, 169, 224, 0.6);
  transform: rotate(0) translateY(-0.8rem) scale(1.015);
}

.memory-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.82) contrast(1.08);
  transition: transform 700ms var(--ease);
}

.memory-card:hover img {
  transform: scale(1.05);
}

.memory-card span {
  position: absolute;
  right: 0.75rem;
  bottom: 0.75rem;
  padding: 0.45rem 0.6rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  background: rgba(6, 8, 13, 0.72);
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  backdrop-filter: blur(8px);
}

.achievements {
  padding-top: var(--section-space);
  padding-bottom: var(--section-space);
  overflow: hidden;
  background:
    radial-gradient(circle at 85% 18%, rgba(238, 32, 40, 0.1), transparent 24rem),
    linear-gradient(180deg, rgba(255, 255, 255, 0.02), transparent 28%),
    var(--ink);
}

.achievements-heading {
  margin-bottom: 2.5rem;
}

.achievement-toolbar {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 3rem;
  padding: 1rem 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.achievement-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.achievement-filter {
  min-height: 2.35rem;
  padding: 0.45rem 0.8rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.025);
  color: var(--muted);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  transition:
    color 200ms ease,
    border-color 200ms ease,
    background 200ms ease,
    transform 200ms ease;
}

.achievement-filter:hover,
.achievement-filter:focus-visible,
.achievement-filter.is-active {
  border-color: rgba(35, 169, 224, 0.7);
  background: rgba(35, 169, 224, 0.1);
  color: var(--white);
  transform: translateY(-2px);
}

.achievement-count {
  flex: 0 0 auto;
  margin: 0;
  color: rgba(255, 255, 255, 0.45);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.achievement-groups {
  display: flex;
  width: max-content;
  gap: 1rem;
  padding: 0.35rem 0.25rem 1.5rem;
  animation: achievement-album-scroll 105s linear infinite;
}

.achievement-groups:hover,
.achievement-groups:focus-within {
  animation-play-state: paused;
}

.achievement-groups.is-filtered {
  width: 100%;
  animation: none;
}

.achievement-group[hidden] {
  display: none;
}

.achievement-group {
  width: clamp(22rem, 34vw, 31rem);
  min-width: clamp(22rem, 34vw, 31rem);
  flex: 0 0 clamp(22rem, 34vw, 31rem);
  min-height: 29rem;
  padding: 1.25rem;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 1.25rem;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.045), transparent 36%),
    var(--panel);
  box-shadow: 0 1rem 2.5rem rgba(0, 0, 0, 0.18);
}

.achievement-groups.is-filtered .achievement-group {
  width: 100%;
  min-width: 100%;
  flex-basis: 100%;
}

.achievement-group.archive-pop {
  animation: archive-pop 500ms var(--ease) both;
}

.achievement-group-heading {
  display: grid;
  gap: 0.85rem;
  margin-bottom: 0.8rem;
}

.achievement-group-heading .eyebrow {
  margin-bottom: 0.5rem;
}

.achievement-group-heading h3 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 0.95;
  letter-spacing: -0.06em;
}

.achievement-group-heading > p {
  max-width: 25rem;
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.7;
}

.achievement-rail {
  display: flex;
  gap: 0.9rem;
  overflow-x: auto;
  height: 20rem;
  padding: 0.5rem 0.5rem 1.25rem 0.15rem;
  scroll-snap-type: x proximity;
  scrollbar-width: thin;
  scrollbar-color: rgba(35, 169, 224, 0.55) transparent;
}

.achievement-photo {
  position: relative;
  width: clamp(13rem, 19vw, 17rem);
  aspect-ratio: 4 / 5;
  flex: 0 0 auto;
  overflow: hidden;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 1rem;
  background: var(--panel);
  text-align: left;
  cursor: pointer;
  scroll-snap-align: start;
  transform: rotate(calc((var(--photo-index) % 3 - 1) * 0.7deg)) translateY(0);
  transition:
    transform 500ms var(--ease),
    border-color 250ms ease,
    box-shadow 250ms ease;
}

.achievement-photo:hover,
.achievement-photo:focus-visible {
  z-index: 2;
  border-color: rgba(35, 169, 224, 0.75);
  box-shadow: 0 1.5rem 3rem rgba(0, 0, 0, 0.3);
  transform: rotate(0) translateY(-0.65rem) scale(1.015) !important;
}

.achievement-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.78) contrast(1.08);
  transition: transform 700ms var(--ease), filter 400ms ease;
}

.achievement-photo:hover img,
.achievement-photo:focus-visible img {
  filter: saturate(1) contrast(1.05);
  transform: scale(1.07);
}

.achievement-photo::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 35%, rgba(3, 5, 8, 0.88));
  content: "";
}

.achievement-photo-overlay {
  position: absolute;
  right: 0.8rem;
  bottom: 0.8rem;
  left: 0.8rem;
  z-index: 1;
  display: grid;
  gap: 0.35rem;
}

.achievement-photo-overlay small {
  color: rgba(128, 220, 255, 0.85);
  font-size: 0.58rem;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.achievement-photo-overlay strong {
  max-width: 15rem;
  color: white;
  font-size: 0.88rem;
  line-height: 1.25;
}

.achievement-photo-open {
  color: rgba(255, 255, 255, 0.52);
  font-size: 0.67rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.archive-dialog {
  width: min(92vw, 72rem);
  max-height: 92vh;
  padding: 0;
  overflow: hidden;
  border: 1px solid var(--line-strong);
  border-radius: 1rem;
  background: #06080d;
  color: var(--white);
  box-shadow: 0 45px 130px rgba(0, 0, 0, 0.75);
}

.archive-dialog::backdrop {
  background: rgba(3, 5, 8, 0.86);
  backdrop-filter: blur(12px);
}

.archive-dialog-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.85rem 1rem;
  border-bottom: 1px solid var(--line);
}

.archive-dialog-bar > div {
  display: flex;
  align-items: center;
  gap: 0.7rem;
}

.archive-dialog-bar p {
  margin: 0;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.archive-dialog-bar button {
  min-height: 2.5rem;
  padding: 0 0.8rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
}

.archive-dialog-bar button:hover,
.archive-dialog-bar button:focus-visible {
  border-color: var(--red);
  color: var(--white);
}

.archive-dialog-content {
  display: grid;
  place-items: center;
  gap: 0.9rem;
  padding: 1rem;
}

.archive-dialog-content img {
  display: block;
  width: 100%;
  max-height: 76vh;
  object-fit: contain;
  border-radius: 0.65rem;
  background: #020305;
}

.archive-dialog-content p {
  width: 100%;
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
}

@keyframes archive-pop {
  from {
    opacity: 0;
    transform: translateY(0.8rem);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes achievement-album-scroll {
  to {
    transform: translateX(calc(-50% - 0.5rem));
  }
}

.eurobot-stage {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(20rem, 0.85fr);
  gap: clamp(3rem, 7vw, 8rem);
  align-items: center;
}

.eurobot-media {
  position: relative;
  min-height: 42rem;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 1.5rem;
  background: #0b0d0c;
}

.eurobot-media::after {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to top, rgba(6, 8, 13, 0.95), transparent 60%),
    linear-gradient(120deg, rgba(238, 32, 40, 0.12), transparent 40%);
  content: "";
}

.eurobot-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.74) contrast(1.12);
}

.eurobot-label {
  position: absolute;
  right: -0.1em;
  bottom: -0.12em;
  z-index: 2;
  color: rgba(255, 255, 255, 0.08);
  font-family: var(--display);
  font-size: clamp(4.5rem, 10vw, 11rem);
  font-weight: 700;
  letter-spacing: -0.08em;
  line-height: 1;
}

.telemetry {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  left: 1.25rem;
  z-index: 3;
  display: flex;
  justify-content: space-between;
  color: rgba(255, 255, 255, 0.66);
  font-family: var(--display);
  font-size: 0.62rem;
  letter-spacing: 0.12em;
}

.telemetry span:first-child::before {
  display: inline-block;
  width: 0.4rem;
  height: 0.4rem;
  margin-right: 0.5rem;
  border-radius: 50%;
  background: #4cffb2;
  box-shadow: 0 0 12px #4cffb2;
  content: "";
}

.eurobot-copy h2 {
  font-size: clamp(3.4rem, 5.4vw, 6rem);
}

.eurobot-copy > p:not(.eyebrow) {
  margin: 1.4rem 0 0;
  color: var(--muted);
  font-size: clamp(0.98rem, 1.25vw, 1.1rem);
  line-height: 1.85;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 1.4rem;
  margin-top: 2.25rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--red);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.text-link span {
  color: var(--red);
  font-size: 1.1rem;
}

.event-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem;
  perspective: 1200px;
}

.event-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 1.5rem;
  background: rgba(13, 20, 32, 0.88);
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.24);
  transform: rotateY(var(--tilt-x, 0deg)) rotateX(var(--tilt-y, 0deg));
  transform-style: preserve-3d;
  transition:
    transform 180ms ease-out,
    border-color 300ms ease;
}

.event-card:hover {
  border-color: rgba(255, 255, 255, 0.26);
}

.event-image {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
}

.event-image::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, var(--panel), transparent 55%);
  content: "";
}

.event-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.72) contrast(1.1);
  transition: transform 900ms var(--ease);
}

.event-card:hover .event-image img {
  transform: scale(1.055);
}

.event-index {
  position: absolute;
  top: 1.2rem;
  left: 1.2rem;
  z-index: 2;
  padding: 0.5rem 0.7rem;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  background: rgba(6, 8, 13, 0.6);
  font-family: var(--display);
  font-size: 0.62rem;
  letter-spacing: 0.12em;
  backdrop-filter: blur(8px);
}

.event-content {
  display: grid;
  grid-template-rows: auto 1fr auto;
  min-height: 24rem;
  padding: clamp(1.5rem, 3vw, 2.8rem);
}

.event-content h3 {
  margin: 0.75rem 0 0;
  font-family: var(--display);
  font-size: clamp(2.5rem, 4vw, 4.6rem);
  font-weight: 600;
  letter-spacing: -0.06em;
}

.event-content > p {
  margin: 1.5rem 0;
  color: var(--muted);
  line-height: 1.8;
}

.event-action {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 3.75rem;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.event-action i {
  display: grid;
  place-items: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  background: var(--red);
  font-style: normal;
  transition: transform 300ms var(--ease);
}

.event-action:hover i {
  transform: rotate(45deg);
}

.team-roster {
  display: grid;
  gap: clamp(4.5rem, 9vw, 8rem);
}

.team-group {
  position: relative;
}

.team-group-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.4rem;
}

.team-group-heading p,
.team-group-heading span {
  margin: 0;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.team-group-heading p {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  color: var(--white);
}

.team-group-heading p::before {
  width: 2.7rem;
  height: 1px;
  background: linear-gradient(90deg, var(--red), var(--blue-bright));
  content: "";
}

.team-group-heading span {
  color: var(--muted);
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(0.8rem, 1.5vw, 1.25rem);
}

.team-grid-featured {
  grid-template-columns: minmax(0, 1.35fr) minmax(18rem, 0.65fr);
  grid-template-rows: repeat(2, minmax(15rem, 1fr));
}

.team-group-1 .person-card:last-child:nth-child(odd) {
  grid-column: 1 / -1;
  grid-template-columns: minmax(12rem, 0.28fr) minmax(0, 0.72fr);
}

.person-card {
  position: relative;
  display: grid;
  grid-template-columns: minmax(9rem, 0.42fr) minmax(0, 0.58fr);
  min-height: 17rem;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 0.35rem 1.2rem 1.2rem 1.2rem;
  background:
    linear-gradient(135deg, rgba(35, 169, 224, 0.08), transparent 42%),
    var(--panel);
  transition: border-color 300ms ease, transform 400ms var(--ease);
}

.team-grid-featured .person-card-lead {
  grid-row: 1 / 3;
  grid-template-columns: 1fr;
  min-height: 38rem;
}

.person-card::before {
  position: absolute;
  inset: 0;
  z-index: 2;
  background:
    linear-gradient(90deg, transparent 24%, rgba(6, 8, 13, 0.18) 47%, rgba(6, 8, 13, 0.96) 70%),
    linear-gradient(130deg, transparent 55%, rgba(238, 32, 40, 0.1));
  content: "";
  transition: background 400ms ease;
}

.person-card-lead::before {
  background:
    linear-gradient(to top, rgba(6, 8, 13, 0.98), transparent 58%),
    linear-gradient(130deg, transparent 55%, rgba(238, 32, 40, 0.14));
}

.person-card::after {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  z-index: 3;
  width: 2px;
  background: linear-gradient(var(--red), var(--blue-bright));
  content: "";
  transform: scaleY(0);
  transform-origin: bottom;
  transition: transform 500ms var(--ease);
}

.person-card:hover::after {
  transform: scaleY(1);
}

.person-card:hover {
  border-color: rgba(255, 255, 255, 0.28);
  transform: translateY(-0.3rem);
}

.person-card img {
  width: 100%;
  height: 100%;
  min-height: 0;
  object-fit: cover;
  object-position: center top;
  filter: grayscale(0.92) contrast(1.06);
  transition:
    filter 450ms ease,
    transform 800ms var(--ease);
}

.person-card:hover img {
  filter: grayscale(0.15) contrast(1.04);
  transform: scale(1.045);
}

.person-meta {
  position: relative;
  z-index: 4;
  display: flex;
  align-items: flex-start;
  flex-direction: column;
  justify-content: flex-end;
  min-width: 0;
  padding: clamp(1.1rem, 2vw, 1.7rem);
}

.person-card-lead .person-meta {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  padding: clamp(1.5rem, 3vw, 2.4rem);
}

.person-meta span {
  display: inline-grid;
  place-items: center;
  width: 2rem;
  height: 2rem;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 50%;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.person-meta h3 {
  margin: auto 0 0;
  font-family: var(--display);
  font-size: clamp(1.35rem, 2vw, 1.8rem);
  font-weight: 600;
  letter-spacing: -0.04em;
}

.person-card-lead .person-meta h3 {
  margin-top: 1.2rem;
  font-size: clamp(2.1rem, 4vw, 3.6rem);
}

.person-meta p {
  margin: 0.4rem 0 0;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.78rem;
  line-height: 1.5;
}

.person-card-lead .person-meta p {
  color: var(--blue-bright);
  font-size: 0.86rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.closing {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 92svh;
  padding: var(--section-space) var(--gutter);
  overflow: hidden;
  text-align: center;
  background:
    radial-gradient(circle at 50% 50%, rgba(12, 112, 183, 0.18), transparent 28rem),
    radial-gradient(circle at 58% 46%, rgba(238, 32, 40, 0.12), transparent 20rem);
}

.closing::before,
.closing::after {
  position: absolute;
  border: 1px solid var(--line);
  border-radius: 50%;
  content: "";
}

.closing::before {
  width: min(80vw, 65rem);
  height: min(80vw, 65rem);
}

.closing::after {
  width: min(56vw, 44rem);
  height: min(56vw, 44rem);
  border-color: rgba(238, 32, 40, 0.18);
}

.closing-orbit {
  position: absolute;
  width: min(68vw, 54rem);
  height: min(68vw, 54rem);
  border-top: 1px solid var(--blue-bright);
  border-right: 1px solid transparent;
  border-bottom: 1px solid var(--red);
  border-left: 1px solid transparent;
  border-radius: 50%;
  animation: orbit-spin 18s linear infinite;
}

.closing-copy {
  position: relative;
  z-index: 3;
  display: grid;
  justify-items: center;
  max-width: 66rem;
}

.closing h2 {
  font-size: clamp(4rem, 10vw, 10rem);
  line-height: 0.82;
}

.closing h2 span {
  display: block;
  color: transparent;
  -webkit-text-stroke: 1px rgba(238, 32, 40, 0.8);
}

.closing-copy > p:not(.eyebrow) {
  max-width: 40rem;
  margin: 2rem auto;
  color: var(--muted);
  font-size: clamp(1rem, 1.4vw, 1.2rem);
  line-height: 1.8;
}

.site-footer {
  border-top: 1px solid var(--line);
  background: #040609;
}

.footer-main,
.footer-bottom {
  width: min(calc(100% - (var(--gutter) * 2)), var(--max));
  margin: 0 auto;
}

.footer-main {
  display: grid;
  grid-template-columns: 1fr 1fr auto;
  gap: 4rem;
  padding: 5rem 0;
}

.footer-brand img {
  width: min(14rem, 100%);
  height: 4rem;
  object-fit: cover;
  object-position: center 46%;
}

.footer-brand p {
  margin: 1.2rem 0 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.footer-main nav {
  display: grid;
  grid-template-columns: repeat(2, minmax(7rem, 1fr));
  gap: 3rem;
}

.footer-main nav div {
  display: grid;
  align-content: start;
  gap: 0.75rem;
}

.footer-main nav p {
  margin: 0 0 0.5rem;
  color: rgba(255, 255, 255, 0.42);
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.footer-main nav a {
  width: fit-content;
  color: var(--muted);
  font-size: 0.88rem;
  transition: color 180ms ease;
}

.footer-main nav a:hover {
  color: var(--white);
}

.footer-socials {
  display: flex;
  gap: 0.65rem;
}

.footer-socials a {
  display: grid;
  place-items: center;
  width: 3rem;
  height: 3rem;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--muted);
  font-family: var(--display);
  font-size: 0.66rem;
  font-weight: 700;
  transition:
    color 200ms ease,
    border-color 200ms ease,
    background 200ms ease;
}

.footer-socials a:hover {
  border-color: var(--red);
  background: var(--red);
  color: white;
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.5rem 0;
  border-top: 1px solid var(--line);
  color: rgba(255, 255, 255, 0.45);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.creator-credit {
  color: rgba(255, 255, 255, 0.62);
}

.footer-bottom button {
  padding: 0;
  border: 0;
  background: none;
  color: inherit;
  text-transform: uppercase;
  cursor: pointer;
}

.reel-dialog {
  width: min(92vw, 74rem);
  padding: 0;
  overflow: hidden;
  border: 1px solid var(--line-strong);
  border-radius: 1.25rem;
  background: #05070b;
  color: var(--white);
  box-shadow: 0 45px 130px rgba(0, 0, 0, 0.75);
}

.reel-dialog::backdrop {
  background: rgba(3, 5, 8, 0.86);
  backdrop-filter: blur(12px);
}

.reel-dialog-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 4rem;
  padding: 0 1.25rem;
  border-bottom: 1px solid var(--line);
}

.reel-dialog-bar div {
  display: flex;
  align-items: center;
  gap: 0.7rem;
}

.reel-dialog-bar p {
  margin: 0;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.reel-dialog-bar button {
  min-height: 2.5rem;
  padding: 0 0.8rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: transparent;
  color: var(--muted);
  font-size: 0.72rem;
  cursor: pointer;
}

.reel-dialog video {
  width: 100%;
  max-height: 78vh;
  background: black;
}

.noscript-note {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  left: 1rem;
  z-index: 2000;
  padding: 1rem;
  border: 1px solid var(--red);
  border-radius: 0.75rem;
  background: var(--panel);
  color: var(--white);
  text-align: center;
}

.js [data-reveal] {
  opacity: 0;
  transform: translateY(2.5rem);
  transition:
    opacity 800ms var(--ease),
    transform 800ms var(--ease);
  transition-delay: var(--reveal-delay, 0ms);
}

.js [data-reveal].is-revealed {
  opacity: 1;
  transform: translateY(0);
}

@keyframes signal {
  70% {
    box-shadow: 0 0 0 0.65rem rgba(238, 32, 40, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(238, 32, 40, 0);
  }
}

@keyframes glow-drift {
  to {
    transform: translate3d(3rem, 2rem, 0) scale(1.15);
  }
}

@keyframes scan {
  0%,
  100% {
    top: 6%;
    opacity: 0;
  }
  12%,
  82% {
    opacity: 0.75;
  }
  90% {
    top: 94%;
    opacity: 0;
  }
}

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

@keyframes cue-slide {
  from {
    transform: translateX(-110%);
  }
  to {
    transform: translateX(110%);
  }
}

@keyframes marquee {
  to {
    transform: translateX(-50%);
  }
}

@keyframes gallery-scroll {
  to {
    transform: translateX(calc(-50% - 0.5rem));
  }
}

@media (max-width: 1120px) {
  .site-header {
    grid-template-columns: 1fr auto;
  }

  .desktop-nav {
    display: none;
  }

  .menu-toggle {
    display: block;
  }

  .hero {
    grid-template-columns: 1fr minmax(22rem, 0.72fr);
  }

  .team-grid-featured {
    grid-template-columns: minmax(0, 1.2fr) minmax(17rem, 0.8fr);
  }
}

@media (max-width: 900px) {
  .hero {
    grid-template-columns: 1fr;
    gap: 5rem;
    min-height: auto;
    padding-top: 9rem;
    padding-bottom: 8rem;
  }

  .hero-copy {
    max-width: 48rem;
  }

  .hero-visual {
    justify-self: center;
    width: min(88%, 26rem);
  }

  .scroll-cue {
    display: none;
  }

  .intro-layout,
  .section-heading-row,
  .eurobot-stage,
  .achievement-group-heading {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .section-intro {
    max-width: 45rem;
  }

  .axis-panel {
    position: relative;
    top: auto !important;
    grid-template-columns: 1fr;
  }

  .axis-media {
    min-height: 27rem;
  }

  .axis-media::after,
  .axis-aeronautics .axis-media::after {
    background: linear-gradient(to top, var(--panel) 0%, transparent 58%);
  }

  .axis-aeronautics .axis-media::after {
    background: linear-gradient(to top, #0a1726 0%, transparent 58%);
  }

  .axis-content {
    margin-top: -6rem;
    padding-top: 6rem;
  }

  .eurobot-media {
    min-height: 35rem;
  }

  .achievement-group-heading {
    gap: 1rem;
  }

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

  .footer-main {
    grid-template-columns: 1fr 1fr;
  }

  .footer-socials {
    grid-column: 1 / -1;
  }

  .flagship-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  :root {
    --gutter: 1.15rem;
    --section-space: 6.5rem;
  }

  .site-header {
    min-height: 4.6rem;
  }

  .brand {
    width: 8.8rem;
  }

  .brand img {
    height: 2.5rem;
  }

  .header-platform {
    display: none;
  }

  .mobile-menu-meta {
    flex-direction: column;
  }

  .hero {
    padding-top: 7.5rem;
  }

  .hero h1 {
    max-width: 100%;
    font-size: clamp(3.25rem, 15.5vw, 5.8rem);
    letter-spacing: -0.08em;
  }

  .hero-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .hero-visual {
    width: min(95%, 26rem);
  }

  .hero-orbit {
    right: -2rem;
    width: 7rem;
    height: 7rem;
  }

  .visual-caption {
    align-items: flex-start;
    flex-direction: column;
  }

  .kinetic-track i {
    margin: 0 1.5rem;
  }

  .section-marker {
    grid-template-columns: 2.6rem 1fr;
    margin-bottom: 3.5rem;
  }

  .section-marker::after {
    margin-left: 8rem;
  }

  .section-marker span {
    width: 2.5rem;
    height: 2.5rem;
  }

  .intro-heading h2,
  .section-heading-row h2,
  .eurobot-copy h2 {
    font-size: clamp(3rem, 14vw, 4.7rem);
  }

  .intro-facts,
  .event-grid {
    grid-template-columns: 1fr;
  }

  .achievement-toolbar {
    align-items: flex-start;
    flex-direction: column;
  }

  .achievement-count {
    order: -1;
  }

  .fact-card {
    min-height: 14rem;
  }

  .fact-card strong {
    margin-bottom: 2.7rem;
  }

  .axis-media {
    min-height: 20rem;
  }

  .axis-content h3 {
    font-size: 3.9rem;
  }

  .memory-card {
    width: 18rem;
  }

  .achievement-photo {
    width: 16rem;
  }

  .eurobot-media {
    min-height: 28rem;
  }

  .event-content {
    min-height: 22rem;
  }

  .team-grid {
    grid-template-columns: 1fr;
  }

  .team-grid-featured {
    grid-template-rows: auto;
  }

  .team-grid-featured .person-card-lead {
    grid-row: auto;
    min-height: 34rem;
  }

  .team-group-1 .person-card:last-child:nth-child(odd) {
    grid-column: auto;
    grid-template-columns: minmax(9rem, 0.42fr) minmax(0, 0.58fr);
  }

  .person-card {
    min-height: 17rem;
  }

  .closing {
    min-height: 82svh;
  }

  .closing::before {
    width: 110vw;
    height: 110vw;
  }

  .closing::after {
    width: 78vw;
    height: 78vw;
  }

  .closing-orbit {
    width: 94vw;
    height: 94vw;
  }

  .footer-main {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .footer-main nav {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-socials {
    grid-column: auto;
  }

  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
  }

  .flagship-content {
    align-items: flex-start;
  }

  .flagship-content h3 {
    font-size: clamp(3rem, 15vw, 4.5rem);
  }

  .flagship-arrow {
    width: 3rem;
    height: 3rem;
  }

}

@media (max-width: 420px) {
  .hero h1 {
    font-size: 3.15rem;
  }

  .hero-image-frame {
    border-radius: 1rem 1rem 5rem 1rem;
  }

  .person-card {
    grid-template-columns: 1fr;
    min-height: 30rem;
  }

  .team-group-1 .person-card:last-child:nth-child(odd) {
    grid-template-columns: 1fr;
  }

  .person-card::before {
    background:
      linear-gradient(to top, rgba(6, 8, 13, 0.98), transparent 58%),
      linear-gradient(130deg, transparent 55%, rgba(238, 32, 40, 0.12));
  }

  .person-meta {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
  }

  .person-meta h3 {
    margin-top: 1rem;
  }
}

@media (hover: none) {
  .pointer-aura {
    display: none;
  }
}

.results-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 1rem;
  margin: 2.5rem 0 4rem;
  perspective: 1200px;
}
.result-card {
  position: relative;
  grid-column: span 3;
  min-width: 0;
  overflow: hidden;
  padding: clamp(1.5rem, 3vw, 3rem);
  border: 1px solid var(--line);
  border-radius: 1.25rem;
  background: linear-gradient(140deg, #131d2b, #080c13);
  transform: rotateY(var(--tilt-x, 0deg)) rotateX(var(--tilt-y, 0deg));
  transition: border-color 250ms, transform 180ms ease-out;
}
.result-card:hover { border-color: var(--red); }
.result-card > :not(.result-orbit) { position: relative; z-index: 1; }
.result-world { background: radial-gradient(ellipse at 90% 65%, #49111b, #100d16 70%); }
.result-compact { grid-column: span 2; }
.result-rank { display: block; margin: 1.7rem 0 1rem; font: 700 clamp(5rem, 9vw, 8rem)/0.9 var(--display); letter-spacing: -0.07em; }
.result-rank > span { font-size: 0.32em; vertical-align: super; color: var(--red); letter-spacing: -0.03em; }
.result-rank > i { font-size: 0.3em; font-style: normal; color: var(--cyan); letter-spacing: -0.03em; }
.result-compact .result-rank { font-size: 4.5rem; }
.result-card h3 { margin: 1.5rem 0 0.7rem; font: 600 clamp(1.2rem, 2vw, 1.8rem)/1.2 var(--display); }
.result-card p { color: var(--muted); line-height: 1.8; }
.result-card p strong { color: var(--white); font-weight: 500; }
.result-link { display: flex; justify-content: space-between; margin-top: 2rem; font-size: 0.8rem; }
.result-link > span { color: var(--red); transition: transform 250ms; }
.result-card:hover .result-link > span { transform: translate(3px, -3px); }
.result-orbit { position: absolute; right: -4rem; top: 10%; width: 20rem; height: 20rem; border: 1px solid #ee202840; border-radius: 50%; animation: orbit-spin 20s linear infinite; }
.result-orbit::after { content: ""; position: absolute; top: 50%; left: -4px; width: 8px; height: 8px; background: var(--red); border-radius: 50%; box-shadow: 0 0 25px var(--red); }
.event-coming { display: flex; align-items: center; gap: 0.65rem; color: var(--cyan); font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.09em; }
.event-coming > span { width: 7px; height: 7px; flex-shrink: 0; border-radius: 50%; background: currentColor; animation: event-beacon 2.5s ease-out infinite; }
@keyframes event-beacon { 0% { box-shadow: 0 0 0 0 #80dcff70; } 100% { box-shadow: 0 0 0 12px #80dcff00; } }
.join-section { grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); align-items: start; gap: clamp(2rem, 5vw, 6rem); text-align: left; scroll-margin-top: 6rem; }
.join-section .closing-copy { justify-items: start; padding-top: 2rem; }
.join-section h2 { font-size: clamp(3.2rem, 6.6vw, 7rem); line-height: 0.95; }
.join-section .closing-copy > p { margin-left: 0; }
.join-section::before, .join-section::after, .join-section .closing-orbit { pointer-events: none; }
.join-engine { position: relative; display: grid; place-items: center; width: 16rem; height: 16rem; max-width: 100%; margin-top: 1rem; }
.join-engine > span { position: absolute; inset: 0; border: 1px solid var(--line); border-top-color: var(--red); border-radius: 50%; animation: orbit-spin 14s linear infinite; }
.join-engine > span::after { content: ""; position: absolute; left: 50%; top: -4px; width: 7px; height: 7px; border-radius: 50%; background: var(--red); box-shadow: 0 0 18px currentColor; }
.join-engine > span:nth-child(2) { inset: 1.6rem; border-top-color: var(--blue-bright); animation-direction: reverse; animation-duration: 10s; }
.join-engine > span:nth-child(2)::after { background: var(--blue-bright); }
.join-engine > span:nth-child(3) { inset: 3.2rem; border-style: dashed; animation-duration: 28s; }
.join-engine b { text-align: center; font: 600 1rem/1.3 var(--display); letter-spacing: -0.05em; }
.join-form { position: relative; z-index: 3; width: 100%; padding: clamp(1.25rem, 3vw, 2.75rem); border: 1px solid var(--line-strong); border-radius: 1.5rem; background: linear-gradient(145deg, #111823f5, #080b12fa); box-shadow: 0 30px 90px #0005; scroll-margin-top: 6rem; }
.join-form-heading { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.join-form h3 { font: 500 clamp(1.6rem, 3vw, 2.5rem)/1.15 var(--display); margin: 0.5rem 0 1.5rem; }
.join-progress-label { color: var(--muted); font-size: 0.7rem; white-space: nowrap; }
.join-progress { display: block; appearance: none; border: 0; width: 100%; height: 3px; margin-bottom: 1rem; background: #ffffff12; }
.join-progress::-webkit-progress-bar { background: #ffffff12; }
.join-progress::-webkit-progress-value { background: linear-gradient(90deg, var(--red), var(--blue-bright)); transition: width 500ms var(--ease); }
.join-progress::-moz-progress-bar { background: var(--red); }
.join-form fieldset { border: 0; padding: 0; margin: 1.5rem 0 0; min-width: 0; }
.join-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.25rem; }
.join-fields label { display: flex; flex-direction: column; gap: 0.6rem; min-width: 0; color: #e1e6ee; font-size: 0.8rem; line-height: 1.4; }
.join-fields label > span { display: contents; }
.join-wide { grid-column: 1 / -1; }
.join-fields input, .join-fields select, .join-fields textarea { width: 100%; min-width: 0; padding: 0.9rem; border: 1px solid var(--line); border-radius: 0.55rem; background: #070b12; color: var(--white); font: 400 1rem/1.4 var(--body); transition: border-color 200ms, box-shadow 200ms, background 200ms; }
.join-fields textarea { resize: vertical; }
.join-fields input:focus, .join-fields select:focus, .join-fields textarea:focus { outline: 2px solid var(--blue-bright); outline-offset: 2px; border-color: var(--blue-bright); background: #101a29; box-shadow: 0 0 25px #23a9e015; }
.join-fields input::placeholder, .join-fields textarea::placeholder { color: #7d899a; }
.join-form .form-hint { color: var(--muted); font-size: 0.75rem; line-height: 1.7; }
.join-form fieldset > .form-hint { margin: 1.5rem 0; }
.form-hint a { text-decoration: underline; text-underline-offset: 3px; }
.join-submit { width: 100%; justify-content: space-between; }
.join-form [disabled] { opacity: 0.65; cursor: wait; }
.join-status { margin: 1rem 0; font-size: 0.9rem; line-height: 1.6; }
.join-status:empty { display: none; }
.join-form[data-state="error"] .join-status { color: #ffb8bb; }
.join-form[data-state="success"] .join-status { color: var(--cyan); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
@media (max-width: 900px) {
  .join-section { grid-template-columns: 1fr; }
  .join-section .closing-copy { width: 100%; }
  .join-engine { width: 10rem; height: 10rem; }
  .result-card { grid-column: span 3; }
  .result-card:last-child { grid-column: 1 / -1; }
}
@media (max-width: 560px) {
  .results-grid { grid-template-columns: 1fr; }
  .result-card, .result-card:last-child { grid-column: auto; }
  .join-fields { grid-template-columns: 1fr; }
  .join-form-heading { align-items: flex-start; flex-direction: column; gap: 0; }
  .join-progress-label { margin-bottom: 1rem; }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .js [data-reveal] {
    opacity: 1;
    transform: none;
  }

  .gallery-track,
  .kinetic-track,
  .achievement-groups {
    animation: none;
  }

  .gallery-viewport {
    overflow-x: auto;
    mask-image: none;
  }

  .achievement-groups {
    width: max-content;
    max-width: 100%;
    overflow-x: auto;
  }
}
