/* All-In Mixer: the site's only stylesheet.
   Source: _work/src/site.css. The build copies it to static/assets/css/ and stamps its ?v=. Edit here, never in
   static/. Values are measured from the live WordPress/BeTheme site (_work/live/tokens.json, 2026-11-09).
   Breakpoint: phones below 768px, written as max-width 767.98px / min-width 768px (CIC CR 54). */

/* Inter (Rasmus Andersson, SIL Open Font License 1.1), variable weight 400-800, Latin subset, from Google Fonts. */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url('../fonts/inter-latin.woff2') format('woff2');
}
@font-face {
  font-family: 'Inter';
  font-style: italic;
  font-weight: 400 800;
  font-display: swap;
  src: url('../fonts/inter-latin-italic.woff2') format('woff2');
}

:root {
  --navy: #0c0b4d;
  --black: #000;
  --gold: #f1bc58;
  --gold-button: #e8af5d;
  --pink: #ff3465;
  --plum: #300843;
  --green: #96cb7a;
  --white: #fff;
  --caption: #737e86;
  --band: #f7f7f7;
  --ink: #161922;
  --crumb: rgba(22, 25, 34, .6);
  --icon: #868686;              /* live: #b5b5b5, 2.0:1 on white; darkened to pass 3:1 (BUILD.md) */
  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen-Sans, Ubuntu, Cantarell,
          'Helvetica Neue', sans-serif;
  --wrap: 1266px;               /* live: 1290px container less 12px column padding each side */
  --gutter: 33px;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--navy);
  color: var(--gold);
  font: 400 16px/24px var(--font);   /* live phone: 13px/19px, raised to 16px (Captain, 2026-11-09) */
}
@media (min-width: 768px) { body { font-size: 18px; line-height: 28px; } }

img, video { display: block; max-width: 100%; height: auto; }
a { color: var(--pink); text-decoration: none; }
a:hover { text-decoration: underline; }
a:focus-visible, .btn:focus-visible, video:focus-visible { outline: 3px solid var(--white); outline-offset: 3px; }
p { margin: 0 0 15px; }
h1, h2, h3, h4, h5, h6 { margin: 0 0 15px; color: var(--white); font-family: var(--font); }
.green { color: var(--green); }
.center { text-align: center; }

.skip {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  padding: 10px 16px; background: var(--white); color: var(--ink); border-radius: 4px;
}
.skip:focus { top: 12px; }

.wrap { width: min(var(--wrap), 100% - 2 * var(--gutter)); margin-inline: auto; }
@media (max-width: 767.98px) { .wrap { width: min(484px, 100% - 2 * var(--gutter)); } }

/* --- Header: the logo only, centred, 120px (Captain, 2026-11-09: live is 60px, top left on desktop).
       Desktop: over the first section. Phone: a navy bar. ---------------------------------------------------- */
.site-header { position: relative; z-index: 10; background: var(--navy); height: 140px; }
.site-header .wrap { display: flex; justify-content: center; align-items: center; height: 100%; }
.logo img { width: 120px; height: 120px; }
@media (min-width: 768px) {
  .site-header { position: absolute; top: 0; left: 0; right: 0; height: 152px; background: transparent; }
  .site-header .wrap { align-items: flex-start; padding-top: 16px; }
}

/* --- Sections ------------------------------------------------------------------------------------------------- */
.section { padding: 30px 0; }
.section--black { background: var(--black); }
.section--navy { background: var(--navy); }
.section--spaced { padding-top: 105px; }    /* live: 30px section padding + 75px wrap margin */
@media (max-width: 767.98px) { .section--spaced { padding-top: 75px; } }

/* Big centred lines (the live site used <h5> for these): 2025 winners, event details. */
.label, .bigline {
  margin: 0 0 15px; text-align: center; font-size: 20px; line-height: 24px;
}
.label { color: var(--gold); font-weight: 600; }
.bigline { color: var(--white); font-weight: 400; }
@media (min-width: 768px) { .label, .bigline { font-size: 32px; line-height: 30px; } }
.bigline--gap { margin-top: 30px; }   /* collapses with the 15px above: a blank line, as live */

