/* ============================================================
   RunEvents — Public Design System
   Modern, award-style UI for landing / events / about / contact
   ============================================================ */

/* ---------- Design tokens ---------- */
:root {
    /* Surfaces */
    --night: #0b0b0e;
    --ink: #0e0e11;
    --ink-2: #16161b;
    --ink-3: #202028;
    --cream: #f5f1e8;
    --cream-2: #ece6d8;
    --paper: #ffffff;

    /* Text */
    --t-strong: #0e0e11;
    --t-base: #2a2a32;
    --t-muted: #5c5c66;
    --t-faint: #8a8a93;
    --t-invert: #f7f4ec;
    --t-invert-muted: rgba(247, 244, 236, 0.66);

    /* Brand */
    --accent: #ff4d1c;
    --accent-2: #ffb017;
    --accent-soft: rgba(255, 77, 28, 0.12);
    --accent-dark: #d83d0f;

    /* Lines */
    --line: rgba(14, 14, 17, 0.12);
    --line-strong: rgba(14, 14, 17, 0.22);
    --line-invert: rgba(247, 244, 236, 0.16);

    /* Radius */
    --r-sm: 10px;
    --r-md: 18px;
    --r-lg: 26px;
    --r-xl: 36px;
    --r-pill: 999px;

    /* Shadow */
    --sh-1:
        0 1px 2px rgba(14, 14, 17, 0.06),
        0 8px 24px -12px rgba(14, 14, 17, 0.18);
    --sh-2: 0 24px 60px -24px rgba(14, 14, 17, 0.35);
    --sh-glow: 0 18px 50px -16px rgba(255, 77, 28, 0.55);

    /* Type */
    --font-display: "Archivo", system-ui, sans-serif;
    --font-body:
        "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

    /* Layout */
    --container: 1240px;
    --nav-h: 76px;

    --ease: cubic-bezier(0.22, 1, 0.36, 1);

    /* Alerts */
    --success: #10b981;
    --success-soft: rgba(16, 185, 129, 0.12);
    --success-dark: #059669;
}

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

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}
body {
    margin: 0;
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.65;
    color: var(--t-base);
    background: var(--cream);
    -webkit-font-smoothing: antialiased;
    -moz-osx-osmoothing: grayscale;
    overflow-x: hidden;
}

img,
svg,
video {
    display: block;
    max-width: 100%;
}
img {
    height: auto;
}
a {
    color: inherit;
    text-decoration: none;
}
button {
    font: inherit;
    cursor: pointer;
}
ul {
    margin: 0;
    padding: 0;
    list-style: none;
}
h1,
h2,
h3,
h4,
h5 {
    font-family: var(--font-display);
    font-weight: 800;
    line-height: 1.04;
    letter-spacing: -0.02em;
    color: var(--t-strong);
    margin: 0 0 0.5em;
}
p {
    margin: 0 0 1rem;
}

::selection {
    background: var(--accent);
    color: #fff;
}

/* ---------- Layout helpers ---------- */
.container {
    width: 100%;
    max-width: var(--container);
    margin-inline: auto;
    padding-inline: clamp(20px, 4vw, 40px);
}
.section {
    padding-block: clamp(64px, 9vw, 132px);
    position: relative;
}
.section--tight {
    padding-block: clamp(48px, 6vw, 88px);
}
.section--dark {
    background: var(--night);
    color: var(--t-invert);
}
.section--dark h1,
.section--dark h2,
.section--dark h3,
.section--dark h4 {
    color: #fff;
}
.section--paper {
    background: var(--paper);
}

.grid {
    display: grid;
    gap: clamp(20px, 3vw, 32px);
}
.cols-2 {
    grid-template-columns: repeat(2, 1fr);
}
.cols-3 {
    grid-template-columns: repeat(3, 1fr);
}
.span-2 {
    grid-column: span 2;
}

/* Eyebrow / kicker */
.kicker {
    display: inline-flex;
    align-items: center;
    gap: 0.55em;
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 0.76rem;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 1.1rem;
}
.kicker::before {
    content: "";
    width: 26px;
    height: 2px;
    background: var(--accent);
    display: inline-block;
}
.section--dark .kicker {
    color: var(--accent-2);
}
.section--dark .kicker::before {
    background: var(--accent-2);
}

/* Section heading block */
.lead {
    font-size: clamp(1.05rem, 1.6vw, 1.3rem);
    color: var(--t-muted);
    line-height: 1.6;
    max-width: 56ch;
}
.section--dark .lead {
    color: var(--t-invert-muted);
}

.section-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: clamp(28px, 4vw, 56px);
    flex-wrap: wrap;
}
.section-head h2 {
    font-size: clamp(2rem, 4.6vw, 3.4rem);
    margin: 0;
}

