:root {
    --navy-950: #474b4e;
    --navy-900: #555a5e;
    --navy-800: #686e73;
    --red-700: #c00000;
    --red-600: #c00000;
    --red-500: #c00000;
    --ink-950: #202224;
    --ink-800: #3d4247;
    --ink-600: #62686e;
    --ink-500: #7a8086;
    --line: #dfe1e3;
    --mist: #f3f5f8;
    --paper: #ffffff;
    --sand: #e6ddd1;
    --shadow-sm: 0 12px 30px rgba(31, 33, 35, 0.08);
    --shadow-lg: 0 26px 70px rgba(31, 33, 35, 0.18);
    --radius-sm: 4px;
    --radius-md: 10px;
    --radius-lg: 18px;
    --container: 1180px;
    --section-space: clamp(4.75rem, 8vw, 8.5rem);
    --header-height: 84px;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    min-width: 320px;
    background: var(--paper);
    color: var(--ink-950);
    font-family: Arial, Helvetica, sans-serif;
    font-size: 16px;
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
}

body.nav-open {
    overflow: hidden;
}

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

svg {
    width: 1.1em;
    height: 1.1em;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

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

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

h1,
h2,
h3,
p {
    margin-top: 0;
}

h1,
h2,
h3 {
    color: var(--navy-900);
    font-weight: 800;
    line-height: 1.08;
    letter-spacing: -0.035em;
}

h1 {
    font-size: clamp(3rem, 7vw, 6.75rem);
}

h2 {
    font-size: clamp(2rem, 4.2vw, 3.65rem);
}

h3 {
    font-size: 1.35rem;
}

p {
    color: var(--ink-600);
}

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

.section {
    padding-block: var(--section-space);
}

.section--tint {
    background: var(--mist);
}

.section--navy {
    border-block: 1px solid var(--line);
    background: var(--mist);
    color: var(--ink-950);
}

.section--navy h2,
.section--navy h3 {
    color: var(--navy-900);
}

.section--navy p {
    color: var(--ink-600);
}

.section--navy .eyebrow--light {
    color: var(--red-600);
}

.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;
}

.skip-link {
    position: fixed;
    z-index: 1000;
    top: 12px;
    left: 12px;
    transform: translateY(-160%);
    padding: 10px 16px;
    background: white;
    color: var(--navy-900);
    box-shadow: var(--shadow-sm);
}

.skip-link:focus {
    transform: none;
}

:focus-visible {
    outline: 3px solid rgba(200, 35, 44, 0.38);
    outline-offset: 3px;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
    color: var(--red-600);
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.18em;
    line-height: 1.3;
    text-transform: uppercase;
}

.eyebrow::before {
    width: 28px;
    height: 2px;
    background: currentColor;
    content: "";
}

.eyebrow--light {
    color: rgba(255, 255, 255, 0.76);
}

.button,
.text-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.65rem;
    font-weight: 800;
}

.button {
    min-height: 52px;
    padding: 0.9rem 1.4rem;
    border: 1px solid transparent;
    border-radius: var(--radius-sm);
    font-size: 0.83rem;
    letter-spacing: 0.02em;
    transition: transform 180ms ease, background-color 180ms ease, color 180ms ease, border-color 180ms ease;
}

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

.button svg,
.text-link svg {
    transition: transform 180ms ease;
}

.button:hover svg,
.text-link:hover svg {
    transform: translateX(4px);
}

.button--small {
    min-height: 42px;
    padding: 0.65rem 1rem;
    font-size: 0.75rem;
}

.button--primary {
    background: var(--red-600);
    color: white;
}

.button--primary:hover {
    background: var(--red-700);
}

.button--light {
    background: white;
    color: var(--navy-900);
}

.button--outline-light,
.button--glass {
    border-color: rgba(255, 255, 255, 0.62);
    background: transparent;
    color: white;
}

.button--glass {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(12px);
}

.button--outline-light:hover,
.button--glass:hover {
    background: white;
    color: var(--navy-900);
}

.text-link {
    color: var(--red-600);
    font-size: 0.8rem;
    letter-spacing: 0.04em;
}

.section-heading {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 2rem;
    margin-bottom: clamp(2.5rem, 4vw, 4rem);
}

.section-heading h2,
.section-heading p {
    margin-bottom: 0;
}

.section-heading > p {
    max-width: 32rem;
}

.section-heading--center {
    justify-content: center;
    text-align: center;
}

.section-heading--center > div {
    max-width: 48rem;
}

.section-heading--sub {
    margin-top: 5rem;
}

/* Header */
.utility-bar {
    min-height: 46px;
    background: var(--navy-950);
    color: #fff;
    font-size: 0.95rem;
}

.utility-bar__inner,
.utility-bar__contacts,
.utility-bar__contacts a {
    display: flex;
    align-items: center;
}

.utility-bar__inner {
    justify-content: flex-end;
    min-height: 46px;
}

.utility-bar__contacts {
    justify-content: flex-end;
    flex-wrap: wrap;
    gap: 0.35rem 1.75rem;
}

.utility-bar__contacts a {
    gap: 0.55rem;
    font-weight: 700;
    white-space: nowrap;
}

.utility-bar svg {
    color: #ff666b;
}

.utility-bar__contacts a:hover,
.utility-bar__contacts a:focus-visible {
    color: #ffd8da;
}

.site-header {
    position: sticky;
    z-index: 50;
    top: 0;
    height: var(--header-height);
    border-bottom: 1px solid rgba(43, 46, 49, 0.12);
    background: #fff;
    transition: box-shadow 180ms ease, height 180ms ease;
}

.site-header.is-scrolled {
    box-shadow: 0 10px 34px rgba(31, 33, 35, 0.08);
}

.site-header__inner {
    display: flex;
    align-items: center;
    height: 100%;
}

.brand {
    display: block;
    width: 264px;
    margin-right: auto;
}

.brand img {
    width: 100%;
    mix-blend-mode: multiply;
}

.primary-nav ul {
    display: flex;
    align-items: center;
    gap: clamp(0.8rem, 1.4vw, 1.5rem);
    margin: 0;
    padding: 0;
    list-style: none;
}

.primary-nav li {
    position: relative;
}

.primary-nav > ul > li > a {
    display: flex;
    align-items: center;
    min-height: var(--header-height);
    color: var(--navy-900);
    font-size: 0.74rem;
    font-weight: 800;
    letter-spacing: 0.01em;
}

.primary-nav > ul > li > a::after {
    position: absolute;
    right: 50%;
    bottom: 0;
    left: 50%;
    height: 3px;
    background: var(--red-600);
    content: "";
    transition: left 180ms ease, right 180ms ease;
}

.primary-nav > ul > li > a:hover::after,
.primary-nav > ul > li > a.is-active::after {
    right: 0;
    left: 0;
}

.nav-dropdown {
    position: absolute;
    top: calc(100% - 1px);
    left: -1.25rem;
    width: 285px;
    padding: 0.7rem;
    border: 1px solid var(--line);
    background: white;
    box-shadow: var(--shadow-lg);
    opacity: 0;
    pointer-events: none;
    transform: translateY(10px);
    transition: opacity 180ms ease, transform 180ms ease;
}

