:root {
    /* Full brand palette (from brand-identity notes + contacts.css) — orange is primary */
    --bg: #1a1612;
    --surface: #242018;
    --brand-orange: #E85A1A;
    --brand-gold: #FFD166;
    --brand-blue: #1E5BAA;
    --text: #f4f1ec;
    --text-muted: #a8a39c;
    --border: rgba(255, 255, 255, 0.1);
}

html {
    background: #15110d;
}

body {
    /* border: 2px solid red; */
    margin: 0;
    background: var(--bg);
    color: var(--text);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

#pittstop-main {
    max-width: 1100px;
    margin: 0 auto;
    padding: 32px 24px 72px;
}

/* ---------- Hero ---------- */
.ps-hero {
    /* border: 2px solid red; */
    display: grid;
    /* photo column carries more weight than the copy */
    grid-template-columns: 1fr 1.3fr;
    gap: 40px;
    /* bottom-align so the photo sits lower and grounds the hero */
    align-items: end;
    padding: 48px 0 0;
}

.ps-hero-text {
    /* keep the copy optically centered while the photo drops to the baseline */
    align-self: center;
    padding-bottom: 56px;
}

.ps-eyebrow {
    text-transform: uppercase;
    letter-spacing: 0.14em;
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--brand-orange);
    margin: 0 0 14px;
}

.ps-hero-text h1 {
    font-size: 2.8rem;
    line-height: 1.1;
    margin: 0 0 18px;
    text-wrap: balance;
}

.ps-lead {
    font-size: 1.2rem;
    line-height: 1.6;
    color: var(--text-muted);
    max-width: 48ch;
    margin: 0 0 28px;
}

/* ---------- Buttons ---------- */
.ps-cta {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    /* span the full values grid and center the buttons beneath the cards */
    grid-column: 1 / -1;
    justify-content: center;
    margin-top: 16px;
}

.ps-btn {
    display: inline-block;
    padding: 12px 22px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 700;
    transition: transform 0.15s ease, background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.ps-btn-primary {
    background: var(--brand-orange);
    color: #fff;
}

.ps-btn-primary:hover {
    background: #ff6a26;
    transform: translateY(-2px);
}

.ps-btn-ghost {
    border: 1px solid var(--border);
    color: var(--text);
}

.ps-btn-ghost:hover {
    border-color: var(--brand-gold);
    color: var(--brand-gold);
}

/* ---------- Hero photo ---------- */
.ps-hero-photo {
    margin: 0;
    text-align: center;
}

.ps-hero-photo img {
    width: 100%;
    height: auto;
    display: block;
    /* photo's pure-black backdrop feathered so it melts into the canvas;
       solid kept wide (72%) so Pastor Q reads large and carries the weight */
    -webkit-mask-image: radial-gradient(ellipse 90% 88% at 50% 50%, #000 72%, transparent 100%);
    mask-image: radial-gradient(ellipse 90% 88% at 50% 50%, #000 72%, transparent 100%);
}

.ps-hero-photo figcaption {
    margin-top: 8px;
    color: var(--text-muted);
    font-size: 0.9rem;
    letter-spacing: 0.02em;
}

/* ---------- Story ---------- */
.ps-story {
    max-width: 760px;
    margin: 56px auto;
    text-align: left;
}

.ps-section-title {
    font-size: 1.8rem;
    margin: 0 0 20px;
}

.ps-story p {
    font-size: 1.1rem;
    line-height: 1.7;
    color: var(--text-muted);
    margin: 0 0 16px;
    /* avoid orphans / ragged lines so the copy doesn't read "bent" */
    text-wrap: pretty;
}

/* ---------- Values ---------- */
.ps-values {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 48px;
}

.ps-value {
    background: var(--surface);
    border: 1px solid var(--border);
    border-top: 3px solid var(--brand-orange);
    border-radius: 12px;
    padding: 24px;
}

.ps-value h3 {
    margin: 0 0 10px;
    font-size: 1.25rem;
    color: var(--brand-gold);
}

.ps-value p {
    margin: 0;
    color: var(--text-muted);
    line-height: 1.6;
}

@media (max-width: 768px) {
    .ps-hero {
        grid-template-columns: 1fr;
        gap: 16px;
        padding: 24px 0 0;
    }

    /* drop the desktop bottom-centering padding so the hero doesn't leave a dead band */
    .ps-hero-text {
        padding-bottom: 8px;
    }

    .ps-hero-photo {
        order: -1;
    }

    .ps-hero-text h1 {
        font-size: 2.1rem;
    }

    /* narrow screens: left-align + ease size so centered lines stop zig-zagging */
    .ps-story {
        margin: 48px auto;
        text-align: left;
    }

    .ps-section-title {
        font-size: 1.5rem;
        text-align: center;
    }

    .ps-story p {
        font-size: 1rem;
        line-height: 1.6;
    }

    .ps-values {
        grid-template-columns: 1fr;
    }
}
