/* ==========================================================================
   WIDGET 27 · Content components
   Blocks used inside pages: media, cards, stats, tables, forms, floor plan,
   and the ReelFlow player placeholders. Uses tokens.css only.
   Documented in docs/spec/05-components.md.
   ========================================================================== */

/* Grids ------------------------------------------------------------------ */

.grid { display: grid; gap: var(--sp-5); }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 1023px) {
  .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 699px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: minmax(0, 1fr); }
  .grid-4.keep-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* Split: media + copy ---------------------------------------------------- */

.split { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: var(--sp-7); align-items: center; }
.split--reverse { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); }
.split--even { grid-template-columns: repeat(2, minmax(0, 1fr)); }
/* Split holding an Inline player: the player gets 70% of the row (about 20% bigger than a 7/12 column) */
.split--player { grid-template-columns: minmax(0, 7fr) minmax(0, 3fr); }
.split__copy { display: grid; gap: var(--sp-4); align-content: center; }
.split__copy p { color: var(--c-muted); }
.section--paper .split__copy p { color: var(--c-paper-muted); }
@media (max-width: 899px) {
  .split, .split--reverse, .split--even { grid-template-columns: minmax(0, 1fr); gap: var(--sp-5); }
}

.lead { font-size: 1.25rem; color: var(--c-muted); }
.muted { color: var(--c-muted); }
.small { font-size: var(--fs-small); }
.section--paper .muted { color: var(--c-paper-muted); }
.center { text-align: center; justify-items: center; }
.center p { margin-inline: auto; }
.actions { display: flex; flex-wrap: wrap; gap: var(--sp-3); }
.center .actions { justify-content: center; }
.section-foot { margin-top: var(--sp-6); }

.ticks { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--sp-2); }
.ticks li { display: flex; gap: var(--sp-3); }
.ticks li::before { content: ""; flex: none; width: 10px; height: 10px; margin-top: 0.55em; background: var(--c-green); border-radius: 2px; }

/* Image placeholder ------------------------------------------------------ */

.img-ph {
  position: relative;
  width: 100%;
  max-width: 100%;
  aspect-ratio: var(--ratio, 3 / 2);
  border-radius: var(--r-md);
  overflow: hidden;
  background-color: var(--c-surface-2);
  background-image:
    linear-gradient(var(--grid-line) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid-line) 1px, transparent 1px),
    linear-gradient(135deg, rgba(255,255,255,0.03), rgba(0,0,0,0.12));
  background-size: 24px 24px, 24px 24px, 100% 100%;
}
.img-ph::after {
  content: attr(data-file);
  position: absolute; left: var(--sp-3); bottom: var(--sp-3); right: var(--sp-3);
  font-family: var(--f-mono); font-size: 0.6875rem; letter-spacing: 0.04em;
  color: var(--c-muted);
}
.img-ph--1x1 { --ratio: 1 / 1; }
.img-ph--4x3 { --ratio: 4 / 3; }
.img-ph--4x5 { --ratio: 4 / 5; }
.img-ph--16x9 { --ratio: 16 / 9; }
.section--paper .img-ph { background-color: #E4E2DA; }
/* Real photo inside a placeholder (tools/wire-images.py): fills the slot, label hidden */
.img-ph > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.img-ph:has(> img)::after { content: none; }
.section--paper .img-ph::after { color: var(--c-paper-muted); }

/* ReelFlow players: embed targets and placeholders ---------------------
   Inline: real Target Elements. Overlay: placeholder until the install code.
   Spotlights: circular presenter bubbles, driven by the Player API later. */

/* Inline player: .rf-inline wraps the ReelFlow Target Element (#reelflow-<flow>) and the placeholder.
   No fixed width or height on the target (ReelFlow help: the player fills the space it is given).
   The placeholder shows until ReelFlow puts the player inside the target. */
.rf-inline { position: relative; display: block; width: 100%; }
.rf-inline__target { width: 100%; }
.rf-inline__target:empty { display: none; }
.rf-inline__target:not(:empty) + .player-ph { display: none; }

.player-ph {
  position: relative;
  display: grid;
  place-items: center;
  width: 100%;
  aspect-ratio: 16 / 9;
  border: 2px dashed var(--c-blue);
  border-radius: var(--r-lg);
  background: rgba(61, 123, 255, 0.07);
}
.player-ph__play {
  width: 64px; height: 64px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--c-blue); color: #fff;
}
.player-ph__play svg { width: 22px; height: 22px; margin-left: 3px; }
.player-ph__label {
  position: absolute; left: var(--sp-4); top: var(--sp-3);
  font-family: var(--f-mono); font-size: var(--fs-label); letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--c-blue-text);
}
.player-ph__flow {
  position: absolute; left: var(--sp-4); bottom: var(--sp-3);
  font-family: var(--f-mono); font-size: 0.6875rem; color: var(--c-muted);
}
.section--paper .player-ph__label { color: var(--c-paper-link); }