/* --- Hero: video, note, flyer + call-to-action column ------------------------------------------------------- */
.hero { padding-top: 160px; }   /* clears the 120px logo above (live: 80px under a 60px logo) */
@media (max-width: 767.98px) { .hero { padding-top: 50px; } }
.hero__video { width: 960px; max-width: 100%; margin: 0 auto; background: var(--black); aspect-ratio: 16 / 9; }
.hero__video video { width: 100%; height: 100%; }
.hero__note { margin: 40px 0 40px; text-align: center; font-weight: 700; }
.hero__row { display: grid; gap: 40px; justify-items: center; }
.hero__flyer { width: 100%; max-width: 621px; }
.hero__side { width: 100%; max-width: 311px; text-align: center; }
@media (min-width: 768px) {
  .hero__row { grid-template-columns: minmax(0, 621px) minmax(0, 271px); gap: 12px 24px;
               justify-content: center; align-items: center; }
  .hero__side { max-width: none; }
}
.hero__title {
  font-size: 25px; line-height: 30px; font-weight: 800; margin-bottom: 15px; white-space: nowrap;
}
@media (max-width: 359.98px) { .hero__title { white-space: normal; } }
.hero__members { margin-bottom: 40px; }
.btn-list { list-style: none; margin: 0; padding: 0; }
.btn-list li { margin: 0 0 50px; }
.btn-list li:last-child { margin-bottom: 0; }
.btn-caption { display: block; margin-top: 8px; color: var(--caption); }

.btn {
  display: inline-block; max-width: 100%;
  padding: 15px 32px; border: 1px solid var(--plum); border-radius: 55px;
  background: var(--gold-button); color: #000;
  font: 700 16px/19px var(--font); text-align: center; text-decoration: none;
  transition: filter .2s, transform .2s;
}
a.btn:hover { text-decoration: none; filter: brightness(1.08); transform: translateY(-1px); }
/* An <a> with no href: looks like the live button, goes nowhere (Captain, 2026-11-09). Pointer cursor as live. */
.btn--inert { cursor: pointer; }
.btn-list .btn--inert { max-width: 247px; }
@media (max-width: 767.98px) { .btn-list .btn--inert { max-width: 100%; } }
.btn--small { font-size: 14px; line-height: 17px; }
.reg__button { margin: 0 0 15px; text-align: center; }

/* --- Winners ------------------------------------------------------------------------------------------------- */
.sponsor { margin: 30px 0 15px; text-align: center; color: var(--white); font-size: 16px; line-height: 28px; }
.sponsor img { margin: 0 auto; width: 125px; }
.winner-photo { margin: 15px auto 0; width: 500px; }
.photo-credit { text-align: center; font-size: 15px; margin: 10px 0 15px; }
.past-link { margin: 50px 0 60px; text-align: center; }

/* --- Event info ---------------------------------------------------------------------------------------------- */
.event__details { margin-bottom: 15px; }
.event__tagline {
  margin: 45px 0 15px; color: var(--gold); text-align: center;
  font-size: 22px; line-height: 28px; font-weight: 700;
}
.door-prize { margin: 25px 0 30px; text-align: center; color: var(--white); font-size: 25px; line-height: 25px; }
.door-prize small { display: block; margin-top: 4px; font-size: 16px; line-height: 20px; }
.lists { display: grid; gap: 30px; }
@media (min-width: 768px) {
  .event__tagline { font-size: 32px; line-height: 40px; }
  .lists { grid-template-columns: 1fr 1fr; gap: 24px; }
}
.list { text-align: center; }
.list h3 { color: var(--gold); margin: 0 0 30px; font-size: 22px; line-height: 28px; }
.list ul { list-style: none; margin: 0; padding: 0; color: var(--white); font-weight: 700;
           font-size: 22px; line-height: 28px; text-transform: uppercase; }
