/* Vid Mars site styles */
:root {
  --paper: #f3eee2;
  --ink: #2a2621;
  --smoke: #6b635a;
  --rule: rgba(42, 38, 33, 0.18);
  --panel: rgba(255, 255, 255, 0.38);
  --shadow: 0 16px 42px rgba(0, 0, 0, 0.12);
  --radius: 0px;
  --chamfer: 14px;
  --accent: #b07a43;
  --accent-ink: #7a4e2a;
  --brass: #c49a5a;
  --brass-deep: #8d5e2b;
  --noir: #171614;
  --frame: rgba(36, 30, 24, 0.22);
  --ivory: #fbf6ee;
  --onyx: #141311;
  --gold-glow: rgba(196, 154, 90, 0.4);
  --edge: rgba(20, 19, 17, 0.35);
  --gold: #d6b36a;
  --gold-bright: #f4e2a6;
  --black-panel: rgba(20, 19, 17, 0.88);
  --black-glass: rgba(20, 19, 17, 0.65);
  --red: #ff0000;
  --red-bright: #ff0000;
  --red-hot: #ff0000;
  --frame-strong: rgba(214, 179, 106, 0.7);
}

* {
  box-sizing: border-box;
}

html,
body {
  height: 100%;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(1100px 900px at 18% 12%, rgba(255, 255, 255, 0.12), transparent 60%),
    radial-gradient(900px 700px at 82% 32%, rgba(0, 0, 0, 0.35), transparent 55%),
    linear-gradient(180deg, #1b1713 0%, #231b15 55%, #191510 100%);
  font-family: "Crimson Text", Georgia, serif;
  letter-spacing: 0.01em;
}

/* paper texture + faint drafting grid + woodcut grain */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    radial-gradient(circle at 12% 18%, rgba(0, 0, 0, 0.03) 0 1px, transparent 2px),
    radial-gradient(circle at 78% 42%, rgba(0, 0, 0, 0.02) 0 1px, transparent 2px),
    linear-gradient(transparent 23px, rgba(42, 38, 33, 0.03) 24px),
    linear-gradient(90deg, transparent 23px, rgba(42, 38, 33, 0.03) 24px),
    repeating-linear-gradient(0deg, rgba(30, 24, 20, 0.03), rgba(30, 24, 20, 0.03) 1px, transparent 1px, transparent 3px);
  background-size: 180px 180px, 220px 220px, 24px 24px, 24px 24px, 100% 100%;
  opacity: 0.55;
  mix-blend-mode: multiply;
}

a {
  color: inherit;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.mono {
  font-family: "Space Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
}

.wrap {
  max-width: 960px;
  margin: 0 auto;
  padding: 32px 28px 60px;
  position: relative;
}

.wrap > * {
  position: relative;
  z-index: 1;
}

.wrap::before {
  content: "";
  position: absolute;
  inset: 10px;
  border: 2px solid var(--edge);
  clip-path: polygon(
    var(--chamfer) 0,
    calc(100% - var(--chamfer)) 0,
    100% var(--chamfer),
    100% calc(100% - var(--chamfer)),
    calc(100% - var(--chamfer)) 100%,
    var(--chamfer) 100%,
    0 calc(100% - var(--chamfer)),
    0 var(--chamfer)
  );
  box-shadow: 0 0 0 2px rgba(196, 154, 90, 0.18) inset;
  pointer-events: none;
  z-index: 0;
}

.wrap::after {
  content: "";
  position: absolute;
  inset: 20px;
  border: 2px solid rgba(36, 30, 24, 0.2);
  clip-path: polygon(
    var(--chamfer) 0,
    calc(100% - var(--chamfer)) 0,
    100% var(--chamfer),
    100% calc(100% - var(--chamfer)),
    calc(100% - var(--chamfer)) 100%,
    var(--chamfer) 100%,
    0 calc(100% - var(--chamfer)),
    0 var(--chamfer)
  );
  pointer-events: none;
  z-index: 0;
}

header {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  gap: 12px;
  padding: 28px 0 10px;
  margin-left: 24px;
  border-bottom: 0;
}

.brand {
  display: grid;
  gap: 6px;
  text-align: left;
  justify-items: start;
  align-items: start;
}

.brand-center {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  width: fit-content;
}

.brand h1 {
  margin: 0;
  font-family: "Alfa Slab One", "Crimson Text", Georgia, serif;
  font-weight: 400;
  font-size: clamp(30px, 4.2vw, 46px);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--red);
  background: none;
  -webkit-background-clip: border-box;
  background-clip: border-box;
  -webkit-text-fill-color: currentColor;
  text-shadow:
    0 0 18px rgba(255, 0, 0, 0.35),
    0 0 42px rgba(255, 120, 40, 0.28);
  position: relative;
  z-index: 1;
  isolation: isolate;
  transform: translateY(3px);
}