/* Spotlight: a circular, pulsing presenter bubble pinned to a card or zone.
   The face is the presenter's headshot: an <img> inside .spotlight__face (data-file says which); initials show until it is added;
   the small blue badge says "play". Clicking it opens that card's step in a floating player (later). */
.spotlight {
  --spot: 76px;
  position: absolute;
  z-index: 2;
  width: var(--spot); height: var(--spot);
  padding: 0;
  border: 3px solid var(--c-green);
  border-radius: 50%;
  background: var(--c-surface);
  box-shadow: 0 0 0 3px var(--c-bg), var(--shadow-pop);
  cursor: pointer;
  transition: transform 0.15s ease;
}
.spotlight::before {
  content: "";
  position: absolute; inset: -3px;
  border-radius: 50%;
  border: 2px solid var(--c-green);
  animation: spotlight-pulse 2.2s ease-out infinite;
  pointer-events: none;
}
@keyframes spotlight-pulse {
  0% { transform: scale(1); opacity: 0.8; }
  100% { transform: scale(1.45); opacity: 0; }
}
.spotlight:hover, .spotlight:focus-visible { transform: scale(1.06); }
.spotlight__face {
  position: absolute; inset: 0;
  display: grid; place-items: center;
  border-radius: 50%;
  overflow: hidden;
  background: color-mix(in srgb, var(--c-surface) 80%, var(--c-blue));
  color: var(--c-text);
  font-family: var(--f-display); font-weight: 800; font-size: 1.25rem;
}
.spotlight__face::after { content: attr(data-initials); }
.spotlight__face img { width: 100%; height: 100%; object-fit: cover; }
.spotlight__face:has(img)::after { content: none; }
.spotlight__play {
  position: absolute; right: -4px; bottom: -4px;
  width: 28px; height: 28px;
  display: grid; place-items: center;
  border: 2px solid var(--c-bg);
  border-radius: 50%;
  background: var(--c-blue); color: #fff;
}
.spotlight__play svg { width: 11px; height: 11px; margin-left: 2px; }
@media (max-width: 599px) { .spotlight { --spot: 60px; } }
@media (prefers-reduced-motion: reduce) { .spotlight::before { animation: none; opacity: 0; } }
.spotlight--tr { top: var(--sp-3); right: var(--sp-3); }
.spotlight--br { bottom: var(--sp-3); right: var(--sp-3); }
.spotlight--center { top: 50%; left: 50%; transform: translate(-50%, -50%); }
.spotlight--center:hover, .spotlight--center:focus-visible { transform: translate(-50%, -50%) scale(1.06); }

/* Stats -------------------------------------------------------------------- */

.stats { display: grid; grid-template-columns: repeat(var(--cols, 4), minmax(0, 1fr)); gap: var(--sp-5); }
.stat { display: grid; gap: var(--sp-1); align-content: start; }
.stat__num { font-family: var(--f-display); font-weight: 800; font-stretch: 112%; font-size: clamp(2.25rem, 1.6rem + 2.4vw, 3.25rem); line-height: 1; font-variant-numeric: tabular-nums; }
.stat__label { font-family: var(--f-mono); font-size: var(--fs-label); letter-spacing: 0.08em; text-transform: uppercase; color: var(--c-green); }
.stat__line { font-size: var(--fs-small); color: var(--c-muted); }
.section--paper .stat__label { color: var(--c-paper-text); }
.stats--3 { --cols: 3; }
@media (max-width: 699px) { .stats { --cols: 2; } }
.footnote { margin-top: var(--sp-4); font-size: 0.8125rem; color: var(--c-muted); }

