/* ==========================================
   RUNHAMS DECORATING - HOME PAGE (5.5)
   Hero (video kept), trust strip, intro, services,
   recent work, Instagram band, what to expect, team.
   Tokens, buttons, eyebrow + Google badge: runhams-global.css
   Section rhythm: hero (video) > trust (dark strip) > intro (white)
   > services (grey) > work (white) > Instagram (red) > expect (grey)
   > team (charcoal) > reviews (white) > quote form (grey) > footer
   ========================================== */

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

#quote, #intro-main { scroll-margin-top: 90px; }

/* ==========================================
   HERO - video background (unchanged behaviour)
   ========================================== */

.runhams-home-hero {
    background-image: url('/img/runhams-hero.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    padding: 9rem 2rem 8rem;
    text-align: center;
    color: #fff;
    min-height: 88vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.runhams-home-hero-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    z-index: 0;
    pointer-events: none;
}

.runhams-home-hero-mute {
    position: absolute;
    left: 2rem;
    bottom: 2rem;
    z-index: 3;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    border: none;
    cursor: pointer;
    color: #fff;
    background: var(--brand-grad);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.35);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.runhams-home-hero-mute:hover { transform: scale(1.08); box-shadow: 0 4px 14px rgba(217, 15, 15, 0.45); }
.runhams-home-hero-mute i { font-size: 1rem; }

.runhams-home-hero-overlay {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(1100px 520px at 50% 40%, rgba(0, 0, 0, 0.15) 0%, rgba(0, 0, 0, 0) 70%),
        linear-gradient(180deg, rgba(0, 0, 0, 0.5) 0%, rgba(0, 0, 0, 0.58) 55%, rgba(0, 0, 0, 0.72) 100%);
    z-index: 1;
}

.runhams-home-hero-content {
    position: relative;
    z-index: 2;
    max-width: 860px;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.runhams-home-hero-eyebrow { animation: runhams-fadeInUp 0.8s ease-out both; }

.runhams-home-hero-title {
    color: #fff;
    font-size: var(--fs-h1);
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -0.01em;
    margin: 0 0 1.25rem;
    text-shadow: 0 2px 14px rgba(0, 0, 0, 0.35);
    text-wrap: balance;
    animation: runhams-fadeInUp 0.8s ease-out 0.15s both;
}

.runhams-home-hero-text {
    color: rgba(255, 255, 255, 0.92);
    font-size: var(--fs-lead);
    line-height: 1.6;
    max-width: 620px;
    margin: 0 auto 2.25rem;
    animation: runhams-fadeInUp 0.8s ease-out 0.3s both;
}

.runhams-home-hero-actions {
    display: flex;
    gap: 0.875rem;
    justify-content: center;
    flex-wrap: wrap;
    animation: runhams-fadeInUp 0.8s ease-out 0.45s both;
}

.runhams-home-hero-rating {
    margin-top: 1.75rem;
    animation: runhams-fadeInUp 0.8s ease-out 0.6s both;
}

/* Scroll cue */
.runhams-home-hero-scroll {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    z-index: 2;
    animation: runhams-fadeIn 1s ease-out 1.2s both;
}
.runhams-home-hero-scroll-text { font-size: 0.875rem; margin-bottom: 0.5rem; opacity: 0.75; letter-spacing: 0.08em; text-transform: uppercase; }
.runhams-home-hero-scroll-arrow {
    width: 16px;
    height: 16px;
    border-right: 2px solid rgba(255, 255, 255, 0.75);
    border-bottom: 2px solid rgba(255, 255, 255, 0.75);
    transform: rotate(45deg);
    animation: runhams-bounce 2s infinite;
}

/* DBS seal - bottom right of the hero (kept) */
.runhams-home-hero-dbs {
    position: absolute;
    right: 2rem;
    bottom: 2rem;
    z-index: 3;
    display: block;
    transition: opacity 0.2s ease;
    animation: runhams-fadeInUp 0.8s ease-out 0.6s both;
}
.runhams-home-hero-dbs:hover { opacity: 0.85; }
.runhams-home-hero-dbs-badge { display: block; height: 110px; width: auto; }

/* ==========================================
   TRUST STRIP - dark band under the hero
   ========================================== */

.runhams-home-trust {
    background-color: var(--charcoal-2);
    border-top: 3px solid var(--brand);
    padding: 1.15rem var(--gutter);
}
.runhams-home-trust-inner {
    max-width: var(--maxw);
    margin: 0 auto;
    padding: 0;
    list-style: none;
    display: flex;
    justify-content: space-between;
    gap: 1rem 2rem;
    flex-wrap: wrap;
}
.runhams-home-trust-item {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.9375rem;
    font-weight: 600;
    white-space: nowrap;
}
.runhams-home-trust-item i {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--brand-grad);
    color: #fff;
    font-size: 0.8125rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

/* ==========================================
   SHARED SECTION HEADINGS
   ========================================== */

.runhams-home-intro-heading,
.runhams-home-services-heading,
.runhams-home-work-heading,
.runhams-home-why-heading,
.runhams-home-team-heading {
    font-size: var(--fs-h2);
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: -0.005em;
    color: var(--ink);
    margin: 0;
    text-wrap: balance;
}

/* Split header: heading left, lead right (services, work) */
.runhams-home-services-header,
.runhams-home-work-header {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 1.5rem 3rem;
    align-items: end;
    margin-bottom: 2.75rem;
}
.runhams-home-services-lead,
.runhams-home-work-lead {
    font-size: var(--fs-body);
    color: var(--muted);
    margin: 0;
    max-width: 52ch;
}

/* ==========================================
   INTRO - white, copy left / framed photo right
   ========================================== */

.runhams-home-intro {
    background-color: var(--white);
    padding: var(--section-y) 0;
}
.runhams-home-intro-inner {
    max-width: var(--maxw);
    margin: 0 auto;
    padding: 0 var(--gutter);
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: clamp(2.5rem, 6vw, 5rem);
    align-items: center;
}
.runhams-home-intro-content { display: flex; flex-direction: column; align-items: flex-start; }
.runhams-home-intro-heading { margin-bottom: 1.5rem; }

.runhams-home-intro-text {
    font-size: var(--fs-body);
    color: var(--muted);
    line-height: 1.75;
    margin: 0 0 1.1rem;
    max-width: 62ch;
}

.runhams-home-intro-features {
    list-style: none;
    padding: 0;
    margin: 0.75rem 0 1.5rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem 1.5rem;
    width: 100%;
}
.runhams-home-intro-feature {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    font-size: 1rem;
    font-weight: 600;
    color: var(--ink);
}
.runhams-home-intro-feature i {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: rgba(217, 15, 15, 0.1);
    color: var(--brand);
    font-size: 0.6875rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.runhams-home-intro-areas {
    display: flex;
    gap: 0.65rem;
    align-items: flex-start;
    font-size: 0.9375rem;
    color: var(--muted);
    background: var(--grey);
    border-left: 3px solid var(--brand);
    border-radius: 0 var(--radius) var(--radius) 0;
    padding: 0.9rem 1.1rem;
    margin: 0 0 1.75rem;
}
.runhams-home-intro-areas i { color: var(--brand); margin-top: 0.2rem; }

/* Measured-overlap frame (Web Build Standards 6y) */
.runhams-home-intro-media { position: relative; }
.runhams-home-intro-frame { position: relative; display: grid; }
.runhams-home-intro-frame::before {
    content: '';
    grid-area: 1 / 1;
    z-index: 0;
    border: 2px solid var(--brand);
    border-radius: var(--radius-lg);
    transform: translate(18px, 18px);
}
.runhams-home-intro-photo {
    grid-area: 1 / 1;
    z-index: 1;
    width: 100%;
    height: 560px;
    object-fit: cover;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    display: block;
}

/* Constructionline Gold badge over the photo (kept) */
.runhams-home-intro-cline {
    position: absolute;
    right: 1.25rem;
    bottom: 1.25rem;
    z-index: 2;
    height: 120px;
    width: auto;
    border-radius: 0;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.28);
}

/* ==========================================
   SERVICES - grey, 4 photo cards
   ========================================== */

.runhams-home-services {
    background:
        radial-gradient(700px 380px at 100% 0%, rgba(217, 15, 15, 0.09) 0%, rgba(217, 15, 15, 0) 62%),
        radial-gradient(600px 340px at 0% 100%, rgba(217, 15, 15, 0.06) 0%, rgba(217, 15, 15, 0) 60%),
        var(--grey);
    padding: var(--section-y) 0;
    position: relative;
    overflow: hidden;
}
.runhams-home-services-inner {
    max-width: var(--maxw);
    margin: 0 auto;
    padding: 0 var(--gutter);
    position: relative;
    z-index: 1;
}

.runhams-home-services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.runhams-home-services-card {
    position: relative;
    display: flex;
    flex-direction: column;
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    box-shadow: var(--shadow-sm);
    border-bottom: 4px solid var(--brand);
    transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}
.runhams-home-services-card:hover { transform: translateY(-6px); box-shadow: 0 24px 50px rgba(217, 15, 15, 0.16), var(--shadow-md); }

.runhams-home-services-media {
    position: relative;
    display: block;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background: #ddd;
}
/* Dark-to-clear wash + red edge on the photo */
.runhams-home-services-media::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0) 45%, rgba(20, 20, 20, 0.45) 100%);
    transition: opacity 0.35s var(--ease);
}
.runhams-home-services-card:hover .runhams-home-services-media::after { opacity: 0.6; }
.runhams-home-services-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.6s var(--ease);
}
.runhams-home-services-card:hover .runhams-home-services-media img { transform: scale(1.06); }

