/* =========================================================
   MSA Aesch — Swiss Railway Light
   ========================================================= */

:root {
  --bg: #ffffff;
  --bg-2: #f7f7f5;
  --panel: #ffffff;
  --panel-2: #fafaf8;
  --line: #e8e8e4;
  --line-2: #d9d9d4;
  --ink: #0a0a0a;
  --ink-2: #3b3b41;
  --muted: #70707a;
  --muted-2: #9a9aa2;
  --red: #e2001a;
  --red-bright: #d40019;
  --red-dark: #b80016;
  --amber-text: #8a6414;
  --font-body: "Archivo", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --font-disp: "Archivo", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  --header-h: 68px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

[hidden] { display: none !important; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 24px);
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--ink);
  line-height: 1.6;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; background: none; border: none; color: inherit; }

h1, h2, h3, h4 {
  font-family: var(--font-disp);
  line-height: 1.08;
  letter-spacing: -0.02em;
  font-weight: 650;
  font-stretch: 108%;
  font-variation-settings: "wdth" 108;
}

.mono, .mono-note { font-family: var(--font-mono); }

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 28px;
}

.accent { color: var(--red-bright); }

::selection { background: var(--red); color: #fff; }

/* =========================================================
   Ticker
   ========================================================= */

.ticker {
  overflow: hidden;
  background: var(--red);
  color: #fff;
  padding: 9px 0;
}

.ticker-track {
  display: flex;
  align-items: center;
  gap: 40px;
  width: max-content;
  animation: marquee 46s linear infinite;
}

.ticker-item {
  font-family: var(--font-mono);
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  white-space: nowrap;
}

.ticker-sep { font-size: 8px; opacity: 0.7; }

@keyframes marquee {
  to { transform: translateX(-50%); }
}

/* =========================================================
   Header
   ========================================================= */

.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(14px) saturate(1.4);
  -webkit-backdrop-filter: blur(14px) saturate(1.4);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.header.is-scrolled {
  border-bottom-color: var(--line);
  box-shadow: 0 1px 14px rgba(18, 18, 21, 0.05);
}

.header-inner {
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand { display: flex; align-items: center; gap: 14px; flex-shrink: 0; }
.brand-logo { height: 32px; width: auto; }
.brand-divider { width: 1px; height: 22px; background: var(--line-2); }
.brand-name {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink);
}

.nav { display: flex; align-items: center; gap: 2px; }

.nav-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 12px;
  font-family: var(--font-disp);
  font-size: 12px;
  font-weight: 650;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  border-bottom: 2px solid transparent;
  transition: color 0.15s ease, border-color 0.15s ease;
}
.nav-link:hover { color: var(--ink); }
.nav-link.is-active { color: var(--ink); border-bottom-color: var(--red); }
.nav-num { font-family: var(--font-mono); color: var(--red-bright); font-size: 10px; }

.header-actions { display: flex; align-items: center; gap: 12px; }

.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 42px; height: 42px;
  border: 1px solid var(--line-2);
  background: #fff;
  padding: 0 11px;
}
.menu-toggle span {
  display: block;
  height: 2px;
  background: var(--ink);
  transition: transform 0.25s ease, opacity 0.2s ease;
}
.menu-toggle.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle.is-open span:nth-child(2) { opacity: 0; }
.menu-toggle.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* =========================================================
   Buttons
   ========================================================= */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--font-disp);
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  padding: 15px 26px;
  border: 1px solid transparent;
  border-radius: 0;
  transition: transform 0.15s ease, background 0.15s ease, border-color 0.15s ease, color 0.15s ease, box-shadow 0.15s ease;
  white-space: nowrap;
}
.btn-sm { padding: 10px 16px; font-size: 11.5px; }
.btn-lg { padding: 17px 30px; }

