:root {
    --navy: #041a2c;
    --navy-2: #082a45;
    --navy-3: #0c3555;
    --orange: #f35a0a;
    --orange-2: #ff7a18;
    --ink: #102437;
    --muted: #5f6c78;
    --surface: #ffffff;
    --soft: #f4f6f8;
    --cream: #f7f5f1;
    --line: #d9e0e6;
    --header-height: 86px;
    --shadow-sm: 0 10px 26px rgba(5, 26, 44, .09);
    --shadow: 0 18px 48px rgba(5, 26, 44, .16);
    --shadow-dark: 0 18px 48px rgba(0, 0, 0, .24);
    --radius: 8px;
    --radius-lg: 12px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: calc(var(--header-height) + 24px);
}

body {
    margin: 0;
    overflow-x: hidden;
    font-family: "Segoe UI Variable", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    color: var(--ink);
    background: var(--surface);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

body.menu-open {
    overflow: hidden;
}

img {
    display: block;
    max-width: 100%;
    height: auto;
}

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

button,
a {
    -webkit-tap-highlight-color: transparent;
}

button,
input,
textarea,
select {
    font: inherit;
}

:focus-visible {
    outline: 3px solid rgba(255, 122, 24, .55);
    outline-offset: 4px;
}

.shell {
    width: min(1180px, calc(100% - 48px));
    margin-inline: auto;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Header */
.site-header {
    position: fixed;
    inset: 0 0 auto;
    z-index: 100;
    background: rgba(4, 26, 44, .96);
    border-bottom: 1px solid rgba(255, 255, 255, .08);
    backdrop-filter: blur(12px);
    transition: background .25s ease, box-shadow .25s ease, transform .25s ease;
}

.site-header.is-scrolled {
    background: rgba(4, 26, 44, .985);
    box-shadow: 0 12px 30px rgba(0, 0, 0, .2);
}

.header-inner {
    min-height: var(--header-height);
    display: flex;
    align-items: center;
    gap: 28px;
    transition: min-height .25s ease;
}

.site-header.is-scrolled .header-inner {
    min-height: 74px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: #fff;
    min-width: max-content;
}

.brand-mark-frame {
    width: 58px;
    height: 52px;
    overflow: hidden;
    display: grid;
    place-items: center;
    flex: 0 0 auto;
}

.brand-mark {
    width: 64px;
    max-width: none;
    height: auto;
    transform: translateY(-1px);
    object-fit: contain;
    object-position: center top;
}

.brand-copy {
    display: inline-flex;
    align-items: baseline;
    gap: 5px;
    letter-spacing: .02em;
}

.brand-copy strong {
    font-family: "Segoe UI Variable", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    font-size: 27px;
    line-height: 1;
    font-weight: 800;
}

.brand-copy small {
    font-size: 10px;
    color: var(--orange-2);
    font-weight: 800;
    letter-spacing: .08em;
}

.site-nav {
    display: flex;
    align-items: center;
    gap: 27px;
    margin-left: auto;
}

.site-nav a {
    color: #fff;
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .055em;
    position: relative;
    padding-block: 10px;
}

.site-nav a::after {
    content: "";
    position: absolute;
    left: 0;
    right: 100%;
    bottom: 1px;
    height: 2px;
    background: linear-gradient(90deg, var(--orange), var(--orange-2));
    transition: right .22s ease;
}

.site-nav a:hover::after,
.site-nav a.active::after {
    right: 0;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

.header-phone {
    color: #fff;
    font-weight: 800;
    font-size: 13px;
    white-space: nowrap;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 0 25px;
    border: 1px solid transparent;
    border-radius: 5px;
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .035em;
    transition: transform .2s ease, box-shadow .2s ease, background .2s ease, border-color .2s ease;
}

.button:hover {
    transform: translateY(-2px);
}

.button-small {
    min-height: 44px;
    padding-inline: 18px;
    font-size: 10px;
}

.button-orange {
    background: linear-gradient(135deg, var(--orange), var(--orange-2));
    color: #fff;
    box-shadow: 0 10px 25px rgba(244, 90, 10, .22);
}

.button-orange:hover {
    box-shadow: 0 14px 30px rgba(244, 90, 10, .3);
}

.button-outline {
    border-color: rgba(255, 255, 255, .68);
    color: #fff;
    background: rgba(2, 18, 31, .3);
}

.button-outline:hover,
.button-outline-light:hover {
    background: rgba(255, 255, 255, .1);
}

.button-outline-dark {
    border-color: #71808d;
    color: var(--navy);
    background: #fff;
}

.button-navy {
    background: var(--navy);
    color: #fff;
}

.button-outline-light {
    border-color: #fff;
    color: #fff;
    background: transparent;
}

.button-row {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}

.menu-toggle {
    display: none;
    width: 44px;
    height: 44px;
    margin-left: auto;
    padding: 8px;
    border: 0;
    border-radius: 5px;
    background: rgba(255, 255, 255, .06);
    cursor: pointer;
}

.menu-toggle span:not(.sr-only) {
    display: block;
    width: 26px;
    height: 2px;
    margin: 5px auto;
    background: #fff;
    transition: transform .2s ease, opacity .2s ease;
}

.menu-toggle[aria-expanded="true"] span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] span:nth-child(2) {
    opacity: 0;
}

.menu-toggle[aria-expanded="true"] span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

.mobile-call-action {
    display: none;
}

.menu-backdrop {
    position: fixed;
    inset: var(--header-height) 0 0;
    z-index: 90;
    display: none;
    background: rgba(0, 10, 18, .55);
    backdrop-filter: blur(3px);
}

.menu-backdrop.is-open {
    display: block;
}

/* Home hero */
.hero {
    min-height: clamp(650px, 78vh, 840px);
    padding-top: var(--header-height);
    position: relative;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: var(--navy);
}

.hero::after {
    content: "";
    position: absolute;
    inset: auto 0 0;
    height: 130px;
    background: linear-gradient(to top, rgba(4, 26, 44, .2), transparent);
    pointer-events: none;
}

.hero-image {
    position: absolute;
    inset: var(--header-height) 0 0 30%;
    background: url('../images/hero-property.webp') center / cover no-repeat;
    transform: scale(1.01);
}

.hero-shade {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, #041a2c 0%, rgba(4, 26, 44, .98) 30%, rgba(4, 26, 44, .72) 52%, rgba(4, 26, 44, .12) 78%, rgba(4, 26, 44, .05) 100%),
        linear-gradient(180deg, rgba(4, 26, 44, .14), rgba(4, 26, 44, .12));
}

.hero-content {
    position: relative;
    z-index: 2;
    color: #fff;
    padding-block: 84px 145px;
}

.eyebrow {
    color: var(--orange);
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .075em;
    margin: 0 0 13px;
}

.hero h1,
.page-hero h1 {
    font-family: "Segoe UI Variable", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    font-size: clamp(56px, 7.4vw, 90px);
    line-height: .93;
    text-transform: uppercase;
    letter-spacing: -.052em;
    margin: 0 0 23px;
    max-width: 590px;
}

.hero-lead {
    font-size: clamp(16px, 1.4vw, 18px);
    max-width: 470px;
    margin: 0 0 31px;
    color: #edf3f7;
    line-height: 1.55;
}

.hero-scroll-cue {
    position: absolute;
    z-index: 3;
    left: 50%;
    bottom: 84px;
    transform: translateX(-50%);
    width: 28px;
    height: 44px;
    border: 1px solid rgba(255, 255, 255, .42);
    border-radius: 18px;
}

.hero-scroll-cue::after {
    content: "";
    position: absolute;
    left: 50%;
    top: 8px;
    width: 4px;
    height: 8px;
    border-radius: 4px;
    background: var(--orange-2);
    transform: translateX(-50%);
    animation: scrollCue 1.7s ease-in-out infinite;
}

@keyframes scrollCue {
    0%, 100% { opacity: .35; transform: translate(-50%, 0); }
    50% { opacity: 1; transform: translate(-50%, 13px); }
}

/* Service strip */
.service-strip-wrap {
    position: relative;
    z-index: 4;
    margin-top: -66px;
}

.service-strip {
    background: #fff;
    border: 1px solid rgba(217, 224, 230, .85);
    border-radius: 8px;
    box-shadow: var(--shadow);
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    padding: 27px 20px;
    gap: 0;
}

.service-mini {
    display: grid;
    grid-template-columns: 38px 1fr;
    gap: 11px;
    min-width: 0;
    padding: 4px 13px;
    border-right: 1px solid #e5e9ed;
}

.service-mini:last-child {
    border-right: 0;
}

.service-mini h2 {
    font-size: 11px;
    line-height: 1.22;
    text-transform: uppercase;
    margin: 0 0 7px;
    letter-spacing: .01em;
}

.service-mini p {
    font-size: 9.5px;
    line-height: 1.5;
    color: var(--muted);
    margin: 0;
}

.service-icon {
    width: 34px;
    height: 34px;
    color: var(--navy);
    display: inline-flex;
}

.service-icon svg {
    width: 100%;
    height: 100%;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.7;
    stroke-linecap: round;
    stroke-linejoin: round;
}

/* General sections */
.section {
    padding: clamp(72px, 8vw, 100px) 0;
}

.about-section {
    padding-top: clamp(110px, 10vw, 145px);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr .92fr 1fr;
    gap: clamp(34px, 4vw, 54px);
    align-items: center;
}

.section-copy h2,
.section-heading h2,
.transformation-section h2,
.simple-two-col h2 {
    font-family: "Segoe UI Variable", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    font-size: clamp(34px, 4.2vw, 54px);
    line-height: 1.04;
    letter-spacing: -.04em;
    margin: 0 0 23px;
}

.section-copy p {
    color: var(--muted);
    margin: 0 0 27px;
}

.about-photo {
    position: relative;
}

.about-photo::before {
    content: "";
    position: absolute;
    inset: 18px -16px -18px 16px;
    z-index: -1;
    border: 1px solid rgba(243, 90, 10, .28);
    border-radius: 8px;
}

.about-photo img {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: var(--shadow);
}

.benefit-list {
    display: grid;
    gap: 23px;
}

.benefit-list article {
    display: grid;
    grid-template-columns: 43px 1fr;
    gap: 15px;
}

.benefit-list span {
    color: var(--orange);
    font-weight: 800;
    font-size: 12px;
    border: 1px solid rgba(244, 90, 10, .4);
    width: 39px;
    height: 39px;
    display: grid;
    place-items: center;
    border-radius: 50%;
}

.benefit-list h3 {
    font-size: 13px;
    text-transform: uppercase;
    margin: 0 0 4px;
}

.benefit-list p {
    font-size: 12px;
    color: var(--muted);
    margin: 0;
}

.projects-section {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(circle at 80% 0%, rgba(255, 122, 24, .08), transparent 32%),
        linear-gradient(135deg, #031729, #092b47);
    color: #fff;
}

.projects-section::before {
    content: "";
    position: absolute;
    inset: 0;
    opacity: .08;
    background-image: linear-gradient(135deg, transparent 45%, #fff 46%, transparent 47%);
    background-size: 180px 180px;
    pointer-events: none;
}

.projects-section .shell {
    position: relative;
    z-index: 1;
}

.section-heading {
    display: flex;
    justify-content: space-between;
    align-items: end;
    gap: 28px;
    margin-bottom: 36px;
}

.on-dark .button-outline {
    background: transparent;
}

.project-grid,
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
}

.project-card {
    background: #fff;
    border-radius: 7px;
    overflow: hidden;
    color: var(--ink);
    box-shadow: var(--shadow-dark);
    transition: transform .24s ease, box-shadow .24s ease;
}

.project-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 24px 48px rgba(0, 0, 0, .3);
}

.project-card img {
    width: 100%;
    height: 262px;
    object-fit: cover;
    transition: transform .45s ease;
}

.project-card:hover img {
    transform: scale(1.025);
}

.project-card > div {
    padding: 15px 17px 17px;
}

.project-card span {
    font-size: 9px;
    color: var(--orange);
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .055em;
}

.project-card h3,
.project-card h2 {
    font-family: "Segoe UI Variable", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    font-size: 17px;
    margin: 3px 0 0;
    line-height: 1.22;
}

.transformation-section {
    background: linear-gradient(180deg, #fff, #f7f8f9);
}

.transformation-grid {
    display: grid;
    grid-template-columns: .68fr 1fr 1fr;
    gap: 28px;
    align-items: center;
}

.compare-card {
    display: grid;
    grid-template-columns: 1fr 1fr;
    overflow: hidden;
    border-radius: 8px;
    border: 1px solid var(--line);
    background: #fff;
    box-shadow: var(--shadow-sm);
}

.compare-card > div {
    position: relative;
    min-width: 0;
}

.compare-card > div + div::before {
    content: "";
    position: absolute;
    inset: 0 auto 0 0;
    width: 2px;
    background: #fff;
    z-index: 2;
}

.compare-card img {
    height: 252px;
    width: 100%;
    object-fit: cover;
}

.compare-card span {
    position: absolute;
    left: 10px;
    bottom: 10px;
    background: rgba(4, 26, 44, .92);
    color: #fff;
    padding: 5px 9px;
    text-transform: uppercase;
    font-size: 9px;
    font-weight: 800;
    letter-spacing: .05em;
}

.compare-card > div:last-child span {
    left: auto;
    right: 10px;
    background: var(--orange);
}

.cta-band {
    position: relative;
    overflow: hidden;
    background: linear-gradient(90deg, var(--orange), #ff6e0a);
    color: #fff;
    padding: 29px 0;
}

.cta-band::before {
    content: "";
    position: absolute;
    inset: -100% 55% -100% -10%;
    transform: skewX(-22deg);
    background: rgba(255, 255, 255, .08);
}

.cta-inner {
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 25px;
}

.cta-inner > div:first-child {
    display: flex;
    flex-direction: column;
}

.cta-inner strong {
    font-family: "Segoe UI Variable", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    font-size: clamp(21px, 2.2vw, 26px);
    text-transform: uppercase;
    line-height: 1.1;
}

/* Footer */
.site-footer {
    background: #031728;
    color: #dbe4eb;
    padding: 58px 0 20px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr repeat(4, 1fr);
    gap: 38px;
}

.footer-brand {
    margin-bottom: 15px;
}

.footer-brand .brand-mark-frame {
    width: 53px;
    height: 47px;
}

.footer-brand .brand-mark {
    width: 59px;
}

.footer-grid p,
.footer-grid li,
.footer-grid a {
    font-size: 12px;
    color: #b9c6d0;
}

.footer-grid h3 {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: .06em;
    color: #fff;
    margin: 0 0 15px;
}

.footer-grid ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.footer-grid li {
    margin: 5px 0;
}

.footer-grid a:hover {
    color: #fff;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, .12);
    margin-top: 35px;
    padding-top: 18px;
    display: flex;
    justify-content: space-between;
    gap: 24px;
    font-size: 11px;
    color: #8fa0ad;
}

.footer-bottom a {
    margin-left: 20px;
}

/* Internal pages */
.page-hero {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    padding: calc(var(--header-height) + 78px) 0 90px;
    background:
        radial-gradient(circle at 78% 20%, rgba(255, 122, 24, .13), transparent 25%),
        linear-gradient(135deg, #041a2c, #0a3152);
    color: #fff;
}

.page-hero::after {
    content: "";
    position: absolute;
    z-index: -1;
    width: 430px;
    height: 430px;
    right: -110px;
    bottom: -240px;
    border: 1px solid rgba(255, 255, 255, .08);
    border-radius: 50%;
    box-shadow: 0 0 0 70px rgba(255, 255, 255, .025), 0 0 0 140px rgba(255, 255, 255, .018);
}

.page-hero h1 {
    font-size: clamp(48px, 6.8vw, 78px);
    max-width: 820px;
}

.page-hero p:last-child {
    max-width: 650px;
    font-size: clamp(16px, 1.5vw, 18px);
    color: #d9e4ec;
}

.cards-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
}

.content-card {
    border: 1px solid var(--line);
    padding: 32px;
    border-radius: 8px;
    background: #fff;
    box-shadow: var(--shadow-sm);
    transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}

.content-card:hover {
    transform: translateY(-5px);
    border-color: rgba(243, 90, 10, .3);
    box-shadow: var(--shadow);
}

.content-card .service-icon {
    color: var(--orange);
    margin-bottom: 20px;
}

.content-card h2 {
    font-family: "Segoe UI Variable", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    font-size: 22px;
    line-height: 1.2;
}

.content-card p {
    color: var(--muted);
}

.content-card a {
    font-weight: 800;
    color: var(--orange);
}

.project-card.light {
    border: 1px solid var(--line);
    box-shadow: var(--shadow-sm);
}

.project-card.light:hover {
    box-shadow: var(--shadow);
}

.simple-two-col,
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 55px;
    align-items: center;
}

.simple-two-col p {
    color: var(--muted);
}

.simple-two-col img {
    width: 100%;
    border-radius: 8px;
    box-shadow: var(--shadow);
}

.contact-panel {
    min-height: 100%;
    padding: 36px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff;
    box-shadow: var(--shadow-sm);
}

.contact-panel h2 {
    font-family: "Segoe UI Variable", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    font-size: 32px;
    line-height: 1.15;
    margin-top: 0;
}

.contact-panel a {
    color: var(--orange);
    font-weight: 700;
}

.accent-panel {
    background: linear-gradient(135deg, var(--orange), #ff7d1a);
    color: #fff;
    border: 0;
}

.accent-panel a {
    color: #fff;
}

/* Reveal animation */
.reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity .7s ease, transform .7s cubic-bezier(.2, .7, .2, 1);
    transition-delay: var(--reveal-delay, 0ms);
}

.reveal.is-visible {
    opacity: 1;
    transform: none;
}

@media (prefers-reduced-motion: reduce) {
    * {
        scroll-behavior: auto !important;
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
    }

    .reveal {
        opacity: 1;
        transform: none;
        transition: none;
    }
}

/* Laptop */
@media (max-width: 1120px) {
    .shell {
        width: min(100% - 40px, 1080px);
    }

    .header-inner {
        gap: 20px;
    }

    .site-nav {
        gap: 20px;
    }

    .header-phone {
        display: none;
    }

    .service-strip {
        grid-template-columns: repeat(3, 1fr);
        padding-block: 22px;
    }

    .service-mini {
        padding-block: 12px;
    }

    .service-mini:nth-child(3) {
        border-right: 0;
    }

    .service-mini:nth-child(-n+3) {
        border-bottom: 1px solid #e5e9ed;
    }

    .about-grid {
        grid-template-columns: 1fr 1fr;
    }

    .benefit-list {
        grid-column: 1 / -1;
        grid-template-columns: 1fr 1fr;
        margin-top: 10px;
    }

    .transformation-grid {
        grid-template-columns: 1fr 1fr;
    }

    .transformation-grid .section-copy {
        grid-column: 1 / -1;
        max-width: 700px;
    }

    .footer-grid {
        grid-template-columns: 1.4fr repeat(2, 1fr);
    }

    .footer-grid > div:nth-child(4),
    .footer-grid > div:nth-child(5) {
        margin-top: 12px;
    }
}

/* Tablet and mobile navigation */
@media (max-width: 900px) {
    :root {
        --header-height: 78px;
    }

    .site-nav,
    .header-actions {
        display: none;
    }

    .menu-toggle {
        display: block;
    }

    .site-nav.is-open {
        display: flex;
        position: fixed;
        z-index: 95;
        top: var(--header-height);
        right: 0;
        bottom: 0;
        width: min(86vw, 390px);
        padding: 34px 28px 48px;
        background: #041a2c;
        box-shadow: -16px 0 42px rgba(0, 0, 0, .28);
        flex-direction: column;
        align-items: stretch;
        gap: 5px;
        overflow-y: auto;
    }

    .site-nav.is-open a {
        font-size: 17px;
        padding: 14px 2px;
        border-bottom: 1px solid rgba(255, 255, 255, .09);
    }

    .site-nav.is-open a::after {
        bottom: 8px;
        right: 100%;
        width: 44px;
    }

    .site-nav.is-open a.active::after,
    .site-nav.is-open a:hover::after {
        right: auto;
    }

    .site-nav.is-open .mobile-call-action {
        display: grid;
        place-items: center;
        margin-top: 22px;
        min-height: 48px;
        padding: 0 18px;
        border: 0;
        border-radius: 5px;
        color: #fff;
        background: linear-gradient(135deg, var(--orange), var(--orange-2));
        font-size: 12px;
        font-weight: 800;
        text-transform: uppercase;
        text-align: center;
    }

    .site-nav.is-open .mobile-call-action::after {
        display: none;
    }

    .hero {
        min-height: 680px;
    }

    .hero-image {
        inset: var(--header-height) 0 0;
        background-position: 62% center;
    }

    .hero-shade {
        background: linear-gradient(90deg, rgba(4, 26, 44, .98), rgba(4, 26, 44, .78) 60%, rgba(4, 26, 44, .45));
    }

    .hero-content {
        padding-bottom: 132px;
    }

    .hero-scroll-cue {
        display: none;
    }

    .service-strip-wrap {
        margin-top: -48px;
    }

    .service-strip {
        grid-template-columns: repeat(2, 1fr);
    }

    .service-mini,
    .service-mini:nth-child(3) {
        border-right: 0;
    }

    .service-mini:nth-child(odd) {
        border-right: 1px solid #e5e9ed;
    }

    .service-mini:nth-child(-n+4) {
        border-bottom: 1px solid #e5e9ed;
    }

    .about-grid,
    .project-grid,
    .gallery-grid,
    .simple-two-col,
    .contact-grid {
        grid-template-columns: 1fr;
    }

    .about-photo {
        order: -1;
        max-width: 620px;
        margin-inline: auto;
    }

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

    .section-heading,
    .cta-inner {
        align-items: flex-start;
        flex-direction: column;
    }

    .project-grid,
    .gallery-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .transformation-grid {
        grid-template-columns: 1fr;
    }

    .project-card img {
        height: 235px;
    }

    .simple-two-col img {
        order: -1;
    }

    .cards-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

/* Phone */
@media (max-width: 640px) {
    :root {
        --header-height: 72px;
    }

    .shell {
        width: min(100% - 28px, 1180px);
    }

    .header-inner {
        min-height: var(--header-height);
    }

    .site-header.is-scrolled .header-inner {
        min-height: var(--header-height);
    }

    .brand-mark-frame {
        width: 48px;
        height: 44px;
    }

    .brand-mark {
        width: 54px;
    }

    .brand-copy strong {
        font-size: 22px;
    }

    .brand-copy small {
        font-size: 9px;
    }

    .hero {
        min-height: 640px;
    }

    .hero-image {
        background-position: 67% center;
    }

    .hero-shade {
        background:
            linear-gradient(90deg, rgba(4, 26, 44, .98), rgba(4, 26, 44, .82)),
            linear-gradient(0deg, rgba(4, 26, 44, .12), rgba(4, 26, 44, .12));
    }

    .hero-content {
        padding-block: 70px 112px;
    }

    .hero h1 {
        font-size: clamp(49px, 15vw, 64px);
        max-width: 430px;
    }

    .hero-lead {
        font-size: 15px;
        max-width: 390px;
    }

    .service-strip {
        padding: 16px;
    }

    .service-mini {
        grid-template-columns: 36px 1fr;
        padding: 12px 9px;
    }

    .service-mini p {
        display: none;
    }

    .service-mini h2 {
        margin: 5px 0 0;
        font-size: 10px;
    }

    .service-icon {
        width: 31px;
        height: 31px;
    }

    .section {
        padding: 66px 0;
    }

    .about-section {
        padding-top: 90px;
    }

    .about-grid {
        gap: 38px;
    }

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

    .project-grid,
    .gallery-grid,
    .cards-grid {
        grid-template-columns: 1fr;
    }

    .project-card img {
        height: 235px;
    }

    .compare-card img {
        height: 205px;
    }

    .cta-inner .button-row {
        width: 100%;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 30px 24px;
    }

    .footer-grid > div:first-child {
        grid-column: 1 / -1;
    }

    .footer-bottom {
        gap: 14px;
        flex-direction: column;
    }

    .footer-bottom a {
        margin: 0 18px 0 0;
    }

    .page-hero {
        padding: calc(var(--header-height) + 62px) 0 70px;
    }

    .page-hero h1 {
        font-size: clamp(44px, 13vw, 60px);
    }

    .contact-panel,
    .content-card {
        padding: 27px;
    }
}

@media (max-width: 430px) {
    .brand-copy strong {
        font-size: 20px;
    }

    .button-row {
        width: 100%;
    }

    .button-row .button {
        flex: 1 1 100%;
        width: 100%;
    }

    .service-strip {
        grid-template-columns: 1fr;
    }

    .service-mini,
    .service-mini:nth-child(odd),
    .service-mini:nth-child(3) {
        border-right: 0;
        border-bottom: 1px solid #e5e9ed;
    }

    .service-mini:last-child {
        border-bottom: 0;
    }

    .service-mini p {
        display: block;
    }

    .compare-card img {
        height: 175px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }

    .footer-grid > div:first-child {
        grid-column: auto;
    }
}

/* v0.1.2 — real content and gallery integration */
.project-location {
    margin: 7px 0 0;
    color: #687582;
    font-size: 11px;
    font-weight: 700;
}

.project-summary {
    margin: 11px 0 0;
    color: var(--muted);
    font-size: 13px;
    line-height: 1.55;
}

.project-gallery-heading {
    align-items: flex-end;
}

.gallery-filters {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 8px;
    max-width: 680px;
}

.gallery-filter {
    min-height: 38px;
    padding: 0 15px;
    border: 1px solid #cfd7de;
    border-radius: 999px;
    background: #fff;
    color: var(--navy);
    cursor: pointer;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .045em;
    text-transform: uppercase;
    transition: color .2s ease, background .2s ease, border-color .2s ease, transform .2s ease;
}

.gallery-filter:hover {
    transform: translateY(-1px);
    border-color: var(--orange);
}

.gallery-filter.is-active {
    border-color: var(--orange);
    background: var(--orange);
    color: #fff;
}

.real-project-grid {
    align-items: stretch;
}

.gallery-project-card {
    width: 100%;
    padding: 0;
    border: 1px solid var(--line);
    appearance: none;
    text-align: left;
    cursor: zoom-in;
    font: inherit;
}

.gallery-project-card > div {
    min-height: 166px;
}

.gallery-project-card:focus-visible,
.work-gallery-item:focus-visible {
    outline-offset: 5px;
}

.section-heading-copy {
    max-width: 420px;
    margin: 0;
    color: var(--muted);
}

.projects-transformations {
    scroll-margin-top: calc(var(--header-height) + 20px);
}

.project-transformations-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px;
}

.transformation-project h3 {
    margin: 16px 0 0;
    font-family: "Segoe UI Variable", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    font-size: 20px;
}

.work-gallery-section {
    background: #f4f6f8;
}

.work-gallery {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
}

.work-gallery-item {
    position: relative;
    min-height: 250px;
    padding: 0;
    overflow: hidden;
    border: 0;
    border-radius: 8px;
    background: #0a243a;
    color: #fff;
    cursor: zoom-in;
    font: inherit;
    text-align: left;
    box-shadow: var(--shadow-sm);
}

.work-gallery-item:nth-child(5n + 1),
.work-gallery-item:nth-child(7n + 4) {
    grid-column: span 2;
}

.work-gallery-item img {
    width: 100%;
    height: 100%;
    min-height: 250px;
    object-fit: cover;
    transition: transform .45s ease, opacity .3s ease;
}

.work-gallery-item::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 45%, rgba(2, 18, 31, .88));
    pointer-events: none;
}

.work-gallery-item:hover img {
    transform: scale(1.035);
    opacity: .92;
}

.work-gallery-item > span {
    position: absolute;
    z-index: 2;
    inset: auto 18px 17px;
    display: flex;
    flex-direction: column;
}

.work-gallery-item strong {
    font-family: "Segoe UI Variable", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    font-size: 16px;
    line-height: 1.2;
}

.work-gallery-item small {
    margin-top: 4px;
    color: #ffd3b8;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .045em;
    text-transform: uppercase;
}

.gallery-lightbox {
    width: min(1100px, calc(100% - 34px));
    max-height: calc(100vh - 34px);
    padding: 0;
    overflow: visible;
    border: 0;
    border-radius: 10px;
    background: transparent;
}

.gallery-lightbox::backdrop {
    background: rgba(2, 12, 20, .88);
    backdrop-filter: blur(5px);
}

.gallery-lightbox-panel {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    background: #fff;
    box-shadow: 0 30px 90px rgba(0, 0, 0, .45);
}

.gallery-lightbox-panel img {
    width: 100%;
    max-height: calc(100vh - 150px);
    object-fit: contain;
    background: #06192a;
}

.gallery-lightbox-copy {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 8px 22px;
    padding: 17px 20px 19px;
}

.gallery-lightbox-copy strong {
    font-family: "Segoe UI Variable", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    font-size: 17px;
}

.gallery-lightbox-copy span {
    color: var(--muted);
    font-size: 13px;
}

.gallery-lightbox-close {
    position: absolute;
    z-index: 3;
    top: 12px;
    right: 12px;
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    padding: 0;
    border: 1px solid rgba(255, 255, 255, .55);
    border-radius: 50%;
    background: rgba(4, 26, 44, .86);
    color: #fff;
    cursor: pointer;
    font-size: 29px;
    line-height: 1;
}

.services-work-section {
    background: linear-gradient(180deg, #f5f7f8, #fff);
}

.service-work-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
}

.service-work-card {
    position: relative;
    overflow: hidden;
    min-height: 285px;
    border-radius: 8px;
    background: var(--navy);
    box-shadow: var(--shadow-sm);
}

.service-work-card img {
    width: 100%;
    height: 100%;
    min-height: 285px;
    object-fit: cover;
    transition: transform .4s ease;
}

.service-work-card::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 48%, rgba(4, 26, 44, .9));
}

