/* ==========================================================================
   The Muslim Youth Engagement Awards 2026
   Brand palette read from the supplied Here For Youth logo files:
     gold  #FBF4AF / #D8B45C / #B68F32
     brand #FFD400 yellow, #EC690C orange, #E52A12 red, #E72887 magenta
   Theme is locked to a single dark ceremonial tone. One accent (gold) drives
   every control; the four brand colours appear once, as a signature rule.
   Shape rule: buttons are full pill, media and framed blocks are 4px.
   ========================================================================== */

/* --------------------------------------------------------- 1. Tokens */
:root {
  --ink: #0a0707;
  --ink-2: #120c0d;
  --ink-3: #1b1113;
  --wine: #2e0a0e;

  --gold-hi: #fbf4af;
  --gold-lit-1: #fbf4af;
  --gold: #d8b45c;
  --gold-2: #b68f32;

  --brand-yellow: #ffd400;
  --brand-orange: #ec690c;
  --brand-red: #e52a12;
  --brand-magenta: #e72887;
  --brand-rule: linear-gradient(90deg, var(--brand-yellow) 0%, var(--brand-orange) 34%, var(--brand-red) 66%, var(--brand-magenta) 100%);

  /* Brand gradient from the awards style guide: #fbf4af -> #c69e43 -> #b68f32 */
  --gold-grad: linear-gradient(92deg, #fbf4af 0%, #c69e43 56%, #b68f32 100%);
  --gold-grad-hover: linear-gradient(92deg, #fdf8d8 0%, #d3ac4f 56%, #c69e43 100%);

  --paper: #f7f1e8;
  --muted: rgba(247, 241, 232, 0.66);
  /* 0.56 keeps small metadata text above 4.5:1 on the dark base. */
  --muted-2: rgba(247, 241, 232, 0.56);
  --line: rgba(216, 180, 92, 0.24);
  --line-2: rgba(216, 180, 92, 0.13);

  /* Brand fonts: Afterglow is the display serif used in the awards lockup, and
     it is only used in capitals there, so display text is set in caps here too.
     Poppins is the brand sans and carries all UI and body copy. */
  --serif: "Afterglow", "Trajan Pro", Georgia, serif;
  --sans: "Poppins", -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;

  --nav-h: 72px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --r-media: 4px;
}

/* --------------------------------------------------------- 2. Base */
*,
*::before,
*::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-h) + 24px);
}

