:root {
    --font-sans: "Plus Jakarta Sans", "Avenir Next", "Segoe UI", "Helvetica Neue", sans-serif;
    --ink: #18283e;
    --ink-soft: #4a5d74;
    --canvas: #f3f4f6;
    --panel: #ffffff;
    --brand: #a32c4f;
    --brand-dark: #6b1a34;
    --accent: #1f6a7d;
    --line: #cfd8e6;
    --ok: #1d7b3f;
    --shadow: 0 20px 45px rgba(24, 40, 62, 0.12);
}

* {
    box-sizing: border-box;
}

img,
svg,
video {
    max-width: 100%;
    height: auto;
}

body {
    margin: 0;
    font-family: var(--font-sans);
    color: var(--ink);
    background:
        radial-gradient(circle at 88% 12%, #fde7d1 0%, transparent 36%),
        radial-gradient(circle at 8% 82%, #d9edf2 0%, transparent 31%),
        var(--canvas);
    line-height: 1.5;
}

.ambient-bg {
    position: fixed;
    inset: 0;
    background:
        radial-gradient(circle at 10% 15%, rgba(163, 44, 79, 0.15), transparent 35%),
        radial-gradient(circle at 82% 88%, rgba(31, 106, 125, 0.16), transparent 30%);
    pointer-events: none;
    z-index: -1;
}

h1,
h2,
h3,
h4 {
    font-family: var(--font-sans);
    font-weight: 700;
    letter-spacing: -0.01em;
    line-height: 1.15;
    margin-top: 0;
}

a {
    color: var(--brand);
    text-decoration: none;
}

a:hover {
    color: var(--brand-dark);
}

.container {
    width: min(1160px, calc(100% - 2rem));
    margin-inline: auto;
}

.narrow {
    width: min(760px, calc(100% - 2rem));
    margin-inline: auto;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 20;
    backdrop-filter: blur(8px);
}

.event-ticker {
    position: relative;
    z-index: 21;
    background: linear-gradient(90deg, #143454, #215d7a);
    color: #f3f8ff;
    border-bottom: 1px solid rgba(255, 255, 255, 0.22);
}

.event-ticker-shell {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 0.9rem;
    align-items: center;
    padding: 0.42rem 0;
}

.event-ticker-label {
    display: inline-flex;
    align-items: center;
    white-space: nowrap;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-size: 0.72rem;
    font-weight: 800;
    padding: 0.22rem 0.58rem;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.32);
    background: rgba(255, 255, 255, 0.08);
}

.event-ticker-window {
    overflow: hidden;
    min-width: 0;
}

.event-ticker-track {
    display: flex;
    align-items: center;
    width: max-content;
    animation: tickerScroll 34s linear infinite;
}

.event-ticker-itemset {
    display: inline-flex;
    align-items: center;
    gap: 1.8rem;
    padding-right: 1.8rem;
}

.event-ticker-item {
    display: inline-flex;
    align-items: center;
    color: #f3f8ff;
    font-size: 0.92rem;
    font-weight: 600;
    white-space: nowrap;
}

.event-ticker-item:not(:first-child)::before {
    content: "\2022";
    margin-right: 0.6rem;
    color: rgba(255, 255, 255, 0.55);
}

.event-ticker-item p {
    margin: 0;
}

.event-ticker-item a {
    color: #fff6bc;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.utility-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    padding: 0.6rem 0;
    font-size: 0.88rem;
    color: var(--ink-soft);
}

.utility-bar > span {
    overflow-wrap: anywhere;
}

.utility-actions {
    display: flex;
    gap: 0.4rem;
    flex-wrap: wrap;
}

.nav-shell {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    background: rgba(255, 255, 255, 0.87);
    border: 1px solid rgba(255, 255, 255, 0.95);
    box-shadow: var(--shadow);
    border-radius: 18px;
    padding: 0.8rem 1rem;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
    font-family: var(--font-sans);
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--ink);
    max-width: 360px;
}

.brand span {
    line-height: 1.2;
}

.brand-logo {
    width: clamp(120px, 13vw, 176px);
    height: auto;
    object-fit: contain;
    display: block;
}

.menu-toggle {
    display: none;
    border: 1px solid var(--line);
    border-radius: 10px;
    background: var(--panel);
    color: var(--ink);
    padding: 0.45rem 0.7rem;
}

.main-nav {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.main-nav a {
    color: var(--ink);
    font-weight: 600;
}


.nav-dropdown {
    position: relative;
}

.nav-dropdown-toggle {
    border: 0;
    background: transparent;
    color: var(--ink);
    font-weight: 600;
    font: inherit;
    cursor: pointer;
    padding: 0;
}

.nav-dropdown-menu {
    display: none;
    position: absolute;
    top: calc(100% + 0.5rem);
    left: 0;
    min-width: 220px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 12px;
    box-shadow: var(--shadow);
    padding: 0.5rem;
    z-index: 30;
}

.nav-dropdown-menu a {
    display: block;
    padding: 0.45rem 0.55rem;
    border-radius: 8px;
}

.nav-dropdown-menu a:hover {
    background: #f4f6fa;
}

.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown:focus-within .nav-dropdown-menu {
    display: block;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 0;
    border-radius: 10px;
    background: linear-gradient(135deg, var(--brand), var(--accent));
    color: #fff;
    padding: 0.6rem 0.95rem;
    font-weight: 700;
    cursor: pointer;
}

.button.subtle {
    background: #fff;
    color: var(--ink);
    border: 1px solid var(--line);
}

.utility-btn {
    color: #fff;
    border: 1px solid transparent;
}

.utility-btn-donate {
    background: linear-gradient(135deg, #b2611c, #de8a2b);
}

.utility-btn-login {
    background: linear-gradient(135deg, #215b84, #2f7fb8);
}

.utility-btn-register {
    background: linear-gradient(135deg, #7f2a4c, #b24772);
}

.utility-btn:hover,
.utility-btn:focus-visible {
    filter: brightness(1.06);
}

.hero {
    padding: 3.8rem 0 2rem;
}

.hero-dynamic-grid {
    display: grid;
    grid-template-columns: 1.55fr 1fr;
    gap: 1rem;
    align-items: stretch;
}

.hero-slider {
    background: linear-gradient(140deg, #10233a, #173653);
    border-radius: 22px;
    border: 1px solid rgba(255, 255, 255, 0.25);
    box-shadow: var(--shadow);
    overflow: hidden;
    min-height: 430px;
    position: relative;
}

.hero-slides {
    position: relative;
    min-height: 430px;
}

.hero-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    pointer-events: none;
    transition: opacity 450ms ease;
    background:
        radial-gradient(circle at 82% 18%, rgba(254, 227, 196, 0.35), transparent 40%),
        linear-gradient(140deg, rgba(12, 29, 52, 0.92), rgba(27, 60, 89, 0.85)),
        var(--slide-image);
    background-size: cover;
    background-position: center;
}

.hero-slide.is-active {
    opacity: 1;
    pointer-events: auto;
}

.hero-slide-content {
    max-width: 72%;
    padding: 2.2rem;
    color: #f3f8ff;
}

.hero-slide h1 {
    font-size: clamp(1.9rem, 3.2vw, 3rem);
    margin: 0.5rem 0 0.9rem;
}

.kicker {
    text-transform: uppercase;
    letter-spacing: 0.09em;
    color: #d6e8ff;
    font-size: 0.78rem;
    font-weight: 800;
}

.hero-slide p {
    font-size: 1rem;
    color: rgba(243, 248, 255, 0.92);
    max-width: 56ch;
    overflow-wrap: anywhere;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.7rem;
    margin-top: 1.1rem;
}

.hero-slider .button.subtle {
    background: rgba(255, 255, 255, 0.08);
    color: #f3f8ff;
    border: 1px solid rgba(255, 255, 255, 0.22);
}

.hero-card {
    background: linear-gradient(145deg, #fff, #f8f7fc);
    border: 1px solid #fff;
    border-radius: 16px;
    box-shadow: var(--shadow);
    padding: 1rem 1.2rem;
}

.hero-logo {
    width: min(100%, 280px);
    max-height: 82px;
    height: auto;
    object-fit: contain;
    margin-bottom: 0.45rem;
}

.hero-slider-controls {
    position: absolute;
    left: 1rem;
    right: 1rem;
    bottom: 0.9rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.8rem;
}

.hero-nav {
    border: 1px solid rgba(255, 255, 255, 0.24);
    background: rgba(10, 24, 43, 0.55);
    color: #f2f6fd;
    border-radius: 999px;
    padding: 0.45rem 0.8rem;
    font-weight: 700;
    cursor: pointer;
}

.hero-dots {
    display: inline-flex;
    gap: 0.45rem;
    align-items: center;
}

.hero-dot {
    width: 11px;
    height: 11px;
    border-radius: 999px;
    border: 0;
    background: rgba(255, 255, 255, 0.35);
    cursor: pointer;
}

.hero-dot.is-active {
    background: #ffffff;
    transform: scale(1.1);
}

.hero-media-panel {
    display: grid;
    gap: 0.9rem;
}

.hero-media-head {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 0.7rem;
}

.hero-media-head h2 {
    margin: 0;
    font-size: 1.15rem;
}

.video-widget h3 {
    margin-bottom: 0;
}

.visual-tiles {
    display: grid;
    gap: 1rem;
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.visual-tile {
    position: relative;
    overflow: hidden;
    border-radius: 18px;
    border: 1px solid rgba(255, 255, 255, 0.75);
    min-height: 170px;
    padding: 1.1rem;
    display: grid;
    align-content: end;
    color: #fff;
    box-shadow: 0 14px 28px rgba(16, 36, 62, 0.16);
}

.visual-tile::before {
    content: "";
    position: absolute;
    inset: -10% -20% 35% 40%;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.22);
    pointer-events: none;
}

.visual-tile.projects {
    background: linear-gradient(135deg, #15395d, #25788e);
}

.visual-tile.events {
    background: linear-gradient(135deg, #5e1f38, #9b3e5e);
}

.visual-tile.giving {
    background: linear-gradient(135deg, #5a3e16, #b67923);
}

.visual-tile.directory {
    background: linear-gradient(135deg, #184535, #338a69);
}

.visual-tile h3 {
    margin-bottom: 0.35rem;
}

.visual-tile p {
    margin: 0;
    color: rgba(255, 255, 255, 0.95);
}

.tile-eyebrow {
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-size: 0.72rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.8);
}

.metric-card {
    text-align: center;
}

.visual-list-card {
    position: relative;
    overflow: hidden;
}

.visual-strip {
    height: 6px;
    border-radius: 999px;
    margin-bottom: 0.7rem;
    background: linear-gradient(135deg, #216f82, #56b7c4);
}

.visual-strip.alt {
    background: linear-gradient(135deg, #84304f, #d47b9b);
}

.social-card {
    background:
        radial-gradient(circle at 85% 5%, rgba(163, 44, 79, 0.15), transparent 35%),
        #fff;
}

.section {
    padding: 2.2rem 0;
    animation: fadeUp 450ms ease both;
}

.section-head {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 1rem;
    margin-bottom: 1rem;
}

.card-grid {
    display: grid;
    gap: 1rem;
}

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

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

.split-grid {
    display: grid;
    gap: 1rem;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.stack {
    display: grid;
    gap: 1rem;
}

.card {
    background: var(--panel);
    border: 1px solid var(--line);
    border-radius: 15px;
    box-shadow: 0 10px 24px rgba(16, 36, 62, 0.07);
    padding: 1rem;
}

.card p,
.richtext,
.site-footer p,
.message {
    overflow-wrap: anywhere;
}

.metric {
    font-size: 1.6rem;
    margin: 0;
    color: var(--brand);
    font-weight: 800;
}

.meta {
    color: var(--ink-soft);
    font-size: 0.9rem;
}

.lead {
    color: var(--ink-soft);
    font-size: 1.06rem;
}

.page-wrap h1 {
    margin-bottom: 0.55rem;
}

.richtext {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 15px;
    padding: 1rem 1.1rem;
}

.richtext table {
    display: block;
    width: 100%;
    overflow-x: auto;
    border-collapse: collapse;
}

.richtext img {
    max-width: 100%;
    height: auto;
}

.form-shell {
    display: grid;
    gap: 0.8rem;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 15px;
    padding: 1rem;
    box-shadow: var(--shadow);
}

.form-shell.two-col {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

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

label {
    display: grid;
    gap: 0.35rem;
    font-weight: 600;
    color: var(--ink);
}

input,
select,
textarea {
    width: 100%;
    border: 1px solid var(--line);
    border-radius: 9px;
    padding: 0.6rem 0.7rem;
    font: inherit;
    color: var(--ink);
    background: #fff;
}

textarea {
    min-height: 120px;
}

small {
    color: var(--ink-soft);
    font-weight: 500;
}

ul.errorlist {
    margin: 0;
    padding-left: 1rem;
    color: #9d1f2f;
    font-size: 0.9rem;
}

.messages {
    margin-top: 1rem;
}

.message {
    border-radius: 10px;
    padding: 0.7rem 0.9rem;
    margin-bottom: 0.5rem;
    background: #ecf6ff;
    border: 1px solid #cde4f6;
}

.message.success {
    background: #edf9f2;
    border-color: #bce5cb;
    color: var(--ok);
}

.detail-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.8rem;
    margin-bottom: 1rem;
}

.site-footer {
    margin-top: 2rem;
    padding: 2.2rem 0 1rem;
    background: linear-gradient(180deg, #1c2a40, #111b2b);
    color: #e8eef6;
}

.site-footer h3,
.site-footer h4 {
    color: #fff;
}

.footer-grid {
    display: grid;
    gap: 1rem;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
}

.footer-links {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 0.35rem;
}

.footer-links a,
.social-row a {
    color: #d6e5f7;
}

.social-row {
    display: flex;
    gap: 0.7rem;
    flex-wrap: wrap;
}

.footer-bottom {
    margin-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    padding-top: 1rem;
    font-size: 0.9rem;
}

.sponsor-shell {
    margin-top: 1.2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.16);
    padding-top: 1rem;
    padding-bottom: 0.6rem;
}

.sponsor-title {
    margin: 0 0 0.75rem;
    color: #e7eef8;
    font-size: 0.94rem;
    font-weight: 600;
    text-align: center;
}

.sponsor-showcase {
    padding-top: 0.4rem;
}

.sponsor-shell-main {
    margin-top: 0;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    border-radius: 14px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.93), rgba(244, 248, 252, 0.9));
    box-shadow: 0 10px 22px rgba(16, 36, 62, 0.08);
    padding-inline: 0.95rem;
}

.sponsor-shell-main .sponsor-title {
    color: var(--ink);
}

.sponsor-shell-main .sponsor-link {
    background: #ffffff;
    border: 1px solid var(--line);
}

.sponsor-ticker-window {
    overflow: hidden;
}

.sponsor-ticker-track {
    display: flex;
    width: max-content;
    align-items: center;
    animation: sponsorScroll 28s linear infinite;
}

.sponsor-ticker-window:hover .sponsor-ticker-track {
    animation-play-state: paused;
}

.sponsor-itemset {
    display: inline-flex;
    align-items: center;
    gap: 1.1rem;
    padding-right: 1.1rem;
}

.sponsor-link {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.94);
    border: 1px solid rgba(255, 255, 255, 0.26);
    border-radius: 12px;
    height: 68px;
    min-width: 138px;
    padding: 0.5rem 0.65rem;
}

.sponsor-link::after {
    content: attr(data-sponsor);
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: calc(100% + 8px);
    background: rgba(12, 23, 38, 0.94);
    border: 1px solid rgba(255, 255, 255, 0.28);
    color: #f4f8fe;
    padding: 0.3rem 0.5rem;
    border-radius: 8px;
    font-size: 0.75rem;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: opacity 140ms ease;
}

.sponsor-link:hover::after,
.sponsor-link:focus-visible::after {
    opacity: 1;
}

.sponsor-logo {
    max-width: 122px;
    max-height: 46px;
    object-fit: contain;
}

.cookie-banner {
    position: fixed;
    left: 1rem;
    right: 1rem;
    bottom: 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    background: rgba(24, 40, 62, 0.95);
    color: #fff;
    border-radius: 12px;
    padding: 0.9rem 1rem;
    box-shadow: var(--shadow);
}

.cookie-actions {
    display: flex;
    gap: 0.5rem;
}

.cookie-banner .button.subtle {
    color: #fff;
    background: rgba(255, 255, 255, 0.09);
    border-color: rgba(255, 255, 255, 0.25);
}

.video-frame {
    position: relative;
    width: 100%;
    padding-top: 56.25%;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid var(--line);
    margin-bottom: 0.6rem;
}

.video-frame iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

.directory-filters {
    margin: 1rem 0;
}

.directory-filter-grid {
    display: grid;
    gap: 0.8rem;
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.directory-count {
    margin: 0.8rem 0 0.6rem;
}

.directory-grid {
    margin-top: 0.8rem;
}

.directory-card h3 {
    margin-bottom: 0.35rem;
}

.pagination-shell {
    margin-top: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
    flex-wrap: wrap;
}

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(8px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes tickerScroll {
    from {
        transform: translateX(0);
    }
    to {
        transform: translateX(-50%);
    }
}

@keyframes sponsorScroll {
    from {
        transform: translateX(0);
    }
    to {
        transform: translateX(-50%);
    }
}

@media (max-width: 960px) {
    .hero-dynamic-grid,
    .split-grid,
    .footer-grid,
    .card-grid.three,
    .card-grid.four,
    .form-shell.two-col,
    .detail-grid,
    .directory-filter-grid,
    .visual-tiles {
        grid-template-columns: 1fr;
    }

    .hero-slide-content {
        max-width: 100%;
        padding: 1.4rem;
        padding-bottom: 4.6rem;
    }

    .hero-slider,
    .hero-slides {
        min-height: 440px;
    }

    .hero-slide h1 {
        font-size: clamp(1.55rem, 6vw, 2.2rem);
    }

    .hero-slide p {
        font-size: 0.96rem;
    }

    .hero-slider-controls {
        left: 0.75rem;
        right: 0.75rem;
        bottom: 0.7rem;
    }

    .brand {
        max-width: 100%;
    }

    .brand span {
        font-size: 0.96rem;
    }

    .brand-logo {
        width: clamp(106px, 30vw, 160px);
    }

    .utility-bar {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.55rem;
        padding: 0.5rem 0;
    }

    .event-ticker-shell {
        grid-template-columns: 1fr;
        gap: 0.42rem;
        padding: 0.46rem 0;
    }

    .event-ticker-label {
        width: fit-content;
    }

    .event-ticker-item {
        font-size: 0.86rem;
    }

    .utility-actions {
        width: 100%;
        gap: 0.5rem;
    }

    .menu-toggle {
        display: inline-flex;
        min-height: 40px;
        align-items: center;
    }

    .main-nav {
        display: none;
        width: 100%;
    }

    .main-nav.open {
        display: grid;
        margin-top: 0.5rem;
        grid-template-columns: 1fr;
        gap: 0.12rem;
        border-top: 1px solid var(--line);
        padding-top: 0.45rem;
    }

    .main-nav a {
        display: block;
        padding: 0.58rem 0.1rem;
        border-bottom: 1px dashed rgba(24, 40, 62, 0.15);
    }

    .main-nav a:last-child {
        border-bottom: 0;
    }

    .nav-shell {
        flex-wrap: wrap;
        border-radius: 14px;
        padding: 0.72rem 0.85rem;
    }

    .hero {
        padding: 2.2rem 0 1.2rem;
    }

    .hero-media-head {
        flex-direction: column;
        align-items: flex-start;
    }

    .section {
        padding: 1.6rem 0;
    }

    .section-head {
        flex-direction: column;
        align-items: flex-start;
        margin-bottom: 0.75rem;
    }

    .visual-tile {
        min-height: 148px;
        padding: 0.95rem;
    }

    .card {
        padding: 0.9rem;
    }

    .cookie-banner {
        flex-direction: column;
        align-items: flex-start;
        left: 0.7rem;
        right: 0.7rem;
        bottom: 0.7rem;
        padding: 0.78rem 0.84rem;
    }

    .cookie-actions {
        width: 100%;
    }

    .cookie-actions 
.nav-dropdown {
    position: relative;
}

.nav-dropdown-toggle {
    border: 0;
    background: transparent;
    color: var(--ink);
    font-weight: 600;
    font: inherit;
    cursor: pointer;
    padding: 0;
}

.nav-dropdown-menu {
    display: none;
    position: absolute;
    top: calc(100% + 0.5rem);
    left: 0;
    min-width: 220px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 12px;
    box-shadow: var(--shadow);
    padding: 0.5rem;
    z-index: 30;
}

.nav-dropdown-menu a {
    display: block;
    padding: 0.45rem 0.55rem;
    border-radius: 8px;
}

.nav-dropdown-menu a:hover {
    background: #f4f6fa;
}

.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown:focus-within .nav-dropdown-menu {
    display: block;
}

.button {
        flex: 1 1 0;
    }

    .sponsor-title {
        text-align: left;
    }
}

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

    .container {
        width: min(1160px, calc(100% - 1.2rem));
    }

    .narrow {
        width: min(760px, calc(100% - 1.2rem));
    }

    .utility-actions 
.nav-dropdown {
    position: relative;
}

.nav-dropdown-toggle {
    border: 0;
    background: transparent;
    color: var(--ink);
    font-weight: 600;
    font: inherit;
    cursor: pointer;
    padding: 0;
}

.nav-dropdown-menu {
    display: none;
    position: absolute;
    top: calc(100% + 0.5rem);
    left: 0;
    min-width: 220px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 12px;
    box-shadow: var(--shadow);
    padding: 0.5rem;
    z-index: 30;
}

.nav-dropdown-menu a {
    display: block;
    padding: 0.45rem 0.55rem;
    border-radius: 8px;
}

.nav-dropdown-menu a:hover {
    background: #f4f6fa;
}

.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown:focus-within .nav-dropdown-menu {
    display: block;
}

.button {
        min-height: 40px;
        padding: 0.5rem 0.7rem;
        font-size: 0.88rem;
    }

    .hero-slider,
    .hero-slides {
        min-height: 500px;
    }

    .event-ticker-itemset {
        gap: 1.35rem;
        padding-right: 1.35rem;
    }

    .event-ticker-track {
        animation-duration: 28s;
    }

    .sponsor-link {
        min-width: 118px;
        height: 62px;
        padding: 0.4rem 0.55rem;
    }

    .sponsor-logo {
        max-width: 104px;
        max-height: 40px;
    }

    .hero-slide-content {
        padding: 1rem;
        padding-bottom: 5.2rem;
    }

    .hero-nav {
        padding: 0.38rem 0.62rem;
        font-size: 0.82rem;
    }

    .hero-dot {
        width: 10px;
        height: 10px;
    }

    .hero-actions 
.nav-dropdown {
    position: relative;
}

.nav-dropdown-toggle {
    border: 0;
    background: transparent;
    color: var(--ink);
    font-weight: 600;
    font: inherit;
    cursor: pointer;
    padding: 0;
}

.nav-dropdown-menu {
    display: none;
    position: absolute;
    top: calc(100% + 0.5rem);
    left: 0;
    min-width: 220px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 12px;
    box-shadow: var(--shadow);
    padding: 0.5rem;
    z-index: 30;
}

.nav-dropdown-menu a {
    display: block;
    padding: 0.45rem 0.55rem;
    border-radius: 8px;
}

.nav-dropdown-menu a:hover {
    background: #f4f6fa;
}

.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown:focus-within .nav-dropdown-menu {
    display: block;
}

.button {
        width: 100%;
    }

    input,
    select,
    textarea {
        font-size: 16px;
    }
}

@media (max-width: 420px) {
    .brand span {
        display: none;
    }

    .brand-logo {
        width: 120px;
    }

    .menu-toggle {
        padding: 0.38rem 0.56rem;
        font-size: 0.84rem;
    }

    .hero-slider,
    .hero-slides {
        min-height: 540px;
    }

    .hero-slide-content {
        padding-bottom: 5.6rem;
    }

    .visual-tile {
        min-height: 128px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .event-ticker-track {
        animation: none;
    }

    .sponsor-ticker-track {
        animation: none;
    }
}

.gam-banner {
    background: linear-gradient(90deg, #8a1f40, #b74e2d);
    color: #fff6ec;
    font-weight: 600;
    font-size: 0.9rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.24);
}

.gam-banner p {
    margin: 0;
    padding: 0.5rem 0;
    text-align: center;
}

.gam-hero {
    padding: 3rem 0 1.6rem;
}

.gam-hero-shell {
    margin-top: 1.2rem;
    margin-bottom: 18px;
}

.gam-slider {
    position: relative;
    border-radius: 22px;
    overflow: hidden;
    min-height: 470px;
    box-shadow: 0 24px 50px rgba(16, 36, 62, 0.22);
}

.gam-slides {
    position: relative;
    min-height: 470px;
}

.gam-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    pointer-events: none;
    transition: opacity 420ms ease;
    background:
        linear-gradient(120deg, rgba(8, 25, 46, 0.75), rgba(12, 39, 66, 0.52)),
        var(--slide-image);
    background-size: cover;
    background-position: center;
}

.gam-slide.is-active {
    opacity: 1;
    pointer-events: auto;
}

.gam-slide-overlay {
    color: #f1f7ff;
    max-width: 820px;
    padding: 2.2rem 2.3rem 4.2rem;
}

.gam-slide .gam-subtitle,
.gam-slide .gam-kicker,
.gam-slide .gam-meta {
    color: rgba(241, 247, 255, 0.94);
}

.gam-slider-controls {
    position: absolute;
    bottom: 1rem;
    left: 1rem;
    right: 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.gam-subnav {
    margin: 0.6rem auto 1rem;
    position: sticky;
    top: 94px;
    z-index: 12;
    background: rgba(255, 255, 255, 0.95);
    padding: 0.55rem;
    border-radius: 16px;
    border: 1px solid #d7dfeb;
    box-shadow: 0 10px 24px rgba(16, 36, 62, 0.1);
    overflow-x: auto;
}

.gam-subnav-list {
    margin: 0;
    padding: 0;
    list-style: none;
    display: flex;
    flex-wrap: nowrap;
    gap: 0.5rem;
    min-width: max-content;
}

.gam-subnav a {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 40px;
    white-space: nowrap;
    padding: 0.45rem 0.75rem;
    text-align: center;
    border-radius: 999px;
    border: 1px solid #d6deea;
    background: #f7f9fc;
    color: #1a3555;
    font-weight: 600;
}

.gam-subnav a.is-active {
    background: linear-gradient(135deg, #1d4c7a, #2d7f99);
    color: #fff;
    border-color: transparent;
}

.gam-kicker {
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-size: 0.78rem;
    color: var(--accent);
    font-weight: 800;
}

.gam-subtitle {
    font-size: 1.05rem;
    max-width: 760px;
    color: var(--ink-soft);
}

.gam-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin: 1rem 0 1.3rem;
}

.section-card {
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid #e4e7ef;
    border-radius: 16px;
    padding: 1.3rem;
    margin-bottom: 1rem;
    box-shadow: 0 14px 30px rgba(24, 40, 62, 0.08);
}

.gam-grid-2,
.gam-grid-3 {
    display: grid;
    gap: 0.9rem;
}

.gam-grid-2 {
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.gam-grid-3 {
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.mini-card {
    border: 1px solid #e5e8f1;
    border-radius: 12px;
    padding: 0.9rem;
    background: #fff;
}

.text-muted {
    color: var(--ink-soft);
}

.form-group {
    margin-bottom: 0.85rem;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 0.58rem 0.62rem;
    border-radius: 10px;
    border: 1px solid var(--line);
    font: inherit;
}

.gam-register-layout {
    margin-bottom: 2rem;
}

.gam-register-layout .section-card {
    width: min(900px, 100%);
    margin-inline: auto;
}

.gam-home-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.9rem;
}

.gam-band-dark {
    background: #061a43;
    color: #d7c28b;
    padding: 2.8rem 0;
}

.gam-stats-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.9rem;
}

.gam-stat-item {
    text-align: center;
}

.gam-stat-item .metric {
    color: #dfc276;
    font-size: 2.3rem;
}

.gam-stat-icon {
    margin: 0 0 0.5rem;
    font-size: 2rem;
    line-height: 1;
}

.gam-stat-item p {
    margin: 0;
    color: #c5b180;
}

.gam-scroll-section {
    padding: 4.4rem 0;
}

.gam-light {
    background: #f2f4f9;
}

.gam-soft {
    background: #e8ebf2;
}

.gam-centered {
    text-align: center;
    max-width: 900px;
}

.gam-centered h2 {
    font-size: clamp(2rem, 4vw, 4rem);
    margin-bottom: 0.8rem;
}

.gam-eyebrow {
    text-transform: uppercase;
    letter-spacing: 0.11em;
    font-weight: 800;
    color: #cfa53a;
}

.gam-link-arrow {
    display: inline-flex;
    margin-top: 0.8rem;
    color: #c59b2e;
    font-weight: 700;
}

.gam-speaker-card,
.gam-agenda-card {
    text-align: center;
    min-height: 210px;
    display: grid;
    align-content: center;
}

.gam-sponsor-tiles {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 0.8rem;
    margin: 1rem auto 1.2rem;
}

.gam-sponsor-tile {
    border: 1px solid rgba(222, 196, 121, 0.22);
    border-radius: 12px;
    min-height: 84px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #a9986c;
    font-weight: 700;
}

.gam-section-card {
    display: block;
    background: linear-gradient(145deg, #ffffff, #f8fbff);
    border: 1px solid #dce5f2;
    border-radius: 14px;
    padding: 1rem;
    transition: transform 180ms ease, box-shadow 180ms ease;
}

.gam-section-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 28px rgba(16, 36, 62, 0.12);
}

.gam-section-card h3 {
    margin-bottom: 0.45rem;
}

.gam-section-card p {
    color: var(--ink-soft);
}

.gam-section-cta {
    display: inline-flex;
    margin-top: 0.45rem;
    color: var(--brand);
    font-weight: 700;
}

.gam-video-wrap {
    margin-top: 0.9rem;
    border-radius: 12px;
    overflow: hidden;
}

.gam-video-wrap iframe {
    width: 100%;
    min-height: 360px;
    border: 0;
}

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

.gam-gallery-item {
    margin: 0;
    border-radius: 12px;
    overflow: hidden;
}

.gam-gallery-item img {
    width: 100%;
    height: 100%;
    min-height: 180px;
    object-fit: cover;
    display: block;
}

@media (max-width: 760px) {
    .gam-home-grid {
        grid-template-columns: 1fr;
    }
    .gam-stats-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .gam-sponsor-tiles {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .gam-slide-overlay {
        padding: 1.4rem 1.2rem 4.1rem;
    }
    .gam-meta {
        flex-direction: column;
        gap: 0.45rem;
    }
}