.service-work-card:hover img {
    transform: scale(1.035);
}

.service-work-card span {
    position: absolute;
    z-index: 2;
    left: 17px;
    right: 17px;
    bottom: 16px;
    color: #fff;
    font-family: "Segoe UI Variable", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    font-size: 16px;
    font-weight: 800;
}

@media (max-width: 1120px) {
    .work-gallery {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .work-gallery-item:nth-child(5n + 1),
    .work-gallery-item:nth-child(7n + 4) {
        grid-column: auto;
    }

    .work-gallery-item:first-child,
    .work-gallery-item:nth-child(7) {
        grid-column: span 2;
    }

    .service-work-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 900px) {
    .project-gallery-heading {
        align-items: flex-start;
    }

    .gallery-filters {
        justify-content: flex-start;
        max-width: none;
    }

    .project-transformations-grid {
        grid-template-columns: 1fr;
    }

    .work-gallery {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .work-gallery-item:first-child,
    .work-gallery-item:nth-child(7) {
        grid-column: auto;
    }
}

@media (max-width: 640px) {
    .gallery-filters {
        display: grid;
        grid-template-columns: 1fr 1fr;
        width: 100%;
    }

    .gallery-filter {
        width: 100%;
        padding-inline: 10px;
    }

    .gallery-filter:first-child {
        grid-column: 1 / -1;
    }

    .gallery-project-card > div {
        min-height: auto;
    }

    .work-gallery,
    .service-work-grid {
        grid-template-columns: 1fr;
    }

    .work-gallery-item,
    .work-gallery-item img,
    .service-work-card,
    .service-work-card img {
        min-height: 230px;
    }

    .gallery-lightbox {
        width: calc(100% - 18px);
        max-height: calc(100vh - 18px);
    }

    .gallery-lightbox-panel img {
        max-height: calc(100vh - 130px);
    }

    .gallery-lightbox-copy {
        flex-direction: column;
    }
}

/* Valvar v0.1.3 — content, service and contact polish */
.service-introduction-section {
    padding-bottom: 38px;
}

.service-introduction-grid {
    display: grid;
    grid-template-columns: .82fr 1.18fr;
    gap: clamp(38px, 7vw, 94px);
    align-items: start;
}

.service-introduction-copy {
    padding-top: 34px;
    color: var(--muted);
}

.service-introduction-copy p {
    margin: 0 0 16px;
}

.service-details-section {
    padding-top: 35px;
    background: linear-gradient(180deg, #fff, #f5f7f8);
}

.service-detail-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px;
}

.service-detail-card {
    scroll-margin-top: calc(var(--header-height) + 28px);
    padding: clamp(27px, 3.2vw, 38px);
    border: 1px solid var(--line);
    border-radius: 9px;
    background: #fff;
    box-shadow: var(--shadow-sm);
}

.service-detail-heading {
    display: flex;
    align-items: center;
    gap: 18px;
    margin-bottom: 17px;
}

.service-detail-heading .service-icon {
    flex: 0 0 auto;
    width: 46px;
    height: 46px;
    padding: 9px;
    border-radius: 50%;
    color: var(--orange);
    background: rgba(243, 90, 10, .08);
}

.service-number {
    display: block;
    color: var(--orange);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .09em;
}

.service-detail-card h2 {
    margin: 2px 0 0;
    font-family: "Segoe UI Variable", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    font-size: clamp(22px, 2.4vw, 30px);
    line-height: 1.12;
}

.service-detail-card h3 {
    margin: 22px 0 11px;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: .055em;
}

.service-detail-card p {
    color: var(--muted);
    margin: 0 0 14px;
}

.service-detail-summary {
    color: var(--ink) !important;
    font-weight: 700;
}

.service-checklist,
.estimate-checklist {
    list-style: none;
    margin: 0 0 22px;
    padding: 0;
}

.service-checklist li,
.estimate-checklist li {
    position: relative;
    padding: 6px 0 6px 22px;
}

.service-checklist li::before,
.estimate-checklist li::before {
    content: "";
    position: absolute;
    left: 1px;
    top: 14px;
    width: 8px;
    height: 5px;
    border-left: 2px solid var(--orange);
    border-bottom: 2px solid var(--orange);
    transform: rotate(-45deg);
}

.service-card-link {
    color: var(--orange);
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .035em;
}

.project-privacy-note {
    max-width: 820px;
    margin: -12px 0 30px;
    padding: 13px 16px;
    border-left: 3px solid var(--orange);
    background: #f5f7f8;
    color: var(--muted);
    font-size: 12px;
}

.about-values-section {
    background: linear-gradient(180deg, #f5f7f8, #fff);
}

.about-values-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
}

.about-values-grid .content-card {
    padding: 28px;
}

.about-values-grid .content-card > span {
    display: inline-flex;
    margin-bottom: 15px;
    color: var(--orange);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .08em;
}

.about-values-grid h3 {
    margin: 0 0 10px;
    font-family: "Segoe UI Variable", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    font-size: 19px;
}

.contact-grid-v013 {
    align-items: stretch;
}

.contact-detail-list {
    display: grid;
    gap: 0;
    margin-top: 20px;
}

.contact-detail-list > div {
    display: grid;
    grid-template-columns: 105px 1fr;
    gap: 18px;
    padding: 15px 0;
    border-top: 1px solid var(--line);
}

.contact-detail-list span {
    color: var(--muted);
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .05em;
}

.contact-detail-list p,
.contact-detail-list address {
    margin: 0;
    color: var(--ink);
    font-style: normal;
}

.contact-eyebrow-light {
    color: #fff;
}

.accent-panel .estimate-checklist {
    margin-bottom: 28px;
}

.accent-panel .estimate-checklist li::before {
    border-color: #fff;
}

.contact-next-step-section {
    padding-top: 20px;
    background: #f5f7f8;
}

.contact-next-step {
    display: grid;
    grid-template-columns: .65fr 1.35fr;
    gap: clamp(35px, 7vw, 90px);
    align-items: start;
}

.contact-next-step h2 {
    margin: 0;
    font-family: "Segoe UI Variable", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    font-size: clamp(32px, 4vw, 48px);
    line-height: 1.05;
}

.contact-next-step ol {
    list-style: none;
    display: grid;
    gap: 14px;
    margin: 0;
    padding: 0;
}

.contact-next-step li {
    display: grid;
    grid-template-columns: 42px 1fr;
    gap: 15px;
    align-items: center;
    padding: 16px 18px;
    border: 1px solid var(--line);
    border-radius: 7px;
    background: #fff;
}

.contact-next-step li span {
    color: var(--orange);
    font-weight: 800;
}

.contact-next-step li p {
    margin: 0;
}

.legal-page-hero {
    padding-bottom: 70px;
}

.legal-content {
    max-width: 860px;
}

.legal-content h2 {
    margin: 36px 0 10px;
    font-family: "Segoe UI Variable", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    font-size: clamp(22px, 2.5vw, 30px);
}

.legal-content p {
    color: var(--muted);
}

.legal-content a {
    color: var(--orange);
    font-weight: 700;
}

.legal-updated {
    padding-bottom: 18px;
    border-bottom: 1px solid var(--line);
    font-size: 12px;
}

@media (max-width: 900px) {
    .service-introduction-grid,
    .contact-next-step {
        grid-template-columns: 1fr;
        gap: 22px;
    }

    .service-introduction-copy {
        padding-top: 0;
    }

    .about-values-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 700px) {
    .service-detail-grid,
    .about-values-grid {
        grid-template-columns: 1fr;
    }

    .contact-detail-list > div {
        grid-template-columns: 1fr;
        gap: 4px;
    }
}

/* v0.1.4 — SEO, accessibility and production polish */
.skip-link {
    position: fixed;
    top: 12px;
    left: 12px;
    z-index: 1000;
    padding: 10px 16px;
    border-radius: 6px;
    background: #fff;
    color: var(--navy);
    font-weight: 800;
    box-shadow: var(--shadow);
    transform: translateY(-160%);
    transition: transform .2s ease;
}

.skip-link:focus {
    transform: translateY(0);
}

.error-page-hero {
    min-height: 72vh;
    display: grid;
    align-items: center;
}

.error-page-hero .button-row {
    margin-top: 28px;
}

/* Reserve predictable image space and keep below-the-fold rendering efficient. */
.project-card img,
.work-gallery-item img,
.service-work-card img,
.compare-card img,
.about-photo img,
.simple-two-col img {
    background: #e9edf0;
}

@media (prefers-reduced-motion: reduce) {
    .skip-link {
        transition: none;
    }
}


/* Valvar v0.1.5 — contact form, validation and launch polish */
.contact-grid-v015 {
    grid-template-columns: minmax(280px, .75fr) minmax(0, 1.25fr);
    align-items: start;
}

.contact-direct-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 28px;
}

.contact-form-panel {
    padding: clamp(28px, 4vw, 46px);
    border: 1px solid var(--line);
    border-top: 4px solid var(--orange);
    border-radius: var(--radius-lg);
    background: #fff;
    box-shadow: var(--shadow-sm);
}

.contact-form-panel h2 {
    margin: 0 0 10px;
    font-size: clamp(30px, 4vw, 45px);
    line-height: 1.08;
}

.form-introduction {
    max-width: 680px;
    margin: 0 0 28px;
    color: var(--muted);
}

.estimate-form {
    display: grid;
    gap: 22px;
}

.form-grid {
    display: grid;
    gap: 18px;
}

.form-grid-two {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.form-field {
    min-width: 0;
}

.form-field label {
    display: inline-block;
    margin-bottom: 7px;
    color: var(--navy);
    font-size: 13px;
    font-weight: 800;
}

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

.form-field input,
.form-field select,
.form-field textarea {
    width: 100%;
    border: 1px solid #cbd4dc;
    border-radius: 6px;
    background: #fff;
    color: var(--ink);
    transition: border-color .2s ease, box-shadow .2s ease, background .2s ease;
}

.form-field input,
.form-field select {
    min-height: 50px;
    padding: 0 14px;
}

.form-field textarea {
    min-height: 164px;
    padding: 13px 14px;
    resize: vertical;
}

.form-field input:hover,
.form-field select:hover,
.form-field textarea:hover {
    border-color: #9eacb8;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
    border-color: var(--orange);
    outline: 0;
    box-shadow: 0 0 0 4px rgba(243, 90, 10, .12);
}

.form-field [aria-invalid="true"] {
    border-color: #b42318;
    background: #fffafa;
}

.form-help-row {
    display: flex;
    justify-content: space-between;
    gap: 18px;
    margin-top: 7px;
    color: var(--muted);
    font-size: 12px;
}

.form-help-row p {
    margin: 0;
}

.form-help-row span {
    white-space: nowrap;
}

.form-error {
    margin: 7px 0 0;
    color: #b42318;
    font-size: 12px;
    font-weight: 700;
}

.form-alert {
    margin: 0 0 24px;
    padding: 17px 19px;
    border-radius: 7px;
    border-left: 4px solid;
}

.form-alert strong {
    display: block;
    margin-bottom: 3px;
}

.form-alert p {
    margin: 0;
}

.form-alert-success {
    border-color: #168351;
    background: #edf9f3;
    color: #0d5a38;
}

.form-alert-error {
    border-color: #b42318;
    background: #fff1f0;
    color: #8a1c14;
}

.form-consent {
    display: grid;
    grid-template-columns: 20px 1fr;
    gap: 11px;
    align-items: start;
    color: var(--muted);
    font-size: 13px;
    cursor: pointer;
}

.form-consent input {
    width: 18px;
    height: 18px;
    margin: 2px 0 0;
    accent-color: var(--orange);
}

.form-consent a {
    color: var(--orange);
    font-weight: 800;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.form-consent-error {
    margin-top: -14px;
    margin-left: 31px;
}

.form-submit-row {
    display: flex;
    align-items: center;
    gap: 18px;
    flex-wrap: wrap;
    padding-top: 4px;
}

.form-submit-row p {
    margin: 0;
    color: var(--muted);
    font-size: 12px;
}

.form-submit-row button[disabled] {
    opacity: .65;
    cursor: wait;
    transform: none;
}

.honeypot-field {
    position: absolute !important;
    left: -10000px !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
}

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

@media (max-width: 620px) {
    .form-grid-two {
        grid-template-columns: 1fr;
    }

    .contact-form-panel {
        padding: 25px 20px;
    }

    .form-help-row,
    .form-submit-row {
        align-items: flex-start;
        flex-direction: column;
    }

    .form-submit-row .button {
        width: 100%;
    }
}

/* Valvar v0.1.7.1 — Mobile navigation viewport hotfix */
@media (max-width: 900px) {
    .site-header,
    .header-inner {
        overflow: visible;
    }

    .site-nav.is-open {
        bottom: auto;
        height: calc(100vh - var(--header-height));
        height: calc(100dvh - var(--header-height));
        min-height: 0;
        max-height: calc(100vh - var(--header-height));
        max-height: calc(100dvh - var(--header-height));
        box-sizing: border-box;
        justify-content: flex-start;
        overflow-x: hidden;
        overflow-y: auto;
        overscroll-behavior: contain;
        -webkit-overflow-scrolling: touch;
        padding-bottom: calc(48px + env(safe-area-inset-bottom));
    }

    .site-nav.is-open > a {
        display: flex;
        flex: 0 0 auto;
        align-items: center;
        width: 100%;
        min-height: 50px;
        opacity: 1;
        visibility: visible;
    }

    .site-nav.is-open .mobile-call-action {
        flex: 0 0 auto;
    }

    .menu-backdrop.is-open {
        height: calc(100vh - var(--header-height));
        height: calc(100dvh - var(--header-height));
    }

    body.menu-open {
        overflow: hidden;
        overscroll-behavior: none;
    }
}


/* Valvar v0.1.8 — Cinematic Dynamic Hero */
.cinematic-hero {
    min-height: clamp(690px, 84vh, 900px);
    isolation: isolate;
    background: #041a2c;
}

.cinematic-hero::before {
    content: "";
    position: absolute;
    inset: var(--header-height) 0 0;
    z-index: 1;
    pointer-events: none;
    background:
        radial-gradient(circle at 74% 42%, rgba(245, 116, 32, .16), transparent 27%),
        linear-gradient(115deg, transparent 45%, rgba(255, 255, 255, .035) 57%, transparent 69%);
    mix-blend-mode: screen;
    animation: cinematicHeroSweep 11s ease-in-out infinite alternate;
}

.cinematic-hero-media {
    position: absolute;
    inset: var(--header-height) 0 0;
    overflow: hidden;
    background: #061d30;
}

.cinematic-hero-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    background-image: var(--hero-background);
    background-position: var(--hero-position, center);
    background-size: cover;
    background-repeat: no-repeat;
    transform: scale(1.035);
    transition: opacity 1.15s ease;
    will-change: opacity, transform;
}

.cinematic-hero-slide::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(4, 26, 44, .02), rgba(4, 26, 44, .12));
}