.stat-inline { display: flex; flex-wrap: wrap; gap: var(--sp-2) var(--sp-5); font-family: var(--f-mono); font-size: var(--fs-label); letter-spacing: 0.08em; text-transform: uppercase; color: var(--c-muted); }
.stat-inline strong { color: var(--c-text); font-weight: 500; }

.big-stat { display: grid; gap: var(--sp-1); padding-top: var(--sp-4); border-top: 1px solid var(--c-line); }

/* Cards -------------------------------------------------------------------- */

.card {
  position: relative;
  display: grid; gap: var(--sp-3); align-content: start;
  background: var(--c-surface);
  border: 1px solid var(--c-line);
  border-radius: var(--r-md);
  padding: var(--sp-5);
}
.section--surface .card { background: var(--c-bg); }
.section--paper .card { background: #FFFFFF; border-color: var(--c-paper-line); }
.card p { color: var(--c-muted); }
.section--paper .card p { color: var(--c-paper-muted); }
.card--media { padding: 0; overflow: hidden; }
.card--media .img-ph { border-radius: 0; }
.card--media .card__body { display: grid; gap: var(--sp-2); padding: var(--sp-5); }
.card__icon { width: 36px; height: 36px; color: var(--c-green); }
.card__kicker { font-family: var(--f-mono); font-size: var(--fs-label); letter-spacing: 0.08em; text-transform: uppercase; color: var(--c-muted); }
.section--paper .card__kicker { color: var(--c-paper-muted); }
.card--feature { border-top: 3px solid var(--c-green); }
.card .link-arrow { margin-top: var(--sp-1); }

/* Speaker card */
.speaker { display: grid; gap: var(--sp-3); align-content: start; }
.speaker__photo { position: relative; }
.speaker__name { font-family: var(--f-display); font-weight: 700; font-size: 1.25rem; }
.speaker__role { font-size: var(--fs-small); color: var(--c-muted); }
.speaker__session { font-family: var(--f-mono); font-size: var(--fs-label); letter-spacing: 0.04em; color: var(--c-text); }
.speaker__session span { color: var(--c-green); }

/* Testimonial card */
figure.card, figure.big-quote { margin: 0; }
.quote-card { padding-right: calc(var(--sp-5) + 76px); }
.quote-card blockquote { margin: 0; font-size: 1.125rem; line-height: 1.5; color: var(--c-text); }
.section--paper .quote-card blockquote { color: var(--c-paper-text); }
.quote-card blockquote::before { content: "“"; display: block; font-family: var(--f-display); font-size: 3.5rem; line-height: 0.6; color: var(--c-green); margin-bottom: var(--sp-2); }
.quote-card figcaption { display: grid; gap: 2px; font-size: var(--fs-small); }
.quote-card figcaption strong { font-weight: 600; }
.quote-card figcaption .stand { font-family: var(--f-mono); font-size: var(--fs-label); color: var(--c-muted); letter-spacing: 0.06em; text-transform: uppercase; }

/* Big quote */
.big-quote { margin-inline: auto; max-width: 900px; display: grid; gap: var(--sp-5); text-align: center; }
.big-quote blockquote { margin: 0; font-family: var(--f-display); font-weight: 700; font-stretch: 105%; font-size: clamp(1.5rem, 1.1rem + 1.8vw, 2.25rem); line-height: 1.25; text-wrap: balance; }
.big-quote figcaption { font-family: var(--f-mono); font-size: var(--fs-label); letter-spacing: 0.08em; text-transform: uppercase; color: var(--c-muted); }
.big-quote figcaption strong { color: var(--c-text); font-weight: 500; }

/* Award card */
.award .card__kicker { color: var(--c-green); }
.section--paper .award .card__kicker { color: var(--c-paper-text); }

/* Sector tile */
.sector { display: grid; gap: var(--sp-2); align-content: start; padding: var(--sp-5); border-top: 2px solid var(--c-paper-text); }
.sector svg { width: 28px; height: 28px; }
.sector h3 { font-size: 1.125rem; }
.sector p { font-size: var(--fs-small); color: var(--c-paper-muted); }

/* Option cards (passes, stands) */
.option { display: grid; gap: var(--sp-3); align-content: start; }
.option__price { font-family: var(--f-display); font-weight: 800; font-size: 2rem; line-height: 1; }
.option__size { font-family: var(--f-mono); font-size: var(--fs-label); letter-spacing: 0.08em; text-transform: uppercase; color: var(--c-muted); }
.option ul { margin: 0; padding-left: 1.1em; display: grid; gap: var(--sp-1); font-size: var(--fs-small); }
.section--paper .option ul { color: var(--c-paper-muted); }
.option .btn { margin-top: var(--sp-2); justify-self: start; }
.option.is-popular { border: 2px solid var(--c-green); }
.badge {
  display: inline-block; justify-self: start;
  padding: 2px 8px; border-radius: 99px;
  font-family: var(--f-mono); font-size: 0.6875rem; letter-spacing: 0.06em; text-transform: uppercase;
  background: var(--c-green); color: var(--c-green-ink);
}
.badge--outline { background: transparent; color: var(--c-muted); border: 1px solid var(--c-line); }
.section--paper .badge--outline { color: var(--c-paper-muted); border-color: var(--c-paper-line); }

/* Bar list ------------------------------------------------------------------ */

.bars { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--sp-4); }
.bar { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: var(--sp-2) var(--sp-4); align-items: center; }
.bar__label { font-family: var(--f-mono); font-size: var(--fs-label); letter-spacing: 0.06em; text-transform: uppercase; color: var(--c-muted); }
.bar__value { font-family: var(--f-display); font-weight: 700; font-variant-numeric: tabular-nums; }
.bar__track { grid-column: 1 / -1; height: 8px; border-radius: 99px; background: var(--c-surface-2); overflow: hidden; }
.bar__fill { display: block; height: 100%; width: var(--w); background: var(--c-green); border-radius: 99px; }