.btn-red { background: var(--red); color: #fff; }
.btn-red:hover { background: var(--red-dark); transform: translateY(-1px); box-shadow: 0 6px 18px rgba(226, 0, 26, 0.24); }

.btn-line { border-color: var(--line-2); color: var(--ink-2); background: #fff; }
.btn-line:hover { border-color: var(--ink); color: var(--ink); transform: translateY(-1px); }

.btn-white { background: #fff; color: #121215; }
.btn-white:hover { background: #f0f0ee; transform: translateY(-1px); }

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-family: var(--font-disp);
  font-size: 12.5px;
  font-weight: 650;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--ink);
  border-bottom: 1px solid var(--line-2);
  padding-bottom: 3px;
  transition: color 0.15s ease, border-color 0.15s ease, gap 0.15s ease;
}
.text-link:hover { color: var(--red-bright); border-color: var(--red); gap: 11px; }

/* =========================================================
   Hero
   ========================================================= */

.hero {
  position: relative;
  padding: 88px 0 104px;
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}

.hero-glow {
  position: absolute;
  top: -320px;
  right: -180px;
  width: 900px;
  height: 700px;
  pointer-events: none;
  background: radial-gradient(closest-side, rgba(226, 0, 26, 0.07), transparent);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: repeating-linear-gradient(
    to right,
    transparent 0,
    transparent calc(25% - 1px),
    rgba(18, 18, 21, 0.04) calc(25% - 1px),
    rgba(18, 18, 21, 0.04) 25%
  );
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 72px;
  align-items: center;
}

.kicker {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-disp);
  font-size: 12px;
  font-weight: 650;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 28px;
}

.signal-dot {
  width: 9px; height: 9px;
  border-radius: 0;
  background: var(--red);
  box-shadow: 0 0 0 3px rgba(226, 0, 26, 0.1);
  flex-shrink: 0;
}

.hero h1 {
  font-size: clamp(2.8rem, 5.8vw, 5rem);
  font-weight: 700;
  font-stretch: 112%;
  font-variation-settings: "wdth" 112;
  letter-spacing: -0.032em;
  line-height: 1.0;
  margin-bottom: 28px;
}

.hero-sub {
  max-width: 56ch;
  color: var(--muted);
  font-size: 16.5px;
  line-height: 1.75;
  margin-bottom: 36px;
}

.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 44px; }

.hero-facts {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  border-top: 1px solid var(--line);
}
.hero-facts li {
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding: 16px 20px 16px 0;
  border-bottom: 1px solid var(--line);
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}
.hero-facts li:nth-child(odd) { border-right: 1px solid var(--line); padding-right: 24px; }
.hero-facts li:nth-child(even) { padding-left: 24px; }
.hero-facts strong {
  font-family: var(--font-disp);
  font-size: 20px;
  font-weight: 700;
  font-stretch: 106%;
  letter-spacing: -0.01em;
  text-transform: none;
  color: var(--ink);
}

/* Hero media */

.hero-media { position: relative; }

.fig {
  border: 1px solid var(--line-2);
  background: #fff;
  padding: 10px;
  box-shadow: 0 20px 50px rgba(18, 18, 21, 0.08);
}
.fig img { width: 100%; height: auto; }
.fig figcaption {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  padding-top: 10px;
}

.fig-main { width: 88%; margin-left: auto; display: flex; flex-direction: column; }
.fig-main figcaption { order: -1; padding: 0 0 10px; padding-top: 0; }

.fig-small {
  position: absolute;
  left: 0;
  bottom: -56px;
  width: 44%;
  box-shadow: 14px 14px 0 var(--red);
  background: #fff;
}

/* =========================================================
   Sections
   ========================================================= */

.section { padding: 112px 0; border-bottom: 1px solid var(--line); }
.section-alt { background: var(--bg-2); }

.section-head {
  display: grid;
  grid-template-columns: 64px 1fr 380px;
  gap: 24px;
  align-items: end;
  margin-bottom: 56px;
  padding-bottom: 26px;
  border-bottom: 2px solid var(--ink);
}

.section-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  background: var(--red);
  color: #fff;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  align-self: end;
  margin-bottom: 6px;
}

