/* ==========================================================================
   BlazingNana.com — Austin Comedy Hub
   "A24 poster meets a sold-out back room."
   Dark canvas, stage-red accent, Anton display / Inter body.
   ========================================================================== */

:root {
  --bg: #0a0a0b;
  --surface: #131316;
  --surface-2: #1a1a1f;
  --line: #26262c;
  --ink: #f5f5f7;
  --muted: #a6a6b0;
  --faint: #6e6e78;
  --red: #E50914;
  --red-hot: #ff2d3a;
  --accent: var(--red);          /* overridden per-comic in <head> */
  --font-display: 'Anton', 'Arial Narrow', Impact, sans-serif;
  --font-body: 'Inter', system-ui, -apple-system, sans-serif;
  --radius: 14px;
  --wrap: 1120px;
  --pad: clamp(1rem, 4vw, 2rem);
}

/* --------------------------------- Reset --------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
  /* Film grain: tiny tiled SVG noise, barely-there */
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 0.03 0'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)'/%3E%3C/svg%3E");
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--ink); }
a:hover { color: var(--red-hot); }
h1, h2, h3 { line-height: 1.1; margin: 0 0 .5em; }
p { margin: 0 0 1em; }
ol, ul { margin: 0; padding: 0; list-style: none; }
button { font: inherit; cursor: pointer; }
input, select, textarea { font: inherit; }

.wrap { max-width: var(--wrap); margin-inline: auto; padding-inline: var(--pad); }
.muted { color: var(--muted); }
.small { font-size: .85rem; }
.accent { color: var(--accent); }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* Visible focus for keyboard users */
:focus-visible { outline: 2px solid var(--red-hot); outline-offset: 3px; border-radius: 4px; }

