/*
 * RapidTradeshow — public landing page.
 *
 * A stage, so it is always dark: midnight hall, signal-orange for anything you
 * can press, lanyard-lime for "live". Inter (self-hosted) at heavy weights does
 * the signage. Motion is CSS where it can be and is off under
 * prefers-reduced-motion. Mascot motion comes from ../brand/rapidtradeshow.css
 * rules duplicated at the bottom, so this page has no dependency on the app.
 */

@font-face {
    font-family: 'Inter Variable';
    src: url('../rapid-roofing/fonts/inter-variable.woff2') format('woff2');
    font-weight: 100 900;
    font-display: swap;
}

:root {
    --ink: #070A14;
    --ink-2: #0B1022;
    --panel: #0F1530;
    --panel-2: #141B3A;
    --line: rgba(255, 255, 255, 0.08);
    --line-2: rgba(255, 255, 255, 0.14);
    --text: #EEF1FA;
    --muted: #9AA4C3;
    --dim: #7D87AA;
    --orange: #FF5A1F;
    --orange-2: #FF7A3D;
    --orange-ink: #1A0A02;
    --lime: #B6F23A;
    --sky: #38BDF8;
    --amber: #F5B300;
    --radius: 18px;
    --wrap: 1200px;
    --ease: cubic-bezier(0.16, 1, 0.3, 1);
    color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 84px; }

body {
    overflow-x: clip;
    margin: 0;
    background: var(--ink);
    color: var(--text);
    font: 400 17px/1.6 'Inter Variable', Inter, system-ui, -apple-system, 'Segoe UI', sans-serif;
    font-feature-settings: 'ss01', 'cv11';
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3 { margin: 0; line-height: 1.05; letter-spacing: -0.035em; text-wrap: balance; }
p { margin: 0; }
a { color: inherit; }
img, svg { display: block; }
b { font-weight: 700; color: #FFFFFF; }
.muted { color: var(--muted); }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: 20px; }

.skip {
    position: absolute; left: 12px; top: -60px; z-index: 100;
    padding: 10px 14px; border-radius: 10px; background: var(--lime); color: #0B1022; font-weight: 700;
}
.skip:focus { top: 12px; }

:focus-visible { outline: 3px solid var(--lime); outline-offset: 3px; border-radius: 8px; }

/* ---- Buttons ------------------------------------------------------------ */

.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 10px;
    height: 44px; padding: 0 20px; border-radius: 12px; border: 1px solid transparent;
    font: 700 15px/1 inherit; font-family: inherit; letter-spacing: -0.01em;
    text-decoration: none; cursor: pointer; white-space: nowrap;
    transition: transform 160ms var(--ease), box-shadow 220ms var(--ease), background 160ms, border-color 160ms;
}
.btn svg { transition: transform 200ms var(--ease); }
.btn:hover svg { transform: translateX(3px); }
.btn-sm { height: 38px; padding: 0 14px; font-size: 14px; border-radius: 10px; }
.btn-lg { height: 54px; padding: 0 26px; font-size: 16px; border-radius: 14px; }
.btn-xl { height: 64px; padding: 0 34px; font-size: 18px; border-radius: 16px; }

.btn-primary {
    color: var(--orange-ink);
    background: linear-gradient(180deg, var(--orange-2), var(--orange));
    box-shadow: 0 1px 0 rgba(255, 255, 255, 0.35) inset, 0 10px 30px -10px rgba(255, 90, 31, 0.75), 0 0 0 1px rgba(255, 138, 76, 0.4);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 1px 0 rgba(255, 255, 255, 0.35) inset, 0 16px 40px -12px rgba(255, 90, 31, 0.9), 0 0 0 1px rgba(255, 138, 76, 0.6); }
.btn-primary:active { transform: translateY(0); }

.btn-ghost { color: var(--text); background: rgba(255, 255, 255, 0.04); border-color: var(--line-2); }
.btn-ghost:hover { background: rgba(255, 255, 255, 0.09); border-color: rgba(255, 255, 255, 0.25); }

/* ---- Chips -------------------------------------------------------------- */

.chip {
    display: inline-flex; align-items: center; height: 24px; padding: 0 10px; border-radius: 999px;
    font-size: 12px; font-weight: 700; letter-spacing: 0.02em;
    background: rgba(255, 255, 255, 0.07); color: var(--muted); border: 1px solid var(--line);
}
.chip--lime { background: rgba(182, 242, 58, 0.12); color: var(--lime); border-color: rgba(182, 242, 58, 0.3); }
.chip--sky { background: rgba(56, 189, 248, 0.12); color: var(--sky); border-color: rgba(56, 189, 248, 0.3); }
.chip--orange { background: rgba(255, 90, 31, 0.15); color: var(--orange-2); border-color: rgba(255, 90, 31, 0.4); }