.brand h1::before {
  content: "";
  position: absolute;
  inset: -10px -14px -6px -14px;
  border: 2px solid var(--frame-strong);
  box-shadow:
    0 0 0 2px rgba(20, 19, 17, 0.65) inset,
    0 0 22px rgba(214, 179, 106, 0.35);
  clip-path: polygon(
    12px 0,
    calc(100% - 12px) 0,
    100% 12px,
    100% calc(100% - 12px),
    calc(100% - 12px) 100%,
    12px 100%,
    0 calc(100% - 12px),
    0 12px
  );
  pointer-events: none;
  z-index: 0;
}

.brand h1::after {
  content: "";
  position: absolute;
  inset: -12px -12px -4px -12px;
  background:
    radial-gradient(circle, rgba(244, 226, 166, 0.65) 0 2px, transparent 3px)
      0 0 / 14px 14px repeat;
  opacity: 0.45;
  clip-path: polygon(
    12px 0,
    calc(100% - 12px) 0,
    100% 12px,
    100% calc(100% - 12px),
    calc(100% - 12px) 100%,
    12px 100%,
    0 calc(100% - 12px),
    0 12px
  );
  pointer-events: none;
  mix-blend-mode: normal;
  z-index: -1;
}

h1 {
  margin: 0;
  font-weight: 600;
  font-size: clamp(28px, 4vw, 42px);
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--gold);
  background: linear-gradient(180deg, var(--gold-bright), var(--gold) 60%, #b8893f);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.card h2 {
  text-shadow:
    0 1px 0 rgba(255, 255, 255, 0.35),
    0 6px 18px rgba(0, 0, 0, 0.25);
}

.subtitle {
  margin: 6px 0 0;
  color: rgba(214, 179, 106, 0.75);
  font-size: 15px;
  letter-spacing: 0.02em;
}

.brand .subtitle {
  margin: 0;
}

.playbill-ribbon {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 6px 26px 6px 20px;
  border: 2px solid rgba(214, 179, 106, 0.65);
  border-radius: 0;
  background:
    linear-gradient(180deg, rgba(20, 19, 17, 0.95), rgba(20, 19, 17, 0.7)),
    linear-gradient(180deg, rgba(214, 179, 106, 0.22), rgba(141, 94, 43, 0.1));
  color: var(--gold);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  flex-wrap: wrap;
  row-gap: 8px;
  justify-content: flex-start;
  position: relative;
}

.playbill-ribbon::before,
.playbill-ribbon::after {
  content: "◆";
  color: rgba(214, 179, 106, 0.85);
  font-size: 10px;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
}

.playbill-ribbon::before {
  left: 15px;
}

.playbill-ribbon::after {
  right: 8px;
}

.playbill-title {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  white-space: nowrap;
  padding-right: 6px;
}

.playbill-tabs {
  display: inline-flex;
  gap: 24px;
  flex-wrap: wrap;
  justify-content: flex-start;
}

.playbill-tabs .nav-pill {
  border: 0;
  background: transparent;
  border-radius: 0;
  padding: 0;
  color: inherit;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  box-shadow: none;
}

.playbill-tabs .nav-pill:hover {
  background: transparent;
  border: 0;
  transform: none;
  text-decoration: underline;
}

.playbill-tabs .nav-pill + .nav-pill {
  position: relative;
  padding-left: 4px;
}

.playbill-tabs .nav-pill + .nav-pill::before {
  content: "◆";
  position: absolute;
  left: -18px;
  top: 50%;
  transform: translateY(-50%);
  color: rgba(214, 179, 106, 0.85);
  font-size: 9px;
}

.header-spacer {
  display: none;
}

nav {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  justify-content: flex-end;
  align-items: center;
}

.nav-pill {
  border: 2px solid rgba(214, 179, 106, 0.55);
  background:
    linear-gradient(180deg, rgba(20, 19, 17, 0.95), rgba(20, 19, 17, 0.7)),
    linear-gradient(180deg, rgba(214, 179, 106, 0.25), rgba(141, 94, 43, 0.12));
  border-radius: 0;
  padding: 8px 12px;
  font-size: 13px;
  color: var(--gold);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: transform 0.08s ease, background 0.18s ease, border-color 0.18s ease;
}

.nav-pill:hover {
  background:
    linear-gradient(180deg, rgba(20, 19, 17, 0.98), rgba(20, 19, 17, 0.78)),
    linear-gradient(180deg, rgba(214, 179, 106, 0.35), rgba(141, 94, 43, 0.18));
  border-color: rgba(214, 179, 106, 0.65);
  transform: translateY(-1px);
  text-decoration: none;
}

main {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 18px;
  padding: 22px 0 0;
}

