/* ═══════════════════════════════════════════════════════════
   GOLDEN HAMMER — Homepage (contracting-first) styles
   Mobile-first. Uses tokens from main.css (:root).
═══════════════════════════════════════════════════════════ */

/* ── HERO ─────────────────────────────────────────────────── */
.hp-hero {
    background: linear-gradient(135deg, var(--white) 0%, var(--cream) 100%);
    padding: 48px 0 56px;
    overflow: hidden;
}
.hp-hero-inner {
    display: flex;
    flex-direction: column;
    gap: 36px;
    align-items: center;
}
.hp-eyebrow { color: var(--gold-dark); }
.hp-headline {
    font-family: var(--font-display);
    font-size: clamp(2.4rem, 7vw, 4.2rem);
    font-weight: 800;
    line-height: 1.02;
    text-transform: uppercase;
    letter-spacing: -0.01em;
    color: var(--navy);
    margin: 14px 0 18px;
}
.hp-hero-body {
    font-family: var(--font-body);
    font-size: 1.08rem;
    line-height: 1.65;
    color: var(--text-muted);
    max-width: 560px;
    margin-bottom: 28px;
}
.hp-hero-actions {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}
.hp-hero-visual img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    border: 3px solid var(--gold);
}

/* ── TRUST STRIP ──────────────────────────────────────────── */
.hp-trust {
    background: var(--navy);
    padding: 14px 0;
}
.hp-trust-inner {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 28px;
    justify-content: center;
}
.hp-trust-item {
    font-family: var(--font-display);
    font-size: 0.92rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.85);
    white-space: nowrap;
}

/* ── SERVICES ─────────────────────────────────────────────── */
.hp-services {
    padding: 72px 0;
    background: var(--white);
}
.hp-services-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 18px;
    margin-top: 40px;
}
.hp-service-card {
    background: var(--cream);
    border: 1px solid var(--border);
    border-top: 3px solid var(--gold);
    border-radius: var(--radius-sm);
    padding: 28px 24px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.hp-service-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}
.hp-service-icon {
    font-size: 1.8rem;
    margin-bottom: 12px;
}
.hp-service-card h3 {
    font-family: var(--font-display);
    font-size: 1.3rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.02em;
    color: var(--navy);
    margin-bottom: 8px;
}
.hp-service-card p {
    font-family: var(--font-body);
    font-size: 0.95rem;
    line-height: 1.6;
    color: var(--text-muted);
}
.hp-service-card a {
    color: var(--gold-dark);
    font-weight: 600;
    text-decoration: none;
}
.hp-service-card a:hover { text-decoration: underline; }

/* ── REEL WALL ────────────────────────────────────────────── */
.hp-reels {
    padding: 72px 0;
    background: var(--cream);
    overflow: hidden;
}
.hp-reels-sub {
    font-family: var(--font-body);
    color: var(--text-muted);
    margin-top: 8px;
}
.hp-reel-track {
    display: flex;
    gap: 16px;
    margin-top: 36px;
    padding: 0 24px 16px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x mandatory;
    scrollbar-width: thin;
    scrollbar-color: var(--gold) var(--cream-dark);
}
.hp-reel-card {
    flex: 0 0 auto;
    width: 200px;
    scroll-snap-align: start;
}
.hp-reel-card.hp-reel-featured { width: 260px; }
.hp-reel-facade {
    position: relative;
    display: block;
    width: 100%;
    aspect-ratio: 9 / 16;
    border: none;
    border-radius: var(--radius-md);
    overflow: hidden;
    cursor: pointer;
    padding: 0;
    background: var(--navy);
    box-shadow: var(--shadow-md);
}
.hp-reel-facade img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.hp-reel-facade iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
}
.hp-reel-play {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 54px;
    height: 54px;
    background: var(--gold);
    color: var(--navy);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    padding-left: 4px;
    box-shadow: var(--shadow-md);
    transition: transform 0.2s ease;
}
.hp-reel-facade:hover .hp-reel-play,
.hp-reel-facade:focus-visible .hp-reel-play {
    transform: translate(-50%, -50%) scale(1.1);
}
.hp-reel-caption {
    font-family: var(--font-display);
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--navy);
    margin-top: 10px;
}

/* ── WHY US ───────────────────────────────────────────────── */
.hp-why {
    padding: 72px 0;
    background: var(--navy);
}
.hp-why .section-eyebrow { color: var(--gold); }
.hp-why .section-heading {
    color: var(--white);
    font-size: clamp(1.5rem, 3.4vw, 2.2rem);
    line-height: 1.25;
    max-width: 900px;
}
.hp-why-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 28px;
    margin-top: 44px;
}
.hp-why-item {
    border-left: 3px solid var(--gold);
    padding-left: 20px;
}
.hp-why-item h3 {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    color: var(--gold);
    margin-bottom: 8px;
}
.hp-why-item p {
    font-family: var(--font-body);
    font-size: 0.97rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.78);
}

