/* =============================================================================
   Salient Container Neutralizer
   Add to: HHRespChild/style.css (append to the bottom)

   Strips Salient/WPBakery padding and overflow constraints on pages
   using HH custom page templates so full-bleed sections work correctly.

   Scoped to .page-template-page-hh-homepage (WordPress automatically adds
   a body class matching the template filename — page-hh-homepage.php becomes
   .page-template-page-hh-homepage). Add additional template body classes
   as you build more custom templates.
   ============================================================================= */

:root {
    --scroll-bar-w: 0px !important;
}

body.page-template-page-hh-homepage {
    --scroll-bar-w: 0px !important;
}
 

.page-template-page-hh-homepage #ajax-content-wrap,
.page-template-page-hh-homepage #page-content-wrap,
.page-template-page-hh-homepage #main-content,
.page-template-page-hh-homepage .container-wrap,
.page-template-page-hh-homepage .container-wrap.no-sidebar {
    padding: 0;
    margin: 0 !important;
    max-width: 100% !important;
    width: 100% !important;
    overflow: visible !important;
    box-sizing: border-box !important;
}

/* WPBakery injects .vc_row wrappers even on custom templates if the page
   was ever touched by the page builder — nuke any leftover row padding */
.page-template-page-hh-homepage .vc_row,
.page-template-page-hh-homepage .vc_row-fluid,
.page-template-page-hh-homepage .wpb_wrapper {
    padding: 0;
    margin: 0 !important;
    width: 100% !important;
}

/* Salient sometimes adds padding-top to #main-content to clear the
   sticky header — preserve that so content doesn't hide under the nav */
.page-template-page-hh-homepage #main-content {
    padding-top: var(--hh-hp-header-offset, 0px) !important;
}


/* =============================================================================
   Hughston Homes — Homepage CSS
   File: HHRespChild/css/hh-homepage.css
   Architecture: Mobile-first. Base styles = mobile (0–1024px).
   Desktop overrides: @media (min-width: 1025px)
   Large screen: @media (min-width: 1400px)
   Prefix: hh-hp- (scoped to avoid Salient / WPBakery collisions)
   ============================================================================= */

/* ── CSS Variables ───────────────────────────────────────────────────────── */
:root {
    --hh-hp-green:       #277253;
    --hh-hp-green-deep:  #1e5c41;
    --hh-hp-green-light: #3a8a68;
    --hh-hp-gold:        #c98a3a;
    --hh-hp-mauve:       #8c6f78;
    --hh-hp-ink:         #1a1a1a;
    --hh-hp-ink-soft:    #444444;
    --hh-hp-muted:       #6b6b6b;
    --hh-hp-cream:       #f4f4f0;
    --hh-hp-white:       #ffffff;
    --hh-hp-border:      #e3e3e3;
    --hh-hp-shadow-sm:   0 2px 8px rgba(20,30,25,.06), 0 4px 16px rgba(20,30,25,.06);
    --hh-hp-shadow-md:   0 6px 20px rgba(20,30,25,.08), 0 16px 40px rgba(20,30,25,.10);
    --hh-hp-radius:      12px;
    --hh-hp-radius-pill: 999px;
    --hh-hp-ease:        cubic-bezier(0.22, 1, 0.36, 1);
    --hh-hp-spring:      cubic-bezier(0.34, 1.56, 0.64, 1);
    --hh-hp-ease-in-out: cubic-bezier(0.4, 0, 0.2, 1);

    /* Spacing — mobile base */
    --hh-hp-gutter:  20px;
    --hh-hp-section: 56px;
    --hh-hp-max:     1240px;
}

@media (min-width: 1025px) {
    :root {
        --hh-hp-gutter:  48px;
        --hh-hp-section: 100px;
        --hh-hp-max:     1480px;
    }
}

/* ── Container ───────────────────────────────────────────────────────────── */
.hh-hp-container {
    width: 100%;
    max-width: var(--hh-hp-max);
    margin-left: auto;
    margin-right: auto;
    padding-left: var(--hh-hp-gutter);
    padding-right: var(--hh-hp-gutter);
    box-sizing: border-box;
}

