﻿@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@400;500;600;700&family=Space+Grotesk:wght@300;400;500;600;700&display=swap');

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

html {
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
    scroll-behavior: smooth;
    scroll-padding-top: var(--nav-height, 88px);
}

body {
    margin: 0;
    line-height: 1.6;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
    font-family: var(--font-body, "Space Grotesk", sans-serif);
    background: var(--bg);
    color: var(--text);
    overflow: hidden;
    scroll-padding-top: var(--nav-height, 88px);
    position: relative;
    isolation: isolate;
}

body.track-open {
    overflow: auto;
}

body.popup-open {
    overflow: hidden;
}

img,
picture,
video,
canvas,
svg {
    display: block;
    max-width: 100%;
}

input,
button,
textarea,
select {
    font: inherit;
    color: inherit;
}

p,
h1,
h2,
h3,
h4,
h5,
h6 {
    margin: 0;
    overflow-wrap: break-word;
}

a {
    color: inherit;
    text-decoration: none;
}

:root {
    --nav-height: 88px;
    --font-display: "Orbitron", "Rajdhani", sans-serif;
    --font-body: "Space Grotesk", "Manrope", "Segoe UI", sans-serif;
}

body[data-theme="dark"] {
    --bg: #070b14;
    --bg-2: #0b1224;
    --surface: rgba(12, 18, 34, 0.7);
    --surface-strong: rgba(18, 26, 48, 0.9);
    --text: #e8f0ff;
    --muted: #aab6d4;
    --accent: #7bd5ff;
    --accent-2: #9c6bff;
    --accent-3: #4be1ff;
    --border: rgba(120, 140, 220, 0.25);
    --shadow: 0 24px 60px rgba(8, 12, 28, 0.6);
    --glow: 0 0 60px rgba(125, 210, 255, 0.35);
}

body[data-theme="light"] {
    --bg: #f1f4ff;
    --bg-2: #e7ecff;
    --surface: rgba(255, 255, 255, 0.94);
    --surface-strong: rgba(255, 255, 255, 0.98);
    --text: #0b1020;
    --muted: #3a4a6a;
    --accent: #1f5cff;
    --accent-2: #6b3dff;
    --accent-3: #1f9dff;
    --border: rgba(20, 40, 100, 0.28);
    --shadow: 0 18px 40px rgba(20, 30, 70, 0.16);
    --glow: 0 0 40px rgba(31, 92, 255, 0.28);
}

body::before,
body::after {
    content: "";
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: -1;
}

body::before {
    background:
        radial-gradient(circle at 20% 20%, rgba(124, 210, 255, 0.25), transparent 45%),
        radial-gradient(circle at 80% 10%, rgba(156, 107, 255, 0.18), transparent 45%),
        radial-gradient(circle at 70% 80%, rgba(75, 225, 255, 0.2), transparent 50%),
        radial-gradient(circle at 10% 80%, rgba(156, 107, 255, 0.16), transparent 55%),
        linear-gradient(120deg, rgba(18, 32, 70, 0.6), rgba(5, 10, 25, 0.9));
    opacity: 0.9;
}

body::after {
    background-image:
        radial-gradient(circle, rgba(255, 255, 255, 0.25) 0 1px, transparent 1px),
        radial-gradient(circle, rgba(128, 200, 255, 0.2) 0 1px, transparent 1px),
        radial-gradient(circle, rgba(150, 120, 255, 0.2) 0 1px, transparent 1px);
    background-size: 140px 140px, 180px 180px, 220px 220px;
    background-position: 0 0, 40px 60px, 80px 20px;
    mix-blend-mode: screen;
    opacity: 0.35;
    animation: dust-drift 70s linear infinite, star-twinkle 12s ease-in-out infinite;
}

body[data-theme="light"]::before {
    background:
        radial-gradient(circle at 20% 20%, rgba(84, 120, 255, 0.22), transparent 45%),
        radial-gradient(circle at 80% 10%, rgba(130, 90, 255, 0.18), transparent 45%),
        radial-gradient(circle at 70% 80%, rgba(50, 145, 255, 0.2), transparent 50%),
        radial-gradient(circle at 10% 80%, rgba(130, 90, 255, 0.12), transparent 55%),
        linear-gradient(120deg, rgba(240, 244, 255, 0.96), rgba(215, 224, 255, 0.92));
}

body[data-theme="light"]::after {
    opacity: 0.24;
    mix-blend-mode: multiply;
}

@keyframes dust-drift {
    0% {
        transform: translate3d(0, 0, 0);
    }
    100% {
        transform: translate3d(-120px, 80px, 0);
    }
}

@keyframes star-twinkle {
    0%,
    100% {
        opacity: 0.32;
    }
    50% {
        opacity: 0.46;
    }
}

@keyframes tile-rise {
    0% {
        opacity: 0;
        transform: translateY(16px) scale(0.98);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@keyframes aurora-drift {
    0% {
        transform: translate3d(-8px, -6px, 0);
    }
    50% {
        transform: translate3d(10px, 8px, 0);
    }
    100% {
        transform: translate3d(-8px, -6px, 0);
    }
}

@keyframes sheen-glide {
    0% {
        opacity: 0.25;
        transform: translate3d(0, 0, 0);
    }
    50% {
        opacity: 0.5;
        transform: translate3d(-18px, 8px, 0);
    }
    100% {
        opacity: 0.25;
        transform: translate3d(0, 0, 0);
    }
}

@keyframes logo-float {
    0%,
    100% {
        transform: translateY(-39%);
    }
    50% {
        transform: translateY(-46%);
    }
}

@keyframes glow-pulse {
    0%,
    100% {
        box-shadow: 0 0 10px rgba(123, 213, 255, 0.5);
    }
    50% {
        box-shadow: 0 0 18px rgba(156, 107, 255, 0.65);
    }
}

@keyframes cta-sweep {
    0% {
        transform: translateX(-120%);
        opacity: 0;
    }
    30% {
        opacity: 0.35;
    }
    60%,
    100% {
        transform: translateX(120%);
        opacity: 0;
    }
}

@keyframes slide-fade {
    0%,
    28% {
        opacity: 1;
    }
    33%,
    100% {
        opacity: 0;
    }
}

@media (prefers-reduced-motion: reduce) {
    * {
        animation: none !important;
        transition: none !important;
        scroll-behavior: auto !important;
    }
}

.site {
    position: relative;
    z-index: 1;
}

.lang {
    display: none;
}

body[data-lang="en"] .lang-en {
    display: revert;
}

body[data-lang="de"] .lang-de {
    display: revert;
}

.hero {
    position: relative;
    height: 100svh;
    overflow: hidden;
    padding-top: var(--nav-height, 88px);
    box-sizing: border-box;
}

.hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 25% 25%, rgba(123, 213, 255, 0.18), transparent 55%),
        radial-gradient(circle at 75% 75%, rgba(156, 107, 255, 0.14), transparent 50%);
    opacity: 0.6;
    animation: aurora-drift 18s ease-in-out infinite;
    pointer-events: none;
    z-index: 1;
}