.cinematic-hero-slide.is-active {
    opacity: 1;
    z-index: 1;
    animation: cinematicHeroZoom 7.4s cubic-bezier(.2, .65, .3, 1) both;
}

.cinematic-hero-light {
    position: absolute;
    z-index: 2;
    top: 10%;
    right: -9%;
    width: min(48vw, 760px);
    aspect-ratio: 1;
    border-radius: 50%;
    pointer-events: none;
    background: radial-gradient(circle, rgba(240, 106, 30, .13), rgba(240, 106, 30, .025) 47%, transparent 70%);
    filter: blur(4px);
    animation: cinematicHeroLight 9s ease-in-out infinite alternate;
}

.cinematic-hero-shade {
    z-index: 2;
    background:
        linear-gradient(90deg, #041a2c 0%, rgba(4, 26, 44, .985) 29%, rgba(4, 26, 44, .84) 46%, rgba(4, 26, 44, .38) 66%, rgba(4, 26, 44, .14) 100%),
        linear-gradient(180deg, rgba(4, 26, 44, .1), rgba(4, 26, 44, .28));
}

.cinematic-hero-texture {
    position: absolute;
    inset: var(--header-height) 0 0;
    z-index: 3;
    pointer-events: none;
    opacity: .16;
    background-image:
        radial-gradient(circle at 20% 20%, rgba(255, 255, 255, .18) 0 1px, transparent 1.4px),
        radial-gradient(circle at 70% 58%, rgba(255, 255, 255, .12) 0 1px, transparent 1.4px);
    background-size: 64px 64px, 91px 91px;
    mask-image: linear-gradient(90deg, transparent 0, #000 35%, #000 100%);
}

.cinematic-hero-content {
    z-index: 4;
    padding-block: clamp(84px, 10vh, 118px) 190px;
}

.cinematic-hero-copy {
    width: min(620px, 58vw);
}

.cinematic-hero-eyebrow {
    animation: cinematicHeroIntro .75s .08s cubic-bezier(.2, .7, .2, 1) both;
}

.cinematic-hero h1 {
    margin-bottom: 20px;
    text-shadow: 0 8px 36px rgba(0, 0, 0, .22);
}

.cinematic-hero h1 span {
    display: block;
    animation: cinematicHeroIntro .82s cubic-bezier(.2, .7, .2, 1) both;
}

.cinematic-hero h1 span:first-child {
    animation-delay: .15s;
}

.cinematic-hero h1 span:last-child {
    animation-delay: .23s;
}

.hero-specialism {
    display: flex;
    align-items: baseline;
    flex-wrap: wrap;
    gap: 7px 10px;
    min-height: 31px;
    margin: 0 0 17px;
    animation: cinematicHeroIntro .75s .31s cubic-bezier(.2, .7, .2, 1) both;
}

.hero-specialism > span {
    color: rgba(255, 255, 255, .66);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .09em;
    text-transform: uppercase;
}

.hero-specialism strong {
    display: inline-block;
    position: relative;
    color: #fff;
    font-size: clamp(16px, 1.7vw, 21px);
    line-height: 1.2;
    letter-spacing: .015em;
}

.hero-specialism strong::after {
    content: "";
    position: absolute;
    right: 0;
    bottom: -6px;
    left: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--orange), var(--orange-2), transparent 94%);
    transform-origin: left;
    animation: cinematicHeroLine .7s .62s ease both;
}

