/* ============================================================
   REIMANN LABS — HOMEPAGE v3
   Warm editorial, pushed further: oversized serif display,
   italic accents, dark espresso bands, funnel-ordered sections.
   Loaded after style.css; scoped under body.home.
   ============================================================ */

body.home {
    --espresso: #241209;
    --espresso-soft: #331D10;
    --cream: #FDFAF6;
    --cream-dim: rgba(253, 250, 246, 0.62);
    --cream-faint: rgba(253, 250, 246, 0.14);
}

/* --- Shared section rhythm --- */
body.home section { position: relative; }

body.home .section-tag { margin-bottom: 16px; }

body.home h2 {
    font-size: clamp(2rem, 4.4vw, 3.1rem);
    line-height: 1.12;
    letter-spacing: -0.01em;
}

body.home h2 em {
    font-style: italic;
    font-weight: 400;
    color: var(--orange);
}

/* --- Reveal engine --- */
body.home [data-reveal] {
    opacity: 0;
    transform: translateY(26px);
    transition: opacity 0.85s var(--ease-out), transform 0.85s var(--ease-out);
}

body.home [data-reveal].visible {
    opacity: 1;
    transform: none;
}

/* ============================================================
   HERO
   ============================================================ */
.home-hero {
    position: relative;
    min-height: 100svh;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: var(--espresso);
}

.home-hero-media {
    position: absolute;
    inset: 0;
    z-index: 0;
    overflow: hidden;
}

.home-hero-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform-origin: 60% 40%;
    animation: heroKenBurns 18s var(--ease-out) forwards;
}

@keyframes heroKenBurns {
    from { transform: scale(1.1); }
    to { transform: scale(1); }
}

.home-hero-scrim {
    position: absolute;
    inset: 0;
    z-index: 1;
    background:
        linear-gradient(to top, rgba(20, 10, 4, 0.55) 0%, rgba(20, 10, 4, 0) 30%),
        linear-gradient(100deg, rgba(20, 10, 4, 0.88) 0%, rgba(20, 10, 4, 0.72) 32%, rgba(20, 10, 4, 0.28) 62%, rgba(20, 10, 4, 0.08) 100%);
}

.home-hero-inner {
    position: relative;
    z-index: 2;
    width: 100%;
    padding-top: 120px;
    padding-bottom: 140px;
}

.home-hero-kicker {
    font-size: 0.74rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--orange-soft);
    margin-bottom: 26px;
}

.home-hero-headline {
    font-size: clamp(2.6rem, 6.4vw, 4.9rem);
    color: var(--text-white);
    line-height: 1.08;
    letter-spacing: -0.015em;
    margin-bottom: 28px;
    max-width: 14ch;
}

.home-hero-headline span { display: block; }

.home-hero-headline em {
    font-style: italic;
    font-weight: 400;
    color: var(--orange-soft);
}

.home-hero-sub {
    color: rgba(255, 255, 255, 0.88);
    font-size: clamp(1rem, 1.4vw, 1.15rem);
    line-height: 1.7;
    max-width: 520px;
    margin-bottom: 36px;
}

.home-hero-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 16px;
    /* Headroom so hover lift + shadows never clip against the
       composited layer created by the entrance animation */
    padding: 10px;
    margin: -10px -10px 12px;
}

.home-btn-primary {
    padding: 16px 32px;
    font-size: 0.95rem;
    border-radius: 8px;
}

.home-btn-ghost {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 28px;
    border: 1.5px solid rgba(255, 255, 255, 0.45);
    color: var(--text-white);
    font-weight: 500;
    font-size: 0.95rem;
    border-radius: 8px;
    transition: all 0.3s var(--ease);
    backdrop-filter: blur(4px);
}

.home-btn-ghost:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.7);
    transform: translateY(-2px);
}

.home-hero-note {
    font-size: 0.8rem;
    letter-spacing: 0.04em;
    color: rgba(255, 255, 255, 0.6);
}

.home-hero-woosh {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 28px;
    z-index: 2;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    gap: 12px;
    width: fit-content;
    margin-inline: auto;
    padding: 10px 14px;
}

.home-hero-woosh span {
    position: relative;
    display: block;
    width: 2px;
    border-radius: 2px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.16);
}

