/**
 * EMAICON 2026 — modern editorial design system.
 * Pairs Fraunces (display) with Instrument Sans (text) and a warm cream palette.
 * Index page uses .mx- classes; .sr-only / .link-brand / .section-text--narrow
 * are kept as plain utilities because admin.html and register.html depend on them.
 */

:root {
    --brand-red: #da0808;
    --brand-red-dark: #b30606;
    --brand-yellow: #f9e604;

    --ink: #0e1115;
    --ink-soft: #1d2129;
    --muted: #5b6471;
    --muted-soft: #8b94a3;

    --paper: #faf7f1;
    --paper-elevated: #ffffff;
    --paper-warm: #f2ede2;
    --paper-deep: #14161b;
    --paper-deep-elevated: #1d2129;

    --line: #e7e1d2;
    --line-soft: #efeadf;
    --line-dark: #2a2f38;

    --shadow-xs: 0 1px 2px rgba(15, 17, 21, 0.04);
    --shadow-sm: 0 4px 14px -8px rgba(15, 17, 21, 0.18);
    --shadow-md: 0 12px 30px -18px rgba(15, 17, 21, 0.25);
    --shadow-lg: 0 28px 60px -32px rgba(15, 17, 21, 0.35);

    --radius-sm: 12px;
    --radius-md: 18px;
    --radius-lg: 26px;

    --display: "Fraunces", "Playfair Display", Georgia, serif;
    --sans: "Instrument Sans", "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;

    --container: 78rem;
    --gutter: clamp(1.1rem, 3vw, 2.25rem);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--sans);
    color: var(--ink);
    background: var(--paper);
    line-height: 1.55;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
    text-rendering: optimizeLegibility;
}

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

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

ul {
    list-style: none;
}

::selection {
    background: var(--ink);
    color: var(--paper);
}

/* Generic utilities reused across pages — keep names stable. */
.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;
}

.link-brand {
    color: var(--brand-red);
    text-decoration: underline;
    text-underline-offset: 3px;
    text-decoration-thickness: 1px;
}

.section-text--narrow {
    max-width: 44rem;
}

/* ========================================================================
   Index ("mx-") layout system
   ======================================================================== */

.mx-page {
    background: var(--paper);
}

.mx-container {
    width: min(100% - calc(var(--gutter) * 2), var(--container));
    margin-inline: auto;
}

.mx-section {
    padding-block: clamp(4.5rem, 9vw, 7.5rem);
}

.mx-section--tight {
    padding-block: clamp(3rem, 6vw, 5rem);
}

.mx-section--ink {
    background: var(--paper-deep);
    color: #f4eee2;
}

.mx-section--paper-warm {
    background: var(--paper-warm);
}

/* Eyebrows + display heads */
.mx-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--brand-red);
}

.mx-eyebrow::before {
    content: "";
    width: 1.65rem;
    height: 1px;
    background: currentColor;
}

.mx-section--ink .mx-eyebrow {
    color: var(--brand-yellow);
}

.mx-display {
    font-family: var(--display);
    font-weight: 600;
    letter-spacing: -0.02em;
    line-height: 1.05;
    color: var(--ink);
    font-size: clamp(2.05rem, 5vw, 3.25rem);
}

.mx-section--ink .mx-display {
    color: #f7f0e1;
}

.mx-display em {
    font-style: italic;
    font-variation-settings: "SOFT" 100;
    color: var(--brand-red);
}

.mx-section--ink .mx-display em {
    color: var(--brand-yellow);
}

.mx-display--xl {
    font-size: clamp(2.6rem, 7vw, 5rem);
    line-height: 1.02;
}

.mx-lede {
    font-size: clamp(1rem, 1.05vw + 0.85rem, 1.18rem);
    color: var(--muted);
    line-height: 1.65;
    max-width: 38rem;
}

.mx-section--ink .mx-lede {
    color: rgba(244, 238, 226, 0.78);
}

.mx-section-head {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: clamp(2.5rem, 4vw, 4rem);
    max-width: 46rem;
}

.mx-section-head--center {
    align-items: center;
    text-align: center;
    margin-inline: auto;
}

/* ========================================================================
   Navigation
   ======================================================================== */

.mx-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 80;
    padding: 1rem 0;
    transition: backdrop-filter 0.3s ease, background-color 0.3s ease,
        box-shadow 0.3s ease, padding 0.3s ease;
}

.mx-nav__bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
}

.mx-nav__brand {
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
}

.mx-nav__brand img {
    height: 38px;
    width: auto;
    filter: brightness(0) invert(1);
    transition: filter 0.3s ease;
}

