:root {
  color-scheme: light;
  --page: #f7f7f4;
  --surface: #ffffff;
  --ink: #191a18;
  --muted: #5f635c;
  --line: #d8ddd2;
  --soft-line: #ebeee6;
  --gold: #e4b72e;
  --gold-soft: #fff7dc;
  --blue: #2b6073;
  --shadow: 0 12px 30px rgba(25, 26, 24, 0.06);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--page);
  color: var(--ink);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.52;
  overflow-x: hidden;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: var(--blue);
}

.site-header,
.page-shell,
.site-footer {
  width: min(1280px, calc(100% - 48px));
  max-width: 100%;
  margin-inline: auto;
}

.page-shell {
  display: flex;
  flex-direction: column;
}

.site-header {
  display: grid;
  grid-template-columns: minmax(220px, 280px) minmax(0, 1fr);
  align-items: center;
  gap: 14px 24px;
  min-height: 0;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}

.brand {
  display: block;
  align-items: center;
  width: 280px;
  max-width: 100%;
  min-width: 0;
  color: var(--ink);
  font-weight: 750;
  text-decoration: none;
}

.brand-logo {
  width: 100%;
  height: auto;
  object-fit: contain;
  object-position: left center;
}

.header-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  justify-self: end;
  min-width: 0;
  gap: 10px 15px;
  color: var(--muted);
  font-size: 0.92rem;
}

.header-nav a {
  color: inherit;
  text-decoration: none;
}

.header-nav a:hover {
  color: var(--blue);
}

.header-email {
  max-width: 100%;
  color: var(--blue) !important;
  font-weight: 720;
  overflow-wrap: anywhere;
}

.intro {
  display: grid;
  grid-template-columns: minmax(240px, 0.42fr) minmax(0, 0.58fr);
  gap: 28px 44px;
  align-items: end;
  padding: 42px 0 26px;
  border-bottom: 1px solid var(--line);
}

.intro > * {
  min-width: 0;
}

.kicker {
  margin: 0 0 7px;
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 750;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
  overflow-wrap: anywhere;
}

h1 {
  margin-bottom: 0;
  font-size: clamp(1.85rem, 2.8vw, 2.45rem);
  font-weight: 780;
  letter-spacing: 0;
  line-height: 1.05;
}

h2 {
  margin-bottom: 0;
  font-size: clamp(1.26rem, 1.8vw, 1.58rem);
  font-weight: 760;
  letter-spacing: 0;
  line-height: 1.2;
}

h3 {
  margin-bottom: 8px;
  font-size: 1.12rem;
  font-weight: 760;
  letter-spacing: 0;
  line-height: 1.24;
}

.intro-text,
.availability-panel p,
.section-title-row p,
.venue-copy p,
.contact-band p {
  color: var(--muted);
}

.intro-text {
  max-width: 760px;
  margin-bottom: 0;
  font-size: 1rem;
}

.email-link {
  grid-column: 2;
  justify-self: start;
  max-width: 100%;
  color: var(--blue);
  font-size: 0.96rem;
  font-weight: 750;
  overflow-wrap: anywhere;
}

.intro-actions {
  grid-column: 2;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.intro-actions .email-link {
  grid-column: auto;
  margin-left: 4px;
}

.availability-panel,
.contact-band {
  display: grid;
  grid-template-columns: minmax(220px, 0.35fr) minmax(0, 1fr) auto;
  align-items: center;
  gap: 18px 26px;
  margin-top: 24px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  max-width: 100%;
}

.availability-panel > *,
.contact-band > * {
  min-width: 0;
}

.availability-panel p,
.contact-band p {
  margin-bottom: 0;
}

.action-row {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 10px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  border-radius: 6px;
  font-size: 0.92rem;
  font-weight: 740;
  padding: 0 15px;
  text-decoration: none;
  white-space: nowrap;
}

.primary-button,
.availability-panel .primary-button,
.contact-band .primary-button {
  background: var(--ink);
  color: #ffffff;
}

.secondary-button,
.availability-panel .secondary-button,
.contact-band .secondary-button {
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--ink);
}

.primary-button:hover,
.availability-panel .primary-button:hover,
.contact-band .primary-button:hover {
  background: var(--blue);
  color: #ffffff;
}

