:root {
  color-scheme: dark;
  --bg: #050505;
  --bg-2: #10100f;
  --panel: #171412;
  --panel-2: #211814;
  --steel: #8b8780;
  --steel-bright: #d4c9b7;
  --text: #f2ece3;
  --muted: #b7aaa0;
  --dim: #766f68;
  --red: #db1f1a;
  --red-dark: #650e0b;
  --orange: #ff7a19;
  --amber: #f7bf4a;
  --neon: #38f0d0;
  --acid: #a6ff59;
  --line: rgba(255, 122, 25, 0.28);
  --shadow-red: 0 0 32px rgba(219, 31, 26, 0.35);
  --max-width: 1180px;
  --header-height: 76px;
  --radius: 8px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: var(--bg);
}

body {
  margin: 0;
  min-width: 320px;
  background:
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.018) 0 1px, transparent 1px 84px),
    linear-gradient(180deg, #050505 0%, #120d0c 44%, #060606 100%);
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
  overflow-x: hidden;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  content: "";
  background:
    repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.028) 0 1px, transparent 1px 3px),
    linear-gradient(120deg, rgba(219, 31, 26, 0.08), transparent 32%, rgba(56, 240, 208, 0.04) 72%, transparent);
  mix-blend-mode: screen;
  opacity: 0.34;
}

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

button {
  font: inherit;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 30;
  padding: 10px 14px;
  background: var(--orange);
  color: #120604;
  font-weight: 900;
  transform: translateY(-140%);
  transition: transform 180ms ease;
}

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

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

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: var(--header-height);
  padding: 14px clamp(18px, 4vw, 48px);
  border-bottom: 1px solid rgba(255, 122, 25, 0.2);
  background: rgba(5, 5, 5, 0.74);
  backdrop-filter: blur(16px);
}

.site-header.is-scrolled {
  background: rgba(5, 5, 5, 0.92);
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.36);
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.brand-sigil {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid rgba(255, 122, 25, 0.7);
  background:
    linear-gradient(135deg, rgba(219, 31, 26, 0.92), rgba(255, 122, 25, 0.58)),
    #1d0907;
  color: #fff5e8;
  font-weight: 1000;
  line-height: 1;
  box-shadow: var(--shadow-red);
  clip-path: polygon(12% 0, 100% 0, 88% 100%, 0 100%);
}

.brand-mark strong,
.brand-mark small {
  display: block;
  line-height: 1.05;
}

.brand-mark strong {
  font-size: 1rem;
  letter-spacing: 0;
}

.brand-mark small {
  margin-top: 4px;
  color: var(--muted);
  font-size: 0.72rem;
  text-transform: uppercase;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(14px, 2.5vw, 30px);
  margin-left: auto;
}

.site-nav a {
  position: relative;
  color: var(--muted);
  font-size: 0.84rem;
  font-weight: 800;
  text-transform: uppercase;
  transition: color 180ms ease;
}

.site-nav a::after {
  position: absolute;
  left: 0;
  bottom: -8px;
  width: 100%;
  height: 2px;
  content: "";
  background: var(--orange);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 180ms ease;
}

.site-nav a:hover,
.site-nav a:focus-visible,
.site-nav a.is-active {
  color: var(--text);
}

.site-nav a:hover::after,
.site-nav a:focus-visible::after,
.site-nav a.is-active::after {
  transform: scaleX(1);
}

.header-controls {
  display: flex;
  align-items: center;
  gap: 10px;
}

.language-switcher {
  position: relative;
  flex: 0 0 auto;
}

.language-switcher::after {
  position: absolute;
  top: 50%;
  right: 10px;
  width: 7px;
  height: 7px;
  pointer-events: none;
  content: "";
  border-right: 2px solid var(--orange);
  border-bottom: 2px solid var(--orange);
  transform: translateY(-68%) rotate(45deg);
}

.language-select {
  width: 64px;
  min-height: 38px;
  padding: 8px 28px 8px 10px;
  border: 1px solid rgba(255, 122, 25, 0.36);
  border-radius: var(--radius);
  appearance: none;
  background:
    linear-gradient(135deg, rgba(219, 31, 26, 0.14), transparent),
    rgba(255, 255, 255, 0.04);
  color: var(--steel-bright);
  font-size: 0.78rem;
  font-weight: 950;
  text-transform: uppercase;
  cursor: pointer;
}

.language-select:hover,
.language-select:focus-visible {
  border-color: rgba(56, 240, 208, 0.44);
  color: var(--text);
  outline: none;
}

.language-select option {
  background: #080808;
  color: var(--text);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  place-items: center;
  border: 1px solid rgba(255, 122, 25, 0.36);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  cursor: pointer;
}

.nav-toggle-line {
  display: block;
  width: 20px;
  height: 2px;
  margin: 3px 0;
  background: currentColor;
  transition: transform 180ms ease, opacity 180ms ease;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-line:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle-line:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-line:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

.hero-section {
  position: relative;
  display: grid;
  min-height: min(860px, 88svh);
  padding: calc(var(--header-height) + 42px) clamp(18px, 5vw, 64px) 72px;
  overflow: hidden;
  isolation: isolate;
  background: #040404;
}

.hero-canvas {
  position: absolute;
  inset: 0;
  z-index: -3;
  width: 100%;
  height: 100%;
  background: #050505;
}

.hero-section::before,
.hero-section::after,
.hero-scanline {
  position: absolute;
  inset: 0;
  pointer-events: none;
  content: "";
}

.hero-section::before {
  z-index: -2;
  background:
    linear-gradient(90deg, rgba(5, 5, 5, 0.18), rgba(5, 5, 5, 0.02) 48%, rgba(5, 5, 5, 0.72)),
    linear-gradient(180deg, transparent 55%, rgba(5, 5, 5, 0.94));
}

.hero-section::after {
  z-index: -1;
  opacity: 0.46;
  background:
    linear-gradient(132deg, transparent 0 28%, rgba(219, 31, 26, 0.2) 28% 29%, transparent 29% 100%),
    linear-gradient(43deg, transparent 0 64%, rgba(255, 122, 25, 0.16) 64% 65%, transparent 65% 100%),
    repeating-linear-gradient(112deg, transparent 0 38px, rgba(255, 255, 255, 0.045) 38px 39px, transparent 39px 90px);
}

.hero-scanline {
  z-index: 1;
  background:
    repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.06) 0 1px, transparent 1px 5px);
  mix-blend-mode: overlay;
  opacity: 0.28;
}