/* ---------- Buttons ---------- */
.btn {
    --bg: var(--accent);
    --fg: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.55em;
    padding: 0.95em 1.6em;
    border: 0;
    border-radius: var(--r-pill);
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 0.98rem;
    letter-spacing: 0.01em;
    line-height: 1;
    color: var(--fg);
    background: var(--bg);
    position: relative;
    overflow: hidden;
    transition:
        transform 0.35s var(--ease),
        box-shadow 0.35s var(--ease),
        background 0.25s ease;
    will-change: transform;
}
.btn i {
    font-size: 1.05em;
    transition: transform 0.35s var(--ease);
}
.btn:hover {
    transform: translateY(-3px);
    box-shadow: var(--sh-glow);
}
.btn:hover i {
    transform: translateX(4px);
}
.btn--primary {
    --bg: var(--accent);
    box-shadow: 0 12px 30px -12px rgba(255, 77, 28, 0.6);
}
.btn--primary:hover {
    background: var(--accent-dark);
}
.btn--light {
    --bg: #fff;
    --fg: var(--ink);
}
.btn--light:hover {
    box-shadow: var(--sh-2);
}
.btn--dark {
    --bg: var(--ink);
    --fg: #fff;
}
.btn--dark:hover {
    background: #000;
    box-shadow: var(--sh-2);
}
.btn--ghost {
    --bg: transparent;
    --fg: var(--t-strong);
    box-shadow: inset 0 0 0 1.5px var(--line-strong);
}
.btn--ghost:hover {
    background: var(--ink);
    color: #fff;
    box-shadow: none;
}
.btn--invert-ghost {
    --bg: transparent;
    --fg: #fff;
    box-shadow: inset 0 0 0 1.5px var(--line-invert);
}
.btn--invert-ghost:hover {
    background: #fff;
    color: var(--ink);
    box-shadow: none;
}
.btn--lg {
    padding: 1.1em 2em;
    font-size: 1.05rem;
}
.btn--block {
    width: 100%;
}
.btn--loading {
    pointer-events: none;
    opacity: 0.85;
}
.btn--loading .btn__spinner {
    display: inline-block;
    width: 1em;
    height: 1em;
    border: 2px solid rgba(255, 255, 255, 0.4);
    border-top-color: #fff;
    border-radius: 50%;
    animation: btnSpin 0.7s linear infinite;
}
@keyframes btnSpin {
    to {
        transform: rotate(360deg);
    }
}

.link-arrow {
    display: inline-flex;
    align-items: center;
    gap: 0.5em;
    font-weight: 600;
    color: var(--t-strong);
    position: relative;
}
.link-arrow i {
    transition: transform 0.3s var(--ease);
}
.link-arrow:hover i {
    transform: translateX(5px);
}
.section--dark .link-arrow {
    color: #fff;
}

/* ---------- Pills / badges ---------- */
.pill {
    display: inline-flex;
    align-items: center;
    gap: 0.45em;
    padding: 0.42em 0.85em;
    border-radius: var(--r-pill);
    font-size: 0.78rem;
    font-weight: 600;
    background: var(--accent-soft);
    color: var(--accent-dark);
    white-space: nowrap;
}
.pill i {
    font-size: 0.95em;
}
.pill--invert {
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
    backdrop-filter: blur(8px);
}
.pill--solid {
    background: var(--ink);
    color: #fff;
}
.pill--amber {
    background: rgba(255, 176, 23, 0.16);
    color: #9a6700;
}

/* ============================================================
   NAVBAR
   ============================================================ */
.nav {
    position: fixed;
    inset: 0 0 auto 0;
    z-index: 1000;
    height: var(--nav-h);
    display: flex;
    align-items: center;
    transition:
        background 0.4s ease,
        box-shadow 0.4s ease,
        height 0.4s ease,
        border-color 0.4s ease;
    border-bottom: 1px solid transparent;
}
.nav__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    width: 100%;
}
/* scrolled / solid states */
.nav.is-solid {
    background: rgba(245, 241, 232, 0.82);
    backdrop-filter: saturate(160%) blur(14px);
    -webkit-backdrop-filter: saturate(160%) blur(14px);
    border-bottom-color: var(--line);
    height: 66px;
    box-shadow: 0 10px 30px -22px rgba(14, 14, 17, 0.5);
}
.nav.is-dark .nav__brand,
.nav.is-dark .nav__link {
    color: #fff;
}
.nav.is-solid .nav__brand,
.nav.is-solid .nav__link {
    color: var(--t-strong);
}

.nav__brand {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 1.25rem;
    letter-spacing: -0.02em;
    color: #fff;
    transition: color 0.35s ease;
}
.nav__mark {
    width: auto;
    height: 60px;
}
.nav__mark img {
    width: auto;
    height: 100%;
}

.nav__links {
    display: flex;
    align-items: center;
    gap: 6px;
}
.nav__link {
    position: relative;
    padding: 0.55rem 0.9rem;
    border-radius: var(--r-pill);
    font-weight: 500;
    font-size: 0.96rem;
    color: #fff;
    transition:
        color 0.3s ease,
        background 0.3s ease;
}
.nav__link::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: 0.3rem;
    width: 0;
    height: 2px;
    background: var(--accent);
    transition:
        width 0.3s var(--ease),
        left 0.3s var(--ease);
}
.nav__link:hover {
    color: var(--accent);
}
.nav__link.is-active {
    color: var(--accent);
}
.nav__link.is-active::after {
    width: 18px;
    left: calc(50% - 9px);
}
.nav.is-solid .nav__link:hover {
    color: var(--accent);
}

.nav__cta {
    display: flex;
    align-items: center;
    gap: 12px;
}
.nav__toggle {
    display: none;
    width: 46px;
    height: 46px;
    border-radius: 12px;
    border: 0;
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
    place-items: center;
}
.nav.is-solid .nav__toggle {
    background: var(--ink);
    color: #fff;
}
.nav__toggle i {
    font-size: 1.4rem;
}

