:root {
  /* Logo-Farben */
  --logo-navy: #0b1f3a;
  --logo-purple: #4d1056;
  --logo-orange: #ff6b1a;
  --logo-blue: #1e5aa8;
  --logo-light: #f5f7fa;
  --logo-gray: #a9b4c2;
  --logo-dots:
    radial-gradient(circle at 5px 5px, #2c55a2 4px, transparent 4.5px),
    radial-gradient(circle at 17px 5px, #b5213a 4px, transparent 4.5px),
    radial-gradient(circle at 29px 5px, #c77214 4px, transparent 4.5px),
    radial-gradient(circle at 41px 5px, #2a8a3a 4px, transparent 4.5px);

  --navy: #0b1f3a;
  --brand: #0b1f3a;
  --header-bg: #0b1f3a;
  --ink: #000000;
  --line: #c9ced6;
  --rule: #0b1f3a;
  --paper: #ffffff;
  --wash: #f5f7fa;
  --accent: #ff6b1a;
  --accent-dark: #c2500f;
  --link: #1e5aa8;
  --purple: #4d1056;
  --dot-green: #005300;
  --dot-amber: #c77214;
  --dot-red: #b5213a;
  --dot-blue: #2c55a2;
  --deep: #0b1f3a;
  --deep-2: #071528;
  --on-deep: #ffffff;
  --on-deep-accent: #ff6b1a;
  --button-shadow: #ff6b1a;
  --hard-shadow: #0b1f3a;
  --font-display: Bahnschrift, "DIN Alternate", "Helvetica Neue", "Segoe UI", Inter, system-ui, sans-serif;
  --radius-hand: 5px 9px 6px 10px / 9px 5px 10px 6px;
  --radius-hand-sm: 3px 6px 4px 7px / 6px 3px 7px 4px;
  --width: 1240px;
}

:root[data-theme="dark"] {
  color-scheme: dark;
  --navy: #ffffff;
  --brand: #ff6b1a;
  --header-bg: #071528;
  --ink: #ffffff;
  --line: #2b4062;
  --rule: #a9b4c2;
  --paper: #0b1f3a;
  --wash: #0f2747;
  --accent: #ff6b1a;
  --accent-dark: #ff8c4d;
  --link: #8db4f0;
  --dot-green: #5fb36a;
  --dot-amber: #f0a050;
  --dot-red: #ef6b80;
  --dot-blue: #7fa6e8;
  --deep: #071528;
  --deep-2: #040e1c;
  --button-shadow: #1e5aa8;
  --hard-shadow: #040e1c;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
}

body {
  position: relative;
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font: 16px/1.65 Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

body::after {
  position: fixed;
  z-index: 50;
  content: "";
  inset: 0;
  pointer-events: none;
  background: url("deco-grain.svg") repeat;
  opacity: .13;
  mix-blend-mode: multiply;
}

a {
  color: var(--link);
  text-underline-offset: .2em;
  text-decoration-thickness: 1.5px;
}

a:hover {
  color: var(--accent-dark);
}

button, input, textarea {
  font: inherit;
}

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

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 60;
  padding: .75rem 1rem;
  color: #000;
  background: white;
}

.skip-link:focus {
  left: 1rem;
  top: 1rem;
}

.container {
  width: min(calc(100% - 2.5rem), var(--width));
  margin-inline: auto;
}

/* Header */

.site-header {
  position: sticky;
  z-index: 10;
  top: 0;
  color: white;
  background: var(--header-bg);
  border-bottom: 2px solid var(--logo-orange);
}

.header-inner {
  min-height: 84px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.header-controls {
  display: flex;
  align-items: center;
  gap: .5rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: .85rem;
  color: white;
  text-decoration: none;
  font: 700 1rem/1 var(--font-display);
  letter-spacing: .16em;
  text-transform: uppercase;
}

.brand:hover {
  color: white;
}

.logo-frame {
  display: inline-flex;
  padding: 3px;
  border-radius: 50%;
  background: var(--logo-light);
  outline: 1.5px dashed var(--logo-orange);
  outline-offset: 3px;
}

.site-logo {
  display: block;
  width: 52px;
  height: auto;
  border-radius: 50%;
}

.footer-logo {
  width: 62px;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: .1rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.nav-list a {
  position: relative;
  display: block;
  padding: .75rem .85rem;
  color: white;
  text-decoration: none;
  font: 600 .8rem/1.2 var(--font-display);
  letter-spacing: .12em;
  text-transform: uppercase;
}

.nav-list a::after {
  position: absolute;
  content: "";
  left: .7rem;
  right: .7rem;
  bottom: .1rem;
  height: 7px;
  background: var(--logo-orange);
  -webkit-mask: url("deco-stroke.svg") no-repeat center / 100% 100%;
  mask: url("deco-stroke.svg") no-repeat center / 100% 100%;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .25s ease;
}

.nav-list a:hover::after, .nav-list a[aria-current="page"]::after {
  transform: scaleX(1);
}

.nav-list .nav-contact {
  margin-left: .6rem;
  padding: .8rem 1.15rem;
  border: 2px solid var(--logo-orange);
  border-radius: var(--radius-hand-sm);
  color: var(--logo-navy);
  background: var(--logo-orange);
  font-weight: 700;
  transition: transform .15s ease, box-shadow .15s ease;
}

.nav-list .nav-contact::after {
  display: none;
}

.nav-list .nav-contact:hover, .nav-list .nav-contact[aria-current="page"] {
  color: var(--logo-navy);
  box-shadow: 3px 3px 0 var(--logo-light);
  transform: translate(-2px, -2px);
}

.menu-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: 2px solid var(--logo-light);
  border-radius: var(--radius-hand-sm);
  color: white;
  background: transparent;
  font-size: 1.15rem;
  cursor: pointer;
}

.theme-nav-item {
  order: 1;
  display: flex;
  align-items: center;
  gap: .4rem;
  margin-left: .9rem;
  padding-left: .9rem;
  border-left: 1.5px dashed rgba(245,247,250,.45);
}

.theme-toggle, .language-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  padding: 0;
  border: 1.5px solid rgba(245,247,250,.6);
  border-radius: var(--radius-hand-sm);
  color: white;
  background: transparent;
  cursor: pointer;
  transition: border-color .2s ease, color .2s ease;
}

.theme-toggle {
  font-size: 1.05rem;
}

.language-toggle {
  font: 700 .72rem/1 var(--font-display);
  letter-spacing: .08em;
}

.theme-toggle:hover, .language-toggle:hover {
  border-color: var(--logo-orange);
  color: var(--logo-orange);
}

main {
  min-height: 60vh;
  counter-reset: section;
}

/* Typography */

h1, h2, h3 {
  color: var(--navy);
  font-family: var(--font-display);
}

h1 {
  max-width: 840px;
  margin: 0 0 1.3rem;
  font-size: clamp(2.4rem, 4.6vw, 4rem);
  font-weight: 700;
  line-height: 1.06;
  letter-spacing: -.012em;
}

h2 {
  margin: 0 0 1rem;
  font-size: clamp(1.9rem, 3.2vw, 2.75rem);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -.008em;
}

h3 {
  margin: 0 0 .6rem;
  font-size: 1.3rem;
  font-weight: 600;
  line-height: 1.25;
}

.scribble {
  padding-bottom: .1em;
  background: url("deco-underline.svg") no-repeat left bottom / 100% .32em;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}

.eyebrow {
  margin: 0 0 1rem;
  color: var(--accent-dark);
  font: 700 .78rem/1.4 var(--font-display);
  letter-spacing: .16em;
  text-transform: uppercase;
}

.section-label {
  display: flex;
  align-items: center;
  gap: .65rem;
  width: fit-content;
  color: var(--navy);
}

.section-label::before {
  counter-increment: section;
  content: "[" counter(section, decimal-leading-zero) "]";
  color: var(--accent-dark);
}

.section-label::after {
  content: "";
  width: 3rem;
  height: .6rem;
  background: var(--accent);
  -webkit-mask: url("deco-stroke.svg") no-repeat center / 100% 100%;
  mask: url("deco-stroke.svg") no-repeat center / 100% 100%;
}

.section-label.type-ready {
  clip-path: inset(0 100% 0 0);
}

.section-label.type-ready.is-typed {
  animation: type-in 1.1s steps(26, end) forwards;
}

@keyframes type-in {
  to {
    clip-path: inset(-.5rem -1rem -.5rem 0);
  }
}

.lead {
  max-width: 680px;
  color: var(--ink);
  font-size: clamp(1.08rem, 2vw, 1.25rem);
}

/* Buttons and links */

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1.1rem;
  margin-top: 2rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  min-height: 50px;
  padding: .8rem 1.3rem;
  border: 2px solid var(--brand);
  border-radius: var(--radius-hand-sm);
  color: white;
  background: var(--brand);
  box-shadow: 4px 4px 0 var(--button-shadow);
  text-decoration: none;
  font: 700 .82rem/1.2 var(--font-display);
  letter-spacing: .1em;
  text-transform: uppercase;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease;
}

a.button::after, .button[type="submit"]::after {
  content: "→";
  font-size: 1.1rem;
  letter-spacing: 0;
  transition: transform .2s ease;
}

.button:hover {
  color: white;
  box-shadow: 6px 6px 0 var(--button-shadow);
  transform: translate(-2px, -2px);
}

.button:active {
  box-shadow: 1px 1px 0 var(--button-shadow);
  transform: translate(3px, 3px);
}

.button:hover::after {
  transform: translateX(4px);
}

.button.secondary {
  color: var(--navy);
  background: var(--paper);
  box-shadow: 4px 4px 0 var(--rule);
}

.button.secondary:hover {
  color: var(--navy);
  box-shadow: 6px 6px 0 var(--rule);
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  color: var(--navy);
  font: 700 .8rem/1.2 var(--font-display);
  letter-spacing: .12em;
  text-transform: uppercase;
  text-decoration: none;
}

.text-link::after {
  content: "→";
  color: var(--accent-dark);
  font-size: 1rem;
  transition: transform .2s ease;
}

.text-link:hover {
  color: var(--accent-dark);
}

.text-link:hover::after {
  transform: translateX(4px);
}

/* Home masthead */

.home-video {
  background: var(--deep);
}

.video-placeholder {
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: flex-end;
  min-height: clamp(440px, 72vh, 760px);
  overflow: hidden;
  color: var(--on-deep);
  background: var(--deep);
}

.video-placeholder::before {
  position: absolute;
  z-index: -1;
  content: "";
  right: 2vw;
  top: 50%;
  width: min(58vw, 760px);
  aspect-ratio: 1;
  background: url("deco-mission.svg") no-repeat center / contain;
  transform: translateY(-46%) rotate(4deg);
}

.video-overlay {
  display: flex;
  align-items: flex-end;
  gap: 1.5rem;
  padding: 0 0 clamp(2.25rem, 6vw, 4.5rem);
}

.video-overlay > div {
  display: grid;
  gap: .9rem;
  max-width: 640px;
}

.video-overlay strong {
  color: white;
  font: 700 clamp(2.4rem, 6vw, 4.6rem)/1.02 var(--font-display);
  letter-spacing: -.015em;
}

.video-overlay span {
  color: white;
  font-size: clamp(1rem, 1.6vw, 1.15rem);
}

.video-play {
  display: grid;
  flex: 0 0 68px;
  place-items: center;
  width: 68px;
  height: 68px;
  padding-left: 4px;
  border: 2px solid var(--logo-light);
  border-radius: 50%;
  background: var(--logo-light);
  box-shadow: 4px 4px 0 var(--logo-orange);
}

.video-play::before {
  content: "";
  width: 18px;
  height: 21px;
  background: var(--logo-navy);
  clip-path: polygon(0 0, 100% 50%, 0 100%);
}

.video-tag {
  position: absolute;
  top: clamp(1.25rem, 3vw, 2rem);
  left: clamp(1.25rem, 3vw, 2rem);
  padding: .5rem .85rem;
  border-radius: var(--radius-hand-sm);
  color: var(--logo-navy);
  background: var(--logo-orange);
  font: 700 .74rem/1 var(--font-display);
  letter-spacing: .16em;
  text-transform: uppercase;
  transform: rotate(-3deg);
}

/* Hero */

.hero {
  position: relative;
  overflow: hidden;
  padding: clamp(4rem, 8vw, 7rem) 0;
}

.home-hero {
  padding: clamp(3.5rem, 7vw, 6rem) 0;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: stretch;
  gap: clamp(2rem, 5vw, 5rem);
}

.hero-grid > div {
  display: flex;
  flex-direction: column;
}

.hero-grid > div > .eyebrow {
  margin-bottom: auto;
}

.home-hero h1 {
  margin-top: 2.5rem;
  font-size: clamp(2.3rem, 4.2vw, 3.6rem);
}

.mission-image {
  position: relative;
  min-width: 0;
  margin: 0;
  border-radius: var(--radius-hand);
  background: var(--logo-navy);
  box-shadow: 7px 7px 0 var(--logo-purple);
}

.mission-image::after {
  position: absolute;
  z-index: 2;
  content: "";
  top: -14px;
  left: 50%;
  width: 120px;
  height: 30px;
  background: rgba(255,107,26,.82);
  clip-path: polygon(2% 8%, 98% 0, 100% 88%, 96% 100%, 4% 94%, 0 18%);
  transform: translateX(-50%) rotate(-4deg);
}

.mission-image-frame {
  position: relative;
  display: grid;
  place-items: center;
  height: 100%;
  min-height: 380px;
  overflow: hidden;
  border-radius: inherit;
  background: var(--logo-navy);
}

.mission-image-frame::before {
  position: absolute;
  content: "";
  right: 34px;
  top: 34px;
  width: 46px;
  height: 10px;
  background: var(--logo-dots);
}

.mission-image-frame::after {
  position: absolute;
  content: "";
  inset: 12px;
  border: 2px dashed rgba(245,247,250,.45);
  border-radius: var(--radius-hand);
  pointer-events: none;
}

.image-placeholder-label {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  margin-bottom: 3.5rem;
  padding: .65rem 1rem;
  border-radius: var(--radius-hand-sm);
  color: var(--logo-navy);
  background: var(--logo-light);
  font: 700 .8rem/1 var(--font-display);
  letter-spacing: .14em;
  text-transform: uppercase;
  transform: rotate(-2deg);
}

.image-placeholder-label > span {
  color: var(--logo-orange);
}

.mission-image figcaption {
  position: absolute;
  z-index: 1;
  left: 12px;
  right: 12px;
  bottom: 12px;
  padding: 1rem 1.25rem 1.1rem;
  border-top: 2px dashed rgba(245,247,250,.45);
  color: white;
  background: var(--logo-navy);
  font-size: .98rem;
}

/* Sections */

.section {
  padding: clamp(4rem, 8vw, 6.5rem) 0;
}

.section.soft {
  background: var(--wash);
  border-block: 2px solid var(--rule);
}

.section-heading {
  max-width: 780px;
  margin-bottom: 2.75rem;
}

.section-heading p:not(.eyebrow) {
  margin: 0;
  color: var(--ink);
  font-size: 1.08rem;
}

.section-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 2.5rem;
  padding-bottom: 1.1rem;
  border-bottom: 2px solid var(--rule);
}

.section-bar .eyebrow {
  margin: 0;
}

.grid-3, .grid-2 {
  display: grid;
  gap: 1.5rem;
}

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

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

.card {
  --card-color: var(--accent);
  position: relative;
  padding: clamp(1.5rem, 2.6vw, 2.1rem);
  border: 2px solid var(--rule);
  border-radius: var(--radius-hand);
  color: var(--ink);
  background: var(--paper);
  transition: transform .18s ease, box-shadow .18s ease;
}

.card:hover {
  box-shadow: 7px 7px 0 var(--card-color);
  transform: translate(-3px, -3px);
}

.grid-3 > .card:nth-child(4n+1), .grid-2 > .card:nth-child(4n+1) {
  --card-color: var(--dot-blue);
}

.grid-3 > .card:nth-child(4n+2), .grid-2 > .card:nth-child(4n+2) {
  --card-color: var(--dot-red);
}

.grid-3 > .card:nth-child(4n+3), .grid-2 > .card:nth-child(4n+3) {
  --card-color: var(--dot-amber);
}

.grid-3 > .card:nth-child(4n+4), .grid-2 > .card:nth-child(4n+4) {
  --card-color: var(--dot-green);
}

.card p {
  margin: .4rem 0 0;
  color: var(--ink);
}

.icon {
  display: flex;
  align-items: center;
  gap: .8rem;
  margin-bottom: 1.4rem;
  color: var(--card-color);
  font: 700 2.4rem/1 var(--font-display);
  letter-spacing: -.02em;
}

.icon::after {
  content: "";
  width: 2.4rem;
  height: .55rem;
  background: currentColor;
  -webkit-mask: url("deco-stroke.svg") no-repeat center / 100% 100%;
  mask: url("deco-stroke.svg") no-repeat center / 100% 100%;
}

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: clamp(2rem, 6vw, 5rem);
}

.split > div > .button {
  margin-top: 1rem;
}

.feature-tile {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 380px;
  overflow: hidden;
  border: 0;
  color: white;
  background: var(--logo-purple);
  box-shadow: 7px 7px 0 var(--logo-navy);
}

.feature-tile:hover {
  box-shadow: 10px 10px 0 var(--logo-navy);
}

.feature-tile::before {
  position: absolute;
  content: "";
  inset: 12px;
  border: 2px dashed rgba(245,247,250,.5);
  border-radius: var(--radius-hand);
  pointer-events: none;
}

.feature-tile::after {
  position: absolute;
  content: "";
  right: 38px;
  top: 38px;
  width: 44px;
  aspect-ratio: 1;
  background: var(--logo-orange);
  clip-path: polygon(50% 0, 62% 38%, 100% 50%, 62% 62%, 50% 100%, 38% 62%, 0 50%, 38% 38%);
  transform: rotate(14deg);
}

.feature-tile > * {
  position: relative;
  z-index: 1;
}

.feature-tile h3 {
  color: white;
  font-size: 1.6rem;
}

.feature-tile p {
  color: white;
}

.feature-tile a {
  color: var(--logo-orange);
  font-weight: 600;
}

.feature-tile a:hover {
  color: white;
}

.visual-panel {
  position: relative;
  overflow: hidden;
  min-height: 360px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 1.5rem;
  padding: clamp(1.9rem, 3vw, 2.6rem);
  border-radius: var(--radius-hand);
  color: white;
  background: var(--logo-navy);
  box-shadow: 7px 7px 0 var(--logo-orange);
}

.visual-panel::before {
  position: absolute;
  content: "";
  inset: 12px;
  border: 2px dashed rgba(245,247,250,.45);
  border-radius: var(--radius-hand);
  pointer-events: none;
}

.visual-panel::after {
  position: absolute;
  content: "";
  right: 36px;
  top: 36px;
  width: 46px;
  height: 10px;
  background: var(--logo-dots);
}

.visual-panel > * {
  position: relative;
  z-index: 1;
}

.visual-panel .eyebrow {
  margin: 0;
  color: var(--logo-orange);
}

.visual-panel .big-number {
  color: white;
  font: 700 clamp(3.4rem, 8vw, 6.5rem)/1 var(--font-display);
  letter-spacing: -.03em;
}

.visual-panel .big-number::before {
  content: "[ ";
  color: var(--logo-orange);
}

.visual-panel .big-number::after {
  content: " ]";
  color: var(--logo-orange);
}

.visual-panel p {
  max-width: 340px;
  margin: 0;
  color: white;
}

.check-list {
  display: grid;
  gap: .8rem;
  margin: 1.3rem 0 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  display: flex;
  gap: .8rem;
  color: var(--ink);
}

.check-list li::before {
  content: "✓";
  flex: 0 0 1.5rem;
  display: grid;
  place-items: center;
  width: 1.5rem;
  height: 1.5rem;
  border: 2px solid var(--rule);
  border-radius: var(--radius-hand-sm);
  color: var(--accent-dark);
  font-size: .8rem;
  font-weight: 900;
  transform: rotate(-3deg);
}

/* Page hero */

.page-hero {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  padding: clamp(4.5rem, 9vw, 7.5rem) 0 clamp(3.5rem, 7vw, 5.5rem);
  color: var(--on-deep);
  background: var(--deep);
}

.page-hero::after {
  position: absolute;
  z-index: -1;
  content: "";
  right: 3vw;
  top: 50%;
  width: min(40vw, 500px);
  aspect-ratio: 1;
  background: url("deco-mission.svg") no-repeat center / contain;
  transform: translateY(-50%) rotate(6deg);
}

.page-hero .container {
  position: relative;
}

.page-hero h1 {
  max-width: 760px;
  color: white;
  font-size: clamp(2.4rem, 5vw, 4.2rem);
}

.page-hero .eyebrow {
  color: var(--logo-orange);
}

.page-hero .lead {
  max-width: 640px;
  color: white;
}

.breadcrumb {
  margin: 0 0 2.5rem;
  color: white;
  font: 600 .74rem/1.4 var(--font-display);
  letter-spacing: .14em;
  text-transform: uppercase;
}

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

.breadcrumb a:hover {
  color: var(--logo-orange);
}

/* Team, results and legal pages */

.team-card-title {
  font-size: 1.55rem;
}

.team-role {
  display: block;
  margin-bottom: .75rem;
  color: var(--accent-dark);
  font: 700 .76rem/1.4 var(--font-display);
  letter-spacing: .12em;
  text-transform: uppercase;
}

.member-grid {
  margin: 0;
  padding: 0;
  list-style: none;
}

.member-photo {
  position: relative;
  display: grid;
  place-items: center;
  aspect-ratio: 1;
  margin-bottom: 1.25rem;
  overflow: hidden;
  border-radius: var(--radius-hand-sm);
  background: var(--logo-navy);
}

.member-photo::after {
  position: absolute;
  content: "";
  inset: 10px;
  border: 2px dashed rgba(245,247,250,.45);
  border-radius: var(--radius-hand-sm);
  pointer-events: none;
}

.member-photo:has(img)::after {
  display: none;
}

.member-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.team-photo {
  margin-bottom: 3rem;
}

.team-photo .mission-image-frame {
  min-height: 0;
  aspect-ratio: 4 / 3;
}

.team-photo .mission-image-frame::before,
.team-photo .mission-image-frame::after {
  display: none;
}

.team-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.team-photo figcaption {
  position: static;
  border-top: 0;
  border-radius: 0 0 var(--radius-hand) var(--radius-hand);
}

.member-photo .image-placeholder-label {
  margin-bottom: 0;
}

.member-name {
  margin-bottom: .9rem;
  font-size: 1.45rem;
}

.member-roles {
  display: flex;
  flex-wrap: wrap;
  gap: .45rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.member-roles li {
  padding: .2rem .65rem;
  border: 2px solid var(--card-color);
  border-radius: var(--radius-hand-sm);
  color: var(--ink);
  font-size: .9rem;
  font-weight: 600;
}

.notice {
  padding: 1.2rem 1.4rem;
  border: 2px solid var(--rule);
  border-left: 8px solid var(--accent);
  border-radius: var(--radius-hand-sm);
  color: var(--ink);
  background: var(--wash);
}

.legal-content {
  max-width: 880px;
}

.legal-content h2 {
  margin-top: 2.75rem;
  padding-top: 1.25rem;
  border-top: 2px dashed var(--line);
  font-size: 1.6rem;
}

.legal-content h3 {
  margin-top: 1.35rem;
  font-size: 1.1rem;
}

.legal-content p, .legal-content li {
  color: var(--ink);
}

.legal-content .placeholder,
.member-name .placeholder {
  padding: 0 .25rem;
  color: #000;
  background: #ffe2a8;
  font-weight: 700;
}

.table-wrap {
  overflow-x: auto;
  border: 2px solid var(--rule);
  border-radius: var(--radius-hand);
  background: var(--paper);
  box-shadow: 6px 6px 0 var(--accent);
}

.results-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}

.results-table th, .results-table td {
  padding: 1rem 1.25rem;
  border-bottom: 1.5px dashed var(--line);
  color: var(--ink);
  white-space: nowrap;
}

.results-table thead th {
  border-bottom: 0;
  color: white;
  background: var(--logo-navy);
  font: 700 .74rem/1.3 var(--font-display);
  letter-spacing: .12em;
  text-transform: uppercase;
}

.results-table tbody th {
  color: var(--accent-dark);
  font: 700 1.15rem/1 var(--font-display);
}

.results-table tbody tr:hover {
  background: var(--wash);
}

.results-table tbody tr:last-child th, .results-table tbody tr:last-child td {
  border-bottom: 0;
}

.results-note {
  margin-top: 1.75rem;
}

/* Simulation */

.chart-card {
  margin: 0;
  padding: clamp(.9rem, 1.6vw, 1.2rem);
}

.chart-card-wide {
  grid-column: 1 / -1;
}

.chart-card img {
  width: 100%;
  height: auto;
  border: 1.5px solid var(--line);
  border-radius: var(--radius-hand-sm);
  background: var(--logo-light);
}

.chart-card figcaption {
  padding: 1rem .4rem .3rem;
}

.chart-card h3 {
  margin: 0;
}

.sim-subheading {
  margin: 3rem 0 1.25rem;
}

.results-table-wrap th, .results-table-wrap td {
  white-space: normal;
}

.sim-cta {
  margin: 1.75rem 0 0;
}

/* Simulation page: the ground station runs in a frame */

.sim-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 1.1rem;
  margin-bottom: 1.5rem;
}