@media (min-width: 768px) {
  .list h3, .list ul { font-size: 32px; line-height: 40px; }
  .list h3 { margin-bottom: 40px; }
}
.event__disclaimer { margin: 40px 0 0; text-align: center; font-size: 14px; line-height: 20px; }

/* --- Registration -------------------------------------------------------------------------------------------- */
.reg { display: grid; gap: 30px; align-items: center; }
@media (min-width: 768px) { .reg { grid-template-columns: 1fr 1fr; gap: 0 52px; } }
.reg__image { width: 100%; max-width: 622px; margin: 0 auto; }
.reg__body { text-align: center; }
.reg__body h2 { font-size: 22px; line-height: 28px; font-weight: 700; }
.reg__body h3 { font-size: 18px; line-height: 24px; font-weight: 700; }
@media (min-width: 768px) {
  .reg__body h2 { font-size: 32px; line-height: 40px; white-space: nowrap; }
  .reg__body h3 { font-size: 24px; line-height: 30px; }
}
.reg__disclaimer { margin-top: 40px; text-align: left; }
.reg__disclaimer h3 { margin-bottom: 10px; }
.reg__disclaimer p { color: var(--white); font-size: 13px; line-height: 18px; text-align: justify; hyphens: auto; }
.reg__body .reg__agree { margin-top: 20px; color: var(--white); font-weight: 800; font-size: 18px; line-height: 24px; }
@media (min-width: 768px) { .reg__body .reg__agree { font-size: 24px; line-height: 30px; } }
.reg__body .reg__members { margin-top: 20px; font-size: 22px; line-height: 28px; }

/* --- Inner pages: the light title band (live: BeTheme's subheader) ------------------------------------------- */
.page-head { background: var(--band); padding: 30px 0; text-align: center; }
@media (min-width: 768px) { .page-head { padding-top: 156px; } }   /* clears the 120px logo laid over it */
.page-head__title {
  margin: 0 0 10px; color: var(--ink); font-size: 48px; line-height: 51px; font-weight: 800; letter-spacing: -.01em;
}
@media (min-width: 768px) { .page-head__title { font-size: 80px; line-height: 85px; } }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; margin: 0; padding: 0;
             color: var(--crumb); font-size: 16px; }
@media (min-width: 768px) { .crumbs ol { font-size: 18px; } }
.crumbs li + li::before { content: '\203A'; margin: 0 16px; }
.crumbs a { color: var(--crumb); }

/* --- Winners page: the 2024 list --------------------------------------------------------------------------------- */
.prize-list { list-style: none; margin: 0 0 30px; padding: 0; text-align: center; color: var(--white);
              line-height: 32px; }
@media (min-width: 768px) { .prize-list { line-height: 40px; } }

/* --- Photos page ------------------------------------------------------------------------------------------------- */
.year + .year { margin-top: 40px; }
.year__title { margin-bottom: 15px; font-size: 26px; line-height: 32px; font-weight: 800; }
@media (min-width: 768px) { .year__title { font-size: 32px; line-height: 40px; } }
.year__links { list-style: none; margin: 0 0 15px; padding: 0; font-weight: 700; }
.year__links li { margin-bottom: 15px; }
.year__credit strong { font-weight: 700; }