.section-head h2 {
  font-size: clamp(2.1rem, 3.8vw, 3.3rem);
  letter-spacing: -0.028em;
  font-weight: 700;
  font-stretch: 110%;
  font-variation-settings: "wdth" 110;
}

.section-meta {
  color: var(--muted);
  font-size: 14.5px;
  line-height: 1.7;
  padding-bottom: 4px;
}

/* =========================================================
   Panels (Aktuell)
   ========================================================= */

.panel {
  background: var(--panel);
  border: 1px solid var(--line);
  box-shadow: 0 1px 3px rgba(18, 18, 21, 0.03);
}

.panel-featured {
  display: grid;
  grid-template-columns: 420px 1fr;
}

.panel-media {
  border-right: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 44px;
  background:
    radial-gradient(340px 280px at 50% 30%, rgba(226, 0, 26, 0.05), transparent 70%),
    var(--panel-2);
}

.poster-frame {
  border: 1px solid var(--line-2);
  padding: 8px;
  background: #fff;
  box-shadow: 0 16px 44px rgba(18, 18, 21, 0.14);
}
.poster-frame img { width: 100%; height: auto; }

.panel-body { padding: 48px 52px; }

.panel-body h3, .panel-col h3 {
  font-size: 1.9rem;
  margin: 18px 0 14px;
  letter-spacing: -0.024em;
  font-weight: 700;
  font-stretch: 108%;
}

.lead { color: var(--muted); font-size: 15.5px; line-height: 1.75; margin-bottom: 26px; }

.tag {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--red-bright);
  border: 1px solid rgba(226, 0, 26, 0.4);
  background: rgba(226, 0, 26, 0.04);
  padding: 5px 12px;
}

/* Data list */

.data-list { margin-bottom: 30px; }

.data-row {
  display: grid;
  grid-template-columns: 76px 1fr;
  gap: 18px;
  padding: 13px 0;
  border-top: 1px solid var(--line);
  font-size: 14.5px;
  color: var(--ink-2);
  line-height: 1.6;
}
.data-row:last-child { border-bottom: 1px solid var(--line); }

.data-row dt {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--red-bright);
  padding-top: 3px;
}

.panel-split {
  margin-top: 24px;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
}
.panel-split .panel-col { padding: 44px 48px; }
.panel-col + .panel-col { border-left: 1px solid var(--line); }
.panel-col-data { display: flex; flex-direction: column; justify-content: center; background: var(--panel-2); }

.actions { display: flex; flex-wrap: wrap; gap: 12px; }

.callout {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 16px 18px;
  border: 1px solid rgba(190, 140, 0, 0.3);
  background: rgba(255, 176, 0, 0.07);
  color: var(--amber-text);
  font-size: 14px;
  line-height: 1.6;
}

.callout-mark {
  font-family: var(--font-mono);
  font-weight: 600;
  font-size: 12px;
  color: #121215;
  background: #ffb000;
  width: 20px; height: 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 1px;
}

/* =========================================================
   Index list (Über uns)
   ========================================================= */

.index-list { list-style: none; }

.index-row {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 24px;
  padding: 30px 0;
  border-top: 1px solid var(--line);
  transition: background 0.2s ease;
}
.index-row:last-child { border-bottom: 1px solid var(--line); }
.index-row:hover { background: rgba(18, 18, 21, 0.018); }

.index-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 600;
  color: #fff;
  background: var(--red);
  width: 32px;
  height: 32px;
  letter-spacing: 0.04em;
}

.index-body h3 { font-size: 1.5rem; margin-bottom: 8px; letter-spacing: -0.022em; font-weight: 650; font-stretch: 106%; }
.index-body p { color: var(--muted); font-size: 15px; max-width: 62ch; }

/* Technik */

.technik { margin-top: 88px; }

.technik-head {
  display: flex;
  align-items: baseline;
  gap: 20px;
  margin-bottom: 32px;
}
.technik-head h3 { font-size: 1.5rem; font-weight: 700; font-stretch: 106%; letter-spacing: -0.022em; }

.mono-label {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--red-bright);
}

.spec-list { border-top: 1px solid var(--line); }

