@font-face {
  font-family: 'Avenir';
  src: url('assets/AvenirLTProMedium.otf') format('opentype');
  font-weight: 400 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Avenir';
  src: url('assets/AvenirLTProHeavy.otf') format('opentype');
  font-weight: 700 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Avenir Next Condensed';
  src: url('assets/AvenirNextLTPro-Cn.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Avenir Next Condensed';
  src: url('assets/AvenirNextLTPro-MediumCn.ttf') format('truetype');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Cinzel';
  src: url('assets/Cinzel.ttf') format('truetype');
  font-weight: 400 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Gantari';
  src: url('assets/Gantari.ttf') format('truetype');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
:root {
  --night: #212330;
  --ink: #323445;
  --gold: #ffe7c8;
  --cream: #fcf8ee;
  --body: 'Avenir', 'Avenir Next', 'Manrope', sans-serif;
  --display: 'Cinzel', Georgia, serif;
}
* {
  box-sizing: border-box;
}
.desktop-only {
  display: none;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 95px;
}
body {
  margin: 0;
  background: var(--night);
  font-family: var(--body);
  color: var(--ink);
  font-size: 15px;
  line-height: 1.65;
}
a {
  color: inherit;
}
button,
input {
  font: inherit;
}
button,
a {
  -webkit-tap-highlight-color: transparent;
}
a:focus-visible,
button:focus-visible,
input:focus-visible {
  outline: 3px solid #b8874d;
  outline-offset: 5px;
}
.skip {
  position: fixed;
  left: 10px;
  top: -100px;
  z-index: 10;
  background: var(--cream);
  padding: 10px;
}
.skip:focus {
  top: 10px;
}
.topbar {
  position: absolute;
  z-index: 3;
  top: 0;
  width: 100%;
  padding: 26px 5%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--cream);
}
.home {
  font-family: var(--display);
  text-decoration: none;
  font-size: 18px;
}
.topbar nav {
  display: flex;
  align-items: center;
  gap: 30px;
}
.nav-link {
  text-decoration: none;
  font-size: 14px;
}
.nav-link:hover {
  text-decoration: underline;
}
.button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 16px;
  min-height: 42px;
  padding: 6px 27px;
  border: 0;
  border-radius: 30px;
  background: var(--gold);
  color: var(--ink);
  text-decoration: none;
  font-size: 19px;
  font-weight: 700;
  line-height: 1.4;
  cursor: pointer;
  transition:
    background 0.2s,
    transform 0.2s;
}
.button:hover {
  background: #ffd8a4;
  transform: translateY(-2px);
}
.hero {
  min-height: 850px;
  height: 100svh;
  max-height: 1050px;
  position: relative;
  background: #10111b;
  isolation: isolate;
  overflow: hidden;
}
.hero:before {
  content: '';
  position: absolute;
  inset: 0 0 0 42%;
  z-index: -1;
  background: url('assets/hero.webp') center 66% / cover no-repeat;
}
.hero:after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(90deg, #10111b 32%, #10111b22 70%, transparent);
}
.hero-content {
  width: 56%;
  text-align: center;
  padding-top: 155px;
}
.event {
  font: 20px/1.35 var(--display);
  color: #fff;
  margin: 0;
}
.hero h1 {
  margin: -18px auto -30px;
  width: min(580px, 100%);
}
.hero-logo {
  display: block;
  width: 100%;
  height: auto;
}
.desktop-intro {
  color: var(--gold);
  font-size: 15px;
  letter-spacing: 0.02em;
}
.scroll-cue {
  position: absolute;
  bottom: 58px;
  left: calc(50% - 20px);
  color: white;
  padding: 10px;
  transition: transform 0.2s;
}
.scroll-cue:hover {
  transform: translateY(6px);
}
.panel {
  --panel-radius: 28px;
  position: relative;
  padding: 70px max(35px, calc((100% - 1000px) / 2));
  border-radius: var(--panel-radius) var(--panel-radius) 0 0;
}
/* Continue the solid background behind the next panel's rounded corners. */
.panel:not(:last-child)::after {
  content: '';
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  height: var(--panel-radius);
  background: inherit;
  pointer-events: none;
}
.cream {
  background: var(--cream);
}
.dark {
  background: var(--night);
  color: white;
}
.dark h2,
.dark h3 {
  color: var(--gold);
}
.story {
  margin-top: -28px;
  padding-top: 80px;
  padding-bottom: 100px;
}
.section-heading {
  text-align: center;
  margin-bottom: 36px;
}
.eyebrow {
  margin: 0 0 7px;
  font-size: 15px;
  font-weight: 500;
}
h2 {
  font: 400 32px/1.3 var(--display);
  margin: 0;
}
h3 {
  font-size: 15px;
  line-height: 1.4;
  margin: 26px 0 5px;
}
.prose {
  max-width: 700px;
  margin: 0 auto;
  line-height: 1.7;
}
.prose p {
  margin: 0 0 24px;
}
.prose p:last-child {
  margin-bottom: 0;
}
.cast {
  padding-bottom: 45px;
}
.cast-list {
  display: flex;
  gap: 30px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  padding: 6px 0;
}
.cast-list::-webkit-scrollbar,
.sponsor-list::-webkit-scrollbar {
  display: none;
}
.cast-member {
  flex: 1 0 210px;
  text-align: center;
  scroll-snap-align: center;
}
.portrait {
  height: 210px;
  border-radius: 22px;
  background: #2f3242;
  display: grid;
  place-items: center;
  color: #a49b8e;
}
.portrait span {
  font: 40px var(--display);
  border: 1px solid #a49b8e55;
  width: 100px;
  height: 100px;
  border-radius: 50%;
  display: grid;
  place-items: center;
}
.cast-member h3 {
  font: 400 17px var(--display);
  margin: 18px 0 7px;
}
.cast-member p {
  font-weight: 500;
  font-family: 'Avenir Next Condensed', 'Barlow Condensed', sans-serif;
  margin: 0;
  font-size: 16px;
}
.slider-controls {
  display: flex;
  justify-content: center;
  gap: 18px;
  margin-top: 25px;
}
.slider-controls button {
  display: grid;
  place-items: center;
  padding: 0;
  background: transparent;
  border: 1px solid #ffe7c84d;
  border-radius: 50%;
  color: var(--gold);
  width: 42px;
  height: 42px;
  cursor: pointer;
}
.slider-controls button:hover {
  background: #ffffff12;
}
.location,
.community {
  text-align: center;
}
.location .prose,
.community .prose {
  text-align: left;
}
.location .button,
.community .button {
  margin-top: 40px;
}
.sponsors {
  padding-bottom: 65px;
}
.sponsor-space {
  text-align: center;
  color: #c6c1b8;
}
.sponsor-list {
  display: flex;
  align-items: center;
  gap: 32px;
  overflow-x: auto;
  scrollbar-width: none;
  padding: 16px 0;
  scroll-snap-type: x proximity;
}
.sponsor-list a {
  display: block;
  flex: 0 0 160px;
  width: 160px;
  height: 100px;
  scroll-snap-align: center;
}
.sponsor-list a:focus-visible {
  outline-offset: -3px;
}
.sponsor-list img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: brightness(0) invert(1);
}
.sponsor-space p {
  font-size: 14px;
}
.donation {
  padding: 0 20px 50px;
  text-align: center;
}
.donation-card {
  max-width: 1022px;
  margin: 0 auto;
  padding: 44px 24px;
  border-radius: 25px;
  background: var(--night);
  color: white;
}
.donation h2 {
  color: var(--gold);
}
.donation .prose {
  padding: 0;
}
.donation-options {
  width: min(278px, 100%);
  margin: 32px auto 0;
}
.donation-options .button {
  width: 100%;
}
.donation-options label {
  margin: 48px 0 24px;
  font: inherit;
  text-transform: none;
}
.donation-options input {
  text-align: center;
}
.donation-options .button:last-child {
  margin-top: 20px;
  background: #696b88;
}
.donation-options :disabled {
  cursor: not-allowed;
}
.donation-options .button:disabled:hover {
  transform: none;
  background: var(--gold);
}
.donation-options .button:last-child:disabled:hover {
  background: #696b88;
}
.donation-status {
  margin: 28px 0 0;
  color: #c8c8cf;
  font-size: 14px;
}
.registration {
  padding-top: 30px;
  padding-bottom: 80px;
}
.form-logo {
  display: block;
  width: 280px;
  height: auto;
  margin: 0 auto -10px;
}
.form-card {
  max-width: 520px;
  margin: 0 auto;
  padding: 42px 32px 24px;
  border-radius: 25px;
  box-shadow: 0 2px 22px #0006;
}
.form-card .section-heading {
  margin-bottom: 24px;
}
label {
  display: block;
  text-transform: uppercase;
  font-family: 'Avenir Next Condensed', 'Barlow Condensed', sans-serif;
  font-size: 16px;
  margin: 13px 0 6px;
}
input {
  display: block;
  width: 100%;
  border: 1px solid #bdb8ae;
  border-radius: 6px;
  background: #fffdf8;
  padding: 12px 14px;
  color: var(--ink);
  min-height: 50px;
}
#count {
  width: 112px;
}
.form-note {
  font-size: 12px;
  color: #c8c8cf;
  line-height: 1.65;
  margin: 25px 0;
}
.submit {
  display: flex;
  min-width: 155px;
  margin: 30px auto 0;
}
.form-status {
  font-size: 13px;
  color: var(--gold);
  text-align: center;
  min-height: 22px;
}
.form-honeypot {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.submit:disabled {
  cursor: wait;
  opacity: 0.7;
}
.submit:disabled:hover {
  transform: none;
}
footer {
  padding: 28px;
  text-align: center;
  color: #d6d1c9;
  font-size: 12px;
  border-top: 1px solid #ffffff14;
}
footer p {
  margin: 0 0 10px;
}
footer a {
  text-decoration: none;
}
@media (max-width: 650px) {
  html {
    scroll-padding-top: 25px;
  }
  .topbar {
    padding: 20px 17px;
    justify-content: flex-end;
    position: absolute;
  }
  .home,
  .nav-link {
    display: none;
  }
  .topbar nav {
    gap: 0;
  }
  .topbar .button {
    min-width: 155px;
    min-height: 40px;
    padding: 5px 20px;
    font-size: 20px;
  }
  .hero {
    height: 806px;
    min-height: 0;
    max-height: none;
  }
  .hero:before {
    inset: 0;
    background-size: auto 100%;
    background-position: 74% center;
  }
  .hero:after {
    display: none;
  }
  .hero-content {
    width: 100%;
    padding-top: 128px;
  }
  .event {
    font-size: 20px;
    line-height: 25px;
  }
  .hero h1 {
    position: absolute;
    left: -10%;
    top: 186px;
    width: 120%;
    margin: 0;
  }
  .desktop-intro {
    display: none;
  }
  .scroll-cue {
    bottom: 49px;
  }
  .panel {
    --panel-radius: 25px;
    padding: 44px 35px 60px;
  }
  .story {
    margin-top: -24px;
    padding-top: 86px;
  }
  .section-heading {
    margin-bottom: 32px;
  }
  h2 {
    font-size: 29px;
  }
  .prose {
    font-size: 15px;
    line-height: 1.48;
    padding: 0 15px;
  }
  .prose p {
    margin-bottom: 23px;
  }
  .cast {
    padding: 42px 0 32px;
  }
  .cast .section-heading {
    padding: 0 30px;
  }
  .cast-list {
    gap: 30px;
    padding: 0 25px;
  }
  .cast-member {
    flex: 0 0 160px;
  }
  .portrait {
    height: 180px;
    border-radius: 18px;
  }
  .portrait span {
    width: 80px;
    height: 80px;
    font-size: 30px;
  }
  .cast-member h3 {
    font-size: 14px;
  }
  .cast-member p {
    font-size: 13px;
  }
  .location,
  .community {
    padding-left: 35px;
    padding-right: 35px;
  }
  .location .button,
  .community .button {
    font-size: 18px;
    max-width: 100%;
    white-space: normal;
    padding: 7px 25px;
  }
  .registration {
    padding: 35px 20px 50px;
  }
  .form-logo {
    width: 260px;
    margin-bottom: 0;
  }
  .form-card {
    padding: 38px 24px 22px;
  }
  .form-card h2 {
    font-size: 29px;
  }
  .form-note {
    font-size: 12px;
  }
  .sponsors {
    min-height: 300px;
  }
  .sponsor-space p {
    font-size: 13px;
  }
  .eyebrow {
    line-height: 1.4;
  }
  footer {
    padding: 28px 25px;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  * {
    transition: none !important;
  }
}

/* Keep the opening scene in place while the following panels cover it. */
html {
  scroll-padding-top: 0;
}
.topbar {
  position: fixed;
  z-index: 1;
}
.hero {
  position: sticky;
  top: 0;
  z-index: 0;
  height: 100vh;
  height: 100dvh;
  min-height: 0;
  max-height: none;
}
.hero-content {
  padding-top: clamp(90px, 16dvh, 155px);
}
.hero h1 {
  width: min(580px, 100%, 58dvh);
}
.panel {
  z-index: 2;
}
.story {
  margin-top: 0;
}
footer {
  position: relative;
  z-index: 2;
  background: var(--night);
}
@media (max-width: 650px) {
  .topbar {
    position: fixed;
  }
  .hero {
    height: 100vh;
    height: 100svh;
  }
  .hero-content {
    padding-top: 16svh;
  }
  .hero h1 {
    top: 23svh;
    left: 50%;
    transform: translateX(-50%);
    width: min(120%, 65svh);
  }
  .hero:before {
    background-size: cover;
  }
  .scroll-cue {
    bottom: 35px;
  }
  .story {
    margin-top: 0;
  }
}

/* The desktop layout follows the supplied Adobe XD artboard. */
@media (min-width: 651px) {
  :root {
    --night: #202230;
    --cream: #fff8ef;
    --body: 'Gantari', 'Avenir', sans-serif;
  }
  body {
    font-size: clamp(18px, 1.4vw, 20px);
    font-weight: 500;
    line-height: 1.5;
  }
  .mobile-only,
  .home,
  .nav-link,
  .desktop-intro {
    display: none;
  }
  .topbar {
    justify-content: flex-end;
    padding: 20px 35px;
  }
  .button {
    min-height: 40px;
    padding: 5px 28px;
    font-size: 20px;
    font-weight: 400;
    line-height: 1.5;
  }
  .topbar .button {
    min-width: 155px;
  }
  .hero {
    height: min(100svh, max(620px, 66.6667vw));
  }
  .hero:before {
    inset: 0;
    background-position: center 88%;
  }
  .hero:after {
    display: none;
  }
  .hero-content {
    position: relative;
    width: 53%;
    height: 100%;
    padding: 0;
  }
  .event {
    position: absolute;
    top: 13.4%;
    left: 4.2%;
    width: 89.4%;
    font-size: clamp(18px, 2.1vw, 30px);
    line-height: 1.3333;
  }
  .event-day::after {
    content: ',';
  }
  .hero h1 {
    position: absolute;
    top: 21%;
    left: -5.3%;
    width: 110.6%;
    margin: 0;
  }
  .scroll-cue {
    bottom: 54px;
    left: 50%;
    transform: translateX(-50%);
  }
  .scroll-cue:hover {
    transform: translate(-50%, 6px);
  }
  .panel {
    --panel-radius: 25px;
    padding: 60px 32px 90px;
  }
  .section-heading {
    margin-bottom: 70px;
  }
  .eyebrow {
    margin-bottom: 4px;
    font-size: 15px;
    line-height: 1.6;
  }
  h2 {
    font-size: clamp(38px, 4.2vw, 60px);
  }
  .prose {
    max-width: 678px;
    line-height: 1.5;
  }
  .prose p {
    margin-bottom: 30px;
  }
  .prose h3 {
    margin: 30px 0 0;
    font-size: inherit;
    font-weight: 500;
    line-height: inherit;
  }
  .story {
    padding-top: 60px;
    padding-bottom: 50px;
  }
  .story .section-heading {
    display: flex;
    flex-direction: column-reverse;
    margin-bottom: 100px;
  }
  .story .eyebrow {
    margin: 0;
    font: 400 clamp(38px, 4.2vw, 60px) / 1.3 var(--display);
  }
  .story h2 {
    margin-bottom: 4px;
    font: 500 15px/1.6 var(--body);
  }
  .story .desktop-only {
    display: flex;
    width: fit-content;
    min-width: 155px;
    margin: 32px auto 0;
    background: var(--night);
    color: var(--gold);
    box-shadow: 0 2px 4px #0003;
  }
  .story .button:hover {
    background: var(--ink);
  }
  .cast,
  .location,
  .sponsors,
  .community,
  .donation,
  .registration {
    border-radius: 0;
  }
  .cast {
    padding: 54px max(32px, calc((100% - 1120px) / 2)) 80px;
  }
  .cast-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 52px clamp(24px, 3.2vw, 46px);
    padding: 0;
    overflow: visible;
    scroll-snap-type: none;
  }
  .cast-member {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 0;
    min-height: 361px;
    padding: 38px 20px 44px;
    border-radius: 15px;
    background: var(--night);
    box-shadow: 0 0 15px #000c;
  }
  .portrait {
    flex: 0 0 auto;
    width: min(177px, 100%);
    height: auto;
    aspect-ratio: 1;
    border-radius: 50%;
    background: var(--gold);
    color: var(--ink);
  }
  .portrait span {
    width: auto;
    height: auto;
    border: 0;
  }
  .cast-member h3 {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 2.8em;
    margin: 28px 0 8px;
    font-size: 20px;
    line-height: 1.4;
  }
  .cast-member p {
    font-size: 14px;
    line-height: 1.5;
    text-transform: uppercase;
  }
  .slider-controls {
    display: none;
  }
  .location {
    padding-top: 70px;
    padding-bottom: 90px;
    background: var(--night);
    color: white;
  }
  .location h2 {
    color: var(--gold);
  }
  .location .button {
    min-width: 195px;
    margin-top: 60px;
  }
  .sponsors {
    padding: 52px 35px 110px;
    background: var(--cream);
    color: var(--ink);
  }
  .sponsors h2 {
    color: var(--ink);
  }
  .sponsors .section-heading {
    margin-bottom: 80px;
  }
  .sponsor-list {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 36px;
    max-width: 1363px;
    margin: 0 auto;
    padding: 0;
    overflow: visible;
  }
  .sponsor-list a {
    min-width: 0;
    width: 100%;
  }
  .sponsor-list img {
    filter: none;
  }
  .sponsor-space p {
    display: none;
  }
  .community,
  .donation,
  .registration {
    padding: 0 max(32px, calc((100% - 1022px) / 2)) 50px;
    background: var(--cream);
  }
  .community-card,
  .donation-card,
  .registration-card {
    padding: 76px clamp(36px, 12vw, 172px) 110px;
    border-radius: 25px;
    background: var(--night);
    color: white;
  }
  .community h2 {
    color: var(--gold);
  }
  .community .section-heading {
    margin-bottom: 60px;
  }
  .community .button {
    min-width: 277px;
    margin-top: 85px;
  }
  .donation .section-heading {
    margin-bottom: 60px;
  }
  .donation-options {
    margin-top: 45px;
  }
  .donation-options .button {
    padding-inline: 16px;
  }
  .donation-options label {
    margin-top: 60px;
  }
  .registration {
    padding-bottom: 90px;
  }
  .registration-card {
    padding: 48px 32px 64px;
  }
  .form-logo {
    width: 360px;
    max-width: 100%;
    margin-bottom: 0;
  }
  .form-card {
    max-width: 678px;
    padding: 48px clamp(24px, 5vw, 72px) 32px;
  }
  .form-card h2 {
    font-size: clamp(38px, 4.2vw, 50px);
  }
  .form-note {
    font-size: 15px;
  }
  footer {
    background: var(--cream);
    color: var(--ink);
    border-color: #20223022;
    font-size: 14px;
  }
}
@media (min-width: 1000px) {
  html {
    scroll-padding-top: 88px;
  }
  .topbar {
    justify-content: space-between;
    gap: 32px;
    padding: 16px 35px;
  }
  .topbar nav {
    gap: 20px;
  }
  .home,
  .nav-link {
    display: block;
    white-space: nowrap;
  }
  .cast-list {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
  .sponsor-list {
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: clamp(36px, 4.9vw, 70px);
  }
}
