@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&family=Outfit:wght@600;700;800&display=swap');

:root {
    --eg-navy-950: #061347;
    --eg-navy-900: #081854;
    --eg-navy-800: #102464;
    --eg-gold-500: #d2a449;
    --eg-gold-400: #e0bd74;
    --eg-gold-300: #ead49e;
    --eg-bg: #f3f4f8;
    --eg-surface: #ffffff;
    --eg-surface-2: #f6f7fb;
    --eg-border: #dde1ec;
    --eg-text: #152042;
    --eg-text-soft: #4c587a;
    --eg-shadow-lg: 0 28px 60px rgba(7, 19, 63, 0.12);
    --eg-shadow-md: 0 18px 36px rgba(7, 19, 63, 0.08);
    --eg-radius-xl: 28px;
    --eg-radius-lg: 22px;
    --eg-radius-md: 18px;
    --eg-max: 1280px;
    --eg-sprite-url: url('./eventgavel-event-accessibility-field-guide-sprite.webp');
    --eg-sprite-w: 2048;
    --eg-sprite-h: 1365;
    --eg-icon-scale: 0.145;
}

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

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: 'Plus Jakarta Sans', sans-serif;
    background: linear-gradient(180deg, #f4f5f8 0%, #f7f8fc 100%);
    color: var(--eg-text);
}

body.eg-menu-open {
    overflow: hidden;
}

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

a {
    color: inherit;
}

button,
summary {
    font: inherit;
}

a:focus-visible,
button:focus-visible,
summary:focus-visible {
    outline: 3px solid rgba(224, 189, 116, 0.95);
    outline-offset: 3px;
}

.eg-shell {
    width: min(calc(100% - 2rem), var(--eg-max));
    margin: 0 auto;
}

.eg-main {
    padding-bottom: 3rem;
}

.eg-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: var(--eg-navy-950);
    box-shadow: 0 1px 0 rgba(255, 255, 255, 0.08) inset;
}

.eg-header__inner {
    min-height: 92px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
}

.eg-brand {
    display: inline-flex;
    align-items: center;
    gap: 0.95rem;
    text-decoration: none;
    min-width: 0;
}

.eg-brand__mark {
    width: 42px;
    height: auto;
    flex: 0 0 auto;
}

.eg-brand__wordmark {
    font-family: 'Outfit', sans-serif;
    font-size: clamp(1.8rem, 1.15rem + 1.85vw, 3rem);
    line-height: 1;
    letter-spacing: -0.045em;
    white-space: nowrap;
}

.eg-brand__event {
    color: #ffffff;
}

.eg-brand__gavel {
    color: var(--eg-gold-400);
}

.eg-nav {
    display: flex;
    align-items: center;
    gap: clamp(1.05rem, 0.35rem + 1.3vw, 2.25rem);
}

.eg-nav a {
    color: rgba(255, 255, 255, 0.96);
    text-decoration: none;
    font-size: 0.98rem;
    font-weight: 600;
    padding: 0.55rem 0;
    position: relative;
}

.eg-nav a[aria-current="page"],
.eg-nav a:hover {
    color: var(--eg-gold-400);
}

.eg-nav a[aria-current="page"]::after,
.eg-nav a:hover::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -0.15rem;
    width: 100%;
    height: 3px;
    border-radius: 999px;
    background: var(--eg-gold-400);
}

.eg-menu-toggle {
    display: none;
    width: 52px;
    height: 52px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.04);
    padding: 0;
    cursor: pointer;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
}

.eg-menu-toggle span {
    display: block;
    width: 22px;
    height: 2px;
    border-radius: 999px;
    background: #ffffff;
}

.eg-mobile-menu {
    position: fixed;
    inset: 0;
    z-index: 120;
    background: rgba(4, 12, 40, 0.52);
    backdrop-filter: blur(10px);
}

.eg-mobile-menu__panel {
    margin-left: auto;
    width: min(88vw, 420px);
    height: 100%;
    background: linear-gradient(180deg, #081754 0%, #071347 100%);
    padding: 1.2rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    box-shadow: -18px 0 40px rgba(0, 0, 0, 0.22);
}

.eg-mobile-menu__top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.eg-mobile-menu__label {
    color: #ffffff;
    font-weight: 700;
    letter-spacing: 0.02em;
}

.eg-mobile-menu__close {
    width: 48px;
    height: 48px;
    border: 0;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.08);
    color: #ffffff;
    cursor: pointer;
    font-size: 1.9rem;
    line-height: 1;
}

.eg-mobile-nav {
    display: grid;
    gap: 0.6rem;
}

.eg-mobile-nav a {
    text-decoration: none;
    color: #ffffff;
    font-weight: 600;
    padding: 1rem 1.05rem;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.06);
}

