/* The campaign cover and the main visitor surfaces use the house palette. */
body.viewer.offstage-home {
  --edition-lilac: #e5cbff;
  --edition-gold: #f2d4a4;
  --edition-line: #cfb0ef54;
  background: radial-gradient(ellipse at 77% 0, #291940, transparent 47rem), #0a0710;
}

body.viewer.offstage-home #content .salon-program {
  min-height: clamp(34rem, 54vw, 43rem);
  background: #100a19;
  border: 1px solid var(--edition-line);
  border-radius: clamp(20px, 3vw, 38px);
  box-shadow: 0 30px 70px -33px #000, inset 0 1px #f4e7ff30;
}

body.viewer.offstage-home .salon-program::before {
  background: none;
}

body.viewer.offstage-home .salon-program::after {
  inset: 8px;
  border-color: #e9d3ff27;
}

body.viewer.offstage-home .salon-program .program-photo {
  width: 100%;
  height: 100%;
  object-position: 65% 40%;
  filter: none;
}

body.viewer.offstage-home .salon-program .curtain-reveal {
  position: absolute;
  z-index: -1;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, #0e0917ed 0%, #0e0917b8 31%, #0e091725 58%, transparent 80%),
    linear-gradient(0deg, #100a19 0%, #100a19c9 12%, transparent 40%);
}

body.viewer.offstage-home .salon-program .program-content {
  padding: clamp(2rem, 5vw, 5rem);
  padding-bottom: 1.6rem;
}

body.viewer.offstage-home .salon-program .program-content h1 {
  font-size: clamp(4.65rem, 8.2vw, 8rem);
  line-height: .88;
  color: #fff8fc;
}

body.viewer.offstage-home .salon-program .program-content h1 em {
  font-size: inherit;
  line-height: inherit;
  color: var(--edition-lilac);
}

body.viewer.offstage-home :is(.salon-program .program-kicker, .program-switch-label) {
  color: var(--edition-gold);
}

body.viewer.offstage-home .afterhours-tagline {
  max-width: 31ch;
  font-size: clamp(1rem, 1.7vw, 1.2rem);
  line-height: 1.45;
}

body.viewer.offstage-home .salon-program .program-actions {
  gap: .55rem;
}

body.viewer.offstage-home .salon-program .program-actions a.program-profile {
  background: linear-gradient(125deg, #f9eaff, #ddbcff);
  border-color: #fbefff;
  box-shadow: inset 0 1px #fff9, 0 5px 22px #bb7dff35;
  padding-inline: 1.12rem;
}

body.viewer.offstage-home .salon-program .program-actions a.program-enter {
  color: #fff0fc;
  background: #20132de6;
  border-color: #dfbafb77;
  padding-inline: .9rem;
}

body.viewer.offstage-home .salon-program .program-actions a:hover {
  border-color: #fff0fc;
  box-shadow: 0 0 0 2px #e2c5ff42;
}

body.viewer.offstage-home .salon-program .program-switcher {
  position: relative;
  z-index: 2;
  margin: 0 clamp(1rem, 5vw, 5rem) clamp(1rem, 3vw, 2rem);
  padding: .55rem .75rem;
  border: 1px solid var(--edition-line);
  border-radius: 16px;
  background: #130d1bec;
  justify-self: start;
  max-width: calc(100% - 2rem);
}

body.viewer.offstage-home .salon-program .program-choices :is(a, button) {
  background: #251935;
  border-color: #d8b4fc32;
  color: #f9effe;
}

body.viewer.offstage-home .salon-program .program-choices button[aria-pressed="true"] {
  border-color: #e7cfff;
  background: #47305e;
}

body.viewer.offstage-home .discover-index {
  margin-top: .9rem;
  gap: .25rem;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  padding: .35rem;
  border: 1px solid var(--edition-line);
  border-radius: 16px;
  background: #15101d;
}

body.viewer.offstage-home .discover-index a {
  border-radius: 11px;
  color: #f7eafb;
}

body.viewer.offstage-home .discover-index a:hover {
  background: #2e2040;
}

body.viewer.offstage-home .discover-index .icon {
  color: var(--edition-lilac);
}

body.viewer:is([data-afterhours="stage"], [data-afterhours="connections"]) #content :is(.stage-ready-card, .cn-cover) {
  border-color: #d4adff75;
  box-shadow: 0 26px 65px -29px #000, inset 0 1px #f1daff45;
}

body.viewer:is([data-afterhours="stage"], [data-afterhours="connections"]) #content :is(.stage-ready-card, .cn-cover) h1 em {
  color: #e5cbff;
}

@media (max-width: 760px) {
  body.viewer.offstage-home #content .salon-program {
    min-height: 0;
  }

  body.viewer.offstage-home .salon-program .program-photo {
    height: clamp(21rem, 92vw, 33rem);
    object-position: 76% 28%;
  }

  body.viewer.offstage-home .salon-program .curtain-reveal {
    background: linear-gradient(0deg, #100a19 0%, #100a19 34%, #100a19e0 49%, #100a1938 72%, transparent 100%);
  }

  body.viewer.offstage-home .salon-program .program-content {
    padding: clamp(13rem, 58vw, 23rem) clamp(.95rem, 5vw, 2.3rem) .85rem;
  }

  body.viewer.offstage-home .salon-program .program-content h1 {
    font-size: clamp(3.75rem, 12.5vw, 6rem);
  }

  body.viewer.offstage-home .salon-program .program-switcher {
    justify-self: stretch;
    max-width: none;
  }

  body.viewer.offstage-home .salon-program .program-switch-label {
    margin-bottom: .4rem;
  }

  body.viewer.offstage-home .discover-index {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (forced-colors: active) {
  body.viewer.offstage-home .salon-program .curtain-reveal {
    background: Canvas;
    opacity: .8;
  }
}

html body.viewer.offstage-home .viewer-mast .mast-links a[aria-current="page"] {
  color: #f5e8ff !important;
  background: #302040;
  border-color: #b78ee263;
  border-radius: 10px;
}

@media (prefers-reduced-motion: no-preference) and (forced-colors: none) {
  body.viewer.offstage-home .program-photo[src*="after-hours-cover"] {
    animation: edition-open 850ms ease-out both;
  }

  @keyframes edition-open {
    from { opacity: .72; transform: scale(1.022); }
    to { opacity: 1; transform: scale(1); }
  }
}

@media (max-width: 390px) {
  body.viewer.offstage-home .afterhours-dock > a {
    display: grid !important;
    grid-auto-flow: row;
    justify-items: center;
    align-content: center;
    gap: .2rem;
    font-size: clamp(.57rem, 2.7vw, .65rem);
    white-space: nowrap;
  }
}
