@font-face {
  font-family: "PW Saira";
  src: url("../fonts/saira-var.woff2") format("woff2");
  font-weight: 100 900;
  font-stretch: 50% 125%;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "PW Mono";
  src: url("../fonts/jetbrains-mono-var.woff2") format("woff2");
  font-weight: 100 800;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg: #1a1a1a;
  --bg-deep: #141414;
  --field: #121212;
  --panel: #222222;
  --panel-2: #202020;
  --panel-hi: #2b2b2b;
  --border: #383838;
  --border-soft: #2e2e2e;
  --border-strong: #4c4c4c;
  --text: #e8e8e8;
  --text-2: #c9c9c9;
  --muted: #b0b0b0;
  --faint: #969696;
  --accent: #ffbb00;
  --accent-hover: #ffcb3d;
  --accent-pressed: #d99f00;
  --accent-dim: #6b5210;
  --on-accent: #161616;
  --gate: #5bc85b;
  --danger: #f2665e;

  --font: "PW Saira", "Saira", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --mono: "PW Mono", ui-monospace, "SF Mono", Menlo, Consolas, "Liberation Mono", monospace;

  --gutter: 16px;
  --measure: 34em;
  --radius: 8px;
  --header-h: 60px;
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);

  color-scheme: dark;
}

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

[hidden] {
  display: none !important;
}

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-padding-top: calc(var(--header-h) + 16px);
  background: var(--bg);
}

@media (prefers-reduced-motion: no-preference) {
  html {
    scroll-behavior: smooth;
  }
}

html[lang="en"] [lang="de"]:not(.keep),
html[lang="de"] [lang="en"]:not(.keep) {
  display: none !important;
}

html.no-js .needs-js {
  display: none !important;
}

