:root {
  --bg: #fdfbf7;
  --ink: #22252a;
  --ink-soft: rgba(34, 37, 42, 0.68);
  --teal: #114b5f;
  --coral: #f26457;
  --sage: #b3c0a4;
  --lavender: #c4b7cb;
  --footer: #12232b;
  --border: rgba(34, 37, 42, 0.09);
  --shadow: 0 38px 80px -48px rgba(17, 75, 95, 0.34);
  --shadow-soft: 0 18px 35px -28px rgba(34, 37, 42, 0.2);
  --container: 1320px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--ink);
  font-family: "Manrope", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  background:
    radial-gradient(circle at 10% 12%, rgba(242, 100, 87, 0.08), transparent 24%),
    radial-gradient(circle at 86% 10%, rgba(17, 75, 95, 0.1), transparent 24%),
    radial-gradient(circle at 50% 112%, rgba(196, 183, 203, 0.16), transparent 32%),
    var(--bg);
  position: relative;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 84px 84px;
  opacity: 0.24;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.18), rgba(0, 0, 0, 0.02));
  z-index: -1;
}

a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
textarea { resize: vertical; }
img { display: block; max-width: 100%; }

.container {
  width: min(var(--container), calc(100% - 2rem));
  margin: 0 auto;
}

.section { padding: 5rem 0; }
.section-alt {
  background: linear-gradient(180deg, rgba(229, 235, 221, 0.28), rgba(253, 251, 247, 0.86));
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(22px) saturate(120%);
  background: rgba(253, 251, 247, 0.68);
  border-bottom: 1px solid rgba(34, 37, 42, 0.07);
  box-shadow: 0 8px 30px rgba(34, 37, 42, 0.04);
}

body.home-lite .strip,
body.home-lite .preview-section,
body.home-lite .featured-section,
body.home-lite #leaderboard,
body.home-lite #admin {
  display: none;
}

.header-inner {
  min-height: 96px;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.brand {
  display: flex;
  align-items: baseline;
  gap: 0.55rem;
  white-space: nowrap;
}

.brand-logo-link {
  align-items: center;
  flex: 0 0 auto;
}

.brand-logo {
  width: auto;
  height: clamp(48px, 5vw, 64px);
  max-height: 64px;
  object-fit: contain;
  transition: transform 300ms ease;
}

.brand-logo-link:hover .brand-logo {
  transform: scale(1.02);
}

.brand-main,
.brand-sub,
h1,
h2,
h3,
.eyebrow span {
  font-family: "Cormorant Garamond", Georgia, serif;
}

.brand-main {
  font-size: clamp(1.55rem, 1.6vw, 1.9rem);
  line-height: 1;
  letter-spacing: -0.035em;
}

.brand-sub {
  font-size: clamp(1.08rem, 1.2vw, 1.28rem);
  line-height: 1;
  color: var(--teal);
  font-style: italic;
}

.nav {
  display: flex;
  align-items: center;
  gap: clamp(0.48rem, 0.82vw, 1rem);
  margin-left: auto;
  min-width: 0;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.nav a {
  font-size: clamp(0.62rem, 0.62vw, 0.74rem);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(34, 37, 42, 0.72);
  position: relative;
}

.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.3rem;
  width: 100%;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 180ms ease;
}

.nav a:hover::after { transform: scaleX(1); }

.menu-button {
  display: none;
  width: 44px;
  height: 44px;
  border-radius: 999px;
  border: 1px solid rgba(34, 37, 42, 0.14);
  background: transparent;
  padding: 0;
  align-items: center;
  justify-content: center;
  gap: 0.2rem;
  flex-direction: column;
}

.menu-button span {
  display: block;
  width: 16px;
  height: 1.5px;
  background: var(--ink);
  border-radius: 999px;
}

.mobile-nav {
  display: none;
  border-top: 1px solid rgba(34, 37, 42, 0.08);
  padding: 1rem 1rem 1.25rem;
  background: rgba(253, 251, 247, 0.96);
}

.mobile-nav a { display: block; padding: 0.8rem 0; }

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  min-height: 48px;
  padding: 0.86rem 1.35rem;
  border-radius: 999px;
  border: 1px solid transparent;
  transition: transform 180ms ease, background 180ms ease, color 180ms ease, border-color 180ms ease, box-shadow 180ms ease, opacity 180ms ease;
}

.nav-cta {
  min-height: 40px;
  padding: 0.66rem 0.98rem;
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  white-space: nowrap;
}

.button:hover { transform: translateY(-2px); }

.button-primary {
  background: linear-gradient(180deg, #f46d62, #ea5447);
  color: white;
  box-shadow: 0 18px 28px -18px rgba(242, 100, 87, 0.7);
}

.button-primary:hover { opacity: 0.96; }

.button-secondary {
  background: rgba(253, 251, 247, 0.72);
  border-color: rgba(34, 37, 42, 0.12);
  color: var(--ink);
  backdrop-filter: blur(10px);
}

.button-secondary:hover {
  background: rgba(17, 75, 95, 0.92);
  color: var(--bg);
  border-color: rgba(17, 75, 95, 0.92);
}

.button-deep {
  background: linear-gradient(180deg, #114b5f, #0d3e4f);
  color: #fdfbf7;
  box-shadow: 0 18px 28px -18px rgba(17, 75, 95, 0.48);
}

.button-deep:hover {
  background: linear-gradient(180deg, #136079, #114b5f);
  color: #fdfbf7;
}

.event-home-hero {
  width: 100%;
  overflow: hidden;
  background: #050505;
}

.event-home-hero picture {
  display: block;
}

.event-home-hero-image {
  width: 100%;
  height: auto;
  opacity: 0;
  animation: hero-image-fade 900ms ease-out 120ms forwards;
}

.homepage-intro {
  padding: 4.2rem 0 2.2rem;
}

.homepage-intro-inner {
  max-width: 880px;
  text-align: center;
}

.homepage-intro h1 {
  font-size: clamp(2.35rem, 4.2vw, 4.2rem);
  line-height: 0.98;
  margin-bottom: 1.25rem;
}

.homepage-intro p:not(.eyebrow) {
  margin: 0.9rem auto 0;
  width: min(100%, 760px);
  color: var(--ink-soft);
  font-size: 1.02rem;
  line-height: 1.82;
  text-align: justify;
  text-align-last: left;
  hyphens: auto;
}

.homepage-intro p:not(.eyebrow):last-child {
  font-size: 1.12rem;
}

@keyframes hero-image-fade {
  from {
    opacity: 0;
    transform: scale(1.012);
  }

  to {
    opacity: 1;
    transform: scale(1);
  }
}

.hero {
  padding-top: 4.5rem;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 3rem;
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  font-size: 0.72rem;
  color: rgba(17, 75, 95, 0.82);
  margin-bottom: 1.1rem;
}

.eyebrow-tight { margin-bottom: 0.8rem; }

.role-pill {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  padding: 0.4rem 0.72rem;
  border-radius: 999px;
  border: 1px solid rgba(34, 37, 42, 0.08);
  background: rgba(17, 75, 95, 0.08);
  color: var(--teal);
  font-size: 0.64rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-bottom: 0.95rem;
}

.role-pill.role-admin {
  background: rgba(17, 75, 95, 0.12);
  color: var(--teal);
}

.role-pill.role-ops {
  background: rgba(242, 100, 87, 0.12);
  color: var(--coral);
}

.role-pill.role-volunteer {
  background: rgba(179, 192, 164, 0.22);
  color: #55624f;
}

.role-pill.role-muted {
  background: rgba(34, 37, 42, 0.06);
  color: rgba(34, 37, 42, 0.62);
}

.line {
  width: 42px;
  height: 1px;
  background: rgba(17, 75, 95, 0.6);
}

h1 {
  font-size: clamp(2.8rem, 5vw, 4.7rem);
  line-height: 0.94;
  letter-spacing: -0.05em;
  margin: 0;
}

h1 span {
  display: block;
  color: var(--teal);
  font-style: normal;
  font-weight: 400;
}

.lead,
.section-heading p,
.admin-grid p,
.leaderboard-copy p {
  color: var(--ink-soft);
  font-size: 1rem;
  line-height: 1.8;
  max-width: 52ch;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 2rem;
}

.hero-mini-line,
.status-pill {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0.42rem 0.8rem;
  border-radius: 999px;
  background: rgba(253, 251, 247, 0.86);
  border: 1px solid rgba(34, 37, 42, 0.08);
  font-size: 0.73rem;
  letter-spacing: 0.03em;
  box-shadow: 0 10px 22px -18px rgba(34, 37, 42, 0.22);
}

.hero-mini-line {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-top: 1.4rem;
  width: fit-content;
  background: rgba(253, 251, 247, 0.76);
}

.hero-mini-line span,
.hero-mini-stats span,
.hero-caption span {
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: rgba(45, 38, 33, 0.74);
}

.hero-visual {
  display: grid;
  gap: 0.9rem;
}

.hero-poster {
  position: relative;
  min-height: 540px;
  border-radius: 2.1rem;
  overflow: hidden;
  border: 1px solid rgba(34, 37, 42, 0.08);
  box-shadow: 0 34px 70px -50px rgba(17, 75, 95, 0.45);
  background: #e5d7c9;
  transform: translateY(0);
  animation: float-slow 9s ease-in-out infinite;
}

.hero-poster img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  transform: scale(1.02);
  transition: transform 600ms ease;
}

.hero-poster:hover img {
  transform: scale(1.05);
}

.hero-poster::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(17, 75, 95, 0.06), rgba(17, 75, 95, 0.34)),
    linear-gradient(120deg, rgba(17, 75, 95, 0.22), transparent 36%);
}