.home-hero-woosh span:nth-child(1) { height: 16px; }
.home-hero-woosh span:nth-child(2) { height: 26px; }
.home-hero-woosh span:nth-child(3) { height: 36px; }
.home-hero-woosh span:nth-child(4) { height: 26px; }
.home-hero-woosh span:nth-child(5) { height: 16px; }

.home-hero-woosh span::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom,
        transparent 0%,
        var(--orange-soft) 40%,
        #FFFFFF 50%,
        var(--orange-soft) 60%,
        transparent 100%);
    transform: translateY(-100%);
    animation: wooshDown 2s cubic-bezier(0.55, 0, 0.3, 1) infinite;
    animation-delay: calc(var(--w) * 100ms);
}

@keyframes wooshDown {
    0% { transform: translateY(-100%); }
    55%, 100% { transform: translateY(100%); }
}

/* Hero entrance choreography */
.hero-line {
    opacity: 0;
    transform: translateY(30px);
    animation: heroRise 0.9s var(--ease-out) forwards;
    animation-delay: calc(var(--line) * 130ms + 150ms);
}

@keyframes heroRise {
    to {
        opacity: 1;
        transform: none;
    }
}

/* ============================================================
   STAT BAND
   ============================================================ */
.stat-band {
    background: var(--espresso);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding: clamp(36px, 5vw, 56px) 0;
}

.stat-band-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.stat-cell {
    text-align: center;
    position: relative;
}

.stat-cell:not(:first-child)::before {
    content: '';
    position: absolute;
    left: -12px;
    top: 50%;
    transform: translateY(-50%);
    width: 1px;
    height: 44px;
    background: rgba(255, 255, 255, 0.12);
}

.stat-cell-num {
    display: block;
    font-family: var(--font-display);
    font-weight: 900;
    font-size: clamp(1.7rem, 3vw, 2.4rem);
    color: var(--cream);
    line-height: 1.1;
    margin-bottom: 6px;
}

.stat-cell-num small {
    font-size: 0.55em;
    font-weight: 700;
    color: var(--orange-soft);
}

.stat-cell-label {
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--cream-dim);
}

/* ============================================================
   SERVICES
   ============================================================ */
.svc {
    padding: var(--section-pad) 0;
    background: var(--bg);
}

.svc-head {
    max-width: 640px;
    margin-bottom: clamp(44px, 6vw, 72px);
}

.svc-head h2 { margin-bottom: 18px; }

.svc-head-desc {
    color: var(--text-muted);
    font-size: 1.02rem;
    line-height: 1.75;
}

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

.svc-card {
    position: relative;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-panel);
    padding: clamp(28px, 3.4vw, 42px);
    overflow: hidden;
    transition: transform 0.45s var(--ease), box-shadow 0.45s var(--ease), border-color 0.45s var(--ease);
}

.svc-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: var(--orange-soft);
}

.svc-card-num {
    position: absolute;
    top: 18px;
    right: 24px;
    font-family: var(--font-display);
    font-style: italic;
    font-weight: 400;
    font-size: 2.4rem;
    color: var(--bg-warm);
    line-height: 1;
    transition: color 0.45s var(--ease);
}

.svc-card:hover .svc-card-num { color: var(--orange-soft); }

.svc-card-icon {
    width: 54px;
    height: 54px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--orange-bg);
    border-radius: 10px;
    color: var(--orange);
    margin-bottom: 22px;
}

.svc-card h3 {
    font-size: 1.3rem;
    margin-bottom: 12px;
}

.svc-card p {
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.7;
    margin-bottom: 22px;
}

.svc-card-features {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.svc-card-features li {
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--text-body);
    background: var(--bg-alt);
    border: 1px solid var(--border-light);
    padding: 6px 12px;
    border-radius: 100px;
}

/* ============================================================
   PROCESS
   ============================================================ */
.process {
    padding: var(--section-pad) 0;
    background: var(--bg-alt);
}

.process-head {
    max-width: 640px;
    margin-bottom: clamp(44px, 6vw, 72px);
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: clamp(28px, 4vw, 48px);
    position: relative;
}

.process-step {
    position: relative;
    padding-top: 18px;
}

.process-step::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: var(--border);
}