body {
  margin: 0;
  min-width: 320px;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.6;
  font-weight: 400;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

img {
  max-width: 100%;
  height: auto;
}

h1,
h2,
h3 {
  margin: 0;
  font-weight: 700;
  line-height: 1.1;
  overflow-wrap: break-word;
  hyphens: manual;
}

p {
  margin: 0;
}

p,
li,
dd,
figcaption {
  text-wrap: pretty;
}

a {
  color: var(--accent);
  text-underline-offset: 3px;
}

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

strong {
  color: var(--text);
  font-weight: 600;
}

kbd {
  display: inline-block;
  min-width: 1.7em;
  padding: 0.05em 0.45em 0.1em;
  border: 1px solid var(--border-strong);
  border-bottom-width: 2px;
  border-radius: 4px;
  background: var(--panel-hi);
  color: var(--text);
  font-family: var(--mono);
  font-size: 0.8em;
  font-weight: 600;
  line-height: 1.5;
  text-align: center;
  white-space: nowrap;
  vertical-align: 0.08em;
}

.kbd-arrow svg {
  display: inline-block;
  width: 0.95em;
  height: 0.95em;
  vertical-align: -0.12em;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: square;
}

.nowrap {
  white-space: nowrap;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

.mono {
  font-family: var(--mono);
  font-size: 0.9em;
  letter-spacing: 0.02em;
}

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 3px;
}

.wrap {
  width: 100%;
  max-width: 1240px;
  margin-inline: auto;
  padding-inline: var(--gutter);
}

@media (min-width: 700px) {
  :root {
    --gutter: 32px;
  }
}

@media (min-width: 1060px) {
  :root {
    --gutter: 40px;
  }
}

.skip {
  position: absolute;
  left: 16px;
  top: -100px;
  z-index: 100;
  padding: 10px 16px;
  background: var(--accent);
  color: var(--on-accent);
  font-weight: 700;
  text-decoration: none;
  border-radius: 4px;
}

.skip:focus {
  top: 12px;
  color: var(--on-accent);
}

/* ---------- Header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(26, 26, 26, 0.9);
  border-bottom: 1px solid var(--border-soft);
  -webkit-backdrop-filter: saturate(1.2) blur(10px);
  backdrop-filter: saturate(1.2) blur(10px);
}

.site-header__inner {
  display: flex;
  align-items: center;
  gap: 12px;
  height: var(--header-h);
}

@media (min-width: 400px) {
  .site-header__inner {
    gap: 24px;
  }
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  text-decoration: none;
  flex-shrink: 0;
}

.brand img {
  display: block;
  width: 36px;
  height: 36px;
  border-radius: 7px;
}

.brand__word {
  font-weight: 800;
  font-stretch: 115%;
  font-size: 1.05rem;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.brand__fpv {
  margin-left: 0.35em;
  color: var(--accent);
}

.brand:hover {
  color: var(--text);
}

.site-nav {
  display: none;
  margin-left: auto;
  gap: 4px;
}

.site-nav a {
  padding: 8px 12px;
  border-radius: 4px;
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 500;
  text-decoration: none;
  transition: color 0.2s, background-color 0.2s;
}

.site-nav a:hover {
  color: var(--text);
  background: var(--panel-hi);
}

@media (min-width: 1100px) {
  .site-nav {
    display: flex;
  }
}

@media (max-width: 1099px) {
  .site-nav.is-open {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 4px 12px;
    margin: 0;
    padding: 10px var(--gutter) 18px;
    border-bottom: 1px solid var(--border);
    background: #171717;
    box-shadow: 0 24px 40px -24px rgba(0, 0, 0, 0.9);
  }
  .site-nav.is-open a {
    display: flex;
    align-items: center;
    min-height: 48px;
    padding: 8px 12px;
    border: 1px solid var(--border-soft);
    background: var(--panel-2);
    color: var(--text);
    font-size: 1rem;
  }
}

.nav-toggle {
  display: grid;
  place-items: center;
  flex: none;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--border);
  border-radius: 6px;
  background: var(--field);
  color: var(--text);
  cursor: pointer;
  transition: border-color 0.2s, color 0.2s;
}

.nav-toggle:hover,
.nav-toggle[aria-expanded="true"] {
  border-color: var(--accent);
  color: var(--accent);
}

.nav-toggle svg {
  display: block;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: square;
}

.nav-toggle__close,
.nav-toggle[aria-expanded="true"] .nav-toggle__open {
  display: none;
}

.nav-toggle[aria-expanded="true"] .nav-toggle__close {
  display: inline;
}

@media (min-width: 1100px) {
  .nav-toggle {
    display: none;
  }
}

.lang-switch {
  display: inline-flex;
  margin-left: auto;
  padding: 2px;
  gap: 2px;
  border: 1px solid var(--border);
  border-radius: 6px;
  background: var(--field);
}

@media (min-width: 1100px) {
  .lang-switch {
    margin-left: 8px;
  }
}

@media (max-width: 399px) {
  .site-header__inner {
    gap: 8px;
  }
}

@media (max-width: 419px) {
  .brand {
    gap: 8px;
  }
  .brand img {
    width: 32px;
    height: 32px;
  }
  .brand__word {
    font-size: 0.92rem;
  }
  .site-header .lang-switch button {
    min-width: 40px;
  }
}

@media (max-width: 359px) {
  .brand__word {
    display: none;
  }
}

.lang-switch button {
  min-width: 44px;
  min-height: 44px;
  padding: 4px 8px;
  border: 0;
  border-radius: 4px;
  background: transparent;
  color: var(--muted);
  font: 600 0.78rem/1 var(--mono);
  letter-spacing: 0.08em;
  cursor: pointer;
}

.lang-switch button:hover {
  color: var(--text);
}

.lang-switch button[aria-pressed="true"] {
  background: var(--accent);
  color: var(--on-accent);
}

/* ---------- Shared bits ---------- */

.kicker {
  margin-bottom: 18px;
  padding-left: 34px;
  text-indent: -34px;
  color: var(--accent);
  font-family: var(--mono);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  line-height: 1.6;
  text-transform: uppercase;
}

.kicker::before {
  content: "";
  display: inline-block;
  width: 22px;
  height: 2px;
  margin-right: 12px;
  vertical-align: 0.3em;
  background: currentColor;
}

/* Hero kicker: breaks only at its separators, never inside "Fabric & NeoForge" */
.hero__kicker .kicker__sep {
  display: none;
}

@media (min-width: 380px) {
  .hero__kicker .kicker__sep--2 {
    display: inline;
  }
  .hero__kicker .kicker__br--2 {
    display: none;
  }
}

@media (min-width: 640px) and (max-width: 1059px) {
  .hero__kicker .kicker__sep--1 {
    display: inline;
  }
  .hero__kicker .kicker__br--1 {
    display: none;
  }
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 12px 20px;
  border-radius: 4px;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.2;
  text-decoration: none;
  transition: background-color 0.2s, border-color 0.2s, color 0.2s, transform 0.2s var(--ease-out);
}

.btn--primary {
  background: var(--accent);
  color: var(--on-accent);
}

.btn--primary:hover {
  background: var(--accent-hover);
  color: var(--on-accent);
}

.btn--primary:active {
  background: var(--accent-pressed);
  transform: translateY(1px);
}

.btn--primary:focus-visible {
  outline-color: var(--text);
}

.btn--ghost {
  border: 1px solid var(--border-strong);
  color: var(--text);
  background: rgba(34, 34, 34, 0.6);
}

.btn--ghost:hover {
  border-color: var(--accent);
  color: var(--text);
  background: var(--panel-hi);
}

.soon-dot {
  position: relative;
  flex: none;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
}

.soon-dot::after {
  content: "";
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 1px solid var(--accent);
  opacity: 0;
  animation: ping 2.4s var(--ease-out) infinite;
}

@keyframes ping {
  0% { transform: scale(0.6); opacity: 0.9; }
  80%, 100% { transform: scale(1.7); opacity: 0; }
}

.section {
  position: relative;
  padding-block: clamp(4.5rem, 3rem + 6vw, 8.5rem);
}

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

.section--deep {
  background: var(--bg-deep);
  border-block: 1px solid #222;
}

.section__head {
  max-width: 780px;
  margin-bottom: clamp(2.5rem, 2rem + 2.5vw, 4rem);
}

.section__head--row {
  max-width: none;
}

@media (min-width: 900px) {
  .section__head--row {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 48px;
  }
  .section__head--row .section__intro {
    max-width: 38ch;
    margin: 0;
    text-wrap: balance;
  }
}

h2 {
  font-size: clamp(2rem, 1.25rem + 3vw, 3.5rem);
  font-weight: 750;
  font-stretch: 108%;
  line-height: 1.02;
  letter-spacing: -0.015em;
  text-wrap: balance;
}

.section__intro {
  margin-top: 20px;
  max-width: var(--measure);
  color: var(--muted);
  font-size: clamp(1.03rem, 0.96rem + 0.3vw, 1.16rem);
}

.shot {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--field);
}

.shot img {
  display: block;
  width: 100%;
  height: auto;
}

.shot--feed {
  aspect-ratio: 16 / 9;
}

.shot--feed img {
  height: 100%;
  object-fit: cover;
}

.shot--feed img.fit-contain {
  object-fit: contain;
  background: #151515;
}

.shot--center {
  aspect-ratio: 6 / 5;
  background: #141414;
}

.shot--center img {
  height: 100%;
  object-fit: contain;
}

figure {
  margin: 0;
}

figcaption {
  margin-top: 12px;
  color: var(--faint);
  font-size: 0.93rem;
  line-height: 1.5;
}

/* Tabs (image switchers) */

.tabs,
.seg {
  display: inline-flex;
  max-width: 100%;
  gap: 2px;
  padding: 3px;
  margin-bottom: 12px;
  border: 1px solid var(--border);
  border-radius: 6px;
  background: var(--field);
}

.tabs button,
.seg button {
  min-height: 36px;
  padding: 6px 12px;
  border: 0;
  border-radius: 4px;
  background: transparent;
  color: var(--muted);
  font: 600 0.75rem/1.2 var(--mono);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background-color 0.2s, color 0.2s;
}

.tabs button:hover,
.seg button:hover {
  color: var(--text);
  background: var(--panel-hi);
}

.tabs button[aria-pressed="true"],
.seg button[aria-checked="true"] {
  background: var(--accent);
  color: var(--on-accent);
}