.secondary-button:hover,
.availability-panel .secondary-button:hover,
.contact-band .secondary-button:hover {
  border-color: var(--blue);
  color: var(--blue);
}

.enquire-button {
  justify-self: start;
  min-height: 36px;
  margin-top: 8px;
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--ink);
  font-size: 0.86rem;
  padding: 0 13px;
}

.enquire-button:hover {
  border-color: var(--blue);
  color: var(--blue);
}

.seat-card-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 8px;
}

.seat-card-actions .enquire-button {
  margin-top: 0;
}

.detail-actions {
  margin-top: 16px;
}

.section-block {
  padding-top: 52px;
}

.availability-section {
  padding-top: 52px;
}

.section-title-row {
  display: grid;
  grid-template-columns: minmax(180px, 0.26fr) minmax(0, 0.74fr);
  align-items: center;
  gap: 24px;
  margin-bottom: 22px;
  padding: 18px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--soft-line);
}

.section-title-row > * {
  min-width: 0;
}

.section-title-row p {
  max-width: 760px;
  margin-bottom: 0;
}

.section-heading {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.section-heading > div {
  min-width: 0;
}

.section-icon {
  position: relative;
  display: inline-grid;
  place-items: center;
  width: 38px;
  height: 38px;
  flex: 0 0 auto;
  border: 1px solid rgba(25, 26, 24, 0.1);
  border-radius: 8px;
  background: var(--gold-soft);
}

.section-icon::before,
.section-icon::after {
  content: "";
  position: absolute;
  display: block;
}

.section-icon.svg-icon {
  border-color: rgba(228, 183, 46, 0.44);
  background: #fffaf0;
  box-shadow:
    inset 0 -7px 0 rgba(228, 183, 46, 0.12),
    0 8px 18px rgba(25, 26, 24, 0.06);
}

.section-icon.svg-icon::before,
.section-icon.svg-icon::after {
  display: none;
}

.section-icon img {
  width: 30px;
  height: 30px;
}

.ticket-icon::before {
  width: 22px;
  height: 14px;
  border: 2px solid var(--ink);
  border-radius: 3px;
}

.ticket-icon::after {
  width: 2px;
  height: 18px;
  border-right: 2px dashed var(--ink);
  opacity: 0.45;
}

.calendar-icon::before {
  width: 21px;
  height: 20px;
  border: 2px solid var(--ink);
  border-radius: 4px;
}

.calendar-icon::after {
  top: 14px;
  width: 21px;
  height: 2px;
  background: var(--ink);
}

.media-icon::before {
  width: 22px;
  height: 15px;
  border: 2px solid var(--ink);
  border-radius: 4px;
}

.media-icon::after {
  left: 17px;
  width: 0;
  height: 0;
  border-top: 5px solid transparent;
  border-bottom: 5px solid transparent;
  border-left: 8px solid var(--ink);
}

.mail-icon::before {
  width: 23px;
  height: 16px;
  border: 2px solid var(--ink);
  border-radius: 4px;
}

.mail-icon::after {
  top: 14px;
  width: 17px;
  height: 17px;
  border-right: 2px solid var(--ink);
  border-bottom: 2px solid var(--ink);
  transform: rotate(45deg);
  transform-origin: center;
}

.football-icon::before {
  width: 25px;
  height: 15px;
  border-radius: 50%;
  background: var(--ink);
  transform: rotate(-18deg);
}

.football-icon::after {
  width: 13px;
  height: 2px;
  background: var(--gold);
  transform: rotate(-18deg);
}

.basketball-icon::before {
  width: 24px;
  height: 24px;
  border: 2px solid var(--ink);
  border-radius: 50%;
  background: var(--gold);
}

.basketball-icon::after {
  width: 2px;
  height: 22px;
  background: var(--ink);
  box-shadow: 7px 0 0 transparent;
}

.venue-grid,
.photo-grid,
.media-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 520px), 1fr));
  gap: 20px;
}

.schedule-grid {
  display: grid;
  gap: 20px;
}

.availability-card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 360px), 1fr));
  gap: 16px;
}

.availability-card {
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  overflow: hidden;
  padding: 0;
  box-shadow: var(--shadow);
}

.availability-card-image {
  width: 100%;
  height: clamp(170px, 18vw, 230px);
  border-bottom: 1px solid var(--soft-line);
  object-fit: cover;
  object-position: center;
}