.hero-poster-overlay {
  position: absolute;
  left: 1.1rem;
  right: 1.1rem;
  bottom: 1.1rem;
  z-index: 2;
  color: #fdfbf7;
  display: grid;
  gap: 0.55rem;
}

.hero-poster-kicker,
.hero-poster-badge {
  display: inline-flex;
  align-items: center;
  padding: 0.42rem 0.72rem;
  border-radius: 999px;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 0.66rem;
}

.hero-poster-kicker {
  margin-bottom: 0.55rem;
  background: rgba(253, 251, 247, 0.12);
  backdrop-filter: blur(12px);
}

.hero-poster-overlay h3 {
  margin: 0;
  font-size: clamp(2.1rem, 4vw, 3.2rem);
  line-height: 0.95;
}

.hero-poster-overlay p {
  margin: 0.5rem 0 0;
  color: rgba(253, 251, 247, 0.84);
  font-size: 0.95rem;
}

.hero-mini-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.hero-mini-stats span {
  padding: 0.35rem 0.62rem;
  border-radius: 999px;
  background: rgba(253, 251, 247, 0.12);
  color: rgba(253, 251, 247, 0.9);
}

.hero-poster-badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  z-index: 2;
  background: rgba(253, 251, 247, 0.88);
  color: var(--ink);
  box-shadow: 0 16px 28px -22px rgba(34, 37, 42, 0.32);
}

.hero-caption {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  flex-wrap: wrap;
  padding: 0.95rem 0.1rem 0;
  color: rgba(34, 37, 42, 0.72);
}

.hero-caption .status-pill {
  background: rgba(253, 251, 247, 0.94);
  border-color: rgba(34, 37, 42, 0.09);
  color: var(--ink);
}

.status-open {
  background: rgba(242, 100, 87, 0.14);
  border-color: rgba(242, 100, 87, 0.24);
  color: var(--coral);
}

.strip {
  padding-top: 1.2rem;
  padding-bottom: 1.2rem;
}

.strip-inner {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  padding: 1rem 0;
  border-top: 1px solid rgba(34, 37, 42, 0.08);
  border-bottom: 1px solid rgba(34, 37, 42, 0.08);
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 0.74rem;
  color: rgba(34, 37, 42, 0.55);
}

.featured-section {
  padding-top: 1rem;
}

.preview-section {
  padding-top: 1rem;
}

.preview-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.2rem;
}

.filter-rail {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-bottom: 1rem;
}

.filter-chip {
  min-height: 40px;
  padding: 0.55rem 0.95rem;
  border-radius: 999px;
  border: 1px solid rgba(34, 37, 42, 0.1);
  background: rgba(253, 251, 247, 0.92);
  color: rgba(34, 37, 42, 0.78);
  font-size: 0.74rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  cursor: pointer;
  transition: transform 180ms ease, background 180ms ease, color 180ms ease, border-color 180ms ease;
}

.filter-chip:hover {
  transform: translateY(-1px);
  border-color: rgba(17, 75, 95, 0.24);
}

.filter-chip.is-active {
  background: linear-gradient(180deg, rgba(17, 75, 95, 0.94), rgba(17, 75, 95, 0.86));
  color: #fdfbf7;
  border-color: rgba(17, 75, 95, 0.24);
}

.featured-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.featured-card {
  position: relative;
  min-height: 360px;
  border-radius: 1.8rem;
  overflow: hidden;
  border: 1px solid rgba(28, 30, 33, 0.08);
  box-shadow: 0 28px 60px -42px rgba(17, 75, 95, 0.6);
  background: #ddd;
  animation: fade-up 720ms ease both;
  animation-delay: var(--delay, 0ms);
}

.featured-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.featured-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(17, 75, 95, 0.08), rgba(17, 75, 95, 0.62)),
    linear-gradient(140deg, rgba(17, 75, 95, 0.22), transparent 42%);
}

.featured-badges {
  position: absolute;
  top: 0.95rem;
  left: 0.95rem;
  right: 0.95rem;
  z-index: 2;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
}

.featured-badges span {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0.4rem 0.7rem;
  border-radius: 999px;
  background: rgba(253, 251, 247, 0.92);
  color: var(--ink);
  font-size: 0.64rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.featured-badges span:last-child {
  background: rgba(242, 100, 87, 0.92);
  color: #fdfbf7;
}

.featured-overlay {
  position: absolute;
  inset: auto 1rem 1rem;
  z-index: 2;
  color: #fdfbf7;
  display: grid;
  gap: 0.45rem;
}

.featured-kicker {
  display: inline-flex;
  width: fit-content;
  padding: 0.4rem 0.68rem;
  border-radius: 999px;
  background: rgba(253, 251, 247, 0.12);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-size: 0.66rem;
}

.featured-overlay h3 {
  margin: 0;
  font-size: 1.95rem;
  line-height: 0.98;
  letter-spacing: -0.04em;
}

.featured-overlay p {
  margin: 0;
  color: rgba(253, 251, 247, 0.82);
  font-size: 0.92rem;
}

.featured-select {
  position: absolute;
  right: 1rem;
  top: 1rem;
  z-index: 2;
  min-height: 40px;
  padding: 0.55rem 0.95rem;
  border-radius: 999px;
  border: 1px solid rgba(253, 251, 247, 0.2);
  background: rgba(253, 251, 247, 0.9);
  color: var(--ink);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  cursor: pointer;
  box-shadow: 0 14px 26px -22px rgba(17, 75, 95, 0.6);
}

.featured-card:hover .featured-select {
  background: rgba(253, 251, 247, 1);
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 2rem;
  margin-bottom: 2rem;
}

.section-heading h2,
.admin-title,
.leaderboard-copy h2 {
  font-size: clamp(1.9rem, 3.4vw, 3rem);
  line-height: 1;
  letter-spacing: -0.035em;
  margin: 0;
}

.event-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.2rem;
}

.selection-card {
  display: grid;
  border-radius: 2rem;
  overflow: hidden;
  background: rgba(253, 251, 247, 0.94);
  border: 1px solid rgba(34, 37, 42, 0.08);
  box-shadow: 0 26px 52px -44px rgba(17, 75, 95, 0.4);
  animation: fade-up 700ms ease both;
  animation-delay: var(--delay, 0ms);
}

