/* 0.58 (TAR-562) · The Gallery's public pages (gallery-public.ts). The landing's look: its dark tokens and Archivo, no
   serif except the logo mark. Plain CSS, no build step: the pages are server HTML and read without JavaScript. */
@import url("/fonts/fonts.css");
:root {
  --bg: #111312;
  --panel: #171a18;
  --panel2: #1e221f;
  --border: #262b27;
  --line-strong: #333934;
  --text: #eeefe9;
  --muted: #9ba095;
  --faint: #6b7167;
  --accent: #cdd1d6;
  --accent-ink: #141619;
  --loved: #f0505a;
  /* 0.68 (zone type, TAR-741; Zach's 11 Nov item 11): the normal font everywhere but the script; DM Mono is gone. */
  --sans: "Archivo", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --script: "Courier Prime", "Courier New", monospace;
  color-scheme: dark;
}
* {
  box-sizing: border-box;
}
html {
  background: var(--bg);
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 400 15px/1.6 "Archivo", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  font-synthesis: none;
}
a {
  color: var(--text);
  text-decoration-color: var(--line-strong);
  text-underline-offset: 3px;
}
a:hover {
  text-decoration-color: var(--accent);
}
img,
video {
  max-width: 100%;
  display: block;
}
.g-head {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 18px 7.5%;
  border-bottom: 1px solid var(--border);
}
.g-mark {
  display: flex;
  align-items: center;
  gap: 13px;
  font-size: 16px;
  letter-spacing: 0.22em;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
}
.g-brandmark {
  display: inline-flex;
  width: 31px;
  height: 31px;
  border: 1px solid var(--line-strong);
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 30px;
  line-height: 1;
  padding: 0 0 6px 4px;
  letter-spacing: 0;
  color: var(--accent);
}
.g-head nav {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 24px;
  font-size: 12px;
}
.g-head nav a {
  color: var(--muted);
  text-decoration: none;
}
.g-head nav a[aria-current="page"],
.g-head nav a:hover {
  color: var(--text);
}
.g-head .g-open {
  color: var(--text);
  border: 1px solid var(--line-strong);
  padding: 7px 14px;
  border-radius: 999px;
}
.g-main {
  padding: 0 7.5% 60px;
  max-width: 1500px;
  margin: 0 auto;
}
.g-eyebrow {
  font-size: 10px;
  letter-spacing: 0.19em;
  color: var(--muted);
  margin: 0 0 14px;
}
.g-dot {
  height: 6px;
  width: 6px;
  background: #c4d7b1;
  border-radius: 50%;
  display: inline-block;
  margin-right: 8px;
}
.g-hero {
  padding: 64px 0 28px;
  max-width: 900px;
}
.g-hero h1,
.g-filmhead h1,
.g-empty h1 {
  font-weight: 700;
  font-stretch: 115%;
  font-size: clamp(36px, 5vw, 72px);
  line-height: 1;
  letter-spacing: -0.035em;
  margin: 0 0 18px;
}
.g-empty h1 {
  font-size: clamp(28px, 3.4vw, 44px);
}
.g-lead {
  font-size: 19px;
  line-height: 1.5;
  letter-spacing: -0.015em;
  color: #e1e4db;
  max-width: 760px;
  margin: 0 0 14px;
}
.g-meta {
  color: var(--muted);
  font-size: 13px;
  margin: 0 0 16px;
}
.g-section {
  padding: 30px 0 10px;
  border-top: 1px solid var(--border);
  margin-top: 26px;
}
.g-section h2 {
  font-size: 22px;
  letter-spacing: -0.02em;
  font-weight: 600;
  margin: 0 0 18px;
}
.g-section h3 {
  font-size: 14px;
  font-weight: 600;
  margin: 24px 0 10px;
}
.g-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 22px;
}
.g-grid-feature {
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
}
.g-card {
  display: flex;
  flex-direction: column;
  gap: 5px;
  text-decoration: none;
}
.g-card img,
.g-card-blank {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  background: var(--panel2);
  border: 1px solid var(--border);
  margin-bottom: 6px;
}
.g-card-blank {
  display: block;
}
.g-card:hover img {
  border-color: var(--line-strong);
}
.g-card-title {
  font-size: 15px;
  font-weight: 600;
}
.g-card-meta {
  font-size: 12px;
  color: var(--muted);
}
.g-card-line {
  font-size: 12px;
  color: var(--muted);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.g-empty {
  padding: 90px 0;
  max-width: 760px;
  color: var(--muted);
}
.g-film {
  padding-top: 28px;
}
.g-stage {
  margin: 0 -7.5%;
  background: #000;
}
.g-player {
  width: 100%;
  max-height: 78vh;
  aspect-ratio: 16 / 9;
  object-fit: contain;
  background: #000;
  margin: 0 auto;
}
.g-player-blank {
  background: var(--panel);
}
.g-note {
  margin: 0;
  padding: 10px 7.5%;
  background: var(--panel);
  color: var(--muted);
  font-size: 13px;
  border-bottom: 1px solid var(--border);
}
.g-filmhead {
  padding: 34px 0 6px;
  max-width: 900px;
}
.g-synopsis p {
  color: var(--muted);
  max-width: 760px;
}
.g-forked,
.g-forks,
.g-licence {
  font-size: 13px;
  color: var(--muted);
  margin: 6px 0;
}
.g-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 18px 0 8px;
}
.g-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font: inherit;
  font-size: 13px;
  color: var(--text);
  background: transparent;
  border: 1px solid var(--line-strong);
  padding: 8px 16px;
  border-radius: 999px;
  text-decoration: none;
  cursor: pointer;
}
.g-btn:hover {
  border-color: var(--accent);
}
.g-btn-primary {
  background: var(--accent);
  color: var(--accent-ink);
  border-color: var(--accent);
}
.g-btn[aria-pressed="true"] {
  background: var(--panel2);
}
.g-btn[disabled] {
  opacity: 0.55;
  cursor: default;
}
.g-credits,
.g-ai,
.g-list {
  display: grid;
  grid-template-columns: minmax(140px, 220px) 1fr;
  gap: 8px 22px;
  margin: 0;
  font-size: 14px;
}
.g-credits dt,
.g-ai dt,
.g-list dt {
  color: var(--muted);
}
.g-credits dd,
.g-ai dd,
.g-list dd {
  margin: 0;
}
.g-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}
.g-table th {
  text-align: left;
  font-weight: 500;
  color: var(--muted);
  border-bottom: 1px solid var(--line-strong);
  padding: 6px 10px 6px 0;
}
.g-table td {
  border-bottom: 1px solid var(--border);
  padding: 7px 10px 7px 0;
  vertical-align: top;
}
.g-mono {
  font-family: var(--sans);
  font-variant-numeric: tabular-nums;
  font-size: 12px;
}
.g-table small {
  color: var(--faint);
}
.g-script {
  font-family: var(--script);
  font-size: 13px;
  line-height: 1.5;
  white-space: pre-wrap;
  background: var(--paper, #181b19);
  border: 1px solid var(--border);
  padding: 18px 22px;
  max-height: 460px;
  overflow: auto;
}
.g-strip {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 6px;
}
.g-strip img {
  width: 240px;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  flex: none;
  border: 1px solid var(--border);
}
.g-decisions {
  padding-left: 18px;
  color: var(--muted);
  font-size: 13px;
}
.g-cost {
  font-size: 14px;
  color: var(--muted);
}
.g-packages {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 24px;
}
.g-packages small {
  color: var(--muted);
}
.g-report summary {
  cursor: pointer;
  color: var(--muted);
  font-size: 13px;
}
.g-report form {
  display: grid;
  gap: 12px;
  max-width: 560px;
  margin-top: 14px;
  font-size: 13px;
}
.g-report label {
  display: grid;
  gap: 6px;
  color: var(--muted);
}
.g-report select,
.g-report textarea,
.g-report input {
  font: inherit;
  color: var(--text);
  background: var(--panel);
  border: 1px solid var(--line-strong);
  border-radius: 4px;
  padding: 8px 10px;
}
.g-report button {
  justify-self: start;
}
.g-status {
  font-size: 13px;
  color: var(--muted);
}
.g-hero-poster {
  width: 100%;
  max-width: 900px;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border: 1px solid var(--border);
  margin-bottom: 24px;
}
.g-foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 22px;
  padding: 30px 7.5%;
  border-top: 1px solid var(--border);
  font-size: 11px;
  color: var(--muted);
}
.g-foot p {
  margin: 0 auto 0 14px;
}
.g-foot a {
  color: var(--muted);
  text-decoration: none;
}
.g-wordmark {
  letter-spacing: 0.22em;
  font-weight: 600;
  color: var(--text);
}
@media (max-width: 720px) {
  .g-head,
  .g-main,
  .g-foot {
    padding-left: 16px;
    padding-right: 16px;
  }
  .g-head nav {
    gap: 14px;
  }
  .g-head nav a:not(.g-open):not([aria-current]) {
    display: none;
  }
  .g-stage {
    margin: 0 -16px;
  }
  .g-note {
    padding: 10px 16px;
  }
  .g-credits,
  .g-ai,
  .g-list {
    grid-template-columns: 1fr;
    gap: 2px 0;
  }
  .g-credits dd,
  .g-ai dd,
  .g-list dd {
    margin-bottom: 8px;
  }
  .g-foot p {
    margin: 0;
    flex-basis: 100%;
  }
}