/* Timeline --------------------------------------------------------------------- */

.timeline-wrap { overflow-x: auto; padding-bottom: var(--sp-3); }
.timeline { list-style: none; margin: 0; padding: 0; display: grid; grid-auto-flow: column; grid-auto-columns: minmax(130px, 1fr); width: 100%; min-width: 900px; }
.timeline li { position: relative; display: grid; gap: var(--sp-2); padding: var(--sp-5) var(--sp-4) 0 0; border-top: 2px solid var(--c-line); }
.timeline li::before { content: ""; position: absolute; top: -7px; left: 0; width: 12px; height: 12px; border-radius: 50%; background: var(--c-bg); border: 2px solid var(--c-muted); }
.timeline li.is-current { border-top-color: var(--c-green); }
.timeline li.is-current::before { background: var(--c-green); border-color: var(--c-green); }
.timeline__date { font-family: var(--f-mono); font-size: var(--fs-label); letter-spacing: 0.08em; text-transform: uppercase; color: var(--c-muted); }
.timeline li.is-current .timeline__date { color: var(--c-green); }
.timeline__text { font-size: 0.9375rem; padding-right: var(--sp-2); }
.section--surface .timeline li::before { background: var(--c-surface); }

/* Tables --------------------------------------------------------------------- */

.table-wrap { overflow-x: auto; border: 1px solid var(--c-paper-line); border-radius: var(--r-md); background: #FFFFFF; }
.compare { width: 100%; min-width: 560px; border-collapse: collapse; font-size: 0.9375rem; color: var(--c-paper-text); }
.compare th, .compare td { padding: var(--sp-3) var(--sp-4); text-align: left; border-bottom: 1px solid var(--c-paper-line); }
.compare thead th { font-family: var(--f-mono); font-size: var(--fs-label); letter-spacing: 0.08em; text-transform: uppercase; color: var(--c-paper-muted); font-weight: 500; }
.compare tbody th { font-weight: 500; }
.compare td { text-align: center; font-variant-numeric: tabular-nums; }
.compare tr:last-child th, .compare tr:last-child td { border-bottom: 0; font-weight: 600; }
.compare .yes { color: #2F6B00; font-weight: 700; }
.compare .no { color: var(--c-paper-muted); }

/* FAQ ------------------------------------------------------------------------- */

.faq { display: grid; border-top: 1px solid var(--c-line); max-width: 820px; }
.faq details { border-bottom: 1px solid var(--c-line); }
.faq summary { display: flex; justify-content: space-between; gap: var(--sp-4); padding: var(--sp-4) 0; font-weight: 600; cursor: pointer; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: var(--f-mono); color: var(--c-green); }
.faq details[open] summary::after { content: "–"; }
.faq details p { padding-bottom: var(--sp-4); color: var(--c-muted); }

/* Fact tiles ------------------------------------------------------------------ */

.facts { display: grid; grid-template-columns: repeat(var(--cols, 3), minmax(0, 1fr)); gap: 1px; background: var(--c-line); border: 1px solid var(--c-line); border-radius: var(--r-md); overflow: hidden; }
.fact { display: grid; gap: var(--sp-1); padding: var(--sp-5); background: var(--c-bg); }
.section--surface .fact { background: var(--c-surface); }
.section--paper .facts { background: var(--c-paper-line); border-color: var(--c-paper-line); }
.section--paper .fact { background: var(--c-paper); }
.fact__label { font-family: var(--f-mono); font-size: var(--fs-label); letter-spacing: 0.08em; text-transform: uppercase; color: var(--c-green); }
.section--paper .fact__label { color: var(--c-paper-muted); }
.facts--4 { --cols: 4; }
@media (max-width: 899px) { .facts, .facts--4 { --cols: 2; } }
@media (max-width: 499px) { .facts, .facts--4 { --cols: 1; } }

/* Numbered items (What's new teaser) ----------------------------------------- */

.numbered { display: grid; gap: var(--sp-2); align-content: start; padding-top: var(--sp-4); border-top: 1px solid var(--c-line); }
.numbered__n { font-family: var(--f-mono); font-size: var(--fs-label); color: var(--c-green); letter-spacing: 0.08em; }

/* Exhibitor name strip --------------------------------------------------------- */

.name-strip { display: flex; flex-wrap: wrap; gap: var(--sp-3) var(--sp-6); align-items: baseline; }
.name-strip span { font-family: var(--f-display); font-weight: 700; font-stretch: 112%; font-size: 1.125rem; color: var(--c-muted); }
.name-strip--logos { gap: var(--sp-3); align-items: center; }
.name-strip--logos img { height: 56px; width: auto; aspect-ratio: 3 / 2; object-fit: contain; padding: 6px 10px; border-radius: var(--r-sm); background: #fff; }

/* Gallery ----------------------------------------------------------------------- */

.gallery { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--sp-3); }
.gallery .img-ph:first-child { grid-column: span 2; grid-row: span 2; }
@media (max-width: 699px) {
  .gallery { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 75%; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: var(--sp-2); }
  .gallery .img-ph { scroll-snap-align: start; }
  .gallery .img-ph:first-child { grid-column: auto; grid-row: auto; }
}

/* Exhibitor cards and filter ---------------------------------------------------- */

.filter { display: grid; gap: var(--sp-4); }
.chips { display: flex; flex-wrap: wrap; gap: var(--sp-2); }
.chip { min-height: 36px; padding: var(--sp-1) var(--sp-4); border: 1px solid var(--c-line); border-radius: 99px; background: transparent; color: var(--c-muted); font: 500 var(--fs-small)/1 var(--f-body); cursor: pointer; }
.chip:hover { color: var(--c-text); border-color: var(--c-muted); }
.chip[aria-pressed="true"] { background: var(--c-green); border-color: var(--c-green); color: var(--c-green-ink); }
.filter__row { display: flex; flex-wrap: wrap; gap: var(--sp-4); align-items: center; justify-content: space-between; }
.search { min-height: 40px; width: min(320px, 100%); padding: var(--sp-2) var(--sp-4); border: 1px solid var(--c-line); border-radius: var(--r-sm); background: var(--c-surface); color: var(--c-text); font: inherit; font-size: var(--fs-small); }
.count { font-family: var(--f-mono); font-size: var(--fs-label); letter-spacing: 0.08em; text-transform: uppercase; color: var(--c-muted); }
.exhibitor { grid-template-columns: 64px minmax(0, 1fr); column-gap: var(--sp-4); }
.exhibitor__logo { grid-row: span 4; width: 64px; height: 64px; display: grid; place-items: center; border-radius: var(--r-md); background: var(--c-surface-2); font-family: var(--f-display); font-weight: 800; font-size: 1.25rem; color: var(--c-text); }
.exhibitor h3 { font-size: 1.125rem; }
.exhibitor .meta { display: flex; flex-wrap: wrap; gap: var(--sp-2); align-items: center; }
.exhibitor[hidden] { display: none; }
/* Real logo: a white 3:2 tile so the colour lock-ups read on the dark card */
.exhibitor:has(.exhibitor__logo img) { grid-template-columns: 96px minmax(0, 1fr); }
.exhibitor__logo:has(img) { width: 96px; height: 64px; padding: 6px; background: #fff; }
.exhibitor__logo img { width: 100%; height: 100%; object-fit: contain; }

/* Forms ----------------------------------------------------------------------- */

.form-panel { display: grid; gap: var(--sp-4); padding: var(--sp-6); background: var(--c-surface); border: 1px solid var(--c-line); border-radius: var(--r-lg); }
.section--paper .form-panel { background: #FFFFFF; border-color: var(--c-paper-line); }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--sp-4); }
.form-grid .full { grid-column: 1 / -1; }
@media (max-width: 599px) { .form-grid { grid-template-columns: minmax(0, 1fr); } }
.field { display: grid; gap: var(--sp-1); font-size: var(--fs-small); font-weight: 500; }
.field input, .field select, .field textarea {
  min-height: 44px; padding: var(--sp-2) var(--sp-3);
  border: 1px solid var(--c-line); border-radius: var(--r-sm);
  background: var(--c-bg); color: var(--c-text);
  font: 400 var(--fs-body) var(--f-body);
}
.section--paper .field input, .section--paper .field select, .section--paper .field textarea { background: var(--c-paper); border-color: var(--c-paper-line); color: var(--c-paper-text); }
.field textarea { min-height: 110px; resize: vertical; }
.field .req { color: var(--c-green); }
.section--paper .field .req { color: #2F6B00; }
fieldset.field { border: 0; padding: 0; margin: 0; }
fieldset.field legend { padding: 0; margin-bottom: var(--sp-2); }
.checks { display: flex; flex-wrap: wrap; gap: var(--sp-2) var(--sp-5); font-weight: 400; }
.checks label { display: inline-flex; gap: var(--sp-2); align-items: center; }
.checks input { min-height: 0; width: 18px; height: 18px; accent-color: var(--c-green); }
.confirm { display: grid; gap: var(--sp-2); padding: var(--sp-6); border: 1px solid var(--c-green); border-radius: var(--r-lg); }
.confirm[hidden] { display: none; }
.confirm h3 { color: var(--c-green); }
.section--paper .confirm h3 { color: #2F6B00; }

/* Booking block (Register, Book a Stand): player + option cards + form
   Start state: player 2fr, options 1fr. The player script later adds
   .is-open to animate to 2fr 3fr with the form beside the player. */

.booking { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 1fr); gap: var(--sp-6); align-items: start; }
.booking__options { display: grid; gap: var(--sp-3); }
.booking__form { grid-column: 1 / -1; }
.choice { display: flex; flex-direction: column; gap: var(--sp-1); padding: var(--sp-4) var(--sp-5); border: 2px solid var(--c-line); border-radius: var(--r-md); background: var(--c-surface); }
.choice strong { font-family: var(--f-display); font-size: 1.125rem; }
.choice span { font-family: var(--f-mono); font-size: var(--fs-label); letter-spacing: 0.06em; text-transform: uppercase; color: var(--c-muted); }
.choice.is-selected { border-color: var(--c-green); }
@media (max-width: 1023px) { .booking { grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); } }
@media (max-width: 699px) { .booking { grid-template-columns: minmax(0, 1fr); } }

/* Availability rows */
.avail { display: grid; gap: var(--sp-4); max-width: 760px; }

/* Floor plan --------------------------------------------------------------------- */

.plan-wrap { overflow-x: auto; padding-bottom: var(--sp-3); }
.plan-hint { display: none; }
@media (max-width: 899px) { .plan-hint { display: block; } }
.plan {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: var(--sp-4);
  min-width: 860px;
  padding: var(--sp-6) var(--sp-5) var(--sp-5) var(--sp-8);
  border: 1px solid var(--c-blue);
  border-radius: var(--r-md);
  background-color: #10141B;
  background-image:
    linear-gradient(rgba(61,123,255,0.12) 1px, transparent 1px),
    linear-gradient(90deg, rgba(61,123,255,0.12) 1px, transparent 1px);
  background-size: 24px 24px;
}
.hall { position: relative; display: grid; grid-template-rows: auto 1fr; gap: var(--sp-3); min-height: 420px; padding: var(--sp-4); border: 2px solid var(--c-blue); border-radius: var(--r-sm); }
.hall__name { font-family: var(--f-mono); font-size: var(--fs-label); letter-spacing: 0.1em; text-transform: uppercase; color: var(--c-blue-text); }
.hall__zones { display: grid; gap: var(--sp-3); }
.zone { position: relative; display: grid; align-content: start; gap: var(--sp-2); min-height: 170px; padding: var(--sp-3); border: 1px dashed var(--c-blue-text); border-radius: var(--r-sm); background: rgba(61,123,255,0.06); }
.zone__letter { font-family: var(--f-display); font-weight: 800; font-size: 1.5rem; color: var(--c-text); line-height: 1; }
.zone__name { font-size: var(--fs-small); font-weight: 600; max-width: 60%; }
.stands { display: flex; flex-wrap: wrap; gap: 6px; margin-top: auto; }
.stands span { padding: 2px 6px; border: 1px solid rgba(127,166,255,0.5); border-radius: 2px; font-family: var(--f-mono); font-size: 0.6875rem; color: var(--c-blue-text); }
.zone .spotlight { top: 50%; right: var(--sp-3); transform: translateY(-50%); }
.zone .spotlight:hover, .zone .spotlight:focus-visible { transform: translateY(-50%) scale(1.06); }
.entrance { position: absolute; left: 0; top: 50%; transform: translateY(-50%) rotate(-90deg); transform-origin: center; font-family: var(--f-mono); font-size: var(--fs-label); letter-spacing: 0.1em; text-transform: uppercase; color: var(--c-green); white-space: nowrap; width: var(--sp-8); text-align: center; }
.entrance::after { content: " →"; }
.legend { display: flex; flex-wrap: wrap; gap: var(--sp-2) var(--sp-5); margin-top: var(--sp-4); font-family: var(--f-mono); font-size: var(--fs-label); letter-spacing: 0.06em; text-transform: uppercase; color: var(--c-muted); }
.legend span { display: inline-flex; align-items: center; gap: var(--sp-2); }
.legend i { display: inline-block; width: 14px; height: 14px; border-radius: 2px; }
.legend .l-zone { border: 1px dashed var(--c-blue-text); background: rgba(61,123,255,0.06); }
.legend .l-stand { border: 1px solid rgba(127,166,255,0.5); }
.legend .l-spot { border-radius: 50%; background: var(--c-blue); }
.legend .l-entrance { background: var(--c-green); }
.view-label { font-family: var(--f-mono); font-size: var(--fs-label); letter-spacing: 0.1em; text-transform: uppercase; color: var(--c-green); margin-bottom: var(--sp-3); display: block; }
.zone-card__letter { font-family: var(--f-display); font-weight: 800; font-size: 2.5rem; line-height: 1; color: var(--c-blue-text); }

/* Copy button (email) */
.copy-row { display: flex; flex-wrap: wrap; gap: var(--sp-2); align-items: center; }
.copy-row code { font-family: var(--f-mono); font-size: 0.9375rem; padding: var(--sp-2) var(--sp-3); border-radius: var(--r-sm); background: var(--c-surface-2); user-select: all; }
.section--paper .copy-row code { background: #E4E2DA; }