/* ---- Nav ---------------------------------------------------------------- */

.nav {
    position: fixed; inset: 0 0 auto 0; z-index: 50;
    transition: background 200ms, border-color 200ms, backdrop-filter 200ms;
    border-bottom: 1px solid transparent;
}
.nav.is-stuck { background: rgba(7, 10, 20, 0.72); backdrop-filter: blur(14px) saturate(140%); -webkit-backdrop-filter: blur(14px) saturate(140%); border-color: var(--line); }
.nav-inner { height: 72px; display: flex; align-items: center; gap: 24px; }

.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-size: 19px; font-weight: 600; letter-spacing: -0.03em; }
.logo b { font-weight: 900; color: var(--orange-2); }
.logo .rt-mark { filter: drop-shadow(0 6px 14px rgba(255, 90, 31, 0.45)); }
.logo--sm { font-size: 16px; }

.nav-links { display: none; margin-left: auto; gap: 4px; }
.nav-links a {
    padding: 8px 14px; border-radius: 10px; text-decoration: none; color: var(--muted);
    font-size: 15px; font-weight: 600; transition: color 150ms, background 150ms;
}
.nav-links a:hover { color: var(--text); background: rgba(255, 255, 255, 0.05); }
.nav-inner > .btn { margin-left: auto; }
@media (max-width: 380px) {
    .nav-inner { gap: 10px; }
    .logo { font-size: 16px; gap: 8px; }
    .logo .rt-mark { width: 28px; height: 28px; }
    .nav-inner > .btn { padding: 0 12px; }
    .nav-inner > .btn svg { display: none; }
}
@media (min-width: 860px) {
    .nav-links { display: flex; }
    .nav-inner > .btn { margin-left: 8px; }
}

/* ---- Hero --------------------------------------------------------------- */

.hero {
    position: relative; isolation: isolate; overflow: hidden;
    padding: 120px 0 72px;
    background:
        radial-gradient(900px 600px at 78% 30%, rgba(255, 90, 31, 0.20), transparent 65%),
        radial-gradient(700px 500px at 10% 90%, rgba(56, 189, 248, 0.10), transparent 70%),
        radial-gradient(600px 400px at 30% 10%, rgba(182, 242, 58, 0.06), transparent 70%),
        var(--ink);
}

.beams { position: absolute; inset: 0; z-index: -1; pointer-events: none; overflow: hidden; }
.beams i {
    position: absolute; top: -40%; width: 46vw; height: 160%;
    background: conic-gradient(from 180deg at 50% 0%, transparent 46%, rgba(255, 255, 255, 0.07) 50%, transparent 54%);
    transform-origin: 50% 0%; filter: blur(6px); opacity: 0.9;
}
.beams i:nth-child(1) { left: 2%; animation: beam 11s ease-in-out infinite; }
.beams i:nth-child(2) { left: 38%; animation: beam 14s ease-in-out -4s infinite reverse; background: conic-gradient(from 180deg at 50% 0%, transparent 47%, rgba(255, 122, 61, 0.10) 50%, transparent 53%); }
.beams i:nth-child(3) { right: -4%; animation: beam 12s ease-in-out -7s infinite; background: conic-gradient(from 180deg at 50% 0%, transparent 47%, rgba(182, 242, 58, 0.07) 50%, transparent 53%); }
@keyframes beam { 0%, 100% { transform: rotate(-14deg); } 50% { transform: rotate(14deg); } }

.hero-floor-grid {
    position: absolute; inset: auto -20% -10% -20%; height: 55%; z-index: -1; pointer-events: none;
    background-image: linear-gradient(rgba(120, 140, 220, 0.14) 1px, transparent 1px), linear-gradient(90deg, rgba(120, 140, 220, 0.14) 1px, transparent 1px);
    background-size: 64px 64px;
    transform: perspective(600px) rotateX(62deg);
    transform-origin: 50% 100%;
    mask-image: linear-gradient(to top, #000 10%, transparent 90%);
    -webkit-mask-image: linear-gradient(to top, #000 10%, transparent 90%);
    animation: floor-run 6s linear infinite;
}
@keyframes floor-run { to { background-position: 0 64px; } }

.hero-grid { display: grid; gap: 48px; align-items: center; }
@media (min-width: 1020px) {
    .hero-grid { grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr); gap: 24px; }
    .floor { width: 116%; margin: -4% -8% 0 -6%; }
}

.pill {
    display: inline-flex; align-items: center; gap: 10px; padding: 7px 14px 7px 10px;
    border-radius: 999px; text-decoration: none; font-size: 14px; font-weight: 600; color: var(--muted);
    background: rgba(255, 255, 255, 0.04); border: 1px solid var(--line-2);
    backdrop-filter: blur(6px); transition: border-color 160ms, background 160ms;
}
.pill:hover { border-color: rgba(182, 242, 58, 0.45); background: rgba(182, 242, 58, 0.06); }
.pill b { color: var(--lime); }

.live-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--lime); flex: none; animation: live 1.8s infinite; }
@keyframes live { 0% { box-shadow: 0 0 0 0 rgba(182, 242, 58, 0.6); } 70% { box-shadow: 0 0 0 10px rgba(182, 242, 58, 0); } 100% { box-shadow: 0 0 0 0 rgba(182, 242, 58, 0); } }

