/* ---------- Header ---------- */
.site-header {
  padding-block: 8px;
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.logo {
  display: block;
}

.logo::before,
.logo::after {
  content: "";
  display: block;
  width: 136px;
  height: 1px;
  background: var(--color-blue);
}

.logo::before {
  margin-bottom: 27px;
}

.logo::after {
  margin-top: 44px;
}

.logo img {
  display: block;
  height: 88px;
  width: auto;
}

.main-nav ul {
  display: flex;
  align-items: center;
  gap: 32px;
  font-size: 16px;
  font-weight: 500;
}

.main-nav a {
  padding-bottom: 6px;
  color: var(--color-ink);
  border-bottom: 2px solid transparent;
}

.main-nav a.active {
  color: var(--color-blue);
  border-bottom-color: var(--color-blue);
  font-weight: 600;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 32px;
  height: 32px;
  padding: 0;
  background: none;
  border: none;
}

.nav-toggle-bar {
  width: 100%;
  height: 2px;
  border-radius: 2px;
  background: var(--color-ink);
  transition:
    transform 0.2s ease,
    opacity 0.2s ease;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 18px 32px;
  border-radius: 999px;
  font-size: 16px;
  font-weight: 600;
  border: 1.5px solid transparent;
}

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

.btn-outline {
  background: transparent;
  border-color: var(--color-blue);
  color: var(--color-blue);
}

/* ---------- Hero ---------- */
.hero {
  height: 100vh;
  display: flex;
  align-items: stretch;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  grid-template-rows: minmax(0, 1fr);
  align-items: stretch;
  gap: 40px;
}

.hero-content {
  align-self: center;
  padding-block: 48px;
}

.hero-content h1 {
  font-size: 96px;
  font-weight: 800;
  line-height: 1.5;
  letter-spacing: -0.01em;
}

.hero-content h1 .text-accent {
  color: var(--color-pink);
}

.hero-subtitle {
  margin-top: 20px;
  font-size: 22px;
  color: var(--color-muted);
}

.hero-actions {
  display: flex;
  gap: 24px;
  margin-top: 28px;
}

/* Infinite vertical marquee, same mechanism as varsityscape.com's hero:
   each column's image list is duplicated once in the DOM, then scrolled
   translateY(0) -> translateY(-50%) so the loop is seamless. Columns run
   at different speeds and opposite directions for an organic feel, and a
   single mask on the outer wrapper fades images in/out at the edges. */
.hero-collage {
  display: flex;
  align-self: stretch;
  height: 100%;
  min-height: 0;
  overflow: hidden;
  gap: 16px;
  -webkit-mask-image: linear-gradient(
    to bottom,
    transparent 6%,
    black 16%,
    black 84%,
    transparent 94%
  );
  mask-image: linear-gradient(
    to bottom,
    transparent 6%,
    black 16%,
    black 84%,
    transparent 94%
  );
}

.collage-col {
  flex: 1;
  min-width: 0;
  overflow: hidden;
}

.collage-track {
  display: flex;
  flex-direction: column;
  gap: 16px;
  width: 100%;
  animation: montage-scroll 30s linear infinite;
}

.collage-track--reverse {
  animation-duration: 36s;
  animation-direction: reverse;
}

.collage-col:hover .collage-track {
  animation-play-state: paused;
}

.collage-track img {
  width: 100%;
  height: auto;
  flex-shrink: 0;
  display: block;
  border-radius: 24px;
}

@keyframes montage-scroll {
  from {
    transform: translateY(0);
  }
  to {
    transform: translateY(-50%);
  }
}

@keyframes montage-scroll-x {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

@media (prefers-reduced-motion: reduce) {
  .collage-track {
    animation: none;
  }
}

/* ---------- Scroll reveal ----------
   Generic fade+rise primitive. JS (main.js) adds "is-visible" the first
   time an element enters the viewport, then strips both classes once
   the transition ends so no lingering rule can outlive the animation
   (e.g. interfere with .ticket-card:hover). Elements needing a
   different base transform (sponsor dots/center, role tags) get a
   combined-transform modifier further down instead of this generic
   rule. */
html.js .reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.65s ease-out, transform 0.65s ease-out;
  transition-delay: var(--reveal-delay, 0s);
}

html.js .reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- Countdown ---------- */
.countdown-section {
  padding-block: 24px 64px;
}

.countdown {
  display: flex;
  justify-content: space-between;
  max-width: 1000px;
  margin-inline: auto;
  padding: 44px 64px;
  border-radius: 24px;
  box-shadow: 0 30px 60px -20px rgba(240, 52, 197, 0.18);
}

.countdown-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.countdown-value {
  font-size: 48px;
  font-weight: 800;
  color: var(--color-pink);
  line-height: 1;
}

.countdown-label {
  font-size: 16px;
  color: var(--color-ink);
}

.event-meta {
  margin-top: 24px;
  text-align: center;
  font-size: 16px;
  font-weight: 600;
  color: var(--color-muted);
}

/* ---------- Shared: eyebrow label ---------- */
.eyebrow {
  color: var(--color-pink);
  font-size: 18px;
  font-weight: 600;
}

/* ---------- About ---------- */
.about {
  padding-block: 64px;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}

.about h2 {
  margin-top: 12px;
  font-size: 44px;
  font-weight: 800;
  color: var(--color-ink);
}

.about-copy {
  font-size: 22px;
  line-height: 1.6;
  color: var(--color-muted);
}

/* ---------- Shared: centered section intro ---------- */
.section-intro {
  max-width: 640px;
  margin-inline: auto;
  text-align: center;
}

.section-intro h2 {
  margin-top: 8px;
  font-size: 44px;
  font-weight: 800;
  color: var(--color-ink);
}

.section-subtext {
  margin-top: 16px;
  font-size: 20px;
  line-height: 1.5;
  color: var(--color-muted);
}

/* Status pill for content that's staged but not final yet (e.g.
   sponsor logos) — makes the placeholder state explicit instead of
   leaving it to read as unfinished/broken. */
.coming-soon-badge {
  display: inline-flex;
  margin-top: 20px;
  padding: 8px 20px;
  border-radius: 999px;
  background: #fdeaf8;
  color: var(--color-pink);
  font-size: 14px;
  font-weight: 600;
}

/* ---------- Event Highlights ---------- */
.highlights {
  padding-block: 64px;
}

.highlight-grid {
  display: grid;
  grid-template-columns: 2.5fr 1fr 1fr 1fr;
  gap: 24px;
  margin-top: 56px;
}

.highlight-card {
  position: relative;
  height: 443px;
  border-radius: 20px;
  overflow: hidden;
}

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

.highlight-caption {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 8px;
  padding: 28px;
  background: linear-gradient(
    to top,
    rgba(0, 0, 0, 0.65) 0%,
    rgba(0, 0, 0, 0) 55%
  );
  color: var(--color-white);
}

.highlight-caption h3 {
  font-size: 28px;
  font-weight: 700;
}

.highlight-caption p {
  font-size: 16px;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.85);
}