.hero-layout {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(280px, 0.78fr);
  align-items: center;
  gap: clamp(32px, 6vw, 84px);
  width: min(100%, var(--max-width));
  margin: 0 auto;
}

.hero-copy {
  max-width: 760px;
}

.section-kicker {
  margin: 0 0 14px;
  color: var(--orange);
  font-size: clamp(0.74rem, 1vw, 0.9rem);
  font-weight: 950;
  text-transform: uppercase;
}

.hero-copy h1 {
  margin: 0;
  color: var(--text);
  font-size: clamp(4rem, 15vw, 11rem);
  line-height: 0.82;
  text-transform: uppercase;
  text-shadow:
    0 0 22px rgba(219, 31, 26, 0.46),
    4px 4px 0 rgba(101, 14, 11, 0.9);
}

.hero-slogan {
  max-width: 570px;
  margin: 26px 0 0;
  color: var(--steel-bright);
  font-size: clamp(1.1rem, 2.2vw, 1.85rem);
  font-weight: 800;
  line-height: 1.25;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 13px 18px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-size: 0.86rem;
  font-weight: 950;
  text-transform: uppercase;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease, color 180ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
}

.button-primary {
  border-color: rgba(255, 190, 74, 0.52);
  background: linear-gradient(135deg, var(--red), var(--orange));
  color: #180705;
  box-shadow: var(--shadow-red);
}

.button-secondary {
  border-color: rgba(56, 240, 208, 0.42);
  background: rgba(5, 5, 5, 0.52);
  color: var(--neon);
}

.hero-emblem {
  display: grid;
  justify-items: end;
}

.emblem-frame {
  position: relative;
  display: grid;
  align-content: end;
  width: min(100%, 420px);
  min-height: 480px;
  padding: 28px;
  border: 1px solid rgba(255, 122, 25, 0.38);
  background:
    linear-gradient(145deg, rgba(255, 122, 25, 0.12), transparent 42%),
    linear-gradient(18deg, rgba(56, 240, 208, 0.08), transparent 38%),
    rgba(9, 8, 8, 0.5);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.04), 0 28px 80px rgba(0, 0, 0, 0.44);
  clip-path: polygon(0 7%, 92% 0, 100% 18%, 100% 100%, 9% 100%, 0 82%);
}

.emblem-frame::before {
  position: absolute;
  inset: 24px;
  content: "";
  border: 1px solid rgba(166, 255, 89, 0.18);
  clip-path: polygon(6% 0, 100% 0, 94% 100%, 0 100%);
}

.emblem-frame::after {
  position: absolute;
  inset: 0;
  content: "";
  background:
    repeating-linear-gradient(90deg, transparent 0 17px, rgba(255, 255, 255, 0.04) 17px 18px),
    linear-gradient(180deg, transparent 0 52%, rgba(219, 31, 26, 0.2) 52% 53%, transparent 53%);
}

.emblem-core {
  position: absolute;
  top: 50%;
  left: 50%;
  display: grid;
  width: min(64%, 250px);
  aspect-ratio: 1;
  place-items: center;
  transform: translate(-50%, -56%) rotate(-9deg);
}

.emblem-core::before,
.emblem-core::after {
  position: absolute;
  content: "";
  border: 2px solid rgba(255, 122, 25, 0.68);
  box-shadow: 0 0 22px rgba(219, 31, 26, 0.45);
}

.emblem-core::before {
  inset: 6%;
  clip-path: polygon(50% 0, 100% 34%, 83% 100%, 18% 100%, 0 34%);
}

.emblem-core::after {
  inset: 23%;
  border-color: rgba(56, 240, 208, 0.52);
  transform: rotate(17deg);
  clip-path: polygon(11% 0, 100% 0, 89% 100%, 0 100%);
}

.emblem-slash {
  position: absolute;
  width: 32%;
  height: 110%;
  background: linear-gradient(180deg, rgba(255, 122, 25, 0), var(--red) 22%, var(--orange) 52%, rgba(255, 122, 25, 0));
  box-shadow: 0 0 24px rgba(219, 31, 26, 0.7);
  clip-path: polygon(34% 0, 100% 0, 66% 100%, 0 100%);
}

.emblem-slash:nth-child(1) {
  left: 19%;
}

.emblem-slash:nth-child(2) {
  left: 38%;
  opacity: 0.78;
}

.emblem-slash:nth-child(3) {
  left: 57%;
  opacity: 0.56;
}

.emblem-readout {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
  padding-top: 260px;
  color: var(--muted);
  font-size: 0.75rem;
  text-transform: uppercase;
}

.emblem-readout strong {
  color: var(--acid);
  font-size: 0.82rem;
}

.emblem-teaser-card {
  align-content: end;
  min-height: 520px;
  padding: 0;
  overflow: hidden;
  background: #080808;
}

.emblem-teaser-card::before {
  z-index: 1;
  inset: 0;
  border: 0;
  background:
    linear-gradient(180deg, rgba(5, 5, 5, 0.1), rgba(5, 5, 5, 0.82) 58%, rgba(5, 5, 5, 0.95)),
    linear-gradient(115deg, rgba(219, 31, 26, 0.42), transparent 38%, rgba(56, 240, 208, 0.14));
  clip-path: none;
}

.emblem-teaser-card::after {
  z-index: 2;
  opacity: 0.56;
  background:
    repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.06) 0 1px, transparent 1px 5px),
    linear-gradient(145deg, transparent 0 56%, rgba(255, 122, 25, 0.28) 56% 57%, transparent 57% 100%);
}

.emblem-teaser-media {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}