.selection-media {
  position: relative;
  min-height: 510px;
  overflow: hidden;
}

.selection-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  transform: scale(1.02);
  transition: transform 700ms ease;
}

.selection-card:hover .selection-media img {
  transform: scale(1.06);
}

.selection-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(17, 75, 95, 0.02), rgba(17, 75, 95, 0.52)),
    linear-gradient(135deg, rgba(17, 75, 95, 0.08), transparent 40%);
}

.selection-badges {
  position: absolute;
  top: 1rem;
  left: 1rem;
  right: 1rem;
  z-index: 2;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
}

.selection-badges span {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0.4rem 0.75rem;
  border-radius: 999px;
  background: rgba(253, 251, 247, 0.92);
  color: var(--ink);
  font-size: 0.66rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.selection-badges span:last-child {
  background: rgba(242, 100, 87, 0.94);
  color: #fdfbf7;
}

.selection-overlay {
  position: absolute;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  z-index: 2;
  color: #fdfbf7;
  display: grid;
  gap: 0.35rem;
}

.selection-overlay span {
  display: inline-flex;
  width: fit-content;
  padding: 0.34rem 0.6rem;
  border-radius: 999px;
  background: rgba(253, 251, 247, 0.14);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-size: 0.64rem;
}

.selection-overlay h3 {
  margin: 0;
  font-size: clamp(2.2rem, 3.1vw, 3.05rem);
  line-height: 0.92;
  letter-spacing: -0.05em;
}

.selection-overlay p {
  margin: 0;
  font-size: 0.92rem;
  color: rgba(253, 251, 247, 0.84);
}

.selection-body {
  display: grid;
  gap: 0.95rem;
  padding: 1rem 1rem 1.1rem;
}

.selection-topline,
.selection-quickline {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.9rem;
}

.selection-topline {
  padding-bottom: 0.95rem;
  border-bottom: 1px solid rgba(34, 37, 42, 0.08);
}

.selection-topline div,
.selection-quickline div {
  display: grid;
  gap: 0.28rem;
}

.selection-label {
  font-size: 0.64rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(34, 37, 42, 0.52);
}

.selection-topline strong,
.selection-quickline strong {
  font-size: 0.95rem;
  line-height: 1.35;
}

.selection-price {
  justify-items: end;
}

.selection-price strong {
  font-size: 1.7rem;
  line-height: 1;
  letter-spacing: -0.04em;
  font-family: "Cormorant Garamond", Georgia, serif;
}

.city-placeholder-card .selection-price strong {
  font-size: 1.18rem;
  line-height: 1.2;
  text-align: right;
}

.selection-cta {
  min-height: 54px;
  width: 100%;
  margin-top: 0.15rem;
}

.event-card {
  position: relative;
  padding: 1.15rem 1.15rem 1.1rem;
  border-radius: 1.5rem;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.72));
  border: 1px solid rgba(34, 37, 42, 0.08);
  box-shadow: 0 20px 45px -38px rgba(17, 75, 95, 0.35);
  display: grid;
  gap: 0.9rem;
  overflow: hidden;
  animation: fade-up 700ms ease both;
}

.event-card::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--teal), var(--coral), var(--sage));
}

.event-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.event-badge,
.event-live {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0.35rem 0.65rem;
  border-radius: 999px;
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.event-badge {
  background: rgba(17, 75, 95, 0.08);
  color: var(--teal);
}

.event-live {
  background: rgba(242, 100, 87, 0.1);
  color: var(--coral);
}

.event-card img {
  width: 100%;
  height: 170px;
  object-fit: cover;
  border-radius: 1.05rem;
}

.event-card h3 {
  margin: 0;
  font-size: 1.35rem;
  line-height: 1;
  letter-spacing: -0.03em;
}

.event-card p {
  margin: 0;
  color: var(--ink-soft);
  line-height: 1.7;
}

.event-card-meta {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.84rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(28, 30, 33, 0.56);
}

.event-card .cta { margin-top: 0.2rem; }

.booking-grid,
.leaderboard-grid,
.admin-grid {
  display: grid;
  grid-template-columns: 1fr 0.95fr;
  gap: 2rem;
  align-items: start;
}

.booking-form {
  padding: 1.15rem;
  border-radius: 1.75rem;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.88), rgba(255, 255, 255, 0.76));
  border: 1px solid rgba(34, 37, 42, 0.08);
  box-shadow: var(--shadow);
  backdrop-filter: blur(8px);
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.9rem;
}

label { display: grid; gap: 0.45rem; }
label.full { grid-column: 1 / -1; }

label span {
  font-size: 0.67rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: rgba(28, 30, 33, 0.62);
}

input,
select,
textarea {
  width: 100%;
  border-radius: 1rem;
  border: 1px solid rgba(34, 37, 42, 0.12);
  background: rgba(253, 251, 247, 0.96);
  padding: 0.84rem 0.95rem;
  outline: none;
  color: var(--ink);
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--teal);
  box-shadow: 0 0 0 4px rgba(17, 75, 95, 0.1);
}

.form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
  justify-content: space-between;
  margin-top: 1.05rem;
}

.form-actions p {
  margin: 0;
  color: rgba(28, 30, 33, 0.62);
  font-size: 0.92rem;
}

.school-upload-box {
  grid-column: 1 / -1;
  display: grid;
  gap: 0.95rem;
  padding: 1rem 1.05rem;
  border-radius: 1.2rem;
  background: linear-gradient(180deg, rgba(17, 75, 95, 0.06), rgba(255, 255, 255, 0.75));
  border: 1px solid rgba(17, 75, 95, 0.12);
  animation: fade-up 360ms ease both;
}

.school-upload-copy {
  display: grid;
  gap: 0.3rem;
}

.school-upload-copy span {
  font-size: 0.67rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: rgba(17, 75, 95, 0.84);
}

.school-upload-copy strong {
  font-size: 1rem;
  line-height: 1.4;
}

.school-upload-copy p {
  margin: 0;
  color: var(--ink-soft);
  line-height: 1.65;
}

.school-template-link {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  color: var(--teal);
  font-size: 0.74rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding-bottom: 0.1rem;
  border-bottom: 1px solid rgba(17, 75, 95, 0.24);
}

.school-upload-field {
  display: grid;
  gap: 0.45rem;
}

.school-upload-field input[type="file"] {
  padding: 0.85rem 0.95rem;
  background: rgba(253, 251, 247, 0.96);
  border: 1px dashed rgba(17, 75, 95, 0.22);
}

.summary-panel {
  display: grid;
  gap: 1rem;
  position: sticky;
  top: 104px;
}

.registration-summary-panel {
  top: 96px;
}

.registration-context-card {
  display: grid;
  gap: 1rem;
  padding: 1rem;
  border-radius: 1.6rem;
  background:
    radial-gradient(circle at top left, rgba(17, 75, 95, 0.08), transparent 24%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.95), rgba(249, 245, 238, 0.9));
  border: 1px solid rgba(34, 37, 42, 0.08);
  box-shadow: 0 26px 54px -46px rgba(17, 75, 95, 0.34);
}

.registration-context-top {
  display: flex;
  gap: 0.85rem;
  align-items: center;
}

.registration-context-top img {
  width: 84px;
  height: 84px;
  border-radius: 1rem;
  object-fit: cover;
  flex: none;
  box-shadow: 0 18px 30px -24px rgba(17, 75, 95, 0.45);
}

.registration-context-kicker {
  display: inline-flex;
  width: fit-content;
  margin-bottom: 0.3rem;
  padding: 0.34rem 0.58rem;
  border-radius: 999px;
  background: rgba(17, 75, 95, 0.08);
  color: var(--teal);
  font-size: 0.64rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.registration-context-top strong {
  display: block;
  font-size: 1.35rem;
  line-height: 1;
  font-family: "Cormorant Garamond", Georgia, serif;
  letter-spacing: -0.04em;
}

.registration-context-top p {
  margin: 0.35rem 0 0;
  color: var(--ink-soft);
  line-height: 1.6;
}

.registration-context-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.8rem;
}

