/* Vee Cee Engineering – Industrial Bold
   Photo-led construction style using only the logo palette (navy, blue, cyan):
   full-screen hero slideshow, condensed uppercase headings, zig-zag feature rows,
   photo service tiles, client list */
:root {
    /* Logo colours */
    --navy: #2a2b77;
    --blue: #0b5ea8;
    --cyan: #0099c8;
    /* Shades of the logo colours */
    --navy-dark: #1d1e5a;
    --ink: #141540;
    --cyan-dark: #007aa3;
    --grad: linear-gradient(90deg, var(--cyan) 0%, var(--blue) 55%, var(--navy) 100%);
    /* Neutrals */
    --text: #3a3c5c;
    --muted: #6b6e8c;
    --light: #f2f5fa;
    --line: #e1e5ef;
    --on-dark: #c9cbe6;
    --head: "Barlow Condensed", "Arial Narrow", sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: Barlow, system-ui, sans-serif; color: var(--text); line-height: 1.65; background: #fff; }
body.is-loading { overflow: hidden; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
h1, h2, h3, h4 { font-family: var(--head); text-transform: uppercase; color: var(--ink); line-height: 1.05; letter-spacing: .5px; }
h2 { font-size: clamp(2.2rem, 4.5vw, 3.6rem); font-weight: 800; }
h2 span, h1 span { color: var(--cyan); }
.wrap { width: min(1240px, 92%); margin: 0 auto; }
.section { padding: 110px 0; }
.section-label { display: inline-flex; align-items: center; gap: 10px; font-family: var(--head); font-weight: 700; text-transform: uppercase; letter-spacing: 3px; font-size: .95rem; color: var(--cyan-dark); margin-bottom: 12px; }
.section-label::before { content: ""; width: 34px; height: 4px; background: var(--grad); }
.section-label.light { color: var(--cyan); }
.center-action { text-align: center; }

/* Loader */
.loader { position: fixed; inset: 0; z-index: 999; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 22px; background: radial-gradient(circle at center, var(--navy) 0%, var(--ink) 75%); transition: opacity .5s ease, visibility .5s ease; }
.loader.hide { opacity: 0; visibility: hidden; }
.loader-mark { position: relative; width: 128px; height: 128px; display: grid; place-items: center; }
.loader-mark img { width: 92px; height: 92px; object-fit: contain; background: #fff; border-radius: 50%; padding: 16px; animation: loader-pulse 1.6s ease-in-out infinite; }
.loader-ring { position: absolute; inset: 0; border-radius: 50%; border: 4px solid rgba(255, 255, 255, .1); border-top-color: var(--cyan); border-right-color: var(--blue); animation: loader-spin 1s linear infinite; }
.loader-name { font-family: var(--head); font-weight: 700; text-transform: uppercase; letter-spacing: 4px; font-size: 1.3rem; color: #fff; }
.loader-bar { position: relative; width: 160px; height: 3px; background: rgba(255, 255, 255, .12); overflow: hidden; }
.loader-bar span { position: absolute; top: 0; bottom: 0; left: 0; width: 40%; background: var(--grad); animation: loader-slide 1.2s ease-in-out infinite; }
@keyframes loader-spin { to { transform: rotate(360deg); } }
@keyframes loader-pulse { 50% { transform: scale(.92); } }
@keyframes loader-slide { from { transform: translateX(-100%); } to { transform: translateX(250%); } }

/* Buttons */
.btn { display: inline-flex; align-items: center; gap: 10px; font-family: var(--head); font-weight: 700; text-transform: uppercase; letter-spacing: 1px; font-size: 1.05rem; padding: 15px 30px; transition: .25s; clip-path: polygon(0 0, 100% 0, 100% 70%, 92% 100%, 0 100%); }
.btn-primary { background: var(--cyan); color: #fff; }
.btn-primary:hover { background: #fff; color: var(--navy); }
.btn-white { background: #fff; color: var(--navy); }
.btn-white:hover { background: var(--ink); color: #fff; }
.btn-line { color: #fff; box-shadow: inset 0 0 0 2px #fff; clip-path: none; }
.btn-line:hover { background: #fff; color: var(--navy); }
.btn-navy { background: var(--navy); color: #fff; margin-top: 30px; }
.btn-navy:hover { background: var(--cyan); }
.head-row .btn-navy { margin-top: 0; }

/* Header */
.header { position: fixed; inset: 0 0 auto 0; z-index: 100; transition: background .3s, box-shadow .3s; }
.header-inner { display: flex; align-items: center; gap: 30px; height: 90px; transition: height .3s; }
.header.solid { background: var(--navy); box-shadow: 0 6px 24px rgba(0, 0, 0, .25); }
.header.solid .header-inner { height: 74px; }
.brand { display: flex; align-items: center; gap: 12px; color: #fff; }
.brand-logo { flex: none; background: #fff; width: 54px; height: 54px; display: grid; place-items: center; clip-path: polygon(0 0, 100% 0, 100% 75%, 75% 100%, 0 100%); }
.brand-logo img { width: 42px; }
.brand-name { font-family: var(--head); font-weight: 800; font-size: 1.6rem; line-height: 1; letter-spacing: 1px; text-transform: uppercase; white-space: nowrap; }
.nav { display: flex; gap: 28px; margin-left: auto; }
.nav a { font-family: var(--head); font-weight: 600; text-transform: uppercase; letter-spacing: 1px; font-size: 1.1rem; color: #fff; position: relative; padding: 6px 0; white-space: nowrap; }
.nav a::after { content: ""; position: absolute; left: 0; bottom: 0; height: 3px; width: 0; background: var(--cyan); transition: width .25s; }
.nav a:hover::after, .nav a.active::after { width: 100%; }
.call { display: flex; align-items: center; gap: 12px; color: #fff; padding-left: 26px; border-left: 1px solid rgba(255, 255, 255, .25); font-family: var(--head); font-weight: 700; font-size: 1.25rem; white-space: nowrap; }
.call i { width: 46px; height: 46px; display: grid; place-items: center; background: var(--cyan); color: #fff; font-size: 1.1rem; }
.call small { display: block; font-family: Barlow, sans-serif; font-weight: 500; font-size: .72rem; text-transform: uppercase; letter-spacing: 1px; color: var(--on-dark); }
.burger { display: none; margin-left: auto; background: var(--cyan); color: #fff; border: 0; width: 46px; height: 46px; font-size: 1.6rem; cursor: pointer; }

/* Hero */
.hero { position: relative; min-height: 100vh; display: flex; flex-direction: column; justify-content: center; color: #fff; overflow: hidden; padding: 140px 0 0; }
.slide { position: absolute; inset: 0; background-size: cover; background-position: center; opacity: 0; transform: scale(1.08); transition: opacity 1.2s ease, transform 7s ease; }
.slide.active { opacity: 1; transform: scale(1); }
.hero-overlay { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(20, 21, 64, .92) 0%, rgba(20, 21, 64, .65) 50%, rgba(20, 21, 64, .25) 100%); }
.hero-content { position: relative; z-index: 2; }
.stripe-label { display: inline-flex; align-items: center; gap: 14px; font-family: var(--head); font-weight: 700; text-transform: uppercase; letter-spacing: 3px; padding: 6px 16px 6px 0; background: var(--ink); color: var(--cyan); margin-bottom: 22px; }
.stripe-label::before { content: ""; align-self: stretch; width: 44px; margin: -6px 0; background: repeating-linear-gradient(-45deg, var(--cyan) 0 7px, var(--ink) 7px 14px); }
.hero h1 { color: #fff; font-size: clamp(3.2rem, 8vw, 6.8rem); font-weight: 800; line-height: .95; }
.hero p { font-size: 1.25rem; max-width: 560px; margin: 24px 0 36px; color: #dfe0f2; }
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }
.slide-cards { position: relative; z-index: 2; display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 80px; }
.slide-card { text-align: left; background: rgba(20, 21, 64, .55); backdrop-filter: blur(6px); border: 0; border-top: 1px solid rgba(255, 255, 255, .2); color: #fff; padding: 24px 26px 28px; cursor: pointer; position: relative; font-family: inherit; transition: background .3s; }
.slide-card + .slide-card { border-left: 1px solid rgba(255, 255, 255, .12); }
.slide-card:hover { background: rgba(20, 21, 64, .8); }
.slide-card .n { font-family: var(--head); font-weight: 800; color: var(--cyan); font-size: 1.1rem; }
.slide-card strong { display: block; font-family: var(--head); text-transform: uppercase; font-size: 1.4rem; letter-spacing: .5px; margin: 2px 0 4px; }
.slide-card small { color: var(--on-dark); font-size: .9rem; }
.slide-card .bar { position: absolute; left: 0; top: -1px; height: 4px; width: 0; background: var(--grad); }
.slide-card.active .bar { animation: progress 6s linear forwards; }
@keyframes progress { to { width: 100%; } }

/* Inner page banner */
.page-banner { position: relative; background-size: cover; background-position: center; color: #fff; padding: 170px 0 80px; min-height: 420px; display: flex; align-items: flex-end; }
.page-banner::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(20, 21, 64, .94) 0%, rgba(42, 43, 119, .75) 55%, rgba(11, 94, 168, .45) 100%); }
.page-banner::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 6px; background: var(--grad); }
.page-banner-inner { position: relative; }
.page-banner h1 { color: #fff; font-size: clamp(2.8rem, 6vw, 4.8rem); font-weight: 800; }
.page-banner p { max-width: 620px; margin-top: 14px; font-size: 1.15rem; color: #dfe0f2; }
.crumbs { display: flex; align-items: center; gap: 10px; font-family: var(--head); font-weight: 600; text-transform: uppercase; letter-spacing: 2px; font-size: .95rem; margin-bottom: 14px; color: var(--on-dark); }
.crumbs a:hover { color: #fff; }
.crumbs i { font-size: .7rem; color: var(--cyan); }
.crumbs span { color: var(--cyan); }

/* Stats */
.stats-band { background: var(--grad); }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); }
.stats div { display: grid; grid-template-columns: auto 1fr; grid-template-rows: auto auto; column-gap: 16px; align-items: center; padding: 34px 24px; color: #fff; }
.stats div + div { border-left: 1px solid rgba(255, 255, 255, .2); }
.stats i { grid-row: span 2; font-size: 2.2rem; }
.stats strong { font-family: var(--head); font-size: 2.6rem; font-weight: 800; line-height: 1; }
.stats span { font-weight: 600; font-size: .9rem; text-transform: uppercase; letter-spacing: .5px; }

/* Intro (home) */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.about-photos { position: relative; height: 560px; }
.about-photos > img { position: absolute; object-fit: cover; box-shadow: 0 20px 50px rgba(0, 0, 0, .18); }
.about-photos .p1 { left: 0; top: 0; width: 72%; height: 78%; }
.about-photos .p2 { right: 0; bottom: 0; width: 55%; height: 52%; border: 10px solid #fff; }
.about-photos::before { content: ""; position: absolute; left: -24px; bottom: 40px; width: 140px; height: 140px; background: repeating-linear-gradient(-45deg, var(--cyan) 0 6px, transparent 6px 16px); }
.badge { position: absolute; left: 24px; bottom: 24px; display: flex; align-items: center; gap: 12px; background: var(--navy); color: #fff; padding: 16px 20px; font-family: var(--head); font-weight: 700; text-transform: uppercase; line-height: 1.15; z-index: 2; }
.badge img { width: 44px; background: #fff; padding: 4px; }
.about p { margin: 22px 0; font-size: 1.05rem; color: var(--muted); }
.checks { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 12px 20px; }
.checks li { display: flex; gap: 10px; font-weight: 500; color: var(--ink); }
.checks i { color: var(--cyan); }

/* Featured zig-zag */
.feature { display: grid; grid-template-columns: 1fr 1fr; min-height: 480px; }
.feature:nth-child(even) .feature-img { order: 2; }
.feature-img { background-size: cover; background-position: center; }
.feature-text { background: var(--light); padding: 70px 8%; display: flex; flex-direction: column; justify-content: center; }
.feature:nth-child(2) .feature-text { background: var(--navy); }
.feature:nth-child(2) .feature-text h3 { color: #fff; }
.feature:nth-child(2) .feature-text p, .feature:nth-child(2) .feature-text li { color: var(--on-dark); }
.feature:nth-child(2) .section-label { color: var(--cyan); }
.feature h3 { font-size: clamp(1.8rem, 3vw, 2.6rem); font-weight: 800; }
.feature p { margin: 18px 0 22px; color: var(--muted); }
.feature ul { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 8px 20px; }
.feature li { font-weight: 500; font-size: .95rem; color: var(--ink); padding-left: 18px; position: relative; }
.feature li::before { content: ""; position: absolute; left: 0; top: .6em; width: 8px; height: 8px; background: var(--cyan); }

/* Service tiles (home) */
.services { background: var(--light); }
.head-row { display: flex; justify-content: space-between; align-items: flex-end; gap: 30px; flex-wrap: wrap; margin-bottom: 50px; }
.head-row p { max-width: 380px; color: var(--muted); }
.tiles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-bottom: 50px; }
.tile { position: relative; height: 360px; overflow: hidden; background: var(--navy); cursor: pointer; outline: none; }
.tile img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s, opacity .4s; }
.tile::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 30%, rgba(20, 21, 64, .95) 85%); transition: background .4s; }
.tile-body { position: absolute; inset: auto 0 0 0; z-index: 2; padding: 24px; color: #fff; }
.tile-icon { width: 46px; height: 46px; display: grid; place-items: center; background: var(--cyan); color: #fff; font-size: 1.3rem; margin-bottom: 12px; }
.tile h3 { color: #fff; font-size: 1.45rem; font-weight: 700; }
/* Summary + list stay collapsed until hover/focus, so titles of any length are never clipped */
.tile-more { max-height: 0; opacity: 0; overflow: hidden; transition: max-height .45s ease, opacity .3s; }
.tile:hover .tile-more, .tile:focus .tile-more, .tile:focus-within .tile-more { max-height: 260px; opacity: 1; }
.tile p { font-size: .88rem; color: #d6d8ef; margin: 10px 0; }
.tile ul { list-style: none; font-size: .85rem; max-height: 170px; overflow: auto; }
.tile li { padding: 3px 0; border-bottom: 1px solid rgba(255, 255, 255, .1); }
.tile li::before { content: "› "; color: var(--cyan); font-weight: 700; }
.tile:hover img, .tile:focus img { transform: scale(1.08); opacity: .35; }
.tile:hover::after, .tile:focus::after { background: rgba(20, 21, 64, .88); }

/* Services page */
.service-index { background: var(--light); padding: 34px 0; border-bottom: 1px solid var(--line); }
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip { display: inline-flex; align-items: center; gap: 8px; padding: 8px 16px; background: #fff; border: 1px solid var(--line); font-family: var(--head); font-weight: 600; text-transform: uppercase; letter-spacing: .5px; color: var(--navy); transition: .2s; }
.chip i { color: var(--cyan); transition: color .2s; }
.chip:hover { background: var(--navy); border-color: var(--navy); color: #fff; }
.chip:hover i { color: #fff; }
.service-row { display: grid; grid-template-columns: 5fr 7fr; gap: 60px; align-items: center; padding: 60px 0; border-bottom: 1px solid var(--line); scroll-margin-top: 90px; }
.service-row:first-child { padding-top: 0; }
.service-row:last-child { border-bottom: 0; padding-bottom: 0; }
.service-row:nth-child(even) .service-photo { order: 2; }
.service-photo { position: relative; height: 100%; min-height: 340px; }
.service-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.service-n { position: absolute; left: 0; bottom: 0; background: var(--grad); color: #fff; font-family: var(--head); font-weight: 800; font-size: 2.2rem; line-height: 1; padding: 14px 20px; }
.service-info h2 { font-size: clamp(1.8rem, 3vw, 2.5rem); }
.service-info > p { margin: 12px 0 22px; font-size: 1.05rem; color: var(--muted); }
.service-info ul { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 10px 24px; }
.service-info li { display: flex; gap: 10px; font-weight: 500; color: var(--ink); }
.service-info li i { color: var(--cyan); }
.core { background: var(--light); }
.core h2 { margin-bottom: 40px; }
.core-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 12px; }
.core-grid span { display: flex; align-items: center; gap: 10px; background: #fff; padding: 14px 18px; border-left: 4px solid var(--cyan); font-weight: 500; color: var(--ink); }
.core-grid i { color: var(--blue); }

/* Process */
.process { background: var(--navy) url("/images/stock/total-station.jpg") center / cover; position: relative; }
.process::before { content: ""; position: absolute; inset: 0; background: rgba(29, 30, 90, .9); }
.process .wrap { position: relative; }
.process h2 { color: #fff; margin-bottom: 60px; }
.steps { display: grid; grid-template-columns: repeat(5, 1fr); gap: 2px; }
.step { background: rgba(255, 255, 255, .06); padding: 34px 26px; border-bottom: 4px solid transparent; transition: .3s; }
.step:hover { background: rgba(255, 255, 255, .12); border-bottom-color: var(--cyan); }
.step-n { font-family: var(--head); font-size: 4rem; font-weight: 800; line-height: 1; color: var(--cyan); }
.step h4 { color: #fff; font-size: 1.5rem; margin: 10px 0 8px; }
.step p { color: var(--on-dark); font-size: .92rem; }

/* Clients */
.clients-title { margin-bottom: 50px; }
.client-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.client { display: flex; align-items: center; gap: 16px; padding: 22px 24px; border: 1px solid var(--line); border-left: 4px solid var(--navy); font-family: var(--head); font-weight: 700; text-transform: uppercase; letter-spacing: .5px; font-size: 1.2rem; line-height: 1.2; color: var(--ink); transition: .3s; }
.client i { flex: none; width: 48px; height: 48px; display: grid; place-items: center; background: var(--light); color: var(--blue); font-size: 1.4rem; transition: .3s; }
.client:hover { border-left-color: var(--cyan); box-shadow: 0 12px 30px rgba(20, 21, 64, .08); transform: translateY(-3px); }
.client:hover i { background: var(--grad); color: #fff; }

/* CTA */
.cta { background-size: cover; background-position: center; background-attachment: fixed; position: relative; }
.cta::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(0, 153, 200, .94) 0%, rgba(11, 94, 168, .92) 50%, rgba(42, 43, 119, .94) 100%); }
.cta-inner { position: relative; display: flex; justify-content: space-between; align-items: center; gap: 30px; flex-wrap: wrap; padding: 70px 0; }
.cta h2 { color: #fff; font-size: clamp(1.8rem, 3.5vw, 3rem); max-width: 720px; }
.cta-actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* Contact page */
.quick-contact { background: var(--grad); color: #fff; }
.quick-grid { display: grid; grid-template-columns: repeat(3, 1fr); }
.quick-grid > * { display: flex; align-items: center; gap: 16px; padding: 30px 24px; font-family: var(--head); font-weight: 700; font-size: 1.25rem; letter-spacing: .5px; }
.quick-grid > * + * { border-left: 1px solid rgba(255, 255, 255, .2); }
.quick-grid i { flex: none; width: 50px; height: 50px; display: grid; place-items: center; background: #fff; color: var(--navy); font-size: 1.2rem; }
.quick-grid small { display: block; font-family: Barlow, sans-serif; font-weight: 500; font-size: .75rem; text-transform: uppercase; letter-spacing: 1px; color: #e3f4fb; }
.quick-grid a:hover { background: rgba(255, 255, 255, .08); }
.contact h2 { margin-bottom: 50px; }
.offices { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.office { border: 1px solid var(--line); border-top: 5px solid var(--navy); padding: 32px 28px; transition: .3s; }
.office:hover { border-top-color: var(--cyan); box-shadow: 0 16px 40px rgba(20, 21, 64, .08); transform: translateY(-4px); }
.office h3 { font-size: 1.5rem; margin-bottom: 18px; }
.office p { display: flex; gap: 14px; margin-bottom: 12px; }
.office i { flex: none; width: 34px; height: 34px; display: grid; place-items: center; background: var(--light); color: var(--navy); }
.office span, .office a { padding-top: 4px; }
.office a:hover { color: var(--cyan-dark); }
.map iframe { display: block; width: 100%; height: 440px; border: 0; }

/* About page */
.about-cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.about-card { background: #fff; padding: 34px 28px; border-bottom: 4px solid transparent; box-shadow: 0 10px 30px rgba(20, 21, 64, .06); transition: .3s; }
.about-card:hover { border-bottom-color: var(--cyan); transform: translateY(-4px); }
.about-card h3 { font-size: 1.5rem; margin: 6px 0 10px; }
.about-card p { color: var(--muted); font-size: .95rem; }
.mission { display: grid; grid-template-columns: 1fr 1fr; }
.mission-item { padding: 90px 8%; color: var(--on-dark); background: var(--navy); }
.mission-item + .mission-item { background: var(--ink); }
.mission-item i { font-size: 2.6rem; color: var(--cyan); }
.mission-item h3 { color: #fff; font-size: clamp(1.8rem, 3vw, 2.6rem); font-weight: 800; margin: 14px 0 14px; }
.mission-item p { font-size: 1.1rem; max-width: 520px; }
.statement { padding: 70px 0; text-align: center; border-bottom: 1px solid var(--line); }
.statement p { font-family: var(--head); font-weight: 700; text-transform: uppercase; letter-spacing: .5px; font-size: clamp(1.5rem, 3vw, 2.4rem); line-height: 1.2; color: var(--ink); }
.statement span { color: var(--cyan); }

/* Error page */
.error-page { padding: 60px 0 110px; }
.error-page p { margin-bottom: 26px; color: var(--muted); font-size: 1.1rem; }

/* Footer */
.footer { background: var(--ink); color: #9fa2c4; }
.footer-inner { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 24px; padding: 50px 0 30px; }
.footer nav { display: flex; gap: 28px; flex-wrap: wrap; font-family: var(--head); font-weight: 600; text-transform: uppercase; letter-spacing: 1px; font-size: 1.05rem; color: #fff; }
.footer nav a:hover { color: var(--cyan); }
.footer-contact { display: flex; flex-wrap: wrap; gap: 12px 34px; padding-bottom: 30px; border-bottom: 1px solid rgba(255, 255, 255, .08); }
.footer-contact i { color: var(--cyan); margin-right: 6px; }
.footer-contact a:hover { color: #fff; }
.copyright { padding: 22px 0; font-size: .85rem; }

/* Responsive */
@media (max-width: 1200px) {
    .call { display: none; }
}
@media (max-width: 1100px) {
    .tiles { grid-template-columns: repeat(3, 1fr); }
    .steps { grid-template-columns: repeat(3, 1fr); }
    .about-grid { gap: 50px; }
    .service-row { gap: 40px; }
    .about-cards { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
    .burger { display: block; }
    .header { background: var(--navy); }
    .header-inner { height: 74px; }
    .nav { position: absolute; top: 74px; left: 0; right: 0; flex-direction: column; gap: 0; background: var(--navy); max-height: 0; overflow: hidden; transition: max-height .3s; }
    .nav a { padding: 14px 4%; border-top: 1px solid rgba(255, 255, 255, .08); }
    .nav a::after { left: 0; bottom: auto; top: 0; width: 4px; height: 0; transition: height .25s; }
    .nav a:hover::after, .nav a.active::after { width: 4px; height: 100%; }
    .nav-open .nav { max-height: 400px; }
    .slide-cards { grid-template-columns: 1fr; margin-top: 50px; }
    .slide-card:not(.active) { display: none; }
    .stats { grid-template-columns: 1fr 1fr; }
    .stats div:nth-child(3) { border-left: 0; }
    .about-grid, .feature, .service-row { grid-template-columns: 1fr; }
    .feature-img { min-height: 300px; }
    .feature:nth-child(even) .feature-img, .service-row:nth-child(even) .service-photo { order: 0; }
    .service-photo { min-height: 280px; }
    .tiles { grid-template-columns: repeat(2, 1fr); }
    .client-grid { grid-template-columns: repeat(2, 1fr); }
    .offices, .quick-grid, .mission { grid-template-columns: 1fr; }
    .mission-item { padding: 70px 6%; }
    .quick-grid > * + * { border-left: 0; border-top: 1px solid rgba(255, 255, 255, .2); }
    .cta { background-attachment: scroll; }
    .page-banner { min-height: 340px; padding: 130px 0 60px; }
}
@media (max-width: 600px) {
    .section { padding: 70px 0; }
    .about-photos { height: 400px; }
    .checks, .feature ul, .service-info ul { grid-template-columns: 1fr; }
    .tiles, .steps, .stats, .about-cards { grid-template-columns: 1fr; }
    .stats div + div { border-left: 0; border-top: 1px solid rgba(255, 255, 255, .2); }
    .client-grid { grid-template-columns: 1fr; }
    .brand-name { font-size: 1.2rem; }
    .brand-logo { width: 46px; height: 46px; }
    .brand-logo img { width: 36px; }
}
@media (prefers-reduced-motion: reduce) {
    .loader-ring, .loader-mark img, .loader-bar span { animation: none; }
    html { scroll-behavior: auto; }
}