.availability-card .venue-label,
.availability-card h3,
.availability-card p:not(.venue-label),
.availability-card .button {
  margin-right: 18px;
  margin-left: 18px;
}

.availability-card .venue-label {
  margin-top: 16px;
}

.availability-card p:not(.venue-label) {
  color: var(--muted);
  margin-bottom: 14px;
}

.availability-card .button {
  width: fit-content;
  margin-bottom: 18px;
}

.overview-grid,
.guide-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 360px), 1fr));
  gap: 18px;
}

.ticket-overview-card,
.guide-card,
.article-panel,
.source-note {
  position: relative;
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.card-media {
  position: relative;
}

.ticket-overview-card > img,
.card-media > img,
.guide-card > img,
.article-panel > img {
  width: 100%;
  height: clamp(180px, 18vw, 240px);
  object-fit: cover;
  object-position: center;
  border-bottom: 1px solid var(--soft-line);
}

.card-sport-icon,
.guide-icon {
  display: inline-grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border: 1px solid rgba(228, 183, 46, 0.44);
  border-radius: 8px;
  background: #fffaf0;
  box-shadow:
    inset 0 -8px 0 rgba(228, 183, 46, 0.12),
    0 10px 22px rgba(25, 26, 24, 0.12);
}

.card-sport-icon {
  position: absolute;
  right: 16px;
  bottom: -24px;
}

.card-sport-icon img,
.guide-icon img {
  width: 34px;
  height: 34px;
}

.guide-card-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}

.ticket-card-body,
.guide-card,
.article-panel,
.source-note {
  padding: 18px;
}

.ticket-card-body {
  padding: 30px 18px 18px;
}

.ticket-card-body p,
.guide-card p,
.article-panel p,
.source-note p {
  color: var(--muted);
}

.quick-facts,
.feature-list {
  display: grid;
  gap: 9px;
  margin: 16px 0 0;
  padding: 0;
  list-style: none;
}

.quick-facts li,
.feature-list li {
  position: relative;
  padding-left: 21px;
  color: var(--muted);
}

.quick-facts li::before,
.feature-list li::before {
  content: "";
  position: absolute;
  top: 0.68em;
  left: 0;
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--gold);
  transform: translateY(-50%);
}

.card-actions,
.page-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.text-link {
  color: var(--blue);
  font-weight: 740;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.content-section {
  padding-top: 52px;
}

.content-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.62fr) minmax(280px, 0.38fr);
  gap: 20px;
  align-items: start;
}

.article-copy {
  min-width: 0;
  font-size: 1rem;
}

.article-copy p,
.article-copy li {
  color: var(--muted);
}

.article-copy h2,
.article-copy h3 {
  margin-top: 30px;
  margin-bottom: 10px;
  color: var(--ink);
}

.article-copy h2:first-child,
.article-copy h3:first-child {
  margin-top: 0;
}

.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 24px 0 0;
  color: var(--muted);
  font-size: 0.85rem;
}

.breadcrumbs a {
  color: var(--muted);
}

.source-note {
  margin-top: 20px;
  font-size: 0.92rem;
}

.availability-hero-image {
  margin: 24px 0 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  overflow: hidden;
}

.availability-hero-image a {
  display: block;
  color: inherit;
}

.availability-hero-image img {
  width: 100%;
  height: clamp(220px, 32vw, 420px);
  object-fit: cover;
  object-position: center;
}

.football-image {
  object-position: center 48%;
}

.basketball-image {
  object-position: center 42%;
}

.availability-hero-image.football-image img {
  object-position: center 48%;
}

.availability-hero-image.basketball-image img {
  object-position: center 42%;
}