.has-dropdown:hover .nav-dropdown,
.has-dropdown:focus-within .nav-dropdown {
    opacity: 1;
    pointer-events: auto;
    transform: none;
}

.nav-dropdown a {
    display: grid;
    grid-template-columns: 30px 1fr;
    align-items: center;
    padding: 0.75rem;
    color: var(--navy-900);
    font-size: 0.78rem;
    font-weight: 700;
}

.nav-dropdown a:hover {
    background: var(--mist);
}

.nav-dropdown span {
    color: var(--red-600);
    font-size: 0.65rem;
}

.header-cta {
    margin-left: clamp(1rem, 2vw, 2rem);
}

.nav-toggle {
    display: none;
}

/* Home hero */
.home-hero {
    position: relative;
    display: flex;
    align-items: flex-start;
    min-height: min(760px, calc(100vh - 130px));
    overflow: hidden;
    background: var(--navy-950);
    color: white;
}

.home-hero__media,
.home-hero__overlay {
    position: absolute;
    inset: 0;
}

.home-hero__media {
    /* Rollback image: ../images/hero-drilling.jpg */
    background: url('../images/hero-geotechnical-fieldwork-v2.png') center 56% / cover no-repeat;
    transform: scale(1.03);
}

.home-hero__overlay {
    background: linear-gradient(90deg, rgba(71, 75, 78, 0.22) 0%, rgba(71, 75, 78, 0.07) 58%, rgba(71, 75, 78, 0.03) 100%), linear-gradient(0deg, rgba(71, 75, 78, 0.04), transparent 58%);
}

.home-hero__inner {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(230px, 0.43fr);
    align-items: start;
    gap: clamp(2rem, 6vw, 6rem);
    padding-block: clamp(3.5rem, 5vw, 5rem) 5rem;
}

.home-hero__content {
    max-width: 750px;
    text-align: left;
}

.home-hero h1 {
    margin-bottom: 1.25rem;
    color: white;
    font-size: clamp(2.65rem, 3.5vw, 3.45rem);
    line-height: 1.08;
    letter-spacing: -0.04em;
    text-shadow: 0 2px 5px rgba(7, 17, 33, 0.55), 0 4px 20px rgba(7, 17, 33, 0.5);
}

.hero-location {
    justify-self: end;
    max-width: 320px;
    margin-top: 2.25rem;
    margin-right: clamp(2rem, 5vw, 4rem);
    color: white;
    font-size: clamp(1.65rem, 2.35vw, 2.3rem);
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -0.035em;
    text-align: right;
    text-shadow: 0 2px 18px rgba(7, 17, 33, 0.65);
}

.hero-intro {
    max-width: 650px;
    margin: 0 0 2rem;
    padding: 0.75rem 1rem;
    border-left: 3px solid var(--red-500);
    background: rgba(71, 75, 78, 0.50);
    color: rgba(255, 255, 255, 0.96);
    font-size: clamp(1rem, 1.4vw, 1.2rem);
    backdrop-filter: blur(3px);
}

.hero-actions,
.button-group {
    display: flex;
    flex-wrap: wrap;
    gap: 0.85rem;
}

.hero-actions {
    justify-content: flex-start;
}

.hero-scroll {
    position: absolute;
    z-index: 3;
    bottom: 2rem;
    left: 2rem;
    display: grid;
    justify-items: center;
    gap: 0.5rem;
    color: rgba(255, 255, 255, 0.72);
    font-size: 0.6rem;
    font-weight: 800;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.hero-scroll span {
    position: relative;
    display: block;
    width: 1px;
    height: 38px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.25);
}

.hero-scroll span::after {
    position: absolute;
    inset: -100% 0 0;
    background: white;
    content: "";
    animation: scroll-line 2s ease-in-out infinite;
}

@keyframes scroll-line {
    0% { transform: translateY(-50%); }
    100% { transform: translateY(100%); }
}

/* Home sections */
.stats-band {
    border-bottom: 1px solid var(--line);
    background: white;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
}

.stat {
    display: grid;
    gap: 0.2rem;
    min-height: 150px;
    align-content: center;
    padding: 1.5rem 2rem;
    border-left: 1px solid var(--line);
}

.stat:last-child {
    border-right: 1px solid var(--line);
}

.stat strong {
    display: flex;
    align-items: center;
    min-height: 48px;
    color: var(--red-600);
    font-size: 2.4rem;
    line-height: 1;
}

.stat strong svg {
    width: 42px;
    height: 42px;
}

.stat > span {
    color: var(--ink-600);
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 1rem;
}

.service-card {
    position: relative;
    display: flex;
    grid-column: span 2;
    flex-direction: column;
    min-height: 360px;
    padding: 2rem;
    border: 1px solid var(--line);
    background: white;
    box-shadow: 0 0 0 rgba(0, 0, 0, 0);
    overflow: hidden;
    transition: border-color 220ms ease, transform 220ms ease, box-shadow 220ms ease;
}

.service-card:nth-child(4),
.service-card:nth-child(5) {
    grid-column: span 3;
}

.service-card::after {
    position: absolute;
    right: -50px;
    bottom: -70px;
    width: 180px;
    height: 180px;
    border: 34px solid rgba(200, 35, 44, 0.05);
    border-radius: 50%;
    content: "";
    transition: transform 260ms ease;
}

.service-card:hover {
    border-color: rgba(200, 35, 44, 0.35);
    box-shadow: var(--shadow-sm);
    transform: translateY(-7px);
}

.service-card:hover::after {
    transform: scale(1.16);
}

.service-card__top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 2.25rem;
    color: var(--red-600);
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.1em;
}

.service-card__top svg {
    width: 38px;
    height: 38px;
    stroke-width: 1.35;
}

.service-card h3 {
    margin-bottom: 0.8rem;
    font-size: 1.55rem;
}

.service-card p {
    margin-bottom: 2rem;
    font-size: 0.92rem;
}

.service-card__link {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    margin-top: auto;
    color: var(--navy-900);
    font-size: 0.72rem;
    font-weight: 800;
    text-transform: uppercase;
}

.coverage-section {
    padding-block: clamp(1.5rem, 3.2vw, 3.5rem);
    border-block: 1px solid #e2e7ee;
    background: #fff;
    overflow: hidden;
}

.coverage-section .coverage-grid {
    width: 100%;
    max-width: none;
    margin-inline: 0;
    padding-left: max(24px, calc((100vw - var(--container)) / 2));
    padding-right: max(24px, calc((100vw - var(--container)) / 2));
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: start;
    gap: 0rem;
}

.coverage-section .coverage-copy {
    padding-block: clamp(3rem, 9vw, 9rem);
    padding-right: clamp(1.25rem, 2.5vw, 2.25rem);
}

.coverage-copy h2 {
    margin-bottom: 1.5rem;
}

.region-list {
    margin: 2rem 0;
    border-top: 1px solid #cfd5de;
}