.emblem-teaser-video {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 1;
  width: max(100%, 93vh);
  height: max(100%, 52.3125vh);
  min-width: 100%;
  min-height: 100%;
  border: 0;
  opacity: 0.72;
  pointer-events: none;
  transform: translate(-50%, -50%) scale(1.18);
}

.emblem-teaser-media img {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(1.08) contrast(1.08) brightness(0.58);
  transform: scale(1.04);
}

.emblem-teaser-content {
  position: relative;
  z-index: 3;
  display: grid;
  gap: 14px;
  align-content: end;
  min-height: 520px;
  padding: 28px;
}

.emblem-teaser-title {
  margin: 0;
  color: var(--text);
  font-size: clamp(2rem, 4.8vw, 3.65rem);
  line-height: 0.88;
  overflow-wrap: anywhere;
  text-transform: uppercase;
  text-shadow:
    0 0 20px rgba(219, 31, 26, 0.55),
    2px 2px 0 rgba(101, 14, 11, 0.9);
}

.emblem-teaser-subtitle {
  margin: 0;
  color: var(--neon);
  font-size: 0.78rem;
  font-weight: 950;
  line-height: 1.25;
  text-transform: uppercase;
}

.emblem-teaser-text {
  margin: 0;
  color: var(--steel-bright);
  font-size: clamp(0.92rem, 1.45vw, 1.08rem);
  font-weight: 820;
  line-height: 1.35;
}

.emblem-teaser-status {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.emblem-teaser-status span {
  display: grid;
  gap: 4px;
  min-height: 62px;
  padding: 10px;
  border: 1px solid rgba(56, 240, 208, 0.24);
  border-radius: var(--radius);
  background: rgba(5, 5, 5, 0.64);
}

.emblem-teaser-status small {
  color: var(--orange);
  font-size: 0.68rem;
  font-weight: 950;
  text-transform: uppercase;
}

.emblem-teaser-status strong {
  color: var(--steel-bright);
  font-size: 0.82rem;
  line-height: 1.15;
  text-transform: uppercase;
}

.emblem-teaser-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.mini-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 9px 10px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-size: 0.72rem;
  font-weight: 950;
  line-height: 1.2;
  text-align: center;
  text-transform: uppercase;
}

.mini-button-primary {
  border-color: rgba(255, 190, 74, 0.48);
  background: linear-gradient(135deg, var(--red), var(--orange));
  color: #180705;
  cursor: not-allowed;
}

.mini-button-secondary {
  border-color: rgba(56, 240, 208, 0.42);
  background: rgba(5, 5, 5, 0.66);
  color: var(--neon);
  transition: border-color 180ms ease, color 180ms ease;
}

.mini-button-secondary:hover,
.mini-button-secondary:focus-visible {
  border-color: rgba(56, 240, 208, 0.72);
  color: var(--text);
}

.hero-project-strip {
  position: absolute;
  left: 50%;
  bottom: 0;
  z-index: 3;
  display: flex;
  width: min(100% - 36px, var(--max-width));
  transform: translateX(-50%);
  border: 1px solid rgba(255, 122, 25, 0.28);
  background: rgba(8, 8, 8, 0.76);
  backdrop-filter: blur(12px);
}

.hero-project-strip span {
  flex: 1 1 0;
  min-width: 0;
  padding: 13px clamp(10px, 2vw, 22px);
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 900;
  text-align: center;
  text-transform: uppercase;
}

.hero-project-strip span + span {
  border-left: 1px solid rgba(255, 122, 25, 0.2);
}

.survivors-teaser {
  position: relative;
  isolation: isolate;
  padding: clamp(76px, 10vw, 132px) clamp(18px, 5vw, 64px);
  overflow: hidden;
  background: #050505;
}

.survivors-backdrop {
  position: absolute;
  inset: 0;
  z-index: -3;
}

.survivors-backdrop img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(1.08) contrast(1.08) brightness(0.34);
  transform: scale(1.02);
}

.survivors-teaser::before,
.survivors-teaser::after {
  position: absolute;
  inset: 0;
  pointer-events: none;
  content: "";
}

.survivors-teaser::before {
  z-index: -2;
  background:
    linear-gradient(90deg, rgba(5, 5, 5, 0.88), rgba(5, 5, 5, 0.4) 48%, rgba(5, 5, 5, 0.82)),
    linear-gradient(180deg, rgba(5, 5, 5, 0.8), rgba(48, 8, 6, 0.64) 48%, rgba(5, 5, 5, 0.88));
}

.survivors-teaser::after {
  z-index: -1;
  opacity: 0.5;
  background:
    repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.065) 0 1px, transparent 1px 5px),
    linear-gradient(132deg, transparent 0 34%, rgba(219, 31, 26, 0.36) 34% 35%, transparent 35% 100%),
    linear-gradient(45deg, transparent 0 66%, rgba(56, 240, 208, 0.16) 66% 67%, transparent 67% 100%);
}

.survivors-inner {
  display: grid;
  gap: clamp(22px, 4vw, 36px);
  width: min(100%, var(--max-width));
  margin: 0 auto;
}

.survivors-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(300px, 0.72fr);
  gap: clamp(24px, 5vw, 58px);
  align-items: end;
}

.survivors-copy {
  max-width: 760px;
}

.survivors-copy h2 {
  margin: 0;
  color: var(--text);
  font-size: clamp(3rem, 9vw, 8rem);
  line-height: 0.86;
  overflow-wrap: anywhere;
  text-transform: uppercase;
  text-shadow:
    0 0 24px rgba(219, 31, 26, 0.5),
    3px 3px 0 rgba(101, 14, 11, 0.9);
}

.survivors-subtitle {
  margin: 18px 0 0;
  color: var(--neon);
  font-size: clamp(1rem, 2vw, 1.45rem);
  font-weight: 950;
  text-transform: uppercase;
}

.survivors-teaser-text {
  max-width: 690px;
  margin: 24px 0 0;
  color: var(--steel-bright);
  font-size: clamp(1.18rem, 2.35vw, 1.85rem);
  font-weight: 850;
  line-height: 1.24;
}

.survivors-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.button-disabled {
  cursor: not-allowed;
  opacity: 0.9;
}