.schedule-card {
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.schedule-card-header {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
  padding: 18px 18px 12px;
  border-bottom: 1px solid var(--soft-line);
  background: linear-gradient(180deg, #ffffff 0%, #fafbf7 100%);
}

.schedule-card-header > * {
  min-width: 0;
}

.schedule-card-header h2,
.schedule-card-header h3 {
  margin-bottom: 0;
}

.schedule-meta {
  color: var(--muted);
  font-size: 0.82rem;
  white-space: nowrap;
}

.availability-scroll {
  position: relative;
  overflow-x: auto;
}

.availability-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  min-width: 760px;
}

.football-table {
  min-width: 1120px;
  table-layout: fixed;
}

.basketball-table {
  min-width: 620px;
  table-layout: fixed;
}

.availability-table caption {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
}

.availability-table th,
.availability-table td {
  padding: 11px 12px;
  border-bottom: 1px solid var(--soft-line);
  text-align: left;
  vertical-align: middle;
}

.availability-table td {
  white-space: nowrap;
}

.availability-table thead th {
  background: #f4f6ef;
  color: var(--ink);
  font-size: 0.82rem;
  font-weight: 760;
}

.availability-table thead span {
  display: block;
  margin-top: 2px;
  color: var(--muted);
  font-size: 0.74rem;
  font-weight: 650;
  line-height: 1.25;
}

.table-view-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  min-height: 28px;
  margin-top: 7px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--surface);
  color: var(--blue);
  font-size: 0.72rem;
  font-weight: 760;
  line-height: 1;
  padding: 0 9px;
  text-decoration: none;
  white-space: nowrap;
}

.table-view-link:hover {
  border-color: var(--blue);
  color: var(--blue);
}

.availability-table tbody th {
  width: 240px;
  background: #fbfcfa;
  font-weight: 720;
  white-space: normal;
}

.football-table thead th:first-child,
.football-table tbody th {
  width: 270px;
  min-width: 270px;
  max-width: 270px;
}

.football-table th:not(:first-child),
.football-table td:not(:first-child) {
  width: 212px;
}

.basketball-table thead th:first-child,
.basketball-table tbody th {
  width: 270px;
  min-width: 270px;
  max-width: 270px;
}

.basketball-table th:not(:first-child),
.basketball-table td:not(:first-child) {
  width: 260px;
}

.availability-table thead th:first-child,
.availability-table tbody th {
  position: sticky;
  left: 0;
  box-shadow: 1px 0 0 var(--soft-line);
}

.availability-table thead th:first-child {
  z-index: 5;
  background: #f4f6ef;
}

.availability-table tbody th {
  z-index: 4;
}

.game-date,
.game-time {
  display: inline-block;
  margin-right: 8px;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 740;
}

.opponent-line {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 5px;
  color: var(--ink);
}

.team-badge {
  display: inline-grid;
  place-items: center;
  width: 38px;
  height: 28px;
  flex: 0 0 auto;
  border: 1px solid var(--team-border, var(--team-bg, var(--ink)));
  border-radius: 4px;
  background: var(--team-bg, var(--ink));
  color: var(--team-fg, var(--gold));
  font-size: 0.68rem;
  font-weight: 820;
}

.status-link,
.status-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  border-radius: 6px;
  padding: 0 12px;
  font-size: 0.82rem;
  font-weight: 760;
  white-space: nowrap;
}

.status-link {
  background: var(--ink);
  color: #ffffff;
  text-decoration: none;
}

.status-link:hover {
  background: var(--blue);
  color: #ffffff;
}

.map-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--surface);
  color: var(--ink);
  font-size: 0.82rem;
  font-weight: 760;
  padding: 0 12px;
  text-decoration: none;
  white-space: nowrap;
}

.availability-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  border: 1px solid rgba(228, 183, 46, 0.82);
  border-radius: 6px;
  background: #fff7dc;
  color: var(--ink);
  font-size: 0.82rem;
  font-weight: 760;
  padding: 0 12px;
  text-decoration: none;
  white-space: nowrap;
}

.availability-table .map-link {
  margin-left: 6px;
}

.availability-table .status-link,
.availability-table .status-pill,
.availability-table .map-link {
  min-height: 32px;
  padding: 0 10px;
  font-size: 0.78rem;
  line-height: 1;
}

.map-link:hover,
.availability-link:hover {
  border-color: var(--blue);
  color: var(--blue);
}

.highlight-note {
  margin: 0;
  padding: 10px 18px;
  border-bottom: 1px solid rgba(228, 183, 46, 0.45);
  background: #fff7dc;
  color: var(--ink);
  font-size: 0.9rem;
  font-weight: 720;
}

.availability-table .is-highlighted-seat {
  background: #fff9e6;
  box-shadow: inset 0 0 0 2px rgba(228, 183, 46, 0.46);
}