.hero-specialism strong.is-changing {
    animation: cinematicHeroWord .48s ease both;
}

.cinematic-hero .hero-lead {
    animation: cinematicHeroIntro .75s .39s cubic-bezier(.2, .7, .2, 1) both;
}

.cinematic-hero-actions {
    animation: cinematicHeroIntro .75s .47s cubic-bezier(.2, .7, .2, 1) both;
}

.cinematic-primary-action {
    position: relative;
    overflow: hidden;
}

.cinematic-primary-action::after {
    content: "";
    position: absolute;
    inset: -40% auto -40% -55%;
    width: 38%;
    pointer-events: none;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .42), transparent);
    transform: skewX(-20deg);
    animation: cinematicButtonSweep 5.8s 1.4s ease-in-out infinite;
}

.hero-trust-line {
    display: flex;
    flex-wrap: wrap;
    gap: 11px 24px;
    margin-top: 25px;
    color: rgba(255, 255, 255, .75);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .07em;
    text-transform: uppercase;
    animation: cinematicHeroIntro .75s .55s cubic-bezier(.2, .7, .2, 1) both;
}

.hero-trust-line span {
    position: relative;
    padding-left: 15px;
}

.hero-trust-line span::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    width: 6px;
    height: 6px;
    border: 1px solid var(--orange-2);
    transform: translateY(-50%) rotate(45deg);
}