.region-list > div {
    display: grid;
    grid-template-columns: 110px 1fr;
    gap: 1.25rem;
    padding: 0.7rem 0;
    border-bottom: 1px solid #cfd5de;
    font-size: 0.72rem;
}

.region-list dt {
    color: var(--navy-900);
    font-weight: 800;
}

.region-list dd {
    margin: 0;
    color: var(--ink-600);
}

.coverage-map {
    position: relative;
    display: grid;
    min-height: 520px;
    place-items: center;
}

.coverage-map img {
    position: relative;
    z-index: 2;
    max-height: 570px;
    filter: drop-shadow(0 25px 35px rgba(31, 33, 35, 0.13));
}

.coverage-section .coverage-map {
    display: block;
    min-height: 0;
    min-width: 0;
}

.coverage-map__pan {
    width: 100%;
    overflow: hidden;
}

.coverage-section .coverage-map__pan img {
    display: block;
    width: min(100%, 500px);
    max-width: none;
    max-height: none;
    aspect-ratio: 720 / 1350;
    height: auto;
    margin-left: auto;
    object-fit: cover;
    object-position: top;
    filter: none;
}

.coverage-map__help {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 1rem;
    margin: 0.75rem 24px 0 0;
    font-size: 0.82rem;
}

.coverage-map__help span { display: none; }

.coverage-map__help a {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    color: var(--red-600);
    font-weight: 700;
}

.coverage-map__help svg { width: 0.9rem; height: 0.9rem; }

.map-orbit {
    position: absolute;
    border: 1px solid rgba(198, 35, 44, 0.18);
    border-radius: 50%;
}

.map-orbit--one { width: 450px; height: 450px; }
.map-orbit--two { width: 340px; height: 340px; }

.trusted-section {
    overflow: hidden;
}

.trust-strip {
    display: grid;
    grid-template-columns: 1fr 130px 1fr;
    align-items: center;
    gap: 2rem;
    padding: 1.4rem;
    border-block: 1px solid var(--line);
}

.trust-strip__logos {
    width: 100%;
    max-height: 112px;
    object-fit: contain;
}

.trust-strip__badge {
    width: 120px;
    margin: auto;
}

.trust-strip--single {
    display: block;
    padding: clamp(0.75rem, 2vw, 1.4rem);
}

.trust-strip__viewport {
    display: flex;
    justify-content: center;
}

.trust-strip__viewport a {
    display: block;
    line-height: 0;
}

.trust-strip__client-board {
    display: block;
    width: 100%;
    height: auto;
    max-height: 500px;
    object-fit: contain;
}

.trust-strip__help {
    display: none;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin: 0.8rem 0 0;
    color: var(--ink-600);
    font-size: 0.76rem;
}

.trust-strip__help a {
    display: inline-flex;
    align-items: center;
    flex: none;
    gap: 0.35rem;
    color: var(--red-600);
    font-weight: 800;
}

.trust-strip__help svg {
    width: 14px;
    height: 14px;
}

.project-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1rem;
}

.project-grid--home .project-card {
    display: flex;
    min-width: 0;
    height: 100%;
    flex-direction: column;
}

.project-grid.project-grid--home .project-card__image {
    min-height: 0;
    aspect-ratio: 4 / 3;
}

.project-grid--home .project-card__body {
    display: flex;
    flex: 1;
    flex-direction: column;
}

.project-grid--home .project-card__body > :last-child {
    margin-top: auto;
    padding-top: 1.2rem;
}

.project-card {
    border: 1px solid var(--line);
    background: white;
    transition: transform 220ms ease, box-shadow 220ms ease;
}

.project-card:hover {
    box-shadow: var(--shadow-sm);
    transform: translateY(-5px);
}

.project-card__image {
    position: relative;
    display: block;
    aspect-ratio: 1.25;
    overflow: hidden;
    background: #dfe3e8;
}

.project-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 500ms cubic-bezier(0.2, 0.7, 0.2, 1);
}

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

.project-card__image > span:not(.project-card__placeholder-mark) {
    position: absolute;
    right: 0.7rem;
    bottom: 0.7rem;
    padding: 0.3rem 0.5rem;
    background: rgba(71, 75, 78, 0.94);
    color: white;
    font-size: 0.58rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.project-card__body {
    padding: 1.35rem;
}

.project-card__body h3,
.project-card__body h2 {
    margin-bottom: 0.7rem;
    font-size: 1.2rem;
}

.project-card__body p {
    font-size: 0.82rem;
}

.industries-section {
    padding-block: var(--section-space);
}

.industries-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 0.7rem;
}

.industries-grid > div {
    display: grid;
    grid-template-rows: auto 1fr auto;
    gap: 0.8rem;
    min-height: 190px;
    padding: 1.25rem;
    border-top: 3px solid var(--red-600);
    background: var(--mist);
}

.industries-grid .industry-icon {
    display: grid;
    place-items: center;
    width: 60px;
    height: 60px;
    border: 1px solid rgba(192, 0, 0, 0.18);
    border-radius: 50%;
    background: rgba(192, 0, 0, 0.07);
    color: var(--red-600);
}

.industries-grid .industry-icon svg {
    width: 32px;
    height: 32px;
    stroke-width: 1.65;
}

.industries-grid strong {
    align-self: end;
    color: var(--navy-900);
}

.industries-grid small {
    color: var(--ink-600);
    font-size: 0.68rem;
    line-height: 1.45;
}

.closing-cta {
    background: var(--red-600);
    color: white;
}

.closing-cta__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 3rem;
    min-height: 260px;
    padding-block: 3.5rem;
}

.closing-cta h2,
.closing-cta p {
    color: white;
}

.closing-cta h2 {
    margin-bottom: 0.65rem;
}

.closing-cta p:not(.eyebrow) {
    max-width: 660px;
    margin-bottom: 0;
    color: rgba(255, 255, 255, 0.8);
}

/* Footer */
.site-footer {
    padding-top: 4.5rem;
    background: var(--navy-950);
    color: rgba(255, 255, 255, 0.74);
}

.site-footer__top {
    display: grid;
    grid-template-columns: 1.8fr 0.8fr 1.2fr;
    gap: 3rem;
    padding-bottom: 3.5rem;
}

.footer-brand img {
    width: 245px;
    margin-bottom: 1.4rem;
    padding: 0.45rem 0.65rem;
    border-radius: 3px;
    background: white;
}

.footer-brand p {
    max-width: 340px;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.8rem;
}

.footer-social {
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    margin-top: 1.35rem;
    border: 1px solid rgba(255, 255, 255, 0.24);
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.06);
    color: white;
    transition: background 180ms ease, border-color 180ms ease;
}

.footer-social:hover {
    border-color: var(--red-500);
    background: var(--red-600);
}

.footer-social svg {
    width: 19px;
    height: 19px;
}