.spec-row {
  display: flex;
  align-items: baseline;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}

.spec-row dt {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  flex-shrink: 0;
}

.spec-leader {
  flex: 1;
  border-bottom: 1px dotted var(--line-2);
  margin: 0 20px;
  transform: translateY(-4px);
}

.spec-row dd {
  font-family: var(--font-disp);
  font-size: 17px;
  font-weight: 650;
  font-stretch: 105%;
  color: var(--ink);
  text-align: right;
}

/* =========================================================
   Board (Agenda) — bleibt als schwarzer Akzent
   ========================================================= */

.board {
  background: #0a0a0b;
  border: 1px solid #232327;
  box-shadow: 0 28px 70px rgba(18, 18, 21, 0.22), inset 0 0 120px rgba(255, 176, 0, 0.025);
}

.board-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 28px;
  border-bottom: 1px solid #232327;
}

.board-title {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-mono);
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #ffb000;
}

.board-clock {
  font-size: 12.5px;
  font-weight: 500;
  letter-spacing: 0.12em;
  color: #b37b00;
}

.board-cols {
  display: grid;
  grid-template-columns: 60px 128px 150px 1fr 240px;
  gap: 20px;
  padding: 12px 28px;
  border-bottom: 1px solid #232327;
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #6b6b72;
}

