/* ===================================================================
   ASPHALT CARE INC — DESIGN TOKENS
   =================================================================== */
:root {
    /* color */
    --paper: #F4F1E9;
    --card: #FFFFFF;
    --navy: #0E2238;
    --navy-mid: #173552;
    --orange: #FF5A1F;
    --orange-dim: #E0490F;
    --charcoal: #15171B;
    --blacktop: #0B0C0E;
    --stripe-yellow: #FFC520;
    --ink: #1B1F24;
    --ink-soft: #585E66;
    --line: #DDD6C6;

    /* type */
    --font-display: "Big Shoulders Display", sans-serif;
    --font-body: "Public Sans", sans-serif;
    --font-mono: "IBM Plex Mono", monospace;

    /* layout */
    --maxw: 1220px;
    --cut: 14px;
    --gap: 1.5rem;
}

/* ===================================================================
   RESET / BASE
   =================================================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    color: var(--ink);
    background: var(--paper);
    line-height: 1.55;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

img, svg {
    display: block;
    max-width: 100%;
}

a {
    color: inherit;
    text-decoration: none;
}

ul {
    list-style: none;
}

h1, h2, h3, h4 {
    font-family: var(--font-display);
    color: var(--navy);
    line-height: 1.05;
    font-weight: 700;
    letter-spacing: 0;
}

h1 {
    font-size: clamp(2.8rem, 6.8vw, 6.2rem);
    font-weight: 800;
    letter-spacing: 0.005em;
    text-transform: uppercase;
}

h2 {
    font-size: clamp(1.9rem, 3.8vw, 3rem);
    margin-bottom: 0.6rem;
    text-transform: uppercase;
}

/* Inner pages use <h1> as the real page title for correct SEO
   hierarchy, but should look the same size as the rest of the site's
   <h2> section headings — not hero-sized. The homepage's actual hero
   <h1> lives inside .hero, not .section, so it's unaffected. */
.section h1 {
    font-size: clamp(1.9rem, 3.8vw, 3rem);
    font-weight: 700;
    letter-spacing: 0.005em;
    margin-bottom: 0.6rem;
}

h3 {
    font-size: 1.15rem;
    margin-bottom: 0.35rem;
}

.accent {
    color: var(--orange);
}

/* ===================================================================
   LANE-DASH MOTIF — a structural device pulled straight from the
   striping photography, used as a section signature instead of a
   generic hairline rule.
   =================================================================== */
.lane-dashes {
    height: 4px;
    background-image: repeating-linear-gradient(90deg, var(--stripe-yellow) 0px, var(--stripe-yellow) 26px, transparent 26px, transparent 52px);
}

.stripe-rule {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 0.9rem;
}

.stripe-rule span {
    display: block;
    height: 3px;
    background: var(--stripe-yellow);
}

.stripe-rule span:nth-child(1) { width: 26px; }
.stripe-rule span:nth-child(2) { width: 12px; opacity: 0.55; }
.stripe-rule span:nth-child(3) { width: 6px; opacity: 0.3; }

/* On light/cream backgrounds the paint-yellow dashes lose contrast —
   swap to the orange brand accent instead. */
.stripe-rule-dark span {
    background: var(--orange-dim);
}

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    background: none;
}

.skip-link {
    position: absolute;
    left: -9999px;
    top: 0;
    background: var(--navy);
    color: #fff;
    padding: 0.6rem 1rem;
    z-index: 999;
}

.skip-link:focus {
    left: 0.5rem;
    top: 0.5rem;
}

:focus-visible {
    outline: 3px solid var(--orange);
    outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.001ms !important;
        transition-duration: 0.001ms !important;
        scroll-behavior: auto !important;
    }
}

/* ===================================================================
   BUTTONS — clipped corner, no pill radius
   =================================================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.95rem 1.7rem;
    font-weight: 600;
    font-size: 0.92rem;
    letter-spacing: 0.01em;
    transition: transform 0.15s ease, background 0.15s ease, color 0.15s ease;
    white-space: nowrap;
    clip-path: polygon(0 0, 100% 0, 100% calc(100% - var(--cut)), calc(100% - var(--cut)) 100%, 0 100%);
}

.btn-primary {
    background: var(--orange);
    color: #fff;
}

.btn-primary:hover {
    background: var(--orange-dim);
    transform: translateY(-1px);
}

/* Ghost buttons intentionally do NOT use the clipped-corner shape.
   A plain border can't follow a clip-path's diagonal edge, and the
   pseudo-element workaround for that turned out to be fragile across
   minifiers/browsers. Square corners + a normal border is simple and
   reliable — the clipped corner stays reserved for solid-fill
   buttons (.btn-primary), which don't have this problem. */
.btn-ghost {
    background: transparent;
    color: var(--navy);
    border: 1.5px solid var(--navy);
    clip-path: none;
}

.btn-ghost:hover {
    background: var(--navy);
    color: #fff;
}

.btn-ghost-on-dark {
    background: transparent;
    color: #fff;
    border: 1.5px solid rgba(255, 255, 255, 0.55);
    clip-path: none;
}

.btn-ghost-on-dark:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: #fff;
}

