:root {
    --navy: #013669;
    --navy-deep: #01284d;
    --navy-soft: #e8eef5;
    --gold: #fdb64a;
    --gold-deep: #e2a03a;
    --ink: #1c2836;
    --muted: #3e4c63;
    --line: #e3e8ef;
    --paper: #f6f7f9;
    --white: #ffffff;
    --shadow: 0 12px 32px rgba(1, 54, 105, 0.08);
    --radius: 16px;
    --header: 4.5rem;
    --wrap: 1120px;
    --font: "Source Sans 3", "Segoe UI", sans-serif;
    --serif: "Source Serif 4", Georgia, serif;
}

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

html { scroll-behavior: smooth; }

body {
    margin: 0;
    color: var(--ink);
    background: var(--white);
    font-family: var(--font);
    font-size: 1.05rem;
    line-height: 1.65;
}

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

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

a:hover { color: var(--navy-deep); text-decoration: none; }

h1, h2, h3, h4 {
    font-family: var(--serif);
    line-height: 1.2;
    font-weight: 650;
    letter-spacing: -0.02em;
    margin: 0 0 0.6rem;
}

p { margin: 0 0 1rem; }

.skip {
    position: absolute;
    left: 1rem;
    top: -4rem;
    background: var(--gold);
    color: var(--navy);
    padding: 0.5rem 0.8rem;
    z-index: 100;
}

.skip:focus { top: 0.5rem; }

.wrap {
    width: min(var(--wrap), calc(100% - 2rem));
    margin-inline: auto;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 30;
    background: rgba(255, 255, 255, 0.96);
    border-bottom: 1px solid var(--line);
    backdrop-filter: blur(10px);
}

.header-bar {
    min-height: var(--header);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.brand {
    color: #fdb64a;
    text-decoration: none;
    font-family: var(--serif);
    font-weight: 650;
    font-size: 1.55rem;
    letter-spacing: -0.02em;
    line-height: 1.15;
}

.brand:hover { color: #fdb64a; }

.nav-toggle {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    border: 1px solid var(--line);
    background: var(--white);
    color: var(--navy);
    border-radius: 999px;
    padding: 0.45rem 0.8rem;
    font: inherit;
    font-weight: 600;
}

.site-nav { display: none; }

.site-nav.is-open {
    display: block;
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    background: var(--white);
    border-bottom: 1px solid var(--line);
    padding: 0.5rem 1rem 1rem;
    box-shadow: var(--shadow);
}

.site-nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.site-nav > ul {
    display: grid;
    gap: 0.2rem;
}

.site-nav a,
.nav-drop-btn {
    display: block;
    width: 100%;
    text-align: left;
    text-decoration: none;
    color: var(--navy);
    background: transparent;
    border: 0;
    font: inherit;
    font-weight: 600;
    padding: 0.7rem 0.2rem;
    cursor: pointer;
}

.site-nav a[aria-current="page"] { color: var(--navy); box-shadow: inset 0 -2px 0 var(--gold); }

.submenu { display: none; padding: 0 0 0.4rem 0.8rem; }

.nav-drop.is-open .submenu,
.nav-drop:focus-within .submenu { display: block; }

.btn,
button.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    border-radius: 999px;
    padding: 0.8rem 1.15rem;
    font: inherit;
    font-weight: 700;
    text-decoration: none;
    border: 2px solid transparent;
    cursor: pointer;
    line-height: 1.2;
}

.btn-gold {
    background: var(--gold);
    color: var(--navy);
}

.btn-gold:hover { background: var(--gold-deep); color: var(--navy); }

.btn-navy {
    background: var(--navy);
    color: var(--white);
}

.btn-navy:hover { background: var(--navy-deep); color: var(--white); }

.btn-ghost {
    background: transparent;
    color: var(--white);
    border-color: rgba(255, 255, 255, 0.55);
}

.btn-ghost:hover { background: var(--white); color: var(--navy); }

.btn-line {
    background: var(--white);
    color: var(--navy);
    border-color: var(--navy);
}

.btn-line:hover { background: var(--navy-soft); color: var(--navy); }

.site-nav a.nav-cfp {
    margin-top: 0.45rem;
    background: var(--gold);
    color: var(--navy);
    border-radius: 999px;
    text-align: center;
    padding: 0.55rem 0.85rem;
}

.hero {
    background:
        radial-gradient(circle at top right, rgba(253, 182, 74, 0.22), transparent 28%),
        linear-gradient(160deg, var(--navy-deep), var(--navy) 58%, #0a4d86);
    color: var(--white);
    padding: 2.4rem 0 2.2rem;
}

.hero .eyebrow,
.page-hero .eyebrow,
.section-kicker {
    color: var(--gold);
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    font-size: 0.78rem;
    margin-bottom: 0.7rem;
}

.hero h1 {
    font-size: clamp(2.1rem, 5vw, 3.6rem);
    max-width: 16ch;
    color: var(--white);
}

.hero-theme {
    max-width: 46rem;
    font-size: 1.12rem;
    color: rgba(255, 255, 255, 0.92);
}

.hero-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin: 1.1rem 0 1.25rem;
    padding: 0;
    list-style: none;
}

.hero-meta li {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 999px;
    padding: 0.35rem 0.75rem;
    font-size: 0.95rem;
}

.hero-actions, .actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.7rem;
}