.board-row {
  display: grid;
  grid-template-columns: 60px 128px 150px 1fr 240px;
  gap: 20px;
  align-items: baseline;
  padding: 19px 28px;
  border-bottom: 1px solid #1a1a1d;
  font-family: var(--font-mono);
  font-size: 14px;
  color: #ffb000;
  transition: background 0.15s ease;
}
.board-row:hover { background: #121214; }

.b-day { font-weight: 600; }
.b-date { color: #b37b00; }
.b-time { color: #ffb000; }
.b-event { color: #ffd166; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; }
.b-place { color: #7c7c84; font-size: 12.5px; }

.board-warn {
  display: flex;
  align-items: center;
  gap: 14px;
  border-bottom: none;
  color: #ff8b93;
  font-size: 12.5px;
  padding: 16px 28px;
}
.board-warn p { color: #d98a90; }
.board-warn a { color: #ff8b93; text-decoration: underline; text-underline-offset: 2px; }
.board-warn a:hover { color: #ffb3b9; }

.board-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

/* =========================================================
   Galerie
   ========================================================= */

.gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.gallery-item {
  position: relative;
  display: block;
  border: 1px solid var(--line);
  padding: 0;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: var(--panel-2);
  transition: border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}
.gallery-item:hover {
  border-color: var(--red);
  transform: translateY(-2px);
  box-shadow: 0 14px 34px rgba(18, 18, 21, 0.12);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.gallery-item:hover img { transform: scale(1.04); }

.gallery-index {
  position: absolute;
  top: 12px;
  left: 12px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: #fff;
  background: var(--red);
  padding: 4px 9px;
}

.gallery-caption {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 40px 16px 14px;
  background: linear-gradient(180deg, transparent, rgba(10, 10, 11, 0.85));
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #fff;
  text-align: left;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.25s ease, transform 0.25s ease;
}
.gallery-item:hover .gallery-caption { opacity: 1; transform: none; }

.gallery-cta {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-top: 36px;
}
.mono-note {
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}

/* =========================================================
   Links
   ========================================================= */

.link-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 64px;
  border-top: 1px solid var(--line);
}

.link-row {
  display: grid;
  grid-template-columns: 44px 1fr auto 20px;
  gap: 14px;
  align-items: center;
  padding: 19px 0;
  border-bottom: 1px solid var(--line);
  transition: background 0.15s ease;
}
.link-row:hover { background: rgba(18, 18, 21, 0.018); }

.link-num {
  font-family: var(--font-mono);
  font-size: 11.5px;
  font-weight: 600;
  color: var(--red-bright);
  letter-spacing: 0.08em;
}

.link-name {
  font-family: var(--font-disp);
  font-size: 18px;
  font-weight: 650;
  font-stretch: 105%;
  letter-spacing: -0.008em;
  color: var(--ink);
  min-width: 0;
}
.link-row:hover .link-name { color: var(--red-bright); }

.link-domain {
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.04em;
  color: var(--muted-2);
}

.link-arrow { color: var(--muted-2); transition: color 0.15s ease, transform 0.15s ease; }
.link-row:hover .link-arrow { color: var(--red-bright); transform: translate(2px, -2px); }

/* =========================================================
   Kontakt
   ========================================================= */

.contact-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  margin-bottom: 72px;
}

.contact-block { border-top: 1px solid var(--line); padding-top: 26px; }

.contact-block .mono-label { display: block; margin-bottom: 18px; }

.contact-lines {
  color: var(--ink-2);
  font-size: 15.5px;
  line-height: 1.8;
  margin-bottom: 20px;
}

.cta-panel {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  padding: 56px 60px;
  background: var(--red);
  overflow: hidden;
}

.cta-panel::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 8px;
  background: repeating-linear-gradient(-55deg, rgba(255, 255, 255, 0.85) 0 16px, transparent 16px 32px);
  opacity: 0.28;
}

.cta-copy h3 { font-size: clamp(1.8rem, 3.4vw, 2.7rem); letter-spacing: -0.026em; font-weight: 700; font-stretch: 108%; color: #fff; margin-bottom: 10px; }
.cta-copy p { color: rgba(255, 255, 255, 0.85); font-size: 15.5px; max-width: 46ch; }

.cta-actions { display: flex; flex-direction: column; align-items: flex-end; gap: 12px; flex-shrink: 0; }
.cta-note {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.78);
}

/* =========================================================
   Footer
   ========================================================= */

.hazard {
  height: 8px;
  background: repeating-linear-gradient(45deg, var(--red) 0 16px, transparent 16px 32px);
}

.footer {
  background: var(--bg-2);
  padding: 76px 0 44px;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 52px;
  border-bottom: 1px solid var(--line);
}

.footer-brand-head { display: flex; align-items: center; gap: 14px; margin-bottom: 20px; }
.footer-logo { height: 32px; width: auto; }
.footer-brand-name {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink);
  padding-left: 14px;
  border-left: 1px solid var(--line-2);
}
.footer-brand p { color: var(--muted); font-size: 13.5px; line-height: 1.75; max-width: 320px; }

.footer-col { display: flex; flex-direction: column; gap: 12px; }
.footer-col h4 {
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted-2);
  margin-bottom: 8px;
}
.footer-col a {
  font-size: 13.5px;
  color: var(--ink-2);
  width: fit-content;
  transition: color 0.15s ease;
}
.footer-col a:hover { color: var(--red-bright); }

.footer-bottom {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  padding-top: 36px;
  flex-wrap: wrap;
}
.footer-bottom p {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.04em;
  color: var(--muted-2);
  line-height: 1.8;
  max-width: 760px;
}
.footer-bottom a { color: var(--muted); text-decoration: underline; text-underline-offset: 2px; }
.footer-bottom a:hover { color: var(--ink); }
.footer-legal { white-space: nowrap; }

/* =========================================================
   Lightbox
   ========================================================= */

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 32px;
  background: rgba(10, 10, 11, 0.88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  opacity: 0;
  transition: opacity 0.22s ease;
}
.lightbox.is-open { opacity: 1; }

.lightbox-figure {
  max-width: 900px;
  max-height: 100%;
  display: flex;
  flex-direction: column;
  gap: 16px;
  transform: scale(0.97);
  transition: transform 0.22s ease;
}
.lightbox.is-open .lightbox-figure { transform: scale(1); }

.lightbox-figure img {
  max-height: 74vh;
  width: auto;
  max-width: 100%;
  margin: 0 auto;
  border: 1px solid rgba(255, 255, 255, 0.2);
}
.lightbox-figure figcaption {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.7);
  text-align: center;
}

.lightbox-close {
  position: absolute;
  top: 24px; right: 24px;
  width: 44px; height: 44px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: #fff;
  transition: background 0.18s ease, border-color 0.18s ease;
}
.lightbox-close:hover { background: var(--red); border-color: var(--red); }

/* =========================================================
   Reveal
   ========================================================= */

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1), transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}
.reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .ticker-track { animation: none; }
}