.hero__top {
    position: absolute;
    top: clamp(1rem, 3vw, 2.5rem);
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    display: flex;
    justify-content: center;
}

.brand-logo {
    width: clamp(140px, 22vw, 220px);
    filter: drop-shadow(0 12px 40px rgba(80, 140, 255, 0.5));
}

.hero__tiles {
    display: flex;
    height: 100%;
    padding-top: 0;
    transition: opacity 0.45s ease;
    will-change: opacity;
}

body.gsap-active .hero__tiles,
body.gsap-active .tile,
body.gsap-active .tile__controls,
body.gsap-active .tile__slideshow,
body.gsap-active .tile__dots {
    transition: none !important;
}

body.gsap-active .tile {
    animation: none !important;
}

body.gsap-active .tile:hover {
    transform: none;
    box-shadow: none;
}

.scroll-hint {
    position: absolute;
    left: 50%;
    bottom: clamp(1.2rem, 4vw, 2.4rem);
    transform: translateX(-50%) translateY(6px);
    color: rgba(200, 220, 255, 0.65);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease, transform 0.4s ease;
    z-index: 4;
}

.scroll-hint__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.1rem;
    height: 2.1rem;
    border-radius: 999px;
    border: 1px solid rgba(150, 190, 255, 0.35);
    background: rgba(6, 10, 24, 0.35);
    box-shadow: 0 0 10px rgba(90, 140, 255, 0.25);
}

.scroll-hint svg {
    width: 1.35rem;
    height: 1.35rem;
}

.scroll-hint.is-visible {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

body[data-theme="light"] .scroll-hint {
    color: rgba(30, 50, 90, 0.6);
}

body[data-theme="light"] .scroll-hint__icon {
    background: rgba(255, 255, 255, 0.65);
    border-color: rgba(80, 110, 180, 0.35);
    box-shadow: 0 0 10px rgba(80, 110, 180, 0.2);
}

.tile {
    position: relative;
    z-index: 0;
    flex: 1 1 50%;
    flex-basis: 50%;
    border: 1px solid var(--border);
    background: linear-gradient(160deg, rgba(24, 34, 74, 0.85), rgba(6, 10, 22, 0.95));
    --tile-pad-x: clamp(2.5rem, 6vw, 4.5rem);
    --tile-pad-y: clamp(2.5rem, 6vw, 4.5rem);
    padding: var(--tile-pad-y) var(--tile-pad-x);
    color: var(--text);
    display: flex;
    align-items: center;
    transition: flex-basis 0.9s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.45s ease, transform 0.6s ease;
    overflow: hidden;
    cursor: pointer;
    animation: tile-rise 1.1s ease both;
}

.tile__slideshow {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.6s ease;
}

.tile__slide {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 0.9s ease;
    filter: saturate(1.05) brightness(0.9);
}

.tile__dots {
    position: absolute;
    bottom: clamp(1rem, 3vw, 2rem);
    right: clamp(1rem, 3vw, 2rem);
    display: flex;
    gap: 0.45rem;
    z-index: 4;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.tile__dot {
    width: 6px;
    height: 6px;
    border-radius: 999px;
    border: 1px solid rgba(123, 213, 255, 0.7);
    background: rgba(8, 14, 30, 0.5);
    cursor: pointer;
}

.tile__dot[aria-pressed="true"] {
    background: rgba(123, 213, 255, 0.9);
    box-shadow: 0 0 10px rgba(123, 213, 255, 0.8);
}

.tile--events {
    animation-delay: 0.12s;
}

body[data-theme="light"] .tile {
    background: linear-gradient(160deg, rgba(255, 255, 255, 0.98), rgba(226, 234, 255, 0.92));
}

body[data-theme="light"] .tile::after {
    background: linear-gradient(120deg, rgba(255, 255, 255, 0.2), rgba(130, 150, 220, 0.2));
    opacity: 0.5;
}

body[data-theme="light"] .tile__eyebrow {
    color: rgba(20, 40, 100, 0.65);
}

body[data-theme="light"] .tile__slideshow{
    filter: invert(1) hue-rotate(192deg);
    mix-blend-mode: darken;
}

body[data-theme="light"] .tile__subtitle,
body[data-theme="light"] .section-copy {
    color: rgba(20, 40, 100, 0.75);
}

body[data-theme="light"] .step {
    background: rgba(255, 255, 255, 0.9);
    border-color: rgba(20, 40, 100, 0.22);
}

body[data-theme="light"] .step h4 {
    color: #0b1020;
}

body[data-theme="light"] .step p {
    color: #2b3b5b;
}

body[data-theme="light"] .btn--primary,
body[data-theme="light"] .form-button {
    color: #0b1020;
    text-shadow: 0 1px 0 rgba(255, 255, 255, 0.45);
}

body[data-theme="light"] .form-shell .form-button {
    color: #f8fbff;
    background: linear-gradient(120deg, rgba(31, 92, 255, 0.96), rgba(107, 61, 255, 0.96));
    text-shadow: 0 1px 6px rgba(8, 12, 30, 0.35);
}

body[data-theme="light"] .tile__cta {
    color: #1a3c7c;
    border-color: rgba(31, 92, 255, 0.7);
    background: rgba(255, 255, 255, 0.6);
}

body[data-theme="light"] .btn--primary::before,
body[data-theme="light"] .form-button::before,
body[data-theme="light"] .tile__cta::before {
    opacity: 0.45;
}

.tile::before {
    content: "";
    position: absolute;
    inset: -20% 0 0 0;
    background: radial-gradient(circle at 30% 20%, rgba(123, 213, 255, 0.3), transparent 55%),
        radial-gradient(circle at 80% 10%, rgba(156, 107, 255, 0.2), transparent 50%);
    opacity: 0.8;
    scale: 1.2;
    transform: translateZ(0);
    animation: aurora-drift 22s ease-in-out infinite;
}

.tile::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(120deg, rgba(9, 13, 30, 0.45), rgba(20, 28, 58, 0.3));
    opacity: 0.6;
    scale: 1.2;
    animation: sheen-glide 14s ease-in-out infinite;
}

.tile--events::before {
    background: radial-gradient(circle at 70% 30%, rgba(156, 107, 255, 0.3), transparent 55%),
        radial-gradient(circle at 20% 10%, rgba(75, 225, 255, 0.2), transparent 45%);
}

.tile__content {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: calc(50% - (var(--tile-pad-x) * 2));
    height: auto;
    max-height: 100%;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-self: center;
    text-align: left;
}

.tile__controls {
    position: absolute;
    top: clamp(1rem, 3vw, 1.8rem);
    right: clamp(1rem, 3vw, 1.8rem);
    display: flex;
    align-items: center;
    gap: 0.6rem;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
    z-index: 3;
}

.tile__control {
    border: 1px solid rgba(123, 213, 255, 0.4);
    background: rgba(8, 14, 30, 0.65);
    color: var(--text);
    border-radius: 999px;
    padding: 0.35rem 0.8rem;
    font-size: 0.7rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    cursor: pointer;
}

.tile__close {
    width: 2rem;
    height: 2rem;
    padding: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    font-size: 1rem;
}

.tile__close span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1em;
    height: 1em;
    transform: translateY(0.02em);
}