.eg-mobile-nav a[aria-current="page"] {
    color: var(--eg-gold-300);
    background: rgba(224, 189, 116, 0.12);
}

.eg-hero {
    padding: 2.75rem 0 2rem;
}

.eg-hero__grid {
    display: grid;
    grid-template-columns: minmax(0, 1.45fr) minmax(320px, 0.82fr);
    gap: 1.4rem;
    align-items: stretch;
}

.eg-hero__content,
.eg-pillars,
.eg-event-card,
.eg-panel,
.eg-compare-card,
.eg-scenario-card,
.eg-support-card,
.eg-reference-card {
    border: 1px solid var(--eg-border);
    box-shadow: var(--eg-shadow-md);
}

.eg-hero__content {
    background: #f7f7f8;
    border-radius: 34px;
    padding: clamp(1.5rem, 1rem + 2vw, 3rem);
}

.eg-pillars {
    background: var(--eg-navy-950);
    color: #ffffff;
    border-radius: 24px;
    padding: 1.4rem 1.6rem;
}

.eg-chip,
.eg-kicker {
    display: inline-flex;
    align-items: center;
    min-height: 32px;
    padding: 0 0.85rem;
    border-radius: 999px;
    border: 1px solid rgba(210, 164, 73, 0.38);
    color: #c98d35;
    font-size: 0.78rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    background: rgba(210, 164, 73, 0.08);
}

.eg-title,
.eg-section__intro h2,
.eg-panel h2,
.eg-scenario-card h2 {
    margin: 0.9rem 0 0;
    font-family: 'Outfit', sans-serif;
    color: var(--eg-navy-950);
    letter-spacing: -0.05em;
    line-height: 0.98;
}

.eg-title {
    font-size: clamp(2.7rem, 1.55rem + 4vw, 5.35rem);
    max-width: 10ch;
}

.eg-lede,
.eg-copy,
.eg-section__intro p,
.eg-event-card p,
.eg-accordion__body p,
.eg-accordion__body li,
.eg-matrix__row p,
.eg-compare-card li,
.eg-scenario-card p,
.eg-support-card p,
.eg-reference-card p,
.eg-pillars__list span {
    color: var(--eg-text-soft);
}

.eg-lede,
.eg-copy {
    max-width: 64ch;
    font-size: 1.02rem;
    line-height: 1.65;
}

.eg-lede {
    margin: 1rem 0 0;
}

.eg-copy {
    margin: 0.85rem 0 0;
}

.eg-hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.85rem;
    margin-top: 1.35rem;
}

.eg-button {
    min-height: 48px;
    padding: 0.9rem 1.25rem;
    border-radius: 999px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    transition: transform 0.2s ease;
}

.eg-button:hover {
    transform: translateY(-1px);
}

.eg-button--primary {
    background: linear-gradient(135deg, var(--eg-gold-500), var(--eg-gold-400));
    color: #212846;
}

.eg-button--secondary {
    background: rgba(16, 36, 100, 0.07);
    color: var(--eg-navy-900);
}

.eg-pillars h2 {
    margin: 0 0 1rem;
    font-size: 1.06rem;
    color: var(--eg-gold-300);
    text-transform: uppercase;
    letter-spacing: 0.02em;
}

.eg-pillars__list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.eg-pillars__list li {
    display: grid;
    grid-template-columns: 38px 1fr;
    gap: 1rem;
    padding: 0.9rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    align-items: start;
}

.eg-pillars__list li:first-child {
    border-top: 0;
    padding-top: 0;
}

.eg-pillars__list strong {
    display: block;
    color: #ffffff;
    font-size: 1.02rem;
    margin-bottom: 0.12rem;
}

.eg-pillars__list span {
    display: block;
    color: rgba(255, 255, 255, 0.78);
    font-size: 0.95rem;
    line-height: 1.5;
}

.eg-section {
    padding: 1rem 0 2.1rem;
}

.eg-section--tint {
    background: linear-gradient(180deg, rgba(8, 24, 84, 0.035) 0%, rgba(8, 24, 84, 0.06) 100%);
    border-top: 1px solid rgba(8, 24, 84, 0.06);
    border-bottom: 1px solid rgba(8, 24, 84, 0.06);
    padding-top: 1.2rem;
    padding-bottom: 2.2rem;
}

.eg-section__intro {
    max-width: 76ch;
    margin-bottom: 1.2rem;
}

.eg-section__intro--tight {
    margin-bottom: 1rem;
}

.eg-section__intro h2 {
    font-size: clamp(2rem, 1.2rem + 2vw, 3.15rem);
}

.eg-section__intro p {
    margin: 0.8rem 0 0;
    font-size: 1rem;
    line-height: 1.68;
}