/* =========================================================
   Responsive
   ========================================================= */

@media (max-width: 1080px) {
  .hero-grid { grid-template-columns: 1fr; gap: 72px; }
  .hero-media { max-width: 640px; }
  .section-head { grid-template-columns: 48px 1fr; }
  .section-meta { grid-column: 2; padding-bottom: 0; }
  .panel-featured { grid-template-columns: 360px 1fr; }
  .panel-split { grid-template-columns: 1fr; }
  .panel-col + .panel-col { border-left: none; border-top: 1px solid var(--line); }
  .link-list { column-gap: 44px; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 40px; }
}

@media (max-width: 860px) {
  .nav {
    position: fixed;
    inset: 0;
    z-index: -1;
    flex-direction: column;
    align-items: stretch;
    justify-content: center;
    gap: 8px;
    padding: 96px 32px 48px;
    background: rgba(255, 255, 255, 0.99);
    transform: translateY(-8px);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.22s ease, opacity 0.22s ease;
  }
  .nav.is-open { transform: none; opacity: 1; pointer-events: auto; }
  .nav-link {
    display: flex;
    gap: 18px;
    padding: 16px 0;
    font-size: 13px;
    border-bottom: 1px solid var(--line);
  }
  .nav-link.is-active { border-bottom-color: var(--line); color: var(--ink); }
  .nav-num { font-size: 12px; }
  .menu-toggle { display: flex; }
  .header-cta { display: none; }

  .panel-featured { grid-template-columns: 1fr; }
  .panel-media { border-right: none; border-bottom: 1px solid var(--line); padding: 36px; }
  .panel-body { padding: 36px 32px; }
  .panel-split .panel-col { padding: 36px 32px; }

  .board-cols { display: none; }
  .board-row {
    grid-template-columns: auto auto 1fr;
    grid-template-areas:
      "day date time"
      "event event place";
    row-gap: 6px;
    padding: 18px 24px;
  }
  .b-day { grid-area: day; }
  .b-date { grid-area: date; }
  .b-time { grid-area: time; justify-self: end; }
  .b-event { grid-area: event; font-size: 13px; }
  .b-place { grid-area: place; justify-self: end; font-size: 11.5px; }

  .link-list { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; gap: 32px; }
  .cta-panel { flex-direction: column; align-items: flex-start; padding: 44px 36px; }
  .cta-actions { align-items: flex-start; }

  .section { padding: 88px 0; }
  .fig-small { position: static; width: 100%; margin-top: 20px; box-shadow: none; }
  .fig-main { width: 100%; }
  .hero-media { max-width: 100%; }
}

@media (max-width: 600px) {
  .container { padding: 0 20px; }
  .hero { padding: 64px 0 80px; }
  .hero-facts { grid-template-columns: 1fr; }
  .hero-facts li:nth-child(odd) { border-right: none; padding-right: 0; }
  .hero-facts li:nth-child(even) { padding-left: 0; }

  .section-head { grid-template-columns: 1fr; gap: 10px; }
  .section-meta { grid-column: 1; }
  .section-num { padding-bottom: 0; }

  .gallery { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .gallery-caption { display: none; }

  .data-row { grid-template-columns: 1fr; gap: 4px; }
  .index-row { grid-template-columns: 44px 1fr; gap: 16px; }
  .spec-row { flex-direction: column; align-items: flex-start; gap: 6px; }
  .spec-leader { display: none; }
  .spec-row dd { text-align: left; }

  .gallery-cta { flex-direction: column; align-items: flex-start; gap: 16px; }
  .board-actions .btn { width: 100%; }
  .hero-cta .btn { width: 100%; }
  .footer-top { grid-template-columns: 1fr; gap: 36px; }
  .cta-panel { padding: 40px 24px; }
}