body[data-theme="light"] .tile__control {
    background: rgba(255, 255, 255, 0.85);
    color: #0b1020;
    border-color: rgba(31, 92, 255, 0.4);
}

.tile__close {
    width: 32px;
    height: 32px;
    padding: 0;
    display: grid;
    place-items: center;
    font-size: 1.2rem;
    line-height: 1;
    text-align: center;
    font-weight: 600;
}

body[data-track="digital"] .tile--digital .tile__controls,
body[data-track="events"] .tile--events .tile__controls {
    opacity: 1;
    pointer-events: auto;
}

.tile__eyebrow {
    font-size: 0.85rem;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--muted);
    margin-bottom: 0.8rem;
}

.tile__title {
    font-family: var(--font-display);
    font-size: clamp(2.1rem, 3.6vw, 3.2rem);
    margin-bottom: 0.6rem;
}

.tile__subtitle {
    color: var(--muted);
    font-size: 1.05rem;
    font-weight: 500;
    text-shadow: 0 2px 10px rgba(6, 10, 24, 0.65);
    margin-bottom: 1.4rem;
}

.tile__list {
    list-style: none;
    padding: 0;
    margin: 0 0 1.8rem 0;
    display: grid;
    gap: 0.6rem;
}

.tile__list li {
    display: grid;
    grid-template-columns: 12px 1fr;
    gap: 0.8rem;
    font-size: 1rem;
    color: var(--text);
}

.tile__list li::before {
    content: "";
    width: 10px;
    height: 10px;
    border-radius: 50%;
    margin-top: 0.35rem;
    background: radial-gradient(circle, var(--accent) 0%, rgba(123, 213, 255, 0) 70%);
    box-shadow: 0 0 12px rgba(123, 213, 255, 0.7);
}

.tile__cta {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.5rem 1.2rem;
    border-radius: 999px;
    border: 1px solid rgba(123, 213, 255, 0.6);
    color: var(--accent);
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    position: relative;
    overflow: hidden;
    background-clip: padding-box;
    isolation: isolate;
}

.tile__cta::after {
    content: "";
    position: absolute;
    inset: 1px;
    border-radius: inherit;
    background: linear-gradient(120deg, transparent, rgba(255, 255, 255, 0.35), transparent);
    transform: translateX(-120%);
    opacity: 0;    
    filter: blur(8px);
    animation: cta-sweep 6s ease-in-out infinite;
}

.tile__cta::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: linear-gradient(120deg, rgba(123, 213, 255, 0.3), rgba(156, 107, 255, 0.3));
    filter: blur(2px);
    opacity: 0.35;
    z-index: -1;
}

.btn,
.form-button,
.tile__cta,
.tile__control {
    transition: transform 0.25s ease, box-shadow 0.25s ease, filter 0.25s ease;
}

.btn:hover,
.form-button:hover,
.tile__cta:hover,
.tile__control:hover {
    transform: translateY(-2px);
    filter: saturate(1.05);
}

.tile:hover {
    transform: translateY(-6px);
    box-shadow: var(--glow);
}

.tile:focus-visible,
.nav__link:focus-visible,
.nav__logo:focus-visible,
.lang-toggle button:focus-visible,
.theme-toggle:focus-visible,
.btn:focus-visible,
.legal-pill:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 4px;
}

body.track-open .tile:hover {
    transform: none;
}

body.track-open[data-track="digital"] .tile,
body.track-open[data-track="events"] .tile {
    flex-basis: 100%;
    flex-grow: 0;
    flex-shrink: 0;
}

body.track-open .hero__tiles {
    display: grid;
    grid-template-columns: 1fr;
}

body.track-open .hero__tiles > .tile {
    grid-area: 1 / 1;
    flex: 1 1 auto;
}

body[data-track="digital"] .hero__tiles,
body[data-track="events"] .hero__tiles {
    transform: none !important;
}

body[data-track="digital"] .tile--events,
body[data-track="events"] .tile--digital,
body.track-open[data-track="events"] .tile--digital,
body.track-open[data-track="digital"] .tile--events,
body.track-open[data-track="events"] .tile--events {
    transform: none !important;
}

body[data-track="digital"] .tile--events,
body[data-track="events"] .tile--digital {
    opacity: 0 !important;
    visibility: hidden;
    pointer-events: none;
}

body[data-track="digital"] .tile--digital,
body[data-track="events"] .tile--events {
    opacity: 1 !important;
    visibility: visible;
    pointer-events: auto;
}

body[data-track="digital"] .tile--digital .tile__slideshow,
body[data-track="events"] .tile--events .tile__slideshow {
    opacity: 1;
}

body[data-track="digital"] .tile--digital .tile__dots,
body[data-track="events"] .tile--events .tile__dots {
    opacity: 1;
    pointer-events: auto;
}

body[data-track="digital"] .tile--digital .tile__slideshow,
body[data-track="events"] .tile--events .tile__slideshow {
    left: auto;
    right: 0;
    width: 50%;
}

body[data-track="digital"] .tile--digital .tile__dots,
body[data-track="events"] .tile--events .tile__dots {
    width: 50%;
    justify-content: center;
    right: 0;
}