.fact-band {
    background: var(--white);
    border-bottom: 1px solid var(--line);
}

.facts {
    display: grid;
    grid-template-columns: 1fr;
}

.fact {
    padding: 1rem 0;
    border-top: 1px solid var(--line);
}

.fact span {
    display: block;
    color: var(--muted);
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.fact strong { color: var(--navy); font-size: 1.05rem; }

.section { padding: 3.5rem 0; }

.section-alt {
  background: #fdb64a30;
}

.section-alt .section-kicker { color: #01284d; }

.section h2 { font-size: clamp(1.7rem, 3vw, 2.35rem); max-width: 46ch; }

.lede { font-size: 1.12rem; color: var(--muted); max-width: 46rem; }

.split {
    display: grid;
    gap: 1.5rem;
}

.card-grid, .track-grid, .date-grid, .people-grid, .logo-grid, .news-grid, .step-grid {
    display: grid;
    gap: 1rem;
}

.card, .track, .date-card, .person, .logo-card, .news-card, .step, .panel {
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.card, .track, .date-card, .step, .panel { padding: 1.2rem 1.25rem 1.3rem; }

.track h3, .date-card h3, .step h3, .news-card h3 { font-size: 1.2rem; }

.date-card strong {
    display: block;
    color: var(--navy);
    font-size: 0.82rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    margin-bottom: 0.35rem;
}

.person { overflow: hidden; }

.person img {
    width: 100%;
    aspect-ratio: 4 / 5;
    object-fit: cover;
    object-position: center top;
    background: var(--navy-soft);
}

.person-body { padding: 0.95rem 1rem 1.1rem; }

.person-role {
    margin: 0 0 0.2rem;
    color: var(--navy);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.person h3 { font-size: 1.15rem; margin-bottom: 0; }

.person p:last-child { margin: 0; color: var(--muted); font-size: 0.95rem; }

.flag-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.8rem;
}

.flag {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 12px;
    padding: 0.55rem 0.7rem;
}

.flag img {
    width: 42px;
    height: 28px;
    object-fit: cover;
    border-radius: 3px;
}

a.flag {
    color: var(--ink);
    text-decoration: none;
    transition: border-color 0.15s ease, box-shadow 0.15s ease, transform 0.15s ease;
}

a.flag:hover,
a.flag:focus-visible,
a.flag[aria-current="true"] {
    color: var(--navy);
    border-color: var(--gold);
    box-shadow: var(--shadow);
    transform: translateY(-2px);
}

.country-panels { display: grid; gap: 0.75rem; }

.country-prompt {
    margin: 0 0 1rem;
    color: var(--muted);
}

.country-panels:has(.country-panel[open]) ~ .country-prompt,
.section:has(.country-panel[open]) .country-prompt { display: none; }

.country-panel {
    scroll-margin-top: 5.6rem;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--white);
    box-shadow: var(--shadow);
    overflow: hidden;
}

.country-panel summary {
    display: flex;
    align-items: center;
    gap: 0.9rem;
    padding: 0.95rem 1.1rem;
    cursor: pointer;
    list-style: none;
}

.country-panel summary::-webkit-details-marker { display: none; }

.country-panel summary::after {
    content: "";
    margin-left: auto;
    width: 0.55rem;
    height: 0.55rem;
    border-right: 2px solid var(--navy);
    border-bottom: 2px solid var(--navy);
    transform: rotate(45deg);
    flex: 0 0 auto;
}

.country-panel[open] summary::after { transform: rotate(-135deg); margin-top: 0.3rem; }

.country-panel summary img {
    width: 48px;
    height: 32px;
    object-fit: cover;
    border-radius: 4px;
    box-shadow: 0 0 0 1px var(--line);
}

.country-panel summary strong {
    display: block;
    color: var(--navy);
    font-size: 1.15rem;
    line-height: 1.2;
}

.country-panel summary em {
    color: var(--muted);
    font-style: normal;
    font-size: 0.9rem;
}

.country-panel[open] {
    border-color: var(--gold);
    background:
        linear-gradient(180deg, rgba(253, 182, 74, 0.14), transparent 7rem),
        var(--white);
}

.country-panel .panelist-list,
.country-panel .note {
    margin: 0 1rem 1.1rem;
}

.panelist-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 0.9rem;
}

.panelist {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 1rem 1.15rem;
    align-items: start;
    background:
        linear-gradient(180deg, rgba(253, 182, 74, 0.16), transparent 46%),
        var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 1.15rem 1.25rem 1.2rem;
}

.panelist-index {
    min-width: 3.1rem;
    padding: 0.45rem 0.35rem;
    border-radius: 10px;
    background: var(--navy);
    color: var(--gold);
    font-family: var(--serif);
    font-size: 1.05rem;
    font-weight: 650;
    text-align: center;
    letter-spacing: 0.04em;
}

.panelist h3 {
    margin-bottom: 0.35rem;
    color: var(--navy);
    font-size: clamp(1.25rem, 2vw, 1.55rem);
}

.panelist p {
    margin: 0;
    color: var(--muted);
    max-width: 68ch;
}

.host-card {
    display: grid;
    gap: 1.15rem;
    align-items: center;
    margin: 0.2rem 0 1.35rem;
    padding: 1.35rem 1.25rem;
    background:
        linear-gradient(180deg, rgba(253, 182, 74, 0.16), transparent 42%),
        var(--white);
    border: 1px solid var(--line);
    border-top: 4px solid var(--gold);
    border-radius: 20px;
    box-shadow: var(--shadow);
}

.host-mark {
    display: grid;
    place-items: center;
    width: 132px;
    height: 132px;
    margin: 0 auto;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 18px;
}

.host-mark img {
    width: 104px;
    height: 104px;
    object-fit: contain;
    background: var(--white);
}

.host-copy { text-align: center; }

.host-copy h3 {
    margin: 0.1rem auto 0;
    max-width: 22em;
    color: var(--navy);
    font-family: var(--serif);
    font-size: clamp(1.28rem, 2.1vw, 1.72rem);
    font-weight: 600;
    line-height: 1.35;
}

.logo-card {
    padding: 1rem 0.95rem 1.05rem;
    display: grid;
    align-content: start;
    justify-items: center;
    gap: 0.7rem;
    min-height: 100%;
    text-align: center;
}

.logo-card img {
    height: 76px;
    width: 100%;
    object-fit: contain;
    background: var(--white);
}

.logo-card p {
    margin: 0;
    font-size: 0.88rem;
    font-weight: 600;
    line-height: 1.4;
    color: var(--navy);
}

@media (min-width: 700px) {
    .host-card {
        grid-template-columns: auto 1fr;
        gap: 1.6rem;
        padding: 1.45rem 1.7rem;
    }
    .host-mark { margin: 0; }
    .host-copy { text-align: left; }
    .host-copy h3 { margin-left: 0; margin-right: 0; }
}

.news-card { overflow: hidden; }
.news-card img { width: 100%; height: 190px; object-fit: cover; }
.news-card h3, .news-card p { margin-left: 1rem; margin-right: 1rem; }
.news-card .person-role { margin: 0.9rem 1rem 0.2rem; }

.moment-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.8rem;
}

