:root {
    --ea-bg: #0b0c0e;
    --ea-bg-soft: #101114;
    --ea-panel: #15171a;
    --ea-line: rgba(244, 246, 240, 0.1);
    --ea-line-strong: rgba(244, 246, 240, 0.22);
    --ea-text: #f2f3ee;
    --ea-muted: #9aa1a6;
    --ea-lime: #d9ff3f;
    --ea-teal: #2ee6c8;
    --ea-teal-glow: rgba(46, 230, 200, 0.3);
    --ea-font-ui: 'Inter', system-ui, -apple-system, sans-serif;
    --ea-font-display: 'Space Grotesk', 'Inter', system-ui, sans-serif;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background:
        radial-gradient(1200px 600px at 80% -100px, rgba(46, 230, 200, 0.07), transparent 60%),
        radial-gradient(800px 400px at 0% 0%, rgba(217, 255, 63, 0.04), transparent 50%),
        var(--ea-bg);
    color: var(--ea-text);
    font-family: var(--ea-font-ui);
    font-size: 15px;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

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

img {
    display: block;
    max-width: 100%;
}

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

::selection {
    background: var(--ea-lime);
    color: #101114;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible {
    outline: 2px solid var(--ea-lime);
    outline-offset: 2px;
}

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

/* ---------- Header ---------- */

.ea-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(11, 12, 14, 0.88);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--ea-line);
}

.ea-header-inner {
    display: flex;
    align-items: center;
    gap: 22px;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 20px;
    height: 60px;
}

.ea-brand {
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: var(--ea-font-display);
    white-space: nowrap;
}

.ea-brand-mark {
    width: 10px;
    height: 10px;
    background: var(--ea-lime);
    box-shadow: 0 0 12px var(--ea-lime), 0 0 22px var(--ea-teal-glow);
    border-radius: 1px;
}

.ea-brand-name {
    font-weight: 700;
    font-size: 17px;
    letter-spacing: 0.01em;
}

.ea-brand-tag {
    font-size: 11px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--ea-teal);
}

.ea-nav {
    display: flex;
    gap: 4px;
}

.ea-nav a {
    padding: 6px 10px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--ea-muted);
    border: 1px solid transparent;
    border-radius: 4px;
    transition: color 160ms ease, background 160ms ease;
}

.ea-nav a:hover {
    color: var(--ea-text);
    background: rgba(255, 255, 255, 0.04);
}

.ea-search {
    display: flex;
    margin-left: auto;
}

.ea-search input {
    width: 230px;
    background: var(--ea-bg-soft);
    border: 1px solid var(--ea-line-strong);
    border-right: 0;
    border-radius: 4px 0 0 4px;
    padding: 8px 12px;
    font-size: 13px;
    outline: none;
}

.ea-search input:focus {
    border-color: var(--ea-lime);
    box-shadow: 0 0 0 2px rgba(217, 255, 63, 0.18);
}

.ea-search button {
    background: var(--ea-lime);
    color: #101114;
    border: 1px solid var(--ea-lime);
    border-radius: 0 4px 4px 0;
    padding: 8px 16px;
    font-weight: 700;
    font-size: 13px;
    cursor: pointer;
    transition: background 160ms ease;
}

.ea-search button:hover {
    background: #e6ff6b;
}

.ea-menu-toggle {
    display: none;
    margin-left: auto;
    background: transparent;
    border: 1px solid var(--ea-line-strong);
    border-radius: 4px;
    color: var(--ea-text);
    padding: 8px 14px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    cursor: pointer;
}

.ea-nav-mobile {
    display: none;
}

/* ---------- Wayfinding bar ---------- */

.ea-wayfinding {
    border-bottom: 1px solid var(--ea-line);
    background: var(--ea-bg-soft);
}

.ea-wayfinding-inner {
    max-width: 1280px;
    margin: 0 auto;
    padding: 18px 20px 20px;
}

.ea-kicker {
    margin: 0;
    font-family: var(--ea-font-display);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--ea-lime);
}

.ea-wayfinding-row {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 10px;
    flex-wrap: wrap;
}

.ea-field {
    display: flex;
    align-items: center;
    gap: 8px;
    background: var(--ea-panel);
    border: 1px solid var(--ea-line-strong);
    border-radius: 4px;
    padding: 0 12px;
    height: 42px;
    transition: border-color 160ms ease, box-shadow 160ms ease;
}

.ea-field:focus-within {
    border-color: var(--ea-lime);
    box-shadow: 0 0 0 2px rgba(217, 255, 63, 0.15);
}