/* ---------- Who can attend ---------- */
.attend {
  padding-block: 64px;
}

.role-cluster {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px 16px;
  max-width: 1000px;
  margin: 64px auto 0;
}

.role-tag {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 24px;
  border-radius: 999px;
  border: 1.5px solid currentColor;
  font-size: 20px;
  font-weight: 500;
  white-space: nowrap;
  transform: rotate(var(--r, 0deg)) translateY(var(--y, 0px));
}

/* Tags settle into their existing scattered rotation instead of a
   plain vertical rise — start smaller and unrotated, pop into place. */
html.js .role-tag.reveal {
  opacity: 0;
  transform: rotate(0deg) translateY(24px) scale(0.85);
  transition: opacity 0.5s ease-out, transform 0.5s ease-out;
  transition-delay: var(--reveal-delay, 0s);
}

html.js .role-tag.reveal.is-visible {
  opacity: 1;
  transform: rotate(var(--r, 0deg)) translateY(var(--y, 0px)) scale(1);
}

.role-tag::before {
  content: "";
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: currentColor;
  flex-shrink: 0;
}

.role-tag--pink {
  color: var(--color-pink);
  background: #fdeaf8;
}

.role-tag--blue {
  color: var(--color-blue);
  background: #e9f2fe;
}

.role-tag--gold {
  color: #a9820a;
  background: #fcf5e2;
}

/* ---------- Tickets ---------- */
.tickets {
  padding-block: 64px;
}