.runhams-home-services-body {
    position: relative;
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
    padding: 2.1rem 1.5rem 1.5rem;
}
.runhams-home-services-icon {
    position: absolute;
    z-index: 3;
    top: -28px;
    left: 1.5rem;
    width: 56px;
    height: 56px;
    border-radius: 14px;
    background: var(--brand-grad);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    border: 3px solid #fff;
    box-shadow: 0 8px 18px rgba(217, 15, 15, 0.35);
    transition: transform 0.35s var(--ease);
}
.runhams-home-services-card:hover .runhams-home-services-icon { transform: rotate(-6deg) scale(1.05); }
.runhams-home-services-title {
    font-size: 1.25rem;
    font-weight: 700;
    line-height: 1.25;
    color: var(--ink);
    margin: 0.5rem 0 0.6rem;
}
.runhams-home-services-description {
    font-size: 1rem;
    color: var(--muted);
    line-height: 1.6;
    flex: 1 1 auto;
    margin-bottom: 1.25rem;
}
/* Solid button */
.runhams-home-services-link {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.55rem;
    min-height: 48px;
    padding: 0.75rem 1.1rem;
    border-radius: 50px;
    background: var(--brand-grad);
    color: #fff;
    font-family: var(--font-head);
    font-size: 1rem;
    font-weight: 700;
    box-shadow: 0 8px 20px rgba(217, 15, 15, 0.28);
    transition: background 0.3s var(--ease), box-shadow 0.3s var(--ease), gap 0.3s var(--ease);
}
.runhams-home-services-card:hover .runhams-home-services-link {
    background: var(--brand-grad-hover);
    box-shadow: 0 12px 26px rgba(217, 15, 15, 0.4);
    gap: 0.85rem;
}
.runhams-home-services-link i { font-size: 0.85rem; }