.btn-sm {
    padding: 0.6rem 1.2rem;
    font-size: 0.82rem;
}

.text-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--orange-dim);
    font-weight: 600;
    font-size: 0.95rem;
    margin-top: 0.5rem;
}

.text-link svg {
    width: 16px;
    height: 16px;
    transition: transform 0.15s ease;
}

.text-link:hover svg {
    transform: translateX(3px);
}

/* ===================================================================
   HEADER
   =================================================================== */
.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
}

.header-inner {
    max-width: var(--maxw);
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    padding: 0.85rem 1.5rem;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    flex-shrink: 0;
}

.logo img {
    width: 85%;
    max-width: 220px;
    height: auto;
    display: block;
}

.logo-mark svg {
    width: 32px;
    height: 32px;
}

.logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
}

.logo-text-main {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1.02rem;
    color: var(--navy);
    letter-spacing: 0.01em;
}

.logo-text-sub {
    font-family: var(--font-mono);
    font-size: 0.58rem;
    letter-spacing: 0.08em;
    color: var(--ink-soft);
}

.main-nav {
    flex: 1;
    display: flex;
    justify-content: center;
}

.main-nav > ul {
    display: flex;
    gap: 1.9rem;
}

.main-nav > ul > li {
    position: relative;
}

.main-nav > ul > li > a {
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--navy);
    padding: 0.5rem 0;
    position: relative;
}

.main-nav > ul > li > a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    height: 2px;
    width: 0;
    background: var(--orange);
    transition: width 0.18s ease;
}

.main-nav > ul > li > a:hover::after {
    width: 100%;
}

.dropdown-indicator {
    display: none;
}

.main-nav > ul > li > a.is-active {
    color: var(--orange-dim);
}

.main-nav > ul > li > a.is-active::after {
    width: 100%;
}

@media (min-width: 861px) {
    .dropdown {
        position: absolute;
        top: 100%;
        left: 50%;
        transform: translateX(-50%) translateY(4px);
        background: var(--navy);
        border-top: 2px solid var(--orange);
        padding: 0.9rem;
        min-width: 230px;
        opacity: 0;
        visibility: hidden;
        transition: opacity 0.15s ease, transform 0.15s ease, visibility 0.15s;
    }

    .dropdown-columns {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        min-width: 320px;
        gap: 0 0.6rem;
    }

    .has-dropdown:hover .dropdown,
    .has-dropdown:focus-within .dropdown {
        opacity: 1;
        visibility: visible;
        transform: translateX(-50%) translateY(0);
    }
}

.dropdown li a {
    display: block;
    padding: 0.5rem 0.6rem;
    font-size: 0.86rem;
    color: rgba(244, 241, 233, 0.85);
}

.dropdown li a:hover {
    color: var(--orange);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 1.1rem;
    flex-shrink: 0;
}

.header-phone {
    font-family: var(--font-mono);
    font-weight: 600;
    font-size: 0.86rem;
    color: var(--navy);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 32px;
    height: 32px;
}

.nav-toggle span {
    height: 2px;
    background: var(--navy);
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.nav-toggle.open span {
    background: #fff;
}

/* ===================================================================
   HERO — the photo IS the hero, not a strip bolted on below it.
   =================================================================== */
.hero {
    position: relative;
    background-color: var(--blacktop);
    background-image:
        linear-gradient(100deg, rgba(8, 9, 11, 0.96) 0%, rgba(8, 9, 11, 0.88) 26%, rgba(8, 9, 11, 0.42) 60%, rgba(8, 9, 11, 0.16) 100%),
        url('/images/banner-bg-straight.jpg');
    background-size: cover;
    background-position: center 30%;
    overflow: hidden;
}

.hero-grid {
    max-width: var(--maxw);
    margin: 0 auto;
    padding: 4.25rem 1.5rem 5rem;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 2.5rem;
}

.hero-copy {
    flex: 1 1 auto;
    padding-top: 0.25rem;
    max-width: 640px;
}

.hero .eyebrow {
    font-family: var(--font-mono);
    font-size: 0.76rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    font-weight: 600;
    color: var(--stripe-yellow);
}

.hero h1 {
    color: #fff;
    margin-bottom: 1.3rem;
}

.hero-lead {
    font-size: 1.12rem;
    color: rgba(255, 255, 255, 0.76);
    max-width: 480px;
    margin-bottom: 1.6rem;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 1.6rem;
}

.hero-phone-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-family: var(--font-mono);
    font-weight: 600;
    font-size: 0.9rem;
    color: #fff;
}

.hero-phone-link svg {
    color: var(--orange);
}

/* -------- pavement-layer stat chip (replaces the old floating badge) -------- */
.stat-chip {
    margin-top: 2.75rem;
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.16);
    padding: 0.95rem 1.3rem;
    max-width: 380px;
    backdrop-filter: blur(6px);
}

.layer-bars {
    display: flex;
    flex-direction: column;
    gap: 3px;
    width: 32px;
    flex-shrink: 0;
}

.layer-bars span {
    display: block;
    height: 5px;
}