body {
  margin: 0;
  background: var(--ink);
  color: var(--paper);
  font-family: var(--sans);
  font-size: 17px;
  font-weight: 400;
  line-height: 1.62;
  letter-spacing: 0;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

h1, h2, h3 { margin: 0; font-family: var(--serif); font-weight: 400; letter-spacing: 0; text-transform: uppercase; }
p { margin: 0; }
ul, ol, dl, dd, dt, figure, blockquote { margin: 0; padding: 0; }
li { list-style: none; }
em { font-style: italic; }

a { color: inherit; text-decoration: none; }

button {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  cursor: pointer;
}

:focus-visible {
  outline: 2px solid var(--gold-hi);
  outline-offset: 3px;
  border-radius: 2px;
}

::selection { background: var(--gold); color: var(--ink); }

.skip-link {
  position: absolute;
  left: 20px;
  top: -80px;
  z-index: 60;
  padding: 12px 20px;
  background: var(--gold);
  color: var(--ink);
  border-radius: 999px;
  font-weight: 500;
  transition: top 0.2s var(--ease);
}
.skip-link:focus { top: 16px; }

.wrap {
  width: min(1400px, calc(100% - 80px));
  margin-inline: auto;
}

/* --------------------------------------------------------- 3. Type */
.h2 {
  font-size: 42px;
  line-height: 1.16;
  max-width: 22ch;
}

.h2--xl { font-size: 50px; max-width: 18ch; }

.lede {
  font-size: 19px;
  line-height: 1.7;
  color: var(--muted);
  max-width: 58ch;
}

/* Lit gold fill for display numerals and the price. */
.gold-lit { color: var(--gold); }
@supports (background-clip: text) or (-webkit-background-clip: text) {
  .gold-lit {
    background-image: linear-gradient(172deg, var(--gold-lit-1) 0%, var(--gold) 44%, var(--gold-2) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    -webkit-text-fill-color: transparent;
  }
}

/* --------------------------------------------------------- 4. Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 15px 30px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 500;
  line-height: 1;
  white-space: nowrap;
  border: 1px solid transparent;
  transition: transform 0.35s var(--ease), background-color 0.25s ease, color 0.25s ease, border-color 0.25s ease, box-shadow 0.35s var(--ease);
}

.btn--sm { padding: 11px 22px; font-size: 14px; }
.btn--lg { padding: 19px 38px; font-size: 16px; }

.btn--gold {
  border: 0;
  background-clip: padding-box;
  overflow: hidden;
  isolation: isolate;
  background-color: #c69e43; /* flat fallback for the brand gradient */
  background-image: var(--gold-grad);
  color: #140d05;
  box-shadow: 0 12px 34px -18px rgba(216, 180, 92, 0.85);
}
.btn--gold:hover { background-image: var(--gold-grad-hover); }

.btn--ghost {
  border-color: var(--line);
  color: var(--paper);
  background: rgba(247, 241, 232, 0.03);
}
.btn--ghost:hover {
  border-color: var(--gold);
  color: var(--gold-hi);
  background: rgba(216, 180, 92, 0.09);
}

.btn:active { transform: scale(0.98); }

.link-quiet {
  font-size: 14px;
  color: var(--muted);
  border-bottom: 1px solid var(--line);
  padding-bottom: 2px;
  transition: color 0.25s ease, border-color 0.25s ease;
}
.link-quiet:hover { color: var(--gold-hi); border-color: var(--gold); }

/* --------------------------------------------------------- 5. Nav */
.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 40;
}

.nav__inner {
  display: flex;
  align-items: center;
  gap: 32px;
  height: var(--nav-h);
  padding-inline: 40px;
  background: rgba(10, 7, 7, 0.6);
  border-bottom: 1px solid var(--line-2);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  backdrop-filter: blur(16px) saturate(140%);
  transition: background-color 0.3s ease;
}

.nav.is-stuck .nav__inner { background: rgba(10, 7, 7, 0.9); }

.nav__brand { display: flex; align-items: center; }
.nav__brand img { width: 132px; }

.nav__links {
  display: flex;
  align-items: center;
  gap: 30px;
  margin-left: 26px;
  font-size: 14.5px;
  color: var(--muted);
}
.nav__links a { transition: color 0.25s ease; }
.nav__links a:hover { color: var(--gold-hi); }

.nav__actions { display: flex; align-items: center; gap: 14px; margin-left: auto; }

.nav__toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 999px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
}
.nav__toggle span {
  display: block;
  width: 18px;
  height: 1.5px;
  background: var(--gold);
  transition: transform 0.3s var(--ease), opacity 0.3s ease;
}
.nav__toggle[aria-expanded="true"] span:first-child { transform: translateY(3.25px) rotate(45deg); }
.nav__toggle[aria-expanded="true"] span:last-child { transform: translateY(-3.25px) rotate(-45deg); }

.nav__sheet {
  display: none;
  flex-direction: column;
  gap: 4px;
  padding: 16px 20px 26px;
  background: rgba(10, 7, 7, 0.97);
  border-bottom: 1px solid var(--line-2);
}
.nav__sheet a {
  padding: 14px 4px;
  border-bottom: 1px solid var(--line-2);
  font-size: 16px;
}
.nav__sheet .btn { margin-top: 16px; border-bottom: 0; }

.nav__progress {
  position: absolute;
  inset: auto 0 0 0;
  height: 2px;
  background-image: var(--gold-grad);
  transform: scaleX(0);
  transform-origin: 0 50%;
}
@supports (animation-timeline: scroll()) {
  .nav__progress {
    animation-name: navGrow;
    animation-duration: auto;
    animation-timing-function: linear;
    animation-timeline: scroll(root);
  }
}
@keyframes navGrow {
  from { transform: scaleX(0); }
  to { transform: scaleX(1); }
}