.sim-frame {
  height: clamp(640px, 88vh, 1000px);
  border: 2px solid var(--rule);
  border-radius: var(--radius-hand-sm);
  overflow: hidden;
  background: #f0f0f0;
  box-shadow: 8px 8px 0 var(--accent);
}

.sim-frame iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}

.sim-guide-steps {
  display: grid;
  gap: .7rem;
  margin: 0 0 1.6rem;
  padding-left: 1.3rem;
}

.sim-guide-steps strong {
  color: var(--navy);
}

/* Contact */

.contact-grid {
  display: grid;
  grid-template-columns: 1fr .82fr;
  gap: 1.75rem;
  align-items: start;
}

.contact-intro-title {
  font-size: 1.55rem;
}

.form-card {
  padding: clamp(1.5rem, 3vw, 2.4rem);
  border: 2px solid var(--rule);
  border-radius: var(--radius-hand);
  color: var(--ink);
  background: var(--paper);
  box-shadow: 7px 7px 0 var(--logo-purple);
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.field {
  display: grid;
  gap: .45rem;
  margin-bottom: 1rem;
}

.field.full {
  grid-column: 1 / -1;
}

.field label {
  color: var(--navy);
  font: 700 .76rem/1.3 var(--font-display);
  letter-spacing: .12em;
  text-transform: uppercase;
}

.field input, .field textarea {
  width: 100%;
  padding: .85rem .95rem;
  border: 2px solid var(--rule);
  border-radius: var(--radius-hand-sm);
  color: var(--ink);
  background: var(--paper);
}

.field input:focus, .field textarea:focus {
  outline: 3px solid var(--accent);
  outline-offset: 2px;
}

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

.form-hint, .form-status {
  color: var(--ink);
  font-size: .88rem;
}

.form-status {
  min-height: 1.5rem;
  margin-top: .8rem;
  font-weight: 650;
}

.form-status.is-visible {
  margin-top: 1rem;
  padding: .85rem 1rem;
  border: 2px dashed var(--accent);
  border-radius: var(--radius-hand-sm);
  background: var(--wash);
}

.contact-details {
  display: grid;
  gap: 1.5rem;
}

.contact-people-card {
  display: grid;
  gap: .9rem;
}

.contact-person {
  display: grid;
  gap: .12rem;
  padding-top: .9rem;
  border-top: 1.5px dashed var(--line);
}

.contact-person:first-of-type {
  padding-top: 0;
  border-top: 0;
}

.contact-person strong {
  color: var(--ink);
  font: 600 1.1rem/1.3 var(--font-display);
}

.contact-person > span {
  color: var(--accent-dark);
  font: 700 .74rem/1.4 var(--font-display);
  letter-spacing: .12em;
  text-transform: uppercase;
}

.contact-person > a {
  width: fit-content;
  font-size: .93rem;
}

/* Footer */

.site-footer {
  padding: clamp(3.5rem, 7vw, 5rem) 0 0;
  color: var(--on-deep);
  background: var(--deep);
  border-top: 4px solid var(--logo-orange);
}

.footer-kicker {
  display: flex;
  align-items: center;
  gap: .75rem;
  margin: 0 0 2.5rem;
  color: white;
  font: 700 .8rem/1.4 var(--font-display);
  letter-spacing: .16em;
  text-transform: uppercase;
}

.footer-kicker::before {
  content: "";
  width: 46px;
  height: 10px;
  background: var(--logo-dots);
}

.footer-kicker::after {
  content: "";
  width: 3rem;
  height: .6rem;
  background: var(--logo-orange);
  -webkit-mask: url("deco-stroke.svg") no-repeat center / 100% 100%;
  mask: url("deco-stroke.svg") no-repeat center / 100% 100%;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 2.5rem;
  padding-bottom: 3.5rem;
}

.site-footer .brand {
  margin-bottom: .8rem;
}

.footer-title {
  margin: 0 0 1rem;
  color: var(--logo-orange);
  font: 700 .76rem/1.3 var(--font-display);
  letter-spacing: .14em;
  text-transform: uppercase;
}

.site-footer p + .footer-title {
  margin-top: 1.9rem;
}

.site-footer p {
  max-width: 360px;
  margin: .4rem 0;
  color: white;
  font-size: .93rem;
}

.site-footer p a {
  color: white;
}

.footer-links {
  display: grid;
  gap: .55rem;
  padding: 0;
  margin: 0;
  list-style: none;
}

.footer-links a {
  color: white;
  text-decoration: none;
}

.footer-links a:hover, .site-footer p a:hover {
  color: var(--logo-orange);
  text-decoration: underline;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.4rem 0;
  border-top: 1.5px dashed rgba(245,247,250,.35);
  color: white;
  background: var(--deep-2);
  box-shadow: 0 0 0 100vmax var(--deep-2);
  clip-path: inset(0 -100vmax);
  font: 500 .8rem/1.4 var(--font-display);
  letter-spacing: .06em;
}

/* Privacy dialog */

.privacy-dialog {
  width: min(calc(100% - 2rem), 560px);
  max-width: none;
  padding: clamp(1.5rem, 4vw, 2.4rem);
  border: 2px solid var(--rule);
  border-radius: var(--radius-hand);
  color: var(--ink);
  background: var(--paper);
  box-shadow: 8px 8px 0 var(--accent);
}

.privacy-dialog::backdrop {
  background: rgba(11,31,58,.72);
}

.privacy-dialog h2 {
  margin-bottom: .8rem;
  font-size: clamp(1.7rem, 4vw, 2.2rem);
}

.privacy-dialog p:not(.eyebrow) {
  margin-bottom: 1.6rem;
  color: var(--ink);
}

.privacy-dialog .button {
  min-width: 130px;
}

/* Responsive */

@media (max-width: 1060px) {
  .nav-list a {
    padding-inline: .6rem;
  }

  .nav-list a::after {
    left: .5rem;
    right: .5rem;
  }
}

@media (max-width: 940px) {
  .header-inner {
    min-height: 72px;
  }

  .site-logo {
    width: 44px;
  }

  .menu-toggle {
    display: inline-flex;
  }

  .site-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    max-height: calc(100vh - 72px);
    overflow-y: auto;
    padding: .5rem 1.25rem 1.5rem;
    border-bottom: 2px solid var(--logo-orange);
    background: var(--header-bg);
  }

  .site-nav.is-open {
    display: block;
  }

  .nav-list {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }

  .nav-list > li {
    border-bottom: 1.5px dashed rgba(245,247,250,.25);
  }

  .nav-list a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.05rem .25rem;
    font-size: .92rem;
  }

  .nav-list a::after {
    position: static;
    content: "›";
    width: auto;
    height: auto;
    color: var(--logo-orange);
    background: none;
    -webkit-mask: none;
    mask: none;
    font-size: 1.3rem;
    line-height: 1;
    transform: none;
  }

  .nav-list a[aria-current="page"] {
    color: var(--logo-orange);
  }

  .nav-list > li:has(.nav-contact) {
    border-bottom: 0;
  }

  .nav-list .nav-contact {
    justify-content: center;
    margin: 1.25rem 0 0;
    padding: 1rem;
  }

  .nav-list .theme-nav-item {
    margin: 1rem 0 0;
    padding: 0;
    border: 0;
  }
}