body[data-track="digital"] .tile--digital .tile__content,
body[data-track="events"] .tile--events .tile__content {
    width: 100%;
    max-width: calc(50% - (var(--tile-pad-x) * 2));
    padding-right: clamp(1.5rem, 4vw, 3rem);
}

body[data-track="none"] .tile__content {
    width: 100%;
    max-width: calc(100% - (var(--tile-pad-x) * 2));
}

body[data-track="none"] .tile--digital .tile__content,
body[data-track="none"] .tile--events .tile__content {
    width: 100% !important;
    max-width: calc(100% - (var(--tile-pad-x) * 2)) !important;
}

.tile[data-slide="0"] .tile__slide--a,
.tile[data-slide="1"] .tile__slide--b,
.tile[data-slide="2"] .tile__slide--c {
    opacity: 1;
}

.site-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    transform: none;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    padding: 1.4rem 2rem;
    border-radius: 0;
    background: rgba(8, 14, 30, 0.35);
    border: 1px solid rgba(120, 140, 220, 0.3);
    backdrop-filter: blur(14px);
    z-index: 10;
    opacity: 1;
    pointer-events: auto;
    transition: background 0.4s ease, transform 0.4s ease;
    --nav-aux-space: 3rem;
}
.nav__link--right{
    --nav-aux-space: 6rem;
}
body[data-theme="light"] .site-nav {
    background: rgba(250, 252, 255, 0.8);
    border-color: rgba(20, 40, 100, 0.2);
}

.nav__aux {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    align-items: center;
    gap: 0.6rem;
    z-index: 2;
}

.nav__aux--left {
    left: 2rem;
}

.nav__aux--right {
    right: 2rem;
}

.nav__link {
    background: transparent;
    border: none;
    color: var(--text);
    text-transform: uppercase;
    letter-spacing: 0.25em;
    font-size: 0.7rem;
    cursor: pointer;
}

.nav__link--track {
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

body.nav-visible .nav__link--track {
    opacity: 1;
    pointer-events: auto;
}

.nav__link--left {
    justify-self: start;
    text-align: left;
    margin-left: var(--nav-aux-space);
}

.nav__link--right {
    justify-self: end;
    text-align: right;
    margin-right: var(--nav-aux-space);
}

.nav__logo {
    background: transparent;
    border: none;
    cursor: pointer;
    justify-self: center;
    position: relative;
    height: 1em;
    width: clamp(110px, 14vw, 180px);
}

.nav__logo img {
    width: clamp(110px, 14vw, 180px);
    filter: drop-shadow(0 6px 18px rgba(10, 16, 40, 0.85))
        drop-shadow(0 0 10px rgba(30, 60, 140, 0.65))
        drop-shadow(0 0 2px rgba(6, 10, 24, 0.9));
    position: absolute;
    height: clamp(110px, 14vw, 180px);
    transform: translateY(-39%);
    animation: logo-float 6s ease-in-out infinite;
}

body[data-theme="light"] .nav__logo img {
    filter: invert(1) hue-rotate(192deg)
        drop-shadow(0 0 2px rgba(255, 255, 255, 0.95))
        drop-shadow(0 0 8px rgba(255, 255, 255, 0.85))
        drop-shadow(0 0 18px rgba(255, 255, 255, 0.6))
        drop-shadow(0 10px 24px rgba(255, 255, 255, 0.45));
}

.lang-toggle {
    display: flex;
    border: 1px solid rgba(123, 213, 255, 0.3);
    border-radius: 999px;
    overflow: hidden;
}

.lang-toggle button {
    background: transparent;
    border: none;
    color: var(--muted);
    padding: 0.35rem 0.75rem;
    font-size: 0.7rem;
    letter-spacing: 0.18em;
    cursor: pointer;
}

.lang-toggle button[aria-pressed="true"] {
    color: var(--text);
    background: rgba(123, 213, 255, 0.18);
}

.theme-toggle {
    background: transparent;
    border: 1px solid rgba(123, 213, 255, 0.3);
    border-radius: 50%;
    width: 34px;
    height: 34px;
    cursor: pointer;
    display: grid;
    place-items: center;
}

.theme-toggle__icon {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: radial-gradient(circle, var(--accent) 0%, rgba(123, 213, 255, 0.2) 70%);
    box-shadow: 0 0 10px rgba(123, 213, 255, 0.6);
    animation: glow-pulse 4s ease-in-out infinite;
}

.tracks {
    padding: clamp(3rem, 6vw, 6rem) clamp(1.5rem, 8vw, 8rem) 6rem;
}

.track {
    display: none;
    max-width: 1100px;
    margin: 0 auto;
}

body.track-open[data-track="digital"] .track--digital {
    display: block;
    opacity: 1 !important;
    filter: none !important;
}

body.track-open[data-track="events"] .track--events {
    display: block;
    opacity: 1 !important;
    filter: none !important;
}

body.track-open[data-track="digital"] .track--digital .track__section,
body.track-open[data-track="events"] .track--events .track__section {
    opacity: 1 !important;
}

.track__header {
    margin-bottom: 3rem;
}

.track__label {
    text-transform: uppercase;
    letter-spacing: 0.3em;
    font-size: 0.7rem;
    color: var(--muted);
    margin-bottom: 1rem;
}

.track__title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 3.6vw, 3rem);
    margin-bottom: 1rem;
}

.track__lead {
    font-size: 1.1rem;
    color: var(--muted);
    max-width: 42rem;
    margin-bottom: 1.5rem;
}

.track__section {
    margin-bottom: 3.5rem;
    scroll-margin-top: 6rem;
}

.section-title {
    font-family: var(--font-display);
    font-size: 1.4rem;
    margin-bottom: 1.5rem;
}

.section-copy {
    max-width: 46rem;
    color: var(--muted);
}

.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.5rem;
}

.card {
    background: var(--surface);
    border: 1px solid var(--border);
    padding: 1.6rem;
    border-radius: 1.2rem;
    box-shadow: var(--shadow);
}

.card h4 {
    font-family: var(--font-display);
    margin-bottom: 0.6rem;
    font-size: 1.1rem;
}

.card p {
    color: var(--muted);
    font-size: 0.95rem;
}

.card__expand {
    margin-top: 1rem;
    border: 1px solid rgba(123, 213, 255, 0.45);
    background: rgba(8, 14, 30, 0.4);
    color: var(--accent);
    border-radius: 999px;
    padding: 0.4rem 0.9rem;
    font-size: 0.72rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    cursor: pointer;
    transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease, background 0.18s ease, color 0.18s ease;
}