/* ---------- Mobile menu ---------- */
.menu {
    position: fixed;
    inset: 0;
    z-index: 1100;
    background: var(--night);
    color: #fff;
    display: flex;
    flex-direction: column;
    padding: 24px clamp(20px, 6vw, 48px);
    transform: translateY(-100%);
    transition: transform 0.5s var(--ease);
    overflow-y: auto;
}
.menu.is-open {
    transform: translateY(0);
}
.menu__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 32px;
}
.menu__brand {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 1.3rem;
}
.menu__close {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    border: 0;
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    font-size: 1.5rem;
}
.menu__links {
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.menu__links a {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: clamp(2rem, 9vw, 3rem);
    letter-spacing: -0.02em;
    padding: 0.35rem 0;
    color: #fff;
    border-bottom: 1px solid var(--line-invert);
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.menu__links a i {
    color: var(--accent);
    font-size: 0.5em;
    transform: translateX(-8px);
    opacity: 0;
    transition: 0.3s var(--ease);
}
.menu__links a:hover {
    color: var(--accent);
}
.menu__links a:hover i {
    transform: translateX(0);
    opacity: 1;
}
.menu__foot {
    margin-top: auto;
    padding-top: 28px;
    display: flex;
    flex-direction: column;
    gap: 14px;
}
.menu__socials {
    display: flex;
    gap: 10px;
}
.menu__socials a {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.08);
    display: grid;
    place-items: center;
    font-size: 1.1rem;
    transition: 0.3s var(--ease);
}
.menu__socials a:hover {
    background: var(--accent);
    transform: translateY(-3px);
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
    position: relative;
    min-height: 100svh;
    display: flex;
    align-items: center;
    color: #fff;
    overflow: hidden;
    isolation: isolate;
}
.hero__bg {
    position: absolute;
    inset: -5%;
    z-index: -2;
    background-color: #1a1a1f;
    background-size: cover;
    background-position: center;
    will-change: transform;
}
.hero::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background:
        linear-gradient(
            90deg,
            rgba(6, 6, 8, 0.96) 0%,
            rgba(6, 6, 8, 0.74) 42%,
            rgba(6, 6, 8, 0.4) 100%
        ),
        linear-gradient(0deg, rgba(6, 6, 8, 0.94) 0%, rgba(6, 6, 8, 0) 52%);
}
.hero__inner {
    padding-top: var(--nav-h);
    padding-bottom: var(--nav-h);
}
.hero__title {
    font-size: clamp(2.9rem, 8.2vw, 7rem);
    font-weight: 900;
    line-height: 0.96;
    letter-spacing: -0.035em;
    margin: 0 0 1.2rem;
    text-shadow: 0 2px 30px rgba(0, 0, 0, 0.45);
    color: #fff;
}
.hero__title .accent {
    color: var(--accent);
}
.hero__title .outline {
    -webkit-text-stroke: 2px rgba(255, 255, 255, 0.9);
    color: transparent;
}
.hero__sub {
    font-size: clamp(1.05rem, 1.7vw, 1.4rem);
    color: rgba(247, 244, 236, 0.94);
    max-width: 48ch;
    margin-bottom: 2.2rem;
    text-shadow: 0 1px 18px rgba(0, 0, 0, 0.55);
}
.hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    align-items: center;
}

.hero__meta {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 2;
    border-top: 1px solid var(--line-invert);
    background: rgba(8, 8, 10, 0.35);
    backdrop-filter: blur(10px);
}
.hero__meta-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding-block: 18px;
    flex-wrap: wrap;
}
.hero__meta-item {
    display: flex;
    align-items: center;
    gap: 12px;
}
.hero__meta-item i {
    color: var(--accent);
    font-size: 1.5rem;
}
.hero__meta-item b {
    display: block;
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 1.05rem;
    color: #fff;
}
.hero__meta-item span {
    font-size: 0.82rem;
    color: rgba(247, 244, 236, 0.82);
}

.scroll-hint {
    position: absolute;
    right: clamp(20px, 4vw, 40px);
    bottom: 92px;
    z-index: 3;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    color: rgba(247, 244, 236, 0.85);
    font-size: 0.72rem;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    writing-mode: vertical-rl;
}
.scroll-hint::after {
    content: "";
    width: 1px;
    height: 60px;
    background: linear-gradient(var(--accent), transparent);
    animation: scrollPulse 1.8s var(--ease) infinite;
}
@keyframes scrollPulse {
    0% {
        transform: scaleY(0);
        transform-origin: top;
        opacity: 0;
    }
    40% {
        opacity: 1;
    }
    100% {
        transform: scaleY(1);
        transform-origin: top;
        opacity: 0;
    }
}

/* ============================================================
   MARQUEE
   ============================================================ */
.marquee {
    background: var(--ink);
    color: #fff;
    border-block: 1px solid var(--ink-3);
    overflow: hidden;
    padding-block: 18px;
    --mq-duration: 28s;
}
.marquee__track {
    display: flex;
    gap: 0;
    width: max-content;
    animation: mq var(--mq-duration) linear infinite;
}
.marquee:hover .marquee__track {
    animation-play-state: paused;
}
.marquee__item {
    display: inline-flex;
    align-items: center;
    gap: 28px;
    font-family: var(--font-display);
    font-weight: 800;
    font-size: clamp(1.3rem, 2.6vw, 2rem);
    letter-spacing: -0.01em;
    padding-right: 28px;
    text-transform: uppercase;
}
.marquee__item .dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--accent);
    flex: none;
}
.marquee__item .outline {
    -webkit-text-stroke: 1.4px rgba(255, 255, 255, 0.55);
    color: transparent;
}
@keyframes mq {
    to {
        transform: translateX(-50%);
    }
}

/* ============================================================
   STATS BAND
   ============================================================ */
.stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1px;
    background: var(--line-invert);
    border: 1px solid var(--line-invert);
    border-radius: var(--r-lg);
    overflow: hidden;
}
.stat {
    background: var(--night);
    padding: clamp(26px, 3vw, 44px);
    text-align: left;
}
.stat__num {
    font-family: var(--font-display);
    font-weight: 900;
    font-size: clamp(2.4rem, 5vw, 3.8rem);
    line-height: 1;
    letter-spacing: -0.03em;
    color: #fff;
}
.stat__num .plus {
    color: var(--accent);
}
.stat__label {
    margin-top: 0.6rem;
    color: var(--t-invert-muted);
    font-size: 0.92rem;
    letter-spacing: 0.02em;
}

