:focus-visible {
  outline: 3px solid #f4f1e8;
  outline-offset: 4px;
}

.venue-line {
  margin: 6px 0 0;
  color: #fff;
  font-size: .92rem;
  font-weight: 900;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.mobile-menu {
  display: none;
}

.mobile-menu summary {
  list-style: none;
}

.mobile-menu summary::-webkit-details-marker {
  display: none;
}

/* Switch to the compact navigation before the links push the page sideways. */
@media (min-width: 1241px) and (max-width: 1400px) {
  .brand span { display: none; }
}

@media (min-width: 681px) and (max-width: 950px) {
  .page-hero .club-intro {
    grid-template-columns: minmax(0, 1fr) 220px;
    gap: 24px;
  }

  .page-hero-with-art .wrap {
    grid-template-columns: minmax(0, 1fr) 120px;
    gap: 20px;
  }
}

@media (max-width: 1240px) {
  .topbar {
    position: sticky;
  }

  .nav {
    display: grid;
    grid-template-columns: 1fr auto;
    padding: 10px 0;
  }

  .navlinks {
    display: none;
  }

  .mobile-menu {
    position: relative;
    display: block;
    justify-self: end;
  }

  .mobile-menu summary {
    min-width: 82px;
    min-height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #e4b64f;
    background: #e4b64f;
    color: #090909;
    cursor: pointer;
    font-size: .82rem;
    font-weight: 950;
    letter-spacing: .08em;
    text-transform: uppercase;
  }

  .mobile-menu[open] summary {
    background: #f4f1e8;
  }

  .mobile-links {
    position: absolute;
    z-index: 20;
    top: calc(100% + 10px);
    right: 0;
    width: min(310px, calc(100vw - 28px));
    max-height: calc(100vh - 120px);
    overflow-y: auto;
    display: grid;
    gap: 5px;
    padding: 9px;
    border: 1px solid #607079;
    background: #080b0d;
    box-shadow: 0 16px 38px rgba(0, 0, 0, .55);
  }

  .mobile-links a {
    min-height: 48px;
    display: flex;
    align-items: center;
    padding: 10px 13px;
    border: 1px solid #293138;
    color: #f4f1e8;
    text-decoration: none;
    font-size: .9rem;
    font-weight: 800;
  }

  .mobile-links a[aria-current="page"] {
    border-color: #e4b64f;
  }

  .mobile-links .button {
    justify-content: center;
    margin-top: 3px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

.sponsor-recognition {
  background: linear-gradient(180deg, #0b0f12, #080b0d);
}

.founding-sponsors {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.sponsor-logo-card {
  min-height: 320px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 28px;
  border: 1px solid #e4b64f;
  background: #11171b;
  text-align: center;
}

.sponsor-logo-card img {
  display: block;
  width: min(100%, 310px);
  height: 210px;
  object-fit: contain;
}

.sponsor-logo-card h3 {
  margin: 18px 0 3px;
  min-height: 2.6em;
  line-height: 1.3;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.sponsor-logo-card span {
  color: #e4b64f;
  font-size: .73rem;
  font-weight: 900;
  letter-spacing: .13em;
  text-transform: uppercase;
}

.sponsor-logo-link {
  display: flex;
  width: 100%;
  flex-direction: column;
  align-items: center;
  color: inherit;
  text-decoration: none;
}

.sponsor-logo-link:focus-visible {
  outline-color: #e4b64f;
}

.individual-supporters {
  display: grid;
  grid-template-columns: 1fr 1.35fr;
  gap: 50px;
  align-items: center;
  margin-top: 28px;
  padding: 26px 30px;
  border: 1px solid #39444b;
  background: #0b0f12;
}

.individual-supporters h3 {
  margin: 5px 0 0;
  font-size: 1.55rem;
  text-transform: uppercase;
}

.individual-supporters p {
  margin: 0;
  color: #b7c0c4;
}

@media (max-width: 950px) {
  .founding-sponsors {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 680px) {
  .founding-sponsors,
  .individual-supporters {
    grid-template-columns: 1fr;
  }

  .individual-supporters {
    gap: 16px;
  }
}

/* Phone-only refinements. Desktop and tablet layouts remain unchanged. */
@media (max-width: 680px) {
  .wrap {
    width: calc(100% - 24px);
  }

  .nav {
    min-height: 82px;
  }

  .brand img {
    width: 62px;
    height: 62px;
  }

  .hero {
    min-height: auto;
    padding: 54px 0 30px;
  }

  .hero h1 {
    margin-bottom: 16px;
    font-size: clamp(2.75rem, 14vw, 4.1rem);
  }

  .event-strip {
    margin-top: 30px;
  }

  .event-strip div {
    padding: 13px 14px;
  }

  .section {
    padding: 48px 0;
  }

  .section-head {
    gap: 16px;
    margin-bottom: 26px;
  }

  .panel,
  .card,
  .payment-box {
    padding: 22px;
  }

  .summary-grid,
  .summary-grid.four-up,
  .sponsor-levels,
  .two-col,
  .payment {
    gap: 12px;
  }

  .contact-band,
  .registration-preview,
  .individual-supporters {
    padding: 24px 20px;
  }

  .contact-actions {
    width: 100%;
  }

  .contact-actions .button {
    flex: 1 1 100%;
    min-height: 48px;
  }

  .registration-preview .button,
  .payment-box .button {
    width: 100%;
    min-height: 48px;
  }

  .page-hero {
    padding: 40px 0 34px;
  }

  .page-hero p,
  .section-head p,
  .registration-preview p {
    font-size: 1rem;
  }

  .sponsor-logo-card {
    min-height: auto;
    padding: 22px 18px;
  }

  .sponsor-logo-card img {
    height: 160px;
  }

  .cta {
    padding: 58px 18px;
  }

  .footer-landscape {
    height: 120px;
  }

  /* Keep interior titles at the full available width. */
  .page-hero-with-art .wrap {
    grid-template-columns: minmax(0, 1fr);
  }

  .page-hero-art {
    display: none;
  }
}

.rcbs-card img { background: #fff; padding: 18px; }
.rcbs-card .button { margin: 10px 0; }

/* Keyboard and narrow-screen access. */
.skip-link{position:fixed;top:-100px;left:12px;z-index:100;padding:12px 18px;background:#f4f1e8;color:#080b0d;font-weight:800}
.skip-link:focus{top:12px}.registration-readiness{font-size:.95rem;line-height:1.5}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*::before,*::after{animation:none!important;transition:none!important}}
@media(max-width:400px){.wrap{width:calc(100% - 28px)}.contact-actions .button{width:100%}.event-strip div{padding:12px 10px}.event-strip strong{overflow-wrap:anywhere}}

.history-notes{margin-top:26px;padding:24px;border:1px solid var(--gold);background:var(--panel)}.history-notes h3{margin-top:0}.history-notes li{margin:12px 0}.winner small{line-height:1.5}.winner.provisional{border-style:dashed}.winner.confirmed{border-color:var(--gold)}.history-notes .button{white-space:normal;text-align:center;max-width:100%}

/* Keep champion names upright and the card details on shared rows. */
.winner{display:grid;grid-template-rows:30px minmax(44px,auto) 1fr;row-gap:12px;align-content:start}
.winner span{margin:0;font-family:Arial,Helvetica,sans-serif;font-size:16px;font-weight:600;font-style:normal;font-synthesis:none;letter-spacing:normal;line-height:22px;transform:none;text-align:left}
.winner small{margin:0}
.signup-fields[hidden]{display:none!important}
.signup-feedback:not(:empty){margin-top:18px;padding:16px 20px;border:1px solid var(--gold);line-height:1.5}
.signup-success{background:#10352a;border:2px solid #6fddb0!important;border-radius:8px;color:#fff;box-shadow:0 8px 28px #0005}
.signup-success h3{margin:0 0 12px;color:#95f0c9;font-size:clamp(1.35rem,4vw,1.75rem);line-height:1.25}
.signup-success p{margin:8px 0;color:#fff}
.signup-success .signup-confirmation-note{font-size:.9rem;color:#c6dfd4}
.signup-success:focus{outline:3px solid #95f0c9;outline-offset:4px}
.signup-error{background:#3b1919;color:#fff;border-color:#f5a3a3!important}

/* Larger primary navigation labels */
@media(min-width:1241px){.brand span{display:none}.navlinks{gap:clamp(14px,1.4vw,24px)}.navlinks a{font-size:1.05rem;font-weight:850;line-height:1.3}.navlinks .button{font-size:.95rem;padding:14px 18px}.nav{gap:24px}}
@media(max-width:1240px){.mobile-links a{font-size:1.05rem}.mobile-menu summary{font-size:.95rem}}

/* Readable single-line primary tabs after gallery consolidation */
@media(min-width:1241px){.navlinks{gap:18px;flex-wrap:nowrap}.navlinks a{font-size:.98rem;white-space:nowrap}.navlinks .button{font-size:.88rem;padding:14px 16px}.nav{gap:22px}}
.gallery-jump{margin:18px 0}#challenge-photos{scroll-margin-top:120px}