.ticket-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 26px;
  max-width: 1280px;
  margin-top: 56px;
}

.ticket-card {
  display: block;
  position: relative;
  background: var(--color-ticket-blue);
  border-radius: 24px;
  padding: 40px;
  overflow: hidden;
  transition: transform 0.15s ease;
}

.ticket-card:hover {
  transform: translateY(-4px);
}

/* Ticket-stub notches: circles punched out of the top/bottom edge at the
   perforation line, plus the dotted tear line itself. */
.ticket-card::before,
.ticket-card::after {
  content: "";
  position: absolute;
  left: 91%;
  width: 40px;
  height: 40px;
  background: var(--color-white);
  border-radius: 50%;
  transform: translateX(-50%);
}

.ticket-card::before {
  top: 0;
  transform: translate(-50%, -50%);
}

.ticket-card::after {
  bottom: 0;
  transform: translate(-50%, 50%);
}

.ticket-card > * {
  position: relative;
}

.ticket-watermark {
  position: absolute;
  top: 50%;
  left: 91%;
  transform: translate(-50%, -50%);
  width: 110px;
  opacity: 0.15;
  pointer-events: none;
}

.ticket-name {
  font-size: 20px;
  color: var(--color-ink);
}

.ticket-price {
  margin-top: 12px;
  font-size: 34px;
  font-weight: 800;
  color: var(--color-ink);
}

.ticket-perks {
  margin-top: 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-width: 75%;
}

.ticket-perks li {
  display: flex;
  gap: 10px;
  font-size: 16px;
  color: var(--color-ink);
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.12);
}

/* ---------- Sponsors ---------- */
.sponsors {
  padding-block: 64px;
}

.sponsor-arcs {
  position: relative;
  width: 100%;
  aspect-ratio: 1280 / 650;
  margin-top: 56px;
}

.sponsor-arcs-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.sponsor-arcs-bg path {
  fill: none;
  stroke: var(--color-blue);
  stroke-width: 1.5;
}

.sponsor-logo {
  position: absolute;
  width: 7%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: #dddddd;
  transform: translate(-50%, -50%);
}

/* Dots pop in from their own center, preserving the base translate(-50%,-50%)
   that centers each dot on its left/top point. */
html.js .sponsor-logo.reveal {
  opacity: 0;
  transform: translate(-50%, -50%) scale(0.4);
  transition: opacity 0.5s ease-out, transform 0.5s ease-out;
  transition-delay: var(--reveal-delay, 0s);
}

html.js .sponsor-logo.reveal.is-visible {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}

.sponsor-center {
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

/* Center logo fades in after the dots settle, preserving the base
   translateX(-50%) that horizontally centers the lockup. */
html.js .sponsor-center.reveal {
  opacity: 0;
  transform: translateX(-50%) translateY(16px);
  transition: opacity 0.5s ease-out, transform 0.5s ease-out;
  transition-delay: var(--reveal-delay, 0s);
}

html.js .sponsor-center.reveal.is-visible {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

.sponsor-center img {
  height: 72px;
  width: auto;
}

.sponsor-center-line {
  width: 142px;
  height: 1px;
  background: var(--color-ink);
  opacity: 0.4;
}

/* ---------- Past Events ---------- */
.past-events {
  padding-block: 64px;
}

.carousel {
  display: flex;
  align-items: flex-start;
  gap: 24px;
  margin-top: 56px;
  padding-bottom: 8px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}

.carousel::-webkit-scrollbar {
  display: none;
}

.carousel-item {
  flex: 0 0 auto;
  height: 480px;
  border-radius: 20px;
  overflow: hidden;
  scroll-snap-align: start;
}

.carousel-item--offset-down {
  margin-top: 55px;
}

.carousel-item img {
  height: 100%;
  width: auto;
  object-fit: cover;
  display: block;
}

.carousel-nav {
  display: flex;
  gap: 16px;
  margin-top: 32px;
}

.carousel-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  border: none;
  background: var(--color-blue);
  color: var(--color-ink);
  font-size: 20px;
}

/* ---------- Location ---------- */
.location {
  padding-block: 64px;
}

.location-card {
  position: relative;
  margin-top: 56px;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 30px 60px -20px rgba(240, 52, 197, 0.18);
}

.location-map {
  display: block;
  width: 100%;
  height: 420px;
  border: 0;
}

.location-link {
  position: absolute;
  right: 24px;
  bottom: 24px;
}

@media (prefers-reduced-motion: reduce) {
  html.js .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }

  html.js .role-tag.reveal {
    opacity: 1;
    transform: rotate(var(--r, 0deg)) translateY(var(--y, 0px));
    transition: none;
  }

  html.js .sponsor-logo.reveal {
    opacity: 1;
    transform: translate(-50%, -50%);
    transition: none;
  }

  html.js .sponsor-center.reveal {
    opacity: 1;
    transform: translateX(-50%);
    transition: none;
  }

  html.js .benefit-card.reveal {
    opacity: 1;
    transform: rotate(var(--r, 0deg));
    transition: none;
  }
}