/* --------------------------------------------------------- 6. Hero */
.hero {
  position: relative;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  min-height: calc(100dvh - 92px);
  padding-top: var(--nav-h);
  overflow: hidden;
}

.hero__media { position: absolute; inset: 0; z-index: -1; }

.hero__photo {
  position: absolute;
  inset: 0;
  background-image: url("../assets/photos/stage-wide.jpg");
  background-size: cover;
  background-position: center 34%;
}

.hero__wash {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(10, 7, 7, 0.92) 0%, rgba(10, 7, 7, 0.34) 24%, rgba(10, 7, 7, 0.62) 68%, rgba(10, 7, 7, 0.97) 100%),
    linear-gradient(96deg, rgba(10, 7, 7, 0.95) 0%, rgba(10, 7, 7, 0.78) 34%, rgba(46, 10, 14, 0.42) 62%, rgba(10, 7, 7, 0.72) 100%);
}

/* Fixed, pointer-events-none grain only. No scrolling-container filters. */
.hero__grain {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.16;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)' opacity='0.5'/%3E%3C/svg%3E");
}

.hero__trophy {
  position: absolute;
  z-index: 1;
  right: 4vw;
  bottom: 62px;
  height: min(36%, 360px);
  width: auto;
  pointer-events: none;
  filter: drop-shadow(0 40px 60px rgba(0, 0, 0, 0.72)) drop-shadow(0 0 40px rgba(216, 180, 92, 0.14));
  transform: translate3d(0, 0, 0);
}

.hero__inner {
  position: relative;
  z-index: 2;
  width: min(1400px, calc(100% - 80px));
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 26px;
  padding-block: 56px 40px;
  flex: 1;
}

.hero__eyebrow {
  font-size: 13.5px;
  font-weight: 400;
  color: var(--gold);
  padding-left: 46px;
  position: relative;
}
.hero__eyebrow::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 32px;
  height: 1px;
  background-image: var(--gold-grad);
}

.hero__title {
  max-width: 660px;
}

.hero__title img {
  width: 106%;
  max-width: none;
  margin-left: -5.5%;
  height: auto;
}

.btn[aria-busy="true"] { cursor: progress; }
html:not(.js) #eventbrite-widget-modal-trigger-2000396137697 { display: none; }
.nav__sheet[hidden] { display: none; }

@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) and (min-width: 1200px) {
    .frame {
      animation: frame-drift linear both;
      animation-timeline: view();
      animation-range: entry 0% exit 100%;
    }
    @keyframes frame-drift {
      from { translate: 0 14px; }
      to { translate: 0 -14px; }
    }
  }
}

.hero__sub {
  font-size: 19px;
  line-height: 1.65;
  color: rgba(247, 241, 232, 0.82);
  max-width: 52ch;
}

.hero__cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 8px; }

.hero__foot {
  position: relative;
  z-index: 2;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 34px;
  width: min(1400px, calc(100% - 80px));
  margin-inline: auto;
  padding-block: 18px 22px;
  font-size: 13px;
  color: var(--muted-2);
}

/* --------------------------------------------------------- 7. Reach */
.reach {
  background: linear-gradient(180deg, var(--ink) 0%, var(--ink-2) 100%);
}

.reach__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 72px;
  padding-block: 118px;
  align-items: start;
}

.reach__intro { display: flex; flex-direction: column; gap: 22px; }

.reach__figures { display: flex; flex-direction: column; }

.figure {
  display: grid;
  grid-template-columns: minmax(120px, auto) minmax(0, 1fr);
  align-items: baseline;
  gap: 28px;
  padding-block: 26px;
  border-bottom: 1px solid var(--line-2);
}
.figure:first-child { border-top: 1px solid var(--line-2); }

.figure dd {
  font-family: var(--serif);
  font-size: 54px;
  line-height: 1;
  font-weight: 500;
}

.figure dt {
  font-size: 15px;
  color: var(--muted);
  line-height: 1.5;
}

/* --------------------------------------------------------- 8. Split sections */
.split {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(0, 0.98fr);
  gap: 80px;
  align-items: center;
}

