/* ---------- POLYGON BIRD INTERACTIVE ---------- */
:root {
  --bg: #0a0c10;
  --bg-2: #0f1218;
  --surface: #13161d;
  --surface-2: #1a1e27;
  --line: #232833;
  --ink: #e8eaef;
  --ink-2: #b8bcc4;
  --mute: #6b7280;
  --beak: #e63946;
  --beak-deep: #b22a35;
  --leaf: #7cb342;
  --leaf-deep: #4a7a1f;

  --display: "Syncopate", "Bebas Neue", system-ui, sans-serif;
  --body: "Inter", system-ui, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, monospace;

  --maxw: 1440px;
}

[data-theme="red"] {
  --bg: #110404;
  --bg-2: #1a0707;
  --surface: #1e0a0a;
  --surface-2: #2a0e0e;
  --line: #3a1414;
  --ink: #f6e6e6;
  --ink-2: #d8b8b8;
  --beak: #ff4d5b;
  --leaf: #d4a747;
}
[data-theme="paper"] {
  --bg: #f4f1ea;
  --bg-2: #ebe6da;
  --surface: #ffffff;
  --surface-2: #f7f3eb;
  --line: #d8d2c4;
  --ink: #14110d;
  --ink-2: #4a463e;
  --mute: #8a8478;
  --beak: #c8202e;
  --leaf: #5b8a2a;
}

[data-fonts="alt"] {
  --display: "Space Grotesk", system-ui, sans-serif;
  --body: "Space Grotesk", system-ui, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, monospace;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html, body { background: var(--bg); color: var(--ink); }
body {
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button { font: inherit; color: inherit; background: none; border: none; cursor: pointer; }

/* ---------- ATMOSPHERE ---------- */
.grain {
  position: fixed; inset: 0; pointer-events: none; z-index: 1;
  opacity: 0.06; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%25' height='100%25' filter='url(%23n)' opacity='0.5'/></svg>");
}
.scanlines {
  position: fixed; inset: 0; pointer-events: none; z-index: 2;
  background: repeating-linear-gradient(0deg, rgba(255,255,255,0.012) 0 1px, transparent 1px 3px);
}

/* ---------- NAV ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px clamp(20px, 4vw, 56px);
  background: color-mix(in oklab, var(--bg) 85%, transparent);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.nav__brand {
  display: flex; align-items: center; gap: 12px;
  font-family: var(--display);
  font-weight: 700; font-size: 13px; letter-spacing: 0.18em;
  text-transform: uppercase;
}
.nav__bird-logo {
  height: 36px;
  width: auto;
  object-fit: contain;
  filter: brightness(0) invert(1);   /* weiss auf dunklem Hintergrund */
  transition: filter 0.2s;
}
.nav__brand:hover .nav__bird-logo {
  filter: brightness(0) saturate(100%) invert(28%) sepia(80%) saturate(1200%) hue-rotate(330deg) brightness(95%);
  /* beak-red (#e63946) beim Hover */
}
.nav__links { display: flex; gap: 28px; }
.nav__links a {
  font-family: var(--mono);
  font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--ink-2);
  position: relative; padding: 6px 0;
  transition: color 0.2s;
}
.nav__links a::before {
  content: ""; position: absolute; left: -10px; top: 50%;
  width: 4px; height: 4px;
  background: var(--beak);
  transform: translateY(-50%) rotate(45deg) scale(0);
  transition: transform 0.2s ease;
}
.nav__links a:hover, .nav__links a.is-active { color: var(--ink); }
.nav__links a:hover::before, .nav__links a.is-active::before { transform: translateY(-50%) rotate(45deg) scale(1); }
.nav__cta {
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase;
  border: 1px solid var(--line); padding: 10px 18px;
  clip-path: polygon(8px 0, 100% 0, calc(100% - 8px) 100%, 0 100%);
  transition: background 0.2s, color 0.2s;
}
.nav__cta:hover { background: var(--beak); color: #fff; border-color: var(--beak); }

@media (max-width: 720px) {
  .nav__links { display: none; }
}

/* ---------- HERO ---------- */
.hero {
  position: relative;
  min-height: calc(100vh - 70px);
  padding: clamp(40px, 8vh, 100px) clamp(20px, 4vw, 56px);
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 40px;
  align-items: center;
  overflow: hidden;
}
.hero__mesh {
  position: absolute; inset: 0; z-index: 0;
  pointer-events: none;
}
.hero__content { position: relative; z-index: 3; }
.hero__eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--mono);
  font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--ink-2);
  margin-bottom: 32px;
  padding: 8px 14px;
  border: 1px solid var(--line);
  background: var(--surface);
}
.hero__eyebrow .dot {
  width: 8px; height: 8px; background: var(--leaf);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--leaf);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}