.cinematic-hero-controls {
    position: absolute;
    right: 0;
    bottom: 112px;
    left: 0;
    z-index: 5;
    display: flex;
    align-items: flex-end;
    justify-content: flex-end;
    pointer-events: none;
}

.cinematic-hero-controls > * {
    pointer-events: auto;
}

.cinematic-hero-progress {
    position: absolute;
    right: 0;
    bottom: 55px;
    width: min(330px, 34vw);
    height: 2px;
    overflow: hidden;
    background: rgba(255, 255, 255, .17);
}

.cinematic-hero-progress span {
    display: block;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, var(--orange), var(--orange-2));
    transform: scaleX(0);
    transform-origin: left;
}

.cinematic-hero.is-playing .cinematic-hero-progress span {
    animation: cinematicHeroProgress var(--hero-cycle, 6500ms) linear both;
}

.cinematic-hero-navigation {
    display: flex;
    align-items: stretch;
    border: 1px solid rgba(255, 255, 255, .14);
    background: rgba(4, 26, 44, .69);
    backdrop-filter: blur(12px);
    box-shadow: 0 18px 45px rgba(0, 0, 0, .2);
}

.hero-slide-button,
.hero-pause-button {
    min-height: 47px;
    border: 0;
    border-right: 1px solid rgba(255, 255, 255, .12);
    color: rgba(255, 255, 255, .64);
    background: transparent;
    cursor: pointer;
    transition: color .2s ease, background .2s ease;
}