.button-disabled:hover,
.button-disabled:focus-visible {
  transform: none;
}

.demo-status-box {
  position: relative;
  display: grid;
  gap: 18px;
  padding: clamp(22px, 3vw, 30px);
  overflow: hidden;
  border: 1px solid rgba(255, 122, 25, 0.34);
  border-radius: var(--radius);
  background:
    linear-gradient(145deg, rgba(219, 31, 26, 0.2), transparent 48%),
    rgba(5, 5, 5, 0.78);
  box-shadow: 0 28px 76px rgba(0, 0, 0, 0.42), 0 0 34px rgba(219, 31, 26, 0.16);
}

.demo-status-box::before {
  position: absolute;
  inset: 0;
  pointer-events: none;
  content: "";
  background:
    repeating-linear-gradient(90deg, transparent 0 16px, rgba(255, 255, 255, 0.035) 16px 17px),
    linear-gradient(155deg, transparent 0 54%, rgba(56, 240, 208, 0.16) 54% 55%, transparent 55% 100%);
}

.demo-status-box > * {
  position: relative;
  z-index: 1;
}

.demo-status-header strong {
  display: block;
  color: var(--amber);
  font-size: clamp(1.35rem, 3vw, 2.1rem);
  line-height: 1.02;
  text-transform: uppercase;
}

.demo-status-list {
  display: grid;
  gap: 0;
  margin: 0;
}

.demo-status-list div {
  display: grid;
  grid-template-columns: minmax(88px, 0.34fr) minmax(0, 1fr);
  gap: 12px;
  padding: 12px 0;
}

.demo-status-list div + div {
  border-top: 1px solid rgba(255, 255, 255, 0.09);
}

.demo-status-list dt,
.demo-status-list dd {
  margin: 0;
}

.demo-status-list dt {
  color: var(--orange);
  font-size: 0.72rem;
  font-weight: 950;
  text-transform: uppercase;
}

.demo-status-list dd {
  color: var(--steel-bright);
  font-size: 0.9rem;
  font-weight: 850;
  line-height: 1.35;
}

.survivors-feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.survivors-feature-card,
.survivors-focus,
.survivors-notify {
  border: 1px solid rgba(255, 122, 25, 0.24);
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(255, 122, 25, 0.08), transparent 54%),
    rgba(7, 7, 7, 0.74);
  box-shadow: 0 22px 54px rgba(0, 0, 0, 0.26);
}

.survivors-feature-card {
  position: relative;
  min-height: 160px;
  padding: 20px;
  overflow: hidden;
}

.survivors-feature-card::before {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 10px;
  height: 10px;
  content: "";
  background: var(--red);
  box-shadow: 0 0 18px rgba(219, 31, 26, 0.7);
  clip-path: polygon(50% 0, 100% 50%, 50% 100%, 0 50%);
}

.survivors-feature-card h3,
.survivors-focus h3,
.survivors-notify h3 {
  margin: 0;
  color: var(--text);
  font-size: clamp(1.12rem, 2vw, 1.55rem);
  line-height: 1.02;
  text-transform: uppercase;
}

.survivors-feature-card p,
.survivors-notify p {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 0.93rem;
  font-weight: 760;
}

.survivors-progress-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1.1fr);
  gap: 14px;
}

.survivors-focus,
.survivors-notify {
  padding: clamp(20px, 3vw, 28px);
}

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

.survivors-focus li {
  position: relative;
  min-height: 42px;
  padding: 10px 10px 10px 28px;
  border: 1px solid rgba(56, 240, 208, 0.18);
  border-radius: var(--radius);
  background: rgba(56, 240, 208, 0.04);
  color: var(--steel-bright);
  font-size: 0.84rem;
  font-weight: 900;
  text-transform: uppercase;
}

.survivors-focus li::before {
  position: absolute;
  top: 16px;
  left: 11px;
  width: 7px;
  height: 7px;
  content: "";
  background: var(--neon);
  box-shadow: 0 0 12px rgba(56, 240, 208, 0.55);
}

.notify-placeholder {
  display: grid;
  gap: 10px;
  margin-top: 20px;
}

.notify-placeholder label {
  color: var(--orange);
  font-size: 0.72rem;
  font-weight: 950;
  text-transform: uppercase;
}

.notify-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
}

.notify-row input,
.notify-row button {
  min-height: 48px;
  border: 1px solid rgba(255, 122, 25, 0.28);
  border-radius: var(--radius);
  font: inherit;
  font-weight: 850;
}

.notify-row input {
  width: 100%;
  padding: 12px 14px;
  background: rgba(5, 5, 5, 0.66);
  color: var(--steel-bright);
}

.notify-row input::placeholder {
  color: var(--dim);
}

.notify-row button {
  padding: 0 16px;
  background: rgba(255, 122, 25, 0.14);
  color: var(--amber);
  text-transform: uppercase;
  cursor: not-allowed;
}

.section {
  position: relative;
  padding: clamp(74px, 9vw, 118px) clamp(18px, 5vw, 64px);
}

.section::before {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  content: "";
  background:
    linear-gradient(90deg, rgba(219, 31, 26, 0.08), transparent 32%, rgba(255, 122, 25, 0.06)),
    repeating-linear-gradient(135deg, transparent 0 72px, rgba(255, 255, 255, 0.026) 72px 73px);
}

.section-inner {
  width: min(100%, var(--max-width));
  margin: 0 auto;
}

.section-heading {
  display: grid;
  min-width: 0;
  max-width: 760px;
  margin-bottom: clamp(30px, 5vw, 54px);
}

.section-heading > * {
  min-width: 0;
}

.section-heading h2 {
  margin: 0;
  font-size: clamp(2.25rem, 6vw, 5rem);
  line-height: 0.95;
  overflow-wrap: anywhere;
  text-transform: uppercase;
}

.section-heading p:not(.section-kicker) {
  max-width: 640px;
  margin: 18px 0 0;
  color: var(--muted);
  font-size: clamp(1rem, 1.5vw, 1.15rem);
}

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