.process-step::after {
    content: '';
    position: absolute;
    top: -3.5px;
    left: 0;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--orange);
}

.process-step-num {
    display: block;
    font-family: var(--font-display);
    font-style: italic;
    font-weight: 400;
    font-size: clamp(2.6rem, 4vw, 3.6rem);
    color: var(--orange);
    line-height: 1;
    margin: 18px 0 14px;
}

.process-step h3 {
    font-size: 1.25rem;
    margin-bottom: 12px;
}

.process-step p {
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.7;
    margin-bottom: 16px;
}

.process-step-meta {
    display: inline-block;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--orange);
}

.process-cta {
    margin-top: clamp(44px, 5vw, 64px);
    text-align: center;
}

/* ============================================================
   WORK / CASE ROWS
   ============================================================ */
.work-cases {
    padding: var(--section-pad) 0;
    background: var(--bg);
}

.work-cases-head {
    max-width: 640px;
    margin-bottom: clamp(48px, 6vw, 80px);
}

.work-cases-head h2 { margin-bottom: 18px; }

.case-list {
    display: flex;
    flex-direction: column;
    gap: clamp(56px, 8vw, 104px);
}

.case-row {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: clamp(32px, 5vw, 72px);
    align-items: center;
}

.case-row:nth-child(even) .case-media { order: 2; }
.case-row:nth-child(even) .case-body { order: 1; }

.case-media {
    display: block;
    border-radius: var(--radius-panel);
    overflow: hidden;
    border: 1px solid var(--border);
    box-shadow: var(--shadow-md);
    background: var(--bg-warm);
    transition: box-shadow 0.5s var(--ease), transform 0.5s var(--ease);
}

.case-media img {
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 10;
    object-fit: cover;
    object-position: top center;
    transition: transform 0.8s var(--ease-out);
}

.case-row:hover .case-media {
    box-shadow: var(--shadow-xl);
    transform: translateY(-4px);
}

.case-row:hover .case-media img { transform: scale(1.035); }

.case-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 16px;
}

.case-tag {
    font-size: 0.68rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--orange);
    background: var(--orange-bg);
    padding: 5px 12px;
    border-radius: 100px;
}

.case-tag--venture {
    color: var(--text-white);
    background: var(--espresso);
}

.case-body h3 {
    font-size: clamp(1.5rem, 2.4vw, 2rem);
    margin-bottom: 14px;
}

.case-body p {
    font-size: 0.98rem;
    color: var(--text-muted);
    line-height: 1.75;
    margin-bottom: 22px;
    max-width: 44ch;
}

.case-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    font-size: 0.88rem;
    color: var(--text-dark);
    border-bottom: 2px solid var(--orange);
    padding-bottom: 4px;
    transition: color 0.3s var(--ease), gap 0.3s var(--ease);
}

.case-link:hover {
    color: var(--orange);
    gap: 12px;
}

/* ============================================================
   PRICING / PLANS
   ============================================================ */
.plans {
    padding: var(--section-pad) 0;
    background: var(--espresso);
}

.plans-head {
    max-width: 620px;
    margin-bottom: clamp(44px, 6vw, 72px);
}

.plans .section-tag { color: var(--orange-soft); }

.plans-head h2 { color: var(--cream); }

.plans-head-desc {
    color: var(--cream-dim);
    font-size: 1.02rem;
    line-height: 1.75;
}

.plans-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 28px;
    align-items: stretch;
    max-width: 880px;
    margin: 0 auto;
}

.plan-card {
    position: relative;
    display: flex;
    flex-direction: column;
    background: var(--cream);
    border-radius: var(--radius-panel);
    padding: clamp(28px, 3.4vw, 40px);
    border: 1px solid transparent;
}

.plan-card--featured {
    border-color: var(--orange);
    box-shadow: 0 0 0 1px var(--orange), 0 24px 60px rgba(0, 0, 0, 0.35);
}

.plan-card-head h3 {
    font-size: 1.35rem;
    margin-bottom: 8px;
}

.plan-card-head p {
    font-size: 0.88rem;
    color: var(--text-muted);
    margin-bottom: 24px;
}

.plan-amount {
    display: flex;
    align-items: baseline;
    line-height: 1;
}

.plan-dollar {
    font-family: var(--font-display);
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--text-muted);
    margin-right: 4px;
}