/* ---------- Get Involved (Become a Partner) page ---------- */
.partner-hero {
  padding-block: 96px 64px;
  text-align: center;
}

.partner-hero h1 {
  margin-top: 12px;
  font-size: 64px;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.01em;
  color: var(--color-ink);
}

.partner-hero-tagline {
  margin-top: 16px;
  font-size: 24px;
  font-weight: 600;
  color: var(--color-ink);
}

.partner-hero-copy {
  margin: 24px auto 0;
  max-width: 720px;
}

.partner-hero .hero-actions {
  justify-content: center;
  margin-top: 36px;
}

/* ---------- Sponsorship "why" + impact stats ---------- */
.sponsor-why {
  padding-block: 64px;
}

.benefit-list {
  margin: 40px auto 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-width: 720px;
  text-align: left;
}

/* Leading dot reuses the same marker convention as .role-tag::before,
   instead of a generic arrow glyph. */
.benefit-list li {
  position: relative;
  padding-left: 26px;
  padding-bottom: 16px;
  font-size: 16px;
  line-height: 1.6;
  color: var(--color-ink);
  border-bottom: 1px solid rgba(0, 0, 0, 0.12);
}

.benefit-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--color-pink);
}

.stat-callout {
  margin-top: 56px;
}

.stat-callout-label {
  text-align: center;
  font-size: 18px;
  font-weight: 700;
  color: var(--color-ink);
}

/* The two impact stats reuse the exact same pinned-badge shell as the
   sponsorship benefit cards below (.benefit-card) instead of a
   separate decorative device — one signature carried through the
   whole page rather than two competing ideas. */
.stat-badge-row {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 32px;
  margin-top: 40px;
}

.stat-badge {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  width: 240px;
  text-align: center;
}

.stat-badge .countdown-value {
  font-size: 44px;
}

.stat-badge .countdown-label {
  max-width: 190px;
}

/* ---------- Sponsorship benefit cards ---------- */
.sponsor-benefits {
  padding-block: 64px;
}

.benefit-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px 24px;
  margin-top: 64px;
}

/* Each benefit reads as a pinned event-access badge — the same
   artifact worn by attendees in the hero photography — rather than a
   generic bordered card: a color-banded top edge cycling the site's
   existing pink/blue/gold trio, a punched notch as if it clips to a
   lanyard (same technique as .ticket-card's notches), and a slight
   per-card rotation via --r (same device as .role-tag). */
.benefit-card {
  position: relative;
  padding: 40px 28px 28px;
  border-radius: 16px;
  background: var(--color-white);
  border: 1.5px solid rgba(0, 0, 0, 0.08);
  box-shadow: 0 16px 32px -18px rgba(0, 0, 0, 0.25);
  transform: rotate(var(--r, 0deg));
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.benefit-card:hover {
  transform: rotate(0deg) translateY(-4px);
  box-shadow: 0 20px 40px -16px rgba(0, 0, 0, 0.3);
}

.benefit-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 20px;
  right: 20px;
  height: 6px;
  border-radius: 0 0 3px 3px;
}

.benefit-card::after {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--color-white);
  border: 1.5px solid rgba(0, 0, 0, 0.1);
  transform: translate(-50%, -50%);
}

.benefit-card--pink::before {
  background: var(--color-pink);
}

.benefit-card--blue::before {
  background: var(--color-blue);
}

.benefit-card--gold::before {
  background: #a9820a;
}

.benefit-card h3 {
  margin-top: 8px;
  font-size: 20px;
  font-weight: 700;
  color: var(--color-ink);
}