.tabs button:focus-visible,
.seg button:focus-visible {
  outline-offset: 1px;
}

/* ---------- Hero ---------- */

.hero {
  position: relative;
  padding-top: clamp(2.5rem, 1.5rem + 5vw, 5.5rem);
  isolation: isolate;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image:
    linear-gradient(#232323 1px, transparent 1px),
    linear-gradient(90deg, #232323 1px, transparent 1px);
  background-size: 48px 48px;
  background-position: center top;
  -webkit-mask-image: radial-gradient(ellipse 80% 75% at 70% 35%, #000 20%, transparent 75%);
  mask-image: radial-gradient(ellipse 80% 75% at 70% 35%, #000 20%, transparent 75%);
}

.hero__grid {
  display: grid;
  gap: clamp(2.5rem, 5vw, 4rem);
  align-items: center;
}

@media (max-width: 1059px) {
  .hero__grid {
    gap: 0;
  }
  .hero__copy {
    display: contents;
  }
  .hero__copy > .kicker { order: 1; }
  .hero__title { order: 2; }
  .hero__lead { order: 3; }
  .hero__cta { order: 4; }
  .hero__visual { order: 5; margin-top: clamp(2.5rem, 6vw, 3.5rem); }
  .hero__specs { order: 6; }
}

@media (min-width: 1060px) {
  .hero__grid {
    grid-template-columns: minmax(0, 5fr) minmax(0, 6.2fr);
    gap: 56px;
  }
}

.hero__title {
  display: flex;
  flex-direction: column;
  gap: 0.35em;
}

.hero__copy {
  min-width: 0;
  container-type: inline-size;
}

.hero__name {
  font-size: min(4.6rem, calc((100vw - 2 * var(--gutter)) / 8.8));
  white-space: nowrap;
  font-weight: 800;
  font-stretch: 118%;
  line-height: 0.92;
  letter-spacing: -0.01em;
  text-transform: uppercase;
}

@media (min-width: 1060px) {
  .hero__name {
    font-size: clamp(2rem, 11.4cqi, 5.4rem);
  }
}

.hero__name em {
  font-style: normal;
  color: var(--accent);
}

.hero__pitch {
  max-width: 18em;
  font-size: clamp(1.35rem, 1rem + 1.5vw, 2.05rem);
  font-weight: 600;
  font-stretch: 100%;
  line-height: 1.15;
  letter-spacing: -0.005em;
  color: var(--text);
  text-wrap: balance;
}

.hero__lead {
  margin-top: 24px;
  max-width: var(--measure);
  color: var(--muted);
  font-size: clamp(1.03rem, 0.98rem + 0.25vw, 1.14rem);
}

.hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

@media (max-width: 479px) {
  .hero__cta .btn {
    flex: 1 1 100%;
  }
}

.hero__specs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  margin: 32px 0 0;
  padding: 0;
  list-style: none;
  color: var(--faint);
  font-family: var(--mono);
  font-size: 0.78rem;
  line-height: 1.4;
}

.hero__specs li {
  display: flex;
  align-items: baseline;
  gap: 9px;
}

.hero__specs li::before {
  content: "";
  flex: none;
  width: 6px;
  height: 6px;
  background: var(--accent);
  transform: translateY(-1px);
}

.hero__visual {
  min-width: 0;
}

.hero__note {
  margin-top: 10px;
  color: #8a8a8a;
  font-family: var(--mono);
  font-size: 0.7rem;
  letter-spacing: 0.04em;
  text-align: right;
}

/* Page-load choreography */

@media (prefers-reduced-motion: no-preference) {
  .js .hero__copy > * {
    animation: rise 0.9s var(--ease-out) both;
  }
  .js .hero__copy > :nth-child(2) { animation-delay: 0.08s; }
  .js .hero__copy > :nth-child(3),
  .js .hero__copy > :nth-child(4) { animation-delay: 0.16s; }
  .js .hero__copy > :nth-child(5) { animation-delay: 0.24s; }
  .js .hero__copy > :nth-child(6) { animation-delay: 0.32s; }
  .js .hero__visual {
    animation: rise 1s 0.12s var(--ease-out) both;
  }
  .js .hero .feed__screen {
    animation: boot 0.9s 0.35s var(--ease-out) both;
  }
}

@keyframes rise {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: none; }
}

@keyframes boot {
  0% { clip-path: inset(49.5% 0 49.5% 0); filter: brightness(2.4); }
  45% { clip-path: inset(0 0 0 0); filter: brightness(1.5); }
  100% { clip-path: inset(0 0 0 0); filter: none; }
}

/* ---------- Feed (goggle frame) ---------- */

.feed {
  position: relative;
  padding: 6px 8px 8px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: linear-gradient(#171717, #0f0f0f);
  box-shadow: 0 40px 90px -40px rgba(0, 0, 0, 0.9), inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.feed__rim {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px 16px;
  padding: 8px 4px;
  color: var(--text);
  font-family: var(--mono);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  line-height: 1.2;
  text-transform: uppercase;
  font-variant-numeric: tabular-nums;
}

.feed__rim--bottom {
  padding-bottom: 2px;
}

.feed__rim b {
  margin-right: 7px;
  color: var(--accent);
  font-weight: 700;
}

.feed__title {
  color: var(--muted);
}

.osd-dim {
  color: var(--muted);
}

.osd-item {
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
}

.osd-rec {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--text);
}

.osd-rec i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--danger);
  animation: blink 1.6s steps(1, end) infinite;
}

@keyframes blink {
  0%, 60% { opacity: 1; }
  61%, 100% { opacity: 0.15; }
}

.osd-bat {
  position: relative;
  display: inline-block;
  width: 24px;
  height: 11px;
  margin-right: 8px;
  padding: 1px;
  border: 1.5px solid currentColor;
  border-radius: 2px;
}

.osd-bat::after {
  content: "";
  position: absolute;
  top: 2px;
  right: -4px;
  width: 2px;
  height: 4px;
  background: currentColor;
  border-radius: 0 1px 1px 0;
}

.osd-bat i {
  display: block;
  width: var(--lvl, 100%);
  height: 100%;
  background: var(--gate);
  transition: width 0.6s linear, background-color 0.3s;
}

.osd-bat.is-low i {
  background: var(--accent);
}

.osd-bars {
  display: inline-flex;
  align-items: flex-end;
  gap: 2px;
  height: 12px;
}

.osd-bars i {
  width: 3px;
  background: #474747;
  transition: background-color 0.2s;
}

.osd-bars i:nth-child(1) { height: 20%; }
.osd-bars i:nth-child(2) { height: 40%; }
.osd-bars i:nth-child(3) { height: 60%; }
.osd-bars i:nth-child(4) { height: 80%; }
.osd-bars i:nth-child(5) { height: 100%; }

.osd-bars i.on {
  background: var(--text);
}

.osd-bars.is-weak i.on {
  background: var(--accent);
}

.osd-bars.is-lost i.on {
  background: var(--danger);
}

.feed__screen {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: 6px;
  background: #050505;
  isolation: isolate;
}

.feed__img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.35s ease;
}