.plan-number {
    font-family: var(--font-display);
    font-size: clamp(2.6rem, 4vw, 3.4rem);
    font-weight: 900;
    color: var(--text-dark);
    letter-spacing: -0.02em;
}

.plan-period {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-muted);
    margin-left: 4px;
}

.plan-note {
    display: block;
    font-size: 0.8rem;
    color: var(--orange-hover);
    font-weight: 600;
    margin: 10px 0 24px;
}

.plan-features {
    flex: 1;
    margin-bottom: 28px;
}

.plan-features li {
    position: relative;
    padding: 10px 0 10px 30px;
    font-size: 0.92rem;
    color: var(--text-body);
    border-bottom: 1px solid var(--border-light);
}

.plan-features li:last-child { border-bottom: none; }

.plan-features li::before {
    content: '';
    position: absolute;
    left: 2px;
    top: 14px;
    width: 14px;
    height: 8px;
    border-left: 2.5px solid var(--orange);
    border-bottom: 2.5px solid var(--orange);
    transform: rotate(-45deg);
}

.plan-cta {
    display: block;
    width: 100%;
    text-align: center;
    padding: 15px 24px;
    border-radius: 8px;
    border: none;
    font-weight: 600;
    font-size: 0.92rem;
    background: var(--espresso);
    color: var(--text-white);
    transition: all 0.3s var(--ease);
}

.plan-cta:hover {
    background: var(--text-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.plan-cta--featured {
    background: var(--orange);
    box-shadow: 0 4px 20px rgba(255, 140, 66, 0.35);
}

.plan-cta--featured:hover {
    background: var(--orange-hover);
    box-shadow: 0 8px 30px rgba(255, 140, 66, 0.45);
}

.plan-custom {
    margin: 28px auto 0;
    max-width: 880px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
    padding: clamp(24px, 3vw, 34px) clamp(28px, 3.4vw, 40px);
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: var(--radius-panel);
}

.plan-custom-copy h3 {
    color: var(--cream);
    font-size: 1.2rem;
    margin-bottom: 6px;
}

.plan-custom-copy p {
    color: var(--cream-dim);
    font-size: 0.9rem;
    line-height: 1.65;
    max-width: 52ch;
}

.plan-cta--ghost {
    flex-shrink: 0;
    width: auto;
    display: inline-block;
    background: transparent;
    border: 1.5px solid rgba(255, 255, 255, 0.4);
    color: var(--cream);
    white-space: nowrap;
}

.plan-cta--ghost:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--cream);
    box-shadow: none;
}

/* ============================================================
   ABOUT
   ============================================================ */
.about-home {
    padding: var(--section-pad) 0;
    background: var(--bg);
}

.about-home-layout {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: clamp(40px, 6vw, 88px);
    align-items: center;
}

.about-home-content h2 { margin-bottom: 22px; }

.about-home-lead {
    font-family: var(--font-display);
    font-size: clamp(1.1rem, 1.6vw, 1.3rem);
    font-weight: 400;
    font-style: italic;
    color: var(--text-dark);
    line-height: 1.6;
    margin-bottom: 18px;
}

.about-home-content > p:not(.about-home-lead) {
    font-size: 0.98rem;
    color: var(--text-muted);
    line-height: 1.75;
    margin-bottom: 16px;
}

.about-home-forgood {
    margin-top: 26px;
    padding: 18px 22px;
    background: var(--bg-alt);
    border-left: 3px solid var(--orange);
    border-radius: 0 var(--radius-panel) var(--radius-panel) 0;
}

.about-home-forgood p {
    font-size: 0.88rem;
    color: var(--text-body);
    line-height: 1.7;
}

.about-home-forgood a {
    color: var(--orange-hover);
    font-weight: 600;
    border-bottom: 1px solid currentColor;
}

.about-home-portrait { position: relative; }