.hero__title {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(48px, 8vw, 124px);
  line-height: 0.92;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  margin-bottom: 28px;
}
.hero__title .stroke {
  -webkit-text-stroke: 1.5px var(--ink);
  color: transparent;
}
.hero__title .beak { color: var(--beak); }
.hero__title .slash {
  display: inline-block;
  color: var(--beak);
  transform: skewX(-12deg);
  margin: 0 0.05em;
}
.hero__sub {
  max-width: 460px;
  font-size: 17px; color: var(--ink-2);
  margin-bottom: 36px;
  text-wrap: pretty;
}
.hero__cta-row { display: flex; gap: 14px; flex-wrap: wrap; }
.btn {
  font-family: var(--mono); font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase;
  padding: 16px 28px;
  display: inline-flex; align-items: center; gap: 12px;
  position: relative;
  transition: transform 0.2s;
}
.btn:hover { transform: translateY(-2px); }
.btn--primary {
  background: var(--beak); color: #fff;
  clip-path: polygon(12px 0, 100% 0, calc(100% - 12px) 100%, 0 100%);
}
.btn--primary:hover { background: var(--ink); color: var(--bg); }
.btn--ghost {
  border: 1px solid var(--line);
  color: var(--ink);
}
.btn--ghost:hover { border-color: var(--ink); }
.btn .arrow {
  display: inline-block; transition: transform 0.2s;
}
.btn:hover .arrow { transform: translateX(4px); }

.hero__bird-wrap {
  position: relative; z-index: 2;
  aspect-ratio: 1 / 1;
  display: grid; place-items: center;
}
.hero__bird {
  width: 100%; height: 100%;
  filter: drop-shadow(0 30px 60px rgba(230, 57, 70, 0.18));
}
.hero__bird-bg {
  position: absolute; inset: 0; z-index: -1;
}
.hero__bird-rings {
  position: absolute; inset: 5%;
  border: 1px solid var(--line);
  clip-path: polygon(20% 0, 80% 0, 100% 25%, 100% 75%, 80% 100%, 20% 100%, 0 75%, 0 25%);
  animation: rotate 60s linear infinite;
}
.hero__bird-rings.r2 {
  inset: 12%;
  border-color: color-mix(in oklab, var(--beak) 20%, transparent);
  animation-direction: reverse;
  animation-duration: 80s;
}
@keyframes rotate {
  to { transform: rotate(360deg); }
}

.hero__stats {
  position: absolute;
  z-index: 4;
  display: flex; gap: 0;
  bottom: clamp(20px, 4vh, 48px); left: clamp(20px, 4vw, 56px);
  font-family: var(--mono);
  font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--ink-2);
}
.hero__stat {
  padding: 14px 22px;
  border: 1px solid var(--line);
  border-right: none;
  background: color-mix(in oklab, var(--surface) 60%, transparent);
  backdrop-filter: blur(8px);
}
.hero__stat:last-child { border-right: 1px solid var(--line); }
.hero__stat strong { display: block; color: var(--ink); font-size: 20px; margin-bottom: 4px; font-weight: 700; }

.hero__corner {
  position: absolute;
  font-family: var(--mono); font-size: 10px; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--mute);
  z-index: 4;
}
.hero__corner.tr { top: 90px; right: clamp(20px, 4vw, 56px); writing-mode: vertical-rl; }
.hero__corner.br { bottom: clamp(20px, 4vh, 48px); right: clamp(20px, 4vw, 56px); text-align: right; }
.hero__corner .v { color: var(--beak); }

@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; min-height: auto; padding-top: 40px; }
  .hero__bird-wrap { aspect-ratio: 1.4 / 1; max-height: 400px; }
  .hero__stats { position: static; margin-top: 32px; }
  .hero__corner { display: none; }
}

