/* NBA Week 2026 — design system (from Figma "NBA-W26", see design/README.md).
   Measurements are taken from the 1440px frames; clamp() scales them down for smaller screens. */

@view-transition { navigation: auto; }

:root {
    --black: #000;
    --white: #fff;
    --paper: #F8F8F8;
    --mint: #59D9A0;
    --mint-hover: #7BE3B5;
    --amber: #FFB801;
    --lavender: #DAC5FA;
    --purple: #8850F0;
    --grey: #8C929A;
    --ink: #17131F;
    --ink-soft: #5B6170;
    --line: #2A2D31;
    --footer: #081C24;
    --gala: #1A0122;
    --logo: #03CF5E; /* the logo files' green; the favicon uses it too */

    --font: 'IBM Plex Sans', system-ui, sans-serif;
    --font-alt: 'Poppins', system-ui, sans-serif;

    --gutter: clamp(16px, 4.2vw, 60px);
    --nav-h: 94px;
    --max: 1440px;
    --radius: 14px;
    --ease: cubic-bezier(.22, 1, .36, 1);

    --h1: clamp(34px, 4.1vw, 60px);
    --h2: clamp(28px, 3.1vw, 44px);
    --h3: clamp(24px, 2.6vw, 38px);
}

*, *::before, *::after { box-sizing: border-box; }
/* `hidden` must win over component display rules (e.g. .arrows { display: flex }). */
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
/* Anchor targets clear the fixed menu. */
[id] { scroll-margin-top: calc(var(--nav-h) + 16px); }
body {
    margin: 0;
    background: var(--black);
    color: var(--white);
    font: 400 16px/1.55 var(--font);
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}
img, video, iframe { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; border: 0; background: none; padding: 0; }
h1, h2, h3, h4, p { margin: 0; }
h1, h2, h3 { font-weight: 700; text-transform: uppercase; line-height: 1.05; letter-spacing: .005em; }
/* No stranded single words: balance headings, and avoid orphans in running text. */
h1, h2, h3, h4, .meta, .eyebrow { text-wrap: balance; }
p, li, dd, figcaption { text-wrap: pretty; }
:focus-visible { outline: 2px solid var(--mint); outline-offset: 3px; border-radius: 4px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.accent { color: var(--mint); }
.eyebrow { color: var(--amber); font-weight: 700; text-transform: uppercase; font-size: clamp(15px, 1.4vw, 20px); letter-spacing: .01em; }

/* ---------- Buttons ---------- */
.btn {
    --bg: var(--mint); --fg: var(--ink); --bd: var(--mint);
    position: relative; isolation: isolate; overflow: hidden;
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    min-height: 54px; padding: 0 36px;
    border: 1.5px solid var(--bd); border-radius: 10px;
    background: var(--bg); color: var(--fg);
    font-weight: 700; font-size: 14px; letter-spacing: .02em; text-transform: uppercase; white-space: nowrap;
    transition: color .35s var(--ease), border-color .35s var(--ease), transform .2s var(--ease);
}
/* Fill sweeps up from the bottom on hover. */
.btn::before {
    content: ''; position: absolute; inset: 0; z-index: -1;
    background: var(--hover, var(--white));
    transform: translateY(101%); transition: transform .45s var(--ease);
}
.btn:hover::before { transform: none; }
.btn:hover { color: var(--hover-fg, var(--ink)); border-color: var(--hover, var(--white)); }
.btn:active { transform: scale(.97); }
.btn-outline { --bg: transparent; --fg: var(--white); --bd: var(--white); }
.btn-outline-dark { --bg: transparent; --fg: var(--ink); --bd: var(--ink); --hover: var(--ink); --hover-fg: var(--white); }
.btn-dark-hover { --hover: var(--ink); --hover-fg: var(--white); }
.btn-sm { min-height: 44px; padding: 0 22px; font-size: 12px; }

/* ---------- Nav ---------- */
.nav {
    /* Transparent over the page; the dark backdrop fades in once scrolled or when the mobile menu opens. */
    position: fixed; top: 0; left: 0; right: 0; z-index: 50;
    transition: box-shadow .3s;
}
/* Blur lives on a pseudo-element: backdrop-filter on .nav itself would trap the fixed mobile menu inside it. */
.nav::before { content: ''; position: absolute; inset: 0; z-index: -1; background: rgba(0, 0, 0, .92); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); opacity: 0; transition: opacity .35s var(--ease); }
.nav.is-scrolled::before, .nav-open .nav::before { opacity: 1; }
.nav.is-scrolled { box-shadow: 0 1px 0 rgba(255, 255, 255, .08); }
.nav .wrap { display: flex; align-items: center; gap: 24px; height: var(--nav-h); }
.nav-logo img { height: 40px; width: auto; }
.nav-links { display: flex; gap: clamp(20px, 2.2vw, 34px); margin-left: auto; font-weight: 600; font-size: 14px; text-transform: uppercase; }
.nav-links a { position: relative; padding: 6px 0; }
.nav-links a::after {
    content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 2px;
    background: var(--mint); transform: scaleX(0); transform-origin: right; transition: transform .35s var(--ease);
}
.nav-links a:hover::after, .nav-links a[aria-current]::after { transform: scaleX(1); transform-origin: left; }
.nav-links a[aria-current] { color: var(--mint); }
/* Items without a destination yet (Your Guide): no hover underline, no pointer. */
.nav-links a:not([href]) { cursor: default; }
.nav-links a:not([href])::after { display: none; }
.nav-cta { display: flex; gap: 14px; margin-left: clamp(28px, 3.4vw, 56px); }
.nav-cta .btn { min-width: 148px; }
.nav-toggle { display: none; margin-left: auto; width: 44px; height: 44px; position: relative; }
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
    position: absolute; left: 10px; width: 24px; height: 2px; background: var(--white); content: ''; transition: transform .3s var(--ease), opacity .2s;
}
.nav-toggle span { top: 21px; }
.nav-toggle span::before { left: 0; top: -7px; }
.nav-toggle span::after { left: 0; top: 7px; }
.nav-open .nav-toggle span { background: transparent; }
.nav-open .nav-toggle span::before { transform: translateY(7px) rotate(45deg); }
.nav-open .nav-toggle span::after { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 1080px) {
    :root { --nav-h: 72px; }
    .nav-logo img { height: 34px; }
    .nav-toggle { display: block; }
    .nav-menu {
        position: fixed; inset: 72px 0 0; z-index: 49;
        display: flex; flex-direction: column; gap: 28px; padding: 32px var(--gutter) 40px;
        background: var(--black); overflow-y: auto;
        clip-path: inset(0 0 100% 0); visibility: hidden;
        transition: clip-path .55s var(--ease), visibility 0s .55s;
    }
    .nav-open .nav-menu { clip-path: inset(0); visibility: visible; transition: clip-path .55s var(--ease); }
    .nav-open { overflow: hidden; }
    .nav-links { flex-direction: column; gap: 6px; margin: 0; font-size: clamp(28px, 8vw, 40px); font-weight: 700; }
    .nav-links a { opacity: 0; transform: translateY(16px); transition: opacity .4s, transform .5s var(--ease); }
    .nav-open .nav-links a { opacity: 1; transform: none; }
    .nav-open .nav-links a:nth-child(2) { transition-delay: .05s; }
    .nav-open .nav-links a:nth-child(3) { transition-delay: .1s; }
    .nav-open .nav-links a:nth-child(4) { transition-delay: .15s; }
    .nav-open .nav-links a:nth-child(5) { transition-delay: .2s; }
    .nav-cta { margin: auto 0 0; flex-direction: column; }
}
@media (min-width: 1081px) { .nav-menu { display: contents; } }