.project-card {
  position: relative;
  display: grid;
  grid-template-rows: auto 1fr;
  min-height: 100%;
  overflow: hidden;
  border: 1px solid rgba(255, 122, 25, 0.28);
  border-radius: var(--radius);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.04), transparent 34%),
    var(--panel);
  box-shadow: 0 26px 62px rgba(0, 0, 0, 0.32);
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.project-card:hover {
  border-color: rgba(255, 122, 25, 0.58);
  box-shadow: 0 26px 62px rgba(0, 0, 0, 0.46), 0 0 34px rgba(219, 31, 26, 0.18);
  transform: translateY(-4px);
}

.project-media {
  position: relative;
  display: grid;
  min-height: 270px;
  place-items: end start;
  padding: 20px;
  overflow: hidden;
  background: #0b0b0b;
}

.project-media::before,
.project-media::after {
  position: absolute;
  inset: 0;
  content: "";
}

.project-media::before {
  background:
    repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.06) 0 1px, transparent 1px 6px),
    linear-gradient(115deg, transparent 0 34%, rgba(255, 122, 25, 0.32) 34% 36%, transparent 36% 100%);
  opacity: 0.76;
}

.project-media::after {
  background:
    radial-gradient(circle at 30% 36%, rgba(219, 31, 26, 0.64), transparent 18%),
    radial-gradient(circle at 70% 30%, rgba(56, 240, 208, 0.28), transparent 18%),
    linear-gradient(135deg, transparent 0 12%, rgba(255, 255, 255, 0.08) 12% 13%, transparent 13% 100%);
  mix-blend-mode: screen;
}

.project-media.survivors {
  background:
    linear-gradient(135deg, rgba(219, 31, 26, 0.36), transparent 36%),
    linear-gradient(30deg, #111 0 34%, #26100e 34% 56%, #070707 56% 100%);
}

.project-media.noscope {
  background:
    linear-gradient(145deg, rgba(255, 122, 25, 0.3), transparent 42%),
    linear-gradient(24deg, #080808 0 32%, #221610 32% 62%, #0d0b0a 62% 100%);
}

.project-media span,
.media-tile span {
  position: relative;
  z-index: 2;
  display: inline-flex;
  max-width: 100%;
  padding: 8px 10px;
  border: 1px solid rgba(255, 122, 25, 0.34);
  background: rgba(5, 5, 5, 0.72);
  color: var(--steel-bright);
  font-size: 0.76rem;
  font-weight: 900;
  text-transform: uppercase;
}

.project-media.has-image img {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(1.12) contrast(1.05) brightness(0.76);
  transform: scale(1.02);
}

.project-media.has-image::before,
.project-media.has-image::after {
  z-index: 1;
}

.project-media.has-image span {
  box-shadow: 0 0 24px rgba(0, 0, 0, 0.45);
}

.project-content {
  padding: clamp(22px, 3vw, 32px);
}

.project-label {
  margin: 0 0 8px;
  color: var(--neon);
  font-size: 0.74rem;
  font-weight: 950;
  text-transform: uppercase;
}

.project-content h3,
.dev-status-card h3,
.news-card h3,
.video-copy h3,
.media-group-heading h3 {
  margin: 0;
  color: var(--text);
  font-size: clamp(1.55rem, 2.5vw, 2.2rem);
  line-height: 1.02;
}

.project-content p:not(.project-label),
.news-card p,
.about-copy p {
  color: var(--muted);
}

.project-status {
  display: grid;
  gap: 10px;
  margin: 24px 0 0;
  padding: 14px;
  border: 1px solid rgba(56, 240, 208, 0.18);
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(56, 240, 208, 0.08), transparent 58%),
    rgba(5, 5, 5, 0.34);
}

.project-status div {
  display: grid;
  grid-template-columns: minmax(118px, 0.42fr) minmax(0, 1fr);
  gap: 10px;
  align-items: start;
  padding: 9px 0;
}

.project-status div + div {
  border-top: 1px solid rgba(255, 255, 255, 0.075);
}

.project-status dt,
.project-status dd {
  margin: 0;
}

.project-status dt {
  color: var(--orange);
  font-size: 0.72rem;
  font-weight: 950;
  text-transform: uppercase;
}

.project-status dd {
  color: var(--steel-bright);
  font-size: 0.88rem;
  font-weight: 850;
  line-height: 1.35;
}

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

.feature-list li {
  position: relative;
  min-height: 42px;
  padding: 10px 10px 10px 30px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.035);
  color: var(--steel-bright);
  font-size: 0.86rem;
  font-weight: 800;
}

.feature-list li::before {
  position: absolute;
  top: 16px;
  left: 12px;
  width: 8px;
  height: 8px;
  content: "";
  background: var(--orange);
  box-shadow: 0 0 12px rgba(255, 122, 25, 0.75);
  clip-path: polygon(50% 0, 100% 50%, 50% 100%, 0 50%);
}

.section-status {
  background:
    linear-gradient(180deg, rgba(5, 5, 5, 0.78), rgba(18, 13, 12, 0.82)),
    #050505;
}

.dev-status-panel {
  display: grid;
  gap: 16px;
}

.dev-status-source {
  width: fit-content;
  max-width: 100%;
  padding: 9px 12px;
  border: 1px solid rgba(255, 122, 25, 0.26);
  border-radius: var(--radius);
  background: rgba(5, 5, 5, 0.52);
  color: var(--muted);
  font-size: 0.74rem;
  font-weight: 950;
  text-transform: uppercase;
}

.dev-status-source[data-state-mode="loaded"] {
  border-color: rgba(56, 240, 208, 0.34);
  color: var(--neon);
}

.dev-status-source[data-state-mode="fallback"] {
  border-color: rgba(247, 191, 74, 0.34);
  color: var(--amber);
}

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

.dev-status-card {
  position: relative;
  display: grid;
  gap: 22px;
  min-height: 100%;
  padding: clamp(22px, 3vw, 32px);
  overflow: hidden;
  border: 1px solid rgba(255, 122, 25, 0.28);
  border-radius: var(--radius);
  background:
    linear-gradient(145deg, rgba(219, 31, 26, 0.13), transparent 40%),
    linear-gradient(25deg, rgba(56, 240, 208, 0.055), transparent 34%),
    rgba(18, 16, 15, 0.9);
  box-shadow: 0 26px 62px rgba(0, 0, 0, 0.34);
}

