:root {
    --hg-blue: #3264fc;
    --hg-blue-dark: #244ec9;
    --hg-ink: #111827;
    --hg-muted: #5b6472;
    --hg-soft: #eef4ff;
    --hg-line: #d8e0ef;
    --hg-page: #f7f9fc;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    background: var(--hg-page);
    color: var(--hg-ink);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    line-height: 1.6;
}

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

a:hover {
    color: var(--hg-blue-dark);
    text-decoration: underline;
}

.site-header {
    background: #ffffff;
    border-bottom: 1px solid var(--hg-line);
}

.site-header-inner {
    align-items: center;
    display: flex;
    justify-content: space-between;
    margin: 0 auto;
    max-width: 1120px;
    min-height: 64px;
    padding: 0 24px;
}

.brand {
    align-items: center;
    color: var(--hg-ink);
    display: inline-flex;
    font-weight: 700;
    gap: 10px;
}

.brand img {
    height: 34px;
    width: 34px;
}

.header-links {
    display: flex;
    gap: 20px;
    font-size: 14px;
}

.hero {
    background:
        linear-gradient(135deg, rgba(50, 100, 252, 0.95), rgba(29, 52, 133, 0.96)),
        url("/images/helium-city-balloons.jpg");
    background-position: center;
    background-size: cover;
    color: #ffffff;
}

.hero-inner {
    margin: 0 auto;
    max-width: 1120px;
    padding: 72px 24px 64px;
}

.eyebrow {
    color: #d7e5ff;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.14em;
    margin: 0 0 14px;
    text-transform: uppercase;
}

.hero .eyebrow a {
    color: #d7e5ff;
    text-decoration: none;
}

.hero .eyebrow a:hover,
.hero .eyebrow a:focus-visible {
    color: #ffffff;
    text-decoration: underline;
}

h1 {
    font-size: clamp(36px, 7vw, 72px);
    letter-spacing: 0;
    line-height: 1.02;
    margin: 0;
    max-width: 920px;
}

.hero-copy {
    color: #edf4ff;
    font-size: clamp(18px, 2vw, 22px);
    margin: 22px 0 0;
    max-width: 760px;
}

.content {
    margin: 0 auto;
    max-width: 1120px;
    padding: 48px 24px 72px;
}

.event-grid {
    display: grid;
    gap: 22px;
}

.event-row {
    background: #ffffff;
    border: 1px solid var(--hg-line);
    border-radius: 8px;
    display: grid;
    gap: 32px;
    grid-template-columns: minmax(0, 1fr) 300px;
    padding: 24px;
}

.event-row h2 {
    font-size: 24px;
    letter-spacing: 0;
    line-height: 1.2;
    margin: 0 0 8px;
}

.event-row p {
    color: var(--hg-muted);
    margin: 0;
}

.event-meta {
    align-content: start;
    color: var(--hg-muted);
    display: grid;
    font-size: 14px;
    gap: 6px;
    width: 300px;
}

.button-link {
    align-self: end;
    background: var(--hg-blue);
    border-radius: 6px;
    color: #ffffff;
    display: inline-block;
    font-weight: 700;
    justify-self: start;
    margin-top: 14px;
    padding: 10px 14px;
}

.button-link:hover {
    background: var(--hg-blue-dark);
    color: #ffffff;
    text-decoration: none;
}

.meta-strip {
    background: #ffffff;
    border-bottom: 1px solid var(--hg-line);
}

.meta-strip-inner {
    display: grid;
    gap: 18px;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    margin: 0 auto;
    max-width: 1120px;
    padding: 20px 24px;
}