/* ---------- SECTION CHROME ---------- */
.section {
  position: relative;
  padding: clamp(56px, 8vh, 96px) clamp(20px, 4vw, 56px);
  border-top: 1px solid var(--line);
}
.section__head {
  display: flex; align-items: flex-end; justify-content: space-between;
  gap: 24px; flex-wrap: wrap;
  margin-bottom: 40px;
}
.section__label {
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--mute);
  display: flex; align-items: center; gap: 12px;
  margin-bottom: 16px;
}
.section__label::before {
  content: ""; width: 28px; height: 1px; background: var(--beak);
}
.section__title {
  font-family: var(--display); font-weight: 700;
  font-size: clamp(28px, 4vw, 52px);
  line-height: 0.95; letter-spacing: -0.01em;
  text-transform: uppercase;
}
.section__title .accent { color: var(--beak); }
.section__meta {
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--mute);
}

/* ---------- FEATURED ---------- */
.featured {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 0;
  border: 1px solid var(--line);
  background: var(--surface);
}
.featured__art {
  position: relative;
  aspect-ratio: 16 / 11;
  background: linear-gradient(135deg, #0a0c10 0%, #1a0e10 50%, #2a0a10 100%);
  overflow: hidden;
}
.featured__art-mesh {
  position: absolute; inset: 0;
}
.featured__badge {
  position: absolute; top: 24px; left: 24px;
  font-family: var(--mono); font-size: 10px; letter-spacing: 0.18em; text-transform: uppercase;
  background: var(--beak); color: #fff;
  padding: 8px 14px;
  clip-path: polygon(6px 0, 100% 0, calc(100% - 6px) 100%, 0 100%);
}
.featured__title {
  position: absolute; bottom: 24px; left: 24px; right: 24px;
  font-family: var(--display); font-weight: 700;
  font-size: clamp(32px, 5vw, 64px); line-height: 0.95;
  text-transform: uppercase; letter-spacing: -0.01em;
  text-shadow: 0 4px 30px rgba(0,0,0,0.6);
}
.featured__play {
  position: absolute; top: 50%; left: 50%;
  width: 88px; height: 88px;
  transform: translate(-50%, -50%);
  background: var(--ink); color: var(--bg);
  clip-path: polygon(15% 0, 85% 0, 100% 30%, 100% 70%, 85% 100%, 15% 100%, 0 70%, 0 30%);
  display: grid; place-items: center;
  font-size: 24px;
  cursor: pointer;
  transition: background 0.2s, transform 0.2s;
}
.featured__play:hover { background: var(--beak); color: #fff; transform: translate(-50%, -50%) scale(1.08); }

.featured__body {
  padding: clamp(28px, 4vw, 48px);
  display: flex; flex-direction: column; justify-content: space-between;
  gap: 32px;
}
.featured__meta-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 18px 24px;
  padding-bottom: 24px; border-bottom: 1px solid var(--line);
}
.featured__meta-grid dt {
  font-family: var(--mono); font-size: 10px; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--mute); margin-bottom: 4px;
}
.featured__meta-grid dd { font-size: 14px; color: var(--ink); }
.featured__pitch { font-size: 17px; color: var(--ink-2); text-wrap: pretty; }
.featured__cta-row { display: flex; gap: 12px; flex-wrap: wrap; }
.platforms { display: flex; gap: 8px; align-items: center; }
.platform {
  width: 32px; height: 32px; display: grid; place-items: center;
  border: 1px solid var(--line); font-family: var(--mono); font-size: 10px;
  color: var(--ink-2);
  transition: border-color 0.2s, color 0.2s;
}
.platform:hover { border-color: var(--ink); color: var(--ink); }

@media (max-width: 900px) {
  .featured { grid-template-columns: 1fr; }
}

/* ---------- GAMES GRID ---------- */
.games {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}
.game {
  background: var(--surface);
  padding: 0;
  display: flex; flex-direction: column;
  cursor: pointer;
  transition: background 0.3s;
  position: relative;
}
.game:hover { background: var(--surface-2); }
.game__art {
  aspect-ratio: 4 / 3;
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}
.game__art-bg { position: absolute; inset: 0; transition: transform 0.6s ease; }
.game:hover .game__art-bg { transform: scale(1.05); }