.mx-nav.is-scrolled {
    background: rgba(250, 247, 241, 0.92);
    backdrop-filter: saturate(140%) blur(14px);
    -webkit-backdrop-filter: saturate(140%) blur(14px);
    box-shadow: 0 1px 0 var(--line-soft);
    padding: 0.5rem 0;
}

.mx-nav.is-scrolled .mx-nav__brand img {
    filter: none;
}

.mx-nav.is-scrolled .mx-nav__link,
.mx-nav.is-scrolled .mx-nav__toggle {
    color: var(--ink);
}

.mx-nav.is-scrolled .mx-nav__cta {
    background: var(--ink);
    color: var(--paper);
}

.mx-nav__menu {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    flex-wrap: wrap;
}

.mx-nav__link {
    position: relative;
    padding: 0.5rem 0.85rem;
    font-size: 0.92rem;
    font-weight: 500;
    color: rgba(244, 238, 226, 0.85);
    border-radius: 999px;
    transition: color 0.2s ease, background-color 0.2s ease;
    cursor: pointer;
    background: transparent;
    border: none;
}

.mx-nav__link:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.08);
}

.mx-nav.is-scrolled .mx-nav__link:hover {
    color: var(--ink);
    background: rgba(15, 17, 21, 0.06);
}

.mx-nav__cta {
    padding: 0.55rem 1.15rem;
    border-radius: 999px;
    font-size: 0.88rem;
    font-weight: 600;
    background: var(--brand-red);
    color: #fff !important;
    transition: background-color 0.2s ease, transform 0.2s ease;
    margin-left: 0.4rem;
}

.mx-nav__cta:hover {
    background: var(--brand-red-dark);
    transform: translateY(-1px);
}

.mx-nav__dropdown {
    position: relative;
}

.mx-nav__dropdown-panel {
    position: absolute;
    top: calc(100% + 0.5rem);
    right: 0;
    background: #fff;
    color: var(--ink);
    min-width: 14rem;
    border-radius: var(--radius-sm);
    border: 1px solid var(--line);
    box-shadow: var(--shadow-md);
    padding: 0.4rem;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-4px);
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
}

.mx-nav__dropdown.is-open .mx-nav__dropdown-panel,
.mx-nav__dropdown:hover .mx-nav__dropdown-panel,
.mx-nav__dropdown:focus-within .mx-nav__dropdown-panel {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.mx-nav__dropdown-link {
    display: block;
    padding: 0.55rem 0.85rem;
    font-size: 0.9rem;
    border-radius: 8px;
    color: var(--ink) !important;
    transition: background 0.15s ease;
}

.mx-nav__dropdown-link:hover {
    background: var(--paper-warm);
}

.mx-nav__toggle {
    display: none;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.35);
    color: #fff;
    padding: 0.45rem 0.6rem;
    border-radius: 8px;
    cursor: pointer;
}

.mx-nav.is-scrolled .mx-nav__toggle {
    border-color: var(--line);
}

.mx-nav__toggle svg {
    display: block;
    width: 22px;
    height: 22px;
}

@media (max-width: 960px) {
    .mx-nav__toggle {
        display: inline-flex;
    }

    .mx-nav__menu {
        position: fixed;
        inset: 64px var(--gutter) auto;
        flex-direction: column;
        align-items: stretch;
        gap: 0.25rem;
        padding: 1rem;
        background: var(--paper-elevated);
        border: 1px solid var(--line);
        border-radius: var(--radius-md);
        box-shadow: var(--shadow-lg);
        max-height: calc(100vh - 80px);
        overflow-y: auto;
        opacity: 0;
        visibility: hidden;
        transform: translateY(-8px);
        transition: opacity 0.2s ease, visibility 0.2s ease, transform 0.2s ease;
    }

    .mx-nav.is-open .mx-nav__menu {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }

    .mx-nav__menu .mx-nav__link {
        color: var(--ink);
        text-align: left;
        border-radius: 10px;
    }

    .mx-nav__menu .mx-nav__cta {
        text-align: center;
        margin: 0.4rem 0 0;
    }

    .mx-nav__dropdown-panel {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        border: none;
        background: var(--paper);
        margin-top: 0.25rem;
        padding-left: 0.5rem;
    }
}

/* ========================================================================
   Hero
   ======================================================================== */

