:root {
  --ink: #3a062d;
  --ink-soft: #5a274e;
  --charcoal: #3f3e40;
  --paper: #f2e7d8;
  --paper-light: #fff8ed;
  --gold: #b88a34;
  --gold-dark: #8d6926;
  --glass: rgba(70, 55, 45, 0.72);
  --shadow: 0 24px 70px rgba(38, 17, 31, 0.24);
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  background: #22171e;
}

body {
  min-height: 100vh;
  margin: 0;
  color: var(--ink);
  font-family: Georgia, "Times New Roman", serif;
  background:
    radial-gradient(circle at 18% 8%, rgba(255, 255, 255, 0.9), transparent 26rem),
    radial-gradient(circle at 88% 78%, rgba(184, 138, 52, 0.3), transparent 24rem),
    linear-gradient(135deg, #efe0ce 0%, #fff8ee 42%, #dac5b1 100%);
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -2;
  content: "";
  background-image:
    linear-gradient(115deg, transparent 0 18%, rgba(255, 255, 255, 0.24) 20%, transparent 23%),
    linear-gradient(75deg, transparent 0 62%, rgba(58, 6, 45, 0.12) 64%, transparent 66%);
  opacity: 0.8;
}

body::after {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  content: "";
  background-image: url("assets/florrie-poster.jpeg");
  background-position: center;
  background-size: cover;
  opacity: 0.11;
  filter: blur(12px) saturate(0.9);
  transform: scale(1.03);
}

.page-shell {
  display: grid;
  min-height: 100vh;
  padding: clamp(18px, 4vw, 52px);
  place-items: center;
}

.ticket-landing {
  display: grid;
  width: min(1120px, 100%);
  min-height: min(760px, calc(100vh - clamp(36px, 8vw, 104px)));
  overflow: hidden;
  grid-template-columns: minmax(290px, 0.82fr) minmax(360px, 1fr);
  background: rgba(255, 248, 237, 0.9);
  border: 1px solid rgba(184, 138, 52, 0.34);
  box-shadow: var(--shadow);
}

.portrait-panel {
  position: relative;
  display: grid;
  min-height: 560px;
  overflow: hidden;
  align-items: end;
  justify-items: center;
  background:
    radial-gradient(circle at 44% 36%, rgba(255, 255, 255, 0.9), transparent 18rem),
    linear-gradient(180deg, rgba(255, 248, 237, 0.86), rgba(221, 199, 178, 0.72)),
    var(--paper);
}

.portrait-panel::before {
  position: absolute;
  right: 12%;
  bottom: 10%;
  left: 12%;
  height: 1px;
  content: "";
  background: linear-gradient(90deg, transparent, rgba(184, 138, 52, 0.52), transparent);
}

.portrait-panel::after {
  position: absolute;
  inset: 0;
  content: "";
  background:
    linear-gradient(90deg, transparent 74%, rgba(255, 248, 237, 0.82)),
    linear-gradient(0deg, rgba(58, 6, 45, 0.1), transparent 34%);
  pointer-events: none;
}

.portrait-panel img {
  position: relative;
  z-index: 1;
  display: block;
  width: min(116%, 650px);
  max-height: 108%;
  object-fit: contain;
  object-position: bottom center;
  filter: drop-shadow(0 24px 34px rgba(58, 6, 45, 0.2));
  transform: translateY(1%);
}

.portrait-copy {
  position: absolute;
  top: clamp(26px, 4vw, 48px);
  right: 28px;
  left: 28px;
  z-index: 2;
  display: grid;
  gap: 8px;
  color: var(--charcoal);
  text-align: center;
}

.portrait-copy span,
.portrait-copy strong {
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.portrait-copy span {
  color: var(--gold-dark);
  font-size: clamp(0.9rem, 1.8vw, 1.35rem);
  font-weight: 700;
}

.portrait-copy strong {
  color: var(--charcoal);
  font-size: clamp(1.28rem, 2.6vw, 2rem);
  line-height: 1.2;
}

.booking-panel {
  position: relative;
  display: flex;
  min-height: 100%;
  padding: clamp(28px, 4vw, 54px);
  flex-direction: column;
  justify-content: center;
  background:
    linear-gradient(180deg, rgba(255, 252, 246, 0.8), rgba(242, 231, 216, 0.95)),
    repeating-linear-gradient(90deg, rgba(58, 6, 45, 0.035) 0 1px, transparent 1px 9px);
}

.booking-panel::before,
.booking-panel::after {
  position: absolute;
  right: clamp(20px, 4vw, 54px);
  left: clamp(20px, 4vw, 54px);
  height: 1px;
  content: "";
  background: linear-gradient(90deg, transparent, rgba(184, 138, 52, 0.75), transparent);
}

.booking-panel::before {
  top: clamp(18px, 3vw, 36px);
}

.booking-panel::after {
  bottom: clamp(18px, 3vw, 36px);
}

.event-kicker,
.event-details dt,
.ticket-label,
.ticket-badge,
.ticket-note,
.ticket-detail,
.ticket-action,
.checkout-note {
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.event-kicker {
  margin: 0;
  color: var(--ink);
  font-size: clamp(1.4rem, 3.4vw, 2.7rem);
  line-height: 1.1;
  text-align: center;
}

h1 {
  margin: 8px 0 0;
  color: var(--ink);
  font-family: "Snell Roundhand", "Brush Script MT", "Segoe Script", cursive;
  font-size: clamp(5.7rem, 11vw, 8.9rem);
  font-weight: 400;
  line-height: 0.78;
  text-align: center;
  text-shadow: 0 8px 28px rgba(58, 6, 45, 0.16);
}

.event-summary {
  width: min(520px, 92%);
  margin: 18px auto 0;
  color: var(--charcoal);
  font-size: clamp(0.94rem, 1.2vw, 1.08rem);
  font-style: italic;
  line-height: 1.45;
  text-align: center;
}

.ornament {
  display: grid;
  width: min(420px, 82%);
  margin: clamp(20px, 3.6vw, 32px) auto;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 18px;
  color: var(--gold);
}

.ornament span {
  height: 1px;
  background: linear-gradient(90deg, transparent, currentColor);
}

.ornament span:last-child {
  background: linear-gradient(90deg, currentColor, transparent);
}

.ornament i {
  font-style: normal;
  font-size: 1.25rem;
}

.event-details {
  display: grid;
  margin: 0 auto clamp(18px, 3.5vw, 30px);
  width: min(620px, 100%);
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid rgba(184, 138, 52, 0.45);
  border-bottom: 1px solid rgba(184, 138, 52, 0.45);
}

.event-details div {
  padding: 14px 14px;
  text-align: center;
}

.event-details div + div {
  border-left: 1px solid rgba(184, 138, 52, 0.34);
}

.event-details dt {
  margin-bottom: 8px;
  color: var(--gold-dark);
  font-size: 0.67rem;
  font-weight: 700;
}

.event-details dd {
  margin: 0;
  color: var(--charcoal);
  font-size: clamp(1rem, 1.55vw, 1.3rem);
  font-weight: 700;
  line-height: 1.25;
}

.ticket-options {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.ticket-card {
  position: relative;
  display: grid;
  min-height: 190px;
  padding: 24px 20px 92px;
  overflow: hidden;
  grid-template-rows: 46px 4.6em auto auto 2.9em auto;
  justify-items: center;
  align-content: center;
  gap: 4px;
  align-items: center;
  color: var(--paper-light);
  text-align: center;
  text-decoration: none;
  background:
    linear-gradient(180deg, rgba(75, 63, 55, 0.94), rgba(58, 6, 45, 0.94)),
    var(--glass);
  border: 1px solid rgba(255, 248, 237, 0.22);
  box-shadow: 0 18px 36px rgba(58, 6, 45, 0.18);
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.ticket-card::before {
  position: absolute;
  inset: 10px;
  content: "";
  border: 1px solid rgba(255, 248, 237, 0.28);
  pointer-events: none;
}

.ticket-card::after {
  position: absolute;
  top: -40%;
  left: -20%;
  width: 50%;
  height: 180%;
  content: "";
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.15), transparent);
  transform: rotate(16deg);
  transition: left 240ms ease;
}

.ticket-card:hover,
.ticket-card:focus-visible {
  border-color: rgba(255, 248, 237, 0.62);
  box-shadow: 0 24px 44px rgba(58, 6, 45, 0.28);
  outline: none;
  transform: translateY(-4px);
}

.ticket-card:hover::after,
.ticket-card:focus-visible::after {
  left: 80%;
}

.ticket-card.featured {
  background:
    linear-gradient(180deg, rgba(80, 8, 63, 0.96), rgba(31, 18, 27, 0.98)),
    var(--ink);
}

.ticket-badge {
  justify-self: end;
  align-self: start;
  z-index: 1;
  padding: 6px 9px;
  color: var(--ink);
  background: var(--paper-light);
  border: 1px solid rgba(184, 138, 52, 0.55);
  font-size: 0.5rem;
  font-weight: 800;
  line-height: 1;
}

.ticket-badge:empty {
  visibility: hidden;
}

.ticket-label {
  color: #fff9ef;
  font-size: clamp(0.84rem, 1.2vw, 1.02rem);
  font-weight: 700;
  line-height: 1.45;
}

.ticket-card strong {
  display: block;
  margin: 6px 0 0;
  color: #fff;
  font-size: clamp(2.7rem, 5vw, 4rem);
  font-weight: 400;
  line-height: 0.95;
}

.ticket-note {
  color: rgba(255, 248, 237, 0.78);
  font-size: 0.42rem;
  font-weight: 700;
}

.ticket-detail {
  display: block;
  max-width: 21em;
  min-height: 2.9em;
  margin-top: 4px;
  color: rgba(255, 248, 237, 0.82);
  font-size: 0.5rem;
  font-weight: 700;
  line-height: 1.45;
}

.ticket-detail:empty {
  visibility: hidden;
}

.ticket-action {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  display: inline-flex;
  min-height: 46px;
  min-width: 220px;
  margin-top: 0;
  padding: 0 20px;
  align-items: center;
  justify-content: center;
  color: var(--ink);
  background: var(--paper-light);
  border: 1px solid rgba(184, 138, 52, 0.5);
  font-size: 0.72rem;
  font-weight: 800;
  white-space: nowrap;
}

.checkout-note {
  margin: 16px 0 0;
  color: var(--ink-soft);
  font-size: 0.68rem;
  font-weight: 700;
  line-height: 1.65;
  text-align: center;
}

@media (max-width: 920px) {
  html,
  body {
    width: 100%;
    min-width: 0;
    overflow-x: hidden;
    background: var(--paper-light) !important;
  }

  body::before,
  body::after {
    display: none;
  }

  .page-shell {
    display: block;
    padding: 0;
  }

  .ticket-landing {
    width: 100%;
    min-height: 100vh;
    grid-template-columns: 1fr;
    border: 0 !important;
    box-shadow: none !important;
  }

  .portrait-panel {
    min-height: 46vh;
  }

  .portrait-panel::after {
    background:
      linear-gradient(0deg, rgba(255, 248, 237, 0.96), transparent 36%),
      linear-gradient(180deg, transparent 62%, rgba(58, 6, 45, 0.24));
  }

  .booking-panel {
    min-height: auto;
  }
}

@media (min-width: 921px) and (max-height: 780px) {
  .page-shell {
    padding: 22px;
  }

  .booking-panel {
    padding: 28px 42px;
  }

  .event-kicker {
    font-size: 2rem;
  }

  h1 {
    font-size: 6.9rem;
  }

  .ornament {
    margin: 18px auto;
  }

  .event-summary {
    margin-top: 12px;
    font-size: 0.9rem;
  }

  .event-details {
    margin-bottom: 20px;
  }

  .event-details div {
    padding: 12px 10px;
  }

  .ticket-card {
    min-height: 162px;
    padding: 18px 16px 76px;
    grid-template-rows: 42px minmax(2.7em, auto) auto auto minmax(2.9em, auto) auto;
  }

  .ticket-action {
    bottom: 18px;
  }

  .ticket-badge {
    justify-self: end;
  }

  .ticket-card strong {
    font-size: 2.6rem;
  }

  .ticket-action {
    min-height: 40px;
    margin-top: 14px;
  }

  .checkout-note {
    margin-top: 12px;
  }
}

@media (max-width: 640px) {
  .portrait-panel {
    height: auto;
    min-height: 270px;
    padding: 58px 18px 0;
  }

  .portrait-panel img {
    width: min(245px, 70vw);
    height: auto;
    max-height: 260px;
    transform: none;
  }

  .portrait-copy {
    top: 22px;
  }

  .portrait-copy span {
    font-size: 0.8rem;
  }

  .portrait-copy strong {
    font-size: 1.08rem;
  }

  .booking-panel {
    padding: 24px 18px 38px;
  }

  .event-kicker {
    font-size: 1.55rem;
  }

  h1 {
    font-size: clamp(4.35rem, 21vw, 5.8rem);
  }

  .ornament {
    margin: 16px auto;
  }

  .event-summary {
    margin-top: 10px;
    font-size: 0.86rem;
  }

  .event-details {
    order: 30;
    margin-top: 20px;
    margin-bottom: 0;
  }

  .ticket-options {
    order: 20;
  }

  .checkout-note {
    order: 25;
  }

  .ticket-options {
    grid-template-columns: 1fr;
  }

  .event-details div + div {
    border-top: 1px solid rgba(184, 138, 52, 0.34);
    border-left: 0;
  }

  .ticket-card {
    min-height: 166px;
    padding: 18px 16px 74px;
    grid-template-rows: 38px minmax(0, auto) auto auto minmax(0, auto) auto;
  }

  .ticket-action {
    min-width: 190px;
  }

  .ticket-action {
    bottom: 16px;
  }

  .ticket-badge {
    justify-self: end;
  }

  .ticket-label {
    min-height: 0;
  }

  .ticket-card strong {
    font-size: 2.7rem;
  }

  .ticket-action {
    min-height: 40px;
    margin-top: 14px;
  }
}
