/* =========================================
   PARTNERSHIP PAGE
   ========================================= */

/* --- Hero with photo background --- */
.p-hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 140px 24px 100px;
    overflow: hidden;
    background: url('../hero.png') center/cover no-repeat;
}

.p-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(0, 0, 0, 0.7) 0%,
        rgba(0, 0, 0, 0.5) 50%,
        rgba(0, 0, 0, 0.85) 100%
    );
    z-index: 0;
}

.p-hero-inner {
    position: relative;
    z-index: 1;
    max-width: 700px;
}

.p-eyebrow {
    font-size: 0.65rem;
    letter-spacing: 0.7em;
    text-transform: uppercase;
    color: var(--gold);
    margin: 0 0 2rem;
}

.p-title {
    font-size: clamp(2.6rem, 7vw, 4.5rem);
    font-family: "Cormorant Garamond", "Shippori Mincho", serif;
    font-weight: 300;
    font-style: italic;
    letter-spacing: 0.03em;
    line-height: 1.15;
    margin: 0 0 1.5rem;
    color: #fff;
}

.p-subtitle {
    font-size: 1.05rem;
    line-height: 2;
    color: rgba(255, 255, 255, 0.7);
    margin: 0 0 2.5rem;
}

.p-hero-cta {
    display: inline-block;
    padding: 16px 48px;
    border: 1px solid rgba(215, 188, 117, 0.7);
    color: var(--gold);
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.35em;
    font-size: 0.7rem;
    transition: background 0.4s ease, color 0.4s ease;
}

.p-hero-cta:hover {
    background: var(--gold);
    color: #050505;
}

/* --- Stats --- */
.p-stats {
    padding: clamp(50px, 6vw, 80px) 24px;
    background: var(--background);
    border-bottom: 1px solid rgba(215, 188, 117, 0.1);
}

.p-stats-grid {
    max-width: 700px;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    gap: clamp(40px, 8vw, 100px);
    text-align: center;
}

.p-stat {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.p-stat-number {
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-family: "Cormorant Garamond", serif;
    font-weight: 300;
    color: var(--gold);
    letter-spacing: 0.1em;
    line-height: 1;
}

.p-stat-label {
    font-size: 0.7rem;
    letter-spacing: 0.4em;
    text-transform: uppercase;
    color: var(--muted);
    margin-top: 0.75rem;
}

/* --- Marquee (auto-scroll book covers) --- */
.p-marquee {
    padding: 0;
    overflow: hidden;
    background: var(--background);
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.p-marquee-track {
    display: flex;
    gap: 16px;
    animation: marqueeScroll 40s linear infinite;
    width: max-content;
    padding: 40px 0;
}

.p-marquee-track img {
    width: 140px;
    height: 192px;
    object-fit: cover;
    border-radius: 3px;
    opacity: 0.7;
    transition: opacity 0.3s ease, transform 0.3s ease;
    flex-shrink: 0;
}

.p-marquee-track img:hover {
    opacity: 1;
    transform: scale(1.05);
}

@keyframes marqueeScroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* --- Philosophy Quote --- */
.p-philosophy {
    padding: clamp(80px, 10vw, 140px) clamp(24px, 10vw, 200px);
    background: var(--background);
    border-bottom: 1px solid rgba(215, 188, 117, 0.1);
}

.p-philosophy-inner {
    max-width: 680px;
    margin: 0 auto;
    text-align: center;
}

.p-philosophy-quote {
    font-size: clamp(1.1rem, 2.5vw, 1.5rem);
    font-family: "Cormorant Garamond", "Shippori Mincho", serif;
    font-style: italic;
    font-weight: 300;
    line-height: 2.2;
    color: rgba(240, 236, 224, 0.65);
    letter-spacing: 0.03em;
    margin: 0;
}

/* --- Benefits --- */
.p-benefits {
    padding: clamp(80px, 10vw, 140px) clamp(24px, 8vw, 160px);
    background: #050505;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.p-benefits-inner {
    max-width: 1000px;
    margin: 0 auto;
}

.p-benefits-header {
    margin-bottom: 3.5rem;
}

.p-benefits-header h2 {
    font-size: clamp(1.6rem, 3.5vw, 2.4rem);
    font-family: "Cormorant Garamond", "Shippori Mincho", serif;
    font-weight: 300;
    font-style: italic;
    letter-spacing: 0.03em;
    line-height: 1.3;
    margin: 0;
    color: var(--text);
}

.p-benefits-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    border: 1px solid rgba(215, 188, 117, 0.15);
}

.p-benefit {
    padding: clamp(28px, 4vw, 48px);
    border-bottom: 1px solid rgba(215, 188, 117, 0.08);
    border-right: 1px solid rgba(215, 188, 117, 0.08);
    transition: background 0.4s ease;
}

.p-benefit:nth-child(2n) {
    border-right: none;
}

.p-benefit:nth-last-child(-n+2) {
    border-bottom: none;
}

.p-benefit:hover {
    background: rgba(215, 188, 117, 0.04);
}

.p-benefit-num {
    font-size: 0.7rem;
    letter-spacing: 0.3em;
    color: var(--gold);
    opacity: 0.5;
    display: block;
    margin-bottom: 1.2rem;
    font-family: "Cormorant Garamond", serif;
}

.p-benefit h3 {
    font-size: 1.1rem;
    font-family: "Cormorant Garamond", "Shippori Mincho", serif;
    font-weight: 400;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin: 0 0 1rem;
    color: var(--text);
}

.p-benefit p {
    font-size: 0.9rem;
    line-height: 2;
    color: rgba(240, 236, 224, 0.5);
    margin: 0;
}

/* --- Partnership Types --- */
.p-types {
    padding: clamp(80px, 10vw, 140px) clamp(24px, 8vw, 160px);
    background: var(--background);
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.p-types-inner {
    max-width: 1000px;
    margin: 0 auto;
}

.p-types-inner > .p-eyebrow {
    margin-bottom: 3rem;
}

.p-types-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
}

.p-type-card {
    padding: clamp(24px, 3vw, 36px);
    border-left: 1px solid rgba(215, 188, 117, 0.12);
    transition: background 0.4s ease;
}

.p-type-card:first-child {
    border-left: none;
}

.p-type-card:hover {
    background: rgba(215, 188, 117, 0.03);
}

.p-type-card h3 {
    font-size: 0.95rem;
    font-family: "Cormorant Garamond", "Shippori Mincho", serif;
    font-weight: 400;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    margin: 0 0 1rem;
    color: var(--gold);
}

.p-type-card p {
    font-size: 0.85rem;
    line-height: 2;
    color: rgba(240, 236, 224, 0.5);
    margin: 0;
}

/* --- Sponsors --- */
.p-sponsors {
    padding: clamp(80px, 10vw, 120px) clamp(24px, 8vw, 160px);
    background: #050505;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
    text-align: center;
}

.p-sponsors-inner {
    max-width: 800px;
    margin: 0 auto;
}

.p-sponsors .p-eyebrow {
    margin-bottom: 2.5rem;
}

/* --- Contact CTA --- */
.p-contact {
    padding: clamp(100px, 12vw, 180px) clamp(24px, 8vw, 160px);
    background: var(--background);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.p-contact::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 50% 50% at 50% 50%, rgba(215, 188, 117, 0.06), transparent);
    pointer-events: none;
}