.about-home-frame {
    position: relative;
    border-radius: var(--radius-panel);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.about-home-frame::after {
    content: '';
    position: absolute;
    inset: 0;
    border: 1px solid rgba(44, 24, 16, 0.08);
    border-radius: var(--radius-panel);
    pointer-events: none;
}

.about-home-frame img {
    width: 100%;
    aspect-ratio: 4 / 5;
    object-fit: cover;
}

.about-home-portrait::before {
    content: '';
    position: absolute;
    top: -16px;
    right: -16px;
    width: 45%;
    height: 45%;
    border: 2px solid var(--orange-soft);
    border-radius: var(--radius-panel);
    z-index: -1;
}

.about-home-caption {
    display: flex;
    flex-direction: column;
    gap: 2px;
    margin-top: 16px;
}

.about-home-caption strong {
    font-family: var(--font-display);
    font-size: 1rem;
    color: var(--text-dark);
}

.about-home-caption span {
    font-size: 0.78rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--text-muted);
}

/* ============================================================
   FAQ
   ============================================================ */
.faq-home {
    padding: var(--section-pad) 0;
    background: var(--bg-alt);
}

.faq-home-head {
    max-width: 640px;
    margin-bottom: clamp(36px, 5vw, 56px);
}

.faq-home .faq-list {
    max-width: 780px;
}

body.home .faq-item {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-panel);
    margin-bottom: 12px;
    transition: border-color 0.3s var(--ease);
}

body.home .faq-item:hover { border-color: var(--orange-soft); }

body.home .faq-item summary {
    padding: 20px 24px;
}

body.home .faq-item summary span {
    font-family: var(--font-display);
    font-size: 1.02rem;
    font-weight: 700;
}

body.home .faq-answer-inner { padding: 0 24px; }

body.home .faq-item[open] .faq-answer-inner { padding-bottom: 22px; }

/* Typewriter caret while FAQ titles type in */
body.home .faq-item summary span.typing::after {
    content: '';
    display: inline-block;
    width: 2px;
    height: 0.95em;
    background: var(--orange);
    margin-left: 3px;
    vertical-align: -0.12em;
    animation: caretBlink 0.7s steps(1) infinite;
}

@keyframes caretBlink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0; }
}

/* ============================================================
   SERVICE AREAS (dark closing block, part 1)
   ============================================================ */
.areas-home {
    padding: var(--section-pad) 0 clamp(48px, 6vw, 72px);
    background: var(--espresso);
}

.areas-home-head {
    max-width: 620px;
    margin-bottom: clamp(36px, 5vw, 52px);
}

.areas-home .section-tag { color: var(--orange-soft); }

.areas-home-head h2 { color: var(--cream); }

.areas-home-head p {
    color: var(--cream-dim);
    font-size: 1rem;
    line-height: 1.7;
}

.areas-home-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 14px;
}

.area-pill {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 16px 22px;
    border: 1px solid var(--cream-faint);
    border-radius: var(--radius-panel);
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1rem;
    color: var(--cream);
    transition: all 0.3s var(--ease);
}

.area-pill span {
    color: var(--orange-soft);
    transition: transform 0.3s var(--ease);
}

.area-pill:hover {
    background: rgba(255, 140, 66, 0.12);
    border-color: var(--orange);
}

.area-pill:hover span { transform: translateX(4px); }

.areas-home-more {
    margin-top: 22px;
    font-size: 0.82rem;
    letter-spacing: 0.03em;
    color: var(--cream-dim);
}

/* ============================================================
   CONTACT (dark closing block, part 2)
   ============================================================ */
.contact-home {
    padding: clamp(48px, 6vw, 72px) 0 var(--section-pad);
    background: var(--espresso);
}

.contact-home-inner {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: clamp(40px, 6vw, 80px);
    align-items: center;
    padding-top: clamp(48px, 6vw, 72px);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.contact-home .section-tag { color: var(--orange-soft); }

.contact-home-copy h2 {
    color: var(--cream);
    margin-bottom: 20px;
}

.contact-home-copy p {
    color: var(--cream-dim);
    font-size: 1rem;
    line-height: 1.75;
    margin-bottom: 32px;
    max-width: 50ch;
}

.contact-home-cards {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.contact-home-card {
    display: flex;
    align-items: center;
    gap: 18px;
    padding: 20px 24px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--cream-faint);
    border-radius: var(--radius-panel);
    transition: border-color 0.3s var(--ease), background 0.3s var(--ease);
}

.contact-home-card:hover {
    border-color: var(--orange);
    background: rgba(255, 140, 66, 0.08);
}

.contact-home-icon {
    flex-shrink: 0;
    width: 46px;
    height: 46px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    background: rgba(255, 140, 66, 0.14);
    color: var(--orange-soft);
}

.contact-home-card-body {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}

.contact-home-card-body span {
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--cream-dim);
}