.moment {
    position: relative;
    border-radius: 14px;
    overflow: hidden;
    min-height: 180px;
}

.moment img {
    width: 100%;
    height: 220px;
    object-fit: cover;
}

.moment span {
    position: absolute;
    left: 0.8rem;
    bottom: 0.8rem;
    background: var(--white);
    color: var(--navy);
    border-radius: 999px;
    padding: 0.25rem 0.65rem;
    font-size: 0.85rem;
    font-weight: 700;
}

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

label { display: block; font-weight: 700; color: var(--navy); margin-bottom: 0.35rem; }

input, textarea, select {
    width: 100%;
    border: 1px solid #cfd6e0;
    border-radius: 12px;
    padding: 0.8rem 0.85rem;
    font: inherit;
    color: var(--ink);
    background: var(--white);
}

textarea { min-height: 140px; resize: vertical; }

.hp {
    position: absolute;
    left: -10000px;
    top: auto;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.form-alert {
    border-radius: 12px;
    padding: 0.85rem 1rem;
    margin-bottom: 1rem;
}

.form-alert-ok { background: #e8f6ee; color: #0d5c32; }
.form-alert-bad { background: #fdecec; color: #8d1d1d; }

.page-hero {
    background: var(--navy);
    color: var(--white);
    padding: 2.4rem 0 2rem;
}

.page-hero h1 { color: var(--white); font-size: clamp(2rem, 4vw, 3.1rem); max-width: 18ch; }

.page-hero .lede { color: rgba(255, 255, 255, 0.88); }

.crumbs { margin: 0 0 0.8rem; }

.crumbs ol {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem 0.5rem;
    list-style: none;
    margin: 0;
    padding: 0;
    font-size: 0.92rem;
}

.crumbs a { color: var(--gold); text-decoration: none; }

.crumbs li:not(:last-child)::after { content: "/"; margin-left: 0.5rem; color: rgba(255,255,255,0.55); }

.prose { max-width: 46rem; }

.prose h2 { margin-top: 1.8rem; }

.note {
    background: var(--navy-soft);
    border-left: 4px solid var(--gold);
    border-radius: 0 12px 12px 0;
    padding: 1rem 1.1rem;
}

.filters {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1.4rem;
}

.filter {
    border: 1px solid var(--line);
    background: var(--white);
    color: var(--navy);
    border-radius: 999px;
    padding: 0.45rem 0.8rem;
    font: inherit;
    font-weight: 700;
    cursor: pointer;
}

.filter.is-active { background: var(--navy); color: var(--white); border-color: var(--navy); }

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.6rem;
}

.gallery-open {
    padding: 0;
    border: 0;
    background: var(--navy-soft);
    border-radius: 12px;
    overflow: hidden;
    cursor: zoom-in;
}

.gallery-open img {
    width: 100%;
    height: 140px;
    object-fit: cover;
}

.group-title { margin: 1.6rem 0 0.8rem; font-size: 1.45rem; }

.lightbox {
    position: fixed;
    inset: 0;
    z-index: 80;
    background: rgba(1, 20, 40, 0.92);
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem;
}

.lightbox[hidden] { display: none; }

.lightbox img {
    max-height: min(78vh, 820px);
    margin: 0 auto;
    object-fit: contain;
}

.lightbox-caption {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 1rem;
    text-align: center;
    color: var(--white);
}

.lightbox button {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 0;
    background: var(--white);
    color: var(--navy);
    font-size: 1.4rem;
    cursor: pointer;
}

.lightbox-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
}

body.lightbox-open { overflow: hidden; }

.map {
    border: 0;
    width: 100%;
    min-height: 280px;
    border-radius: var(--radius);
}

.contact-stage { display: grid; gap: 1.25rem; align-items: start; }
.contact-board,
.contact-form {
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 20px;
    padding: 1.45rem 1.4rem 1.3rem;
    box-shadow: var(--shadow);
}
.contact-board h2,
.contact-form h2,
.section-alt h2 { max-width: none; }
.contact-form {
    background:
        linear-gradient(180deg, rgba(253, 182, 74, 0.18), transparent 28%),
        var(--white);
    border-top: 4px solid var(--gold);
}
.contact-facts {
    list-style: none;
    margin: 0.4rem 0 0;
    padding: 0;
    display: grid;
    gap: 0.75rem;
}
.contact-facts li,
.contact-link {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}
.contact-facts p { margin: 0; }
.contact-label {
    margin: 0;
    color: var(--navy);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}
.contact-icon {
    flex: 0 0 36px;
    width: 36px;
    height: 36px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: var(--navy-soft);
    color: var(--navy);
}
.contact-links {
    display: grid;
    gap: 0.55rem;
    margin-top: 1rem;
}
.contact-link {
    align-items: center;
    padding: 0.55rem 0.65rem;
    border-radius: 12px;
    background: var(--paper);
    color: var(--navy);
    font-weight: 700;
}
.contact-link:hover { background: var(--navy-soft); color: var(--navy); }
.contact-map {
    margin-top: 1.1rem;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid var(--line);
    background: var(--navy-soft);
    min-height: 280px;
}
.contact-map iframe { width: 100%; height: 300px; border: 0; display: block; }
.organiser-title { max-width: none; }
.organiser-lede { max-width: 42rem; color: var(--muted); margin-top: 0; }
.organiser-stage { display: grid; gap: 1.25rem; align-items: stretch; }
.organiser-board {
    border-top: 4px solid var(--gold);
    background:
        linear-gradient(180deg, rgba(253, 182, 74, 0.16), transparent 24%),
        var(--white);
}
.organiser-board .contact-links { grid-template-columns: 1fr; }
.organiser-actions { margin-top: 1.2rem; }
.organiser-map {
    margin: 0;
    min-height: 320px;
    height: 100%;
    border-radius: 20px;
    box-shadow: var(--shadow);
}
.organiser-map iframe { height: 100%; min-height: 360px; }
.venue-stage { align-items: start; }
.venue-stage .organiser-map iframe { height: 420px; min-height: 420px; }
@media (min-width: 900px) {
    .organiser-stage { grid-template-columns: 1.05fr 0.95fr; }
}
.contact-form-note { color: var(--muted); margin-bottom: 1rem; }
.contact-form input,
.contact-form textarea {
    background: var(--white);
    border-color: #d5dce6;
}
.contact-form input:focus,
.contact-form textarea:focus {
    outline: 3px solid rgba(253, 182, 74, 0.9);
    border-color: var(--navy);
}
.contact-submit { width: 100%; margin-top: 0.35rem; }
@media (min-width: 900px) {
    .contact-stage { grid-template-columns: 1.15fr 0.85fr; }
    .contact-links { grid-template-columns: 1fr 1fr; }
}

.site-footer {
    background: var(--navy-deep);
    color: rgba(255, 255, 255, 0.86);
    padding: 2.5rem 0 4rem;
}

.footer-grid { display: grid; gap: 1.4rem; }

.site-footer a { color: var(--white); }

.site-footer h2 {
    color: var(--white);
    font-size: 1.05rem;
    font-family: var(--font);
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.site-footer ul { list-style: none; margin: 0; padding: 0; }

.fineprint {
    margin-top: 1.5rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(255,255,255,0.15);
    font-size: 0.92rem;
}

.player {
    position: fixed;
    right: max(0.8rem, env(safe-area-inset-right));
    bottom: max(0.8rem, env(safe-area-inset-bottom));
    z-index: 80;
    display: flex;
    align-items: center;
    gap: 0.15rem;
    max-width: calc(100vw - 1.6rem);
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 999px;
    padding: 0.25rem 0.35rem 0.25rem 0.8rem;
    box-shadow: var(--shadow);
    pointer-events: auto;
}

.player span {
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--navy);
    margin-right: 0.25rem;
}

.player button {
    width: 36px;
    height: 36px;
    border: 0;
    border-radius: 50%;
    background: var(--navy-soft);
    color: var(--navy);
    cursor: pointer;
    display: grid;
    place-items: center;
}

.player button[hidden] { display: none !important; }
.player button svg { pointer-events: none; }
.player button:hover { background: var(--navy); color: var(--white); }
.player button[aria-pressed="true"] { background: var(--gold); color: var(--navy); }
.player button[aria-pressed="true"]:hover { background: var(--gold-deep); color: var(--navy); }
#audio-mute .icon-off { display: none; }
#audio-mute[aria-pressed="true"] .icon-on { display: none; }
#audio-mute[aria-pressed="true"] .icon-off { display: block; }

.ref-list { padding-left: 1.1rem; }

.ref-list li { margin-bottom: 0.7rem; }

@media (min-width: 700px) {
    .facts { grid-template-columns: repeat(4, 1fr); }
    .fact { border-top: 0; border-left: 1px solid var(--line); padding: 1.15rem 1rem; }
    .fact:first-child { border-left: 0; }
    .card-grid, .track-grid, .date-grid, .step-grid { grid-template-columns: repeat(2, 1fr); }
    .people-grid, .logo-grid, .news-grid { grid-template-columns: repeat(3, 1fr); }
    .flag-grid { grid-template-columns: repeat(4, 1fr); }
    .moment-grid, .gallery-grid { grid-template-columns: repeat(3, 1fr); }
    .gallery-open img { height: 180px; }
    .split, .contact-grid { grid-template-columns: 1.1fr 0.9fr; align-items: start; }
    .form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0.8rem; }
}