.card__expand:hover {
    transform: translateY(-1px);
    border-color: rgba(123, 213, 255, 0.75);
    box-shadow: 0 8px 22px rgba(20, 35, 80, 0.28);
}

.card__expand:focus-visible {
    outline: 2px solid rgba(123, 213, 255, 0.9);
    outline-offset: 2px;
}

body[data-theme="light"] .card__expand {
    border: 1px solid rgba(28, 72, 182, 0.28);
    background: linear-gradient(135deg, #2f66ff, #3c8fff);
    color: #f7faff;
    font-size: 0.74rem;
    letter-spacing: 0.12em;
    box-shadow: 0 10px 22px rgba(34, 76, 185, 0.28);
}

body[data-theme="light"] .card__expand:hover {
    border-color: rgba(28, 72, 182, 0.38);
    background: linear-gradient(135deg, #245af0, #3386f5);
    box-shadow: 0 14px 26px rgba(34, 76, 185, 0.35);
}

body[data-theme="light"] .card__expand:active {
    transform: translateY(0);
    box-shadow: 0 8px 16px rgba(34, 76, 185, 0.28);
}

body[data-theme="light"] .card__expand:focus-visible {
    outline: 2px solid rgba(36, 90, 240, 0.45);
}

.reference-popup {
    position: fixed;
    inset: 0;
    z-index: 30;
    display: grid;
    place-items: center;
    padding: 1.5rem;
}

.reference-popup[hidden] {
    display: none !important;
}

.reference-popup__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(4, 8, 18, 0.72);
    backdrop-filter: blur(4px);
}

.reference-popup__dialog {
    position: relative;
    width: min(1100px, calc(100vw - 3rem));
    max-height: calc(100vh - 3rem);
    overflow: auto;
    background: var(--surface-strong);
    border: 1px solid var(--border);
    border-radius: 1rem;
    box-shadow: var(--shadow);
    padding: clamp(1.2rem, 3vw, 2rem);
}

.reference-popup__close {
    position: absolute;
    top: 0.75rem;
    right: 0.75rem;
    width: 2rem;
    height: 2rem;
    border-radius: 999px;
    border: 1px solid rgba(123, 213, 255, 0.35);
    background: rgba(8, 14, 30, 0.5);
    color: var(--text);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    cursor: pointer;
}

.reference-popup__body {
    padding-right: clamp(0.2rem, 1vw, 0.6rem);
}

.reference-article {
    max-width: 74ch;
    margin: 0 auto;
}

.reference-article__title {
    font-family: var(--font-display);
    font-size: clamp(1.4rem, 2.4vw, 2rem);
    line-height: 1.15;
    margin-bottom: 0.75rem;
}

.reference-article__subtitle {
    color: var(--text);
    font-weight: 600;
    margin-bottom: 1.15rem;
    max-width: 70ch;
    border-left: 3px solid rgba(123, 213, 255, 0.45);
    padding-left: 0.75rem;
}

.reference-article__paragraph {
    color: var(--muted);
    margin-bottom: 0.95rem;
    line-height: 1.72;
    letter-spacing: 0.01em;
    text-align: justify;
}

.reference-article__inline-source-dots {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    margin-left: 0.45rem;
    vertical-align: middle;
}

.reference-article__sources {
    margin-top: 1.1rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(123, 213, 255, 0.24);
}

.reference-article__sources-title {
    color: var(--text);
    font-size: 0.78rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 0.55rem;
}

.reference-article__source-dots {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.reference-article__source-dot {
    position: relative;
    width: 0.72rem;
    height: 0.72rem;
    border-radius: 999px;
    background: rgba(123, 213, 255, 0.52);
    border: 1px solid rgba(123, 213, 255, 0.95);
    box-shadow: 0 0 0 0 rgba(123, 213, 255, 0.35);
    transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.reference-article__source-dot--inline {
    width: 0.56rem;
    height: 0.56rem;
}

.reference-article__source-dot:hover,
.reference-article__source-dot:focus-visible {
    transform: translateY(-1px) scale(1.08);
    background: rgba(123, 213, 255, 0.85);
    box-shadow: 0 0 0 6px rgba(123, 213, 255, 0.12);
}

.reference-article__source-tooltip {
    position: absolute;
    left: 50%;
    bottom: calc(100% + 0.55rem);
    transform: translateX(-50%);
    min-width: 220px;
    max-width: 320px;
    padding: 0.45rem 0.55rem;
    border-radius: 0.5rem;
    border: 1px solid rgba(123, 213, 255, 0.35);
    background: rgba(8, 14, 30, 0.95);
    color: var(--text);
    font-size: 0.74rem;
    line-height: 1.35;
    opacity: 0;
    pointer-events: none;
    visibility: hidden;
    transition: opacity 0.18s ease, visibility 0.18s ease, transform 0.18s ease;
    z-index: 2;
}

.reference-article__source-tooltip::after {
    content: "";
    position: absolute;
    left: 50%;
    top: 100%;
    transform: translateX(-50%);
    border-width: 6px 5px 0 5px;
    border-style: solid;
    border-color: rgba(8, 14, 30, 0.95) transparent transparent transparent;
}

.reference-article__source-dot:hover .reference-article__source-tooltip,
.reference-article__source-dot:focus-visible .reference-article__source-tooltip {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(-2px);
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}

.steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.4rem;
}

.step {
    background: rgba(10, 18, 38, 0.55);
    border: 1px solid var(--border);
    padding: 1.4rem;
    border-radius: 1rem;
}

.step h4 {
    font-family: var(--font-display);
    margin-bottom: 0.6rem;
}

.step p {
    color: var(--muted);
    font-size: 0.95rem;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    padding: 0.75rem 1.6rem;
    border-radius: 999px;
    border: none;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    font-size: 0.75rem;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    background-clip: padding-box;
    isolation: isolate;
}

.btn--primary {
    background: linear-gradient(120deg, #7bd5ff, #9c6bff);
    color: #0b0f1f;
    box-shadow: var(--glow);
}

.btn--primary::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: linear-gradient(120deg, rgba(123, 213, 255, 0.4), rgba(156, 107, 255, 0.4));
    filter: blur(5px);
    opacity: 0.4;
    z-index: -1;
}

.btn--primary::after {
    content: "";
    position: absolute;
    inset: 1px;
    border-radius: inherit;
    background: linear-gradient(120deg, transparent, rgba(255, 255, 255, 0.35), transparent);
    transform: translateX(-120%);
    opacity: 0;
    animation: cta-sweep 7s ease-in-out infinite;
    filter: blur(4px);
    pointer-events: none;
}

.contact-section {
    padding: 2rem;
    border-radius: 1.5rem;
    background: var(--surface-strong);
    border: 1px solid var(--border);
}

body.track-open[data-theme="dark"] .contact-section {
    background: linear-gradient(150deg, rgba(16, 26, 54, 0.96), rgba(8, 14, 34, 0.97));
    border-color: rgba(120, 140, 220, 0.35);
}

body.track-open[data-theme="dark"] .track,
body.track-open[data-theme="dark"] .track__section,
body.track-open[data-theme="dark"] .legal,
body.track-open[data-theme="dark"] .legal__content,
body.track-open[data-theme="dark"] .legal__column {
    opacity: 1 !important;
    filter: none !important;
}

body.track-open[data-theme="dark"] .tracks,
body.track-open[data-theme="dark"] .legal {
    --surface: rgba(14, 22, 42, 0.95);
    --surface-strong: rgba(12, 20, 38, 0.97);
    --muted: rgba(221, 232, 255, 0.9);
    --border: rgba(130, 152, 220, 0.42);
}

body.track-open[data-theme="dark"] .tracks,
body.track-open[data-theme="dark"] .tracks > *,
body.track-open[data-theme="dark"] .track,
body.track-open[data-theme="dark"] .track__section,
body.track-open[data-theme="dark"] .legal,
body.track-open[data-theme="dark"] .legal__content,
body.track-open[data-theme="dark"] .legal__column,
body.track-open[data-theme="dark"] .card,
body.track-open[data-theme="dark"] .step,
body.track-open[data-theme="dark"] .contact-section {
    opacity: 1 !important;
    filter: none !important;
}

body.track-open[data-theme="dark"] .legal {
    background: linear-gradient(165deg, rgba(8, 14, 30, 0.94), rgba(6, 10, 24, 0.96));
    border-top-color: rgba(120, 140, 220, 0.35);
}

body.track-open[data-theme="dark"] .track__lead,
body.track-open[data-theme="dark"] .section-copy,
body.track-open[data-theme="dark"] .legal__column p,
body.track-open[data-theme="dark"] .footer-newsletter__copy {
    color: rgba(225, 236, 255, 0.9);
}

.contact-section .contact-form {
    display: none;
}

.contact-form {
    display: grid;
    gap: 1.5rem;
}

.form-shell {
    width: 100%;
    margin-top: 1.2rem;
    display: none;
}

.contact-section .form-shell {
    display: block;
}

.form-shell--simple .form-card {
    background: transparent;
    border: 0;
    padding: 0;
    box-shadow: none;
}

.form-header {
    margin-bottom: 1.5rem;
}

.form-title {
    font-family: var(--font-display);
    font-size: 1.4rem;
    margin-bottom: 0.5rem;
}

.form-intro,
.form-description {
    color: var(--muted);
    margin: 0.4rem 0;
}

.form-body {
    display: grid;
    gap: 1rem 1.5rem;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.form-body .form-field {
    display: grid;
    gap: 0.5rem;
    font-size: 0.85rem;
    color: var(--muted);
}

.form-body .form-field:has(textarea) {
    grid-column: 1 / -1;
}

.form-body .form-field textarea,
.form-body .form-field input,
.form-body .form-field select {
    background: rgba(6, 10, 20, 0.6);
    border: 1px solid var(--border);
    border-radius: 0.8rem;
    padding: 0.7rem 0.9rem;
    color: var(--text);
    width: 100%;
}

.form-body .form-field textarea {
    min-height: 140px;
    resize: vertical;
}

body[data-theme="light"] .form-body .form-field textarea,
body[data-theme="light"] .form-body .form-field input,
body[data-theme="light"] .form-body .form-field select {
    background: rgba(255, 255, 255, 0.95);
    border-color: rgba(20, 40, 100, 0.25);
}

.form-actions {
    grid-column: 1 / -1;
}

.form-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    padding: 0.75rem 1.6rem;
    border-radius: 999px;
    border: 1px solid transparent;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    font-size: 0.75rem;
    cursor: pointer;
    background: linear-gradient(120deg, #7bd5ff, #9c6bff);
    color: #0b0f1f;
    box-shadow: var(--glow);
    position: relative;
    overflow: hidden;
    background-clip: padding-box;
    isolation: isolate;
}

.form-button::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: linear-gradient(120deg, rgba(123, 213, 255, 0.3), rgba(156, 107, 255, 0.3));
    filter: blur(5px);
    opacity: 0.4;
    z-index: -1;
}

.form-button::after {
    content: "";
    position: absolute;
    inset: 1px;
    border-radius: inherit;
    background: linear-gradient(120deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transform: translateX(-120%);
    opacity: 0;
    filter: blur(4px);
    animation: cta-sweep 7.5s ease-in-out infinite;
    pointer-events: none;
}

.form-alert {
    display: none;
    padding: 0.9rem 1rem;
    border-radius: 0.9rem;
    border: 1px solid rgba(123, 213, 255, 0.4);
    background: rgba(20, 30, 60, 0.6);
    color: var(--text);
    margin-bottom: 1rem;
    width: 100%;
}

.form-alert--error {
    border-color: rgba(255, 120, 140, 0.5);
}

.form-submit-success {
    display: inline-flex;
    align-items: center;
    padding: 0.75rem 1.6rem;
    border-radius: 999px;
    background: rgba(20, 30, 60, 0.6);
    border: 1px solid rgba(123, 213, 255, 0.4);
    color: var(--text);
    font-size: 0.8rem;
    letter-spacing: 0.08em;
    width: 100%;
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1rem 1.5rem;
}

.form-grid label {
    display: grid;
    gap: 0.5rem;
    font-size: 0.85rem;
    color: var(--muted);
}

.form-grid label:has(textarea) {
    grid-column: 1 / -1;
}

.form-grid__full {
    grid-column: 1 / -1;
}

input,
textarea,
select {
    background: rgba(6, 10, 20, 0.6);
    border: 1px solid var(--border);
    border-radius: 0.8rem;
    padding: 0.7rem 0.9rem;
    color: var(--text);
    width: 100%;
}

body[data-theme="light"] input,
body[data-theme="light"] textarea,
body[data-theme="light"] select {
    background: rgba(255, 255, 255, 0.95);
    border-color: rgba(20, 40, 100, 0.25);
}

.form__success {
    display: none;
    padding: 0.9rem 1rem;
    border-radius: 0.9rem;
    border: 1px solid rgba(123, 213, 255, 0.4);
    background: rgba(20, 30, 60, 0.6);
    width: 100%;
}

.form__success.is-visible {
    display: block;
}

.legal-pill {
    position: fixed;
    left: 1.4rem;
    bottom: 1.4rem;
    padding: 0.4rem 0.9rem;
    border-radius: 999px;
    border: 1px solid rgba(123, 213, 255, 0.3);
    background: rgba(8, 14, 30, 0.4);
    font-size: 0.7rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    z-index: 9;
}

body[data-theme="light"] .legal-pill {
    background: rgba(255, 255, 255, 0.85);
    border-color: rgba(20, 40, 100, 0.25);
    color: #0b1020;
}

.legal {
    padding: 4rem clamp(1.5rem, 8vw, 8rem) 6rem;
    background: rgba(5, 8, 16, 0.6);
    border-top: 1px solid var(--border);
}

body[data-theme="light"] .legal {
    background: rgba(230, 236, 255, 0.9);
}

.legal__content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 2rem;
    max-width: 1100px;
    margin: 0 auto;
}

.footer-social__title,
.footer-newsletter__title {
    font-family: var(--font-display);
    font-size: 1.1rem;
    margin-bottom: 0.8rem;
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
}

.footer-social__links {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
}

.footer-social__link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.45rem 1rem;
    border-radius: 999px;
    border: 1px solid rgba(123, 213, 255, 0.5);
    background: rgba(12, 18, 34, 0.6);
    color: var(--text);
    letter-spacing: 0.14em;
    text-transform: uppercase;
    font-size: 0.75rem;
    box-shadow: var(--glow);
}

.footer-title__icon,
.footer-link__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.15rem;
    height: 1.15rem;
    color: var(--accent);
}