@media (max-width: 900px) {
  main {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  header {
    align-items: center;
    margin-left: 0;
  }

  .brand,
  .brand-center {
    justify-items: center;
    align-items: center;
    text-align: center;
  }

  .playbill-ribbon {
    justify-content: center;
    width: 100%;
  }

  .playbill-tabs {
    gap: 14px;
    flex-wrap: nowrap;
    justify-content: center;
  }

  .playbill-tabs .nav-pill {
    font-size: 10px;
    letter-spacing: 0.16em;
  }

  .playbill-tabs .nav-pill + .nav-pill::before {
    display: none;
  }
}

.card {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.35), rgba(255, 255, 255, 0.18)),
    radial-gradient(120% 120% at 0% 0%, rgba(255, 255, 255, 0.28), transparent 55%),
    var(--panel);
  border: 2px solid rgba(20, 19, 17, 0.55);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  backdrop-filter: blur(6px);
  padding: 18px;
  position: relative;
  overflow: hidden;
  clip-path: polygon(
    var(--chamfer) 0,
    calc(100% - var(--chamfer)) 0,
    100% var(--chamfer),
    100% calc(100% - var(--chamfer)),
    calc(100% - var(--chamfer)) 100%,
    var(--chamfer) 100%,
    0 calc(100% - var(--chamfer)),
    0 var(--chamfer)
  );
}

.playbill-card {
  background:
    linear-gradient(180deg, rgba(20, 19, 17, 0.96), rgba(20, 19, 17, 0.78)),
    linear-gradient(180deg, rgba(214, 179, 106, 0.18), rgba(141, 94, 43, 0.08));
  border-color: rgba(214, 179, 106, 0.8);
  box-shadow:
    0 16px 42px rgba(0, 0, 0, 0.35),
    0 0 0 2px rgba(214, 179, 106, 0.2) inset;
}

.playbill-card::before {
  background:
    linear-gradient(135deg, rgba(214, 179, 106, 0.2), transparent 48%),
    linear-gradient(315deg, rgba(20, 19, 17, 0.2), transparent 55%);
}

.playbill-card .lede,
.playbill-card .where,
.playbill-card .stamp,
.playbill-card .tiny {
  color: rgba(214, 179, 106, 0.78);
}

.playbill-card .rule {
  background: rgba(214, 179, 106, 0.3);
}

/* faint “plate mark” border */
.card::after {
  content: "";
  position: absolute;
  inset: 12px;
  border-radius: 0;
  border: 2px solid rgba(42, 38, 33, 0.18);
  box-shadow: 0 0 0 2px rgba(196, 154, 90, 0.16) inset;
  background-image:
    linear-gradient(90deg, rgba(196, 154, 90, 0.35), transparent 45%),
    linear-gradient(180deg, rgba(196, 154, 90, 0.35), transparent 45%);
  background-size: 18px 2px, 2px 18px;
  background-repeat: no-repeat;
  background-position: 12px 12px, 12px 12px;
  pointer-events: none;
  clip-path: polygon(
    var(--chamfer) 0,
    calc(100% - var(--chamfer)) 0,
    100% var(--chamfer),
    100% calc(100% - var(--chamfer)),
    calc(100% - var(--chamfer)) 100%,
    var(--chamfer) 100%,
    0 calc(100% - var(--chamfer)),
    0 var(--chamfer)
  );
}

.card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 0;
  background:
    linear-gradient(135deg, rgba(196, 154, 90, 0.16), transparent 45%),
    linear-gradient(315deg, rgba(20, 19, 17, 0.08), transparent 52%);
  mix-blend-mode: multiply;
  pointer-events: none;
}

.wrap > .card {
  margin-top: 18px;
}

.card h2 {
  margin: 0 0 10px;
  font-weight: 600;
  font-size: 20px;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--gold);
  background: linear-gradient(180deg, var(--gold-bright), var(--gold) 60%, #b8893f);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.lede {
  margin: 0 0 14px;
  color: var(--smoke);
  font-size: 16px;
  line-height: 1.5;
}

.rule {
  height: 1px;
  background: var(--rule);
  margin: 14px 0;
  position: relative;
}

.rule::after {
  content: "◆";
  position: absolute;
  right: 0;
  top: -9px;
  color: rgba(214, 179, 106, 0.85);
  font-size: 14px;
}

.rule::before {
  content: "";
  position: absolute;
  left: 0;
  top: -2px;
  width: 120px;
  height: 6px;
  background:
    linear-gradient(90deg, rgba(196, 154, 90, 0.35), transparent);
  opacity: 0.8;
}