.mx-hero {
    position: relative;
    padding-top: clamp(7rem, 14vw, 10rem);
    padding-bottom: clamp(4rem, 8vw, 6.5rem);
    background: linear-gradient(180deg, #14161b 0%, #1a1d24 65%, #21242c 100%);
    color: #f7f0e1;
    overflow: hidden;
}

.mx-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: radial-gradient(
            900px 500px at 85% 20%,
            rgba(218, 8, 8, 0.18),
            transparent 70%
        ),
        radial-gradient(700px 460px at 15% 90%, rgba(249, 230, 4, 0.08), transparent 75%);
    pointer-events: none;
}

.mx-hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background-image: linear-gradient(
            to right,
            rgba(255, 255, 255, 0.025) 1px,
            transparent 1px
        );
    background-size: 88px 100%;
    opacity: 0.5;
    pointer-events: none;
    mask-image: linear-gradient(180deg, black 60%, transparent);
}

.mx-hero__inner {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    gap: clamp(2rem, 4vw, 4.5rem);
    align-items: center;
    position: relative;
}

.mx-hero__copy {
    position: relative;
    z-index: 2;
}

.mx-hero__edition {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.45rem 0.85rem 0.45rem 0.55rem;
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 999px;
    font-size: 0.78rem;
    color: rgba(247, 240, 225, 0.86);
    letter-spacing: 0.05em;
    margin-bottom: 1.6rem;
}

.mx-hero__edition-num {
    background: var(--brand-red);
    color: #fff;
    padding: 0.18rem 0.5rem;
    border-radius: 999px;
    font-weight: 700;
    font-size: 0.72rem;
    letter-spacing: 0.04em;
}

.mx-hero__title {
    font-family: var(--display);
    font-weight: 600;
    font-size: clamp(2.6rem, 6.5vw, 5rem);
    line-height: 1.02;
    letter-spacing: -0.025em;
    color: #f7f0e1;
    margin-bottom: 1.2rem;
}

.mx-hero__title em {
    font-style: italic;
    font-variation-settings: "SOFT" 100, "opsz" 144;
    color: var(--brand-yellow);
    font-weight: 500;
}

.mx-hero__sub {
    font-size: clamp(1rem, 0.45vw + 0.95rem, 1.18rem);
    color: rgba(247, 240, 225, 0.78);
    line-height: 1.65;
    max-width: 35rem;
    margin-bottom: 1.85rem;
}

.mx-hero__pills {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
    margin-bottom: 2rem;
}

.mx-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    padding: 0.55rem 0.95rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 999px;
    font-size: 0.85rem;
    color: rgba(247, 240, 225, 0.86);
}

.mx-pill svg,
.mx-pill i {
    color: var(--brand-yellow);
    width: 16px;
    height: 16px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.mx-hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.85rem;
    margin-bottom: 2.5rem;
}

.mx-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.55rem;
    padding: 0.85rem 1.55rem;
    border-radius: 999px;
    font: inherit;
    font-weight: 600;
    font-size: 0.95rem;
    border: 1px solid transparent;
    cursor: pointer;
    transition: transform 0.18s ease, background-color 0.2s ease,
        color 0.2s ease, border-color 0.2s ease;
}

.mx-btn--primary {
    background: var(--brand-red);
    color: #fff;
    box-shadow: var(--shadow-sm);
}

.mx-btn--primary:hover {
    background: var(--brand-red-dark);
    transform: translateY(-1px);
}

.mx-btn--ink {
    background: var(--ink);
    color: var(--paper);
}

.mx-btn--ink:hover {
    background: #000;
    transform: translateY(-1px);
}

.mx-btn--ghost {
    background: transparent;
    color: inherit;
    border-color: rgba(255, 255, 255, 0.28);
}

.mx-btn--ghost:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.55);
}

.mx-btn--ghost-light {
    background: transparent;
    color: var(--ink);
    border-color: var(--line);
}

.mx-btn--ghost-light:hover {
    background: var(--paper-warm);
}

.mx-btn--xl {
    padding: 1rem 1.85rem;
    font-size: 1rem;
}

.mx-hero__stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: clamp(1rem, 2vw, 2rem);
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    padding-top: 1.4rem;
}

.mx-stat__num {
    font-family: var(--display);
    font-size: clamp(1.6rem, 2.6vw, 2.2rem);
    font-weight: 600;
    color: #f7f0e1;
    letter-spacing: -0.015em;
    font-variant-numeric: tabular-nums;
}

.mx-stat__label {
    font-size: 0.78rem;
    color: rgba(247, 240, 225, 0.6);
    text-transform: uppercase;
    letter-spacing: 0.12em;
    margin-top: 0.25rem;
}