.hero-slide-button {
    display: grid;
    grid-template-columns: auto auto;
    align-items: center;
    gap: 8px;
    min-width: 92px;
    padding: 0 16px;
    text-align: left;
}

.hero-slide-button span {
    color: var(--orange-2);
    font-size: 11px;
    font-weight: 900;
}

.hero-slide-button small,
.hero-pause-button span {
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .065em;
    text-transform: uppercase;
}

.hero-slide-button:hover,
.hero-slide-button:focus-visible,
.hero-slide-button.is-active,
.hero-pause-button:hover,
.hero-pause-button:focus-visible {
    color: #fff;
    background: rgba(255, 255, 255, .08);
}

.hero-slide-button.is-active {
    box-shadow: inset 0 -2px 0 var(--orange-2);
}

.hero-pause-button {
    min-width: 76px;
    padding: 0 15px;
    border-right: 0;
}

.cinematic-hero .hero-scroll-cue {
    z-index: 5;
}

@keyframes cinematicHeroZoom {
    from { transform: scale(1.035); }
    to { transform: scale(1.095); }
}

@keyframes cinematicHeroSweep {
    from { transform: translate3d(-2%, 0, 0); opacity: .72; }
    to { transform: translate3d(3%, 0, 0); opacity: 1; }
}

@keyframes cinematicHeroLight {
    from { transform: translate3d(-1%, -2%, 0) scale(.96); opacity: .72; }
    to { transform: translate3d(3%, 2%, 0) scale(1.05); opacity: 1; }
}

