/* ============================================================
   VOLTLINE ELECTRICAL — Trade-bold concept design
   Apex Trade Marketing portfolio piece.
   Electric blue + safety yellow. Bold, confident, energetic.
   ============================================================ */

/* ---------- Reset + Base ---------- */
*,*::before,*::after { margin:0; padding:0; box-sizing:border-box; }
html { scroll-behavior:smooth; -webkit-font-smoothing:antialiased; -moz-osx-font-smoothing:grayscale; }
body {
    font-family:'Inter',-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;
    line-height:1.5;
    min-height:100vh;
    overflow-x:hidden;
    background:#F2F5F9;
    color:#1F2937;
}
img,video { display:block; max-width:100%; height:auto; }
a { text-decoration:none; color:inherit; }
button { font-family:inherit; cursor:pointer; border:none; background:none; }

/* ---------- Tokens — Voltline trade palette ----------
   Variable names preserved so the design system continues to work,
   only the values shift. */
:root {
    --brand-blue:    #0066FF;   /* Electric blue primary */
    --brand-deep:    #0048CC;   /* Electric blue deep */
    --brand-navy:    #1F2937;   /* Charcoal — body & dark UI */
    --brand-aqua:    #9BC2FF;   /* Pale blue */
    --brand-orange:  #F5C400;   /* Safety yellow accent */
    --brand-orange-2:#CC9F00;   /* Amber deep */
    --foam-light:    #F2F5F9;   /* Light blue-grey background */
    --grey:          #6B7280;

    --fs-hero:    clamp(48px, 8vw, 124px);
    --fs-lead:    clamp(17px, 1.4vw, 21px);

    --glass-blur: blur(22px) saturate(180%);

    --ease-fluid: cubic-bezier(0.22, 1, 0.36, 1);
    --ease-soft:  cubic-bezier(0.4, 0, 0.2, 1);
}

/* ============================================================
   TWO-STATE NAV
   • Default (top of page): solid white + dark navy logo + dark text
   • Scrolled (>80px): dark navy glassmorphic + white logo + white text
   ============================================================ */
.nav {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 100;
    height: 80px;
    padding: 0 clamp(20px, 4vw, 56px);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
    background: white;
    border-bottom: 1px solid rgba(0,102,255,0.12);
    box-shadow: 0 1px 0 rgba(0,102,255,0.04);
    transition: height 0.4s var(--ease-fluid),
                background 0.4s var(--ease-fluid),
                border-color 0.4s var(--ease-fluid),
                box-shadow 0.4s var(--ease-fluid),
                backdrop-filter 0.4s var(--ease-fluid);
}
/* SCROLLED — dark navy glassmorphic, slimmer slim-bar mode */
.nav.scrolled {
    height: 64px;                                /* slimmer when scrolled */
    background: rgba(31,41,55,0.85);
    backdrop-filter: blur(28px) saturate(180%);
    -webkit-backdrop-filter: blur(28px) saturate(180%);
    border-bottom: 1px solid rgba(255,255,255,0.08);
    box-shadow: 0 8px 30px rgba(31,41,55,0.30);
}
/* Logo follows the slim-bar — shrinks proportionally on scroll */
.nav.scrolled .nav-logo img { height: 50px; }

/* Logo — cross-fade between navy and white versions */
.nav-logo {
    display: flex;
    align-items: center;
    flex-shrink: 0;
    position: relative;
}
.nav-logo {
    padding: 0 8px;         /* breathing room around logo (PNG already has built-in margin) */
}
.nav-logo img {
    height: 64px;           /* visible text ~36px after subtracting built-in PNG padding */
    width: auto;
    max-width: 320px;       /* defensive cap, accommodates wider PNG with serif-safe margins */
    transition: height 0.4s var(--ease-fluid),
                opacity 0.4s var(--ease-fluid);
    display: block;
}
.nav-logo .logo-dark {
    /* Source PNG is already pre-coloured to #081d3a navy — no filter needed */
}
.nav-logo .logo-light {
    /* Pure white silhouette — cross-fades in on scroll */
    position: absolute;
    inset: 0;
    filter: brightness(0) invert(1) drop-shadow(0 1px 4px rgba(0,0,0,0.25));
    opacity: 0;
}
.nav.scrolled .nav-logo .logo-dark { opacity: 0; }
.nav.scrolled .nav-logo .logo-light { opacity: 1; }
.nav.scrolled .nav-logo img { height: 64px; }   /* uniform — no shrink on scroll */

/* Nav links — colour adapts to nav state */
.nav-links {
    display: flex;
    list-style: none;
    gap: 4px;
    align-items: center;
}
.nav-links a {
    display: inline-block;
    padding: 11px 18px;
    font-size: 14.5px;
    font-weight: 500;
    color: var(--brand-navy);
    border-radius: 100px;
    transition: color 0.35s var(--ease-soft),
                background 0.25s var(--ease-soft),
                padding 0.4s var(--ease-fluid),
                font-size 0.4s var(--ease-fluid);
}
.nav-links a:hover { color: var(--brand-deep); background: rgba(0,102,255,0.08); }
.nav-links a.active { color: var(--brand-deep); }
.nav.scrolled .nav-links a { color: rgba(255,255,255,0.86); }
.nav.scrolled .nav-links a:hover { color: white; background: rgba(255,255,255,0.10); }
.nav.scrolled .nav-links a.active { color: white; }

.nav-actions { display: flex; gap: 10px; align-items: center; flex-shrink: 0; }

/* ============================================================
   BUTTON SYSTEM — every button: hover, active, focus-visible
   ============================================================ */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    border-radius: 100px;
    font-family: inherit;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    transition: transform 0.35s var(--ease-fluid),
                background 0.3s var(--ease-soft),
                box-shadow 0.3s var(--ease-soft),
                border-color 0.3s var(--ease-soft),
                color 0.3s var(--ease-soft);
    isolation: isolate;
    user-select: none;
    -webkit-tap-highlight-color: transparent;
}
.btn:focus-visible {
    outline: 3px solid rgba(0,102,255,0.45);
    outline-offset: 3px;
}
.btn:active { transform: translateY(0) scale(0.98); transition-duration: 0.1s; }
.btn svg { flex-shrink: 0; transition: transform 0.4s var(--ease-fluid), fill 0.3s var(--ease-soft); }

/* Nav: phone — icon and number physically swap positions on hover */
.btn-phone {
    /* Fixed footprint so absolute swap geometry stays predictable */
    width: 178px;
    height: 48px;
    padding: 0;            /* children are absolute-positioned */
    color: var(--brand-navy);
    font-size: 13.5px;
    font-weight: 600;
    border: none;          /* using inset box-shadow instead so it doesn't take up layout space */
    box-shadow: inset 0 0 0 1px rgba(0,102,255,0.22);
    background: transparent;
    overflow: hidden;
    position: relative;
    transition: transform 0.4s var(--ease-fluid),
                color 0.5s var(--ease-soft),
                box-shadow 0.4s var(--ease-soft),
                width 0.4s var(--ease-fluid),
                height 0.4s var(--ease-fluid);
}
/* Background fill — fades in beneath the swapping elements on hover */
.btn-phone::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: linear-gradient(135deg, var(--brand-blue) 0%, var(--brand-deep) 100%);
    opacity: 0;
    transition: opacity 0.55s var(--ease-fluid);
    z-index: 0;
}
.btn-phone:hover {
    color: white;
    transform: translateY(-2px);
    /* Inner outline + outer drop-shadow combined */
    box-shadow: inset 0 0 0 1px rgba(0,72,204,0.55), 0 8px 22px rgba(0,72,204,0.32);
}
.btn-phone:hover::before { opacity: 1; }

/* Phone icon — absolute position, slides from LEFT → RIGHT on hover */
.btn-phone .phone-icon {
    position: absolute;
    top: 50%;
    left: 6px;
    width: 34px; height: 34px;
    margin-top: -17px;     /* vertical centre without translateY (so we can compose translateY at hover) */
    border-radius: 50%;
    background: linear-gradient(135deg, var(--brand-blue), var(--brand-deep));
    display: flex; align-items: center; justify-content: center;
    box-shadow: 0 3px 10px rgba(0,102,255,0.4);
    transition: left 0.55s var(--ease-fluid),
                transform 0.55s var(--ease-fluid),
                background 0.45s var(--ease-soft),
                box-shadow 0.45s var(--ease-soft);
    z-index: 2;
}
.btn-phone:hover .phone-icon {
    left: calc(100% - 40px);   /* slide to the right edge — works at any button width */
    transform: rotate(-12deg);
    background: white;
    box-shadow: 0 3px 12px rgba(255,255,255,0.45);
}
.btn-phone .phone-icon svg { width: 14px; height: 14px; fill: white; transition: fill 0.45s var(--ease-soft); }
.btn-phone:hover .phone-icon svg { fill: var(--brand-deep); }

/* Phone number — absolute position, slides from RIGHT → LEFT on hover */
.btn-phone .phone-text {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    left: 46px;            /* default: just to the right of the icon */
    white-space: nowrap;
    transition: left 0.55s var(--ease-fluid), color 0.5s var(--ease-soft);
    z-index: 2;
}
.btn-phone:hover .phone-text {
    left: 12px;            /* slide to the left edge */
}

/* Phone button on scrolled (dark glass) nav */
.nav.scrolled .btn-phone {
    color: rgba(255,255,255,0.92);
    box-shadow: inset 0 0 0 1px rgba(255,255,255,0.22);
    background: rgba(255,255,255,0.04);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}
.nav.scrolled .btn-phone:hover {
    color: white;
    /* Outline gone — gradient fills cleanly to the pill edge */
    box-shadow: 0 8px 22px rgba(0,102,255,0.4);
}
.nav.scrolled .btn-phone .phone-icon { box-shadow: 0 3px 12px rgba(0,102,255,0.55); }

/* Enquire pill */
/* Enquire pill */
.btn-quote {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 22px;
    background: linear-gradient(135deg, var(--brand-blue) 0%, var(--brand-deep) 100%);
    color: white;
    font-size: 13.5px;
    font-weight: 700;
    border-radius: 100px;
    box-shadow: 0 4px 14px rgba(0,72,204,0.35), inset 0 1px 0 rgba(255,255,255,0.22);
    position: relative;
    isolation: isolate;
    overflow: hidden;
    transition: transform 0.3s var(--ease-fluid),
                box-shadow 0.4s var(--ease-soft),
                color 0.3s var(--ease-soft);
}
/* Gold gradient overlay revealed on hover via opacity (single transition) */
.btn-quote::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: linear-gradient(135deg, var(--brand-orange) 0%, var(--brand-orange-2) 100%);
    opacity: 0;
    transition: opacity 0.4s var(--ease-fluid);
    z-index: -1;
}
.btn-quote:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 24px rgba(245,196,0,0.45), inset 0 1px 0 rgba(255,255,255,0.32);
}
.btn-quote:hover::before { opacity: 1; }

.btn-quote .quote-icon {
    width: 18px; height: 18px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: transform 0.3s var(--ease-fluid);
}
.btn-quote .quote-icon svg {
    width: 18px; height: 18px;
    stroke: white;
    transition: stroke 0.3s var(--ease-soft);
}
.btn-quote:hover .quote-icon { transform: translateX(3px); }

.btn-quote .quote-text {
    color: inherit;
    line-height: 1;
}

/* Mobile nav toggle — adapts to two states + animated burger→X */
.nav-toggle {
    display: none;
    width: 44px; height: 44px;
    border-radius: 50%;
    background: rgba(0,102,255,0.08);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 4px;
    transition: background 0.25s;
    position: relative;
    z-index: 1001;             /* sits above the slide-out panel */
}
.nav-toggle:hover { background: rgba(0,102,255,0.16); }
.nav-toggle span {
    display: block;
    width: 20px;
    height: 2px;
    background: var(--brand-navy);
    border-radius: 2px;
    transition: transform 0.35s var(--ease-fluid),
                opacity 0.25s var(--ease-soft),
                background 0.35s var(--ease-soft);
}
.nav.scrolled .nav-toggle { background: rgba(255,255,255,0.10); }
.nav.scrolled .nav-toggle:hover { background: rgba(255,255,255,0.18); }
.nav.scrolled .nav-toggle span { background: white; }

/* Burger → X transformation when open */
.nav-toggle.is-open { background: rgba(255,255,255,0.10); }
.nav-toggle.is-open span { background: white; }
.nav-toggle.is-open span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-toggle.is-open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-toggle.is-open span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* Mobile menu backdrop — semi-transparent overlay behind the slide-out */
.nav-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(31, 41, 55, 0.55);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.35s var(--ease-soft);
    z-index: 998;
}
body.menu-open .nav-backdrop {
    opacity: 1;
    pointer-events: auto;
}
body.menu-open {
    overflow: hidden;          /* lock scroll while menu open */
}

/* ============================================================
   CONTAINER-LEVEL HOVER (scrolled nav only)
   • Hovering the nav restores it to the SAME spacing as the
     original white nav at top of page — no overshoot.
   • Individual button :hover does NOT translate up in scrolled.
   • Default white nav keeps its existing button-lift behaviour.
   ============================================================ */
/* Scrolled nav grows back on hover — slim → full bar (smaller → bigger).
   Reveals the brand more confidently when the user reaches for the menu. */
.nav.scrolled:hover {
    height: 80px;                              /* expands back to default size */
    background: rgba(31,41,55,0.92);           /* slightly more present */
    box-shadow: 0 12px 32px rgba(31,41,55,0.35);
}
.nav.scrolled:hover .nav-logo img { height: 64px; }   /* logo grows back to full */

/* Individual button :hover in SCROLLED state — no translateY lift.
   The colour / background / fill effects still trigger from the per-button rules. */
.nav.scrolled .btn-phone:hover { transform: none; }
.nav.scrolled .btn-quote:hover { transform: none; }

/* ============================================================
   HERO — calm, single focal point, left-aligned
   ============================================================ */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    isolation: isolate;
    padding-top: 80px;
}

/* Background video — full bleed */
.hero-video {
    position: absolute;
    inset: 0;
    width: 100%; height: 100%;
    object-fit: cover;
    z-index: 1;
    will-change: transform;
}

/* Single overlay — darker on the left where the text lives,
   lighter on the right so the architecture shows through */
.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        linear-gradient(95deg,
            rgba(31,41,55,0.72) 0%,
            rgba(31,41,55,0.55) 30%,
            rgba(31,41,55,0.20) 60%,
            rgba(31,41,55,0.10) 100%),
        linear-gradient(180deg,
            rgba(31,41,55,0.10) 0%,
            transparent 30%,
            transparent 70%,
            rgba(31,41,55,0.25) 100%);
    z-index: 2;
    pointer-events: none;
}

/* Hero content — left-aligned, half-width on desktop */
.hero-content {
    position: relative;
    z-index: 5;
    width: 100%;
    max-width: 1320px;
    margin: 0 auto;
    padding: 80px clamp(20px, 4vw, 56px) 160px;
    display: flex;
    align-items: center;
    will-change: transform;
}
.hero-text {
    max-width: 820px;
    width: 100%;
    opacity: 0;
    animation: fade-up 1.2s var(--ease-fluid) 0.2s forwards;
}