.mx-hero__visual {
    position: relative;
    aspect-ratio: 4 / 5;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: 0 50px 90px -40px rgba(0, 0, 0, 0.55);
}

.mx-hero__visual img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: saturate(1.05) contrast(1.02);
}

.mx-hero__caption {
    position: absolute;
    left: 1.1rem;
    bottom: 1.1rem;
    right: 1.1rem;
    padding: 0.85rem 1rem;
    background: rgba(20, 22, 27, 0.78);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    font-size: 0.82rem;
    color: rgba(247, 240, 225, 0.86);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.mx-hero__caption strong {
    color: #fff;
    font-weight: 600;
    letter-spacing: -0.01em;
}

@media (max-width: 880px) {
    .mx-hero__inner {
        grid-template-columns: 1fr;
    }

    .mx-hero__visual {
        aspect-ratio: 4 / 3;
        max-width: 26rem;
        margin-inline: auto;
    }

    .mx-hero__stats {
        gap: 1rem;
    }
}

@media (max-width: 540px) {
    .mx-hero__stats {
        grid-template-columns: repeat(2, 1fr);
    }

    .mx-hero__actions .mx-btn {
        flex: 1;
        min-width: 0;
    }
}

/* Marquee partner strip */
.mx-marquee {
    border-block: 1px solid var(--line);
    background: var(--paper);
    overflow: hidden;
    padding: 1.4rem 0;
}

.mx-marquee__track {
    display: flex;
    align-items: center;
    gap: 3rem;
    color: var(--muted);
    font-size: 0.82rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    flex-wrap: wrap;
    justify-content: center;
}

.mx-marquee__dot {
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--brand-red);
}

/* ========================================================================
   About
   ======================================================================== */

.mx-about__grid {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
    gap: clamp(2rem, 4vw, 4.5rem);
    align-items: center;
}

.mx-about__copy p + p {
    margin-top: 0.95rem;
}

.mx-about__copy p {
    color: var(--muted);
    font-size: 1.02rem;
    line-height: 1.75;
}

.mx-about__copy p strong {
    color: var(--ink);
    font-weight: 600;
}

.mx-about__features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.85rem;
    margin-top: 2rem;
}

.mx-feature {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    padding: 0.85rem 1rem;
    background: var(--paper-elevated);
    border: 1px solid var(--line-soft);
    border-radius: var(--radius-sm);
    font-size: 0.92rem;
    font-weight: 500;
}

.mx-feature__dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--brand-red);
    flex-shrink: 0;
}

.mx-about__cta {
    margin-top: 1.85rem;
}

/* About hero photo */
.mx-about__hero {
    position: relative;
    margin: 0;
    border-radius: var(--radius-lg);
    overflow: hidden;
    aspect-ratio: 4 / 5;
    box-shadow: var(--shadow-md);
}

.mx-about__hero img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}

.mx-about__hero:hover img {
    transform: scale(1.03);
}

.mx-about__hero figcaption {
    position: absolute;
    inset: auto 1rem 1rem;
    padding: 0.85rem 1rem;
    background: rgba(20, 22, 27, 0.78);
    color: #f7f0e1;
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    font-size: 0.85rem;
    line-height: 1.45;
}

@media (max-width: 880px) {
    .mx-about__grid {
        grid-template-columns: 1fr;
    }

    .mx-about__hero {
        aspect-ratio: 4 / 3;
        max-width: 32rem;
        margin-inline: auto;
    }
}

@media (max-width: 540px) {
    .mx-about__features {
        grid-template-columns: 1fr;
    }
}

/* ========================================================================
   Past editions — large editorial photo gallery
   ======================================================================== */

.mx-pe-cover {
    position: relative;
    margin: 0 0 1.5rem;
    border-radius: var(--radius-lg);
    overflow: hidden;
    aspect-ratio: 16 / 7;
    box-shadow: var(--shadow-lg);
}

@media (max-width: 720px) {
    .mx-pe-cover {
        aspect-ratio: 4 / 3;
    }
}

.mx-pe-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 1s cubic-bezier(0.22, 1, 0.36, 1);
}

.mx-pe-cover:hover img {
    transform: scale(1.025);
}

.mx-pe-cover__caption {
    position: absolute;
    inset: auto 1.4rem 1.4rem;
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    padding: 1.05rem 1.25rem 1.1rem;
    background: rgba(15, 17, 21, 0.78);
    color: #f7f0e1;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 14px;
    max-width: 28rem;
}