/* ==========================================
   RECENT WORK - white, photo mosaic
   ========================================== */

.runhams-home-work {
    background-color: var(--white);
    padding: var(--section-y) 0;
}
.runhams-home-work-inner {
    max-width: var(--maxw);
    margin: 0 auto;
    padding: 0 var(--gutter);
}
.runhams-home-work-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: 210px;
    gap: 1rem;
}
.runhams-home-work-tile {
    position: relative;
    display: block;
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
    border: 0;
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: #ddd;
    box-shadow: var(--shadow-sm);
    cursor: zoom-in;
    font: inherit;
}
.runhams-home-work-tile--tall { grid-row: span 2; }
.runhams-home-work-tile img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.6s var(--ease);
}
.runhams-home-work-tile::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0) 50%, rgba(217, 15, 15, 0.45) 100%);
    opacity: 0;
    transition: opacity 0.35s var(--ease);
}
.runhams-home-work-zoom {
    position: absolute;
    z-index: 2;
    right: 0.75rem;
    bottom: 0.75rem;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #fff;
    color: var(--brand);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
    opacity: 0.92;
    transition: transform 0.3s var(--ease), opacity 0.3s var(--ease);
}
.runhams-home-work-tile:hover img,
.runhams-home-work-tile:focus-visible img { transform: scale(1.05); }
.runhams-home-work-tile:hover::after,
.runhams-home-work-tile:focus-visible::after { opacity: 1; }
.runhams-home-work-tile:hover .runhams-home-work-zoom { transform: scale(1.1); opacity: 1; }

/* ==========================================
   INSTAGRAM BAND - brand red
   ========================================== */