.benefit-card p {
  margin-top: 12px;
  font-size: 16px;
  line-height: 1.6;
  color: var(--color-muted);
}

html.js .benefit-card.reveal {
  opacity: 0;
  transform: rotate(var(--r, 0deg)) translateY(24px) scale(0.92);
  transition: opacity 0.5s ease-out, transform 0.5s ease-out;
  transition-delay: var(--reveal-delay, 0s);
}

html.js .benefit-card.reveal.is-visible {
  opacity: 1;
  transform: rotate(var(--r, 0deg)) translateY(0) scale(1);
}

/* ---------- Closing partner CTA ---------- */
.partner-cta {
  padding-block: 64px 96px;
}

.partner-cta-action {
  margin-top: 32px;
  display: flex;
  justify-content: center;
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--color-footer-blue);
  padding-block: 56px;
  margin-top: 64px;
}

.footer-grid {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.footer-brand .logo img {
  height: 88px;
  width: auto;
  /* The logo's blue wordmark has almost no contrast against the blue
     footer, so render it as a flat white mark here (header keeps full
     color against the white background). */
  filter: brightness(0) invert(1);
}

.footer-brand .logo::before,
.footer-brand .logo::after {
  background: var(--color-ink);
}

.footer-tagline {
  margin-top: 44px;
  font-size: 16px;
  color: var(--color-ink);
}

.footer-event {
  margin-top: 16px;
  font-style: normal;
  font-size: 15px;
  line-height: 1.6;
  color: var(--color-ink);
}

.footer-event a {
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.footer-event p {
  margin-top: 2px;
}

.footer-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 32px;
}

.footer-nav {
  display: flex;
  gap: 32px;
}

.footer-nav a {
  color: var(--color-white);
  font-size: 16px;
}

.footer-social {
  display: flex;
  gap: 16px;
}

.footer-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 8px;
  color: var(--color-white);
}

.footer-social svg {
  width: 20px;
  height: 20px;
}