@media (max-width: 720px) {
    .mx-pe-cover__caption {
        inset: auto 0.85rem 0.85rem;
        max-width: none;
    }
}

.mx-pe-cover__year {
    font-family: var(--display);
    font-size: 1.55rem;
    font-weight: 600;
    letter-spacing: -0.02em;
    color: var(--brand-yellow);
    line-height: 1;
}

.mx-pe-cover__title {
    font-size: 1rem;
    font-weight: 600;
    color: #fff;
    letter-spacing: -0.01em;
}

.mx-pe-cover__meta {
    font-size: 0.84rem;
    color: rgba(247, 240, 225, 0.7);
    letter-spacing: 0.02em;
}

.mx-pe-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
    margin-bottom: 1.4rem;
}

@media (max-width: 1100px) {
    .mx-pe-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 540px) {
    .mx-pe-grid {
        grid-template-columns: 1fr;
    }
}

.mx-pe-card {
    position: relative;
    margin: 0;
    border-radius: var(--radius-md);
    overflow: hidden;
    aspect-ratio: 3 / 4;
    background: var(--paper);
    box-shadow: var(--shadow-sm);
    transition: box-shadow 0.3s ease, transform 0.35s ease;
}

.mx-pe-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-3px);
}

.mx-pe-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}

.mx-pe-card:hover img {
    transform: scale(1.05);
}

.mx-pe-card figcaption {
    position: absolute;
    inset: auto 0.75rem 0.75rem;
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
    padding: 0.75rem 0.9rem;
    background: rgba(15, 17, 21, 0.8);
    color: #f7f0e1;
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 10px;
}

.mx-pe-card__year {
    font-family: var(--display);
    font-weight: 600;
    font-size: 1.05rem;
    letter-spacing: -0.015em;
    color: var(--brand-yellow);
    line-height: 1;
}

.mx-pe-card__title {
    font-size: 0.82rem;
    color: rgba(247, 240, 225, 0.85);
    letter-spacing: 0.01em;
    line-height: 1.35;
}

/* Bottom horizontal strip — small thumbnails */
.mx-pe-strip {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 0.65rem;
}

@media (max-width: 880px) {
    .mx-pe-strip {
        grid-template-columns: repeat(3, 1fr);
    }

    .mx-pe-strip__item:nth-child(n + 4) {
        display: none;
    }
}

.mx-pe-strip__item {
    margin: 0;
    border-radius: var(--radius-sm);
    overflow: hidden;
    aspect-ratio: 4 / 3;
    background: var(--paper);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.mx-pe-strip__item:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.mx-pe-strip__item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
    filter: saturate(0.92) brightness(0.96);
}

.mx-pe-strip__item:hover img {
    transform: scale(1.06);
    filter: saturate(1.05) brightness(1);
}

/* ========================================================================
   What to expect
   ======================================================================== */

.mx-expect {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr));
    gap: 1rem;
}

.mx-expect-card {
    padding: 1.85rem 1.65rem 1.7rem;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-md);
    transition: background 0.25s ease, transform 0.25s ease,
        border-color 0.25s ease;
}

.mx-expect-card:hover {
    background: rgba(255, 255, 255, 0.07);
    border-color: rgba(255, 255, 255, 0.18);
    transform: translateY(-3px);
}

.mx-expect-card__icon {
    width: 42px;
    height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: rgba(249, 230, 4, 0.14);
    color: var(--brand-yellow);
    margin-bottom: 1.1rem;
    font-size: 1.05rem;
}

.mx-expect-card h3 {
    font-family: var(--display);
    font-weight: 600;
    font-size: 1.18rem;
    line-height: 1.25;
    letter-spacing: -0.015em;
    color: #f7f0e1;
    margin-bottom: 0.55rem;
}

.mx-expect-card p {
    color: rgba(244, 238, 226, 0.74);
    font-size: 0.94rem;
    line-height: 1.62;
}

/* ========================================================================
   Speakers / Sponsors placeholders
   ======================================================================== */

.mx-placeholder {
    background: var(--paper-elevated);
    border: 1px dashed var(--line);
    border-radius: var(--radius-lg);
    padding: clamp(2.5rem, 5vw, 4rem);
    text-align: center;
}

.mx-placeholder__icon {
    width: 56px;
    height: 56px;
    margin: 0 auto 1.25rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 18px;
    background: rgba(218, 8, 8, 0.08);
    color: var(--brand-red);
    font-size: 1.5rem;
}

.mx-placeholder h3 {
    font-family: var(--display);
    font-size: 1.55rem;
    font-weight: 600;
    color: var(--ink);
    margin-bottom: 0.55rem;
}

