/* ============================================================
   AIXQYLOZ VERLAG — Global Stylesheet
   Pixel-meets-antiquity aesthetic
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@400;600;900&family=Space+Grotesk:wght@300;400;500;600;700&family=Space+Mono:ital,wght@0,400;0,700;1,400&display=swap');

/* --- Reset & Base --- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'Space Grotesk', sans-serif;
  background-color: var(--bg);
  color: var(--text);
  line-height: 1.65;
  transition: background-color 0.4s ease, color 0.4s ease;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font-family: inherit; }

/* --- CSS Custom Properties --- */
:root {
  --bg:            #09090d;
  --bg-surface:    #0e0e16;
  --bg-card:       #13131e;
  --bg-card-hover: #1a1a28;
  --accent:        #c9a84c;
  --accent-rgb:    201, 168, 76;
  --accent-dim:    rgba(201, 168, 76, 0.10);
  --accent-glow:   rgba(201, 168, 76, 0.20);
  --accent2:       #6b5fd1;
  --accent2-dim:   rgba(107, 95, 209, 0.10);
  --text:          #e6e6f0;
  --text-muted:    #7070a0;
  --text-subtle:   #30305a;
  --border:        rgba(255,255,255,0.07);
  --border-accent: rgba(201, 168, 76, 0.35);
  --shadow-sm:     0 2px 12px rgba(0,0,0,0.4);
  --shadow-md:     0 4px 30px rgba(0,0,0,0.6);
  --nav-bg:        rgba(9,9,13,0.88);
  --logo-mix:      screen;
  --logo-filter:   none;
  --pixel-color:   rgba(255,255,255,0.03);
}

[data-theme="light"] {
  --bg:            #f0ece0;
  --bg-surface:    #e6e1d2;
  --bg-card:       #faf8f3;
  --bg-card-hover: #f5f2ea;
  --accent:        #8b6b14;
  --accent-rgb:    139, 107, 20;
  --accent-dim:    rgba(139, 107, 20, 0.08);
  --accent-glow:   rgba(139, 107, 20, 0.15);
  --accent2:       #4a3ab0;
  --accent2-dim:   rgba(74, 58, 176, 0.08);
  --text:          #0f0f1e;
  --text-muted:    #5a5a7a;
  --text-subtle:   #b0adc0;
  --border:        rgba(0,0,0,0.09);
  --border-accent: rgba(139, 107, 20, 0.35);
  --shadow-sm:     0 2px 12px rgba(0,0,0,0.07);
  --shadow-md:     0 4px 30px rgba(0,0,0,0.10);
  --nav-bg:        rgba(240,236,224,0.90);
  --logo-mix:      multiply;
  --logo-filter:   invert(1);
  --pixel-color:   rgba(0,0,0,0.03);
}

/* --- Typography --- */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Cinzel', serif;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: 0.02em;
}

/* --- Layout --- */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

section { padding: 5rem 0; }

/* ============================================================
   NAVIGATION
   ============================================================ */

.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: var(--nav-bg);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
  transition: background 0.4s ease, border-color 0.4s ease;
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
  padding: 0 2rem;
  max-width: 1440px;
  margin: 0 auto;
}

/* Logo in nav uses blend mode trick for both themes */
.nav__logo-img {
  height: 28px;
  width: auto;
  mix-blend-mode: var(--logo-mix);
  filter: var(--logo-filter);
  transition: filter 0.4s, mix-blend-mode 0.4s, opacity 0.2s;
  display: block;
}

.nav__logo:hover .nav__logo-img { opacity: 0.7; }

.nav__links {
  display: flex;
  align-items: center;
  gap: 2.5rem;
}

.nav__link {
  font-family: 'Space Mono', monospace;
  font-size: 0.72rem;
  font-weight: 400;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  transition: color 0.2s;
  position: relative;
}

.nav__link::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0; right: 0;
  height: 1px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}

.nav__link:hover,
.nav__link.active { color: var(--text); }

.nav__link:hover::after,
.nav__link.active::after { transform: scaleX(1); }

.nav__actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

/* Theme Toggle */
.theme-toggle {
  width: 36px; height: 36px;
  border-radius: 2px;
  border: 1px solid var(--border);
  background: transparent;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  transition: all 0.25s;
}

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

