/* ============================================================
   Buy & Builds — bb-styles.css
   Uses the approved visual-direction palette (deep green / cream /
   subtle gold). Mountain hero with deep-green overlay.
   Tokens (--green-deep, --gold, --vd-cream, ...) come from styles.css.
   ============================================================ */

/* ── Hero (mountains + deep-green overlay) ── */
.bb-hero {
    position: relative;
    padding: 9rem 0 4.5rem;
    color: var(--vd-cream, #F6F1E8);
    overflow: hidden;
    background-image:
        linear-gradient(95deg, rgba(6, 47, 35, 0.96) 0%, rgba(7, 61, 46, 0.87) 45%, rgba(7, 61, 46, 0.55) 100%),
        url('/assets/brand/hero-valley-parcels.jpg');
    background-size: cover;
    background-position: center 72%;
    background-repeat: no-repeat;
}

.bb-breadcrumb {
    font-family: var(--mono, monospace);
    font-size: 0.78rem;
    letter-spacing: 0.04em;
    color: rgba(246, 241, 232, 0.6);
    margin-bottom: 1.6rem;
}

.bb-breadcrumb a {
    color: rgba(246, 241, 232, 0.6);
    text-decoration: none;
    transition: color 0.2s;
}

.bb-breadcrumb a:hover {
    color: var(--vd-cream, #F6F1E8);
}

.bb-eyebrow {
    display: flex;
    align-items: center;
    gap: 16px;
    font-family: var(--mono, monospace);
    font-size: 0.72rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--gold, #C99B63);
    margin-bottom: 1.6rem;
}

.bb-eyebrow::before {
    content: '';
    width: 56px;
    height: 1px;
    background: var(--gold, #C99B63);
    flex-shrink: 0;
}

.bb-hero-title {
    font-family: var(--serif, Georgia, serif);
    font-weight: 300;
    font-size: clamp(2.6rem, 5.2vw, 4.2rem);
    line-height: 1.04;
    letter-spacing: -0.03em;
    color: var(--vd-cream, #F6F1E8);
    max-width: 820px;
    margin: 0 0 1.6rem;
}

.bb-hero-lead {
    font-size: 1.15rem;
    line-height: 1.7;
    font-weight: 300;
    color: rgba(246, 241, 232, 0.84);
    max-width: 640px;
    margin-bottom: 2.4rem;
}

/* ── Sections ── */
.bb-section {
    padding: 5rem 0;
    background: var(--vd-cream, #F6F1E8);
}

.bb-section-alt {
    background: var(--vd-paper, #F4F1EA);
}

.bb-section .section-tag,
.bb-section-alt .section-tag {
    display: inline-block;
    font-family: var(--mono, monospace);
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--gold, #C99B63);
    margin-bottom: 0.9rem;
}

.bb-section .section-title,
.bb-section-alt .section-title {
    font-family: var(--serif, Georgia, serif);
    font-weight: 300;
    font-size: clamp(1.9rem, 3.4vw, 2.7rem);
    line-height: 1.15;
    letter-spacing: -0.02em;
    color: var(--green-deep, #073D2E);
    margin: 0 0 1.4rem;
    max-width: 760px;
}

.bb-two-col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3.5rem;
    margin-top: 1.4rem;
    align-items: start;
}

@media (max-width: 768px) {
    .bb-two-col {
        grid-template-columns: 1fr;
        gap: 1.6rem;
    }
}

.bb-prose p {
    font-size: 1.02rem;
    line-height: 1.85;
    color: #33433D;
    margin-bottom: 1.1rem;
}

.bb-prose p:last-child {
    margin-bottom: 0;
}

.bb-lead-para {
    font-size: 1.12rem;
}

/* ── "What we look for" list ── */
.bb-list {
    list-style: none;
    margin: 1.6rem 0 0;
    padding: 0;
    display: grid;
    gap: 1rem;
    max-width: 820px;
}

.bb-list li {
    position: relative;
    padding-left: 2.1rem;
    font-size: 1.02rem;
    line-height: 1.6;
    color: #33433D;
}

.bb-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.5rem;
    width: 14px;
    height: 9px;
    border-left: 2px solid var(--gold, #C99B63);
    border-bottom: 2px solid var(--gold, #C99B63);
    transform: rotate(-45deg);
}

/* ── Why it fits (deep-green band) ── */
.bb-fit {
    padding: 5rem 0;
    background: var(--green-deep, #073D2E);
    color: var(--vd-cream, #F6F1E8);
}

.bb-fit .section-tag {
    display: inline-block;
    font-family: var(--mono, monospace);
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--gold, #C99B63);
    margin-bottom: 0.9rem;
}

.bb-fit .section-title {
    font-family: var(--serif, Georgia, serif);
    font-weight: 300;
    font-size: clamp(1.9rem, 3.4vw, 2.7rem);
    line-height: 1.15;
    letter-spacing: -0.02em;
    color: var(--vd-cream, #F6F1E8);
    margin: 0 0 1.4rem;
    max-width: 760px;
}

.bb-fit p {
    font-size: 1.08rem;
    line-height: 1.8;
    font-weight: 300;
    color: rgba(246, 241, 232, 0.82);
    max-width: 760px;
    margin: 0;
}

/* ── Final CTA band ── */
.bb-cta {
    padding: 5rem 0;
    background: var(--vd-paper, #F4F1EA);
    border-top: 1px solid rgba(7, 61, 46, 0.08);
}

.bb-cta-inner {
    max-width: 720px;
}

.bb-cta .section-tag {
    display: inline-block;
    font-family: var(--mono, monospace);
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--gold, #C99B63);
    margin-bottom: 0.9rem;
}

.bb-cta .section-title {
    font-family: var(--serif, Georgia, serif);
    font-weight: 300;
    font-size: clamp(1.9rem, 3.6vw, 2.8rem);
    line-height: 1.12;
    letter-spacing: -0.02em;
    color: var(--green-deep, #073D2E);
    margin: 0 0 1.2rem;
}

.bb-cta p {
    font-size: 1.05rem;
    line-height: 1.7;
    color: #33433D;
    margin-bottom: 2rem;
}

.bb-cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 15px 30px;
    background: var(--green-deep, #073D2E);
    color: var(--vd-cream, #F6F1E8);
    border: 1px solid var(--green-deep, #073D2E);
    text-transform: uppercase;
    letter-spacing: 0.16em;
    font-size: 0.78rem;
    font-weight: 500;
    text-decoration: none;
    transition: background 0.3s ease, color 0.3s ease;
}

.bb-cta-btn svg {
    width: 14px;
    height: 14px;
}

.bb-cta-btn:hover {
    background: var(--green-bright, #155E46);
}

/* ── Hero credibility line ── */
.bb-credline {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-family: var(--mono, sans-serif);
    font-size: 0.72rem;
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(246, 241, 232, 0.85);
    border: 1px solid rgba(201, 155, 99, 0.45);
    border-radius: 999px;
    padding: 8px 18px;
}

.bb-credline::before {
    content: '';
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--gold, #C99B63);
}

/* ── The model, diagrammed ── */
.bb-model {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 1.8rem;
    margin-top: 3rem;
    flex-wrap: wrap;
}

.bb-model-col {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.7rem;
}

.bb-model-box {
    border: 1px solid rgba(7, 61, 46, 0.4);
    color: var(--green-deep, #073D2E);
    font-family: var(--mono, sans-serif);
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    padding: 0.8rem 1.3rem;
    border-radius: 4px;
    background: #fff;
    text-align: center;
    white-space: nowrap;
}

.bb-model-platform {
    border-width: 2px;
    padding: 1.6rem 2.2rem;
}

.bb-model-addons {
    display: flex;
    gap: 0.6rem;
}

.bb-model-addons .bb-model-box {
    border-style: dashed;
    background: transparent;
}

.bb-model-result {
    background: var(--green-deep, #073D2E);
    color: var(--vd-cream, #F6F1E8);
    border-color: var(--green-deep, #073D2E);
    padding: 1.6rem 2.2rem;
}

.bb-model-plus,
.bb-model-arrow {
    font-family: var(--serif, Georgia, serif);
    font-weight: 300;
    font-size: 2rem;
    color: var(--gold, #C99B63);
    line-height: 1;
}

.bb-model-cap {
    font-size: 0.8rem;
    color: #6E7D74;
    text-align: center;
    max-width: 220px;
}

@media (max-width: 900px) {
    .bb-model {
        flex-direction: column;
        align-items: flex-start;
        gap: 1.2rem;
    }

    .bb-model-col {
        align-items: flex-start;
    }

    .bb-model-cap {
        text-align: left;
    }

    .bb-model-plus,
    .bb-model-arrow {
        transform: rotate(90deg);
        margin-left: 2rem;
    }
}

/* ── Value engines ── */
.bb-principles {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.4rem;
    margin-top: 2.2rem;
    max-width: 1000px;
}

.bb-principle {
    background: #fff;
    border: 1px solid rgba(7, 61, 46, 0.09);
    border-radius: 6px;
    padding: 1.9rem 1.8rem;
}

.bb-principle .num {
    font-family: var(--mono, sans-serif);
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--gold, #C99B63);
}

.bb-principle h3 {
    font-family: var(--serif, Georgia, serif);
    font-weight: 400;
    font-size: 1.24rem;
    color: var(--green-deep, #073D2E);
    margin: 0.55rem 0 0.6rem;
}

.bb-principle p {
    font-size: 0.98rem;
    line-height: 1.62;
    color: #33433D;
    margin: 0;
}

/* ── Failure modes ── */
.bb-failure {
    list-style: none;
    margin: 1.8rem 0 0;
    padding: 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.05rem 2.6rem;
    max-width: 1000px;
}

.bb-failure li {
    position: relative;
    padding-left: 1.9rem;
    font-size: 1rem;
    line-height: 1.55;
    color: #33433D;
}

.bb-failure li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.62rem;
    width: 13px;
    height: 2px;
    background: var(--gold, #C99B63);
}

.bb-failure li b {
    color: var(--green-deep, #073D2E);
    font-weight: 600;
}

/* ── Playbook ── */
.bb-playbook {
    list-style: none;
    counter-reset: step;
    margin: 2.2rem 0 0;
    padding: 0;
    display: grid;
    gap: 1.4rem;
    max-width: 900px;
}

.bb-playbook li {
    counter-increment: step;
    position: relative;
    padding-left: 3.8rem;
}

.bb-playbook li::before {
    content: counter(step, decimal-leading-zero);
    position: absolute;
    left: 0;
    top: -0.3rem;
    font-family: var(--serif, Georgia, serif);
    font-weight: 300;
    font-size: 1.7rem;
    color: var(--gold, #C99B63);
    line-height: 1;
}

.bb-playbook h3 {
    font-family: var(--sans);
    font-size: 1.02rem;
    font-weight: 600;
    letter-spacing: 0.01em;
    color: var(--green-deep, #073D2E);
    margin: 0 0 0.3rem;
}

.bb-playbook p {
    font-size: 0.98rem;
    line-height: 1.6;
    color: #33433D;
    margin: 0;
}

/* ── Credibility row (deep-green band) ── */
.bb-cred {
    display: flex;
    flex-wrap: wrap;
    gap: 2.8rem;
    margin-top: 2.4rem;
}

.bb-cred .k {
    font-family: var(--serif, Georgia, serif);
    font-weight: 300;
    font-size: 1.5rem;
    color: var(--vd-cream, #F6F1E8);
    line-height: 1.1;
}

.bb-cred .l {
    font-family: var(--mono, sans-serif);
    font-size: 0.68rem;
    font-weight: 500;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--gold, #C99B63);
    margin-top: 0.35rem;
}

.bb-fit .bb-prose p {
    color: rgba(246, 241, 232, 0.82);
}

.bb-fit .bb-prose p b {
    color: var(--vd-cream, #F6F1E8);
    font-weight: 600;
}

@media (max-width: 768px) {
    .bb-hero {
        padding: 7.5rem 0 3.5rem;
        background-position: center 75%;
    }

    .bb-principles {
        grid-template-columns: 1fr;
    }

    .bb-failure {
        grid-template-columns: 1fr;
    }
}