/* ── PROCESS ──────────────────────────────────────────────── */
.hp-process {
    padding: 72px 0;
    background: var(--white);
}
.hp-process-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 28px;
    margin-top: 40px;
}
.hp-process-step {
    text-align: center;
    padding: 0 12px;
}
.hp-step-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: var(--gold);
    color: var(--navy);
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: 14px;
}
.hp-process-step h3 {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--navy);
    margin-bottom: 8px;
}
.hp-process-step p {
    font-family: var(--font-body);
    font-size: 0.95rem;
    line-height: 1.6;
    color: var(--text-muted);
    max-width: 280px;
    margin: 0 auto;
}

/* ── CONSULTING BAND (single, muted) ─────────────────────── */
.hp-consulting {
    padding: 64px 0;
    background: var(--cream);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}
.hp-consulting-inner {
    display: grid;
    grid-template-columns: 1fr;
    gap: 36px;
}
.hp-consulting-heading {
    font-family: var(--font-display);
    font-size: clamp(1.6rem, 3.5vw, 2.3rem);
    font-weight: 800;
    text-transform: uppercase;
    color: var(--navy);
    margin: 10px 0 14px;
    line-height: 1.1;
}
.hp-consulting-copy p:not(.section-eyebrow) {
    font-family: var(--font-body);
    font-size: 1rem;
    line-height: 1.65;
    color: var(--text-muted);
    max-width: 520px;
}
.hp-consulting-links {
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.hp-consulting-link {
    display: block;
    background: var(--white);
    border: 1px solid var(--border);
    border-left: 3px solid var(--gold);
    border-radius: var(--radius-sm);
    padding: 16px 20px;
    text-decoration: none;
    text-align: left;
    font-family: inherit;
    cursor: pointer;
    transition: transform 0.15s ease, box-shadow 0.15s ease;
    width: 100%;
}
.hp-consulting-link:hover {
    transform: translateX(3px);
    box-shadow: var(--shadow-sm);
}
.hp-consulting-link strong {
    display: block;
    font-family: var(--font-display);
    font-size: 1.05rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.02em;
    color: var(--navy);
    margin-bottom: 2px;
}
.hp-consulting-link span {
    font-family: var(--font-body);
    font-size: 0.88rem;
    color: var(--text-muted);
}

/* ── ESTIMATE ─────────────────────────────────────────────── */
.hp-estimate {
    padding: 72px 0;
    background: var(--white);
    scroll-margin-top: calc(var(--header-h) + 12px);
}
.hp-estimate-inner {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
}
.hp-estimate-copy > p:not(.section-eyebrow) {
    font-family: var(--font-body);
    font-size: 1rem;
    line-height: 1.65;
    color: var(--text-muted);
    max-width: 480px;
    margin-top: 10px;
}
.hp-estimate-meta {
    margin-top: 26px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.hp-estimate-meta p {
    font-family: var(--font-body);
    font-size: 0.97rem;
    color: var(--navy);
}
.hp-estimate-meta a {
    color: var(--navy);
    font-weight: 600;
    text-decoration: none;
    border-bottom: 2px solid var(--gold);
}
.hp-widget-frame {
    background: var(--cream);
    border: 1px solid var(--border);
    border-top: 4px solid var(--gold);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
    overflow: hidden;
}
.hp-widget-frame iframe {
    width: 100%;
    height: 860px;
    border: 0;
    display: block;
}
.hp-widget-alt {
    margin-top: 12px;
    font-family: var(--font-body);
    font-size: 0.9rem;
    color: var(--text-muted);
    text-align: center;
}
.hp-widget-alt a {
    color: var(--navy);
    font-weight: 600;
    text-decoration: none;
    border-bottom: 2px solid var(--gold);
}

/* ── FOCUS VISIBILITY (a11y) ─────────────────────────────── */
.hp-hero-actions a:focus-visible,
.hp-reel-facade:focus-visible,
.hp-consulting-link:focus-visible,
.hp-estimate-form button:focus-visible {
    outline: 3px solid var(--gold-dark);
    outline-offset: 2px;
}

/* ── TABLET AND UP ────────────────────────────────────────── */
@media (min-width: 700px) {
    .hp-hero { padding: 72px 0 80px; }
    .hp-hero-inner {
        flex-direction: row;
        gap: 56px;
    }
    .hp-hero-content { flex: 1.15; }
    .hp-hero-visual { flex: 1; }
    .hp-services-grid { grid-template-columns: repeat(2, 1fr); }
    .hp-why-grid { grid-template-columns: repeat(2, 1fr); gap: 36px; }
    .hp-process-grid { grid-template-columns: repeat(2, 1fr); }
    .hp-consulting-inner { grid-template-columns: 1fr 1fr; align-items: start; }
    .hp-estimate-inner { grid-template-columns: 1fr 1.2fr; align-items: start; }
    .hp-form-row { grid-template-columns: 1fr 1fr; }
    .hp-estimate-form { padding: 36px 32px; }
    .hp-reel-card { width: 230px; }
    .hp-reel-card.hp-reel-featured { width: 300px; }
    .hp-reel-track { padding-left: max(24px, calc((100vw - var(--container)) / 2)); }
}

/* ── DESKTOP ──────────────────────────────────────────────── */
@media (min-width: 1024px) {
    .hp-services-grid { grid-template-columns: repeat(4, 1fr); }
    .hp-process-grid { grid-template-columns: repeat(4, 1fr); }
}