/* ============================================================
   FEATURE / VALUE CARDS
   ============================================================ */
.feature {
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: var(--r-lg);
    padding: clamp(26px, 3vw, 38px);
    height: 100%;
    transition:
        transform 0.4s var(--ease),
        box-shadow 0.4s var(--ease),
        border-color 0.4s ease;
    position: relative;
    overflow: hidden;
}
.feature::before {
    content: "";
    position: absolute;
    inset: auto -40% -40% auto;
    width: 200px;
    height: 200px;
    background: radial-gradient(
        circle at center,
        var(--accent-soft),
        transparent 70%
    );
    opacity: 0;
    transition: opacity 0.5s ease;
}
.feature:hover {
    transform: translateY(-6px);
    box-shadow: var(--sh-2);
    border-color: transparent;
}
.feature:hover::before {
    opacity: 1;
}
.feature__icon {
    width: 58px;
    height: 58px;
    border-radius: 16px;
    background: var(--ink);
    color: #fff;
    display: grid;
    place-items: center;
    font-size: 1.5rem;
    margin-bottom: 22px;
    transition:
        background 0.4s ease,
        transform 0.4s var(--ease);
}
.feature:hover .feature__icon {
    background: var(--accent);
    transform: rotate(-6deg) scale(1.05);
}
.feature h3 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
}
.feature p {
    color: var(--t-muted);
    margin: 0;
    font-size: 0.97rem;
}

/* ============================================================
   EVENT CARD
   ============================================================ */
.event-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: clamp(20px, 2.5vw, 32px);
}
.ecard {
    position: relative;
    display: flex;
    flex-direction: column;
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: var(--r-lg);
    overflow: hidden;
    transition:
        transform 0.45s var(--ease),
        box-shadow 0.45s var(--ease),
        border-color 0.4s ease;
    height: 100%;
}
.ecard:hover {
    transform: translateY(-8px);
    box-shadow: var(--sh-2);
    border-color: transparent;
}
.ecard__media {
    position: relative;
    aspect-ratio: 16 / 11;
    overflow: hidden;
    background: linear-gradient(135deg, var(--ink-2), var(--ink));
}
.ecard__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s var(--ease);
}
.ecard:hover .ecard__media img {
    transform: scale(1.08);
}
.ecard__media::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        180deg,
        rgba(8, 8, 10, 0.05) 30%,
        rgba(8, 8, 10, 0.7) 100%
    );
}
.ecard__placeholder {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    color: rgba(255, 255, 255, 0.35);
    font-size: 3rem;
}
.ecard__topbar {
    position: absolute;
    top: 14px;
    left: 14px;
    right: 14px;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}
.ecard__date {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    line-height: 1;
    background: #fff;
    color: var(--ink);
    border-radius: 12px;
    padding: 8px 12px;
    min-width: 56px;
    box-shadow: var(--sh-1);
}
.ecard__date b {
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 1.4rem;
}
.ecard__date span {
    font-size: 0.68rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--t-muted);
    margin-top: 2px;
}

.ecard__fav {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    border: 0;
    background: rgba(255, 255, 255, 0.14);
    backdrop-filter: blur(8px);
    color: #fff;
    display: grid;
    place-items: center;
    font-size: 1rem;
    transition: 0.3s var(--ease);
}
.ecard__fav:hover {
    background: var(--accent);
    transform: scale(1.08);
}

.ecard__body {
    padding: clamp(18px, 2vw, 26px);
    display: flex;
    flex-direction: column;
    flex: 1;
}
.ecard__cat {
    font-size: 0.74rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--accent);
    font-weight: 600;
    margin-bottom: 8px;
}
.ecard__title {
    font-size: 1.32rem;
    margin-bottom: 12px;
}
.ecard__title a {
    transition: color 0.3s ease;
}
.ecard:hover .ecard__title a {
    color: var(--accent);
}
.ecard__meta {
    display: flex;
    flex-direction: column;
    gap: 7px;
    color: var(--t-muted);
    font-size: 0.92rem;
    margin-bottom: 18px;
}
.ecard__meta i {
    color: var(--accent);
    margin-right: 8px;
}
.ecard__foot {
    margin-top: auto;
    padding-top: 18px;
    border-top: 1px dashed var(--line);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}
.ecard__link {
    display: inline-flex;
    align-items: center;
    gap: 0.5em;
    font-weight: 600;
    color: var(--ink);
}
.ecard__link i {
    transition: transform 0.3s var(--ease);
    color: var(--accent);
}
.ecard:hover .ecard__link i {
    transform: translateX(5px);
}

/* ============================================================
   FILTER BAR (events index)
   ============================================================ */
.toolbar {
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: var(--r-lg);
    padding: 18px;
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    align-items: flex-end;
    box-shadow: var(--sh-1);
}
.field {
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.field label {
    font-size: 0.76rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--t-muted);
    font-weight: 600;
}
.field input,
.field select,
.field textarea {
    appearance: none;
    border: 1.5px solid var(--line);
    background-color: transparent;
    border-radius: 12px;
    padding: 0.8rem 1rem;
    font: inherit;
    color: var(--t-strong);
    transition:
        border-color 0.25s ease,
        box-shadow 0.25s ease;
    min-width: 180px;
}
.field input:focus,
.field select:focus,
.field textarea:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 4px var(--accent-soft);
}
.toolbar__spacer {
    flex: 1;
}