/* Pre-headline kicker */
.kicker {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 28px;
    font-size: 12px;
    font-weight: 700;
    color: rgba(255,255,255,0.92);
    letter-spacing: 3.5px;
    text-transform: uppercase;
}
.kicker::before {
    content: '';
    width: 36px;
    height: 1px;
    background: rgba(255,255,255,0.6);
}

/* Hero headline — confident, restrained */
.hero-headline {
    font-size: var(--fs-hero);
    font-weight: 800;
    line-height: 0.98;
    letter-spacing: -0.028em;
    color: white;
    margin-bottom: 28px;
    text-shadow: 0 2px 30px rgba(31,41,55,0.4);
    text-wrap: balance;            /* modern browsers — distributes wrap evenly */
    -webkit-text-wrap: balance;
}
.hero-headline .highlight {
    background: linear-gradient(110deg, #B2EBF2 0%, #9BC2FF 50%, #ffffff 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    background-size: 220% auto;
    animation: shimmer 8s ease-in-out infinite;
}
@keyframes shimmer {
    0%, 100% { background-position: 0% center; }
    50%      { background-position: 100% center; }
}

.hero-sub {
    font-size: var(--fs-lead);
    color: rgba(255,255,255,0.92);
    max-width: 560px;
    margin-bottom: 44px;
    line-height: 1.55;
    text-shadow: 0 2px 14px rgba(31,41,55,0.3);
}

/* CTA group */
.cta-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 18px;
}

/* Primary CTA — orange icon + glass pill text */
.btn-primary {
    padding: 8px 32px 8px 8px;
    background: rgba(255,255,255,0.10);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255,255,255,0.32);
    color: white;
    font-weight: 700;
    font-size: 16px;
    text-shadow: 0 1px 3px rgba(31,41,55,0.4);
}
.btn-primary .btn-icon {
    width: 60px; height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--brand-orange) 0%, var(--brand-orange-2) 100%);
    display: flex; align-items: center; justify-content: center;
    box-shadow: 0 6px 20px rgba(245,196,0,0.5), inset 0 2px 0 rgba(255,255,255,0.3);
    transition: transform 0.5s var(--ease-fluid);
}
.btn-primary .btn-icon svg {
    width: 22px; height: 22px;
    fill: none; stroke: white; stroke-width: 2.5;
    stroke-linecap: round; stroke-linejoin: round;
    transition: transform 0.5s var(--ease-fluid);
}
.btn-primary:hover {
    background: rgba(255,255,255,0.20);
    border-color: rgba(255,255,255,0.55);
    transform: translateY(-3px);
}
.btn-primary:hover .btn-icon { transform: rotate(-12deg); }
.btn-primary:hover .btn-icon svg { transform: translateX(2px); }

/* Secondary CTA */
.btn-secondary {
    padding: 18px 28px;
    color: white;
    font-weight: 600;
    font-size: 15px;
    border: 1px solid rgba(255,255,255,0.35);
    background: rgba(255,255,255,0.06);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    text-shadow: 0 1px 3px rgba(31,41,55,0.35);
}
.btn-secondary:hover {
    background: rgba(255,255,255,0.18);
    border-color: rgba(255,255,255,0.6);
    transform: translateY(-2px);
}
.btn-secondary svg { width: 16px; height: 16px; fill: currentColor; opacity: 0.95; }

/* Single elegant wave at the bottom of the hero (one layer, not three) */
.hero-wave {
    position: absolute;
    bottom: -1px;
    left: 0; right: 0;
    z-index: 4;
    pointer-events: none;
    line-height: 0;
}
.hero-wave svg { display: block; width: 100%; height: 80px; }

/* ============================================================
   TRUST CARDS — vertical layout, sit on the wave like a shelf
   ============================================================ */
.trust-strip {
    background: transparent;
    padding: 0 clamp(20px, 4vw, 56px) 80px;
    /* Pull up so cards straddle the hero's wave divider */
    margin-top: -110px;
    position: relative;
    z-index: 6;
    border: none;
}
.trust-strip-inner {
    max-width: 1320px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.trust-mark {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    padding: 32px 28px;
    border-radius: 22px;
    /* Dark navy glass — works over dark hero AND light section below */
    background: rgba(31,41,55,0.40);
    backdrop-filter: blur(32px) saturate(180%);
    -webkit-backdrop-filter: blur(32px) saturate(180%);
    border: 1px solid rgba(255,255,255,0.18);
    box-shadow:
        0 22px 50px rgba(31,41,55,0.34),
        inset 0 1px 0 rgba(255,255,255,0.22),
        inset 0 -1px 0 rgba(255,255,255,0.06);
    transition: transform 0.4s var(--ease-fluid),
                box-shadow 0.4s var(--ease-fluid),
                border-color 0.4s var(--ease-fluid),
                background 0.4s var(--ease-fluid);
    position: relative;
    overflow: hidden;
}
/* Top-edge highlight sheen — the "polished glass" feel */
.trust-mark::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 55%;
    background: linear-gradient(180deg, rgba(255,255,255,0.12) 0%, transparent 100%);
    pointer-events: none;
}
.trust-mark:hover {
    transform: translateY(-5px);
    background: rgba(31,41,55,0.5);
    border-color: rgba(255,255,255,0.32);
    box-shadow:
        0 30px 60px rgba(31,41,55,0.42),
        inset 0 1px 0 rgba(255,255,255,0.32);
}