@media (min-width: 981px) {
    .nav-toggle { display: none; }
    .site-nav { display: block; }
    .site-nav > ul {
        display: flex;
        align-items: center;
        gap: 0.15rem;
    }
    .site-nav a,
    .nav-drop-btn {
        width: auto;
        padding: 0.45rem 0.55rem;
        font-size: 0.95rem;
    }
    .nav-drop { position: relative; }
    .submenu {
        position: absolute;
        top: calc(100% - 0.2rem);
        left: 0;
        min-width: 190px;
        background: var(--white);
        border: 1px solid var(--line);
        border-radius: 12px;
        padding: 0.4rem;
        box-shadow: var(--shadow);
    }
    .nav-drop:hover .submenu,
    .nav-drop:focus-within .submenu,
    .nav-drop.is-open .submenu { display: block; }
    .submenu a { border-radius: 8px; }
    .submenu a:hover { background: var(--navy-soft); }
    .site-nav a.nav-cfp {
        margin: 0 0 0 0.35rem;
        background: var(--gold);
        color: var(--navy);
        border-radius: 999px;
        padding: 0.55rem 0.85rem;
    }
    .site-nav a.nav-cfp:hover { background: var(--gold-deep); color: var(--navy); }
    .people-grid { grid-template-columns: repeat(4, 1fr); }
    .logo-grid { grid-template-columns: repeat(4, 1fr); }
    .track-grid, .date-grid { grid-template-columns: repeat(3, 1fr); }
    .step-grid { grid-template-columns: repeat(4, 1fr); }
    .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; }
}

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