/* page header (inner pages) */
.page-head {
    background: var(--night);
    color: #fff;
    padding-top: calc(var(--nav-h) + clamp(40px, 8vw, 110px));
    padding-bottom: clamp(40px, 6vw, 80px);
    position: relative;
    overflow: hidden;
    isolation: isolate;
}
.page-head__bg {
    position: absolute;
    inset: 0;
    z-index: -1;
    background-size: cover;
    background-position: center;
    opacity: 0.26;
}
.page-head::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background: linear-gradient(
        180deg,
        rgba(11, 11, 14, 0.7),
        rgba(11, 11, 14, 0.92)
    );
}
.breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    color: var(--t-invert-muted);
    margin-bottom: 18px;
}
.breadcrumb a:hover {
    color: var(--accent);
}
.breadcrumb i {
    font-size: 0.7rem;
    opacity: 0.6;
}
.page-head h1 {
    color: #fff;
    font-size: clamp(2.4rem, 6vw, 4.4rem);
    margin-bottom: 0.6rem;
}
.page-head p {
    color: var(--t-invert-muted);
    max-width: 60ch;
    margin: 0;
}

/* pagination */
.pager {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    margin-top: 48px;
}
.pager a,
.pager span {
    min-width: 46px;
    height: 46px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    border: 1.5px solid var(--line);
    background: var(--paper);
    color: var(--t-strong);
    font-weight: 600;
    padding-inline: 12px;
    transition: 0.25s var(--ease);
}
.pager a:hover {
    border-color: var(--accent);
    color: var(--accent);
    transform: translateY(-2px);
}
.pager .active,
.pager span[aria-current] {
    background: var(--ink);
    color: #fff;
    border-color: var(--ink);
}
.pager .disabled {
    opacity: 0.4;
    pointer-events: none;
}

/* empty state */
.empty {
    text-align: center;
    padding: clamp(40px, 7vw, 90px) 24px;
    border: 1px dashed var(--line-strong);
    border-radius: var(--r-lg);
    background: var(--paper);
}
.empty i {
    font-size: 3rem;
    color: var(--accent);
    margin-bottom: 16px;
}
.empty h3 {
    font-size: 1.6rem;
}

/* ============================================================
   EVENT DETAIL (show)
   ============================================================ */
.detail-hero {
    position: relative;
    color: #fff;
    overflow: hidden;
    isolation: isolate;
    min-height: 62vh;
    display: flex;
    align-items: flex-end;
}
.detail-hero__bg {
    position: absolute;
    inset: -3%;
    z-index: -2;
    background-size: cover;
    background-position: center;
    will-change: transform;
}
.detail-hero::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background: linear-gradient(
        0deg,
        rgba(8, 8, 10, 0.92) 0%,
        rgba(8, 8, 10, 0.35) 60%,
        rgba(8, 8, 10, 0.55) 100%
    );
}
.detail-hero__inner {
    padding-top: calc(var(--nav-h) + 40px);
    padding-bottom: 48px;
    width: 100%;
}
.detail-hero h1 {
    color: #fff;
    font-size: clamp(2.2rem, 5.5vw, 4rem);
    max-width: 18ch;
}
.detail-hero__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 14px 26px;
    margin-top: 20px;
}
.detail-hero__meta div {
    display: flex;
    align-items: center;
    gap: 10px;
}
.detail-hero__meta i {
    color: var(--accent);
    font-size: 1.2rem;
}

.distance-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 16px;
}
.distance {
    border: 1.5px solid var(--line);
    border-radius: var(--r-md);
    padding: 22px;
    background: var(--paper);
    display: flex;
    flex-direction: column;
    gap: 8px;
    transition: 0.35s var(--ease);
    position: relative;
    overflow: hidden;
}
.distance::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: var(--accent);
    transform: scaleY(0);
    transform-origin: top;
    transition: transform 0.4s var(--ease);
}
.distance:hover {
    transform: translateY(-4px);
    box-shadow: var(--sh-1);
    border-color: transparent;
}
.distance:hover::before {
    transform: scaleY(1);
}
.distance__label {
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 1.25rem;
}
.distance__km {
    color: var(--t-muted);
    font-size: 0.9rem;
}
.distance__km b {
    color: var(--ink);
}
.distance__time {
    color: var(--t-muted);
    font-size: 0.9rem;
}
.distance__fee {
    margin-top: auto;
    padding-top: 12px;
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 1.4rem;
}
.distance__fee .free {
    color: #16a34a;
}

.info-card {
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: var(--r-lg);
    padding: clamp(22px, 2.5vw, 30px);
    box-shadow: var(--sh-1);
}
.info-card h3 {
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--t-muted);
    margin-bottom: 16px;
}
.info-row {
    display: flex;
    gap: 14px;
    padding: 12px 0;
    border-bottom: 1px solid var(--line);
}
.info-row:last-child {
    border-bottom: 0;
}
.info-row i {
    color: var(--accent);
    font-size: 1.15rem;
    margin-top: 2px;
}
.info-row b {
    display: block;
    color: var(--t-strong);
}
.info-row span {
    color: var(--t-muted);
    font-size: 0.9rem;
}

.prose {
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--t-base);
}
.prose p {
    margin-bottom: 1.2rem;
}

/* Legal / policy pages */
.legal {
    max-width: 860px;
}
.legal h2 {
    font-size: 1.35rem;
    margin: 2.4rem 0 0.9rem;
}
.legal h2:first-child {
    margin-top: 0;
}
.legal h1 {
    font-size: 1.7rem;
    margin: 2.4rem 0 0.9rem;
}
.legal h3 {
    font-size: 1.1rem;
    margin: 1.6rem 0 0.7rem;
}
.legal ul,
.legal ol {
    margin: 0 0 1.2rem;
    padding-left: 1.25rem;
    list-style: disc;
}
.legal ol {
    list-style: decimal;
}
.legal blockquote {
    margin: 0 0 1.2rem;
    padding-left: 1rem;
    border-left: 3px solid var(--accent);
    color: var(--t-muted);
}
.legal img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    margin: 0 0 1.2rem;
}
.legal li {
    margin-bottom: 0.5rem;
}
.legal a {
    color: var(--accent);
    text-decoration: underline;
}