.layer-bars span:nth-child(1) { background: var(--stripe-yellow); width: 100%; }
.layer-bars span:nth-child(2) { background: #9aa3ad; width: 82%; }
.layer-bars span:nth-child(3) { background: #5b636c; width: 62%; }
.layer-bars span:nth-child(4) { background: #2b3036; width: 42%; }

/* On cream/light sections the pale paint-yellow top bar nearly
   disappears — swap it for the orange brand accent instead. */
.layer-bars-dark span:nth-child(1) {
    background: var(--orange-dim);
}

.stat-text {
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.68);
    line-height: 1.4;
}

.stat-text strong {
    display: block;
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 700;
    color: #fff;
    text-transform: uppercase;
}

/* -------- hero quick-estimate form — dark glass, part of the scene -------- */
.hero-form {
    flex: 0 0 380px;
    background: rgba(14, 34, 56, 0.82);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-top: 3px solid var(--orange);
    padding: 1.85rem 1.7rem 1.6rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.45);
}

.hero-form h3 {
    font-size: 1.4rem;
    color: #fff;
    text-transform: uppercase;
}

.hero-form-sub {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.6);
    margin-top: -0.6rem;
}

.form-field {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    flex: 1;
}

.form-field label {
    font-family: var(--font-mono);
    font-size: 0.68rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.55);
}

.form-field label span {
    color: var(--orange);
}

.form-field input,
.form-field select {
    font-family: var(--font-body);
    font-size: 0.92rem;
    color: #fff;
    padding: 0.65rem 0.7rem;
    background: rgba(14, 34, 56, 0.82);
    border: 1px solid rgba(255, 255, 255, 0.22);
}

.form-field input::placeholder {
    color: rgba(255, 255, 255, 0.4);
}

.form-field input:focus,
.form-field select:focus {
    border-color: var(--orange);
}

.form-row {
    display: flex;
    gap: 0.9rem;
}

.form-row-addr .form-field-city {
    flex: 2 1 0;
}

.form-row-addr .form-field-state {
    flex: 1 1 0;
    min-width: 4.5rem;
}

.form-row-addr .form-field-zip {
    flex: 1.2 1 0;
}

.form-field-hp {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    opacity: 0;
    pointer-events: none;
}

.form-submit {
    width: 100%;
    margin-top: 0.3rem;
}

.form-note {
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.6);
    min-height: 1.1em;
}

.form-note.is-success {
    color: #5fcf8f;
    font-weight: 600;
}

@media (max-width: 520px) {
    .form-row {
        flex-direction: column;
    }
}

@media (max-width: 900px) {
    .hero-grid {
        flex-direction: column;
    }

    .hero-copy {
        max-width: none;
    }

    .hero-form {
        flex-basis: auto;
        width: 100%;
        max-width: 460px;
    }
}

/* ===================================================================
   SECTION SHELLS
   =================================================================== */
.section {
    padding: 5rem 0;
}

.section-inner {
    max-width: var(--maxw);
    margin: 0 auto;
    padding: 0 1.5rem;
}

.section-inner-wide {
    max-width: 1500px;
    margin: 0 auto;
}

.section-eyebrow {
    font-family: var(--font-mono);
    font-size: 0.76rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--orange-dim);
    font-weight: 600;
    margin-bottom: 0.6rem;
}

.section-eyebrow.light {
    color: var(--orange);
}

.section-lead {
    color: var(--ink-soft);
    max-width: 800px;
    margin-top: 0.5rem;
}

/* ===================================================================
   SERVICES — index list, not icon cards
   =================================================================== */
.service-list {
    margin-top: 1.5rem;
    border-top: 1px dashed var(--line);
}

.service-row {
    display: flex;
    align-items: center;
    gap: 2rem;
    padding: 1.5rem 0;
    border-bottom: 1px dashed var(--line);
    position: relative;
}

.service-name {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: clamp(1.3rem, 2.4vw, 1.9rem);
    color: var(--navy);
    flex: 0 0 auto;
    width: 300px;
    transition: color 0.15s ease;
}

.service-desc {
    color: var(--ink-soft);
    font-size: 0.95rem;
    flex: 1;
}

.service-preview {
    width: 90px;
    height: 60px;
    flex-shrink: 0;
    opacity: 0;
    transform: scale(0.94);
    transition: opacity 0.2s ease, transform 0.2s ease;
    object-fit: cover;
    display: block;
}

.service-arrow {
    width: 22px;
    height: 22px;
    color: var(--ink-soft);
    flex-shrink: 0;
    transition: transform 0.18s ease, color 0.18s ease;
}

.service-row:hover {
    border-bottom-color: var(--orange);
}

.service-row:hover .service-name {
    color: var(--orange-dim);
}

.service-row:hover .service-preview {
    opacity: 1;
    transform: scale(1);
}

.service-row:hover .service-arrow {
    transform: translateX(4px);
    color: var(--orange);
}