.skip-link {
  position: absolute; left: -999px; top: 0; z-index: 100;
  background: var(--red); color: #fff; padding: .6rem 1rem; border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; }

/* ------------------------------ Header / nav ------------------------------ */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(10, 10, 11, .82);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.nav-row { display: flex; align-items: center; gap: 1rem; min-height: 64px; }
.brand {
  display: flex; align-items: baseline; gap: .5rem;
  text-decoration: none; font-family: var(--font-display);
  font-size: 1.05rem; letter-spacing: .06em; text-transform: uppercase;
}
.brand-mark { color: var(--red); align-self: center; flex: none; }
.brand-sub { font-family: var(--font-body); font-size: .7rem; color: var(--faint); letter-spacing: .12em; }
.site-nav { margin-left: auto; display: flex; align-items: center; gap: 1.4rem; }
.site-nav a { text-decoration: none; font-weight: 600; font-size: .92rem; color: var(--muted); }
.site-nav a:hover { color: var(--ink); }
.site-nav a.btn { color: #fff; }
.nav-toggle { display: none; }

@media (max-width: 760px) {
  .brand-sub { display: none; }
  .nav-toggle {
    display: inline-flex; align-items: center; gap: .5rem; margin-left: auto;
    background: none; border: 1px solid var(--line); color: var(--ink);
    padding: .45rem .8rem; border-radius: 8px; font-weight: 600;
  }
  .nav-toggle-bar { width: 16px; height: 2px; background: var(--red); box-shadow: 0 5px 0 var(--red), 0 -5px 0 var(--red); }
  .site-nav {
    display: none; position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--surface); border-bottom: 1px solid var(--line); padding: .5rem var(--pad) 1rem;
  }
  .site-nav.is-open { display: flex; }
  .site-nav a { padding: .8rem 0; border-bottom: 1px solid var(--line); }
  .site-nav a.btn { margin-top: .8rem; text-align: center; border-bottom: 0; }
}

/* ------------------------------- Banners ---------------------------------- */
.db-banner {
  background: #2a1d00; color: #ffd479; border-bottom: 1px solid #4a3500;
  text-align: center; padding: .55rem var(--pad); font-size: .9rem;
}
.flash { border-bottom: 1px solid var(--line); padding: .7rem 0; font-weight: 600; }
.flash--success { background: #06251a; color: #7ce3b1; }
.flash--error { background: #2b0d10; color: #ff9aa2; }

/* --------------------------------- Buttons --------------------------------- */
.btn {
  display: inline-block; background: var(--accent); color: #fff;
  font-weight: 700; text-decoration: none; border: 1px solid transparent;
  padding: .8rem 1.5rem; border-radius: 999px; font-size: .95rem;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
}
.btn:hover {
  background: var(--red-hot); color: #fff;
  box-shadow: 0 0 24px color-mix(in srgb, var(--accent) 55%, transparent);
  transform: translateY(-1px);
}
.btn:disabled { opacity: .45; cursor: not-allowed; transform: none; box-shadow: none; }
.btn--ghost { background: transparent; border-color: var(--line); color: var(--ink); }
.btn--ghost:hover { border-color: var(--accent); background: rgba(255, 255, 255, .04); box-shadow: none; }
.btn--small { padding: .45rem .95rem; font-size: .85rem; }

/* ---------------------------------- Chips ---------------------------------- */
.chip {
  display: inline-block; font-size: .72rem; font-weight: 700; letter-spacing: .08em;
  text-transform: uppercase; padding: .25rem .6rem; border-radius: 999px;
  border: 1px solid var(--line); color: var(--muted); background: var(--surface-2);
}
.chip--onsale { border-color: var(--accent); color: var(--accent); background: transparent; }
.chip--free { border-color: #2e7d4f; color: #7ce3b1; background: transparent; }
.chip--soldout { border-color: #555; color: #888; text-decoration: line-through; }
.chip--mic { border-color: #6b5400; color: #ffd479; }
.chip--status { border-color: var(--accent); color: var(--accent); }
.chip--tier-major { border-color: var(--red); color: var(--red-hot); }
.chip--tier-indie { border-color: #4a6cf7; color: #92a8ff; }
.chip--tier-bar { border-color: #6b5400; color: #ffd479; }

/* ---------------------------------- Hero ----------------------------------- */
.hero { position: relative; overflow: hidden; padding: clamp(4rem, 10vw, 7.5rem) 0 clamp(2.5rem, 6vw, 4rem); }
.hero-spot {
  position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(ellipse 70% 55% at 50% -10%, color-mix(in srgb, var(--accent) 26%, transparent), transparent 70%),
    radial-gradient(ellipse 40% 35% at 80% 10%, rgba(255, 255, 255, .05), transparent 70%);
  animation: spot-breathe 7s ease-in-out infinite alternate;
}
@keyframes spot-breathe { from { opacity: .8; } to { opacity: 1.1; } }
.hero-inner { position: relative; }
.kicker {
  font-size: .8rem; font-weight: 700; letter-spacing: .22em; text-transform: uppercase;
  color: var(--accent); margin-bottom: 1.2rem;
}
.hero-title {
  font-family: var(--font-display);
  font-size: clamp(3rem, 9vw, 6.5rem);
  text-transform: uppercase; letter-spacing: .01em; line-height: .95;
  text-shadow: 0 0 60px color-mix(in srgb, var(--accent) 30%, transparent);
}
.hero-title--comic, .hero-title--show { font-size: clamp(2.4rem, 7vw, 4.8rem); }
.hero-sub { max-width: 38rem; color: var(--muted); font-size: 1.1rem; }
.hero-sub a { color: var(--ink); }
.hero-ctas { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 1.6rem; }

/* Stats */
.stats { display: flex; flex-wrap: wrap; gap: clamp(1.2rem, 4vw, 3rem); margin: 2.6rem 0 0; }
.stat dt { font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--faint); }
.stat dd {
  margin: 0; font-family: var(--font-display); font-size: clamp(1.8rem, 4vw, 2.6rem);
  color: var(--ink); line-height: 1.1;
}
.stat dd span { color: var(--accent); }

/* --------------------------------- Ticker ----------------------------------- */
.ticker {
  border-block: 1px solid var(--line); background: var(--surface);
  overflow: hidden; white-space: nowrap; padding: .55rem 0;
}
.ticker-track { display: inline-block; animation: ticker-roll 36s linear infinite; }
.ticker-item {
  font-family: var(--font-display); text-transform: uppercase; letter-spacing: .08em;
  font-size: .92rem; color: var(--muted); padding-inline: 1rem;
}
.ticker-dot { color: var(--red); font-size: .55rem; vertical-align: middle; }
@keyframes ticker-roll { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* --------------------------------- Sections ---------------------------------- */
.section { padding: clamp(2.6rem, 7vw, 4.5rem) 0; }
.section--alt { background: var(--surface); border-block: 1px solid var(--line); }
.section--slim { padding: clamp(1.4rem, 4vw, 2.2rem) 0; }
.section-title {
  font-family: var(--font-display); text-transform: uppercase;
  font-size: clamp(1.7rem, 4.5vw, 2.6rem); letter-spacing: .02em;
}
.section-sub { color: var(--muted); max-width: 44rem; margin-top: -.4rem; }
.empty-note { color: var(--muted); background: var(--surface); border: 1px dashed var(--line); border-radius: var(--radius); padding: 1.2rem 1.4rem; }

.page-head { padding: clamp(3rem, 8vw, 5rem) 0 1rem; }
.page-head--center { text-align: center; padding-bottom: clamp(3rem, 8vw, 5rem); }
.page-title {
  font-family: var(--font-display); text-transform: uppercase;
  font-size: clamp(2.4rem, 7vw, 4.5rem); line-height: .98;
}
.page-title .chip { vertical-align: middle; margin-left: .4rem; }
.page-sub { color: var(--muted); max-width: 44rem; font-size: 1.05rem; }

/* ---------------------------------- Grids ------------------------------------ */
.grid { display: grid; gap: 1rem; }
.grid-shows { grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); }
.grid-comics { grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); }
.grid-venues { grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); }
.grid-merch { grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }
.grid-clips { grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); }
.grid-directory { grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); margin-top: 1.4rem; }

/* ---------------------------------- Cards ------------------------------------- */
.card {
  --card-accent: var(--accent);
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.1rem 1.2rem; text-decoration: none; position: relative;
  transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}
.card:hover {
  transform: translateY(-3px);
  border-color: color-mix(in srgb, var(--card-accent) 60%, var(--line));
  box-shadow: 0 14px 34px rgba(0, 0, 0, .45), 0 0 0 1px color-mix(in srgb, var(--card-accent) 25%, transparent);
}

/* Show card */
.show-card { display: flex; gap: 1rem; align-items: flex-start; }
.show-card-date {
  flex: none; text-align: center; min-width: 58px;
  border-right: 2px solid var(--card-accent); padding-right: .9rem;
}
.show-card-day { display: block; font-size: .62rem; font-weight: 800; letter-spacing: .12em; color: var(--card-accent); }
.show-card-num { display: block; font-family: var(--font-display); font-size: 1.9rem; line-height: 1; }
.show-card-mon { display: block; font-size: .68rem; letter-spacing: .18em; color: var(--faint); }
.show-card-title { font-size: 1.05rem; margin-bottom: .15rem; }
.show-card-title a { text-decoration: none; }
.show-card-title a:hover { color: var(--red-hot); }
.show-card-meta { color: var(--muted); font-size: .86rem; margin-bottom: .5rem; }
.show-card .chip { margin-right: .35rem; }

/* Comic card */
.comic-card { display: flex; align-items: center; gap: .9rem; color: var(--ink); }
.comic-card-text { display: flex; flex-direction: column; min-width: 0; }
.comic-card-name { font-family: var(--font-display); text-transform: uppercase; font-size: 1.12rem; letter-spacing: .03em; }
.comic-card-tag { color: var(--muted); font-size: .82rem; }
.comic-card .chip--status { margin-left: auto; flex: none; }
.comic-card--join { border-style: dashed; }
.avatar {
  flex: none; width: 56px; height: 56px; border-radius: 50%; overflow: hidden;
  display: grid; place-items: center;
  background: radial-gradient(circle at 30% 25%, color-mix(in srgb, var(--card-accent) 80%, #fff 8%), color-mix(in srgb, var(--card-accent) 45%, #000));
}
.avatar img { width: 100%; height: 100%; object-fit: cover; }
.avatar-initials { font-family: var(--font-display); font-size: 1.25rem; color: #fff; }
.avatar--join { background: var(--surface-2); border: 1px dashed var(--faint); }
.avatar--xl { width: clamp(160px, 24vw, 260px); height: clamp(160px, 24vw, 260px); }
.avatar--xl .avatar-initials { font-size: clamp(3rem, 7vw, 5rem); }

/* Venue card */
.venue-card { display: flex; flex-direction: column; gap: .3rem; color: var(--ink); }
.venue-card-head { display: flex; align-items: center; gap: .6rem; justify-content: space-between; }
.venue-card-name { font-family: var(--font-display); text-transform: uppercase; font-size: 1.1rem; letter-spacing: .03em; }
.venue-card-meta { color: var(--muted); font-size: .85rem; }
.venue-card-desc { color: var(--faint); font-size: .85rem; }

/* ------------------------------ Comic's Hole promo ------------------------------ */
.hole-promo { background: linear-gradient(180deg, var(--bg), #15090b 50%, var(--bg)); }
.hole-promo-inner {
  display: flex; flex-wrap: wrap; gap: 1.6rem; align-items: center; justify-content: space-between;
  border: 1px solid color-mix(in srgb, var(--red) 35%, var(--line));
  border-radius: calc(var(--radius) + 6px);
  padding: clamp(1.5rem, 5vw, 2.6rem);
  background: rgba(229, 9, 20, .04);
}
.hole-promo-copy { max-width: 36rem; color: var(--muted); margin: 0; }
.hole-promo-copy strong { color: var(--ink); }
.hole-promo-ctas { display: flex; gap: .8rem; flex-wrap: wrap; }

/* Press strip */
.press-strip { color: var(--faint); font-size: .9rem; display: flex; flex-wrap: wrap; gap: .6rem; align-items: baseline; margin: 0; font-style: italic; }
.press-label { font-style: normal; font-weight: 700; color: var(--muted); letter-spacing: .06em; text-transform: uppercase; font-size: .72rem; }

/* ---------------------------------- Forms ----------------------------------------- */
.forms-grid { display: grid; gap: 1.4rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 380px), 1fr)); }
.form-panel { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(1.3rem, 4vw, 2rem); }
.form-panel--narrow { max-width: 640px; margin-inline: auto; }
.stack-form { display: flex; flex-direction: column; gap: .95rem; }
.field { display: flex; flex-direction: column; gap: .3rem; flex: 1; }
.field > span { font-size: .82rem; font-weight: 600; color: var(--muted); letter-spacing: .03em; }
.field small { color: var(--faint); font-weight: 400; }
.field input, .field select, .field textarea {
  background: var(--bg); color: var(--ink); border: 1px solid var(--line);
  border-radius: 9px; padding: .65rem .8rem;
}
.field input:focus, .field textarea:focus, .field select:focus { border-color: var(--accent); outline: none; }
.field-row { display: flex; gap: .9rem; flex-wrap: wrap; }
.checks { border: 0; padding: 0; margin: 0; display: flex; gap: 1.2rem; flex-wrap: wrap; color: var(--muted); font-size: .9rem; }
.checks label { display: flex; gap: .4rem; align-items: center; }
.hp-field { position: absolute !important; left: -9999px !important; height: 1px; overflow: hidden; margin: 0; }

.type-picker { border: 1px solid var(--line); border-radius: var(--radius); padding: 1rem 1.2rem; }
.type-picker legend { font-weight: 700; padding-inline: .4rem; }
.type-opt { display: inline-flex; gap: .45rem; align-items: center; margin-right: 1.4rem; color: var(--muted); }
.type-opt input:checked + span { color: var(--ink); font-weight: 700; }

/* ------------------------------- Comic lander ---------------------------------------- */
.hero--comic { padding-top: clamp(3rem, 7vw, 5rem); }
.comic-hero { position: relative; display: flex; gap: clamp(1.5rem, 5vw, 3rem); align-items: center; flex-wrap: wrap; }
.comic-hero-photo img { border-radius: 18px; box-shadow: 0 24px 60px rgba(0, 0, 0, .55); }
.comic-bio { color: var(--muted); max-width: 40rem; }
.social-row { display: flex; flex-wrap: wrap; gap: .9rem; margin: .4rem 0 0; }
.social-link { color: var(--muted); font-weight: 600; font-size: .9rem; text-decoration-color: var(--faint); }
.social-link:hover { color: var(--red-hot); }

.next-show-banner {
  display: flex; flex-wrap: wrap; align-items: center; gap: .4rem 1.2rem;
  background: linear-gradient(90deg, color-mix(in srgb, var(--accent) 22%, var(--surface)), var(--surface));
  border-block: 1px solid color-mix(in srgb, var(--accent) 40%, var(--line));
  padding: .9rem var(--pad); text-decoration: none;
}
.next-show-label {
  font-size: .7rem; font-weight: 800; letter-spacing: .18em; text-transform: uppercase;
  color: var(--accent); border: 1px solid var(--accent); padding: .15rem .55rem; border-radius: 999px;
}
.next-show-what { font-family: var(--font-display); text-transform: uppercase; font-size: 1.1rem; letter-spacing: .03em; }
.next-show-when { color: var(--muted); font-size: .9rem; }
.next-show-go { margin-left: auto; color: var(--accent); font-size: 1.3rem; }

/* Dates list */
.date-list { display: flex; flex-direction: column; }
.date-row {
  display: flex; flex-wrap: wrap; gap: .5rem 1.4rem; align-items: center;
  padding: 1rem 0; border-bottom: 1px solid var(--line);
}
.date-row-when { min-width: 150px; display: flex; flex-direction: column; }
.date-row-when strong { font-family: var(--font-display); text-transform: uppercase; letter-spacing: .04em; font-weight: 400; }
.date-row-when span { color: var(--faint); font-size: .85rem; }
.date-row-what { flex: 1; min-width: 200px; display: flex; flex-direction: column; }
.date-row-what a { text-decoration: none; font-weight: 600; }
.date-row-what a:hover { color: var(--red-hot); }
.date-row-what .muted { font-size: .85rem; }
.date-row-cta { margin-left: auto; }

/* Merch */
.merch-card { display: flex; flex-direction: column; gap: .4rem; }
.merch-card-img { border-radius: 10px; overflow: hidden; aspect-ratio: 1; background: var(--surface-2); display: grid; place-items: center; margin-bottom: .4rem; }
.merch-card-img img { width: 100%; height: 100%; object-fit: cover; }
.merch-card-ph {
  font-family: var(--font-display); font-size: 3rem;
  color: color-mix(in srgb, var(--accent) 70%, #fff 10%);
  text-shadow: 0 0 30px color-mix(in srgb, var(--accent) 60%, transparent);
}
.merch-card-name { font-size: 1rem; margin: 0; }
.merch-card-desc { color: var(--faint); font-size: .83rem; margin: 0; }
.merch-card-price { font-family: var(--font-display); font-size: 1.3rem; color: var(--accent); margin: .2rem 0 .5rem; }
.merch-card .btn { align-self: flex-start; }

/* Cart (platform-fulfilled mode) */
.cart { margin-top: 1.6rem; background: var(--surface-2); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.2rem 1.4rem; max-width: 420px; }
.cart-title { font-family: var(--font-display); text-transform: uppercase; font-size: 1.1rem; }
.cart-items li { display: flex; justify-content: space-between; gap: 1rem; padding: .35rem 0; color: var(--muted); font-size: .92rem; }
.cart-total { font-weight: 700; margin: .6rem 0; }

/* Tip jar */
.tipjar { text-align: center; max-width: 560px; }
.tip-form { display: flex; flex-direction: column; gap: 1.1rem; align-items: center; }
.tip-presets { display: flex; gap: .6rem; flex-wrap: wrap; justify-content: center; }
.chip--tip { font-size: .95rem; padding: .5rem 1rem; background: var(--surface); border-color: var(--line); color: var(--ink); }
.chip--tip:hover { border-color: var(--accent); }
.chip--tip.is-on { background: var(--accent); border-color: var(--accent); color: #fff; }
.tip-custom { display: inline-flex; align-items: center; gap: .2rem; color: var(--muted); }
.tip-custom input { width: 4.2rem; background: var(--surface); color: var(--ink); border: 1px solid var(--line); border-radius: 8px; padding: .45rem .5rem; }
.stub-note { color: #ffd479; font-size: .85rem; max-width: 34rem; }

/* Clips */
.clip-facade {
  position: relative; display: grid; place-items: center; width: 100%;
  aspect-ratio: 16 / 9; border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; background: var(--surface-2); padding: 0; color: var(--muted);
}
.clip-facade img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .75; }
.clip-facade--empty { flex-direction: column; gap: .4rem; display: flex; align-items: center; justify-content: center; }
.clip-play {
  position: relative; z-index: 1; width: 58px; height: 58px; border-radius: 50%;
  display: grid; place-items: center; background: color-mix(in srgb, var(--accent) 88%, #000);
  color: #fff; font-size: 1.1rem; padding-left: 4px;
  box-shadow: 0 0 30px color-mix(in srgb, var(--accent) 55%, transparent);
  transition: transform .15s ease;
}
.clip-facade:hover .clip-play { transform: scale(1.08); }
.clip iframe { width: 100%; aspect-ratio: 16 / 9; border: 0; border-radius: var(--radius); }
.clip-title { color: var(--muted); font-size: .9rem; margin: .5rem 0 0; }

.show-lineup { color: var(--muted); }
.lander-promise { text-align: center; color: var(--faint); padding: 0 var(--pad) 2.5rem; }
.lander-promise strong { color: var(--accent); }

/* ------------------------------- Directory filters ------------------------------- */
.dir-filters { display: flex; flex-wrap: wrap; gap: .8rem 1.2rem; align-items: center; }
.dir-search {
  flex: 1 1 240px; background: var(--surface); color: var(--ink);
  border: 1px solid var(--line); border-radius: 999px; padding: .65rem 1.1rem;
}
.dir-search:focus { border-color: var(--accent); outline: none; }
.chip-row { display: flex; gap: .4rem; flex-wrap: wrap; }
.chip--filter { background: var(--surface); color: var(--muted); }
.chip--filter:hover { border-color: var(--accent); color: var(--ink); }
.chip--filter.is-on { background: var(--accent); border-color: var(--accent); color: #fff; }
.dir-hood select { background: var(--surface); color: var(--ink); border: 1px solid var(--line); border-radius: 999px; padding: .55rem 1rem; }

/* --------------------------------- Footer ------------------------------------------ */
.site-footer { border-top: 1px solid var(--line); background: var(--surface); margin-top: 2rem; }
.footer-grid { display: grid; gap: 1.6rem; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); padding-block: 2.4rem 1.2rem; }
.footer-brand { font-family: var(--font-display); text-transform: uppercase; letter-spacing: .06em; font-size: 1.1rem; margin-bottom: .3rem; }
.footer-col nav, .footer-col { font-size: .92rem; }
.footer-col a { display: block; color: var(--muted); text-decoration: none; padding: .25rem 0; }
.footer-col a:hover { color: var(--ink); }
.promise { color: var(--muted); }
.promise strong { color: var(--red-hot); }
.footer-base {
  display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap;
  border-top: 1px solid var(--line); padding-block: 1rem; color: var(--faint); font-size: .82rem;
}
.footer-base p { margin: 0; }
.muted-link { color: var(--faint); text-decoration: none; }
.muted-link:hover { color: var(--muted); }

/* ------------------------------ Scroll reveal (JS adds .in) ------------------------------ */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.js .reveal.in { opacity: 1; transform: none; }

/* --------------------------------- Admin ---------------------------------------------- */
.admin-wrap { max-width: 1000px; margin-inline: auto; padding: 1.5rem var(--pad) 4rem; }
.admin-top { display: flex; align-items: center; gap: 1rem; flex-wrap: wrap; border-bottom: 1px solid var(--line); padding-bottom: 1rem; margin-bottom: 1.4rem; }
.admin-top h1 { font-family: var(--font-display); text-transform: uppercase; font-size: 1.5rem; margin: 0; }
.admin-nav { display: flex; gap: .9rem; flex-wrap: wrap; margin-left: auto; }
.admin-nav a { color: var(--muted); text-decoration: none; font-weight: 600; font-size: .9rem; }
.admin-nav a:hover, .admin-nav a.is-on { color: var(--ink); }
.admin-table { width: 100%; border-collapse: collapse; font-size: .92rem; }
.admin-table th, .admin-table td { text-align: left; padding: .6rem .7rem; border-bottom: 1px solid var(--line); vertical-align: top; }
.admin-table th { color: var(--faint); text-transform: uppercase; font-size: .72rem; letter-spacing: .08em; }
.admin-cards { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); margin-bottom: 1.6rem; }
.admin-actions { display: flex; gap: .4rem; flex-wrap: wrap; }
.admin-form { max-width: 640px; }
pre.payload { background: var(--bg); border: 1px solid var(--line); border-radius: 8px; padding: .8rem; white-space: pre-wrap; word-break: break-word; font-size: .8rem; color: var(--muted); }

/* ------------------------------ Reduced motion ------------------------------------------ */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .hero-spot { animation: none; }
  .ticker-track { animation: none; }
  .card, .btn, .clip-play { transition: none; }
  .card:hover, .btn:hover { transform: none; }
}
