:root {
    --navy:       #0c2a46;
    --navy-deep:  #071d31;
    --blue:       #1e6bc1;
    --sky:        #4cb7e8;
    --ice:        #eaf5f9;
    --coral:      #ff765f;
    --cream:      #f6f3ec;
    --ink:        #10293f;
    --white:      #ffffff;
    --font-title: "Manrope", sans-serif;
    --font-body:  "DM Sans", sans-serif;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    color: var(--ink);
    background: var(--cream);
    font-family: var(--font-body);
    -webkit-font-smoothing: antialiased;
}

img {
    display: block;
    max-width: 100%;
}

a {
    color: inherit;
}

.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;
}

.skip-link {
    position: fixed;
    z-index: 100;
    top: -60px;
    left: 20px;
    padding: 12px 20px;
    color: var(--white);
    background: var(--navy);
    transition: top .2s;
}

.skip-link:focus {
    top: 12px;
}

.site-header {
    position: relative;
    display: flex;
    height: 100vh;
    height: 100dvh;
    flex-direction: column;
    color: var(--white);
    background:
        radial-gradient(900px 380px at 78% 108%, rgba(76, 183, 232, .22), transparent 62%),
        linear-gradient(125deg, #071d31 0%, #0c2a46 54%, #14507d 100%);
}

.header-bar {
    position: sticky;
    z-index: 20;
    top: 0;
    display: flex;
    width: 100%;
    height: 86px;
    padding: 0 clamp(24px, 5vw, 80px);
    align-items: center;
    justify-content: space-between;
    color: var(--white);
    background: transparent;
    border-bottom: 1px solid transparent;
    transition: height .3s, box-shadow .3s, background .3s;
}

.header-bar.scrolled {
    height: 70px;
    background: rgba(7, 29, 49, .94);
    box-shadow: 0 8px 30px rgba(0, 0, 0, .12);
    backdrop-filter: blur(12px);
}

.header-copy {
    position: relative;
    z-index: 2;
    max-width: 860px;
    padding: clamp(28px, 5vh, 64px) clamp(24px, 7vw, 120px) clamp(200px, 36vh, 340px);
}

.header-kicker {
    margin: 0 0 16px;
    color: var(--sky);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .18em;
    text-transform: uppercase;
}

.header-copy h1 {
    max-width: 11ch;
    margin: 0;
    color: var(--white);
    font-family: var(--font-title);
    font-size: clamp(46px, 5.4vw, 80px);
    font-weight: 700;
    letter-spacing: -.055em;
    line-height: .94;
}

.header-copy h1 em {
    color: var(--sky);
    font-style: normal;
}

.header-meta {
    display: flex;
    gap: 14px;
    margin: 22px 0 0;
    align-items: center;
    flex-wrap: wrap;
    color: var(--white);
    font-size: 15px;
    font-weight: 600;
}

.header-meta span {
    padding-left: 14px;
    border-left: 1px solid rgba(255, 255, 255, .28);
    color: var(--sky);
    font-weight: 700;
    letter-spacing: .04em;
    text-transform: uppercase;
}

.header-tagline {
    max-width: 620px;
    margin: 18px 0 0;
    color: rgba(255, 255, 255, .86);
    font-size: clamp(18px, 1.7vw, 23px);
    line-height: 1.45;
}

.header-intro {
    max-width: 620px;
    margin: 16px 0 0;
    color: rgba(255, 255, 255, .68);
    font-size: 16px;
    line-height: 1.65;
}

.skyline-wrap {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 1;
    overflow: hidden;
    margin: 0;
    line-height: 0;
    pointer-events: none;
}

.skyline {
    display: block;
    width: min(100%, 1680px);
    height: auto;
    margin: 0 auto;
}

.brand {
    display: flex;
    flex-shrink: 0;
    align-items: center;
    text-decoration: none;
}

.brand img {
    height: 48px;
    width: auto;
    transition: height .3s;
}

.header-bar.scrolled .brand img {
    height: 40px;
}

.main-nav {
    display: flex;
    gap: clamp(24px, 3vw, 52px);
}

.main-nav a {
    position: relative;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: .08em;
    text-decoration: none;
    text-transform: uppercase;
}

.main-nav a::after {
    position: absolute;
    right: 0;
    bottom: -8px;
    left: 0;
    height: 1px;
    content: "";
    background: var(--sky);
    transform: scaleX(0);
    transition: transform .2s;
}

.main-nav a:hover::after {
    transform: scaleX(1);
}

.menu-button {
    display: none;
}

main section {
    scroll-margin-top: 100px;
}

.eyebrow {
    margin: 0 0 24px;
    color: var(--sky);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .2em;
    text-transform: uppercase;
}

.eyebrow-dark {
    color: var(--blue);
}

.section h2,
.sponsors-section h2 {
    margin: 0;
    font-family: var(--font-title);
    font-weight: 700;
    letter-spacing: -.055em;
    line-height: .96;
}

.hero-actions,
.button-row {
    display: flex;
    gap: 22px;
    align-items: center;
    flex-wrap: wrap;
}

.header-copy .hero-actions {
    margin-top: 32px;
}

.button {
    display: inline-flex;
    min-height: 52px;
    padding: 0 26px;
    align-items: center;
    justify-content: center;
    border: 1px solid transparent;
    border-radius: 2px;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .08em;
    text-decoration: none;
    text-transform: uppercase;
    transition: transform .2s, background .2s, color .2s;
}

.button:hover {
    transform: translateY(-2px);
}

.button-light {
    color: var(--navy);
    background: var(--white);
}

.button-primary {
    color: var(--white);
    background: var(--blue);
}

.button-outline {
    color: var(--navy);
    border-color: rgba(12, 42, 70, .28);
}

.text-link {
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
}

.text-link span {
    display: inline-block;
    margin-left: 10px;
    color: var(--sky);
    font-size: 20px;
}

.section {
    position: relative;
    padding: 130px clamp(24px, 7vw, 120px);
}

.section-number {
    color: rgba(16,41,63,.35);
    font-family: var(--font-title);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .12em;
}

.program-section > .section-number {
    position: absolute;
    top: 72px;
    left: clamp(24px, 7vw, 120px);
}

.program-card {
    display: grid;
    min-height: 560px;
    background: var(--white);
    box-shadow: 0 25px 80px rgba(12,42,70,.08);
    grid-template-columns: .9fr 1.1fr;
}

.program-visual {
    position: relative;
    display: flex;
    padding: clamp(40px, 6vw, 90px);
    overflow: hidden;
    color: var(--white);
    background: var(--blue);
    align-items: flex-end;
}

.program-day {
    font-family: var(--font-title);
    font-size: clamp(180px, 22vw, 340px);
    font-weight: 800;
    letter-spacing: -.12em;
    line-height: .7;
}

.program-day-label {
    position: relative;
    z-index: 2;
    margin-left: 20px;
    font-weight: 600;
    line-height: 1.4;
}

.program-lines {
    position: absolute;
    top: -160px;
    right: -250px;
    width: 600px;
    height: 600px;
    border: 1px solid rgba(255,255,255,.23);
    border-radius: 50%;
    box-shadow: 0 0 0 60px rgba(255,255,255,.04),
                0 0 0 120px rgba(255,255,255,.04);
}

.program-content {
    display: flex;
    padding: clamp(50px, 7vw, 110px);
    flex-direction: column;
    justify-content: center;
}

.program-content h2,
.section-heading h2 {
    font-size: clamp(48px, 5.3vw, 82px);
}

.program-content > p:not(.eyebrow) {
    max-width: 560px;
    margin: 32px 0;
    color: #5e7180;
    font-size: 17px;
    line-height: 1.75;
}

.coming-soon {
    display: inline-block;
    align-self: flex-start;
    padding-bottom: 7px;
    color: var(--blue);
    border-bottom: 1px solid var(--blue);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .09em;
    text-transform: uppercase;
}

.places-grid {
    display: grid;
    gap: 16px;
    grid-template-columns: 1.35fr 1fr;
}

.place-card {
    position: relative;
    margin: 0;
    overflow: hidden;
    background: var(--navy);
}

.place-card-lead {
    grid-row: span 2;
}

.place-card-wide {
    grid-column: 1 / -1;
}

.place-card-wide img {
    max-height: 460px;
    min-height: 360px;
}

.place-card img {
    width: 100%;
    height: 100%;
    min-height: 280px;
    object-fit: cover;
}

.place-card-lead img {
    min-height: 580px;
}

.place-card figcaption {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    padding: 48px 22px 18px;
    color: var(--white);
    background: linear-gradient(transparent, rgba(7, 29, 49, .82));
}

.place-card strong {
    display: block;
    font-family: var(--font-title);
    font-size: clamp(20px, 2vw, 28px);
    letter-spacing: -.03em;
}

.place-card span {
    display: block;
    margin-top: 4px;
    color: rgba(255, 255, 255, .78);
    font-size: 13px;
}

.news-section {
    padding-top: 80px;
}

.section-heading {
    display: flex;
    margin-bottom: 75px;
    align-items: flex-end;
    justify-content: space-between;
}

.section-heading .section-number {
    display: block;
    margin-bottom: 55px;
}

.section-heading > p {
    max-width: 310px;
    margin: 0 0 5px;
    color: #687986;
    line-height: 1.65;
}

.news-grid {
    display: grid;
    border-top: 1px solid rgba(16,41,63,.2);
    grid-template-columns: repeat(2, 1fr);
}

.news-card {
    position: relative;
    min-height: 350px;
    padding: 42px 70px 42px 0;
    border-bottom: 1px solid rgba(16,41,63,.2);
}

.news-card:nth-child(odd) {
    padding-right: 10%;
    border-right: 1px solid rgba(16,41,63,.2);
}

.news-card:nth-child(even) {
    padding-left: 10%;
}

.news-card time {
    color: var(--blue);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .15em;
}

.news-card h3 {
    max-width: 520px;
    margin: 38px 0 20px;
    font-family: var(--font-title);
    font-size: clamp(25px, 2.5vw, 38px);
    letter-spacing: -.035em;
    line-height: 1.12;
}

.news-card p {
    max-width: 530px;
    margin: 0;
    color: #647681;
    line-height: 1.7;
}

.news-arrow {
    position: absolute;
    top: 39px;
    right: 30px;
    color: var(--coral);
    font-size: 25px;
}

.video-section {
    color: var(--white);
    background: var(--navy);
}

.section-heading-light .section-number,
.section-heading-light > p {
    color: rgba(255,255,255,.5);
}

.video-grid {
    display: grid;
    gap: 30px;
    grid-template-columns: repeat(2, 1fr);
}

.video-frame {
    position: relative;
    padding-bottom: 56.25%;
    overflow: hidden;
    background: var(--navy-deep);
}

.video-frame iframe {
    position: absolute;
    width: 100%;
    height: 100%;
    border: 0;
}

.video-card h3 {
    margin: 20px 0 0;
    font-family: var(--font-title);
    font-size: 21px;
}

.video-placeholder {
    display: grid;
    min-height: 300px;
    border: 1px solid rgba(255,255,255,.16);
    background: radial-gradient(circle at 50% 50%, rgba(76,183,232,.16), transparent 50%);
    place-items: center;
    align-content: center;
}

.video-placeholder p {
    color: rgba(255,255,255,.55);
    font-size: 12px;
    letter-spacing: .16em;
    text-transform: uppercase;
}

.play-icon {
    display: grid;
    width: 72px;
    height: 72px;
    padding-left: 4px;
    color: var(--navy);
    background: var(--sky);
    border-radius: 50%;
    place-items: center;
}

.sponsors-section {
    padding: 115px 0 130px;
    overflow: hidden;
    background: var(--white);
}

.sponsors-title {
    padding: 0 clamp(24px, 7vw, 120px);
    text-align: center;
}

.sponsors-title .section-number {
    display: block;
    margin-bottom: 45px;
}

.sponsors-title h2 {
    font-size: clamp(48px, 7vw, 95px);
}

.logo-marquee {
    margin-top: 80px;
    overflow: hidden;
    border-top: 1px solid #e1e5e8;
    border-bottom: 1px solid #e1e5e8;
}

.logo-track {
    display: flex;
    width: max-content;
    animation: marquee 28s linear infinite;
}

.logo-marquee:hover .logo-track {
    animation-play-state: paused;
}

.logo-item {
    display: grid;
    width: 260px;
    height: 150px;
    padding: 35px;
    border-right: 1px solid #e1e5e8;
    place-items: center;
}

.logo-item img {
    max-width: 170px;
    max-height: 70px;
    filter: grayscale(1);
    opacity: .65;
    transition: filter .2s, opacity .2s;
}

.logo-item:hover img {
    filter: none;
    opacity: 1;
}

@keyframes marquee {
    to { transform: translateX(-50%); }
}

.empty-message {
    margin: 50px auto 0;
    color: #72818c;
    text-align: center;
}

.site-footer {
    display: grid;
    padding: 70px clamp(24px, 7vw, 120px);
    color: rgba(255,255,255,.58);
    background: var(--navy-deep);
    grid-template-columns: 1fr 1fr auto;
    align-items: end;
}

.site-footer p {
    margin: 14px 0 0;
    font-size: 12px;
    line-height: 1.6;
}

.footer-logo {
    height: 58px;
    width: auto;
}

.footer-location span {
    color: var(--sky);
    font-size: 10px;
    letter-spacing: .16em;
}

.back-top {
    color: var(--white);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: .08em;
    text-decoration: none;
    text-transform: uppercase;
}

.reveal {
    opacity: 0;
    transform: translateY(32px);
    transition: opacity .7s ease, transform .7s ease;
}

.reveal.visible {
    opacity: 1;
    transform: none;
}

@media (max-width: 950px) {
    .program-card {
        grid-template-columns: 1fr;
    }

    .program-visual {
        min-height: 430px;
    }
}

@media (max-width: 720px) {
    .header-bar {
        height: 70px;
        padding: 0 20px;
    }

    .brand img {
        height: 40px;
    }

    .header-copy {
        padding: 28px 24px 150px;
    }

    .header-copy h1 {
        font-size: clamp(42px, 12vw, 64px);
    }

    .header-meta span {
        padding-left: 0;
        border-left: 0;
    }

    .header-copy .hero-actions {
        align-items: flex-start;
        flex-direction: column;
    }

    .skyline {
        width: 860px;
        max-width: none;
        margin-left: 50%;
        transform: translateX(-50%);
    }

    .menu-button {
        display: flex;
        width: 42px;
        height: 42px;
        padding: 11px 8px;
        flex-direction: column;
        gap: 5px;
        justify-content: center;
        border: 0;
        background: transparent;
    }

    .menu-button > span:not(.sr-only) {
        display: block;
        width: 100%;
        height: 1px;
        background: var(--white);
    }

    .main-nav {
        position: fixed;
        z-index: -1;
        top: 0;
        right: 0;
        display: flex;
        width: min(82vw, 360px);
        height: 100vh;
        padding: 115px 42px;
        opacity: 0;
        background: var(--navy-deep);
        flex-direction: column;
        transform: translateX(100%);
        transition: transform .3s, opacity .3s;
    }

    .main-nav.open {
        opacity: 1;
        transform: none;
    }

    .main-nav a {
        font-size: 16px;
    }

    .section {
        padding: 90px 24px;
    }

    .program-section > .section-number {
        top: 45px;
    }

    .program-visual {
        min-height: 330px;
        padding: 35px;
    }

    .program-day {
        font-size: 180px;
    }

    .program-content {
        padding: 52px 30px;
    }

    .program-content h2,
    .section-heading h2 {
        font-size: 45px;
    }

    .section-heading {
        gap: 35px;
        margin-bottom: 50px;
        align-items: flex-start;
        flex-direction: column;
    }

    .section-heading .section-number {
        margin-bottom: 38px;
    }

    .places-grid {
        grid-template-columns: 1fr;
    }

    .place-card-lead,
    .place-card-wide {
        grid-row: auto;
        grid-column: auto;
    }

    .place-card img,
    .place-card-lead img {
        min-height: 240px;
        max-height: 420px;
    }

    .news-grid,
    .video-grid {
        grid-template-columns: 1fr;
    }

    .news-card,
    .news-card:nth-child(odd),
    .news-card:nth-child(even) {
        min-height: 0;
        padding: 38px 45px 38px 0;
        border-right: 0;
    }

    .news-card h3 {
        margin-top: 24px;
    }

    .sponsors-section {
        padding: 85px 0 100px;
    }

    .logo-marquee {
        margin-top: 55px;
    }

    .site-footer {
        gap: 40px;
        grid-template-columns: 1fr;
    }
}

.page-home .building {
    opacity: 0;
    transform-box: fill-box;
    transform-origin: center bottom;
    animation: building-draw .9s cubic-bezier(.16, .84, .28, 1) forwards;
}

.page-home .building-tree    { animation-delay: .15s; }
.page-home .building-gazebo  { animation-delay: .34s; }
.page-home .building-statue  { animation-delay: .53s; }
.page-home .building-nave    { animation-delay: .72s; }
.page-home .building-church  { animation-delay: .91s; }
.page-home .building-tower   { animation-delay: 1.1s; }
.page-home .building-palace  { animation-delay: 1.29s; }
.page-home .building-wall    { animation-delay: 1.46s; }
.page-home .building-gate    { animation-delay: 1.6s; }
.page-home .building-bushes  { animation-delay: 1.76s; }

@keyframes building-draw {
    from {
        opacity: 0;
        transform: translateY(26px);
    }

    to {
        opacity: 1;
        transform: none;
    }
}

.page-home .header-kicker,
.page-home .header-copy h1,
.page-home .header-meta,
.page-home .header-tagline,
.page-home .header-intro,
.page-home .header-copy .hero-actions {
    animation: copy-in .85s cubic-bezier(.16, .84, .28, 1) both;
}

.page-home .header-copy h1 {
    animation-delay: .08s;
}

.page-home .header-meta {
    animation-delay: .16s;
}

.page-home .header-tagline {
    animation-delay: .24s;
}

.page-home .header-intro {
    animation-delay: .32s;
}

.page-home .header-copy .hero-actions {
    animation-delay: .4s;
}

@keyframes copy-in {
    from {
        opacity: 0;
        transform: translateY(18px);
    }

    to {
        opacity: 1;
        transform: none;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    .logo-track {
        animation: none;
    }

    .reveal,
    .page-home .header-kicker,
    .page-home .header-copy h1,
    .page-home .header-meta,
    .page-home .header-tagline,
    .page-home .header-intro,
    .page-home .header-copy .hero-actions,
    .page-home .building {
        opacity: 1;
        transform: none;
        transition: none;
        animation: none;
    }
}