.meta-label {
    color: var(--hg-muted);
    display: block;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.meta-value {
    display: block;
    font-weight: 700;
    margin-top: 2px;
}

.section {
    background: #ffffff;
    border: 1px solid var(--hg-line);
    border-radius: 8px;
    margin-bottom: 24px;
    padding: 28px;
}

.section h2 {
    font-size: 28px;
    letter-spacing: 0;
    line-height: 1.2;
    margin: 0 0 18px;
}

.section h3 {
    font-size: 19px;
    letter-spacing: 0;
    margin: 26px 0 8px;
}

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

.section ul {
    margin: 10px 0 0;
    padding-left: 22px;
}

.section li {
    margin: 8px 0;
}

.summary-list strong {
    color: var(--hg-ink);
}

.source-list {
    display: grid;
    gap: 10px;
    list-style: none;
    padding-left: 0;
}

.section .source-list {
    padding-left: 0;
}

.source-list li {
    background: var(--hg-soft);
    border-radius: 6px;
    margin: 0;
    padding: 12px 14px;
}

.section .source-list a {
    overflow-wrap: anywhere;
    word-break: break-word;
}

.slide-gallery {
    display: grid;
    gap: 14px;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    margin-top: 22px;
}

.slide-card {
    background: #ffffff;
    border: 1px solid var(--hg-line);
    border-radius: 8px;
    color: var(--hg-ink);
    display: grid;
    overflow: hidden;
    transition: border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.slide-card:hover,
.slide-card:focus-visible {
    border-color: rgba(50, 100, 252, 0.55);
    box-shadow: 0 12px 28px rgba(17, 24, 39, 0.12);
    color: var(--hg-ink);
    outline: none;
    text-decoration: none;
    transform: translateY(-2px);
}

.slide-card img {
    aspect-ratio: 16 / 9;
    background: var(--hg-soft);
    display: block;
    height: auto;
    object-fit: cover;
    width: 100%;
}

.slide-card span {
    border-top: 1px solid var(--hg-line);
    display: block;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.35;
    min-height: 48px;
    padding: 10px 12px;
}

.lightbox-open {
    overflow: hidden;
}

.slide-lightbox {
    align-items: center;
    background: rgba(8, 13, 26, 0.88);
    display: grid;
    inset: 0;
    justify-items: center;
    padding: 28px 82px;
    position: fixed;
    z-index: 20;
}

.slide-lightbox[hidden] {
    display: none;
}

.lightbox-frame {
    display: grid;
    gap: 12px;
    margin: 0;
    max-width: min(1400px, 100%);
    width: 100%;
}

.lightbox-image {
    background: #ffffff;
    border-radius: 8px;
    box-shadow: 0 24px 80px rgba(0, 0, 0, 0.42);
    display: block;
    max-height: calc(100vh - 150px);
    object-fit: contain;
    width: 100%;
}

.lightbox-frame figcaption {
    align-items: center;
    color: #ffffff;
    display: flex;
    font-size: 14px;
    gap: 16px;
    justify-content: space-between;
    line-height: 1.4;
}

.lightbox-count {
    color: #c8d2e6;
    flex: 0 0 auto;
}

.lightbox-close,
.lightbox-nav {
    background: rgba(255, 255, 255, 0.96);
    border: 0;
    border-radius: 6px;
    color: var(--hg-ink);
    cursor: pointer;
    font: inherit;
    font-size: 14px;
    font-weight: 700;
    padding: 10px 13px;
}

.lightbox-close:hover,
.lightbox-nav:hover,
.lightbox-close:focus-visible,
.lightbox-nav:focus-visible {
    background: #ffffff;
    outline: 3px solid rgba(50, 100, 252, 0.55);
}

.lightbox-close {
    position: fixed;
    right: 24px;
    top: 20px;
}

.lightbox-nav {
    position: fixed;
    top: 50%;
    transform: translateY(-50%);
}

.lightbox-prev {
    left: 24px;
}

.lightbox-next {
    right: 24px;
}

.transparency-note {
    color: var(--hg-muted);
    font-size: 13px;
    margin: -8px 0 0;
}

.footer {
    border-top: 1px solid var(--hg-line);
    color: var(--hg-muted);
    font-size: 14px;
    padding: 30px 24px;
    text-align: center;
}

@media (max-width: 760px) {
    .site-header-inner {
        align-items: flex-start;
        flex-direction: column;
        gap: 10px;
        padding-bottom: 14px;
        padding-top: 14px;
    }

    .header-links {
        flex-wrap: wrap;
        gap: 12px;
    }

    .hero-inner {
        padding: 54px 20px 48px;
    }

    .content {
        padding: 34px 20px 54px;
    }

    .event-row {
        grid-template-columns: 1fr;
    }

    .event-meta {
        min-width: 0;
        width: auto;
    }

    .meta-strip-inner {
        grid-template-columns: 1fr 1fr;
    }

    .section {
        padding: 22px;
    }

    .slide-gallery {
        grid-template-columns: 1fr;
    }

    .slide-lightbox {
        align-items: center;
        padding: 70px 14px 86px;
    }

    .lightbox-image {
        max-height: calc(100vh - 250px);
    }

    .lightbox-frame figcaption {
        align-items: flex-start;
        flex-direction: column;
        gap: 4px;
    }

    .lightbox-close {
        right: 14px;
        top: 14px;
    }

    .lightbox-nav {
        bottom: 16px;
        top: auto;
        transform: none;
    }

    .lightbox-prev {
        left: 14px;
    }

    .lightbox-next {
        right: 14px;
    }
}