.dev-status-card::before {
  position: absolute;
  inset: 0;
  pointer-events: none;
  content: "";
  background:
    repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.045) 0 1px, transparent 1px 5px),
    linear-gradient(155deg, transparent 0 48%, rgba(255, 122, 25, 0.2) 48% 49%, transparent 49% 100%);
  opacity: 0.44;
}

.dev-status-card > * {
  position: relative;
  z-index: 1;
}

.dev-status-card-header {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 18px;
}

.status-badge {
  display: inline-flex;
  max-width: min(100%, 260px);
  padding: 8px 10px;
  border: 1px solid rgba(56, 240, 208, 0.35);
  border-radius: var(--radius);
  background: rgba(56, 240, 208, 0.08);
  color: var(--neon);
  font-size: 0.72rem;
  font-weight: 950;
  line-height: 1.25;
  text-align: right;
  text-transform: uppercase;
}

.dev-status-details {
  display: grid;
  gap: 0;
  margin: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.dev-status-details div {
  display: grid;
  grid-template-columns: minmax(130px, 0.36fr) minmax(0, 1fr);
  gap: 12px;
  padding: 13px 0;
}

.dev-status-details div + div {
  border-top: 1px solid rgba(255, 255, 255, 0.075);
}

.dev-status-details dt,
.dev-status-details dd {
  margin: 0;
}

.dev-status-details dt {
  color: var(--orange);
  font-size: 0.72rem;
  font-weight: 950;
  text-transform: uppercase;
}

.dev-status-details dd {
  color: var(--steel-bright);
  font-size: 0.9rem;
  font-weight: 830;
  line-height: 1.4;
}

.dev-status-notes h4 {
  margin: 0 0 14px;
  color: var(--amber);
  font-size: 0.8rem;
  font-weight: 950;
  text-transform: uppercase;
}

.dev-status-notes ul {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.dev-status-notes li {
  position: relative;
  min-height: 28px;
  padding-left: 24px;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 760;
}

.dev-status-notes li::before {
  position: absolute;
  top: 8px;
  left: 2px;
  width: 8px;
  height: 8px;
  content: "";
  background: var(--red);
  box-shadow: 0 0 14px rgba(219, 31, 26, 0.55);
  clip-path: polygon(50% 0, 100% 50%, 50% 100%, 0 50%);
}

.dev-status-notes li::after {
  position: absolute;
  top: 20px;
  bottom: -12px;
  left: 5px;
  width: 1px;
  content: "";
  background: rgba(255, 122, 25, 0.2);
}

.dev-status-notes li:last-child::after {
  display: none;
}

.section-devlog {
  background: linear-gradient(180deg, rgba(13, 11, 10, 0.76), rgba(5, 5, 5, 0.7));
}

.news-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.news-card {
  position: relative;
  min-height: 250px;
  padding: clamp(22px, 3vw, 30px);
  border: 1px solid rgba(255, 122, 25, 0.25);
  border-radius: var(--radius);
  background:
    linear-gradient(145deg, rgba(219, 31, 26, 0.14), transparent 42%),
    rgba(18, 16, 15, 0.86);
}

.news-card::after {
  position: absolute;
  right: 18px;
  bottom: 18px;
  width: 42px;
  height: 10px;
  content: "";
  background: linear-gradient(90deg, var(--red), var(--orange));
  clip-path: polygon(0 0, 100% 0, 80% 100%, 0 100%);
}

.news-card time {
  display: block;
  margin-bottom: 18px;
  color: var(--amber);
  font-size: 0.78rem;
  font-weight: 950;
  text-transform: uppercase;
}

.about-layout {
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  gap: clamp(24px, 6vw, 74px);
  align-items: start;
}

.about-copy {
  padding-top: 6px;
}

.about-copy p {
  margin: 0;
  color: var(--steel-bright);
  font-size: clamp(1.12rem, 2vw, 1.55rem);
  font-weight: 750;
  line-height: 1.45;
}

.about-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 28px;
}

.about-stats span {
  min-height: 78px;
  padding: 14px;
  border: 1px solid rgba(56, 240, 208, 0.2);
  border-radius: var(--radius);
  background: rgba(56, 240, 208, 0.045);
  color: var(--neon);
  font-size: 0.78rem;
  font-weight: 950;
  text-transform: uppercase;
}

.media-showcase {
  display: grid;
  gap: 22px;
}

.media-group {
  display: grid;
  gap: 16px;
}

.media-group-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
  padding: 0 2px;
}

.media-group-heading .project-label {
  margin: 0;
  flex: 0 0 auto;
}

.media-group-heading h3 {
  max-width: 720px;
  text-align: right;
}

.video-feature {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(280px, 0.7fr);
  gap: 0;
  overflow: hidden;
  border: 1px solid rgba(255, 122, 25, 0.28);
  border-radius: var(--radius);
  background:
    linear-gradient(145deg, rgba(219, 31, 26, 0.16), transparent 44%),
    rgba(18, 16, 15, 0.88);
  box-shadow: 0 28px 72px rgba(0, 0, 0, 0.36);
}

.video-frame {
  position: relative;
  min-height: 320px;
  aspect-ratio: 16 / 9;
  background:
    repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.055) 0 1px, transparent 1px 5px),
    #070707;
}

.video-frame::after {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  content: "";
  border: 1px solid rgba(56, 240, 208, 0.12);
  box-shadow: inset 0 0 46px rgba(0, 0, 0, 0.45);
}

.video-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.video-copy {
  display: grid;
  align-content: center;
  padding: clamp(24px, 4vw, 42px);
}

.video-copy p:not(.project-label) {
  margin: 18px 0 0;
  color: var(--muted);
}