.badge {
    display: inline-block;
    padding: 3px 8px;
    border-radius: 6px;
    background: #16a34a;
    color: #fff;
    font-size: 0.8rem;
    font-weight: 500;
    margin-right: 4px;
    margin-bottom: 4px;
}

.badge--primary {
    background: var(--accent-soft);
    color: var(---night) !important;
}

/* ============================================================
   ABOUT PAGE
   ============================================================ */
.split {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: clamp(28px, 5vw, 72px);
    align-items: center;
}
.media-card {
    position: relative;
    border-radius: var(--r-xl);
    overflow: hidden;
    box-shadow: var(--sh-2);
    aspect-ratio: 4 / 5;
}
.event-detail__grid {
    display: grid;
    grid-template-columns: 1.4fr 0.9fr;
    align-items: start;
    gap: clamp(28px, 5vw, 72px);
}
.event-detail__sidebar {
    display: flex;
    flex-direction: column;
    gap: 20px;
    position: sticky;
    top: 90px;
}
.media-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.media-card__chip {
    position: absolute;
    left: 18px;
    bottom: 18px;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(8px);
    border-radius: var(--r-md);
    padding: 16px 20px;
    display: flex;
    align-items: center;
    gap: 14px;
}
.media-card__chip b {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 900;
    color: var(--accent);
}
.media-card__chip span {
    font-size: 0.85rem;
    color: var(--t-muted);
}

.values {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: clamp(20px, 3vw, 32px);
}

.step {
    display: flex;
    gap: 22px;
    align-items: flex-start;
}
.step__num {
    font-family: var(--font-display);
    font-weight: 900;
    font-size: 1.6rem;
    color: var(--accent);
    flex: none;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    border: 2px solid var(--line);
    display: grid;
    place-items: center;
    background: var(--paper);
}
.step h4 {
    font-size: 1.2rem;
    margin-bottom: 0.35rem;
}
.step p {
    color: var(--t-muted);
    margin: 0;
}

/* timeline */
.timeline {
    position: relative;
    padding-left: 28px;
}
.timeline::before {
    content: "";
    position: absolute;
    left: 7px;
    top: 6px;
    bottom: 6px;
    width: 2px;
    background: var(--line);
}
.tl-item {
    position: relative;
    padding-bottom: 38px;
}
.tl-item:last-child {
    padding-bottom: 0;
}
.tl-item::before {
    content: "";
    position: absolute;
    left: -28px;
    top: 4px;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: var(--accent);
    box-shadow: 0 0 0 4px var(--cream);
}
.section--dark .tl-item::before {
    box-shadow: 0 0 0 4px var(--night);
}
.tl-item b {
    font-family: var(--font-display);
    font-size: 1.15rem;
}
.tl-item .yr {
    font-size: 0.8rem;
    color: var(--accent);
    font-weight: 700;
    letter-spacing: 0.1em;
}
.tl-item p {
    color: var(--t-muted);
    margin: 6px 0 0;
}
.section--dark .tl-item p {
    color: var(--t-invert-muted);
}

/* ============================================================
   CONTACT PAGE
   ============================================================ */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(28px, 4vw, 56px);
    align-items: start;
}
.contact-info {
    display: flex;
    flex-direction: column;
    gap: 18px;
}
.contact-line {
    display: flex;
    gap: 16px;
    border: 1px solid var(--line);
    border-radius: var(--r-md);
    padding: 18px 20px;
    background: var(--paper);
    transition: 0.3s var(--ease);
}
.contact-line:hover {
    border-color: var(--accent);
    transform: translateX(4px);
}
.contact-line__icon {
    width: 50px;
    height: 50px;
    border-radius: 14px;
    background: var(--ink);
    color: #fff;
    display: grid;
    place-items: center;
    font-size: 1.2rem;
    flex: none;
}
.contact-line p {
    color: var(--t-muted);
    font-size: 0.82rem;
    margin-bottom: 0px;
}
.contact-line b {
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 1.05rem;
}

.form {
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: var(--r-lg);
    padding: clamp(24px, 3vw, 40px);
    box-shadow: var(--sh-1);
}
.form .field {
    margin-bottom: 18px;
}
.form .grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
}
.form textarea {
    resize: vertical;
    min-height: 130px;
}
.form__foot {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 14px;
    margin-top: 8px;
    flex-wrap: wrap;
}
.form__note {
    color: var(--t-muted);
    font-size: 0.85rem;
}

.map-embed {
    border-radius: var(--r-lg);
    overflow: hidden;
    border: 1px solid var(--line);
    box-shadow: var(--sh-1);
    aspect-ratio: 21 / 9;
    background: var(--ink-2);
}
.map-embed iframe {
    width: 100%;
    height: 100%;
    border: 0;
    filter: grayscale(0.3) contrast(1.05);
}

/* ============================================================
   CTA BAND
   ============================================================ */
