/* =========================================================
   SPONSOR PAGES
   Sponsors showcase and sponsorship benefits
   ========================================================= */

.sponsor-showcase-main,
.sponsor-benefits-main {
    width: min(1180px, calc(100% - 2rem));
    margin: 0 auto;
    padding: 2rem 0 4rem;
}

/* ---------------------------------------------------------
   Shared hero
   --------------------------------------------------------- */

.sponsor-showcase-hero {
    position: relative;
    overflow: hidden;
    margin-bottom: 3rem;
    padding: clamp(2.25rem, 5vw, 4.75rem);
    color: var(--text-on-dark);
    background:
        repeating-linear-gradient(
            -18deg,
            transparent 0,
            transparent 26px,
            rgba(255, 255, 255, 0.04) 27px,
            rgba(255, 255, 255, 0.04) 30px
        ),
        var(--shirt-primary-deep);
    border: 4px solid var(--shirt-primary-dark);
    box-shadow: 10px 10px 0 rgba(31, 49, 35, 0.5);
}

.sponsor-showcase-hero::after {
    content: "";
    position: absolute;
    right: -8rem;
    bottom: -9rem;
    width: 28rem;
    height: 28rem;
    border: 2rem solid rgba(255, 255, 255, 0.04);
    border-radius: 50%;
}

.sponsor-eyebrow,
.sponsor-year-heading > p,
.sponsor-category-banner p,
.benefit-category-heading p,
.sponsor-contact-copy > p {
    margin: 0 0 0.45rem;
    color: var(--energy-yellow);
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 800;
    letter-spacing: 0.13em;
    text-transform: uppercase;
}

.sponsor-showcase-hero h1 {
    position: relative;
    z-index: 1;
    max-width: 920px;
    margin: 0;
    font-family: var(--font-display);
    font-size: clamp(3.5rem, 8vw, 7rem);
    line-height: 0.9;
    letter-spacing: 0.025em;
}

.sponsor-hero-copy {
    position: relative;
    z-index: 1;
    max-width: 850px;
    margin: 1.15rem 0 0;
    font-size: clamp(1.15rem, 2.2vw, 1.5rem);
    font-weight: 650;
    line-height: 1.55;
}

.sponsor-hero-actions {
    position: relative;
    z-index: 1;
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 1.75rem;
}

/* ---------------------------------------------------------
   Buttons
   --------------------------------------------------------- */

.sponsor-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 3.35rem;
    padding: 0.9rem 1.55rem;
    color: var(--shirt-primary-deep) !important;
    background: var(--energy-yellow);
    border: 3px solid var(--shirt-primary-deep);
    box-shadow: 5px 5px 0 var(--energy-orange);
    clip-path: polygon(8% 0, 100% 0, 92% 100%, 0 100%);
    font-family: var(--font-heading);
    font-size: 1.05rem;
    font-weight: 900;
    letter-spacing: 0.055em;
    line-height: 1.1;
    text-align: center;
    text-decoration: none;
    text-transform: uppercase;
    cursor: pointer;
    transition: transform 160ms ease, background 160ms ease, color 160ms ease;
}

.sponsor-button:hover,
.sponsor-button:focus-visible {
    color: var(--text-on-dark) !important;
    background: var(--energy-orange);
    transform: translate(-2px, -2px);
}

.sponsor-button-secondary {
    color: var(--text-on-dark) !important;
    background: var(--shirt-primary-dark);
    border-color: var(--energy-yellow);
}

/* ---------------------------------------------------------
   Sponsor year sections
   --------------------------------------------------------- */

.sponsor-year-section {
    margin-bottom: 4rem;
    scroll-margin-top: 10rem;
}

.sponsor-year-heading {
    padding: 1.5rem 1.65rem;
    color: var(--shirt-primary-deep);
    background: var(--surface-cream);
    border-left: 10px solid var(--energy-orange);
    border-bottom: 4px solid var(--shirt-primary-deep);
}

.sponsor-year-heading--dark {
    color: var(--text-on-dark);
    background: var(--shirt-primary-deep);
}

.sponsor-year-heading h2 {
    margin: 0;
    font-family: var(--font-display);
    font-size: clamp(3rem, 7vw, 5.5rem);
    line-height: 0.92;
}