.hero-title {
    margin-top: 22px;
    font-size: clamp(3.1rem, 1.6rem + 6.2vw, 6.6rem);
    font-weight: 900; letter-spacing: -0.055em; line-height: 0.92;
}
.hero-title .line { display: block; }
.hero-title em {
    font-style: normal;
    background: linear-gradient(95deg, var(--orange-2) 0%, var(--orange) 40%, #FFB36B 60%, var(--orange) 80%);
    background-size: 200% 100%;
    -webkit-background-clip: text; background-clip: text; color: transparent;
    animation: sheen 6s ease-in-out infinite;
    padding-right: 0.06em;
}
@keyframes sheen { 0%, 100% { background-position: 0% 0; } 50% { background-position: 100% 0; } }

.hero-lede { margin-top: 24px; max-width: 34em; font-size: clamp(1.05rem, 0.95rem + 0.4vw, 1.25rem); color: var(--muted); line-height: 1.55; }
.hero-lede b { color: var(--text); font-weight: 650; }

.hero-cta { margin-top: 32px; display: flex; flex-wrap: wrap; gap: 12px; }

.hero-proof { margin: 40px 0 0; display: grid; grid-template-columns: repeat(3, minmax(0, auto)); gap: 28px; justify-content: start; }
.hero-proof div { border-left: 2px solid var(--line-2); padding-left: 14px; }
.hero-proof div:first-child { border-color: var(--orange); }
.hero-proof dt { font-size: 12px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--dim); }
.hero-proof dd { margin: 4px 0 0; font-size: clamp(1.6rem, 1.2rem + 1.4vw, 2.4rem); font-weight: 850; letter-spacing: -0.04em; font-variant-numeric: tabular-nums; }
@media (max-width: 520px) { .hero-proof { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; } .hero-proof dt { font-size: 10px; } }

/* stage */
.stage { position: relative; min-width: 0; }
.floor { width: 100%; height: auto; overflow: visible; filter: drop-shadow(0 40px 60px rgba(0, 0, 0, 0.55)); }
.floor text { font-family: 'Inter Variable', Inter, system-ui, sans-serif; }
.booth { transition: transform 300ms var(--ease); }
.booth--ours { animation: ours 3.2s ease-in-out infinite; }
@keyframes ours { 0%, 100% { filter: drop-shadow(0 0 0 rgba(255, 90, 31, 0)); } 50% { filter: drop-shadow(0 0 14px rgba(255, 90, 31, 0.85)); } }
.spot-pool { animation: pool 3.2s ease-in-out infinite; }
@keyframes pool { 0%, 100% { opacity: 0.7; } 50% { opacity: 1; } }
.beacon { animation: bob 2.6s ease-in-out infinite; }
@keyframes bob { 0%, 100% { translate: 0 0; } 50% { translate: 0 -6px; } }
#walkers circle { transition: fill 300ms; }

.float-card {
    position: absolute; display: flex; align-items: center; gap: 12px;
    padding: 12px 16px 12px 12px; border-radius: 14px;
    background: rgba(16, 22, 48, 0.72); border: 1px solid var(--line-2);
    backdrop-filter: blur(12px) saturate(140%); -webkit-backdrop-filter: blur(12px) saturate(140%);
    box-shadow: 0 20px 40px -16px rgba(0, 0, 0, 0.7);
    font-size: 13px; line-height: 1.3; color: var(--muted);
    animation: float 6s ease-in-out infinite;
}
.float-card strong { display: block; font-size: 15px; color: var(--text); font-weight: 750; letter-spacing: -0.01em; }
.float-card b { color: var(--lime); font-variant-numeric: tabular-nums; }
.fc-1 { top: 2%; left: 0; }
.fc-2 { top: 34%; right: -2%; animation-delay: -2s; }
.fc-3 { bottom: 6%; left: 4%; animation-delay: -4s; }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
.fc-dot { width: 12px; height: 12px; border-radius: 50%; margin: 0 4px; }
.fc-dot--lime { background: var(--lime); box-shadow: 0 0 14px 2px rgba(182, 242, 58, 0.6); animation: live 1.8s infinite; }
.fc-icon { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; background: rgba(56, 189, 248, 0.14); color: var(--sky); }
.fc-icon--orange { background: rgba(255, 90, 31, 0.16); color: var(--orange-2); }