.feed__img.is-active {
  opacity: 1;
}

.vlab__set {
  position: absolute;
  inset: 0;
}

.feed__scan {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background: repeating-linear-gradient(to bottom, rgba(0, 0, 0, 0.22) 0 1px, transparent 1px 3px);
  opacity: 0.55;
}

.feed__scan::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 18%;
  background: linear-gradient(to bottom, transparent, rgba(255, 255, 255, 0.07), transparent);
  animation: sweep 7s linear infinite;
}

@keyframes sweep {
  from { transform: translateY(-120%); }
  to { transform: translateY(620%); }
}

.feed__corners {
  position: absolute;
  inset: 7px;
  z-index: 3;
  pointer-events: none;
  --c: rgba(255, 187, 0, 0.6);
  --l: 14px;
  background:
    linear-gradient(var(--c), var(--c)) top left / var(--l) 2px no-repeat,
    linear-gradient(var(--c), var(--c)) top left / 2px var(--l) no-repeat,
    linear-gradient(var(--c), var(--c)) top right / var(--l) 2px no-repeat,
    linear-gradient(var(--c), var(--c)) top right / 2px var(--l) no-repeat,
    linear-gradient(var(--c), var(--c)) bottom left / var(--l) 2px no-repeat,
    linear-gradient(var(--c), var(--c)) bottom left / 2px var(--l) no-repeat,
    linear-gradient(var(--c), var(--c)) bottom right / var(--l) 2px no-repeat,
    linear-gradient(var(--c), var(--c)) bottom right / 2px var(--l) no-repeat;
}

.feed__static {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  opacity: 0;
  background-color: #777;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.95' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 180px 180px;
  mix-blend-mode: hard-light;
}

.feed__screen.is-switching .feed__static {
  animation: static 0.34s steps(6, end);
}

@keyframes static {
  0% { opacity: 0.95; background-position: 0 0; }
  33% { opacity: 0.85; background-position: -60px 40px; }
  66% { opacity: 0.6; background-position: 30px -70px; }
  100% { opacity: 0; background-position: 90px 20px; }
}

.feed__ctrl {
  display: inline-flex;
  gap: 6px;
  margin-left: auto;
}

.feed__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-width: 40px;
  min-height: 40px;
  padding: 4px 12px;
  border: 1px solid var(--border-strong);
  border-radius: 4px;
  background: var(--bg);
  color: var(--text);
  font: 600 0.72rem/1 var(--mono);
  letter-spacing: 0.08em;
  cursor: pointer;
  transition: border-color 0.2s, background-color 0.2s, color 0.2s;
}

.feed__btn:hover {
  border-color: var(--accent);
  background: var(--panel-hi);
}

.feed__pause {
  padding: 4px;
}

.feed__pause svg {
  display: block;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.2;
  stroke-linecap: square;
}

.feed__pause .icon-play {
  display: none;
  fill: currentColor;
  stroke: none;
}

.feed__pause[aria-pressed="true"] {
  border-color: var(--accent);
  color: var(--accent);
}

.feed__pause[aria-pressed="true"] .icon-pause {
  display: none;
}

.feed__pause[aria-pressed="true"] .icon-play {
  display: inline;
}

@media (prefers-reduced-motion: reduce) {
  .feed__pause {
    display: none;
  }
}

/* Pause switch: freezes the looping animations (the hero feed itself stops in JS) */
html.motion-paused .soon-dot::after,
html.motion-paused .osd-rec i,
html.motion-paused .feed__scan::after,
html.motion-paused .tape__track {
  animation-play-state: paused !important;
}

.feed__count {
  color: var(--muted);
}

/* Heading tape */

.tape {
  position: relative;
  margin-top: clamp(3rem, 6vw, 5rem);
  height: 38px;
  overflow: hidden;
  border-block: 1px solid #262626;
  background: var(--bg-deep);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 15%, #000 85%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 15%, #000 85%, transparent);
}

.tape::after {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  width: 0;
  height: 0;
  margin-left: -6px;
  border: 6px solid transparent;
  border-top-color: var(--accent);
}

.tape__track {
  display: flex;
  width: max-content;
  height: 100%;
  animation: tape 90s linear infinite;
}

.tape__track span {
  position: relative;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  width: 80px;
  padding-bottom: 7px;
  color: #6c6c6c;
  font: 500 0.68rem/1 var(--mono);
  letter-spacing: 0.06em;
}

.tape__track span::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  width: 1px;
  height: 11px;
  background: #4a4a4a;
}

.tape__track span::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 6px;
  background: repeating-linear-gradient(90deg, #3a3a3a 0 1px, transparent 1px 16px);
}