/* --- Photos 2026: the gallery and its lightbox --------------------------------------------------------------- */
.gallery { list-style: none; margin: 0; padding: 0; display: grid; gap: 24px; }
@media (min-width: 768px) { .gallery { grid-template-columns: repeat(3, 1fr); padding: 0 12px; } }
.gallery__item { background: var(--band); }
.gallery__link { display: block; }
.gallery { align-items: start; }
.gallery__img { width: 100%; background: #1b1a5c; }   /* natural ratio: the five portraits stand taller, as live */
.gallery__caption {
  margin: 0; padding: 10px 12px; color: #a6a6a6; font-size: 16px; line-height: 21px; text-align: center;
  text-transform: uppercase;
}
@media (min-width: 768px) { .gallery__caption { font-size: 18px; } }

.lb {
  position: fixed; inset: 0; z-index: 200; display: grid; place-items: center;
  background: rgba(11, 11, 11, .88); padding: 48px 64px;
}
.lb[hidden] { display: none; }
.lb__figure { position: relative; margin: 0; max-width: 100%; }
.lb__img { max-width: min(800px, 100%); max-height: calc(100vh - 120px); width: auto; height: auto;
           box-shadow: 0 0 8px rgba(0, 0, 0, .6); }
.lb__counter { position: absolute; right: 0; bottom: -28px; margin: 0; color: #ccc; font-size: 13px; }
.lb button { position: absolute; border: 0; background: none; color: #fff; cursor: pointer; opacity: .75; }
.lb button:hover, .lb button:focus-visible { opacity: 1; }
.lb button:focus-visible { outline: 2px solid #fff; }
.lb__close { top: -40px; right: -8px; width: 40px; height: 40px; font-size: 32px; line-height: 40px; }
.lb__prev, .lb__next { top: 50%; transform: translateY(-50%); width: 56px; height: 90px; }
.lb__prev { left: 8px; }
.lb__next { right: 8px; }
.lb__prev svg, .lb__next svg { width: 30px; height: 30px; fill: currentColor; }
@media (max-width: 767.98px) {
  .lb { padding: 48px 8px; }
  .lb__prev, .lb__next { top: auto; bottom: 8px; transform: none; height: 56px; }
}

/* --- Post -------------------------------------------------------------------------------------------------------- */
.post__meta { margin-bottom: 50px; color: rgba(255, 255, 255, .7); }
@media (min-width: 768px) { .post { padding-top: 70px; } .post__meta { margin-bottom: 90px; } }
.post__title { font-size: 24px; line-height: 32px; font-weight: 700; }
@media (min-width: 768px) { .post__title { font-size: 32px; line-height: 40px; } }
.post__title a { color: var(--white); text-decoration: underline; }   /* fix 3: live #300843 on navy, unreadable */
.emoji { font-family: 'Segoe UI Emoji', 'Apple Color Emoji', 'Noto Color Emoji', sans-serif; font-weight: 400; }
.share { display: flex; align-items: center; gap: 16px; margin: 50px 0 30px; }
.share__links { list-style: none; display: flex; gap: 6px; margin: 0; padding: 0; }
.share__links a { display: grid; place-items: center; width: 28px; height: 28px; color: #b5b5b5; }
.share__links a:hover { color: var(--white); }
.share__links svg { width: 17px; height: 17px; fill: currentColor; }

.prose { padding: 40px 0; }

/* --- Footer -------------------------------------------------------------------------------------------------- */
.site-footer {
  background: var(--white); color: var(--plum); border-top: 1px solid rgba(0, 0, 0, .08);
  padding: 40px 0 50px; text-align: center;
}
.site-footer p { margin: 0 0 10px; }
.social { list-style: none; display: flex; justify-content: center; gap: 4px; margin: 0; padding: 0; }
.social a { display: grid; place-items: center; width: 24px; height: 24px; color: var(--icon); border-radius: 4px; }
.social a:hover { color: var(--plum); }
.social svg { width: 15px; height: 15px; fill: currentColor; }

.to-top {
  position: fixed; right: 20px; bottom: 20px; z-index: 50;
  display: grid; place-items: center; width: 42px; height: 42px;
  background: var(--pink); border: 1px solid var(--plum); border-radius: 50%; color: #fff;
}
.to-top svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2.2; }
.to-top:hover { text-decoration: none; filter: brightness(1.08); }
@media (min-width: 1440px) { .to-top { right: 75px; } }

/* --- Entrance animation: BeTheme's fadeInDown, done in CSS. Only with JS (site.js adds .js to <html>), only
       below the first screen, and never under reduced motion. --------------------------------------------------- */
@media (prefers-reduced-motion: no-preference) {
  .js .reveal { opacity: 0; transform: translateY(-30px); }
  .js .reveal.is-in { opacity: 1; transform: none; transition: opacity .7s ease-out, transform .7s ease-out; }
}

.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