.runhams-home-cta {
    background:
        radial-gradient(900px 300px at 85% 0%, rgba(255, 255, 255, 0.12) 0%, rgba(255, 255, 255, 0) 60%),
        linear-gradient(135deg, #e83232 0%, #b80f0f 100%);
    padding: clamp(3rem, 6vw, 4.5rem) var(--gutter);
}
.runhams-home-cta-inner {
    max-width: var(--maxw);
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem 3rem;
}
.runhams-home-cta-title {
    font-size: clamp(1.5rem, 1.2rem + 1.2vw, 2rem);
    font-weight: 700;
    color: #fff;
    line-height: 1.2;
    margin: 0 0 0.6rem;
}
.runhams-home-cta-text {
    font-size: var(--fs-body);
    color: rgba(255, 255, 255, 0.92);
    margin: 0;
    max-width: 560px;
}
.runhams-home-cta-actions { flex-shrink: 0; }

/* ==========================================
   WHAT TO EXPECT - grey section, dark cards + CTA bar
   ========================================== */

.runhams-home-why {
    background:
        radial-gradient(700px 360px at 50% 0%, rgba(217, 15, 15, 0.08) 0%, rgba(217, 15, 15, 0) 65%),
        var(--grey);
    padding: var(--section-y) 0;
}
.runhams-home-why-inner {
    max-width: var(--maxw);
    margin: 0 auto;
    padding: 0 var(--gutter);
}
.runhams-home-why-header { text-align: center; margin-bottom: 2.75rem; }
.runhams-home-why-lead {
    font-size: var(--fs-lead);
    color: var(--muted);
    line-height: 1.65;
    max-width: 60ch;
    margin: 1rem auto 0;
}
.runhams-home-why-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}
.runhams-home-why-card {
    position: relative;
    background:
        radial-gradient(320px 200px at 100% 0%, rgba(217, 15, 15, 0.28) 0%, rgba(217, 15, 15, 0) 70%),
        var(--charcoal);
    border-radius: var(--radius-lg);
    padding: 2.25rem 2rem 2.1rem;
    box-shadow: var(--shadow-md);
    overflow: hidden;
    transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}
.runhams-home-why-card::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 4px;
    background: var(--brand-grad);
    transform: scaleX(0.25);
    transform-origin: left;
    transition: transform 0.45s var(--ease);
}
.runhams-home-why-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.runhams-home-why-card:hover::after { transform: scaleX(1); }
.runhams-home-why-icon {
    width: 60px;
    height: 60px;
    border-radius: 14px;
    background: var(--brand-grad);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.35rem;
    margin-bottom: 1.4rem;
    box-shadow: 0 10px 22px rgba(217, 15, 15, 0.35);
}
.runhams-home-why-title {
    font-size: var(--fs-h3);
    font-weight: 700;
    color: #fff;
    line-height: 1.25;
    margin: 0 0 0.7rem;
}
.runhams-home-why-text {
    font-size: var(--fs-body);
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.7;
    margin: 0;
}

/* CTA bar under the cards */
.runhams-home-why-cta {
    margin-top: 2rem;
    padding: 1.5rem 2rem;
    border-radius: var(--radius-lg);
    background: var(--white);
    border-left: 5px solid var(--brand);
    box-shadow: var(--shadow-sm);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.25rem;
    flex-wrap: wrap;
}
.runhams-home-why-cta-text {
    font-family: var(--font-head);
    font-size: 1.375rem;
    font-weight: 700;
    color: var(--ink);
    margin: 0;
}
.runhams-home-why-cta-actions { display: flex; gap: 0.75rem; flex-wrap: wrap; }

@media (max-width: 640px) {
    .runhams-home-why-cta { flex-direction: column; align-items: stretch; text-align: center; padding: 1.5rem 1.25rem; }
    .runhams-home-why-cta-actions { flex-direction: column; }
    .runhams-home-why-cta-actions .runhams-btn { justify-content: center; }
}
@media (prefers-reduced-motion: reduce) {
    .runhams-home-why-card, .runhams-home-why-card::after { transition: none; }
    .runhams-home-why-card:hover { transform: none; }
}

/* ==========================================
   TEAM - charcoal, photo + copy
   ========================================== */

