:root {
  --black: #0a0a0b;
  --ink: #121214;
  --muted: #6b6f76;
  --gray: #808080;
  --line: #e6e7ea;
  --bg: #f3f4f6;
  --white: #ffffff;
  --gold: #f0a020;
  --gold-deep: #e09020;
  --gold-light: #fff6eb;
  --blue: #0010c0;
  --blue-deep: #0000a0;
  --blue-light: #e8ebff;
  --max: 1080px;
  --nav-h: 64px;
  --radius: 16px;
  --shadow: 0 18px 50px rgba(10, 10, 11, 0.12);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: "Manrope", system-ui, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.55;
  font-size: 1.02rem;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue-deep); }
a:hover { color: var(--gold-deep); }

.wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 1.15rem calc(2.5rem + env(safe-area-inset-bottom));
}

/* —— Header / Nav —— */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(10, 10, 11, 0.92);
  backdrop-filter: blur(16px) saturate(1.2);
  -webkit-backdrop-filter: blur(16px) saturate(1.2);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 0 0 var(--radius) var(--radius);
  margin: 0 0 1.5rem;
  padding: 0 1rem;
}

.site-header-inner {
  max-width: var(--max);
  margin: 0 auto;
  min-height: var(--nav-h);
  display: flex;
  align-items: center;
  gap: 1rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
  color: #fff;
  min-width: 0;
}

.brand-mark {
  width: 2.35rem;
  height: 2.35rem;
  border-radius: 50%;
  flex-shrink: 0;
  object-fit: contain;
}

.brand-text {
  font-weight: 800;
  font-size: 1.05rem;
  letter-spacing: -0.03em;
  line-height: 1.1;
}

.brand-text small {
  display: block;
  font-family: Manrope, sans-serif;
  font-weight: 600;
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
  margin-top: 0.15rem;
}

.nav-toggle {
  margin-left: auto;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.04);
  color: #fff;
  display: grid;
  place-items: center;
  cursor: pointer;
  padding: 0;
}

.nav-toggle svg { width: 20px; height: 20px; }

.nav {
  display: none;
  width: 100%;
  flex-basis: 100%;
  flex-direction: column;
  gap: 0.25rem;
  padding: 0 0 1rem;
}

.nav.open { display: flex; }

.nav a {
  text-decoration: none;
  color: rgba(255, 255, 255, 0.72);
  font-size: 1rem;
  font-weight: 700;
  padding: 0.85rem 1rem;
  border-radius: 12px;
}

.nav a:hover,
.nav a.active {
  color: #fff;
  background: rgba(240, 160, 32, 0.22);
}

@media (min-width: 820px) {
  .nav-toggle { display: none; }
  .nav {
    display: flex;
    flex-direction: row;
    flex-basis: auto;
    width: auto;
    margin-left: auto;
    padding: 0;
    gap: 0.2rem;
  }
  .nav a {
    font-size: 0.88rem;
    padding: 0.55rem 0.85rem;
  }
  .home-logos { gap: 2rem; }
}

.home-logos {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  flex-wrap: wrap;
  margin: 0 0 1.5rem;
  padding: 1.25rem 1rem;
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid var(--line);
}

.home-logos img {
  width: min(42vw, 180px);
  height: auto;
}

.home-logos .trios-logo {
  width: min(52vw, 220px);
}

/* —— Hero —— */
.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  border-radius: var(--radius);
  margin: 0 0 1.5rem;
  min-height: min(72vh, 620px);
  display: flex;
  align-items: flex-end;
  color: #fff;
  background: #0a0a0b;
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.hero-media video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(10, 10, 11, 0.55) 0%, rgba(10, 10, 11, 0.72) 45%, rgba(10, 10, 11, 0.88) 100%),
    linear-gradient(90deg, rgba(10, 10, 11, 0.55) 0%, transparent 55%);
}

.hero-copy {
  position: relative;
  z-index: 1;
  width: 100%;
  padding: 2.5rem 1.15rem 2rem;
  margin-bottom: 0;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--blue-deep);
  margin-bottom: 0.65rem;
}

.eyebrow::before {
  content: "";
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  background: var(--gold);
}

.hero .hero-copy .eyebrow {
  color: var(--gold);
}