.site-footer h2 {
    margin-bottom: 1.1rem;
    color: white;
    font-size: 0.72rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.site-footer ul {
    display: grid;
    gap: 0.55rem;
    margin: 0;
    padding: 0;
    list-style: none;
    font-size: 0.76rem;
}

.site-footer a:hover {
    color: white;
}

.footer-contact {
    line-height: 1.5;
}

.footer-offices {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 2.25rem;
    padding-block: 3rem;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.footer-offices article {
    min-width: 0;
}

.footer-offices h2 {
    margin-bottom: 0.85rem;
}

.footer-offices p {
    margin: 0 0 0.38rem;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.72rem;
    line-height: 1.55;
    overflow-wrap: anywhere;
}

.footer-offices p:first-of-type {
    min-height: 3.1em;
    color: rgba(255, 255, 255, 0.78);
}

.footer-offices p span {
    color: white;
    font-weight: 800;
}

.site-footer__bottom {
    padding-block: 1.35rem;
    color: rgba(255, 255, 255, 0.44);
    font-size: 0.66rem;
}

/* Inner heroes */
.inner-hero,
.service-hero {
    position: relative;
    display: flex;
    align-items: end;
    min-height: 475px;
    overflow: hidden;
    background-color: var(--navy-950);
    background-position: center;
    background-size: cover;
    color: white;
}

.inner-hero::after,
.service-hero::after {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(71, 75, 78, 0.30) 0%, rgba(71, 75, 78, 0.11) 58%, rgba(71, 75, 78, 0.04) 100%), linear-gradient(0deg, rgba(71, 75, 78, 0.08), transparent 62%);
    content: "";
}

.inner-hero--about { background-image: url('../images/field-excavation.jpg'); background-position: center 54%; }
.inner-hero--capabilities { background-image: url('../images/hero-drilling.jpg'); background-position: center 60%; }
.inner-hero--projects { background-image: url('../images/project-mainroads.jpg'); }
.inner-hero--coverage { background-image: url('../images/hero-drilling.jpg'); background-position: center 62%; }
.inner-hero--contact { background-image: url('../images/field-excavation.jpg'); background-position: center 50%; }

.inner-hero__content,
.service-hero__content {
    position: relative;
    z-index: 2;
    max-width: 820px;
    padding-block: 5.5rem;
}

.inner-hero h1,
.service-hero h1 {
    margin-bottom: 1.25rem;
    color: white;
    font-size: clamp(3rem, 6vw, 5.9rem);
    text-shadow: 0 2px 22px rgba(5, 13, 27, 0.44);
}

.inner-hero p:not(.eyebrow),
.service-hero p:not(.eyebrow) {
    max-width: 700px;
    margin-bottom: 0;
    color: rgba(255, 255, 255, 0.94);
    font-size: 1.05rem;
    text-shadow: 0 1px 14px rgba(5, 13, 27, 0.48);
}

.service-hero {
    min-height: 560px;
}

.service-hero__media {
    position: absolute;
    inset: 0;
    background-position: center;
    background-size: cover;
}

.service-hero--geotechnical .service-hero__media { background-image: url('../images/capabilities/geotechnical/geotechnical-hero.png'); background-position: center 54%; }
.service-hero--pavement .service-hero__media { background-image: url('../images/capabilities/pavement/pavement-field-1.png'); background-position: center 56%; }
.service-hero--civil .service-hero__media { background-image: url('../images/capabilities/civil/earthworks-compaction.jpg'); background-position: center 58%; }
.service-hero--laboratory .service-hero__media { background-image: url('../images/capabilities/laboratory/soil-testing-1.png'); background-position: center; }
.service-hero--asset .service-hero__media { background-image: url('../images/capabilities/asset-management/rtk-drone-support.png'); background-position: center; }

.service-hero .button {
    margin-top: 1.3rem;
}

.service-nav {
    position: relative;
    z-index: 8;
    border-bottom: 1px solid var(--line);
    background: white;
}

.service-nav__inner {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
}

.service-nav a {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    min-height: 76px;
    padding: 0.8rem;
    border-left: 1px solid var(--line);
    color: var(--navy-900);
    font-size: 0.71rem;
    font-weight: 800;
    line-height: 1.3;
}

.service-nav a:last-child {
    border-right: 1px solid var(--line);
}

.service-nav a span {
    color: var(--red-600);
    font-size: 0.6rem;
}

.service-nav a.is-active {
    background: var(--red-600);
    color: white;
}

.service-nav a.is-active span {
    color: rgba(255, 255, 255, 0.7);
}

/* About and common content */
.prose-grid,
.service-intro,
.credentials-grid {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    gap: clamp(3rem, 8vw, 8rem);
}

.prose-grid h2,
.service-intro h2,
.credentials-grid h2 {
    position: sticky;
    top: 130px;
}

.prose p {
    font-size: 1rem;
}

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

.values-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: clamp(0.9rem, 1.8vw, 1.5rem);
    background: transparent;
}

.values-grid article {
    position: relative;
    min-height: 430px;
    padding: clamp(2rem, 5vw, 4rem);
    border: 1px solid var(--line);
    border-top: 4px solid var(--red-600);
    background: white;
    box-shadow: var(--shadow-sm);
}

.values-grid article > span {
    position: absolute;
    top: 2rem;
    right: 2rem;
    color: rgba(200, 35, 44, 0.16);
    font-size: 4rem;
    font-weight: 800;
}

.values-grid h2 {
    margin-top: 3rem;
    font-size: clamp(2rem, 3.6vw, 3rem);
}

.values-grid article > p:last-child {
    color: var(--ink-600);
}

.leadership-grid {
    display: grid;
    gap: 1.5rem;
}

.profile-card {
    display: grid;
    grid-template-columns: 330px 1fr;
    min-height: 390px;
    border: 1px solid var(--line);
    background: white;
}

.profile-card__image {
    overflow: hidden;
    background: var(--navy-900);
}

.profile-card__image img {
    width: 100%;
    height: auto;
    filter: grayscale(1);
}

.profile-card__body {
    padding: clamp(2rem, 4vw, 4rem);
}

.profile-card__body h3 {
    margin-bottom: 0.55rem;
    font-size: 2.2rem;
}

.profile-card__role {
    margin-bottom: 0.4rem;
    color: var(--red-600);
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.profile-card__credentials {
    color: var(--navy-900);
    font-size: 0.78rem;
    font-weight: 700;
}

.profile-card__bio {
    margin-top: 1.4rem;
    border-top: 1px solid var(--line);
}

.profile-card__bio summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding-block: 1rem;
    color: var(--navy-900);
    cursor: pointer;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    list-style: none;
    text-transform: uppercase;
}

.profile-card__bio summary::-webkit-details-marker {
    display: none;
}

.profile-card__bio summary::after {
    display: grid;
    flex: 0 0 32px;
    place-items: center;
    width: 32px;
    height: 32px;
    border: 1px solid var(--line);
    border-radius: 50%;
    color: var(--red-600);
    content: "+";
    font-size: 1.25rem;
    line-height: 1;
}

.profile-card__bio[open] summary::after {
    content: "\2212";
}

.profile-card__bio summary:hover,
.profile-card__bio summary:focus-visible {
    color: var(--red-600);
}