.ea-field input,
.ea-field select {
    background: transparent;
    border: 0;
    outline: none;
    color: var(--ea-text);
    font-size: 14px;
    min-width: 0;
}

.ea-field input {
    width: 250px;
}

.ea-field select {
    cursor: pointer;
}

.ea-btn {
    background: var(--ea-lime);
    color: #101114;
    border: 1px solid var(--ea-lime);
    border-radius: 4px;
    padding: 10px 20px;
    font-weight: 700;
    font-size: 13px;
    letter-spacing: 0.04em;
    cursor: pointer;
    transition: background 160ms ease, box-shadow 160ms ease;
}

.ea-btn:hover {
    background: #e6ff6b;
    box-shadow: 0 0 18px rgba(217, 255, 63, 0.35);
}

.ea-chips {
    display: flex;
    gap: 8px;
    margin-top: 12px;
    flex-wrap: wrap;
}

.ea-chip {
    border: 1px solid var(--ea-line);
    border-radius: 999px;
    padding: 4px 12px;
    font-size: 12px;
    color: var(--ea-muted);
    transition: border-color 160ms ease, color 160ms ease, box-shadow 160ms ease;
}

.ea-chip:hover {
    border-color: var(--ea-teal);
    color: var(--ea-text);
    box-shadow: 0 0 10px var(--ea-teal-glow);
}

/* ---------- Page shell ---------- */

.ea-page {
    max-width: 1280px;
    margin: 0 auto;
    padding: 28px 20px 56px;
}

.ea-page-flush {
    padding-top: 0;
}

.ea-page-title {
    font-family: var(--ea-font-display);
    font-size: 30px;
    font-weight: 700;
    letter-spacing: -0.01em;
    margin: 6px 0 22px;
}

.ea-section {
    margin-top: 44px;
}

.ea-section-head {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 16px;
    border-bottom: 1px solid var(--ea-line);
    padding-bottom: 10px;
    margin-bottom: 18px;
}

.ea-section-title {
    font-family: var(--ea-font-display);
    font-size: 22px;
    font-weight: 700;
    letter-spacing: 0.01em;
    margin: 0;
}

.ea-section-link {
    font-size: 12px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--ea-teal);
    white-space: nowrap;
}

.ea-section-link:hover {
    color: var(--ea-lime);
}

/* ---------- Mosaic ---------- */

.ea-mosaic {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    grid-auto-rows: 150px;
    gap: 12px;
}

.ea-tile {
    position: relative;
    overflow: hidden;
    border: 1px solid var(--ea-line);
    background: var(--ea-panel);
    border-radius: 6px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    grid-column: span 4;
    grid-row: span 1;
    min-height: 150px;
    transition: border-color 200ms ease, box-shadow 200ms ease;
}

.ea-tile:hover,
.ea-tile:focus-visible {
    border-color: var(--ea-teal);
    box-shadow: 0 0 0 1px rgba(46, 230, 200, 0.35), 0 0 24px var(--ea-teal-glow);
}

.ea-tile img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 420ms cubic-bezier(0.16, 1, 0.3, 1);
}

.ea-tile:hover img {
    transform: scale(1.045);
}

.ea-tile-body {
    position: relative;
    z-index: 2;
    padding: 14px;
    background: linear-gradient(to top, rgba(8, 9, 11, 0.92) 0%, rgba(8, 9, 11, 0.55) 60%, transparent 100%);
}

.ea-tile-meta {
    margin: 0;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--ea-lime);
}

.ea-tile-title {
    font-family: var(--ea-font-display);
    font-size: 18px;
    font-weight: 600;
    line-height: 1.2;
    margin: 4px 0 0;
}

.ea-tile-sub {
    font-size: 12px;
    color: var(--ea-muted);
    margin: 4px 0 0;
}

.ea-tile-featured {
    grid-column: span 8;
    grid-row: span 2;
    min-height: 300px;
}

.ea-tile-featured .ea-tile-title {
    font-size: 26px;
}

/* ---------- Districts ---------- */

.ea-districts {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}

.ea-district {
    border: 1px solid var(--ea-line);
    border-radius: 6px;
    overflow: hidden;
    background: var(--ea-panel);
    transition: border-color 200ms ease, box-shadow 200ms ease;
}

.ea-district:hover,
.ea-district:focus-visible {
    border-color: var(--ea-lime);
    box-shadow: 0 0 18px rgba(217, 255, 63, 0.12);
}

