/* ============ SPONSORSHIP PAGE ============ */

.sponsor-page {
    padding-top: 60px; /* clears the fixed header */
    font-family: "Mona Sans", sans-serif;
    color: #262626;
}

/* ---------- Hero ---------- */
.sponsor-hero {
    position: relative;
    display: flex;
    align-items: flex-end;
    aspect-ratio: 21 / 10;
    min-height: 320px;
    overflow: hidden;
    background-color: #262626; /* shows until a hero image is set */
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

/* Soft dark fade at the bottom so the white title stays readable */
.sponsor-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.45), rgba(0, 0, 0, 0) 55%);
}


.sponsor-hero-title {
    position: relative;
    z-index: 1;
    padding-left: 5vw;
    padding-bottom: 40px;
    color: #fff;
    text-transform: uppercase;
    line-height: 0.9;
}

.sponsor-hero-small {
    display: block;
    font-size: clamp(34px, 6vw, 95px);
    font-weight: 600;
}

.sponsor-hero-large {
    display: block;
    font-size: clamp(44px, 9.5vw, 150px);
    font-weight: 500;
}



/* ---------- Intro + logos ---------- */
.sponsor-intro {
    background: #fff;
    padding: 2rem 5vw 4rem;
}

.sponsor-intro-text,
.sponsor-intro-text div {
    color: #262626; /* main.css makes every div white */
}

.sponsor-intro-text p {
    margin-bottom: 1em;
    font-size: clamp(15px, 1.8vw, 20px);
    font-weight: 300;
    line-height: 1.35;
    font-stretch: 100%;
    padding-top: 2vw;
}