.availability-table thead .is-highlighted-seat {
  background: #ffe8a1;
}

.status-pill.sold {
  border: 1px solid #dadada;
  background: #f2f2ef;
  color: #74766f;
}

.status-pill.unavailable {
  border: 1px solid var(--soft-line);
  background: #fbfcfa;
  color: var(--muted);
}

.venue-panel {
  display: flex;
  flex-direction: column;
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.venue-copy {
  padding: 18px 18px 14px;
}

.venue-label,
.map-figure figcaption,
.photo-placeholder figcaption,
.site-footer {
  color: var(--muted);
}

.venue-label {
  margin-bottom: 8px;
  font-size: 0.8rem;
  font-weight: 750;
  text-transform: uppercase;
}

.venue-copy p {
  margin-bottom: 0;
}

.seat-details,
.seat-card-list {
  margin: 16px 0 0;
}

.seat-details {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(96px, 1fr));
  gap: 10px;
}

.seat-details div,
.seat-card {
  min-width: 0;
  border: 1px solid var(--soft-line);
  border-radius: 6px;
  background: #fafbf7;
  padding: 10px;
}

.seat-details .wide-detail {
  grid-column: span 2;
}

.seat-details dt {
  margin-bottom: 3px;
  color: var(--muted);
  font-size: 0.75rem;
  font-weight: 750;
  text-transform: uppercase;
}

.seat-details dd {
  margin: 0;
  color: var(--ink);
  font-weight: 720;
}

.seat-card-list {
  display: grid;
  gap: 10px;
}

.seat-card {
  display: grid;
  gap: 3px;
}

.seat-card strong {
  color: var(--ink);
  font-size: 0.94rem;
}

.seat-card span {
  color: var(--ink);
  font-weight: 720;
  overflow-wrap: anywhere;
}

.seat-card small {
  color: var(--muted);
  font-size: 0.85rem;
  line-height: 1.4;
}

.premium-seat {
  border-color: rgba(228, 183, 46, 0.7);
  background: #fffaf0;
}

.map-figure,
.photo-placeholder,
.media-panel {
  margin: 0;
}

.map-figure {
  padding: 0 18px 18px;
}

.map-figure img {
  width: 100%;
  border: 1px solid var(--soft-line);
  border-radius: 6px;
  background: #fbfcfa;
}

.map-figure figcaption {
  margin-top: 8px;
  font-size: 0.84rem;
}

.map-key {
  margin-top: 12px;
  border: 1px solid var(--soft-line);
  border-radius: 6px;
  background: #fafbf7;
  padding: 12px;
}

.map-key-title {
  margin: 0 0 9px;
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 780;
  text-transform: uppercase;
}

.map-key-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 185px), 1fr));
  gap: 8px;
}

.map-key-item {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: start;
  gap: 8px;
  min-width: 0;
  border: 1px solid rgba(25, 26, 24, 0.08);
  border-radius: 6px;
  background: #ffffff;
  padding: 8px;
}

.map-key-marker {
  display: inline-grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border: 2px solid var(--ink);
  border-radius: 999px;
  background: #ee2b17;
  color: #ffffff;
  font-size: 0.78rem;
  font-weight: 820;
  line-height: 1;
}

.map-key-copy {
  min-width: 0;
}

.map-key-copy strong,
.map-key-copy span {
  display: block;
}

.map-key-copy strong {
  font-size: 0.86rem;
  line-height: 1.25;
}

.map-key-copy span {
  margin-top: 2px;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 650;
  line-height: 1.3;
}

.photo-placeholder {
  min-height: 170px;
  display: grid;
  align-content: end;
  gap: 8px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(228, 183, 46, 0.24), rgba(255, 255, 255, 0.78)),
    repeating-linear-gradient(90deg, #eef1ea 0 20px, #fafaf6 20px 40px);
  padding: 18px;
}

.photo-placeholder span {
  font-size: 1rem;
  font-weight: 740;
}

.photo-placeholder figcaption {
  font-size: 0.9rem;
}

.media-panel {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.media-grid.football-media-grid {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr));
}

.football-media-grid .video-panel {
  grid-column: span 2;
}

.media-panel video {
  width: 100%;
  height: clamp(320px, 48vw, 560px);
  display: block;
  object-fit: contain;
  background: #111;
}