/* Mobile menu button */
.nav__menu-btn {
  display: none;
  width: 36px; height: 36px;
  border: none;
  background: transparent;
  cursor: pointer;
  flex-direction: column;
  gap: 5px;
  align-items: center;
  justify-content: center;
}

.nav__menu-btn span {
  display: block;
  width: 22px; height: 1.5px;
  background: var(--text);
  transition: all 0.3s;
}

.nav__menu-btn.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav__menu-btn.open span:nth-child(2) { opacity: 0; }
.nav__menu-btn.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

.nav__mobile {
  display: none;
  flex-direction: column;
  background: var(--bg-surface);
  border-top: 1px solid var(--border);
  padding: 0 2rem 1rem;
}

.nav__mobile.open { display: flex; }

.nav__mobile .nav__link {
  padding: 0.85rem 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.78rem;
}

/* ============================================================
   HERO
   ============================================================ */

.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  position: relative;
  overflow: hidden;
  padding-top: 64px;
  background: var(--bg);
}

/* Subtle pixel grid background */
.hero__bg-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--pixel-color) 1px, transparent 1px),
    linear-gradient(90deg, var(--pixel-color) 1px, transparent 1px);
  background-size: 32px 32px;
  mask-image: radial-gradient(ellipse at 50% 40%, black 10%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse at 50% 40%, black 10%, transparent 75%);
}

/* Radial accent glow */
.hero__bg-glow {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 40% at 50% 60%, rgba(var(--accent-rgb), 0.07) 0%, transparent 100%),
    radial-gradient(ellipse 40% 30% at 80% 20%, rgba(107,95,209,0.06) 0%, transparent 100%);
  pointer-events: none;
}

.hero__content {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 2rem;
  max-width: 860px;
  width: 100%;
}

/* The main logo — pixel-scan reveal animation */
.hero__logo-wrap {
  margin-bottom: 2.5rem;
  opacity: 0;
  animation: pixelScanReveal 1.4s cubic-bezier(0.4, 0, 0.2, 1) 0.2s forwards;
}

.hero__logo-full {
  max-width: min(560px, 88vw);
  width: 100%;
  margin: 0 auto;
  mix-blend-mode: var(--logo-mix);
  filter: var(--logo-filter);
  transition: filter 0.4s, mix-blend-mode 0.4s;
  image-rendering: pixelated; /* respect the pixel art */
}

@keyframes pixelScanReveal {
  0%   { opacity: 0; clip-path: inset(0 0 100% 0); }
  8%   { opacity: 1; }
  100% { opacity: 1; clip-path: inset(0 0 0% 0); }
}

.hero__divider {
  width: 48px;
  height: 1px;
  background: var(--accent);
  margin: 0 auto 1.75rem;
  opacity: 0;
  animation: fadeUp 0.7s ease 1.7s forwards;
}

.hero__tagline {
  font-family: 'Space Mono', monospace;
  font-size: 0.72rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1.25rem;
  opacity: 0;
  animation: fadeUp 0.7s ease 1.85s forwards;
}

.hero__subtitle {
  font-family: 'Cinzel', serif;
  font-size: clamp(1rem, 2.2vw, 1.4rem);
  color: var(--text-muted);
  font-weight: 400;
  max-width: 580px;
  margin: 0 auto 2.75rem;
  line-height: 1.7;
  opacity: 0;
  animation: fadeUp 0.7s ease 2s forwards;
}

.hero__actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  opacity: 0;
  animation: fadeUp 0.7s ease 2.15s forwards;
}

.hero__scroll-indicator {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  opacity: 0;
  animation: fadeUp 0.8s ease 2.5s forwards;
}

