/* ==========================================================================
   Passes 2027 — /passes redesign
   ==========================================================================
   Every value here comes from the design handoff mockup (Passes.dc.html,
   Sept 2026), which styles each element inline. Scope: this page only; it is
   linked from passes.html via the layout's `stylesheets` front matter, not
   bundled into streamfest.css.

   Radius is 0 everywhere and the only shadows are the ones the handoff lists.
   ========================================================================== */

.p27 {
  --p27-ink: #0C0B0A;
  --p27-ink-2: #121110;
  --p27-ink-3: #161513;
  --p27-line-dark: #2A2825;
  --p27-line-dark-2: #3A3733;
  --p27-paper: #F2EEE6;
  --p27-paper-2: #FBF9F5;
  --p27-line-light: #DDD7CC;
  --p27-line-light-2: #E6E1D7;
  --p27-line-light-3: #CFC8BB;
  --p27-cream: #F4F1EA;
  --p27-muted-dark: #A9A398;
  --p27-muted-light: #5F5A51;
  --p27-muted-3: #8C867B;
  --p27-body-light: #3B3832;
  --p27-gold: #F6B01E;
  --p27-gold-hover: #FFC23D;
  --p27-gold-ink: #8A5A00;

  background: var(--p27-paper);
  color: var(--p27-ink);
  font-family: "DM Sans", system-ui, sans-serif;
  /* The handoff inherits the browser default, so drop the site-wide
     line-height; anything that needs one sets it on the element itself. */
  line-height: normal;
}

.p27 *,
.p27 *::before,
.p27 *::after {
  box-sizing: border-box;
}

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

.p27 a:hover {
  color: var(--p27-gold);
}

.p27-wrap {
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 32px;
}

.p27-eyebrow {
  font-size: 11px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--p27-gold);
}

/* Hero --------------------------------------------------------------------- */

.p27-hero {
  background: var(--p27-ink);
  color: var(--p27-cream);
}

.p27-hero__inner {
  padding-top: 48px;
  padding-bottom: 40px;
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
}