@media (max-width: 760px) {
    .service-preview {
        display: none;
    }

    .service-row {
        flex-direction: row;
        flex-wrap: wrap;
        align-items: center;
        justify-content: flex-start;
        column-gap: 0.6rem;
        row-gap: 0.5rem;
        padding: 1.4rem 0;
        width: 100%;
        text-align: left;
    }

    .service-name {
        width: auto;
        order: 1;
        text-align: left;
        flex: 1 1 auto;
        min-width: 0;
    }

    .service-arrow {
        order: 2;
        margin-top: 0;
    }

    .service-desc {
        order: 3;
        flex: 1 0 100%;
    }
}

/* ===================================================================
   PROCESS TIMELINE — real sequence
   =================================================================== */
.process {
    background: var(--card);
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}

.process-track {
    display: flex;
    gap: 0;
    margin-top: 2.2rem;
    position: relative;
}

.process-track::before {
    content: "";
    position: absolute;
    top: 1.1rem;
    left: 0;
    right: 0;
    height: 0;
    border-top: 2px dashed var(--line);
}

.process-step {
    flex: 1;
    padding-right: 1.5rem;
    position: relative;
}

.process-num {
    display: block;
    font-family: var(--font-mono);
    font-size: 0.85rem;
    color: var(--orange);
    background: var(--card);
    width: fit-content;
    padding-right: 0.6rem;
    margin-bottom: 1.6rem;
}

.process-step p {
    color: var(--ink-soft);
    font-size: 0.9rem;
}

@media (max-width: 900px) {
    .process-track {
        flex-direction: column;
        gap: 2rem;
    }

    .process-track::before {
        top: 0;
        bottom: 0;
        left: 0.4rem;
        right: auto;
        width: 0;
        height: auto;
        border-top: none;
        border-left: 2px dashed var(--line);
    }

    .process-step {
        padding-left: 1.5rem;
        padding-right: 0;
    }

    .process-num {
        margin-bottom: 0.5rem;
    }
}

/* ===================================================================
   PLACEHOLDER MEDIA (swapped for real photos via admin upload)
   =================================================================== */
.placeholder-media {
    background: linear-gradient(135deg, #16263a, #233e57);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.placeholder-media::after {
    content: attr(data-label);
    position: absolute;
    bottom: 0.6rem;
    left: 0.8rem;
    font-family: var(--font-mono);
    font-size: 0.62rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: rgba(244, 241, 233, 0.5);
}

/* ===================================================================
   FEATURE (driveway) — asymmetric full bleed
   =================================================================== */
.feature {
    display: flex;
    min-height: 460px;
}

.feature-contained {
    max-width: var(--maxw);
    margin: 0 auto;
    gap: 3rem;
}

.feature-contained .feature-copy {
    flex: 1 1 58%;
    padding: 0;
    justify-content: flex-start;
    max-width: none;
}

.feature-contained .feature-media {
    flex: 1 1 42%;
}

/* .feature-media {
    flex: 0 0 60%;
    /*width: 100%;*
    height: 520px;
    object-fit: cover;
    display: block;
}

.feature-copy {
    flex: 1 1 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 1rem;
    max-width: 620px;
} */
 .feature-media {
    flex: 0 0 65%;
    background-size: cover;
    background-position: center;
    min-height: 460px;
}

.feature-copy {
    flex: 1 1 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 3rem 2.5rem;
}

.feature-copy p {
    color: var(--ink-soft);
    margin-bottom: 0.9rem;
}

@media (max-width: 860px) {
    .feature {
        flex-direction: column;
        min-height: 0;
    }

    /* .feature-media {
        height: 280px;
    }

    .feature-copy {
        padding: 2.5rem 1.5rem;
        max-width: none;
    } */
	.feature-media {
        height: 15rem;
		min-height: 15rem;
        flex-basis: auto; 
        background-size: contain;
        background-position: center;
    }

    .feature-copy {
        padding: 2.5rem 1.5rem;
        max-width: none;
    }

    .feature-contained {
        gap: 0;
    }

    .feature-contained .feature-copy {
        padding: 2.5rem 1.5rem;
    }
}

.to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--orange);
    border: 2px solid var(--orange-dim);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease;
    z-index: 999;
}

.to-top svg {
    width: 20px;
    height: 20px;
    stroke: #fff;
}

.to-top.visible {
    opacity: 1;
    pointer-events: auto;
}

.to-top:hover {
	border: 2px solid var(--orange);
    background: var(--orange-dim);
}

.to-top:hover svg {
    stroke: #fff;
}

/* ===================================================================
   INVESTMENT — editorial stat headline
   =================================================================== */
.invest-inner {
    max-width: 980px;
}

.invest-inner .layer-bars {
    width: 52px;
    gap: 4px;
    margin-bottom: 1.6rem;
}

.invest-inner .layer-bars span {
    height: 7px;
}

.invest-headline {
    font-size: clamp(1.8rem, 3.6vw, 3rem);
    text-transform: none;
    letter-spacing: -0.005em;
}

.invest-facts {
    display: flex;
    flex-wrap: wrap;
    gap: 0 1.4rem;
    margin-top: 2rem;
    font-family: var(--font-mono);
    font-size: 0.8rem;
    color: var(--ink-soft);
}

.invest-facts span:not(:last-child)::after {
    content: "/";
    margin-left: 1.4rem;
    color: var(--orange-dim);
}