@keyframes cinematicHeroIntro {
    from { opacity: 0; transform: translateY(22px); }
    to { opacity: 1; transform: none; }
}

@keyframes cinematicHeroLine {
    from { transform: scaleX(0); opacity: 0; }
    to { transform: scaleX(1); opacity: 1; }
}

@keyframes cinematicHeroWord {
    0% { opacity: .2; transform: translateY(8px); }
    100% { opacity: 1; transform: none; }
}

@keyframes cinematicButtonSweep {
    0%, 55% { left: -55%; opacity: 0; }
    62% { opacity: .75; }
    76%, 100% { left: 125%; opacity: 0; }
}

@keyframes cinematicHeroProgress {
    from { transform: scaleX(0); }
    to { transform: scaleX(1); }
}

@media (max-width: 900px) {
    .cinematic-hero {
        min-height: max(690px, 88svh);
    }

    .cinematic-hero::before {
        opacity: .7;
    }

    .cinematic-hero-slide {
        background-position: var(--hero-position, 66% center);
    }

    .cinematic-hero-shade {
        background:
            linear-gradient(90deg, rgba(4, 26, 44, .985) 0%, rgba(4, 26, 44, .92) 48%, rgba(4, 26, 44, .56) 100%),
            linear-gradient(180deg, rgba(4, 26, 44, .15), rgba(4, 26, 44, .32));
    }

    .cinematic-hero-content {
        padding-block: 76px 190px;
    }

    .cinematic-hero-copy {
        width: min(640px, 76vw);
    }

    .cinematic-hero-controls {
        bottom: 105px;
    }

    .cinematic-hero-progress {
        width: min(330px, 52vw);
    }
}