:focus-visible {
    outline: 3px solid var(--gold);
    outline-offset: 2px;
}

.hero a:hover,
.page-hero a:hover,
.site-footer a:hover { color: var(--gold); }

.hero .btn:hover,
.page-hero .btn:hover { color: inherit; }

.brochure { padding: 2.2rem 0 0.4rem; background: var(--paper); }

.brochure-image {
    width: min(920px, 100%);
    margin: 0 auto;
    border-radius: 18px;
    box-shadow: var(--shadow);
}

.event-figure { margin: 0 0 1.75rem; }
.event-figure img {
    width: min(1040px, 100%);
    margin: 0 auto;
    border-radius: 20px;
    box-shadow: 0 18px 44px rgba(1, 54, 105, 0.14);
}

.event-read {
    width: 100%;
    display: grid;
    gap: 1rem;
}
.event-lead,
.event-card {
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 18px;
    padding: 1.45rem 1.5rem 1.2rem;
    box-shadow: var(--shadow);
}
.event-lead {
    background:
        linear-gradient(180deg, rgba(253, 182, 74, 0.16), transparent 42%),
        var(--white);
    border-top: 4px solid var(--gold);
}
.event-lead h2,
.event-card h2 {
    font-size: clamp(1.45rem, 2.4vw, 1.9rem);
    color: var(--navy);
    margin-bottom: 0.35rem;
    padding-bottom: 0.7rem;
    border-bottom: 1px solid var(--line);
}
.event-read .event-lead h2,
.event-read .event-lead h3,
.event-read .event-card h2,
.event-read .event-card h3 {
    max-width: none;
    width: 100%;
}
.event-card h3,
.event-lead h3 {
    margin: 0.85rem 0 0.7rem;
    color: var(--navy);
    font-size: 1.15rem;
}
.event-lead p,
.event-card p {
    color: var(--ink);
    line-height: 1.75;
    margin-bottom: 0.9rem;
}
.event-verse {
    font-family: var(--serif);
    text-align: center;
    color: var(--navy);
    font-size: 1.12rem;
    line-height: 1.7;
}
.event-sign {
    margin: 0.4rem 0 0;
    color: var(--navy);
    font-family: var(--serif);
    font-style: italic;
}
.event-points {
    list-style: none;
    margin: 0.3rem 0 0.8rem;
    padding: 0;
    display: grid;
    gap: 0.55rem;
}
.event-points li {
    margin: 0;
    padding: 0.75rem 0.9rem 0.75rem 1rem;
    background: var(--paper);
    border-radius: 12px;
    border-left: 3px solid var(--gold);
    line-height: 1.6;
}