.photo-panel img {
  width: 100%;
  height: clamp(220px, 24vw, 340px);
  display: block;
  object-fit: cover;
  object-position: center;
  background: #111;
}

.featured-photo {
  grid-column: span 2;
}

.featured-photo img {
  height: clamp(260px, 34vw, 460px);
}

.portrait-photo img {
  object-position: center 36%;
}

.gallery-image-link {
  display: block;
  color: inherit;
  text-decoration: none;
}

.gallery-image-link:focus-visible,
.availability-hero-image a:focus-visible {
  outline: 3px solid rgba(228, 183, 46, 0.9);
  outline-offset: -3px;
}

.media-panel figcaption {
  color: var(--muted);
  font-size: 0.9rem;
  padding: 12px 14px 14px;
}

.contact-band {
  margin: 52px 0 0;
}

.site-footer {
  display: grid;
  grid-template-columns: minmax(140px, auto) minmax(0, 1fr);
  align-items: start;
  gap: 18px 28px;
  border-top: 1px solid var(--line);
  padding: 24px 0 34px;
  font-size: 0.88rem;
}

.site-footer p {
  margin: 0;
}

.footer-brand {
  color: var(--ink);
  font-weight: 740;
}

.footer-legal {
  display: grid;
  justify-self: end;
  max-width: 860px;
  gap: 6px;
  color: var(--muted);
  font-size: 0.72rem;
  line-height: 1.42;
  text-align: right;
}

.not-found {
  width: min(720px, calc(100% - 40px));
  margin: 0 auto;
  padding: 15vh 0;
}

.not-found .brand {
  margin-bottom: 44px;
}

.not-found h1 {
  max-width: 100%;
  margin-bottom: 16px;
}

@media (max-width: 900px) {
  body {
    padding-bottom: calc(78px + env(safe-area-inset-bottom));
  }

  .site-footer {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .footer-legal {
    justify-self: start;
    text-align: left;
  }

  .site-header {
    grid-template-columns: 1fr;
    align-items: start;
    gap: 11px;
  }

  .brand {
    width: 250px;
  }

  .header-nav {
    position: fixed;
    left: 50%;
    bottom: calc(14px + env(safe-area-inset-bottom));
    z-index: 50;
    width: min(calc(100% - 28px), 560px);
    justify-content: flex-start;
    justify-self: auto;
    flex-wrap: nowrap;
    gap: 4px;
    padding: 8px;
    border: 1px solid rgba(25, 26, 24, 0.14);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.94);
    box-shadow: 0 14px 36px rgba(25, 26, 24, 0.16);
    overflow-x: auto;
    scrollbar-width: none;
    transform: translateX(-50%);
    -webkit-overflow-scrolling: touch;
    backdrop-filter: blur(14px);
  }

  .header-nav::-webkit-scrollbar {
    display: none;
  }

  .header-nav a {
    flex: 0 0 auto;
    padding: 8px 12px;
    border-radius: 999px;
    color: var(--ink);
    font-size: 0.86rem;
    font-weight: 730;
    line-height: 1;
    white-space: nowrap;
  }

  .header-email {
    flex-basis: 100%;
  }

  .intro,
  .section-title-row {
    grid-template-columns: 1fr;
  }

  .intro-actions {
    grid-column: auto;
  }

  .schedule-card-header {
    align-items: flex-start;
    flex-direction: column;
  }

  .schedule-meta {
    white-space: normal;
  }

  .availability-panel,
  .contact-band {
    display: block;
  }

  .availability-panel > * + *,
  .contact-band > * + * {
    margin-top: 16px;
  }

  .email-link {
    grid-column: auto;
  }

  .content-grid {
    grid-template-columns: 1fr;
  }

  .action-row {
    justify-content: flex-start;
  }
}