.eg-card-grid,
.eg-compare-grid,
.eg-reference-grid {
    display: grid;
    gap: 1rem;
}

.eg-card-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.eg-event-card {
    background: #f7f7f8;
    border-radius: 22px;
    padding: 1.45rem;
    min-height: 100%;
}

.eg-event-card__icon-wrap {
    height: 58px;
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
}

.eg-event-card h3,
.eg-compare-card h3,
.eg-support-card h3,
.eg-reference-card h3 {
    margin: 0.65rem 0 0.45rem;
    color: var(--eg-navy-950);
    font-size: clamp(1.28rem, 1.08rem + 0.65vw, 1.75rem);
    line-height: 1.15;
    letter-spacing: -0.03em;
}

.eg-event-card p,
.eg-compare-card li,
.eg-support-card p,
.eg-reference-card p,
.eg-matrix__row p {
    margin: 0;
    font-size: 0.98rem;
    line-height: 1.68;
}

.eg-split {
    display: grid;
    grid-template-columns: minmax(0, 1.25fr) minmax(300px, 0.78fr);
    gap: 1.05rem;
    align-items: start;
}

.eg-stack {
    display: grid;
    gap: 0.95rem;
}

.eg-accordion {
    display: grid;
    gap: 0.9rem;
}

.eg-accordion details {
    background: var(--eg-surface);
    border: 1px solid var(--eg-border);
    border-radius: 22px;
    box-shadow: var(--eg-shadow-md);
    overflow: hidden;
}

.eg-accordion summary {
    list-style: none;
    display: grid;
    grid-template-columns: 44px 1fr;
    gap: 0.9rem;
    align-items: center;
    padding: 1rem 1.1rem;
    cursor: pointer;
}

.eg-accordion summary::-webkit-details-marker {
    display: none;
}

.eg-summary__icon {
    width: 40px;
    height: 40px;
    border-radius: 999px;
    border: 1px solid rgba(210, 164, 73, 0.36);
    background: rgba(210, 164, 73, 0.08);
    display: grid;
    place-items: center;
}

.eg-accordion summary strong {
    display: block;
    color: var(--eg-navy-950);
    font-size: 1rem;
    line-height: 1.2;
}

.eg-accordion summary small {
    display: block;
    color: var(--eg-text-soft);
    font-size: 0.92rem;
    line-height: 1.45;
    margin-top: 0.2rem;
}

.eg-accordion__body {
    padding: 0 1.1rem 1.05rem 1.1rem;
}

.eg-accordion__body p {
    margin: 0 0 0.8rem;
}

.eg-accordion__body ul,
.eg-compare-card ul {
    margin: 0;
    padding-left: 1.1rem;
}

.eg-accordion__body li,
.eg-compare-card li {
    margin: 0.44rem 0;
}

.eg-panel {
    background: var(--eg-surface);
    border-radius: 22px;
    padding: 1.25rem;
}

.eg-panel h2 {
    font-size: 1.55rem;
    margin-bottom: 0.95rem;
}

.eg-matrix {
    display: grid;
    gap: 0.72rem;
}

.eg-matrix__row {
    background: var(--eg-surface-2);
    border: 1px solid var(--eg-border);
    border-radius: 16px;
    padding: 0.92rem 1rem;
}

.eg-matrix__row span {
    display: inline-block;
    color: var(--eg-navy-950);
    font-size: 0.98rem;
    font-weight: 800;
    margin-bottom: 0.14rem;
}

.eg-compare-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.eg-compare-card {
    border-radius: 22px;
    padding: 1.3rem;
    background: var(--eg-surface);
}