.note-block { margin-top: 1.8rem; }
.note-switch {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 0.8rem 0.9rem;
}
.note-open.is-active { background: var(--gold); color: var(--navy); border-color: var(--gold); }
.note-stage {
    margin-top: 1rem;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    overflow: hidden;
    min-height: 70vh;
}
.note-stage iframe { width: 100%; height: 70vh; border: 0; background: var(--paper); }

.lazy, .gallery-open img {
    background: var(--navy-soft);
}

.js .reveal {
    opacity: 0;
    transform: translate3d(0, 16px, 0);
}
.js .reveal.is-in {
    opacity: 1;
    transform: translate3d(0, 0, 0);
    transition:
        opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1),
        transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
    transition-delay: var(--reveal-delay, 0ms);
}
.js .reveal.is-in.lift:hover {
    transform: translate3d(0, -4px, 0) scale(1.018);
    transition-duration: 0.4s;
    transition-delay: 0ms;
    box-shadow: 0 16px 36px rgba(1, 54, 105, 0.12);
}

.btn {
    transition: background 0.3s ease, color 0.3s ease, border-color 0.3s ease, transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}
.btn:hover { transform: scale(1.03); }

.gallery-open { overflow: hidden; }
.gallery-open img {
    transition: transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
}
.gallery-open:hover img { transform: scale(1.045); }