.game__no {
  position: absolute; top: 16px; left: 16px;
  font-family: var(--mono); font-size: 10px; letter-spacing: 0.18em;
  color: var(--ink-2);
}
.game__status {
  position: absolute; top: 16px; right: 16px;
  font-family: var(--mono); font-size: 9px; letter-spacing: 0.18em; text-transform: uppercase;
  padding: 5px 10px; border: 1px solid currentColor;
}
.game__status.live { color: var(--leaf); }
.game__status.dev { color: var(--beak); }
.game__status.soon { color: var(--ink-2); }

.game__body { padding: 24px; display: flex; flex-direction: column; gap: 14px; flex: 1; }
.game__title {
  font-family: var(--display); font-weight: 700;
  font-size: 26px; line-height: 1; letter-spacing: -0.01em;
  text-transform: uppercase;
}
.game__pitch { font-size: 14px; color: var(--ink-2); flex: 1; }
.game__foot {
  display: flex; justify-content: space-between; align-items: center;
  font-family: var(--mono); font-size: 10px; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--mute);
  padding-top: 14px; border-top: 1px solid var(--line);
}
.game__arrow {
  width: 24px; height: 24px; display: grid; place-items: center;
  background: var(--ink); color: var(--bg);
  font-size: 12px;
  transition: background 0.2s, color 0.2s, transform 0.2s;
}
.game:hover .game__arrow { background: var(--beak); color: #fff; transform: translate(2px, -2px); }

@media (max-width: 900px) { .games { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .games { grid-template-columns: 1fr; } }

/* ---------- ABOUT ---------- */
.about {
  display: grid;
  grid-template-columns: minmax(0, 0.7fr) minmax(0, 1.3fr);
  gap: clamp(28px, 4vw, 56px);
  align-items: start;
}
.about__portrait {
  min-width: 0;
  aspect-ratio: 1 / 1;
  background: var(--surface);
  border: 1px solid var(--line);
  position: relative;
  overflow: hidden;
}
.about__portrait-mesh { position: absolute; inset: 0; }
.about__portrait-tag {
  position: absolute; bottom: 0; left: 0; right: 0;
  padding: 10px 14px;
  background: color-mix(in oklab, var(--bg) 70%, transparent);
  backdrop-filter: blur(8px);
  border-top: 1px solid var(--line);
  display: flex; justify-content: space-between;
  font-family: var(--mono); font-size: 9px; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--ink-2);
}
.about__body p {
  font-size: 15px; color: var(--ink-2);
  margin-bottom: 16px; text-wrap: pretty;
}
.about__body p strong { color: var(--ink); font-weight: 600; }
.about__quote {
  font-family: var(--display); font-weight: 700;
  font-size: clamp(18px, 2.2vw, 26px); line-height: 1.1; letter-spacing: -0.01em;
  text-transform: uppercase;
  margin: 28px 0;
  padding-left: 20px;
  border-left: 3px solid var(--beak);
}
.about__quote .accent { color: var(--beak); }
.about__skills {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 1px; background: var(--line);
  border: 1px solid var(--line);
  margin-top: 28px;
}
.about__skill {
  background: var(--surface);
  padding: 14px 16px;
}
.about__skill dt {
  font-family: var(--mono); font-size: 9px; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--mute); margin-bottom: 4px;
}
.about__skill dd { font-family: var(--display); font-size: 14px; font-weight: 700; text-transform: uppercase; }
@media (max-width: 800px) {
  .about { grid-template-columns: 1fr; }
  .about__skills { grid-template-columns: 1fr 1fr; }
}

/* ---------- DEVLOG ---------- */
.devlog { display: flex; flex-direction: column; gap: 0; border-top: 1px solid var(--line); }
.devlog__entry {
  display: grid;
  grid-template-columns: 120px 1fr auto;
  gap: 32px; align-items: center;
  padding: 28px 4px;
  border-bottom: 1px solid var(--line);
  cursor: pointer;
  transition: padding-left 0.3s, background 0.3s;
}
.devlog__entry:hover { padding-left: 24px; background: var(--surface); }
.devlog__date {
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--mute);
}
.devlog__title {
  font-family: var(--display); font-weight: 700;
  font-size: clamp(20px, 2.4vw, 28px); line-height: 1.1; letter-spacing: -0.01em;
  text-transform: uppercase;
}
.devlog__title .num { color: var(--beak); margin-right: 12px; }
.devlog__tags {
  display: flex; gap: 6px;
}
.devlog__tag {
  font-family: var(--mono); font-size: 10px; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--ink-2);
  padding: 4px 10px; border: 1px solid var(--line);
}
@media (max-width: 720px) {
  .devlog__entry { grid-template-columns: 1fr; gap: 8px; }
}