/* ── Shared section padding ──────────────────────────────────────────────── */
.hh-hp-section,
.hh-hp-locations,
.hh-hp-haus,
.hh-hp-story,
.hh-hp-ask {
    padding-top: var(--hh-hp-section);
    padding-bottom: var(--hh-hp-section);
    position: relative;
}

/* ── Section head ────────────────────────────────────────────────────────── */
.hh-hp-section__head {
    text-align: center;
    margin-bottom: 32px;
}

@media (min-width: 1025px) {
    .hh-hp-section__head { margin-bottom: 48px; }
}

.hh-hp-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 11px;
    letter-spacing: 0.28em;
    text-transform: uppercase;
    font-weight: 700;
    color: var(--hh-hp-green);
    margin-bottom: 10px;
}
.hh-hp-eyebrow::before,
.hh-hp-eyebrow::after {
    content: '';
    display: block;
    width: 18px;
    height: 1px;
    background: var(--hh-hp-green);
    opacity: 0.45;
}

.hh-hp-section__title {
    font-size: 28px;
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.1;
    color: var(--hh-hp-ink);
    margin: 0 0 12px;
}

@media (min-width: 1025px) {
    .hh-hp-section__title { font-size: 48px; }
}

.hh-hp-section__sub {
    font-size: 15px;
    color: var(--hh-hp-muted);
    max-width: 54ch;
    margin: 0 auto;
    line-height: 1.6;
}

/* ── Buttons ─────────────────────────────────────────────────────────────── */
.hh-hp-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 22px;
    border-radius: var(--hh-hp-radius-pill);
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.02em;
    text-decoration: none !important;
    transition: all 0.3s var(--hh-hp-ease-in-out);
    cursor: pointer;
    border: none;
    line-height: 1;
    /* Full width on mobile by default for CTA groups */
    width: 100%;
    box-sizing: border-box;
}

.hh-hp-hero__ctas .hh-hp-btn {
    width: auto;
}

/* On desktop buttons go back to auto width */
@media (min-width: 1025px) {
    .hh-hp-btn {
        width: auto;
    }
}

.hh-hp-btn--primary {
    background: var(--hh-hp-green);
    color: #fff !important;
}
.hh-hp-btn--primary:hover {
    background: var(--hh-hp-green-deep);
    box-shadow: 0 6px 20px rgba(31,81,50,.28);
}

.hh-hp-btn--light {
    background: rgba(255,255,255,.96);
    color: var(--hh-hp-ink) !important;
}
.hh-hp-btn--light:hover {
    background: #fff;
    box-shadow: 0 6px 20px rgba(0,0,0,.15);
}

.hh-hp-btn--ghost {
    background: transparent;
    border: 1.5px solid var(--hh-hp-border);
    color: var(--hh-hp-ink) !important;
}
.hh-hp-btn--ghost:hover {
    background: var(--hh-hp-cream);
    border-color: var(--hh-hp-ink);
}

.hh-hp-btn--outline {
    background: transparent;
    border: 1.5px solid rgba(255,255,255,.55);
    color: #fff !important;
}
.hh-hp-btn--outline:hover {
    background: rgba(255,255,255,.12);
    border-color: #fff;
}

.hh-hp-btn__arrow {
    translate: 0px -2px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    font-weight: 400;
    flex-shrink: 0;
    line-height: 1;
    transition: transform 0.3s var(--hh-hp-ease-in-out),
                font-size 0.3s var(--hh-hp-ease-in-out);
}
.hh-hp-btn:hover .hh-hp-btn__arrow {
    transform: translateX(4px) scale(1.25);
    font-size: 22px;
    font-weight: 700;
}

/* ── Scroll reveal ───────────────────────────────────────────────────────── */
.hh-hp-reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.75s var(--hh-hp-ease), transform 0.75s var(--hh-hp-ease);
}
.hh-hp-reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* =============================================================================
   1. HERO
   ============================================================================= */
.hh-hp-hero {
    position: relative;
    /* Mobile: tall enough for content + video feel */
    height: 88vh;
    min-height: 520px;
    overflow: hidden;
    background: #111;
}

