/* Pitchside Card Show: primaries are black, white and neon purple. Cyan is a small pop only. */
:root {
  --black: #0A0A0F; --ink: #15151D; --line-d: #2C2C38; --muted-d: #B4B4C4;
  --white: #FFFFFF; --paper: #F5F4F8; --line-l: #DFDDE6; --muted-l: #55525F;
  --purple: #B026FF; --purple-deep: #7A12C4; --cyan: #00E5FF; --cyan-deep: #00707F;
  --radius: 10px; --gap: 24px;
  --head: Kanit, Impact, "Arial Narrow", sans-serif;
  --body: Inter, "Segoe UI", system-ui, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
html { background: var(--black); }
body { margin: 0; font: 16px/1.6 var(--body); color: var(--white); background: transparent; overflow-x: hidden; }
#play-mat { position: fixed; left: 0; right: 0; top: 0; height: calc(100vh + 134vw); z-index: -1; background: url(../assets/play-mat.svg) center top / 100% auto repeat-y; will-change: transform; pointer-events: none; }
img, svg { max-width: 100%; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--head); font-weight: 800; font-style: italic; line-height: 1.05; letter-spacing: 0; margin: 0 0 .4em; text-transform: uppercase; }
h1 { font-size: clamp(40px, 6.6vw, 88px); }
h2 { font-size: clamp(30px, 4.2vw, 52px); }
h3 { font-size: 24px; }
p { margin: 0 0 1em; }
.wrap { width: min(1180px, 100% - 32px); margin-inline: auto; }
.skip-link { position: absolute; left: -999px; top: 8px; background: var(--white); color: var(--black); padding: 8px 14px; z-index: 300; }
.skip-link:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--cyan); outline-offset: 2px; }
.eyebrow { font-weight: 700; letter-spacing: .14em; text-transform: uppercase; font-size: 13px; color: var(--cyan); margin-bottom: 10px; }
.on-light .eyebrow, .eyebrow.on-light { color: var(--purple-deep); }
.lead { font-size: 19px; max-width: 58ch; }
.muted { color: var(--muted-d); }
.on-light .muted { color: var(--muted-l); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 10px 24px; border-radius: 8px; border: 2px solid transparent; font: 700 15px/1.2 var(--body); text-decoration: none; cursor: pointer; transition: transform .15s, box-shadow .15s, background .15s; }
.btn:hover { transform: translateY(-2px); }
.btn-purple { background: var(--purple); color: var(--white); }
.btn-purple:hover { box-shadow: 0 8px 26px rgba(176, 38, 255, .5); }
.btn-white { background: var(--white); color: var(--black); }
.btn-outline { background: transparent; border-color: currentColor; }
.btn-sm { min-height: 40px; padding: 7px 16px; font-size: 14px; }
.btn[disabled] { opacity: .5; cursor: not-allowed; transform: none; box-shadow: none; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 22px; }

/* Header */
.demo-strip { background: var(--cyan); color: var(--black); font-size: 13px; font-weight: 600; text-align: center; padding: 5px 12px; }
#site-header { position: sticky; top: 0; z-index: 100; background: rgba(10, 10, 15, .94); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line-d); }
.header-inner { display: flex; align-items: center; justify-content: space-between; min-height: 68px; gap: 16px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font-family: var(--head); font-weight: 800; font-style: italic; font-size: 22px; line-height: 1; text-transform: uppercase; }
.brand small { display: block; font-size: 12px; letter-spacing: .28em; color: var(--cyan); margin-top: 4px; }
.site-nav { display: flex; align-items: center; gap: 22px; }
.site-nav a:not(.btn) { text-decoration: none; font-weight: 600; font-size: 15px; padding: 8px 0; border-bottom: 2px solid transparent; }
.site-nav a:not(.btn):hover, .site-nav a[aria-current] { border-color: var(--purple); }
.nav-toggle { display: none; background: none; border: 0; padding: 10px; width: 48px; height: 48px; cursor: pointer; }
.nav-toggle span { display: block; height: 2px; background: var(--white); margin: 6px 0; }
@media (max-width: 860px) {
  .nav-toggle { display: block; }
  .site-nav { display: none; position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; align-items: stretch; background: var(--black); padding: 12px 16px 18px; border-bottom: 1px solid var(--line-d); gap: 6px; }
  .site-nav.open { display: flex; }
}