.cta {
    position: relative;
    border-radius: var(--r-xl);
    overflow: hidden;
    background: var(--ink);
    color: #fff;
    padding: clamp(40px, 6vw, 80px);
    isolation: isolate;
}
.cta__bg {
    position: absolute;
    inset: 0;
    z-index: -1;
    opacity: 0.3;
    background-size: cover;
    background-position: center;
}
.cta::before {
    content: "";
    position: absolute;
    right: -10%;
    top: -40%;
    width: 60%;
    height: 160%;
    background: radial-gradient(circle, var(--accent-soft), transparent 60%);
    z-index: -1;
}
.cta h2 {
    color: #fff;
    font-size: clamp(2rem, 5vw, 3.6rem);
    max-width: 16ch;
}
.cta p {
    color: var(--t-invert-muted);
    max-width: 50ch;
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
    background: var(--night);
    color: var(--t-invert-muted);
}
.footer__top {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
    gap: clamp(28px, 4vw, 56px);
    padding-bottom: 48px;
    border-bottom: 1px solid var(--line-invert);
}
.footer__brand {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 1.3rem;
    color: #fff;
    margin-bottom: 18px;
}
.footer__about {
    max-width: 34ch;
    font-size: 0.95rem;
}
.footer h5 {
    color: #fff;
    font-size: 0.8rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    margin-bottom: 18px;
}
.footer__links li {
    margin-bottom: 10px;
}
.footer__links a {
    transition: 0.25s ease;
}
.footer__links a:hover {
    color: var(--accent);
    padding-left: 4px;
}
.footer__socials {
    display: flex;
    gap: 10px;
    margin-top: 4px;
}
.footer__socials a {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.06);
    display: grid;
    place-items: center;
    font-size: 1.05rem;
    transition: 0.3s var(--ease);
}
.footer__socials a:hover {
    background: var(--accent);
    transform: translateY(-3px);
}
.footer__news {
    display: flex;
    gap: 8px;
    margin-top: 4px;
}
.footer__news input {
    flex: 1;
    min-width: 0;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid var(--line-invert);
    border-radius: 12px;
    padding: 0.7rem 1rem;
    color: #fff;
}
.footer__news input::placeholder {
    color: var(--t-invert-muted);
}
.footer__news input:focus {
    outline: none;
    border-color: var(--accent);
}
.footer__news button {
    flex: none;
}
.footer__bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    padding-block: 26px;
    font-size: 0.85rem;
    flex-wrap: wrap;
}
.footer__bottom a {
    color: var(--accent);
}

.footer__bottom a:hover {
    color: var(--accent-dark);
}

/* ============================================================
   APP DOWNLOAD PROMO (event detail)
   ============================================================ */
.apppromo {
    position: relative;
}
.apppromo__grid {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: clamp(28px, 5vw, 72px);
    align-items: center;
}
.apppromo__copy h2 {
    font-size: clamp(1.9rem, 4vw, 3rem);
}
.apppromo__stores {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 28px;
}
.store-badge {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: var(--ink);
    color: #fff;
    border-radius: 14px;
    padding: 11px 20px;
    transition:
        transform 0.35s var(--ease),
        box-shadow 0.35s var(--ease),
        background 0.25s ease;
    min-width: 168px;
}
.store-badge:hover {
    transform: translateY(-3px);
    box-shadow: var(--sh-2);
    background: #000;
}
.store-badge__icon {
    font-size: 1.9rem;
    flex: none;
    line-height: 1;
}
.store-badge__icon svg {
    width: 1.5em;
    height: 1.5em;
    fill: currentColor;
}
.store-badge__text {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
    text-align: left;
}
.store-badge__text small {
    font-size: 0.64rem;
    letter-spacing: 0.04em;
    opacity: 0.82;
}
.store-badge__text b {
    font-family: var(--font-body);
    font-weight: 700;
    font-size: 1.02rem;
}
.store-badge--light {
    background: #fff;
    color: var(--ink);
    border: 1px solid var(--line);
}
.store-badge--light:hover {
    background: #fff;
    box-shadow: var(--sh-2);
}
.apppromo__note {
    color: var(--t-muted);
    font-size: 0.85rem;
    margin-top: 18px;
}
.apppromo__note i {
    color: var(--accent);
}

/* phone mockup */
.apppromo__device {
    display: flex;
    justify-content: center;
}
/* full-block promo image (set from Site Settings › App › Promo image) */
.apppromo__device--image {
    display: block;
    width: 100%;
}
.apppromo__image {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 24px;
    object-fit: cover;
    box-shadow: var(--sh-2);
}
.phone {
    position: relative;
    width: min(290px, 76vw);
    aspect-ratio: 9 / 19;
    background: var(--ink);
    border: 1px solid #000;
    border-radius: 42px;
    padding: 11px;
    box-shadow:
        var(--sh-2),
        inset 0 0 0 2px rgba(255, 255, 255, 0.05);
}
.phone::before {
    content: "";
    position: absolute;
    left: -2px;
    top: 22%;
    width: 3px;
    height: 13%;
    background: #000;
    border-radius: 2px;
}
.phone__screen {
    position: relative;
    width: 100%;
    height: 100%;
    border-radius: 32px;
    overflow: hidden;
    background: var(--cream);
    display: flex;
    flex-direction: column;
}
.phone__notch {
    position: absolute;
    top: 9px;
    left: 50%;
    transform: translateX(-50%);
    width: 40%;
    height: 19px;
    background: #000;
    border-radius: 14px;
    z-index: 6;
}
.app-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 32px 16px 10px;
    font-size: 0.68rem;
    color: var(--ink);
    font-weight: 600;
}
.app-bar .right {
    display: inline-flex;
    gap: 6px;
    align-items: center;
}
.app-cover {
    position: relative;
    aspect-ratio: 16 / 10;
    margin: 0 13px;
    border-radius: 15px;
    overflow: hidden;
    background: linear-gradient(135deg, var(--ink-2), var(--ink));
}
.app-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.app-lock {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    background: rgba(11, 11, 14, 0.52);
    backdrop-filter: blur(3.5px);
    -webkit-backdrop-filter: blur(3.5px);
    color: #fff;
    text-align: center;
    padding: 12px;
}
.app-lock i {
    font-size: 1.5rem;
    color: var(--accent);
}
.app-lock span {
    display: block;
    font-size: 0.66rem;
    margin-top: 6px;
    font-weight: 600;
    line-height: 1.4;
}
.app-title {
    padding: 11px 16px 2px;
}
.app-title b {
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 0.92rem;
    color: var(--ink);
    display: block;
    line-height: 1.15;
}
.app-title small {
    color: var(--t-muted);
    font-size: 0.66rem;
}
.app-title small i {
    color: var(--accent);
}
.app-rows {
    padding: 7px 16px;
    display: flex;
    flex-direction: column;
    gap: 7px;
}
.app-row {
    display: flex;
    align-items: center;
    gap: 10px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 12px;
    padding: 7px 9px;
}
.app-row__dot {
    width: 28px;
    height: 28px;
    border-radius: 8px;
    background: var(--accent-soft);
    color: var(--accent-dark);
    display: grid;
    place-items: center;
    font-size: 0.8rem;
    flex: none;
}
.app-row__line {
    flex: 1;
    min-width: 0;
}
.app-row__line b {
    display: block;
    font-size: 0.7rem;
    color: var(--ink);
}
.app-row__line span {
    font-size: 0.6rem;
    color: var(--t-muted);
}
.app-row--locked {
    filter: blur(4px);
    opacity: 0.55;
    user-select: none;
    pointer-events: none;
}
.app-cta {
    margin: auto 13px 13px;
    text-align: center;
    background: var(--accent);
    color: #fff;
    border-radius: 13px;
    padding: 9px;
    font-size: 0.72rem;
    font-weight: 700;
    box-shadow: 0 10px 22px -10px rgba(255, 77, 28, 0.8);
}
.app-cta i {
    margin-right: 6px;
}