@media (min-width: 1025px) {
    .hh-hp-hero {
        height: 86vh;
        min-height: 600px;
        max-height: 860px;
    }
}

.hh-hp-hero__media {
    position: absolute;
    inset: 0;
    overflow: hidden;
}

.hh-hp-hero__bg {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.hh-hp-hero__overlay {
    position: absolute;
    inset: 0;
    /* Heavier overlay on mobile for text legibility on small screens */
    background: linear-gradient(
        180deg,
        rgba(0,0,0,.40)  0%,
        rgba(0,0,0,.20) 35%,
        rgba(0,0,0,.58) 72%,
        rgba(0,0,0,.80) 100%
    );
    z-index: 1;
}

.hh-hp-hero__content {
    position: relative;
    z-index: 2;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: #fff;
    /* Bottom padding makes room for the stats bar on desktop */
    padding: 60px var(--hh-hp-gutter) 60px;
    box-sizing: border-box;
}

@media (min-width: 1025px) {
    .hh-hp-hero__content {
        padding-bottom: 110px;
    }
}

.hh-hp-hero__eyebrow {
    font-size: 10px;
    letter-spacing: 0.32em;
    text-transform: uppercase;
    font-weight: 600;
    opacity: .82;
    margin: 0 0 16px;
    display: flex;
    align-items: center;
    gap: 12px;
    animation: hh-hp-fadeup 0.9s 0.1s both;
}
.hh-hp-hero__eyebrow::before,
.hh-hp-hero__eyebrow::after {
    content: '';
    display: block;
    width: 24px;
    height: 1px;
    background: rgba(255,255,255,.5);
}

.hh-hp-hero__headline {
    /* Mobile: large but not overwhelming */
    font-size: 38px;
    font-weight: 700;
    letter-spacing: -0.03em;
    line-height: 1.06;
    margin: 0 0 14px;
    animation: hh-hp-fadeup 0.9s 0.22s both;
    color: inherit !important;
}

@media (min-width: 1025px) {
    .hh-hp-hero__headline { font-size: 78px; }
}

.hh-hp-hero__subheadline{
    font-size: 20px;
    font-weight: 500;
    letter-spacing: 0rem;
    line-height: 1;
    margin: 0 0 5px;
    animation: hh-hp-fadeup 0.9s 0.22s both;
    color: inherit !important;
}
@media (min-width: 1025px) {
    .hh-hp-hero__subheadline { font-size: 32px; margin: 0 0 8px;}
}


.hh-hp-hero__tagline {
    font-size: 16px;
    font-weight: 400;
    opacity: .9;
    animation: hh-hp-fadeup 0.9s 0.38s both;
}

@media (min-width: 1025px) {
    .hh-hp-hero__tagline { font-size: 20px; }
}

/* CTA group — stacked on mobile, side by side on desktop */
.hh-hp-hero__ctas {
    display: flex;
    flex-direction: column;
    gap: 12px;
    width: 100%;
    max-width: 320px;
    animation: hh-hp-fadeup 0.9s 0.52s both;
}

@media (min-width: 1025px) {
    .hh-hp-hero__ctas {
        flex-direction: row;
        max-width: none;
        width: auto;
    }
}

/* Stats bar — hidden on mobile, shown on desktop */
.hh-hp-hero__stats {
    display: none;
}

@media (min-width: 1025px) {
    .hh-hp-hero__stats {
        display: flex;
        position: absolute;
        bottom: 32px;
        left: var(--hh-hp-gutter);
        right: var(--hh-hp-gutter);
        z-index: 3;
        justify-content: space-between;
        gap: 24px;
        color: #fff;
        animation: hh-hp-fadeup 0.9s 0.72s both;
    }
}

.hh-hp-hero__stat-value {
    display: block;
    font-size: 26px;
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1;
    margin-bottom: 4px;
}

@media (min-width: 1400px) {
    .hh-hp-hero__stat-value { font-size: 30px; }
}

.hh-hp-hero__stat-label {
    display: block;
    font-size: 10px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    opacity: .7;
    font-weight: 600;
}

@keyframes hh-hp-fadeup {
    from { opacity: 0; transform: translateY(20px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* =============================================================================
   2. HOT HOMES
   ============================================================================= */
.hh-hp-homes {
    background: var(--hh-hp-white);
}

.hh-hp-homes__grid {
    width: 100%;
}

/* The shortcode outputs .hh-cards-grid — ensure it fills the space */
.hh-hp-homes__grid .hh-cards-grid {
    width: 100%;
}

.hh-hp-homes__cta {
    display: flex;
    justify-content: center;
    margin-top: 32px;
}

/* Override btn full-width only for the browse button */
.hh-hp-homes__cta .hh-hp-btn {
    width: auto;
}

/* =============================================================================
   3. LOCATIONS
   ============================================================================= */
.hh-hp-locations {
    background: var(--hh-hp-cream);
    padding-top: var(--hh-hp-section);
    padding-bottom: var(--hh-hp-section);
}

/* Single column on mobile */
.hh-hp-locations__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

@media (min-width: 1025px) {
    .hh-hp-locations__grid {
        grid-template-columns: 1fr 1fr;
        gap: 32px;
    }
}

.hh-hp-locations__col {
    background: var(--hh-hp-white);
    padding: 28px 24px;
    border-radius: var(--hh-hp-radius);
    border: 1px solid var(--hh-hp-border);
    box-shadow: var(--hh-hp-shadow-sm);
}

@media (min-width: 1025px) {
    .hh-hp-locations__col {
        padding: 36px 32px;
        transition: transform 0.3s var(--hh-hp-ease-in-out), box-shadow 0.3s var(--hh-hp-ease-in-out);
    }
    .hh-hp-locations__col:hover {
        transform: translateY(-4px);
        box-shadow: var(--hh-hp-shadow-md);
    }
}

.hh-hp-locations__state-head {
    display: flex;
    align-items: baseline;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 10px;
}
.hh-hp-locations__state-head h3 {
    font-size: 24px;
    font-weight: 700;
    letter-spacing: -0.02em;
    margin: 0;
    color: var(--hh-hp-ink);
}

@media (min-width: 1025px) {
    .hh-hp-locations__state-head h3 { font-size: 28px; }
}

.hh-hp-locations__tag {
    font-size: 10px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    font-weight: 700;
    color: var(--hh-hp-green);
}

.hh-hp-locations__desc {
    font-size: 14px;
    color: var(--hh-hp-muted);
    line-height: 1.65;
    margin: 0 0 20px;
}

.hh-hp-locations__chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

/* Chips — auto width, not full width */
.hh-hp-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--hh-hp-green-deep);
    color: #fff;
    padding: 8px 14px;
    border-radius: var(--hh-hp-radius-pill);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.04em;
    border: 1.5px solid transparent;
    text-decoration: none !important;
    /* chips never go full width */
    width: auto;
}
.hh-hp-chip::before {
    content: '';
    display: block;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: rgba(255,255,255,.6);
    flex-shrink: 0;
}

@media (min-width: 1025px) {
    .hh-hp-chip {
        transition: all 0.3s var(--hh-hp-ease-in-out);
    }
    .hh-hp-chip:hover {
        background: var(--hh-hp-green-light);
        transform: translateY(-2px);
        box-shadow: 0 4px 12px rgba(31,81,50,.22);
        color: #fff;
    }
}

.hh-hp-chip--outline {
    background: transparent;
    color: var(--hh-hp-green) !important;
    border-color: var(--hh-hp-green);
}
.hh-hp-chip--outline::before {
    background: var(--hh-hp-green);
    opacity: .6;
}

@media (min-width: 1025px) {
    .hh-hp-chip--outline:hover {
        background: var(--hh-hp-green);
        color: #fff !important;
    }
}

/* =============================================================================
   4. HAUS
   ============================================================================= */
.hh-hp-haus {
    background: var(--hh-hp-white);
    overflow: hidden;
}

/* Mobile: images stacked above, text below */
.hh-hp-haus__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
}

@media (min-width: 1025px) {
    .hh-hp-haus__grid {
        grid-template-columns: 1.35fr 1fr;
        gap: 56px;
        align-items: center;
    }
}

/* Images — vertical stack of squares on mobile, staggered columns on desktop */
.hh-hp-haus__images {
    display: flex;
    flex-direction: column;
    gap: 12px;
    order: -1; /* images above text on mobile */
}

@media (min-width: 1025px) {
    .hh-hp-haus__images {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 14px;
        height: 520px;
        order: -1; /* images left on desktop */
    }
}

.hh-hp-haus__img {
    background: var(--hh-hp-cream);
    border-radius: 10px;
    border: 1px solid var(--hh-hp-border);
    position: relative;
    overflow: hidden;
    /* Mobile: square aspect ratio */
    aspect-ratio: 1 / 1;
    /* Link behaviour */
    display: block;
    cursor: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='72' height='72' viewBox='0 0 72 72'%3E%3Ccircle cx='36' cy='36' r='36' fill='rgba(0%2C0%2C0%2C0.75)'/%3E%3Ctext x='36' y='41' text-anchor='middle' font-family='system-ui%2Csans-serif' font-size='13' font-weight='600' letter-spacing='0.1em' fill='%23ffffff'%3EVIEW%3C%2Ftext%3E%3C%2Fsvg%3E") 36 36, pointer;
    text-decoration: none !important;
}

/* Hover overlay */
.hh-hp-haus__img::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0);
    transition: background 0.3s var(--hh-hp-ease-in-out);
    z-index: 1;
    pointer-events: none;
}
@media (min-width: 1025px) {
    .hh-hp-haus__img:hover::before { background: rgba(0,0,0,0.12); }
    .hh-hp-haus__img:hover .hh-hp-haus__img-tag {
        background: var(--hh-hp-green);
        color: #fff;
    }
}