.p27-hero__head {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.p27-hero__title {
  margin: 0;
  font-family: "Anton", Impact, sans-serif;
  font-weight: 400;
  font-size: clamp(64px, 7.4vw, 104px);
  line-height: 0.92;
  text-transform: uppercase;
  letter-spacing: 0.005em;
}

.p27-hero__meta {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding-left: 24px;
  border-left: 1px solid var(--p27-line-dark);
  min-width: 240px;
}

.p27-hero__dates {
  font-size: 13px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.p27-hero__venue {
  font-size: 13px;
  color: var(--p27-muted-dark);
}

.p27-hero__status {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-top: 4px;
}

.p27-sale {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--p27-gold);
}

.p27-sale__dot {
  width: 7px;
  height: 7px;
  background: var(--p27-gold);
  display: inline-block;
}

.p27-hero__link {
  font-size: 12px;
  color: var(--p27-cream);
  border-bottom: 1px solid #4A4640;
  padding-bottom: 2px;
}

/* Pass cards --------------------------------------------------------------- */

.p27-cards {
  background: linear-gradient(var(--p27-ink) 0 96px, var(--p27-paper) 96px);
}

.p27-cards__grid {
  padding-bottom: 32px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
  align-items: stretch;
}

.p27-terms {
  padding-bottom: 88px;
  font-size: 12px;
  color: var(--p27-muted-light);
}

.p27-terms a {
  text-decoration: underline;
}

.p27-card {
  --p27-card-fg: var(--p27-ink);
  --p27-card-muted: var(--p27-muted-light);
  --p27-card-accent: var(--p27-gold-ink);
  --p27-card-hair: var(--p27-line-light-2);
  --p27-card-step: var(--p27-line-light-3);

  background: var(--p27-paper-2);
  color: var(--p27-card-fg);
  border: 1px solid var(--p27-line-light);
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.p27-card--dark {
  --p27-card-fg: var(--p27-cream);
  --p27-card-muted: var(--p27-muted-dark);
  --p27-card-accent: var(--p27-gold);
  --p27-card-hair: var(--p27-line-dark);
  --p27-card-step: var(--p27-line-dark-2);

  background: var(--p27-ink-2);
  border-color: var(--p27-line-dark);
}

/* The recommended tier is the only card with a gold border. */
.p27-card--featured {
  border-color: var(--p27-gold);
}

.p27-card__image {
  height: 150px;
  background-color: #1E1C1A;
  background-size: cover;
  background-position: center;
}

.p27-card__head {
  padding: 24px 28px 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.p27-card__meta {
  font-size: 10.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--p27-card-muted);
}

.p27-card__title {
  margin: 0;
  font-family: "Anton", Impact, sans-serif;
  font-weight: 400;
  font-size: 28px;
  line-height: 1.05;
  text-transform: uppercase;
  letter-spacing: 0.01em;
}

/* min-height keeps the price rows aligned across cards. */
.p27-card__tagline {
  margin: 0;
  font-size: 14px;
  line-height: 1.55;
  color: var(--p27-card-muted);
  min-height: 66px;
  text-wrap: pretty;
}

.p27-card__pricing {
  padding: 14px 28px 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.p27-card__price-row {
  display: flex;
  align-items: flex-end;
  gap: 12px;
}

.p27-card__price {
  font-size: 52px;
  font-weight: 300;
  line-height: 1;
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
}

.p27-card__price-note {
  font-size: 11px;
  line-height: 1.35;
  color: var(--p27-card-muted);
  padding-bottom: 5px;
}

.p27-card__pair {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--p27-card-accent);
  min-height: 16px;
}

.p27-card__actions {
  padding: 16px 28px 0;
  display: flex;
  gap: 10px;
}

.p27-stepper {
  display: flex;
  align-items: center;
  border: 1px solid var(--p27-card-step);
}

.p27-stepper__btn {
  width: 44px;
  height: 50px;
  background: transparent;
  border: 0;
  color: var(--p27-card-fg);
  font-size: 20px;
}

.p27-stepper__btn[disabled] {
  opacity: 0.3;
}

.p27-stepper__count {
  width: 28px;
  text-align: center;
  font-size: 16px;
  font-weight: 500;
  font-variant-numeric: tabular-nums;
}

.p27-card__cta {
  flex: 1;
  height: 52px;
  background: var(--p27-gold);
  color: var(--p27-ink);
  border: 0;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.p27-card__cta:hover {
  background: var(--p27-gold-hover);
}

.p27-card__live {
  padding: 10px 28px 0;
  display: flex;
  flex-wrap: wrap;
  gap: 4px 10px;
  font-size: 12.5px;
  color: var(--p27-card-muted);
  font-variant-numeric: tabular-nums;
  min-height: 28px;
}

.p27-card__live-total {
  color: var(--p27-card-fg);
}

.p27-card__live-strike {
  opacity: 0.6;
}

.p27-card__live-nudge {
  color: var(--p27-card-accent);
}

.p27-card__included {
  margin-top: 22px;
  padding: 22px 28px 26px;
  border-top: 1px solid var(--p27-card-hair);
  display: flex;
  flex-direction: column;
  gap: 14px;
  flex: 1;
}

.p27-card__included-label {
  font-size: 10.5px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--p27-card-muted);
}

.p27-perks {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.p27-perks li {
  display: grid;
  grid-template-columns: 16px 1fr;
  gap: 8px;
  font-size: 13.5px;
  line-height: 1.5;
}

.p27-perks__check {
  color: var(--p27-card-accent);
  font-weight: 700;
}

.p27-perks__lead {
  font-weight: 700;
}

.p27-perks__body {
  color: var(--p27-card-muted);
}

.p27-card__desc {
  margin: 0;
  font-size: 13.5px;
  line-height: 1.6;
  color: var(--p27-card-muted);
  text-wrap: pretty;
}

.p27-card__toggle {
  align-self: flex-start;
  margin-top: auto;
  background: transparent;
  border: 0;
  padding: 6px 0 2px;
  color: var(--p27-card-fg);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.08em;
  border-bottom: 1px solid var(--p27-card-accent);
}

.p27-card__more[hidden] {
  display: none;
}

/* Society intro ------------------------------------------------------------ */

.p27-society {
  background: var(--p27-paper);
  border-top: 1px solid var(--p27-line-light);
}

.p27-society__inner {
  padding-top: 88px;
  padding-bottom: 88px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 48px 80px;
  align-items: start;
}

.p27-society__title {
  margin: 0;
  font-family: "Anton", Impact, sans-serif;
  font-weight: 400;
  font-size: 44px;
  line-height: 1.02;
  text-transform: uppercase;
  max-width: 520px;
}

.p27-society__body {
  margin: 0;
  font-size: 18px;
  line-height: 1.65;
  color: var(--p27-body-light);
  text-wrap: pretty;
}

/* Legacy Donor ------------------------------------------------------------- */

.p27-legacy {
  background: var(--p27-ink);
  color: var(--p27-cream);
}

.p27-legacy__inner {
  padding-top: 112px;
  padding-bottom: 112px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 64px 96px;
  align-items: start;
}

.p27-legacy__main {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.p27-legacy__title {
  margin: 0;
  font-family: "Anton", Impact, sans-serif;
  font-weight: 400;
  font-size: 60px;
  line-height: 0.98;
  text-transform: uppercase;
}

.p27-legacy__tagline {
  margin: 0;
  font-size: 16px;
  color: var(--p27-muted-dark);
}

.p27-legacy__price-row {
  display: flex;
  align-items: flex-end;
  gap: 12px;
  margin-top: 10px;
}

.p27-legacy__price {
  font-size: 64px;
  font-weight: 300;
  line-height: 1;
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
}

.p27-legacy__price-unit {
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--p27-muted-dark);
  padding-bottom: 8px;
}

.p27-legacy__tax {
  font-size: 11.5px;
  font-weight: 700;
  line-height: 1.6;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--p27-gold);
  max-width: 520px;
}

.p27-legacy__perks {
  margin-top: 28px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 28px 36px;
  border-top: 1px solid var(--p27-line-dark);
  padding-top: 32px;
}

.p27-legacy__perk {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.p27-legacy__perk-title {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.p27-legacy__perk-body {
  font-size: 13.5px;
  line-height: 1.6;
  color: var(--p27-muted-dark);
}

.p27-inquiry {
  background: var(--p27-ink-3);
  border: 1px solid var(--p27-line-dark);
  padding: 40px;
}

/* The form and its success state each stack their own rows. */
.p27-inquiry > div {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.p27-inquiry__head {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.p27-inquiry__title {
  font-family: "Anton", Impact, sans-serif;
  font-size: 26px;
  text-transform: uppercase;
}

.p27-inquiry__sub {
  font-size: 13.5px;
  color: var(--p27-muted-dark);
  line-height: 1.55;
}

.p27-inquiry__label {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 10.5px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--p27-muted-dark);
}

.p27-inquiry__input {
  height: 48px;
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--p27-line-dark-2);
  color: var(--p27-cream);
  font-family: inherit;
  font-size: 16px;
  outline: none;
  letter-spacing: 0;
  text-transform: none;
}

.p27-inquiry__field {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.p27-segmented {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border: 1px solid var(--p27-line-dark-2);
}

.p27-segmented__btn {
  height: 46px;
  border: 0;
  background: transparent;
  color: var(--p27-cream);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.p27-segmented__btn[aria-pressed="true"] {
  background: var(--p27-cream);
  color: var(--p27-ink);
}

.p27-inquiry__submit {
  height: 54px;
  margin-top: 6px;
  background: var(--p27-gold);
  color: var(--p27-ink);
  border: 0;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.p27-inquiry__submit:hover {
  background: var(--p27-gold-hover);
}

.p27-inquiry__submit[disabled] {
  opacity: 0.5;
}

.p27-inquiry__note {
  font-size: 12px;
  font-style: italic;
  color: var(--p27-muted-3);
  text-align: center;
}

.p27-inquiry__sent-title {
  font-family: "Anton", Impact, sans-serif;
  font-size: 32px;
  line-height: 1.05;
  text-transform: uppercase;
}

.p27-inquiry__sent-body {
  font-size: 15px;
  line-height: 1.6;
  color: var(--p27-muted-dark);
}

@media (max-width: 759px) {
  .p27-hero__title {
    font-size: 56px;
  }
}

/* ==========================================================================
   Order surface — floating bar, modal (>=760px) and bottom sheet (<760px)
   ========================================================================== */

.p27-orderbar {
  position: fixed;
  z-index: 130;
  right: 24px;
  bottom: 24px;
  height: 60px;
  padding: 0 8px 0 22px;
  background: var(--p27-ink);
  color: var(--p27-cream);
  border: 1px solid var(--p27-line-dark-2);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.28);
  font-family: inherit;
}

.p27-orderbar[hidden] {
  display: none;
}

.p27-orderbar__text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
}

.p27-orderbar__label {
  font-size: 10.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--p27-muted-dark);
}

.p27-orderbar__total {
  font-size: 17px;
  font-variant-numeric: tabular-nums;
}

.p27-orderbar__cta {
  height: 44px;
  padding: 0 18px;
  background: var(--p27-gold);
  color: var(--p27-ink);
  display: flex;
  align-items: center;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

/* Above the site header, which is fixed at z-index 100, and below its mobile
   menu drawer at 200 — the drawer sits behind this scrim and cannot be opened
   while the order is on screen. */
.p27-scrim {
  position: fixed;
  inset: 0;
  z-index: 140;
  background: rgba(12, 11, 10, 0.55);
  opacity: 0;
  transition: opacity 280ms ease;
}

.p27-scrim[hidden] {
  display: none;
}

.p27-scrim.is-open {
  opacity: 1;
}

/* Desktop: centred modal. The sheet rules below take over under 760px. */
.p27-panel {
  position: fixed;
  z-index: 150;
  top: 50%;
  left: 50%;
  width: min(980px, 100vw - 48px);
  max-height: min(780px, 100vh - 48px);
  transform: translate(-50%, -47%);
  opacity: 0;
  transition: transform 380ms cubic-bezier(0.2, 0.8, 0.2, 1), opacity 260ms ease;
  background: var(--p27-paper-2);
  color: var(--p27-ink);
  display: flex;
  flex-direction: column;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.35);
}

.p27-panel[hidden] {
  display: none;
}

.p27-panel.is-open {
  transform: translate(-50%, -50%);
  opacity: 1;
}

.p27-panel__head {
  background: var(--p27-ink);
  color: var(--p27-cream);
  padding: 22px 28px 20px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.p27-panel__headrow {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}

.p27-panel__title-wrap {
  display: flex;
  align-items: center;
  gap: 6px;
}

.p27-panel__back {
  width: 40px;
  height: 44px;
  margin-left: -12px;
  background: transparent;
  border: 0;
  color: var(--p27-gold);
  font-size: 20px;
}

.p27-panel__back[hidden] {
  display: none;
}

.p27-panel__title {
  font-family: "Anton", Impact, sans-serif;
  font-size: 26px;
  text-transform: uppercase;
  letter-spacing: 0.01em;
}

.p27-panel__close {
  width: 44px;
  height: 44px;
  margin-right: -10px;
  background: transparent;
  border: 0;
  color: var(--p27-cream);
  font-size: 22px;
}

.p27-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}

.p27-steps__step {
  display: flex;
  flex-direction: column;
  gap: 8px;
  background: transparent;
  border: 0;
  padding: 0;
  text-align: left;
  cursor: default;
}

.p27-steps__step:not([disabled]) {
  cursor: pointer;
}

.p27-steps__bar {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--p27-line-dark-2);
  transition: background 300ms ease;
}

.p27-steps__label {
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--p27-muted-3);
  line-height: 1.35;
}

.p27-steps__step.is-done .p27-steps__bar,
.p27-steps__step.is-current .p27-steps__bar {
  background: var(--p27-gold);
}

.p27-steps__step.is-done .p27-steps__label {
  color: var(--p27-gold);
}

.p27-steps__step.is-current .p27-steps__label {
  color: var(--p27-cream);
}

.p27-panel__body {
  flex: 1;
  overflow: auto;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  align-content: start;
}

.p27-panel__main {
  padding: 26px 28px;
  display: flex;
  flex-direction: column;
  gap: 26px;
  min-width: 0;
}

.p27-panel__main[hidden] {
  display: none;
}

.p27-empty {
  border: 1px dashed var(--p27-line-light-3);
  padding: 22px;
  font-size: 14px;
  color: var(--p27-muted-light);
}

.p27-line {
  padding: 18px 0;
  border-bottom: 1px solid var(--p27-line-light-2);
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px 16px;
  align-items: center;
}

.p27-line__text {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}

.p27-line__name {
  font-size: 15px;
  font-weight: 500;
}

.p27-line__detail {
  font-size: 12.5px;
  color: var(--p27-muted-light);
}

.p27-line__saving {
  font-size: 12px;
  font-weight: 700;
  color: var(--p27-gold-ink);
}

.p27-line__total {
  font-size: 17px;
  font-variant-numeric: tabular-nums;
  text-align: right;
}

.p27-line__stepper {
  display: flex;
  align-items: center;
  border: 1px solid var(--p27-line-light-3);
  justify-self: start;
}

.p27-line__btn {
  width: 40px;
  height: 40px;
  background: transparent;
  border: 0;
  font-size: 18px;
  color: var(--p27-ink);
}

.p27-line__qty {
  width: 26px;
  text-align: center;
  font-size: 15px;
  font-weight: 500;
  font-variant-numeric: tabular-nums;
}

.p27-line__remove {
  justify-self: end;
  background: transparent;
  border: 0;
  font-size: 12px;
  color: var(--p27-muted-light);
  text-decoration: underline;
  padding: 8px 0;
}

.p27-addmore {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.p27-addmore[hidden] {
  display: none;
}

.p27-addmore__label {
  font-size: 10.5px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--p27-muted-light);
}

.p27-addmore__row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  min-height: 56px;
  padding: 0 16px;
  background: var(--p27-paper);
  border: 1px solid var(--p27-line-light-2);
  color: var(--p27-ink);
  text-align: left;
  width: 100%;
  margin-bottom: 10px;
}

.p27-addmore__row:hover {
  border-color: var(--p27-ink);
}

.p27-addmore__text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.p27-addmore__name {
  font-size: 14px;
  font-weight: 500;
}

.p27-addmore__sub {
  font-size: 12px;
  color: var(--p27-muted-light);
}

.p27-addmore__add {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  white-space: nowrap;
}

.p27-summary {
  align-self: stretch;
  background: var(--p27-paper);
  border-top: 1px solid var(--p27-line-light-2);
  padding: 24px 28px 26px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-width: 0;
}

.p27-summary__label {
  font-size: 10.5px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--p27-muted-light);
}