.hero h1 {
  font-weight: 800;
  font-size: clamp(2.4rem, 9vw, 4.4rem);
  letter-spacing: -0.045em;
  line-height: 0.95;
  margin-bottom: 0.75rem;
  color: #fff;
}

.hero-lead {
  font-size: clamp(1.02rem, 2.8vw, 1.2rem);
  color: rgba(255, 255, 255, 0.72);
  max-width: 34rem;
  font-weight: 500;
  margin-bottom: 1.15rem;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0.75rem 1.25rem;
  border-radius: 999px;
  font-weight: 800;
  font-size: 0.95rem;
  text-decoration: none;
  transition: transform 0.15s ease, filter 0.15s ease;
}

.btn:hover { transform: translateY(-1px); filter: brightness(1.05); }

.btn-primary {
  background: var(--blue);
  color: #fff;
}

.btn-primary:hover { color: #fff; }

.btn-ghost {
  background: var(--white);
  color: var(--ink);
  border: 1px solid var(--line);
}

.btn-ghost:hover { color: var(--ink); border-color: #c9ccd2; }

.hero .btn-ghost {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.35);
  backdrop-filter: blur(8px);
}

.hero .btn-ghost:hover {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.6);
  background: rgba(255, 255, 255, 0.18);
}

@media (prefers-reduced-motion: reduce) {
  .hero-media video {
    display: none;
  }

  .hero-media {
    background: #0a0a0b url("../images/hero.jpg") center / cover no-repeat;
  }
}

/* —— Photos —— */
.photo-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.75rem;
  margin: 0 0 1.75rem;
}

@media (min-width: 700px) {
  .photo-grid {
    grid-template-columns: 1.2fr 0.8fr;
    grid-template-rows: auto auto;
  }
  .photo-grid .feature { grid-row: 1 / 3; }
  .photo-grid .wide { grid-column: 1 / -1; }
}

.shot {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  background: #111;
  box-shadow: var(--shadow);
  isolation: isolate;
}

.shot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  aspect-ratio: 4 / 3;
  transition: transform 0.5s ease;
}

.shot:hover img { transform: scale(1.03); }

.shot.feature img { aspect-ratio: 3 / 4; min-height: 280px; }
@media (min-width: 700px) {
  .shot.feature img { aspect-ratio: auto; min-height: 100%; height: 100%; }
}

.shot.wide img { aspect-ratio: 16 / 9; }
.shot.portrait img { aspect-ratio: 3 / 4; object-position: center 18%; }

.shot figcaption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 2.5rem 1rem 0.9rem;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.78));
  color: #fff;
  font-size: 0.88rem;
  font-weight: 650;
}

/* —— Sections —— */
.home-next {
  margin: 1.35rem 0 1.5rem;
  padding: 1.25rem 0 1.35rem;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.hero .home-next {
  border-top-color: rgba(255, 255, 255, 0.22);
  border-bottom-color: rgba(255, 255, 255, 0.22);
}

.home-next h3 {
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.5rem;
}

.hero .home-next h3 {
  color: rgba(255, 255, 255, 0.6);
}

.home-next .next-date {
  font-weight: 800;
  font-size: 1.35rem;
  letter-spacing: -0.03em;
  margin-bottom: 0.4rem;
}

.hero .home-next .next-date {
  color: #fff;
}

.home-next p {
  color: var(--muted);
  font-weight: 500;
  font-size: 0.98rem;
}

.hero .home-next p {
  color: rgba(255, 255, 255, 0.72);
}

.home-accent {
  margin: 1.25rem 0;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--white);
}

.home-accent img {
  width: 100%;
  aspect-ratio: 16 / 8;
  object-fit: cover;
  object-position: center 30%;
}

.home-accent figcaption {
  padding: 0.7rem 1rem;
  font-size: 0.88rem;
  color: var(--muted);
  font-weight: 550;
}

.home-accent a {
  font-weight: 750;
  text-decoration: none;
}

.gallery-page {
  margin-top: 0.25rem;
}

@media (min-width: 700px) {
  .gallery-page {
    grid-template-columns: 1fr 1fr;
  }
  .gallery-page .wide { grid-column: 1 / -1; }
  .gallery-page .feature { grid-row: auto; }
}

.page-intro {
  margin-bottom: 1.35rem;
}

.page-intro h2 {
  font-weight: 800;
  font-size: clamp(1.7rem, 5vw, 2.3rem);
  letter-spacing: -0.035em;
  line-height: 1.05;
  margin-bottom: 0.45rem;
}