.profile-card__bio > p {
    margin-bottom: 0;
    padding: 0.2rem 0 0.5rem;
}

.team-placeholder-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    margin-top: 1.5rem;
}

.team-placeholder-grid > div {
    display: grid;
    min-height: 170px;
    align-content: end;
    padding: 1.5rem;
    background: var(--mist);
}

.team-placeholder-grid span {
    align-self: start;
    color: var(--red-600);
    font-weight: 800;
}

.team-placeholder-grid strong {
    color: var(--navy-900);
}

.team-placeholder-grid small {
    color: var(--ink-500);
}

.credential-list {
    display: grid;
    gap: 1rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.credential-list li {
    display: grid;
    grid-template-columns: 44px 1fr;
    gap: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--line);
}

.credential-list li > span {
    display: grid;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: var(--red-600);
    color: white;
    place-items: center;
}

.credential-list strong {
    color: var(--navy-900);
}

.credential-list p {
    margin-bottom: 0;
    font-size: 0.82rem;
}

/* Capability overview */
.capability-list {
    border-top: 1px solid var(--line);
}

.capability-row {
    display: grid;
    grid-template-columns: 60px 1fr 44px;
    align-items: center;
    gap: 1.5rem;
    min-height: 142px;
    border-bottom: 1px solid var(--line);
    transition: padding 180ms ease, background 180ms ease;
}

.capability-row:hover {
    padding-inline: 1rem;
    background: var(--mist);
}

.capability-row__number {
    color: var(--red-600);
    font-size: 0.72rem;
    font-weight: 800;
}

.capability-row__icon {
    display: grid;
    width: 52px;
    height: 52px;
    border: 1px solid var(--line);
    color: var(--red-600);
    place-items: center;
}

.capability-row__icon svg {
    width: 26px;
    height: 26px;
}

.capability-row strong,
.capability-row small {
    display: block;
}

.capability-row strong {
    color: var(--navy-900);
    font-size: 1.6rem;
}

.capability-row small {
    max-width: 700px;
    color: var(--ink-600);
}

.capability-row__arrow {
    display: grid;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: var(--navy-900);
    color: white;
    place-items: center;
}

.process-steps {
    counter-reset: process;
}

.process-steps > div {
    display: grid;
    grid-template-columns: 44px 130px 1fr;
    gap: 1.25rem;
    padding: 1.2rem 0;
    border-bottom: 1px solid var(--line);
}

.process-steps span {
    color: var(--red-600);
    font-size: 0.7rem;
    font-weight: 800;
}

.process-steps strong {
    color: var(--navy-900);
}

.process-steps p {
    margin: 0;
    font-size: 0.84rem;
}

/* Service detail pages */
.detail-card-grid,
.civil-service-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
}

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

.detail-card {
    position: relative;
    padding: clamp(2rem, 4vw, 3.4rem);
    border: 1px solid var(--line);
    background: white;
}

.detail-card--wide {
    display: grid;
    grid-column: 1 / -1;
    grid-template-columns: 1fr 1.2fr;
    gap: 2rem;
}

.detail-card__icon {
    position: absolute;
    top: 2rem;
    right: 2rem;
    color: rgba(200, 35, 44, 0.25);
}

.detail-card__icon svg {
    width: 52px;
    height: 52px;
}

.tick-list {
    display: grid;
    gap: 0.6rem;
    margin: 1.5rem 0 0;
    padding: 0;
    list-style: none;
}

.tick-list li {
    position: relative;
    padding-left: 1.5rem;
    color: var(--ink-600);
    font-size: 0.86rem;
}

.tick-list li::before {
    position: absolute;
    top: 0.72em;
    left: 0;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--red-600);
    content: "";
}

.tick-list--columns {
    grid-template-columns: repeat(2, 1fr);
    column-gap: 2rem;
}

.fastfwd-feature {
    padding-block: clamp(4rem, 7vw, 7rem);
    border-block: 1px solid var(--line);
    background: var(--mist);
    color: var(--ink-950);
}

.fastfwd-grid,
.asset-grid,
.rtk-grid,
.lab-intro-grid,
.coverage-page-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: center;
    gap: clamp(3rem, 7vw, 7rem);
}

.fastfwd-copy h2 {
    color: var(--navy-900);
}

.fastfwd-copy .eyebrow {
    color: var(--red-600);
}

.fastfwd-copy p:not(.eyebrow) {
    color: var(--ink-600);
}

.fastfwd-image {
    min-height: 390px;
    display: grid;
    padding: 2.5rem;
    border: 1px solid var(--line);
    background: white;
    box-shadow: var(--shadow-sm);
    place-items: center;
}

.inline-benefits {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    margin: 2rem 0 0;
    padding: 0;
    list-style: none;
}

.inline-benefits li {
    padding: 0.45rem 0.7rem;
    border: 1px solid #cfd5de;
    background: white;
    color: var(--navy-900);
    font-size: 0.7rem;
    font-weight: 700;
}

.two-column-details {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: clamp(3rem, 7vw, 7rem);
}

.two-column-details article + article {
    padding-left: clamp(2rem, 6vw, 6rem);
    border-left: 1px solid var(--line);
}

.funding-heading {
    max-width: 820px;
    margin-bottom: 4rem;
}

.funding-heading p:not(.eyebrow) {
    color: var(--ink-600);
}

.funding-steps {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 1px;
    margin: 0;
    padding: 0;
    background: var(--line);
    list-style: none;
}

.funding-steps li {
    position: relative;
    min-height: 280px;
    padding: 1.75rem;
    border-top: 3px solid var(--red-600);
    background: white;
}

.funding-steps li:last-child {
    border-right: 0;
}

.funding-steps li > span {
    display: block;
    margin-bottom: 4rem;
    color: var(--red-500);
    font-size: 0.7rem;
    font-weight: 800;
}

.funding-steps strong {
    display: block;
    margin-bottom: 0.8rem;
    color: var(--navy-900);
    line-height: 1.35;
}

.funding-steps p {
    color: var(--ink-600);
    font-size: 0.76rem;
}

.lab-intro-image {
    position: relative;
    min-height: 450px;
}

.lab-intro-image > img:first-child {
    width: 100%;
    height: 100%;
    min-height: 450px;
    object-fit: cover;
}

.lab-intro-image .lab-badge {
    position: absolute;
    right: -26px;
    bottom: -26px;
    width: 120px;
    padding: 1rem;
    background: white;
    box-shadow: var(--shadow-sm);
}

.benefit-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    background: var(--line);
}

.benefit-grid > div {
    min-height: 210px;
    padding: 2rem;
    background: white;
}

.benefit-grid strong {
    display: block;
    margin-bottom: 0.7rem;
    color: var(--navy-900);
}

.benefit-grid p {
    margin: 0;
    font-size: 0.82rem;
}

.table-wrapper {
    overflow-x: auto;
    border: 1px solid var(--line);
}

table {
    width: 100%;
    border-collapse: collapse;
    background: white;
    font-size: 0.82rem;
}