.p27-summary__compact {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--p27-line-light);
}

.p27-summary__compact[hidden] {
  display: none;
}

.p27-summary__compact-row {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  font-size: 14px;
  font-variant-numeric: tabular-nums;
}

.p27-summary__compact-qty {
  color: var(--p27-muted-light);
}

.p27-summary__edit {
  align-self: flex-start;
  background: transparent;
  border: 0;
  padding: 2px 0;
  font-size: 12px;
  color: var(--p27-ink);
  border-bottom: 1px solid var(--p27-gold);
}

.p27-summary__row {
  display: flex;
  justify-content: space-between;
  font-size: 14px;
  font-variant-numeric: tabular-nums;
}

.p27-summary__saving {
  font-size: 12.5px;
  font-weight: 700;
  color: var(--p27-gold-ink);
}

.p27-summary__saving[hidden] {
  display: none;
}

.p27-summary__note {
  font-size: 11px;
  color: var(--p27-muted-3);
}

.p27-summary__note a {
  text-decoration: underline;
}

.p27-panel__foot {
  border-top: 1px solid var(--p27-ink);
  background: var(--p27-paper-2);
  padding: 16px 28px 20px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 24px;
}

.p27-panel__total {
  display: flex;
  flex-direction: column;
  gap: 2px;
  flex: 1 1 140px;
}