/* Top row: big number + small brand mark */
.trust-mark .trust-top {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
    z-index: 1;
    position: relative;
}
.trust-mark .trust-num {
    font-size: clamp(40px, 4.5vw, 60px);
    font-weight: 800;
    color: white;
    line-height: 0.95;
    letter-spacing: -0.03em;
    text-shadow: 0 2px 14px rgba(31,41,55,0.4);
}
.trust-mark .trust-brand {
    width: 40px; height: 40px;
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
}
.trust-mark .trust-brand svg {
    width: 100%; height: 100%;
    filter: drop-shadow(0 2px 6px rgba(0,0,0,0.18));
}
/* Solid-colour brand-mark variants for cards that don't have a logo (Hardie/Google) */
.trust-mark .trust-brand.brand-blue   svg { fill: #9BC2FF; filter: drop-shadow(0 0 10px rgba(155,194,255,0.5)); }
.trust-mark .trust-brand.brand-green  svg { fill: #4ADE80; filter: drop-shadow(0 0 10px rgba(74,222,128,0.5)); }
.trust-mark .trust-brand.brand-orange svg { fill: #F5C400; filter: drop-shadow(0 0 10px rgba(245,196,0,0.5)); }

/* Trust pill */
.trust-mark .trust-stars {
    display: flex;
    gap: 5px;
    z-index: 1;
    position: relative;
}
.trust-mark .trust-stars svg {
    width: 22px;
    height: 22px;
    fill: #FFD54F;
    filter: drop-shadow(0 1px 4px rgba(255,180,0,0.6));
    transition: transform 0.3s var(--ease-fluid);
}
.trust-mark:hover .trust-stars svg:nth-child(1) { transform: scale(1.12); }
.trust-mark:hover .trust-stars svg:nth-child(2) { transform: scale(1.12); transition-delay: 60ms; }
.trust-mark:hover .trust-stars svg:nth-child(3) { transform: scale(1.12); transition-delay: 120ms; }
.trust-mark:hover .trust-stars svg:nth-child(4) { transform: scale(1.12); transition-delay: 180ms; }
.trust-mark:hover .trust-stars svg:nth-child(5) { transform: scale(1.12); transition-delay: 240ms; }

/* Per-card icon-row colour variants */
.trust-mark .trust-stars--blue svg {
    fill: #9BC2FF;
    filter: drop-shadow(0 1px 3px rgba(0,102,255,0.55));
}
.trust-mark .trust-stars--orange svg {
    fill: #F5C400;
    filter: drop-shadow(0 1px 3px rgba(245,196,0,0.55));
}

/* Caps badge pill — for cards 2 & 4 in place of the icon row */
.trust-mark .trust-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 9px 16px;
    border-radius: 100px;
    font-size: 12px;
    font-weight: 800;
    color: white;
    letter-spacing: 1.6px;
    text-transform: uppercase;
    line-height: 1;
    z-index: 1;
    position: relative;
    align-self: flex-start;
    transition: transform 0.4s var(--ease-fluid), box-shadow 0.4s var(--ease-fluid);
}
.trust-mark .trust-pill svg {
    width: 13px; height: 13px;
    fill: currentColor;
    filter: drop-shadow(0 1px 2px rgba(0,0,0,0.35));
}
.trust-mark:hover .trust-pill { transform: translateX(2px); }

.trust-mark .trust-pill--blue {
    background: linear-gradient(135deg, rgba(155,194,255,0.32), rgba(0,102,255,0.18));
    border: 1px solid rgba(155,194,255,0.5);
    box-shadow:
        inset 0 1px 0 rgba(255,255,255,0.22),
        0 0 18px rgba(155,194,255,0.25);
}
.trust-mark .trust-pill--blue svg { color: #B3E5FC; }

.trust-mark .trust-pill--orange {
    background: linear-gradient(135deg, rgba(245,196,0,0.32), rgba(204,159,0,0.18));
    border: 1px solid rgba(245,196,0,0.5);
    box-shadow:
        inset 0 1px 0 rgba(255,255,255,0.22),
        0 0 18px rgba(245,196,0,0.25);
}
.trust-mark .trust-pill--orange svg { color: #FFE0B2; }

/* Bottom label */
.trust-mark .trust-label {
    font-size: 14px;
    font-weight: 600;
    color: rgba(255,255,255,0.88);
    letter-spacing: 0.2px;
    text-shadow: 0 1px 4px rgba(31,41,55,0.3);
    z-index: 1;
    position: relative;
}

/* Spacer below trust */
.placeholder-section {
    min-height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(31,41,55,0.32);
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 3px;
    font-weight: 600;
    background: white;
}

/* ---------- Animation primitives ---------- */
@keyframes fade-up {
    from { opacity: 0; transform: translateY(28px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1100px) {
    .nav-links { display: none; }
    .nav-toggle { display: flex; }
}
@media (max-width: 720px) {
    .nav { height: 70px; padding: 0 18px; }
    .nav.scrolled { height: 58px; }
    .nav-logo { padding: 0 4px; }
    .nav-logo img { height: 50px; max-width: 240px; }
    .nav.scrolled .nav-logo img { height: 40px; }   /* mobile slim-bar logo */
    .btn-phone {
        width: 44px; height: 44px;
        padding: 0;
    }
    .btn-phone .phone-text { display: none; }
    .btn-phone .phone-icon {
        position: static;
        margin: 0;
        left: auto;
    }
    .btn-phone:hover .phone-icon {
        left: auto;
        transform: rotate(-12deg);
    }
    .btn-quote { display: none; }   /* lives in mobile menu instead */

    .hero-content { padding: 60px 18px 140px; }
    .hero-headline { font-size: clamp(40px, 12vw, 72px); }
    .cta-row { flex-direction: column; align-items: stretch; }
    .btn-primary, .btn-secondary { width: 100%; justify-content: center; }
    .btn-primary { padding: 6px 24px 6px 6px; font-size: 15px; }
    .btn-primary .btn-icon { width: 52px; height: 52px; }

    .trust-strip { padding: 36px 18px; }
    .trust-strip-inner { grid-template-columns: 1fr; gap: 12px; }
    .trust-mark { padding: 18px 18px; }

    /* ─── MOBILE OFF-CANVAS NAV PANEL ─────────────────────── */
    .nav-links {
        position: fixed;
        top: 0;
        right: 0;
        width: min(82vw, 380px);
        height: 100dvh;
        max-height: 100vh;
        flex-direction: column;
        align-items: stretch;
        justify-content: flex-start;
        gap: 0;
        padding: 96px 24px 32px;
        background: rgba(31, 41, 55, 0.96);
        backdrop-filter: blur(20px) saturate(180%);
        -webkit-backdrop-filter: blur(20px) saturate(180%);
        box-shadow: -20px 0 60px rgba(0,0,0,0.45);
        transform: translateX(100%);
        transition: transform 0.4s var(--ease-fluid);
        overflow-y: auto;
        z-index: 999;
    }
    .nav-links.show { transform: translateX(0); }

    .nav-links li {
        list-style: none;
        border-bottom: 1px solid rgba(255,255,255,0.08);
    }
    .nav-links li:last-child { border-bottom: none; }

    .nav-links a {
        color: rgba(255,255,255,0.92);
        font-size: 18px;
        font-weight: 600;
        padding: 18px 4px;
        display: block;
        border-radius: 0;
        background: transparent;
    }
    .nav-links a:hover,
    .nav-links a.active {
        color: var(--brand-aqua);
        background: transparent;
    }

    /* Dropdown — flatten into the panel rather than floating */
    .nav-has-dropdown > a { justify-content: space-between; }
    .nav-dropdown {
        position: static;
        transform: none;
        min-width: 0;
        opacity: 1;
        pointer-events: auto;
        background: transparent;
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
        box-shadow: none;
        padding: 0 0 12px 16px;
        margin-bottom: 8px;
    }
    .nav-dropdown a {
        font-size: 15.5px;
        font-weight: 500;
        color: rgba(255,255,255,0.72);
        padding: 10px 4px;
    }
    .nav-dropdown a:hover {
        color: white;
        background: transparent;
    }

    /* Decorative caret — flip when parent expanded for visual coherence */
    .nav-links.show .nav-has-dropdown > a .caret { transform: rotate(180deg); }

    /* Mobile menu CTA card — appears at the bottom of the panel */
    .nav-links::after {
        content: '';
        flex: 1;
    }
}
@media (max-width: 380px) {
    .nav-links { width: 92vw; padding-left: 18px; padding-right: 18px; }
}
@media (max-width: 1100px) and (min-width: 721px) {
    .trust-strip-inner { grid-template-columns: repeat(2, 1fr); }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    .hero-video { display: none; }
    .hero-text { opacity: 1; transform: none; }
}

/* ============================================================
   SECTION FOUNDATIONS
   ============================================================ */
.section { padding: clamp(80px, 10vw, 140px) clamp(20px, 4vw, 56px); }
.section-inner { max-width: 1320px; margin: 0 auto; }
.section-label {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    font-size: 11.5px;
    font-weight: 700;
    color: var(--brand-blue);
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-bottom: 22px;
}
.section-label::before {
    content: '';
    width: 24px; height: 1px;
    background: var(--brand-blue);
}
.section-headline {
    font-size: clamp(34px, 4.6vw, 64px);
    font-weight: 800;
    color: var(--brand-navy);
    line-height: 1.05;
    letter-spacing: -0.02em;
    max-width: 920px;
    margin-bottom: 20px;
}
.section-headline .highlight {
    background: linear-gradient(110deg, var(--brand-blue) 0%, var(--brand-aqua) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}
.section-sub {
    font-size: clamp(16px, 1.3vw, 19px);
    color: var(--grey);
    max-width: 720px;
    line-height: 1.6;
    margin-bottom: 56px;
}

/* ============================================================
   "RECENTLY ON THE BOOK" — portfolio cards
   ============================================================ */
.recent { background: linear-gradient(180deg, white 0%, #F8FBFF 100%); }
.recent-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.recent-card {
    border-radius: 22px;
    overflow: hidden;
    background: white;
    box-shadow: 0 4px 24px rgba(31,41,55,0.08);
    border: 1px solid rgba(0,102,255,0.1);
    transition: transform 0.4s var(--ease-fluid), box-shadow 0.4s var(--ease-fluid);
}
.recent-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 48px rgba(31,41,55,0.16);
}
.recent-card-img {
    aspect-ratio: 4/3;
    background-size: cover;
    background-position: center;
    position: relative;
}
.recent-card-img::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 60%, rgba(31,41,55,0.18) 100%);
}
.recent-card-suburb {
    position: absolute;
    top: 16px; left: 16px;
    padding: 6px 14px;
    background: rgba(255,255,255,0.92);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 100px;
    font-size: 11.5px;
    font-weight: 700;
    color: var(--brand-navy);
    letter-spacing: 1.4px;
    text-transform: uppercase;
    z-index: 2;
}
/* "Before · After" badge in the opposite corner */
.recent-card-tag {
    position: absolute;
    top: 16px; right: 16px;
    padding: 6px 12px;
    background: rgba(31,41,55,0.62);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.22);
    border-radius: 100px;
    font-size: 11px;
    font-weight: 700;
    color: white;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    z-index: 2;
    box-shadow: 0 4px 12px rgba(31,41,55,0.25);
}
.recent-card-body { padding: 22px 24px 26px; }
.recent-card-service {
    font-size: 11px;
    color: var(--brand-blue);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 700;
    margin-bottom: 8px;
}
.recent-card-detail {
    font-size: 19px;
    font-weight: 700;
    color: var(--brand-navy);
    line-height: 1.3;
    margin-bottom: 12px;
}
.recent-card-meta {
    font-size: 13px;
    color: var(--grey);
    display: flex;
    gap: 10px;
}
.recent-card-meta::after { content: ''; }
.recent-foot {
    margin-top: 56px;
    text-align: center;
    color: var(--grey);
    font-size: 14px;
    font-style: italic;
}

/* ============================================================
   "THREE THINGS DONE PROPERLY" — service cards
   ============================================================ */
.three-things { background: white; }
.things-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}
.thing {
    padding: 36px 32px;
    border-radius: 22px;
    background: linear-gradient(180deg, #F8FBFF 0%, white 100%);
    border: 1px solid rgba(0,102,255,0.16);
    box-shadow: 0 2px 14px rgba(31,41,55,0.04);
    transition: transform 0.4s var(--ease-fluid), border-color 0.4s, box-shadow 0.4s;
    display: flex;
    flex-direction: column;
}
.thing:hover {
    transform: translateY(-5px);
    border-color: rgba(0,102,255,0.45);
    box-shadow: 0 18px 38px rgba(0,102,255,0.12);
}
.thing-num {
    font-size: 11px;
    color: var(--brand-blue);
    letter-spacing: 2.5px;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 10px;
}
.thing-title {
    font-size: 26px;
    font-weight: 800;
    color: var(--brand-navy);
    margin-bottom: 16px;
    letter-spacing: -0.01em;
}
.thing-block {
    margin-top: 18px;
    padding-top: 18px;
    border-top: 1px solid rgba(0,102,255,0.14);
}
.thing-block:first-of-type { margin-top: 0; padding-top: 0; border-top: none; }
.thing-block-label {
    font-size: 10.5px;
    font-weight: 700;
    color: var(--brand-blue);
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 8px;
}
.thing-block p {
    font-size: 15px;
    line-height: 1.55;
    color: #3a4759;
    margin: 0;
}

/* ============================================================
   "WHY MOST OPERATORS GET THIS WRONG"
   ============================================================ */
.why-wrong {
    background: linear-gradient(180deg, #1F2937 0%, #2C3E2A 100%);
    color: white;
    position: relative;
    overflow: hidden;
}
.why-wrong::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 60% 60% at 80% 30%, rgba(0,102,255,0.22) 0%, transparent 60%),
        radial-gradient(ellipse 40% 50% at 20% 80%, rgba(0,188,212,0.18) 0%, transparent 60%);
    pointer-events: none;
}
.why-wrong .section-inner { position: relative; z-index: 1; }
.why-wrong .section-label { color: var(--brand-aqua); }
.why-wrong .section-label::before { background: var(--brand-aqua); }
.why-wrong .section-headline { color: white; }
.why-wrong .section-headline .highlight {
    background: linear-gradient(110deg, var(--brand-aqua) 0%, white 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}
.why-wrong .section-sub { color: rgba(255,255,255,0.78); max-width: 760px; }
.why-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}
.why-card {
    padding: 32px 28px;
    border-radius: 20px;
    background: rgba(255,255,255,0.05);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255,255,255,0.12);
    transition: background 0.3s, border-color 0.3s, transform 0.3s var(--ease-fluid);
}
.why-card:hover {
    background: rgba(255,255,255,0.1);
    border-color: rgba(155,194,255,0.4);
    transform: translateY(-3px);
}
.why-card .why-num {
    font-size: 56px;
    font-weight: 900;
    line-height: 1;
    color: rgba(155,194,255,0.7);
    letter-spacing: -0.04em;
    margin-bottom: 18px;
    font-family: 'Inter';
}
.why-card .why-title {
    font-size: 21px;
    font-weight: 700;
    color: white;
    line-height: 1.25;
    margin-bottom: 14px;
}
.why-card p {
    font-size: 15px;
    color: rgba(255,255,255,0.78);
    line-height: 1.65;
    margin: 0;
}

/* studio principle cards */
.studio-detail { background: white; }
.mfr-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 22px;
}
.mfr {
    padding: 32px 32px;
    border-radius: 22px;
    background: linear-gradient(180deg, #F8FBFF 0%, white 100%);
    border: 1px solid rgba(0,102,255,0.18);
    transition: transform 0.4s var(--ease-fluid), box-shadow 0.4s, border-color 0.4s;
    display: flex;
    flex-direction: column;
}
.mfr:hover {
    transform: translateY(-3px);
    border-color: rgba(0,102,255,0.45);
    box-shadow: 0 12px 32px rgba(0,102,255,0.12);
}
.mfr-mark {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 18px;
}
.mfr-mark-mono {
    width: 44px; height: 44px;
    border-radius: 11px;
    background: linear-gradient(135deg, var(--brand-blue), var(--brand-deep));
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 900;
    font-size: 13px;
    letter-spacing: -0.5px;
    box-shadow: 0 4px 14px rgba(0,102,255,0.3);
}
.mfr-mark-name {
    font-size: 15px;
    font-weight: 700;
    color: var(--brand-navy);
    letter-spacing: 0.2px;
}
.mfr-quote {
    font-size: 17px;
    line-height: 1.55;
    color: var(--brand-navy);
    margin-bottom: 16px;
    font-weight: 500;
    quotes: '\201C' '\201D';
}
.mfr-quote::before { content: open-quote; color: var(--brand-blue); margin-right: 2px; font-weight: 700; }
.mfr-quote::after  { content: close-quote; color: var(--brand-blue); margin-left: 2px; font-weight: 700; }
.mfr-source {
    font-size: 13px;
    color: var(--grey);
    margin-top: auto;
    padding-top: 14px;
    border-top: 1px solid rgba(0,102,255,0.12);
}

/* ============================================================
   "WHAT HAPPENS WHEN YOU BOOK US" — timeline
   ============================================================ */
.process { background: linear-gradient(180deg, #F2F5F9 0%, white 100%); }
.timeline {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
    position: relative;
}
.timeline::before {
    content: '';
    position: absolute;
    top: 32px;
    left: 12.5%;
    right: 12.5%;
    height: 2px;
    background: repeating-linear-gradient(
        90deg,
        rgba(0,102,255,0.4) 0,
        rgba(0,102,255,0.4) 6px,
        transparent 6px,
        transparent 12px
    );
    z-index: 0;
}
.tl-step {
    position: relative;
    z-index: 1;
    padding-top: 80px;
    text-align: center;
}
.tl-step .num {
    position: absolute;
    top: 0; left: 50%;
    transform: translateX(-50%);
    width: 64px; height: 64px;
    border-radius: 50%;
    background: white;
    border: 4px solid var(--brand-blue);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 900;
    font-size: 22px;
    color: var(--brand-blue);
    box-shadow: 0 6px 18px rgba(0,102,255,0.25);
}
.tl-step .step-title {
    font-size: 17px;
    font-weight: 700;
    color: var(--brand-navy);
    margin-bottom: 10px;
}
.tl-step p {
    font-size: 14px;
    color: #3a4759;
    line-height: 1.6;
    margin: 0;
    max-width: 240px;
    margin-inline: auto;
}

/* ============================================================
   "WE STARTED THIS FOR A SPECIFIC REASON" — owners
   ============================================================ */
.owners {
    background: white;
    overflow: hidden;
}
.owners-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(40px, 6vw, 80px);
    align-items: center;
}
.owners-photo {
    position: relative;
    aspect-ratio: 4/5;
    border-radius: 24px;
    background-size: cover;
    background-position: center;
    box-shadow: 0 24px 56px rgba(31,41,55,0.18);
}
.owners-photo::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: linear-gradient(180deg, transparent 70%, rgba(31,41,55,0.25) 100%);
}
.owners-badge {
    position: absolute;
    bottom: 24px; left: 24px;
    padding: 10px 18px;
    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 100px;
    font-size: 12px;
    font-weight: 700;
    color: var(--brand-navy);
    letter-spacing: 1.6px;
    text-transform: uppercase;
    z-index: 1;
}
.owners-text .section-headline { font-size: clamp(30px, 3.6vw, 48px); }
.owners-copy {
    font-size: 17px;
    line-height: 1.75;
    color: #3a4759;
    margin-bottom: 18px;
}
.owners-copy:last-of-type { margin-bottom: 32px; }
.owners-sign {
    font-size: 15px;
    color: var(--brand-navy);
    font-weight: 600;
    line-height: 1.6;
}
.owners-sign small { display: block; color: var(--grey); font-weight: 500; font-size: 13px; margin-top: 4px; }

/* ============================================================
   "WHERE WE WORK" — suburb grid
   ============================================================ */
.areas {
    background: linear-gradient(180deg, #F2F5F9 0%, #E4EAF2 100%);
    position: relative;
    overflow: hidden;
}
.areas::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 60% 50% at 50% 100%, rgba(255,255,255,0.6) 0%, transparent 70%);
    pointer-events: none;
}
.areas .section-inner { position: relative; z-index: 1; }
.suburb-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
    gap: 10px;
    margin-top: 8px;
}
.suburb {
    padding: 18px 18px;
    background: rgba(255,255,255,0.7);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255,255,255,0.85);
    border-radius: 14px;
    transition: transform 0.3s var(--ease-fluid), background 0.3s, border-color 0.3s, box-shadow 0.3s;
}
.suburb:hover {
    transform: translateY(-2px);
    background: white;
    border-color: rgba(0,102,255,0.5);
    box-shadow: 0 8px 22px rgba(0,102,255,0.14);
}
.suburb.hq {
    background: linear-gradient(135deg, var(--brand-blue), var(--brand-deep));
    border-color: var(--brand-deep);
    color: white;
}
.suburb.hq .name { color: white; }
.suburb.hq .pc { color: rgba(255,255,255,0.75); }
.suburb.hq .tag { color: rgba(255,255,255,0.95); }
.suburb .name {
    font-size: 15px;
    font-weight: 700;
    color: var(--brand-navy);
    line-height: 1.2;
}
.suburb .pc {
    font-size: 12px;
    color: var(--grey);
    margin-top: 2px;
}
.suburb .tag {
    display: block;
    margin-top: 6px;
    font-size: 10px;
    color: var(--brand-blue);
    text-transform: uppercase;
    letter-spacing: 1.4px;
    font-weight: 700;
}
.areas-foot {
    margin-top: 40px;
    text-align: center;
    color: var(--grey);
    font-size: 14px;
}
.areas-foot a { color: var(--brand-blue); font-weight: 600; border-bottom: 1px solid rgba(0,102,255,0.4); }

/* ============================================================
   "WHAT BRISBANE HOMEOWNERS SAY" — testimonials
   ============================================================ */
.reviews { background: white; }
.review-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}
.review {
    padding: 30px 28px;
    border-radius: 20px;
    background: linear-gradient(180deg, #F8FBFF 0%, white 100%);
    border: 1px solid rgba(0,102,255,0.16);
    transition: transform 0.4s var(--ease-fluid), border-color 0.4s, box-shadow 0.4s;
    display: flex;
    flex-direction: column;
    gap: 16px;
}
.review:hover {
    transform: translateY(-4px);
    border-color: rgba(0,102,255,0.4);
    box-shadow: 0 16px 36px rgba(0,102,255,0.12);
}
.review .stars { display: flex; gap: 2px; color: #FFB400; }
.review .stars svg { width: 16px; height: 16px; fill: currentColor; }
.review-quote {
    font-size: 16px;
    line-height: 1.6;
    color: #3a4759;
    flex: 1;
}
.review-meta {
    display: flex;
    align-items: center;
    gap: 12px;
    padding-top: 14px;
    border-top: 1px solid rgba(0,102,255,0.12);
}
.review-avatar {
    width: 38px; height: 38px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--brand-aqua), var(--brand-blue));
    color: white;
    display: flex; align-items: center; justify-content: center;
    font-weight: 800;
    font-size: 13px;
    flex-shrink: 0;
}
.review-name {
    font-size: 14px;
    font-weight: 700;
    color: var(--brand-navy);
    line-height: 1.2;
}
.review-detail {
    font-size: 12px;
    color: var(--grey);
    margin-top: 2px;
}
.reviews-foot {
    margin-top: 48px;
    text-align: center;
    font-size: 14px;
    color: var(--grey);
}
.reviews-foot a { color: var(--brand-blue); font-weight: 600; border-bottom: 1px solid rgba(0,102,255,0.4); }

/* Project enquiry section */
.contact {
    background: linear-gradient(165deg, #1F2937 0%, #0048CC 100%);
    color: white;
    position: relative;
    overflow: hidden;
}
.contact::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 60% 80% at 20% 20%, rgba(155,194,255,0.22) 0%, transparent 60%),
        radial-gradient(ellipse 60% 60% at 90% 80%, rgba(0,188,212,0.18) 0%, transparent 60%);
    pointer-events: none;
}
.contact .section-inner { position: relative; z-index: 1; }
.contact .section-label { color: var(--brand-aqua); }
.contact .section-label::before { background: var(--brand-aqua); }
.contact .section-headline { color: white; }
.contact .section-headline .highlight {
    background: linear-gradient(110deg, var(--brand-aqua) 0%, white 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}
.contact .section-sub { color: rgba(255,255,255,0.85); }
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 56px;
    align-items: start;
}
.contact-points { display: flex; flex-direction: column; gap: 22px; }
.contact-point {
    display: flex;
    align-items: flex-start;
    gap: 14px;
}
.contact-point .pt-icon {
    width: 40px; height: 40px;
    border-radius: 12px;
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.18);
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}
.contact-point .pt-icon svg { width: 18px; height: 18px; fill: var(--brand-aqua); }
.contact-point .pt-text { flex: 1; }
.contact-point .pt-head { font-size: 16px; font-weight: 700; color: white; line-height: 1.3; margin-bottom: 4px; }
.contact-point .pt-body { font-size: 14px; color: rgba(255,255,255,0.78); line-height: 1.5; }