/* ===================================================================
   PROJECTS FILMSTRIP — dark "gallery" section. Photos read better
   against blacktop than cream, and it kicks off the page's dark
   finale that carries through testimonial / CTA / footer.
   =================================================================== */
.projects {
    background: var(--blacktop);
}

.projects .section-eyebrow {
    color: var(--stripe-yellow);
}

.projects h2 {
    color: #fff;
}

.projects .section-lead {
    color: rgba(255, 255, 255, 0.6);
}

.projects-head {
    margin-bottom: 0;
}

.filmstrip {
    display: flex;
    gap: 0.4rem;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding: 2rem 1.5rem 1rem;
    margin: 0 auto;
    max-width: 1500px;
    scrollbar-width: none;
}

.filmstrip::-webkit-scrollbar {
    display: none;
}

.film-card {
    flex: 0 0 320px;
    scroll-snap-align: start;
    position: relative;
    aspect-ratio: 3 / 4;
}

.film-media {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
}

.film-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 1.2rem;
    background: linear-gradient(to top, rgba(14, 34, 56, 0.85) 0%, rgba(14, 34, 56, 0) 55%);
}

.film-text h3 {
    color: #fff;
    font-size: 1.1rem;
    margin-bottom: 0.15rem;
}

.film-text p {
    color: rgba(244, 241, 233, 0.75);
    font-size: 0.82rem;
}

.project-share {
    position: absolute;
    top: 0.9rem;
    right: 0.9rem;
    display: flex;
    gap: 0.4rem;
    opacity: 0;
    transform: translateY(-4px);
    transition: opacity 0.18s ease, transform 0.18s ease;
}

.film-card:hover .project-share,
.film-card:focus-within .project-share {
    opacity: 1;
    transform: translateY(0);
}

.share-btn {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(244, 241, 233, 0.92);
    color: var(--navy);
    display: flex;
    align-items: center;
    justify-content: center;
}

.share-btn svg {
    width: 15px;
    height: 15px;
}

.share-btn:hover {
    background: var(--orange);
    color: #fff;
}

.projects-cta {
    display: flex;
    justify-content: center;
    margin-top: 1.5rem;
}

/* ===================================================================
   TESTIMONIAL SPOTLIGHT
   =================================================================== */
.testimonial-spotlight {
    background: var(--navy);
    padding: 5rem 1.5rem;
    position: relative;
    overflow: hidden;
}

.spotlight-inner {
    max-width: 760px;
    margin: 0 auto;
    text-align: center;
    position: relative;
}

.quote-mark {
    font-family: var(--font-display);
    font-size: 6rem;
    color: var(--orange);
    line-height: 1;
    display: block;
    margin-bottom: -1.5rem;
}

.spotlight-slides {
    position: relative;
    min-height: 9rem;
}

.spotlight-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transform: translateY(8px);
    transition: opacity 0.45s ease, transform 0.45s ease;
    pointer-events: none;
}

.spotlight-slide.is-active {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
    position: relative;
}

.spotlight-slide p {
    font-family: var(--font-display);
    font-size: clamp(1.25rem, 2.6vw, 1.7rem);
    color: #fff;
    font-weight: 500;
    margin-bottom: 1rem;
}

.spotlight-slide cite {
    font-family: var(--font-mono);
    font-size: 0.82rem;
    color: var(--orange);
    font-style: normal;
}

.spotlight-dots {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 2rem;
}

.spotlight-dots button {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(244, 241, 233, 0.25);
    transition: background 0.15s ease, transform 0.15s ease;
}

.spotlight-review-link {
    justify-content: center;
    margin-top: 2rem;
    cursor: pointer;
}

.spotlight-dots button.is-active {
    background: var(--orange);
    transform: scale(1.25);
}

/* ===================================================================
   CTA BANNER
   =================================================================== */
.cta-banner {
    background: var(--blacktop);
    border-top: 3px solid var(--orange);
}

.cta-inner {
    max-width: 740px;
    margin: 0 auto;
    padding: 4.5rem 1.5rem;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.cta-inner h2 {
    color: #fff;
}

.cta-sub {
    color: rgba(244, 241, 233, 0.65);
    max-width: 480px;
}

.cta-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
    margin-top: 1rem;
}

/* ===================================================================
   FOOTER
   =================================================================== */
.site-footer {
    background: var(--navy);
    color: rgba(244, 241, 233, 0.78);
}

.footer-inner {
    max-width: var(--maxw);
    margin: 0 auto;
    padding: 3.5rem 1.5rem 2rem;
    display: flex;
    flex-wrap: wrap;
    gap: 2.5rem;
}

.footer-col {
    flex: 1 1 200px;
}

.footer-brand {
    flex: 2 1 260px;
}

.footer-logo {
    color: #fff;
    font-size: 1.1rem;
}

.footer-brand p {
    margin: 0.8rem 0 1rem;
    font-size: 0.88rem;
    max-width: 320px;
}

.social-row {
    display: flex;
    gap: 0.7rem;
}