.p27-panel__total-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.p27-panel__total-amount {
  font-size: 30px;
  font-weight: 300;
  letter-spacing: -0.01em;
  font-variant-numeric: tabular-nums;
  line-height: 1.1;
}

.p27-panel__actions {
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex: 1 1 280px;
}

.p27-panel__cta {
  height: 56px;
  background: var(--p27-ink);
  color: var(--p27-cream);
  border: 0;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.p27-panel__cta:hover {
  background: var(--p27-line-dark);
}

.p27-panel__cta[disabled] {
  opacity: 0.5;
}

.p27-panel__cta-arrow {
  color: var(--p27-gold);
}

.p27-panel__note {
  font-size: 12px;
  color: var(--p27-muted-light);
  text-align: center;
}

/* Attendee step ------------------------------------------------------------ */

.p27-field-group {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.p27-field-group__head {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.p27-field-group__label {
  font-size: 10.5px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--p27-muted-light);
}

.p27-field-group__hint {
  font-size: 13px;
  color: var(--p27-muted-light);
}

.p27-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 10.5px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--p27-muted-light);
  min-width: 0;
}

.p27-field__input {
  height: 48px;
  padding: 0 14px;
  background: #FFFFFF;
  border: 1px solid var(--p27-line-light-3);
  color: var(--p27-ink);
  font-family: inherit;
  font-size: 15px;
  letter-spacing: 0;
  text-transform: none;
  outline: none;
  width: 100%;
}