.send-form {
    background: rgba(255,255,255,0.08);
    backdrop-filter: blur(24px) saturate(160%);
    -webkit-backdrop-filter: blur(24px) saturate(160%);
    border: 1px solid rgba(255,255,255,0.18);
    border-radius: 24px;
    padding: 32px;
    box-shadow: 0 24px 56px rgba(31,41,55,0.4);
}
.send-form h3 {
    font-size: 22px;
    font-weight: 700;
    color: white;
    margin-bottom: 6px;
}
.send-form .form-sub {
    font-size: 13.5px;
    color: rgba(255,255,255,0.7);
    margin-bottom: 24px;
}
.field { margin-bottom: 16px; }
.field label {
    display: block;
    font-size: 12px;
    font-weight: 700;
    color: rgba(255,255,255,0.85);
    letter-spacing: 0.6px;
    text-transform: uppercase;
    margin-bottom: 6px;
}
.field input, .field textarea {
    width: 100%;
    padding: 14px 16px;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.18);
    border-radius: 12px;
    color: white;
    font-family: inherit;
    font-size: 15px;
    transition: border-color 0.3s, background 0.3s;
}
.field input::placeholder, .field textarea::placeholder { color: rgba(255,255,255,0.45); }
.field input:focus, .field textarea:focus {
    outline: none;
    border-color: var(--brand-aqua);
    background: rgba(255,255,255,0.1);
}
.field textarea { resize: vertical; min-height: 80px; }

/* File attachment field */
.file-attach {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 18px 10px 12px;
    border: 1px solid rgba(255,255,255,0.22);
    background: rgba(255,255,255,0.06);
    border-radius: 100px;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition: border-color 0.3s var(--ease-soft),
                background 0.3s var(--ease-soft),
                transform 0.3s var(--ease-fluid);
    max-width: 100%;
}
.file-attach:hover, .file-attach.over {
    border-color: rgba(155,194,255,0.6);
    background: rgba(155,194,255,0.12);
    transform: translateY(-1px);
}
.file-attach.has-file { border-color: rgba(155,194,255,0.85); background: rgba(155,194,255,0.18); }
.file-attach input[type="file"] { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.file-attach .attach-icon {
    width: 28px; height: 28px;
    border-radius: 50%;
    background: rgba(155,194,255,0.18);
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
}
.file-attach .attach-icon svg { width: 14px; height: 14px; fill: var(--brand-aqua); }
.file-attach .attach-text {
    font-size: 14px;
    font-weight: 600;
    color: white;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    flex: 0 1 auto;
}
.file-attach .attach-sub {
    font-size: 11px;
    color: rgba(255,255,255,0.55);
    margin-left: 4px;
    flex-shrink: 0;
}
.file-attach.has-file .attach-sub { color: var(--brand-aqua); }

.btn-send {
    width: 100%;
    padding: 16px 24px;
    margin-top: 8px;
    background: linear-gradient(135deg, var(--brand-orange) 0%, var(--brand-orange-2) 100%);
    color: white;
    border-radius: 100px;
    font-weight: 700;
    font-size: 16px;
    box-shadow: 0 6px 22px rgba(245,196,0,0.4), inset 0 1px 0 rgba(255,255,255,0.25);
    transition: transform 0.4s var(--ease-fluid), box-shadow 0.3s, background 0.3s;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    overflow: hidden;
    position: relative;
    cursor: pointer;
}
.btn-send::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: linear-gradient(135deg, var(--brand-orange-2) 0%, #8A6A00 100%);
    opacity: 0;
    transition: opacity 0.4s var(--ease-fluid);
    z-index: -1;
}
.btn-send:hover { transform: translateY(-2px); box-shadow: 0 10px 28px rgba(245,196,0,0.55); }
.btn-send:hover::before { opacity: 1; }
.btn-send svg { width: 16px; height: 16px; fill: white; transition: transform 0.4s var(--ease-fluid); }
.btn-send:hover svg { transform: translateX(3px); }

.form-fineprint {
    font-size: 12px;
    color: rgba(255,255,255,0.55);
    text-align: center;
    margin-top: 14px;
    line-height: 1.5;
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
    background: #1F2937;
    color: rgba(255,255,255,0.7);
    padding: 56px clamp(20px, 4vw, 56px) 28px;
}
.footer-inner {
    max-width: 1320px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1fr 1fr;
    gap: 36px;
}
.footer-brand img {
    height: 50px;
    width: auto;
    max-width: 280px;
    margin: -10px 0 8px -8px;   /* offset compensates for PNG's built-in padding */
    /* Pure white silhouette to read clearly on the navy footer */
    filter: brightness(0) invert(1);
}
.footer-brand p { font-size: 14px; line-height: 1.6; max-width: 320px; }
.footer-col h4 {
    font-size: 12px;
    color: white;
    text-transform: uppercase;
    letter-spacing: 1.6px;
    font-weight: 700;
    margin-bottom: 16px;
}
.footer-col ul { list-style: none; padding: 0; }
.footer-col li { margin-bottom: 10px; }
.footer-col a { color: rgba(255,255,255,0.7); font-size: 14px; transition: color 0.25s; }
.footer-col a:hover { color: white; }
.footer-bottom {
    max-width: 1320px;
    margin: 36px auto 0;
    padding-top: 22px;
    border-top: 1px solid rgba(255,255,255,0.1);
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
    font-size: 12.5px;
    color: rgba(255,255,255,0.4);
}
.footer-bottom a {
    color: rgba(255,255,255,0.65);
    text-decoration: none;
    transition: color 0.25s var(--ease-soft);
}
.footer-bottom a:hover {
    color: white;
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 3px;
}
.footer-meta {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}
.footer-meta .sep { color: rgba(255,255,255,0.25); }

/* ============================================================
   RESPONSIVE for new sections
   ============================================================ */
@media (max-width: 1100px) {
    .recent-grid, .things-grid, .why-grid, .review-grid { grid-template-columns: repeat(2, 1fr); }
    .mfr-grid { grid-template-columns: 1fr; }
    .timeline { grid-template-columns: repeat(2, 1fr); gap: 36px 18px; }
    .timeline::before { display: none; }
    .footer-inner { grid-template-columns: 1.2fr 1fr 1fr 1fr; }
    .footer-brand { grid-column: span 4; }
}
@media (max-width: 720px) {
    .section { padding: 80px 18px; }
    .recent-grid, .things-grid, .why-grid, .review-grid { grid-template-columns: 1fr; }
    .timeline { grid-template-columns: 1fr; }
    .owners-grid { grid-template-columns: 1fr; gap: 36px; }
    .contact-grid { grid-template-columns: 1fr; gap: 36px; }
    .footer-inner { grid-template-columns: 1fr 1fr; }
    .footer-brand { grid-column: span 2; }
}

/* ============================================================
   SCROLL REVEAL HOOK (used by IntersectionObserver in app.js)
   ============================================================ */
[data-reveal] { opacity: 0; transform: translateY(28px); transition: opacity 0.9s var(--ease-fluid), transform 0.9s var(--ease-fluid); }
[data-reveal].in-view { opacity: 1; transform: translateY(0); }
[data-reveal-delay="100"] { transition-delay: 100ms; }
[data-reveal-delay="200"] { transition-delay: 200ms; }
[data-reveal-delay="300"] { transition-delay: 300ms; }
@media (prefers-reduced-motion: reduce) {
    [data-reveal] { opacity: 1; transform: none; }
}

/* ============================================================
   ROOFLINE SECTION DIVIDER
   • Branded transition: rooflines silhouette sits on top of a
     full-width architectural line. The line is the rooflines'
     "ground" extended out to both page edges — so the houses
     sit naturally on a continuous horizontal beam.
   ============================================================ */
.roofline-mark {
    position: relative;
    height: 0;                /* takes no layout space */
    overflow: visible;
    z-index: 3;
    pointer-events: none;
}
.roofline-mark-line {
    /* Full-width line that aligns with the rooflines' base — same
       brand-navy as the silhouette so they read as one continuous bar. */
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    height: 3px;
    background: linear-gradient(90deg,
        transparent 0%,
        #002F88 6%,
        #002F88 94%,
        transparent 100%);
}
.roofline-mark-img {
    position: absolute;
    left: 50%;
    top: 0;
    width: 360px;             /* larger — more presence */
    height: auto;
    /* Bottom edge of the image lands exactly on the line at top:0,
       so the rooflines appear to sit on the line. */
    transform: translate(-50%, calc(-100% + 1.5px));
    /* Soft glow so the silhouette lifts off the line */
    filter: drop-shadow(0 -2px 10px rgba(8,81,156,0.18));
}

/* Smaller on mobile */
@media (max-width: 720px) {
    .roofline-mark-img { width: 240px; }
    .roofline-mark-line { height: 2px; }
}

/* Variant: when sitting on a light → dark transition
   (Three Things → Why Most Operators boundary).
   The dark section is RIGHT below the line. The rooflines silhouette
   reads against the white above; the line below it reads against the dark. */
.roofline-mark--on-dark .roofline-mark-line {
    /* Slightly brighter blue accent — pops against both white above and navy below */
    background: linear-gradient(90deg,
        transparent 0%,
        #002F88 6%,
        #0066FF 50%,
        #002F88 94%,
        transparent 100%);
    height: 2px;
}
.roofline-mark--on-dark .roofline-mark-img {
    /* Stronger glow because the dark section sits directly below */
    filter: drop-shadow(0 -3px 14px rgba(8,81,156,0.25));
}

/* ============================================================
   SERVICE PAGE — SUB-HERO (compact, image-led)
   ============================================================ */
.sub-hero {
    position: relative;
    min-height: 70vh;
    padding: 110px clamp(20px, 4vw, 56px) 80px;
    display: flex;
    align-items: center;
    overflow: hidden;
    isolation: isolate;
    background: linear-gradient(160deg, #1F2937 0%, #2C3E2A 30%, #0048CC 100%);
}
.sub-hero-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    z-index: 1;
    will-change: transform;
}
.sub-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 2;
    background: linear-gradient(95deg,
        rgba(31,41,55,0.78) 0%,
        rgba(31,41,55,0.62) 30%,
        rgba(31,41,55,0.3) 60%,
        rgba(31,41,55,0.18) 100%);
    pointer-events: none;
}
.sub-hero-content {
    position: relative;
    z-index: 5;
    width: 100%;
    max-width: 1320px;
    margin: 0 auto;
    color: white;
}
.sub-hero-text { max-width: 780px; }
.sub-hero .kicker {
    display: inline-flex; align-items: center; gap: 14px;
    font-size: 12px; font-weight: 700;
    letter-spacing: 3.5px;
    text-transform: uppercase;
    color: rgba(255,255,255,0.92);
    margin-bottom: 24px;
}
.sub-hero .kicker::before {
    content: ''; width: 36px; height: 1px;
    background: rgba(255,255,255,0.6);
}
.sub-hero h1 {
    font-size: clamp(40px, 6vw, 88px);
    font-weight: 800;
    line-height: 0.98;
    letter-spacing: -0.025em;
    color: white;
    margin-bottom: 24px;
    text-shadow: 0 2px 30px rgba(31,41,55,0.4);
    text-wrap: balance;
}
.sub-hero h1 .highlight {
    background: linear-gradient(110deg, #B2EBF2 0%, #9BC2FF 50%, #ffffff 100%);
    -webkit-background-clip: text; background-clip: text;
    -webkit-text-fill-color: transparent;
    background-size: 220% auto;
    animation: shimmer 8s ease-in-out infinite;
    display: inline-block;
}
.sub-hero p.lede {
    font-size: clamp(16px, 1.3vw, 19px);
    color: rgba(255,255,255,0.92);
    max-width: 620px;
    line-height: 1.6;
    margin-bottom: 36px;
    text-shadow: 0 2px 14px rgba(31,41,55,0.3);
}
.sub-hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }

/* ============================================================
   Sub-hero / CTA-strip pill — orange icon + glass pill.
   Hover: glass background gives way to a gold gradient.
   No slide mechanic — clean colour shift only.
   ============================================================ */
.btn-sub-primary {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    padding: 8px 30px 8px 8px;
    background: rgba(255,255,255,0.10);
    backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255,255,255,0.32);
    border-radius: 100px;
    color: white;
    font-weight: 700;
    font-size: 16px;
    text-shadow: 0 1px 3px rgba(31,41,55,0.4);
    text-decoration: none;
    position: relative;
    isolation: isolate;
    overflow: hidden;
    transition: background 0.35s var(--ease-soft),
                border-color 0.35s var(--ease-soft),
                transform 0.35s var(--ease-fluid),
                box-shadow 0.4s var(--ease-soft);
}
/* Gold overlay — fades in beneath glass on hover */
.btn-sub-primary::before {
    content: '';
    position: absolute; inset: 0;
    border-radius: inherit;
    background: linear-gradient(135deg, var(--brand-orange) 0%, var(--brand-orange-2) 100%);
    opacity: 0;
    transition: opacity 0.4s var(--ease-fluid);
    z-index: -1;
}
.btn-sub-primary:hover {
    background: rgba(255,255,255,0.04);
    border-color: rgba(255,255,255,0.55);
    transform: translateY(-3px);
    box-shadow: 0 14px 36px rgba(245,196,0,0.42);
}
.btn-sub-primary:hover::before { opacity: 1; }

/* Orange circular icon — stays orange, gentle rotate on hover */
.btn-sub-primary .ic {
    width: 56px; height: 56px;
    flex-shrink: 0;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--brand-orange) 0%, var(--brand-orange-2) 100%);
    display: flex; align-items: center; justify-content: center;
    box-shadow: 0 6px 20px rgba(245,196,0,0.5), inset 0 2px 0 rgba(255,255,255,0.3);
    transition: transform 0.4s var(--ease-fluid),
                box-shadow 0.4s var(--ease-soft);
}
.btn-sub-primary:hover .ic {
    transform: rotate(-12deg) scale(1.05);
    box-shadow: 0 8px 24px rgba(245,196,0,0.7), inset 0 2px 0 rgba(255,255,255,0.45);
}
.btn-sub-primary .ic svg {
    width: 22px; height: 22px;
    fill: none; stroke: white;
    stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round;
    transition: transform 0.4s var(--ease-fluid);
}
.btn-sub-primary:hover .ic svg { transform: translateX(2px); }

/* Inline text — stays in flow; colour stays white throughout */
.btn-sub-primary .bsp-text {
    color: inherit;
    line-height: 1.2;
}

/* Mobile: stretch to fit available width */
@media (max-width: 720px) {
    .btn-sub-primary {
        width: 100%;
        max-width: 360px;
        justify-content: flex-start;
    }
}

.btn-sub-ghost {
    display: inline-flex; align-items: center; gap: 10px;
    padding: 18px 28px;
    color: white;
    font-weight: 600; font-size: 15px;
    border: 1px solid rgba(255,255,255,0.4);
    background: rgba(255,255,255,0.06);
    backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
    border-radius: 100px;
    text-shadow: 0 1px 3px rgba(31,41,55,0.35);
    transition: all 0.3s var(--ease-fluid);
    text-decoration: none;
}
.btn-sub-ghost svg { width: 16px; height: 16px; fill: currentColor; }
.btn-sub-ghost:hover { background: rgba(255,255,255,0.18); border-color: rgba(255,255,255,0.65); transform: translateY(-2px); }

/* Sub-hero wave (same shape as main hero) */
.sub-hero-wave {
    position: absolute; bottom: -1px; left: 0; right: 0; z-index: 4;
    pointer-events: none; line-height: 0;
}
.sub-hero-wave svg { display: block; width: 100%; height: 70px; }

