@font-face {
  font-family: "GrosaMono";
  src: url("../fonts/GrosaMono-Regular.otf") format("opentype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
:root {
  --bg: #0a0a0a;
  --fg: #f4f4f0;
  --muted: #9a9a94;
  --line: #2a2a2a;
  --accent: #e8e8e0;
}
* { box-sizing: border-box; }
html, body {
  margin: 0; padding: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: "GrosaMono", ui-monospace, monospace;
  font-size: 13px;
  letter-spacing: 0.04em;
  line-height: 1.45;
  cursor: url("../img/cursor.svg") 4 4, auto;
}
a { color: inherit; text-decoration: none; }
a:hover { opacity: 0.7; }
img { max-width: 100%; height: auto; display: block; }
.topbar {
  position: fixed; inset: 0 0 auto 0; z-index: 40;
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px 22px; pointer-events: none;
}
.topbar a, .topbar button {
  pointer-events: auto;
  background: none; border: 0; color: inherit;
  font: inherit; letter-spacing: inherit; cursor: pointer;
  text-transform: uppercase;
}
.brand {
  position: fixed; left: 50%; top: 16px; transform: translateX(-50%);
  z-index: 41; font-size: 18px; letter-spacing: 0.18em; text-transform: uppercase;
}
.brand img { height: 28px; width: auto; filter: invert(1); }
.gallery {
  padding: 72px 0 80px;
  display: flex; flex-direction: column; gap: 28px;
}
.card {
  width: min(92vw, 1100px);
  margin: 0 auto;
}
.card figure { margin: 0; }
.card img {
  width: 100%;
  background: #111;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}
.meta {
  display: flex; justify-content: space-between; gap: 16px;
  margin-top: 10px; color: var(--muted); text-transform: uppercase;
  font-size: 11px;
}
.meta strong { color: var(--fg); font-weight: 400; }
.panel {
  position: fixed; inset: 0; z-index: 50;
  background: rgba(0,0,0,0.92);
  display: none; overflow: auto;
}
.panel.open { display: block; }
.panel-inner {
  width: min(920px, 92vw);
  margin: 80px auto 60px;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 28px;
}
.panel-inner img { width: 100%; }
.panel h1 {
  font-size: 15px; font-weight: 400; letter-spacing: 0.14em;
  text-transform: uppercase; margin: 0 0 18px;
}
.panel p { margin: 0 0 14px; color: var(--accent); }
.panel .close {
  position: fixed; right: 22px; top: 18px; z-index: 60;
  background: none; border: 0; color: inherit; font: inherit; cursor: pointer;
}
.footer {
  border-top: 1px solid var(--line);
  padding: 22px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  color: var(--muted);
  text-transform: uppercase;
  font-size: 11px;
}
.table-wrap { padding: 72px 22px 40px; overflow-x: auto; }
table {
  width: 100%; border-collapse: collapse; min-width: 880px;
}
th, td {
  text-align: left; padding: 10px 8px;
  border-bottom: 1px solid var(--line);
  vertical-align: top; text-transform: uppercase;
  font-size: 11px; font-weight: 400;
}
th { color: var(--muted); }
tr:hover td { color: #fff; }
@media (max-width: 800px) {
  .panel-inner { grid-template-columns: 1fr; }
  .footer { grid-template-columns: 1fr 1fr; }
  .meta { flex-direction: column; gap: 4px; }
}

.page-title {
  font-size: 15px; font-weight: 400; letter-spacing: 0.14em;
  text-transform: uppercase; margin: 0 0 8px;
}
.page-lead { color: var(--muted); margin: 0 0 22px; max-width: 42rem; }
.legal {
  padding: 88px 22px 48px;
  max-width: 720px;
  margin: 0 auto;
}
.legal h1 {
  font-size: 15px; font-weight: 400; letter-spacing: 0.14em;
  text-transform: uppercase; margin: 0 0 18px;
}
.legal p { color: var(--accent); margin: 0 0 14px; }