.registration-context-grid div {
  padding: 0.75rem 0.8rem;
  border-radius: 1rem;
  background: rgba(253, 251, 247, 0.9);
  border: 1px solid rgba(34, 37, 42, 0.07);
}

.registration-context-grid span {
  display: block;
  font-size: 0.64rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: rgba(34, 37, 42, 0.58);
  margin-bottom: 0.35rem;
}

.registration-context-grid strong {
  display: block;
  font-size: 0.94rem;
  line-height: 1.35;
}

.registration-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
  margin-top: 1.35rem;
}

.registration-step {
  display: grid;
  gap: 0.3rem;
  padding: 0.85rem 0.9rem;
  border-radius: 1rem;
  background: rgba(253, 251, 247, 0.86);
  border: 1px solid rgba(34, 37, 42, 0.08);
  box-shadow: 0 16px 30px -28px rgba(17, 75, 95, 0.24);
}

.registration-step span {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  min-height: 28px;
  padding: 0.3rem 0.55rem;
  border-radius: 999px;
  background: rgba(17, 75, 95, 0.08);
  color: var(--teal);
  font-size: 0.64rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.registration-step strong {
  font-size: 0.92rem;
  line-height: 1.35;
}

.registration-step.is-active {
  background: linear-gradient(180deg, rgba(17, 75, 95, 0.08), rgba(253, 251, 247, 0.92));
  border-color: rgba(17, 75, 95, 0.14);
}

.result-card {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(250, 247, 243, 0.9));
  border: 1px solid rgba(34, 37, 42, 0.08);
  box-shadow: 0 24px 48px -42px rgba(17, 75, 95, 0.35);
}

.result-label {
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.74rem;
  color: rgba(34, 37, 42, 0.58);
  margin-bottom: 0.75rem;
}

.result-output {
  display: grid;
  gap: 0.85rem;
}

.result-empty-state {
  display: grid;
  gap: 0.65rem;
  padding: 0.25rem 0;
}

.result-empty-kicker {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  padding: 0.4rem 0.7rem;
  border-radius: 999px;
  background: rgba(17, 75, 95, 0.08);
  color: var(--teal);
  font-size: 0.66rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.result-empty-state strong {
  font-size: 1.08rem;
  line-height: 1.45;
}

.result-empty-state p {
  margin: 0;
  color: var(--ink-soft);
  line-height: 1.7;
}

.result-error .result-empty-kicker {
  background: rgba(242, 100, 87, 0.1);
  color: var(--coral);
}

.result-title {
  font-size: 1.2rem;
  line-height: 1;
  margin: 0;
}

.result-subtitle {
  color: var(--ink-soft);
  line-height: 1.6;
}

.result-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.result-pill {
  padding: 0.48rem 0.7rem;
  border-radius: 999px;
  background: rgba(17, 75, 95, 0.08);
  color: var(--ink);
  font-size: 0.75rem;
}

.result-list {
  margin: 0;
  padding-left: 1.1rem;
  color: var(--ink-soft);
  line-height: 1.7;
}

.leaderboard-card {
  border-radius: 1.7rem;
  padding: 0.9rem;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(249, 245, 238, 0.9));
  color: var(--ink);
  border: 1px solid rgba(34, 37, 42, 0.08);
  box-shadow: 0 24px 48px -44px rgba(17, 75, 95, 0.35);
}

.leaderboard-row {
  display: grid;
  grid-template-columns: 1.5fr 1fr 0.6fr;
  gap: 1rem;
  align-items: center;
  padding: 0.85rem 0.9rem;
  border-top: 1px solid rgba(34, 37, 42, 0.08);
}

.leaderboard-row:first-child { border-top: 0; }
.leaderboard-row strong,
.leaderboard-row span { color: inherit; }

.leaderboard-row.header { padding-top: 0.7rem; }

.leaderboard-row.header span {
  display: inline-block;
  margin-bottom: 0;
  color: rgba(34, 37, 42, 0.54);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.22em;
}

.admin-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.admin-upload-section {
  margin-top: 2rem;
}

.admin-upload-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.bulk-upload-card,
.admin-upload-empty {
  border-radius: 1.3rem;
  padding: 1rem 1.05rem;
  background: rgba(253, 251, 247, 0.9);
  border: 1px solid rgba(34, 37, 42, 0.08);
  box-shadow: 0 18px 36px -30px rgba(17, 75, 95, 0.25);
}

.bulk-upload-top {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: start;
}

.bulk-upload-top strong {
  display: block;
  font-size: 1rem;
  line-height: 1.35;
}

.bulk-upload-top span {
  display: block;
  margin-top: 0.25rem;
  color: var(--ink-soft);
  font-size: 0.9rem;
}

.bulk-upload-count {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  background: rgba(17, 75, 95, 0.08);
  color: var(--teal);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.bulk-upload-meta,
.bulk-upload-sample {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-top: 0.8rem;
}

.bulk-upload-meta span,
.bulk-upload-sample span {
  display: inline-flex;
  padding: 0.45rem 0.65rem;
  border-radius: 999px;
  background: rgba(17, 75, 95, 0.06);
  color: rgba(34, 37, 42, 0.72);
  font-size: 0.72rem;
}

.admin-upload-empty {
  color: var(--ink-soft);
}

.admin-stat {
  padding: 1rem 1.1rem;
  border-radius: 1.2rem;
  background: rgba(253, 251, 247, 0.85);
  border: 1px solid rgba(34, 37, 42, 0.08);
  box-shadow: 0 16px 32px -28px rgba(17, 75, 95, 0.24);
}

.admin-stat strong {
  display: block;
  font-size: 1.5rem;
  line-height: 1;
  margin-bottom: 0.4rem;
}

.admin-stat span { color: var(--ink-soft); }

.panel-card {
  padding: 1.1rem;
  border-radius: 1.6rem;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(249, 245, 238, 0.9));
  border: 1px solid rgba(34, 37, 42, 0.08);
  box-shadow: 0 24px 48px -44px rgba(17, 75, 95, 0.35);
}

.admin-ops {
  margin-top: 2rem;
}

.admin-auth-row {
  margin-top: 1.25rem;
}

.admin-auth-card,
.checkin-auth-card {
  display: grid;
  gap: 1rem;
}

.admin-auth-card {
  grid-template-columns: 1.1fr 1fr;
  align-items: center;
}

.admin-auth-copy h3,
.checkin-auth-copy strong {
  display: block;
  margin: 0.45rem 0 0.35rem;
  font-size: 1.55rem;
  line-height: 1;
  font-family: "Cormorant Garamond", Georgia, serif;
  letter-spacing: -0.04em;
}

.admin-auth-copy p,
.checkin-auth-copy p {
  margin: 0;
  color: var(--ink-soft);
  line-height: 1.7;
}

.admin-auth-form,
.checkin-auth-form {
  display: grid;
  gap: 0.75rem;
}

.admin-auth-field,
.checkin-auth-field {
  display: grid;
  gap: 0.35rem;
}

.admin-auth-field span,
.checkin-auth-field span {
  font-size: 0.64rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: rgba(34, 37, 42, 0.58);
}

.admin-auth-actions,
.checkin-auth-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.admin-auth-actions .button,
.checkin-auth-actions .button {
  min-width: 130px;
}

.admin-auth-status,
.checkin-auth-status {
  padding-top: 0.15rem;
  color: var(--ink-soft);
  font-size: 0.8rem;
  letter-spacing: 0.06em;
}

.admin-stat-locked {
  grid-column: 1 / -1;
  align-items: center;
}

.admin-stat-locked strong {
  font-size: 1.6rem;
}

.admin-stat-locked span {
  color: var(--ink-soft);
  text-transform: none;
  letter-spacing: 0;
  font-size: 0.84rem;
}

.admin-shortcut-row {
  margin-top: 1.25rem;
}

.admin-shortcut {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.2rem;
}

.admin-shortcut-copy {
  max-width: 60ch;
}