.sponsor-year-heading span {
    display: block;
    max-width: 800px;
    margin-top: 0.55rem;
    font-size: 1.1rem;
    font-weight: 650;
    line-height: 1.5;
}

.sponsor-preview-statement {
    margin: 1.5rem 0 2.5rem;
    padding: 1.35rem 1.5rem;
    color: var(--shirt-primary-deep);
    background: var(--energy-yellow);
    border: 4px solid var(--shirt-primary-deep);
    border-left: 12px solid var(--energy-orange);
    box-shadow: 6px 6px 0 rgba(31, 49, 35, 0.35);
    font-size: clamp(1rem, 2vw, 1.2rem);
    font-weight: 750;
    line-height: 1.55;
}

/* ---------------------------------------------------------
   2025 sponsor cards
   --------------------------------------------------------- */

.sponsor-previous-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1.25rem;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.72);
    border: 4px solid var(--shirt-primary-deep);
    box-shadow: 8px 8px 0 var(--shirt-primary-dark);
}

.sponsor-previous-card {
    padding: 1.25rem;
    text-align: center;
    background: var(--surface-cream);
    border: 3px solid var(--shirt-primary-deep);
    box-shadow: 5px 5px 0 rgba(62, 78, 61, 0.45);
}

.sponsor-previous-logo {
    width: 100%;
    height: 150px;
    object-fit: contain;
}

.sponsor-previous-card h3 {
    margin: 0.75rem 0 0;
    font-family: var(--font-heading);
    font-size: 1.25rem;
}

/* ---------------------------------------------------------
   Sponsor category containers
   --------------------------------------------------------- */

.sponsor-category,
.benefit-category {
    margin-bottom: 4rem;
    scroll-margin-top: 10rem;
}

.sponsor-category-banner,
.benefit-category-heading {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.25rem 1.5rem;
    color: var(--text-on-dark);
    background: var(--shirt-primary-deep);
    border-left: 10px solid var(--energy-orange);
    border-bottom: 4px solid var(--energy-yellow);
}

.sponsor-category-icon,
.benefit-category-icon {
    display: grid;
    place-items: center;
    flex: 0 0 62px;
    width: 62px;
    height: 62px;
    color: var(--shirt-primary-deep);
    background: var(--energy-yellow);
    border: 4px solid var(--energy-orange);
    border-radius: 50%;
    font-family: var(--font-display);
    font-size: 2.25rem;
    line-height: 1;
}

.sponsor-category-banner h2,
.benefit-category-heading h2 {
    margin: 0;
    font-family: var(--font-display);
    font-size: clamp(2.8rem, 6vw, 4.8rem);
    line-height: 0.92;
}

.sponsor-category-box,
.benefit-category-box {
    padding: clamp(1.25rem, 3vw, 2.25rem);
    background: rgba(255, 255, 255, 0.82);
    border: 4px solid var(--shirt-primary-deep);
    box-shadow: 9px 9px 0 var(--shirt-primary-dark);
}

.sponsor-category-box--cash {
    background: rgba(247, 241, 225, 0.93);
}

.sponsor-category-box--food {
    background: rgba(223, 231, 217, 0.94);
}

.sponsor-category-box--inkind {
    background: rgba(238, 232, 214, 0.94);
}

/* ---------------------------------------------------------
   Sponsor placement tier cards
   --------------------------------------------------------- */

.sponsor-tier-card {
    position: relative;
    min-width: 0;
    padding: clamp(1.25rem, 3vw, 2rem);
    text-align: center;
    background: var(--shirt-primary-light);
    border: 3px solid var(--shirt-primary-deep);
    box-shadow: 6px 6px 0 rgba(31, 49, 35, 0.35);
}

.sponsor-tier-card--featured {
    margin-bottom: 2rem;
    color: var(--text-on-dark);
    background:
        repeating-linear-gradient(
            -20deg,
            transparent 0,
            transparent 25px,
            rgba(255, 255, 255, 0.04) 26px,
            rgba(255, 255, 255, 0.04) 29px
        ),
        var(--shirt-primary-dark);
    border: 5px solid var(--energy-yellow);
    box-shadow: 9px 9px 0 var(--energy-orange);
}

.sponsor-tier-card--large {
    background: #c8d1c4;
}