.ea-district img {
    height: 150px;
    width: 100%;
    object-fit: cover;
    transition: transform 300ms cubic-bezier(0.16, 1, 0.3, 1);
}

.ea-district:hover img {
    transform: scale(1.03);
}

.ea-district-body {
    padding: 14px;
}

.ea-district-name {
    font-family: var(--ea-font-display);
    font-size: 17px;
    font-weight: 600;
    margin: 0;
}

.ea-district-dek {
    font-size: 13px;
    color: var(--ea-muted);
    margin: 6px 0 0;
}

/* ---------- Cards (venues / artists / more) ---------- */

.ea-card-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
}

.ea-card {
    border: 1px solid var(--ea-line);
    border-radius: 6px;
    overflow: hidden;
    background: var(--ea-panel);
    display: flex;
    flex-direction: column;
    transition: border-color 200ms ease, box-shadow 200ms ease;
}

a.ea-card:hover,
a.ea-card:focus-visible {
    border-color: var(--ea-teal);
    box-shadow: 0 0 18px var(--ea-teal-glow);
}

.ea-card img {
    height: 160px;
    width: 100%;
    object-fit: cover;
    transition: transform 300ms cubic-bezier(0.16, 1, 0.3, 1);
}

.ea-card:hover img {
    transform: scale(1.03);
}

.ea-card-body {
    padding: 12px 14px 14px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    flex: 1;
}

.ea-card-cat {
    margin: 0;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--ea-teal);
}

.ea-card-title {
    font-family: var(--ea-font-display);
    font-size: 16px;
    font-weight: 600;
    line-height: 1.25;
    margin: 0;
}

.ea-card-meta {
    font-size: 12px;
    color: var(--ea-muted);
    margin: 0;
}

/* ---------- Event list ---------- */

.ea-event-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
}

.ea-event {
    border: 1px solid var(--ea-line);
    border-radius: 6px;
    overflow: hidden;
    background: var(--ea-panel);
    transition: border-color 200ms ease, box-shadow 200ms ease;
}

.ea-event:hover,
.ea-event:focus-visible {
    border-color: var(--ea-teal);
    box-shadow: 0 0 18px var(--ea-teal-glow);
}

.ea-event img {
    height: 180px;
    width: 100%;
    object-fit: cover;
    transition: transform 300ms cubic-bezier(0.16, 1, 0.3, 1);
}

.ea-event:hover img {
    transform: scale(1.03);
}

.ea-event-body {
    padding: 14px;
}

.ea-event-date {
    margin: 0;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--ea-lime);
}

.ea-event-title {
    font-family: var(--ea-font-display);
    font-size: 17px;
    font-weight: 600;
    line-height: 1.25;
    margin: 6px 0;
}

.ea-event-meta {
    font-size: 12px;
    color: var(--ea-muted);
    margin: 0;
}

/* ---------- Search results ---------- */

.ea-result-count {
    font-size: 13px;
    color: var(--ea-muted);
    margin: 14px 0 16px;
}

.ea-result {
    display: grid;
    grid-template-columns: 200px 1fr;
    gap: 16px;
    border: 1px solid var(--ea-line);
    border-radius: 6px;
    padding: 12px;
    margin-bottom: 12px;
    background: var(--ea-panel);
    transition: border-color 200ms ease, box-shadow 200ms ease;
}

.ea-result:hover,
.ea-result:focus-visible {
    border-color: var(--ea-teal);
    box-shadow: 0 0 18px var(--ea-teal-glow);
}

.ea-result img {
    width: 200px;
    height: 120px;
    object-fit: cover;
    border-radius: 4px;
}

/* ---------- Detail pages ---------- */

.ea-breadcrumb {
    font-size: 12px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--ea-muted);
    margin: 0 0 12px;
}

.ea-breadcrumb a:hover {
    color: var(--ea-lime);
}

.ea-detail {
    display: grid;
    grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr);
    gap: 28px;
    align-items: start;
}

.ea-detail > div > img {
    width: 100%;
    border: 1px solid var(--ea-line);
    border-radius: 6px;
}

.ea-detail-title {
    font-family: var(--ea-font-display);
    font-size: 34px;
    line-height: 1.1;
    font-weight: 700;
    margin: 10px 0 12px;
    letter-spacing: -0.01em;
}

.ea-detail-dek {
    font-size: 16px;
    color: var(--ea-muted);
    margin: 0 0 18px;
}

.ea-detail-body {
    white-space: pre-line;
    color: var(--ea-text);
    margin-top: 18px;
}