.admin-shortcut-copy h3 {
  margin: 0.45rem 0 0.35rem;
  font-size: 1.55rem;
  line-height: 1;
}

.admin-shortcut-copy p {
  margin: 0;
  color: var(--ink-soft);
  line-height: 1.7;
}

.admin-shortcut-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.admin-shortcut-stat {
  min-width: 110px;
  padding: 0.85rem 1rem;
  border-radius: 1rem;
  background: rgba(17, 75, 95, 0.06);
  border: 1px solid rgba(17, 75, 95, 0.08);
  text-align: center;
}

.admin-shortcut-stat strong {
  display: block;
  font-size: 1.75rem;
  line-height: 1;
  font-family: "Cormorant Garamond", Georgia, serif;
  letter-spacing: -0.04em;
}

.admin-shortcut-stat span {
  display: block;
  margin-top: 0.25rem;
  color: var(--ink-soft);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.admin-event-section {
  margin-top: 1.25rem;
}

.event-admin-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 1rem;
}

.event-builder-card,
.event-catalog-card {
  display: grid;
  gap: 1rem;
}

.admin-event-state {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0.36rem 0.65rem;
  border-radius: 999px;
  background: rgba(17, 75, 95, 0.06);
  color: rgba(34, 37, 42, 0.76);
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.event-form {
  display: grid;
  gap: 0.95rem;
}

.event-form-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.85rem;
}

.event-flag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.event-flag {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.55rem 0.75rem;
  border-radius: 999px;
  border: 1px solid rgba(34, 37, 42, 0.08);
  background: rgba(253, 251, 247, 0.9);
  color: rgba(34, 37, 42, 0.78);
  font-size: 0.72rem;
}

.event-flag input {
  accent-color: var(--teal);
}

.ops-field-wide {
  grid-column: 1 / -1;
}

.ops-field textarea {
  min-height: 150px;
  line-height: 1.6;
}

.event-form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.event-form-actions .button {
  min-width: 132px;
}

.structure-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin: 0.55rem 0 0.8rem;
}

.event-structure-builder {
  display: grid;
  gap: 0.9rem;
}

.city-builder,
.venue-builder,
.slot-builder {
  border-radius: 1.2rem;
  border: 1px solid rgba(34, 37, 42, 0.08);
  background: rgba(253, 251, 247, 0.95);
  box-shadow: 0 16px 32px -30px rgba(17, 75, 95, 0.2);
}

.city-builder {
  padding: 0.95rem;
  display: grid;
  gap: 0.9rem;
}

.city-builder-head,
.venue-builder-head {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 0.85rem;
}

.builder-field {
  display: grid;
  gap: 0.34rem;
  min-width: min(100%, 340px);
}

.builder-field span {
  font-size: 0.64rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: rgba(34, 37, 42, 0.58);
}

.builder-card-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  justify-content: flex-end;
}

.builder-card-actions .button {
  min-height: 38px;
  padding: 0.62rem 0.88rem;
  font-size: 0.72rem;
}

.venue-builder-list,
.slot-builder-list {
  display: grid;
  gap: 0.75rem;
}

.venue-builder {
  padding: 0.85rem;
  display: grid;
  gap: 0.85rem;
}

.slot-builder {
  padding: 0.75rem;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr)) auto;
  gap: 0.7rem;
  align-items: end;
}

.slot-builder-actions {
  display: flex;
  justify-content: flex-end;
}

.slot-builder-actions .button {
  min-height: 38px;
  padding: 0.58rem 0.82rem;
}

.builder-field input {
  min-height: 44px;
}

.event-catalog {
  display: grid;
  gap: 0.8rem;
}

.event-catalog-item {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.95rem 1rem;
  border-radius: 1.2rem;
  background: rgba(253, 251, 247, 0.94);
  border: 1px solid rgba(34, 37, 42, 0.08);
  box-shadow: 0 16px 32px -30px rgba(17, 75, 95, 0.22);
}

.event-catalog-item.is-active {
  border-color: rgba(17, 75, 95, 0.22);
  box-shadow: 0 20px 38px -30px rgba(17, 75, 95, 0.38);
}

.event-catalog-copy {
  display: grid;
  gap: 0.45rem;
  min-width: 0;
}

.event-catalog-copy strong {
  font-size: 1.06rem;
  line-height: 1.2;
}

.event-catalog-copy p {
  margin: 0;
  color: var(--ink-soft);
  line-height: 1.6;
}

.event-catalog-flags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.event-catalog-flags span {
  display: inline-flex;
  align-items: center;
  padding: 0.35rem 0.55rem;
  border-radius: 999px;
  background: rgba(242, 100, 87, 0.08);
  color: var(--coral);
  font-size: 0.64rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.event-catalog-actions {
  display: flex;
  flex-direction: column;
  align-items: end;
  gap: 0.55rem;
}

.event-catalog-actions .button {
  min-width: 92px;
  min-height: 38px;
  padding: 0.62rem 0.92rem;
}

.selection-cta.is-sold-out,
.featured-select.is-sold-out {
  background: rgba(34, 37, 42, 0.08);
  color: rgba(34, 37, 42, 0.56);
  border-color: rgba(34, 37, 42, 0.08);
  box-shadow: none;
  cursor: not-allowed;
}

.selection-cta.is-sold-out:hover,
.featured-select.is-sold-out:hover {
  transform: none;
}

.ops-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 1rem;
}

.ops-panel {
  display: grid;
  gap: 1rem;
}

.ops-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.ops-kicker,
.slot-summary-kicker,
.slot-city-kicker {
  display: inline-flex;
  width: fit-content;
  padding: 0.36rem 0.62rem;
  border-radius: 999px;
  background: rgba(17, 75, 95, 0.08);
  color: var(--teal);
  font-size: 0.64rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.ops-header h3,
.slot-city h4,
.slot-summary strong {
  margin: 0;
  font-family: "Cormorant Garamond", Georgia, serif;
  letter-spacing: -0.04em;
}

.ops-header h3 {
  font-size: 1.45rem;
  line-height: 1;
  margin-top: 0.35rem;
}

.ops-toolbar {
  display: grid;
  grid-template-columns: 1.35fr 0.7fr 1fr;
  gap: 0.85rem;
}

.ops-field,
.ops-inline-select {
  display: grid;
  gap: 0.38rem;
}

.ops-field span,
.ops-inline-select span {
  font-size: 0.64rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: rgba(34, 37, 42, 0.58);
}

.ops-field input,
.ops-field select,
.ops-inline-select select {
  min-height: 48px;
}

.ops-field-ghost {
  justify-content: center;
}

.field-note {
  margin: 0;
  color: var(--ink-soft);
  line-height: 1.6;
  font-size: 0.92rem;
}

.registration-list {
  display: grid;
  gap: 0.85rem;
}

.registration-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 220px;
  gap: 1rem;
  padding: 0.95rem 1rem;
  border-radius: 1.25rem;
  border: 1px solid rgba(34, 37, 42, 0.08);
  background: rgba(253, 251, 247, 0.92);
  box-shadow: 0 16px 32px -30px rgba(17, 75, 95, 0.22);
}

.registration-row.reserved {
  background: linear-gradient(180deg, rgba(17, 75, 95, 0.05), rgba(253, 251, 247, 0.94));
}

.registration-row.paid {
  background: linear-gradient(180deg, rgba(242, 100, 87, 0.05), rgba(253, 251, 247, 0.94));
}

.registration-row.checked_in {
  background: linear-gradient(180deg, rgba(179, 192, 164, 0.12), rgba(253, 251, 247, 0.94));
}

.registration-main {
  display: grid;
  gap: 0.7rem;
}

.registration-headline {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.65rem;
}

.registration-headline strong {
  font-size: 1.06rem;
}

.registration-headline span {
  color: var(--ink-soft);
  font-size: 0.9rem;
}