.p27-field__input:focus {
  border-color: var(--p27-ink);
  box-shadow: 0 0 0 3px rgba(246, 176, 30, 0.35);
}

.p27-field__input.is-invalid {
  border-color: #B3261E;
}

.p27-field__error {
  font-size: 11.5px;
  letter-spacing: 0;
  text-transform: none;
  color: #B3261E;
}

.p27-field__error[hidden] {
  display: none;
}

.p27-holders {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.p27-holder {
  border: 1px solid var(--p27-line-light-2);
  background: #FFFFFF;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.p27-holder__head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
}

.p27-holder__name {
  font-size: 14px;
  font-weight: 500;
}

.p27-holder__tag {
  font-size: 10.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--p27-muted-light);
  white-space: nowrap;
}

.p27-holder__input {
  height: 46px;
  padding: 0 12px;
  background: #FFFFFF;
  border: 1px solid var(--p27-line-light-3);
  color: var(--p27-ink);
  font-family: inherit;
  font-size: 15px;
  outline: none;
  width: 100%;
}

.p27-holder__input:focus {
  border-color: var(--p27-ink);
}

.p27-holder__input[readonly] {
  background: var(--p27-paper);
}

.p27-holder__input.is-invalid {
  border-color: #B3261E;
}

.p27-holder__me {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  cursor: pointer;
  min-height: 28px;
}

