/* ==========================================================================
   Integral Primer — Individual Landing Page
   ========================================================================== */

:root {
    --pl-bg:             #f7f3ec;
    --pl-panel:          #fffdf8;
    --pl-panel-alt:      #f2ede3;
    --pl-dark:           #10131a;
    --pl-dark-soft:      #171c25;
    --pl-text:           #16181f;
    --pl-text-muted:     #5f6470;
    --pl-border:         rgba(24, 27, 34, 0.08);
    --pl-accent:         #cb8a2e;
    --pl-accent-hover:   #b67923;
    --pl-font-display:   'Cormorant Garamond', Georgia, 'Times New Roman', serif;
    --pl-font-body:      'Raleway', 'Segoe UI', Roboto, sans-serif;
    --pl-content-max:    1120px;
    --pl-content-narrow: 760px;
}

body.primer-landing-page {
    background: var(--pl-dark);
    color: var(--pl-text);
    font-family: var(--pl-font-body);
}

body.primer-landing-page .entry-title,
body.primer-landing-page .page-title {
    display: none;
}

.primer-landing-page-wrapper {
    overflow-x: hidden;
    background: var(--pl-bg);
}

.pl-container {
    max-width: var(--pl-content-max);
    margin: 0 auto;
    padding: 0 32px;
}

.pl-container--narrow {
    max-width: var(--pl-content-narrow);
}

.pl-section-eyebrow {
    margin: 0 0 20px;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    font-size: 0.72rem;
    font-weight: 700;
    color: var(--pl-accent);
}

.pl-section-title {
    margin: 0 auto 20px;
    max-width: 840px;
    text-align: center;
    font-family: var(--pl-font-display);
    font-size: clamp(2.4rem, 4vw, 4rem);
    line-height: 1;
    color: var(--pl-text);
}

.pl-section-intro {
    margin: 0 auto;
    max-width: 760px;
    text-align: center;
    font-size: 1.02rem;
    line-height: 1.8;
    color: var(--pl-text-muted);
}

.pl-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 50px;
    padding: 14px 28px;
    border-radius: 8px;
    border: 1px solid transparent;
    text-decoration: none;
    font-size: 0.96rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.pl-btn:hover {
    transform: translateY(-1px);
}

.pl-btn--gold {
    background: var(--pl-accent);
    color: var(--pl-dark);
}

.pl-btn--gold:hover {
    background: var(--pl-accent-hover);
}

.pl-btn--ghost {
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(255, 255, 255, 0.18);
    color: rgba(255, 255, 255, 0.9);
}

.pl-btn--ghost-light {
    background: transparent;
    border-color: rgba(255, 255, 255, 0.28);
    color: rgba(255, 255, 255, 0.92);
}

.pl-hero {
    position: relative;
    min-height: 84vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: var(--pl-dark);
    text-align: center;
}

.pl-hero__bg,
.pl-hero__overlay {
    position: absolute;
    inset: 0;
}

.pl-hero__bg {
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
}

.pl-hero__content {
    position: relative;
    z-index: 1;
    max-width: 860px;
    padding: 120px 32px 88px;
}

.pl-hero__eyebrow {
    display: block;
    margin-bottom: 26px;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    font-size: 0.72rem;
    font-weight: 700;
    color: var(--pl-accent);
}

.pl-hero__title {
    margin: 0 0 26px;
    font-family: var(--pl-font-display);
    font-size: clamp(3.4rem, 7vw, 6rem);
    line-height: 0.95;
    color: #fff;
}

.pl-hero__description {
    margin: 0 auto 20px;
    max-width: 680px;
    font-size: 1.08rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.74);
}

.pl-hero__supporting {
    margin: 0 auto 38px;
    max-width: 620px;
    font-family: var(--pl-font-display);
    font-size: clamp(1.18rem, 2.4vw, 1.7rem);
    line-height: 1.45;
    color: rgba(255, 255, 255, 0.96);
}

.pl-hero__actions,
.pl-bottom-cta__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    justify-content: center;
}

.pl-problem,
.pl-ideas,
.pl-social-proof,
.pl-related {
    padding: 96px 0;
}