.hero-lanny { position: absolute; right: -10px; bottom: -36px; display: flex; align-items: flex-end; gap: 4px; pointer-events: none; }
.hero-lanny .lanny { filter: drop-shadow(0 24px 30px rgba(0, 0, 0, 0.6)); }
.bubble {
    max-width: 220px; margin-bottom: 150px; margin-right: -18px; padding: 12px 14px;
    background: #FFFFFF; color: #0B1022; border-radius: 16px 16px 4px 16px;
    font-size: 13.5px; font-weight: 650; line-height: 1.35; letter-spacing: -0.01em;
    box-shadow: 0 16px 30px -12px rgba(0, 0, 0, 0.6);
    transition: opacity 260ms, transform 260ms var(--ease);
}
.bubble.is-swapping { opacity: 0; transform: translateY(6px) scale(0.97); }

@media (max-width: 1019px) {
    .fc-2 { right: 0; }
    .hero-lanny { right: 0; bottom: -20px; }
    .hero-lanny .lanny { width: 116px; }
    .bubble { margin-bottom: 116px; max-width: 190px; font-size: 12.5px; }
}
@media (max-width: 560px) {
    .float-card { padding: 8px 10px 8px 8px; font-size: 11.5px; }
    .float-card strong { font-size: 13px; }
    .fc-icon { width: 28px; height: 28px; }
    .fc-3 { display: none; }
    .hero-lanny { position: relative; right: auto; bottom: auto; justify-content: flex-end; margin-top: -40px; }
    .bubble { margin-bottom: 96px; }
    .hero-lanny .lanny { width: 96px; }
}

@media (min-width: 1020px) { .hero-lanny { right: -16px; bottom: -48px; } }
@media (min-width: 1320px) { .hero-lanny { right: -56px; } }

/* ---- Marquee ------------------------------------------------------------ */