.p27-holder__me input {
  width: 18px;
  height: 18px;
  accent-color: var(--p27-ink);
  margin: 0;
}

.p27-holder__hint {
  font-size: 12px;
  color: var(--p27-muted-light);
}

/* Mobile: the panel becomes a bottom sheet, single column. */
@media (max-width: 759px) {
  /* The three cards become a swipeable row. Each card is 85% of the viewport
     so the next one's edge shows, which signals "swipe" without arrows or
     instructions — the same pattern as the homepage tier carousel. Desktop is
     untouched: it stays the three-column grid the design specifies. */
  .p27-cards__grid {
    display: flex;
    grid-template-columns: none;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-padding-left: 32px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding-bottom: 20px;
  }

  .p27-cards__grid::-webkit-scrollbar {
    display: none;
  }

  .p27-card {
    flex: 0 0 85%;
    scroll-snap-align: start;
  }

  .p27-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    padding-bottom: 28px;
  }

  .p27-orderbar {
    right: 12px;
    left: 12px;
    bottom: 12px;
  }

  .p27-panel {
    top: auto;
    right: 0;
    bottom: 0;
    left: 0;
    width: 100%;
    max-height: 92vh;
    transform: translateY(105%);
    opacity: 1;
  }

  .p27-panel.is-open {
    transform: translateY(0);
  }

  .p27-panel__body {
    grid-template-columns: 1fr;
  }
}