.eg-compare-card--good {
    background: linear-gradient(180deg, #f1f8f4 0%, #ffffff 100%);
}

.eg-compare-card--bad {
    background: linear-gradient(180deg, #fff1f0 0%, #ffffff 100%);
}

.eg-scenario {
    display: grid;
    grid-template-columns: minmax(0, 1.16fr) minmax(280px, 0.72fr);
    gap: 1rem;
    align-items: stretch;
}

.eg-scenario-card {
    background: var(--eg-surface);
    border-radius: 26px;
    padding: 1.3rem;
    display: grid;
    grid-template-columns: 90px 1fr;
    gap: 1rem;
}

.eg-scenario-card__badge {
    width: 90px;
    height: 90px;
    border-radius: 24px;
    background: var(--eg-navy-950);
    display: grid;
    place-items: center;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.06);
}

.eg-scenario-card h2 {
    font-size: clamp(1.85rem, 1.15rem + 1.3vw, 2.65rem);
}

.eg-scenario-card p {
    margin: 0.85rem 0 0;
    font-size: 1rem;
    line-height: 1.72;
}

.eg-support-stack {
    display: grid;
    gap: 1rem;
}

.eg-support-card,
.eg-reference-card {
    background: var(--eg-surface);
    border-radius: 22px;
    padding: 1.2rem;
}

.eg-reference-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.eg-icon {
    display: inline-block;
    flex: 0 0 auto;
    background-image: var(--eg-sprite-url);
    background-repeat: no-repeat;
    background-size: calc(var(--eg-sprite-w) * 1px * var(--eg-icon-scale)) calc(var(--eg-sprite-h) * 1px * var(--eg-icon-scale));
    background-position: calc(var(--eg-x) * -1px * var(--eg-icon-scale)) calc(var(--eg-y) * -1px * var(--eg-icon-scale));
    width: calc(var(--eg-w) * 1px * var(--eg-icon-scale));
    height: calc(var(--eg-h) * 1px * var(--eg-icon-scale));
}

.eg-icon--large {
    --eg-icon-scale: 0.19;
}

.eg-icon--badge { --eg-x: 253; --eg-y: 155; --eg-w: 208; --eg-h: 176; }
.eg-icon--music { --eg-x: 606; --eg-y: 155; --eg-w: 169; --eg-h: 175; }
.eg-icon--stadium { --eg-x: 977; --eg-y: 167; --eg-w: 198; --eg-h: 173; }
.eg-icon--ear { --eg-x: 1357; --eg-y: 155; --eg-w: 161; --eg-h: 206; }
.eg-icon--briefcase { --eg-x: 1656; --eg-y: 163; --eg-w: 237; --eg-h: 188; }
.eg-icon--ring { --eg-x: 265; --eg-y: 453; --eg-w: 188; --eg-h: 248; }
.eg-icon--phone { --eg-x: 653; --eg-y: 477; --eg-w: 121; --eg-h: 196; }
.eg-icon--group { --eg-x: 974; --eg-y: 478; --eg-w: 221; --eg-h: 139; }
.eg-icon--wheelchair { --eg-x: 1355; --eg-y: 471; --eg-w: 176; --eg-h: 210; }
.eg-icon--crowd { --eg-x: 1667; --eg-y: 485; --eg-w: 239; --eg-h: 152; }
.eg-icon--walk { --eg-x: 275; --eg-y: 779; --eg-w: 148; --eg-h: 223; }
.eg-icon--chat { --eg-x: 618; --eg-y: 805; --eg-w: 216; --eg-h: 171; }
.eg-icon--venue { --eg-x: 974; --eg-y: 812; --eg-w: 208; --eg-h: 170; }
.eg-icon--exit { --eg-x: 1346; --eg-y: 789; --eg-w: 197; --eg-h: 181; }
.eg-icon--checklist { --eg-x: 1687; --eg-y: 793; --eg-w: 156; --eg-h: 188; }

@media (max-width: 1120px) {
    .eg-hero__grid,
    .eg-split,
    .eg-scenario {
        grid-template-columns: 1fr;
    }

    .eg-card-grid,
    .eg-reference-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 860px) {
    .eg-nav {
        display: none;
    }

    .eg-menu-toggle {
        display: inline-flex;
    }

    .eg-header__inner {
        min-height: 78px;
    }

    .eg-hero {
        padding-top: 1rem;
    }

    .eg-card-grid,
    .eg-compare-grid,
    .eg-reference-grid {
        grid-template-columns: 1fr;
    }

    .eg-scenario-card {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    .eg-shell {
        width: min(calc(100% - 1rem), var(--eg-max));
    }

    .eg-hero__content,
    .eg-pillars,
    .eg-event-card,
    .eg-panel,
    .eg-compare-card,
    .eg-scenario-card,
    .eg-support-card,
    .eg-reference-card {
        padding: 1rem;
        border-radius: 22px;
    }

    .eg-title {
        max-width: 8.5ch;
    }

    .eg-hero__actions {
        flex-direction: column;
    }

    .eg-button {
        width: 100%;
    }

    .eg-brand__mark {
        width: 36px;
    }

    .eg-brand__wordmark {
        font-size: 1.72rem;
    }

    .eg-accordion summary {
        padding: 0.95rem 1rem;
    }

    .eg-accordion__body {
        padding: 0 1rem 1rem 1rem;
    }

    .eg-scenario-card__badge {
        width: 78px;
        height: 78px;
    }
}

@media (max-width: 420px) {
    .eg-brand {
        gap: 0.75rem;
    }

    .eg-brand__wordmark {
        font-size: 1.5rem;
    }

    .eg-chip,
    .eg-kicker {
        font-size: 0.72rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        transition: none !important;
        animation: none !important;
    }
}
