/* Frontier AI Show — design tokens
   One show, four cities: the brand is all four city colours together;
   each city page takes on its own colour as the accent. */
/* Self-hosted fonts: Bricolage Grotesque (display, variable opsz + wght) and Instrument Sans (text) */
@font-face { font-family: "Bricolage Grotesque"; font-style: normal; font-weight: 200 800; font-display: swap;
  src: url("../fonts/bricolage-grotesque-latin-opsz-normal.woff2") format("woff2-variations"), url("../fonts/bricolage-grotesque-latin-opsz-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2212, U+FEFF; }
@font-face { font-family: "Bricolage Grotesque"; font-style: normal; font-weight: 200 800; font-display: swap;
  src: url("../fonts/bricolage-grotesque-latin-ext-opsz-normal.woff2") format("woff2-variations"), url("../fonts/bricolage-grotesque-latin-ext-opsz-normal.woff2") format("woff2");
  unicode-range: U+0100-02AF, U+1E00-1EFF, U+20A0-20AB, U+20AD-20C0, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Instrument Sans"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/instrument-sans-latin-400-normal.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+2000-206F, U+20AC, U+2122, U+2212; }
@font-face { font-family: "Instrument Sans"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/instrument-sans-latin-ext-400-normal.woff2") format("woff2"); unicode-range: U+0100-02AF, U+1E00-1EFF, U+20A0-20C0, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Instrument Sans"; font-style: normal; font-weight: 500; font-display: swap; src: url("../fonts/instrument-sans-latin-500-normal.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+2000-206F, U+20AC, U+2122, U+2212; }
@font-face { font-family: "Instrument Sans"; font-style: normal; font-weight: 500; font-display: swap; src: url("../fonts/instrument-sans-latin-ext-500-normal.woff2") format("woff2"); unicode-range: U+0100-02AF, U+1E00-1EFF, U+20A0-20C0, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Instrument Sans"; font-style: normal; font-weight: 600; font-display: swap; src: url("../fonts/instrument-sans-latin-600-normal.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+2000-206F, U+20AC, U+2122, U+2212; }
@font-face { font-family: "Instrument Sans"; font-style: normal; font-weight: 600; font-display: swap; src: url("../fonts/instrument-sans-latin-ext-600-normal.woff2") format("woff2"); unicode-range: U+0100-02AF, U+1E00-1EFF, U+20A0-20C0, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Instrument Sans"; font-style: normal; font-weight: 700; font-display: swap; src: url("../fonts/instrument-sans-latin-700-normal.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+2000-206F, U+20AC, U+2122, U+2212; }
@font-face { font-family: "Instrument Sans"; font-style: normal; font-weight: 700; font-display: swap; src: url("../fonts/instrument-sans-latin-ext-700-normal.woff2") format("woff2"); unicode-range: U+0100-02AF, U+1E00-1EFF, U+20A0-20C0, U+2C60-2C7F, U+A720-A7FF; }

:root {
  --night: #13112b;
  --night-2: #1b1839;
  --night-3: #252149;
  --mist: #eeedf7;
  --mist-2: #b9b6d3;
  --mist-3: #8a86ab;
  --line: rgba(238, 237, 247, 0.14);
  --line-2: rgba(238, 237, 247, 0.26);
  --blr: #ffb627;
  --nyc: #4d74ff;
  --sin: #ff5b4f;
  --dxb: #22c7ae;
  --accent: var(--mist);
  --accent-ink: var(--night);
  --display: "Bricolage Grotesque", "Helvetica Neue", Arial, sans-serif;
  --body: "Instrument Sans", "Helvetica Neue", Arial, sans-serif;
  --wrap: 1240px;
  --gutter: clamp(20px, 4vw, 48px);
  --step--1: 0.875rem;
  --step-0: 1.0625rem;
  --step-1: 1.25rem;
  --step-2: 1.6rem;
  --step-3: clamp(1.9rem, 1.4rem + 1.8vw, 2.6rem);
  --step-4: clamp(2.4rem, 1.6rem + 3.2vw, 4rem);
  --step-5: clamp(3.2rem, 1.4rem + 7.6vw, 10rem);
  --radius-s: 6px;
  --radius-l: 18px;
}
.city-blr { --accent: var(--blr); --accent-ink: #1d1300; }
.city-nyc { --accent: var(--nyc); --accent-ink: #fff; }
.city-sin { --accent: var(--sin); --accent-ink: #fff; }
.city-dxb { --accent: var(--dxb); --accent-ink: #00201b; }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 88px; }
body {
  margin: 0;
  background: var(--night);
  color: var(--mist);
  font-family: var(--body);
  font-size: var(--step-0);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration-color: var(--line-2); text-underline-offset: 3px; }
a:hover { text-decoration-color: currentColor; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 3px; }
.city-blr :focus-visible, :focus-visible { outline-color: var(--blr); }
h1, h2, h3, h4 { font-family: var(--display); font-weight: 700; line-height: 1.05; margin: 0 0 0.5em; letter-spacing: -0.02em; font-variation-settings: "opsz" 96; }
h2 { font-size: var(--step-4); }
h3 { font-size: var(--step-2); letter-spacing: -0.01em; line-height: 1.15; }
h4 { font-size: var(--step-1); letter-spacing: -0.005em; line-height: 1.2; }
p { margin: 0 0 1em; max-width: 68ch; }
.muted { color: var(--mist-2); }
.small { font-size: var(--step--1); }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: clamp(72px, 10vw, 140px) 0; }
.section + .section { padding-top: 0; }
.section-head { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 32px 64px; align-items: end; margin-bottom: clamp(36px, 5vw, 64px); }
.section-head h2 { margin: 0; }
.section-head p { margin: 0; color: var(--mist-2); }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; z-index: 100; background: var(--mist); color: var(--night); padding: 8px 14px; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Four-colour horizon stripe: the brand mark */
.stripe { display: grid; grid-template-columns: repeat(4, 1fr); height: 4px; }
.stripe span:nth-child(1) { background: var(--blr); }
.stripe span:nth-child(2) { background: var(--nyc); }
.stripe span:nth-child(3) { background: var(--sin); }
.stripe span:nth-child(4) { background: var(--dxb); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font: 600 1rem/1 var(--body); padding: 16px 24px; border-radius: 999px;
  text-decoration: none; border: 1.5px solid transparent; cursor: pointer; transition: background .15s, color .15s, border-color .15s;
}
.btn-primary { background: var(--accent); color: var(--accent-ink); }
.btn-primary:hover { background: #fff; color: var(--night); }
.btn-ghost { border-color: var(--line-2); color: var(--mist); background: rgba(19, 17, 43, .35); backdrop-filter: blur(6px); }
.btn-ghost:hover { border-color: var(--mist); }
.btn-small { padding: 11px 18px; font-size: .95rem; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
.text-link { font-weight: 600; text-decoration: underline; text-decoration-thickness: 1.5px; text-decoration-color: var(--accent); }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(19, 17, 43, .82); backdrop-filter: blur(14px); border-bottom: 1px solid var(--line); }
.site-header .wrap { display: flex; align-items: center; gap: 24px; height: 72px; }
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; font-family: var(--display); font-weight: 800; font-size: 1.2rem; letter-spacing: -0.02em; white-space: nowrap; }
.logo-mark { width: 30px; height: 30px; }
.logo small { font-weight: 500; color: var(--mist-2); font-size: .95rem; letter-spacing: 0; }
.nav { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.nav a:not(.btn), .nav button.navlink { font: 500 .98rem/1 var(--body); color: var(--mist-2); text-decoration: none; padding: 10px 12px; border-radius: 8px; background: none; border: 0; cursor: pointer; }
.nav a:not(.btn):hover, .nav button.navlink:hover, .nav a[aria-current="page"] { color: var(--mist); }
.nav a[aria-current="page"] { box-shadow: inset 0 -2px 0 var(--accent); border-radius: 0; }
.nav .btn { margin-left: 10px; color: var(--accent-ink); }
.nav .btn:hover { color: var(--night); }
.cities-menu { position: relative; }
.cities-panel { position: absolute; top: calc(100% + 10px); left: -12px; width: 320px; background: var(--night-2); border: 1px solid var(--line); border-radius: 14px; padding: 8px; display: none; box-shadow: 0 24px 60px rgba(0,0,0,.45); }
.cities-menu.open .cities-panel { display: block; }
.cities-panel a { display: grid !important; grid-template-columns: 10px 1fr auto; gap: 12px; align-items: center; padding: 12px !important; border-radius: 10px !important; color: var(--mist) !important; box-shadow: none !important; }
.cities-panel a:hover { background: var(--night-3); }
.cities-panel .dot { width: 10px; height: 10px; border-radius: 50%; }
.cities-panel em { font-style: normal; color: var(--mist-3); font-size: .9rem; }
.menu-toggle { display: none; margin-left: auto; background: none; border: 1px solid var(--line-2); color: var(--mist); border-radius: 10px; padding: 10px 14px; font: 600 .95rem var(--body); }

/* Hero (home) */
.hero { position: relative; min-height: min(100svh, 1000px); display: flex; flex-direction: column; justify-content: flex-end; overflow: hidden; isolation: isolate; }
.hero-art { position: absolute; inset: 0; z-index: -1; }
.hero-art img { width: 100%; height: 100%; object-fit: cover; object-position: center 85%; }
.hero-art::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(19,17,43,.7) 0%, rgba(19,17,43,.25) 45%, rgba(19,17,43,0) 70%), linear-gradient(180deg, rgba(19,17,43,.5) 0%, rgba(19,17,43,0) 30%, rgba(19,17,43,.15) 62%, var(--night) 100%); }
.hero > .wrap, .city-hero > .wrap { width: 100%; }
.hero-copy { padding-top: clamp(64px, 12vh, 140px); }
.wordmark { font-family: var(--display); font-weight: 800; font-size: var(--step-5); line-height: .86; letter-spacing: -0.045em; margin: 0 0 28px; font-variation-settings: "opsz" 96; }
.wordmark span { display: block; }
.wordmark .yr { color: transparent; -webkit-text-stroke: 1.5px var(--mist); }
.hero-lede { font-size: var(--step-1); max-width: 40ch; color: var(--mist); margin-bottom: 28px; }
.reveal-line { display: block; opacity: 0; transform: translateY(0.35em); animation: rise .9s cubic-bezier(.2,.7,.1,1) forwards; }
.reveal-line:nth-child(2) { animation-delay: .12s; }
.reveal-line:nth-child(3) { animation-delay: .24s; }
@keyframes rise { to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .reveal-line { animation: none; opacity: 1; transform: none; } html { scroll-behavior: auto; } }

/* Tour strip: four city columns */
.tour { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: clamp(48px, 8vh, 96px); border-top: 1px solid var(--line); }
.tour-stop { position: relative; padding: 26px 24px 30px 0; text-decoration: none; display: block; }
.tour-stop + .tour-stop { padding-left: 24px; border-left: 1px solid var(--line); }
.tour-stop::before { content: ""; position: absolute; top: -1px; left: 0; right: 0; height: 3px; background: var(--c); transform-origin: left; transform: scaleX(.18); transition: transform .35s ease; }
.tour-stop:hover::before, .tour-stop:focus-visible::before { transform: scaleX(1); }
.tour-stop h3 { font-size: clamp(1.5rem, 1rem + 1.6vw, 2.3rem); margin: 0 0 4px; }
.tour-stop .date { font-weight: 600; color: var(--c); margin: 0 0 10px; }
.tour-stop p { color: var(--mist-2); font-size: .98rem; margin: 0 0 14px; }
.tour-stop .status { font-weight: 600; font-size: .95rem; text-decoration: underline; text-decoration-color: var(--c); text-underline-offset: 4px; }

/* Two-day format */
.days { display: grid; grid-template-columns: 1fr 1fr 0.85fr; border: 1px solid var(--line); border-radius: var(--radius-l); overflow: hidden; }
.day { padding: clamp(24px, 3vw, 40px); }
.day + .day { border-left: 1px solid var(--line); }
.day .num { font-family: var(--display); font-size: 4.5rem; font-weight: 800; line-height: .9; color: var(--mist-3); letter-spacing: -0.04em; margin-bottom: 18px; }
.day ul { list-style: none; padding: 0; margin: 0; }
.day li { padding: 10px 0; border-top: 1px solid var(--line); color: var(--mist-2); }
.day li strong { color: var(--mist); font-weight: 600; }
.day.night { background: url("../img/afterparty.jpg") center/cover; position: relative; }
.day.night::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(19,17,43,.25), rgba(19,17,43,.85)); }
.day.night > * { position: relative; }

/* Tracks list */
.tracks { border-top: 1px solid var(--line); }
.track { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 5.5fr) minmax(0, 3fr); gap: 24px; padding: 26px 0; border-bottom: 1px solid var(--line); align-items: baseline; }
.track h3 { margin: 0; font-size: clamp(1.3rem, 1rem + 1vw, 1.75rem); }
.track p { margin: 0; color: var(--mist-2); }
.track .when { text-align: right; font-size: .93rem; color: var(--mist-2); }
.track .when strong { display: block; color: var(--accent); font-weight: 600; }
.focus { display: flex; flex-wrap: wrap; gap: 6px; justify-content: flex-end; }
.chip { display: inline-flex; align-items: center; gap: 7px; font-size: .85rem; font-weight: 600; padding: 5px 11px; border-radius: 999px; border: 1px solid var(--line-2); color: var(--mist); white-space: nowrap; }
.chip::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--c, var(--mist)); }

/* Feature split (image + text) */
.split { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(32px, 5vw, 80px); align-items: center; }
.split.flip > :first-child { order: 2; }
.split figure { margin: 0; border-radius: var(--radius-l); overflow: hidden; aspect-ratio: 16/11; }
.split figure img { width: 100%; height: 100%; object-fit: cover; }
.steps { list-style: none; counter-reset: s; padding: 0; margin: 28px 0 32px; }
.steps li { counter-increment: s; display: grid; grid-template-columns: 44px 1fr; gap: 6px 14px; padding: 14px 0; border-top: 1px solid var(--line); }
.steps li::before { content: counter(s); grid-row: span 2; font-family: var(--display); font-weight: 800; font-size: 1.6rem; line-height: 1; color: var(--accent); }
.steps strong { font-weight: 600; }
.steps span { color: var(--mist-2); font-size: .98rem; }

/* Speakers */
.speakers { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px 20px; }
.speaker figure { margin: 0 0 14px; border-radius: 14px; overflow: hidden; aspect-ratio: 1; position: relative; }
.speaker figure img { width: 100%; height: 100%; object-fit: cover; }
.speaker figure figcaption { position: absolute; left: 12px; bottom: 12px; font-size: .8rem; font-weight: 600; background: rgba(19,17,43,.75); padding: 4px 10px; border-radius: 999px; backdrop-filter: blur(4px); }
.speaker h3 { font-size: 1.15rem; margin: 0 0 4px; }
.speaker p { color: var(--mist-2); font-size: .95rem; margin: 0; }

/* Full-bleed band */
.band { position: relative; isolation: isolate; padding: clamp(96px, 14vw, 200px) 0; overflow: hidden; }
.band > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.band::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(19,17,43,.92) 0%, rgba(19,17,43,.55) 55%, rgba(19,17,43,.2) 100%); }
.band h2 { font-size: var(--step-5); line-height: .9; letter-spacing: -0.04em; }
.band p { font-size: var(--step-1); max-width: 44ch; }