/* Figures dim while an AXYN preview is in flight; the layout does not move. */
.p27-panel.is-loading .p27-line__total,
.p27-panel.is-loading .p27-summary__row span:last-child,
.p27-panel.is-loading .p27-panel__total-amount {
  opacity: 0.4;
  transition: opacity 150ms ease;
}

/* Nothing covers the order surface while it is open — the site's newsletter
   popup sits at z-index 9999 and appears on an inactivity timer. */
body.p27-order-open #newsletter-popup {
  display: none !important;
}

/* ==========================================================================
   Payment step
   ========================================================================== */

.p27-pay__express {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.p27-pay__divider {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 14px;
  font-size: 10.5px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--p27-muted-3);
}

.p27-pay__rule {
  height: 1px;
  background: var(--p27-line-light-2);
}

.p27-pay__error {
  border: 1px solid #B3261E;
  background: #FCEFEC;
  color: #7A1A12;
  padding: 14px 16px;
  font-size: 13.5px;
  line-height: 1.5;
}

.p27-pay__error[hidden] {
  display: none;
}

.p27-pay__trust {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 11.5px;
  color: var(--p27-muted-light);
}

/* ==========================================================================
   Confirmation
   ========================================================================== */

.p27-done {
  flex: 1;
  overflow: auto;
  background: var(--p27-ink);
  color: var(--p27-cream);
  display: flex;
  flex-direction: column;
}

.p27-done[hidden] {
  display: none;
}

.p27-done__close-row {
  display: flex;
  justify-content: flex-end;
  padding: 10px 14px 0;
}

.p27-done__bulbs {
  display: flex;
  justify-content: space-between;
  padding: 6px 40px;
}

.p27-done__bulb {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--p27-gold);
  box-shadow: 0 0 12px rgba(246, 176, 30, 0.8);
  animation: p27Bulb 1.2s ease-in-out infinite;
}

@keyframes p27Bulb {
  0%, 100% { opacity: 0.25; transform: scale(0.8); }
  45% { opacity: 1; transform: scale(1); }
}

/* Someone who asked for less motion gets lit bulbs, not flashing ones. */
@media (prefers-reduced-motion: reduce) {
  .p27-done__bulb {
    animation: none;
    opacity: 1;
  }

  .p27-done__head,
  .p27-done__stub,
  .p27-done__next,
  .p27-done__actions {
    transition: none !important;
  }
}