/* Sections */
.section { position: relative; padding: clamp(64px, 9vw, 120px) 0; overflow: hidden; isolation: isolate; }
.section > .wrap { position: relative; z-index: 2; }
.on-light { background: var(--white); color: var(--black); }
.on-paper { background: var(--paper); color: var(--black); }
.section.on-light, .section.on-paper { width: min(1260px, 100% - 24px); margin: 34px auto; border-radius: 18px; box-shadow: 0 22px 60px rgba(0, 0, 0, .55); }
.page-head { position: relative; overflow: hidden; padding: clamp(56px, 8vw, 96px) 0 clamp(40px, 6vw, 64px); isolation: isolate; }
.page-head .wrap { position: relative; z-index: 2; }

/* Parallax layers */
.layer { position: absolute; inset: -18% 0; z-index: 0; pointer-events: none; will-change: transform; }
.layer-cards .drift { position: absolute; transform: rotate(var(--r)) scale(var(--s)); }
.on-light .layer-cards, .on-paper .layer-cards { opacity: .9; }
@media (max-width: 700px) { .layer-cards .drift:nth-child(n+5) { display: none; } .layer-cards { opacity: .3; } }

/* Decorative cards */
.tcard-back { display: block; width: 112px; height: 156px; object-fit: cover; border-radius: 7px; box-shadow: 0 16px 34px rgba(0, 0, 0, .5); }
.tcard { width: 112px; height: 156px; border-radius: 9px; padding: 8px; display: flex; flex-direction: column; gap: 6px; box-shadow: 0 16px 34px rgba(0, 0, 0, .42); border: 3px solid rgba(255, 255, 255, .85); }
.tcard-head { height: 9px; border-radius: 3px; background: rgba(255, 255, 255, .9); width: 72%; }
.tcard-art { flex: 1; border-radius: 4px; background: rgba(0, 0, 0, .32); display: flex; align-items: center; justify-content: center; padding: 6px; }
.tcard-art svg { width: 100%; height: 100%; }
.tcard-lines { display: grid; gap: 4px; }
.tcard-lines i { height: 4px; border-radius: 2px; background: rgba(255, 255, 255, .7); }
.tcard-lines i:last-child { width: 60%; }
.tcard--arcane { background: linear-gradient(150deg, #3D1C72, #1A0E3E); }
.tcard--creature { background: linear-gradient(150deg, #0F8FA0, #063F58); }
.tcard--duel { background: linear-gradient(150deg, #A3127D, #3F0B5E); }
.tcard--football { background: linear-gradient(150deg, #128A4B, #07402A); }

/* Home hero */
#pitch-scroller { position: relative; height: 240vh; background: var(--black); }
.pitch-sticky { position: sticky; top: 0; height: 100vh; overflow: hidden; display: flex; align-items: center; }
#pitch-scene { position: absolute; inset: 0; z-index: 0; background: radial-gradient(ellipse 70% 60% at 70% 25%, rgba(176, 38, 255, .38), transparent 70%), linear-gradient(180deg, #0A0A0F 0%, #150826 62%, #0A0A0F 100%); }
#pitch-scene canvas { display: block; width: 100%; height: 100%; }
.pitch-sticky::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, rgba(10, 10, 15, .9) 0%, rgba(10, 10, 15, .62) 38%, transparent 66%); pointer-events: none; }
.hero-copy { position: relative; z-index: 2; }
.hero-copy h1 em { font-style: normal; color: var(--purple); text-shadow: 0 0 34px rgba(176, 38, 255, .6); display: block; }
.hero-meta { font-weight: 700; color: var(--cyan); margin-bottom: 6px; }
@media (max-width: 700px) { .pitch-sticky::before { background: rgba(10, 10, 15, .66); } }

/* Hoardings */
.hoarding { position: relative; overflow: hidden; background: var(--purple); color: var(--white); padding: 14px 0; border-block: 4px solid var(--black); z-index: 3; }
.hoarding-track { display: flex; justify-content: center; gap: 44px; white-space: nowrap; font: italic 800 26px/1 var(--head); text-transform: uppercase; }
.hoarding-track span:nth-child(even) { color: var(--black); }

/* Cards and grids */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--gap); }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--gap); }
@media (max-width: 860px) { .grid-2, .grid-3 { grid-template-columns: 1fr; } }
.panel { background: var(--ink); border: 1px solid var(--line-d); border-radius: var(--radius); padding: 26px; }
.on-light .panel, .on-paper .panel { background: var(--white); border-color: var(--line-l); color: var(--black); }
.panel h3 { margin-bottom: 8px; }
.tag { display: inline-block; font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; padding: 3px 9px; border-radius: 999px; background: var(--purple); color: var(--white); }
.tag.alt { background: transparent; border: 1.5px solid currentColor; color: inherit; }
.event-card { display: flex; flex-direction: column; gap: 6px; text-decoration: none; transition: transform .18s, border-color .18s; }
.event-card:hover { transform: translateY(-4px); border-color: var(--purple); }
.event-date { font: italic 800 22px/1.1 var(--head); text-transform: uppercase; color: var(--purple-deep); }
.panel:not(.on-light .panel) .event-date { color: var(--purple); }
.on-light .event-card .event-date { color: var(--purple-deep); }
.meter { height: 8px; border-radius: 4px; background: rgba(128, 128, 140, .28); overflow: hidden; margin-top: 8px; }
.meter i { display: block; height: 100%; background: var(--purple); border-radius: 4px; }
.next-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; }
.next-fan { display: flex; justify-content: center; }
.next-fan img { width: min(460px, 100%); }
.logo-tile { background: var(--black); border-radius: 18px; padding: 26px; }
@media (max-width: 860px) { .next-grid { grid-template-columns: 1fr; gap: 28px; } }
.countdown { font: italic 800 28px/1.1 var(--head); text-transform: uppercase; color: var(--purple-deep); margin-bottom: 14px; }
.update { border-top: 1px solid currentColor; border-color: rgba(128, 128, 140, .35); padding: 18px 0; }
.update h3 { margin: 6px 0; font-size: 22px; }
.update .when { font-size: 13px; }

.day-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 24px; }
@media (max-width: 860px) { .day-grid { grid-template-columns: repeat(2, 1fr); } }
.day-item { padding: 22px; border-left: 5px solid var(--purple); }
.day-item h3 { margin: 0; font-size: 22px; }
.day-where { font-weight: 700; color: var(--cyan); }

