:root {
  color-scheme: light;
  /* Site theme: aged mahogany, parchment and muted brass. */
  --ink: #2d1b14;
  --paper: #d9c2a3;
  --white: #fff8eb;
  --plum: #4a2118;
  --yellow: #c99a4b;
  --line: #432a1e;
  --muted: #735d4e;
  --error: #9e2f25;
  --mahogany-deep: #2b120d;
  --walnut: #6c3c27;
}

* { box-sizing: border-box; }

html { scroll-behavior: auto; }

body {
  position: relative;
  isolation: isolate;
  margin: 0;
  min-width: 320px;
  color: var(--ink);
  background-color: var(--paper);
  background-image:
    linear-gradient(90deg, rgba(76, 40, 25, .025), rgba(255, 248, 235, .12) 42%, rgba(76, 40, 25, .035)),
    repeating-linear-gradient(2deg, rgba(91, 52, 31, .035) 0, rgba(91, 52, 31, .035) 1px, transparent 1px, transparent 8px);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 1rem;
  line-height: 1.55;
}

.page-texture {
  position: absolute;
  inset: 0;
  z-index: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-auto-rows: clamp(240px, 33vw, 420px);
  overflow: hidden;
  opacity: .04;
  filter: sepia(.55) saturate(.32) contrast(.72);
  pointer-events: none;
}

.page-texture-tile { background-position: center; background-size: cover; }

body > header, body > main, body > footer { position: relative; z-index: 1; }

a { color: inherit; }

.site-header {
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  overflow: hidden;
  padding: 1.1rem clamp(1rem, 4vw, 4rem);
  border-bottom: .55rem solid var(--yellow);
  color: var(--white);
  background: var(--mahogany-deep);
}

.site-header::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -2;
  background: url('src/images/ribbons/footer.png') center top / cover no-repeat;
  opacity: .34;
  filter: sepia(.35) saturate(.72) contrast(1.08);
}

.site-header::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(90deg, rgba(35,14,10,.94) 0%, rgba(46,19,13,.68) 48%, rgba(35,14,10,.9) 100%);
}

.brand {
  position: relative;
  isolation: isolate;
  display: block;
  width: 220px;
  height: 76px;
  text-decoration: none;
}

.brand::before {
  content: '';
  position: absolute;
  inset: -.9rem -2.2rem;
  z-index: -1;
  background: radial-gradient(ellipse at 48% 50%, rgba(217, 194, 163, .58) 0%, rgba(201, 154, 75, .2) 48%, rgba(201, 154, 75, 0) 78%);
  filter: blur(3px);
}