/* ---------- CONTACT / FOOTER ---------- */
.contact {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 5vw, 80px);
  align-items: center;
}
.contact__title {
  font-family: var(--display); font-weight: 700;
  font-size: clamp(40px, 6vw, 88px); line-height: 0.92;
  text-transform: uppercase; letter-spacing: -0.02em;
}
.contact__title .accent { color: var(--beak); }
.contact__sub {
  font-size: 17px; color: var(--ink-2); max-width: 440px;
  margin-top: 24px; text-wrap: pretty;
}
.contact__form {
  display: flex; flex-direction: column; gap: 14px;
  background: var(--surface); padding: 32px;
  border: 1px solid var(--line);
}
.contact__form-label {
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--mute);
  margin-bottom: -8px;
}
.contact__input, .contact__textarea {
  font: inherit; color: var(--ink);
  background: var(--bg); border: 1px solid var(--line);
  padding: 14px 16px;
  font-size: 15px;
  transition: border-color 0.2s;
}
.contact__input:focus, .contact__textarea:focus {
  outline: none; border-color: var(--beak);
}
.contact__textarea { resize: vertical; min-height: 100px; }
.contact__submit {
  align-self: flex-start;
  background: var(--beak); color: #fff;
  font-family: var(--mono); font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase;
  padding: 16px 28px; margin-top: 10px;
  clip-path: polygon(12px 0, 100% 0, calc(100% - 12px) 100%, 0 100%);
  transition: background 0.2s;
}
.contact__submit:hover { background: var(--ink); color: var(--bg); }

@media (max-width: 800px) { .contact { grid-template-columns: 1fr; } }

/* ---------- FOOTER ---------- */
.footer {
  border-top: 1px solid var(--line);
  padding: 56px clamp(20px, 4vw, 56px) 40px;
}
.footer__grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 56px;
}
.footer__col h4 {
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--mute);
  margin-bottom: 16px;
}
.footer__col a, .footer__col p {
  display: block;
  font-size: 14px; color: var(--ink-2);
  margin-bottom: 8px;
  transition: color 0.2s;
}
.footer__col a:hover { color: var(--beak); }
.footer__brand img {
  width: 80%; max-width: 240px;
  filter: invert(0);
}
[data-theme="paper"] .footer__brand img { filter: none; }
.footer__bird-tag {
  margin-top: 14px;
  font-family: var(--mono); font-size: 11px; color: var(--mute);
  letter-spacing: 0.1em;
}
.footer__bird-tag .beak { color: var(--beak); }
.footer__bottom {
  display: flex; justify-content: space-between; align-items: center;
  padding-top: 28px; border-top: 1px solid var(--line);
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--mute);
  flex-wrap: wrap; gap: 16px;
}
@media (max-width: 800px) { .footer__grid { grid-template-columns: 1fr 1fr; } }

/* ---------- ASCII ART CLUSTERS ---------- */
.ascii {
  font-family: var(--mono); font-size: 10px; line-height: 1.1;
  color: var(--mute); white-space: pre;
}

/* ---------- HOVER REVEAL UTIL ---------- */
.reveal {
  opacity: 0; transform: translateY(20px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}
.reveal.in { opacity: 1; transform: translateY(0); }

/* ---------- SUB-PAGE HEADER ---------- */
.page-head {
  position: relative;
  padding: clamp(56px, 8vh, 96px) clamp(20px, 4vw, 56px) clamp(40px, 6vh, 64px);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}
.page-head__mesh { position: absolute; inset: 0; opacity: 0.45; z-index: 0; }
.page-head__inner { position: relative; z-index: 2; max-width: var(--maxw); margin: 0 auto; }
.crumbs {
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--mute);
  display: flex; gap: 10px; align-items: center;
  margin-bottom: 20px;
}
.crumbs a { color: var(--ink-2); transition: color 0.2s; }
.crumbs a:hover { color: var(--beak); }
.crumbs .sep { color: var(--beak); }
.page-head__title {
  font-family: var(--display); font-weight: 700;
  font-size: clamp(28px, 4vw, 52px); line-height: 0.95;
  letter-spacing: -0.01em; text-transform: uppercase;
  margin-bottom: 16px;
}
.page-head__title .accent { color: var(--beak); }
.page-head__title .stroke {
  -webkit-text-stroke: 1.5px var(--ink); color: transparent;
}
.page-head__sub {
  max-width: 620px; font-size: 15px; color: var(--ink-2); text-wrap: pretty;
}
.page-head__meta-row {
  display: flex; gap: 20px; margin-top: 24px; flex-wrap: wrap;
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--mute);
}
.page-head__meta-row strong { color: var(--ink); font-weight: 500; }