.screenshot-gallery {
  display: grid;
  grid-auto-flow: dense;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.screenshot-card,
.media-tile {
  position: relative;
  display: grid;
  margin: 0;
  min-height: 220px;
  place-items: end start;
  padding: 18px;
  overflow: hidden;
  border: 1px solid rgba(255, 122, 25, 0.24);
  border-radius: var(--radius);
  background:
    repeating-linear-gradient(90deg, transparent 0 18px, rgba(255, 255, 255, 0.035) 18px 19px),
    linear-gradient(135deg, rgba(219, 31, 26, 0.24), transparent 36%),
    #11100f;
}

.screenshot-card::before,
.media-tile::before {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  content: "";
  background:
    repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.05) 0 1px, transparent 1px 5px),
    linear-gradient(155deg, transparent 0 42%, rgba(255, 122, 25, 0.26) 42% 43%, transparent 43% 100%),
    radial-gradient(circle at 58% 34%, rgba(166, 255, 89, 0.12), transparent 19%);
}

.screenshot-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(1.08) contrast(1.02) brightness(0.82);
  transition: transform 220ms ease, filter 220ms ease;
}

.screenshot-card:hover img {
  filter: saturate(1.18) contrast(1.08) brightness(0.94);
  transform: scale(1.025);
}

.screenshot-card figcaption {
  position: relative;
  z-index: 2;
  display: inline-flex;
  max-width: 100%;
  padding: 8px 10px;
  border: 1px solid rgba(255, 122, 25, 0.34);
  background: rgba(5, 5, 5, 0.76);
  color: var(--steel-bright);
  font-size: 0.76rem;
  font-weight: 900;
  text-transform: uppercase;
}

.screenshot-wide,
.media-wide {
  grid-column: span 2;
  min-height: 300px;
}

.media-tall {
  grid-row: span 2;
  min-height: 454px;
}

.contact-layout {
  display: grid;
  grid-template-columns: 0.88fr 1.12fr;
  gap: clamp(26px, 5vw, 60px);
  align-items: start;
}

.contact-actions {
  display: grid;
  gap: 14px;
}

.contact-card {
  padding: clamp(18px, 3vw, 24px);
  border: 1px solid rgba(56, 240, 208, 0.24);
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(56, 240, 208, 0.08), transparent 58%),
    rgba(5, 5, 5, 0.4);
}

.contact-card p {
  display: grid;
  gap: 8px;
  margin: 0;
  color: var(--steel-bright);
  font-weight: 850;
}

.contact-card a {
  width: fit-content;
  color: var(--neon);
  font-size: clamp(1.05rem, 2vw, 1.35rem);
  font-weight: 950;
  word-break: break-word;
  transition: color 180ms ease, text-shadow 180ms ease;
}

.contact-card a:hover,
.contact-card a:focus-visible {
  color: var(--orange);
  text-shadow: 0 0 18px rgba(255, 122, 25, 0.38);
}

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

.follow-card {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 72px;
  padding: 16px;
  border: 1px solid rgba(255, 122, 25, 0.24);
  border-radius: var(--radius);
  background:
    linear-gradient(120deg, rgba(219, 31, 26, 0.12), transparent),
    rgba(255, 255, 255, 0.035);
  color: var(--text);
  font-size: 1rem;
  font-weight: 950;
  text-transform: uppercase;
  cursor: default;
  user-select: none;
}

.follow-card::after {
  flex: 0 0 auto;
  width: 10px;
  height: 10px;
  content: "";
  border-radius: 999px;
  background: var(--amber);
  box-shadow: 0 0 14px rgba(247, 191, 74, 0.55);
}

.follow-card-muted {
  border-color: rgba(255, 255, 255, 0.12);
  background:
    linear-gradient(120deg, rgba(255, 255, 255, 0.045), transparent),
    rgba(255, 255, 255, 0.02);
  color: var(--dim);
}

.follow-card-email {
  border-color: rgba(56, 240, 208, 0.34);
  background:
    linear-gradient(120deg, rgba(56, 240, 208, 0.12), transparent),
    rgba(255, 255, 255, 0.045);
  color: var(--text);
  cursor: pointer;
  user-select: auto;
}

.follow-card-email:hover,
.follow-card-email:focus-visible {
  border-color: rgba(56, 240, 208, 0.62);
  color: var(--neon);
  outline: none;
  box-shadow: 0 0 26px rgba(56, 240, 208, 0.12);
}

.follow-card-email::after {
  background: var(--neon);
  box-shadow: 0 0 16px rgba(56, 240, 208, 0.68);
}

.follow-card small {
  color: var(--amber);
  font-size: 0.7rem;
  font-weight: 900;
  overflow-wrap: anywhere;
}

.follow-card-muted small {
  color: var(--dim);
}

.follow-card-muted::after {
  background: var(--dim);
  box-shadow: none;
}

.site-footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 18px;
  padding: 26px clamp(18px, 5vw, 64px);
  border-top: 1px solid rgba(255, 122, 25, 0.22);
  background: #050505;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 850;
  text-transform: uppercase;
}

.site-footer span:first-child {
  color: var(--orange);
}

.footer-brand,
.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 18px;
  align-items: center;
}

.visit-counter {
  display: grid;
  grid-template-columns: auto auto;
  gap: 2px 12px;
  align-items: end;
  min-width: min(100%, 230px);
  padding: 10px 14px;
  border: 1px solid rgba(56, 240, 208, 0.22);
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(56, 240, 208, 0.08), transparent 58%),
    rgba(10, 10, 10, 0.74);
  box-shadow: inset 0 0 20px rgba(56, 240, 208, 0.05);
}

.visit-counter-label {
  color: var(--neon);
  font-size: 0.68rem;
  font-weight: 950;
  letter-spacing: 0;
}

.visit-counter strong {
  color: var(--amber);
  font-size: 1.12rem;
  font-weight: 1000;
  line-height: 1;
  text-align: right;
  text-shadow: 0 0 14px rgba(255, 190, 74, 0.28);
}

.visit-counter small {
  grid-column: 1 / -1;
  color: var(--muted);
  font-size: 0.65rem;
}

.visit-counter[data-counter-state="fallback"] strong {
  color: var(--muted);
  text-shadow: none;
}