.footer-title__icon svg,
.footer-link__icon svg {
    width: 100%;
    height: 100%;
}

.footer-link__label {
    display: inline-flex;
    align-items: center;
}

.footer-newsletter__copy {
    color: var(--muted);
    margin-bottom: 1rem;
}

.footer-newsletter .form-shell {
    margin-top: 0;
    display: block;
}

.legal__column .footer-social,
.legal__column .footer-newsletter {
    margin-bottom: 2rem;
}

body[data-theme="light"] .footer-social__link {
    background: rgba(255, 255, 255, 0.9);
    border-color: rgba(31, 92, 255, 0.35);
    color: #0b1020;
}

body[data-theme="light"] .footer-newsletter__copy {
    color: #2b3b5b;
}


.legal__column .footer-newsletter .form-field{
    grid-column: 1 / 3;
}

.legal__column h3 {
    font-family: var(--font-display);
    margin-bottom: 0.25rem;
}

.legal__column p {
    color: var(--muted);
    margin-bottom: 0.025rem;
    font-size: 0.95rem;
}

.legal__spacer {
    height: 0.9rem;
}

body[data-theme="light"] .legal__column h3 {
    color: #0b1020;
}

body[data-theme="light"] .legal__column p {
    color: #2b3b5b;
}

@media (max-width: 900px) {
    .hero__tiles {
        flex-direction: column;
    }

    .tile {
        flex: 1 1 50%;
    }

    body[data-track="digital"] .tile--digital .tile__slideshow,
    body[data-track="events"] .tile--events .tile__slideshow {
        width: 100%;
        left: 0;
        right: 0;
    }

    body[data-track="digital"] .tile--digital .tile__dots,
    body[data-track="events"] .tile--events .tile__dots {
        width: auto;
        right: 50%;
        transform: translateX(50%);
    }

    body[data-track="digital"] .tile--digital .tile__content,
    body[data-track="events"] .tile--events .tile__content {
        width: 100%;
        max-width: calc(50% - (var(--tile-pad-x) * 2));
    }

    .site-nav {
        width: calc(100% - 2rem);
        left: 1rem;
        right: 1rem;
        padding: 0.6rem 0.9rem;
        border-radius: 1.2rem;
        --nav-aux-space: 4rem;
    }

    .nav__aux--left {
        left: 0.2rem;
    }

    .nav__aux--right {
        right: 0.2rem;
    }

    .nav__link {
        letter-spacing: 0.15em;
    }
}