/* ---------- BLOG INDEX ---------- */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}
.blog-card {
  background: var(--surface);
  display: flex; flex-direction: column;
  cursor: pointer;
  transition: background 0.3s;
  position: relative;
  text-decoration: none; color: inherit;
}
.blog-card:hover { background: var(--surface-2); }
.blog-card.is-feature { grid-column: 1 / -1; }
.blog-card__art {
  aspect-ratio: 16 / 9;
  position: relative; overflow: hidden;
  border-bottom: 1px solid var(--line);
}
.blog-card.is-feature .blog-card__art { aspect-ratio: 21 / 8; }
.blog-card__art-bg { position: absolute; inset: 0; transition: transform 0.6s ease; }
.blog-card:hover .blog-card__art-bg { transform: scale(1.04); }
.blog-card__num {
  position: absolute; top: 16px; left: 16px;
  font-family: var(--mono); font-size: 10px; letter-spacing: 0.18em;
  color: var(--ink-2);
}
.blog-card__category {
  position: absolute; top: 16px; right: 16px;
  font-family: var(--mono); font-size: 9px; letter-spacing: 0.18em; text-transform: uppercase;
  padding: 5px 10px; background: var(--beak); color: #fff;
  clip-path: polygon(6px 0, 100% 0, calc(100% - 6px) 100%, 0 100%);
}
.blog-card__body {
  padding: 22px; display: flex; flex-direction: column; gap: 12px; flex: 1;
}
.blog-card.is-feature .blog-card__body { padding: 32px; }
.blog-card__date {
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--mute);
}
.blog-card__title {
  font-family: var(--display); font-weight: 700;
  font-size: clamp(18px, 1.8vw, 24px); line-height: 1.1;
  letter-spacing: -0.01em; text-transform: uppercase;
}
.blog-card.is-feature .blog-card__title { font-size: clamp(28px, 3.5vw, 44px); }
.blog-card__excerpt { font-size: 14px; color: var(--ink-2); flex: 1; text-wrap: pretty; line-height: 1.5; }
.blog-card__foot {
  display: flex; justify-content: space-between; align-items: center;
  font-family: var(--mono); font-size: 10px; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--mute);
  padding-top: 14px; border-top: 1px solid var(--line);
}
.blog-card__arrow {
  width: 26px; height: 26px; display: grid; place-items: center;
  background: var(--ink); color: var(--bg);
  font-size: 12px;
  transition: background 0.2s, color 0.2s, transform 0.2s;
}
.blog-card:hover .blog-card__arrow { background: var(--beak); color: #fff; transform: translate(2px, -2px); }

@media (max-width: 1100px) { .blog-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 700px) { .blog-grid { grid-template-columns: 1fr; } }

/* ---------- BLOG FILTER BAR ---------- */
.filterbar {
  display: flex; justify-content: space-between; align-items: center;
  gap: 16px; flex-wrap: wrap;
  padding: 14px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  margin-bottom: 36px;
}
.filterbar__chips { display: flex; gap: 8px; flex-wrap: wrap; }
.chip {
  font-family: var(--mono); font-size: 10px; letter-spacing: 0.16em; text-transform: uppercase;
  padding: 8px 14px; border: 1px solid var(--line); color: var(--ink-2);
  cursor: pointer; transition: all 0.2s;
  background: transparent;
}
.chip:hover { color: var(--ink); border-color: var(--ink-2); }
.chip.is-on { background: var(--beak); color: #fff; border-color: var(--beak); }
.filterbar__count {
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--mute);
}

/* ---------- POST DETAIL ---------- */
.post-hero {
  position: relative;
  border-bottom: 1px solid var(--line);
}
.post-hero__art {
  aspect-ratio: 21 / 8;
  position: relative; overflow: hidden;
  background: var(--surface);
}
.post-hero__mesh { position: absolute; inset: 0; }
.post-hero__cap {
  position: absolute; top: 24px; left: clamp(20px, 4vw, 56px); right: clamp(20px, 4vw, 56px);
  display: flex; justify-content: space-between; align-items: center;
  z-index: 2;
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase;
}
.post-hero__category {
  background: var(--beak); color: #fff; padding: 8px 14px;
  clip-path: polygon(6px 0, 100% 0, calc(100% - 6px) 100%, 0 100%);
}
.post-hero__num { color: var(--ink-2); }
.post-hero__title-wrap {
  position: absolute; bottom: 0; left: 0; right: 0;
  padding: clamp(20px, 3.5vw, 40px) clamp(20px, 4vw, 56px);
  background: linear-gradient(0deg, rgba(10,12,16,0.9) 30%, transparent);
  z-index: 2;
}
.post-hero__date {
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--ink-2); margin-bottom: 12px;
}
.post-hero__title {
  font-family: var(--display); font-weight: 700;
  font-size: clamp(28px, 4.5vw, 56px); line-height: 0.98;
  letter-spacing: -0.01em; text-transform: uppercase;
  max-width: 900px;
  text-shadow: 0 4px 30px rgba(0,0,0,0.6);
}
.post-hero__title .accent { color: var(--beak); }