/* Inventory lists (sponsorship) */
.inventory { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border-top: 1px solid var(--line); }
.inv { padding: 24px 24px 28px 0; border-bottom: 1px solid var(--line); }
.inv:not(:nth-child(3n+1)) { padding-left: 24px; border-left: 1px solid var(--line); }
.inv h3 { font-size: 1.3rem; margin-bottom: 6px; }
.inv .avail { font-size: .9rem; font-weight: 600; color: var(--accent); margin: 0 0 10px; }
.inv p { color: var(--mist-2); font-size: .98rem; margin: 0; }

/* Tier table */
.table-scroll { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius-l); }
table.tiers { width: 100%; border-collapse: collapse; min-width: 760px; table-layout: fixed; }
table.tiers thead th:first-child { width: 24%; }
.tiers th, .tiers td { padding: 16px 18px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
.tiers thead th { font-family: var(--display); font-size: 1.35rem; font-weight: 700; letter-spacing: -0.01em; background: var(--night-2); }
.tiers thead th small { display: block; font-family: var(--body); font-size: .85rem; font-weight: 500; color: var(--mist-2); letter-spacing: 0; margin-top: 4px; }
.tiers tbody th { font-weight: 500; color: var(--mist-2); }
.tiers td { color: var(--mist); }
.tiers tr:last-child th, .tiers tr:last-child td { border-bottom: 0; }
.tiers .title-col { background: rgba(255, 255, 255, .04); }
.yes { color: var(--accent); font-weight: 700; }
.no { color: var(--mist-3); }

/* Booth plans */
.booths { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.booth { border: 1px solid var(--line); border-radius: 14px; padding: 20px; display: flex; flex-direction: column; }
.booth svg { width: 100%; height: 110px; margin-bottom: 14px; }
.booth h3 { font-size: 1.2rem; margin-bottom: 2px; }
.booth .size { color: var(--accent); font-weight: 600; font-size: .95rem; margin: 0 0 10px; }
.booth ul { margin: 0; padding-left: 18px; color: var(--mist-2); font-size: .93rem; }
.booth li { margin-bottom: 4px; }

/* Tickets */
.passes { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; align-items: stretch; }
.pass { border: 1px solid var(--line); border-radius: var(--radius-l); padding: 28px 24px; display: flex; flex-direction: column; background: var(--night); }
.pass.featured { background: var(--night-2); border-color: var(--accent); }
.pass h3 { font-size: 1.5rem; margin-bottom: 4px; }
.pass .for { color: var(--mist-2); font-size: .95rem; min-height: 3em; }
.pass .price { font-family: var(--display); font-weight: 800; font-size: 2.6rem; letter-spacing: -0.03em; line-height: 1; margin: 18px 0 4px; }
.pass .price-note { font-size: .88rem; color: var(--mist-3); margin-bottom: 20px; }
.pass ul { list-style: none; padding: 0; margin: 0 0 24px; flex: 1; }
.pass li { padding: 8px 0 8px 26px; border-top: 1px solid var(--line); position: relative; font-size: .97rem; }
.pass li::before { content: ""; position: absolute; left: 2px; top: 15px; width: 12px; height: 7px; border-left: 2px solid var(--accent); border-bottom: 2px solid var(--accent); transform: rotate(-45deg); }
.pass .btn { width: 100%; }
.badge { display: inline-block; font-size: .8rem; font-weight: 700; background: var(--accent); color: var(--accent-ink); padding: 4px 10px; border-radius: 999px; margin-bottom: 12px; align-self: flex-start; }

.tabs { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 28px; }
.tab { font: 600 1rem var(--body); color: var(--mist-2); background: none; border: 1px solid var(--line-2); padding: 11px 20px; border-radius: 999px; cursor: pointer; display: inline-flex; align-items: center; gap: 8px; }
.tab[aria-selected="true"] { background: var(--mist); color: var(--night); border-color: var(--mist); }
.tab .dot { width: 9px; height: 9px; border-radius: 50%; background: var(--c, var(--accent)); }
[role="tabpanel"][hidden] { display: none; }

/* Agenda */
.agenda { border-top: 1px solid var(--line); }
.slot { display: grid; grid-template-columns: 120px minmax(0, 1fr) 200px; gap: 24px; padding: 20px 0; border-bottom: 1px solid var(--line); align-items: baseline; }
.slot time { font-weight: 600; color: var(--mist-2); font-variant-numeric: tabular-nums; }
.slot h4 { margin: 0 0 4px; }
.slot p { margin: 0; color: var(--mist-2); font-size: .98rem; }
.slot .where { font-size: .92rem; color: var(--mist-2); text-align: right; }
.slot.key h4 { color: var(--accent); }
.slot.party { background: linear-gradient(90deg, rgba(255,60,160,.12), transparent 70%); }
.slot.parallel .sessions { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.slot.parallel .sessions div { border-left: 2px solid var(--c, var(--line-2)); padding-left: 14px; }
.slot.parallel .sessions small { display: block; color: var(--mist-3); font-size: .85rem; margin-bottom: 2px; }

/* Stages */
.stages { display: grid; grid-template-columns: repeat(5, 1fr); gap: 0; border-top: 1px solid var(--line); }
.stage { padding: 22px 20px 26px 0; }
.stage + .stage { padding-left: 20px; border-left: 1px solid var(--line); }
.stage h3 { font-size: 1.2rem; margin-bottom: 6px; }
.stage p { font-size: .95rem; color: var(--mist-2); margin: 0; }

/* Logo wall placeholders */
.logo-wall { display: grid; grid-template-columns: repeat(6, 1fr); gap: 12px; }
.logo-slot { aspect-ratio: 3/2; border: 1px dashed var(--line-2); border-radius: 12px; display: grid; place-items: center; color: var(--mist-3); font-size: .9rem; text-align: center; padding: 10px; }

/* Forms */
.form-card { background: var(--night-2); border: 1px solid var(--line); border-radius: var(--radius-l); padding: clamp(24px, 4vw, 48px); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 20px; }
.form-grid .full { grid-column: 1 / -1; }
label { display: block; font-weight: 600; font-size: .95rem; margin-bottom: 7px; }
label .opt { font-weight: 400; color: var(--mist-3); }
input, select, textarea { width: 100%; font: 400 1rem var(--body); color: var(--mist); background: var(--night); border: 1px solid var(--line-2); border-radius: 10px; padding: 13px 14px; }
textarea { min-height: 120px; resize: vertical; }
input:focus, select:focus, textarea:focus { outline: 2px solid var(--accent); outline-offset: 1px; border-color: transparent; }
.checks { display: flex; flex-wrap: wrap; gap: 8px; }
.checks label { display: inline-flex; align-items: center; gap: 8px; font-weight: 500; border: 1px solid var(--line-2); border-radius: 999px; padding: 8px 14px; cursor: pointer; margin: 0; }
.checks input { width: auto; accent-color: var(--accent); }
.form-status { margin-top: 16px; font-weight: 600; }
.form-status[data-state="ok"] { color: var(--dxb); }
.form-status[data-state="error"] { color: var(--sin); }

/* FAQ */
.faq details { border-top: 1px solid var(--line); padding: 4px 0; }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; font-family: var(--display); font-weight: 600; font-size: 1.25rem; padding: 18px 40px 18px 0; position: relative; letter-spacing: -0.01em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 14px; font-size: 1.6rem; font-weight: 400; color: var(--accent); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--mist-2); padding-bottom: 12px; }

/* City hero */
.city-hero { position: relative; isolation: isolate; min-height: min(92svh, 900px); display: flex; flex-direction: column; justify-content: flex-end; padding-bottom: 56px; overflow: hidden; }
.city-hero > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; object-position: center 60%; }
.city-hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(19,17,43,.5) 0%, rgba(19,17,43,0) 30%, rgba(19,17,43,.35) 65%, var(--night) 100%); }
.city-hero .series { font-weight: 600; color: var(--mist-2); margin-bottom: 14px; text-decoration: none; display: inline-block; }
.city-hero h1 { font-size: var(--step-5); font-weight: 800; line-height: .86; letter-spacing: -0.045em; margin-bottom: 24px; }
.city-hero h1 .city-name { color: var(--accent); display: block; }
.facts { display: grid; grid-template-columns: repeat(4, auto); justify-content: start; gap: 12px 48px; margin: 8px 0 32px; }
.facts div { border-left: 2px solid var(--accent); padding-left: 14px; }
.facts dt { font-size: .88rem; color: var(--mist-2); }
.facts dd { margin: 0; font-weight: 600; font-size: 1.1rem; }
.countdown { display: flex; gap: 22px; font-variant-numeric: tabular-nums; }
.countdown div { font-family: var(--display); font-weight: 700; font-size: 1.6rem; line-height: 1; }
.countdown small { display: block; font-family: var(--body); font-weight: 500; font-size: .8rem; color: var(--mist-2); margin-top: 6px; }