.mx-placeholder p {
    color: var(--muted);
    max-width: 32rem;
    margin: 0 auto 0.4rem;
    line-height: 1.65;
}

/* ========================================================================
   Schedule
   ======================================================================== */

.mx-schedule {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(18rem, 1fr));
    gap: 1rem;
}

.mx-day {
    position: relative;
    background: var(--paper-elevated);
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    padding: 1.85rem 1.65rem 1.75rem;
    transition: transform 0.25s ease, box-shadow 0.25s ease,
        border-color 0.25s ease;
}

.mx-day:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
    border-color: var(--ink-soft);
}

.mx-day__num {
    font-family: var(--display);
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    color: var(--brand-red);
    margin-bottom: 1.1rem;
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
}

.mx-day__num::before {
    content: "";
    width: 1.8rem;
    height: 1px;
    background: currentColor;
}

.mx-day__title {
    font-family: var(--display);
    font-weight: 600;
    font-size: 1.32rem;
    line-height: 1.25;
    color: var(--ink);
    margin-bottom: 0.7rem;
    letter-spacing: -0.015em;
}

.mx-day__copy {
    color: var(--muted);
    font-size: 0.94rem;
    line-height: 1.62;
}

.mx-day__chips {
    margin-top: 1.1rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
}

.mx-day__chip {
    font-size: 0.74rem;
    padding: 0.25rem 0.6rem;
    border-radius: 999px;
    background: var(--paper-warm);
    color: var(--ink-soft);
    font-weight: 500;
}

.mx-schedule__note {
    margin-top: 1.5rem;
    text-align: center;
    color: var(--muted);
    font-size: 0.92rem;
}

/* ========================================================================
   Packages
   ======================================================================== */

.mx-packages {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}

@media (max-width: 920px) {
    .mx-packages {
        grid-template-columns: 1fr;
        max-width: 28rem;
        margin-inline: auto;
    }
}

.mx-package {
    position: relative;
    background: var(--paper-elevated);
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    padding: 2rem 1.75rem 2rem;
    display: flex;
    flex-direction: column;
    transition: transform 0.25s ease, box-shadow 0.25s ease,
        border-color 0.25s ease;
}

.mx-package:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: var(--ink-soft);
}

.mx-package--featured {
    background: linear-gradient(180deg, #14161b 0%, #1d2129 100%);
    border-color: var(--ink-soft);
    color: #f7f0e1;
}

.mx-package--featured:hover {
    border-color: var(--brand-red);
}

.mx-package__pill {
    align-self: flex-start;
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    font-weight: 700;
    padding: 0.3rem 0.65rem;
    border-radius: 999px;
    background: var(--paper-warm);
    color: var(--ink-soft);
    margin-bottom: 1.4rem;
}

.mx-package--featured .mx-package__pill {
    background: rgba(249, 230, 4, 0.14);
    color: var(--brand-yellow);
}

.mx-package__name {
    font-family: var(--display);
    font-weight: 600;
    font-size: 1.55rem;
    color: inherit;
    margin-bottom: 0.4rem;
    letter-spacing: -0.015em;
}

.mx-package__sub {
    color: var(--muted);
    font-size: 0.92rem;
    line-height: 1.55;
    min-height: 2.6em;
}

.mx-package--featured .mx-package__sub {
    color: rgba(244, 238, 226, 0.7);
}

.mx-package__price {
    margin: 1.6rem 0 0.4rem;
    display: flex;
    align-items: baseline;
    gap: 0.45rem;
}

.mx-package__currency {
    font-size: 0.92rem;
    font-weight: 600;
    color: var(--muted);
    letter-spacing: 0.04em;
}

.mx-package--featured .mx-package__currency {
    color: rgba(244, 238, 226, 0.62);
}

.mx-package__amount {
    font-family: var(--display);
    font-size: clamp(2.2rem, 3vw, 2.65rem);
    font-weight: 600;
    letter-spacing: -0.025em;
    color: inherit;
    line-height: 1;
}

.mx-package__per {
    font-size: 0.85rem;
    color: var(--muted);
    margin-bottom: 1.4rem;
}

.mx-package--featured .mx-package__per {
    color: rgba(244, 238, 226, 0.62);
}

.mx-package__list {
    list-style: none;
    margin: 0 0 1.7rem;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.55rem;
}

.mx-package__list li {
    position: relative;
    padding-left: 1.4rem;
    font-size: 0.92rem;
    line-height: 1.5;
    color: var(--ink-soft);
}

.mx-package--featured .mx-package__list li {
    color: rgba(244, 238, 226, 0.85);
}

.mx-package__list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.55rem;
    width: 0.55rem;
    height: 0.55rem;
    border-radius: 50%;
    background: var(--brand-red);
}