.registration-meta,
.registration-contact {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.registration-meta span,
.registration-contact span,
.registration-code,
.registration-time {
  display: inline-flex;
  align-items: center;
  padding: 0.42rem 0.6rem;
  border-radius: 999px;
  background: rgba(17, 75, 95, 0.06);
  color: rgba(34, 37, 42, 0.78);
  font-size: 0.72rem;
}

.registration-side {
  display: grid;
  align-content: start;
  justify-items: end;
  gap: 0.55rem;
}

.registration-side strong {
  font-size: 1.35rem;
  line-height: 1;
  letter-spacing: -0.04em;
  font-family: "Cormorant Garamond", Georgia, serif;
}

.registration-status {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  font-size: 0.66rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.registration-status.status-reserved {
  background: rgba(17, 75, 95, 0.08);
  color: var(--teal);
}

.registration-status.status-paid {
  background: rgba(242, 100, 87, 0.12);
  color: var(--coral);
}

.registration-status.status-checked_in {
  background: rgba(179, 192, 164, 0.18);
  color: #6c795f;
}

.registration-action {
  min-height: 40px;
  padding-inline: 0.95rem;
}

.slot-dashboard {
  display: grid;
  gap: 0.95rem;
}

.slot-summary {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.05rem;
  border-radius: 1.3rem;
  background: rgba(17, 75, 95, 0.05);
  border: 1px solid rgba(17, 75, 95, 0.1);
}

.slot-summary strong {
  display: block;
  font-size: 1.3rem;
  line-height: 1.1;
  margin-top: 0.35rem;
}

.slot-summary p {
  margin: 0.35rem 0 0;
  color: var(--ink-soft);
  line-height: 1.6;
}

.slot-summary-meta {
  display: grid;
  justify-items: end;
  gap: 0.45rem;
}

.slot-summary-meta span {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0.35rem 0.65rem;
  border-radius: 999px;
  background: rgba(253, 251, 247, 0.94);
  color: rgba(34, 37, 42, 0.74);
  font-size: 0.72rem;
}

.slot-city {
  padding: 0.95rem 1rem 1rem;
  border-radius: 1.25rem;
  border: 1px solid rgba(34, 37, 42, 0.08);
  background: rgba(253, 251, 247, 0.9);
  display: grid;
  gap: 0.85rem;
}

.slot-city-head {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: start;
}

.slot-city-head h4 {
  font-size: 1.2rem;
  margin-top: 0.35rem;
}

.slot-city-count {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0.35rem 0.65rem;
  border-radius: 999px;
  background: rgba(242, 100, 87, 0.1);
  color: var(--coral);
  font-size: 0.66rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.slot-venues {
  display: grid;
  gap: 0.8rem;
}

.slot-venue {
  padding: 0.85rem 0.9rem;
  border-radius: 1rem;
  background: linear-gradient(180deg, rgba(17, 75, 95, 0.04), rgba(253, 251, 247, 0.96));
  border: 1px solid rgba(17, 75, 95, 0.08);
}

.slot-venue-head {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: baseline;
}

.slot-venue-head strong {
  font-size: 1rem;
}

.slot-venue-head span {
  color: var(--ink-soft);
  font-size: 0.82rem;
}

.slot-progress {
  height: 8px;
  border-radius: 999px;
  margin: 0.7rem 0 0.85rem;
  background: rgba(17, 75, 95, 0.08);
  overflow: hidden;
}

.slot-progress span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--teal), #1a6f8a);
}

.slot-list {
  display: grid;
  gap: 0.55rem;
}

.slot-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.75rem 0.8rem;
  border-radius: 0.9rem;
  background: rgba(253, 251, 247, 0.96);
  border: 1px solid rgba(34, 37, 42, 0.07);
}

.slot-item strong {
  display: block;
  font-size: 0.96rem;
}

.slot-item span {
  color: var(--ink-soft);
  font-size: 0.82rem;
}

.slot-item-pill {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0.32rem 0.58rem;
  border-radius: 999px;
  background: rgba(17, 75, 95, 0.08);
  color: var(--teal);
  font-size: 0.64rem !important;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.checkin-section {
  margin-top: 2rem;
}

.checkin-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 1rem;
}

.checkin-panel,
.checkin-result-panel {
  display: grid;
  gap: 1rem;
}

.checkin-frame {
  padding: 1rem;
  border-radius: 1.35rem;
  background:
    radial-gradient(circle at 20% 20%, rgba(17, 75, 95, 0.1), transparent 25%),
    radial-gradient(circle at 80% 15%, rgba(242, 100, 87, 0.08), transparent 22%),
    linear-gradient(180deg, rgba(17, 75, 95, 0.05), rgba(253, 251, 247, 0.96));
  border: 1px solid rgba(17, 75, 95, 0.09);
}

.checkin-frame-top {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: baseline;
  margin-bottom: 0.9rem;
}

.checkin-frame-top span {
  font-size: 0.66rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--teal);
}

.checkin-frame-top strong {
  font-size: 1.15rem;
  font-family: "Cormorant Garamond", Georgia, serif;
  letter-spacing: -0.04em;
}

.checkin-scanbox {
  position: relative;
  min-height: 280px;
  border-radius: 1.2rem;
  border: 1px dashed rgba(17, 75, 95, 0.24);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.82), rgba(253, 251, 247, 0.94)),
    repeating-linear-gradient(
      90deg,
      rgba(17, 75, 95, 0.04) 0,
      rgba(17, 75, 95, 0.04) 1px,
      transparent 1px,
      transparent 20px
    ),
    repeating-linear-gradient(
      0deg,
      rgba(17, 75, 95, 0.04) 0,
      rgba(17, 75, 95, 0.04) 1px,
      transparent 1px,
      transparent 20px
    );
  overflow: hidden;
}

.checkin-scanbox::before,
.checkin-scanbox::after,
.scan-lines::before,
.scan-lines::after {
  content: "";
  position: absolute;
  inset: 1.15rem;
  border-radius: 0.95rem;
  border: 2px solid rgba(17, 75, 95, 0.22);
}

.checkin-scanbox::after {
  inset: 3rem;
  border-color: rgba(242, 100, 87, 0.16);
}

.scan-lines::before {
  inset: 2rem;
  border-left: 0;
  border-right: 0;
  border-top: 0;
}

.scan-lines::after {
  inset: 4.3rem;
  border-left: 0;
  border-bottom: 0;
  border-right: 0;
}

.checkin-frame p {
  margin: 0.9rem 0 0;
  color: var(--ink-soft);
  line-height: 1.7;
}

.scanner-panel {
  display: grid;
  gap: 0.8rem;
  padding: 1rem;
  border-radius: 1.35rem;
  background: rgba(253, 251, 247, 0.9);
  border: 1px solid rgba(34, 37, 42, 0.08);
}

.scanner-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.scanner-header h4 {
  margin: 0.35rem 0 0;
  font-size: 1.12rem;
  line-height: 1;
  font-family: "Cormorant Garamond", Georgia, serif;
  letter-spacing: -0.04em;
}

.scanner-status {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0.35rem 0.65rem;
  border-radius: 999px;
  background: rgba(17, 75, 95, 0.08);
  color: var(--teal);
  font-size: 0.66rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  white-space: nowrap;
}

.scanner-stage {
  position: relative;
  min-height: 260px;
  border-radius: 1.2rem;
  overflow: hidden;
  background: linear-gradient(180deg, rgba(17, 75, 95, 0.05), rgba(253, 251, 247, 0.94));
  border: 1px solid rgba(17, 75, 95, 0.1);
}

.scanner-stage video {
  width: 100%;
  height: 100%;
  min-height: 260px;
  object-fit: cover;
  background: #f8f4ef;
}

.scanner-frame {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, transparent 0, transparent 16%, rgba(17, 75, 95, 0.18) 16%, rgba(17, 75, 95, 0.18) 17%, transparent 17%, transparent 83%, rgba(17, 75, 95, 0.18) 83%, rgba(17, 75, 95, 0.18) 84%, transparent 84%, transparent 100%),
    linear-gradient(transparent 0, transparent 16%, rgba(17, 75, 95, 0.18) 16%, rgba(17, 75, 95, 0.18) 17%, transparent 17%, transparent 83%, rgba(17, 75, 95, 0.18) 83%, rgba(17, 75, 95, 0.18) 84%, transparent 84%, transparent 100%);
}