/* ---------- Hero ---------- */
.hero {
    position: relative; display: flex; align-items: flex-end;
    min-height: min(994px, 100svh); padding: calc(var(--nav-h) + 90px) 0 clamp(56px, 7vw, 100px);
    overflow: hidden;
}
.hero-bg { position: absolute; inset: 0; z-index: -1; }
/* Slow Ken Burns: a gentle zoom and drift that reverses, so it never visibly loops. */
.hero-bg img { width: 100%; height: 100%; object-fit: cover; transform-origin: 60% 40%; animation: kenburns 28s ease-in-out infinite alternate; will-change: transform; }
.hero-bg::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.45) 0%, rgba(0,0,0,.55) 45%, rgba(0,0,0,.92) 100%); }
@keyframes kenburns { from { transform: scale(1.02) translate3d(0, 0, 0); } to { transform: scale(1.14) translate3d(-2%, -1.5%, 0); } }
.countdown { color: var(--amber); font-weight: 700; font-size: clamp(16px, 1.55vw, 22px); text-transform: uppercase; font-variant-numeric: tabular-nums; }
.hero h1 { font-size: var(--h1); max-width: 19em; margin: 20px 0 28px; }
.meta { font-weight: 600; font-size: clamp(15px, 1.65vw, 24px); text-transform: uppercase; display: flex; flex-wrap: wrap; gap: 0 22px; }
.meta span + span::before { content: '•'; margin-right: 22px; }
@media (max-width: 700px) { .meta { flex-direction: column; gap: 4px; } .meta span + span::before { content: none; } }
.hero .btn { margin-top: clamp(28px, 3vw, 42px); }
.hero-credits { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; margin-top: clamp(28px, 3vw, 40px); }
.credit { display: flex; align-items: center; gap: 14px; }
.credit > span { color: #B9BEC6; font-weight: 600; font-size: 12px; letter-spacing: .1em; text-transform: uppercase; }
.credit a { display: block; transition: opacity .3s, transform .3s var(--ease); }
.credit a:hover { opacity: .85; transform: translateY(-2px); }
.credit img { width: auto; }
.credit img[src*="coinnewsextra"] { height: 44px; }
.credit img[src*="fintechngr"] { height: 35px; }
.credit-sep { width: 1px; height: 38px; background: rgba(255, 255, 255, .22); }
@media (max-width: 600px) { .credit-sep { display: none; } .credit img[src*="coinnewsextra"] { height: 38px; } .credit img[src*="fintechngr"] { height: 30px; } }

/* Page heroes (inner pages) */
.page-hero { padding: calc(var(--nav-h) + clamp(64px, 8vw, 95px)) 0 clamp(56px, 8vw, 110px); }
.page-hero h1 { font-size: var(--h1); max-width: 14em; }
.page-hero p { color: #B9BEC6; max-width: 58em; margin-top: 22px; font-size: clamp(15px, 1.25vw, 18px); }
.page-hero .meta { margin-top: 26px; }

/* ---------- Stats ---------- */
.stats { padding: clamp(64px, 14vw, 205px) 0 0; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.stat {
    border: 1px solid var(--line); border-radius: 16px; min-height: 204px;
    display: grid; place-content: center; text-align: center; gap: 4px; color: var(--grey);
    transition: border-color .4s, color .4s, transform .4s var(--ease);
}
.stat:hover { border-color: var(--mint); color: var(--white); transform: translateY(-4px); }
.stat strong { font-size: clamp(40px, 3.9vw, 56px); line-height: 1.1; font-variant-numeric: tabular-nums; }
.stat span { font-weight: 600; font-size: clamp(15px, 1.5vw, 22px); text-transform: uppercase; }
@media (max-width: 800px) { .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; } .stat { min-height: 150px; } }

/* ---------- About / brand panel ---------- */
.about { padding: clamp(64px, 7vw, 97px) 0 clamp(80px, 10vw, 140px); }
.about .wrap { display: grid; grid-template-columns: 1.03fr 1fr; gap: clamp(32px, 6vw, 84px); align-items: center; }
.about-photos { display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: 1fr 1fr; gap: 20px; aspect-ratio: 650 / 453; }
.about-photos figure { margin: 0; overflow: hidden; border-radius: 12px; }
.about-photos figure:first-child { grid-row: span 2; }
.about-photos img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.about-photos figure:hover img { transform: scale(1.06); }
.about h2 { color: var(--lavender); font-size: var(--h2); }
.about p { color: var(--grey); font-size: 15px; margin-top: 22px; }
.about p + p { margin-top: 18px; }
.btn-row { display: flex; flex-wrap: wrap; gap: 24px; margin-top: 38px; }
@media (max-width: 900px) { .about .wrap { grid-template-columns: 1fr; } }

/* ---------- Speakers band ---------- */
.band-lavender { background: linear-gradient(180deg, #DAC6F9 0%, #E9DDFC 45%, #FDFBFF 100%); color: var(--ink); }
.band-mint { background: linear-gradient(180deg, #D7F6E8 0%, #FFFFFF 38%, #FFFFFF 100%); color: var(--ink); }
.band { position: relative; padding: clamp(56px, 6vw, 88px) 0 clamp(64px, 8vw, 110px); overflow: hidden; }
.band-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 32px; margin-bottom: clamp(32px, 4vw, 56px); }
.band-head h2 { font-size: var(--h2); }
.band-head p { color: var(--ink-soft); font-weight: 600; font-size: clamp(15px, 1.4vw, 20px); margin-top: 12px; }
.band-mint .band-head p { font-weight: 400; font-size: 15px; max-width: 42em; }
.band-actions { display: flex; flex-direction: column; gap: 12px; flex-shrink: 0; }
.band-actions .btn { min-width: 252px; }
@media (max-width: 800px) { .band-head { flex-direction: column; } .band-actions { width: 100%; } .band-actions .btn { width: 100%; } }
.sparkle { position: absolute; font: 600 22px/1 var(--font); pointer-events: none; animation: twinkle 3.2s ease-in-out infinite; }
.sparkle:nth-of-type(2) { animation-delay: 1.1s; }
.sparkle:nth-of-type(3) { animation-delay: 2.2s; }
@keyframes twinkle { 50% { opacity: .25; transform: rotate(90deg) scale(.7); } }

.arrows { display: flex; gap: 12px; }
.arrow {
    width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center;
    background: var(--mint); color: var(--ink); transition: transform .3s var(--ease), background .3s, opacity .3s;
}
.arrow:first-child { background: var(--white); color: #B9A4DE; }
.arrow:hover { transform: scale(1.08); }
.arrow:disabled { opacity: .45; cursor: default; transform: none; }
.arrow svg { width: 20px; height: 20px; }

.speaker-track {
    display: grid; grid-auto-flow: column; grid-auto-columns: clamp(220px, 20.2vw, 291px);
    gap: 15px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none;
    padding: 0 var(--gutter); scroll-padding: 0 var(--gutter);
    max-width: var(--max); margin: 0 auto;
}
.speaker-track::-webkit-scrollbar { display: none; }
.speaker-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px 15px; }
@media (max-width: 1000px) { .speaker-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 700px) {
    .speaker-grid { grid-template-columns: repeat(2, 1fr); gap: 16px 12px; }
    .speaker-grid .speaker-info { left: 12px; right: 12px; bottom: 12px; }
    .speaker-grid .speaker-info strong { font-size: 13px; }
    .speaker-grid .speaker-info span { font-size: 10px; }
}

.speaker {
    position: relative; display: block; aspect-ratio: 291 / 303; border-radius: var(--radius); overflow: hidden;
    background: #222; color: var(--white); scroll-snap-align: start;
}
.speaker img { width: 100%; height: 100%; object-fit: cover; object-position: top; filter: grayscale(1); transition: transform .9s var(--ease), filter .6s; }
.speaker::after { content: ''; position: absolute; inset: 45% 0 0; background: linear-gradient(180deg, transparent, rgba(0,0,0,.92)); }
.speaker-info { position: absolute; left: 18px; right: 18px; bottom: 18px; z-index: 1; transition: transform .5s var(--ease); }
.speaker-info strong { display: block; font-size: clamp(15px, 1.25vw, 18px); text-transform: uppercase; line-height: 1.2; }
.speaker-info span { display: block; color: var(--amber); font-weight: 700; font-size: 12px; text-transform: uppercase; margin-top: 4px; }
.speaker:hover img { transform: scale(1.06); filter: grayscale(0); }
.speaker:hover .speaker-info { transform: translateY(-4px); }
a.speaker::before {
    content: '↗'; position: absolute; top: 14px; right: 14px; z-index: 1; width: 36px; height: 36px; border-radius: 50%;
    display: grid; place-items: center; background: var(--mint); color: var(--ink); font-weight: 700;
    opacity: 0; transform: scale(.6); transition: opacity .3s, transform .4s var(--ease);
}
a.speaker:hover::before { opacity: 1; transform: none; }

/* ---------- Video ---------- */
.video { padding: clamp(80px, 10vw, 150px) 0; text-align: center; }
.video h2 { font-size: var(--h2); }
.video > .wrap > p { font-weight: 700; font-size: clamp(12px, 1vw, 14px); text-transform: uppercase; margin: 22px auto 0; }
.video-frame {
    position: relative; max-width: 1067px; margin: clamp(40px, 5vw, 70px) auto 0; aspect-ratio: 1067 / 640;
    border-radius: 12px; overflow: hidden; background: #111;
}
.video-frame img, .video-frame iframe { width: 100%; height: 100%; object-fit: cover; border: 0; }
.video-frame img { transition: transform 1.2s var(--ease); }
.video-play {
    position: absolute; inset: 0; margin: auto; width: 96px; height: 96px; border-radius: 50%;
    display: grid; place-items: center; background: rgba(90, 90, 100, .55); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
    color: var(--white); transition: transform .4s var(--ease), background .3s;
}
.video-play::before { content: ''; position: absolute; inset: -10px; border-radius: 50%; border: 1.5px solid rgba(255,255,255,.45); animation: ping 2.4s var(--ease) infinite; }
@keyframes ping { from { transform: scale(.85); opacity: 1; } to { transform: scale(1.35); opacity: 0; } }
.video-frame:hover img { transform: scale(1.03); }
.video-frame:hover .video-play { transform: scale(1.1); background: var(--mint); color: var(--ink); }
.video-play svg { width: 26px; height: 26px; margin-left: 4px; }

/* ---------- Logo marquee ---------- */
.marquee { display: grid; gap: clamp(28px, 4vw, 56px); padding-top: clamp(16px, 2vw, 30px); }
.marquee-row { display: flex; width: max-content; animation: marquee var(--speed, 45s) linear infinite; }
.marquee-row:nth-child(even) { animation-direction: reverse; }
.marquee:hover .marquee-row { animation-play-state: paused; }
/* White rounded tiles for contrast on the mint band; the right margin is the spacing (equal on every tile so the loop stays seamless). */
.marquee-row > a, .marquee-row > span {
    position: relative; display: block; flex: none; width: clamp(170px, 16vw, 236px); height: clamp(88px, 7.6vw, 112px); margin-right: clamp(12px, 1.2vw, 18px);
    --py: clamp(14px, 1.4vw, 20px); --px: clamp(18px, 1.8vw, 26px); overflow: hidden; border-radius: 16px; background: #fff; border: 1px solid #E6EEEA;
    box-shadow: 0 6px 24px rgba(20, 60, 45, .07); transition: transform .4s var(--ease), box-shadow .4s;
}
.marquee-row > *:hover { transform: translateY(-3px); box-shadow: 0 12px 32px rgba(20, 60, 45, .12); }
.marquee-row img { position: absolute; top: var(--py); left: var(--px); width: calc(100% - 2 * var(--px)); height: calc(100% - 2 * var(--py)); object-fit: contain; filter: grayscale(1) contrast(1.1); opacity: .75; transition: filter .4s, opacity .4s; }
.marquee-row > *:hover img { filter: none; opacity: 1; }
@keyframes marquee { to { transform: translateX(-50%); } }

.logo-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; }
.logo-grid > * { display: grid; place-items: center; aspect-ratio: 238 / 150; padding: 24px; border-radius: 12px; background: var(--white); border: 1px solid #ECECEC; transition: transform .4s var(--ease), box-shadow .4s; }
.logo-grid > *:hover { transform: translateY(-4px); box-shadow: 0 16px 40px rgba(0,0,0,.08); }
.logo-grid img { max-height: 64px; max-width: 100%; object-fit: contain; }
@media (max-width: 900px) { .logo-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 560px) { .logo-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; } }

/* ---------- Why attend ---------- */
.why { padding: clamp(80px, 10vw, 145px) 0 clamp(80px, 9vw, 130px); }
.why h2 { font-size: clamp(30px, 3.9vw, 56px); margin-top: 18px; }
.why .lede { color: #B9BEC6; font-size: 15px; max-width: 1220px; margin-top: 22px; }
.why-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: clamp(32px, 5vw, 72px); row-gap: 64px; margin-top: 110px; }
.why-grid h3 { color: var(--lavender); font-size: clamp(21px, 1.9vw, 27px); font-weight: 600; text-transform: none; line-height: 1.55; }
.why-grid p { font-family: var(--font-alt); color: #A7A9AE; font-size: 15px; line-height: 1.6; margin-top: 14px; }
@media (max-width: 1000px) { .why-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 700px) { .why-grid { grid-template-columns: 1fr; row-gap: 40px; margin-top: 56px; } }

/* ---------- Gala promo ---------- */
.gala-promo { padding: clamp(64px, 9vw, 130px) 0 clamp(80px, 11vw, 150px); background: linear-gradient(180deg, var(--gala) 0%, #0B0112 55%, var(--black) 100%); }
.gala-promo .wrap { display: grid; grid-template-columns: 870fr 400fr; gap: clamp(28px, 3vw, 42px); align-items: center; }
.gala-promo figure { margin: 0; border-radius: var(--radius); overflow: hidden; aspect-ratio: 870 / 533; }
.gala-promo figure img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease); }
.gala-promo figure:hover img { transform: scale(1.05); }
.gala-promo .eyebrow { font-size: clamp(14px, 1.3vw, 19px); }
.gala-promo h2 { color: var(--lavender); font-size: var(--h3); line-height: 1.12; margin-top: 22px; }
.gala-promo p:not(.eyebrow) { color: #A7A9AE; font-size: 15px; margin-top: 24px; }
.gala-promo .btn { margin-top: 36px; min-width: 215px; }
@media (max-width: 900px) { .gala-promo .wrap { grid-template-columns: 1fr; } }

/* ---------- Footer ---------- */
.footer {
    position: relative; overflow: hidden; background: var(--footer); padding: clamp(56px, 8vw, 120px) 0 clamp(48px, 6vw, 90px);
    font-family: var(--font-alt);
}
/* Triangle pattern from the brand frames. */
.footer::before {
    content: ''; position: absolute; inset: 0 0 0 20%; opacity: .55; pointer-events: none;
    background:
        linear-gradient(to bottom right, transparent 49.6%, #0A2B34 50%) 0 0 / 132px 180px;
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 30%);
            mask-image: linear-gradient(90deg, transparent, #000 30%);
}
.footer .wrap { position: relative; display: grid; grid-template-columns: 670fr 217fr 226fr 207fr; gap: 0 24px; }
.footer-logo img { width: min(430px, 100%); height: auto; }
.footer h4 { color: var(--mint); font: 600 18px/1.3 var(--font-alt); margin-bottom: 20px; }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; font-size: 14px; }
.footer ul a { position: relative; transition: color .3s; }
.footer ul a:hover { color: var(--mint); }
.socials { display: flex; gap: 20px; margin-bottom: 36px; }
.socials a { width: 26px; height: 26px; display: grid; place-items: center; transition: color .3s, transform .3s var(--ease); }
.socials a:hover { color: var(--mint); transform: translateY(-3px); }
.socials svg { width: 22px; height: 22px; fill: currentColor; }
.footer .mail { font-size: 13px; word-break: break-all; }
.footer .mail:hover { color: var(--mint); }
.footer-base { position: relative; margin-top: 56px; color: #6C8B93; font-size: 12px; }
@media (max-width: 1000px) { .footer .wrap { grid-template-columns: 1fr 1fr; row-gap: 40px; } .footer-logo { grid-column: 1 / -1; margin-bottom: 16px; } }
@media (max-width: 480px) { .footer .wrap { grid-template-columns: 1fr; } }

/* ---------- Motion ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: var(--d, 0s); }
.reveal.in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

.preloader {
    position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; background: var(--black);
    transition: clip-path .9s var(--ease) .1s; clip-path: inset(0);
}
.preloader.done { clip-path: inset(0 0 100% 0); }
.preloader svg { width: clamp(90px, 12vw, 140px); overflow: visible; }
.preloader path { fill: transparent; stroke: var(--logo); stroke-width: 18; stroke-dasharray: 6000; stroke-dashoffset: 6000; animation: draw 1.6s var(--ease) forwards, fillIn .5s ease 1.2s forwards; }
.preloader-count { position: absolute; bottom: 40px; right: var(--gutter); color: var(--logo); font-weight: 700; font-size: clamp(40px, 7vw, 96px); font-variant-numeric: tabular-nums; line-height: 1; }
.preloader-label { position: absolute; bottom: 48px; left: var(--gutter); font-weight: 600; font-size: 13px; letter-spacing: .12em; text-transform: uppercase; color: var(--grey); }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes fillIn { to { fill: var(--logo); stroke-width: 0; } }

::view-transition-old(root) { animation: .35s var(--ease) both vtOut; }
::view-transition-new(root) { animation: .55s var(--ease) both vtIn; }
@keyframes vtOut { to { opacity: 0; transform: translateY(-12px); } }
@keyframes vtIn { from { opacity: 0; transform: translateY(16px); } }

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
    .marquee-row { animation: none; }
    html { scroll-behavior: auto; }
}

/* ---------- Forms (apply pages; no Figma frame, derived from the brand system) ---------- */
.form-section { padding: 0 0 clamp(80px, 10vw, 140px); }
.form-layout { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: clamp(28px, 4vw, 60px); align-items: start; }
.form-card { background: #0C0E11; border: 1px solid var(--line); border-radius: 18px; padding: clamp(22px, 3vw, 40px); }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 20px; }
.form-grid .full { grid-column: 1 / -1; }
.field label, .field .label { display: block; margin-bottom: 8px; color: #B9BEC6; font-weight: 600; font-size: 13px; letter-spacing: .04em; text-transform: uppercase; }
.field label .req { color: var(--mint); }
.field input, .field select, .field textarea {
    width: 100%; min-height: 52px; padding: 13px 16px; border-radius: 10px;
    border: 1px solid #2A2D31; background: #000; color: var(--white); font: 400 16px/1.4 var(--font);
    transition: border-color .25s, box-shadow .25s;
}
.field textarea { min-height: 130px; resize: vertical; }
.field select { appearance: none; background: #000 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%238C929A' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right 14px center / 18px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--mint); box-shadow: 0 0 0 4px rgba(89, 217, 160, .15); }
.field input::placeholder, .field textarea::placeholder { color: #5E636B; }
.field .hint { color: var(--grey); font-size: 13px; margin-top: 6px; }
.field input:user-invalid, .field textarea:user-invalid, .field select:user-invalid { border-color: #ff6b6b; }
.dropzone {
    position: relative; display: grid; grid-template-columns: 96px 1fr; gap: 18px; align-items: center;
    padding: 18px; border: 1.5px dashed #3A3E44; border-radius: 12px; cursor: pointer; transition: border-color .25s, background .25s;
}
.field label.dropzone { display: grid; margin: 0; color: inherit; font-weight: 400; font-size: inherit; letter-spacing: 0; text-transform: none; }
.dropzone-preview { font-size: 26px; }
.dropzone:hover, .dropzone.drag { border-color: var(--mint); background: rgba(89, 217, 160, .05); }
.dropzone input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.dropzone-preview { width: 96px; height: 96px; border-radius: 10px; background: #1A1D21 center / cover no-repeat; display: grid; place-items: center; color: var(--grey); }
.dropzone.logo .dropzone-preview { background-color: #fff; background-size: contain; background-origin: content-box; padding: 8px; }
.dropzone strong { display: block; font-size: 15px; }
.dropzone span { color: var(--grey); font-size: 13px; }
.form-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 18px; margin-top: 30px; }
.form-foot p { color: var(--grey); font-size: 13px; flex: 1 1 240px; }
.form-error { color: #ff8a8a; font-size: 14px; margin-top: 16px; }
.btn[aria-busy="true"] { pointer-events: none; opacity: .7; }
.form-done { text-align: center; padding: clamp(32px, 5vw, 64px) 12px; }
.form-done svg { width: 64px; height: 64px; color: var(--mint); margin: 0 auto 18px; }
.form-done h2 { font-size: var(--h3); }
.form-done p { color: #B9BEC6; max-width: 34em; margin: 14px auto 0; }
.form-aside { position: sticky; top: 120px; display: grid; gap: 16px; }
.form-aside .card { border: 1px solid var(--line); border-radius: 14px; padding: 22px; }
.form-aside h3 { color: var(--lavender); font-size: 18px; }
.form-aside ol, .form-aside ul { margin: 12px 0 0; padding-left: 18px; color: #B9BEC6; font-size: 14px; display: grid; gap: 8px; }
.form-aside a { color: var(--mint); }
@media (max-width: 960px) { .form-layout { grid-template-columns: 1fr; } .form-aside { position: static; } }
@media (max-width: 600px) { .form-grid { grid-template-columns: 1fr; } }

/* ---------- Inner pages: Speakers, Agenda, Partners, Media ---------- */
/* Hero variants sampled from the page frames; triangles echo the brand's social header. */
.page-hero.tone { position: relative; overflow: hidden; isolation: isolate; min-height: calc(var(--nav-h) + min(390px, 60vh)); display: flex; align-items: center; }
.page-hero.tone::after {
    content: ''; position: absolute; inset: 0 0 0 27%; z-index: -1; pointer-events: none;
    background: linear-gradient(to bottom right, transparent 49.6%, var(--tri) 50%) 0 0 / 132px 150px;
}
.tone-purple { background: linear-gradient(180deg, #3C245A, #8851CA); --tri: rgba(170, 55, 207, .5); }
.tone-violet { background: linear-gradient(180deg, #49206C, #A447F4); --tri: rgba(120, 100, 255, .35); }
.tone-teal { background: linear-gradient(180deg, #09151B, #132F3E); --tri: rgba(40, 90, 120, .3); }
.tone-dusk { background: radial-gradient(ellipse at 60% 0, #1C0626, transparent 70%), linear-gradient(180deg, #0B000F, #190021); }
.tone-dusk::after { display: none; }
.page-hero .meta { color: var(--white); font-size: clamp(15px, 1.65vw, 24px); }
.page-hero .meta span:first-child { color: var(--amber); }
.page-hero.tone h1 { max-width: none; }
.page-hero h1.long { font-size: clamp(28px, 3.55vw, 52px); max-width: none; }
.page-hero.tone p:not(.meta) { color: #D0D5DD; font-size: 15px; margin-top: 18px; }

.section { padding: clamp(64px, 10vw, 148px) 0 clamp(64px, 8vw, 110px); }
.section + .section { padding-top: 0; }
.wrap-narrow { max-width: calc(1210px + 2 * var(--gutter)); }
.section-title { font-size: clamp(18px, 1.6vw, 24px); font-weight: 700; text-transform: uppercase; margin-bottom: clamp(24px, 3vw, 44px); }
.section-title.lav { color: var(--lavender); }
.empty-note { color: var(--grey); }

.logo-grid.cards { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 42px 20px; }
/* min-width/min-height 0 keep large logo files from stretching the card or the grid (they overlapped the buttons). */
.logo-grid.cards > * { position: relative; aspect-ratio: 250 / 148; min-width: 0; min-height: 0; overflow: hidden; border: 0; border-radius: 14px; box-shadow: 0 8px 30px rgba(20, 60, 45, .06); --py: clamp(14px, 1.8vw, 26px); --px: clamp(18px, 2.2vw, 32px); }
/* Logos fill most of the card rather than sitting small in the middle. */
/* The logo fills a fixed inner area and is centred in it, whatever the file's proportions. */
.logo-grid.cards img { position: absolute; top: var(--py); left: var(--px); width: calc(100% - 2 * var(--px)); height: calc(100% - 2 * var(--py)); max-height: none; object-fit: contain; object-position: center; }
@media (max-width: 900px) { .logo-grid.cards { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; } }
@media (max-width: 560px) { .logo-grid.cards { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; } }

.source-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.source {
    position: relative; overflow: hidden; aspect-ratio: 428 / 454; border-radius: var(--radius); padding: clamp(18px, 2vw, 30px);
    display: flex; flex-direction: column; justify-content: space-between; isolation: isolate;
}
.source img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.source::before { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(0,0,0,.55), rgba(0,0,0,.15) 45%, rgba(0,0,0,.55)); }
.source h3 { font-size: clamp(28px, 3vw, 44px); line-height: 1.05; }
.source span { align-self: flex-start; font-weight: 700; font-size: 13px; text-transform: uppercase; letter-spacing: .04em; padding: 10px 16px; border-radius: 999px; background: rgba(0,0,0,.45); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); transform: translateY(8px); opacity: 0; transition: opacity .35s, transform .45s var(--ease), background .3s; }
.source:hover img { transform: scale(1.06); }
.source:hover span, .source:focus-visible span { opacity: 1; transform: none; }
.source[href="#"] span { display: none; }
@media (hover: none) { .source span { opacity: 1; transform: none; } }
@media (max-width: 640px) { .source-grid { grid-template-columns: 1fr; } .source { aspect-ratio: 16 / 10; } }

/* Agenda */
.agenda { display: grid; grid-template-columns: 530fr 790fr; gap: 40px; }
.agenda-intro .label { font-weight: 600; font-size: 18px; text-transform: uppercase; }
.agenda-intro h2 { font-size: clamp(32px, 3.4vw, 50px); margin-top: 22px; }
.agenda-intro p { color: #7C838D; font-size: 18px; max-width: 14em; margin-top: 20px; }
.day-tabs { display: grid; grid-template-columns: 1fr 1fr; max-width: 750px; }
.day-tab { text-align: left; padding-bottom: 18px; border-bottom: 3px solid #4B5768; color: #4B5768; transition: color .3s, border-color .3s; }
.day-tab[aria-selected="true"] { color: var(--white); border-color: #E9E9E9; }
.day-tab:hover { color: #B9BEC6; }
.day-tab small { display: block; font-weight: 600; font-size: 18px; text-transform: uppercase; }
.day-tab span { display: flex; align-items: baseline; gap: 12px; margin-top: 10px; font-size: 15px; }
.day-tab b { font-size: 34px; line-height: 1; }
.timeline { list-style: none; margin: 40px 0 0; padding: 0; position: relative; }
.timeline::before { content: ''; position: absolute; left: 210px; top: 12px; bottom: 0; width: 1.5px; background: linear-gradient(#01E0F5, rgba(1, 224, 245, .15)); }
.timeline li { display: grid; grid-template-columns: 196px 28px minmax(0, 1fr); gap: 0 30px; padding-bottom: 50px; }
.timeline time { color: #7C838D; font-size: 15px; padding-top: 2px; }
.timeline .dot { position: relative; z-index: 1; width: 22px; height: 22px; margin-left: 4px; border-radius: 50%; background: #01E0F5; color: #002B30; display: grid; place-items: center; font-size: 11px; font-weight: 700; transition: transform .35s var(--ease), box-shadow .35s; }
.timeline li:hover .dot { transform: scale(1.25); box-shadow: 0 0 0 6px rgba(1, 224, 245, .18); }
.timeline h3 { font-size: 15px; line-height: 1.4; }
.timeline p { color: #9CA1A9; font-size: 15px; margin-top: 12px; max-width: 30em; }
.timeline .where { color: var(--amber); font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; margin-top: 8px; }
.day-panel[hidden] { display: none; }
.day-panel:not([hidden]) { animation: vtIn .5s var(--ease); }
@media (max-width: 1000px) { .agenda { grid-template-columns: 1fr; } .agenda-intro p { max-width: none; } }
@media (max-width: 640px) {
    .timeline::before { left: 11px; }
    .timeline li { grid-template-columns: 28px minmax(0, 1fr); gap: 4px 16px; }
    .timeline time { grid-column: 2; grid-row: 1; }
    .timeline .dot { grid-row: 1 / span 2; margin-left: 0; }
    .timeline li > div { grid-column: 2; }
}
.timeline p a { color: var(--mint); }

/* ---------- Commerce & utility pages: Gala, Exhibition, Register, Gallery, Ticket ---------- */
/* No Figma frames for these; built from the system above. */
.hero.hero-short { min-height: min(854px, 100svh); }
.hero .lede { color: #D0D5DD; font-size: clamp(15px, 1.25vw, 18px); max-width: 44em; margin-top: 22px; }
.hero .btn-row { margin-top: clamp(28px, 3vw, 40px); }
.hero .eyebrow { margin-bottom: 18px; }
.lav { color: var(--lavender); }

.notice-banner { display: flex; gap: 14px; align-items: flex-start; border-radius: 14px; padding: 16px 20px; margin-bottom: 28px; max-width: 760px; background: rgba(89, 217, 160, .12); border: 1px solid rgba(89, 217, 160, .4); }
.notice-banner.warn { background: rgba(255, 184, 1, .1); border-color: rgba(255, 184, 1, .4); }
.notice-banner strong { display: block; margin-bottom: 2px; }
.notice-banner p { color: #D0D5DD; font-size: 15px; }

.check-list { list-style: none; margin: 28px 0 0; padding: 0; display: grid; gap: 16px; }
.check-list li { display: grid; grid-template-columns: 28px 1fr; gap: 12px; align-items: start; color: #D0D5DD; }
.check-list li::before { content: ''; width: 24px; height: 24px; border-radius: 50%; background: rgba(89, 217, 160, .15) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2359D9A0' stroke-width='3'%3E%3Cpath d='m6 12 4 4 8-8'/%3E%3C/svg%3E") center / 14px no-repeat; }
.split { display: grid; grid-template-columns: 1fr 1.03fr; gap: clamp(32px, 6vw, 84px); align-items: center; }
.split h2 { font-size: var(--h2); }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } }

.section-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; margin-bottom: clamp(28px, 4vw, 52px); flex-wrap: wrap; }
.section-head h2 { font-size: var(--h2); }
.section-head p { color: var(--grey); max-width: 38em; margin-top: 12px; }

/* Ticket cards */
.ticket-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: stretch; }
.ticket-card {
    position: relative; display: flex; flex-direction: column; padding: clamp(24px, 2.5vw, 34px); border-radius: 18px;
    background: #0C0E11; border: 1px solid var(--line); transition: transform .4s var(--ease), border-color .4s;
}
.ticket-card:hover { transform: translateY(-4px); border-color: #3A3E44; }
.ticket-card.featured { background: linear-gradient(180deg, #1A0A2A, #0C0E11 60%); border-color: rgba(218, 197, 250, .55); }
.ticket-card .badge { position: absolute; top: -13px; left: 28px; padding: 5px 12px; border-radius: 999px; background: var(--lavender); color: var(--ink); font-weight: 700; font-size: 11px; letter-spacing: .06em; text-transform: uppercase; }
.ticket-card h3 { font-size: 22px; }
.ticket-card .desc { color: var(--grey); font-size: 14px; margin-top: 10px; min-height: 3em; }
.ticket-card .price { display: flex; align-items: baseline; gap: 8px; margin: 22px 0 6px; }
.ticket-card .price strong { font-size: clamp(38px, 3.6vw, 52px); line-height: 1; }
.ticket-card .price s { color: var(--grey); }
.ticket-card .price span { color: var(--grey); font-size: 13px; }
.ticket-card .check-list { margin: 18px 0 26px; gap: 12px; font-size: 14px; flex: 1; align-content: start; }
.ticket-card .stock { color: var(--amber); font-weight: 700; font-size: 13px; text-transform: uppercase; margin-bottom: 12px; }
.ticket-card .btn { width: 100%; }
.ticket-card.skeleton { min-height: 460px; background: linear-gradient(100deg, #0C0E11 40%, #16191D 50%, #0C0E11 60%) 0 0 / 300% 100%; animation: shimmer 1.6s linear infinite; }
@keyframes shimmer { to { background-position: -150% 0; } }
@media (max-width: 1000px) { .ticket-cards { grid-template-columns: 1fr; max-width: 520px; } }

/* Comparison table */
.compare-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 18px; }
.compare { width: 100%; min-width: 620px; border-collapse: collapse; }
.compare th, .compare td { padding: 18px 22px; text-align: center; border-bottom: 1px solid var(--line); }
.compare th:first-child, .compare td:first-child { text-align: left; color: #D0D5DD; }
.compare thead th { font-size: 15px; text-transform: uppercase; }
.compare thead small { display: block; color: var(--grey); font-weight: 600; margin-top: 4px; }
.compare tr:last-child td { border-bottom: 0; }
.compare .vip { background: rgba(218, 197, 250, .06); }
.compare thead .vip { color: var(--lavender); }
.compare .yes { color: var(--mint); font-weight: 700; font-size: 18px; }
.compare .no { color: #4B5058; }
.compare tbody tr:hover td { background: rgba(255, 255, 255, .02); }

/* Checkout dialog (native <dialog>) */
dialog.sheet {
    width: min(520px, calc(100% - 32px)); max-height: calc(100svh - 32px); padding: 0; border: 1px solid var(--line); border-radius: 20px;
    background: #0C0E11; color: var(--white); overflow: auto;
}
dialog.sheet::backdrop { background: rgba(0, 0, 0, .72); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
dialog.sheet[open] { animation: sheetIn .45s var(--ease); }
@keyframes sheetIn { from { opacity: 0; transform: translateY(24px) scale(.98); } }
.sheet-head { position: relative; padding: 28px 28px 22px; border-bottom: 1px solid var(--line); background: linear-gradient(180deg, rgba(89, 217, 160, .08), transparent); }
.sheet-head .eyebrow { font-size: 13px; }
.sheet-head h2 { font-size: 24px; margin-top: 8px; }
.sheet-head .sum { display: flex; justify-content: space-between; align-items: baseline; margin-top: 16px; color: #D0D5DD; }
.sheet-head .sum strong { font-size: 30px; color: var(--white); }
.sheet-head .sum s { color: var(--grey); margin-left: 8px; font-size: 15px; }
.sheet-close { position: absolute; top: 18px; right: 18px; width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, .06); transition: background .2s; }
.sheet-close:hover { background: rgba(255, 255, 255, .14); }
.sheet form { display: grid; gap: 18px; padding: 24px 28px 28px; }
.sheet .btn { width: 100%; }
.sheet .note { color: var(--grey); font-size: 13px; text-align: center; }
.sheet .note a, .form-error a { color: var(--mint); }

/* Early-bird strip */
.eb-strip { background: var(--amber); color: var(--ink); }
.eb-strip .wrap { display: flex; align-items: center; justify-content: space-between; gap: 18px 32px; padding-top: 18px; padding-bottom: 18px; flex-wrap: wrap; }
.eb-strip strong { font-size: 17px; text-transform: uppercase; }
.eb-strip p { font-size: 14px; }
.eb-clock { display: flex; gap: 10px; font-variant-numeric: tabular-nums; }
.eb-clock span { display: grid; place-items: center; min-width: 58px; padding: 6px 8px; border-radius: 10px; background: var(--ink); color: var(--amber); font-weight: 700; font-size: 22px; line-height: 1.1; }
.eb-clock small { display: block; color: #B9BEC6; font-size: 10px; font-weight: 600; text-transform: uppercase; }

/* Four-up feature cards */
.feature-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.feature { padding: 28px; border-radius: 16px; border: 1px solid var(--line); background: #0C0E11; transition: border-color .4s, transform .4s var(--ease); }
.feature:hover { border-color: rgba(218, 197, 250, .45); transform: translateY(-4px); }
.feature b { display: block; color: var(--amber); font-size: 13px; letter-spacing: .06em; margin-bottom: 18px; }
.feature h3 { color: var(--lavender); font-size: 19px; font-weight: 600; text-transform: none; line-height: 1.35; }
.feature p { color: #A7A9AE; font-family: var(--font-alt); font-size: 14px; line-height: 1.6; margin-top: 12px; }
@media (max-width: 1000px) { .feature-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .feature-grid { grid-template-columns: 1fr; } }

/* Booth cards */
.booth-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.booth { display: flex; flex-direction: column; border-radius: 18px; overflow: hidden; background: #0C0E11; border: 1px solid var(--line); transition: transform .4s var(--ease), border-color .4s; }
.booth:hover { transform: translateY(-4px); border-color: #3A3E44; }
.booth.featured { border-color: rgba(89, 217, 160, .6); }
.booth figure { position: relative; margin: 0; aspect-ratio: 16 / 10; overflow: hidden; }
.booth figure img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.booth:hover figure img { transform: scale(1.05); }
.booth .tier { position: absolute; top: 14px; left: 14px; padding: 6px 12px; border-radius: 999px; background: rgba(0, 0, 0, .7); backdrop-filter: blur(6px); font-weight: 700; font-size: 12px; letter-spacing: .06em; text-transform: uppercase; }
.booth .off { position: absolute; top: 14px; right: 14px; padding: 6px 10px; border-radius: 999px; background: var(--amber); color: var(--ink); font-weight: 700; font-size: 12px; }
.booth .body { display: flex; flex-direction: column; flex: 1; padding: 24px; }
.booth .price { display: flex; align-items: baseline; gap: 10px; }
.booth .price strong { font-size: 36px; line-height: 1; }
.booth .price s { color: var(--grey); }
.booth .specs { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.booth .specs span { padding: 5px 10px; border-radius: 8px; background: rgba(255, 255, 255, .06); color: #D0D5DD; font-size: 13px; }
.booth .check-list { margin: 18px 0 24px; gap: 10px; font-size: 14px; flex: 1; align-content: start; }
.booth .btn { width: 100%; }
@media (max-width: 1000px) { .booth-cards { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .booth-cards { grid-template-columns: 1fr; } }

.pay-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.pay-card { padding: clamp(24px, 3vw, 36px); border-radius: 18px; border: 1px solid var(--line); background: #0C0E11; display: flex; flex-direction: column; gap: 14px; }
.pay-card h3 { font-size: 22px; }
.pay-card p { color: #A7A9AE; }
.pay-card .btn { margin-top: auto; align-self: flex-start; }
@media (max-width: 800px) { .pay-cards { grid-template-columns: 1fr; } }

/* Register */
.embed-card { border-radius: 20px; overflow: hidden; background: #111; max-width: 640px; box-shadow: 0 30px 80px rgba(0, 0, 0, .5); }
.embed-card iframe { width: 100%; height: 560px; border: 0; }
.info-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.info-card { padding: 26px; border-radius: 16px; border: 1px solid var(--line); background: #0C0E11; }
.info-card h3 { color: var(--lavender); font-size: 15px; }
.info-card p { color: #D0D5DD; margin-top: 10px; }
.info-card a { color: var(--mint); }
@media (max-width: 800px) { .info-cards { grid-template-columns: 1fr; } }

/* Gallery */
.masonry { columns: 3 320px; column-gap: 16px; }
.masonry button { display: block; width: 100%; margin: 0 0 16px; border-radius: 14px; overflow: hidden; break-inside: avoid; cursor: zoom-in; position: relative; }
.masonry img { width: 100%; height: auto; transition: transform 1s var(--ease), filter .5s; }
.masonry button:hover img { transform: scale(1.04); filter: brightness(1.08); }
dialog.lightbox { width: 100vw; height: 100svh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: rgba(0, 0, 0, .94); color: var(--white); }
dialog.lightbox::backdrop { background: transparent; }
dialog.lightbox[open] { display: grid; place-items: center; animation: vtIn .35s var(--ease); }
.lightbox img { max-width: calc(100vw - 140px); max-height: calc(100svh - 120px); border-radius: 10px; }
.lightbox .nav-btn { position: absolute; top: 50%; translate: 0 -50%; width: 52px; height: 52px; border-radius: 50%; background: rgba(255, 255, 255, .08); font-size: 22px; transition: background .2s; }
.lightbox .nav-btn:hover { background: var(--mint); color: var(--ink); }
.lightbox .prev { left: 20px; }
.lightbox .next { right: 20px; }
.lightbox .close { position: absolute; top: 20px; right: 20px; }
.lightbox .count { position: absolute; bottom: 24px; left: 0; right: 0; text-align: center; color: var(--grey); font-size: 14px; }
@media (max-width: 700px) { .lightbox img { max-width: calc(100vw - 24px); } .lightbox .nav-btn { top: auto; bottom: 16px; translate: none; } }

/* Printable ticket */
.ticket-page { min-height: 100svh; display: grid; place-items: center; padding: 32px 16px; background: radial-gradient(ellipse at 50% 0, rgba(136, 80, 240, .25), transparent 60%), var(--black); }
.eticket { width: min(420px, 100%); border-radius: 22px; overflow: hidden; background: #0C0E11; border: 1px solid rgba(218, 197, 250, .45); text-align: center; }
.eticket-top { padding: 30px 28px 24px; background: linear-gradient(180deg, #1A0A2A, transparent); }
.eticket-top img { height: 56px; margin: 0 auto 16px; }
.eticket h1 { font-size: 24px; line-height: 1.15; margin-top: 6px; color: var(--lavender); }
.eticket .tier { display: inline-block; margin-top: 16px; padding: 6px 16px; border-radius: 999px; background: var(--mint); color: var(--ink); font-weight: 700; font-size: 12px; letter-spacing: .12em; text-transform: uppercase; }
.perf { position: relative; border-top: 2px dashed #2A2D31; margin: 0 20px; }
.perf::before, .perf::after { content: ''; position: absolute; top: -13px; width: 24px; height: 24px; border-radius: 50%; background: var(--black); }
.perf::before { left: -33px; } .perf::after { right: -33px; }
.eticket-bottom { padding: 26px 28px 30px; }
.eticket .qr { background: #fff; padding: 14px; border-radius: 14px; width: fit-content; margin: 0 auto 20px; }
.eticket .qr img, .eticket .qr canvas { width: 200px; height: 200px; }
.eticket .label { color: var(--grey); font-size: 11px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; }
.eticket .value { font-size: 18px; font-weight: 700; margin: 2px 0 14px; overflow-wrap: anywhere; }
.eticket .ref { font-family: ui-monospace, Menlo, Consolas, monospace; color: var(--mint); letter-spacing: .08em; }
.eticket .details { color: var(--grey); font-size: 14px; }
.eticket .pending { color: var(--amber); font-weight: 600; margin-bottom: 14px; }
.eticket .actions { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; margin-top: 22px; }
.ticket-msg { color: var(--grey); text-align: center; max-width: 420px; }
@media print {
    .ticket-page { background: #fff; }
    .eticket { border-color: #999; background: #fff; color: #000; }
    .eticket-top { background: none; }
    .eticket h1 { color: #000; }
    .eticket .actions { display: none; }
}

/* Speakers page: shown until this year's line-up is published in the admin. */
.announce { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px 28px; padding: clamp(22px, 3vw, 34px); border-radius: 18px; border: 1px solid rgba(218, 197, 250, .3); background: linear-gradient(135deg, rgba(136, 80, 240, .16), transparent); }
.announce p { color: #D0D5DD; font-size: clamp(15px, 1.3vw, 18px); max-width: 40em; }

.source-links { display: flex; flex-wrap: wrap; gap: 8px; }
.source-links a { padding: 10px 16px; border-radius: 999px; background: rgba(0, 0, 0, .55); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); font-weight: 700; font-size: 13px; letter-spacing: .03em; text-transform: uppercase; transition: background .3s, color .3s; }
.source-links a:hover { background: var(--mint); color: var(--ink); }
.announce-light { border-color: rgba(23, 19, 31, .12); background: rgba(255, 255, 255, .55); }
.announce-light p { color: var(--ink-soft); }

/* Video lightbox (native <dialog>) */
dialog.video-lightbox { width: 100vw; height: 100svh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: rgba(0, 0, 0, .9); }
dialog.video-lightbox::backdrop { background: transparent; }
dialog.video-lightbox[open] { display: grid; place-items: center; animation: vtIn .35s var(--ease); }
.video-frame-box { width: min(1100px, 92vw, calc((100svh - 120px) * 16 / 9)); aspect-ratio: 16 / 9; border-radius: 14px; overflow: hidden; background: #000; box-shadow: 0 30px 80px rgba(0, 0, 0, .6); }
.video-frame-box iframe { width: 100%; height: 100%; border: 0; display: block; }
.video-close { position: absolute; top: 20px; right: 20px; width: 48px; height: 48px; border-radius: 50%; background: rgba(255, 255, 255, .1); color: var(--white); font-size: 18px; transition: background .2s, color .2s; }
.video-close:hover { background: var(--mint); color: var(--ink); }

/* Payment confirmation pages */
.confirm-hero { min-height: calc(var(--nav-h) + min(620px, 75vh)); }
.confirm-hero p:not(.eyebrow) { max-width: 40em; }
.confirm-mark { width: 64px; height: 64px; color: var(--mint); margin-bottom: 22px; }
.confirm-mark svg { width: 100%; height: 100%; }
.confirm-ref { color: var(--grey); font-size: 14px; }
.confirm-hero .btn-row { margin-top: 30px; }
.mono { font-family: ui-monospace, Menlo, Consolas, monospace; }