.ea-factlist {
    margin: 0;
}

.ea-fact {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    padding: 10px 0;
    border-bottom: 1px solid var(--ea-line);
    font-size: 13px;
    margin: 0;
}

.ea-fact dt {
    color: var(--ea-muted);
    letter-spacing: 0.1em;
    text-transform: uppercase;
    font-size: 11px;
    padding-top: 2px;
}

.ea-fact dd {
    margin: 0;
    text-align: right;
}

.ea-sub-title {
    font-size: 13px;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--ea-lime);
    margin: 24px 0 8px;
}

.ea-plain-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.ea-plain-list li {
    padding: 6px 0;
    border-bottom: 1px solid var(--ea-line);
    font-size: 14px;
}

/* ---------- About ---------- */

.ea-about {
    border-left: 2px solid var(--ea-lime);
    padding-left: 18px;
    max-width: 62ch;
}

.ea-about p {
    color: var(--ea-muted);
    margin: 0 0 14px;
}

/* ---------- Footer ---------- */

.ea-footer {
    border-top: 1px solid var(--ea-line);
    background: var(--ea-bg-soft);
    margin-top: 40px;
}

.ea-footer-inner {
    max-width: 1280px;
    margin: 0 auto;
    padding: 28px 20px 24px;
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr;
    gap: 24px;
}

.ea-footer h4 {
    font-size: 11px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--ea-lime);
    margin: 0 0 10px;
}

.ea-footer a {
    display: block;
    color: var(--ea-muted);
    font-size: 13px;
    padding: 3px 0;
    transition: color 160ms ease;
}

.ea-footer a:hover {
    color: var(--ea-teal);
}

.ea-footer-note {
    color: var(--ea-muted);
    font-size: 13px;
    max-width: 34ch;
    margin: 8px 0 0;
}

.ea-footer-legal {
    border-top: 1px solid var(--ea-line);
    color: var(--ea-muted);
    font-size: 12px;
    padding: 14px 20px;
    text-align: center;
}

/* ---------- Responsive ---------- */

@media (max-width: 1080px) {
    .ea-card-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 980px) {
    .ea-mosaic {
        grid-template-columns: repeat(2, 1fr);
        grid-auto-rows: auto;
    }
    .ea-tile-featured {
        grid-column: span 2;
        grid-row: span 1;
        min-height: 260px;
    }
    .ea-tile {
        grid-column: span 1;
        grid-row: span 1;
        min-height: 180px;
    }
    .ea-event-list {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 920px) {
    .ea-nav {
        display: none;
    }
    .ea-search {
        display: none;
    }
    .ea-menu-toggle {
        display: inline-block;
    }
    .ea-nav-mobile:not([hidden]) {
        display: block;
        border-top: 1px solid var(--ea-line);
        padding: 12px 20px 16px;
    }
    .ea-nav-mobile a {
        display: block;
        padding: 10px 0;
        border-bottom: 1px solid var(--ea-line);
        font-size: 14px;
        font-weight: 600;
    }
    .ea-nav-mobile form {
        display: flex;
        margin-top: 12px;
    }
    .ea-nav-mobile input {
        flex: 1;
        background: var(--ea-bg-soft);
        border: 1px solid var(--ea-line-strong);
        border-radius: 4px 0 0 4px;
        padding: 10px 12px;
        min-width: 0;
    }
    .ea-nav-mobile button {
        border-radius: 0 4px 4px 0;
    }
}

@media (max-width: 800px) {
    .ea-districts {
        grid-template-columns: 1fr;
    }
    .ea-footer-inner {
        grid-template-columns: 1fr;
    }
    .ea-detail {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    .ea-card-grid,
    .ea-event-list {
        grid-template-columns: 1fr;
    }
    .ea-result {
        grid-template-columns: 1fr;
    }
    .ea-result img {
        width: 100%;
        height: 160px;
    }
    .ea-wayfinding-row .ea-field {
        width: 100%;
    }
    .ea-wayfinding-row .ea-field input {
        width: 100%;
    }
}

/* ---------- Motion ---------- */

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 1ms !important;
        animation-iteration-count: 1 !important;
        scroll-behavior: auto !important;
        transition-duration: 1ms !important;
    }
    .ea-tile img,
    .ea-card img,
    .ea-event img,
    .ea-district img {
        transform: none !important;
    }
}

@media (hover: none) {
    .ea-tile:hover img,
    .ea-card:hover img,
    .ea-event:hover img,
    .ea-district:hover img {
        transform: none;
    }
}