.page-intro p {
  color: var(--muted);
  max-width: 38rem;
  font-weight: 500;
}

.section {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.35rem 1.25rem;
  margin-bottom: 1rem;
  box-shadow: 0 8px 30px rgba(10, 10, 11, 0.04);
}

.section h3 {
  font-weight: 750;
  font-size: 1.2rem;
  letter-spacing: -0.02em;
  margin-bottom: 0.75rem;
}

.section p + p { margin-top: 0.7rem; }

.note {
  margin-top: 1rem;
  padding: 0.85rem 1rem;
  background: var(--blue-light);
  border-radius: 12px;
  color: #334;
  font-size: 0.95rem;
  font-weight: 550;
}

.warn {
  margin: 1rem 0;
  padding: 0.85rem 1rem;
  background: var(--gold-light);
  border-radius: 12px;
  color: #6b4a12;
  font-size: 0.95rem;
  font-weight: 600;
}

/* Facts */
.facts {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.65rem;
  margin: 0 0 1.25rem;
}

@media (min-width: 640px) {
  .facts { grid-template-columns: repeat(4, 1fr); }
}

.fact {
  background: var(--black);
  color: #fff;
  border-radius: 14px;
  padding: 1.1rem 0.9rem;
  min-height: 6.2rem;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.fact:nth-child(2) { background: var(--blue); }
.fact:nth-child(3) { background: var(--gold); color: #1a0a00; }
.fact:nth-child(4) { background: #17191f; }

.fact .v {
  font-weight: 800;
  font-size: clamp(1.8rem, 5vw, 2.2rem);
  letter-spacing: -0.04em;
  line-height: 1;
}

.fact .l {
  margin-top: 0.3rem;
  font-size: 0.72rem;
  font-weight: 750;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  opacity: 0.85;
}

/* Link cards */
.link-list {
  list-style: none;
  display: grid;
  gap: 0.65rem;
}

.link-list a {
  display: block;
  text-decoration: none;
  color: var(--ink);
  padding: 1.1rem 1.15rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 14px;
  transition: border-color 0.15s, transform 0.15s, box-shadow 0.15s;
}

.link-list a:hover {
  border-color: #d4c4a8;
  box-shadow: var(--shadow);
  transform: translateY(-2px);
  color: var(--ink);
}

.link-list strong {
  display: block;
  font-weight: 750;
  font-size: 1.08rem;
  letter-spacing: -0.02em;
  margin-bottom: 0.2rem;
}

.link-list span {
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 500;
}

/* Schedule */
.meta-line {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-bottom: 1.1rem;
}

.meta-line span {
  font-size: 0.78rem;
  font-weight: 750;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 0.45rem 0.75rem;
  border-radius: 999px;
  background: var(--blue-light);
  color: var(--blue-deep);
}

.cal-legend {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem 1rem;
  margin: 0 0 1.35rem;
  padding: 0;
  font-size: 0.82rem;
  font-weight: 650;
  color: var(--muted);
}

.cal-legend li {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.cal-legend .swatch {
  width: 0.7rem;
  height: 0.7rem;
  border-radius: 3px;
  flex-shrink: 0;
}

.cal-legend .swatch.venue-rba { background: var(--blue); }
.cal-legend .swatch.venue-diamond { background: #b45309; }
.cal-legend .swatch.venue-mell { background: #2a9d8f; }
.cal-legend .swatch.is-off { background: #c5c8ce; }
.cal-legend .swatch.is-awards { background: var(--gold); }

.cal-months {
  display: grid;
  gap: 1.75rem;
}

.cal-month h3 {
  font-weight: 750;
  font-size: 1.2rem;
  letter-spacing: -0.02em;
  margin-bottom: 0.7rem;
  display: flex;
  align-items: baseline;
  gap: 0.4rem;
}

.cal-month h3 span {
  font-family: Manrope, sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--muted);
  letter-spacing: 0.04em;
}

.cal-grid {
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
  background: var(--white);
}

.cal-dow {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  background: var(--bg);
  border-bottom: 1px solid var(--line);
}

.cal-dow span {
  padding: 0.55rem 0.25rem;
  text-align: center;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}

.cal-days {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
}

.cal-day {
  min-height: 4.6rem;
  padding: 0.4rem 0.35rem 0.45rem;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  background: var(--white);
}

.cal-day:nth-child(7n) { border-right: 0; }

.cal-days .cal-day:nth-last-child(-n + 7) { border-bottom: 0; }

.cal-day.is-empty {
  background: #fafafb;
  min-height: 4.6rem;
}

.cal-num {
  font-weight: 750;
  font-size: 0.82rem;
  letter-spacing: -0.02em;
  color: var(--muted);
  line-height: 1;
}

.cal-day.has-event .cal-num {
  color: var(--ink);
}

.cal-day.is-today {
  box-shadow: inset 0 0 0 2px var(--blue);
}

.cal-event {
  font-size: 0.72rem;
  font-weight: 750;
  line-height: 1.25;
  letter-spacing: -0.01em;
}

.cal-note {
  font-size: 0.65rem;
  font-weight: 600;
  color: var(--muted);
  line-height: 1.25;
}

.cal-day.venue-rba {
  background: var(--blue-light);
}

.cal-day.venue-rba .cal-event { color: var(--blue-deep); }

.cal-day.venue-diamond {
  background: #fff6eb;
}

.cal-day.venue-diamond .cal-event { color: #9a4a0a; }

.cal-day.venue-mell {
  background: #e8f6f4;
}

.cal-day.venue-mell .cal-event { color: #1a6f65; }

.cal-day.is-off {
  background: #f4f5f7;
}

.cal-day.is-off .cal-event {
  color: #9aa0a8;
  font-style: italic;
  font-weight: 650;
}

.cal-day.venue-split {
  background: linear-gradient(135deg, var(--gold-light) 50%, #e8f6f4 50%);
}

.cal-day.venue-split .cal-event {
  font-size: 0.65rem;
}

.cal-day.venue-split .cal-event:first-of-type { color: #9a4a0a; }
.cal-day.venue-split .cal-event:last-of-type { color: #1a6f65; }

.cal-day.is-awards {
  background: var(--gold-light);
}

.cal-day.is-awards .cal-event,
.cal-day.is-awards .cal-num {
  color: var(--gold);
}

.cal-day.is-awards .cal-note {
  color: var(--gold);
  font-weight: 750;
}

/* Noscript / print fallback table */
.schedule-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin: 0 -0.25rem;
  padding: 0 0.25rem;
}

.schedule {
  width: 100%;
  min-width: 320px;
  border-collapse: collapse;
  font-size: 0.96rem;
}

.schedule th,
.schedule td {
  text-align: left;
  padding: 0.85rem 0.55rem;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}

.schedule th {
  font-size: 0.7rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted);
  border-bottom: 2px solid var(--ink);
}

.schedule .date {
  font-weight: 750;
  font-size: 1.05rem;
  letter-spacing: -0.02em;
  white-space: nowrap;
}

.schedule .dow {
  display: block;
  font-family: Manrope, sans-serif;
  font-weight: 600;
  font-size: 0.75rem;
  color: var(--muted);
  margin-top: 0.15rem;
  letter-spacing: 0;
}

.schedule tr.off td {
  color: #9aa0a8;
  font-style: italic;
}

.schedule tr.awards td {
  background: var(--gold-light);
  font-weight: 700;
}

.schedule tr.awards .date { color: var(--gold); }

@media (max-width: 639px) {
  .cal-day {
    min-height: 3.6rem;
    padding: 0.3rem 0.2rem 0.35rem;
  }

  .cal-day.is-empty { min-height: 3.6rem; }

  .cal-dow span {
    font-size: 0.6rem;
    padding: 0.45rem 0.1rem;
  }

  .cal-num { font-size: 0.72rem; }

  .cal-event {
    font-size: 0.58rem;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
  }

  .cal-note { display: none; }
}

@media (min-width: 900px) {
  .cal-day {
    min-height: 5.4rem;
    padding: 0.5rem 0.45rem 0.55rem;
  }

  .cal-event { font-size: 0.78rem; }
  .cal-note { font-size: 0.7rem; }
}

/* Venues / contact */
.venues-map {
  height: min(52vw, 360px);
  min-height: 240px;
  border-radius: 14px;
  margin-bottom: 1.25rem;
  overflow: hidden;
  border: 1px solid var(--line);
  background: #e8ebf0;
  z-index: 0;
}

.venues-map .leaflet-container {
  font-family: "Manrope", system-ui, sans-serif;
  background: #e8ebf0;
}

.venues-map .leaflet-control-attribution {
  font-size: 0.65rem;
  background: rgba(255, 255, 255, 0.85);
}

.venue-marker {
  background: transparent;
  border: 0;
}

.venue-marker-dot {
  display: block;
  width: 18px;
  height: 18px;
  margin: 2px;
  border-radius: 50%;
  background: var(--blue);
  border: 2.5px solid #fff;
  box-shadow: 0 2px 8px rgba(10, 10, 11, 0.35);
}

.venues-map .leaflet-popup-content {
  margin: 0.65rem 0.85rem;
  font-size: 0.88rem;
  line-height: 1.4;
  color: var(--ink);
}

.venues-map .leaflet-popup-content strong {
  font-weight: 750;
  font-size: 1rem;
}

.venues-map .leaflet-popup-content a {
  font-weight: 750;
  text-decoration: none;
}

.venue-list,
.people {
  display: grid;
  gap: 1rem;
}

@media (min-width: 640px) {
  .people { grid-template-columns: 1fr 1fr; }
}

.venue,
.person {
  padding: 1rem;
  border-radius: 14px;
  background: var(--bg);
}

.venue h3,
.person h3 {
  font-weight: 750;
  font-size: 1.1rem;
  letter-spacing: -0.02em;
  margin-bottom: 0.3rem;
}

.venue p,
.person .role {
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 500;
}

.person .role { margin-bottom: 0.55rem; }

.venue a,
.person a {
  display: inline-block;
  margin-top: 0.45rem;
  font-weight: 750;
  text-decoration: none;
  font-size: 0.92rem;
}

.person a { display: block; margin-top: 0.25rem; }

/* Rules */
.tabs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.4rem;
  margin: 0.5rem 0 1rem;
}

.tab {
  font-family: inherit;
  font-size: 0.88rem;
  font-weight: 800;
  border: 1px solid var(--line);
  background: var(--bg);
  color: var(--muted);
  padding: 0.7rem 0.4rem;
  border-radius: 12px;
  cursor: pointer;
  min-height: 44px;
}

.tab[aria-selected="true"] {
  background: var(--black);
  border-color: var(--black);
  color: #fff;
}

.panel-rules { display: none; }
.panel-rules.active { display: block; }

.badge {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--blue-deep);
  margin-bottom: 0.65rem;
}

.rule-block ol,
.rule-block ul {
  margin: 0.5rem 0 0 1.15rem;
}

.rule-block li { margin: 0.4rem 0; }

.rule-block + .rule-block,
.section + .section { }

/* Schedule poster & scoresheet */
.schedule-poster {
  margin: 1.25rem 0 0;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--white);
}

.schedule-poster img {
  width: 100%;
  height: auto;
}

.schedule-poster figcaption {
  padding: 0.75rem 1rem;
  font-size: 0.88rem;
  color: var(--muted);
  font-weight: 550;
  border-top: 1px solid var(--line);
}

.scoresheet-preview {
  margin: 1.25rem 0;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--white);
  min-height: 480px;
}

.scoresheet-preview object,
.scoresheet-preview iframe {
  display: block;
  width: 100%;
  min-height: min(70vh, 720px);
  border: 0;
}

.scoresheet-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-bottom: 1rem;
}

.btn-gold {
  background: var(--gold);
  color: #1a0a00;
}

.btn-gold:hover { color: #1a0a00; }

/* Footer */
.site-footer {
  margin-top: 2rem;
  padding: 1.5rem 1.15rem;
  border-radius: var(--radius);
  background: var(--black);
  color: rgba(255, 255, 255, 0.65);
  text-align: center;
  font-size: 0.9rem;
}

.site-footer strong {
  display: block;
  font-weight: 750;
  color: #fff;
  font-size: 1.15rem;
  letter-spacing: -0.02em;
  margin-bottom: 0.3rem;
}

body.nav-open { overflow: hidden; }

@media (max-width: 819px) {
  .site-header.menu-open .nav {
    display: flex;
  }
}

@media print {
  .site-header, .nav-toggle { position: static; }
  .nav { display: flex !important; flex-direction: row; }
  .shot { box-shadow: none; }
}