@media (min-width: 1025px) {
    /* Desktop: aspect-ratio removed, height controlled by grid container */
    .hh-hp-haus__img {
        aspect-ratio: unset;
    }
}

.hh-hp-haus__img:not(:has(img))::after {
    content: '';
    position: absolute;
    inset: 0;
    background: repeating-linear-gradient(
        -45deg,
        transparent 0,
        transparent 12px,
        rgba(31,81,50,.04) 12px,
        rgba(31,81,50,.04) 13px
    );
}
.hh-hp-haus__img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Desktop only — stagger offsets */
.hh-hp-haus__img--1 { align-self: stretch; }
@media (min-width: 1025px) {
    .hh-hp-haus__img--2 { margin-top: 28px; }
    .hh-hp-haus__img--3 { margin-top: -28px; }
}

.hh-hp-haus__img-tag {
    position: absolute;
    top: 12px;
    right: 12px;
    z-index: 2;
    background: rgba(255,255,255,.95);
    padding: 4px 10px;
    border-radius: var(--hh-hp-radius-pill);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--hh-hp-ink);
}

.hh-hp-haus__text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.hh-hp-haus__eyebrow {
    font-size: 10px;
    letter-spacing: 0.34em;
    text-transform: uppercase;
    font-weight: 700;
    color: var(--hh-hp-gold);
    margin: 0 0 10px;
}