.split--flip .split__media { order: -1; }

.split__text { display: flex; flex-direction: column; gap: 24px; }

.split__media { position: relative; }

.split__media > img:not(.frame) {
  width: 100%;
  border-radius: var(--r-media);
  border: 1px solid var(--line-2);
}

.evening { padding-block: 130px; }

.split__media--offset { transform: translateY(28px); }

/* Agenda: no rules, the gold star is the separator. */
.agenda { display: flex; flex-direction: column; gap: 22px; margin-top: 12px; }
.agenda li {
  display: grid;
  grid-template-columns: 16px minmax(0, 1fr);
  align-items: baseline;
  gap: 20px;
}
.agenda__mark {
  width: 13px;
  height: 13px;
  background: var(--gold);
  clip-path: polygon(50% 0%, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%);
  transform: translateY(2px);
}
.agenda__label {
  font-family: var(--serif);
  font-size: 18px;
  line-height: 1.4;
  max-width: 40ch;
  font-weight: 400;
  text-transform: uppercase;
}

/* --------------------------------------------------------- 9. Journey */
.journey {
  padding-block: 120px;
  background: linear-gradient(180deg, var(--ink) 0%, var(--ink-2) 52%, var(--ink) 100%);
  border-block: 1px solid var(--line-2);
}

.journey__lede { margin-top: 22px; }

.path {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 34px;
  margin-top: 64px;
}

.path::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 7px;
  height: 1px;
  background: linear-gradient(90deg, rgba(251, 244, 175, 0) 0%, rgba(198, 158, 67, 0.8) 14%, rgba(182, 143, 50, 0.8) 50%, rgba(198, 158, 67, 0.8) 86%, rgba(182, 143, 50, 0) 100%);
}

.path__step { display: flex; flex-direction: column; gap: 14px; padding-right: 22px; }

.path__num {
  position: relative;
  z-index: 1;
  width: 15px;
  height: 15px;
  background: var(--gold);
  clip-path: polygon(50% 0%, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%);
}

.path__step h3 { font-size: 19px; line-height: 1.3; margin-top: 6px; }
.path__step p { font-size: 15px; color: var(--muted); }

/* --------------------------------------------------------- 10. Categories */
.categories { padding-block: 130px 0; }

.categories__head { display: flex; flex-direction: column; gap: 22px; margin-bottom: 54px; }

.cat-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 1px;
  background: var(--line-2);
  border: 1px solid var(--line-2);
  border-radius: var(--r-media);
  overflow: hidden;
}

.cat {
  position: relative;
  background: var(--ink);
  padding: 32px 30px;
  min-height: 168px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 26px;
  transition: background-color 0.4s ease;
}

/* Cursor spotlight on the tile. */
.cat::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.45s ease;
  background-image: radial-gradient(260px circle at var(--mx, 50%) var(--my, 50%), rgba(216, 180, 92, 0.17), transparent 72%);
}
.cat:hover::after { opacity: 1; }
.cat:hover { background: var(--ink-3); }

.cat__star {
  width: 17px;
  height: 17px;
  background: var(--gold-2);
  clip-path: polygon(50% 0%, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%);
  transition: background-color 0.35s ease;
}
.cat:hover .cat__star { background: var(--gold-hi); }

.cat__name {
  font-family: var(--serif);
  font-size: 20px;
  line-height: 1.35;
  font-weight: 400;
  text-transform: uppercase;
}

.cat:nth-child(1) { grid-column: span 7; }
.cat:nth-child(2) { grid-column: span 5; }
.cat:nth-child(3) { grid-column: span 4; }
.cat:nth-child(4) { grid-column: span 4; }
.cat:nth-child(5) { grid-column: span 4; }
.cat:nth-child(6) { grid-column: span 3; }
.cat:nth-child(7) { grid-column: span 3; }
.cat:nth-child(8) { grid-column: span 3; }
.cat:nth-child(9) { grid-column: span 3; }
.cat:nth-child(10) { grid-column: span 12; }
.cat:nth-child(10) .cat__name { font-size: 26px; max-width: 30ch; }