/* ============================================================
   BREADCRUMBS
   ============================================================ */
.breadcrumbs {
    background: white;
    padding: 20px clamp(20px, 4vw, 56px);
    border-bottom: 1px solid rgba(0,102,255,0.08);
}
.breadcrumbs-inner {
    max-width: 1320px; margin: 0 auto;
    display: flex; align-items: center; gap: 8px;
    flex-wrap: wrap;
    font-size: 13px;
    color: var(--grey);
}
.breadcrumbs a {
    color: var(--brand-blue);
    font-weight: 600;
    transition: color 0.25s;
    text-decoration: none;
}
.breadcrumbs a:hover { color: var(--brand-deep); }
.breadcrumbs .sep { color: rgba(0,102,255,0.3); }
.breadcrumbs .current {
    color: var(--brand-navy);
    font-weight: 600;
}

/* ============================================================
   ARTICLE BODY (long-form content blocks)
   ============================================================ */
.article-section {
    background: white;
    padding: clamp(80px, 9vw, 120px) clamp(20px, 4vw, 56px);
}
.article-section.tinted {
    background: linear-gradient(180deg, #F8FBFF 0%, white 100%);
}
.article-inner {
    max-width: 920px; margin: 0 auto;
}
.article-inner.wide { max-width: 1320px; }

.article-inner h2 {
    font-size: clamp(28px, 3.4vw, 44px);
    font-weight: 800;
    color: var(--brand-navy);
    line-height: 1.1;
    letter-spacing: -0.02em;
    margin-bottom: 18px;
}
.article-inner h2 .highlight {
    background: linear-gradient(110deg, var(--brand-blue) 0%, var(--brand-aqua) 100%);
    -webkit-background-clip: text; background-clip: text;
    -webkit-text-fill-color: transparent;
}
.article-inner h3 {
    font-size: 21px;
    font-weight: 700;
    color: var(--brand-navy);
    line-height: 1.3;
    margin-top: 32px;
    margin-bottom: 12px;
}
.article-inner p {
    font-size: 16.5px;
    line-height: 1.7;
    color: #3a4759;
    margin-bottom: 18px;
}
.article-inner p strong { color: var(--brand-navy); font-weight: 700; }
.article-inner p.lede {
    font-size: 19px;
    color: var(--brand-navy);
    font-weight: 500;
    border-left: 4px solid var(--brand-blue);
    padding-left: 22px;
    margin-bottom: 32px;
    line-height: 1.55;
}
.article-inner ul, .article-inner ol {
    margin: 14px 0 22px 0;
    padding-left: 24px;
}
.article-inner li {
    font-size: 16.5px;
    line-height: 1.7;
    color: #3a4759;
    margin-bottom: 10px;
}
.article-inner li::marker { color: var(--brand-blue); }
.article-inner strong { color: var(--brand-navy); }

/* Process steps — vertical timeline */
.process-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
    margin-top: 36px;
}
.process-step {
    background: linear-gradient(180deg, #F8FBFF 0%, white 100%);
    border: 1px solid rgba(0,102,255,0.16);
    border-radius: 18px;
    padding: 28px 24px;
    transition: transform 0.4s var(--ease-fluid), box-shadow 0.4s, border-color 0.4s;
}
.process-step:hover {
    transform: translateY(-4px);
    border-color: rgba(0,102,255,0.45);
    box-shadow: 0 14px 32px rgba(0,102,255,0.12);
}
.process-step .num {
    width: 44px; height: 44px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--brand-blue), var(--brand-deep));
    color: white;
    display: flex; align-items: center; justify-content: center;
    font-weight: 800; font-size: 16px;
    margin-bottom: 16px;
    box-shadow: 0 4px 14px rgba(0,102,255,0.35);
}
.process-step h4 {
    font-size: 17px;
    font-weight: 700;
    color: var(--brand-navy);
    margin-bottom: 8px;
}
.process-step p {
    font-size: 14.5px !important;
    color: #4b5666 !important;
    line-height: 1.55 !important;
    margin: 0 !important;
}

/* "Best used for" — surface cards */
.surface-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-top: 32px;
}
.surface {
    padding: 26px 22px;
    background: white;
    border: 1px solid rgba(0,102,255,0.16);
    border-radius: 16px;
    transition: transform 0.4s var(--ease-fluid), border-color 0.4s, box-shadow 0.4s;
}
.surface:hover {
    transform: translateY(-3px);
    border-color: rgba(0,102,255,0.4);
    box-shadow: 0 10px 26px rgba(0,102,255,0.10);
}
.surface .ic {
    width: 44px; height: 44px;
    border-radius: 12px;
    background: linear-gradient(135deg, rgba(0,102,255,0.14), rgba(0,188,212,0.10));
    border: 1px solid rgba(0,102,255,0.22);
    display: flex; align-items: center; justify-content: center;
    margin-bottom: 14px;
}
.surface .ic svg { width: 22px; height: 22px; fill: var(--brand-blue); }
.surface h4 {
    font-size: 15px;
    font-weight: 700;
    color: var(--brand-navy);
    margin-bottom: 6px;
}
.surface p {
    font-size: 13.5px !important;
    color: #4b5666 !important;
    line-height: 1.55 !important;
    margin: 0 !important;
}