.runhams-home-team {
    background:
        radial-gradient(800px 420px at 0% 100%, rgba(217, 15, 15, 0.28) 0%, rgba(217, 15, 15, 0) 62%),
        radial-gradient(600px 320px at 100% 0%, rgba(217, 15, 15, 0.14) 0%, rgba(217, 15, 15, 0) 60%),
        var(--charcoal);
    padding: var(--section-y) 0;
    color: #fff;
    position: relative;
    overflow: hidden;
    border-top: 4px solid var(--brand);
}
/* Faint diagonal brush-stroke texture */
.runhams-home-team::before {
    content: "";
    position: absolute;
    inset: 0;
    background: repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.025) 0 2px, transparent 2px 22px);
    pointer-events: none;
}
.runhams-home-team-inner {
    max-width: var(--maxw);
    margin: 0 auto;
    padding: 0 var(--gutter);
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: clamp(2.5rem, 6vw, 5rem);
    align-items: center;
    position: relative;
    z-index: 1;
}

/* Photo with offset red block behind */
.runhams-home-team-frame {
    position: relative;
    margin: 0 1.25rem 1.25rem 0;
}
.runhams-home-team-frame::before {
    content: "";
    position: absolute;
    inset: 1.25rem -1.25rem -1.25rem 1.25rem;
    background: var(--brand-grad);
    border-radius: var(--radius-lg);
    z-index: 0;
}
.runhams-home-team-frame img {
    position: relative;
    z-index: 1;
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    object-position: center 30%;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    display: block;
}
.runhams-home-team-tag {
    position: absolute;
    z-index: 2;
    left: 1rem;
    bottom: 1rem;
    margin: 0;
    padding: 0.7rem 1rem;
    background: #fff;
    border-left: 4px solid var(--brand);
    border-radius: 8px;
    box-shadow: var(--shadow-md);
    display: flex;
    flex-direction: column;
    line-height: 1.3;
}
.runhams-home-team-tag-name { font-family: var(--font-head); font-weight: 700; font-size: 1.0625rem; color: var(--ink); }
.runhams-home-team-tag-role { font-size: 0.875rem; color: var(--muted); }

.runhams-home-team-content { display: flex; flex-direction: column; align-items: flex-start; }
.runhams-home-team-heading { color: #fff; margin-bottom: 1.25rem; }
.runhams-home-team-accent {
    color: #fff;
    background: linear-gradient(transparent 62%, rgba(217, 15, 15, 0.85) 62%, rgba(217, 15, 15, 0.85) 92%, transparent 92%);
    padding: 0 0.15em;
    -webkit-box-decoration-break: clone;
    box-decoration-break: clone;
}
.runhams-home-team-text {
    font-size: var(--fs-body);
    color: rgba(255, 255, 255, 0.82);
    line-height: 1.75;
    margin: 0 0 1rem;
    max-width: 58ch;
}
.runhams-home-team-points {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    margin: 0.25rem 0 1.5rem;
}
.runhams-home-team-points li {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 0.95rem;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 50px;
    background: rgba(255, 255, 255, 0.06);
    font-size: 0.9375rem;
    font-weight: 600;
    color: #fff;
}
.runhams-home-team-points i { color: var(--brand-light); font-size: 0.875rem; }
.runhams-link--light { color: #fff; text-decoration-color: var(--brand-light); text-decoration-thickness: 2px; }
.runhams-link--light:hover { color: #fff; text-decoration-color: #fff; }
.runhams-home-team-dbs {
    margin-top: 0.5rem;
    padding: 0.4rem;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 0 0 3px rgba(217, 15, 15, 0.6);
}
.runhams-home-team-dbs img { height: 88px; width: auto; display: block; }

@media (max-width: 480px) {
    .runhams-home-team-frame { margin: 0 0.75rem 0.75rem 0; }
    .runhams-home-team-frame::before { inset: 0.75rem -0.75rem -0.75rem 0.75rem; }
    .runhams-home-team-tag { left: 0.6rem; bottom: 0.6rem; padding: 0.55rem 0.8rem; }
    .runhams-home-team-points li { font-size: 0.875rem; }
}

/* ==========================================
   ANIMATIONS
   ========================================== */

@keyframes runhams-fadeInUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}
@keyframes runhams-fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}
@keyframes runhams-bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0) rotate(45deg); }
    40% { transform: translateY(-8px) rotate(45deg); }
    60% { transform: translateY(-4px) rotate(45deg); }
}

@media (prefers-reduced-motion: reduce) {
    .runhams-home-hero-eyebrow,
    .runhams-home-hero-title,
    .runhams-home-hero-text,
    .runhams-home-hero-actions,
    .runhams-home-hero-rating,
    .runhams-home-hero-dbs,
    .runhams-home-hero-scroll { animation: none; }
    .runhams-home-hero-scroll-arrow { animation: none; }
    .runhams-home-services-card,
    .runhams-home-services-media img,
    .runhams-home-work-tile img { transition: none; }
    .runhams-home-services-card:hover { transform: none; }
}