.p-contact-inner {
    max-width: 700px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.p-contact-frame {
    border: 1px solid rgba(215, 188, 117, 0.2);
    padding: clamp(48px, 7vw, 90px) clamp(32px, 5vw, 72px);
}

.p-contact-frame h2 {
    font-size: clamp(1.8rem, 5vw, 2.8rem);
    font-family: "Cormorant Garamond", "Shippori Mincho", serif;
    font-weight: 300;
    font-style: italic;
    letter-spacing: 0.03em;
    margin: 1.5rem 0 1.5rem;
    color: var(--text);
}

.p-contact-text {
    font-size: 0.95rem;
    line-height: 2.1;
    color: rgba(240, 236, 224, 0.55);
    margin: 0 0 2.5rem;
    max-width: 440px;
    margin-left: auto;
    margin-right: auto;
}

.p-cta {
    display: inline-block;
    padding: 18px 56px;
    border: 1px solid var(--gold);
    color: var(--gold);
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.35em;
    font-size: 0.7rem;
    transition: background 0.4s ease, color 0.4s ease;
}

.p-cta:hover {
    background: var(--gold);
    color: #050505;
}

/* --- Mobile --- */
@media (max-width: 768px) {
    .p-hero {
        padding: 130px 20px 80px;
        min-height: 85vh;
    }

    .p-stats-grid {
        gap: 32px;
    }

    .p-marquee-track img {
        width: 110px;
        height: 151px;
    }

    .p-benefits-grid {
        grid-template-columns: 1fr;
    }

    .p-benefit {
        border-right: none !important;
    }

    .p-benefit:nth-last-child(-n+2) {
        border-bottom: 1px solid rgba(215, 188, 117, 0.08);
    }

    .p-benefit:last-child {
        border-bottom: none;
    }

    .p-types-grid {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .p-type-card {
        border-left: none;
        border-bottom: 1px solid rgba(215, 188, 117, 0.08);
        padding: 24px 0;
    }

    .p-type-card:last-child {
        border-bottom: none;
    }

    .p-contact-frame {
        padding: 40px 24px;
    }

    .p-cta,
    .p-hero-cta {
        width: 100%;
        text-align: center;
    }
}