.p27-done__body {
  padding: 28px 40px 40px;
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.p27-done__head {
  display: flex;
  flex-direction: column;
  gap: 14px;
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 700ms ease, transform 900ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

.p27-done__title {
  margin: 0;
  font-family: "Anton", Impact, sans-serif;
  font-weight: 400;
  font-size: clamp(60px, 7vw, 92px);
  line-height: 0.9;
  text-transform: uppercase;
  text-wrap: balance;
}

.p27-done__sub {
  margin: 0;
  font-size: 17px;
  line-height: 1.55;
  color: var(--p27-muted-dark);
  max-width: 520px;
  text-wrap: pretty;
}

.p27-done__stubs {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.p27-done__stub {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 112px;
  background: var(--p27-gold);
  color: var(--p27-ink);
  opacity: 0;
  transform: translateY(40px) rotate(-1.5deg);
  transition: opacity 600ms ease, transform 800ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

.p27-done__stub:nth-child(even) {
  transform: translateY(40px) rotate(1.5deg);
}

/* The Binge stub is cream; the VIP tiers are gold. */
.p27-done__stub--cream {
  background: var(--p27-cream);
}

.p27-done__stub-main {
  padding: 20px 22px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 0;
}

.p27-done__stub-kicker {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.p27-done__stub-name {
  font-family: "Anton", Impact, sans-serif;
  font-size: 26px;
  line-height: 1.02;
  text-transform: uppercase;
}

.p27-done__stub-holders {
  font-size: 13px;
  line-height: 1.45;
}

.p27-done__stub-side {
  border-left: 2px dashed rgba(12, 11, 10, 0.35);
  padding: 20px 14px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  text-align: center;
  gap: 8px;
}

.p27-done__stub-dates {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.p27-done__stub-qty {
  font-family: "Anton", Impact, sans-serif;
  font-size: 38px;
  line-height: 1;
}

.p27-done__stub-venue {
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

/* The perforation notches, punched out of the panel's ink background. */
.p27-done__notch {
  position: absolute;
  right: 103px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--p27-ink);
}

.p27-done__notch--top {
  top: -9px;
}

.p27-done__notch--bottom {
  bottom: -9px;
}

.p27-done__next {
  display: flex;
  flex-direction: column;
  opacity: 0;
  transition: opacity 700ms ease 700ms;
}

.p27-done__next-label {
  font-size: 10.5px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--p27-muted-3);
  padding-bottom: 12px;
}

.p27-done__step {
  display: grid;
  grid-template-columns: 36px 1fr;
  gap: 12px;
  padding: 14px 0;
  border-top: 1px solid var(--p27-line-dark);
}

.p27-done__step-n {
  font-size: 12px;
  font-weight: 700;
  color: var(--p27-gold);
  font-variant-numeric: tabular-nums;
  padding-top: 2px;
}

.p27-done__step-text {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.p27-done__step-title {
  font-size: 15px;
  font-weight: 500;
}

.p27-done__step-body {
  font-size: 13px;
  line-height: 1.5;
  color: var(--p27-muted-dark);
}

.p27-done__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  opacity: 0;
  transition: opacity 700ms ease 850ms;
}

.p27-done__cal {
  flex: 1 1 200px;
  height: 54px;
  background: var(--p27-gold);
  color: var(--p27-ink);
  border: 0;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.p27-done__cal:hover {
  background: var(--p27-gold-hover);
}

.p27-done__back {
  flex: 1 1 200px;
  height: 54px;
  background: transparent;
  color: var(--p27-cream);
  border: 1px solid #4A4640;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.p27-done__back:hover {
  border-color: var(--p27-cream);
}

.p27-done__paid {
  font-size: 12px;
  color: var(--p27-muted-3);
  font-variant-numeric: tabular-nums;
}

/* Entrance motion, switched on once the panel has mounted. */
.p27-done.is-revealed .p27-done__head,
.p27-done.is-revealed .p27-done__stub,
.p27-done.is-revealed .p27-done__next,
.p27-done.is-revealed .p27-done__actions {
  opacity: 1;
}

.p27-done.is-revealed .p27-done__head {
  transform: translateY(0);
}

.p27-done.is-revealed .p27-done__stub {
  transform: translateY(0) rotate(0deg);
}

@media (max-width: 759px) {
  .p27-done__body {
    padding: 28px 24px 40px;
  }

  .p27-done__bulbs {
    padding: 6px 24px;
  }

  .p27-done__title {
    font-size: 52px;
  }
}

/* The final step's button is gold: this is the one that takes the money. */
.p27-panel__cta--pay {
  background: var(--p27-gold);
  color: var(--p27-ink);
}

.p27-panel__cta--pay:hover {
  background: var(--p27-gold-hover);
}

.p27-pay__express[hidden],
.p27-pay__divider[hidden] {
  display: none;
}

/* Carousel position dots — only meaningful while the cards scroll, so they are
   hidden at the width where all three sit side by side. */
@media (min-width: 760px) {
  .p27-dots {
    display: none;
  }
}

.p27-dots__dot {
  width: 7px;
  height: 7px;
  background: transparent;
  border: 1px solid var(--p27-line-light-3);
  padding: 0;
}

.p27-dots__dot[aria-current="true"] {
  background: var(--p27-ink);
  border-color: var(--p27-ink);
}
