/* trascendentalby 1.5.14 · Andrey Pushkarev guest list (application-owned views).
   Loaded with the event page's styles: the guest-list presentation reads the first
   page of the locale, which is this event's page while its guest list is open, and
   the confirmation pages use the event's ticket_presentation frame. A later event
   with its own guest list moves its page first and brings its own sheet.
   The flyer's charcoal #2D2E2B with grain, cream #EDE6D6 and the orange of the name
   #D24C2E; Gotham as on trascendentalby.mx. Square, flat, no tracked micro-labels.
   No markup, data, price or script. Contrast: cream on #2D2E2B 11.9 · muted #B9B1A1
   on #2D2E2B 7.1 · #1E1F1C on #D24C2E 3.8 (bold 18 px button text) · #F08A70 on panel 6.2.
   The base view loads after this file, so selectors carry one more class than its rules. */

/* ---------- Registration form ---------- */

html:has([data-guest-list-access]) { background: #2D2E2B; }
html body:has([data-guest-list-access]) { margin: 0; background: #2D2E2B; color: #EDE6D6; }

html body .guest-access[data-guest-list-access]:not([data-contact-registration]) {
  --ga-ink: #EDE6D6;
  --ga-muted: #B9B1A1;
  --ga-line: rgb(237 230 214 / .16);
  --ga-accent: #D24C2E;
  position: relative;
  isolation: isolate;
  display: grid;
  place-items: center;
  min-block-size: 100svh;
  box-sizing: border-box;
  padding: max(1.5rem, env(safe-area-inset-top)) max(1rem, env(safe-area-inset-right)) max(2.5rem, env(safe-area-inset-bottom)) max(1rem, env(safe-area-inset-left));
  color: #EDE6D6;
  font-family: "TDL Gotham", "Gotham", "Helvetica Neue", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  background: #2D2E2B;
}

html body .guest-access[data-guest-list-access]:not([data-contact-registration])::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background: url("/_site-assets/image-pushkarev-grain") 0 0 / 256px 256px repeat;
  opacity: .16;
  mix-blend-mode: overlay;
}

html body .guest-access[data-guest-list-access]:not([data-contact-registration]) .guest-access__shell {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 0;
  inline-size: min(100%, 27rem);
  margin: 0 auto;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: none;
  box-shadow: none;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
}

/* The wordmark, the event flyer, then the event name in the orange of the poster.
   The flyer is decorative here (the heading names the event), so it is a background. */
html body .guest-access[data-guest-list-access]:not([data-contact-registration]) .guest-access__header {
  display: flex;
  flex-direction: column;
  margin: 0 0 1.75rem;
  text-align: start;
}

html body .guest-access[data-guest-list-access]:not([data-contact-registration]) .guest-access__header::before {
  content: "";
  display: block;
  inline-size: 100%;
  aspect-ratio: 4 / 5;
  margin: 0 0 1.75rem;
  background: #252623 url("/_site-assets/image-pushkarev-mail-hero") center / cover no-repeat;
}

html body .guest-access[data-guest-list-access]:not([data-contact-registration]) .guest-access__logo {
  order: -1;
  display: block;
  inline-size: auto;
  max-inline-size: 10rem;
  block-size: auto;
  max-block-size: 1rem;
  margin: 0 0 1.25rem;
  object-fit: contain;
  object-position: left center;
  border-radius: 0;
}

html body .guest-access[data-guest-list-access]:not([data-contact-registration]) h1 {
  margin: 0;
  color: #D24C2E;
  font-family: inherit;
  font-size: clamp(1.75rem, 1.2rem + 2.4vw, 2.5rem);
  font-weight: 700;
  line-height: 1.02;
  letter-spacing: 0;
  text-transform: uppercase;
  text-wrap: balance;
}

html body .guest-access[data-guest-list-access]:not([data-contact-registration]) .guest-access__event-details {
  margin-block-start: 1.25rem;
  border-color: rgb(237 230 214 / .16);
}

html body .guest-access[data-guest-list-access]:not([data-contact-registration]) .guest-access__event-details dt { color: #B9B1A1; }
html body .guest-access[data-guest-list-access]:not([data-contact-registration]) .guest-access__event-details dd { color: #EDE6D6; font-weight: 500; }

/* Fields: dark wells with a cream line on focus. */
html body .guest-access[data-guest-list-access]:not([data-contact-registration]) .guest-access__field { margin-block-start: 1.15rem; }
html body .guest-access[data-guest-list-access]:not([data-contact-registration]) form > .guest-access__field:first-of-type { margin-block-start: 0; }

html body .guest-access[data-guest-list-access]:not([data-contact-registration]) label {
  color: #EDE6D6;
  font-size: .9375rem;
  font-weight: 500;
  line-height: 1.3;
}

html body .guest-access[data-guest-list-access]:not([data-contact-registration]) label > span[aria-hidden="true"] { color: #D24C2E; }
html body .guest-access[data-guest-list-access]:not([data-contact-registration]) .guest-access__optional { color: #B9B1A1; font-size: .875rem; font-weight: 400; }

html body .guest-access[data-guest-list-access]:not([data-contact-registration]) input:not([type="checkbox"]),
html body .guest-access[data-guest-list-access]:not([data-contact-registration]) select {
  box-sizing: border-box;
  inline-size: 100%;
  min-block-size: 50px;
  margin-block-start: .5rem;
  padding: .75rem .9rem;
  border: 1px solid rgb(237 230 214 / .2);
  border-radius: 0;
  color: #EDE6D6;
  font: inherit;
  font-size: 1rem;
  background: #232421;
  box-shadow: none;
}

html body .guest-access[data-guest-list-access]:not([data-contact-registration]) input:not([type="checkbox"]):focus,
html body .guest-access[data-guest-list-access]:not([data-contact-registration]) select:focus {
  border-color: #EDE6D6;
  outline: none;
  box-shadow: inset 0 0 0 1px #EDE6D6;
}

html body .guest-access[data-guest-list-access]:not([data-contact-registration]) input[aria-invalid="true"] { border-color: #F08A70; }

html body .guest-access[data-guest-list-access]:not([data-contact-registration]) .guest-access__muted {
  margin: 1.15rem 0 0;
  color: #B9B1A1;
  font-size: .875rem;
  line-height: 1.5;
}

/* Consent: plain lines under a rule; the checks take the orange. */
html body .guest-access[data-guest-list-access]:not([data-contact-registration]) .guest-access__consent {
  margin: 1.6rem 0 0;
  padding: 1.15rem 0 0;
  border: 0;
  border-block-start: 1px solid rgb(237 230 214 / .16);
  border-radius: 0;
  background: none;
}

/* Screen-reader legend: the base legend rule widens it to 100%, which pushes it off the page. */
html body .guest-access[data-guest-list-access]:not([data-contact-registration]) .guest-access__consent legend.guest-access__sr-only {
  position: absolute;
  float: none;
  inline-size: 1px;
  block-size: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

html body .guest-access[data-guest-list-access]:not([data-contact-registration]) .guest-access__checkbox {
  display: flex;
  gap: .75rem;
  align-items: flex-start;
  color: #EDE6D6;
  font-size: .875rem;
  font-weight: 400;
  line-height: 1.5;
}

html body .guest-access[data-guest-list-access]:not([data-contact-registration]) .guest-access__checkbox + .guest-access__checkbox { margin-block-start: .8rem; }

html body .guest-access[data-guest-list-access]:not([data-contact-registration]) .guest-access__checkbox input {
  flex: 0 0 1.15rem;
  inline-size: 1.15rem;
  block-size: 1.15rem;
  margin: .1rem 0 0;
  accent-color: #D24C2E;
}

html body .guest-access[data-guest-list-access]:not([data-contact-registration]) .guest-access__consent a {
  color: #EDE6D6;
  text-decoration: underline;
  text-underline-offset: .18em;
}

html body .guest-access[data-guest-list-access]:not([data-contact-registration]) .guest-access__consent a:hover { color: #E25A3A; }

/* The single action: the orange of the name with dark text. */
html body .guest-access[data-guest-list-access]:not([data-contact-registration]) button,
html body .guest-access[data-guest-list-access]:not([data-contact-registration]) .guest-access__cta {
  display: flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  inline-size: 100%;
  min-block-size: 56px;
  margin-block-start: 1.75rem;
  padding: .85rem 1rem;
  border: 0;
  border-radius: 0;
  color: #1E1F1C;
  font: inherit;
  font-size: 1.125rem;
  font-weight: 700;
  letter-spacing: 0;
  text-decoration: none;
  text-transform: uppercase;
  background: #D24C2E;
  cursor: pointer;
  filter: none;
  transition: background-color .15s ease;
}

html body .guest-access[data-guest-list-access]:not([data-contact-registration]) button:hover,
html body .guest-access[data-guest-list-access]:not([data-contact-registration]) .guest-access__cta:hover { background: #E25A3A; filter: none; }

html body .guest-access[data-guest-list-access]:not([data-contact-registration]) button:disabled { cursor: progress; opacity: .7; }

html body .guest-access[data-guest-list-access]:not([data-contact-registration]) :focus-visible {
  outline: 2px solid #EDE6D6;
  outline-offset: 3px;
}

/* Errors stay readable on the charcoal. */
html body .guest-access[data-guest-list-access]:not([data-contact-registration]) .guest-access__error {
  margin: 0 0 1.5rem;
  padding: 1rem 1.1rem;
  border: 1px solid #F08A70;
  border-radius: 0;
  color: #EDE6D6;
  background: rgb(240 138 112 / .1);
}

html body .guest-access[data-guest-list-access]:not([data-contact-registration]) .guest-access__error p { margin: 0 0 .4rem; }
html body .guest-access[data-guest-list-access]:not([data-contact-registration]) .guest-access__error ul { margin: 0; padding-inline-start: 1.1rem; }
html body .guest-access[data-guest-list-access]:not([data-contact-registration]) .guest-access__field-error { margin: .45rem 0 0; color: #F08A70; font-size: .875rem; }

/* Desktop: flyer on the left, the form beside it, like the poster's two columns. */
@media (min-width: 880px) {
  html body .guest-access[data-guest-list-access]:not([data-contact-registration]) { padding-block: 3.5rem; }

  html body .guest-access[data-guest-list-access]:not([data-contact-registration]) .guest-access__shell {
    grid-template-columns: minmax(0, 24rem) minmax(0, 25rem);
    grid-auto-rows: min-content;
    column-gap: clamp(2.5rem, 5vw, 4.5rem);
    align-items: start;
    inline-size: min(100%, 56rem);
  }

  html body .guest-access[data-guest-list-access]:not([data-contact-registration]) .guest-access__header { display: contents; }

  html body .guest-access[data-guest-list-access]:not([data-contact-registration]) .guest-access__header::before {
    position: sticky;
    top: 3.5rem;
    grid-column: 1;
    grid-row: 1 / span 8;
    margin: 0;
  }

  html body .guest-access[data-guest-list-access]:not([data-contact-registration]) .guest-access__shell > :not(.guest-access__header),
  html body .guest-access[data-guest-list-access]:not([data-contact-registration]) .guest-access__header > * { grid-column: 2; }

  html body .guest-access[data-guest-list-access]:not([data-contact-registration]) .guest-access__header > h1 { margin-block-end: 2rem; }
}

@media (prefers-reduced-motion: reduce) {
  html body .guest-access[data-guest-list-access]:not([data-contact-registration]) button { transition: none; }
}

/* ---------- Confirmation pages inside the event frame ---------- */
/* Only the guest-list views use this wrapper inside the ticket layout. */

body.ticket-declared-page main > .bg-gradient-to-br.from-gray-900 {
  min-block-size: 0;
  padding: clamp(1rem, 4vw, 3rem) 0;
  background: none;
}

body.ticket-declared-page main > .bg-gradient-to-br.from-gray-900 > div > div {
  padding: clamp(1.5rem, 5vw, 3rem);
  border: 1px solid rgb(237 230 214 / .12);
  border-radius: 0;
  color: #EDE6D6;
  font-family: "TDL Gotham", "Gotham", "Helvetica Neue", Arial, sans-serif;
  text-align: start;
  background: rgb(30 31 28 / .55);
  box-shadow: none;
}

body.ticket-declared-page main > .bg-gradient-to-br.from-gray-900 svg { margin-inline: 0; color: #D24C2E; }

body.ticket-declared-page main > .bg-gradient-to-br.from-gray-900 h1 {
  color: #D24C2E;
  font-family: inherit;
  font-size: clamp(2rem, 1.3rem + 2.4vw, 3rem);
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0;
  text-transform: uppercase;
}

body.ticket-declared-page main > .bg-gradient-to-br.from-gray-900 h2 {
  color: #EDE6D6;
  font-family: inherit;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: none;
}

body.ticket-declared-page main > .bg-gradient-to-br.from-gray-900 :is(p, li, span) { color: #B9B1A1; }
body.ticket-declared-page main > .bg-gradient-to-br.from-gray-900 strong { color: #EDE6D6; font-weight: 700; }
body.ticket-declared-page main > .bg-gradient-to-br.from-gray-900 > div > div > p:first-of-type { color: #EDE6D6; }

body.ticket-declared-page main > .bg-gradient-to-br.from-gray-900 :is(.bg-gray-50, .bg-blue-50, .bg-green-50, .bg-yellow-50, .bg-red-50) {
  border: 1px solid rgb(237 230 214 / .14);
  border-radius: 0;
  text-align: start;
  background: #232421;
}

body.ticket-declared-page main > .bg-gradient-to-br.from-gray-900 a:is(.bg-gray-900, [class*="bg-"]) {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-block-size: 52px;
  padding-inline: 1.75rem;
  border-radius: 0;
  color: #1E1F1C;
  font-weight: 700;
  text-transform: uppercase;
  background: #D24C2E;
}

body.ticket-declared-page main > .bg-gradient-to-br.from-gray-900 a:is(.bg-gray-900, [class*="bg-"]):hover { background: #E25A3A; }
body.ticket-declared-page main > .bg-gradient-to-br.from-gray-900 a:focus-visible { outline: 2px solid #EDE6D6; outline-offset: 3px; }
