/* ==========================================================================
   Service-page hero (v2)
   Used by the Services-menu pages built on philly/assets/css/style.css:
   lead generation, web design, SEO, graphic design, video production,
   content marketing, employee screening. Markup on each page:
     <section id="hero" class="lead-hero ..."> + <div class="hero-overlay">
     + <div class="hero-rule"> after the <h1>.
   Loaded after site-chrome.css.
   ========================================================================== */

/* --------------------------------------------------------------------------
   Service-page hero (lead generation and the other Services-menu pages):
   same look as the homepage hero (.home-hero in index3.css) — navy
   gradient overlay, uppercase Oswald title with a cyan accent, cyan rule,
   soft intro copy — but on a solid navy base instead of the background video.
   Content (title, phone video, intro, form) is unchanged. style.css still
   styles #hero (rocket image, white text, mobile margins), so rules here go
   through html[data-theme] #hero to win.
   -------------------------------------------------------------------------- */
html[data-theme] #hero.lead-hero {
    position: relative;
    display: flex;
    align-items: center;
    min-height: 92vh;
    overflow: hidden;
    padding: 190px 0 150px;
    background: var(--navy);
}
.lead-hero .hero-overlay {
    position: absolute;
    inset: 0;
    background-image: linear-gradient(180deg, color-mix(in oklab, var(--navy-light) 70%, #ffffff61) 0%, color-mix(in oklab, var(--navy-light) 85%, transparent) 55%, var(--navy-light) 100%);
}
html[data-theme] #hero.lead-hero .container {
    position: relative;
}

html[data-theme] #hero.lead-hero h1 {
    margin: 0;
    font-family: Oswald, sans-serif;
    font-size: clamp(2.5rem, 4.6vw, 4rem);
    font-weight: 600;
    letter-spacing: 1px;
    line-height: 1.2;
    text-transform: uppercase;
    color: #ffffff;
}
html[data-theme] #hero.lead-hero h1 span {
    color: var(--sc-accent);
}
.lead-hero .hero-rule {
    width: 10rem;
    height: 1px;
    margin: 2rem 0;
    background: var(--sc-accent);
}
/* Intro paragraph under the video (not the form's paragraphs) */
html[data-theme] #hero.lead-hero .heroContentSpacer > p {
    max-width: 560px;
    font-family: Roboto, sans-serif;
    font-size: 17.6px;
    letter-spacing: .025em;
    line-height: 1.8;
    color: var(--sc-ink);
}

@media (max-width: 992px) {
    /* the fixed header is ~165px tall here; style.css also rounds a corner */
    html[data-theme] #hero.lead-hero {
        min-height: 0;
        padding: 200px 0 120px;
        border-radius: 0;
    }
    /* style.css sizes the absolute video cover (.sc-thumbnail, width 94%)
       against the whole container, so at tablet width it spilled over the
       form; size it against its own column instead */
    html[data-theme] #hero.lead-hero .heroContentSpacer {
        position: relative;
    }
    html[data-theme] #hero.lead-hero .sc-thumbnail {
        width: 100% !important;
    }
    /* style.css pushes the title down 120px (for the old header) with !important */
    html[data-theme] #hero.lead-hero h1 {
        margin-top: 0 !important;
        line-height: 1.2;
    }
}