.marquee {
    position: relative; overflow: hidden; padding: 18px 0;
    background: linear-gradient(90deg, var(--orange), #FF7A3D 50%, var(--orange));
    color: #12070A; transform: rotate(-1.2deg) scale(1.02); margin: 8px 0 0;
    box-shadow: 0 20px 50px -20px rgba(255, 90, 31, 0.6);
}
.marquee-track { display: flex; width: max-content; gap: 28px; align-items: center; animation: marquee 32s linear infinite; }
.marquee span { font-size: clamp(1.1rem, 0.9rem + 1vw, 1.6rem); font-weight: 900; letter-spacing: -0.02em; text-transform: uppercase; white-space: nowrap; }
.marquee i { font-style: normal; font-size: 1.1rem; opacity: 0.7; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---- Sections ----------------------------------------------------------- */

.section { padding: clamp(80px, 9vw, 130px) 0; position: relative; }
.section--alt {
    background:
        radial-gradient(800px 400px at 100% 0%, rgba(255, 90, 31, 0.08), transparent 70%),
        linear-gradient(180deg, var(--ink-2), var(--ink));
    border-block: 1px solid var(--line);
}

.section-head { max-width: 760px; margin-bottom: 56px; }
.eyebrow { font-size: 13px; font-weight: 800; letter-spacing: 0.16em; text-transform: uppercase; color: var(--lime); display: inline-flex; align-items: center; gap: 10px; }
.eyebrow::before { content: ""; width: 22px; height: 2px; background: currentColor; border-radius: 2px; }
.section-head h2, .lanny-copy h2 { margin-top: 16px; font-size: clamp(2.1rem, 1.3rem + 3vw, 3.6rem); font-weight: 900; letter-spacing: -0.045em; }
.hl { color: var(--orange-2); }
.section-lede { margin-top: 18px; color: var(--muted); font-size: 1.12rem; max-width: 40em; }

/* steps */
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 18px; counter-reset: step; position: relative; }
@media (min-width: 720px) { .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .steps { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

.step {
    position: relative; overflow: hidden; padding: 28px 24px 24px;
    border-radius: var(--radius); background: linear-gradient(180deg, var(--panel-2), var(--panel));
    border: 1px solid var(--line); display: flex; flex-direction: column; gap: 14px;
    transition: transform 260ms var(--ease), border-color 200ms, box-shadow 260ms;
}
.step:hover { transform: translateY(-6px); border-color: rgba(255, 90, 31, 0.45); box-shadow: 0 30px 60px -30px rgba(255, 90, 31, 0.45); }
.step::after {
    content: ""; position: absolute; inset: auto -40% -60% auto; width: 220px; height: 220px; border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 90, 31, 0.18), transparent 70%); opacity: 0; transition: opacity 260ms;
}
.step:hover::after { opacity: 1; }
.step-num {
    position: absolute; top: 14px; right: 18px; font-size: 64px; font-weight: 900; letter-spacing: -0.06em; line-height: 1;
    color: transparent; -webkit-text-stroke: 1.5px rgba(255, 255, 255, 0.12);
}
.step-icon {
    width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center;
    background: linear-gradient(160deg, rgba(255, 122, 61, 0.25), rgba(255, 90, 31, 0.08));
    border: 1px solid rgba(255, 122, 61, 0.35); color: var(--orange-2);
}
.step:nth-child(even) .step-icon { background: linear-gradient(160deg, rgba(182, 242, 58, 0.22), rgba(182, 242, 58, 0.05)); border-color: rgba(182, 242, 58, 0.32); color: var(--lime); }
.step-icon svg { width: 26px; height: 26px; }
.step h3 { font-size: 1.6rem; font-weight: 850; letter-spacing: -0.035em; }
.step p { color: var(--muted); font-size: 0.98rem; flex: 1; }
.step p b { color: var(--text); font-weight: 650; }
.step-tag { align-self: flex-start; font-size: 12.5px; font-weight: 700; color: var(--text); padding: 6px 10px; border-radius: 8px; background: rgba(255, 255, 255, 0.05); border: 1px solid var(--line); }

/* bento */
.bento { display: grid; gap: 18px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 820px) {
    .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .tile--map { grid-column: 1 / -1; }
}
@media (min-width: 1100px) {
    .bento { grid-template-columns: repeat(3, minmax(0, 1fr)); grid-auto-rows: minmax(0, auto); }
    .tile--map { grid-column: 1 / 3; grid-row: 1 / 3; }
    .tile--fit { grid-column: 3; grid-row: 1; }
    .tile--attend { grid-column: 3; grid-row: 2; }
    .tile--intel { grid-column: 1 / 3; }
    .tile--heat { grid-column: 3; }
}

.tile {
    position: relative; overflow: hidden; border-radius: var(--radius); padding: 24px;
    background: linear-gradient(180deg, var(--panel-2), var(--panel)); border: 1px solid var(--line);
    display: flex; flex-direction: column; gap: 10px; min-width: 0;
}
.tile h3 { font-size: 1.35rem; font-weight: 800; letter-spacing: -0.03em; }
.tile-kicker { font-size: 12px; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase; color: var(--orange-2); }
.tile-kicker em { font-style: normal; color: var(--dim); letter-spacing: 0.04em; text-transform: none; font-weight: 600; }
.tile-foot { margin-top: auto; padding-top: 10px; font-size: 13.5px; color: var(--dim); }

.tile--map { padding: 0; min-height: 440px; }
.map-embed { position: relative; flex: 1; display: flex; min-height: 440px; }
.map-embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; background: #0B1022; }
.map-poster {
    position: absolute; inset: 0; display: flex; align-items: flex-end; padding: 28px;
    background:
        radial-gradient(500px 300px at 70% 35%, rgba(255, 90, 31, 0.35), transparent 70%),
        radial-gradient(400px 260px at 20% 20%, rgba(56, 189, 248, 0.16), transparent 70%),
        linear-gradient(160deg, #121a3c, #090d1d);
}
.map-poster-grid {
    position: absolute; inset: 0;
    background-image: linear-gradient(rgba(140, 160, 240, 0.16) 1px, transparent 1px), linear-gradient(90deg, rgba(140, 160, 240, 0.16) 1px, transparent 1px);
    background-size: 44px 44px;
    transform: perspective(700px) rotateX(55deg) scale(1.6) translateY(-10%);
    transform-origin: 50% 80%;
    mask-image: radial-gradient(70% 70% at 60% 40%, #000, transparent);
    -webkit-mask-image: radial-gradient(70% 70% at 60% 40%, #000, transparent);
}
.map-poster-copy { position: relative; display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }
.map-poster-copy h3 { font-size: clamp(1.8rem, 1.2rem + 2vw, 2.8rem); font-weight: 900; letter-spacing: -0.045em; }
.map-poster-copy p { color: var(--muted); }
.map-poster-copy .btn { margin-top: 10px; }
.map-full { font-size: 14px; font-weight: 600; color: var(--muted); text-decoration: none; }
.map-full:hover { color: var(--text); }
.map-embed.is-loaded .map-poster { display: none; }

.bars { display: grid; gap: 14px; margin-top: 10px; }
.bar-row { display: grid; grid-template-columns: 92px minmax(0, 1fr) 44px; gap: 12px; align-items: center; font-size: 14px; }
.bar-label { color: var(--muted); font-weight: 600; }
.bar-val { text-align: right; font-weight: 800; font-variant-numeric: tabular-nums; }
.bar-track { height: 12px; border-radius: 999px; background: rgba(255, 255, 255, 0.06); overflow: hidden; }
.bar-fill { display: block; height: 100%; width: var(--w); border-radius: inherit; transition: width 1200ms var(--ease); }
.js .bar-fill { width: 0; }
.js .is-in .bar-fill { width: var(--w); }
.bar-fill--high { background: linear-gradient(90deg, #7FBF1E, var(--lime)); box-shadow: 0 0 16px rgba(182, 242, 58, 0.45); }
.bar-fill--medium { background: linear-gradient(90deg, #1D8FCB, var(--sky)); }
.bar-fill--low { background: linear-gradient(90deg, #C98F00, var(--amber)); }
.bar-fill--none { background: #3A4470; }

.donut-wrap { display: flex; align-items: center; gap: 20px; margin-top: 6px; }
.donut { width: 150px; height: 150px; flex: none; transform: rotate(0deg); }
.donut-seg { transition: stroke-dasharray 1200ms var(--ease); }
.donut-num { font-size: 8px; font-weight: 900; fill: #FFFFFF; letter-spacing: -0.04em; font-family: 'Inter Variable', Inter, sans-serif; }
.donut-cap { font-size: 2.6px; font-weight: 800; fill: var(--muted); letter-spacing: 0.12em; font-family: 'Inter Variable', Inter, sans-serif; }
.legend { list-style: none; margin: 0; padding: 0; display: grid; gap: 7px; font-size: 13.5px; color: var(--muted); flex: 1; min-width: 0; }
.legend li { display: flex; align-items: center; gap: 8px; }
.legend i { width: 10px; height: 10px; border-radius: 3px; flex: none; }
.legend b { margin-left: auto; font-variant-numeric: tabular-nums; }

.intel { margin-top: 6px; border-radius: 14px; background: rgba(7, 10, 20, 0.55); border: 1px solid var(--line); padding: 18px; display: grid; gap: 14px; }
.intel-head { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.intel-head > div { flex: 1; min-width: 180px; }
.intel-head strong { display: block; font-size: 1.1rem; letter-spacing: -0.02em; }
.intel-head span { font-size: 13.5px; color: var(--muted); }
.intel-logo { width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; font-weight: 900; color: #0B1022; background: linear-gradient(135deg, var(--sky), #7DD3FC); }
.intel-row { display: grid; grid-template-columns: 130px minmax(0, 1fr); gap: 14px; padding-top: 12px; border-top: 1px dashed var(--line-2); font-size: 14.5px; }
.intel-row > span { color: var(--dim); font-weight: 700; font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; padding-top: 3px; }
.intel-row p { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
@media (max-width: 560px) { .intel-row { grid-template-columns: 1fr; gap: 4px; } }

.heat { display: flex; align-items: flex-end; gap: 6px; height: 130px; margin-top: 14px; }
.heat span {
    flex: 1; height: var(--h); border-radius: 6px 6px 3px 3px;
    background: linear-gradient(180deg, rgba(56, 189, 248, 0.9), rgba(56, 189, 248, 0.25));
    transition: height 900ms var(--ease) var(--d);
}
.heat span.peak { background: linear-gradient(180deg, var(--orange-2), rgba(255, 90, 31, 0.3)); box-shadow: 0 0 18px rgba(255, 90, 31, 0.4); }
.js .heat span { height: 6%; }
.js .is-in .heat span { height: var(--h); }
.heat-axis { display: flex; justify-content: space-between; font-size: 12px; color: var(--dim); font-weight: 600; }

/* countdown + shows */
.countdown { display: flex; align-items: flex-start; justify-content: center; gap: clamp(6px, 2vw, 20px); margin-bottom: 14px; }
.cd-cell { text-align: center; min-width: 0; }
.cd-cell b {
    display: block; font-size: clamp(3rem, 1.4rem + 7vw, 7.5rem); line-height: 1; font-weight: 900; letter-spacing: -0.06em;
    font-variant-numeric: tabular-nums; color: #FFFFFF;
    text-shadow: 0 0 40px rgba(255, 90, 31, 0.35);
}
.cd-cell:first-child b { background: linear-gradient(180deg, #FFB36B, var(--orange)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.cd-cell span { display: block; margin-top: 10px; font-size: 12px; font-weight: 800; letter-spacing: 0.18em; text-transform: uppercase; color: var(--dim); }
.cd-sep { font-size: clamp(2rem, 1rem + 4vw, 5rem); font-weight: 800; color: rgba(255, 255, 255, 0.18); line-height: 1.1; }
.doors-open { display: flex; align-items: center; justify-content: center; gap: 12px; margin-bottom: 56px; font-size: clamp(1.4rem, 1rem + 1.6vw, 2.2rem); font-weight: 850; letter-spacing: -0.03em; text-align: center; }
.countdown-cap { text-align: center; color: var(--muted); margin-bottom: 56px; }

.shows { display: grid; gap: 16px; }
.show {
    display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 22px; align-items: center;
    padding: 22px; border-radius: var(--radius); background: linear-gradient(180deg, var(--panel-2), var(--panel)); border: 1px solid var(--line);
    transition: border-color 200ms, transform 260ms var(--ease);
}
.show:hover { transform: translateY(-3px); border-color: var(--line-2); }
.show--next { border-color: rgba(255, 90, 31, 0.5); box-shadow: 0 30px 60px -36px rgba(255, 90, 31, 0.6); background: radial-gradient(600px 200px at 0% 0%, rgba(255, 90, 31, 0.14), transparent 70%), linear-gradient(180deg, var(--panel-2), var(--panel)); }
.show--past { opacity: 0.7; }
.show-date { width: 84px; padding: 10px 0; text-align: center; border-radius: 14px; background: rgba(7, 10, 20, 0.6); border: 1px solid var(--line-2); }
.show--next .show-date { border-color: rgba(255, 90, 31, 0.55); }
.show-mon { display: block; font-size: 12px; font-weight: 800; letter-spacing: 0.18em; text-transform: uppercase; color: var(--orange-2); }
.show-day { display: block; font-size: 2.3rem; font-weight: 900; letter-spacing: -0.05em; line-height: 1.05; }
.show-yr { display: block; font-size: 12px; color: var(--dim); font-weight: 600; }
.show-body h3 { margin-top: 8px; font-size: 1.45rem; font-weight: 850; letter-spacing: -0.03em; }
.show-body > p { margin-top: 4px; color: var(--muted); font-size: 15px; }
.show-facts { list-style: none; margin: 12px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 18px; font-size: 14px; color: var(--muted); }
.show-facts li { display: inline-flex; gap: 6px; align-items: center; }
.show-facts li::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--lime); }
.show-actions { grid-column: 1 / -1; display: flex; gap: 10px; flex-wrap: wrap; }
@media (min-width: 760px) {
    .show { grid-template-columns: auto minmax(0, 1fr) auto; }
    .show-actions { grid-column: auto; }
}

/* Lanny */
.section--lanny { overflow: hidden; }
.lanny-grid { display: grid; gap: 40px; align-items: center; }
@media (min-width: 900px) { .lanny-grid { grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 64px; } }
.lanny-stage { position: relative; display: grid; place-items: center; min-height: 420px; }
.lanny-halo {
    position: absolute; width: min(420px, 90vw); aspect-ratio: 1; border-radius: 50%;
    background:
        radial-gradient(circle, rgba(255, 90, 31, 0.32), transparent 62%),
        repeating-conic-gradient(from 0deg, rgba(182, 242, 58, 0.10) 0deg 6deg, transparent 6deg 18deg);
    mask-image: radial-gradient(circle, #000 40%, transparent 70%);
    -webkit-mask-image: radial-gradient(circle, #000 40%, transparent 70%);
    animation: spin 40s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
.lanny-btn { position: relative; background: none; border: 0; padding: 0; cursor: pointer; border-radius: 30px; }
.lanny-btn .lanny { filter: drop-shadow(0 30px 40px rgba(0, 0, 0, 0.6)); transition: transform 300ms var(--ease); }
.lanny-btn:hover .lanny { transform: scale(1.04) rotate(-2deg); }
.lanny-btn.is-hop .lanny { animation: hop 600ms var(--ease); }
@keyframes hop { 0% { transform: translateY(0) scale(1); } 30% { transform: translateY(-28px) scale(1.04, 0.96) rotate(-6deg); } 60% { transform: translateY(0) scale(1.06, 0.94); } 100% { transform: translateY(0) scale(1); } }
.lanny-hint { position: relative; margin-top: 8px; font-size: 13px; font-weight: 600; color: var(--dim); }

.rule {
    margin: 32px 0 0; padding: 22px 24px; border-radius: var(--radius);
    background: linear-gradient(135deg, rgba(255, 90, 31, 0.14), rgba(255, 90, 31, 0.02));
    border: 1px solid rgba(255, 90, 31, 0.35); position: relative;
}
.rule::before { content: "“"; position: absolute; top: -26px; left: 18px; font-size: 84px; font-weight: 900; line-height: 1; color: var(--orange); }
.rule-num { font-size: 12px; font-weight: 800; letter-spacing: 0.16em; text-transform: uppercase; color: var(--orange-2); }
.rule blockquote { margin: 8px 0 0; font-size: clamp(1.25rem, 1rem + 0.9vw, 1.7rem); font-weight: 800; letter-spacing: -0.03em; line-height: 1.25; transition: opacity 220ms, transform 220ms var(--ease); }
.rule blockquote.is-swapping { opacity: 0; transform: translateY(8px); }

.lanny-facts { margin-top: 24px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.lanny-facts div { padding: 14px; border-radius: 14px; background: var(--panel); border: 1px solid var(--line); }
.lanny-facts b { display: block; font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--dim); }
.lanny-facts span { display: block; margin-top: 4px; font-weight: 750; font-size: 15px; }
@media (max-width: 520px) { .lanny-facts { grid-template-columns: 1fr; } }

/* final CTA */
.final {
    position: relative; isolation: isolate; overflow: hidden; text-align: center;
    padding: clamp(90px, 10vw, 150px) 0;
    background:
        radial-gradient(700px 360px at 50% 110%, rgba(255, 90, 31, 0.45), transparent 70%),
        linear-gradient(180deg, var(--ink), #0C1128);
    border-top: 1px solid var(--line);
}
.beams--final i { top: -20%; height: 140%; }
.final-inner { display: flex; flex-direction: column; align-items: center; gap: 20px; }
.final h2 { font-size: clamp(2.4rem, 1.2rem + 5vw, 5rem); font-weight: 900; letter-spacing: -0.055em; line-height: 0.98; }
.final h2 em { font-style: normal; color: var(--orange-2); }
.final p { color: var(--muted); font-size: 1.15rem; }
.final .btn { margin-top: 12px; }

/* footer */
.foot { border-top: 1px solid var(--line); padding: 28px 0; background: var(--ink); }
.foot-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; font-size: 14px; color: var(--dim); }
.foot-inner > a:last-child { color: var(--muted); text-decoration: none; font-weight: 600; }
.foot-inner > a:last-child:hover { color: var(--text); }

/* reveal on scroll — content is visible by default; JS opts in */
.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity 700ms var(--ease), transform 700ms var(--ease); }
.js .reveal.is-in { opacity: 1; transform: none; }
.steps .reveal:nth-child(2) { transition-delay: 90ms; }
.steps .reveal:nth-child(3) { transition-delay: 180ms; }
.steps .reveal:nth-child(4) { transition-delay: 270ms; }

/* Lanny (same motion as the app's brand layer) */
.lanny--animated .lanny-swing { transform-origin: 110px 0; animation: lanny-swing 5s ease-in-out infinite; }
.lanny--animated .lanny-arm-left { transform-origin: 42px 168px; animation: lanny-wave 2.4s ease-in-out infinite; }
.lanny--animated .lanny-eyes { transform-origin: 110px 140px; animation: lanny-blink 5.5s infinite; }
.lanny--animated .lanny-legs { transform-origin: 110px 252px; animation: lanny-kick 2.6s ease-in-out infinite; }
.lanny-pupils { transition: transform 120ms linear; }
@keyframes lanny-swing { 0%, 100% { transform: rotate(-3deg); } 50% { transform: rotate(3deg); } }
@keyframes lanny-wave { 0%, 60%, 100% { transform: rotate(0); } 15%, 45% { transform: rotate(14deg); } 30% { transform: rotate(-6deg); } }
@keyframes lanny-blink { 0%, 92%, 100% { transform: scaleY(1); } 95% { transform: scaleY(0.1); } }
@keyframes lanny-kick { 0%, 100% { transform: rotate(0); } 50% { transform: rotate(-4deg); } }

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { animation: none !important; transition: none !important; }
    .js .reveal { opacity: 1; transform: none; }
    .js .bar-fill { width: var(--w); }
    .js .heat span { height: var(--h); }
}