/* ============================================================
   UTILITIES / HELPERS
   ============================================================ */
.text-center {
    text-align: center;
}
.mx-auto {
    margin-inline: auto;
}
.mt-0 {
    margin-top: 0;
}
.mt-2 {
    margin-top: 2rem;
}
.flex {
    display: flex;
}
.items-center {
    align-items: center;
}
.justify-center {
    justify-content: center;
}
.gap-sm {
    gap: 10px;
}
.gap {
    gap: 18px;
}
.wrap {
    flex-wrap: wrap;
}
.hide-sm {
}
.stack {
    display: flex;
    flex-direction: column;
}
.hide {
    display: none !important;
}
.bg-accent {
    background: var(--accent);
    color: #fff;
}

/* GSAP initial states — applied via JS to keep no-JS content visible */
.will-reveal {
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
    .footer__top {
        grid-template-columns: 1fr 1fr;
    }
    .footer__brand-col {
        grid-column: span 2;
    }
}
@media (max-width: 900px) {
    .nav__links,
    .nav__cta .btn {
        display: none;
    }
    .nav__toggle {
        display: grid;
    }
    .cols-3 {
        grid-template-columns: 1fr 1fr;
    }
    .values {
        grid-template-columns: 1fr;
    }
    .split {
        grid-template-columns: 1fr;
    }
    .split .media-card {
        aspect-ratio: 16/12;
        order: -1;
    }
    .stats {
        grid-template-columns: 1fr 1fr;
    }
    .contact-grid {
        grid-template-columns: 1fr;
    }
    .scroll-hint {
        display: none;
    }
    .apppromo__grid {
        grid-template-columns: 1fr;
    }
    .apppromo__device {
        order: -1;
    }
    .event-detail__grid {
        grid-template-columns: 1fr;
    }
    .event-detail__sidebar {
        position: static;
        top: auto;
    }
}
@media (max-width: 620px) {
    .cols-2,
    .cols-3 {
        grid-template-columns: 1fr;
    }
    .stats {
        grid-template-columns: 1fr;
    }
    .form .grid-2 {
        grid-template-columns: 1fr;
    }
    .footer__top {
        grid-template-columns: 1fr;
    }
    .footer__brand-col {
        grid-column: span 1;
    }
    .hero {
        flex-direction: column;
        justify-content: space-between;
        align-items: stretch;
        min-height: 100svh;
        height: auto;
    }
    .hero__inner {
        padding-bottom: 24px;
    }
    .hero__meta {
        position: static;
    }
    .hero__meta-inner {
        gap: 16px;
    }
    .hero__actions {
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
    }
    .hero__actions .btn {
        width: 100%;
    }
    .detail-hero__meta {
        gap: 12px;
    }
    .menu__links a {
        font-size: clamp(1.25rem, 8vw, 1rem);
    }
}
@media (max-height: 700px) {
    .hero {
        flex-direction: column;
        justify-content: center;
        align-items: stretch;
        height: auto;
    }
    .hero__inner {
        padding-top: calc(var(--nav-h) + 16px);
        padding-bottom: 16px;
    }
    .hero__title {
        font-size: clamp(2.2rem, 6vw, 4.5rem);
    }
    .hero__meta {
        position: static;
    }
    .scroll-hint {
        display: none;
    }
}

/* ============================================================
   BACK TO TOP BUTTON
   ============================================================ */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 999;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: var(--accent);
    color: #ffffff;
    border: none;
    outline: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    box-shadow: 0 10px 25px rgba(255, 77, 28, 0.4);
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px) scale(0.9);
    transition: all 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}
.back-to-top.is-visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
}
.back-to-top:hover {
    background: var(--accent-dark);
    transform: translateY(-4px) scale(1.05);
    box-shadow: 0 14px 30px rgba(255, 77, 28, 0.55);
}
.back-to-top:active {
    transform: translateY(-1px) scale(0.98);
}
.back-to-top:focus-visible {
    outline: 2px solid #ffffff;
    outline-offset: 3px;
}
@media (max-width: 620px) {
    .back-to-top {
        bottom: 20px;
        right: 20px;
        width: 42px;
        height: 42px;
        font-size: 1.1rem;
    }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.001ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.001ms !important;
        scroll-behavior: auto !important;
    }
    .marquee__track {
        animation: none !important;
    }
}