.scanner-frame::before {
  content: "";
  position: absolute;
  inset: 18% 18%;
  border-radius: 1rem;
  border: 2px solid rgba(242, 100, 87, 0.34);
  box-shadow: 0 0 0 999px rgba(253, 251, 247, 0.2);
}

.scanner-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.scanner-actions .button {
  min-width: 140px;
}

.checkin-form {
  display: grid;
  gap: 0.9rem;
}

.checkin-field {
  display: grid;
  gap: 0.4rem;
}

.checkin-field span {
  font-size: 0.64rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: rgba(34, 37, 42, 0.58);
}

.checkin-actions,
.checkin-actions-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
}

.checkin-actions .button {
  min-width: 150px;
}

.checkin-result {
  display: grid;
  gap: 0.9rem;
}

.checkin-card {
  padding: 1rem 1.05rem;
  border-radius: 1.2rem;
  background: rgba(253, 251, 247, 0.94);
  border: 1px solid rgba(34, 37, 42, 0.08);
  box-shadow: 0 18px 38px -34px rgba(17, 75, 95, 0.28);
  display: grid;
  gap: 0.85rem;
}

.checkin-card.paid {
  background: linear-gradient(180deg, rgba(242, 100, 87, 0.05), rgba(253, 251, 247, 0.96));
}

.checkin-card.checked_in {
  background: linear-gradient(180deg, rgba(179, 192, 164, 0.12), rgba(253, 251, 247, 0.96));
}

.checkin-card-head {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: start;
}

.checkin-card-head strong {
  display: block;
  margin-top: 0.35rem;
  font-size: 1.18rem;
}

.checkin-card-head p {
  margin: 0.35rem 0 0;
  color: var(--ink-soft);
}