.categories__trophy {
  position: relative;
  margin-top: 96px;
  height: 46vh;
  min-height: 320px;
  overflow: hidden;
}
.categories__trophy img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 44%;
}
.categories__trophy::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, var(--ink) 0%, rgba(10, 7, 7, 0) 26%, rgba(10, 7, 7, 0) 62%, var(--ink) 100%);
}

/* --------------------------------------------------------- 11. Last year */
.lastyear {
  padding-block: 120px 0;
  background: var(--ink);
  border-top: 1px solid var(--line-2);
}

.lastyear .wrap > .lede { margin-top: 22px; }

.film { position: relative; margin-top: 48px; max-width: 1080px; }

.film__facade {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: var(--r-media);
  border: 1px solid var(--line);
  padding: 0;
}
.film__facade img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
  transition: transform 0.9s var(--ease);
}
.film__facade:hover img { transform: scale(1.035); }
.film__facade::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10, 7, 7, 0.2) 0%, rgba(10, 7, 7, 0.62) 100%);
}

.film__play {
  position: absolute;
  z-index: 2;
  left: 50%;
  top: 50%;
  translate: -50% -50%;
  width: 92px;
  height: 92px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background-color: #c69e43;
  background-image: var(--gold-grad);
  box-shadow: 0 22px 60px -22px rgba(0, 0, 0, 0.9);
  transition: transform 0.4s var(--ease), background-color 0.3s ease;
}
.film__facade:hover .film__play { transform: scale(1.06); background-image: var(--gold-grad-hover); }

.film__triangle {
  width: 0;
  height: 0;
  margin-left: 7px;
  border-top: 12px solid transparent;
  border-bottom: 12px solid transparent;
  border-left: 19px solid #140d05;
}

.film__caption {
  position: absolute;
  z-index: 2;
  left: 26px;
  bottom: 22px;
  font-size: 13.5px;
  color: var(--gold);
}

.film iframe {
  width: 100%;
  aspect-ratio: 16 / 9;
  border: 0;
  border-radius: var(--r-media);
  display: block;
}

.rail-block { margin-top: 76px; }

.rail__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 24px;
}

.rail__label { font-size: 14px; color: var(--muted-2); }

.rail__nav { display: flex; gap: 10px; }

.rail__btn {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--gold);
  transition: background-color 0.25s ease, border-color 0.25s ease, color 0.25s ease, transform 0.3s var(--ease);
}
.rail__btn:hover { background: rgba(216, 180, 92, 0.12); border-color: var(--gold); color: var(--gold-hi); }
.rail__btn:active { transform: scale(0.94); }
.rail__btn:disabled { opacity: 0.35; cursor: default; transform: none; }

.rail {
  display: flex;
  gap: 18px;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  padding-inline: max(40px, calc((100% - 1400px) / 2));
  padding-bottom: 26px;
  cursor: grab;
  scrollbar-width: none;
}
.rail::-webkit-scrollbar { display: none; }
.rail.is-dragging { cursor: grabbing; scroll-snap-type: none; }

.rail__item {
  flex: 0 0 auto;
  height: 420px;
  scroll-snap-align: center;
  width: 630px;
}
.rail__item--wide { width: 800px; }
.rail__item--tall { width: 315px; }

.shot {
  display: block;
  width: 100%;
  height: 100%;
  padding: 0;
  border-radius: var(--r-media);
  overflow: hidden;
  border: 1px solid var(--line-2);
  background: var(--ink-3);
}
.shot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1s var(--ease), filter 0.5s ease;
  filter: saturate(0.92);
}
.shot:hover img { transform: scale(1.045); filter: saturate(1.02); }

/* --------------------------------------------------------- 12. Venue */
.venue { padding-block: 130px; }