@media (max-width: 640px) {
    .cinematic-hero {
        min-height: max(720px, 91svh);
    }

    .cinematic-hero::before,
    .cinematic-hero-light,
    .cinematic-hero-texture {
        opacity: .46;
    }

    .cinematic-hero-slide {
        background-position: 66% center !important;
    }

    .cinematic-hero-shade {
        background:
            linear-gradient(90deg, rgba(4, 26, 44, .985) 0%, rgba(4, 26, 44, .91) 62%, rgba(4, 26, 44, .58) 100%),
            linear-gradient(180deg, rgba(4, 26, 44, .08), rgba(4, 26, 44, .38));
    }

    .cinematic-hero-content {
        padding-block: 56px 208px;
    }

    .cinematic-hero-copy {
        width: 100%;
    }

    .cinematic-hero h1 {
        margin-bottom: 17px;
    }

    .hero-specialism {
        display: block;
        min-height: 52px;
        margin-bottom: 14px;
    }

    .hero-specialism > span,
    .hero-specialism strong {
        display: block;
    }

    .hero-specialism > span {
        margin-bottom: 6px;
    }

    .hero-specialism strong {
        width: fit-content;
        max-width: 100%;
        font-size: 17px;
    }

    .cinematic-hero .hero-lead {
        max-width: 345px;
        margin-bottom: 24px;
    }

    .cinematic-hero-actions {
        display: grid;
        width: min(100%, 350px);
    }

    .cinematic-hero-actions .button {
        width: 100%;
    }

    .hero-trust-line {
        display: none;
    }

    .cinematic-hero-controls {
        bottom: 89px;
        justify-content: flex-start;
    }

    .cinematic-hero-progress {
        right: auto;
        bottom: 48px;
        left: 14px;
        width: calc(100% - 28px);
    }

    .cinematic-hero-navigation {
        width: 100%;
    }

    .hero-slide-button {
        flex: 1 1 0;
        grid-template-columns: 1fr;
        place-items: center;
        min-width: 0;
        padding-inline: 7px;
        gap: 1px;
        text-align: center;
    }

    .hero-slide-button small {
        font-size: 8px;
    }

    .hero-pause-button {
        min-width: 68px;
        padding-inline: 8px;
    }

    .cinematic-hero .hero-scroll-cue {
        display: none;
    }
}

@media (max-width: 390px) {
    .cinematic-hero {
        min-height: 750px;
    }

    .cinematic-hero-content {
        padding-top: 46px;
    }

    .cinematic-hero h1 {
        font-size: clamp(43px, 14vw, 56px);
    }

    .hero-slide-button small {
        display: none;
    }
}

@media (prefers-reduced-motion: reduce) {
    .cinematic-hero::before,
    .cinematic-hero-light,
    .cinematic-hero-slide.is-active,
    .cinematic-primary-action::after,
    .cinematic-hero-progress span,
    .cinematic-hero-eyebrow,
    .cinematic-hero h1 span,
    .hero-specialism,
    .hero-specialism strong,
    .cinematic-hero .hero-lead,
    .cinematic-hero-actions,
    .hero-trust-line {
        animation: none !important;
    }

    .cinematic-hero-slide {
        transition: none;
    }
}

/* Valvar v0.1.9A — Technical & On-Site SEO */
.service-mini h2 a {
    color: inherit;
    text-decoration: none;
}

.service-mini h2 a:hover,
.service-mini h2 a:focus-visible {
    color: var(--orange);
}

.service-card-actions {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
    margin-top: 24px;
}

.service-card-actions .service-card-link {
    margin-right: auto;
}

.service-card-secondary-link {
    color: var(--navy);
    font-size: 12px;
    font-weight: 800;
    text-decoration: underline;
    text-decoration-color: rgba(4, 26, 44, .25);
    text-underline-offset: 4px;
}

.service-card-secondary-link:hover,
.service-card-secondary-link:focus-visible {
    color: var(--orange);
    text-decoration-color: currentColor;
}

.breadcrumbs {
    margin: 0 0 28px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .02em;
}

.breadcrumbs ol {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.breadcrumbs li {
    display: inline-flex;
    align-items: center;
    color: rgba(255, 255, 255, .68);
}

.breadcrumbs li:not(:last-child)::after {
    content: "/";
    margin-left: 8px;
    color: rgba(255, 255, 255, .35);
}

.breadcrumbs a {
    color: #fff;
    text-decoration: none;
}

.breadcrumbs a:hover,
.breadcrumbs a:focus-visible {
    color: var(--orange-2);
}

.service-page-section {
    background: linear-gradient(180deg, #fff 0%, #f5f7f8 100%);
}

.service-page-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.08fr) minmax(300px, .92fr);
    gap: clamp(38px, 7vw, 88px);
    align-items: start;
}

.service-page-content h2 {
    margin: 0 0 16px;
    font-family: "Segoe UI Variable", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    font-size: clamp(27px, 3.4vw, 42px);
    line-height: 1.1;
    letter-spacing: -.025em;
}

.service-page-content h2:not(:first-of-type) {
    margin-top: 38px;
    font-size: clamp(22px, 2.6vw, 30px);
}

.service-page-content > p {
    max-width: 720px;
    color: var(--muted);
}

.service-page-lead {
    color: var(--ink) !important;
    font-size: clamp(17px, 1.6vw, 19px);
    font-weight: 700;
    line-height: 1.65;
}

.service-page-checklist {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 4px 24px;
    margin-bottom: 34px;
}

.service-page-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.service-page-aside {
    position: sticky;
    top: calc(var(--header-height) + 28px);
}

.service-page-image {
    margin: 0;
    overflow: hidden;
    border-radius: 10px;
    background: #e9edf0;
    box-shadow: var(--shadow);
}

.service-page-image img {
    display: block;
    width: 100%;
    aspect-ratio: 3 / 2;
    object-fit: cover;
}

.service-area-card {
    display: grid;
    grid-template-columns: 52px 1fr;
    gap: 18px;
    margin-top: 18px;
    padding: 25px;
    border: 1px solid var(--line);
    border-radius: 9px;
    background: #fff;
    box-shadow: var(--shadow-sm);
}

.service-area-card .service-icon {
    width: 46px;
    height: 46px;
    padding: 9px;
    border-radius: 50%;
    color: var(--orange);
    background: rgba(243, 90, 10, .08);
}

.service-area-card h2 {
    margin: 0 0 7px;
    font-size: 19px;
}

.service-area-card p {
    margin: 0 0 9px;
    color: var(--muted);
    font-size: 14px;
}

.service-area-card a {
    color: var(--orange);
    font-size: 12px;
    font-weight: 800;
}

.related-services-section {
    background: #fff;
}

.related-service-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
}

.related-service-grid .content-card h3 {
    margin: 0 0 11px;
    font-family: "Segoe UI Variable", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    font-size: 22px;
    line-height: 1.2;
}

.related-service-grid .content-card p {
    color: var(--muted);
}

.related-service-grid .content-card a {
    color: var(--orange);
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .035em;
}

@media (max-width: 900px) {
    .service-page-grid {
        grid-template-columns: 1fr;
    }

    .service-page-aside {
        position: static;
    }

    .related-service-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 640px) {
    .service-page-checklist,
    .related-service-grid {
        grid-template-columns: 1fr;
    }

    .service-page-actions .button {
        width: 100%;
    }

    .service-area-card {
        grid-template-columns: 1fr;
    }
}