.mx-package--featured .mx-package__list li::before {
    background: var(--brand-yellow);
}

.mx-package__cta {
    margin-top: auto;
    width: 100%;
}

.mx-package__cta.mx-btn--ghost-light {
    background: var(--paper);
    border-color: var(--line);
}

.mx-package--featured .mx-package__cta.mx-btn--primary {
    background: var(--brand-red);
}

/* Verification helper note */
.mx-verify-note {
    margin-top: 2rem;
    padding: 1rem 1.15rem;
    background: var(--paper-elevated);
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    color: var(--muted);
    font-size: 0.86rem;
    line-height: 1.55;
    display: flex;
    gap: 0.85rem;
    align-items: flex-start;
}

.mx-verify-note strong {
    color: var(--ink);
    font-weight: 600;
}

.mx-verify-note__icon {
    flex-shrink: 0;
    width: 28px;
    height: 28px;
    border-radius: 8px;
    background: rgba(218, 8, 8, 0.1);
    color: var(--brand-red);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
}

/* ========================================================================
   Showcase
   ======================================================================== */

.mx-showcase {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(20rem, 1fr));
    gap: 1rem;
}

.mx-showcase-card {
    background: var(--paper-elevated);
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    padding: 2rem 1.85rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.mx-showcase-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.mx-showcase-card__head {
    display: flex;
    align-items: center;
    gap: 0.85rem;
}

.mx-showcase-card__icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: rgba(218, 8, 8, 0.08);
    color: var(--brand-red);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
}

.mx-showcase-card h3 {
    font-family: var(--display);
    font-weight: 600;
    font-size: 1.4rem;
    letter-spacing: -0.015em;
    color: var(--ink);
}

.mx-showcase-card > p {
    color: var(--muted);
    font-size: 0.95rem;
    line-height: 1.62;
}

.mx-showcase-card h4 {
    font-family: var(--sans);
    font-weight: 600;
    font-size: 0.78rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--brand-red);
    margin-top: 0.4rem;
}

.mx-showcase-card ul {
    margin-top: 0.4rem;
    color: var(--ink-soft);
    font-size: 0.92rem;
    line-height: 1.55;
    list-style: none;
    padding: 0;
}

.mx-showcase-card ul li {
    position: relative;
    padding-left: 1.2rem;
    margin-bottom: 0.35rem;
}

.mx-showcase-card ul li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.6rem;
    width: 6px;
    height: 1px;
    background: var(--brand-red);
}

.mx-timeline {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(7rem, 1fr));
    gap: 0.6rem;
    margin-top: 0.4rem;
    padding: 0.85rem 1rem;
    background: var(--paper-warm);
    border-radius: var(--radius-sm);
}

.mx-timeline__item {
    font-size: 0.82rem;
    color: var(--muted);
}

.mx-timeline__item strong {
    display: block;
    color: var(--ink);
    font-weight: 600;
    font-size: 0.9rem;
}

.mx-showcase-card .mx-btn {
    margin-top: auto;
    align-self: flex-start;
}

/* ========================================================================
   CTA banner
   ======================================================================== */

.mx-cta {
    background: linear-gradient(135deg, #14161b 0%, #2a141a 60%, #4a0d0d 100%);
    color: #f7f0e1;
    border-radius: clamp(0px, 1.5vw, var(--radius-lg));
    padding: clamp(3rem, 6vw, 5rem) clamp(1.5rem, 4vw, 4rem);
    margin-block: clamp(2rem, 5vw, 4rem);
    position: relative;
    overflow: hidden;
}

.mx-cta::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: radial-gradient(
        700px 400px at 90% 0%,
        rgba(249, 230, 4, 0.12),
        transparent 70%
    );
    pointer-events: none;
}

.mx-cta__inner {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) auto;
    gap: 2rem;
    align-items: center;
    position: relative;
}

.mx-cta__title {
    font-family: var(--display);
    font-size: clamp(1.8rem, 3.5vw, 2.6rem);
    font-weight: 600;
    line-height: 1.1;
    letter-spacing: -0.02em;
    margin-bottom: 0.65rem;
    color: #f7f0e1;
}

.mx-cta__title em {
    font-style: italic;
    color: var(--brand-yellow);
}