.sponsor-tier-card--medium {
    background: #e5dcc4;
}

.sponsor-tier-card--small,
.sponsor-tier-card--names {
    background: #f4eddc;
}

.sponsor-tier-label {
    display: inline-block;
    margin-bottom: 1rem;
    padding: 0.38rem 1rem;
    color: var(--text-on-dark);
    background: var(--shirt-primary-deep);
    border: 2px solid var(--energy-yellow);
    font-family: var(--font-heading);
    font-weight: 900;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.sponsor-presented-title {
    margin: 0 auto 1rem;
    color: var(--energy-yellow);
    font-family: var(--font-display);
    font-size: clamp(2.2rem, 5vw, 4.2rem);
    line-height: 1;
}

.sponsor-stagger-row,
.sponsor-stagger-grid {
    display: grid;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.sponsor-stagger-row--cash,
.sponsor-stagger-grid--two {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

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

.sponsor-tier-card--stagger-up {
    transform: translateY(-0.35rem);
}

.sponsor-tier-card--stagger-down {
    transform: translateY(1.15rem);
}

.sample-business-grid {
    display: grid;
    justify-content: center;
    gap: 1rem;
}

.sample-business-grid--large,
.sample-business-grid--medium,
.sample-business-grid--compact {
    grid-template-columns: repeat(auto-fit, minmax(115px, 1fr));
}

.sample-business-grid--single {
    grid-template-columns: minmax(0, 1fr);
}

.sample-business {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-width: 0;
}

.sample-business h3 {
    margin: 0.65rem 0 0;
    font-family: var(--font-heading);
    font-size: 1.08rem;
    line-height: 1.22;
}

.sample-business--xl h3 {
    margin-top: 0.9rem;
    color: var(--text-on-dark);
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 5vw, 4.25rem);
}

.sample-logo {
    display: grid;
    place-items: center;
    flex: 0 0 auto;
    color: var(--text-on-dark);
    background: var(--shirt-primary-deep);
    border: 4px solid var(--energy-yellow);
    border-radius: 50%;
    font-family: var(--font-display);
    line-height: 1;
}

.sample-logo-xl {
    width: clamp(160px, 22vw, 235px);
    height: clamp(160px, 22vw, 235px);
    font-size: clamp(3.2rem, 7vw, 5.6rem);
}

.sample-logo-large {
    width: 122px;
    height: 122px;
    font-size: 2.5rem;
}

.sample-logo-medium {
    width: 88px;
    height: 88px;
    font-size: 1.75rem;
}

.sample-logo-small {
    width: 62px;
    height: 62px;
    border-width: 3px;
    font-size: 1.2rem;
}

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

.sponsor-name-only-grid > div {
    padding: 0.9rem;
    background: rgba(255, 255, 255, 0.78);
    border: 2px solid var(--shirt-primary-dark);
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 800;
}

/* ---------------------------------------------------------
   Sponsorship benefits cards
   --------------------------------------------------------- */

.benefit-tier-grid {
    display: grid;
    gap: 1.4rem;
}

.benefit-tier-grid--four {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

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

.benefit-tier-card {
    position: relative;
    display: flex;
    flex-direction: column;
    min-width: 0;
    padding: 1.6rem;
    overflow: hidden;
    color: var(--shirt-primary-deep);
    background: var(--surface-cream);
    border: 3px solid var(--shirt-primary-deep);
    box-shadow: 6px 6px 0 rgba(31, 49, 35, 0.35);
}

.benefit-tier-card:nth-child(even) {
    background: var(--shirt-primary-light);
}

.benefit-tier-card::after {
    content: "";
    position: absolute;
    right: -2rem;
    top: -2rem;
    width: 7rem;
    height: 7rem;
    background: rgba(244, 158, 36, 0.13);
    transform: rotate(45deg);
}

.benefit-tier-number {
    position: relative;
    z-index: 1;
    display: grid;
    place-items: center;
    width: 48px;
    height: 48px;
    color: var(--shirt-primary-deep);
    background: var(--energy-yellow);
    border: 3px solid var(--energy-orange);
    font-family: var(--font-display);
    font-size: 1.8rem;
}

.benefit-tier-card h3 {
    margin: 0.9rem 0 0;
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 3rem);
    line-height: 0.95;
}

.benefit-tier-price {
    margin: 0.6rem 0 0;
    color: var(--energy-orange-dark, #9a4d00);
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-weight: 800;
}

.benefit-tier-card ul {
    flex: 1;
    margin: 1rem 0 1.4rem;
    padding-left: 1.2rem;
}

.benefit-tier-card li {
    margin-bottom: 0.6rem;
    line-height: 1.45;
}

.benefit-tier-card .sponsor-button {
    width: 100%;
    margin-top: auto;
}

/* ---------------------------------------------------------
   Power-up call to action
   --------------------------------------------------------- */

.sponsor-contact-section {
    position: relative;
    isolation: isolate;
    display: grid;
    grid-template-columns: 1.35fr 0.85fr;
    gap: 2rem;
    overflow: hidden;
    margin: 4.5rem 0 1rem;
    padding: clamp(2.25rem, 5vw, 4.5rem);
    color: var(--text-on-dark);
    background: var(--shirt-primary-deep);
    border: 7px solid var(--energy-yellow);
    box-shadow: 14px 14px 0 var(--energy-orange);
}

.sponsor-contact-section::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -2;
    background:
        radial-gradient(circle at 15% 50%, rgba(255, 211, 72, 0.12), transparent 30%),
        repeating-linear-gradient(
            -20deg,
            transparent 0,
            transparent 22px,
            rgba(255, 255, 255, 0.05) 23px,
            rgba(255, 255, 255, 0.05) 27px
        );
}

.sponsor-contact-energy {
    position: absolute;
    right: -6rem;
    top: 50%;
    z-index: -1;
    width: 25rem;
    height: 25rem;
    border: 2.2rem solid rgba(255, 211, 72, 0.16);
    border-radius: 50%;
    transform: translateY(-50%);
}

.sponsor-contact-copy h2 {
    margin: 0;
    color: var(--energy-yellow);
    font-family: var(--font-display);
    font-size: clamp(3.7rem, 8vw, 7rem);
    line-height: 0.88;
    text-shadow: 4px 4px 0 rgba(0, 0, 0, 0.25);
}

.sponsor-contact-copy span {
    display: block;
    max-width: 650px;
    margin-top: 1rem;
    font-size: 1.2rem;
    font-weight: 650;
    line-height: 1.6;
}

.sponsor-contact-card {
    align-self: center;
    padding: 1.5rem;
    text-align: center;
    background: rgba(255, 255, 255, 0.1);
    border: 3px solid var(--energy-yellow);
    box-shadow: 6px 6px 0 rgba(0, 0, 0, 0.25);
}

.sponsor-contact-card small {
    display: block;
    color: var(--energy-yellow);
    font-family: var(--font-heading);
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.sponsor-contact-email {
    display: block;
    margin: 0.7rem 0 1.2rem;
    color: var(--text-on-dark);
    font-size: clamp(1rem, 2.3vw, 1.35rem);
    font-weight: 800;
    overflow-wrap: anywhere;
}

/* ---------------------------------------------------------
   Responsive sponsor layouts
   --------------------------------------------------------- */

@media (max-width: 980px) {
    .sponsor-previous-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .sponsor-stagger-grid--three,
    .benefit-tier-grid--three {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .sponsor-contact-section {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 720px) {
    .sponsor-showcase-main,
    .sponsor-benefits-main {
        width: min(100% - 1rem, 1180px);
    }

    .sponsor-hero-actions,
    .sponsor-button {
        width: 100%;
    }

    .sponsor-previous-grid,
    .sponsor-stagger-row--cash,
    .sponsor-stagger-grid--two,
    .sponsor-stagger-grid--three,
    .benefit-tier-grid--four,
    .benefit-tier-grid--three {
        grid-template-columns: 1fr;
    }

    .sponsor-tier-card--stagger-up,
    .sponsor-tier-card--stagger-down {
        transform: none;
    }

    .sponsor-name-only-grid {
        grid-template-columns: 1fr;
    }

    .sponsor-category-banner,
    .benefit-category-heading {
        align-items: flex-start;
    }

    .sponsor-category-icon,
    .benefit-category-icon {
        flex-basis: 50px;
        width: 50px;
        height: 50px;
        font-size: 1.8rem;
    }
}