/* Scrolling logo marquee (reuses the ticker-scroll animation from main.css) */
.sponsor-marquee {
    display: flex;
    overflow: hidden;
    margin-top: 3.5rem;
    /* fade the logos out at the left and right edges */
    -webkit-mask-image: linear-gradient(to right, transparent, #000 8%, #000 92%, transparent);
            mask-image: linear-gradient(to right, transparent, #000 8%, #000 92%, transparent);
}

.sponsor-interested-text{
    color: #262626;
    font-size: clamp(15px, 1.8vw, 20px);
    font-weight: 500;
    padding-bottom: 2vw;
}

.learn-more-button{
    text-decoration: underline;
    color: #262626;
    text-decoration-thickness: 2px;
}

.sponsor-logos {
    display: flex;
    flex-shrink: 0;
    align-items: center;
    list-style: none;
    animation: ticker-scroll var(--marquee-duration, 30s) linear infinite;
}

.sponsor-logos li {
    padding: 0 1.75rem;
}

.sponsor-marquee:hover .sponsor-logos {
    animation-play-state: paused;
}

/* When motion is paused, show one still, centered row instead */
html.reduce-motion .sponsor-marquee {
    justify-content: center;
    -webkit-mask-image: none;
            mask-image: none;
}

html.reduce-motion .sponsor-logos {
    flex-shrink: 1;
    flex-wrap: wrap;
    justify-content: center;
    row-gap: 2rem;
    animation: none;
}

html.reduce-motion .sponsor-logos[aria-hidden="true"],
html.reduce-motion .sponsor-logos li[aria-hidden="true"] {
    display: none;
}

.sponsor-logo {
    display: block;
    width: auto;
    height: clamp(28px, 4vw, 48px);
    max-width: 180px;
    object-fit: contain;
    filter: grayscale(1);
    opacity: 0.55;
}

/* ---------- Sponsorship levels ---------- */
.sponsor-levels {
    padding: 2rem 5vw 4rem;
    margin: 0 auto;
}

.sponsor-levels-title {
    /* overrides the global h2 style in main.css */
    padding-top: 0;
    margin-bottom: 1.5rem;
    font-size: clamp(24px, 3vw, 40px);
    font-weight: 500;
    line-height: 1.1;
}

.tier-tablist {
    display: flex;
    overflow-x: auto; /* lets the tabs scroll sideways on small phones */
    background: #fff;
    border-radius: 8px 8px 0 0;
}

.tier-tab {
    flex: 1 0 auto;
    padding: 0.75rem 1.25rem;
    border: none;
    border-radius: 8px 8px 0 0;
    background: transparent;
    color: #262626;
    font-family: inherit;
    font-size: clamp(14px, 1.3vw, 18px);
    font-weight: 400;
    cursor: pointer;
    transition: background 0.2s, color 0.2s;
}

.tier-tab:hover {
    background: #e5e5e5;
}

.tier-tab[aria-selected="true"] {
    background: #262626;
    color: #fff;
}

.tier-tab:focus-visible,
.tier-panel:focus-visible {
    outline: 2px solid #0a66c2;
    outline-offset: 2px;
}

.tier-panel {
    padding: 1.75rem 2.25rem 1.25rem;
    background: #262626;
    color: #fff;
    border-radius: 0 0 8px 8px;
}

.tier-amount {
    font-size: clamp(16px, 1.4vw, 20px);
    font-weight: 400;
}

.tier-benefits {
    margin: 1rem 0 2rem;
    padding-left: 1.25rem;
}

.tier-benefits li {
    font-size: clamp(15px, 1.3vw, 18px);
    font-weight: 300;
    line-height: 1.3;
}

.tier-thanks {
    font-size: 12px;
    font-weight: 300;
}

@media screen and (max-width: 700px) {
    .sponsor-hero {
        aspect-ratio: auto;
        min-height: 55vh;
        background-position: -110px;
    }

    .sponsor-hero-title {
        padding: 0 0 20px 20px;
    }

    .sponsor-intro {
        padding: 2rem 20px 3rem;
    }

    .sponsor-levels {
        padding: 3rem 20px 4rem;
    }

    .tier-panel {
        padding: 1.5rem 1.25rem 1rem;
    }
}

    /* ---------- Exhibit booth ----------*/

.booth-section {
    display: flex;
    align-items: center;
    gap: 3vw;
    padding: 1rem 4vw 5rem;
    background: #fff; /* continues the white band from the logos */
    color: #262626;
}

.booth-text {
    flex: 0 0 31%;
    color: #262626;
}

.booth-title {
    /* overrides the global h2 style in main.css */
    padding-top: 0;
    color: #262626;
    font-size: clamp(30px, 3.4vw, 58px);
    font-weight: 500;
    line-height: 1;
}

.booth-text p,
.booth-list li {
    font-size: clamp(16px, 1.35vw, 22px);
    font-weight: 400;
    line-height: 1.15;
}

.booth-text p {
    margin-top: 1em;
}

.booth-text .booth-lead {
    margin-top: 2.25rem;
    font-weight: 500;
}

.booth-list {
    margin-top: 0.2em;
    padding-left: 1.6em;
}

.booth-figure {
    flex: 1;
    min-width: 0;
    margin: 0;
}

.booth-figure img {
    display: block;
    width: 100%;
    height: auto;
}

/* Hidden on desktop, but still read by screen readers */
.booth-details {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
}

@media screen and (max-width: 880px) {
    .booth-section {
        flex-direction: column;
        align-items: stretch;
        gap: 2rem;
        padding: 1rem 20px 3.5rem;
    }

    .booth-text {
        flex: none;
    }

    /* On phones the handwritten notes are too small, so show them as a list */
    .booth-details {
        position: static;
        width: auto;
        height: auto;
        overflow: visible;
        clip: auto;
        white-space: normal;
        margin-top: 1.25rem;
        padding: 1.25rem 1.25rem 1.25rem 2.5rem;
        background: #F0F0F0;
        border-radius: 20px;
        color: #262626;
    }

    .booth-details li {
        margin-bottom: 0.3em;
        font-size: 15px;
        font-weight: 300;
        line-height: 1.4;
    }
}

/* ---------- "Learn more" jump link ---------- */
html {
    scroll-behavior: smooth; /* glides down instead of jumping (only on this page) */
}

.sponsor-levels {
    scroll-margin-top: 80px; /* stops below the fixed header instead of under it */
}

.sponsor-interested-text {
    margin-top: 1.5rem;
    color: #262626;
    font-size: clamp(15px, 1.3vw, 20px);
    font-weight: 300;
}

.learn-more-button {
    margin-left: 0.25em;
    font-weight: 500;
    text-decoration: underline;
    text-decoration-thickness: 1.5px;
    text-underline-offset: 4px;
    transition: text-underline-offset 0.2s ease;
}

/* Small down arrow that nudges on hover */
.learn-more-button::after {
    content: "\2193";
    display: inline-block;
    margin-left: 0.3em;
    transition: transform 0.2s ease;
}

.learn-more-button:hover {
    text-underline-offset: 6px;
}

.learn-more-button:hover::after {
    transform: translateY(3px);
}

.learn-more-button:focus-visible {
    outline: 2px solid #0a66c2;
    outline-offset: 3px;
    border-radius: 2px;
}

/* ---------- Industry partnership ----------
   Lines up with the sponsorship levels below it (same 900px width). */

.partner-section {
    padding: 2rem 5vw 4rem;
    margin: 0 auto;
    color: #262626;
}

.partner-title {
    /* overrides the global h2 style in main.css */
    padding-top: 0;
    margin-bottom: 1.5rem;
    color: #262626;
    font-size: clamp(24px, 3vw, 40px);
    font-weight: 500;
    line-height: 1.1;
}

.partner-body p,
.partner-notes li,
.partner-contact,
.partner-lead-in {
    font-size: clamp(15px, 1.2vw, 18px);
    font-weight: 300;
    line-height: 1.45;
    color: #262626;
}

.partner-body p {
    margin-bottom: 1em;
}

/* White card for the notes */
.partner-notes {
    margin-top: 2rem;
    padding: 1.75rem 2rem;
    background: #fff;
    border-radius: 20px;
    color: #262626;
}

.partner-notes-title {
    margin-bottom: 0.75rem;
    color: #262626;
    font-size: clamp(17px, 1.4vw, 21px);
    font-weight: 600;
}

.partner-notes ul {
    padding-left: 1.25rem;
}

.partner-notes li {
    margin-bottom: 0.5em;
}

.partner-notes li:last-child {
    margin-bottom: 0;
}

/* Pledge form button + contact line */
.partner-cta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 1rem 1.5rem;
    margin-top: 2rem;
    color: #262626;
}

.partner-button {
    display: inline-block;
    padding: 0 22px;
    height: 44px;
    line-height: 44px;
    border-radius: 100px;
    background: #262626;
    color: #fff;
    font-size: 17px;
    font-weight: 500;
    white-space: nowrap;
    transition: background 0.2s;
}

.partner-button:hover {
    background: #000;
}

.partner-contact {
    flex: 1;
    min-width: 260px;
}

.partner-contact a {
    font-weight: 500;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.partner-button:focus-visible,
.partner-contact a:focus-visible {
    outline: 2px solid #0a66c2;
    outline-offset: 3px;
}

.partner-lead-in {
    margin-top: 2.5rem;
}

@media screen and (max-width: 700px) {
    .partner-section {
        padding: 3rem 20px 0;
    }

    .partner-notes {
        padding: 1.5rem 1.25rem;
    }

    .partner-button {
        white-space: normal;
        height: auto;
        line-height: 1.3;
        padding: 12px 22px;
        text-align: center;
    }
}