.hh-hp-haus__title {
    font-size: 64px;
    font-weight: 800;
    letter-spacing: -0.045em;
    line-height: 1;
    margin: 0 0 4px;
    color: var(--hh-hp-ink);
}

@media (min-width: 1025px) {
    .hh-hp-haus__title { font-size: 88px; }
}

.hh-hp-haus__subtitle {
    font-size: 18px;
    font-weight: 500;
    margin: 0 0 16px;
    color: var(--hh-hp-ink-soft);
}

.hh-hp-haus__desc {
    font-size: 15px;
    line-height: 1.65;
    color: var(--hh-hp-muted);
    margin: 0 0 20px;
}

.hh-hp-haus__features {
    list-style: none;
    padding: 0;
    margin: 0 0 24px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.hh-hp-haus__features li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    color: var(--hh-hp-ink);
}
.hh-hp-haus__check {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--hh-hp-green);
    color: #fff;
    font-size: 11px;
    flex-shrink: 0;
}

/* HAUS button — full width on mobile, auto on desktop */
.hh-hp-haus__text .hh-hp-btn {
    align-self: stretch;
}

@media (min-width: 1025px) {
    .hh-hp-haus__text .hh-hp-btn {
        align-self: flex-start;
    }
}

/* =============================================================================
   5. STORY / VIDEO
   ============================================================================= */