.subnav { position: sticky; top: 72px; z-index: 40; background: rgba(19,17,43,.92); backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.subnav .wrap { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; }
.subnav a { padding: 14px 12px; text-decoration: none; color: var(--mist-2); font-weight: 500; font-size: .95rem; white-space: nowrap; }
.subnav a:hover { color: var(--mist); }

.why { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border-top: 1px solid var(--line); }
.why > div { padding: 26px 28px 28px 0; }
.why > div + div { padding-left: 28px; border-left: 1px solid var(--line); }
.why h3 { font-size: 1.35rem; }
.why p { color: var(--mist-2); margin: 0; }

.visit { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.visit > div { border-top: 2px solid var(--accent); padding-top: 18px; }
.visit h3 { font-size: 1.2rem; }
.visit p { color: var(--mist-2); font-size: .97rem; }

.page-hero { padding: clamp(72px, 10vw, 140px) 0 clamp(40px, 6vw, 72px); position: relative; overflow: hidden; isolation: isolate; }
.page-hero > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; opacity: .55; }
.page-hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(19,17,43,.3), var(--night) 92%); }
.page-hero h1 { font-size: var(--step-5); font-weight: 800; letter-spacing: -0.045em; line-height: .9; max-width: 14ch; }
.page-hero p { font-size: var(--step-1); color: var(--mist); max-width: 52ch; }