.hero__scroll-indicator span {
  font-family: 'Space Mono', monospace;
  font-size: 0.6rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.hero__scroll-line {
  width: 1px;
  height: 36px;
  background: linear-gradient(to bottom, var(--accent), transparent);
  animation: scrollPulse 2.2s ease-in-out infinite 2.5s;
}

@keyframes scrollPulse {
  0%, 100% { opacity: 0.3; transform: scaleY(0.9); }
  50%       { opacity: 1;   transform: scaleY(1); }
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(10px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ============================================================
   BUTTONS
   ============================================================ */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.75rem;
  border-radius: 2px;
  font-family: 'Space Mono', monospace;
  font-size: 0.72rem;
  font-weight: 400;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.25s ease;
  border: 1px solid transparent;
  text-decoration: none;
  line-height: 1;
}

.btn--primary {
  background: var(--accent);
  color: #09090d;
  border-color: var(--accent);
}

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

.btn--outline {
  background: transparent;
  color: var(--text);
  border-color: var(--border);
}

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

.btn--ghost {
  background: transparent;
  color: var(--text-muted);
  border: none;
  padding: 0;
  gap: 0.5rem;
  font-size: 0.7rem;
}

.btn--ghost .arrow {
  display: inline-block;
  transition: transform 0.2s;
}

.btn--ghost:hover { color: var(--accent); }
.btn--ghost:hover .arrow { transform: translateX(4px); }

/* ============================================================
   SECTION HEADER
   ============================================================ */

.section-header { margin-bottom: 3rem; }

.section-label {
  font-family: 'Space Mono', monospace;
  font-size: 0.68rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.75rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.section-label::before {
  content: '';
  display: block;
  width: 20px; height: 1px;
  background: var(--accent);
}

.section-title {
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  color: var(--text);
}

.section-subtitle {
  margin-top: 0.75rem;
  font-size: 0.95rem;
  color: var(--text-muted);
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 400;
  max-width: 540px;
  line-height: 1.7;
}

/* ============================================================
   BOOK CARDS
   ============================================================ */

.books-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
  gap: 1.75rem;
}

.book-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 2px;
  overflow: hidden;
  cursor: pointer;
  transition: border-color 0.3s, transform 0.3s, box-shadow 0.3s;
  text-decoration: none;
  color: inherit;
  display: block;
}

.book-card:hover {
  border-color: var(--border-accent);
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

.book-card__cover {
  aspect-ratio: 2/3;
  position: relative;
  overflow: hidden;
}

.book-cover {
  width: 100%; height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 1.5rem 1.25rem;
  text-align: center;
  position: relative;
  gap: 0.75rem;
}

/* Subtle diagonal line texture */
.book-cover::before {
  content: '';
  position: absolute; inset: 0;
  background: repeating-linear-gradient(
    -45deg,
    transparent 0px,
    transparent 18px,
    rgba(255,255,255,0.025) 18px,
    rgba(255,255,255,0.025) 19px
  );
}

/* Pixel-art corner markers */
.book-cover::after {
  content: '';
  position: absolute;
  top: 8px; left: 8px;
  width: 16px; height: 16px;
  border-top: 2px solid rgba(255,255,255,0.25);
  border-left: 2px solid rgba(255,255,255,0.25);
}

.book-cover__title {
  font-family: 'Cinzel', serif;
  font-size: 0.88rem;
  font-weight: 600;
  color: #fff;
  line-height: 1.35;
  position: relative;
  z-index: 1;
}

.book-cover__author {
  font-family: 'Space Mono', monospace;
  font-size: 0.6rem;
  letter-spacing: 0.08em;
  color: rgba(255,255,255,0.55);
  position: relative;
  z-index: 1;
}

/* Gradient presets for cover placeholders */
.cover-1 { background: linear-gradient(155deg, #1e0a3c 0%, #3d1672 55%, #7b1fa2 100%); }
.cover-2 { background: linear-gradient(155deg, #0a1a38 0%, #0d3b6e 55%, #0a6fa0 100%); }
.cover-3 { background: linear-gradient(155deg, #1a1a06 0%, #3d3a0a 55%, #6b5d0a 100%); }
.cover-4 { background: linear-gradient(155deg, #061a14 0%, #0d4a36 55%, #0a7a50 100%); }
.cover-5 { background: linear-gradient(155deg, #2a0808 0%, #6b1010 55%, #a01010 100%); }
.cover-6 { background: linear-gradient(155deg, #080820 0%, #14148a 55%, #2020c8 100%); }
.cover-7 { background: linear-gradient(155deg, #1a0618 0%, #4a1040 55%, #7a1870 100%); }
.cover-8 { background: linear-gradient(155deg, #041408 0%, #0e4018 55%, #1a6e2a 100%); }

.book-card__meta {
  padding: 1.2rem 1.1rem 1.3rem;
}

.book-card__genre {
  font-family: 'Space Mono', monospace;
  font-size: 0.6rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.45rem;
}

.book-card__title {
  font-family: 'Cinzel', serif;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 0.3rem;
  line-height: 1.3;
}

.book-card__author {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.book-card__year {
  font-family: 'Space Mono', monospace;
  font-size: 0.62rem;
  color: var(--text-subtle);
  margin-top: 0.7rem;
  letter-spacing: 0.08em;
}

/* ============================================================
   AUTHOR CARDS
   ============================================================ */

.authors-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 1.25rem;
}

.author-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 2px;
  padding: 2rem 1.25rem 1.5rem;
  text-align: center;
  transition: border-color 0.3s, transform 0.3s;
  text-decoration: none;
  color: inherit;
  display: block;
}

.author-card:hover {
  border-color: var(--border-accent);
  transform: translateY(-3px);
}

.author-card__avatar {
  width: 68px; height: 68px;
  border-radius: 2px;
  margin: 0 auto 1.1rem;
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Cinzel', serif;
  font-size: 1.5rem;
  font-weight: 900;
  color: var(--accent);
  background: var(--accent-dim);
}

.author-card__name {
  font-family: 'Cinzel', serif;
  font-size: 0.88rem;
  font-weight: 600;
  margin-bottom: 0.3rem;
}

.author-card__genre {
  font-size: 0.78rem;
  color: var(--text-muted);
}

.author-card__count {
  font-family: 'Space Mono', monospace;
  font-size: 0.6rem;
  letter-spacing: 0.1em;
  color: var(--accent);
  margin-top: 0.9rem;
}

/* ============================================================
   NEWS CARDS
   ============================================================ */

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

.news-card {
  border-top: 1px solid var(--border);
  padding: 1.75rem 0 1.75rem;
  cursor: pointer;
  transition: border-color 0.2s;
  text-decoration: none;
  color: inherit;
  display: block;
  margin-right: 2rem;
}

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

.news-card__tag {
  font-family: 'Space Mono', monospace;
  font-size: 0.6rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.3rem;
}

.news-card__date {
  font-family: 'Space Mono', monospace;
  font-size: 0.62rem;
  color: var(--text-muted);
  margin-bottom: 0.6rem;
  letter-spacing: 0.05em;
}

.news-card__title {
  font-family: 'Cinzel', serif;
  font-size: 1rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 0.6rem;
  line-height: 1.4;
}

.news-card__excerpt {
  font-size: 0.84rem;
  color: var(--text-muted);
  line-height: 1.65;
}

/* ============================================================
   VERLAG / ABOUT SECTION (homepage teaser)
   ============================================================ */

.about-section {
  background: var(--bg-surface);
  position: relative;
  overflow: hidden;
}

/* Giant decorative watermark letter */
.about-section__watermark {
  position: absolute;
  right: -0.1em;
  top: 50%;
  transform: translateY(-50%);
  font-family: 'Cinzel', serif;
  font-size: clamp(12rem, 20vw, 22rem);
  font-weight: 900;
  color: transparent;
  -webkit-text-stroke: 1px var(--border);
  user-select: none;
  pointer-events: none;
  line-height: 1;
}

.about-section__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
  position: relative;
  z-index: 1;
}

.about-section__quote {
  font-family: 'Cinzel', serif;
  font-size: clamp(1.1rem, 1.8vw, 1.45rem);
  line-height: 1.65;
  color: var(--text);
  border-left: 2px solid var(--accent);
  padding-left: 1.5rem;
  margin-bottom: 1.5rem;
}

.about-section__body {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.85;
  margin-bottom: 2rem;
}

/* Stats panel */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: 2px;
  overflow: hidden;
}

.stat {
  background: var(--bg-card);
  padding: 1.5rem 1rem;
  text-align: center;
}

.stat__number {
  font-family: 'Cinzel', serif;
  font-size: 2rem;
  font-weight: 900;
  color: var(--accent);
  display: block;
  line-height: 1;
  margin-bottom: 0.4rem;
}

.stat__label {
  font-family: 'Space Mono', monospace;
  font-size: 0.6rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-muted);
  display: block;
}

/* ============================================================
   NEWSLETTER
   ============================================================ */

.newsletter {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}

.newsletter::before {
  content: 'Α–Ω';
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  font-family: 'Cinzel', serif;
  font-size: clamp(6rem, 15vw, 14rem);
  font-weight: 900;
  color: transparent;
  -webkit-text-stroke: 1px var(--border);
  pointer-events: none;
  user-select: none;
  white-space: nowrap;
}

.newsletter__inner {
  max-width: 520px;
  margin: 0 auto;
  text-align: center;
  position: relative;
  z-index: 1;
}

.newsletter__title {
  font-size: clamp(1.3rem, 2.5vw, 1.9rem);
  margin-bottom: 0.75rem;
}

.newsletter__sub {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 2.5rem;
  line-height: 1.7;
}

.newsletter__form {
  display: flex;
  gap: 0;
  border: 1px solid var(--border);
  border-radius: 2px;
  overflow: hidden;
  background: var(--bg-card);
  transition: border-color 0.2s;
}

.newsletter__form:focus-within { border-color: var(--accent); }

.newsletter__input {
  flex: 1;
  padding: 0.85rem 1.1rem;
  background: transparent;
  border: none;
  color: var(--text);
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.9rem;
  outline: none;
  min-width: 0;
}

.newsletter__input::placeholder { color: var(--text-muted); }

.newsletter__submit {
  padding: 0.85rem 1.25rem;
  background: var(--accent);
  border: none;
  color: #09090d;
  font-family: 'Space Mono', monospace;
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
  white-space: nowrap;
}

.newsletter__submit:hover {
  background: var(--bg-card);
  color: var(--accent);
}

.newsletter__note {
  font-family: 'Space Mono', monospace;
  font-size: 0.62rem;
  color: var(--text-subtle);
  margin-top: 1rem;
  letter-spacing: 0.05em;
}

/* ============================================================
   FOOTER
   ============================================================ */

.footer {
  background: var(--bg-surface);
  border-top: 1px solid var(--border);
  padding: 4.5rem 0 2.5rem;
}

.footer__top {
  display: grid;
  grid-template-columns: 2.2fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3.5rem;
}

.footer__brand-logo {
  height: 24px; width: auto;
  mix-blend-mode: var(--logo-mix);
  filter: var(--logo-filter);
  margin-bottom: 1.25rem;
  display: block;
}

.footer__tagline {
  font-size: 0.84rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 1.75rem;
  max-width: 260px;
}

.footer__social {
  display: flex;
  gap: 0.6rem;
}

.footer__social-link {
  width: 32px; height: 32px;
  border: 1px solid var(--border);
  border-radius: 2px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-size: 0.75rem;
  transition: all 0.2s;
}

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

.footer__col-title {
  font-family: 'Space Mono', monospace;
  font-size: 0.62rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1.5rem;
}

.footer__links {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}

.footer__link {
  font-size: 0.84rem;
  color: var(--text-muted);
  transition: color 0.2s;
}

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

.footer__bottom {
  border-top: 1px solid var(--border);
  padding-top: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer__copy {
  font-family: 'Space Mono', monospace;
  font-size: 0.65rem;
  color: var(--text-subtle);
  letter-spacing: 0.05em;
}

.footer__legal {
  display: flex;
  gap: 1.75rem;
}

.footer__legal a {
  font-family: 'Space Mono', monospace;
  font-size: 0.65rem;
  color: var(--text-subtle);
  transition: color 0.2s;
}

.footer__legal a:hover { color: var(--text-muted); }

/* ============================================================
   PAGE HERO (subpages)
   ============================================================ */

.page-hero {
  padding-top: calc(64px + 5rem);
  padding-bottom: 5rem;
  background: var(--bg);
  border-bottom: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--pixel-color) 1px, transparent 1px),
    linear-gradient(90deg, var(--pixel-color) 1px, transparent 1px);
  background-size: 32px 32px;
  mask-image: radial-gradient(ellipse 80% 80% at 0% 50%, black 0%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse 80% 80% at 0% 50%, black 0%, transparent 100%);
}

.page-hero__inner { position: relative; z-index: 1; }

.page-hero__label {
  font-family: 'Space Mono', monospace;
  font-size: 0.68rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1rem;
}

.page-hero__title {
  font-size: clamp(2rem, 4.5vw, 3.8rem);
  color: var(--text);
  margin-bottom: 1.25rem;
}

.page-hero__sub {
  font-size: 1rem;
  color: var(--text-muted);
  max-width: 580px;
  line-height: 1.75;
}

/* ============================================================
   CONTACT FORM
   ============================================================ */

.contact-layout {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 5rem;
  align-items: start;
}

.contact-form {
  display: grid;
  gap: 1.1rem;
}

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

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.form-label {
  font-family: 'Space Mono', monospace;
  font-size: 0.62rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.form-input,
.form-textarea,
.form-select {
  padding: 0.8rem 1rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 2px;
  color: var(--text);
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.88rem;
  outline: none;
  transition: border-color 0.2s;
  width: 100%;
}

.form-input:focus,
.form-textarea:focus,
.form-select:focus { border-color: var(--accent); }

.form-input::placeholder,
.form-textarea::placeholder { color: var(--text-muted); }

.form-textarea { height: 160px; resize: vertical; }

.form-select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='7' viewBox='0 0 10 7'%3E%3Cpath d='M1 1l4 4 4-4' stroke='%23c9a84c' stroke-width='1.5' fill='none' stroke-linecap='square'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  cursor: pointer;
}

.form-select option { background: var(--bg-card); }

.contact-info-block { padding-top: 0.5rem; }

.contact-info-block h3 {
  font-size: 1rem;
  margin-bottom: 1.75rem;
  color: var(--text);
}

.contact-detail {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  margin-bottom: 1.25rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--border);
}

.contact-detail:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.contact-detail__label {
  font-family: 'Space Mono', monospace;
  font-size: 0.6rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
}

.contact-detail__value {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ============================================================
   ABOUT / ÜBER UNS — Timeline
   ============================================================ */

.about-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: start;
}

.timeline {
  position: relative;
  padding-left: 2rem;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 1px;
  background: linear-gradient(to bottom, var(--accent), transparent 90%);
}

.timeline-item {
  position: relative;
  padding-bottom: 2.5rem;
}

.timeline-item:last-child { padding-bottom: 0; }

.timeline-item::before {
  content: '';
  position: absolute;
  left: -2.3rem;
  top: 0.3rem;
  width: 7px; height: 7px;
  border-radius: 1px;
  background: var(--accent);
  box-shadow: 0 0 8px var(--accent-glow);
}

.timeline-item__year {
  font-family: 'Space Mono', monospace;
  font-size: 0.68rem;
  color: var(--accent);
  letter-spacing: 0.1em;
  margin-bottom: 0.3rem;
}

.timeline-item__title {
  font-family: 'Cinzel', serif;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 0.4rem;
}

.timeline-item__body {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.7;
}

/* ============================================================
   TEAM CARDS
   ============================================================ */

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 1.5rem;
}

.team-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 2px;
  padding: 2rem 1.5rem;
  text-align: center;
}

.team-card__avatar {
  width: 72px; height: 72px;
  border-radius: 2px;
  background: var(--accent-dim);
  border: 1px solid var(--border-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Cinzel', serif;
  font-size: 1.6rem;
  font-weight: 900;
  color: var(--accent);
  margin: 0 auto 1.25rem;
}

.team-card__name {
  font-family: 'Cinzel', serif;
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.team-card__role {
  font-family: 'Space Mono', monospace;
  font-size: 0.6rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.75rem;
}

.team-card__bio {
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.65;
}

/* ============================================================
   PRESS PAGE
   ============================================================ */

.press-layout {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 4rem;
  align-items: start;
}

.press-item {
  border-top: 1px solid var(--border);
  padding: 1.75rem 0;
  transition: border-color 0.2s;
}

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

.press-item__meta {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 0.6rem;
}

.press-item__date {
  font-family: 'Space Mono', monospace;
  font-size: 0.62rem;
  color: var(--text-muted);
  letter-spacing: 0.06em;
}

.press-item__title {
  font-family: 'Cinzel', serif;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 0.55rem;
  line-height: 1.35;
}

.press-item__body {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 1rem;
}

.press-sidebar {
  position: sticky;
  top: 84px;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.press-box {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 2px;
  padding: 1.75rem;
}

.press-box__title {
  font-family: 'Space Mono', monospace;
  font-size: 0.62rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1rem;
}

.press-box__body {
  font-size: 0.84rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 1.25rem;
}

/* ============================================================
   FILTER BAR
   ============================================================ */

.filter-bar {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-bottom: 2.5rem;
}

.filter-btn {
  padding: 0.4rem 0.9rem;
  border-radius: 2px;
  font-family: 'Space Mono', monospace;
  font-size: 0.62rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border: 1px solid var(--border);
  background: transparent;
  color: var(--text-muted);
  cursor: pointer;
  transition: all 0.2s;
}

.filter-btn:hover,
.filter-btn.active {
  border-color: var(--accent);
  color: var(--accent);
  background: var(--accent-dim);
}

/* ============================================================
   TAGS / BADGES
   ============================================================ */

.tag {
  display: inline-block;
  padding: 0.2rem 0.55rem;
  border-radius: 2px;
  font-family: 'Space Mono', monospace;
  font-size: 0.58rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border: 1px solid var(--border);
  color: var(--text-muted);
}

.tag--accent {
  border-color: var(--border-accent);
  color: var(--accent);
  background: var(--accent-dim);
}

.tag--accent2 {
  border-color: rgba(107,95,209,0.4);
  color: var(--accent2);
  background: var(--accent2-dim);
}

/* ============================================================
   SCROLL REVEAL ANIMATIONS
   ============================================================ */

.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-d1 { transition-delay: 0.05s; }
.reveal-d2 { transition-delay: 0.12s; }
.reveal-d3 { transition-delay: 0.19s; }
.reveal-d4 { transition-delay: 0.26s; }
.reveal-d5 { transition-delay: 0.33s; }
.reveal-d6 { transition-delay: 0.40s; }

/* ============================================================
   DECORATIVE LETTER — used as page accent (mix-blend screen)
   ============================================================ */

.deco-letter {
  position: absolute;
  mix-blend-mode: var(--logo-mix);
  filter: var(--logo-filter);
  opacity: 0.04;
  pointer-events: none;
  user-select: none;
}

/* ============================================================
   UTILITY
   ============================================================ */

.text-accent { color: var(--accent); }
.text-muted  { color: var(--text-muted); }
.mono        { font-family: 'Space Mono', monospace; }
.serif       { font-family: 'Cinzel', serif; }

.pixel-divider {
  width: 100%;
  height: 1px;
  background: var(--border);
  margin: 3rem 0;
  position: relative;
}

.pixel-divider::after {
  content: '✦';
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  background: var(--bg);
  color: var(--accent);
  font-size: 0.55rem;
  padding: 0 0.6rem;
  letter-spacing: 0.1em;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */

@media (max-width: 1024px) {
  .footer__top { grid-template-columns: 1fr 1fr; }
  .about-section__inner { grid-template-columns: 1fr; gap: 3rem; }
  .about-layout { grid-template-columns: 1fr; gap: 3.5rem; }
  .contact-layout { grid-template-columns: 1fr; gap: 3rem; }
  .press-layout { grid-template-columns: 1fr; }
  .press-sidebar { position: static; }
}

@media (max-width: 768px) {
  section { padding: 3.5rem 0; }

  .nav__links { display: none; }
  .nav__menu-btn { display: flex; }

  .books-grid { grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); }
  .stats-grid { grid-template-columns: repeat(3, 1fr); }
  .footer__top { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .form-row { grid-template-columns: 1fr; }
  .footer__bottom { flex-direction: column; text-align: center; }
  .news-card { margin-right: 0; }
}

@media (max-width: 480px) {
  .container { padding: 0 1.25rem; }
  .footer__top { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr; }
  .hero__actions { flex-direction: column; align-items: center; }
}