.js .hero .wrap > * {
    animation: rise 0.75s cubic-bezier(0.22, 1, 0.36, 1) both;
}
.js .hero .wrap > *:nth-child(2) { animation-delay: 0.06s; }
.js .hero .wrap > *:nth-child(3) { animation-delay: 0.12s; }
.js .hero .wrap > *:nth-child(4) { animation-delay: 0.18s; }
.js .hero .wrap > *:nth-child(5) { animation-delay: 0.24s; }

.guide-grid { display: grid; gap: 1rem; }
.guide-card {
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 1.35rem 1.45rem 1.2rem;
    box-shadow: var(--shadow);
}
.guide-card h2 { font-size: 1.35rem; margin-top: 0; }
.guide-card h3 { font-size: 1.05rem; margin-top: 1rem; }
.guide-label {
    display: block;
    color: var(--navy);
    font-weight: 700;
    margin-bottom: 0.15rem;
}
.concept-panel {
    background:
        radial-gradient(circle at top right, rgba(253, 182, 74, 0.28), transparent 32%),
        linear-gradient(160deg, var(--navy-deep), var(--navy));
    color: var(--white);
    border-radius: 20px;
    padding: 1.6rem 1.5rem 1.3rem;
    box-shadow: var(--shadow);
}
.concept-panel h2, .concept-panel .section-kicker { color: var(--gold); }
.concept-panel p { color: rgba(255,255,255,0.92); }
.split > img, .about-photo {
    width: 100%;
    height: auto;
    border-radius: 18px;
    object-fit: cover;
}
.event-copy blockquote { margin: 0; padding: 0; border: 0; }
@media (min-width: 981px) and (max-width: 1180px) {
    .brand { font-size: 1.28rem; }
    .site-nav a, .nav-drop-btn { padding: 0.4rem 0.32rem; font-size: 0.84rem; }
    .site-nav a.nav-cfp { padding: 0.4rem 0.55rem; }
}