.note { border-left: 2px solid var(--accent); padding: 4px 0 4px 18px; color: var(--mist-2); max-width: 70ch; }
.cols-2 { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 80px); }
.list-plain { list-style: none; padding: 0; margin: 0; }
.list-plain li { padding: 12px 0; border-top: 1px solid var(--line); color: var(--mist-2); }
.list-plain li strong { color: var(--mist); font-weight: 600; }

dialog { background: var(--night-2); color: var(--mist); border: 1px solid var(--line-2); border-radius: var(--radius-l); padding: 0; width: min(560px, calc(100vw - 32px)); }
dialog::backdrop { background: rgba(8, 7, 20, .7); backdrop-filter: blur(4px); }
dialog .dlg { padding: 32px; }
dialog .close { float: right; background: none; border: 0; color: var(--mist-2); font-size: 1.6rem; cursor: pointer; line-height: 1; }

/* Footer */
.site-footer { background: #0e0c22; }
.footer-main { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; padding: 64px 0 48px; }
.site-footer h4 { font-family: var(--body); font-size: .95rem; font-weight: 600; color: var(--mist-2); letter-spacing: 0; margin-bottom: 14px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 8px; }
.site-footer a { text-decoration: none; color: var(--mist); }
.site-footer a:hover { text-decoration: underline; }
.footer-cities a { display: flex; align-items: center; gap: 10px; }
.footer-cities .dot { width: 8px; height: 8px; border-radius: 50%; }
.signup { display: flex; gap: 8px; margin-top: 16px; max-width: 420px; }
.signup input { flex: 1; }
.footer-base { border-top: 1px solid var(--line); padding: 22px 0 36px; color: var(--mist-3); font-size: .9rem; display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; }

/* ================================================================
   Glass layer: frosted panels floating over an ambient glow made of
   the four city colours. City pages tilt the glow toward their colour.
   ================================================================ */
:root {
  --glass: rgba(255, 255, 255, 0.055);
  --glass-strong: rgba(255, 255, 255, 0.09);
  --glass-edge: rgba(255, 255, 255, 0.16);
  --glass-hi: inset 0 1px 0 rgba(255, 255, 255, 0.16);
  --glass-shadow: 0 24px 60px -24px rgba(5, 4, 20, 0.7);
  --blur: blur(22px) saturate(160%);
  --o1: rgba(255, 182, 39, .30); --o2: rgba(77, 116, 255, .34); --o3: rgba(255, 91, 79, .24); --o4: rgba(34, 199, 174, .26);
}
.city-blr { --o1: rgba(255, 182, 39, .40); --o2: rgba(255, 120, 40, .26); --o3: rgba(255, 91, 79, .20); --o4: rgba(77, 116, 255, .20); }
.city-nyc { --o1: rgba(77, 116, 255, .40); --o2: rgba(150, 110, 255, .28); }
.city-sin { --o1: rgba(255, 91, 79, .38); --o2: rgba(255, 70, 140, .24); }
.city-dxb { --o1: rgba(34, 199, 174, .38); --o2: rgba(240, 200, 130, .24); }

body { background: var(--night); position: relative; isolation: isolate; }
body::before {
  content: ""; position: fixed; inset: -12%; z-index: -2; pointer-events: none;
  background:
    radial-gradient(34% 30% at 10% 16%, var(--o1), transparent 70%),
    radial-gradient(36% 34% at 90% 24%, var(--o2), transparent 70%),
    radial-gradient(40% 36% at 80% 84%, var(--o3), transparent 70%),
    radial-gradient(38% 40% at 14% 86%, var(--o4), transparent 70%),
    radial-gradient(30% 26% at 50% 52%, rgba(140, 110, 255, .14), transparent 70%),
    var(--night);
  animation: drift 38s ease-in-out infinite alternate;
}
body::after {
  /* fine frost grain so the glass reads as a material, not a flat tint */
  content: ""; position: fixed; inset: 0; z-index: -1; pointer-events: none; opacity: .06; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='180' height='180'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}
@keyframes drift { to { transform: translate3d(3%, -3%, 0) scale(1.07) rotate(2deg); } }
@media (prefers-reduced-motion: reduce) { body::before { animation: none; } }

/* Images at the top of pages dissolve into the glow instead of ending on a hard edge */
.hero-art, .city-hero > img, .page-hero > img, .band > img {
  -webkit-mask-image: linear-gradient(180deg, #000 0%, #000 62%, transparent 100%);
          mask-image: linear-gradient(180deg, #000 0%, #000 62%, transparent 100%);
}
.band > img { -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 18%, #000 82%, transparent 100%); mask-image: linear-gradient(180deg, transparent 0%, #000 18%, #000 82%, transparent 100%); }
.hero-art::after { background: linear-gradient(90deg, rgba(19,17,43,.65) 0%, rgba(19,17,43,.2) 45%, transparent 70%), linear-gradient(180deg, rgba(19,17,43,.45) 0%, transparent 30%); }
.city-hero::after { background: linear-gradient(90deg, rgba(19,17,43,.55) 0%, transparent 60%), linear-gradient(180deg, rgba(19,17,43,.45) 0%, transparent 35%); }
.page-hero::after { background: linear-gradient(180deg, rgba(19,17,43,.35), transparent 70%); }
.band::before { background: linear-gradient(90deg, rgba(19,17,43,.55) 0%, rgba(19,17,43,.15) 60%, transparent 100%); }

/* The material */
.site-header, .subnav, .cities-panel, .tour-stop, .hero-card, .facts div, .countdown, .days, .tracks, .agenda,
.inv, .why > div, .stage, .visit > div, .list-plain, .speaker, .booth, .pass, .table-scroll, .form-card,
.faq, .logo-slot, .band-card, .tab, .btn-ghost, dialog, .site-footer, .split figure, .note {
  background: var(--glass);
  -webkit-backdrop-filter: var(--blur); backdrop-filter: var(--blur);
  border: 1px solid var(--glass-edge);
  box-shadow: var(--glass-hi), var(--glass-shadow);
}
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .site-header, .subnav, .cities-panel, .tour-stop, .hero-card, .days, .tracks, .agenda, .inv, .why > div, .stage, .visit > div,
  .list-plain, .speaker, .booth, .pass, .table-scroll, .form-card, .faq, .band-card, dialog, .site-footer { background: rgba(27, 24, 57, .92); }
}

/* Header and sub-navigation */
.site-header { background: rgba(19, 17, 43, .38); border-width: 0 0 1px; box-shadow: var(--glass-hi); }
.subnav { background: rgba(19, 17, 43, .32); border-width: 0 0 1px; box-shadow: none; }
.cities-panel { background: rgba(30, 27, 64, .62); border-radius: 18px; }
.cities-panel a:hover { background: rgba(255, 255, 255, .08); }

/* Buttons and tabs */
.btn-primary { box-shadow: 0 10px 34px -10px var(--accent), inset 0 1px 0 rgba(255,255,255,.45); }
.btn-ghost { background: rgba(255, 255, 255, .07); box-shadow: var(--glass-hi); }
.btn-ghost:hover { background: rgba(255, 255, 255, .14); border-color: rgba(255,255,255,.35); }
.tab { box-shadow: var(--glass-hi); }
.tab[aria-selected="true"] { background: rgba(255, 255, 255, .92); color: var(--night); border-color: transparent; }

/* Home hero */
.hero-card { display: inline-block; max-width: 560px; padding: 26px 28px; border-radius: 24px; background: rgba(255,255,255,.06); }
.hero-card .hero-lede { margin-bottom: 22px; }
.tour { gap: 14px; border-top: 0; }
.tour-stop, .tour-stop + .tour-stop { padding: 24px 22px 24px; border-left: 1px solid var(--glass-edge); border-radius: 20px; overflow: hidden; transition: transform .25s ease, background .25s ease; }
.tour-stop::before { top: 0; height: 3px; transform: none; box-shadow: 0 0 22px 2px var(--c); }
.tour-stop::after { content: ""; position: absolute; inset: auto -30% -60% auto; width: 70%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, var(--c), transparent 65%); opacity: .18; pointer-events: none; transition: opacity .25s; }
.tour-stop:hover { transform: translateY(-4px); background: var(--glass-strong); }
.tour-stop:hover::after { opacity: .32; }
@media (prefers-reduced-motion: reduce) { .tour-stop:hover { transform: none; } }

/* Panels that hold rows */
.days { border-radius: 24px; }
.day + .day { border-left-color: var(--glass-edge); }
.day li { border-top-color: var(--glass-edge); }
.day.night { background-blend-mode: normal; }
.tracks, .agenda { border-radius: 24px; padding: 4px 28px; }
.track:last-child, .slot:last-child { border-bottom: 0; }
.track, .slot { border-bottom-color: var(--glass-edge); }
.slot.party { margin: 0 -28px; padding-left: 28px; padding-right: 28px; border-radius: 0 0 24px 24px; }
.list-plain { border-radius: 20px; padding: 6px 24px; }
.list-plain li:first-child { border-top: 0; }
.list-plain li { border-top-color: var(--glass-edge); }
.faq { border-radius: 20px; padding: 4px 24px; }
.faq details:first-child { border-top: 0; }
.faq details:last-child { border-bottom: 0; }
.chip { background: rgba(255, 255, 255, .06); border-color: var(--glass-edge); }

/* Tile grids */
.inventory, .why, .stages { gap: 14px; border-top: 0; }
.inv, .inv:not(:nth-child(3n+1)), .why > div, .why > div + div, .stage, .stage + .stage {
  padding: 24px; border: 1px solid var(--glass-edge); border-radius: 20px;
}
.visit > div { border-radius: 20px; padding: 22px; border-top: 1px solid var(--glass-edge); position: relative; overflow: hidden; }
.visit > div::before { content: ""; position: absolute; left: 22px; right: 22px; top: 0; height: 2px; background: var(--accent); box-shadow: 0 0 18px var(--accent); }

.speaker { padding: 10px 10px 18px; border-radius: 22px; }
.speaker figure { border-radius: 14px; }
.speaker h3, .speaker p { padding: 0 8px; }
.speaker figure figcaption { background: rgba(19,17,43,.4); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); border: 1px solid var(--glass-edge); }

.booth { border-radius: 20px; }
.pass { border-radius: 24px; }
.pass.featured { background: var(--glass-strong); border-color: var(--accent); box-shadow: var(--glass-hi), 0 30px 70px -30px var(--accent); }
.pass li { border-top-color: var(--glass-edge); }

.table-scroll { border-radius: 22px; }
.tiers thead th { background: rgba(255, 255, 255, .06); }
.tiers th, .tiers td { border-bottom-color: var(--glass-edge); }
.tiers .title-col { background: rgba(255, 255, 255, .05); }

.logo-slot { border-style: solid; border-radius: 16px; box-shadow: var(--glass-hi); }
.split figure { padding: 0; border-radius: 24px; }
.note { border-radius: 14px; padding: 14px 18px; border-left: 2px solid var(--accent); box-shadow: var(--glass-hi); }

/* Forms */
.form-card { border-radius: 28px; background: rgba(255, 255, 255, .06); }
input, select, textarea { background: rgba(255, 255, 255, .06); border-color: var(--glass-edge); }
select option { background: var(--night-2); color: var(--mist); }
.checks label { background: rgba(255, 255, 255, .05); border-color: var(--glass-edge); }

/* City hero */
.facts { gap: 12px; }
.facts div { border: 1px solid var(--glass-edge); border-radius: 16px; padding: 12px 18px; position: relative; overflow: hidden; }
.facts div::before { content: ""; position: absolute; left: 0; top: 12px; bottom: 12px; width: 2px; background: var(--accent); box-shadow: 0 0 12px var(--accent); }
.countdown { padding: 12px 20px; border-radius: 18px; }

/* Bands */
.band-card { max-width: 520px; border-radius: 24px; padding: 26px 28px; }
.band-card p:last-of-type { margin-bottom: 20px; }

/* Dialog and footer */
dialog { background: rgba(30, 27, 64, .66); border-radius: 26px; }
dialog::backdrop { background: rgba(8, 7, 20, .45); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.site-footer { background: rgba(14, 12, 34, .45); border-width: 1px 0 0; box-shadow: var(--glass-hi); }
.footer-base { border-top-color: var(--glass-edge); }

/* Responsive */
@media (max-width: 1080px) {
  .nav { display: none; position: absolute; top: 72px; left: 0; right: 0; flex-direction: column; align-items: stretch; background: rgba(19, 17, 43, .82); -webkit-backdrop-filter: var(--blur); backdrop-filter: var(--blur); border-bottom: 1px solid var(--glass-edge); padding: 12px var(--gutter) 20px; gap: 0; }
  .nav.open { display: flex; }
  .nav a:not(.btn), .nav button.navlink { padding: 14px 4px; font-size: 1.05rem; text-align: left; }
  .nav a[aria-current="page"] { box-shadow: none; color: var(--accent); }
  .nav .btn { margin: 12px 0 0; }
  .cities-panel a { padding: 12px 4px !important; }
  .cities-panel { position: static; width: auto; box-shadow: none; border: 0; padding: 0 0 8px; background: transparent; -webkit-backdrop-filter: none; backdrop-filter: none; }
  .menu-toggle { display: inline-block; background: rgba(255,255,255,.07); }
  .booths { grid-template-columns: repeat(3, 1fr); }
  .passes { grid-template-columns: repeat(2, 1fr); }
  .stages { grid-template-columns: repeat(3, 1fr); }
  .logo-wall { grid-template-columns: repeat(4, 1fr); }
}
@media (max-width: 900px) {
  .section-head, .split, .cols-2 { grid-template-columns: 1fr; }
  .split.flip > :first-child { order: 0; }
  .tour { grid-template-columns: 1fr 1fr; }
  .days { grid-template-columns: 1fr; }
  .day + .day { border-left: 0; border-top: 1px solid var(--glass-edge); }
  .track { grid-template-columns: 1fr; gap: 8px; }
  .focus { justify-content: flex-start; }
  .track .when { text-align: left; }
  .speakers { grid-template-columns: repeat(2, 1fr); }
  .inventory, .why { grid-template-columns: 1fr 1fr; }
  .slot { grid-template-columns: 80px 1fr; }
  .slot .where { grid-column: 2; text-align: left; }
  .slot.parallel .sessions { grid-template-columns: 1fr; }
  .visit { grid-template-columns: 1fr 1fr; }
  .facts { grid-template-columns: repeat(2, auto); }
  .footer-main { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  .hero-art::after { background: linear-gradient(180deg, rgba(19,17,43,.45) 0%, rgba(19,17,43,.1) 25%, rgba(19,17,43,.55) 55%, transparent 100%); }
  .city-hero::after { background: linear-gradient(180deg, rgba(19,17,43,.3) 0%, rgba(19,17,43,.1) 25%, rgba(19,17,43,.6) 60%, transparent 100%); }
  .hero-card, .band-card { padding: 20px; }
  .tour { grid-template-columns: 1fr; }
  .tracks, .agenda { padding: 4px 18px; }
  .slot.party { margin: 0 -18px; padding-left: 18px; padding-right: 18px; }
  .inventory, .why, .visit, .passes, .form-grid { grid-template-columns: 1fr; }
  .booths { grid-template-columns: 1fr 1fr; }
  .stages { grid-template-columns: 1fr; }
  .logo-wall { grid-template-columns: repeat(2, 1fr); }
  .footer-main { grid-template-columns: 1fr; }
  .logo small { display: none; }
  .signup { flex-direction: column; }
  .countdown { gap: 16px; }
  .facts { grid-template-columns: 1fr 1fr; gap: 10px; }
  .speakers { gap: 12px; }
}