/* ==========================================
   RESPONSIVE - TABLET / MOBILE MENU (900px)
   ========================================== */

@media (max-width: 1100px) {
    .runhams-home-services-grid { grid-template-columns: repeat(2, 1fr); }
    .runhams-home-trust-inner { justify-content: center; }
}

@media (max-width: 900px) {
    .runhams-home-intro-inner,
    .runhams-home-team-inner { grid-template-columns: 1fr; }
    .runhams-home-intro-media { max-width: 520px; width: 100%; margin: 0 auto; }
    .runhams-home-intro-frame::before { display: none; }
    .runhams-home-intro-photo { height: 440px; }

    .runhams-home-services-header,
    .runhams-home-work-header { grid-template-columns: 1fr; align-items: start; }

    .runhams-home-work-grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 180px; }
    .runhams-home-why-grid { grid-template-columns: 1fr; max-width: 560px; margin: 0 auto; }

    .runhams-home-cta-inner { flex-direction: column; align-items: flex-start; }

    .runhams-home-team-media { max-width: 520px; }
}

/* ==========================================
   RESPONSIVE - MOBILE (768px)
   Hero keeps the image + overlay behind the copy, then shows the video
   as its own framed block (existing behaviour, kept).
   ========================================== */

@media (max-width: 768px) {
    .runhams-home-hero {
        flex-direction: column;
        min-height: 0;
        padding: 6.25rem 1.5rem 3rem;
        /* Exterior property photo behind the copy on mobile (desktop keeps the video) */
        background-image: url('/img/runhams-exterior-detached-house-grey.jpg');
        background-position: 38% center;
    }
    .runhams-home-hero-content { order: 1; max-width: 640px; margin: 0 auto; }
    .runhams-home-hero-video {
        order: 2;
        position: relative;
        z-index: 2;
        width: 100%;
        max-width: 640px;
        margin: 1.75rem auto 0;
        height: auto;
        aspect-ratio: 16 / 9;
        border: 2px solid rgba(255, 255, 255, 0.6);
        border-radius: 10px;
        box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
    }
    .runhams-home-hero-mute {
        left: auto;
        right: calc(1.5rem + 0.6rem);
        bottom: calc(3rem + 0.6rem);
        width: 42px;
        height: 42px;
    }
    .runhams-home-hero-scroll { display: none; }
    .runhams-home-hero-dbs { top: 0.75rem; right: 0.75rem; bottom: auto; }
    .runhams-home-hero-dbs-badge { height: 72px; }
    .runhams-home-hero-actions { width: 100%; }

    .runhams-home-trust-inner { justify-content: flex-start; display: grid; grid-template-columns: 1fr 1fr; gap: 0.85rem 1rem; }
    .runhams-home-trust-item { white-space: normal; font-size: 0.875rem; }

    .runhams-home-intro-features { grid-template-columns: 1fr; }
    .runhams-home-intro-cline { height: 96px; right: 1rem; bottom: 1rem; }
}

/* ==========================================
   RESPONSIVE - SMALL MOBILE (640 / 480px)
   ========================================== */

@media (max-width: 640px) {
    .runhams-home-services-grid { grid-template-columns: 1fr; max-width: 460px; margin: 0 auto; }
    .runhams-home-work-grid { grid-auto-rows: 150px; gap: 0.75rem; }
}

@media (max-width: 480px) {
    .runhams-home-hero { padding: 5.75rem 1rem 2.5rem; }
    .runhams-home-hero-actions { flex-direction: column; align-items: stretch; max-width: 320px; margin: 0 auto; }
    .runhams-home-hero-mute { right: calc(1rem + 0.5rem); bottom: calc(2.5rem + 0.5rem); width: 38px; height: 38px; }
    .runhams-home-hero-dbs-badge { height: 64px; }

    .runhams-home-trust-item i { width: 28px; height: 28px; font-size: 0.75rem; }

    .runhams-home-intro-photo { height: 360px; }
    .runhams-home-intro-cline { height: 80px; right: 0.85rem; bottom: 0.85rem; }

    .runhams-home-why-card { padding: 2rem 1.5rem 1.75rem; }
    .runhams-home-cta-actions, .runhams-home-cta-actions .runhams-btn { width: 100%; }
}