.player {
  position: relative;
  border-radius: 0;
  overflow: hidden;
  border: 2px solid rgba(214, 179, 106, 0.45);
  background:
    linear-gradient(180deg, rgba(20, 19, 17, 0.5), rgba(20, 19, 17, 0.2)),
    linear-gradient(180deg, rgba(255, 255, 255, 0.45), rgba(255, 255, 255, 0.2));
  clip-path: polygon(
    10px 0,
    calc(100% - 10px) 0,
    100% 10px,
    100% calc(100% - 10px),
    calc(100% - 10px) 100%,
    10px 100%,
    0 calc(100% - 10px),
    0 10px
  );
}

.player::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 0;
  box-shadow: 0 0 0 2px rgba(196, 154, 90, 0.24) inset;
  pointer-events: none;
}

.ratio {
  position: relative;
  width: 100%;
  padding-top: 56.25%;
}

.ratio iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.links {
  display: grid;
  gap: 10px;
  margin-top: 10px;
}

.link-row {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  padding: 10px 12px;
  border: 2px solid rgba(214, 179, 106, 0.45);
  border-radius: 0;
  background:
    linear-gradient(180deg, rgba(20, 19, 17, 0.6), rgba(20, 19, 17, 0.2)),
    linear-gradient(180deg, rgba(255, 255, 255, 0.3), rgba(255, 255, 255, 0.12));
  align-items: center;
  transition: transform 0.08s ease, background 0.18s ease, border-color 0.18s ease;
  clip-path: polygon(
    8px 0,
    calc(100% - 8px) 0,
    100% 8px,
    100% calc(100% - 8px),
    calc(100% - 8px) 100%,
    8px 100%,
    0 calc(100% - 8px),
    0 8px
  );
}

.link-row.ticket {
  position: relative;
  overflow: hidden;
  padding-left: 18px;
  background:
    linear-gradient(180deg, rgba(255, 0, 0, 0.32), rgba(255, 0, 0, 0.14)),
    linear-gradient(180deg, rgba(20, 19, 17, 0.7), rgba(20, 19, 17, 0.35));
  color: var(--gold);
}

.link-row.ticket strong {
  font-size: 18px;
  letter-spacing: 0.06em;
}

.link-row.ticket::before,
.link-row.ticket::after {
  content: "";
  position: absolute;
  top: -8px;
  width: 14px;
  height: calc(100% + 16px);
  background:
    radial-gradient(circle, rgba(214, 179, 106, 0.75) 0 3px, transparent 4px)
      50% 0 / 14px 18px repeat-y;
  opacity: 0.85;
}

.link-row.ticket::before {
  left: -10px;
}

.link-row.ticket::after {
  right: -10px;
}

.link-row:hover {
  transform: translateY(-1px);
  background: rgba(255, 255, 255, 0.42);
  border-color: rgba(42, 38, 33, 0.28);
  text-decoration: none;
}

.link-row .where {
  color: rgba(214, 179, 106, 0.7);
  font-size: 12px;
}

.stamp {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  margin-top: 6px;
  color: var(--smoke);
  font-size: 12px;
}

.catalog {
  display: inline-block;
  padding: 6px 10px;
  border: 1px solid rgba(214, 179, 106, 0.6);
  border-radius: 10px;
  background:
    linear-gradient(180deg, rgba(20, 19, 17, 0.9), rgba(20, 19, 17, 0.6)),
    linear-gradient(180deg, rgba(196, 154, 90, 0.32), rgba(196, 154, 90, 0.1));
  color: var(--gold);
}

figure {
  position: relative;
}

figure::after {
  content: "";
  position: absolute;
  inset: 8px;
  border-radius: 12px;
  background-image:
    linear-gradient(90deg, rgba(196, 154, 90, 0.3), transparent 45%),
    linear-gradient(180deg, rgba(196, 154, 90, 0.3), transparent 45%);
  background-size: 16px 2px, 2px 16px;
  background-repeat: no-repeat;
  background-position: 10px 10px, 10px 10px;
  pointer-events: none;
}

/* Gallery */
.gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 14px;
}

@media (max-width: 900px) {
  .gallery {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 560px) {
  .gallery {
    grid-template-columns: 1fr;
  }
}

figure {
  margin: 0;
  border: 2px solid rgba(42, 38, 33, 0.28);
  border-radius: 0;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.25);
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.1);
  clip-path: polygon(
    10px 0,
    calc(100% - 10px) 0,
    100% 10px,
    100% calc(100% - 10px),
    calc(100% - 10px) 100%,
    10px 100%,
    0 calc(100% - 10px),
    0 10px
  );
}

img {
  display: block;
  width: 100%;
  height: auto;
}

figcaption {
  padding: 10px 12px;
  color: var(--smoke);
  font-size: 13px;
  border-top: 1px solid rgba(42, 38, 33, 0.12);
}

footer {
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px solid var(--rule);
  color: var(--smoke);
  font-size: 12px;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.tiny {
  opacity: 0.9;
}