.post-body-wrap {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 40px;
  padding: clamp(48px, 8vh, 80px) clamp(20px, 4vw, 56px);
  max-width: var(--maxw); margin: 0 auto;
}
.post-aside { position: sticky; top: 100px; align-self: start; }
.post-aside__block { margin-bottom: 32px; }
.post-aside__label {
  font-family: var(--mono); font-size: 10px; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--mute); margin-bottom: 10px;
  display: flex; align-items: center; gap: 10px;
}
.post-aside__label::before { content: ""; width: 16px; height: 1px; background: var(--beak); }
.post-aside__value { font-size: 14px; color: var(--ink); }
.post-aside__tags { display: flex; flex-wrap: wrap; gap: 6px; }
.post-aside__tag {
  font-family: var(--mono); font-size: 10px; letter-spacing: 0.14em; text-transform: uppercase;
  padding: 5px 10px; border: 1px solid var(--line); color: var(--ink-2);
}
.post-aside__share { display: flex; flex-direction: column; gap: 8px; }
.post-aside__share a {
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--ink-2); padding: 8px 0; border-bottom: 1px solid var(--line);
  display: flex; justify-content: space-between; align-items: center;
  transition: color 0.2s, padding-left 0.2s;
}
.post-aside__share a:hover { color: var(--beak); padding-left: 6px; }

.post-body {
  font-size: 16px; line-height: 1.65; color: var(--ink-2);
  max-width: 680px;
}
.post-body > * + * { margin-top: 1.2em; }
.post-body p { text-wrap: pretty; }
.post-body strong { color: var(--ink); font-weight: 600; }
.post-body a { color: var(--beak); border-bottom: 1px solid color-mix(in oklab, var(--beak) 40%, transparent); }
.post-body a:hover { color: var(--ink); border-color: var(--ink); }
.post-body .lead {
  font-size: 18px; color: var(--ink); line-height: 1.5;
  text-wrap: pretty;
}
.post-body h2 {
  font-family: var(--display); font-weight: 700;
  font-size: clamp(20px, 2.4vw, 28px); line-height: 1.1;
  text-transform: uppercase; letter-spacing: -0.01em;
  color: var(--ink);
  margin-top: 1.8em;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}
