:root {
    /* full brand palette — orange primary, gold secondary (see brand-identity notes) */
    --bg: #1a1612;
    --surface: #242018;
    --surface-hi: #2c2820;
    --brand-orange: #E85A1A;
    --brand-gold: #FFD166;
    --brand-blue: #1E5BAA;
    --text: #f4f1ec;
    --text-muted: #a8a39c;
    --border: rgba(255, 255, 255, 0.1);
    /* display serif for headings; body stays system sans */
    --font-display: "Playfair Display", Georgia, "Times New Roman", serif;
}

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;
}

/* headings carry the display serif for gravity/aura */
#home-main h2,
#home-main h3 {
    font-family: var(--font-display);
}

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

.center {
    text-align: center;
}

.btn {
    display: inline-block;
    padding: 13px 24px;
    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;
}

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

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

.btn-ghost {
    border: 1px solid rgba(255, 255, 255, 0.4);
    color: #fff;
}

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

/* ---------- Hero ---------- */
.home-hero {
    /* border: 2px solid red; */
    position: relative;
    text-align: center;
    padding: 28px 24px 8px;
    overflow: hidden;
}

/* divine gold aura radiating behind the lion */
.home-hero::before {
    content: "";
    position: absolute;
    top: -6%;
    left: 50%;
    width: 760px;
    height: 760px;
    max-width: 116%;
    transform: translateX(-50%);
    background: radial-gradient(circle, rgba(255, 209, 102, 0.18), transparent 60%);
    pointer-events: none;
    z-index: 0;
}

.home-hero-art {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 680px;
    height: auto;
    display: block;
    margin: 0 auto;
    border-radius: 16px;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.55);
    /* slow cinematic reveal — the lion emerges from the dark to build the aura */
    animation: heroReveal 1.7s ease-out both;
}

@keyframes heroReveal {
    from { opacity: 0; transform: scale(1.05); filter: brightness(0.5); }
    to   { opacity: 1; transform: scale(1);    filter: brightness(1); }
}

@media (prefers-reduced-motion: reduce) {
    .home-hero-art { animation: none; }
}

.home-hero-actions {
    position: relative;
    z-index: 1;
    margin-top: 28px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}

.home-kicker {
    text-transform: uppercase;
    letter-spacing: 0.2em;
    font-weight: 700;
    font-size: 0.9rem;
    color: var(--brand-gold);
    margin: 0;
}

.home-hero-cta {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    justify-content: center;
}

/* ---------- Section containers ---------- */
.home-intro,
.home-rhythms,
.home-paths {
    max-width: 1100px;
    margin: 0 auto;
    padding: 72px 24px;
}

/* ---------- Who is Pitt Stop ---------- */
.home-intro {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
}

.home-intro-photo {
    margin: 0;
}

.home-intro-photo img {
    width: 100%;
    max-height: 420px;
    object-fit: cover;
    border-radius: 16px;
    display: block;
}

.home-intro-text h2 {
    font-size: 2.1rem;
    line-height: 1.15;
    margin: 0 0 18px;
    text-wrap: balance;
}

.home-intro-text p {
    color: var(--text-muted);
    font-size: 1.1rem;
    line-height: 1.7;
    margin: 0 0 20px;
    text-wrap: pretty;
}

.link-arrow {
    color: var(--brand-gold);
    font-weight: 700;
    text-decoration: none;
}

.link-arrow:hover {
    text-decoration: underline;
    text-underline-offset: 3px;
}

/* ---------- Weekly rhythms (events) ---------- */
.home-rhythms h2 {
    font-size: 2rem;
    margin: 0 0 32px;
}

/* .rhythm-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
} */

.rhythm-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-left: 4px solid var(--brand-orange);
    border-radius: 12px;
    padding: 28px;
}

.rhythm-card h3 {
    margin: 0 0 6px;
    font-size: 1.4rem;
}

.rhythm-when {
    color: var(--brand-gold);
    font-weight: 700;
    margin: 0 0 12px;
}

.rhythm-desc {
    color: var(--text-muted);
    line-height: 1.6;
    margin: 0;
}

.rhythm-note {
    text-align: center;
    margin: 32px 0 0;
    color: var(--text-muted);
}

.rhythm-note a {
    color: var(--brand-gold);
    font-weight: 700;
    text-decoration: none;
}

.rhythm-note a:hover {
    text-decoration: underline;
}

/* ---------- Paths / CTA cards ---------- */
.paths-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-top: 24px;
}

.path-card {
    display: flex;
    flex-direction: column;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 24px;
    text-decoration: none;
    color: var(--text);
    transition: transform 0.16s ease, border-color 0.16s ease, background 0.16s ease;
}

.path-card:hover {
    transform: translateY(-4px);
    border-color: var(--brand-gold);
    background: var(--surface-hi);
}

.path-card h3 {
    margin: 0 0 10px;
    font-size: 1.25rem;
}

.path-card p {
    margin: 0 0 16px;
    color: var(--text-muted);
    line-height: 1.55;
    flex: 1;
}

.path-go {
    color: var(--brand-orange);
    font-weight: 700;
}

@media (max-width: 900px) {
    .paths-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    /* tighter, even spacing so the page glides on phones */
    .home-hero {
        padding: 16px 16px 4px;
    }

    .home-intro,
    .home-rhythms,
    .home-paths {
        padding: 44px 18px;
    }

    .home-intro {
        grid-template-columns: 1fr;
        gap: 22px;
    }

    .home-intro-photo {
        order: -1;
    }

    .home-intro-text h2,
    .home-rhythms h2 {
        font-size: 1.6rem;
    }

    .rhythm-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .paths-grid {
        gap: 14px;
    }
}