@keyframes tape {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ---------- Steps ---------- */

.steps {
  position: relative;
  display: grid;
  gap: clamp(3.5rem, 2rem + 5vw, 6.5rem);
  margin: 0;
  padding: 0;
  list-style: none;
}

.step {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  gap: 20px 20px;
  align-items: start;
}

.step__media {
  grid-column: 1 / -1;
  min-width: 0;
}

@media (max-width: 1059px) {
  .step__body {
    display: contents;
  }
  .step__body h3 {
    grid-column: 2;
    align-self: center;
    margin: 0;
  }
  .step__body > p,
  .step__body > .chips {
    grid-column: 1 / -1;
  }
  .step__body > .chips {
    margin-top: 0;
  }
}

@media (min-width: 1060px) {
  .steps::before {
    content: "";
    position: absolute;
    top: 30px;
    bottom: 30px;
    left: 27px;
    width: 2px;
    background: repeating-linear-gradient(to bottom, #3a3a3a 0 10px, transparent 10px 20px);
  }
  .step {
    grid-template-columns: 56px minmax(0, 5fr) minmax(0, 7fr);
    gap: 40px;
  }
  .step__media {
    grid-column: auto;
  }
}

.gate-num {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border: 3px solid #d9d9d9;
  background: #0d0d0d;
  box-shadow: 0 0 0 5px var(--bg);
  color: #f0f0f0;
  font: 700 1.35rem/1 var(--mono);
  transition: border-color 0.4s, color 0.4s, box-shadow 0.4s;
}

@media (min-width: 1060px) {
  .gate-num {
    width: 56px;
    height: 56px;
    font-size: 1.6rem;
  }
}

.step.is-next .gate-num {
  border-color: var(--gate);
  color: var(--gate);
  box-shadow: 0 0 0 5px var(--bg), 0 0 28px rgba(91, 200, 91, 0.35);
}

.step__body {
  min-width: 0;
  padding-top: 6px;
}

.step__body h3 {
  margin-bottom: 14px;
  font-size: clamp(1.4rem, 1.15rem + 0.9vw, 1.85rem);
  font-stretch: 106%;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.step__body p {
  color: var(--muted);
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 20px 0 0;
  padding: 0;
  list-style: none;
}

.chips li {
  padding: 5px 10px;
  border: 1px solid var(--border);
  border-radius: 3px;
  background: #1f1f1f;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 0.74rem;
  line-height: 1.4;
}

/* Comfortable line length (about 75 characters) wherever a text column can run the full content width (tablets) */
.step__body > p,
.specs dd,
.vnote p,
.input p,
.inputs__foot,
.loot p,
.survival__recipe figcaption,
.trio figcaption p,
.tile__text p,
.compat__list dd,
.compat__note {
  max-width: var(--measure);
}

/* ---------- Flight ---------- */

.split {
  display: grid;
  gap: 48px;
}

@media (min-width: 1060px) {
  .split {
    grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
    gap: 64px;
    align-items: start;
  }
  .split__media {
    position: sticky;
    top: calc(var(--header-h) + 32px);
  }
}

.split__text,
.split__media {
  min-width: 0;
}

.specs {
  margin: 36px 0 0;
  border-top: 1px solid var(--border-soft);
}

.specs > div {
  display: grid;
  grid-template-columns: 84px minmax(0, 1fr);
  gap: 16px;
  padding: 15px 0;
  border-bottom: 1px solid var(--border-soft);
}

.specs dt {
  padding-top: 3px;
  color: var(--accent);
  font-family: var(--mono);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.specs dd {
  margin: 0;
  color: var(--text-2);
}

.inputs {
  margin-top: clamp(4rem, 3rem + 4vw, 6.5rem);
}

.inputs__title {
  margin-bottom: 24px;
  font-size: clamp(1.4rem, 1.15rem + 0.9vw, 1.85rem);
  font-stretch: 106%;
}

.inputs__grid {
  display: grid;
  border-top: 1px solid var(--border);
}

.input {
  min-width: 0;
  padding: 22px 0;
  color: var(--muted);
}

.input + .input {
  border-top: 1px solid var(--border-soft);
}

@media (min-width: 900px) {
  .inputs__grid {
    grid-template-columns: 1.25fr 1fr 1fr;
  }
  .input {
    padding: 24px 28px 8px 0;
  }
  .input + .input {
    padding-left: 28px;
    border-top: 0;
    border-left: 1px solid var(--border-soft);
  }
}

.input__label {
  margin-bottom: 10px;
  color: var(--accent);
  font-family: var(--mono);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.input__label + p {
  margin-top: 0;
}

.keys {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 18px;
  margin-top: 16px;
}

.keys__group {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.keys__group small {
  margin-left: 6px;
  color: var(--faint);
  font-family: var(--mono);
  font-size: 0.72rem;
}

.inputs__foot {
  margin-top: 22px;
  color: var(--faint);
  font-size: 0.95rem;
}

/* ---------- Video lab ---------- */

.vlab {
  display: grid;
  gap: 40px;
}

@media (min-width: 1060px) {
  .vlab {
    grid-template-columns: minmax(0, 7.6fr) minmax(0, 4fr);
    gap: 48px;
    align-items: start;
  }
}

.vlab__viewer {
  min-width: 0;
}

.vlab__controls {
  display: grid;
  gap: 16px;
  margin-top: 18px;
}

@media (min-width: 700px) {
  .vlab__controls {
    grid-template-columns: auto minmax(0, 1fr);
    align-items: center;
    column-gap: 28px;
  }
  .vlab__ticks {
    grid-column: 1 / -1;
  }
}

.vlab__controls .seg {
  margin: 0;
  justify-self: start;
}

.signal {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 2px 14px;
}

.signal__label {
  color: var(--faint);
  font: 600 0.72rem/1 var(--mono);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.signal__ends {
  grid-column: 2;
  display: flex;
  justify-content: space-between;
  color: #8a8a8a;
  font: 500 0.68rem/1 var(--mono);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.signal__range {
  --fill: 0%;
  width: 100%;
  height: 32px;
  margin: 0;
  background: transparent;
  cursor: pointer;
  -webkit-appearance: none;
  appearance: none;
}

.signal__range::-webkit-slider-runnable-track {
  height: 6px;
  border-radius: 3px;
  background: linear-gradient(90deg, var(--accent) var(--fill), #383838 var(--fill));
}

.signal__range::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 22px;
  height: 22px;
  margin-top: -8px;
  border: 3px solid var(--field);
  border-radius: 4px;
  background: var(--accent);
  box-shadow: 0 0 0 1px var(--accent);
}

.signal__range::-moz-range-track {
  height: 6px;
  border-radius: 3px;
  background: #383838;
}

.signal__range::-moz-range-progress {
  height: 6px;
  border-radius: 3px;
  background: var(--accent);
}

.signal__range::-moz-range-thumb {
  width: 16px;
  height: 16px;
  border: 3px solid var(--field);
  border-radius: 4px;
  background: var(--accent);
  box-shadow: 0 0 0 1px var(--accent);
}

.signal__range:focus-visible {
  outline-offset: 2px;
}

.vlab__ticks {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px;
}

@media (min-width: 560px) {
  .vlab__ticks {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
  .vlab__ticks[data-vlab-ticks="digital"] {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.vlab__ticks button {
  min-height: 44px;
  padding: 8px 12px;
  border: 1px solid var(--border-soft);
  border-radius: 4px;
  background: #181818;
  color: var(--faint);
  font: 500 0.74rem/1.3 var(--mono);
  text-align: left;
  cursor: pointer;
  transition: border-color 0.2s, color 0.2s, background-color 0.2s;
}

.vlab__ticks button:hover {
  color: var(--text);
  border-color: var(--border-strong);
}

.vlab__ticks button[aria-pressed="true"] {
  border-color: var(--accent);
  color: var(--text);
  background: #221d0f;
}

.vlab__notes {
  display: grid;
  gap: 14px;
  min-width: 0;
}

@media (min-width: 700px) and (max-width: 1059px) {
  .vlab__notes {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .vnote--plain {
    grid-column: 1 / -1;
  }
}

.vnote {
  padding: 20px 22px;
  border: 1px solid var(--border-soft);
  border-radius: var(--radius);
  background: var(--bg);
  color: var(--muted);
  transition: border-color 0.3s, background-color 0.3s;
}

.vnote h3 {
  margin-bottom: 10px;
  color: var(--text);
  font-family: var(--mono);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.vnote.is-active {
  border-color: var(--accent-dim);
  background: #1e1b12;
}

.vnote.is-active h3 {
  color: var(--accent);
}

.vnote--plain {
  padding: 14px 0 0;
  border: 0;
  background: none;
  font-size: 0.95rem;
}

.vnote--plain h3 {
  color: var(--faint);
}

/* ---------- Racing ---------- */

.bento {
  display: grid;
  gap: 14px;
}

.bento__item {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.bento__item img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  height: auto;
  object-fit: cover;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--field);
}

.bento__item figcaption {
  margin-top: 10px;
  color: var(--muted);
  font-size: 0.92rem;
}

@media (min-width: 700px) {
  .bento {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px 16px;
  }
  .bento__item--hero {
    grid-column: 1 / -1;
  }
}

/* Wide hero column: its box stays close to 16:9, and any crop only trims the right edge, never the HUD */
@media (min-width: 1060px) {
  .bento {
    grid-template-columns: minmax(0, 2.7fr) repeat(2, minmax(0, 1fr));
  }
  .bento__item--hero {
    grid-column: 1;
    grid-row: span 2;
  }
  .bento__item--hero img {
    flex: 1 1 auto;
    min-height: 0;
    aspect-ratio: auto;
    height: 100%;
    object-position: left top;
  }
}

.ticks {
  display: grid;
  gap: 14px 40px;
  margin: 44px 0 0;
  padding: 28px 0 0;
  border-top: 1px solid var(--border-soft);
  list-style: none;
  color: var(--text-2);
}

@media (min-width: 800px) {
  .ticks {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.ticks li {
  position: relative;
  padding-left: 28px;
}

.ticks li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.42em;
  width: 12px;
  height: 12px;
  border: 2px solid var(--accent);
}

/* ---------- Survival ---------- */

.survival {
  display: grid;
  gap: 40px;
}

@media (min-width: 1060px) {
  .survival {
    grid-template-columns: minmax(0, 5fr) minmax(0, 6.5fr);
    gap: 64px;
    align-items: center;
  }
}

.survival__intro,
.survival__recipe {
  min-width: 0;
}

.loot {
  margin-top: 32px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
  color: var(--muted);
}

.loot__label,
.tile__label {
  margin-bottom: 8px;
  color: var(--accent);
  font-family: var(--mono);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.loot__label + p {
  margin-top: 0;
}

.survival__recipe figcaption {
  color: var(--muted);
  font-size: 0.98rem;
}

.trio {
  display: grid;
  gap: 40px;
  margin-top: clamp(3.5rem, 2.5rem + 4vw, 5.5rem);
}

/* Tablets: picture and text side by side instead of three huge stacked screenshots */
@media (min-width: 640px) and (max-width: 899px) {
  .trio {
    gap: 32px;
  }
  .trio figure {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
    align-items: center;
    gap: 28px;
  }
  .trio figcaption {
    margin-top: 0;
  }
}

@media (min-width: 900px) {
  .trio {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 28px;
  }
}

.trio figure {
  min-width: 0;
}

.trio figcaption {
  margin-top: 18px;
  color: var(--muted);
  font-size: 0.98rem;
}

.trio h3 {
  margin-bottom: 8px;
  color: var(--text);
  font-size: 1.2rem;
  font-stretch: 105%;
}

/* ---------- Extras ---------- */

.extras {
  display: grid;
  gap: 16px;
}

.tile {
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: 12px 12px 26px;
  border: 1px solid var(--border-soft);
  border-radius: 12px;
  background: var(--panel-2);
  color: var(--muted);
}

.tile__text {
  min-width: 0;
}

.tile h3 {
  margin: 22px 10px 10px;
  color: var(--text);
  font-size: clamp(1.25rem, 1.1rem + 0.5vw, 1.5rem);
  font-stretch: 106%;
}

.tile p {
  margin-inline: 10px;
}

.tile--dust .tile__label {
  margin: 22px 10px 0;
}

.tile--dust h3 {
  margin-top: 6px;
}

/* Tablets: one tile per row, picture and text side by side, alternating sides */
@media (min-width: 760px) and (max-width: 1059px) {
  .tile {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
    align-items: center;
    gap: 28px;
    padding: 12px 28px 12px 12px;
  }
  .tile:nth-child(even) {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
    padding: 12px 12px 12px 28px;
  }
  .tile:nth-child(even) > .tile__text {
    order: -1;
  }
  .tile__text {
    padding-block: 14px;
  }
  .tile h3 {
    margin: 0 0 10px;
  }
  .tile p {
    margin-inline: 0;
  }
  .tile--dust .tile__label {
    margin: 0 0 6px;
  }
  .tile--dust h3 {
    margin-top: 0;
  }
}

@media (min-width: 1060px) {
  .extras {
    grid-template-columns: repeat(12, minmax(0, 1fr));
    gap: 18px;
  }
  .tile--light,
  .tile--paint,
  .tile--school { grid-column: span 7; }
  .tile--cam,
  .tile--tricks,
  .tile--dust { grid-column: span 5; }
  .tile--light .shot,
  .tile--tricks .shot,
  .tile--dust .shot {
    flex: 1 1 auto;
    min-height: 220px;
    aspect-ratio: auto;
  }
}

.pip {
  position: relative;
}

.pip__inset {
  margin-top: 8px;
}

@media (min-width: 760px) {
  .pip:not(.pip--stack) .pip__inset {
    position: absolute;
    right: -6px;
    bottom: -14px;
    width: 40%;
    margin-top: 0;
    border: 2px solid var(--bg);
    border-radius: 6px;
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.65);
  }
}

@media (min-width: 1060px) {
  .pip:not(.pip--stack) .pip__inset {
    width: 34%;
  }
}

/* Zoom: every screenshot outside the gallery opens in the lightbox */

.zoomable {
  cursor: zoom-in;
}

.zoom-btn {
  position: absolute;
  top: 8px;
  right: 8px;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 6px;
  background: rgba(18, 18, 18, 0.72);
  color: var(--text);
  cursor: zoom-in;
  opacity: 0;
  transition: opacity 0.2s, border-color 0.2s, color 0.2s;
}

.zoom-btn svg {
  display: block;
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: square;
}

/* Hidden until the screenshot is hovered or the button has keyboard focus, so it never covers in-game labels */
.zoom-host:hover .zoom-btn,
.zoom-btn:focus-visible {
  opacity: 1;
}

.zoom-btn:hover,
.zoom-btn:focus-visible {
  border-color: var(--accent);
  color: var(--accent);
}

.zoom-btn:focus-visible {
  outline-offset: 2px;
}

.bento__item.zoom-host {
  position: relative;
}

.pip__inset .zoom-btn {
  top: 6px;
  right: 6px;
  width: 30px;
  height: 30px;
}

.pip__inset .zoom-btn svg {
  width: 14px;
  height: 14px;
}

.toggle {
  position: absolute;
  left: 12px;
  bottom: 12px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 40px;
  padding: 8px 14px;
  border: 1px solid var(--border-strong);
  border-radius: 4px;
  background: rgba(18, 18, 18, 0.88);
  color: var(--text);
  font: 600 0.74rem/1 var(--mono);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  transition: border-color 0.2s;
}

.toggle:hover {
  border-color: var(--accent);
}

.toggle__led {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #3a3a3a;
  box-shadow: inset 0 0 0 1px #555;
  transition: background-color 0.2s, box-shadow 0.2s;
}

.toggle[aria-pressed="true"] .toggle__led {
  background: var(--accent);
  box-shadow: 0 0 10px 2px rgba(255, 187, 0, 0.55);
}

.toggle::after {
  content: "OFF";
  content: "OFF" / "";
  color: var(--faint);
}

.toggle[aria-pressed="true"]::after {
  content: "ON";
  content: "ON" / "";
  color: var(--accent);
}

html[lang="de"] .toggle::after {
  content: "AUS";
  content: "AUS" / "";
}

html[lang="de"] .toggle[aria-pressed="true"]::after {
  content: "AN";
  content: "AN" / "";
}

/* ---------- Gallery ---------- */

.gallery {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

/* 16 screenshots: 2 or 4 per row, so the last row is always full */
@media (min-width: 760px) {
  .gallery {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
  }
}

.gallery a {
  position: relative;
  display: block;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  border: 1px solid var(--border-soft);
  border-radius: 6px;
  background: var(--field);
  transition: border-color 0.25s;
}

.gallery img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease-out), filter 0.3s;
}

.gallery a:hover {
  border-color: var(--accent);
}

.gallery a:hover img {
  transform: scale(1.04);
}

.gallery a:focus-visible {
  outline-offset: 2px;
}

/* ---------- Release ---------- */

.release {
  display: grid;
  gap: 48px;
}

@media (min-width: 1000px) {
  .release {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
    gap: 64px;
    align-items: start;
  }
}

.release__cta,
.compat {
  min-width: 0;
}

.status {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-top: 28px;
  padding: 10px 14px;
  border: 1px solid var(--border);
  border-radius: 4px;
  background: var(--field);
  color: var(--text-2);
  font-family: var(--mono);
  font-size: 0.8rem;
  letter-spacing: 0.04em;
}

.status .mono {
  color: var(--accent);
  font-size: 1em;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.compat {
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--field);
  overflow: hidden;
}

.compat__title {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px 12px;
  padding: 14px 20px 12px;
  border-bottom: 2px solid var(--accent);
  background: #252525;
  color: var(--text);
  font-size: 0.95rem;
  font-weight: 600;
  font-stretch: 100%;
}

.compat__title::before {
  content: "PROPWASH FPV  |";
  content: "PROPWASH FPV  |" / "";
  color: var(--accent);
  font-family: var(--mono);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  white-space: pre;
}

.compat__list {
  margin: 0;
  padding: 6px 20px;
}

.compat__list > div {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 2px;
  padding: 12px 0;
  border-bottom: 1px solid #262626;
}

@media (min-width: 520px) {
  .compat__list > div {
    grid-template-columns: 130px minmax(0, 1fr);
    gap: 16px;
  }
}

.compat__list dt {
  padding-top: 3px;
  color: var(--faint);
  font-family: var(--mono);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.compat__list dd {
  margin: 0;
  color: var(--text-2);
}

.compat__note {
  padding: 4px 20px 20px;
  color: var(--faint);
  font-size: 0.9rem;
}

.compat__note + .compat__note {
  margin-top: 0;
}

/* ---------- FAQ ---------- */

.faq {
  display: grid;
  gap: 8px;
}

@media (min-width: 1000px) {
  .faq {
    grid-template-columns: minmax(0, 4fr) minmax(0, 7fr);
    gap: 64px;
    align-items: start;
  }
  .faq .section__head {
    position: sticky;
    top: calc(var(--header-h) + 32px);
  }
}

.faq__list {
  min-width: 0;
  border-top: 1px solid var(--border);
}

.faq details {
  border-bottom: 1px solid var(--border);
}

.faq summary {
  position: relative;
  padding: 22px 48px 22px 0;
  color: var(--text);
  font-size: clamp(1.08rem, 1rem + 0.3vw, 1.22rem);
  font-weight: 600;
  line-height: 1.35;
  list-style: none;
  cursor: pointer;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary::before,
.faq summary::after {
  content: "";
  position: absolute;
  right: 6px;
  top: 50%;
  width: 16px;
  height: 2px;
  background: var(--accent);
  transition: transform 0.3s var(--ease-out);
}

.faq summary::after {
  transform: rotate(90deg);
}

.faq details[open] summary::after {
  transform: rotate(0deg);
}

.faq summary:hover {
  color: var(--accent-hover);
}

.faq details p {
  max-width: var(--measure);
  padding-bottom: 24px;
  color: var(--muted);
}

/* ---------- Footer ---------- */

.site-footer {
  padding: 56px 0 64px;
  border-top: 1px solid var(--border-soft);
  background: var(--bg-deep);
  color: var(--faint);
  font-size: 0.92rem;
}

.site-footer__inner {
  display: grid;
  gap: 28px;
}

@media (min-width: 900px) {
  .site-footer__inner {
    grid-template-columns: auto minmax(0, 1fr) auto;
    gap: 48px;
    align-items: start;
  }
}

.site-footer__brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--text);
}

.site-footer__brand img {
  display: block;
  border-radius: 8px;
}

.site-footer__legal {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

html[lang="en"] .legal-mc[lang="en"],
html[lang="de"] .legal-mc[lang="de"] {
  order: -1;
  color: var(--text-2);
}

.site-footer__small {
  font-size: 0.84rem;
}

.site-footer a {
  color: var(--muted);
}

.site-footer a:hover {
  color: var(--accent);
}

.site-footer__top {
  justify-self: start;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  margin-top: -12px;
  font-family: var(--mono);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* ---------- Lightbox ---------- */

.lightbox {
  width: 100%;
  max-width: 100%;
  height: 100%;
  max-height: 100%;
  margin: 0;
  padding: 0;
  border: 0;
  background: rgba(12, 12, 12, 0.97);
  color: var(--text);
  overflow: hidden;
}

.lightbox[open] {
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto;
}

.lightbox::backdrop {
  background: rgba(0, 0, 0, 0.75);
}

.lightbox__stage {
  display: grid;
  place-items: center;
  min-height: 0;
  padding: 16px;
  touch-action: pan-y pinch-zoom;
}

.lightbox__img {
  display: block;
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  border: 1px solid var(--border);
  border-radius: 6px;
  background: var(--field);
  user-select: none;
  -webkit-user-drag: none;
}

@media (prefers-reduced-motion: no-preference) {
  .lightbox__img.is-in {
    animation: fade-in 0.25s ease both;
  }
}

@keyframes fade-in {
  from { opacity: 0; }
  to { opacity: 1; }
}

.lightbox__bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 16px;
  padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
  border-top: 1px solid var(--border-soft);
  background: #141414;
}

.lightbox__caption {
  flex: 1 1 280px;
  min-width: 0;
  color: var(--text-2);
  font-size: 0.95rem;
}

.lightbox__count {
  color: var(--faint);
  font-size: 0.8rem;
}

.lightbox__nav {
  display: flex;
  gap: 6px;
  margin-left: auto;
}

.icon-btn {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid var(--border-strong);
  border-radius: 6px;
  background: var(--panel);
  color: var(--text);
  cursor: pointer;
  transition: border-color 0.2s, background-color 0.2s;
}

.icon-btn:hover {
  border-color: var(--accent);
  background: var(--panel-hi);
}

.lightbox.is-single .lightbox__count,
.lightbox.is-single [data-lightbox-prev],
.lightbox.is-single [data-lightbox-next] {
  display: none;
}

html.lightbox-open {
  overflow: hidden;
}

/* ---------- Motion preferences ---------- */

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
  .feed__scan::after,
  .soon-dot::after {
    display: none;
  }
  .osd-rec i {
    animation: none;
  }
}

.community{margin-top:2rem;padding-top:1.5rem;border-top:1px solid var(--border, #383838)}
.community p{margin:.4rem 0 0;color:#bdbdbd;max-width:42rem}
.community .hero__cta{margin-top:1rem}
.community .btn svg{margin-right:.45rem;flex:none}
.site-footer__links{margin:.5rem 0 0;font-size:.875rem}
.site-footer__links a{color:inherit;text-decoration:underline;text-underline-offset:3px}
.site-footer__links a:hover,.site-footer__links a:focus-visible{color:var(--accent)}

.social{display:flex;gap:4px;align-items:center;margin-left:auto}
.social + .lang-switch{margin-left:0}
@media (min-width: 1100px){.social{margin-left:8px}.social + .lang-switch{margin-left:8px}.site-nav__social{display:none}}
@media (max-width: 519px){.social{display:none}.social + .lang-switch{margin-left:auto}}
.site-nav__social svg{vertical-align:-3px;margin-right:.3rem}
.social__link{display:inline-flex;align-items:center;justify-content:center;width:40px;height:40px;border:1px solid var(--border, #383838);border-radius:6px;color:#d8d8d8;background:transparent;transition:color .15s,border-color .15s,background-color .15s}
.social__link:hover,.social__link:focus-visible{color:var(--accent);border-color:var(--accent)}
.social__link svg{display:block}
.site-footer__links a svg{vertical-align:-2px;margin-right:.2rem}

.site-nav a{white-space:nowrap}
.site-footer__brand{flex-wrap:wrap}
.site-footer__links{flex-basis:100%}