.hh-hp-story {
    background: var(--hh-hp-white);
}

/* Mobile: video on top, text below */
.hh-hp-story__card {
    display: grid;
    grid-template-columns: 1fr;
    border-radius: var(--hh-hp-radius);
    overflow: hidden;
    box-shadow: var(--hh-hp-shadow-md);
    border: 1px solid var(--hh-hp-border);
}

@media (min-width: 1025px) {
    .hh-hp-story__card {
        grid-template-columns: 1.2fr 1fr;
    }
}

.hh-hp-story__video-wrap {
    position: relative;
    background: #0a0a0a;
    /* Mobile: 16:9 aspect ratio for video */
    aspect-ratio: 16 / 9;
}

@media (min-width: 1025px) {
    .hh-hp-story__video-wrap {
        aspect-ratio: unset;
        min-height: 360px;
    }
}

.hh-hp-story__video-wrap iframe,
.hh-hp-story__video-wrap video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border: none;
}

/* Controls-enabled video — object-fit contain so controls aren't clipped */
.hh-hp-story__video {
    object-fit: contain;
    background: #000;
}

.hh-hp-story__text {
    background: var(--hh-hp-mauve);
    color: #fff5f0;
    padding: 32px 24px;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

@media (min-width: 1025px) {
    .hh-hp-story__text {
        padding: 48px 44px;
        justify-content: center;
    }
}

.hh-hp-story__eyebrow {
    font-size: 10px;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    font-weight: 700;
    opacity: .82;
    margin: 0;
}

.hh-hp-story__heading {
    font-size: 20px;
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.22;
    margin: 0;
}

@media (min-width: 1025px) {
    .hh-hp-story__heading { font-size: 24px; }
}

.hh-hp-story__body {
    font-size: 14px;
    line-height: 1.65;
    margin: 0;
    opacity: .96;
}

.hh-hp-story__text .hh-hp-btn--outline {
    align-self: stretch;
    margin-top: 4px;
    padding: 13px 20px;
    font-size: 13px;
}

@media (min-width: 1025px) {
    .hh-hp-story__text .hh-hp-btn--outline {
        align-self: flex-start;
    }
}

/* =============================================================================
   6. BUILDING MEMORIES
   ============================================================================= */
.hh-hp-bm {
    background: var(--hh-hp-white);
    padding-top: var(--hh-hp-section);
    padding-bottom: var(--hh-hp-section);
}
 
/* Staggered reveal — text first, image follows */
.hh-hp-bm__text.hh-hp-reveal {
    transition-delay: 0s;
    transform: translateY(40px);
    transition-property: opacity;
    transition-duration: 0.85s;
    transition-timing-function: var(--hh-hp-ease);
}
.hh-hp-bm__image.hh-hp-reveal {
    transition-delay: 0.18s;
    transform: translateY(40px);
    transition-property: opacity;
    transition-duration: 0.85s;
    transition-timing-function: var(--hh-hp-ease);
}
.hh-hp-bm__text.hh-hp-reveal.is-visible,
.hh-hp-bm__image.hh-hp-reveal.is-visible {
    transform: translateY(0);
}
 
/* Mobile: stacked, desktop: two cards side by side */
.hh-hp-bm__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    align-items: stretch;
    overflow: visible; /* allow parallax to move outside grid bounds */
}
 
@media (min-width: 1025px) {
    .hh-hp-bm__grid {
        grid-template-columns: 1fr 1fr;
        gap: 24px;
    }
}
 
/* Text card */
.hh-hp-bm__text {
    background: var(--hh-hp-cream);
    border: 1px solid var(--hh-hp-border);
    border-radius: var(--hh-hp-radius);
    box-shadow: var(--hh-hp-shadow-sm);
    padding: 40px 32px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 16px;
    box-sizing: border-box;
    order: 1;
    will-change: transform;
}
 
@media (min-width: 1025px) {
    .hh-hp-bm__text {
        padding: 62px 98px;
        gap: 20px;
        order: 0;
    }
}
 
