/* Fixed theater frame; the page, artwork, and registration form scroll beneath it. */
.theater-curtain-frame {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  height: 100dvh;
  z-index: 10;
  pointer-events: none;
  background: url('curtain-frame-v2.png') center center / 100% 100% no-repeat;
}

/* Hide the empty ceiling above the desktop navigation without resampling the poster. */
.desktop-art {
  aspect-ratio: 1448 / 926;
  overflow: hidden;
}
.desktop-art > img:first-of-type {
  position: absolute;
  top: -17.28%;
  left: 0;
}
.desktop-art .art-nav { top: 4.25%; height: 5.28%; }
.desktop-art .art-actions { top: 82.4%; height: 7.03%; }
.desktop-art .art-actions a:last-child { position: relative; }
.desktop-art .art-actions a:last-child::after {
  content: 'REGISTER';
  position: absolute;
  inset: 14% 18%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: radial-gradient(ellipse at center, #000 72%, transparent 100%);
  color: #f6d66e;
  font: 700 clamp(12px, 1.65vw, 24px)/1 Arial, Helvetica, sans-serif;
  letter-spacing: .03em;
  pointer-events: none;
}
.desktop-art .art-actions a:last-child:focus-visible::after {
  background: var(--silver);
  color: var(--black);
}

/* Use the exact PDF-rendered S as a separate image on the desktop poster. */
.desktop-art img.desktop-s-logo {
  position: absolute;
  top: 17.2%;
  left: 50%;
  width: auto;
  height: 28.1%;
  max-width: none;
  transform: translateX(-50%);
  pointer-events: none;
}

/* Carry the red-carpet hue into the page content without changing the artwork. */
.content-shell {
  background: linear-gradient(180deg, #080708, #4e0709 55%, #080708);
  padding-left: max(13vw, 1.25rem, calc((100vw - 1100px) / 2));
  padding-right: max(13vw, 1.25rem, calc((100vw - 1100px) / 2));
}

/* Match the Fluent Forms payment step button to the site's gold buttons. */
.registration-panel .fluentform button.ff-btn-next.ff-btn-secondary {
  min-height: 50px;
  padding: .75rem 1.7rem !important;
  border: 2px solid #fce0a1 !important;
  border-radius: 50px !important;
  background: linear-gradient(120deg, #b87a1d, #ffe4a2 52%, #c98c29) !important;
  color: #180f03 !important;
  font-family: 'NELD Broadway Flat', Arial, sans-serif;
  font-size: .93rem;
  font-weight: 400;
  letter-spacing: .04em;
  line-height: 1.3;
  text-align: center;
  text-transform: uppercase;
  white-space: normal;
  cursor: pointer;
}
.registration-panel .fluentform button.ff-btn-next.ff-btn-secondary:hover {
  filter: brightness(1.08);
}
.registration-panel .fluentform button.ff-btn-next.ff-btn-secondary:focus-visible {
  outline: 3px solid #fff;
  outline-offset: 3px;
}
.registration-panel .fluentform button.ff-btn-prev.ff-btn-secondary {
  min-height: 50px;
  padding: .75rem 1.7rem !important;
  border: 2px solid #f6c767 !important;
  border-radius: 50px !important;
  background: linear-gradient(120deg, #21090f, #4e0709 55%, #21090f) !important;
  color: #ffe4a2 !important;
  font-family: 'NELD Broadway Flat', Arial, sans-serif;
  font-size: .93rem;
  font-weight: 400;
  letter-spacing: .04em;
  line-height: 1.3;
  text-align: center;
  text-transform: uppercase;
  cursor: pointer;
}
.registration-panel .fluentform button.ff-btn-prev.ff-btn-secondary:hover {
  background: #65141d !important;
  box-shadow: 0 0 0 3px #f6c76733;
}
.registration-panel .fluentform button.ff-btn-prev.ff-btn-secondary:focus-visible {
  outline: 3px solid #fff;
  outline-offset: 3px;
}

/* Keep native selects and the Phone/Mobile country picker on the dark form surface. */
.registration-panel .fluentform select.ff-el-form-control {
  background: #10090e !important;
  color: #f6f2ef !important;
  color-scheme: dark;
}
.registration-panel .fluentform select.ff-el-form-control option {
  background: #18090f;
  color: #f6f2ef;
}
body.home .registration-panel .iti,
body.home .iti--container {
  --iti-dropdown-bg: #18090f;
  --iti-hover-color: #4e0709;
  --iti-border-color: #986a45;
  --iti-dialcode-color: #f6c767;
  --iti-arrow-color: #ffe4a2;
  color: #f6f2ef;
}
body.home .registration-panel .iti__dropdown-content,
body.home .iti--container .iti__dropdown-content,
body.home .registration-panel .iti__country-list,
body.home .iti--container .iti__country-list {
  background: #18090f !important;
  color: #f6f2ef !important;
}
body.home .registration-panel .iti__dropdown-content,
body.home .iti--container .iti__dropdown-content {
  border: 1px solid #986a45 !important;
  box-shadow: 0 12px 30px #0009;
}
body.home .registration-panel .iti__country,
body.home .iti--container .iti__country { color: #f6f2ef; }
body.home .registration-panel .iti__country.iti__highlight,
body.home .iti--container .iti__country.iti__highlight {
  background: #4e0709 !important;
  color: #fff;
}
body.home .registration-panel .iti__dial-code,
body.home .iti--container .iti__dial-code { color: #f6c767; }
body.home .registration-panel .iti__search-input,
body.home .iti--container .iti__search-input {
  background: #10090e !important;
  color: #f6f2ef !important;
  border: 1px solid #986a45 !important;
  outline-color: #f6c767;
}
body.home .registration-panel .iti__search-input::placeholder,
body.home .iti--container .iti__search-input::placeholder { color: #c9c1c3; }

@media (max-width: 900px) {
  .theater-curtain-frame { display: none; }
  .desktop-art { display: none; }
  .mobile-stage {
    position: relative;
    display: block;
    min-height: max(720px, 100svh);
    padding: 0;
    background: linear-gradient(180deg, #08070855 0%, #08070816 42%, #08070844 100%),
      url('anniversary-mobile-glam-v5-stanchions.png') center center / cover no-repeat;
    isolation: isolate;
  }
  .mobile-stage::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 0;
    background: radial-gradient(ellipse at 50% 42%, #0008, transparent 70%);
    pointer-events: none;
  }
  .mobile-nav {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: clamp(.6rem, 3vw, 1.5rem);
    overflow: visible;
    min-height: 58px;
    padding: .65rem max(2.5rem, 11vw);
    border-bottom: 1px solid #d6a44999;
    background: #10080dd9;
    white-space: nowrap;
  }
  .mobile-nav a {
    color: #fff2d2;
    font-size: clamp(.64rem, 2.3vw, .76rem);
    letter-spacing: .06em;
    text-decoration: none;
    text-transform: uppercase;
  }
  .mobile-nav .mobile-wordmark {
    margin-right: auto;
    color: #f6c767;
    font: 700 clamp(.86rem, 3vw, 1.06rem) Georgia, 'Times New Roman', serif;
    letter-spacing: 0;
    text-transform: none;
  }
  .mobile-nav .mobile-wordmark span { font-weight: 400; }
  .mobile-copy {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    gap: clamp(.35rem, 1.35vh, .8rem);
    min-height: max(660px, calc(100svh - 58px));
    max-width: 470px;
    margin: 0 auto;
    padding: clamp(1.25rem, 3svh, 2.5rem) max(2.5rem, 11vw) 2.5rem;
    text-align: center;
  }
  .mobile-copy img { display: block; max-width: 100%; height: auto; }
  .mobile-copy .mobile-stars-arch { width: min(100%, 340px); margin-bottom: -.8rem; filter: drop-shadow(0 2px 8px #0009); }
  .mobile-copy .mobile-s-logo { width: auto; height: clamp(165px, 24svh, 220px); filter: drop-shadow(0 5px 12px #000b); }
  .mobile-copy .mobile-ribbon { width: 100%; height: clamp(52px, 16vw, 66px); margin-top: -.3rem; object-fit: cover; object-position: center; }
  .mobile-copy .mobile-title-art { width: 100%; margin-top: -.45rem; }
  .mobile-copy .mobile-date-art { width: min(88%, 300px); margin-top: .15rem; }
  .mobile-actions { display: flex; flex-direction: column; align-items: center; gap: .55rem; width: min(100%, 260px); margin-top: .45rem; }
  .mobile-actions .gold-button { width: 100%; padding: .78rem 1.2rem; font-size: .88rem; }
  .mobile-secondary-link { color: #fff2d2; font-size: .84rem; font-weight: 700; text-decoration: underline; text-underline-offset: .24em; }
  .content-shell { padding-right: max(2.5rem, 11vw); padding-left: max(2.5rem, 11vw); }
}

@media (max-width: 760px) {
  .registration-panel .fluentform button.ff-btn-prev.ff-btn-secondary {
    float: none !important;
    width: 100%;
    margin-bottom: .75rem;
  }
  .registration-panel .fluentform button.ff-btn-next.ff-btn-secondary {
    float: none !important;
    width: 100%;
  }
}

@media (max-width: 360px) {
  .mobile-nav { gap: .45rem; }
  .mobile-nav .mobile-wordmark { font-size: .79rem; }
  .mobile-nav a { font-size: .6rem; }
  .mobile-copy { padding-right: 2.3rem; padding-left: 2.3rem; }
  .content-shell { padding-right: 2.3rem; padding-left: 2.3rem; }
}