/* studio principle cards */
.mfr-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
    margin-top: 36px;
}
.mfr {
    padding: 28px 28px;
    border-radius: 18px;
    background: linear-gradient(180deg, #F8FBFF 0%, white 100%);
    border: 1px solid rgba(0,102,255,0.18);
    transition: transform 0.4s var(--ease-fluid), border-color 0.4s, box-shadow 0.4s;
}
.mfr:hover { transform: translateY(-3px); border-color: rgba(0,102,255,0.45); box-shadow: 0 12px 30px rgba(0,102,255,0.12); }
.mfr-head {
    display: flex; align-items: center; gap: 12px;
    margin-bottom: 16px;
}
.mfr-mono {
    width: 42px; height: 42px;
    border-radius: 12px;
    background: linear-gradient(135deg, #002F88, #0048CC);
    color: white;
    display: flex; align-items: center; justify-content: center;
    font-weight: 900; font-size: 13px;
    letter-spacing: -0.5px;
    box-shadow: 0 4px 12px rgba(8,81,156,0.3);
}
.mfr-name { font-size: 15px; font-weight: 700; color: var(--brand-navy); }
.mfr-quote {
    font-size: 16.5px;
    line-height: 1.55;
    color: var(--brand-navy);
    font-weight: 500;
    margin-bottom: 12px;
    quotes: '\201C' '\201D';
}
.mfr-quote::before { content: open-quote; color: var(--brand-blue); margin-right: 2px; font-weight: 700; }
.mfr-quote::after { content: close-quote; color: var(--brand-blue); margin-left: 2px; font-weight: 700; }
.mfr-source { font-size: 12.5px; color: var(--grey); padding-top: 12px; border-top: 1px solid rgba(0,102,255,0.12); }

/* FAQ accordion */
.faq-list { margin-top: 32px; max-width: 920px; }
.faq-item {
    background: linear-gradient(180deg, #F8FBFF 0%, white 100%);
    border: 1px solid rgba(0,102,255,0.16);
    border-radius: 16px;
    margin-bottom: 12px;
    overflow: hidden;
    transition: border-color 0.3s, box-shadow 0.3s;
}
.faq-item[open] {
    border-color: var(--brand-blue);
    box-shadow: 0 6px 20px rgba(0,102,255,0.10);
}
.faq-item summary {
    cursor: pointer;
    padding: 22px 26px;
    font-size: 16px;
    font-weight: 700;
    color: var(--brand-navy);
    list-style: none;
    display: flex; align-items: center; justify-content: space-between;
    gap: 16px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
    content: '+';
    color: var(--brand-blue);
    font-size: 26px;
    font-weight: 300;
    transition: transform 0.3s;
    flex-shrink: 0;
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item .faq-body {
    padding: 0 26px 22px;
    color: #4b5666;
    font-size: 15.5px;
    line-height: 1.65;
}
.faq-item .faq-body p { margin: 0 0 12px; }
.faq-item .faq-body p:last-child { margin-bottom: 0; }

/* Cross-link cards (other services / locations) */
.cross-links {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    margin-top: 36px;
}
.cross-link {
    padding: 26px 28px;
    background: white;
    border: 1px solid rgba(0,102,255,0.18);
    border-radius: 16px;
    text-decoration: none;
    transition: all 0.4s var(--ease-fluid);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}
.cross-link:hover {
    transform: translateX(4px);
    border-color: var(--brand-blue);
    box-shadow: 0 12px 28px rgba(0,102,255,0.12);
}
.cross-link .label {
    font-size: 11px;
    color: var(--brand-blue);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 700;
    margin-bottom: 6px;
}
.cross-link h4 {
    font-size: 18px;
    font-weight: 700;
    color: var(--brand-navy);
    margin: 0;
    line-height: 1.3;
}
.cross-link .arrow {
    color: var(--brand-blue);
    font-size: 22px;
    flex-shrink: 0;
    transition: transform 0.3s;
}
.cross-link:hover .arrow { transform: translateX(4px); }

/* Suburb mini-grid for service pages */
.suburb-mini {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 8px;
    margin-top: 32px;
}
.suburb-mini a {
    padding: 12px 16px;
    background: white;
    border: 1px solid rgba(0,102,255,0.18);
    border-radius: 10px;
    font-size: 13.5px;
    font-weight: 600;
    color: var(--brand-navy);
    text-decoration: none;
    transition: all 0.25s var(--ease-fluid);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
}
.suburb-mini a small { color: var(--grey); font-weight: 500; font-size: 11.5px; }
.suburb-mini a:hover {
    border-color: var(--brand-blue);
    background: #F8FBFF;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0,102,255,0.10);
}

/* CTA strip (mid-page push to quote) */
.cta-strip {
    background: linear-gradient(135deg, #002F88 0%, #0048CC 100%);
    color: white;
    padding: 56px clamp(20px, 4vw, 56px);
    border-radius: 24px;
    margin: 64px auto 0;
    max-width: 1100px;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.cta-strip::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 80% 50%, rgba(255,255,255,0.12) 0%, transparent 60%);
    pointer-events: none;
}
.cta-strip h3 {
    font-size: clamp(24px, 3vw, 36px);
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 12px;
    color: white;
    position: relative;
}
.cta-strip p {
    color: rgba(255,255,255,0.9);
    font-size: 16px;
    line-height: 1.5;
    margin-bottom: 28px;
    max-width: 640px;
    margin-left: auto;
    margin-right: auto;
    position: relative;
}

/* Responsive */
@media (max-width: 1100px) {
    .process-grid, .surface-grid { grid-template-columns: repeat(2, 1fr); }
    .mfr-grid, .cross-links { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
    .sub-hero { padding: 90px 20px 60px; min-height: 60vh; }
    .sub-hero-actions { flex-direction: column; align-items: stretch; }
    .btn-sub-primary, .btn-sub-ghost { width: 100%; justify-content: center; }
    .process-grid, .surface-grid { grid-template-columns: 1fr; }
    .article-section { padding: 60px 20px; }
}

/* Read-more link inside service cards */
.thing-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 24px;
    padding-top: 18px;
    border-top: 1px solid rgba(0,102,255,0.15);
    color: var(--brand-blue);
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    transition: gap 0.3s var(--ease-fluid), color 0.3s;
    align-self: flex-start;
    width: 100%;
    justify-content: space-between;
}
.thing-link span { transition: transform 0.3s var(--ease-fluid); }
.thing-link:hover { color: var(--brand-deep); gap: 12px; }
.thing-link:hover span { transform: translateX(4px); }
.thing--linked:hover { border-color: rgba(0,102,255,0.55); }

/* ============================================================
   NAV DROPDOWN — Services menu
   ============================================================ */
.nav-has-dropdown { position: relative; }
.nav-has-dropdown > a { display: inline-flex; align-items: center; gap: 5px; }
.nav-has-dropdown > a .caret {
    width: 10px; height: 10px;
    transition: transform 0.3s var(--ease-fluid);
}
.nav-has-dropdown:hover > a .caret { transform: rotate(180deg); }

.nav-dropdown {
    position: absolute;
    top: calc(100% + 6px);
    left: 50%;
    transform: translateX(-50%) translateY(-8px);
    min-width: 220px;
    padding: 10px;
    background: rgba(255,255,255,0.96);
    backdrop-filter: blur(16px) saturate(180%);
    -webkit-backdrop-filter: blur(16px) saturate(180%);
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(31,41,55,0.18), inset 0 0 0 1px rgba(0,102,255,0.12);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s var(--ease-soft), transform 0.35s var(--ease-fluid);
    z-index: 200;
}
.nav-has-dropdown:hover .nav-dropdown,
.nav-has-dropdown:focus-within .nav-dropdown {
    opacity: 1;
    pointer-events: auto;
    transform: translateX(-50%) translateY(0);
}
.nav-dropdown a {
    display: block;
    padding: 10px 14px;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 500;
    color: var(--brand-navy);
    white-space: nowrap;
    transition: background 0.25s, color 0.25s;
}
.nav-dropdown a:hover { background: rgba(0,102,255,0.08); color: var(--brand-deep); }

/* Scrolled nav state — dark glass dropdown */
.nav.scrolled .nav-dropdown {
    background: rgba(31,41,55,0.92);
    box-shadow: 0 10px 40px rgba(0,0,0,0.4), inset 0 0 0 1px rgba(255,255,255,0.10);
}
.nav.scrolled .nav-dropdown a { color: rgba(255,255,255,0.86); }
.nav.scrolled .nav-dropdown a:hover { color: white; background: rgba(255,255,255,0.10); }

/* ============================================================
   LOCATIONS HUB — region heads + suburb cards
   ============================================================ */
.region-head {
    font-size: clamp(20px, 1.6vw, 26px);
    font-weight: 700;
    color: white;
    letter-spacing: -0.01em;
    margin: 0 0 22px;
    padding-bottom: 14px;
    border-bottom: 1px solid rgba(255,255,255,0.14);
}

.suburb-cards {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 16px;
}

.suburb-card {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 22px 24px;
    background: rgba(255,255,255,0.04);
    border-radius: 14px;
    box-shadow: inset 0 0 0 1px rgba(255,255,255,0.10);
    color: white;
    text-decoration: none;
    transition: transform 0.4s var(--ease-fluid),
                background 0.3s var(--ease-soft),
                box-shadow 0.3s var(--ease-soft);
}
.suburb-card:hover {
    transform: translateY(-3px);
    background: rgba(0,102,255,0.10);
    box-shadow: inset 0 0 0 1px rgba(155,194,255,0.45),
                0 12px 32px rgba(0,0,0,0.30);
}
.suburb-card-name {
    font-size: 19px;
    font-weight: 700;
    letter-spacing: -0.01em;
    color: white;
    display: flex;
    align-items: center;
    gap: 10px;
}
.suburb-card-meta {
    font-size: 13.5px;
    font-weight: 500;
    color: rgba(255,255,255,0.62);
    letter-spacing: 0.005em;
}
.suburb-card-cta {
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid rgba(255,255,255,0.10);
    font-size: 13px;
    font-weight: 700;
    color: var(--brand-aqua);
    letter-spacing: 0.02em;
    transition: color 0.3s, letter-spacing 0.3s;
}
.suburb-card:hover .suburb-card-cta {
    color: white;
    letter-spacing: 0.04em;
}

/* HQ pill */
.suburb-card--hq {
    background: linear-gradient(135deg, rgba(0,102,255,0.18), rgba(0,72,204,0.10));
    box-shadow: inset 0 0 0 1px rgba(155,194,255,0.40);
}
.hq-pill {
    display: inline-block;
    padding: 3px 9px;
    background: var(--brand-orange);
    color: var(--brand-navy);
    font-size: 10.5px;
    font-weight: 800;
    letter-spacing: 0.08em;
    border-radius: 100px;
    text-transform: uppercase;
}

@media (max-width: 720px) {
    .suburb-cards { grid-template-columns: 1fr; }
    .region-head { font-size: 19px; margin-top: 36px !important; }
}

/* ============================================================
   ACCESSIBILITY — focus-visible (WCAG 2.4.7)
   Universal keyboard-focus indicator for users navigating with Tab.
   Mouse clicks don't trigger this; only keyboard focus does.
   ============================================================ */
*:focus { outline: none; }   /* suppress default mouse-focus ring */

*:focus-visible {
    outline: 3px solid var(--brand-aqua);
    outline-offset: 3px;
    border-radius: 6px;
    transition: outline-offset 0.15s var(--ease-soft);
}

/* Tighter offsets where elements are already styled with their own border */
.btn:focus-visible,
.btn-sub-primary:focus-visible,
.btn-sub-ghost:focus-visible {
    outline-offset: 4px;
}

.nav-links a:focus-visible {
    outline-offset: -2px;        /* sit inside the rounded pill */
    border-radius: 100px;
}

.nav-dropdown a:focus-visible {
    outline-offset: -2px;
    border-radius: 10px;
}

.suburb-card:focus-visible,
.thing--linked:focus-visible,
.review-card:focus-visible {
    outline-offset: 4px;
    border-radius: 14px;
}

.faq-item:focus-within summary {
    outline: 3px solid var(--brand-aqua);
    outline-offset: 3px;
    border-radius: 8px;
}

.suburb-mini a:focus-visible {
    outline-offset: -2px;
    border-radius: 12px;
}

/* Skip link — appears when keyboard user tabs into the page */
.skip-link {
    position: absolute;
    top: -100px;
    left: 16px;
    z-index: 10000;
    padding: 12px 20px;
    background: var(--brand-deep);
    color: white;
    border-radius: 8px;
    font-weight: 700;
    text-decoration: none;
    transition: top 0.25s var(--ease-fluid);
}
.skip-link:focus {
    top: 16px;
    outline: 3px solid var(--brand-aqua);
    outline-offset: 3px;
}

/* ============================================================
   ACCESSIBILITY — color contrast tightening (WCAG AA)
   --brand-blue  (#0066FF) on white = 4.03:1  (FAILS AA-normal)
   --brand-deep  (#0048CC) on white = 5.75:1  (PASSES AA-normal)
   For body-text links and small-text instances we use --brand-deep.
   --brand-blue stays for buttons, large display text, gradients.

   IMPORTANT: only INLINE body-text links get the underline. Styled
   UI elements (cards, mini-grid pills, dropdown items) are visually
   distinct from body text already and don't need underline clutter.
   ============================================================ */

/* True inline links — paragraphs, FAQ answers, list items inside articles */
.article-section p a,
.article-inner p a,
.article-body p a,
.article-section li a,
.article-inner li a,
.faq-body a,
.faq-body p a {
    color: var(--brand-deep);
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 3px;
    transition: color 0.2s var(--ease-soft), text-decoration-thickness 0.2s;
}
.article-section p a:hover,
.article-inner p a:hover,
.article-body p a:hover,
.article-section li a:hover,
.article-inner li a:hover,
.faq-body a:hover,
.faq-body p a:hover {
    color: var(--brand-navy);
    text-decoration-thickness: 2px;
}

/* ── Footer column links ──
   Footer sits on a navy bg, so links must be light.
   Default: white at 78% — readable but quiet.
   Hover: pure white + subtle underline confirmation.
   Contrast on Navy: ~14:1 default, ~18:1 hover (both PASS WCAG AAA). */
.footer-col a {
    color: rgba(255, 255, 255, 0.78);
    text-decoration: none;
    transition: color 0.25s var(--ease-soft);
}
.footer-col a:hover {
    color: white;
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 3px;
}
/* "See all 20 suburbs" inline CTA — keep slightly brighter as a visual anchor */
.footer-col a strong {
    color: rgba(255, 255, 255, 0.92);
    font-weight: 700;
}
.footer-col a:hover strong { color: white; }

/* ── Styled UI links — NEVER get the underline treatment ── */
/* Cross-link service cards (sub-hero "Other ways we work" section) */
.cross-link,
.cross-link:hover,
.cross-link h4,
.cross-link .label {
    text-decoration: none !important;
}

/* Suburb mini-grid pills */
.suburb-mini a,
.suburb-mini a:hover {
    text-decoration: none !important;
}

/* Suburb directory cards */
.suburb-card,
.suburb-card:hover {
    text-decoration: none !important;
}

/* Nav dropdown items */
.nav-dropdown a,
.nav-dropdown a:hover {
    text-decoration: none !important;
}

/* Thing-link (read-more cards) — keep brand-deep for legibility, no underline */
.thing-link,
.thing-link:hover {
    color: var(--brand-deep);
    text-decoration: none !important;
}
.thing-link:hover { color: var(--brand-navy); }

/* CTA strip headlines / inline CTAs that are sometimes wrapped in <p> */
.cta-strip a,
.cta-strip a:hover {
    text-decoration: none !important;
}

/* Recent footnote / inline call-out anchor pattern (homepage) */
.recent-foot a {
    color: var(--brand-deep);
    border-bottom: 1px solid rgba(0,72,204,0.4);
    text-decoration: none;
    transition: color 0.2s, border-color 0.2s;
}
.recent-foot a:hover {
    color: var(--brand-navy);
    border-bottom-color: var(--brand-navy);
}

/* ============================================================
   MOBILE — comprehensive small-phone tuning (≤ 480 px)
   Fills the gap between the 720 px tablet breakpoint and very
   small phones (iPhone Mini, small Android). Targets:
   - tighter section padding so content doesn't feel cramped
   - readable font sizes (no body text below 14 px)
   - touch targets ≥ 44 px
   - single-column collapses for grids that still felt cramped
   ============================================================ */
@media (max-width: 480px) {
    /* Section padding — pull in from desktop's ~80-110px */
    .section { padding: 56px 18px; }
    .article-section { padding: 48px 18px; }
    .article-inner { padding: 0; }
    .article-inner.wide { padding: 0; }

    /* Headlines — tighter line-height on small screens */
    .section-headline { font-size: clamp(28px, 8vw, 36px); line-height: 1.15; }
    .section-sub { font-size: 16px; }
    .section-label { font-size: 12px; letter-spacing: 1.6px; }

    /* Hero — more generous breathing room */
    .hero-content { padding: 56px 16px 120px; }
    .hero-headline { font-size: clamp(34px, 11vw, 48px); line-height: 1.1; }
    .hero-sub { font-size: 15px; line-height: 1.5; }
    .kicker { font-size: 11px; letter-spacing: 2.5px; }

    /* Sub-hero (service / location pages) */
    .sub-hero { padding: 80px 16px 56px; min-height: 50vh; }
    .sub-hero h1 { font-size: clamp(30px, 8.5vw, 42px); line-height: 1.1; }
    .sub-hero .lede { font-size: 15px; line-height: 1.5; }
    .sub-hero-actions { gap: 10px; }

    /* Trust strip — already single column at 720, just tighten padding */
    .trust-strip { padding: 28px 16px; margin-top: -64px; }
    .trust-mark { padding: 16px; }
    .trust-num { font-size: 32px; }

    /* Things-grid (already collapses, just tighten card padding) */
    .thing { padding: 26px 22px; }
    .thing-title { font-size: 22px; }
    .thing-num { font-size: 11px; }

    /* Why-grid / surface-grid — single column was fine, tighten cards */
    .why-card, .surface, .process-step { padding: 22px 20px; }
    .why-num, .num { font-size: 28px; }

    /* studio principle cards */
    .mfr { padding: 22px 20px; }
    .mfr-quote { font-size: 14px; }
    .mfr-source { font-size: 11.5px; }

    /* Owner story */
    .owner-card { padding: 24px 20px; }
    .owner-quote { font-size: 16px; }

    /* Reviews */
    .review-card { padding: 22px 20px; }
    .review-text { font-size: 14.5px; }

    /* Recent jobs */
    .recent-card { border-radius: 14px; }
    .recent-card-body { padding: 18px 20px; }
    .recent-card-title { font-size: 16px; }

    /* Suburb mini-grid — narrow cells get wider min-width */
    .suburb-mini {
        grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
        gap: 6px;
    }
    .suburb-mini a { padding: 10px 12px; font-size: 13px; }
    .suburb-mini a small { font-size: 11px; }

    /* Suburb directory cards (locations hub) */
    .suburb-card { padding: 18px 20px; }
    .suburb-card-name { font-size: 17px; }
    .suburb-card-meta { font-size: 13px; }
    .region-head { font-size: 18px; padding-bottom: 10px; }

    /* Cross-link service cards */
    .cross-links { gap: 12px; }
    .cross-link { padding: 20px 22px; }
    .cross-link h4 { font-size: 16px; }
    .cross-link .arrow { font-size: 20px; }

    /* FAQ accordion */
    .faq-item summary { padding: 18px 20px; font-size: 15px; line-height: 1.4; }
    .faq-body { padding: 0 20px 18px; font-size: 14.5px; }

    /* CTA strip */
    .cta-strip { padding: 32px 24px; border-radius: 18px; }
    .cta-strip h3 { font-size: 22px; line-height: 1.25; }
    .cta-strip p { font-size: 15px; }

    /* Roofline divider — scale image down so it doesn't overflow */
    .roofline-mark-img { width: 200px; }

    /* Process / surface grids — already 1fr at 720, just tighten gap */
    .process-grid, .surface-grid { gap: 14px; }
    .process-step h4, .surface h4 { font-size: 16px; }

    /* Article body typography on mobile */
    .article-body p, .article-section p, .article-inner p { font-size: 15.5px; line-height: 1.65; }
    .article-body h2, .article-section h2, .article-inner h2 { font-size: clamp(26px, 7.5vw, 32px); line-height: 1.18; }
    .article-body h3, .article-section h3, .article-inner h3 { font-size: 19px; }

    /* Breadcrumbs */
    .breadcrumbs { padding: 14px 16px; font-size: 12px; }
    .breadcrumbs-inner { gap: 6px; }

    /* Footer — collapse to single column on small phones */
    .footer { padding: 44px 18px 22px; }
    .footer-inner { grid-template-columns: 1fr; gap: 28px; }
    .footer-brand { grid-column: span 1; }
    .footer-brand p { font-size: 13.5px; }
    .footer-col h4 { font-size: 11.5px; margin-bottom: 12px; }
    .footer-col ul li { padding: 4px 0; }
    .footer-col a { font-size: 14.5px; padding: 4px 0; display: inline-block; }
    .footer-bottom { font-size: 11.5px; gap: 8px; }

    /* Enquire pill */
    .nav-links .mobile-quote-cta {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 10px;
        margin-top: 24px;
        padding: 16px 20px;
        background: linear-gradient(135deg, var(--brand-orange) 0%, var(--brand-orange-2) 100%);
        color: white !important;
        font-weight: 700;
        font-size: 16px !important;
        border-radius: 100px;
        box-shadow: 0 6px 20px rgba(245,196,0,0.45);
    }

    /* Form fields — bigger tap targets, no zoom on focus */
    .send-form input,
    .send-form textarea {
        font-size: 16px;     /* iOS won't zoom if ≥16px */
        padding: 14px 16px;
    }
    .file-attach { padding: 14px 16px; }
    .btn-send { padding: 16px 24px; font-size: 15px; }

    /* Sub-hero buttons stack to full width with a comfortable max */
    .btn-sub-primary, .btn-sub-ghost {
        width: 100%;
        max-width: 360px;
        justify-content: flex-start;
    }
    .btn-sub-ghost { justify-content: center; }
}

/* ============================================================
   MOBILE — extra small phones (≤ 380 px)
   For iPhone SE 1st gen, very small Android. Final defensive tier.
   ============================================================ */
@media (max-width: 380px) {
    .section { padding: 44px 14px; }
    .article-section { padding: 40px 14px; }
    .hero-content { padding: 44px 14px 100px; }
    .hero-headline { font-size: 30px; }
    .sub-hero { padding: 64px 14px 44px; }
    .sub-hero h1 { font-size: 26px; }
    .trust-strip { padding: 24px 14px; }
    .roofline-mark-img { width: 170px; }
    .cta-strip { padding: 24px 18px; }
    .cta-strip h3 { font-size: 20px; }
    .breadcrumbs { padding: 12px 14px; }

    /* Suburb mini — single column on tiny screens */
    .suburb-mini { grid-template-columns: 1fr; }
}

/* ============================================================
   MOBILE — landscape orientation (height < 500 px)
   Hide the hero video to keep the page from looking awkward
   when phones rotate. The video is too tall for landscape.
   ============================================================ */
@media (max-height: 500px) and (orientation: landscape) {
    .hero { min-height: 100vh; }
    .hero-headline { font-size: clamp(28px, 6vh, 42px); }
    .hero-content { padding-top: 80px; padding-bottom: 80px; }
    .sub-hero { min-height: auto; padding: 64px 24px 40px; }
}

/* ============================================================
   VOLTLINE OVERRIDES — wordmark, hi-vis accents, trade voltage
   ------------------------------------------------------------
   No PNG logo — the brand renders as a CSS wordmark with a
   lightning-bolt mark. Punchier letter-spacing, tighter weight,
   and a couple of safety-yellow accent strips for the trade-bold
   feel without breaking the existing component system.
   ============================================================ */

/* The CSS wordmark has been retired — the real Voltline logo is now an
   <img class="logo-img"> in nav and footer. The .wordmark rules below are
   kept (dormant) only as a typographic fallback in case the logo image
   ever fails to load and an <img> is swapped back to the span structure. */

.nav-logo {
    text-decoration: none;
    line-height: 1;
    padding: 0 6px;
    display: flex;
    align-items: center;
}

/* Real Voltline logo image — nav size + scrolled-state shrink */
.nav-logo .logo-img {
    height: 48px;
    width: auto;
    display: block;
    transition: height 0.4s var(--ease-fluid),
                filter 0.4s var(--ease-soft),
                opacity 0.4s var(--ease-soft);
}
.nav.scrolled .nav-logo .logo-img {
    height: 40px;
}
/* Restore full size on hover-of-scrolled-nav (matches inherited behaviour) */
.nav.scrolled:hover .nav-logo .logo-img { height: 48px; }

/* Footer logo — slightly larger, sits in its own brand block */
.footer-brand .logo-img {
    height: 60px;
    width: auto;
    display: block;
    margin: 0 0 14px -2px;
    /* Override the inherited footer-brand img filter (was used to whiten the
       architect's silhouette logo). The Voltline logo is full-colour and
       must NOT be filtered. */
    filter: none;
}

/* Mobile sizing for the logo image */
@media (max-width: 720px) {
    .nav-logo .logo-img { height: 38px; }
    .nav.scrolled .nav-logo .logo-img { height: 34px; }
    .footer-brand .logo-img { height: 50px; }
}
@media (max-width: 380px) {
    .nav-logo .logo-img { height: 34px; }
    .nav.scrolled .nav-logo .logo-img { height: 30px; }
}
.wordmark {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    font-family: 'Inter', sans-serif;
    font-weight: 900;
    font-size: 22px;
    letter-spacing: -0.03em;
    color: var(--brand-navy);
    transition: color 0.4s var(--ease-fluid);
}
.wordmark .bolt {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 8px;
    background: var(--brand-blue);
    box-shadow: 0 4px 14px rgba(0,102,255,0.35),
                inset 0 -2px 0 rgba(0,0,0,0.18);
    transition: transform 0.45s var(--ease-fluid),
                box-shadow 0.4s var(--ease-soft);
}
.wordmark .bolt svg { width: 18px; height: 18px; fill: #fff; }
.wordmark .name { font-weight: 900; }
.wordmark .name .accent { color: var(--brand-blue); }
.wordmark .tag {
    display: inline-block;
    margin-left: 4px;
    padding: 2px 7px 3px;
    background: var(--brand-orange);
    color: #1a1a1a;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    border-radius: 4px;
    transform: translateY(-2px);
}
.nav-logo:hover .bolt { transform: rotate(-8deg) scale(1.05); }

/* Scrolled state: invert wordmark to white over dark glass */
.nav.scrolled .wordmark { color: #fff; }
.nav.scrolled .wordmark .name .accent { color: var(--brand-aqua); }
.nav.scrolled .wordmark .bolt {
    background: var(--brand-orange);
    box-shadow: 0 4px 14px rgba(245,196,0,0.45),
                inset 0 -2px 0 rgba(0,0,0,0.20);
}
.nav.scrolled .wordmark .bolt svg { fill: #1F2937; }

/* Footer wordmark — uses .wordmark--footer modifier */
.wordmark--footer {
    color: #fff;
    font-size: 26px;
    margin-bottom: 12px;
}
.wordmark--footer .name .accent { color: var(--brand-aqua); }
.wordmark--footer .bolt {
    background: var(--brand-orange);
    box-shadow: 0 6px 18px rgba(245,196,0,0.30);
}
.wordmark--footer .bolt svg { fill: #1F2937; }

/* Hi-vis hazard strip — diagonal yellow/black stripe component
   used to add a trade-bold edge to the hero & section breaks. */
.hazard-strip {
    height: 8px;
    background:
      repeating-linear-gradient(
        135deg,
        var(--brand-orange) 0 18px,
        #1F2937 18px 36px
      );
    width: 100%;
}

/* Punchier hero on Voltline — heavier weight, tighter tracking,
   and a unified safety-yellow highlight that overrides every inherited
   gradient-clipped highlight rule. We have to:
     1. Reset -webkit-text-fill-color (inherited rules set it to transparent
        for gradient-clip-text trick — we need solid text)
     2. Cover ALL highlight contexts (hero, sub-hero, section, why-wrong,
        contact, article-inner) with high enough specificity to win.
   ============================================================ */
.hero-headline,
.sub-hero h1,
.section-headline,
.article-inner h2 {
    font-weight: 900;
    letter-spacing: -0.035em;
}

/* Single unified highlight rule — wins over every inherited variant.
   Each selector has equal-or-greater specificity to its base counterpart. */
.hero-headline .highlight,
.sub-hero h1 .highlight,
.section-headline .highlight,
.why-wrong .section-headline .highlight,
.contact .section-headline .highlight,
.article-inner h2 .highlight {
    color: var(--brand-orange);
    -webkit-text-fill-color: var(--brand-orange);  /* reset transparent fill */
    background: none;
    -webkit-background-clip: initial;
    background-clip: initial;
    background-size: auto;
    animation: none;
    position: relative;
    padding: 0 4px;
    display: inline-block;
}
.hero-headline .highlight::after,
.sub-hero h1 .highlight::after,
.section-headline .highlight::after,
.why-wrong .section-headline .highlight::after,
.contact .section-headline .highlight::after,
.article-inner h2 .highlight::after {
    content: '';
    position: absolute;
    left: 0; right: 0; bottom: -2px;
    height: 8px;
    background: var(--brand-orange);
    opacity: 0.28;
    border-radius: 2px;
    z-index: -1;
}
/* On dark backgrounds (.why-wrong, .contact) the underline strip needs
   more pop — bump opacity and switch to a slightly warmer tone */
.why-wrong .section-headline .highlight::after,
.contact .section-headline .highlight::after {
    opacity: 0.45;
}

/* Bolder primary CTA — solid hi-vis yellow base. Override the inherited
   gradient + the yellow-on-blue ::before pseudo so hover doesn't fight us. */
.btn-quote {
    background: var(--brand-orange);
    color: #1F2937;
    font-weight: 800;
    box-shadow: 0 6px 16px rgba(245,196,0,0.35),
                inset 0 -2px 0 rgba(0,0,0,0.10);
}
.btn-quote::before {
    /* Original architect template revealed a yellow-amber gradient on hover
       on top of a blue base. We've already painted yellow — repurpose ::before
       as a darker amber wash so hover still gives a clear visual change. */
    background: linear-gradient(135deg, var(--brand-orange-2) 0%, #b58a00 100%);
}
.btn-quote:hover {
    color: #1F2937;
    transform: translateY(-2px);
    box-shadow: 0 10px 22px rgba(245,196,0,0.45),
                inset 0 -2px 0 rgba(0,0,0,0.10);
}
.btn-quote:hover::before { opacity: 1; }   /* amber wash reveals on hover */

/* 4-card services grid — the inherited rule was repeat(3, 1fr). Voltline has
   four service lines, so we extend to 4 columns at desktop, dropping back to
   2-col / 1-col through the inherited tablet/mobile breakpoints. */
.things-grid { grid-template-columns: repeat(4, 1fr); gap: 18px; }
@media (max-width: 1280px) {
    .things-grid { grid-template-columns: repeat(2, 1fr); gap: 22px; }
}
/* Inherited @1100 already drops .things-grid to 2-col (still applies, good).
   Inherited @720 drops to 1-col (still applies, good). */

/* 24/7 emergency "On call now" badge — pulsing live indicator.
   Default: charcoal pill on light backgrounds.
   .contact / dark contexts: yellow-bordered with the pill staying charcoal
   so the dot pulse reads against the dark gradient background. */
.emergency-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 10px 4px 9px;
    margin-left: 10px;
    background: rgba(245,196,0,0.14);
    color: var(--brand-orange);
    border: 1px solid rgba(245,196,0,0.55);
    font-size: 10.5px;
    font-weight: 800;
    letter-spacing: 0.10em;
    text-transform: uppercase;
    border-radius: 100px;
    vertical-align: middle;
    line-height: 1;
    white-space: nowrap;
}
.emergency-badge::before {
    content: '';
    width: 7px; height: 7px;
    background: var(--brand-orange);
    border-radius: 50%;
    box-shadow: 0 0 0 0 rgba(245,196,0,0.7);
    animation: pulse-dot 1.6s ease-out infinite;
    flex-shrink: 0;
}
@keyframes pulse-dot {
    0%   { box-shadow: 0 0 0 0 rgba(245,196,0,0.6); }
    70%  { box-shadow: 0 0 0 8px rgba(245,196,0,0); }
    100% { box-shadow: 0 0 0 0 rgba(245,196,0,0); }
}
@media (prefers-reduced-motion: reduce) {
    .emergency-badge::before { animation: none; }
}
/* Inside the dark contact section the badge sits on a navy-blue gradient.
   The yellow ring stays, the dot still pulses — already legible. */

/* ============================================================
   VOLTLINE — mobile wordmark sizing
   The architect template assumed an <img> logo with px-based size rules.
   Our CSS wordmark needs its own mobile compaction so it doesn't fight
   the phone button + hamburger for space on a 380px viewport.
   ============================================================ */
@media (max-width: 720px) {
    .wordmark { font-size: 18px; gap: 7px; }
    .wordmark .bolt { width: 28px; height: 28px; border-radius: 6px; }
    .wordmark .bolt svg { width: 15px; height: 15px; }
    .wordmark .tag {
        padding: 1px 6px 2px;
        font-size: 9px;
        letter-spacing: 0.10em;
    }
    /* Footer wordmark stays a touch larger — it has the row to itself */
    .wordmark--footer { font-size: 22px; }
}
@media (max-width: 380px) {
    .wordmark { font-size: 16px; gap: 6px; }
    .wordmark .bolt { width: 26px; height: 26px; }
    .wordmark .bolt svg { width: 14px; height: 14px; }
    /* On tiny screens the tag pill becomes redundant — name + bolt is enough */
    .wordmark .tag { display: none; }
}

/* ============================================================
   VOLTLINE — remove the wavy section dividers
   The architect template used a soft SVG wave between the hero and
   the next section. With the trade-bold direction we want a clean,
   confident hard edge. The trust strip already pulls up over the hero
   via its existing -110px margin, so the visual transition is handled.
   ============================================================ */
.hero-wave,
.sub-hero-wave { display: none; }

/* ============================================================
   VOLTLINE — transparent nav blended over the hero
   Default state at the top of the page now sits as a translucent
   bar over the hero image (no white background). Scrolled state
   keeps the dark navy glass for legibility once the user passes
   the hero into white content sections.
   ============================================================ */
.nav {
    background: transparent;
    border-bottom: 1px solid rgba(255,255,255,0.10);
    box-shadow: 0 1px 0 rgba(0,0,0,0.04);
    /* Tiny backdrop blur stops the nav from disappearing into busy
       photo regions without darkening the image */
    backdrop-filter: blur(6px) saturate(140%);
    -webkit-backdrop-filter: blur(6px) saturate(140%);
}

/* Nav links — light by default to read on the hero photo */
.nav-links a { color: rgba(255,255,255,0.92); }
.nav-links a:hover { color: #fff; background: rgba(255,255,255,0.12); }
.nav-links a.active { color: #fff; }

/* Phone button — white outline + white text on the transparent bar */
.btn-phone {
    color: rgba(255,255,255,0.92);
    box-shadow: inset 0 0 0 1px rgba(255,255,255,0.32);
    background: rgba(255,255,255,0.04);
}
.btn-phone .phone-icon {
    background: rgba(255,255,255,0.18);
    box-shadow: 0 2px 10px rgba(0,0,0,0.18);
}
.btn-phone .phone-icon svg { fill: #fff; }
.btn-phone:hover {
    color: #fff;
    box-shadow: inset 0 0 0 1px rgba(255,255,255,0.55),
                0 8px 22px rgba(0,0,0,0.25);
}
.btn-phone:hover .phone-icon svg { fill: var(--brand-deep); }

/* Hamburger toggle bars — light on the transparent bar */
.nav-toggle span { background: #fff !important; }

/* Wordmark — white name + yellow bolt on the transparent bar
   (matches the scrolled state for a unified brand presence) */
.wordmark { color: #fff; }
.wordmark .name .accent { color: var(--brand-aqua); }
.wordmark .bolt {
    background: var(--brand-orange);
    box-shadow: 0 4px 14px rgba(245,196,0,0.45),
                inset 0 -2px 0 rgba(0,0,0,0.20);
}
.wordmark .bolt svg { fill: #1F2937; }
.wordmark .tag {
    /* Already yellow in default — boost contrast on dark image background */
    box-shadow: 0 2px 8px rgba(0,0,0,0.20);
}

/* Scrolled state: keep the existing dark-glass nav, but ensure the
   text/bolt overrides above are still applied (they're already white). */
.nav.scrolled {
    border-bottom: 1px solid rgba(255,255,255,0.08);
}

/* ──────────────────────────────────────────────────────────────
   FIX: Services dropdown legibility on transparent nav state.
   .nav-links a above set every nav link to white, which beat
   the inherited '.nav-dropdown a { color: var(--brand-navy) }'
   on specificity — so dropdown items rendered as white text on
   the dropdown's white-glass background (invisible).
   Solution: make the dropdown dark-glass at all states so the
   white text is always readable. Same look as the scrolled
   state, applied unconditionally.
   ─────────────────────────────────────────────────────────── */
.nav-dropdown {
    background: rgba(31,41,55,0.92);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    box-shadow:
        0 10px 40px rgba(0,0,0,0.40),
        inset 0 0 0 1px rgba(255,255,255,0.10);
}
.nav-dropdown a {
    color: rgba(255,255,255,0.86);
}
.nav-dropdown a:hover {
    color: #fff;
    background: rgba(245,196,0,0.14);    /* yellow tint on hover — matches accents */
}

/* ============================================================
   VOLTLINE — Switchboard "How a job runs" panel (interactive)
   ------------------------------------------------------------
   The four process steps live inside a charcoal switchboard panel.
   Each step is a real <details>/<summary> breaker that the visitor
   can click to flip ON and reveal the description. Native HTML
   interactivity — no JS, full keyboard accessibility.

     • Closed (default):  lever sits in OFF (down) position, LED dim
     • Open  ([open]):    lever flips up to ON (yellow), LED lights green

   Yellow live-rail bus runs down the right edge of the panel.
   ============================================================ */

/* Reset — kill all the inherited dashed-trace + circle styling */
.timeline::before,
.timeline::after { display: none; }

/* Panel housing — the whole timeline becomes a metal enclosure */
.process .timeline {
    display: flex;
    flex-direction: column;
    grid-template-columns: none;
    gap: 0;
    max-width: 780px;
    margin: 0 auto;
    background:
        linear-gradient(180deg, #1F2937 0%, #131922 100%);
    border-radius: 18px;
    padding: 14px 24px 18px;
    border: 1px solid rgba(255,255,255,0.10);
    box-shadow:
        0 30px 60px rgba(31,41,55,0.22),
        0 6px 18px rgba(31,41,55,0.14),
        inset 0 1px 0 rgba(255,255,255,0.07),
        inset -4px 0 0 var(--brand-orange);   /* yellow live-rail bus */
    overflow: hidden;
    position: relative;
}

/* Stenciled panel label across the top — "VOLTLINE · PROCESS PANEL" */
.process .timeline > :first-child {
    margin-top: 6px;
}

/* Each <details> breaker row */
.process .tl-step {
    display: block;
    padding: 0;
    text-align: left;
    border-top: 1px solid rgba(255,255,255,0.06);
    border-bottom: 1px solid rgba(0,0,0,0.30);
    background: linear-gradient(180deg, rgba(255,255,255,0.02), transparent);
    transition: background 0.3s var(--ease-soft);
    list-style: none;            /* belt-and-braces in case <details> styling shows */
}
.process .tl-step:first-of-type { border-top: none; }
.process .tl-step:last-of-type  { border-bottom: none; }

.process .tl-step[open] {
    background: linear-gradient(180deg,
        rgba(245,196,0,0.06) 0%,
        rgba(245,196,0,0.02) 100%);
}

/* Summary — the always-visible row of the breaker (lever + label + LED) */
.process .tl-step > summary {
    list-style: none;
    cursor: pointer;
    padding: 18px 22px 18px 14px;
    display: grid;
    grid-template-columns: 64px 1fr 14px;
    align-items: center;
    gap: 22px;
    user-select: none;
    -webkit-tap-highlight-color: transparent;
    outline: none;
}
.process .tl-step > summary::-webkit-details-marker { display: none; }
.process .tl-step > summary::marker { content: ''; }
.process .tl-step > summary:focus-visible {
    box-shadow: inset 0 0 0 2px rgba(245,196,0,0.55);
    border-radius: 6px;
}

/* The "switch handle" — the .num element gets reskinned as a breaker switch */
.process .tl-step .num {
    /* override inherited absolute positioning — it now sits in the grid */
    position: relative;
    top: auto;
    left: auto;
    transform: none;
    width: 56px;
    height: 84px;
    border-radius: 7px;
    background: linear-gradient(180deg, #2a3340 0%, #131a23 100%);
    border: 1px solid rgba(255,255,255,0.14);
    box-shadow:
        inset 0 1px 0 rgba(255,255,255,0.10),
        inset 0 -2px 0 rgba(0,0,0,0.40),
        0 2px 6px rgba(0,0,0,0.30);
    color: rgba(255,255,255,0.85);
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.06em;
    overflow: hidden;
    align-items: flex-end;        /* number sits at the bottom */
    justify-content: center;
    padding-bottom: 8px;
    /* Slot for the lever — vertical track running through the body */
}

/* Lever well — vertical channel where the lever slides */
.process .tl-step .num::after {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    top: 8px;
    bottom: 32px;
    width: 22px;
    background: rgba(0,0,0,0.40);
    border-radius: 4px;
    box-shadow: inset 0 1px 2px rgba(0,0,0,0.50);
    z-index: 1;
}

/* The lever itself — slides up/down based on [open] state */
.process .tl-step .num::before {
    content: 'OFF';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    top: 30px;                    /* OFF — bottom of the well */
    width: 38px;
    height: 22px;
    background: linear-gradient(180deg, #4a5564 0%, #2a3340 100%);
    border-radius: 4px;
    box-shadow:
        inset 0 1px 0 rgba(255,255,255,0.20),
        inset 0 -1px 0 rgba(0,0,0,0.40),
        0 2px 4px rgba(0,0,0,0.40);
    color: rgba(255,255,255,0.55);
    font-size: 8.5px;
    font-weight: 900;
    letter-spacing: 0.18em;
    line-height: 22px;
    text-align: center;
    transition: top 0.32s var(--ease-fluid),
                background 0.30s var(--ease-soft),
                color 0.30s var(--ease-soft),
                box-shadow 0.30s var(--ease-soft);
    z-index: 2;
}

/* OPEN state — lever slides up to the ON position, glows yellow */
.process .tl-step[open] .num::before {
    content: 'ON';
    top: 8px;                     /* ON — top of the well */
    background: linear-gradient(180deg, #ffd633 0%, var(--brand-orange) 100%);
    color: #1F2937;
    box-shadow:
        inset 0 1px 0 rgba(255,255,255,0.45),
        inset 0 -1px 0 rgba(0,0,0,0.20),
        0 2px 6px rgba(245,196,0,0.55),
        0 0 16px rgba(245,196,0,0.40);
}

/* Make the number itself dim in OFF state and brighten in ON state */
.process .tl-step[open] .num {
    color: white;
    border-color: rgba(245,196,0,0.30);
}

/* Step title — sits in the middle column of the summary grid */
.process .tl-step .step-title {
    color: rgba(255,255,255,0.92);
    font-size: 17px;
    font-weight: 800;
    letter-spacing: 0.01em;
    line-height: 1.25;
    margin: 0;
    transition: color 0.3s var(--ease-soft);
}
.process .tl-step[open] .step-title { color: #fff; }

/* LED indicator on the right — dim red when OFF, bright green when ON */
.process .tl-step > summary::after {
    content: '';
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: radial-gradient(circle at 35% 35%, #6b2030 0%, #2a0a10 70%);
    box-shadow:
        inset 0 1px 1px rgba(255,255,255,0.08),
        0 1px 2px rgba(0,0,0,0.30);
    transition: background 0.3s var(--ease-soft),
                box-shadow 0.3s var(--ease-soft);
    justify-self: end;
}
.process .tl-step[open] > summary::after {
    background: radial-gradient(circle at 35% 35%, #b6ffc8 0%, #4ADE80 60%, #1c7a3a 100%);
    box-shadow:
        inset 0 1px 1px rgba(255,255,255,0.40),
        0 0 10px rgba(74,222,128,0.65);
}

/* Description body — sits below the summary, only shown when [open] */
.process .tl-step > p {
    color: rgba(255,255,255,0.74);
    font-size: 14.5px;
    line-height: 1.6;
    margin: 0;
    padding: 0 22px 22px 100px;     /* indented under the title */
    max-width: 620px;
    text-align: left;
}

/* Subtle hover state on closed breakers — invites the click */
.process .tl-step:not([open]) > summary:hover {
    background: rgba(255,255,255,0.03);
}
.process .tl-step:not([open]) > summary:hover .num::before {
    background: linear-gradient(180deg, #5a6574 0%, #3a4350 100%);
    color: rgba(255,255,255,0.75);
}

/* Mobile — tighten paddings, shrink the breaker handle, reflow the text indent */
@media (max-width: 720px) {
    .process .timeline {
        max-width: 100%;
        padding: 10px 16px 14px;
        border-radius: 14px;
    }
    .process .tl-step > summary {
        grid-template-columns: 48px 1fr 12px;
        gap: 14px;
        padding: 14px 14px 14px 8px;
    }
    .process .tl-step .num {
        width: 44px;
        height: 70px;
    }
    .process .tl-step .num::after {
        top: 6px;
        bottom: 26px;
        width: 18px;
    }
    .process .tl-step .num::before {
        width: 30px;
        height: 18px;
        top: 26px;
        font-size: 7.5px;
        line-height: 18px;
        letter-spacing: 0.15em;
    }
    .process .tl-step[open] .num::before { top: 6px; }
    .process .tl-step .step-title { font-size: 15.5px; }
    .process .tl-step > p {
        padding: 0 14px 18px 70px;
        font-size: 13.5px;
    }
}

/* ============================================================
   VOLTLINE — Switchboard module service cards
   ------------------------------------------------------------
   Each .thing service card is restyled as a single labelled
   breaker module that "clips onto" the same yellow bus rail.
     • Yellow live-rail down the left edge (border-left)
     • Dark stencil header with circuit ID + green status LED
     • White module faceplate body with WHAT / WHERE spec sections
     • Footer action bar reads as a stencilled link tag
   Visual link with the switchboard timeline below — a coherent
   "switchgear" treatment for the whole 'How we work' area.
   ============================================================ */

.thing {
    padding: 0;                                 /* override inherited 36/32 */
    border-radius: 12px;                        /* squarer, more industrial */
    background: linear-gradient(180deg, #ffffff 0%, #f5f8fc 100%);
    border: 1px solid rgba(0,102,255,0.14);
    border-left: 4px solid var(--brand-orange); /* yellow live-rail bus */
    box-shadow:
        0 8px 24px rgba(31,41,55,0.07),
        inset 0 1px 0 rgba(255,255,255,0.95);
    overflow: hidden;
    position: relative;
}
.thing:hover {
    transform: translateY(-4px);
    border-color: rgba(0,102,255,0.30);
    box-shadow:
        0 18px 42px rgba(31,41,55,0.13),
        inset 0 1px 0 rgba(255,255,255,0.95);
}
.thing:hover .thing-num::after {
    /* LED pulses brighter on card hover */
    box-shadow:
        inset 0 1px 1px rgba(255,255,255,0.55),
        0 0 14px rgba(74,222,128,0.85);
}

/* Dark stencil header — replaces the small inline 'thing-num' label.
   Stretches edge-to-edge across the top of the card like a DIN-rail label. */
.thing-num {
    display: block;
    background: linear-gradient(180deg, #1F2937 0%, #131922 100%);
    color: rgba(255,255,255,0.86);
    margin: 0;
    padding: 13px 50px 12px 22px;               /* right padding leaves room for the LED */
    font-size: 10.5px;
    font-weight: 800;
    letter-spacing: 0.20em;
    text-transform: uppercase;
    line-height: 1;
    box-shadow: inset 0 -1px 0 rgba(0,0,0,0.45);
    border-bottom: 1px solid rgba(0,0,0,0.45);
    position: relative;
}

/* Green operational LED on the right of the header */
.thing-num::after {
    content: '';
    position: absolute;
    right: 18px;
    top: 50%;
    transform: translateY(-50%);
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: radial-gradient(circle at 35% 35%, #b6ffc8 0%, #4ADE80 60%, #1c7a3a 100%);
    box-shadow:
        inset 0 1px 1px rgba(255,255,255,0.45),
        0 0 9px rgba(74,222,128,0.65);
    transition: box-shadow 0.4s var(--ease-soft);
}

/* Module faceplate — the body of the card. Re-add the inset padding via margins
   on the inner elements so the dark header and footer-bar can run edge-to-edge. */
.thing-title {
    margin: 22px 22px 4px;
    font-size: 22px;
    line-height: 1.18;
    font-weight: 800;
    color: var(--brand-navy);
    letter-spacing: -0.012em;
}

.thing-block {
    margin: 20px 22px 0;
    padding-top: 16px;
    border-top: 1px dashed rgba(31,41,55,0.18);  /* dashed → spec-sheet divider */
}
.thing-block:first-of-type {
    margin-top: 18px;
    padding-top: 0;
    border-top: none;
}

/* Spec-style label with a small yellow "stencil mark" before the text */
.thing-block-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 10px;
    font-weight: 800;
    color: var(--brand-navy);
    letter-spacing: 0.22em;
    text-transform: uppercase;
    margin-bottom: 6px;
}
.thing-block-label::before {
    content: '';
    width: 7px;
    height: 7px;
    background: var(--brand-orange);
    border-radius: 1px;
    box-shadow: 0 0 0 1px rgba(245,196,0,0.30);
}

.thing-block p {
    font-size: 14.5px;
    line-height: 1.6;
    color: #3a4759;
    margin: 0;
}

/* Footer action bar — replaces the inline link. Sits at the bottom of the
   module like a labelled pull-tab. margin-top: auto pushes it to the
   bottom of the flex column regardless of content length. */
.thing-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 22px 0 0;                            /* override inherited margins */
    padding: 13px 22px;
    background: linear-gradient(180deg, #f6f9fd 0%, #eaf0f8 100%);
    border-top: 1px solid rgba(31,41,55,0.10);
    color: var(--brand-deep);
    font-size: 11.5px;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    line-height: 1.2;
    transition: background 0.3s var(--ease-soft),
                color 0.3s var(--ease-soft),
                padding-left 0.3s var(--ease-soft);
    margin-top: auto;                            /* stick to bottom of flex card */
}
.thing-link span {
    color: var(--brand-orange);
    font-size: 14px;
    line-height: 1;
    transform: none;                             /* override inherited translate */
}
.thing-link:hover {
    background: linear-gradient(180deg, #1F2937 0%, #131922 100%);
    color: #fff;
}
.thing-link:hover span {
    color: var(--brand-orange);
    transform: translateX(3px);
}

/* Mobile — keep the module aesthetic but tighten paddings */
@media (max-width: 720px) {
    .thing-num { padding: 11px 44px 10px 18px; font-size: 10px; }
    .thing-title { margin: 18px 18px 4px; font-size: 19px; }
    .thing-block { margin: 16px 18px 0; }
    .thing-link { padding: 12px 18px; font-size: 11px; }
}

/* ============================================================
   VOLTLINE — Contact section, charcoal switchboard match
   ------------------------------------------------------------
   The bright electric-blue gradient was fighting the rest of the
   trade-bold palette. Repaints the contact section in the same
   charcoal as the timeline panel so the whole 'How we work + Get
   a quote' bottom of the page reads as one industrial control
   surface. Yellow CTA pops harder on charcoal than on blue.
   ============================================================ */

.contact {
    background: linear-gradient(180deg, #1F2937 0%, #131922 100%);
}

/* Atmospheric overlay — subtle yellow + cyan radial highlights
   replace the blue/cyan glow that suited the old palette */
.contact::before {
    background:
        radial-gradient(ellipse 65% 75% at 18% 22%, rgba(245,196,0,0.10) 0%, transparent 60%),
        radial-gradient(ellipse 60% 60% at 88% 82%, rgba(0,102,255,0.10) 0%, transparent 60%);
}

/* Section labels — keep aqua but slightly desaturated against the new bg */
.contact .section-label { color: rgba(155,194,255,0.85); }
.contact .section-label::before { background: rgba(155,194,255,0.85); }

/* Frosted form card — subtle warm tint and a 1px yellow rail at the top
   so it visually links to the trade-bold accents elsewhere on the page */
.send-form {
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.14);
    border-top: 3px solid var(--brand-orange);     /* trade-bold accent rail */
    border-radius: 16px 16px 20px 20px;
    box-shadow:
        0 24px 56px rgba(0,0,0,0.45),
        inset 0 1px 0 rgba(255,255,255,0.06);
}

/* Style the <select> the same as text inputs (was unstyled in the original
   architect template — showed up as a default browser white control) */
.field select {
    width: 100%;
    padding: 14px 38px 14px 16px;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.18);
    border-radius: 12px;
    color: white;
    font-family: inherit;
    font-size: 15px;
    transition: border-color 0.3s, background 0.3s;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    /* Custom dropdown caret rendered as inline SVG */
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'><path d='M2 4l4 4 4-4' stroke='%23ffffff' stroke-opacity='0.7' stroke-width='1.5' fill='none' stroke-linecap='round' stroke-linejoin='round'/></svg>");
    background-repeat: no-repeat;
    background-position: right 14px center;
    background-size: 12px;
    cursor: pointer;
}
.field select:focus {
    outline: none;
    border-color: var(--brand-orange);
    background-color: rgba(255,255,255,0.10);
}
/* The <option> elements need explicit colours so the open dropdown is legible
   on every OS/browser combination (default rendering varies wildly) */
.field select option {
    background: #1F2937;
    color: #fff;
}

/* Input focus state — switch the focus accent from aqua to safety yellow
   so it matches the trade-bold accent palette on this section */
.field input:focus,
.field textarea:focus {
    border-color: var(--brand-orange);
    background: rgba(255,255,255,0.10);
    box-shadow: 0 0 0 3px rgba(245,196,0,0.12);
}

/* Contact-point icons — switch SVG fill from aqua to yellow so the
   trade-bold accent reads consistently across the section */
.contact-point .pt-icon {
    background: rgba(245,196,0,0.10);
    border-color: rgba(245,196,0,0.28);
}
.contact-point .pt-icon svg { fill: var(--brand-orange); }

/* Inline phone/email links inside the contact-points — re-tuned for charcoal */
.contact-point .pt-body a {
    color: rgba(255,255,255,0.92);
    border-bottom: 1px solid rgba(245,196,0,0.55);
    transition: color 0.3s, border-color 0.3s;
}
.contact-point .pt-body a:hover {
    color: var(--brand-orange);
    border-bottom-color: var(--brand-orange);
}

/* The kicker has been removed from the hero markup. Headline + sub-copy
   keep the original big, confident scale (clamp(48px, 8vw, 124px) on H1,
   clamp(17px, 1.4vw, 21px) on the lede) — handled by the inherited rules. */