@media (max-width: 900px) and (orientation: landscape) {
    .hero__tiles {
        flex-direction: row;
    }

    .tile {
        flex: 1 1 50%;
    }

    body[data-track="digital"] .tile--digital .tile__slideshow,
    body[data-track="events"] .tile--events .tile__slideshow {
        width: 50%;
        left: auto;
        right: 0;
        height: 100%;
    }

    body[data-track="digital"] .tile--digital .tile__dots,
    body[data-track="events"] .tile--events .tile__dots {
        width: 50%;
        right: 0;
        left: auto;
        transform: none;
        bottom: clamp(1rem, 3vw, 2rem);
        top: auto;
        justify-content: center;
    }

    body[data-track="digital"] .tile--digital .tile__content,
    body[data-track="events"] .tile--events .tile__content {
        width: 100%;
        max-width: calc(50% - (var(--tile-pad-x) * 2));
        padding-right: clamp(1.2rem, 3vw, 2.2rem);
    }

    .tile__eyebrow {
        font-size: 0.65rem;
        letter-spacing: 0.16em;
        margin-bottom: 0.5rem;
    }

    .tile__title {
        font-size: clamp(1.2rem, 3.6vw, 1.8rem);
        margin-bottom: 0.45rem;
    }

    .tile__subtitle {
        font-size: 0.8rem;
        margin-bottom: 0.9rem;
    }

    .tile__list {
        gap: 0.35rem;
        margin-bottom: 0.9rem;
    }

    .tile__list li {
        font-size: 0.78rem;
    }

    .tile__cta {
        font-size: 0.68rem;
        letter-spacing: 0.1em;
        padding: 0.35rem 0.9rem;
    }
}

@media (max-width: 900px) and (orientation: landscape) and (max-height: 420px) {
    .tile {
        --tile-pad-y: 1.2rem;
        --tile-pad-x: 1rem;
        padding: var(--tile-pad-y) var(--tile-pad-x);
    }

    .tile__title {
        font-size: clamp(1.1rem, 3.2vw, 1.6rem);
    }

    .tile__subtitle {
        font-size: 0.76rem;
    }

    .tile__list li {
        font-size: 0.74rem;
    }
}