.post-body h3 {
  font-family: var(--display); font-weight: 700;
  font-size: clamp(16px, 1.6vw, 18px); text-transform: uppercase; letter-spacing: 0.02em;
  color: var(--ink);
}
.post-body blockquote {
  font-family: var(--display); font-weight: 700;
  font-size: clamp(18px, 2.2vw, 26px); line-height: 1.15; letter-spacing: -0.01em;
  text-transform: uppercase;
  color: var(--ink);
  padding-left: 20px;
  border-left: 3px solid var(--beak);
  margin: 1.6em 0;
}
.post-body ul, .post-body ol { padding-left: 24px; }
.post-body li { margin-bottom: 0.5em; }
.post-body li::marker { color: var(--beak); }
.post-body code {
  font-family: var(--mono); font-size: 0.88em;
  background: var(--surface); border: 1px solid var(--line);
  padding: 2px 6px;
  color: var(--ink);
}
.post-body pre {
  font-family: var(--mono); font-size: 13px; line-height: 1.6;
  background: var(--surface); border: 1px solid var(--line);
  padding: 24px; overflow-x: auto;
}
.post-body pre code { background: none; border: none; padding: 0; }
.post-body figure {
  margin: 2em 0;
  border: 1px solid var(--line);
}
.post-body figure .figmesh { aspect-ratio: 16 / 9; position: relative; overflow: hidden; }
.post-body figcaption {
  padding: 12px 16px; border-top: 1px solid var(--line);
  font-family: var(--mono); font-size: 10px; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--mute);
  background: var(--surface);
}

@media (max-width: 900px) {
  .post-body-wrap { grid-template-columns: 1fr; gap: 32px; }
  .post-aside { position: static; }
}

/* ---------- POST FOOT / NEXT ---------- */
.post-nav {
  display: grid; grid-template-columns: 1fr 1fr; gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}
.post-nav a {
  background: var(--surface);
  padding: 22px;
  display: flex; flex-direction: column; gap: 10px;
  transition: background 0.3s;
}
.post-nav a:hover { background: var(--surface-2); }
.post-nav__dir {
  font-family: var(--mono); font-size: 10px; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--beak);
}
.post-nav__title {
  font-family: var(--display); font-weight: 700;
  font-size: clamp(15px, 1.6vw, 18px); text-transform: uppercase; letter-spacing: -0.01em;
  color: var(--ink);
}
.post-nav a.next { text-align: right; align-items: flex-end; }
@media (max-width: 700px) { .post-nav { grid-template-columns: 1fr; } }

/* ---------- IMPRESSUM ---------- */
.legal {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 56px;
  padding: clamp(60px, 10vh, 100px) clamp(20px, 4vw, 56px);
  max-width: var(--maxw); margin: 0 auto;
}
.legal__toc { position: sticky; top: 100px; align-self: start; }
.legal__toc-label {
  font-family: var(--mono); font-size: 10px; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--mute); margin-bottom: 14px;
  display: flex; align-items: center; gap: 10px;
}
.legal__toc-label::before { content: ""; width: 16px; height: 1px; background: var(--beak); }
.legal__toc a {
  display: block;
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--ink-2);
  padding: 10px 0; border-bottom: 1px solid var(--line);
  transition: color 0.2s, padding-left 0.2s;
}
.legal__toc a:hover { color: var(--beak); padding-left: 6px; }
.legal__toc a .num { color: var(--mute); margin-right: 8px; }

.legal__body { max-width: 760px; }
.legal__section { padding-bottom: 48px; margin-bottom: 48px; border-bottom: 1px solid var(--line); }
.legal__section:last-child { border-bottom: none; }
.legal__section-num {
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--beak); margin-bottom: 12px;
}
.legal__section h2 {
  font-family: var(--display); font-weight: 700;
  font-size: clamp(28px, 3.5vw, 40px); line-height: 1; letter-spacing: -0.01em;
  text-transform: uppercase;
  color: var(--ink);
  margin-bottom: 24px;
}
.legal__section p { font-size: 16px; color: var(--ink-2); line-height: 1.7; margin-bottom: 16px; text-wrap: pretty; }
.legal__section strong { color: var(--ink); font-weight: 600; }
.legal__section a { color: var(--beak); border-bottom: 1px solid color-mix(in oklab, var(--beak) 40%, transparent); }
.legal__section a:hover { color: var(--ink); border-color: var(--ink); }
.legal__kv {
  display: grid; grid-template-columns: 160px 1fr;
  gap: 14px 24px;
  padding: 24px; background: var(--surface); border: 1px solid var(--line);
  margin: 16px 0;
}
.legal__kv dt {
  font-family: var(--mono); font-size: 10px; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--mute);
}
.legal__kv dd { font-size: 15px; color: var(--ink); }
@media (max-width: 800px) {
  .legal { grid-template-columns: 1fr; gap: 32px; }
  .legal__toc { position: static; }
  .legal__kv { grid-template-columns: 1fr; gap: 4px 0; }
  .legal__kv dd { margin-bottom: 10px; }
}