/* Image card */
.hh-hp-bm__image {
    position: relative;
    overflow: hidden;
    background: var(--hh-hp-border);
    border-radius: var(--hh-hp-radius);
    border: 1px solid var(--hh-hp-border);
    box-shadow: var(--hh-hp-shadow-sm);
    order: -1;
    /* Mobile: explicit min-height instead of aspect-ratio for reliability */
    min-height: 280px;
    height: 60vw; /* scales with screen width */
    max-height: 420px;
}
 
@media (min-width: 1025px) {
    .hh-hp-bm__image {
        height: auto;
        max-height: none;
        min-height: 420px;
        order: 1;
    }
}
 
.hh-hp-bm__image img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.4s var(--hh-hp-ease-in-out);
    /* Ensure it's always visible */
    display: block !important;
    opacity: 1 !important;
}
 
@media (min-width: 1025px) {
    .hh-hp-bm__image:hover img { transform: scale(1.04); }
}
 
.hh-hp-bm__image-tag {
    position: absolute;
    bottom: 18px;
    left: 18px;
    z-index: 2;
    background: rgba(255,255,255,.95);
    backdrop-filter: blur(8px);
    padding: 7px 14px;
    border-radius: var(--hh-hp-radius-pill);
    font-size: 11px;
    font-weight: 700;
    color: var(--hh-hp-ink);
    letter-spacing: 0.04em;
}
 
.hh-hp-bm__heading {
    font-size: 36px;
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1.05;
    margin: 0;
    color: var(--hh-hp-ink);
}
 
@media (min-width: 1025px) {
    .hh-hp-bm__heading { font-size: 48px; }
}
 
.hh-hp-bm__desc {
    font-size: 14px;
    color: var(--hh-hp-muted);
    line-height: 1.7;
    margin: 0;
}
 
.hh-hp-bm__actions {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 4px;
}
 
@media (min-width: 1025px) {
    .hh-hp-bm__actions {
        flex-direction: row;
        flex-wrap: wrap;
    }
    .hh-hp-bm__actions .hh-hp-btn { width: auto; }
}

/* =============================================================================
   7. ASK AWAY
   ============================================================================= */
.hh-hp-ask {
    background: var(--hh-hp-cream);
}

/* Single column on mobile */
.hh-hp-ask__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 32px;
}

@media (min-width: 1025px) {
    .hh-hp-ask__grid {
        grid-template-columns: 1fr 1.4fr;
        gap: 56px;
        align-items: start;
    }
}

.hh-hp-ask__heading {
    font-size: 40px;
    font-weight: 700;
    letter-spacing: -0.03em;
    line-height: 1.05;
    margin: 0 0 12px;
    color: var(--hh-hp-ink);
}

@media (min-width: 1025px) {
    .hh-hp-ask__heading { font-size: 52px; }
}

.hh-hp-ask__desc {
    font-size: 15px;
    color: var(--hh-hp-muted);
    line-height: 1.65;
    margin: 0 0 16px;
}

.hh-hp-ask__alt {
    font-size: 13px;
    color: var(--hh-hp-ink);
    margin: 0;
}
.hh-hp-ask__alt a {
    color: var(--hh-hp-green);
    font-weight: 700;
    text-decoration: underline;
    text-underline-offset: 3px;
}
.hh-hp-ask__alt a:hover { color: var(--hh-hp-green-deep); }

.hh-hp-ask__form {
    background: var(--hh-hp-white);
    padding: 28px 24px;
    border-radius: var(--hh-hp-radius);
    border: 1px solid var(--hh-hp-border);
    box-shadow: var(--hh-hp-shadow-sm);
}

@media (min-width: 1025px) {
    .hh-hp-ask__form { padding: 36px; }
}

/* =============================================================================
   REDUCED MOTION
   ============================================================================= */
@media (prefers-reduced-motion: reduce) {
    .hh-hp-reveal {
        opacity: 1 !important;
        transform: none !important;
        transition: none !important;
    }
    @keyframes hh-hp-fadeup { from {} to {} }
    @keyframes hh-hp-ring   { from {} to {} }
}