.venue__location { color: var(--gold); font-size: 13px; margin-bottom: 14px; }
.venue__details { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 30px 32px; margin-top: 24px; }
.venue__detail dt { font-size: 13px; color: var(--muted); margin-bottom: 8px; }
.venue__detail dd { font-size: 17px; }
.venue__detail--date dd { font-family: var(--serif); font-size: 27px; color: var(--gold-hi); text-transform: uppercase; line-height: 1.25; }
.venue__detail--time dd { font-size: 20px; line-height: 1.6; }
.venue__detail--address { grid-column: 1 / -1; padding-block: 26px; border-block: 1px solid var(--line-2); }
.categories__notice { margin-top: 28px; font-size: 13px; color: var(--muted); }
.journey__intro { display: flex; gap: 56px; align-items: center; }
.journey__intro > div { flex: 1; min-width: 0; }

.venue__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 24px;
  margin-top: 30px;
}

/* --------------------------------------------------------- 13. Tickets */
.tickets {
  position: relative;
  padding-block: 132px 120px;
  background:
    linear-gradient(180deg, var(--ink) 0%, #1d0f11 34%, var(--wine) 58%, #170c0d 100%);
  border-top: 1px solid var(--line);
  overflow: hidden;
}

.tickets::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10, 7, 7, 0.6) 0%, rgba(10, 7, 7, 0) 30%, rgba(10, 7, 7, 0.82) 100%);
  pointer-events: none;
}

.tickets__inner {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  text-align: center;
}

.tickets__when {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  margin-top: 4px;
}

.tickets__date {
  font-family: var(--serif);
  font-size: 34px;
  line-height: 1.15;
  color: var(--gold);
  text-transform: uppercase;
}

.tickets__where { font-size: 15px; color: var(--muted-2); }

.tickets__cta { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; margin-top: 14px; }

.tickets__rsvp { font-size: 15px; color: var(--muted); max-width: 54ch; }

.tickets__close {
  font-size: 17px;
  line-height: 1.6;
  color: var(--paper);
  max-width: 52ch;
  margin-top: 10px;
}


/* --------------------------------------------------------- 14. Footer */
.footer { background: var(--ink); }

.footer__rule { height: 3px; background: var(--brand-rule); opacity: 0.9; }

.footer__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 60px;
  padding-block: 76px;
}

.footer__brand { display: flex; flex-direction: column; gap: 20px; }
.footer__brand img { width: 148px; }
.footer__brand p { font-size: 15px; color: var(--muted-2); max-width: 34ch; }

.footer__nav { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px; }
.footer__nav div { display: flex; flex-direction: column; gap: 12px; }
.footer__nav h3 {
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 500;
  color: var(--gold);
  margin-bottom: 4px;
}
.footer__nav a { font-size: 15px; color: var(--muted); transition: color 0.25s ease; }
.footer__nav a:hover { color: var(--gold-hi); }

.footer__base {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 40px;
  padding-block: 34px 44px;
  border-top: 1px solid var(--line-2);
}

.footer__partner { display: flex; flex-direction: column; gap: 14px; }
.footer__partner-label { font-size: 12.5px; color: var(--muted-2); }
.footer__sponsor { width: 168px; height: auto; }
.footer__credit { font-size: 13.5px; color: var(--muted-2); }

/* --------------------------------------------------------- 15. Lightbox */
.lightbox {
  width: min(1240px, calc(100% - 48px));
  max-width: none;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--paper);
}
.lightbox::backdrop { background: rgba(6, 4, 4, 0.94); }

.lightbox__figure { display: flex; flex-direction: column; gap: 16px; }
.lightbox__figure img {
  width: 100%;
  max-height: 76vh;
  object-fit: contain;
  border-radius: var(--r-media);
}

.lightbox__close {
  position: fixed;
  top: 22px;
  right: 26px;
  width: 48px;
  height: 48px;
  font-size: 26px;
  line-height: 1;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--gold);
  background: rgba(10, 7, 7, 0.7);
}
.lightbox__close:hover { background: rgba(216, 180, 92, 0.16); }

.lightbox__nav {
  position: fixed;
  top: 50%;
  translate: 0 -50%;
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--gold);
  background: rgba(10, 7, 7, 0.72);
}
.lightbox__nav:hover { background: rgba(216, 180, 92, 0.16); }
.lightbox__nav--prev { left: 20px; }
.lightbox__nav--next { right: 20px; }