.pl-problem {
    background: linear-gradient(180deg, #fffdfa 0%, #f5efe4 100%);
}

.pl-ideas {
    background: var(--pl-panel);
    border-top: 1px solid rgba(203, 138, 46, 0.12);
    border-bottom: 1px solid rgba(203, 138, 46, 0.12);
}

.pl-card-grid {
    display: grid;
    gap: 22px;
    margin-top: 42px;
}

.pl-card-grid--problem {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.pl-card-grid--ideas {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.pl-card {
    position: relative;
    min-height: 210px;
    padding: 28px 24px 24px;
    background: rgba(255, 255, 255, 0.88);
    border: 1px solid var(--pl-border);
    border-radius: 16px;
    box-shadow: 0 18px 44px rgba(10, 14, 24, 0.06);
}

.pl-card::before {
    content: '';
    position: absolute;
    left: 24px;
    top: 24px;
    width: 32px;
    height: 1px;
    background: rgba(203, 138, 46, 0.6);
}

.pl-card__index {
    display: inline-block;
    margin-bottom: 18px;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    color: rgba(203, 138, 46, 0.85);
}

.pl-card__title {
    margin: 18px 0 12px;
    font-family: var(--pl-font-display);
    font-size: 1.55rem;
    line-height: 1.1;
    color: var(--pl-text);
}

.pl-card__body {
    margin: 0;
    font-size: 0.95rem;
    line-height: 1.8;
    color: var(--pl-text-muted);
}

.pl-social-proof {
    background: #fff;
    border-top: 1px solid rgba(203, 138, 46, 0.18);
    border-bottom: 1px solid rgba(203, 138, 46, 0.18);
}

.pl-social-proof__grid {
    display: grid;
    grid-template-columns: minmax(300px, 0.95fr) minmax(360px, 1.15fr);
    gap: 54px;
    align-items: start;
}

.pl-quote {
    padding: 6px 0 0 54px;
    border-left: 1px solid rgba(203, 138, 46, 0.22);
}

.pl-quote__text {
    margin: 0 0 28px;
    font-family: var(--pl-font-display);
    font-size: clamp(1.45rem, 2vw, 2rem);
    line-height: 1.32;
    letter-spacing: 0;
    color: var(--pl-text);
    max-width: 28ch;
}

.pl-quote__text::before {
    content: '\201C';
    display: block;
    margin-bottom: 20px;
    font-size: 3.1rem;
    line-height: 0.8;
    color: rgba(203, 138, 46, 0.9);
}

.pl-quote__footer {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
}

.pl-quote__name {
    font-style: normal;
    font-size: 0.84rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: var(--pl-text);
}

.pl-quote__role,
.pl-social-proof__copy p {
    font-size: 1rem;
    line-height: 1.85;
    color: var(--pl-text-muted);
}

.pl-quote__role em,
.pl-social-proof__copy em {
    font-style: italic;
}

.pl-social-proof__copy p {
    margin: 0 0 1em;
}

.pl-social-proof__copy p:last-child {
    margin-bottom: 0;
}

.pl-social-proof__body {
    max-width: 460px;
}

.pl-social-proof__copy p:first-child {
    margin-top: 0;
}

.pl-author {
    display: flex;
    align-items: center;
    gap: 18px;
    margin-bottom: 26px;
}

.pl-author__badge {
    width: 62px;
    height: 62px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    background: var(--pl-dark);
    color: var(--pl-accent);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.08em;
}

.pl-author__meta {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.pl-author__meta .pl-quote__name {
    font-size: 1rem;
    letter-spacing: 0;
    text-transform: none;
}

.pl-author__meta .pl-quote__role {
    font-size: 0.86rem;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: var(--pl-accent);
}

.pl-social-proof__kicker {
    margin: 56px 0 0;
    font-size: 0.92rem;
    line-height: 1.7;
    color: var(--pl-accent);
}

.pl-bottom-cta {
    padding: 104px 0;
    background: linear-gradient(180deg, var(--pl-dark-soft) 0%, var(--pl-dark) 100%);
    text-align: center;
}

.pl-bottom-cta__title {
    margin: 0 0 18px;
    font-family: var(--pl-font-display);
    font-size: clamp(2.7rem, 5vw, 4.4rem);
    line-height: 1;
    color: #fff;
}

.pl-bottom-cta__body {
    margin: 0 auto 34px;
    max-width: 700px;
    font-size: 1rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.72);
}

.pl-related {
    background: var(--pl-bg);
}

.pl-related__header {
    margin-bottom: 36px;
}

.pl-related__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
}

.pl-related-card {
    overflow: hidden;
    padding: 28px 24px 24px;
    background: var(--pl-panel);
    border: 1px solid var(--pl-border);
    border-radius: 16px;
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.pl-related-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.08);
    border-color: rgba(203, 138, 46, 0.45);
}

.pl-related-card__image-link {
    display: block;
    margin: -28px -24px 20px;
}

.pl-related-card__image-wrap {
    height: 210px;
    overflow: hidden;
    background: var(--pl-dark);
}

.pl-related-card__image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}

.pl-related-card:hover .pl-related-card__image {
    transform: scale(1.03);
}

.pl-related-card__title {
    margin: 0 0 12px;
    font-family: var(--pl-font-display);
    font-size: 1.4rem;
    line-height: 1.15;
    color: var(--pl-text);
}

.pl-related-card__body {
    margin: 0 0 18px;
    font-size: 0.95rem;
    line-height: 1.75;
    color: var(--pl-text-muted);
}

.pl-related-card__link {
    color: var(--pl-accent);
    text-decoration: none;
    font-size: 0.86rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.pl-related-card__link:hover {
    color: var(--pl-accent-hover);
}

@media (max-width: 960px) {
    .pl-card-grid--problem,
    .pl-card-grid--ideas,
    .pl-related__grid,
    .pl-social-proof__grid {
        grid-template-columns: 1fr;
    }

    .pl-social-proof__grid {
        gap: 28px;
    }

    .pl-quote {
        padding: 28px 0 0;
        border-left: none;
        border-top: 1px solid rgba(203, 138, 46, 0.22);
    }
}

@media (max-width: 640px) {
    .pl-container {
        padding: 0 20px;
    }

    .pl-problem,
    .pl-ideas,
    .pl-social-proof,
    .pl-related,
    .pl-bottom-cta {
        padding: 72px 0;
    }

    .pl-hero__content {
        padding: 108px 20px 72px;
    }

    .pl-card {
        min-height: 0;
        padding: 24px 20px 20px;
    }

    .pl-card::before {
        left: 20px;
        top: 20px;
    }
}