.song-modal {
    position: fixed;
    inset: 0;
    z-index: 70;
    display: grid;
    place-items: center;
    padding: 1.25rem;
    background: rgba(1, 54, 105, 0.38);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.35s ease;
}
.song-modal[hidden] { display: none !important; }
.song-modal.is-open { opacity: 1; pointer-events: auto; }
.song-modal-card {
    width: min(980px, calc(100vw - 2.5rem));
    max-height: calc(100vh - 2.5rem);
    overflow: auto;
    background: var(--white);
    border-radius: 22px;
    border-top: 4px solid var(--gold);
    padding: 1.35rem 1.4rem 1.45rem;
    position: relative;
    box-shadow: 0 24px 60px rgba(1, 54, 105, 0.22);
    opacity: 0;
    transform: translate3d(0, 18px, 0) scale(0.98);
    transition: opacity 0.4s cubic-bezier(0.22, 1, 0.36, 1), transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}
.song-modal.is-open .song-modal-card { opacity: 1; transform: none; }
.song-modal-card img {
    width: 100%;
    border-radius: 14px;
    max-height: min(78vh, 860px);
    object-fit: contain;
    background: var(--paper);
}
.song-modal-card p:last-child { margin: 0.85rem 0 0; color: var(--muted); }
.song-modal-close {
    position: absolute;
    top: 0.85rem;
    right: 0.85rem;
    width: 42px;
    height: 42px;
    border: 1px solid var(--line);
    border-radius: 50%;
    background: var(--white);
    color: var(--navy);
    cursor: pointer;
    display: grid;
    place-items: center;
    box-shadow: 0 8px 20px rgba(1, 54, 105, 0.14);
    z-index: 2;
}
.song-modal-close:hover { background: var(--navy); color: var(--gold); border-color: var(--navy); }
body.song-modal-on { overflow: hidden; }
@media (max-width: 700px) {
    .song-modal { padding: 0.75rem; }
    .song-modal-card {
        width: calc(100vw - 1.5rem);
        max-height: calc(100vh - 1.5rem);
        padding: 1rem 0.9rem 1.1rem;
    }
    .song-modal-card img { max-height: 70vh; }
}

main, .page-hero, .section { scroll-margin-top: 5.2rem; }

@media (prefers-reduced-motion: reduce) {
    .js .reveal,
    .js .reveal.is-in,
    .js .reveal.is-in.lift:hover,
    .btn:hover,
    .gallery-open:hover img {
        opacity: 1;
        transform: none;
        transition: none;
        animation: none;
    }
    .song-modal-card,
    .js .hero .wrap > * { animation: none; }
}
