@font-face {
  font-family: "Foster";
  src: url("/assets/Foster.ttf") format("truetype");
  font-display: swap;
}

:root {
  --acid: #d99a2b;
  --acid-bright: #d99a2b;
  --ink: #0b0a09;
  --surface: #17120e;
  --surface-2: #21170f;
  --paper: #f3e8d0;
  --muted: #b6a99a;
  --line: rgba(255, 255, 255, 0.13);
  --orange: #c7472d;
  --gold: #d99a2b;
  --max: 1180px;
  --radius-lg: 30px;
  --radius-md: 20px;
  --radius-pill: 999px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--ink);
  color: var(--paper);
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.55;
  overflow-x: hidden;
}
body[data-lang="de"] .en,
body[data-lang="en"] .de { display: none !important; }
a { color: inherit; }
img { display: block; max-width: 100%; height: auto; }
button, a { -webkit-tap-highlight-color: transparent; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: #000;
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
}
.nav {
  width: min(calc(100% - 40px), var(--max));
  min-height: 76px;
  margin: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand { display: inline-flex; align-items: center; gap: 14px; text-decoration: none; min-width: 300px; }
.brand img { width: auto; height: 60px; }
.brand-name { color: var(--paper); font-family: "Foster", sans-serif; font-size: 1.55rem; line-height: .9; white-space: nowrap; }
.nav-links { display: flex; align-items: center; gap: 24px; }
.nav-links > a {
  color: #d8cdbb;
  text-decoration: none;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.nav-links > a:hover { color: var(--acid-bright); }
.lang-switch { display: flex; padding-left: 16px; border-left: 1px solid var(--line); }
.lang-switch button {
  border: 0;
  background: transparent;
  color: #777b71;
  padding: 8px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font: inherit;
  font-size: .75rem;
  font-weight: 800;
  cursor: pointer;
}
.lang-switch button[aria-pressed="true"] { color: var(--paper); }
.flag { font-size: .92rem; line-height: 1; }

.shell { width: min(calc(100% - 40px), var(--max)); margin: auto; }
.eyebrow {
  margin: 0 0 14px;
  color: var(--acid-bright);
  font-size: .73rem;
  font-weight: 800;
  letter-spacing: .2em;
  text-transform: uppercase;
}
h1, h2, h3 { font-family: "Foster", "Arial Rounded MT Bold", sans-serif; font-weight: 400; line-height: .95; margin: 0; }
h1 { font-size: clamp(4.5rem, 11vw, 9.5rem); letter-spacing: -.035em; }
h2 { font-size: clamp(3rem, 7vw, 6.6rem); letter-spacing: -.025em; }
h3 { font-size: clamp(1.8rem, 3vw, 2.7rem); }
.lede { color: #d9cfbd; font-size: clamp(1.05rem, 2vw, 1.35rem); line-height: 1.55; }
.button-row { display: flex; flex-wrap: wrap; gap: 12px; }
.button {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  padding: 0 22px;
  border: 1px solid var(--acid-bright);
  background: var(--acid-bright);
  color: #090a06;
  text-decoration: none;
  font-size: .82rem;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
  border-radius: var(--radius-pill);
  transition: transform .18s ease, background .18s ease;
}
.button:hover { transform: translateY(-2px); background: #eab44e; }
.button.secondary { background: transparent; color: var(--paper); border-color: #55594e; }
.button.secondary:hover { border-color: var(--paper); }

.hero {
  position: relative;
  min-height: calc(100svh - 76px);
  display: grid;
  align-items: center;
  padding: 80px 0;
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(217,154,43,.09) 1px, transparent 1px), linear-gradient(90deg, rgba(217,154,43,.09) 1px, transparent 1px);
  background-size: 40px 40px;
  mask-image: linear-gradient(to right, transparent, #000 50%, #000);
}
.hero::after {
  content: "";
  position: absolute;
  width: 44vw;
  height: 44vw;
  right: -15vw;
  top: 8%;
  border: 1px solid rgba(217,154,43,.28);
  border-radius: 70px;
  transform: rotate(45deg);
  box-shadow: 0 0 0 70px rgba(217,154,43,.04), 0 0 0 140px rgba(217,154,43,.025);
}
.hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1.1fr .9fr; gap: 7vw; align-items: center; }
.hero-copy h1 span { display: block; }
.hero-copy h1 .acid { color: var(--acid-bright); }
.hero-copy .lede { max-width: 650px; margin: 28px 0 34px; }
.hero-card {
  position: relative;
  border: 1px solid #7b3f2c;
  background: #0d0b09;
  padding: 12px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  transform: rotate(2deg);
  box-shadow: 16px 22px 54px rgba(0,0,0,.48), 10px 12px 0 rgba(217,154,43,.72);
}
.hero-card img { width: 100%; image-rendering: pixelated; border-radius: calc(var(--radius-lg) - 12px); }
.hero-card-label {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 14px 6px 4px;
  color: #f3e8d0;
  font-size: .75rem;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.platform-ticker { border-bottom: 1px solid var(--line); background: var(--acid); color: #080904; overflow: hidden; }
.platform-ticker .track { display: flex; width: max-content; animation: ticker 28s linear infinite; }
.platform-ticker span { padding: 13px 25px; font-size: .78rem; font-weight: 900; letter-spacing: .14em; text-transform: uppercase; }
.platform-ticker span::after { content: "■"; margin-left: 50px; font-size: .6em; }
@keyframes ticker { to { transform: translateX(-50%); } }

.section { padding: clamp(90px, 12vw, 160px) 0; border-bottom: 1px solid var(--line); }
.section-head { display: grid; grid-template-columns: 1.1fr .9fr; gap: 8vw; align-items: end; margin-bottom: 70px; }
.section-head .lede { margin: 0; max-width: 530px; }
.principles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.principle { background: var(--surface); padding: 34px; min-height: 250px; border: 1px solid var(--line); border-radius: var(--radius-md); box-shadow: 0 18px 45px rgba(0,0,0,.16); }
.principle .number { color: var(--acid-bright); font-size: .72rem; font-weight: 900; letter-spacing: .16em; }
.principle h3 { margin: 30px 0 18px; }
.principle p { color: var(--muted); margin: 0; }

.ai-positive {
  padding: clamp(70px, 9vw, 120px) 0;
  border-bottom: 1px solid var(--line);
}
.ai-panel {
  display: grid;
  grid-template-columns: .55fr 1.45fr;
  gap: clamp(36px, 8vw, 110px);
  align-items: center;
  padding: clamp(38px, 6vw, 76px);
  background: #000;
  border: 1px solid rgba(217, 154, 43, .58);
  border-radius: var(--radius-lg);
  box-shadow: 0 28px 70px rgba(0,0,0,.34), 10px 12px 0 rgba(217, 154, 43, .22);
}
.ai-mark {
  color: var(--acid-bright);
  font-family: "Foster", sans-serif;
  font-size: clamp(6rem, 14vw, 12rem);
  line-height: .7;
  letter-spacing: -.06em;
}
.ai-copy h2 { font-size: clamp(2.8rem, 6vw, 5.4rem); }
.ai-copy .lede { max-width: 720px; margin: 24px 0 0; }

.game-feature { background: var(--paper); color: var(--ink); }
.game-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(45px, 8vw, 100px); align-items: center; }
.game-art { position: relative; background: #17120e; padding: 18px; border-radius: var(--radius-lg); box-shadow: 0 26px 62px rgba(0,0,0,.28), 12px 14px 0 rgba(217,154,43,.75); }
.game-art img { width: 100%; image-rendering: pixelated; border-radius: calc(var(--radius-lg) - 12px); }
.game-copy .eyebrow { color: #81540e; }
.game-copy .lede { color: #493e34; margin: 22px 0; }
.game-meta { display: flex; flex-wrap: wrap; gap: 8px; margin: 28px 0 34px; }
.chip { border: 1px solid #b6baa9; padding: 7px 12px; border-radius: var(--radius-pill); font-size: .72rem; font-weight: 700; text-transform: uppercase; }
.game-copy .button.secondary { color: var(--ink); border-color: #707468; }

.channel-band { padding: clamp(64px, 8vw, 100px) 0; background: var(--surface-2); border-bottom: 1px solid var(--line); }
.channel-grid {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 50px;
  align-items: center;
  padding: clamp(30px, 5vw, 58px);
  border: 1px solid rgba(217,154,43,.4);
  border-radius: var(--radius-lg);
  background: rgba(0,0,0,.2);
}
.channel-copy h2 { font-size: clamp(3rem, 6vw, 5.8rem); }
.channel-copy .lede { max-width: 760px; margin: 20px 0 0; }

.manifesto { position: relative; overflow: hidden; }
.manifesto-grid { display: grid; grid-template-columns: .78fr 1.22fr; gap: 8vw; align-items: start; }
.big-mark { font-family: Foster, sans-serif; color: var(--acid); font-size: clamp(11rem, 30vw, 29rem); line-height: .58; opacity: .22; }
.manifesto-copy blockquote { margin: 0 0 38px; font-family: Foster, sans-serif; font-size: clamp(2.6rem, 6vw, 5.6rem); line-height: 1; }
.manifesto-copy p { max-width: 640px; color: var(--muted); font-size: 1.1rem; }

.site-footer { padding: 44px 0; background: #000; border-top: 1px solid var(--line); }
.footer-grid { display: flex; justify-content: space-between; gap: 30px; align-items: center; }
.footer-brand { display: inline-flex; align-items: center; gap: 24px; color: var(--paper); text-decoration: none; }
.footer-brand img { width: 108px; height: auto; }
.footer-brand span { font-family: "Foster", sans-serif; font-size: clamp(2rem, 4vw, 3.6rem); line-height: .9; }
.footer-meta { color: #8d9186; font-size: .78rem; text-align: right; }
.footer-meta a { text-decoration: none; color: #c9ccc3; margin-left: 16px; }

/* Kestrel */
.kestrel { --accent: var(--orange); --accent-2: var(--gold); background: #0b0d10; }
.kestrel .site-header { border-bottom-color: rgba(233,99,50,.4); }
.kestrel .nav-links > a:hover, .kestrel .eyebrow { color: var(--accent-2); }
.kestrel .button { background: var(--accent-2); border-color: var(--accent-2); }
.kestrel .button:hover { background: #ffd37c; }
.kestrel .button.secondary { background: transparent; border-color: #77533e; color: var(--paper); }
.game-hero { min-height: calc(100svh - 76px); display: grid; align-items: center; padding: 70px 0; border-bottom: 1px solid rgba(233,99,50,.25); }
.game-hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 4vw; align-items: center; }
.kestrel-cover { border: 2px solid var(--accent); padding: 10px; background: #18191b; border-radius: var(--radius-lg); box-shadow: 0 28px 68px rgba(0,0,0,.48); }
.kestrel-cover img { width: 100%; image-rendering: pixelated; border-radius: calc(var(--radius-lg) - 11px); }
.game-hero h1 { color: var(--accent-2); font-size: clamp(4.1rem, 8vw, 8rem); }
.game-hero .lede { color: #d1d0c8; margin: 25px 0; }
.game-hero .callout { border-left: 3px solid var(--accent); padding-left: 18px; font-weight: 700; color: #fff6df; margin: 0 0 32px; }
.status-bar { display: grid; grid-template-columns: repeat(3, 1fr); border-bottom: 1px solid rgba(233,99,50,.25); background: rgba(255,255,255,.015); }
.status-item { padding: 20px; text-align: center; border-right: 1px solid rgba(233,99,50,.25); }
.status-item:last-child { border-right: 0; }
.status-item strong { display: block; color: var(--accent-2); font-size: .75rem; letter-spacing: .15em; text-transform: uppercase; }
.status-item span { color: #b7b6ae; font-size: .86rem; }
.k-section { padding: clamp(80px, 10vw, 130px) 0; border-bottom: 1px solid rgba(233,99,50,.22); }
.k-section-head { display: flex; justify-content: space-between; gap: 40px; align-items: end; margin-bottom: 50px; }
.k-section-head p { max-width: 450px; color: #aaa9a1; margin: 0; }
.video-grid { display: grid; grid-template-columns: 1.25fr .75fr; gap: 40px; align-items: center; }
.video-frame { position: relative; aspect-ratio: 16/9; border: 1px solid var(--accent); border-radius: var(--radius-lg); background: #111; overflow: hidden; box-shadow: 0 24px 60px rgba(0,0,0,.34); }
.video-frame img, .video-frame iframe { width: 100%; height: 100%; object-fit: cover; border: 0; }
.play-button { position: absolute; inset: 0; margin: auto; width: 90px; height: 90px; border: 1px solid #fff; border-radius: 50%; background: rgba(5,5,5,.72); color: #fff; font: 700 1rem/1 sans-serif; cursor: pointer; }
.play-button:hover { background: var(--accent); }
.video-copy h3 { color: var(--accent-2); }
.video-copy p { color: #aaa9a1; }
.download-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.download-card { display: flex; flex-direction: column; min-height: 295px; border: 1px solid #3b3d3b; border-radius: var(--radius-md); background: #111316; padding: 28px; box-shadow: 0 16px 36px rgba(0,0,0,.16); transition: border-color .18s, transform .18s, box-shadow .18s; }
.download-card:hover { border-color: var(--accent); transform: translateY(-3px); box-shadow: 0 22px 46px rgba(0,0,0,.28); }
.download-card h3 { color: var(--accent-2); font-size: 2rem; }
.download-card .tag { color: var(--accent); font-size: .7rem; letter-spacing: .14em; font-weight: 800; text-transform: uppercase; margin: 12px 0; }
.download-card p { color: #aaa9a1; font-size: .92rem; margin: 0 0 24px; }
.download-links { margin-top: auto; display: flex; flex-wrap: wrap; gap: 8px; }
.download-links a { text-decoration: none; border-bottom: 1px solid var(--accent); padding: 5px 0; margin-right: 12px; font-size: .78rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.manual-grid { display: grid; grid-template-columns: 160px 1fr; gap: 55px; align-items: center; }
.manual-sprite { width: 128px; image-rendering: pixelated; }
.manual-grid p { max-width: 620px; color: #aaa9a1; }
.system-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.system-card { background: #111316; padding: 30px; border: 1px solid #33352f; border-radius: var(--radius-md); }
.system-card h3 { color: var(--accent-2); font-size: 1.6rem; margin-bottom: 16px; }
.system-card p { color: #aaa9a1; font-size: .9rem; margin: 0; }
.legal { background: #08090b; }
.legal details { border-top: 1px solid #343531; padding: 20px 0; }
.legal summary { cursor: pointer; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.legal details p { max-width: 860px; color: #97988f; font-size: .88rem; }

@media (max-width: 900px) {
  .nav { min-height: 68px; }
  .brand { min-width: 0; gap: 10px; }
  .brand img { width: auto; height: 52px; }
  .brand-name { font-size: 1.15rem; }
  .nav-links > a:not(.keep-mobile) { display: none; }
  .hero-grid, .section-head, .game-grid, .manifesto-grid, .game-hero-grid, .video-grid, .ai-panel, .channel-grid { grid-template-columns: 1fr; }
  .hero { min-height: auto; padding: 80px 0 110px; }
  .hero-card { width: min(560px, 92%); margin: 30px auto 0; }
  .section-head { gap: 28px; align-items: start; }
  .principles, .download-grid, .system-grid { grid-template-columns: 1fr; }
  .principle { min-height: auto; }
  .game-grid { gap: 70px; }
  .game-art { width: min(600px, calc(100% - 22px)); }
  .big-mark { display: none; }
  .ai-mark { font-size: 7rem; }
  .game-hero { padding: 55px 0 80px; }
  .kestrel-cover { order: 2; }
  .k-section-head { display: block; }
  .k-section-head p { margin-top: 20px; }
  .download-card { min-height: 0; }
}

@media (max-width: 620px) {
  .shell, .nav { width: min(calc(100% - 28px), var(--max)); }
  .brand img { height: 46px; }
  .brand-name { max-width: 112px; white-space: normal; font-size: 1rem; }
  .nav-links { gap: 7px; }
  .lang-switch { padding-left: 4px; }
  h1 { font-size: clamp(3.5rem, 19vw, 5.2rem); }
  .hero-copy .lede { margin-top: 22px; }
  .hero-card { transform: none; box-shadow: 10px 10px 0 var(--acid); }
  .section { padding: 82px 0; }
  .game-art { box-shadow: 12px 12px 0 var(--acid); }
  .footer-grid { align-items: flex-start; flex-direction: column; }
  .footer-meta { text-align: left; }
  .footer-meta a { margin: 0 14px 0 0; }
  .status-bar { grid-template-columns: 1fr; }
  .status-item { border-right: 0; border-bottom: 1px solid rgba(233,99,50,.25); }
  .status-item:last-child { border-bottom: 0; }
  .manual-grid { grid-template-columns: 1fr; gap: 20px; }
  .manual-sprite { width: 96px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .platform-ticker .track { animation: none; }
  .button, .download-card { transition: none; }
}