th,
td {
    padding: 0.85rem 1rem;
    border-bottom: 1px solid var(--line);
    text-align: left;
    vertical-align: top;
}

th {
    background: var(--navy-900);
    color: white;
    font-size: 0.68rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

th:first-child,
td:first-child {
    width: 42%;
    font-weight: 700;
}

tbody tr:nth-child(even) {
    background: #f8f9fb;
}

.methods-note {
    margin-top: 1rem;
    font-size: 0.72rem;
}

.asset-visual,
.rtk-visual {
    overflow: hidden;
    background: var(--mist);
}

.asset-visual img,
.rtk-visual img {
    width: 100%;
    height: 100%;
    min-height: 480px;
    object-fit: contain;
}

.rtk-grid {
    grid-template-columns: minmax(0, 1.12fr) minmax(0, 0.88fr);
}

.application-list,
.region-cards {
    display: grid;
    gap: 0;
    margin: 2rem 0 0;
    padding: 0;
    list-style: none;
}

.application-list li,
.region-cards article {
    display: grid;
    grid-template-columns: 42px 1fr;
    gap: 1rem;
    padding: 1rem 0;
    border-top: 1px solid var(--line);
}

.application-list span,
.region-cards article > span {
    color: var(--red-600);
    font-size: 0.7rem;
    font-weight: 800;
}

.region-cards svg {
    width: 24px;
    height: 24px;
}

.application-list strong,
.region-cards h3 {
    color: var(--navy-900);
}

.application-list p,
.region-cards p {
    margin: 0;
    font-size: 0.78rem;
}

.capability-gallery-section {
    border-top: 1px solid var(--line);
}

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

.capability-gallery figure,
.capability-feature-image {
    margin: 0;
    overflow: hidden;
    border: 1px solid var(--line);
    background: white;
    box-shadow: var(--shadow-sm);
}

.capability-gallery img {
    width: 100%;
    aspect-ratio: 4 / 3;
    padding: 0.35rem;
    background: #eceeef;
    object-fit: contain;
}

.capability-gallery figcaption,
.capability-feature-image figcaption {
    padding: 0.9rem 1rem;
    color: var(--navy-900);
    font-size: 0.72rem;
    font-weight: 800;
}

.capability-feature-image img {
    width: 100%;
    max-height: 650px;
    object-fit: cover;
}

/* Projects */
.project-filter-bar {
    position: sticky;
    z-index: 20;
    top: var(--header-height);
    border-bottom: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.97);
    backdrop-filter: blur(10px);
}

.project-filter-bar .container {
    display: flex;
    gap: 0.25rem;
    padding-block: 0.7rem;
}

.project-filter-bar button {
    padding: 0.65rem 1rem;
    border: 0;
    background: transparent;
    color: var(--ink-600);
    cursor: pointer;
    font-size: 0.72rem;
    font-weight: 800;
}

.project-filter-bar button.is-active {
    background: var(--navy-900);
    color: white;
}