.footer-brand span:first-child {
  color: var(--orange);
  font-weight: 1000;
}

.footer-links a {
  color: var(--steel-bright);
  transition: color 180ms ease;
}

.footer-links a:hover,
.footer-links a:focus-visible {
  color: var(--orange);
}

.legal-main {
  min-height: 100svh;
  padding: calc(var(--header-height) + 52px) clamp(18px, 5vw, 64px) 76px;
  background:
    linear-gradient(135deg, rgba(219, 31, 26, 0.12), transparent 36%, rgba(56, 240, 208, 0.05)),
    #050505;
}

.legal-panel {
  width: min(100%, 860px);
  margin: 0 auto;
  padding: clamp(24px, 5vw, 46px);
  border: 1px solid rgba(255, 122, 25, 0.28);
  border-radius: var(--radius);
  background:
    linear-gradient(145deg, rgba(219, 31, 26, 0.14), transparent 44%),
    rgba(18, 16, 15, 0.9);
  box-shadow: 0 28px 72px rgba(0, 0, 0, 0.34);
}

.legal-panel h1 {
  margin: 0;
  font-size: clamp(2.35rem, 7vw, 5rem);
  line-height: 0.95;
  text-transform: uppercase;
}

.legal-panel p {
  max-width: 720px;
  margin: 18px 0 0;
  color: var(--muted);
}

.legal-note {
  margin-top: 28px;
  padding: 16px;
  border: 1px solid rgba(56, 240, 208, 0.18);
  border-radius: var(--radius);
  background: rgba(56, 240, 208, 0.045);
  color: var(--steel-bright);
  font-weight: 850;
}

.legal-back {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  margin-top: 30px;
  padding: 11px 15px;
  border: 1px solid rgba(255, 122, 25, 0.38);
  border-radius: var(--radius);
  color: var(--orange);
  font-size: 0.8rem;
  font-weight: 950;
  text-transform: uppercase;
}

@media (max-width: 980px) {
  .hero-section {
    min-height: auto;
    padding-bottom: 94px;
  }

  .hero-layout,
  .about-layout,
  .survivors-hero,
  .survivors-progress-grid,
  .contact-layout {
    grid-template-columns: 1fr;
  }

  .hero-emblem {
    justify-items: start;
  }

  .emblem-frame {
    width: min(100%, 520px);
    min-height: 340px;
  }

  .emblem-teaser-card {
    min-height: 430px;
  }

  .emblem-teaser-content {
    min-height: 430px;
  }

  .emblem-readout {
    padding-top: 190px;
  }

  .project-grid,
  .survivors-feature-grid,
  .dev-status-grid,
  .news-grid {
    grid-template-columns: 1fr;
  }

  .video-feature {
    grid-template-columns: 1fr;
  }

  .media-group-heading {
    display: grid;
  }

  .media-group-heading h3 {
    text-align: left;
  }

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

  .about-stats {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  :root {
    --header-height: 68px;
  }

  .site-header {
    padding: 12px 16px;
  }

  .brand-sigil {
    width: 38px;
    height: 38px;
  }

  .nav-toggle {
    display: grid;
  }

  .site-nav {
    position: fixed;
    top: var(--header-height);
    left: 14px;
    right: 14px;
    display: grid;
    gap: 0;
    padding: 10px;
    border: 1px solid rgba(255, 122, 25, 0.24);
    border-radius: var(--radius);
    background: rgba(7, 7, 7, 0.96);
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.5);
    transform: translateY(-16px);
    visibility: hidden;
    opacity: 0;
    transition: transform 180ms ease, opacity 180ms ease, visibility 180ms ease;
  }

  body.nav-open .site-nav {
    transform: translateY(0);
    visibility: visible;
    opacity: 1;
  }

  .site-nav a {
    padding: 13px 12px;
  }

  .site-nav a::after {
    bottom: 6px;
  }

  .hero-section {
    min-height: 88svh;
    padding-top: calc(var(--header-height) + 34px);
  }

  .hero-emblem {
    display: grid;
    justify-items: stretch;
  }

  .hero-copy h1 {
    font-size: clamp(3.45rem, 22vw, 6.7rem);
  }

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

  .button {
    width: 100%;
  }

  .emblem-frame {
    min-height: 290px;
    padding: 20px;
  }

  .emblem-teaser-card {
    min-height: 390px;
    padding: 0;
  }

  .emblem-teaser-content {
    min-height: 390px;
    padding: 22px;
  }

  .emblem-readout {
    display: grid;
    padding-top: 166px;
  }

  .hero-project-strip {
    display: grid;
    grid-template-columns: 1fr;
  }

  .hero-project-strip span {
    padding: 9px 10px;
  }

  .hero-project-strip span + span {
    border-top: 1px solid rgba(255, 122, 25, 0.2);
    border-left: 0;
  }

  .section {
    padding-top: 66px;
    padding-bottom: 72px;
  }

  .feature-list,
  .survivors-focus ul,
  .follow-grid,
  .dev-status-grid,
  .screenshot-gallery,
  .media-grid {
    grid-template-columns: 1fr;
  }

  .project-status div,
  .demo-status-list div,
  .dev-status-details div {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .dev-status-card-header {
    display: grid;
  }

  .status-badge {
    max-width: 100%;
    text-align: left;
  }

  .video-frame {
    min-height: 0;
  }

  .screenshot-wide,
  .media-wide,
  .media-tall {
    grid-column: auto;
    grid-row: auto;
    min-height: 220px;
  }

  .survivors-actions,
  .notify-row {
    grid-template-columns: 1fr;
  }

  .survivors-actions {
    display: grid;
  }

  .notify-row button {
    width: 100%;
  }
}

@media (max-width: 430px) {
  .brand-mark small {
    display: none;
  }

  .project-content,
  .news-card {
    padding: 20px;
  }

  .follow-card {
    align-items: flex-start;
    flex-direction: column;
  }

  .visit-counter {
    width: 100%;
  }

  .follow-card::after {
    position: absolute;
    top: 16px;
    right: 16px;
  }
}

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