.brand-mark {
  display: block;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.brand-logo {
  display: block;
  width: 220px;
  height: auto;
  transform: translateY(-57px);
  filter: drop-shadow(0 1px 0 rgba(255, 247, 230, .72)) drop-shadow(0 2px 2px rgba(31, 12, 8, .48));
}

.brand:focus-visible {
  outline: 3px solid var(--yellow);
  outline-offset: 3px;
}

nav { display: flex; align-items: center; gap: .35rem; }

nav a {
  padding: .65rem .8rem;
  border: 2px solid transparent;
  color: var(--white);
  font-size: .92rem;
  font-weight: 700;
  text-decoration: none;
  text-shadow: 0 1px 2px rgba(0,0,0,.6);
}

nav a:hover, nav a:focus-visible, nav a[aria-current="page"] {
  border-color: var(--yellow);
  outline: none;
}

nav .ticket-link {
  color: var(--mahogany-deep);
  background: var(--yellow);
  text-shadow: none;
}

nav .ticket-link:hover, nav .ticket-link:focus-visible, nav .ticket-link[aria-current="page"] { border-color: var(--yellow); }

main { max-width: 1160px; min-height: calc(100vh - 160px); margin: 0 auto; padding: clamp(3rem, 8vw, 7rem) clamp(1rem, 4vw, 3rem); }
[hidden] { display: none !important; }
.page-panel:focus { outline: none; }
.visually-hidden { position: absolute !important; width: 1px !important; height: 1px !important; overflow: hidden !important; clip: rect(0 0 0 0) !important; clip-path: inset(50%) !important; white-space: nowrap !important; }
#contest-status { display: none !important; }

.eyebrow {
  margin-bottom: .65rem;
  color: var(--plum);
  font-size: .82rem;
  font-weight: 800;
  letter-spacing: .13em;
  text-transform: uppercase;
}

h1, h2, h3 { margin-top: 0; line-height: 1.08; }
h1 { max-width: 13ch; margin-bottom: 1rem; font-family: Georgia, 'Times New Roman', serif; font-size: clamp(3rem, 9vw, 7rem); font-weight: 700; letter-spacing: -.045em; }
h2 { font-family: Georgia, 'Times New Roman', serif; font-size: 1.7rem; }
h3 { font-size: 1rem; }
.lead { max-width: 36rem; margin: 0; font-size: clamp(1.15rem, 2vw, 1.45rem); }

.show-layout { display: grid; grid-template-columns: minmax(0, 1.7fr) minmax(250px, .75fr); gap: clamp(2rem, 7vw, 6rem); align-items: end; }
.show-details { margin: 0; border-top: 2px solid var(--line); }
.show-details div { display: grid; grid-template-columns: 5rem 1fr; gap: 1rem; padding: .85rem 0; border-bottom: 1px solid var(--line); }
.show-details dt { color: var(--muted); font-size: .85rem; font-weight: 700; text-transform: uppercase; }
.show-details dd { margin: 0; font-weight: 700; }
.placeholder-copy { max-width: 40rem; margin: 4rem 0 1.5rem; }
.show-actions { display: flex; flex-wrap: wrap; align-items: stretch; gap: .65rem; }
.show-jump-links { display: flex; flex-wrap: wrap; gap: .35rem; }
.show-jump-links a { display: inline-flex; align-items: center; padding: .75rem .85rem; border: 2px solid #8a5b26; color: #351710; background: #d2a653; font-size: .86rem; font-weight: 800; text-decoration: none; }
.show-jump-links a:hover, .show-jump-links a:focus-visible { color: var(--white); background: var(--walnut); border-color: var(--line); outline: none; }

.contest-vote { --tito-face-x: 39%; --tito-face-y: 34%; --michael-face-x: 59%; --michael-face-y: 23%; --tito-light: rgba(255,250,237,.12); --michael-light: rgba(255,250,237,.08); margin-top: clamp(4rem, 8vw, 7rem); }
.contest-heading { display: flex; align-items: end; justify-content: space-between; gap: 1rem; padding: 0 .1rem .8rem; color: var(--ink); }
.contest-heading h2 { margin: 0; font-family: Arial, Helvetica, sans-serif; font-size: .9rem; font-weight: 800; letter-spacing: .11em; line-height: 1.2; white-space: nowrap; }
.contest-heading p { display: flex; align-items: center; gap: .45rem; margin: 0; font-size: .78rem; white-space: nowrap; }
.contest-heading p i { display: block; width: .5rem; height: .5rem; border-radius: 50%; background: #8b532d; }
.contest-stage { position: relative; display: flex; flex-direction: column; min-height: clamp(340px, 38vw, 430px); overflow: hidden; border: 2px solid #32150f; color: #fff7e7; background: #1e1715; box-shadow: .5rem .55rem 0 rgba(116, 70, 36, .38); }
.contest-photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 20%; }
.contest-stage::before { content: ''; position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, rgba(17,12,11,.66), transparent 32%, transparent 58%, rgba(17,12,11,.7)); pointer-events: none; }
.contest-stage::after { content: ''; position: absolute; inset: 0; z-index: 2; background: radial-gradient(ellipse 12% 22% at var(--tito-face-x) var(--tito-face-y), var(--tito-light), transparent 100%), radial-gradient(ellipse 12% 22% at var(--michael-face-x) var(--michael-face-y), var(--michael-light), transparent 100%); pointer-events: none; }
.contest-vote[data-spotlight="tito"] { --tito-light: rgba(255,250,237,.44); --michael-light: rgba(0,0,0,.6); }
.contest-vote[data-spotlight="michael"] { --tito-light: rgba(0,0,0,.6); --michael-light: rgba(255,250,237,.44); }
.contest-screen { position: relative; z-index: 3; display: flex; flex: 1; flex-direction: column; min-height: 0; }
.contest-arena { display: grid; flex: 1; grid-template-columns: repeat(2, minmax(0, 1fr)); min-height: 195px; }
.vote-button { position: relative; display: block; min-width: 0; padding: 0; border: 0; color: #fff; background: transparent; font: inherit; cursor: pointer; text-align: left; }
.vote-button::before { content: ''; position: absolute; inset: 0; background: transparent; transition: background .3s ease; }
.contest-vote[data-spotlight="tito"] .contestant-michael::before, .contest-vote[data-spotlight="michael"] .contestant-tito::before { background: rgba(0,0,0,.18); }
.vote-button:focus-visible { outline: 3px solid #f3ce7a; outline-offset: -3px; }
.vote-button:disabled { cursor: default; }
.candidate-caption { position: absolute; right: 1.1rem; bottom: 1rem; left: 1.1rem; z-index: 2; display: flex; align-items: end; justify-content: space-between; gap: .6rem; text-align: left; text-shadow: 0 2px 5px rgba(0,0,0,.8); }
.contestant-michael .candidate-caption { flex-direction: row-reverse; text-align: right; }
.candidate-caption strong { font-family: Georgia, 'Times New Roman', serif; font-size: clamp(1.45rem, 4vw, 2.35rem); line-height: 1; text-transform: uppercase; }
.candidate-caption small { padding: .68rem .9rem; border: 2px solid currentColor; background: rgba(24,14,10,.7); font-size: .9rem; font-weight: 800; letter-spacing: .04em; white-space: nowrap; text-transform: uppercase; }
.vote-button:not(:disabled):hover .candidate-caption small, .vote-button:focus-visible .candidate-caption small, .vote-button.is-picked .candidate-caption small { color: #27170e; background: #f0cd86; text-shadow: none; }
.contest-live { position: relative; z-index: 3; padding: .65rem 1.35rem .8rem; color: #f2e4d4; background: rgba(22,13,11,.72); }
.contest-live-heading, .vote-labels { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.contest-live-heading { margin-bottom: .38rem; font-size: .67rem; font-weight: 800; letter-spacing: .07em; text-transform: uppercase; }
#contest-leader { color: #f0cd86; font-weight: 600; letter-spacing: 0; text-transform: none; }
.vote-meter { display: flex; width: 100%; height: .4rem; overflow: hidden; background: #7f6a57; }
.vote-meter span { display: block; width: 0; height: 100%; transition: width .45s cubic-bezier(.22,.78,.25,1); }
#tito-meter { background: #db8751; }
#michael-meter { background: #f0cd86; }
.vote-labels { margin-top: .28rem; }
.vote-tally { display: flex; align-items: baseline; gap: .35rem; margin: 0; color: #dbc7b4; font-size: .72rem; }
.vote-tally strong { color: #fff7e7; font-size: .88rem; }

@media (min-width: 761px) {
  .contest-vote { margin-top: 3.5rem; }
}

.show-section { position: relative; margin-top: clamp(5rem, 10vw, 9rem); padding-top: 2rem; border-top: 2px solid var(--line); scroll-margin-top: 2rem; }
.show-section:focus { outline: none; }
.show-section .section-number { position: absolute; top: -1.1rem; right: 0; padding: 0 .5rem; color: var(--plum); background: var(--paper); font-family: Georgia, 'Times New Roman', serif; font-size: 1.4rem; font-weight: 700; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 2rem; margin-bottom: 2rem; }
.section-heading h2, .committee-section h2 { margin-bottom: 0; font-size: clamp(2.2rem, 5vw, 4rem); letter-spacing: -.025em; }
.section-heading .eyebrow { margin-bottom: .5rem; }
.section-note { max-width: 25rem; margin: 0; color: var(--muted); font-size: .9rem; }

.carousel-controls { display: flex; align-items: center; gap: .65rem; flex: 0 0 auto; }
.carousel-controls button { display: grid; width: 2.65rem; height: 2.65rem; place-items: center; border: 2px solid var(--line); color: var(--ink); background: var(--white); font: inherit; font-weight: 800; cursor: pointer; }
.carousel-controls button:hover, .carousel-controls button:focus-visible { color: var(--white); background: var(--plum); outline: none; }
.carousel-controls span { min-width: 3.2rem; text-align: center; font-size: .9rem; font-weight: 700; }
.rehearsal-carousel { border: 2px solid var(--line); box-shadow: .65rem .65rem 0 var(--yellow); }
.rehearsal-slide { position: relative; min-height: clamp(330px, 52vw, 590px); background-position: center; background-size: cover; }
.rehearsal-placeholder { background-color: #8f4c35; }
.rehearsal-placeholder:nth-child(2) { background-color: #5b2c22; }
.rehearsal-placeholder:nth-child(3) { background-color: #a56a3c; }
.rehearsal-slide::before { content: ''; position: absolute; inset: 0; background: linear-gradient(to top, rgba(35,29,32,.82), transparent 58%); }
.slide-copy { position: absolute; left: clamp(1rem, 4vw, 2.5rem); right: clamp(1rem, 4vw, 2.5rem); bottom: clamp(1rem, 4vw, 2.5rem); z-index: 1; max-width: 44rem; color: var(--white); }
.slide-copy span { display: inline-block; margin-bottom: .7rem; padding: .3rem .5rem; border: 1px solid currentColor; font-size: .8rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.slide-copy p { margin: 0; font-family: Georgia, 'Times New Roman', serif; font-size: clamp(1.55rem, 4vw, 3.3rem); line-height: 1.12; }

.cast-tier { display: grid; gap: 1rem; margin-bottom: 1.5rem; }
.cast-leads { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.cast-supporting { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.cast-ensemble { grid-template-columns: repeat(6, minmax(0, 1fr)); }
.ensemble-heading { margin: 3rem 0 1rem; font-family: Georgia, 'Times New Roman', serif; font-size: 1.8rem; }
.cast-card { position: relative; min-width: 0; overflow: hidden; border: 2px solid var(--line); background: var(--white); }
.cast-card:focus { outline: 4px solid var(--yellow); outline-offset: 2px; }
.cast-face { position: relative; display: grid; aspect-ratio: 4 / 5; min-height: 0; overflow: hidden; place-items: center; color: var(--muted); background: #d6c0a4; font-size: .78rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.cast-face img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 25%; transform: scale(1.08); transform-origin: 50% 28%; }
.cast-face span { position: relative; z-index: 0; grid-area: 1 / 1; padding: .75rem; text-align: center; }
.cast-ensemble .cast-face { aspect-ratio: 1; }
.cast-label { position: relative; z-index: 2; display: grid; min-height: 4.2rem; place-content: center; padding: .6rem .65rem; color: var(--white); background: var(--plum); text-align: center; }
.cast-performer { font-size: .74rem; font-weight: 900; letter-spacing: .1em; text-transform: uppercase; }
.cast-role { margin-top: .14rem; font-family: Georgia, 'Times New Roman', serif; font-size: 1.05rem; font-weight: 700; }
.cast-ensemble .cast-label { min-height: 3.55rem; padding: .48rem .3rem; }
.cast-ensemble .cast-performer { font-size: .62rem; }
.cast-ensemble .cast-role { font-family: Arial, Helvetica, sans-serif; font-size: .7rem; letter-spacing: .02em; }
.cast-bio { position: absolute; inset: 0 0 4.2rem; z-index: 1; display: flex; flex-direction: column; justify-content: flex-end; gap: .28rem; padding: clamp(1rem, 4vw, 1.5rem); padding-bottom: .8rem; color: var(--white); background: rgba(0,0,0,.46); opacity: 0; font-weight: 400; line-height: 1.25; text-align: left; text-shadow: 0 1px 2px rgba(0,0,0,.65); }
.cast-bio-line { display: block; min-height: 1.25em; }
.cast-supporting .cast-bio { gap: .2rem; padding: .85rem; padding-bottom: .65rem; font-size: .82rem; line-height: 1.22; }
.cast-card:hover .cast-bio, .cast-card:focus .cast-bio { opacity: 1; }
.pit-heading { display: flex; align-items: end; justify-content: space-between; gap: 1rem; margin: 4rem 0 1rem; padding-top: 2rem; border-top: 2px solid var(--line); }
.pit-heading .eyebrow { margin: 0; }
.pit-heading h3 { margin: 0; font-family: Georgia, 'Times New Roman', serif; font-size: clamp(1.8rem, 4vw, 2.8rem); }
.pit-grid { display: grid; grid-template-columns: repeat(9, minmax(0, 1fr)); gap: .55rem; }
.pit-grid div { display: grid; min-height: 5.5rem; place-items: center; padding: .6rem .35rem; border: 2px solid var(--line); color: var(--white); background: var(--plum); font-size: .78rem; font-weight: 800; letter-spacing: .04em; text-align: center; text-transform: uppercase; }
.pit-grid div:nth-child(even) { color: var(--plum); background: var(--yellow); }

.synopsis-copy { max-width: 52rem; padding-left: clamp(0rem, 5vw, 4.5rem); font-family: Georgia, 'Times New Roman', serif; font-size: clamp(1.05rem, 1.5vw, 1.2rem); line-height: 1.75; }
.synopsis-copy p { margin: 0 0 1.25rem; }
.synopsis-copy p:last-child { margin-bottom: 0; }
.track-list { overflow: hidden; border: 2px solid var(--line); background: rgba(255, 249, 238, .34); box-shadow: .55rem .55rem 0 rgba(108, 60, 39, .22); }
.act-label { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; padding: .65rem 1rem; color: var(--paper); background: var(--walnut); }
.act-label span { font-family: Georgia, 'Times New Roman', serif; font-size: 1.25rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.act-label small { color: #ecd7b5; font-size: .72rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.track { position: relative; display: grid; grid-template-columns: 2.4rem minmax(0, 1fr) minmax(150px, .65fr); align-items: center; gap: .55rem 1rem; min-height: 4rem; padding: .85rem 1rem; border-bottom: 1px solid rgba(75, 33, 24, .28); transition: transform .18s ease, background-color .18s ease, box-shadow .18s ease; }
.track:nth-child(odd) { background: rgba(255,255,255,.17); }
.track:hover { z-index: 1; background: #f1e1c8; box-shadow: inset .35rem 0 0 var(--yellow); transform: translateX(.35rem); }
.track-has-sample { background: linear-gradient(90deg, rgba(201,154,75,.28), rgba(255,249,238,.55)); }
.track-number { color: var(--plum); font-family: Georgia, 'Times New Roman', serif; font-size: 1.15rem; font-weight: 700; }
.track-title { display: grid; gap: .15rem; }
.track-title strong { font-family: Georgia, 'Times New Roman', serif; font-size: 1.05rem; }
.track small { color: var(--muted); font-size: .82rem; }
.track-singer { justify-self: end; color: var(--muted); font-size: .82rem; text-align: right; }
.custom-player { grid-column: 2 / -1; display: grid; grid-template-columns: 2.35rem minmax(80px, 1fr) auto; align-items: center; gap: .7rem; padding: .5rem .65rem; border: 1px solid rgba(75,33,24,.45); background: rgba(74,33,24,.09); }
.custom-player audio { display: none; }
.player-toggle { display: grid; width: 2.35rem; height: 2.35rem; place-items: center; border: 2px solid var(--plum); border-radius: 50%; color: var(--white); background: var(--plum); font: inherit; font-size: .78rem; cursor: pointer; }
.player-toggle:hover, .player-toggle:focus-visible { color: var(--plum); background: var(--yellow); outline: 2px solid var(--plum); outline-offset: 2px; }
.player-toggle:disabled { border-color: #8f8175; color: #e3ddd4; background: #8f8175; cursor: not-allowed; }
.player-progress { width: 100%; height: .4rem; margin: 0; appearance: none; border: 0; border-radius: 0; background: linear-gradient(90deg, var(--plum) var(--played, 0%), #cbbca9 var(--played, 0%)); cursor: pointer; }
.player-progress::-webkit-slider-thumb { width: .9rem; height: .9rem; appearance: none; border: 2px solid var(--paper); border-radius: 50%; background: var(--plum); box-shadow: 0 0 0 1px var(--plum); }
.player-progress::-moz-range-thumb { width: .75rem; height: .75rem; border: 2px solid var(--paper); border-radius: 50%; background: var(--plum); box-shadow: 0 0 0 1px var(--plum); }
.player-time { min-width: 5.7rem; color: var(--muted); font-size: .72rem; font-variant-numeric: tabular-nums; text-align: right; }

.production-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .8rem; margin: 0; }
.production-credit { display: grid; grid-template-columns: 5.35rem minmax(0, 1fr); align-items: center; gap: 1rem; min-height: 7.15rem; padding: .75rem 1rem; border: 1px solid rgba(67,42,30,.45); background: rgba(255,248,235,.38); box-shadow: inset .3rem 0 0 rgba(201,154,75,.55); }
.production-portrait { position: relative; display: grid; width: 4.9rem; height: 5.75rem; overflow: hidden; place-items: center; border: .35rem double #b98438; border-radius: 48% 48% 14% 14% / 38% 38% 12% 12%; color: #f2d59a; background-color: var(--mahogany-deep); background-image: repeating-linear-gradient(3deg, rgba(255,255,255,.025) 0 1px, transparent 1px 6px); box-shadow: 0 .25rem 0 #4a2718, 0 .4rem .65rem rgba(43,18,13,.28); font-family: Georgia, 'Times New Roman', serif; font-size: .8rem; font-weight: 800; letter-spacing: .06em; }
.production-portrait img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 25%; filter: sepia(.08) saturate(.9); opacity: 0; }
.production-portrait img.is-loaded { opacity: 1; }
.production-copy h3 { margin: 0 0 .2rem; color: var(--plum); font-family: Georgia, 'Times New Roman', serif; font-size: 1.08rem; }
.production-copy p { margin: 0; color: var(--muted); font-size: .84rem; line-height: 1.45; }
.writer-credits { margin-top: 3rem; padding-top: 2rem; border-top: 4px solid var(--plum); }
.writer-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .8rem; margin-top: 1rem; }
.writer-credit { background: rgba(201,154,75,.13); box-shadow: inset .3rem 0 0 var(--plum); }

.button, .secondary-button, .text-button { font: inherit; cursor: pointer; }
.button {
  display: inline-block;
  padding: .85rem 1.2rem;
  border: 2px solid var(--line);
  color: var(--white);
  background: var(--plum);
  font-weight: 800;
  text-decoration: none;
}
.button:hover, .button:focus-visible { color: var(--plum); background: var(--yellow); outline: none; }
.narrow-copy { max-width: 680px; font-size: 1.15rem; }
.committee-section { margin-top: 5rem; padding-top: 2rem; border-top: 2px solid var(--line); }
.committee-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; margin-top: 2rem; }
.committee-card { border: 2px solid var(--line); background: var(--white); }
.portrait-placeholder { display: grid; aspect-ratio: 4 / 5; place-items: center; color: var(--muted); background: #d8d0c6; font-size: .8rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.committee-card h3 { margin: 0; padding: .9rem .9rem .2rem; font-family: Georgia, 'Times New Roman', serif; font-size: 1.2rem; }
.committee-card p { margin: 0; padding: 0 .9rem 1rem; color: var(--muted); font-size: .86rem; }
.privacy-panel h1 { max-width: none; font-size: clamp(2.8rem, 7vw, 5.5rem); }
.policy-date { color: var(--muted); font-size: .9rem; }
.policy-copy { max-width: 720px; margin: 3rem 0; }
.policy-copy h2 { margin: 2rem 0 .5rem; font-size: 1.45rem; }
.policy-copy p { margin-top: 0; }

.ticket-heading { display: flex; justify-content: space-between; gap: 2rem; align-items: end; border-bottom: 2px solid var(--line); padding-bottom: 2rem; }
.ticket-heading h1 { margin-bottom: .5rem; font-size: clamp(2.8rem, 7vw, 5.5rem); }
.ticket-heading p { margin: 0; }
.price-stamp { flex: 0 0 auto; padding: .85rem 1.1rem; color: var(--plum); background: var(--yellow); border: 2px solid var(--plum); text-align: center; transform: rotate(1deg); }
.price-stamp span { display: block; font-family: Georgia, 'Times New Roman', serif; font-size: 2.1rem; font-weight: 700; line-height: 1; }
.price-stamp small { font-weight: 700; }

.booking-layout { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(260px, .65fr); gap: clamp(2rem, 6vw, 5rem); padding-top: 2.5rem; }
form { min-width: 0; }
.field { min-width: 0; margin: 0 0 1.35rem; padding: 0; border: 0; }
.attendee-card { margin: 0 0 1.5rem; padding: 1.25rem; border: 2px solid var(--line); background: rgba(255,253,248,.55); }
.attendee-card legend { padding: 0 .4rem; font-family: Georgia, 'Times New Roman', serif; font-size: 1.25rem; }
.attendee-card .field:last-child { margin-bottom: 0; }
label, legend { display: block; margin-bottom: .45rem; font-weight: 800; }
legend { padding: 0; }
.optional { color: var(--muted); font-size: .82rem; font-weight: 400; }
input, select {
  width: 100%;
  min-height: 3rem;
  padding: .7rem .8rem;
  border: 2px solid var(--line);
  border-radius: 0;
  color: var(--ink);
  background: var(--white);
  font: inherit;
}
input:focus, select:focus { border-color: var(--plum); outline: 3px solid rgba(244,198,78,.65); outline-offset: 1px; }
input[aria-invalid="true"], select[aria-invalid="true"] { border-color: var(--error); }
#payment-screenshot { height: auto; padding: .55rem; }
#payment-screenshot::file-selector-button { margin-right: .75rem; padding: .4rem .65rem; border: 1px solid var(--line); color: var(--ink); background: var(--paper); font: inherit; font-weight: 700; cursor: pointer; }
.radio-row { display: flex; gap: 1.5rem; }
.radio-row label { display: flex; align-items: center; gap: .5rem; margin: 0; font-weight: 400; }
.radio-row input { width: 1.15rem; min-height: auto; height: 1.15rem; accent-color: var(--plum); }
.confirm-payment { display: flex; align-items: flex-start; gap: .7rem; line-height: 1.4; }
.confirm-payment input { flex: 0 0 1.2rem; width: 1.2rem; min-height: auto; height: 1.2rem; margin-top: .15rem; accent-color: var(--plum); }
.voucher-row { display: grid; grid-template-columns: 1fr auto; }
.voucher-row input { border-right: 0; text-transform: uppercase; }
.secondary-button { padding: .65rem 1rem; border: 2px solid var(--line); color: var(--ink); background: var(--yellow); font-weight: 800; }
.secondary-button:hover, .secondary-button:focus-visible { color: var(--white); background: var(--plum); outline: none; }
.field-hint, .field-error { margin: .35rem 0 0; font-size: .85rem; }
.field-hint { color: var(--muted); }
.field-error { min-height: 0; color: var(--error); font-weight: 700; }
.field-error:empty { display: none; }
.submit-button { width: 100%; }

.order-summary { align-self: start; padding: 1.5rem; border: 2px solid var(--line); background: var(--white); box-shadow: .45rem .45rem 0 var(--yellow); }
.summary-row { display: flex; justify-content: space-between; gap: 1rem; padding: .65rem 0; border-bottom: 1px solid #c8c0b9; }
.discount-row { color: #23602a; }
.summary-total { display: flex; justify-content: space-between; gap: 1rem; padding: 1rem 0 0; font-size: 1.15rem; }
.summary-total strong { font-size: 1.5rem; }
.payment-state { margin-top: 1.5rem; padding-top: 1.5rem; border-top: 2px solid var(--line); }
.payment-state p { margin: .85rem 0; font-size: .92rem; }
.qr-frame { display: grid; width: 8.5rem; height: 8.5rem; place-items: center; margin: 1rem auto; border: 2px dashed var(--muted); color: var(--muted); background: var(--paper); font-weight: 800; letter-spacing: .1em; }
.qr-frame img { display: block; width: 100%; height: 100%; }
#paynow-state .qr-frame { width: min(100%, 15rem); height: auto; aspect-ratio: 1; padding: .3rem; }
#paynow-state .qr-frame img { object-fit: contain; }
.text-button { padding: 0; border: 0; border-bottom: 1px solid currentColor; color: var(--plum); background: transparent; font-weight: 700; }
.text-button:focus-visible { outline: 3px solid var(--yellow); outline-offset: 3px; }
.receipt-upload { margin: 1.5rem 0; padding: 1.25rem 0; border-top: 1px solid #c8c0b9; border-bottom: 1px solid #c8c0b9; }
.receipt-upload h3 { margin-bottom: .35rem; }
.receipt-upload p { margin-top: .35rem; }
.receipt-upload input[type="file"] { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.file-label { display: inline-block; margin: .5rem 0 0; padding: .6rem .8rem; border: 2px solid var(--line); background: var(--paper); cursor: pointer; }
.file-label:hover, .receipt-upload input[type="file"]:focus + .field-hint, .file-label:focus-visible { outline: 3px solid var(--yellow); outline-offset: 2px; }
.receipt-button { width: 100%; margin-top: .7rem; }
.receipt-status { min-height: 1.4rem; font-weight: 700; }

footer { position: relative; isolation: isolate; display: flex; min-height: 15rem; align-items: end; justify-content: space-between; gap: 2rem; overflow: hidden; padding: 2.5rem clamp(1rem, 4vw, 4rem); border-top: .55rem solid var(--yellow); color: var(--white); background: var(--mahogany-deep); font-size: .85rem; }
footer::before { content: ''; position: absolute; inset: 0; z-index: -2; background: url('src/images/ribbons/footer.png') center bottom / cover no-repeat; opacity: .34; filter: sepia(.35) saturate(.72) contrast(1.08); }
footer::after { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(35,14,10,.94) 0%, rgba(46,19,13,.7) 45%, rgba(35,14,10,.9) 100%); }
.footer-copy { display: grid; gap: .35rem; }
.footer-copy strong { font-family: Georgia, 'Times New Roman', serif; font-size: 1.35rem; }
.footer-copy a { width: fit-content; color: var(--paper); }
.footer-copy a:hover, .footer-copy a:focus-visible { color: var(--yellow); outline: none; }
.footer-social { display: grid; gap: .55rem; justify-items: end; font-weight: 700; }
.social-links { display: flex; align-items: center; gap: .65rem; }
.social-links a { display: grid; width: 2.5rem; height: 2.5rem; place-items: center; border: 1px solid rgba(255,255,255,.55); background: var(--paper); }
.social-links a:hover, .social-links a:focus-visible { background: var(--yellow); outline: 2px solid var(--paper); outline-offset: 2px; }
.social-links img { width: 1.2rem; height: 1.2rem; }

@media (max-width: 760px) {
  .site-header { align-items: flex-start; flex-direction: column; gap: 1rem; }
  .brand { width: 190px; height: 65px; }
  .brand-logo { width: 190px; transform: translateY(-49px); }
  nav { width: 100%; align-items: stretch; flex-direction: column; }
  nav a { width: 100%; padding: .55rem .65rem; }
  main { padding-top: 3.5rem; }
  .show-layout, .booking-layout { grid-template-columns: 1fr; }
  .show-actions { align-items: flex-start; flex-direction: column; }
  .contest-screen { padding: 0; }
  .contest-arena { min-height: 225px; }
  .section-heading { align-items: flex-start; flex-direction: column; }
  .cast-leads { grid-template-columns: 1fr; }
  .cast-supporting { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cast-ensemble { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .pit-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .cast-leads .cast-face { height: min(112vw, 540px); aspect-ratio: auto; }
  .production-list { grid-template-columns: 1fr; }
  .writer-grid { grid-template-columns: 1fr; }
  .track { grid-template-columns: 2.4rem minmax(0, 1fr); }
  .track-singer { grid-column: 2; justify-self: start; text-align: left; }
  .custom-player { grid-column: 2; width: 100%; }
  .committee-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ticket-heading { align-items: flex-start; }
  .price-stamp { margin-top: .5rem; }
  .order-summary { box-shadow: .3rem .3rem 0 var(--yellow); }
}

@media (max-width: 600px) {
  .page-texture { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .contest-heading { align-items: flex-start; flex-direction: column; gap: .3rem; }
  .contest-heading h2 { font-size: .75rem; letter-spacing: .035em; }
}

@media (max-width: 430px) {
  .contest-vote { --tito-face-x: 33%; --tito-face-y: 29%; --michael-face-x: 65%; --michael-face-y: 22%; }
  .contest-arena { min-height: 245px; }
  .candidate-caption { right: .55rem; bottom: .6rem; left: .55rem; align-items: flex-start; flex-direction: column; gap: .35rem; }
  .contestant-michael .candidate-caption { align-items: flex-end; flex-direction: column; }
  .candidate-caption strong { font-size: 1.25rem; }
  .candidate-caption small { padding: .55rem .65rem; font-size: .72rem; }
  .contest-versus { width: 2.15rem; height: 2.15rem; }
  .ticket-heading { flex-direction: column; }
  .radio-row { gap: 1rem; }
  .cast-supporting { grid-template-columns: 1fr; }
  .cast-ensemble { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pit-heading { align-items: flex-start; flex-direction: column; }
  .committee-grid { grid-template-columns: 1fr; }
  footer { align-items: flex-start; flex-direction: column; }
  .footer-social { justify-items: start; }
}

@media (prefers-reduced-motion: reduce) { *, *::before, *::after { scroll-behavior: auto !important; animation: none !important; transition: none !important; } }