.contact-home-card-body a {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1.02rem;
    color: var(--cream);
    transition: color 0.25s ease;
    overflow-wrap: anywhere;
}

.contact-home-card-body a:hover { color: var(--orange-soft); }

body.home .copy-contact-btn {
    flex-shrink: 0;
    padding: 8px 14px;
    font-family: var(--font-body);
    font-size: 0.74rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--cream-dim);
    background: transparent;
    border: 1px solid var(--cream-faint);
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.25s ease;
}

body.home .copy-contact-btn:hover {
    color: var(--cream);
    border-color: var(--orange);
}

body.home .copy-contact-btn.copied {
    color: var(--orange-soft);
    border-color: var(--orange);
}

/* ============================================================
   FOOTER — light variant for the homepage
   (two dark sections precede it, so the footer flips light)
   ============================================================ */
body.home footer {
    background: var(--bg);
    border-top: 1px solid var(--border);
    color: var(--text-muted);
}

body.home .footer-grid {
    border-bottom-color: var(--border);
}

body.home footer .logo-text { color: var(--text-dark); }

body.home .footer-brand p { color: var(--text-muted); }

body.home .footer-socials a {
    border-color: var(--border);
    color: var(--text-muted);
}

body.home .footer-socials a:hover {
    color: var(--orange);
    border-color: var(--orange);
}

body.home .footer-col h4 { color: var(--text-dark); }

body.home .footer-col ul li a { color: var(--text-muted); }

body.home .footer-col ul li a:hover { color: var(--orange); }

body.home .footer-bottom p { color: var(--text-light); }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
    .case-row {
        grid-template-columns: 1fr;
        gap: 26px;
    }

    .case-row:nth-child(even) .case-media { order: 0; }
    .case-row:nth-child(even) .case-body { order: 0; }

    .about-home-layout { grid-template-columns: 1fr; }

    .about-home-portrait { max-width: 420px; }

    .contact-home-inner { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
    .home-hero-inner {
        padding-top: 110px;
        padding-bottom: 110px;
    }

    /* Keep dark scrim under the full headline — "you do." sits far right on narrow screens */
    .home-hero-scrim {
        background:
            linear-gradient(to top, rgba(20, 10, 4, 0.58) 0%, rgba(20, 10, 4, 0) 32%),
            linear-gradient(100deg, rgba(20, 10, 4, 0.94) 0%, rgba(20, 10, 4, 0.88) 48%, rgba(20, 10, 4, 0.78) 72%, rgba(20, 10, 4, 0.62) 88%, rgba(20, 10, 4, 0.38) 100%);
    }

    .home-hero-media img {
        object-position: 58% 42%;
    }

    .home-hero-actions {
        flex-direction: column;
        align-items: flex-start;
    }

    .home-btn-primary,
    .home-btn-ghost {
        width: 100%;
        max-width: 300px;
        justify-content: center;
        text-align: center;
    }

    .home-hero-woosh { display: none; }

    .stat-band-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 28px 16px;
    }

    .stat-cell:nth-child(3)::before { display: none; }

    .svc-grid { grid-template-columns: 1fr; }

    .process-steps { grid-template-columns: 1fr; }

    .plans-grid { grid-template-columns: 1fr; }

    /* Featured plan first on mobile */
    .plan-card--featured { order: -1; }

    .plan-custom {
        flex-direction: column;
        align-items: flex-start;
    }

    .areas-home-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 480px) {
    .areas-home-grid { grid-template-columns: 1fr; }
}

/* ============================================================
   REDUCED MOTION
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
    .home-hero-media img { animation: none; }

    .hero-line {
        animation: none;
        opacity: 1;
        transform: none;
    }

    .home-hero-woosh span::after { animation: none; }

    body.home .faq-item summary span.typing::after { animation: none; }

    body.home [data-reveal] {
        opacity: 1;
        transform: none;
        transition: none;
    }

    .svc-card,
    .case-media,
    .case-media img,
    .plan-cta,
    .area-pill span {
        transition: none;
    }
}