/* --------------------------------------------------------- 16. Reveal
   Scoped to .js so the page is fully readable without JavaScript. */
.js .reveal {
  opacity: 0;
  transform: translate3d(0, 22px, 0);
  transition: opacity 0.75s var(--ease), transform 0.75s var(--ease);
  transition-delay: calc(var(--d, 0) * 85ms);
  will-change: opacity, transform;
}
.js .reveal.is-in { opacity: 1; transform: none; }

@media print {
  .js .reveal { opacity: 1; transform: none; }
}

/* --------------------------------------------------------- 17. Breakpoints */
@media (max-width: 1240px) {
  .hero__title { max-width: 610px; }
  .h2 { font-size: 36px; }
  .h2--xl { font-size: 42px; }
  .reach__grid { gap: 54px; }
  .split { gap: 56px; }
  .cat__name { font-size: 18px; }
  .cat:nth-child(10) .cat__name { font-size: 23px; }
  .rail__item { width: 560px; }
  .rail__item--wide { width: 700px; }
}

@media (max-width: 1024px) {
  .nav__links { display: none; }
  .nav__toggle { display: flex; }
  .nav__sheet { display: none; }
  .nav__sheet.is-open { display: flex; }

  .hero { min-height: auto; }
  .hero__inner { padding-block: 96px 64px; justify-content: flex-start; }
  .hero__title { max-width: 580px; }
  .hero__trophy { height: min(28%, 260px); right: 2vw; bottom: 62px; opacity: 0.92; }

  .reach__grid { grid-template-columns: 1fr; gap: 44px; padding-block: 90px; }
  .split, .split--flip .split__media { grid-template-columns: 1fr; order: 0; }
  .evening, .venue { padding-block: 96px; }
  .path { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px 30px; }
  .path::before { display: none; }
  .cat-grid { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .cat:nth-child(1), .cat:nth-child(2), .cat:nth-child(10) { grid-column: span 6; }
  .cat:nth-child(3), .cat:nth-child(4), .cat:nth-child(5) { grid-column: span 3; }
  .cat:nth-child(6), .cat:nth-child(7), .cat:nth-child(8), .cat:nth-child(9) { grid-column: span 3; }
  .categories__trophy { height: 40vh; }
  .rail__item { width: 480px; height: 340px; }
  .rail__item--wide { width: 600px; }
  .rail__item--tall { width: 255px; }
  .rail { padding-inline: 40px; }
}

@media (max-width: 760px) {
  body { font-size: 16px; }
  .wrap, .hero__inner, .hero__foot { width: calc(100% - 40px); }
  .nav__inner { padding-inline: 20px; gap: 16px; }
  .nav__brand img { width: 108px; }

  .h2 { font-size: 27px; }
  .h2--xl { font-size: 31px; max-width: 100%; }
  .lede { font-size: 17px; }

  .hero { padding-top: 64px; }
  .hero__inner { padding-block: 72px 48px; gap: 22px; }
  .hero__title { max-width: 100%; }
  .hero__sub { font-size: 16.5px; }
  /* The trophy is a full-bleed object at desktop; on a narrow column it only
     collides with the CTAs, so the ceremony photograph carries the hero. */
  .hero__trophy { display: none; }
  .hero__foot { flex-direction: column; gap: 8px; font-size: 12.5px; }
  .hero__eyebrow { font-size: 12.5px; padding-left: 38px; }
  .hero__eyebrow::before { width: 26px; }
  .btn { padding: 14px 24px; }
  .btn--lg { padding: 17px 26px; }
  .hero__cta .btn { flex: 1 1 100%; }

  .reach__grid { padding-block: 72px; gap: 34px; }
  .figure { grid-template-columns: 1fr; gap: 6px; padding-block: 20px; }
  .figure dd { font-size: 42px; }

  .evening, .venue { padding-block: 72px; }
  .split { gap: 40px; }
  .agenda li { grid-template-columns: 14px minmax(0, 1fr); gap: 8px 14px; }
  .agenda__label { font-size: 17px; max-width: 100%; }

  .journey { padding-block: 72px; }
  .path { grid-template-columns: 1fr; gap: 34px; margin-top: 44px; }

  .categories { padding-block: 72px 0; }
  .cat-grid { grid-template-columns: 1fr; }
  .cat:nth-child(n) { grid-column: span 1; }
  .cat { min-height: 0; padding: 26px 24px; gap: 18px; }
  .cat__name, .cat:nth-child(10) .cat__name { font-size: 17px; }
  .categories__trophy { margin-top: 0; height: 34vh; min-height: 240px; }

  .lastyear { padding-block: 72px 0; }
  .film { margin-top: 32px; }
  .film__play { width: 68px; height: 68px; }
  .film__triangle { border-top-width: 9px; border-bottom-width: 9px; border-left-width: 14px; }
  .rail-block { margin-top: 48px; }
  .rail { padding-inline: 20px; padding-bottom: 20px; }
  .rail__item { width: 78vw; height: 60vw; }
  .rail__item--wide { width: 88vw; }
  .rail__item--tall { width: 60vw; }

  .venue__details { gap: 24px; }
  .venue__detail--date dd { font-size: 23px; }
  .venue__detail--time dd { font-size: 17px; }
  .tickets { padding-block: 84px 72px; }
  .tickets__date { font-size: 24px; }
  .tickets__cta .btn { flex: 1 1 100%; }

  .footer__grid { grid-template-columns: 1fr; gap: 44px; padding-block: 56px; }
  .footer__base { flex-direction: column; align-items: flex-start; gap: 18px; }
  .lightbox__nav--prev { left: 8px; }
  .lightbox__nav--next { right: 8px; }
}

/* --------------------------------------------------------- 18. Preferences */
@media (prefers-reduced-transparency: reduce) {
  .nav__inner, .nav.is-stuck .nav__inner { background: var(--ink); -webkit-backdrop-filter: none; backdrop-filter: none; }
  .nav__sheet { background: var(--ink); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
  .reveal { opacity: 1; transform: none; }
  .js .reveal { opacity: 1; transform: none; }
  .hero__trophy { transform: none !important; }
  .film__facade:hover img, .shot:hover img { transform: none; }
  .nav__progress { display: none; }
}

/* --------------------------------------------------------- 19. Brand frames
   The ornate gold frames from the awards social artwork, scattered over the
   photography. They are decoration only: never focusable, never clickable, and
   hidden below 1200px so they can never collide with text on a narrow screen. */
.frame { display: none; }

@media (min-width: 1200px) {
  .frame {
    display: block;
    position: absolute;
    z-index: 3;
    pointer-events: none;
    filter: drop-shadow(0 28px 48px rgba(0, 0, 0, 0.6));
  }

  .frame img { width: 100%; height: auto; display: block; }

  /* evening: over the lower-left corner of the room photograph */
  .frame--evening {
    width: 196px;
    left: -42px;
    bottom: -44px;
    rotate: -6deg;
  }

  /* venue: over the lower-right corner of the venue photograph */
  .frame--venue {
    width: 182px;
    right: -44px;
    bottom: -40px;
    rotate: 5deg;
  }

  .frame--journey {
    position: relative;
    flex: 0 0 140px;
    width: 140px;
    rotate: 5deg;
  }

  /* tickets: the two flanking frames from the launch composition */
  .frame--tickets-a {
    width: 236px;
    left: -12px;
    top: 7%;
    rotate: -8deg;
  }

  .frame--tickets-b {
    width: 178px;
    right: -8px;
    bottom: 5%;
    rotate: 6deg;
  }
}

@media (min-width: 1025px) {
  /* The Saffron Gallery photograph is a portrait shot supplied at 415px wide, so
     the media column is narrowed rather than upscaling the image. */
  .venue .split { grid-template-columns: minmax(0, 0.78fr) minmax(0, 1.22fr); }
}

/* Held at native size at every width so the small source is never upscaled,
   and centred once the split collapses to a single column. */
.split__media--portrait { max-width: 415px; }

@media (max-width: 1024px) {
  .split__media--portrait { margin-inline: auto; }
}