/* Forms */
label { display: block; font-weight: 600; font-size: 14px; margin-bottom: 14px; }
input, select, textarea { display: block; width: 100%; margin-top: 5px; min-height: 46px; padding: 10px 12px; font: 16px var(--body); color: var(--black); background: var(--white); border: 1.5px solid #8C8A96; border-radius: 7px; }
textarea { min-height: 110px; resize: vertical; }
input[type=checkbox] { width: 20px; min-height: 20px; height: 20px; display: inline-block; margin: 0 8px 0 0; vertical-align: -4px; accent-color: var(--purple); }
.check { font-weight: 500; }
fieldset { border: 0; padding: 0; margin: 0 0 14px; }
legend { font-weight: 600; font-size: 14px; margin-bottom: 8px; padding: 0; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 560px) { .form-row { grid-template-columns: 1fr; } }
.notice { background: rgba(0, 229, 255, .12); border-left: 4px solid var(--cyan); padding: 12px 14px; border-radius: 4px; font-size: 14px; margin-bottom: 14px; }
.on-light .notice { border-color: var(--cyan-deep); }
.error { background: rgba(255, 60, 90, .14); border-left: 4px solid #FF3C5A; padding: 12px 14px; border-radius: 4px; font-size: 14px; margin-bottom: 14px; }

/* Room map */
.booking-grid { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 26px; align-items: start; }
@media (max-width: 980px) { .booking-grid { grid-template-columns: minmax(0, 1fr); } }
.room-wrap { background: var(--ink); border: 1px solid var(--line-d); border-radius: var(--radius); padding: 14px; }
.room-scroll { overflow-x: auto; }
.room { display: block; width: 100%; min-width: 720px; height: auto; }
.stand { cursor: pointer; }
.stand rect { stroke-width: 3; transition: filter .12s; }
.stand text { font: italic 800 19px var(--head); text-anchor: middle; dominant-baseline: central; pointer-events: none; }
.stand.prime rect { fill: var(--purple); stroke: var(--purple); }
.stand.prime text { fill: var(--white); }
.stand.standard rect { fill: var(--white); stroke: var(--white); }
.stand.standard text { fill: var(--black); }
.stand.value rect { fill: var(--black); stroke: var(--cyan); }
.stand.value text { fill: var(--cyan); }
.stand.taken { cursor: not-allowed; }
.stand.taken rect { fill: #24242E; stroke: #4A4A58; stroke-dasharray: 7 6; }
.stand.taken text { fill: #A5A5B6; font-size: 16px; }
.stand:not(.taken):hover rect { filter: brightness(1.2) drop-shadow(0 0 10px rgba(176, 38, 255, .9)); }
.stand:focus { outline: none; }
.stand:focus-visible rect, .stand.selected rect { stroke: var(--cyan); stroke-width: 7; stroke-dasharray: none; }
.legend { display: flex; flex-wrap: wrap; gap: 10px 18px; font-size: 14px; margin: 12px 4px 2px; }
.legend i { display: inline-block; width: 18px; height: 14px; border-radius: 3px; margin-right: 6px; vertical-align: -2px; border: 2px solid transparent; }
.legend .l-prime { background: var(--purple); }
.legend .l-standard { background: var(--white); }
.legend .l-value { background: var(--black); border-color: var(--cyan); }
.legend .l-taken { background: #24242E; border: 2px dashed #6A6A78; }
.stand-panel { position: sticky; top: 92px; }
.stand-title { font: italic 800 44px/1 var(--head); margin-bottom: 8px; }
.price { font: italic 800 26px/1.15 var(--head); text-transform: uppercase; color: var(--cyan); margin: 12px 0; }
.stand-list { margin-top: 26px; }
.stand-list h3 { margin-top: 18px; }
.chip-row { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { min-width: 54px; min-height: 44px; border-radius: 7px; border: 1.5px solid var(--line-d); background: var(--ink); color: var(--white); font: 700 15px var(--body); cursor: pointer; }
.chip:hover:not([disabled]) { border-color: var(--purple); }
.chip[disabled] { opacity: .45; cursor: not-allowed; text-decoration: line-through; }
.chip[aria-pressed=true] { border-color: var(--cyan); box-shadow: inset 0 0 0 2px var(--cyan); }

/* Tickets */
.ticket-row { display: grid; grid-template-columns: 1fr auto; gap: 12px; align-items: center; padding: 16px 0; border-bottom: 1px solid rgba(128, 128, 140, .35); }
.ticket-row h3 { margin: 0; font-size: 22px; }
.ticket-row input { width: 86px; margin: 0; text-align: center; }
.ticket-card { width: min(380px, 100%); background: linear-gradient(160deg, #26093E, #0A0A0F 66%); border: 3px solid var(--purple); border-radius: 18px; padding: 22px; margin: 18px 0; color: var(--white); }
.ticket-card img { width: 120px; display: block; margin-bottom: 8px; }
.ticket-code { display: grid; grid-template-columns: repeat(13, 1fr); gap: 2px; width: 150px; background: #fff; padding: 8px; border-radius: 6px; margin-top: 12px; }
.ticket-code i { aspect-ratio: 1; background: #fff; }
.ticket-code i.on { background: #0A0A0F; }

/* Tables */
.table-wrap { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; font-size: 14px; }
th, td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line-l); vertical-align: middle; }
th { font-size: 12px; text-transform: uppercase; letter-spacing: .06em; color: var(--muted-l); }

/* Footer */
.sponsor-band { display: block; background: var(--white); color: var(--black); padding: 14px 0; text-decoration: none; }
.sponsor-band:hover span span { text-decoration: underline; }
.sponsor-band .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 18px; font-weight: 600; font-size: 14px; }
.foot-grid { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 24px; padding: 40px 0 18px; }
.foot-grid nav { display: flex; flex-direction: column; gap: 8px; }
.foot-grid nav a { padding: 3px 0; }
.foot-legal { font-size: 13px; color: var(--muted-d); padding-bottom: 28px; }
#site-footer { background: var(--black); border-top: 4px solid var(--purple); }

/* Reveal */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .6s ease, transform .6s cubic-bezier(.2, .7, .2, 1); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .btn, .event-card { transition: none; }
}

/* Organiser portal */
.portal { position: relative; background: var(--paper); color: var(--black); min-height: 70vh; }
.portal-grid { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 26px; padding: 28px 0 64px; align-items: start; }
.portal-nav { display: flex; flex-direction: column; gap: 4px; position: sticky; top: 92px; }
.portal-nav button { text-align: left; min-height: 44px; padding: 8px 14px; background: none; border: 0; border-radius: 7px; font: 600 15px var(--body); cursor: pointer; color: var(--black); }
.portal-nav button:hover { background: #E8E5F0; }
.portal-nav button[aria-current=true] { background: var(--black); color: var(--white); }
@media (max-width: 860px) {
  .portal-grid { grid-template-columns: 1fr; }
  .portal-nav { position: static; flex-direction: row; overflow-x: auto; padding-bottom: 6px; }
  .portal-nav button { white-space: nowrap; }
}
.portal .panel { background: var(--white); border-color: var(--line-l); margin-bottom: 20px; }
.portal h2 { font-size: 34px; }
.portal h3 { font-size: 21px; }
.portal-top { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 14px; margin-bottom: 18px; }
.portal-top label { margin: 0; min-width: min(320px, 100%); }
.stat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-bottom: 20px; }
@media (max-width: 1040px) { .stat-grid { grid-template-columns: repeat(2, 1fr); } }
.stat { background: var(--white); border: 1px solid var(--line-l); border-radius: var(--radius); padding: 16px 18px; }
.stat b { display: block; font: italic 800 38px/1.1 var(--head); }
.stat span { font-size: 13px; font-weight: 600; color: var(--muted-l); }
.stat small { display: block; color: var(--muted-l); margin-top: 3px; }
.chart-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 20px; }
@media (max-width: 1040px) { .chart-grid { grid-template-columns: 1fr; } }
.bar-row { display: grid; grid-template-columns: 112px minmax(0, 1fr) 76px; gap: 10px; align-items: center; font-size: 14px; padding: 7px 0; }
.bar-track { height: 14px; background: #ECEAF1; border-radius: 4px; overflow: hidden; }
.bar-track i { display: block; height: 100%; background: var(--purple); border-radius: 0 4px 4px 0; }
.bar-row b { text-align: right; font-variant-numeric: tabular-nums; }
.line-chart { position: relative; }
.line-chart svg { display: block; width: 100%; height: auto; }
.chart-tip { position: absolute; pointer-events: none; background: var(--black); color: var(--white); padding: 5px 9px; border-radius: 5px; font-size: 13px; white-space: nowrap; transform: translate(-50%, -120%); display: none; }
.status { display: inline-block; padding: 2px 9px; border-radius: 999px; font-size: 12px; font-weight: 700; }
.status.confirmed { background: #1A1A22; color: #fff; }
.status.pending { background: #fff; color: var(--black); border: 1.5px dashed var(--black); }
.status.declined { background: #ECEAF1; color: var(--muted-l); text-decoration: line-through; }
.lock-note { display: flex; gap: 14px; align-items: center; border: 1px solid var(--line-l); border-radius: 8px; padding: 12px 14px; font-size: 14px; margin-bottom: 14px; flex-wrap: wrap; }
.lock-note img { width: 170px; }
.login-card { width: min(460px, 100%); margin: 60px auto; }
.partner { display: flex; gap: 20px; align-items: flex-start; }
.partner img { width: 110px; height: 110px; border-radius: 50%; flex: none; }
.partner p { margin: 0; }

.sponsor-panel img { width: 280px; height: auto; border-radius: 0; }
@media (max-width: 700px) { .partner { flex-direction: column; align-items: flex-start; } }


/* Tickets, door and vendor dashboard */
.ticket-qr { background: #fff; border-radius: 8px; padding: 6px; width: 190px; margin-top: 12px; }
.ticket-qr svg { display: block; width: 100%; height: auto; }
.ticket-used { font-weight: 700; color: var(--cyan); }
.email-preview { background: #fff; color: var(--black); border: 1px solid var(--line-l); border-radius: 10px; padding: 20px; max-width: 520px; margin-top: 12px; }
.email-head { border-bottom: 1px solid var(--line-l); padding-bottom: 10px; font-size: 14px; }
.email-preview .ticket-qr { width: 150px; border: 1px solid var(--line-l); margin-bottom: 14px; }
.email-foot { display: flex; align-items: center; gap: 12px; font-size: 13px; font-weight: 600; margin: 8px 0 0; }
.door { margin-top: 16px; padding: 16px; border-radius: 8px; font-size: 15px; }
.door b { display: block; font: italic 800 26px/1.1 var(--head); text-transform: uppercase; margin-bottom: 4px; }
.door-ok { background: #0A0A0F; color: #fff; border-left: 8px solid var(--cyan); }
.door-bad { background: #fff; color: var(--black); border: 3px dashed var(--black); }
#door-video { display: block; width: min(420px, 100%); border-radius: 8px; margin-top: 12px; }
#door-video[hidden] { display: none; }
.status.approved { background: var(--purple); color: #fff; }
.stripe-slot { border: 2px dashed #8C8A96; border-radius: 8px; padding: 18px; margin-top: 14px; font-size: 14px; color: var(--muted-l); }
.pay-table th { text-transform: none; font-size: 14px; letter-spacing: 0; color: inherit; }
.pay-table td { text-align: right; font-weight: 700; }
.locked { opacity: .75; }
.lock-list, .need-list { padding-left: 20px; margin: 0; }
.lock-list li, .need-list li { margin-bottom: 6px; }
.partner-link { display: inline-block; margin-top: 10px; padding: 4px 0; font-weight: 600; color: var(--cyan); }
.eyebrow.on-light { background: none; }
.portal .muted, .email-preview .muted { color: var(--muted-l); }

/* The stand map is a room at the venue, so no play mat behind it. */
body[data-page="tables"] #play-mat { display: none; }
.room3d:empty { display: none; }
.room3d { position: relative; width: 100%; overflow-x: auto; }
.room3d > * { min-width: 700px; }
.room3d canvas { display: block; width: 100%; height: 100%; }
#tickets-gate .panel { margin-bottom: 14px; }
.link-btn { background: none; border: 0; padding: 4px 0; font: 600 14px var(--body); color: var(--purple-deep); text-decoration: underline; cursor: pointer; }

/* Clean Sheet scheme: chalk where it was black, charcoal where it was light grey. Fixed brand colours stay fixed. */
:root[data-theme="light"] {
  --black: #F3F1EC; --white: #26262C; --ink: #FFFDF9; --line-d: #D8D5CD; --muted-d: #55525F;
  --paper: #303037; --line-l: #47474F; --muted-l: #C9C7CF; --cyan: #00707F; --purple-deep: #7A12C4;
}
[data-theme="light"] #play-mat { background-image: url(../assets/play-mat-light.svg); }
[data-theme="light"] .btn-purple, [data-theme="light"] .tag, [data-theme="light"] .status.approved { color: #FFFFFF; }
[data-theme="light"] .demo-strip { background: #00E5FF; color: #26262C; }
[data-theme="light"] #site-header { background: rgba(243, 241, 236, .95); }
[data-theme="light"] .hero-copy { color: #F3F1EC; }
[data-theme="light"] .hero-copy .eyebrow, [data-theme="light"] .hero-meta { color: #00E5FF; }
[data-theme="light"] .hero-copy .btn-white { background: #F3F1EC; color: #26262C; }
[data-theme="light"] .on-light .eyebrow, [data-theme="light"] .on-paper .eyebrow, [data-theme="light"] .eyebrow.on-light, [data-theme="light"] .portal .eyebrow { color: #00E5FF; }
[data-theme="light"] .on-light .event-date, [data-theme="light"] .on-paper .event-date, [data-theme="light"] .countdown { color: #D7A0FF; }
[data-theme="light"] .on-light a:not(.btn), [data-theme="light"] .portal a:not(.btn) { color: #F3F1EC; }
[data-theme="light"] .hoarding { color: #FFFFFF; }
[data-theme="light"] .hoarding-track span:nth-child(even) { color: #26262C; }
[data-theme="light"] .sponsor-band { background: #FFFFFF; color: #26262C; }
[data-theme="light"] input, [data-theme="light"] select, [data-theme="light"] textarea { color: #26262C; background: #FFFFFF; }
[data-theme="light"] .ticket-card { color: #F3F1EC; }
[data-theme="light"] .ticket-used { color: #00E5FF; }
[data-theme="light"] .email-preview { background: #FFFFFF; color: #26262C; border-color: #D8D5CD; }
[data-theme="light"] .email-preview .muted { color: #55525F; }
[data-theme="light"] .room-wrap { background: #26262C; color: #F3F1EC; }
[data-theme="light"] .room-wrap .legend { color: #F3F1EC; }
[data-theme="light"] .chip { background: #FFFFFF; color: #26262C; border-color: #BDBAB2; }
[data-theme="light"] .portal-nav button:hover { background: #47474F; }
[data-theme="light"] .portal-nav button[aria-current=true] { background: #F3F1EC; color: #26262C; }
[data-theme="light"] .bar-track { background: #47474F; }
[data-theme="light"] .bar-track i { background: #C77BFF; }
[data-theme="light"] .status.confirmed { background: #F3F1EC; color: #26262C; }
[data-theme="light"] .status.pending { background: transparent; color: #F3F1EC; border-color: #F3F1EC; }
[data-theme="light"] .status.declined { background: #47474F; color: #C9C7CF; }
[data-theme="light"] .door-ok { background: #F3F1EC; color: #26262C; border-left-color: #00E5FF; }
[data-theme="light"] .door-bad { background: transparent; color: #F3F1EC; border-color: #F3F1EC; }
[data-theme="light"] .line-chart svg text { fill: #C9C7CF; }
[data-theme="light"] .line-chart svg line:not(#ch-x) { stroke: #47474F; }
[data-theme="light"] .stripe-slot { color: #C9C7CF; }
[data-theme="light"] .link-btn { color: #D7A0FF; }
[data-theme="light"] .login-card .link-btn { color: #D7A0FF; }
[data-theme="light"] .notice { color: inherit; }
[data-theme="light"] .tcard { border-color: #FFFFFF; }
.theme-switch { background: none; border: 0; border-bottom: 1px solid currentColor; padding: 0; margin-left: 10px; font: 700 13px var(--body); color: inherit; cursor: pointer; }

/* Room to breathe */
.section { padding: clamp(96px, 13vw, 190px) 0; }
.page-head { padding: clamp(96px, 11vw, 160px) 0 clamp(72px, 8vw, 120px); }
.section.on-light, .section.on-paper { margin: clamp(48px, 7vw, 110px) auto; }
.layer { inset: 0; will-change: auto; }
.layer-cards { opacity: .9; }
.layer-cards .drift { transform: rotate(var(--r)) scale(calc(var(--s) * .85)); }
h2 { margin-bottom: .6em; }
.lead { line-height: 1.65; }
.next-grid { gap: clamp(48px, 7vw, 110px); }
.grid-2 { gap: 36px; }
.panel { padding: clamp(28px, 3vw, 44px); }
.btn-row { margin-top: 32px; }
.partner { gap: 28px; }
.hoarding { padding: 18px 0; }

/* On the day: bento */
.day-where { margin-bottom: 40px; font-size: 18px; }
.day-grid { grid-template-columns: repeat(6, 1fr); gap: 24px; margin-top: 0; }
.day-item { position: relative; overflow: hidden; background: var(--ink); border: 1px solid var(--line-d); border-left: 1px solid var(--line-d); border-radius: 18px; padding: clamp(28px, 3vw, 44px); min-height: 200px; }
.day-item h3 { font-size: clamp(22px, 2.2vw, 30px); margin-bottom: 12px; }
.day-item p { margin: 0; color: var(--muted-d); max-width: 42ch; }
.day-1 { grid-column: span 3; grid-row: span 2; min-height: 460px; background: var(--purple); border-color: var(--purple); color: #fff; }
.day-1 h3 { font-size: clamp(32px, 3.6vw, 52px); }
.day-1 p { color: #fff; font-size: 18px; }
.day-2, .day-3 { grid-column: span 3; }
.day-4, .day-5, .day-6 { grid-column: span 2; }
.day-fan { position: absolute; left: 50%; bottom: -46px; width: 300px; height: 190px; transform: translateX(-50%); }
.day-fan img { position: absolute; bottom: 0; width: 124px; border-radius: 8px; box-shadow: 0 14px 30px rgba(0, 0, 0, .4); }
.day-fan img:nth-child(1) { left: 0; transform: rotate(-16deg); }
.day-fan img:nth-child(2) { left: 88px; bottom: 16px; }
.day-fan img:nth-child(3) { left: 176px; transform: rotate(16deg); }
@media (max-width: 860px) {
  .day-grid { grid-template-columns: 1fr; }
  .day-item, .day-1, .day-2, .day-3, .day-4, .day-5, .day-6 { grid-column: auto; grid-row: auto; min-height: 0; }
  .day-1 { min-height: 420px; }
}

.page-head h1 { font-size: clamp(38px, 5.2vw, 68px); max-width: 15ch; }
.page-head .lead { max-width: 56ch; }
[data-theme="light"] .hero-meta { color: var(--cyan); }
[data-theme="light"] .hero-copy .hero-meta { color: #00E5FF; }
[data-theme="light"] .logo-tile { background: #F3F1EC; }
.partner img { border-radius: 14px; }
.day-fan { width: 420px; height: 200px; }
.day-fan img { width: 112px; }
.day-fan img:nth-child(1) { left: 0; bottom: -18px; transform: rotate(-24deg); }
.day-fan img:nth-child(2) { left: 76px; bottom: 2px; transform: rotate(-12deg); }
.day-fan img:nth-child(3) { left: 154px; bottom: 12px; transform: none; }
.day-fan img:nth-child(4) { left: 232px; bottom: 2px; transform: rotate(12deg); }
.day-fan img:nth-child(5) { left: 308px; bottom: -18px; transform: rotate(24deg); }
@media (max-width: 480px) { .day-fan { transform: translateX(-50%) scale(.72); transform-origin: bottom center; } }

/* Terms and DPA */
.legal { max-width: 820px; margin: 0 auto; color: var(--white); }
.legal h2 { font-size: 24px; margin: 36px 0 12px; }
.legal ul { padding-left: 22px; }
.legal li { margin-bottom: 8px; }
.legal mark { background: #FFE9A8; color: #26262C; padding: 0 4px; border-radius: 3px; }
.legal-note { background: rgba(0, 229, 255, .12); border-left: 4px solid var(--cyan); padding: 12px 14px; border-radius: 4px; font-size: 14px; }
.legal table { font-size: 15px; margin: 8px 0 16px; }
.legal th, .legal td { border-color: var(--line-d); color: inherit; }
.legal th { text-transform: none; letter-spacing: 0; font-size: 14px; color: inherit; }

/* Daytime hero: chalk wash behind charcoal text, so it reads over sky, grass and passing cards. */
[data-theme="light"] .pitch-sticky::before { background: linear-gradient(90deg, rgba(243, 241, 236, .9) 0%, rgba(243, 241, 236, .82) 42%, rgba(243, 241, 236, 0) 68%); }
[data-theme="light"] .hero-copy { color: #26262C; }
[data-theme="light"] .hero-copy .hero-meta { color: #00707F; }
[data-theme="light"] .hero-copy h1 em { color: #7A12C4; text-shadow: none; }
@media (max-width: 700px) { [data-theme="light"] .pitch-sticky::before { background: rgba(243, 241, 236, .82); } }