.mx-cta__sub {
    color: rgba(247, 240, 225, 0.78);
    font-size: 1rem;
    max-width: 36rem;
    line-height: 1.65;
}

@media (max-width: 720px) {
    .mx-cta__inner {
        grid-template-columns: 1fr;
    }
}

/* ========================================================================
   Footer
   ======================================================================== */

.mx-footer {
    background: var(--paper-deep);
    color: rgba(247, 240, 225, 0.78);
    padding: clamp(3.5rem, 6vw, 5rem) 0 2rem;
}

.mx-footer__grid {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) repeat(3, minmax(0, 1fr));
    gap: 2.4rem;
    margin-bottom: 2.5rem;
}

.mx-footer__brand img {
    height: 48px;
    width: auto;
    margin-bottom: 1rem;
}

.mx-footer__brand p {
    font-size: 0.92rem;
    line-height: 1.65;
    color: rgba(247, 240, 225, 0.6);
    max-width: 22rem;
}

.mx-footer h5 {
    font-family: var(--sans);
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: rgba(247, 240, 225, 0.6);
    font-weight: 600;
    margin-bottom: 1.1rem;
}

.mx-footer__links {
    display: flex;
    flex-direction: column;
    gap: 0.55rem;
    font-size: 0.94rem;
    list-style: none;
    padding: 0;
}

.mx-footer__links a {
    color: #f7f0e1;
    transition: color 0.2s ease;
}

.mx-footer__links a:hover {
    color: var(--brand-yellow);
}

.mx-footer__contact {
    display: flex;
    flex-direction: column;
    gap: 0.55rem;
    font-size: 0.92rem;
    color: rgba(247, 240, 225, 0.78);
    list-style: none;
    padding: 0;
}

.mx-footer__contact a {
    color: rgba(247, 240, 225, 0.78);
    transition: color 0.2s ease;
}

.mx-footer__contact a:hover {
    color: #f7f0e1;
}

.mx-footer__social {
    display: flex;
    gap: 0.55rem;
    margin-top: 0.4rem;
}

.mx-footer__social a {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.06);
    color: #f7f0e1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s ease, transform 0.2s ease;
}

.mx-footer__social a:hover {
    background: var(--brand-red);
    transform: translateY(-2px);
}

.mx-footer__bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: 1.4rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
    font-size: 0.82rem;
    color: rgba(247, 240, 225, 0.55);
}

@media (max-width: 760px) {
    .mx-footer__grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 480px) {
    .mx-footer__grid {
        grid-template-columns: 1fr;
        gap: 1.85rem;
    }
}

/* ========================================================================
   AOS reveal — soft fade only (no big translates) so the design stays calm.
   ======================================================================== */

[data-aos="mx-fade"] {
    opacity: 0;
    transform: translateY(14px);
    transition-property: opacity, transform;
    transition-timing-function: cubic-bezier(0.22, 1, 0.36, 1);
    transition-duration: 0.7s;
}

[data-aos="mx-fade"].aos-animate {
    opacity: 1;
    transform: none;
}

@media (prefers-reduced-motion: reduce) {
    [data-aos="mx-fade"] {
        opacity: 1;
        transform: none;
        transition: none;
    }

    .mx-hero::before,
    .mx-hero::after {
        animation: none;
    }
}

/* ========================================================================
   Notification (kept for backwards compat with possible registration toasts)
   ======================================================================== */

.registration-notification {
    position: fixed;
    top: 90px;
    right: 20px;
    z-index: 95;
    max-width: 380px;
    animation: mxSlide 0.3s ease-out;
}

.notification-content {
    background: var(--paper-elevated);
    border-radius: var(--radius-md);
    border: 1px solid var(--line);
    box-shadow: var(--shadow-lg);
    padding: 1.2rem 1.3rem;
    border-left: 3px solid var(--brand-red);
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.notification-content h3 {
    font-family: var(--display);
    font-size: 1.1rem;
    color: var(--ink);
    margin: 0;
}

.notification-content p {
    margin: 0;
    color: var(--muted);
    font-size: 0.88rem;
}

.notification-close {
    position: absolute;
    top: 0.6rem;
    right: 0.6rem;
    background: transparent;
    border: none;
    color: var(--muted);
    font-size: 1rem;
    cursor: pointer;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.notification-close:hover {
    background: var(--paper-warm);
    color: var(--ink);
}

@keyframes mxSlide {
    from {
        transform: translateX(20px);
        opacity: 0;
    }

    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@media (max-width: 720px) {
    .registration-notification {
        right: 12px;
        left: 12px;
        max-width: none;
    }
}