.checkin-status {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0.35rem 0.65rem;
  border-radius: 999px;
  font-size: 0.66rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.checkin-status.reserved {
  background: rgba(17, 75, 95, 0.08);
  color: var(--teal);
}

.checkin-status.paid {
  background: rgba(242, 100, 87, 0.12);
  color: var(--coral);
}

.checkin-status.checked_in {
  background: rgba(179, 192, 164, 0.18);
  color: #6c795f;
}

.checkin-status.error,
.checkin-error .checkin-status {
  background: rgba(242, 100, 87, 0.12);
  color: var(--coral);
}

.checkin-price {
  font-size: 1.6rem;
  line-height: 1;
  font-family: "Cormorant Garamond", Georgia, serif;
  letter-spacing: -0.04em;
}

.checkin-metadata,
.checkin-details {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.checkin-metadata span,
.checkin-details span,
.checkin-note {
  display: inline-flex;
  align-items: center;
  padding: 0.42rem 0.6rem;
  border-radius: 999px;
  background: rgba(17, 75, 95, 0.06);
  color: rgba(34, 37, 42, 0.78);
  font-size: 0.72rem;
}

.checkin-note {
  background: rgba(242, 100, 87, 0.08);
  color: var(--coral);
}

.grain {
  position: relative;
  isolation: isolate;
}

.grain::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.82' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0  0 0 0 0 0  0 0 0 0 0  0 0 0 0.06 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
  mix-blend-mode: multiply;
  opacity: 0.45;
}

.site-footer {
  padding: 4rem 0 2.5rem;
  background: var(--footer);
  color: #e8eae3;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 0.7fr 0.7fr;
  gap: 2rem;
}

.gateway-grid,
.support-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.gateway-card,
.support-card,
.support-faq,
.ticket-lookup-card,
.ticket-hub-card {
  display: grid;
  gap: 0.85rem;
}

.gateway-card h3,
.support-card h3,
.support-faq h3,
.ticket-lookup-card h3,
.ticket-hub-card h3 {
  margin: 0;
  font-size: 1.45rem;
  line-height: 1.05;
}

.gateway-card p,
.support-card p,
.support-faq p,
.ticket-lookup-card p,
.ticket-hub-card p {
  margin: 0;
  color: var(--ink-soft);
  line-height: 1.7;
}

.gateway-card .button,
.support-card .button {
  width: fit-content;
}

.latest-updates-section {
  padding-top: 0;
}

.updates-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.update-card {
  display: grid;
  gap: 0.8rem;
  align-content: start;
}

.update-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.update-tag {
  display: inline-flex;
  width: fit-content;
  padding: 0.38rem 0.62rem;
  border-radius: 999px;
  background: rgba(17, 75, 95, 0.08);
  color: var(--teal);
  font-size: 0.64rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.update-date {
  color: rgba(34, 37, 42, 0.46);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.update-card h3 {
  margin: 0;
  font-size: 1.45rem;
  line-height: 1.1;
}

.update-card p {
  margin: 0;
  color: var(--ink-soft);
  line-height: 1.7;
}

.update-context {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.update-context span {
  display: inline-flex;
  align-items: center;
  padding: 0.38rem 0.58rem;
  border-radius: 999px;
  background: rgba(17, 75, 95, 0.05);
  color: rgba(34, 37, 42, 0.72);
  font-size: 0.68rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.update-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.update-meta span {
  display: inline-flex;
  align-items: center;
  padding: 0.4rem 0.6rem;
  border-radius: 999px;
  background: rgba(17, 75, 95, 0.05);
  color: rgba(34, 37, 42, 0.72);
  font-size: 0.7rem;
}

.update-card.sold-out .update-tag {
  background: rgba(242, 100, 87, 0.12);
  color: var(--coral);
}

.update-card.coming-up .update-tag,
.update-card.early-booking .update-tag {
  background: rgba(17, 75, 95, 0.1);
  color: var(--teal);
}

.update-card.school-uploads .update-tag {
  background: rgba(179, 192, 164, 0.2);
  color: #50604c;
}

.ticket-hub-grid,
.ticket-lookup-grid {
  display: grid;
  grid-template-columns: 1fr 0.92fr;
  gap: 1rem;
  align-items: start;
}

.ticket-hub-list {
  margin: 0;
  padding-left: 1.1rem;
  color: var(--ink-soft);
  line-height: 1.7;
}

.ticket-lookup-form {
  display: grid;
  gap: 0.85rem;
}

.ticket-lookup-field {
  display: grid;
  gap: 0.35rem;
}

.ticket-lookup-field span {
  font-size: 0.64rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: rgba(34, 37, 42, 0.58);
}

.ticket-lookup-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.ticket-lookup-actions .button {
  min-width: 150px;
}

.ticket-info-list {
  display: grid;
  gap: 0.8rem;
}

.ticket-info-list div {
  padding: 0.85rem 0.9rem;
  border-radius: 1rem;
  background: rgba(17, 75, 95, 0.05);
}

.ticket-info-list strong {
  display: block;
  margin-bottom: 0.3rem;
}

.ticket-info-list p {
  margin: 0;
  color: var(--ink-soft);
  line-height: 1.65;
}

.support-faq-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.support-faq h3 {
  font-size: 1.35rem;
}

.footer-brand .brand-sub { color: #f26457; }

.footer-brand .brand-logo-link {
  display: inline-flex;
  width: fit-content;
  padding: 0.5rem 0.75rem;
  border-radius: 1rem;
  background: #fff;
  box-shadow: 0 18px 60px -35px rgba(255, 255, 255, 0.35);
}

.footer-brand .brand-logo {
  height: clamp(56px, 5vw, 72px);
  max-height: 72px;
}

.site-footer p {
  max-width: 36ch;
  color: rgba(232, 234, 227, 0.7);
  line-height: 1.7;
}

.site-footer h3 {
  margin: 0 0 0.9rem;
  font-size: 1.5rem;
}

.site-footer a {
  display: block;
  color: rgba(232, 234, 227, 0.84);
  margin-top: 0.65rem;
}

.site-footer a:hover { color: #f26457; }

.ticket-body {
  background:
    radial-gradient(circle at 12% 10%, rgba(17, 75, 95, 0.1), transparent 24%),
    radial-gradient(circle at 88% 14%, rgba(242, 100, 87, 0.08), transparent 20%),
    var(--bg);
}

.checkin-body {
  background:
    radial-gradient(circle at 14% 12%, rgba(17, 75, 95, 0.12), transparent 22%),
    radial-gradient(circle at 84% 8%, rgba(242, 100, 87, 0.07), transparent 18%),
    linear-gradient(180deg, #fdfbf7 0%, #fbf7f0 100%);
}

.ticket-hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
}

.ticket-layout {
  display: grid;
  grid-template-columns: 1fr 0.95fr;
  gap: 2rem;
  align-items: start;
}

.ticket-intro {
  padding-right: 1rem;
}

.ticket-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.8rem;
}

.ticket-summary {
  display: grid;
  gap: 1rem;
  position: sticky;
  top: 96px;
  padding: 1.15rem;
  border-radius: 1.8rem;
  background:
    radial-gradient(circle at top left, rgba(17, 75, 95, 0.08), transparent 24%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(249, 245, 238, 0.92));
}

.ticket-summary-top {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: start;
}

.ticket-summary-top h2 {
  margin: 0.4rem 0 0;
  font-size: 1.7rem;
  line-height: 1;
}

.ticket-summary-top p {
  margin: 0.4rem 0 0;
  color: var(--ink-soft);
  line-height: 1.6;
}

.ticket-status {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  background: rgba(17, 75, 95, 0.08);
  color: var(--teal);
  font-size: 0.66rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  white-space: nowrap;
}

.ticket-grid,
.ticket-code-rail {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.85rem;
}

.ticket-grid div,
.ticket-code-rail div {
  padding: 0.8rem 0.85rem;
  border-radius: 1rem;
  background: rgba(253, 251, 247, 0.92);
  border: 1px solid rgba(34, 37, 42, 0.08);
}

.ticket-grid span,
.ticket-code-rail span {
  display: block;
  font-size: 0.64rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: rgba(34, 37, 42, 0.58);
  margin-bottom: 0.35rem;
}

.ticket-grid strong,
.ticket-code-rail strong {
  display: block;
  font-size: 0.96rem;
  line-height: 1.35;
}

.ticket-qr-block {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 1rem;
  align-items: center;
  padding: 0.85rem;
  border-radius: 1.2rem;
  background: rgba(17, 75, 95, 0.04);
  border: 1px solid rgba(17, 75, 95, 0.08);
}

.ticket-qr {
  aspect-ratio: 1;
  border-radius: 1rem;
  padding: 0.7rem;
  background: #fdfbf7;
  border: 1px solid rgba(34, 37, 42, 0.08);
  display: grid;
  place-items: center;
}

.ticket-qr svg {
  display: block;
  width: 100%;
  height: auto;
  max-width: 220px;
}

.qr-fallback {
  color: var(--ink-soft);
  font-size: 0.8rem;
  text-align: center;
}

.ticket-qr-copy strong {
  display: block;
  font-size: 1.1rem;
  line-height: 1.35;
  margin-top: 0.35rem;
}

.ticket-qr-copy p {
  margin: 0.5rem 0 0;
  color: var(--ink-soft);
  line-height: 1.65;
}

.ticket-notes {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.ticket-notes span {
  display: inline-flex;
  align-items: center;
  padding: 0.42rem 0.62rem;
  border-radius: 999px;
  background: rgba(17, 75, 95, 0.06);
  color: rgba(34, 37, 42, 0.76);
  font-size: 0.72rem;
}

.summary-card {
  display: grid;
  gap: 0.85rem;
}

.summary-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.7rem 0;
  border-bottom: 1px solid rgba(34, 37, 42, 0.08);
}

.summary-row:last-child { border-bottom: 0; }

.summary-row span {
  color: rgba(34, 37, 42, 0.56);
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.66rem;
}

.summary-row strong {
  text-align: right;
  font-size: 0.95rem;
}

@keyframes fade-up {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes float-slow {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

@media (max-width: 1024px) {
  .nav,
  .nav-cta { display: none; }

  .menu-button { display: inline-flex; }
  .mobile-nav[data-open="true"] { display: block; }

  .hero-grid,
  .section-heading,
  .booking-grid,
  .leaderboard-grid,
  .admin-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .hero-grid { gap: 1.5rem; }
  .jigsaw-rail { grid-template-columns: 1fr; }
  .hero-poster { min-height: 380px; }
  .gateway-grid,
  .support-grid,
  .support-faq-grid,
  .updates-grid,
  .ticket-hub-grid,
  .ticket-lookup-grid { grid-template-columns: 1fr; }
  .event-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .preview-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .featured-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .registration-steps { grid-template-columns: 1fr; }
  .registration-context-grid { grid-template-columns: 1fr 1fr; }
  .ops-grid { grid-template-columns: 1fr; }
  .admin-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .event-admin-grid { grid-template-columns: 1fr; }
  .event-form-row { grid-template-columns: 1fr; }
  .slot-builder { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .event-catalog-item { flex-direction: column; align-items: start; }
  .event-catalog-actions { width: 100%; flex-direction: row; justify-content: flex-start; }
  .checkin-grid { grid-template-columns: 1fr; }
  .scanner-header,
  .checkin-card-head { flex-direction: column; }
  .scanner-header { flex-direction: column; align-items: start; }
  .selection-media { min-height: 400px; }
  .selection-topline,
  .selection-quickline { grid-template-columns: 1fr; }
  .registration-row { grid-template-columns: 1fr; }
  .registration-side { justify-items: start; }
  .admin-upload-list { grid-template-columns: 1fr; }
  .admin-auth-card { grid-template-columns: 1fr; }
  .admin-shortcut { flex-direction: column; align-items: start; }
  .admin-shortcut-actions { justify-content: flex-start; }
  .summary-panel { position: static; }
  .ticket-hero { min-height: auto; }
  .ticket-layout { grid-template-columns: 1fr; }
  .ticket-intro { padding-right: 0; }
  .ticket-summary { position: static; }
}

@media (max-width: 720px) {
  .section { padding: 4.2rem 0; }
  .header-inner { min-height: 72px; }
  .hero { padding-top: 3rem; }
  h1 { font-size: clamp(2.35rem, 11vw, 3.7rem); }
  .event-grid,
  .preview-grid,
  .featured-grid,
  .updates-grid,
  .form-grid,
  .hero-search-grid { grid-template-columns: 1fr; }
  .registration-context-grid { grid-template-columns: 1fr; }
  .selection-media { min-height: 340px; }
  .ops-toolbar { grid-template-columns: 1fr; }
  .admin-stats { grid-template-columns: 1fr; }
  .city-builder-head,
  .venue-builder-head,
  .builder-card-actions { flex-direction: column; align-items: start; }
  .builder-field { min-width: 0; width: 100%; }
  .slot-builder { grid-template-columns: 1fr; }
  .event-catalog-actions .button,
  .event-form-actions .button { width: 100%; }
  .checkin-card-head,
  .slot-summary,
  .slot-city-head { flex-direction: column; }
  .slot-summary-meta { justify-items: start; }
  .scanner-actions .button { width: 100%; }
  .leaderboard-row { grid-template-columns: 1fr; gap: 0.35rem; }
  .hero-poster { min-height: 320px; }
  .ticket-summary-top {
    flex-direction: column;
    align-items: start;
  }
  .ticket-qr-block { grid-template-columns: 1fr; }
  .ticket-grid,
  .ticket-code-rail { grid-template-columns: 1fr; }
  .ticket-qr { max-width: 260px; margin-inline: auto; }
  .ticket-actions .button { width: 100%; }
  .checkin-auth-card { grid-template-columns: 1fr; }
  .ticket-lookup-actions .button,
  .gateway-card .button,
  .support-card .button { width: 100%; }
}