/* ---------- Responsive: nav, hero, highlights ---------- */
@media (max-width: 1024px) {
  .site-header {
    position: relative;
  }

  .nav-toggle {
    display: flex;
  }

  .main-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    max-height: 0;
    overflow: hidden;
    background: var(--color-white);
    transition: max-height 0.25s ease;
  }

  .main-nav.open {
    max-height: 320px;
    box-shadow: 0 16px 24px rgba(0, 0, 0, 0.08);
  }

  .main-nav ul {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    padding: 8px 24px 28px;
  }

  .main-nav a {
    display: block;
    width: 100%;
    padding: 12px 0;
  }

  /* Hero: stack, scale the type down, and let height follow content
     instead of forcing 100vh (mirrors varsityscape's mobile hero, which
     is natural-height with the montage as a strip below the copy). */
  .hero {
    height: auto;
    display: block;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .hero-content {
    padding-block: 40px 0;
  }

  .hero-content h1 {
    font-size: clamp(2.25rem, 8vw, 3.25rem);
    line-height: 1.15;
  }

  .hero-subtitle {
    font-size: 18px;
  }

  .hero-actions {
    flex-wrap: wrap;
    gap: 12px;
  }

  /* Vertical columns become horizontal scrolling rows, same technique
     varsityscape uses for its montage-scroll-x mobile variant. */
  .hero-collage {
    flex-direction: column;
    height: auto;
    gap: 12px;
    padding-bottom: 40px;
    -webkit-mask-image: none;
    mask-image: none;
  }

  .collage-col {
    flex: none;
    height: 130px;
    -webkit-mask-image: linear-gradient(
      to right,
      transparent 0%,
      black 8%,
      black 92%,
      transparent 100%
    );
    mask-image: linear-gradient(
      to right,
      transparent 0%,
      black 8%,
      black 92%,
      transparent 100%
    );
  }

  .collage-track {
    flex-direction: row;
    height: 100%;
    animation-name: montage-scroll-x;
  }

  .collage-track img {
    width: auto;
    height: 100%;
  }

  /* Event Highlights: swap the 4-column grid for a horizontal
     scroll-snap row of fixed-width cards. */
  .highlight-grid {
    display: flex;
    grid-template-columns: none;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 16px;
    margin-top: 40px;
    padding-bottom: 8px;
    scrollbar-width: none;
  }

  .highlight-grid::-webkit-scrollbar {
    display: none;
  }

  .highlight-card {
    flex: 0 0 78%;
    max-width: 320px;
    height: 380px;
    scroll-snap-align: start;
  }

  /* Smaller header/footer logo lockup — the desktop size eats too much
     vertical space in a narrow header. */
  .logo img {
    height: 60px;
  }

  .logo::before {
    margin-bottom: 14px;
  }

  .logo::after {
    margin-top: 20px;
  }

  /* Shared section heading/copy scale — covers About, Highlights,
     Who can attend, Tickets, Sponsors, Past Events in one place. */
  .section-intro h2,
  .about h2 {
    font-size: 32px;
  }

  .section-subtext,
  .about-copy {
    font-size: 17px;
  }

  .eyebrow {
    font-size: 15px;
  }

  .about,
  .highlights,
  .attend,
  .tickets,
  .sponsors,
  .past-events,
  .location {
    padding-block: 48px;
  }

  .location-card {
    margin-top: 40px;
  }

  .location-map {
    height: 280px;
  }

  .location-link {
    right: 16px;
    bottom: 16px;
    padding: 12px 22px;
    font-size: 14px;
  }

  /* Countdown: 2x2 instead of a cramped 4-across row. */
  .countdown {
    flex-wrap: wrap;
    justify-content: center;
    gap: 28px 16px;
    padding: 32px 24px;
  }

  .countdown-stat {
    flex: 0 0 calc(50% - 8px);
  }

  .countdown-value {
    font-size: 36px;
  }

  /* About: stack the two columns. */
  .about-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  /* Who can attend: tone the scatter down so labels don't collide. */
  .role-cluster {
    margin-top: 40px;
    gap: 12px 10px;
  }

  .role-tag {
    font-size: 15px;
    padding: 10px 16px;
    transform: rotate(calc(var(--r, 0deg) * 0.4))
      translateY(calc(var(--y, 0px) * 0.4));
  }

  html.js .role-tag.reveal.is-visible {
    transform: rotate(calc(var(--r, 0deg) * 0.4)) translateY(calc(var(--y, 0px) * 0.4)) scale(1);
  }

  /* Tickets: stack the two cards. */
  .ticket-grid {
    grid-template-columns: 1fr;
    margin-top: 40px;
  }

  .ticket-card {
    padding: 28px;
  }

  .ticket-price {
    font-size: 28px;
  }

  /* Sponsors: taller aspect + bigger logo circles so the arcs don't
     collapse into an unreadable smear at narrow widths. */
  .sponsor-arcs {
    aspect-ratio: 1280 / 900;
    margin-top: 40px;
  }

  .sponsor-logo {
    width: 11%;
  }

  .sponsor-center img {
    height: 48px;
  }

  .sponsor-center-line {
    width: 100px;
  }

  /* Past Events: shorter cards so more than a sliver fits on screen. */
  .carousel {
    margin-top: 40px;
    gap: 16px;
  }

  .carousel-item {
    height: 320px;
  }

  .carousel-item--offset-down {
    margin-top: 36px;
  }

  /* Footer: stack brand and nav/social instead of squeezing side by side. */
  .footer-grid {
    flex-direction: column;
    align-items: flex-start;
    gap: 40px;
  }

  .footer-right {
    align-items: flex-start;
    width: 100%;
  }

  .footer-nav {
    flex-wrap: wrap;
    gap: 16px 24px;
  }

  /* Get Involved page */
  .partner-hero,
  .sponsor-why,
  .sponsor-benefits,
  .partner-cta {
    padding-block: 48px;
  }

  .partner-hero h1 {
    font-size: clamp(2rem, 7vw, 2.75rem);
  }

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

@media (max-width: 480px) {
  .hero-actions .btn {
    flex: 1 1 auto;
    text-align: center;
  }

  .highlight-card {
    flex-basis: 86%;
    height: 340px;
  }

  .role-tag {
    transform: none;
  }

  html.js .role-tag.reveal.is-visible {
    transform: scale(1);
  }

  .ticket-card {
    padding: 24px;
  }

  .carousel-item {
    height: 260px;
  }

  .carousel-item--offset-down {
    margin-top: 24px;
  }
}