.project-grid--large {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.project-card--detailed .project-card__image {
    aspect-ratio: 1.65;
}

.project-card--detailed .project-card__body {
    padding: 2rem;
}

.project-card--featured {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: minmax(320px, 0.8fr) minmax(0, 1.2fr);
}

.project-card--featured .project-card__image {
    min-height: 560px;
    aspect-ratio: auto;
}

.project-card--featured .project-card__image img {
    object-fit: contain;
    background: #f3f3f3;
}

.project-card--placeholder .project-card__image {
    display: grid;
    min-height: 270px;
    background: linear-gradient(145deg, #eceeef, #dfe2e4);
    place-items: center;
}

.project-card__placeholder-mark {
    display: grid;
    width: 78px;
    height: 78px;
    border: 1px solid rgba(192, 0, 0, 0.2);
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.7);
    color: var(--red-600);
    place-items: center;
}

.project-card__placeholder-mark svg {
    width: 34px;
    height: 34px;
}

.project-card__status,
.project-card__coming-soon {
    color: var(--red-600);
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.project-card__status {
    margin-bottom: 0.75rem;
}

.project-card__coming-soon {
    display: inline-block;
    margin-top: 1.2rem;
}

.project-card__cta {
    margin-top: 1.5rem;
}

.project-card--detailed .project-card__body h2 {
    font-size: 1.7rem;
}

.project-meta {
    margin: 1.5rem 0 0;
}

.project-meta > div {
    display: grid;
    grid-template-columns: 110px 1fr;
    gap: 1rem;
    padding: 0.55rem 0;
    border-top: 1px solid var(--line);
    font-size: 0.7rem;
}

.project-meta dt {
    color: var(--ink-500);
}

.project-meta dd {
    margin: 0;
    color: var(--navy-900);
    font-weight: 700;
}

.project-card.is-filtered-out {
    display: none;
}

.project-detail-hero {
    padding-block: clamp(4.5rem, 8vw, 8rem);
    background: var(--navy-950);
    color: white;
}

.project-detail-hero__inner {
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(280px, 0.65fr);
    align-items: end;
    gap: clamp(3rem, 8vw, 8rem);
}

.project-detail-hero h1 {
    max-width: 850px;
    margin-bottom: 1.4rem;
    color: white;
    font-size: clamp(3rem, 6vw, 6rem);
}

.project-detail-hero p:not(.eyebrow) {
    max-width: 720px;
    margin-bottom: 0;
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.05rem;
}

.project-breadcrumb {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    margin-bottom: 2.5rem;
    color: rgba(255, 255, 255, 0.72);
    font-size: 0.72rem;
    font-weight: 800;
}

.project-breadcrumb svg {
    transform: rotate(180deg);
}

.project-detail-facts {
    margin: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.project-detail-facts > div {
    display: grid;
    grid-template-columns: 92px 1fr;
    gap: 1rem;
    padding: 0.9rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.project-detail-facts dt {
    color: rgba(255, 255, 255, 0.55);
    font-size: 0.66rem;
    text-transform: uppercase;
}

.project-detail-facts dd {
    margin: 0;
    color: white;
    font-size: 0.8rem;
    font-weight: 700;
}

.project-overview-grid,
.project-delivery-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
    align-items: start;
    gap: clamp(3rem, 8vw, 8rem);
}

.project-story h2 {
    max-width: 680px;
}

.project-outcome-callout {
    margin-top: 2.5rem;
    padding: 1.5rem;
    border-left: 4px solid var(--red-600);
    background: var(--mist);
}

.project-outcome-callout span {
    display: block;
    margin-bottom: 0.45rem;
    color: var(--red-600);
    font-size: 0.65rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.project-outcome-callout strong {
    color: var(--navy-900);
    line-height: 1.45;
}

.project-source-sheet {
    margin: 0;
    padding: 1rem;
    border: 1px solid var(--line);
    background: #f5f5f5;
    box-shadow: var(--shadow-sm);
}

.project-source-sheet img {
    width: 100%;
}

.project-source-sheet figcaption {
    padding-top: 0.8rem;
    color: var(--ink-500);
    font-size: 0.68rem;
    text-align: center;
}

.project-scope-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1rem;
}

.project-scope-grid article {
    min-height: 270px;
    padding: 1.6rem;
    border-top: 3px solid var(--red-600);
    background: white;
}

.project-scope-grid span {
    color: var(--red-600);
    font-size: 0.68rem;
    font-weight: 800;
}

.project-scope-grid h3 {
    margin: 3.5rem 0 0.8rem;
}

.project-scope-grid p {
    margin-bottom: 0;
    font-size: 0.78rem;
}

.project-delivery-panel {
    padding: clamp(2rem, 4vw, 3.5rem);
    border: 1px solid var(--line);
    border-top: 4px solid var(--red-600);
    background: var(--mist);
}

.project-delivery-panel h3 {
    font-size: clamp(1.8rem, 3vw, 2.6rem);
}

.project-delivery-panel .text-link {
    margin-top: 1rem;
}

.coverage-page-section {
    background: #eef1f6;
}

.coverage-map--large {
    min-height: 720px;
}

/* Contact */
.contact-grid {
    display: grid;
    grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
    gap: clamp(3rem, 8vw, 8rem);
    align-items: start;
}

.contact-details {
    position: sticky;
    top: 130px;
}

.contact-methods {
    margin-top: 2.5rem;
}

.contact-methods > a,
.contact-methods > div {
    display: grid;
    grid-template-columns: 42px 1fr;
    gap: 1rem;
    padding: 1rem 0;
    border-top: 1px solid var(--line);
}

.contact-methods > * > span {
    display: grid;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: var(--mist);
    color: var(--red-600);
    place-items: center;
}

.contact-methods small,
.contact-methods strong {
    display: block;
}

.contact-methods small {
    color: var(--ink-500);
    font-size: 0.65rem;
    text-transform: uppercase;
}

.contact-methods strong {
    color: var(--navy-900);
    font-size: 0.84rem;
}

.postcode-note {
    margin-top: 1.5rem;
    font-size: 0.7rem;
}

.enquiry-panel {
    padding: clamp(2rem, 4vw, 3.5rem);
    background: var(--mist);
}

.enquiry-panel form,
.enquiry-panel label {
    display: grid;
}

.enquiry-panel form {
    gap: 1.1rem;
}

.enquiry-panel label {
    gap: 0.4rem;
}

.enquiry-panel label > span {
    color: var(--navy-900);
    font-size: 0.7rem;
    font-weight: 800;
    text-transform: uppercase;
}

.form-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

input,
select,
textarea {
    width: 100%;
    border: 1px solid #ccd2dc;
    border-radius: 0;
    background: white;
    color: var(--ink-950);
}

input,
select {
    height: 52px;
    padding-inline: 0.85rem;
}

textarea {
    min-height: 160px;
    padding: 0.85rem;
    resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
    border-color: var(--red-600);
    outline: 3px solid rgba(200, 35, 44, 0.1);
}

.enquiry-panel button {
    justify-self: start;
    border: 0;
    cursor: pointer;
}

.form-privacy {
    margin-bottom: 0;
    font-size: 0.67rem;
}

.honeypot {
    position: absolute;
    left: -9999px;
}

.form-status {
    margin-bottom: 1.5rem;
    padding: 1rem 1.2rem;
    border-left: 4px solid;
    background: white;
    font-size: 0.82rem;
}

.form-status--success { border-color: #2e7d32; }
.form-status--error { border-color: var(--red-600); }
.form-status ul { margin-bottom: 0; }

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

    .primary-nav,
    .header-cta {
        display: none;
    }

    .nav-toggle {
        display: grid;
        width: 44px;
        height: 44px;
        padding: 0;
        border: 1px solid var(--line);
        background: white;
        color: var(--navy-900);
        cursor: pointer;
        place-items: center;
    }

    .nav-toggle svg {
        width: 22px;
        height: 22px;
    }

    .nav-toggle__close { display: none; }
    .nav-open .nav-toggle__open { display: none; }
    .nav-open .nav-toggle__close { display: block; }

    .nav-open .primary-nav {
        position: fixed;
        z-index: 49;
        top: calc(var(--header-height) + 46px);
        right: 0;
        bottom: 0;
        left: 0;
        display: block;
        padding: 2rem 24px 7rem;
        overflow-y: auto;
        background: white;
    }

    .nav-open .header-cta {
        position: fixed;
        z-index: 51;
        bottom: 24px;
        left: 24px;
        display: inline-flex;
        justify-content: center;
        width: min(280px, calc(100% - 48px));
        margin: 0;
        box-shadow: var(--shadow-lg);
    }

    .primary-nav ul {
        display: grid;
        gap: 0;
    }

    .primary-nav > ul > li > a {
        min-height: 58px;
        border-bottom: 1px solid var(--line);
        font-size: 1rem;
    }

    .primary-nav > ul > li > a::after { display: none; }

    .nav-dropdown {
        position: static;
        width: auto;
        padding: 0.5rem 0 1rem 1rem;
        border: 0;
        box-shadow: none;
        opacity: 1;
        pointer-events: auto;
        transform: none;
    }

    .service-grid { grid-template-columns: repeat(2, 1fr); }
    .service-card,
    .service-card:nth-child(4),
    .service-card:nth-child(5) { grid-column: auto; }
    .service-card:last-child { grid-column: 1 / -1; }

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

    .funding-steps { grid-template-columns: repeat(3, 1fr); }
    .funding-steps li:nth-child(4),
    .funding-steps li:nth-child(5) { border-bottom: 0; }

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

@media (max-width: 820px) {
    :root { --section-space: 4.5rem; }

    .home-hero {
        min-height: 760px;
    }

    .home-hero__media { background-position: 82% 45%; }

    .home-hero__overlay {
        background: linear-gradient(90deg, rgba(71, 75, 78, 0.22), rgba(71, 75, 78, 0.04)), linear-gradient(0deg, rgba(71, 75, 78, 0.04), transparent 58%);
    }

    .home-hero__inner {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        padding-block: 3.5rem 4rem;
    }
    .hero-location {
        grid-row: 1;
        max-width: 260px;
        margin-top: 0;
        margin-right: 0;
    }
    .home-hero h1 { max-width: 740px; }
    .hero-scroll { display: none; }

    .stats-grid { grid-template-columns: repeat(2, 1fr); }
    .stat { min-height: 130px; border-bottom: 1px solid var(--line); }
    .stat:nth-child(2n) { border-right: 1px solid var(--line); }

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

    .coverage-grid,
    .prose-grid,
    .service-intro,
    .credentials-grid,
    .fastfwd-grid,
    .asset-grid,
    .rtk-grid,
    .lab-intro-grid,
    .coverage-page-grid,
    .contact-grid,
    .two-column-details,
    .project-detail-hero__inner,
    .project-overview-grid,
    .project-delivery-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .prose-grid h2,
    .service-intro h2,
    .credentials-grid h2,
    .contact-details { position: static; }

    .coverage-section .coverage-grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 1.5rem;
        padding-left: 0;
    }
    .coverage-section .coverage-copy {
        padding: 2rem 0 0 24px;
    }
    .coverage-section .coverage-map {
        display: flex;
        flex-direction: column;
    }
    .coverage-map__pan {
        overflow-x: auto;
        overscroll-behavior-inline: contain;
        -webkit-overflow-scrolling: touch;
    }
    .coverage-section .coverage-map__pan img { width: 500px; }
    .coverage-map__help {
        order: -1;
        justify-content: flex-start;
        flex-wrap: wrap;
        margin: 0 24px 0.75rem;
    }
    .coverage-map__help span { display: inline; }

    .coverage-map { min-height: 440px; }
    .coverage-map--large { min-height: 540px; }

    .trust-strip {
        grid-template-columns: 1fr;
        justify-items: center;
    }

    .trust-strip__logos { max-width: 650px; }

    .trust-strip--single {
        display: block;
        justify-items: initial;
    }

    .trust-strip__viewport {
        display: block;
        overflow-x: auto;
        overscroll-behavior-inline: contain;
        scrollbar-color: var(--red-600) #e6e8e9;
        scrollbar-width: thin;
        -webkit-overflow-scrolling: touch;
    }

    .trust-strip__viewport a {
        width: 900px;
    }

    .trust-strip__client-board {
        width: 900px;
        max-width: none;
        max-height: none;
    }

    .trust-strip__help { display: flex; }

    .closing-cta__inner { align-items: start; flex-direction: column; }

    .site-footer__top { grid-template-columns: repeat(2, 1fr); }
    .footer-brand { grid-column: 1 / -1; }
    .footer-offices { grid-template-columns: repeat(2, 1fr); }

    .service-nav { overflow-x: auto; }
    .service-nav__inner { width: 900px; }

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

    .profile-card { grid-template-columns: 250px 1fr; }

    .detail-card-grid { grid-template-columns: 1fr; }
    .detail-card--wide { grid-column: auto; grid-template-columns: 1fr; }

    .two-column-details article + article { padding-left: 0; border-left: 0; border-top: 1px solid var(--line); padding-top: 3rem; }

    .benefit-grid { grid-template-columns: repeat(2, 1fr); }
    .funding-steps { grid-template-columns: repeat(2, 1fr); }

    .project-grid--large { grid-template-columns: 1fr; }
    .project-grid.project-grid--home { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .project-card--featured { grid-template-columns: 1fr; }
    .project-card--featured .project-card__image { min-height: 0; aspect-ratio: 4 / 3; }
}

@media (max-width: 580px) {
    .container { width: min(calc(100% - 32px), var(--container)); }
    .utility-bar__inner { padding-block: 0.35rem; }
    .utility-bar__contacts { gap: 0.25rem 0.85rem; }
    .utility-bar__contacts a { font-size: 0.82rem; }
    .utility-bar__contacts svg { flex: none; }

    .brand { width: 224px; }

    .home-hero { min-height: 1080px; }
    .home-hero__media {
        /* Rollback image: ../images/hero-drilling.jpg */
        background-image: url('../images/hero-geotechnical-fieldwork-mobile-v2.png');
        background-position: 70% top;
        background-size: cover;
    }
    .home-hero__inner { gap: 0.85rem; padding-block: 2rem 4rem; }
    .home-hero h1 { font-size: clamp(2.1rem, 8.2vw, 2.65rem); }
    .hero-location { max-width: 205px; font-size: 1.4rem; }
    .hero-intro { font-size: 0.95rem; }

    .hero-actions { width: min(100%, 210px); }
    .hero-actions .button { width: 100%; padding-inline: 0.8rem; }

    .stat { min-height: 112px; padding: 1.1rem; }
    .stat strong { font-size: 1.9rem; }
    .stat > span { font-size: 0.6rem; }

    .service-grid,
    .project-grid,
    .industries-grid,
    .benefit-grid,
    .funding-steps,
    .team-placeholder-grid,
    .values-grid {
        grid-template-columns: 1fr;
    }

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

    .service-card:last-child { grid-column: auto; }
    .service-card { min-height: 320px; padding: 1.5rem; }
    .service-card__top { margin-bottom: 1rem; }

    .industries-grid > div { min-height: 150px; }

    .trusted-section { padding-block: 2rem; }
    .trusted-section .section-heading { margin-bottom: 1rem; }
    .trust-strip--single {
        margin-inline: -8px;
        padding: 0.25rem 8px;
    }
    .trust-strip__viewport a,
    .trust-strip__client-board { width: 760px; }
    .trust-strip__help {
        align-items: flex-start;
        flex-direction: column;
        margin-top: 0.4rem;
    }

    .map-orbit--one { width: 340px; height: 340px; }
    .map-orbit--two { width: 250px; height: 250px; }
    .coverage-map { min-height: 390px; }
    .coverage-section .coverage-grid { padding-right: 16px; }
    .coverage-section .coverage-copy { padding-left: 16px; }
    .coverage-map__help { margin-inline: 16px; font-size: 0.78rem; }

    .closing-cta__inner { min-height: 330px; }
    .button-group,
    .button-group .button { width: 100%; }

    .site-footer__top { grid-template-columns: 1fr; gap: 2rem; }
    .footer-brand { grid-column: auto; }
    .footer-offices { grid-template-columns: 1fr; gap: 2rem; }
    .footer-offices p:first-of-type { min-height: 0; }

    .inner-hero,
    .service-hero { min-height: 520px; }
    .inner-hero__content,
    .service-hero__content { padding-block: 4rem; }
    .inner-hero h1,
    .service-hero h1 { font-size: clamp(2.55rem, 13vw, 4.2rem); }

    .profile-card { grid-template-columns: 1fr; }
    .profile-card__image { min-height: 320px; }
    .profile-card__body { padding: 1.5rem; }

    .capability-row {
        grid-template-columns: 1fr 40px;
        gap: 1rem;
        min-height: 126px;
    }
    .capability-row__icon { display: none; }
    .capability-row strong { font-size: 1.25rem; }
    .capability-row small { font-size: 0.72rem; }

    .process-steps > div { grid-template-columns: 36px 1fr; }
    .process-steps p { grid-column: 2; }

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

    .funding-steps li { min-height: 240px; border-right: 0; }

    .lab-intro-image .lab-badge { right: 14px; bottom: -20px; }
    .asset-visual img,
    .rtk-visual img { min-height: 340px; }

    .project-filter-bar .container { overflow-x: auto; }
    .project-filter-bar button { flex: 0 0 auto; }
    .capability-gallery,
    .project-scope-grid { grid-template-columns: 1fr; }
    .project-detail-hero h1 { font-size: clamp(2.7rem, 13vw, 4rem); }
    .project-detail-facts > div { grid-template-columns: 78px 1fr; }
    .project-scope-grid article { min-height: 220px; }
    .project-card--featured .project-card__image { aspect-ratio: 3 / 4; }

    .form-row { grid-template-columns: 1fr; }
    .enquiry-panel { margin-inline: -16px; }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after {
        scroll-behavior: auto !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}