@media (max-width: 820px) {
  .hero-grid, .split, .contact-grid {
    grid-template-columns: 1fr;
  }

  .mission-image-frame {
    min-height: 0;
    aspect-ratio: 4 / 3;
  }

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

  .grid-3 > :last-child:nth-child(odd) {
    grid-column: 1 / -1;
  }

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

  .footer-grid > :first-child {
    grid-column: 1 / -1;
  }

  .video-placeholder::before {
    width: min(78vw, 380px);
    top: 3.5rem;
    right: -8vw;
    transform: rotate(4deg);
  }

  .page-hero::after {
    width: 170px;
    top: 1rem;
    right: -2rem;
    transform: rotate(8deg);
  }
}

@media (max-width: 560px) {
  .container {
    width: min(calc(100% - 2rem), var(--width));
  }

  .brand {
    font-size: .9rem;
    letter-spacing: .12em;
  }

  .video-overlay {
    flex-direction: column;
    align-items: flex-start;
  }

  .video-play {
    flex-basis: auto;
    width: 56px;
    height: 56px;
  }

  .grid-3, .grid-2, .form-grid, .footer-grid {
    grid-template-columns: 1fr;
  }

  .field.full {
    grid-column: auto;
  }

  .section-bar {
    flex-direction: column;
    align-items: flex-start;
  }

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

  .hero-actions .button {
    width: calc(100% - 6px);
    justify-content: space-between;
  }
}

/* Dark mode */

:root[data-theme="dark"] body::after {
  opacity: .5;
  mix-blend-mode: soft-light;
}

:root[data-theme="dark"] .button {
  color: var(--logo-navy);
}

:root[data-theme="dark"] .button:hover {
  color: var(--logo-navy);
}

:root[data-theme="dark"] .button.secondary,
:root[data-theme="dark"] .button.secondary:hover {
  color: white;
}

:root[data-theme="dark"] .mission-image,
:root[data-theme="dark"] .visual-panel {
  background: var(--deep);
}

:root[data-theme="dark"] .mission-image-frame,
:root[data-theme="dark"] .mission-image figcaption,
:root[data-theme="dark"] .member-photo {
  background: var(--deep);
}

:root[data-theme="dark"] .feature-tile {
  box-shadow: 7px 7px 0 var(--logo-blue);
}

:root[data-theme="dark"] .mission-image {
  box-shadow: 7px 7px 0 var(--logo-orange);
}

:root[data-theme="dark"] .form-card {
  box-shadow: 7px 7px 0 var(--logo-blue);
}

:root[data-theme="dark"] .legal-content .placeholder,
:root[data-theme="dark"] .member-name .placeholder {
  color: #000;
  background: #ffc670;
}

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