.social-row a {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: rgba(244, 241, 233, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.15s ease;
}

.social-row a svg {
    width: 16px;
    height: 16px;
}

.social-row a:hover {
    background: var(--orange);
}

.footer-col h4 {
    color: #fff;
    font-size: 0.9rem;
    margin-bottom: 1rem;
    font-family: var(--font-mono);
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.footer-col ul li {
    margin-bottom: 0.55rem;
    font-size: 0.88rem;
}

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

.footer-areas {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0 1rem;
}

.footer-col address {
    font-size: 0.88rem;
    margin-bottom: 0.7rem;
}

.footer-col p {
    font-size: 0.88rem;
    margin-bottom: 0.5rem;
}

.footer-bottom {
    border-top: 1px solid rgba(244, 241, 233, 0.12);
    text-align: center;
    padding: 1.2rem 1.5rem;
    font-size: 0.8rem;
}

/* ===================================================================
   SCROLL REVEAL
   =================================================================== */
.reveal {
    opacity: 0;
    transform: translateY(16px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.in-view {
    opacity: 1;
    transform: translateY(0);
}

/* ===================================================================
   RESPONSIVE
   =================================================================== */
@media (max-width: 860px) {
    .main-nav {
        position: fixed;
        top: 0;
        right: 0;
        height: 100vh;
        width: min(320px, 80vw);
        background: var(--navy);
        transform: translateX(100%);
        transition: transform 0.25s ease;
        padding: 5.5rem 1.5rem 2rem;
        justify-content: flex-start;
        z-index: 150;
        overflow-y: auto;
    }

    .main-nav.open {
        transform: translateX(0);
    }

    .main-nav > ul {
        flex-direction: column;
        gap: 0.3rem;
        width: 100%;
    }

    .main-nav > ul > li > a {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 0.6rem;
        padding: 0.75rem 0;
        border-bottom: 1px solid rgba(244, 241, 233, 0.15);
        color: #fff;
    }

    .dropdown-indicator {
        display: block;
        width: 18px;
        height: 18px;
        flex-shrink: 0;
        transition: transform 0.25s ease;
    }

    .has-dropdown.open > a .dropdown-indicator {
        transform: rotate(180deg);
    }

    .dropdown {
        position: static;
        opacity: 0;
        visibility: visible;
        transform: none;
        border-top: none;
        background: rgba(255, 255, 255, 0.04);
        display: block;
        width: 100%;
        min-width: 0;
        max-width: 100%;
        padding: 0 0 0 1rem;
        box-sizing: border-box;
        overflow: hidden;
        max-height: 0;
        transition: max-height 0.3s ease, opacity 0.25s ease, padding 0.3s ease;
    }

    .dropdown-columns {
        grid-template-columns: 1fr;
        min-width: 0;
        width: 100%;
    }

    .has-dropdown.open .dropdown {
        opacity: 1;
        padding: 0.4rem 0 0.6rem 1rem;
        /* Fallback in case JS doesn't run for any reason (e.g. a
           stale cached script) — content stays reachable either
           way. JS normally overrides this inline with the exact
           scrollHeight for a smoother, proportional animation. */
        max-height: 600px;
    }

    .header-phone {
        display: none;
    }

    .header-inner {
        padding: 0.75rem 1rem;
        gap: 0.75rem;
    }

    .header-actions {
        gap: 0.6rem;
    }

    .logo {
        flex-shrink: 1;
        min-width: 0;
    }

    .logo-text {
        min-width: 0;
        overflow: hidden;
    }

    .btn-sm {
        padding: 0.5rem 0.8rem;
        font-size: 0.74rem;
    }

    .nav-toggle {
        display: flex;
        position: relative;
        z-index: 200;
    }

    .hero-top {
        flex-direction: column;
        gap: 2rem;
    }

    .hero-form {
        flex: 1 1 auto;
        width: 100%;
    }
}

/* ===================================================================
   AREAS SERVED — city page two-column layout (content + map)
   =================================================================== */
.area-layout {
    display: flex;
    gap: 3rem;
    align-items: flex-start;
    margin-top: 1.5rem;
}

.area-content {
    flex: 1 1 56%;
}

.area-content p {
    color: var(--ink-soft);
    margin-bottom: 1rem;
}

.area-services-heading {
    margin-top: 2.2rem;
    font-size: 1.2rem;
}

.area-services-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.6rem 1.5rem;
    margin-top: 1rem;
    list-style: none;
}

.area-services-list a {
    color: var(--orange-dim);
    font-weight: 600;
    font-size: 0.95rem;
}

.area-services-list a:hover {
    text-decoration: underline;
}

.area-map-wrap {
    flex: 1 1 38%;
    position: sticky;
    top: 100px;
}

.area-map-wrap iframe {
    width: 100%;
    height: 380px;
    border: 0;
    border-top: 3px solid var(--orange);
    display: block;
}

@media (max-width: 860px) {
    .area-layout {
        flex-direction: column;
        gap: 2rem;
    }

    .area-map-wrap {
        position: static;
        width: 100%;
    }

    .area-services-list {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 600px) {
    .hero-top {
        padding: 2.5rem 1.25rem 0;
    }

    .section {
        padding: 3.5rem 0;
    }

    .quote-mark {
        font-size: 4rem;
    }

    .film-card {
        flex: 0 0 78%;
        aspect-ratio: 4 / 5;
    }
}

/* ===================================================================
   SERVICE PAGE COPY BLOCKS
   Used on /services/* pages: intro copy, checklist, FAQ accordion.
   =================================================================== */
.service-copy {
    max-width: 840px;
}

.service-copy h2 {
    font-size: clamp(1.6rem, 3vw, 2.1rem);
    text-transform: uppercase;
    margin-top: 2.75rem;
    margin-bottom: 0.9rem;
}

.service-copy h2:first-child {
    margin-top: 0;
}

.service-copy p {
    color: var(--ink-soft);
    margin-bottom: 1rem;
}

.service-copy p:last-child {
    margin-bottom: 0;
}

.service-copy strong {
    color: var(--ink);
}

.service-list {
    margin: 1.25rem 0;
    display: grid;
    gap: 0.85rem;
}

.service-list li {
    padding-left: 1.9rem;
    position: relative;
    color: var(--ink-soft);
}

.service-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.45rem;
    width: 0.9rem;
    height: 0.9rem;
    background: var(--orange);
    clip-path: polygon(0 0, 100% 0, 100% 70%, 70% 100%, 0 100%);
}

.service-list li strong {
    color: var(--navy);
}

.service-note {
    font-weight: 700;
    color: var(--navy);
    margin-top: 1.5rem;
}

/* FAQ accordion */
.faq {
    max-width: 840px;
    margin-top: 1.5rem;
}

.faq-item {
    background: var(--card);
    border: 1px solid var(--line);
    margin-bottom: 0.75rem;
}

.faq-question {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1.1rem 1.35rem;
    background: none;
    border: 0;
    text-align: left;
    font-family: var(--font-body);
    font-weight: 700;
    font-size: 1.02rem;
    color: var(--navy);
    cursor: pointer;
}

.faq-question:hover {
    color: var(--orange-dim);
}

.faq-icon {
    flex: 0 0 auto;
    width: 1.4rem;
    height: 1.4rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-mono);
    font-size: 1.1rem;
    color: var(--orange);
}

.faq-item.is-open .faq-icon {
    transform: rotate(45deg);
}

.faq-answer {
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows 0.25s ease;
}

.faq-item.is-open .faq-answer {
    grid-template-rows: 1fr;
}

.faq-answer-inner {
    overflow: hidden;
}

.faq-answer p {
    padding: 0 1.35rem 1.25rem;
    color: var(--ink-soft);
}

/* ===================================================================
   PROJECTS PAGE — flat photo grid + lightbox slideshow
   =================================================================== */
.photo-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 0.6rem;
    margin-top: 2.5rem;
}

.photo-thumb {
    position: relative;
    display: block;
    width: 100%;
    aspect-ratio: 1 / 1;
    border: 0;
    padding: 0;
    cursor: pointer;
    overflow: hidden;
    background: var(--charcoal);
}

.photo-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.35s ease, opacity 0.2s ease;
}