@media (max-width: 560px) {
  .site-header,
  .page-shell,
  .site-footer {
    width: calc(100% - 40px);
  }

  .site-header {
    gap: 14px;
  }

  .brand {
    width: 220px;
    max-width: 100%;
    min-width: 0;
  }

  .header-nav {
    bottom: calc(12px + env(safe-area-inset-bottom));
    width: min(calc(100% - 20px), 430px);
    gap: 4px;
    padding: 7px;
  }

  .header-nav a {
    padding: 8px 10px;
    font-size: 0.81rem;
  }

  .intro {
    gap: 16px;
    padding: 30px 0 22px;
  }

  .availability-panel,
  .contact-band {
    padding: 18px;
  }

  .availability-panel h2,
  .contact-band h2,
  .section-title-row p,
  .venue-copy p,
  .seat-card small {
    max-width: 100%;
  }

  .availability-panel h2 {
    max-width: 290px;
  }

  .section-block {
    padding-top: 34px;
  }

  h1 {
    font-size: clamp(1.72rem, 9vw, 2.14rem);
  }

  h2 {
    font-size: 1.28rem;
  }

  h3 {
    font-size: 1.04rem;
  }

  .section-title-row {
    gap: 14px;
    padding: 16px 0;
  }

  .section-heading {
    align-items: flex-start;
    gap: 10px;
  }

  .section-icon {
    width: 34px;
    height: 34px;
  }

  .button,
  .action-row,
  .intro-actions {
    width: 100%;
  }

  .intro-actions .email-link {
    width: 100%;
    margin-left: 0;
  }

  .card-actions,
  .page-links {
    width: 100%;
  }

  .status-link,
  .status-pill,
  .map-link,
  .availability-link {
    width: 100%;
  }

  .availability-table .map-link {
    margin-top: 6px;
    margin-left: 0;
  }

  .availability-table th,
  .availability-table td {
    padding: 10px 9px;
  }

  .availability-table thead th:first-child,
  .availability-table tbody th {
    width: 150px;
    min-width: 150px;
    max-width: 150px;
  }

  .football-table {
    min-width: 910px;
  }

  .basketball-table {
    min-width: 340px;
  }

  .football-table th:not(:first-child),
  .football-table td:not(:first-child),
  .basketball-table th:not(:first-child),
  .basketball-table td:not(:first-child) {
    width: 190px;
    min-width: 190px;
    max-width: 190px;
  }

  .availability-table.has-seat-highlight,
  .football-table.has-seat-highlight,
  .basketball-table.has-seat-highlight {
    width: 100%;
    min-width: 0;
  }

  .availability-table.has-seat-highlight thead,
  .availability-table.has-seat-highlight tbody {
    display: block;
  }

  .availability-table.has-seat-highlight thead tr,
  .availability-table.has-seat-highlight tbody tr {
    display: grid;
    grid-template-columns: minmax(150px, 0.95fr) minmax(156px, 1fr);
  }

  .availability-table.has-seat-highlight th,
  .availability-table.has-seat-highlight td,
  .availability-table.has-seat-highlight th:not(:first-child),
  .availability-table.has-seat-highlight td:not(:first-child) {
    display: block;
    width: auto;
    min-width: 0;
    max-width: none;
    white-space: normal;
  }

  .availability-table.has-seat-highlight .status-link,
  .availability-table.has-seat-highlight .status-pill,
  .availability-table.has-seat-highlight .map-link {
    min-height: 36px;
    font-size: 0.84rem;
  }

  .availability-table.has-seat-highlight thead th:first-child,
  .availability-table.has-seat-highlight tbody th {
    position: static;
    left: auto;
    width: auto;
    min-width: 0;
    max-width: none;
    box-shadow: none;
  }

  .availability-table.has-seat-highlight th.is-hidden-seat-column,
  .availability-table.has-seat-highlight td.is-hidden-seat-column,
  .availability-table.has-seat-highlight th:not(:first-child).is-hidden-seat-column,
  .availability-table.has-seat-highlight td:not(:first-child).is-hidden-seat-column {
    display: none;
  }

  .availability-table.has-seat-highlight .is-highlighted-seat {
    box-shadow: inset 0 0 0 2px rgba(228, 183, 46, 0.55);
  }

  .game-date,
  .game-time {
    display: block;
    margin-right: 0;
  }

  .game-time {
    margin-top: 2px;
  }

  .opponent-line {
    align-items: flex-start;
    gap: 7px;
    font-size: 0.95rem;
    line-height: 1.22;
  }

  .team-badge {
    width: 36px;
    height: 30px;
  }

  .seat-details {
    grid-template-columns: 1fr;
  }

  .seat-details .wide-detail {
    grid-column: auto;
  }

  .football-media-grid .video-panel,
  .featured-photo {
    grid-column: auto;
  }
}