@media (max-aspect-ratio: 1/1) {
    .hero {
        --tile-half: calc((100svh - var(--nav-height, 88px)) / 2);
    }

    .hero__tiles {
        flex-direction: column;
    }

    body[data-track="digital"] .tile--digital .tile__slideshow,
    body[data-track="events"] .tile--events .tile__slideshow {
        width: 100%;
        left: 0;
        right: 0;
        height: 50%;
    }

    body[data-track="events"] .tile--events .tile__slideshow {
        top: 0;
        bottom: auto;
    }

    body[data-track="digital"] .tile--digital .tile__slideshow {
        top: auto;
        bottom: 0;
    }

    body[data-track="events"] .tile--events .tile__dots,
    body[data-track="digital"] .tile--digital .tile__dots {
        width: 100%;
        right: 0;
        left: 0;
        transform: none;
        justify-content: center;
    }

    body[data-track="events"] .tile--events .tile__dots {
        top: calc(var(--tile-half, 50svh) - 2.2rem);
        bottom: auto;
    }

    body[data-track="digital"] .tile--digital .tile__dots {
        top: calc(var(--tile-half, 50svh) + 1.2rem);
        bottom: auto;
    }

    body[data-track="events"] .tile--events .tile__content,
    body[data-track="digital"] .tile--digital .tile__content {
        width: 100%;
        max-width: 100%;
        align-self: stretch;
        text-align: left;
    }

    body[data-track="events"] .tile--events .tile__content {
        padding-top: calc(var(--tile-half) + 1.5rem);
        justify-content: flex-start;
    }

    body[data-track="digital"] .tile--digital .tile__content {
        padding-bottom: calc(var(--tile-half) + 1.5rem);
        justify-content: flex-start;
    }
}

@media (max-width: 900px) and (orientation: portrait) {
    .hero {
        --tile-half: calc((100svh - var(--nav-height, 88px)) / 2);
    }

    .tile__content {
        width: 100%;
        max-width: 100%;
    }

    .legal-pill {
        left: auto;
        right: 1.4rem;
    }

    body[data-track="events"] .tile--events .tile__slideshow,
    body[data-track="digital"] .tile--digital .tile__slideshow {
        width: 100%;
        left: 0;
        right: 0;
        height: 50%;
    }

    body[data-track="events"] .tile--events .tile__slideshow {
        top: 0;
        bottom: auto;
    }

    body[data-track="digital"] .tile--digital .tile__slideshow {
        top: auto;
        bottom: 0;
    }

    body[data-track="events"] .tile--events .tile__content,
    body[data-track="digital"] .tile--digital .tile__content {
        width: 100%;
        max-width: 100%;
        align-self: center;
        text-align: left;
    }

    body[data-track="events"] .tile--events .tile__content {
        padding-top: calc(var(--tile-half) + 1.5rem);
        justify-content: flex-start;
    }

    body[data-track="digital"] .tile--digital .tile__content {
        padding-bottom: calc(var(--tile-half) + 1.5rem);
        justify-content: flex-start;
    }

    body[data-track="events"] .tile--events .tile__dots,
    body[data-track="digital"] .tile--digital .tile__dots {
        width: 100%;
        right: 0;
        left: 0;
        transform: none;
        justify-content: center;
    }

    body[data-track="events"] .tile--events .tile__dots {
        top: calc(var(--tile-half) - 2.2rem);
        bottom: auto;
    }

    body[data-track="digital"] .tile--digital .tile__dots {
        top: calc(var(--tile-half) + 1.2rem);
        bottom: auto;
    }
}

@media (max-width: 640px) {
    html {
        font-size: 15px;
    }

    .legal-pill {
        display: none;
    }

    .tile {
        --tile-pad-y: 2rem;
        --tile-pad-x: 1.6rem;
        padding: var(--tile-pad-y) var(--tile-pad-x);
    }

    .tile__eyebrow {
        font-size: 0.7rem;
        letter-spacing: 0.22em;
        margin-bottom: 0.6rem;
    }

    .tile__title {
        font-size: clamp(1.6rem, 6vw, 2.2rem);
        margin-bottom: 0.5rem;
    }

    .tile__subtitle {
        font-size: 0.95rem;
        margin-bottom: 1rem;
    }

    .tile__list {
        gap: 0.45rem;
        margin-bottom: 1.2rem;
    }

    .tile__list li {
        grid-template-columns: 10px 1fr;
        font-size: 0.92rem;
    }

    .tile__cta {
        font-size: 0.75rem;
        letter-spacing: 0.12em;
        padding: 0.45rem 1rem;
    }

    .tracks {
        padding: 2.5rem 1.5rem 5rem;
    }

    .contact-section {
        padding: 1.5rem;
    }
}

@media (max-width: 480px) {
    html {
        font-size: 14px;
    }

    .tile {
        --tile-pad-y: 1.6rem;
        --tile-pad-x: 1.2rem;
        padding: var(--tile-pad-y) var(--tile-pad-x);
    }

    .site-nav {
        padding: 0.45rem 0.8rem;
    }

    .nav__logo {
        width: clamp(90px, 30vw, 140px);
        height: 0.9em;
    }

    .nav__logo img {
        width: clamp(90px, 30vw, 140px);
        height: clamp(90px, 30vw, 140px);
        transform: translateY(-42%);
    }

    .tile__eyebrow {
        font-size: 0.65rem;
        letter-spacing: 0.18em;
    }

    .tile__title {
        font-size: clamp(1.45rem, 5.8vw, 2rem);
    }

    .tile__subtitle {
        font-size: 0.9rem;
        color: #dfe9ff;
        text-shadow: 0 2px 12px rgba(6, 10, 24, 0.75);
    }

    .tile__list {
        gap: 0.4rem;
        margin-bottom: 1rem;
    }

    .tile__list li {
        font-size: 0.88rem;
        color: #eef4ff;
        text-shadow: 0 2px 10px rgba(6, 10, 24, 0.65);
    }

    .tile__list li::before {
        width: 8px;
        height: 8px;
        margin-top: 0.25rem;
    }

    .tile__cta {
        font-size: 0.7rem;
        letter-spacing: 0.1em;
        padding: 0.4rem 0.9rem;
    }
}

@media (max-width: 380px) {
    html {
        font-size: 13.5px;
    }

    .tile {
        --tile-pad-y: 1.4rem;
        --tile-pad-x: 1rem;
        padding: var(--tile-pad-y) var(--tile-pad-x);
    }

    .tile__title {
        font-size: clamp(1.35rem, 5.6vw, 1.85rem);
    }

    .tile__subtitle {
        font-size: 0.85rem;
    }

    .tile__list li {
        font-size: 0.84rem;
    }
}