.photo-thumb::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(11, 12, 14, 0);
    transition: background 0.2s ease;
}

.photo-thumb:hover::after {
    background: rgba(11, 12, 14, 0.15);
}

.photo-thumb:hover img {
    transform: scale(1.08);
}

@media (max-width: 960px) {
    .photo-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (max-width: 600px) {
    .photo-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 0.4rem;
    }
}

/* Lightbox */
.lightbox {
    position: fixed;
    inset: 0;
    z-index: 1000;
    display: none;
    align-items: center;
    justify-content: center;
}

.lightbox.is-open {
    display: flex;
}

.lightbox-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(11, 12, 14, 0.92);
}

.lightbox-content {
    position: relative;
    z-index: 1;
    max-width: min(90vw, 1100px);
    max-height: 88vh;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.lightbox-image-wrap {
    position: relative;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lightbox-image {
    max-width: 100%;
    max-height: 76vh;
    object-fit: contain;
    background: var(--charcoal);
}

.lightbox-caption {
    margin-top: 1rem;
    text-align: center;
    color: #fff;
}

.lightbox-caption h3 {
    color: #fff;
    font-size: 1.2rem;
    text-transform: uppercase;
}

.lightbox-counter {
    font-family: var(--font-mono);
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.6);
    margin-top: 0.35rem;
}

.lightbox-close {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    z-index: 2;
    width: 2.75rem;
    height: 2.75rem;
    border: 1px solid rgba(255, 255, 255, 0.4);
    background: rgba(255, 255, 255, 0.05);
    color: #fff;
    font-size: 1.3rem;
    line-height: 1;
    cursor: pointer;
}

.lightbox-close:hover {
    background: var(--orange);
    border-color: var(--orange);
}

.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 2;
    width: 3rem;
    height: 3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, 0.4);
    background: rgba(255, 255, 255, 0.05);
    color: #fff;
    cursor: pointer;
}

.lightbox-nav:hover {
    background: var(--orange);
    border-color: var(--orange);
}

.lightbox-nav.prev {
    left: -1rem;
}

.lightbox-nav.next {
    right: -1rem;
}

.lightbox-nav svg {
    width: 1.4rem;
    height: 1.4rem;
}

@media (max-width: 760px) {
    .lightbox-content {
        max-width: 95vw;
    }

    .lightbox-nav.prev {
        left: 0.25rem;
    }

    .lightbox-nav.next {
        right: 0.25rem;
    }
}

/* ===================================================================
   CONTACT PAGE
   =================================================================== */
.contact-split {
    display: grid;
    grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
    gap: 3rem;
    margin-top: 2.75rem;
    align-items: start;
}

.contact-info h2 {
    font-size: clamp(1.5rem, 2.6vw, 1.9rem);
    text-transform: uppercase;
}

.contact-details {
    margin-top: 1.75rem;
    display: grid;
    gap: 1.4rem;
}

.contact-details li {
    display: flex;
    gap: 0.9rem;
    align-items: flex-start;
}

.contact-details .contact-icon {
    flex: 0 0 auto;
    width: 2.25rem;
    height: 2.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--navy);
    color: #fff;
}

.contact-details .contact-icon svg {
    width: 1.05rem;
    height: 1.05rem;
}

.contact-details a {
    color: var(--ink);
    transition: color 0.15s ease;
}

.contact-details a:hover {
    color: var(--orange-dim);
}

.contact-details .contact-detail-label {
    display: block;
    font-family: var(--font-mono);
    font-size: 0.7rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--ink-soft);
    margin-bottom: 0.2rem;
}

.contact-map-link {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    margin-top: 0.35rem;
    font-family: var(--font-mono);
    font-size: 0.76rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--orange-dim);
}

.contact-map-link svg {
    width: 0.85rem;
    height: 0.85rem;
}

.contact-map-link:hover {
    color: var(--orange);
}

.contact-info .social-row {
    margin-top: 2rem;
}

.contact-form {
    background: var(--navy);
    border-top: 3px solid var(--orange);
    padding: 2.25rem 2rem 2rem;
    display: flex;
    flex-direction: column;
    gap: 1.1rem;
    clip-path: polygon(0 0, 100% 0, 100% calc(100% - 22px), calc(100% - 22px) 100%, 0 100%);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.25);
}

.contact-form h3 {
    color: #fff;
    font-size: clamp(1.5rem, 2.8vw, 1.9rem);
    text-transform: uppercase;
}

.contact-form .form-field textarea {
    font-family: var(--font-body);
    font-size: 0.92rem;
    color: #fff;
    padding: 0.65rem 0.7rem;
    background: rgba(14, 34, 56, 0.82);
    border: 1px solid rgba(255, 255, 255, 0.22);
    resize: vertical;
    min-height: 8rem;
}

.contact-form .form-field textarea:focus {
    border-color: var(--orange);
    outline: none;
}

@media (max-width: 900px) {
    .contact-split {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
}

/* ===================================================================
   ERROR PAGES (404 / 500)
   =================================================================== */
.error-page {
    min-height: 60vh;
    display: flex;
    align-items: center;
    padding: 4rem 0;
}

.error-code {
    font-family: var(--font-display);
    font-weight: 800;
    font-size: clamp(5rem, 14vw, 9rem);
    line-height: 0.9;
    color: var(--navy);
    letter-spacing: 0.01em;
}

.error-page .section-lead {
    max-width: 560px;
}

.error-links {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem 1.75rem;
    margin-top: 2rem;
}

.error-links a {
    font-family: var(--font-mono);
    font-size: 0.82rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--ink-soft);
}

.error-links a:hover {
    color: var(--orange-dim);
}

/* ===================================================================
   LEAVE A REVIEW MODAL
   =================================================================== */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(10, 20, 32, 0.72);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
    z-index: 1000;
}

.modal-overlay[hidden] {
    display: none;
}

.modal {
    position: relative;
    width: 100%;
    max-width: 460px;
    max-height: calc(100vh - 3rem);
    overflow-y: auto;
    background: var(--navy);
    border-top: 3px solid var(--orange);
    padding: 2.25rem 2rem;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.45);
}

.modal h3 {
    color: #fff;
    font-size: 1.3rem;
    text-transform: uppercase;
    margin-bottom: 0.5rem;
}

.modal-sub {
    color: rgba(255, 255, 255, 0.65);
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
}

.modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.6);
    background: transparent;
    border: 0;
}

.modal-close:hover {
    color: #fff;
}

.modal-close svg {
    width: 18px;
    height: 18px;
}

.modal .form-field {
    margin-bottom: 1.1rem;
}

.modal .form-field textarea {
    font-family: var(--font-body);
    font-size: 0.92rem;
    color: #fff;
    padding: 0.65rem 0.7rem;
    background: rgba(14, 34, 56, 0.82);
    border: 1px solid rgba(255, 255, 255, 0.22);
    resize: vertical;
}

.modal .form-field textarea:focus {
    border-color: var(--orange);
}

.form-field-optional {
    text-transform: none;
    letter-spacing: 0;
    color: rgba(255, 255, 255, 0.4);
}

body.modal-open {
    overflow: hidden;
}