:root {
    color-scheme: light;
    --brand-navy: #09095F;
    --brand-green: #32B667;
    --brand-gold: #EEBE17;
    --bg: #fdfefe;
    --surface: #f7fbfa;
    --surface-soft: #f2faf5;
    --surface-strong: #e8f6ee;
    --ink: var(--brand-navy);
    --text: #09095F;
    --muted: #09095F;
    --line: rgba(9, 9, 95, 0.18);
    --accent: var(--brand-green);
    --accent-dark: var(--brand-navy);
    --accent-soft: rgba(50, 182, 103, 0.16);
    --highlight: var(--brand-gold);
    --danger: #b42318;
    --shadow: 0 22px 50px rgba(9, 9, 95, 0.12);
    --radius: 14px;
    --header-height: 72px;
    --site-header-offset: 9.2rem;
    --content-width: 1320px;
    --page-side-gap: clamp(1.5rem, 4vw, 3.5rem);
}

/* Branded pre-page loader. */
.site-loader {
    position: fixed;
    inset: 0;
    z-index: 3000;
    display: none;
    place-items: center;
    padding: 1.25rem;
    overflow: hidden;
    isolation: isolate;
    background:
        radial-gradient(circle at 50% 48%, #ffffff 0 31%, rgba(255, 255, 255, 0.9) 52%, rgba(244, 249, 253, 0.96) 100%),
        #f9fcff;
    opacity: 1;
    visibility: visible;
    transition: opacity 360ms ease, visibility 0s linear 360ms;
}

.js .site-loader {
    display: grid;
}

.site-loader::before,
.site-loader::after {
    position: absolute;
    z-index: -1;
    content: "";
    pointer-events: none;
}

.site-loader::before {
    right: -9%;
    bottom: -15%;
    width: min(48vw, 42rem);
    height: min(58vw, 48rem);
    opacity: 0.38;
    background-image:
        linear-gradient(90deg, rgba(9, 9, 95, 0.1) 1px, transparent 1px),
        linear-gradient(rgba(9, 9, 95, 0.1) 1px, transparent 1px);
    background-size: 2rem 2rem;
    transform: perspective(700px) rotateY(-42deg) rotateX(8deg);
    transform-origin: right bottom;
}

.site-loader::after {
    bottom: -5%;
    left: -4%;
    width: min(35vw, 28rem);
    height: 16rem;
    opacity: 0.42;
    background: repeating-linear-gradient(160deg, transparent 0 12px, rgba(9, 9, 95, 0.14) 13px 14px, transparent 15px 28px);
    transform: skewY(-18deg);
}

.site-loader.is-hidden {
    pointer-events: none;
    opacity: 0;
    visibility: hidden;
}

.site-loader-status {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
    border: 0;
}

.site-loader-stage {
    position: relative;
    display: grid;
    width: min(21vmin, 10rem);
    min-width: 6.5rem;
    aspect-ratio: 1;
    place-items: center;
}

.site-loader-orbit,
.site-loader-dots {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
}

.site-loader-orbit {
    inset: 0;
    border: 2px solid #079856;
    border-top-color: #09095f;
    border-left-color: #09095F;
    box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.82), 0 12px 28px rgba(9, 9, 95, 0.08);
}

.site-loader-dots {
    inset: 7%;
    border: 2px dotted rgba(9, 9, 95, 0.42);
    opacity: 0.72;
}

.site-loader-tagline {
    position: absolute;
    inset: 7%;
    z-index: 2;
    overflow: visible;
    pointer-events: none;
}

.site-loader-tagline text {
    fill: #09095f;
    font-family: "Poppins", "Segoe UI", system-ui, sans-serif;
    font-size: 4.5px;
    font-weight: 600;
    letter-spacing: 0.65px;
}

.site-loader-brand {
    position: relative;
    z-index: 1;
    display: grid;
    width: 63%;
    justify-items: center;
    text-align: center;
}

.site-loader-brand-mark {
    position: relative;
    display: grid;
    width: clamp(2.75rem, 6vmin, 3.5rem);
    aspect-ratio: 1;
    margin-bottom: 0.45rem;
    place-items: center;
    overflow: hidden;
    isolation: isolate;
    background: radial-gradient(circle at 36% 25%, #ffffff 0 12%, #e8f6ee 42%, #dce9fb 100%);
    border: 1px solid rgba(7, 152, 86, 0.35);
    border-radius: 50%;
    box-shadow: 0 0 0 0.35rem rgba(7, 152, 86, 0.1), 0 10px 20px rgba(9, 9, 95, 0.15);
}

.site-loader-brand-mark::after {
    position: absolute;
    inset: 0.35rem;
    border: 1px solid rgba(9, 9, 95, 0.16);
    border-radius: 50%;
    content: "";
    pointer-events: none;
}

.site-loader-brand-mark img {
    width: 74%;
    max-width: none;
    height: auto;
    margin: 0;
    filter: drop-shadow(0 6px 6px rgba(9, 9, 95, 0.14));
}

.site-loader-brand strong {
    margin-top: 0;
    padding-left: 0.17em;
    color: #09095f;
    font-size: clamp(0.56rem, 1.8vw, 0.76rem);
    font-weight: 700;
    letter-spacing: 0.17em;
    line-height: 1;
}

.site-loader-brand > span:not(.site-loader-brand-mark) {
    margin-top: 0.3rem;
    color: #09095f;
    font-size: clamp(0.24rem, 0.52vw, 0.32rem);
    font-weight: 600;
    letter-spacing: 0.27em;
    line-height: 1.2;
    text-transform: uppercase;
}

@keyframes site-loader-orbit-turn {
    to {
        transform: rotate(360deg);
    }
}

@media (prefers-reduced-motion: no-preference) {
    .site-loader-orbit {
        animation: site-loader-orbit-turn 1.6s linear infinite;
    }
}

@media (max-width: 520px) {
    .site-loader-stage {
        width: min(34vmin, 8rem);
        min-width: 0;
    }

    .site-loader-brand {
        width: 67%;
    }
}

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

/* About page: architectural company-introduction section. */
.about-showcase {
    position: relative;
    overflow: hidden;
    padding: clamp(3.5rem, 7vw, 6.25rem) 0 clamp(2.5rem, 5vw, 4rem);
    background:
        radial-gradient(circle at 13% 76%, rgba(50, 182, 103, 0.08), transparent 22%),
        linear-gradient(135deg, #ffffff, #fbfdfd 66%, #f4faf6);
}

.about-showcase::before {
    position: absolute;
    top: 7%;
    bottom: 14%;
    left: 38%;
    width: 20rem;
    opacity: 0.58;
    background-image:
        linear-gradient(90deg, rgba(9, 9, 95, 0.05) 1px, transparent 1px),
        linear-gradient(rgba(9, 9, 95, 0.05) 1px, transparent 1px);
    background-size: 1.2rem 1.2rem;
    content: "";
    transform: perspective(650px) rotateY(-22deg) rotateX(4deg);
    transform-origin: bottom;
    pointer-events: none;
}

.about-showcase-grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(430px, 0.95fr);
    gap: clamp(2rem, 5vw, 5rem);
    align-items: center;
}

.about-showcase-copy {
    max-width: 45rem;
}

.about-showcase-eyebrow {
    display: inline-flex;
    flex-direction: column;
    gap: 0.7rem;
    margin: 0 0 1.1rem;
    color: #078f3d;
    font-size: 0.82rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.about-showcase-eyebrow::after,
.about-showcase-rule,
.about-quality-panel > i {
    display: block;
    width: 3.4rem;
    height: 3px;
    border-radius: 999px;
    background: #078f3d;
    content: "";
}

.about-showcase h1 {
    max-width: 11.2ch;
    margin-bottom: 1.3rem;
    color: #09095f;
    font-size: clamp(2.3rem, 3.9vw, 4.15rem);
    font-weight: 760;
    line-height: 1.03;
    letter-spacing: -0.055em;
}

.about-showcase h1.about-showcase-title {
    max-width: 18ch;
    margin-bottom: 1.35rem;
    color: #0057d9;
    font-size: clamp(1.45rem, 2.2vw, 2.15rem);
    line-height: 1.12;
    letter-spacing: -0.035em;
}

.about-showcase h1 span {
    color: #078f3d;
}

.about-showcase-rule {
    margin: 0 0 1.55rem;
}

.about-showcase-copy > p:not(.about-showcase-eyebrow) {
    max-width: 63ch;
    margin-bottom: 1rem;
    color: #09095F;
    font-size: clamp(0.95rem, 1.35vw, 1.06rem);
    line-height: 1.67;
}

.about-showcase-visual {
    position: relative;
    min-height: 42rem;
}

.about-showcase-visual > img {
    position: absolute;
    inset: 0 -9vw 0 7%;
    width: calc(100% + 9vw);
    height: 100%;
    object-fit: cover;
    object-position: 72% center;
    clip-path: polygon(25% 0, 100% 0, 100% 100%, 29% 100%, 0 80%, 0 19%);
}

.about-showcase-visual::after {
    position: absolute;
    inset: 0 -9vw 0 7%;
    border: 1px solid rgba(7, 143, 61, 0.4);
    clip-path: polygon(25% 0, 100% 0, 100% 100%, 29% 100%, 0 80%, 0 19%);
    content: "";
    pointer-events: none;
}

.about-quality-panel {
    position: absolute;
    top: 50%;
    right: auto;
    left: -1.25rem;
    z-index: 2;
    width: min(19rem, 68%);
    padding: clamp(1.15rem, 2.4vw, 1.7rem);
    color: #09095F;
    background: #ffffff;
    border: 1px solid rgba(9, 9, 95, 0.12);
    border-radius: 22px;
    box-shadow: 0 20px 38px rgba(9, 9, 95, 0.2);
    transform: translateY(-50%);
}

.about-quality-panel strong {
    display: block;
    margin-bottom: 0.75rem;
    color: var(--brand-gold);
    font-size: clamp(1.1rem, 1.65vw, 1.5rem);
    font-weight: 780;
    line-height: 0.97;
    letter-spacing: -0.045em;
    white-space: nowrap;
    text-transform: uppercase;
}

.about-quality-panel > i {
    margin-bottom: 0.75rem;
}

.about-quality-panel p {
    margin: 0;
    color: #09095F;
    font-size: 0.84rem;
    line-height: 1.5;
    text-align: justify;
}

.about-showcase-values {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    max-width: 56rem;
    margin-top: 2.5rem;
    padding: 1.1rem 0;
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(9, 9, 95, 0.08);
    border-radius: 20px;
    box-shadow: 0 12px 28px rgba(9, 9, 95, 0.08);
}

.about-showcase-values article {
    display: grid;
    gap: 0.5rem;
    justify-items: center;
    min-width: 0;
    padding: 0.55rem 0.72rem;
    text-align: center;
}

.about-showcase-values article + article {
    border-left: 1px solid rgba(9, 9, 95, 0.14);
}

.about-showcase-values article > span {
    display: grid;
    width: 3.15rem;
    height: 3.15rem;
    place-items: center;
    color: #ffffff;
    background: #078f3d;
    border-radius: 12px;
    line-height: 1;
}

.about-showcase-values article > span svg {
    width: 1.7rem;
    height: 1.7rem;
}

.about-showcase-values article:nth-child(odd) > span {
    background: #09095f;
}

.about-showcase-values strong {
    color: #09095F;
    font-size: 0.7rem;
    font-weight: 800;
    line-height: 1.3;
    text-transform: uppercase;
}

.about-showcase-values p {
    margin: 0;
    color: #09095F;
    font-size: 0.64rem;
    line-height: 1.45;
}

@media (max-width: 980px) {
    .about-showcase-grid {
        grid-template-columns: 1fr;
    }

    .about-showcase-visual {
        min-height: 36rem;
        max-width: 42rem;
        width: 100%;
        margin-left: auto;
    }

    .about-showcase-visual > img,
    .about-showcase-visual::after {
        right: 0;
        width: 100%;
    }

    .about-quality-panel {
        right: auto;
        left: -0.75rem;
    }
}

@media (max-width: 720px) {
    .about-showcase {
        padding: 2.6rem 0 2.2rem;
    }

    .about-showcase h1 {
        max-width: 11.5ch;
        font-size: clamp(2.2rem, 10vw, 3.25rem);
    }

    .about-showcase-visual {
        min-height: 29rem;
        margin-top: 1rem;
    }

    .about-showcase-visual > img,
    .about-showcase-visual::after {
        inset: 0;
        width: 100%;
        clip-path: polygon(20% 0, 100% 0, 100% 100%, 25% 100%, 0 78%, 0 20%);
    }

    .about-quality-panel {
        top: 50%;
        right: auto;
        left: 0.7rem;
        width: calc(100% - 4.6rem);
        padding: 1rem;
        border-radius: 16px;
    }

    .about-quality-panel strong {
        margin-bottom: 0.75rem;
        font-size: clamp(1rem, 5.5vw, 1.3rem);
    }

    .about-quality-panel > i {
        margin-bottom: 0.75rem;
    }

    .about-quality-panel p {
        font-size: 0.8rem;
    }

    .about-showcase-values {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        margin-top: 1.7rem;
        padding: 0.65rem 0;
    }

    .about-showcase-values article + article {
        border-left: 0;
    }

    .about-showcase-values article:nth-child(even) {
        border-left: 1px solid rgba(9, 9, 95, 0.14);
    }

    .about-showcase-values article:last-child {
        grid-column: 1 / -1;
        border-top: 1px solid rgba(9, 9, 95, 0.14);
    }
}

/* Persistent direct-message link. */
.whatsapp-button {
    position: fixed;
    z-index: 1000;
    right: clamp(1rem, 2.5vw, 1.75rem);
    bottom: clamp(1rem, 2.5vw, 1.75rem);
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    min-height: 3.35rem;
    padding: 0.7rem 1.05rem;
    border: 2px solid #25d366;
    border-radius: 999px;
    color: #ffffff;
    background: #25d366;
    box-shadow: 0 0.75rem 1.8rem rgba(9, 9, 95, 0.24);
    font-family: "Poppins", "Segoe UI", system-ui, sans-serif;
    font-size: 0.86rem;
    font-weight: 700;
    line-height: 1;
    text-decoration: none;
    transition: transform 180ms ease, background-color 180ms ease, border-color 180ms ease;
}

.whatsapp-button svg {
    width: 1.45rem;
    height: 1.45rem;
    flex: 0 0 auto;
}

.whatsapp-button:hover {
    border-color: #128c3d;
    background: #128c3d;
    transform: translateY(-0.2rem);
}

.whatsapp-button:focus-visible {
    outline: 3px solid var(--brand-gold);
    outline-offset: 3px;
}

@media (max-width: 480px) {
    .whatsapp-button {
        width: 3.35rem;
        padding: 0;
        justify-content: center;
    }

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

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

/* Home page: architectural service-wheel hero. */
.page-home {
    background: #ffffff;
}

.home-hero {
    position: relative;
    min-height: 700px;
    padding: clamp(2.2rem, 4vw, 3.8rem) 0 clamp(2.1rem, 3.8vw, 3.4rem);
    overflow: hidden;
    background: url("assets/home-hero-construction-supervision.jpeg") center / cover no-repeat;
}

.home-hero-grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 0.87fr) minmax(480px, 1.13fr);
    column-gap: clamp(1.5rem, 4vw, 4.8rem);
    row-gap: clamp(1.25rem, 2.5vw, 2rem);
    align-items: center;
}

.home-hero-copy {
    max-width: 39rem;
    padding: clamp(1.75rem, 3vw, 2.75rem);
    background: radial-gradient(ellipse at 55% 50%, rgba(255, 255, 255, 0.9) 0%, rgba(255, 255, 255, 0.68) 48%, rgba(255, 255, 255, 0.24) 74%, rgba(255, 255, 255, 0) 100%);
    border-radius: clamp(1.75rem, 5vw, 4rem);
}

.home-hero .eyebrow {
    display: inline-flex;
    flex-direction: column;
    gap: 0.72rem;
    margin-bottom: 1.15rem;
    color: #078f3d;
    font-size: 0.83rem;
    font-weight: 820;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.home-hero .eyebrow::after {
    width: 2.45rem;
    height: 3px;
    border-radius: 999px;
    background: #078f3d;
    content: "";
}

.home-hero .home-principles {
    max-width: 100%;
    margin: 0 0 1rem;
    color: #09095f;
    font-size: clamp(1.25rem, 2.25vw, 2.2rem);
    font-weight: 800;
    letter-spacing: 0.01em;
    line-height: 0.98;
    white-space: nowrap;
    text-transform: uppercase;
}

.home-hero h1 {
    max-width: 10.5ch;
    margin-bottom: 1.25rem;
    color: #09095F;
    font-size: clamp(2.35rem, 3.8vw, 3.95rem);
    font-weight: 780;
    line-height: 1.01;
    letter-spacing: -0.055em;
}

.home-hero h1 span {
    color: #078f3d;
}

.home-hero .home-principles span {
    color: var(--brand-navy);
}

.home-hero p {
    max-width: 52ch;
    margin-bottom: 0;
    color: #09095F;
    font-size: clamp(1rem, 1.42vw, 1.12rem);
    line-height: 1.62;
}

.page-home .section-soft .stack-heading {
    margin-right: auto;
    margin-left: auto;
    text-align: center;
}

.page-home .section-soft .stack-heading p {
    margin-right: auto;
    margin-left: auto;
}

.home-hero .hero-actions {
    gap: 1rem;
    margin-top: 2rem;
}

.home-hero .btn {
    gap: 0.65rem;
    min-height: 3.35rem;
    padding: 0.45rem 0.5rem 0.45rem 1.15rem;
    font-size: 1rem;
    font-weight: 760;
}

.home-hero .btn-primary {
    color: #ffffff;
    background: #078f3d;
    border-color: #078f3d;
    box-shadow: 0 12px 24px rgba(7, 143, 61, 0.18);
}

.home-hero .btn-secondary {
    color: #078f3d;
    background: rgba(255, 255, 255, 0.88);
    border-color: rgba(7, 143, 61, 0.8);
}

.home-hero .btn:hover,
.home-hero .btn:focus-visible {
    color: #ffffff;
    background: #056f30;
    border-color: #056f30;
    transform: translateY(-2px);
}

.home-hero .btn svg {
    width: 2.3rem;
    height: 2.3rem;
    padding: 0.5rem;
    color: #078f3d;
    background: #ffffff;
    border-radius: 50%;
}

.home-hero-stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    max-width: 27rem;
    margin-top: 1.65rem;
    padding: 0.9rem 0;
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(9, 9, 95, 0.08);
    border-top: 3px solid #078f3d;
    border-radius: 14px;
    box-shadow: 0 12px 28px rgba(9, 9, 95, 0.08);
}

.home-hero-stats article {
    display: grid;
    gap: 0.38rem;
    justify-items: center;
    min-width: 0;
    padding: 0 0.7rem;
    text-align: center;
}

.home-hero-stats article + article {
    border-left: 1px solid rgba(9, 9, 95, 0.14);
}

.home-stat-icon {
    display: grid;
    width: 2.75rem;
    height: 2.75rem;
    place-items: center;
    color: #078f3d;
    background: #f5fbf7;
    border: 1px solid rgba(7, 143, 61, 0.28);
    border-radius: 50%;
}

.home-stat-icon svg {
    width: 1.4rem;
    height: 1.4rem;
}

.home-hero-stats strong {
    color: #09095F;
    font-size: clamp(1.3rem, 2.25vw, 1.75rem);
    font-weight: 820;
    line-height: 1;
}

.home-hero-stats article > span:last-child {
    color: #09095F;
    font-size: 0.68rem;
    font-weight: 690;
    line-height: 1.38;
}

.home-about {
    display: none;
    padding: clamp(2.25rem, 4.5vw, 3.75rem) 0;
    background: #ffffff;
}

.home-about-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(18rem, 0.95fr);
    gap: clamp(2rem, 6vw, 6rem);
    align-items: center;
}

.home-about-copy {
    max-width: 39rem;
}

.home-about-eyebrow {
    margin: 0 0 0.75rem;
    color: #078f3d;
    font-size: 0.72rem;
    font-weight: 750;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.home-about-copy h2 {
    max-width: 17ch;
    margin-bottom: 1rem;
    color: #09095f;
    font-size: clamp(1.4rem, 2.25vw, 2.05rem);
    line-height: 1.08;
    letter-spacing: -0.04em;
}

.home-about-copy > p:not(.home-about-eyebrow) {
    max-width: 55ch;
    margin: 0 0 0.8rem;
    color: #09095F;
    font-size: 0.98rem;
    line-height: 1.65;
}

.home-about-link {
    display: inline-flex;
    gap: 0.55rem;
    align-items: center;
    margin-top: 0.55rem;
    padding-bottom: 0.22rem;
    color: #078f3d;
    font-size: 0.9rem;
    font-weight: 700;
    border-bottom: 2px solid currentColor;
}

.home-about-link span {
    font-size: 1.15em;
    transition: transform 180ms ease;
}

.home-about-link:hover span,
.home-about-link:focus-visible span {
    transform: translateX(0.22rem);
}

.home-about-media {
    margin: 0;
    overflow: hidden;
    aspect-ratio: 0.94;
    border: 2px solid #078f3d;
    border-radius: 18px;
    box-shadow: 0 18px 34px rgba(9, 9, 95, 0.12);
}

.home-about-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.home-team {
    display: none;
    padding: clamp(2.25rem, 4.5vw, 3.75rem) 0;
    background: #f7fbf8;
}

.home-team-grid {
    display: grid;
    grid-template-columns: minmax(18rem, 0.95fr) minmax(0, 1.05fr);
    gap: clamp(2rem, 6vw, 6rem);
    align-items: center;
}

.home-team-copy {
    max-width: 39rem;
}

.home-team-eyebrow {
    margin: 0 0 0.75rem;
    color: #078f3d;
    font-size: 0.78rem;
    font-weight: 750;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.home-team-copy h2 {
    max-width: 16ch;
    margin-bottom: 1rem;
    color: #09095f;
    font-size: clamp(1.4rem, 2.25vw, 2.05rem);
    line-height: 1.08;
    letter-spacing: -0.04em;
}

.home-team-copy > p:not(.home-team-eyebrow) {
    max-width: 55ch;
    margin: 0 0 0.8rem;
    color: #09095F;
    font-size: 0.98rem;
    line-height: 1.65;
}

.home-team-link {
    display: inline-flex;
    gap: 0.55rem;
    align-items: center;
    margin-top: 0.55rem;
    padding-bottom: 0.22rem;
    color: #078f3d;
    font-size: 0.9rem;
    font-weight: 700;
    border-bottom: 2px solid currentColor;
}

.home-team-link span {
    font-size: 1.15em;
    transition: transform 180ms ease;
}

.home-team-link:hover span,
.home-team-link:focus-visible span {
    transform: translateX(0.22rem);
}

.home-team-media {
    margin: 0;
    overflow: hidden;
    aspect-ratio: 1.22;
    border: 2px solid #078f3d;
    border-radius: 18px;
    box-shadow: 0 18px 34px rgba(9, 9, 95, 0.12);
}

.home-team-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.home-team-member-card {
    display: grid;
    grid-template-columns: minmax(9rem, 0.76fr) minmax(0, 1.24fr);
    min-height: 22rem;
    overflow: hidden;
    background: #ffffff;
    border: 2px solid #078f3d;
    border-radius: 18px;
    box-shadow: 0 18px 34px rgba(9, 9, 95, 0.12);
}

.home-team-member-photo {
    min-height: 100%;
    margin: 0;
    background: #eaf6ee;
}

.home-team-member-photo img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 16%;
}

.home-team-member-details {
    display: grid;
    align-content: center;
    padding: clamp(1.2rem, 2.4vw, 1.8rem);
}

.home-team-member-details > p {
    margin: 0 0 0.45rem;
    color: #078f3d;
    font-size: 0.7rem;
    font-weight: 750;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.home-team-member-details h3 {
    margin: 0 0 0.45rem;
    color: #09095f;
    font-size: clamp(1.15rem, 2.1vw, 1.55rem);
    line-height: 1.12;
    letter-spacing: -0.035em;
}

.home-team-member-details > strong {
    margin-bottom: 0.8rem;
    color: #09095F;
    font-size: 0.82rem;
    font-weight: 650;
}

.home-team-member-details ul {
    display: grid;
    gap: 0.42rem;
    margin: 0;
    padding-left: 1rem;
    color: #09095F;
}

.home-team-member-details li {
    padding-left: 0.14rem;
    font-size: 0.74rem;
    line-height: 1.35;
}

.home-team-member-details li::marker {
    color: #078f3d;
}

.home-contact {
    padding: clamp(2.25rem, 4.5vw, 3.75rem) 0;
    background: #ffffff;
}

.home-contact-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.08fr) minmax(18rem, 0.92fr);
    gap: clamp(2rem, 6vw, 6rem);
    align-items: center;
}

.home-contact-copy > p {
    margin: 0 0 0.75rem;
    color: #078f3d;
    font-size: 0.78rem;
    font-weight: 750;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.home-contact-copy h2 {
    max-width: 16ch;
    margin-bottom: 0.9rem;
    color: #09095f;
    font-size: clamp(1.4rem, 2.25vw, 2.05rem);
    line-height: 1.08;
    letter-spacing: -0.04em;
}

.home-contact-copy > span {
    display: block;
    max-width: 54ch;
    margin-bottom: 1.35rem;
    color: #09095F;
    font-size: 0.98rem;
    line-height: 1.65;
}

.home-contact-copy .btn {
    min-height: 2.75rem;
    padding: 0.62rem 1rem;
    font-size: 0.84rem;
    font-weight: 650;
}

.home-contact-details {
    display: grid;
    overflow: hidden;
    background: #f7fbf8;
    border: 1px solid rgba(9, 9, 95, 0.12);
    border-radius: 18px;
    box-shadow: 0 14px 28px rgba(9, 9, 95, 0.08);
}

.home-contact-details > * {
    display: grid;
    gap: 0.22rem;
    padding: 1rem clamp(1rem, 2.4vw, 1.5rem);
}

.home-contact-details > * + * {
    border-top: 1px solid rgba(9, 9, 95, 0.12);
}

.home-contact-details strong {
    color: #078f3d;
    font-size: 0.72rem;
    font-weight: 750;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.home-contact-details span span,
.home-contact-details a > span {
    color: #09095F;
    font-size: clamp(0.95rem, 1.45vw, 1.1rem);
    font-weight: 650;
}

.home-contact-details a:hover > span,
.home-contact-details a:focus-visible > span {
    color: #078f3d;
}

.home-service-orbit {
    position: relative;
    left: 0;
    width: min(100%, 31rem);
    margin: clamp(2.4rem, 5vw, 4rem) auto;
    aspect-ratio: 1;
    isolation: isolate;
}

.service-orbit-ring {
    position: absolute;
    inset: 5.5%;
    z-index: -1;
    border: 1px dashed rgba(7, 143, 61, 0.52);
    border-radius: 50%;
}

.service-wheel {
    position: absolute;
    inset: 11%;
    overflow: hidden;
    border: 4px solid #ffffff;
    border-radius: 50%;
    box-shadow: 0 16px 34px rgba(9, 9, 95, 0.16);
}

@keyframes service-wheel-rotate {
    to {
        transform: rotate(360deg);
    }
}

@media (prefers-reduced-motion: no-preference) {
    .service-wheel,
    .service-orbit-nodes {
        animation: service-wheel-rotate 42s linear infinite;
    }

    .service-orbit-node > span,
    .service-orbit-node > b {
        animation: service-wheel-rotate 42s linear infinite reverse;
    }

    .home-service-orbit:hover .service-wheel,
    .home-service-orbit:hover .service-orbit-nodes,
    .home-service-orbit:hover .service-orbit-node > span,
    .home-service-orbit:hover .service-orbit-node > b,
    .home-service-orbit:focus-within .service-wheel,
    .home-service-orbit:focus-within .service-orbit-nodes,
    .home-service-orbit:focus-within .service-orbit-node > span,
    .home-service-orbit:focus-within .service-orbit-node > b {
        animation-play-state: paused;
    }
}

.service-wheel-panel {
    position: absolute;
    inset: -1px;
    display: block;
    overflow: hidden;
    clip-path: polygon(50% 50%, 50% 0, 93.3% 25%, 50% 50%);
    transform-origin: 50% 50%;
}

.service-wheel-panel:nth-child(1) { transform: rotate(0deg); }
.service-wheel-panel:nth-child(2) { transform: rotate(60deg); }
.service-wheel-panel:nth-child(3) { transform: rotate(120deg); }
.service-wheel-panel:nth-child(4) { transform: rotate(180deg); }
.service-wheel-panel:nth-child(5) { transform: rotate(240deg); }
.service-wheel-panel:nth-child(6) { transform: rotate(300deg); }

.service-wheel-panel img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: saturate(1.08) contrast(1.04);
}

.service-wheel-centre {
    position: absolute;
    top: 50%;
    left: 50%;
    z-index: 2;
    display: grid;
    width: 34%;
    aspect-ratio: 1;
    place-items: center;
    padding: 0;
    overflow: hidden;
    text-align: center;
    background: #ffffff;
    border: 6px solid #ffffff;
    border-radius: 50%;
    box-shadow: 0 9px 24px rgba(9, 9, 95, 0.17);
    transform: translate(-50%, -50%);
}

.service-wheel-centre > span {
    color: #078f3d;
}

.service-wheel-logo {
    width: 102%;
    height: 102%;
    max-width: none;
    object-fit: contain;
    transform: translateY(8%);
}

.service-orbit-nodes {
    position: absolute;
    inset: 0;
    z-index: 3;
    --orbit-node-size: 4.15rem;
    --orbit-node-offset: -2.075rem;
}

.service-orbit-node {
    position: absolute;
    z-index: 1;
    display: block;
    width: 0;
    height: 0;
    color: #09095F;
    font-size: 0.69rem;
    line-height: 1.22;
    text-align: center;
}

.service-orbit-node b {
    position: absolute;
    width: max-content;
    font-size: 0.82rem;
    font-weight: 770;
}

.service-orbit-node > span {
    position: absolute;
    top: var(--orbit-node-offset);
    left: var(--orbit-node-offset);
    display: grid;
    width: var(--orbit-node-size);
    height: var(--orbit-node-size);
    place-items: center;
    color: var(--brand-navy);
    background: var(--brand-gold);
    border: 1px solid var(--brand-gold);
    border-radius: 50%;
    box-shadow: 0 7px 16px rgba(9, 9, 95, 0.13);
    font-size: 2.15rem;
    font-weight: 700;
    line-height: 1;
}

.service-orbit-node > .material-symbols-outlined {
    font-variation-settings: "FILL" 0, "wght" 600, "GRAD" 0, "opsz" 24;
}

.service-orbit-node:hover > span,
.service-orbit-node:focus-visible > span {
    color: var(--brand-navy);
    background: color-mix(in srgb, var(--brand-gold) 86%, var(--brand-navy));
    transform: scale(1.06);
}

.service-orbit-node:focus-visible {
    outline: 3px solid rgba(238, 190, 23, 0.52);
    outline-offset: 5px;
    border-radius: 8px;
}

.node-civil {
    top: 5.5%;
    left: 50%;
}

.node-supervision {
    top: 27.75%;
    left: 88.54%;
}

.node-integrity {
    top: 72.25%;
    left: 88.54%;
}

.node-design {
    top: 94.5%;
    left: 50%;
}

.node-documentation {
    top: 72.25%;
    left: 11.46%;
}

.node-management {
    top: 27.75%;
    left: 11.46%;
}

.node-civil b {
    bottom: 2.65rem;
    left: -5.5rem;
    width: 11rem;
    text-align: center;
}

.node-supervision b,
.node-integrity b {
    top: -0.7rem;
    left: 2.6rem;
    text-align: left;
}

.node-design b {
    top: 2.65rem;
    left: -5.5rem;
    width: 11rem;
    text-align: center;
}

.node-documentation b,
.node-management b {
    top: -0.7rem;
    right: 2.6rem;
    text-align: right;
}

@media (max-width: 1120px) {
    .home-hero-grid {
        grid-template-columns: minmax(0, 0.91fr) minmax(400px, 1.09fr);
        gap: 1.6rem;
    }

    .home-service-orbit {
        width: min(100%, 32rem);
    }

    .service-orbit-node {
        font-size: 0.61rem;
    }

    .service-orbit-node b {
        font-size: 0.74rem;
    }

    .service-orbit-nodes {
        --orbit-node-size: 3.65rem;
        --orbit-node-offset: -1.825rem;
    }

    .service-orbit-node > span {
        font-size: 1.85rem;
    }
}

@media (max-width: 980px) {
    .home-hero {
        min-height: auto;
    }

    .home-hero-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .home-hero-copy {
        max-width: 43rem;
    }

    .home-service-orbit {
        left: 0;
        width: min(100%, 30rem);
    }

    .home-about-grid {
        grid-template-columns: 1fr;
        max-width: 42rem;
        margin-inline: auto;
    }

    .home-about-media {
        aspect-ratio: 1.35;
    }

    .home-team-grid {
        grid-template-columns: 1fr;
        max-width: 42rem;
        margin-inline: auto;
    }

    .home-contact-grid {
        grid-template-columns: 1fr;
        max-width: 42rem;
        margin-inline: auto;
    }
}

@media (max-width: 720px) {
    .home-hero {
        padding: 1.9rem 0 2.3rem;
    }

    .home-about {
        padding: 2.1rem 0;
    }

    .home-team {
        padding: 2.1rem 0;
    }

    .home-contact {
        padding: 2.1rem 0;
    }

    .home-about-grid {
        gap: 1.5rem;
    }

    .home-team-grid {
        gap: 1.5rem;
    }

    .home-contact-grid {
        gap: 1.5rem;
    }

    .home-about-copy h2 {
        font-size: clamp(1.3rem, 6vw, 1.75rem);
    }

    .home-team-copy h2 {
        font-size: clamp(1.3rem, 6vw, 1.75rem);
    }

    .home-contact-copy h2 {
        font-size: clamp(1.3rem, 6vw, 1.75rem);
    }

    .home-about-copy > p:not(.home-about-eyebrow) {
        font-size: 0.9rem;
    }

    .home-team-copy > p:not(.home-team-eyebrow) {
        font-size: 0.9rem;
    }

    .home-contact-copy > span {
        font-size: 0.9rem;
    }

    .home-team-member-card {
        min-height: 19rem;
    }

    .home-hero h1 {
        max-width: 11ch;
        font-size: clamp(2rem, 8.5vw, 2.9rem);
    }

    .home-hero .home-principles {
        max-width: none;
        font-size: clamp(0.72rem, 3.7vw, 1.25rem);
        letter-spacing: 0;
        white-space: nowrap;
    }

    .home-hero .hero-actions {
        gap: 0.8rem;
        margin-top: 1.5rem;
    }

    .home-hero .btn {
        justify-content: space-between;
    }

    .home-hero-stats {
        margin-top: 1.5rem;
        padding: 1rem 0;
    }

    .home-hero-stats article {
        padding: 0 0.45rem;
    }

    .home-stat-icon {
        width: 2.85rem;
        height: 2.85rem;
    }

    .home-hero-stats article > span:last-child {
        font-size: 0.66rem;
    }

    .home-hero-grid {
        gap: 2.4rem;
    }

    .home-service-orbit {
        width: min(100%, 30rem);
        margin-block: 0;
    }

    .service-wheel-centre {
        width: 38%;
        border-width: 4px;
    }

    .service-orbit-node b {
        display: none;
    }

    .service-orbit-nodes {
        --orbit-node-size: 3.25rem;
        --orbit-node-offset: -1.625rem;
    }

    .service-orbit-node > span {
        font-size: 1.55rem;
    }

    .node-civil { top: 5.5%; }
    .node-supervision { top: 27.75%; left: 88.54%; }
    .node-integrity { top: 72.25%; left: 88.54%; }
    .node-design { top: 94.5%; }
    .node-documentation { top: 72.25%; left: 11.46%; }
    .node-management { top: 27.75%; left: 11.46%; }
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    overflow-x: clip;
}

body {
    margin: 0;
    padding-top: var(--site-header-offset);
    font-family: "Poppins", "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
    font-weight: 400;
    color: var(--text);
    background: var(--bg);
    line-height: 1.72;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

body::before {
    content: "";
    position: fixed;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    background-image:
        linear-gradient(rgba(9, 9, 95, 0.025) 1px, transparent 1px),
        linear-gradient(90deg, rgba(50, 182, 103, 0.025) 1px, transparent 1px);
    background-size: 42px 42px;
    mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.38), transparent 44%);
}

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

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

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

button,
input,
textarea {
    font: inherit;
}

.skip-link {
    position: absolute;
    left: 1rem;
    top: 1rem;
    z-index: 2000;
    transform: translateY(-150%);
    padding: 0.7rem 1rem;
    color: var(--surface);
    background: var(--ink);
    border-radius: var(--radius);
}

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

.container {
    width: min(var(--content-width), calc(100% - var(--page-side-gap) - var(--page-side-gap)));
    margin-inline: auto;
}

.site-header {
    position: relative;
    z-index: 1000;
    background: var(--bg);
    background: color-mix(in srgb, var(--bg) 88%, transparent);
    border-bottom: 1px solid var(--line);
    backdrop-filter: blur(18px);
}

.nav-wrap {
    min-height: var(--header-height);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 0.85rem;
    color: var(--ink);
    font-weight: 650;
}

.brand-mark {
    width: 2.55rem;
    height: 2.55rem;
    display: grid;
    place-items: center;
    border-radius: var(--radius);
    color: var(--brand-navy);
    background: linear-gradient(135deg, var(--brand-gold), var(--brand-green));
    box-shadow: inset 0 0 0 1px rgba(9, 9, 95, 0.12);
}

.brand strong,
.brand small {
    display: block;
    line-height: 1.1;
}

.brand small {
    margin-top: 0.18rem;
    color: var(--muted);
    font-size: 0.76rem;
    font-weight: 560;
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    white-space: nowrap;
}

.nav-link {
    padding: 0.58rem 0.82rem;
    color: var(--muted);
    border-radius: 999px;
    font-size: 0.95rem;
    font-weight: 620;
    transition: color 180ms ease, background-color 180ms ease, transform 180ms ease;
}

.nav-link:hover,
.nav-link:focus-visible,
.nav-link.active {
    color: var(--ink);
    background: var(--accent-soft);
}

.nav-link:active,
.btn:active {
    transform: translateY(1px);
}

.nav-cta {
    color: var(--accent-dark);
}

.menu-toggle {
    display: none;
    width: 2.75rem;
    height: 2.75rem;
    padding: 0;
    place-items: center;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--surface);
    cursor: pointer;
}

.menu-toggle span {
    display: block;
    width: 1.25rem;
    height: 2px;
    margin: 0.18rem auto;
    background: var(--ink);
    border-radius: 999px;
}

.hero {
    min-height: calc(100dvh - var(--header-height));
    padding: clamp(3.6rem, 7vw, 5.5rem) 0 clamp(3rem, 6vw, 5rem);
    display: grid;
    align-items: center;
}

.animated-hero {
    --hero-x: 0;
    --hero-y: 0;
    position: relative;
    min-height: calc(100dvh - var(--header-height));
    padding: 0;
    overflow: hidden;
    isolation: isolate;
    background: var(--brand-navy);
}

.hero-slider,
.hero-shade {
    position: absolute;
    inset: 0;
}

.hero-slider {
    z-index: -2;
    overflow: hidden;
}

.hero-slide {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transform: scale(1.08) translate3d(calc(var(--hero-x) * -14px), calc(var(--hero-y) * -10px), 0);
    will-change: opacity, transform;
}

.hero-slide-one {
    opacity: 1;
}

.hero-slide-two {
    animation-delay: 6s;
}

.hero-slide-three {
    animation-delay: 12s;
}

.hero-shade {
    z-index: -1;
    background:
        linear-gradient(90deg, rgba(9, 9, 95, 0.88), rgba(9, 9, 95, 0.58) 46%, rgba(9, 9, 95, 0.18)),
        linear-gradient(180deg, rgba(9, 9, 95, 0.34), rgba(9, 9, 95, 0.72));
}

.hero-overlay {
    min-height: calc(100dvh - var(--header-height));
    display: grid;
    align-items: center;
    padding: clamp(4.5rem, 8vw, 6rem) 0 clamp(4rem, 7vw, 5rem);
}

.animated-hero .hero-content {
    max-width: 760px;
    transform: translate3d(calc(var(--hero-x) * 12px), calc(var(--hero-y) * 8px), 0);
    text-shadow: 0 2px 18px rgba(9, 9, 95, 0.44);
}

.hero.animated-hero .eyebrow,
.hero.animated-hero h1,
.hero.animated-hero p {
    color: #f7fbfa;
}

.hero.animated-hero .eyebrow {
    color: var(--brand-gold);
}

.animated-hero .hero-actions {
    margin-top: 1.4rem;
}

.animated-hero .btn-primary {
    color: var(--brand-navy);
    background: var(--brand-gold);
    border-color: var(--brand-gold);
    box-shadow: 0 18px 38px rgba(9, 9, 95, 0.24);
}

.animated-hero .btn-primary:hover,
.animated-hero .btn-primary:focus-visible {
    color: var(--brand-navy);
    background: var(--brand-green);
    border-color: var(--brand-green);
}

.animated-hero .btn-secondary {
    color: #f7fbfa;
    background: rgba(247, 251, 250, 0.13);
    border-color: rgba(247, 251, 250, 0.52);
    backdrop-filter: blur(10px);
}

.animated-hero .btn-secondary:hover,
.animated-hero .btn-secondary:focus-visible {
    color: var(--brand-navy);
    background: #f7fbfa;
    border-color: #f7fbfa;
}

@keyframes heroSlide {
    0%,
    32% {
        opacity: 1;
        transform: scale(1.08) translate3d(calc(var(--hero-x) * -14px), calc(var(--hero-y) * -10px), 0);
    }

    42%,
    100% {
        opacity: 0;
        transform: scale(1.16) translate3d(calc(var(--hero-x) * -22px), calc(var(--hero-y) * -16px), 0);
    }
}

@keyframes heroButtonBreath {
    0%,
    100% {
        box-shadow: 0 18px 38px rgba(9, 9, 95, 0.24);
    }

    50% {
        box-shadow: 0 22px 46px rgba(238, 190, 23, 0.34);
    }
}

@media (prefers-reduced-motion: no-preference) {
    .hero-slide {
        animation: heroSlide 18s ease-in-out infinite;
        opacity: 0;
    }

    .animated-hero .btn-primary {
        animation: heroButtonBreath 3.8s ease-in-out infinite;
    }
}

.hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 0.92fr) minmax(360px, 1.08fr);
    gap: clamp(2rem, 5vw, 5rem);
    align-items: center;
}

.hero-content {
    max-width: 620px;
}

.eyebrow {
    margin: 0 0 1rem;
    color: var(--accent-dark);
    font-size: 0.76rem;
    font-weight: 680;
    letter-spacing: 0.03em;
    text-transform: none;
}

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

h1,
h2,
h3 {
    color: var(--ink);
    line-height: 1.12;
    letter-spacing: 0;
}

h1 {
    max-width: 780px;
    margin-bottom: 1.1rem;
    font-size: clamp(1.95rem, 4.4vw, 4.05rem);
    font-weight: 690;
}

h2 {
    margin-bottom: 1rem;
    font-size: clamp(1.6rem, 3.1vw, 2.75rem);
    font-weight: 650;
}

h3 {
    margin-bottom: 0.55rem;
    font-size: 1.08rem;
    font-weight: 680;
}

p {
    margin-bottom: 1rem;
}

.hero p,
.page-hero p,
.stack-heading p,
.narrow-flow p,
.delivery-copy p,
.quality-copy p,
.contact-details p,
.team-method p,
.service-card p,
.principle-card p,
.team-card p,
.profile-panel p {
    color: var(--muted);
}

.hero p,
.page-hero p {
    max-width: 58ch;
    font-size: clamp(1rem, 1.5vw, 1.17rem);
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
    margin-top: 1.7rem;
}

.btn {
    display: inline-flex;
    min-height: 3rem;
    align-items: center;
    justify-content: center;
    padding: 0.82rem 1.15rem;
    border: 1px solid transparent;
    border-radius: 999px;
    font-weight: 680;
    line-height: 1;
    white-space: nowrap;
    transition: transform 180ms ease, background-color 180ms ease, border-color 180ms ease, color 180ms ease;
}

.btn-primary {
    color: #f7fbfa;
    background: var(--brand-navy);
    border-color: var(--brand-navy);
}

.btn-primary:hover,
.btn-primary:focus-visible {
    color: var(--brand-navy);
    background: var(--brand-gold);
    border-color: var(--brand-gold);
}

.btn:disabled {
    cursor: not-allowed;
    opacity: 0.68;
    transform: none;
}

.btn-secondary {
    color: var(--ink);
    background: var(--surface);
    border-color: var(--line);
}

.btn-secondary:hover,
.btn-secondary:focus-visible {
    border-color: var(--accent);
}

.text-link {
    display: inline-flex;
    width: fit-content;
    margin-top: 0.3rem;
    color: var(--accent-dark);
    font-weight: 680;
    border-bottom: 1px solid currentColor;
}

.hero-media,
.page-hero-media,
.quality-media {
    margin: 0;
    overflow: hidden;
    border-radius: var(--radius);
    border: 4px solid var(--brand-gold);
    background: var(--surface-strong);
    box-shadow: var(--shadow);
}

.hero-media {
    aspect-ratio: 1.38;
    transform: rotate(-1deg);
}

.hero-media img,
.page-hero-media img,
.quality-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.capability-band {
    padding: 1.1rem 0;
    border-block: 1px solid var(--line);
    background: var(--surface);
    background: color-mix(in srgb, var(--surface) 80%, transparent);
}

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

.capability-list span {
    min-height: 3.5rem;
    display: grid;
    align-items: center;
    padding: 0.85rem 1rem;
    color: var(--ink);
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    font-weight: 620;
    box-shadow: inset 0 -3px 0 var(--brand-green);
}

.section {
    padding: clamp(4rem, 8vw, 6.5rem) 0;
}

.section-soft {
    background: var(--surface-soft);
    background: color-mix(in srgb, var(--surface-soft) 72%, transparent);
    border-block: 1px solid var(--line);
}

.home-services {
    padding: clamp(2rem, 4vw, 3.4rem) 0;
    font-family: "Poppins", "Segoe UI", system-ui, sans-serif;
}

.home-services .stack-heading {
    margin-bottom: clamp(1.4rem, 2.8vw, 2.1rem);
}

.home-services .stack-heading h2 {
    font-size: clamp(2.05rem, 3.2vw, 2.85rem);
}

.home-service-cards .service-card h3 {
    font-size: clamp(1rem, 1.45vw, 1.3rem);
}

.home-service-compact-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: clamp(0.7rem, 1.25vw, 1rem);
}

.home-service-compact-card {
    display: grid;
    grid-template-rows: auto 1fr auto;
    gap: 0.85rem;
    min-width: 0;
    min-height: 15rem;
    padding: clamp(0.85rem, 1.45vw, 1.1rem);
    background: #ffffff;
    border: 1px solid rgba(9, 9, 95, 0.16);
    border-radius: 10px;
    box-shadow: 0 8px 18px rgba(9, 9, 95, 0.06);
    transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.home-service-compact-card > header {
    display: grid;
    grid-template-columns: 3.2rem minmax(0, 1fr) auto;
    gap: 0.6rem;
    align-items: start;
}

.home-service-icon {
    display: grid;
    width: 3.2rem;
    height: 3.2rem;
    place-items: center;
    color: #956300;
    background: #fff9e8;
    border: 1px solid rgba(238, 190, 23, 0.35);
    border-radius: 9px;
}

.home-service-icon svg {
    width: 2.05rem;
    height: 2.05rem;
}

.home-service-compact-card h3 {
    margin: 0;
    color: var(--brand-navy);
    font-family: "Poppins", "Segoe UI", system-ui, sans-serif;
    font-size: clamp(1.05rem, 1.4vw, 1.2rem);
    font-weight: 800;
    letter-spacing: -0.025em;
    line-height: 1.3;
    text-transform: none;
}

.home-service-compact-card > header > b {
    min-width: 1.55rem;
    padding: 0.12rem 0.25rem;
    color: var(--brand-navy);
    background: var(--brand-gold);
    border-radius: 999px;
    font-size: 0.62rem;
    font-weight: 800;
    line-height: 1.25;
    text-align: center;
}

.home-service-compact-card > p {
    align-self: start;
    margin: 0;
    color: #09095F;
    font-size: clamp(0.9rem, 1.06vw, 1rem);
    line-height: 1.55;
}

.home-service-compact-card > footer {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 0.7rem;
    align-items: end;
    padding-top: 0.75rem;
    border-top: 1px solid rgba(238, 190, 23, 0.72);
}

.home-service-compact-card > footer a {
    color: var(--brand-navy);
    font-size: clamp(0.78rem, 0.88vw, 0.86rem);
    font-weight: 800;
    line-height: 1.3;
    text-decoration: none;
    text-transform: none;
}

.home-service-compact-card > footer a span {
    display: inline-block;
    margin-left: 0.25rem;
    color: var(--brand-gold);
    font-size: 1.2em;
}

.home-service-compact-card > footer .home-service-consult {
    color: #8a6200;
    text-align: right;
}

.home-service-compact-card a:focus-visible {
    outline: 3px solid var(--brand-gold);
    outline-offset: 3px;
}

@media (max-width: 900px) {
    .home-service-compact-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 560px) {
    .home-service-compact-grid {
        grid-template-columns: 1fr;
    }

    .home-service-compact-card {
        min-height: 0;
    }
}

/* Services page: trust signals following the services overview. */
.services-why-choose {
    padding: clamp(3.5rem, 6vw, 5.6rem) 0;
    color: var(--brand-navy);
    background: #ffffff;
}

.services-why-choose-heading {
    max-width: 58rem;
    margin: 0 0 clamp(2.25rem, 4vw, 3.5rem);
    text-align: left;
}

.services-why-choose-kicker {
    display: inline-flex;
    gap: 0.5rem;
    align-items: center;
    margin: 0 0 0.72rem;
    color: var(--brand-green);
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.services-why-choose-arrow {
    font-size: 1.15rem;
    font-variation-settings: "FILL" 0, "wght" 500, "GRAD" 0, "opsz" 24;
}

.services-why-choose-heading h2 {
    max-width: none;
    margin: 0;
    color: var(--brand-navy);
    font-family: "Poppins", "Segoe UI", system-ui, sans-serif;
    font-size: clamp(1.8rem, 3.2vw, 3.1rem);
    font-weight: 800;
    letter-spacing: -0.045em;
    line-height: 1.06;
    text-transform: uppercase;
}

@media (min-width: 600px) {
    .services-why-choose-title-line {
        white-space: nowrap;
    }
}

.services-why-choose-title-line {
    display: block;
    color: var(--brand-navy);
}

.services-why-choose-heading > p:last-child {
    max-width: 65ch;
    margin: 1rem 0 0;
    color: rgba(9, 9, 95, 0.86);
    font-size: clamp(0.96rem, 1.15vw, 1.06rem);
    line-height: 1.65;
}

.services-why-choose-grid {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: clamp(0.65rem, 1.2vw, 1rem);
}

.services-why-choose-card {
    position: relative;
    display: flex;
    flex-direction: column;
    min-width: 0;
    min-height: 17rem;
    padding: clamp(1rem, 1.5vw, 1.35rem);
    background: #ffffff;
    border: 1px solid rgba(9, 9, 95, 0.09);
    border-radius: 14px;
    box-shadow: 0 12px 28px rgba(9, 9, 95, 0.06);
    transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.services-why-choose-icon {
    display: grid;
    width: 3.5rem;
    height: 3.5rem;
    margin-bottom: 1.05rem;
    place-items: center;
    color: var(--brand-gold);
    background: #fff9e8;
    border: 1px solid rgba(238, 190, 23, 0.3);
    border-radius: 50%;
    font-size: 2rem;
    font-variation-settings: "FILL" 0, "wght" 400, "GRAD" 0, "opsz" 24;
}

.services-why-choose-card h3 {
    margin: 0;
    color: var(--brand-navy);
    font-family: "Poppins", "Segoe UI", system-ui, sans-serif;
    font-size: clamp(0.9rem, 1.1vw, 1rem);
    font-weight: 800;
    letter-spacing: -0.025em;
    line-height: 1.25;
}

.services-why-choose-card p {
    margin: 0.7rem 0 0;
    color: rgba(9, 9, 95, 0.78);
    font-size: clamp(0.78rem, 0.88vw, 0.88rem);
    line-height: 1.58;
}

@media (hover: hover) {
    .services-why-choose-card:hover {
        border-color: rgba(238, 190, 23, 0.65);
        box-shadow: 0 16px 32px rgba(9, 9, 95, 0.1);
        transform: translateY(-0.25rem);
    }
}

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

@media (max-width: 720px) {
    .services-why-choose-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .services-why-choose-card {
        min-height: 0;
    }
}

@media (max-width: 480px) {
    .services-why-choose-grid {
        grid-template-columns: 1fr;
    }
}

@media (prefers-reduced-motion: reduce) {
    .services-why-choose-card {
        transition: none;
    }
}

.home-about-summary {
    padding: clamp(3rem, 6vw, 5rem) 0;
    color: var(--brand-navy);
    background: #ffffff;
}

.home-about-summary-heading {
    display: grid;
    justify-items: center;
    max-width: 48rem;
    margin: 0 auto clamp(1.6rem, 3.5vw, 2.5rem);
    text-align: center;
}

.home-about-summary-heading > p {
    margin: 0 0 0.35rem;
    color: #057a34;
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.13em;
    line-height: 1.2;
    text-transform: uppercase;
}

.home-about-summary-heading h2 {
    margin: 0;
    color: var(--brand-navy) !important;
    font-size: clamp(1.55rem, 2.6vw, 2.35rem);
    font-weight: 800;
    letter-spacing: -0.045em;
    line-height: 1.05;
}

.home-about-summary-heading h2 span {
    color: var(--brand-navy) !important;
}

.home-about-summary-heading > span {
    display: block;
    width: 3.2rem;
    height: 3px;
    margin: 0.65rem 0 0.7rem;
    background: #057a34;
    border-radius: 999px;
}

.home-about-summary-heading small {
    max-width: 65ch;
    color: #09095F;
    font-size: clamp(0.88rem, 1.12vw, 1rem);
    line-height: 1.55;
}

.home-objectives-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin-bottom: clamp(3rem, 6vw, 5rem);
}

.home-objective-item,
.home-value-item {
    display: grid;
    justify-items: center;
    min-width: 0;
    padding: 0 clamp(1rem, 2.4vw, 2.2rem);
    text-align: center;
}

.home-objective-item + .home-objective-item,
.home-value-item + .home-value-item {
    border-left: 1px solid rgba(9, 9, 95, 0.12);
}

.home-about-symbol {
    display: grid;
    width: 3.65rem;
    height: 3.65rem;
    margin-bottom: 0.75rem;
    place-items: center;
    color: var(--brand-gold);
    background: #fff9e8;
    border: 1px solid rgba(238, 190, 23, 0.3);
    border-radius: 50%;
}

.home-about-symbol svg {
    width: 1.9rem;
    height: 1.9rem;
}

.home-objective-item h3,
.home-value-item h3,
.home-direction-card h3 {
    margin: 0 0 0.4rem;
    color: var(--brand-navy) !important;
    font-size: clamp(0.92rem, 1.22vw, 1.06rem);
    font-weight: 800;
    line-height: 1.2;
}

.home-objective-item p,
.home-value-item p,
.home-direction-card p {
    margin: 0;
    color: #09095F;
    font-size: clamp(0.86rem, 1.06vw, 0.96rem);
    line-height: 1.55;
}

.home-direction-summary {
    margin-bottom: clamp(3rem, 6vw, 5rem);
    padding: clamp(2rem, 4vw, 3rem) clamp(1rem, 3vw, 2rem);
    background: linear-gradient(145deg, #f8fcfa, #ffffff);
    border: 1px solid rgba(9, 9, 95, 0.09);
    border-radius: 18px;
}

.home-direction-summary .home-about-summary-heading {
    margin-bottom: clamp(1.25rem, 2.5vw, 1.8rem);
}

.home-direction-cards {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    max-width: 62rem;
    margin-inline: auto;
    overflow: hidden;
    background: #ffffff;
    border: 1px solid rgba(9, 9, 95, 0.12);
    border-radius: 12px;
    box-shadow: 0 10px 22px rgba(9, 9, 95, 0.07);
}

.home-direction-card {
    display: grid;
    grid-template-columns: 3.65rem minmax(0, 1fr);
    gap: 0.85rem;
    align-items: start;
    min-width: 0;
    padding: clamp(1.1rem, 2.1vw, 1.65rem);
}

.home-direction-card + .home-direction-card {
    border-left: 1px solid rgba(9, 9, 95, 0.12);
}

.home-direction-card .home-about-symbol {
    width: 3.1rem;
    height: 3.1rem;
    margin: 0;
}

.home-direction-card .home-about-symbol svg {
    width: 1.6rem;
    height: 1.6rem;
}

.home-values-summary .home-about-summary-heading {
    margin-bottom: clamp(1.5rem, 3vw, 2.25rem);
}

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

.home-values-grid .home-value-item {
    justify-items: start;
    text-align: left;
}

@media (max-width: 820px) {
    .home-values-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 1.75rem 0;
    }

    .home-value-item:nth-child(3) {
        border-left: 0;
    }
}

@media (max-width: 620px) {
    .home-objectives-grid,
    .home-direction-cards,
    .home-values-grid {
        grid-template-columns: 1fr;
    }

    .home-objectives-grid,
    .home-values-grid {
        gap: 1.75rem;
    }

    .home-objective-item + .home-objective-item,
    .home-value-item + .home-value-item,
    .home-value-item:nth-child(3),
    .home-direction-card + .home-direction-card {
        padding-top: 1.75rem;
        border-top: 1px solid rgba(9, 9, 95, 0.12);
        border-left: 0;
    }

    .home-direction-card {
        grid-template-columns: 3.2rem minmax(0, 1fr);
    }
}

.narrow-flow {
    max-width: 820px;
}

.narrow-flow p {
    max-width: 68ch;
    font-size: 1.04rem;
}

.stack-heading {
    max-width: 720px;
    margin-bottom: clamp(2rem, 4vw, 3rem);
}

.services-heading {
    max-width: 58rem;
    margin-inline: auto;
    text-align: center;
}

.services-heading h2 {
    max-width: 22ch;
    margin-inline: auto;
    font-size: clamp(1.45rem, 2.45vw, 2.2rem);
}

.services-heading p {
    max-width: 62ch;
    margin-inline: auto;
}

.delivery-grid,
.quality-grid,
.contact-grid,
.about-layout,
.page-hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(360px, 1.1fr);
    gap: clamp(2rem, 5vw, 4rem);
    align-items: center;
}

.delivery-copy {
    align-self: start;
    position: sticky;
    top: calc(var(--header-height) + 2rem);
}

.delivery-list {
    display: grid;
    gap: 1rem;
}

.delivery-list article,
.principle-card,
.team-card,
.contact-details,
.contact-form,
.profile-panel,
.slogan-panel,
.objective-card,
.mission-card,
.value-card {
    padding: clamp(1.25rem, 2.4vw, 2rem);
    background: var(--surface);
    border: 1px solid var(--line);
    border-top: 4px solid var(--brand-green);
    border-radius: var(--radius);
    box-shadow: 0 14px 32px rgba(9, 9, 95, 0.08);
}

.delivery-list article:nth-child(even),
.principle-card:nth-child(even),
.team-card:nth-child(even),
.contact-form,
.objective-card-highlight,
.value-card:nth-child(even) {
    border-top-color: var(--brand-gold);
}

.delivery-list article {
    display: grid;
    grid-template-columns: 8rem 1fr;
    gap: 1.5rem;
}

.delivery-list h3 {
    margin: 0;
    color: var(--accent-dark);
}

.delivery-list p,
.service-card p,
.team-card p,
.principle-card p {
    margin-bottom: 0;
}

.cta-section {
    padding-top: 0;
}

.cta-panel {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    padding: clamp(1.5rem, 3vw, 2.3rem);
    background:
        linear-gradient(135deg, rgba(50, 182, 103, 0.18), rgba(238, 190, 23, 0.18)),
        var(--brand-navy);
    border: 1px solid rgba(238, 190, 23, 0.42);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.cta-panel h2,
.cta-panel p {
    color: #f7fbfa;
}

.cta-panel .btn-primary {
    color: var(--brand-navy);
    background: var(--brand-gold);
    border-color: var(--brand-gold);
}

.cta-panel .btn-primary:hover,
.cta-panel .btn-primary:focus-visible {
    color: var(--brand-navy);
    background: var(--brand-green);
    border-color: var(--brand-green);
}

.cta-panel h2 {
    margin-bottom: 0.45rem;
    font-size: clamp(1.8rem, 3vw, 2.7rem);
}

.cta-panel p {
    max-width: 54ch;
    margin-bottom: 0;
}

.page-hero {
    padding: clamp(3.6rem, 7vw, 5.5rem) 0 clamp(3rem, 6vw, 4.5rem);
}

.compact-hero {
    padding-bottom: 2.5rem;
}

.page-hero h1 {
    max-width: 700px;
    font-size: clamp(1.85rem, 3.7vw, 3.4rem);
}

.page-hero-media {
    aspect-ratio: 1.35;
    border-color: var(--brand-green);
}

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

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

.service-card {
    --tilt-x: 0deg;
    --tilt-y: 0deg;
    --card-lift: 0px;
    --shine-x: 50%;
    --shine-y: 50%;
    --shine-opacity: 0;
    --card-pad: clamp(1.1rem, 2.1vw, 1.45rem);
    position: relative;
    min-height: 380px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 1.25rem;
    padding: var(--card-pad);
    background: var(--surface);
    border: 1px solid var(--line);
    border-top: 5px solid var(--brand-green);
    border-radius: var(--radius);
    box-shadow: 0 16px 38px rgba(9, 9, 95, 0.09);
    overflow: hidden;
    transform: perspective(900px) rotateX(var(--tilt-x)) rotateY(var(--tilt-y)) translateY(var(--card-lift));
    transition: transform 220ms cubic-bezier(0.16, 1, 0.3, 1), border-color 180ms ease, box-shadow 180ms ease;
}

.service-card::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: radial-gradient(circle at var(--shine-x) var(--shine-y), rgba(238, 190, 23, 0.28), transparent 34%);
    opacity: var(--shine-opacity);
    transition: opacity 180ms ease;
}

.service-card > * {
    position: relative;
    z-index: 1;
}

.service-card:nth-child(2),
.service-card:nth-child(5) {
    border-top-color: var(--brand-gold);
}

.service-card:hover,
.service-card:focus-visible,
.service-card:focus-within,
.service-card.is-selected {
    --card-lift: -6px;
    --shine-opacity: 1;
    border-color: var(--brand-green);
    box-shadow: 0 20px 46px rgba(9, 9, 95, 0.13);
}

.service-card:focus-visible {
    outline: 3px solid var(--brand-gold);
    outline-offset: 4px;
}

.service-card:active {
    --card-lift: -2px;
}

.service-card-media {
    position: relative;
    margin: calc(var(--card-pad) * -1) calc(var(--card-pad) * -1) 0;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    border-bottom: 1px solid var(--line);
    background: var(--surface-strong);
}

.service-card-media::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, rgba(9, 9, 95, 0) 46%, rgba(9, 9, 95, 0.28)),
        linear-gradient(135deg, rgba(50, 182, 103, 0.1), rgba(238, 190, 23, 0.12));
    opacity: 0.9;
    pointer-events: none;
}

.service-card-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.03);
    transition: transform 260ms ease, filter 260ms ease;
}

.service-card:hover .service-card-media img,
.service-card:focus-visible .service-card-media img,
.service-card:focus-within .service-card-media img,
.service-card.is-selected .service-card-media img {
    filter: saturate(1.08) contrast(1.02);
    transform: scale(1.1);
}

.service-card-accent .service-card-media {
    border-bottom-color: rgba(247, 251, 250, 0.18);
}

.service-card h2,
.service-card h3 {
    margin-bottom: 0.8rem;
    font-size: clamp(1.25rem, 2vw, 1.75rem);
    font-weight: 640;
}

.service-card p {
    margin-bottom: 0;
}

.service-card-link {
    color: inherit;
    text-decoration: none;
}

.service-card-accent {
    color: #f7fbfa;
    background:
        linear-gradient(145deg, rgba(50, 182, 103, 0.28), transparent 54%),
        var(--brand-navy);
    border-color: var(--brand-navy);
}

.service-card-accent h2,
.service-card-accent h3,
.service-card-accent p {
    color: #f7fbfa;
}

.service-card-highlight {
    background:
        linear-gradient(145deg, rgba(238, 190, 23, 0.34), transparent 58%),
        var(--surface);
    border-color: rgba(238, 190, 23, 0.7);
}

.service-card.is-selected {
    border-top-color: var(--brand-gold);
}

.quality-grid {
    grid-template-columns: minmax(360px, 1.05fr) minmax(0, 0.95fr);
}

.quality-media {
    aspect-ratio: 1.35;
}

.check-list,
.profile-panel ul,
.contact-details ul {
    list-style: none;
    margin: 1.4rem 0 0;
    padding: 0;
}

.check-list {
    display: grid;
    gap: 0.8rem;
}

.check-list li {
    padding-left: 1.35rem;
    color: var(--text);
    border-left: 3px solid var(--brand-green);
}

.about-layout {
    grid-template-columns: minmax(0, 1.2fr) minmax(320px, 0.8fr);
    align-items: start;
}

.about-content p {
    max-width: 74ch;
}

.profile-panel,
.slogan-panel {
    position: sticky;
    top: calc(var(--header-height) + 2rem);
}

.slogan-panel {
    color: #f7fbfa;
    background:
        linear-gradient(145deg, rgba(50, 182, 103, 0.26), rgba(238, 190, 23, 0.16)),
        var(--brand-navy);
    border-color: var(--brand-navy);
}

.slogan-panel span {
    display: inline-flex;
    width: fit-content;
    margin-bottom: 1rem;
    padding: 0.35rem 0.65rem;
    color: var(--brand-navy);
    background: var(--brand-gold);
    border-radius: 999px;
    font-size: 0.78rem;
    font-weight: 700;
}

.slogan-panel strong {
    display: block;
    margin-bottom: 1rem;
    color: #f7fbfa;
    font-size: clamp(2rem, 4vw, 4rem);
    font-weight: 760;
    line-height: 0.98;
}

.slogan-panel p {
    color: rgba(247, 251, 250, 0.82);
}

.profile-kicker {
    width: fit-content;
    margin-bottom: 1rem;
    padding: 0.35rem 0.65rem;
    color: var(--brand-navy);
    background: var(--brand-gold);
    border-radius: 999px;
    font-size: 0.78rem;
    font-weight: 680;
}

.profile-panel h2 {
    margin-bottom: 0.45rem;
    font-size: clamp(1.8rem, 3vw, 2.65rem);
}

.profile-panel h3 {
    margin-top: 0;
}

.profile-rule {
    width: 100%;
    height: 1px;
    margin: 1.4rem 0;
    background: var(--line);
}

.profile-panel li + li {
    margin-top: 0.42rem;
}

.objective-grid,
.mission-vision-grid,
.values-grid {
    display: grid;
    gap: 1rem;
}

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

.objective-card {
    min-height: 230px;
}

.objective-card h3,
.value-card h3 {
    color: var(--accent-dark);
}

.objective-card-highlight {
    background:
        linear-gradient(145deg, rgba(238, 190, 23, 0.28), transparent 62%),
        var(--surface);
}

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

.mission-card {
    min-height: 330px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

.mission-card h2 {
    font-size: clamp(2rem, 4vw, 3.3rem);
}

.mission-card-accent {
    color: #f7fbfa;
    background:
        linear-gradient(145deg, rgba(50, 182, 103, 0.24), rgba(238, 190, 23, 0.12)),
        var(--brand-navy);
    border-color: var(--brand-navy);
}

.mission-card-accent h2,
.mission-card-accent p {
    color: #f7fbfa;
}

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

.value-card {
    min-height: 230px;
}

.principles-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 1rem;
}

.principle-card:first-child {
    grid-row: span 2;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    min-height: 320px;
    background:
        linear-gradient(160deg, rgba(238, 190, 23, 0.24), transparent 62%),
        var(--surface);
}

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

.team-card {
    display: grid;
    grid-template-columns: minmax(180px, 0.8fr) minmax(0, 1fr);
    gap: 1.5rem;
    align-items: start;
}

.team-card h2 {
    margin-bottom: 0.35rem;
    font-size: clamp(1.35rem, 2vw, 1.9rem);
}

.role {
    margin-bottom: 0;
    color: var(--accent-dark);
    font-weight: 640;
}

.team-method {
    max-width: 820px;
}

.team-method h2 {
    margin-bottom: 0.7rem;
}

.team-method p {
    max-width: 68ch;
    margin-bottom: 0;
    font-size: 1.05rem;
}

.contact-grid {
    grid-template-columns: minmax(280px, 0.72fr) minmax(360px, 1fr);
    align-items: start;
}

.contact-details li {
    padding: 0.85rem 0;
    border-top: 1px solid var(--line);
    color: var(--muted);
}

.contact-details strong {
    color: var(--ink);
}

.contact-form {
    display: grid;
    gap: 1rem;
}

.form-row {
    display: grid;
    gap: 0.38rem;
}

label {
    color: var(--ink);
    font-weight: 640;
}

input,
textarea {
    width: 100%;
    padding: 0.88rem 1rem;
    color: var(--ink);
    background: var(--bg);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    resize: vertical;
}

input:focus,
textarea:focus {
    outline: 3px solid var(--accent-soft);
    outline: 3px solid color-mix(in srgb, var(--accent) 24%, transparent);
    border-color: var(--accent);
}

input[aria-invalid="true"],
textarea[aria-invalid="true"] {
    border-color: var(--danger);
}

.field-error {
    min-height: 1.15rem;
    margin: 0;
    color: var(--danger);
    font-size: 0.88rem;
    font-weight: 620;
}

.form-status {
    min-height: 1.25rem;
    margin: 0;
    color: var(--accent-dark);
    font-weight: 650;
}

.form-status-success {
    color: #1a7f37;
}

.form-status-error {
    color: var(--danger);
}

.site-footer {
    padding: clamp(3rem, 6vw, 4.8rem) 0 1.4rem;
    color: #f7fbfa;
    background:
        linear-gradient(135deg, rgba(50, 182, 103, 0.18), rgba(238, 190, 23, 0.14)),
        var(--brand-navy);
    border-top: 4px solid var(--brand-gold);
}

.footer-shell {
    display: grid;
    grid-template-columns: minmax(250px, 1.35fr) repeat(3, minmax(150px, 0.75fr));
    gap: 1rem;
    align-items: stretch;
}

.footer-brand-panel,
.footer-widget {
    padding: clamp(1.1rem, 2vw, 1.45rem);
    background: rgba(247, 251, 250, 0.08);
    border: 1px solid rgba(238, 190, 23, 0.22);
    border-radius: var(--radius);
    box-shadow: inset 0 1px 0 rgba(247, 251, 250, 0.12);
    transition: background-color 180ms ease, border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.footer-brand-panel {
    background:
        linear-gradient(145deg, rgba(50, 182, 103, 0.18), rgba(247, 251, 250, 0.07)),
        rgba(247, 251, 250, 0.08);
}

.footer-brand-panel.is-active,
.footer-widget.is-active {
    border-color: rgba(238, 190, 23, 0.48);
    box-shadow: inset 0 1px 0 rgba(247, 251, 250, 0.16), 0 18px 34px rgba(0, 0, 0, 0.18);
    transform: translateY(-2px);
}

.footer-brand {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    color: #f7fbfa;
}

.footer-brand .brand-mark {
    flex: 0 0 auto;
    box-shadow: 0 12px 26px rgba(0, 0, 0, 0.22);
}

.footer-brand strong,
.footer-brand small {
    display: block;
}

.footer-brand strong {
    color: #f7fbfa;
    font-size: 1.2rem;
    font-weight: 700;
    letter-spacing: 0;
}

.footer-brand small {
    color: rgba(247, 251, 250, 0.72);
    font-size: 0.88rem;
}

.footer-brand-panel p,
.footer-widget p,
.footer-bottom p {
    margin: 0;
    color: rgba(247, 251, 250, 0.76);
}

.footer-brand-panel p {
    max-width: 28rem;
    margin-top: 1.1rem;
}

.footer-social {
    display: flex;
    gap: 0.65rem;
    flex-wrap: wrap;
    margin-top: 1.3rem;
}

.social-icon {
    position: relative;
    display: grid;
    width: 2.65rem;
    height: 2.65rem;
    place-items: center;
    overflow: hidden;
    background: var(--brand-gold);
    border-radius: 999px;
    box-shadow: 0 14px 24px rgba(0, 0, 0, 0.2);
    transition: background-color 180ms ease, transform 180ms ease, box-shadow 180ms ease;
}

.social-icon::before {
    content: "";
    width: 1.08rem;
    height: 1.08rem;
    background: var(--brand-navy);
    mask-position: center;
    mask-repeat: no-repeat;
    mask-size: contain;
    -webkit-mask-position: center;
    -webkit-mask-repeat: no-repeat;
    -webkit-mask-size: contain;
}

.social-linkedin::before {
    mask-image: url("https://cdn.simpleicons.org/linkedin");
    -webkit-mask-image: url("https://cdn.simpleicons.org/linkedin");
}

/* Keep LinkedIn visible when external icon masks are unavailable. */
.social-linkedin::before {
    display: none;
}

.social-linkedin::after {
    color: var(--brand-navy);
    content: "in";
    font-size: 1.12rem;
    font-weight: 850;
    letter-spacing: -0.08em;
    line-height: 1;
}

.social-facebook::before {
    mask-image: url("https://cdn.simpleicons.org/facebook");
    -webkit-mask-image: url("https://cdn.simpleicons.org/facebook");
}

.social-instagram::before {
    mask-image: url("https://cdn.simpleicons.org/instagram");
    -webkit-mask-image: url("https://cdn.simpleicons.org/instagram");
}

.social-tiktok::before {
    mask-image: url("https://cdn.simpleicons.org/tiktok");
    -webkit-mask-image: url("https://cdn.simpleicons.org/tiktok");
}

.social-x::before {
    mask-image: url("https://cdn.simpleicons.org/x");
    -webkit-mask-image: url("https://cdn.simpleicons.org/x");
}

.social-icon:hover,
.social-icon:focus-visible {
    background: var(--brand-green);
    box-shadow: 0 18px 28px rgba(0, 0, 0, 0.24);
    transform: translateY(-3px);
}

.social-icon:focus-visible {
    outline: 3px solid rgba(238, 190, 23, 0.46);
    outline-offset: 3px;
}

.footer-widget h2 {
    margin-bottom: 0.85rem;
    color: var(--brand-gold);
    font-size: 0.96rem;
    font-weight: 680;
}

.footer-widget a {
    display: block;
    padding: 0.33rem 0;
    color: #f7fbfa;
    font-weight: 560;
    transition: color 180ms ease, transform 180ms ease;
}

.footer-widget a:hover,
.footer-widget a:focus-visible {
    color: var(--brand-gold);
    transform: translateX(3px);
}

.footer-contact-widget p {
    margin-top: 0.45rem;
}

.footer-contact-widget .footer-slogan {
    color: var(--brand-gold);
    font-size: 0.86rem;
    font-weight: 800;
    letter-spacing: 0.08em;
}

.footer-contact-widget .footer-cta {
    display: inline-flex;
    width: fit-content;
    margin-top: 0.85rem;
    padding: 0.72rem 0.95rem;
    color: var(--brand-navy);
    background: var(--brand-gold);
    border-radius: 999px;
    font-weight: 700;
}

.footer-contact-widget .footer-cta:hover,
.footer-contact-widget .footer-cta:focus-visible {
    color: var(--brand-navy);
    background: var(--brand-green);
    transform: translateY(-2px);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(247, 251, 250, 0.16);
}

.footer-bottom a {
    color: var(--brand-gold);
    font-weight: 680;
}

.reveal {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity 520ms ease, transform 520ms ease;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

.heading-motion {
    position: relative;
    isolation: isolate;
}

.heading-motion-word {
    display: inline-block;
    will-change: opacity, transform;
}

.heading-motion-pending .heading-motion-word {
    opacity: 0;
    transform: translate3d(-1.3em, 0, 0);
}

.heading-motion-pending.is-heading-visible .heading-motion-word {
    animation: heading-word-slide-right 1600ms cubic-bezier(0.16, 1, 0.3, 1) both;
    animation-delay: var(--heading-word-delay);
}

@keyframes heading-word-slide-right {
    from {
        opacity: 0;
        transform: translate3d(-1em, 0, 0);
    }

    to {
        opacity: 1;
        transform: translate3d(0, 0, 0);
    }
}

@media (hover: hover) and (pointer: fine) {
    .heading-motion {
        transition: color 180ms ease;
    }

    .heading-motion::after {
        position: absolute;
        bottom: -0.2em;
        left: 0;
        width: min(3rem, 36%);
        height: 2px;
        background: #078f3d;
        content: "";
        opacity: 0;
        transform: scaleX(0);
        transform-origin: left;
        transition: opacity 180ms ease, transform 260ms cubic-bezier(0.16, 1, 0.3, 1);
    }

    .heading-motion:hover::after {
        opacity: 1;
        transform: scaleX(1);
    }

    .heading-motion:hover .heading-motion-word {
        transform: translateY(-0.055em);
        transition: transform 180ms ease;
    }
}

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

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

@media (max-width: 980px) {
    .hero-grid,
    .page-hero-grid,
    .delivery-grid,
    .quality-grid,
    .contact-grid,
    .about-layout,
    .mission-vision-grid {
        grid-template-columns: 1fr;
    }

    .hero {
        min-height: auto;
    }

    .hero-media {
        transform: none;
    }

    .delivery-copy,
    .profile-panel,
    .slogan-panel {
        position: static;
    }

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

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

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

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

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

@media (max-width: 720px) {
    :root {
        --header-height: 68px;
    }

    .container {
        width: min(var(--content-width), calc(100% - var(--page-side-gap) - var(--page-side-gap)));
    }

    .menu-toggle {
        display: block;
    }

    .main-nav {
        position: absolute;
        top: calc(100% + 0.5rem);
        left: 0.6rem;
        right: 0.6rem;
        display: none;
        flex-direction: column;
        align-items: stretch;
        padding: 0.6rem;
        background: var(--surface);
        border: 1px solid var(--line);
        border-radius: var(--radius);
        box-shadow: var(--shadow);
        white-space: normal;
    }

    .main-nav.open {
        display: flex;
    }

    .nav-link {
        width: 100%;
        padding: 0.85rem;
    }

    h1 {
        font-size: clamp(1.9rem, 11vw, 2.75rem);
    }

    h2 {
        font-size: clamp(1.8rem, 10vw, 2.55rem);
    }

    .hero:not(.animated-hero),
    .page-hero {
        padding: 3rem 0 2.5rem;
    }

    .animated-hero {
        padding: 0;
    }

    .hero-overlay {
        min-height: min(680px, calc(100dvh - var(--header-height)));
        padding: 3.2rem 0;
    }

    .hero-shade {
        background:
            linear-gradient(180deg, rgba(9, 9, 95, 0.84), rgba(9, 9, 95, 0.54) 52%, rgba(9, 9, 95, 0.74)),
            linear-gradient(90deg, rgba(9, 9, 95, 0.74), rgba(9, 9, 95, 0.28));
    }

    .hero-actions,
    .cta-panel,
    .footer-bottom {
        align-items: stretch;
        flex-direction: column;
    }

    .btn,
    .text-link {
        width: 100%;
    }

    .service-cards,
    .home-service-cards,
    .page-services .service-cards,
    .objective-grid,
    .mission-vision-grid,
    .values-grid,
    .capability-list,
    .principles-grid,
    .team-list,
    .delivery-list article {
        grid-template-columns: 1fr;
    }

    .principle-card:first-child {
        min-height: auto;
    }

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

    .footer-widget a:hover,
    .footer-widget a:focus-visible,
    .footer-contact-widget .footer-cta:hover,
    .footer-contact-widget .footer-cta:focus-visible,
    .footer-brand-panel.is-active,
    .footer-widget.is-active {
        transform: none;
    }
}

/* Shared header redesign. */
.site-header {
    position: fixed;
    inset: 0 0 auto;
    padding: 0.55rem 0;
    background: color-mix(in srgb, var(--bg) 90%, transparent);
    border: 0;
    box-shadow: none;
}

.site-header::after {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--brand-navy) 0 64%, var(--brand-green) 64% 88%, var(--brand-gold) 88% 100%);
    content: "";
    pointer-events: none;
}

.site-header .nav-wrap {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    gap: clamp(0.65rem, 2vw, 1.8rem);
    min-height: 5.35rem;
    padding: 0.55rem clamp(0.75rem, 1.6vw, 1.35rem);
    background: transparent;
    border: 0;
    border-radius: 0;
    box-shadow: none;
}

.site-header .brand {
    gap: 0.72rem;
    color: var(--brand-navy);
}

.site-header .brand-mark {
    width: 3.45rem;
    height: 3.45rem;
    border-radius: 8px;
    font-size: 1.2rem;
}

.site-header .brand strong {
    display: flex;
    color: var(--brand-navy);
    font-size: clamp(1.6rem, 2.4vw, 2.2rem);
    font-weight: 830;
    letter-spacing: 0.01em;
    line-height: 0.95;
    text-transform: uppercase;
}

.site-header .brand strong span:last-child {
    color: #078f3d;
}

.site-header .brand small {
    margin-top: 0.26rem;
    color: #09095F;
    font-size: 0.68rem;
    font-weight: 730;
    letter-spacing: 0.015em;
    text-transform: uppercase;
}

.site-header .main-nav {
    display: grid;
    grid-template-columns: repeat(6, auto);
    gap: 0.45rem;
    justify-self: end;
    width: auto;
}

.site-header .nav-link {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 3.15rem;
    padding: 0.62rem 0.78rem;
    color: #09095F;
    background: transparent;
    border-radius: 12px;
    font-size: clamp(0.82rem, 0.16vw + 0.76rem, 0.92rem);
    font-weight: 760;
    line-height: 1;
    transition: color 180ms ease, background-color 180ms ease, transform 180ms ease;
}

.site-header .nav-link:hover,
.site-header .nav-link:focus-visible,
.site-header .nav-link.active {
    color: #078f3d;
    background: #f1f8f3;
}

.site-header .nav-link:hover,
.site-header .nav-link:focus-visible {
    color: var(--brand-navy);
    background: var(--brand-gold);
}

.site-header .nav-link.active::after {
    position: absolute;
    right: 0.75rem;
    bottom: 0;
    left: 0.75rem;
    height: 2px;
    background: linear-gradient(90deg, var(--brand-green) 0 72%, var(--brand-gold) 72% 100%);
    border-radius: 999px;
    content: "";
}

.site-header .nav-link:focus-visible {
    outline: 3px solid rgba(7, 143, 61, 0.28);
    outline-offset: 2px;
}

.header-tools {
    display: flex;
    align-items: center;
    align-self: stretch;
}

.header-call {
    display: flex;
    gap: 0.65rem;
    align-items: center;
    padding-left: 1rem;
    color: var(--brand-navy);
}

.header-call-icon {
    display: grid;
    width: 3rem;
    height: 3rem;
    place-items: center;
    color: #078f3d;
    border: 1.5px solid #078f3d;
    border-radius: 50%;
}

.header-call-icon svg {
    width: 1.48rem;
    height: 1.48rem;
}

.header-call-copy {
    display: grid;
    gap: 0.12rem;
    white-space: nowrap;
}

.header-call-copy strong {
    color: #078f3d;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.header-call-copy b {
    color: var(--brand-navy);
    font-size: 0.94rem;
    line-height: 1.25;
}

.header-call:hover,
.header-call:focus-visible {
    color: #078f3d;
}

.site-header .menu-toggle {
    display: none;
    background: #f1f8f3;
    border-color: rgba(7, 143, 61, 0.28);
}

.site-header .menu-toggle span {
    background: #078f3d;
}

@media (max-width: 1080px) {
    .site-header .nav-wrap {
        gap: 0.75rem;
    }

    .site-header .main-nav {
        gap: 0.3rem;
    }

    .site-header .nav-link {
        padding-inline: 0.62rem;
    }

    .header-call-copy {
        display: none;
    }

    .header-call {
        padding-left: 0.7rem;
    }

}

@media (max-width: 900px) {
    .site-header .nav-wrap {
        grid-template-columns: auto minmax(0, 1fr) auto;
    }

    .site-header .brand small,
    .header-call-copy {
        display: none;
    }

    .header-call {
        padding-left: 0.7rem;
    }

    .header-call-icon {
        width: 2.65rem;
        height: 2.65rem;
    }
}

@media (max-width: 860px) {
    :root {
        --site-header-offset: 7.6rem;
    }

    .site-header {
        padding: 0.35rem 0;
    }

    .site-header .nav-wrap {
        position: relative;
        grid-template-columns: minmax(0, 1fr) auto;
        min-height: 4.35rem;
        padding: 0.45rem 0.7rem;
    }

    .site-header .brand-mark {
        width: 2.85rem;
        height: 2.85rem;
    }

    .site-header .brand strong {
        font-size: 1.48rem;
    }

    .site-header .menu-toggle {
        display: grid;
        grid-column: 2;
    }

    .site-header .main-nav {
        position: absolute;
        top: calc(100% + 0.45rem);
        right: 0;
        left: 0;
        display: none;
        /* Keep mobile navigation as a clear single-column list. */
        grid-template-columns: minmax(0, 1fr);
        gap: 0.45rem;
        width: auto;
        padding: 0.7rem;
        background: #fbfcff;
        border: 1px solid rgba(9, 9, 95, 0.12);
        border-radius: 14px;
        box-shadow: 0 16px 32px rgba(9, 9, 95, 0.15);
    }

    .site-header .main-nav.open {
        display: grid;
    }

    .site-header .nav-link {
        width: auto;
        min-height: 3.2rem;
        padding: 0.65rem 0.5rem;
        font-size: 0.9rem;
        line-height: 1.15;
    }

    .site-header .header-tools {
        display: none;
    }
}

/* Keep the company descriptor legible beneath the mobile logo. */
@media (max-width: 900px) {
    .site-header .brand small {
        display: block;
        margin-top: 0.14rem;
        color: #09095F;
        font-size: 0.46rem;
        font-weight: 730;
        letter-spacing: 0.01em;
        line-height: 1.1;
    }
}

@media (max-width: 420px) {
    .site-header .brand small {
        font-size: 0.4rem;
    }
}

/* Team page: leadership profile layout. */
.page-team main {
    overflow: hidden;
}

.team-showcase {
    padding: clamp(3.5rem, 7vw, 6rem) 0 clamp(2.8rem, 5vw, 4rem);
    background: #fbfcff;
}

.team-showcase-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(360px, 0.85fr);
    gap: clamp(2rem, 7vw, 6.5rem);
    align-items: center;
}

.team-narrative {
    max-width: 38rem;
}

.team-eyebrow {
    display: inline-flex;
    gap: 0.52rem;
    align-items: center;
    margin: 0 0 1.45rem;
    padding: 0.42rem 0.85rem;
    color: #078f3d;
    background: #e7f8ed;
    border-radius: 999px;
    font-size: 0.8rem;
    font-weight: 800;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.team-eyebrow span,
.team-profile-section h3 span {
    display: grid;
    place-items: center;
}

.team-eyebrow svg {
    width: 1.15rem;
    height: 1.15rem;
}

.team-narrative h1 {
    max-width: 10ch;
    margin: 0;
    color: var(--brand-navy);
    font-size: clamp(1.65rem, 2.7vw, 2.55rem);
    line-height: 1.02;
    letter-spacing: -0.055em;
}

.team-narrative h1 span {
    color: #078f3d;
}

.team-heading-rule {
    display: block;
    width: 4.1rem;
    height: 0.26rem;
    margin: 1.55rem 0;
    background: var(--brand-green);
    border-radius: 999px;
}

.team-introduction {
    display: grid;
    gap: 1.25rem;
    max-width: 61ch;
}

.team-introduction p {
    margin: 0;
    color: #09095F;
    font-size: 1rem;
    line-height: 1.76;
}

.team-metrics {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin-top: clamp(2rem, 4vw, 3rem);
}

.team-metric {
    display: grid;
    justify-items: center;
    gap: 0.6rem;
    min-width: 0;
    padding: 0 1rem;
    text-align: center;
}

.team-metric + .team-metric {
    border-left: 1px solid rgba(9, 9, 95, 0.18);
}

.team-metric > span {
    display: grid;
    width: 3.5rem;
    height: 3.5rem;
    place-items: center;
    color: #111111;
    background: #e9f8ee;
    border-radius: 14px;
}

.team-metric svg {
    width: 1.7rem;
    height: 1.7rem;
}

.team-metric p {
    margin: 0;
    color: #09095F;
    font-size: 0.78rem;
    line-height: 1.35;
}

.team-metric strong,
.team-metric small {
    display: block;
}

.team-metric strong {
    margin-top: 0.18rem;
    color: #09095f;
    font-size: 1rem;
    text-transform: uppercase;
}

.team-metric small {
    margin-top: 0.22rem;
    color: #09095F;
    font-size: 0.75rem;
}

.team-leadership-card {
    padding: clamp(2rem, 4.5vw, 3.4rem);
    text-align: center;
    background: #fbfcff;
    border: 1px solid rgba(9, 9, 95, 0.1);
    border-radius: 22px;
    box-shadow: 0 18px 42px rgba(9, 9, 95, 0.11);
}

.team-portrait {
    width: min(11rem, 52vw);
    aspect-ratio: 1;
    margin: 0 auto 1rem;
    padding: 0.28rem;
    overflow: hidden;
    border: 2px solid #078f3d;
    border-radius: 50%;
}

.team-portrait img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 18%;
    border-radius: 50%;
}

.team-leadership-card h2 {
    margin: 0;
    color: var(--brand-navy);
    font-size: clamp(1.2rem, 2vw, 1.55rem);
    line-height: 1.02;
    white-space: nowrap;
}

.team-credentials {
    margin: 0.6rem auto 0;
    color: #078f3d;
    font-size: 0.82rem;
    font-style: italic;
    font-weight: 400;
    line-height: 1.45;
}

.team-role {
    display: inline-block;
    margin: 1rem 0 0;
    padding: 0.37rem 0.92rem;
    color: #f7fbfa;
    background: #078f3d;
    border-radius: 999px;
    font-size: 0.82rem;
    font-weight: 800;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.team-profile-section {
    padding: 1.1rem 0;
    text-align: left;
}

.team-profile-section + .team-profile-section {
    border-top: 1px solid rgba(7, 143, 61, 0.28);
}

.team-profile-section h3 {
    display: flex;
    gap: 0.7rem;
    align-items: center;
    margin: 0 0 0.65rem;
    color: var(--brand-navy);
    font-size: 1rem;
}

.team-profile-section h3 span {
    width: 2.15rem;
    height: 2.15rem;
    color: #f7fbfa;
    background: #078f3d;
    border-radius: 50%;
}

.team-profile-section h3 svg {
    width: 1.18rem;
    height: 1.18rem;
}

.team-profile-section ul {
    display: grid;
    gap: 0.32rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.team-profile-section li,
.team-profile-section p {
    margin: 0;
    color: #09095F;
    font-size: 0.84rem;
    line-height: 1.45;
}

.team-profile-section li::before {
    margin-right: 0.52rem;
    color: #078f3d;
    content: "✓";
    font-weight: 800;
}

.team-responsibilities {
    padding: 0 0 clamp(3.5rem, 7vw, 5.5rem);
    background: #fbfcff;
}

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

.team-responsibility-card {
    min-width: 0;
    padding: 1.6rem;
    background: #fbfcff;
    border: 1px solid rgba(9, 9, 95, 0.12);
    border-top: 4px solid #078f3d;
    border-radius: 14px;
    box-shadow: 0 10px 24px rgba(9, 9, 95, 0.07);
}

.team-card-gold {
    border-top-color: var(--brand-gold);
}

.team-card-icon {
    display: grid;
    width: 3.5rem;
    height: 3.5rem;
    place-items: center;
    margin-bottom: 1rem;
    color: #078f3d;
    background: #e9f8ee;
    border-radius: 14px;
}

.team-card-gold .team-card-icon {
    color: #c49b00;
    background: #fff7df;
}

.team-card-icon svg {
    width: 1.75rem;
    height: 1.75rem;
}

.team-responsibility-card h2 {
    margin: 0;
    color: var(--brand-navy);
    font-size: 1.12rem;
    line-height: 1.15;
}

.team-responsibility-card .role {
    margin: 0.5rem 0 0;
    color: #09095F;
    font-size: 0.78rem;
    font-weight: 650;
}

.team-responsibility-card > p:last-child {
    margin: 0.7rem 0 0;
    color: #09095F;
    font-size: 0.82rem;
    line-height: 1.62;
}

@media (max-width: 980px) {
    .team-showcase-grid {
        grid-template-columns: 1fr;
    }

    .team-narrative {
        max-width: none;
    }

    .team-leadership-card {
        max-width: 40rem;
        width: 100%;
        margin-inline: auto;
    }

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

@media (max-width: 720px) {
    .team-showcase {
        padding: 2.8rem 0;
    }

    .team-narrative h1 {
        font-size: clamp(1.8rem, 8.5vw, 2.55rem);
    }

    .team-metrics,
    .team-responsibility-grid {
        grid-template-columns: 1fr;
    }

    .team-metric + .team-metric {
        margin-top: 1rem;
        padding-top: 1rem;
        border-top: 1px solid rgba(9, 9, 95, 0.18);
        border-left: 0;
    }

    .team-leadership-card,
    .team-responsibility-card {
        padding: 1.4rem;
    }
}

/* Team page: focused leadership profile. */
.team-profile-layout {
    display: grid;
    grid-template-columns: minmax(13rem, 0.62fr) minmax(0, 1.38fr);
    gap: clamp(2rem, 5.5vw, 4.75rem);
    align-items: start;
    max-width: 70rem;
    margin-inline: auto;
    padding: 0;
    background: transparent;
    border: 0;
}

.team-profile-layout .team-portrait {
    width: 100%;
    max-width: 17.5rem;
    aspect-ratio: 591 / 828;
    margin: 0;
    overflow: hidden;
    background: transparent;
    border-radius: 1rem;
}

.team-profile-layout .team-portrait img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    border-radius: inherit;
}

.team-profile-copy {
    min-width: 0;
    padding-top: clamp(0rem, 1vw, 0.45rem);
}

.team-profile-copy .team-role {
    display: block;
    margin: 1rem 0 0.7rem;
    padding: 0;
    color: var(--brand-green);
    background: transparent;
    border-radius: 0;
    font-size: 0.76rem;
    font-weight: 800;
    letter-spacing: 0.18em;
    line-height: 1.35;
    text-transform: uppercase;
}

.team-profile-copy h1 {
    margin: 0;
    color: var(--brand-navy);
    font-family: "Poppins", "Segoe UI", system-ui, sans-serif;
    font-size: clamp(1.8rem, 3.2vw, 2.85rem);
    font-weight: 700;
    letter-spacing: -0.045em;
    line-height: 1;
    text-transform: none;
}

.team-profile-copy .team-credentials {
    max-width: 58rem;
    margin: 0.72rem 0 0;
    color: #09095F;
    font-size: clamp(0.76rem, 1.2vw, 0.9rem);
    font-weight: 620;
    letter-spacing: 0.015em;
    line-height: 1.55;
}

.team-biography {
    display: grid;
    gap: 1rem;
    max-width: 66ch;
    margin-top: clamp(1.5rem, 3vw, 2.2rem);
}

.team-biography p {
    margin: 0;
    color: #09095F;
    font-size: clamp(0.96rem, 1.25vw, 1.05rem);
    line-height: 1.72;
}

@media (max-width: 720px) {
    .team-profile-layout {
        grid-template-columns: 1fr;
        gap: 1.75rem;
        padding: 0;
    }

    .team-profile-layout .team-portrait {
        max-width: 15rem;
    }

    .team-profile-copy h1 {
        font-size: clamp(1.8rem, 8vw, 2.5rem);
    }
}

/* Shared footer redesign. */
.site-footer {
    width: 100%;
    margin: 0;
    overflow: visible;
    padding: 0;
    color: var(--brand-navy);
    background: transparent;
    border: 0;
    border-radius: 0;
    box-shadow: none;
}

.footer-contact-strip {
    color: #09095F;
    background: #fbfcff;
    border-bottom: 3px solid transparent;
    border-image: linear-gradient(90deg, var(--brand-green), var(--brand-gold), var(--brand-green)) 1;
}

.footer-contact-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    align-items: center;
}

.footer-contact-item {
    display: grid;
    grid-template-columns: 3.8rem minmax(0, 1fr);
    gap: 0.8rem;
    align-items: center;
    min-width: 0;
    padding: 0.8rem clamp(0.85rem, 2.1vw, 1.8rem);
    color: #09095F;
}

.footer-contact-item + .footer-contact-item {
    border-left: 1px solid rgba(9, 9, 95, 0.13);
}

.footer-contact-item > span:last-child {
    display: grid;
    gap: 0.08rem;
    min-width: 0;
}

.footer-contact-item strong {
    color: var(--brand-green);
    font-size: 0.76rem;
    font-weight: 800;
    letter-spacing: 0.04em;
}

.footer-contact-item:nth-child(2) strong {
    color: var(--brand-gold);
}

.footer-contact-item b {
    overflow-wrap: anywhere;
    color: #09095F;
    font-size: clamp(0.85rem, 1.28vw, 1rem);
    line-height: 1.25;
}

.footer-contact-item small {
    color: #09095F;
    font-size: 0.7rem;
    line-height: 1.3;
}

.footer-contact-item[href]:hover b,
.footer-contact-item[href]:focus-visible b {
    color: var(--brand-gold);
}

.footer-contact-item[href]:focus-visible,
.footer-cta:focus-visible,
.footer-back-to-top:focus-visible {
    outline: 3px solid var(--brand-gold);
    outline-offset: 4px;
}

.footer-contact-icon {
    display: grid;
    width: 3.8rem;
    height: 3.8rem;
    place-items: center;
    border: 2px solid currentColor;
    border-radius: 50%;
}

.footer-contact-icon svg {
    width: 1.9rem;
    height: 1.9rem;
}

.footer-contact-icon-green {
    color: var(--brand-green);
}

.footer-contact-icon-gold {
    color: var(--brand-gold);
}

.footer-main {
    position: relative;
    background: #fbfcff;
}

.footer-main::before {
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    height: 3px;
    background: linear-gradient(to right, var(--brand-navy) 0 64%, var(--brand-green) 64% 88%, var(--brand-gold) 88% 100%);
    content: "";
}

.footer-main-grid {
    display: grid;
    grid-template-columns: minmax(230px, 1.22fr) minmax(155px, 0.64fr) minmax(225px, 0.95fr) minmax(220px, 0.92fr);
    gap: clamp(1.35rem, 2.7vw, 2.7rem);
    padding: clamp(1.5rem, 3vw, 2.25rem) 0;
}

.footer-brand-panel,
.footer-widget {
    padding: 0;
    color: var(--brand-navy);
    background: transparent;
    border: 0;
    border-radius: 0;
    box-shadow: none;
}

.footer-brand-panel.is-active,
.footer-widget.is-active {
    border-color: transparent;
    box-shadow: none;
    transform: none;
}

.footer-brand {
    gap: 0.85rem;
    color: var(--brand-navy);
}

.footer-brand .brand-mark {
    width: 3.7rem;
    height: 3.7rem;
    box-shadow: none;
}

.footer-brand strong {
    display: flex;
    color: var(--brand-navy);
    font-size: clamp(1.7rem, 3vw, 2.25rem);
    font-weight: 800;
    letter-spacing: 0.015em;
    line-height: 1;
    text-transform: uppercase;
}

.footer-brand strong span:last-child {
    color: var(--brand-green);
}

.footer-brand small {
    margin-top: 0.32rem;
    color: var(--brand-navy);
    font-size: 0.78rem;
    font-weight: 650;
    letter-spacing: 0.01em;
}

.footer-brand-panel p {
    max-width: 27ch;
    margin: 0.9rem 0 0;
    color: #09095F;
    font-size: 0.98rem;
    line-height: 1.58;
}

.footer-brand-panel .footer-slogan {
    width: min(100%, 16rem);
    margin-top: -0.8rem;
    color: #078f3d;
    font-size: clamp(1.45rem, 2vw, 1.65rem);
    font-style: italic;
    font-weight: 720;
    line-height: 1.2;
    text-align: center;
}

.footer-social {
    gap: 0.62rem;
    margin-top: 0.85rem;
}

.social-icon {
    width: 2.55rem;
    height: 2.55rem;
    background: #fbfcff;
    border: 1px solid var(--brand-green);
    box-shadow: none;
}

.social-icon::before {
    background: var(--brand-navy);
}

.social-icon:nth-child(3n) {
    border-color: var(--brand-gold);
}

.social-youtube::before {
    mask-image: url("https://cdn.simpleicons.org/youtube");
    -webkit-mask-image: url("https://cdn.simpleicons.org/youtube");
}

.social-icon:hover,
.social-icon:focus-visible {
    background: var(--brand-green);
    box-shadow: none;
    transform: translateY(-2px);
}

.social-icon:focus-visible {
    outline: 3px solid rgba(7, 143, 61, 0.3);
    outline-offset: 3px;
}

.footer-widget {
    padding-left: clamp(1rem, 2.5vw, 2.2rem);
    border-left: 1px solid rgba(9, 9, 95, 0.13);
}

.footer-widget h2,
.footer-build-panel h2 {
    margin: 0;
    color: var(--brand-navy);
    font-size: 1.05rem;
    font-weight: 800;
    letter-spacing: 0;
    text-transform: uppercase;
}

.footer-widget h2::after {
    display: block;
    width: 3.05rem;
    height: 2px;
    margin-top: 0.55rem;
    background: var(--brand-green);
    content: "";
}

.footer-widget a {
    display: block;
    padding: 0.24rem 0;
    color: #09095F;
    font-size: 0.9rem;
    font-weight: 600;
    line-height: 1.35;
}

.footer-widget a::before {
    margin-right: 0.68rem;
    color: var(--brand-green);
    content: "›";
    font-size: 1.35em;
    font-weight: 800;
    vertical-align: -0.05em;
}

.footer-widget h2 + a {
    margin-top: 0.65rem;
}

.footer-widget a:hover,
.footer-widget a:focus-visible {
    color: #078f3d;
    transform: translateX(3px);
}

.footer-services a::before {
    color: var(--brand-gold);
}

.footer-build-panel {
    position: relative;
    align-self: stretch;
    min-height: 14rem;
    padding-left: clamp(1rem, 2.5vw, 2.2rem);
    border-left: 1px solid rgba(9, 9, 95, 0.13);
}

.footer-build-panel > p {
    margin: 0 0 1.2rem;
    color: var(--brand-navy);
    font-size: 0.9rem;
    font-weight: 800;
    text-transform: uppercase;
}

.footer-build-panel h2 {
    max-width: 8ch;
    font-size: clamp(1.55rem, 2.25vw, 2.05rem);
    line-height: 0.96;
}

.footer-build-panel h2 span {
    display: block;
    color: var(--brand-gold);
}

.footer-build-panel > i {
    display: block;
    width: 3.55rem;
    height: 2px;
    margin: 0.7rem 0 0.9rem;
    background: var(--brand-gold);
}

.footer-build-contact-list {
    display: grid;
    gap: 0.65rem;
}

.footer-build-contact-list > a,
.footer-build-contact-list > div {
    display: grid;
    grid-template-columns: 2.15rem minmax(0, 1fr);
    gap: 0.65rem;
    align-items: center;
    color: var(--brand-navy);
}

.footer-build-contact-icon {
    display: grid;
    width: 2.15rem;
    height: 2.15rem;
    place-items: center;
    border: 1.5px solid currentColor;
    border-radius: 50%;
}

.footer-build-contact-icon-green {
    color: #078f3d;
}

.footer-build-contact-icon-gold {
    color: var(--brand-gold);
}

.footer-build-contact-icon svg {
    width: 1.08rem;
    height: 1.08rem;
}

.footer-build-contact-copy {
    display: grid;
    gap: 0.06rem;
}

.footer-build-contact-copy strong {
    color: #078f3d;
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.footer-build-contact-copy > span {
    font-size: 0.86rem;
    font-weight: 700;
    line-height: 1.3;
}

.footer-build-contact-copy small {
    font-size: 0.72rem;
    line-height: 1.25;
}

.footer-build-contact-list > a:hover .footer-build-contact-copy > span,
.footer-build-contact-list > a:focus-visible .footer-build-contact-copy > span {
    color: #078f3d;
}

.footer-build-social {
    gap: 0.42rem;
    margin-top: 1rem;
}

.footer-build-social .social-icon {
    width: 2.05rem;
    height: 2.05rem;
}

.footer-build-social .social-icon::before {
    width: 0.88rem;
    height: 0.88rem;
}

.footer-build-social .social-linkedin::after {
    font-size: 0.92rem;
}

.footer-cta {
    display: inline-flex;
    gap: 1rem;
    align-items: center;
    justify-content: space-between;
    margin-top: 0.9rem;
    padding: 0.72rem 0.72rem 0.72rem 1rem;
    color: #f7fbfa;
    background: #078f3d;
    border-radius: 12px;
    box-shadow: none;
    font-size: 0.88rem;
    font-weight: 800;
    text-transform: uppercase;
}

.footer-cta b {
    display: grid;
    width: 2.1rem;
    height: 2.1rem;
    place-items: center;
    color: var(--brand-navy);
    background: var(--brand-gold);
    border-radius: 50%;
    font-size: 1.3rem;
    line-height: 1;
}

.footer-cta:hover,
.footer-cta:focus-visible {
    color: #f7fbfa;
    background: #057a34;
    transform: translateY(-2px);
}

.footer-promises {
    background: #f2f5fb;
    border-top: 1px solid rgba(9, 9, 95, 0.08);
}

.footer-promises-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    padding: 1.2rem 0;
}

.footer-promise {
    display: grid;
    grid-template-columns: 3.35rem minmax(0, 1fr);
    gap: 0.85rem;
    align-items: center;
    min-width: 0;
    padding: 0.5rem clamp(0.85rem, 2vw, 1.5rem);
}

.footer-promise + .footer-promise {
    border-left: 1px solid rgba(9, 9, 95, 0.13);
}

.footer-promise > span {
    display: grid;
    width: 3.35rem;
    height: 3.35rem;
    place-items: center;
    color: #111111;
    border: 1px solid currentColor;
    border-radius: 14px;
}

.footer-promise svg {
    width: 1.7rem;
    height: 1.7rem;
}

.footer-promise p {
    display: grid;
    gap: 0.22rem;
    margin: 0;
    color: #09095F;
    font-size: 0.82rem;
    line-height: 1.48;
}

.footer-promise strong {
    color: var(--brand-navy);
    font-size: 0.81rem;
    font-weight: 800;
    text-transform: uppercase;
}

.footer-bottom {
    margin: 0;
    padding: 0;
    color: #f7fbfa;
    background: #09095F;
    border: 0;
}

.footer-bottom-inner {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto auto;
    gap: 1.35rem;
    align-items: center;
    min-height: 4.7rem;
}

.footer-bottom p {
    margin: 0;
    color: rgba(247, 251, 250, 0.92);
    font-size: 0.88rem;
}

.footer-legal {
    display: flex;
    gap: 1.8rem;
    color: #f7fbfa;
    font-size: 0.88rem;
    white-space: nowrap;
}

.footer-legal span + span {
    padding-left: 1.8rem;
    border-left: 1px solid rgba(50, 182, 103, 0.7);
}

.footer-back-to-top {
    display: grid;
    width: 2.8rem;
    height: 2.8rem;
    place-items: center;
    color: var(--brand-gold);
    border: 1px solid var(--brand-green);
    border-radius: 50%;
    font-size: 1.4rem;
    line-height: 1;
}

.footer-back-to-top:hover,
.footer-back-to-top:focus-visible {
    color: var(--brand-navy);
    background: var(--brand-green);
}

@media (max-width: 980px) {
    .footer-contact-grid,
    .footer-main-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .footer-contact-item:nth-child(3) {
        grid-column: 1 / -1;
        border-left: 0;
        border-top: 1px solid rgba(9, 9, 95, 0.13);
    }

    .footer-main-grid {
        row-gap: 1.8rem;
    }

    .footer-build-panel {
        min-height: auto;
    }

    .footer-promises-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        row-gap: 1rem;
    }

    .footer-promise:nth-child(3) {
        border-left: 0;
    }

    .footer-promise:nth-child(n + 3) {
        border-top: 1px solid rgba(9, 9, 95, 0.13);
    }
}

@media (max-width: 720px) {
    .site-footer {
        width: 100%;
        margin: 0;
        border-radius: 0;
    }

    .footer-contact-grid,
    .footer-main-grid,
    .footer-promises-grid,
    .footer-bottom-inner {
        grid-template-columns: 1fr;
    }

    .footer-contact-item {
        padding: 0.9rem 0;
    }

    .footer-contact-item + .footer-contact-item,
    .footer-contact-item:nth-child(3),
    .footer-widget,
    .footer-build-panel,
    .footer-promise + .footer-promise,
    .footer-promise:nth-child(3) {
        padding-left: 0;
        border-left: 0;
    }

    .footer-contact-item + .footer-contact-item {
        border-top: 1px solid rgba(9, 9, 95, 0.13);
    }

    .footer-main-grid {
        gap: 1.5rem;
        padding: 1.5rem 0;
    }

    .footer-widget,
    .footer-build-panel {
        padding-top: 1.5rem;
        border-top: 1px solid rgba(9, 9, 95, 0.13);
    }

    .footer-promise,
    .footer-promise:nth-child(n + 3) {
        padding: 0.8rem 0;
        border-top: 1px solid rgba(9, 9, 95, 0.13);
    }

    .footer-promise:first-child {
        border-top: 0;
    }

    .footer-bottom-inner {
        gap: 1rem;
        padding: 1.15rem 0;
    }

    .footer-legal {
        gap: 1rem;
        font-size: 0.82rem;
    }

    .footer-legal span + span {
        padding-left: 1rem;
    }
}

/* Contact page: reference-inspired project enquiry layout. */
.page-contact main {
    padding: clamp(2rem, 4vw, 4rem) 0 clamp(3.5rem, 7vw, 6rem);
}

.contact-showcase-section {
    padding: 0;
}

.contact-showcase {
    display: grid;
    grid-template-columns: minmax(300px, 0.76fr) minmax(0, 1.42fr);
    overflow: visible;
    background: transparent;
    border: 0;
    border-radius: 0;
    box-shadow: none;
}

.contact-intro,
.contact-form-panel {
    min-width: 0;
    padding: clamp(2rem, 4vw, 3.15rem);
}

.contact-intro {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    background: linear-gradient(145deg, #ffffff 0%, #f5fcf8 100%);
}

.contact-intro h1 {
    max-width: 9ch;
    margin: 0 0 clamp(1.25rem, 2vw, 1.75rem);
    color: var(--brand-navy);
    font-size: clamp(1.55rem, 2.5vw, 2.4rem);
    line-height: 1.02;
    letter-spacing: -0.055em;
}

.contact-intro-copy {
    max-width: 31ch;
    margin: 0;
    color: #09095F;
    font-size: 1.02rem;
    line-height: 1.65;
}

.contact-info-list {
    display: grid;
    width: 100%;
    gap: 0.8rem;
    margin: auto 0 0;
    padding: 1.8rem 0 0;
    list-style: none;
}

.contact-info-card {
    display: grid;
    grid-template-columns: 3.55rem minmax(0, 1fr);
    gap: 0.8rem;
    align-items: center;
    padding: 0.7rem 0;
    background: transparent;
    border: 0;
    border-radius: 0;
    box-shadow: none;
}

.contact-info-card + .contact-info-card {
    border-top: 1px solid rgba(9, 9, 95, 0.13);
}

.contact-info-icon,
.privacy-icon {
    display: grid;
    flex: 0 0 auto;
    place-items: center;
    color: #078f3d;
    background: #e7f8ed;
    border-radius: 50%;
}

.contact-info-icon {
    width: 3.55rem;
    height: 3.55rem;
}

.contact-info-icon svg,
.field-icon svg,
.privacy-icon svg {
    width: 1.55rem;
    height: 1.55rem;
}

.contact-info-card > span:last-child,
.privacy-note > span:last-child {
    display: grid;
    gap: 0.08rem;
}

.contact-info-card strong,
.privacy-note strong {
    color: var(--brand-navy);
    font-size: 0.95rem;
    line-height: 1.35;
}

.contact-info-card a,
.contact-info-card span span {
    color: #078f3d;
    font-size: 0.92rem;
    font-weight: 600;
    line-height: 1.35;
    overflow-wrap: anywhere;
}

.contact-info-card a:hover,
.contact-info-card a:focus-visible {
    color: var(--brand-navy);
}

.contact-form-panel {
    display: grid;
    align-content: start;
    gap: 1.1rem;
    margin: 0;
    background: transparent;
    border: 0;
    border-radius: 0;
    box-shadow: none;
}

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

.form-row-half,
.form-row-full {
    min-width: 0;
}

.form-row-full {
    grid-column: 1 / -1;
}

.contact-form-panel .form-row {
    gap: 0.45rem;
}

.contact-form-panel label {
    color: #09095F;
    font-size: 0.98rem;
    font-weight: 720;
}

.input-wrap {
    position: relative;
    display: block;
}

.field-icon {
    position: absolute;
    top: 50%;
    left: 1rem;
    z-index: 1;
    display: grid;
    place-items: center;
    width: 1.5rem;
    height: 1.5rem;
    color: #078f3d;
    pointer-events: none;
    transform: translateY(-50%);
}

.contact-form-panel input,
.contact-form-panel select,
.contact-form-panel textarea {
    min-height: 4.2rem;
    padding: 0.9rem 1rem 0.9rem 4.1rem;
    color: var(--brand-navy);
    background: #ffffff;
    border: 1px solid rgba(7, 143, 61, 0.58);
    border-radius: 13px;
    box-shadow: none;
}

.contact-form-panel select {
    appearance: none;
    padding-right: 3.25rem;
    background-image: linear-gradient(45deg, transparent 50%, #078f3d 50%), linear-gradient(135deg, #078f3d 50%, transparent 50%);
    background-position: calc(100% - 1.45rem) 50%, calc(100% - 1.05rem) 50%;
    background-repeat: no-repeat;
    background-size: 0.42rem 0.42rem, 0.42rem 0.42rem;
    cursor: pointer;
}

.contact-form-panel textarea {
    min-height: 12rem;
    padding-top: 1.1rem;
    padding-bottom: 2.3rem;
    line-height: 1.5;
}

.textarea-wrap .field-icon {
    top: 1.15rem;
    transform: none;
}

.contact-form-panel input::placeholder,
.contact-form-panel textarea::placeholder,
.contact-form-panel select:invalid {
    color: #09095F;
    opacity: 1;
}

.contact-form-panel input:focus,
.contact-form-panel select:focus,
.contact-form-panel textarea:focus {
    outline: 3px solid rgba(50, 182, 103, 0.2);
    outline-offset: 1px;
    border-color: #078f3d;
}

.contact-form-panel input[aria-invalid="true"],
.contact-form-panel select[aria-invalid="true"],
.contact-form-panel textarea[aria-invalid="true"] {
    border-color: var(--danger);
}

.message-count {
    position: absolute;
    right: 1rem;
    bottom: 0.7rem;
    color: #09095F;
    font-size: 0.82rem;
    font-weight: 650;
    pointer-events: none;
}

.contact-form-panel .field-error {
    min-height: 0;
    font-size: 0.81rem;
    line-height: 1.3;
}

.contact-form-footer {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: clamp(1rem, 3vw, 2.25rem);
    align-items: center;
    margin-top: 0.55rem;
    padding: 1rem;
    background: linear-gradient(100deg, #edf9f1, #fbfffd 70%);
    border-radius: 13px;
}

.contact-submit {
    display: inline-flex;
    width: fit-content;
    min-height: 0;
    padding: 0.72rem 1rem;
    gap: 0;
    align-items: center;
    color: #ffffff;
    background: #078f3d;
    border: 0;
    border-radius: 999px;
    box-shadow: none;
    font-weight: 400;
}

.contact-submit:hover,
.contact-submit:focus-visible {
    color: #ffffff;
    background: #057a34;
}

.contact-submit:active {
    transform: translateY(1px) scale(0.98);
}

.privacy-note {
    display: grid;
    grid-template-columns: 3rem minmax(0, 1fr);
    gap: 0.8rem;
    align-items: center;
    padding-left: clamp(0rem, 2vw, 2rem);
    border-left: 1px solid rgba(9, 9, 95, 0.18);
}

.privacy-icon {
    width: 3rem;
    height: 3rem;
}

.privacy-note > span:last-child > span {
    color: #09095F;
    font-size: 0.82rem;
    line-height: 1.45;
}

.contact-form-panel .form-status {
    min-height: 1.2rem;
    margin: 0;
    color: #078f3d;
    font-size: 0.9rem;
}

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

    .contact-intro {
        min-height: auto;
    }

    .contact-info-list {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .contact-info-card {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 720px) {
    .page-contact main {
        padding-top: 1.2rem;
    }

    .contact-intro,
    .contact-form-panel {
        padding: 1.5rem;
    }

    .contact-intro h1 {
        max-width: 11ch;
        font-size: clamp(1.7rem, 8vw, 2.45rem);
    }

    .contact-info-list,
    .contact-form-grid,
    .contact-form-footer {
        grid-template-columns: 1fr;
    }

    .contact-info-card {
        grid-template-columns: 3.35rem minmax(0, 1fr);
    }

    .form-row-full {
        grid-column: auto;
    }

    .contact-form-panel textarea {
        min-height: 10.5rem;
    }

    .contact-submit {
        width: fit-content;
        justify-content: center;
    }

    .privacy-note {
        padding: 1rem 0 0;
        border-top: 1px solid rgba(9, 9, 95, 0.18);
        border-left: 0;
    }
}

/* Final home-hero overrides: these follow the legacy hero rules above. */
.home-hero {
    min-height: 700px;
    padding: clamp(2.2rem, 4vw, 3.8rem) 0 clamp(2.1rem, 3.8vw, 3.4rem);
}

.home-hero p {
    max-width: 52ch;
    margin-bottom: 0;
    color: #09095F;
    font-size: clamp(1rem, 1.42vw, 1.12rem);
    line-height: 1.62;
}

@media (max-width: 980px) {
    .home-hero {
        min-height: auto;
    }
}

@media (max-width: 720px) {
    .home-hero {
        padding: 2.4rem 0 3rem;
    }
}

/* Supplied TRUELINE logo asset. */
.brand-logo {
    display: block;
    object-fit: contain;
    object-position: center;
    background: transparent;
    border-radius: 0;
    box-shadow: none;
}

/* The supplied full logo includes the company name, so hide the legacy text lockup beside it. */
.brand-logo + span {
    display: none;
}

.site-header .brand {
    gap: 0;
}

.site-header .brand-logo {
    width: 7rem;
    height: 7rem;
}

.footer-brand {
    gap: 0;
}

.footer-brand .brand-logo {
    width: min(100%, 16rem);
    height: auto;
    aspect-ratio: 1;
}

@media (max-width: 720px) {
    .site-header .brand-logo {
        width: 6rem;
        height: 6rem;
    }

    .footer-brand .brand-logo {
        width: min(100%, 12rem);
        height: auto;
    }

    .footer-brand-panel .footer-slogan {
        width: min(100%, 12rem);
    }

}

/* About page: company objectives. */
.objectives-showcase {
    position: relative;
    overflow: hidden;
    padding: clamp(2.25rem, 3.5vw, 3.5rem) 0;
    background: #fbfdfc;
}

.objectives-showcase-heading {
    position: relative;
    z-index: 1;
    max-width: 60rem;
    margin: 0 auto clamp(1.75rem, 3vw, 2.75rem);
    text-align: center;
}

.objectives-showcase-heading > p {
    display: inline-flex;
    align-items: center;
    gap: 2rem;
    margin: 0 0 0.65rem;
    color: #078f3d;
    font-size: clamp(0.85rem, 1.6vw, 1.2rem);
    font-weight: 800;
    letter-spacing: 0.07em;
    text-transform: uppercase;
}

.objectives-showcase-heading > p::before,
.objectives-showcase-heading > p::after {
    width: clamp(2.5rem, 7vw, 5.2rem);
    height: 1px;
    background: #078f3d;
    content: "";
}

.objectives-showcase-heading h2 {
    margin-bottom: 1rem;
    color: #09095f;
    font-size: clamp(1.55rem, 2.6vw, 2.4rem);
    font-weight: 760;
    line-height: 1;
    letter-spacing: -0.06em;
}

.objectives-showcase-heading h2 span {
    color: #09095f;
}

.objectives-showcase-heading > span {
    display: block;
    max-width: 58ch;
    margin: 0 auto;
    color: #09095F;
    font-size: clamp(0.96rem, 1.35vw, 1.1rem);
    line-height: 1.55;
}

.objectives-showcase-heading > i {
    display: block;
    width: 3.8rem;
    height: 4px;
    margin: 1.1rem auto 0;
    border-radius: 999px;
    background: #078f3d;
}

.objectives-showcase-grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: clamp(0.9rem, 1.8vw, 1.5rem);
}

.objective-showcase-card {
    display: grid;
    min-height: 0;
    align-content: start;
    justify-items: center;
    padding: 0 clamp(0.75rem, 1.4vw, 1.15rem);
    text-align: center;
}

.objective-showcase-number {
    margin-bottom: 0.75rem;
    padding-bottom: 0.42rem;
    color: #078f3d;
    border-bottom: 2px solid currentColor;
    font-size: 0.82rem;
    font-weight: 800;
}

.objective-showcase-icon {
    display: grid;
    width: 4.35rem;
    height: 4.35rem;
    margin-bottom: 0.75rem;
    place-items: center;
    color: #078f3d;
    background: #edf9f0;
    border: 1px solid rgba(7, 143, 61, 0.12);
    border-radius: 50%;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

.objective-showcase-icon svg {
    width: 2.05rem;
    height: 2.05rem;
}

.objective-showcase-card h3 {
    margin-bottom: 0.65rem;
    color: #09095f;
    font-size: clamp(1.15rem, 1.55vw, 1.35rem);
    font-weight: 750;
    line-height: 1.16;
}

.objective-showcase-card > i {
    display: block;
    width: 2.35rem;
    height: 3px;
    margin-bottom: 0.65rem;
    border-radius: 999px;
    background: #078f3d;
}

.objective-showcase-card p {
    max-width: 27ch;
    margin: 0;
    color: #09095F;
    font-size: 0.86rem;
    line-height: 1.5;
    text-align: left;
}

.objective-showcase-card-gold .objective-showcase-number {
    color: #dcaa00;
}

.objective-showcase-card-gold .objective-showcase-icon {
    color: #dcaa00;
    background: #fff8df;
}

.objective-showcase-card-gold h3 {
    color: #09095f;
}

.objective-showcase-card-gold > i {
    background: #efbd14;
}

@media (max-width: 900px) {
    .objectives-showcase-grid {
        grid-template-columns: 1fr;
        max-width: 32rem;
        margin-inline: auto;
    }

    .objective-showcase-card {
        padding: 0;
    }
}

@media (max-width: 720px) {
    .objectives-showcase {
        padding: 2rem 0;
        background-size: auto 64%;
    }

    .objectives-showcase-heading > p {
        gap: 0.9rem;
        font-size: 0.75rem;
    }

    .objectives-showcase-heading h2 {
        font-size: clamp(1.5rem, 7.2vw, 2.2rem);
    }

    .objective-showcase-card {
        padding: 0;
    }
}

/* About page: vision and mission. */
.direction-showcase {
    position: relative;
    overflow: hidden;
    padding: clamp(2.25rem, 3.5vw, 3.5rem) 0;
    background: #fafffc;
}

.direction-showcase-heading {
    position: relative;
    z-index: 1;
    max-width: 62rem;
    margin: 0 auto clamp(1.75rem, 3vw, 2.75rem);
    text-align: center;
}

.direction-showcase-heading > p {
    display: inline-flex;
    gap: 2rem;
    align-items: center;
    margin: 0 0 0.72rem;
    color: #078f3d;
    font-size: clamp(0.85rem, 1.6vw, 1.2rem);
    font-weight: 800;
    letter-spacing: 0.07em;
    text-transform: uppercase;
}

.direction-showcase-heading > p::before,
.direction-showcase-heading > p::after {
    width: clamp(2.5rem, 7vw, 5.2rem);
    height: 1px;
    background: #078f3d;
    content: "";
}

.direction-showcase-heading h2 {
    margin-bottom: 1rem;
    color: #09095f;
    font-size: clamp(1.55rem, 2.6vw, 2.4rem);
    font-weight: 760;
    line-height: 1;
    letter-spacing: -0.06em;
}

.direction-showcase-heading h2 span {
    color: #09095f;
}

.direction-showcase-heading h2 em {
    color: #09095f;
    font-style: normal;
}

.direction-showcase-heading > span {
    display: block;
    max-width: 59ch;
    margin: 0 auto;
    color: #09095F;
    font-size: clamp(0.96rem, 1.35vw, 1.1rem);
    line-height: 1.55;
}

.direction-showcase-heading > i {
    display: block;
    width: 3.8rem;
    height: 4px;
    margin: 1.1rem auto 0;
    border-radius: 999px;
    background: #078f3d;
}

.direction-showcase-grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: clamp(1rem, 2vw, 1.6rem);
}

.direction-showcase-card {
    position: relative;
    display: grid;
    grid-template-columns: 1fr;
    gap: 0;
    align-items: stretch;
    min-height: 0;
    padding: clamp(1.35rem, 2.5vw, 1.85rem);
    overflow: hidden;
    text-align: center;
    background: linear-gradient(145deg, #ffffff 0%, #f8fcfa 100%);
    border: 1px solid rgba(9, 9, 95, 0.12);
    border-radius: 18px;
    box-shadow: 0 12px 26px rgba(9, 9, 95, 0.08);
}

.direction-showcase-card > div {
    display: grid;
    align-content: start;
    justify-items: center;
    min-height: 0;
    padding-left: 0;
    border-left: 0;
}

.direction-showcase-card h3 {
    display: inline-flex;
    gap: 0.45rem;
    align-items: center;
    margin-bottom: 0.7rem;
    color: #09095f;
    font-size: clamp(1.45rem, 2.25vw, 1.9rem);
    font-weight: 750;
    line-height: 1;
    letter-spacing: -0.045em;
}

.direction-showcase-pointer {
    display: inline-block;
    margin-right: 0;
    color: #1a1a1a;
    font-size: 2.35em;
    line-height: 1;
}

.direction-showcase-card > div > i {
    display: block;
    width: 3.45rem;
    height: 4px;
    margin-bottom: 0.7rem;
    border-radius: 999px;
    background: #078f3d;
}

.direction-showcase-card > div > i,
.direction-showcase-card h3 {
    margin-left: auto;
    margin-right: auto;
}

.direction-showcase-points {
    display: inline-grid;
    gap: 0.4rem;
    margin: 0;
    padding-left: 1.1rem;
    color: #09095F;
    text-align: left;
}

.direction-showcase-points li {
    padding-left: 0.2rem;
    font-size: clamp(0.9rem, 1.05vw, 0.97rem);
    line-height: 1.45;
}

.direction-showcase-points li::marker {
    color: #078f3d;
}

.direction-showcase-card p {
    display: grid;
    grid-template-columns: 2.1rem minmax(0, 1fr);
    gap: 0.75rem;
    align-items: start;
    margin: 0;
    color: #09095F;
    font-size: clamp(0.9rem, 1.05vw, 0.97rem);
    line-height: 1.5;
    text-align: left;
}

@media (max-width: 900px) {
    .direction-showcase-grid {
        grid-template-columns: 1fr;
        max-width: 40rem;
        margin-inline: auto;
    }

    .direction-showcase-card {
        min-height: 0;
    }
}

@media (max-width: 720px) {
    .direction-showcase {
        padding: 2rem 0;
        background-size: auto 64%;
    }

    .direction-showcase-heading > p {
        gap: 0.9rem;
        font-size: 0.75rem;
    }

    .direction-showcase-heading h2 {
        font-size: clamp(1.5rem, 7.2vw, 2.2rem);
    }

    .direction-showcase-card {
        grid-template-columns: 1fr;
        gap: 1rem;
        padding: 0.75rem 0;
    }

    .direction-showcase-card > div {
        padding: 0;
        border-left: 0;
    }
}

/* About page: core values. */
.values-showcase {
    position: relative;
    overflow: hidden;
    padding: clamp(2.25rem, 3.5vw, 3.5rem) 0;
    background: #fbfdfc;
}

.values-showcase-heading {
    position: relative;
    z-index: 1;
    max-width: 55rem;
    margin: 0 auto clamp(1.75rem, 3vw, 2.75rem);
    text-align: center;
}

.values-showcase-heading > p {
    display: inline-flex;
    gap: 0.8rem;
    align-items: center;
    margin: 0 0 0.9rem;
    color: #078f3d;
    font-size: clamp(0.84rem, 1.5vw, 1.1rem);
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.values-showcase-heading > i,
.values-showcase-heading > span {
    margin-right: auto;
    margin-left: auto;
}

.values-showcase-heading > p::before {
    width: 1.5rem;
    height: 1px;
    background: #078f3d;
    content: "";
}

.values-showcase-heading h2 {
    margin-bottom: 1rem;
    color: #09095f;
    font-size: clamp(1.55rem, 2.6vw, 2.4rem);
    font-weight: 760;
    line-height: 1;
    letter-spacing: -0.06em;
}

.values-showcase-heading h2 span {
    color: #09095f;
}

.values-showcase-heading > i {
    display: block;
    width: 3.4rem;
    height: 4px;
    margin-bottom: 0.9rem;
    border-radius: 999px;
    background: #078f3d;
}

.values-showcase-heading > span {
    display: block;
    max-width: 55ch;
    color: #09095F;
    font-size: clamp(0.96rem, 1.3vw, 1.08rem);
    line-height: 1.55;
}

.values-showcase-grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: clamp(1.4rem, 2.6vw, 2rem) clamp(1.5rem, 3.5vw, 3.25rem);
}

.values-showcase-card {
    position: relative;
    min-height: 0;
    text-align: center;
}

.values-showcase-card h3 {
    display: inline-flex;
    align-items: center;
    gap: 0.42rem;
    margin-bottom: 0.55rem;
    color: #09095f;
    font-size: clamp(1.08rem, 1.45vw, 1.28rem);
    font-weight: 750;
    line-height: 1.15;
}

.values-showcase-card h3::before {
    color: #efbd14;
    content: "✓";
    font-size: 1.05em;
    font-weight: 800;
    line-height: 1;
}

.values-showcase-card p {
    margin: 0;
    color: #09095F;
    font-size: 0.84rem;
    line-height: 1.48;
}

@media (max-width: 980px) {
    .values-showcase-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 720px) {
    .values-showcase {
        padding: 2rem 0;
    }

    .values-showcase-heading h2 {
        font-size: clamp(1.5rem, 7.2vw, 2.2rem);
    }

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

    .values-showcase-card {
        min-height: 0;
    }
}

/* Shared responsive hardening: preserve content width across compact devices. */
button,
input,
select,
textarea {
    max-width: 100%;
}


.footer-legal {
    flex-wrap: wrap;
    white-space: normal;
}

@media (max-width: 860px) and (min-width: 721px) {
    .contact-info-list {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .contact-info-card:last-child {
        grid-column: 1 / -1;
    }
}

@media (max-width: 480px) {
    :root {
        --page-side-gap: 1rem;
    }

    .container {
        width: min(var(--content-width), calc(100% - var(--page-side-gap) - var(--page-side-gap)));
    }

    .site-header .brand {
        min-width: 0;
    }

    .site-header .brand strong {
        font-size: 1.25rem;
    }

    .site-header .brand-mark {
        width: 2.55rem;
        height: 2.55rem;
    }

    .site-header .main-nav {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .header-card {
        gap: 0.45rem;
        padding-inline: 0.55rem;
    }

    .home-hero-actions,
    .hero-actions {
        align-items: stretch;
    }

    .home-hero-actions .button,
    .hero-actions .button {
        width: 100%;
        justify-content: center;
    }

    .footer-legal span + span {
        padding-left: 0.7rem;
    }
}

/* Gold is the shared action color. Navy text keeps every button readable. */
.btn.btn-primary,
.btn.btn-secondary,
.footer-contact-widget .footer-cta,
.footer-cta,
.footer-back-to-top,
.contact-submit {
    color: var(--brand-navy);
    background: var(--brand-gold);
    border-color: var(--brand-gold);
}

.btn.btn-primary:hover,
.btn.btn-primary:focus-visible,
.btn.btn-secondary:hover,
.btn.btn-secondary:focus-visible,
.footer-contact-widget .footer-cta:hover,
.footer-contact-widget .footer-cta:focus-visible,
.footer-cta:hover,
.footer-cta:focus-visible,
.footer-back-to-top:hover,
.footer-back-to-top:focus-visible,
.contact-submit:hover,
.contact-submit:focus-visible {
    color: var(--brand-navy);
    background: color-mix(in srgb, var(--brand-gold) 86%, var(--brand-navy));
    border-color: color-mix(in srgb, var(--brand-gold) 86%, var(--brand-navy));
}

.site-header .menu-toggle span {
    background: var(--brand-navy);
}

/* Keep the mobile menu control free of the gold action color. */
.site-header .menu-toggle:hover,
.site-header .menu-toggle:focus-visible {
    color: var(--brand-navy);
    background: #e2f2e6;
    border-color: #078f3d;
}

.footer-cta b {
    color: var(--brand-gold);
    background: var(--brand-navy);
}

/* Services page: light, trust-first redesign with an asymmetric project hero. */
.page-services {
    background: var(--bg);
}

.services-page-hero {
    padding: clamp(2.75rem, 5.4vw, 4.6rem) 0 clamp(3.5rem, 6vw, 5.75rem);
    overflow: hidden;
}

.services-page-hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(420px, 1.1fr);
    gap: clamp(2rem, 5.5vw, 5.5rem);
    align-items: center;
}

.services-page-hero-copy {
    max-width: 37rem;
}

.services-page-hero-eyebrow {
    margin: 0 0 1.05rem;
    padding-left: 0.8rem;
    color: var(--brand-navy);
    border-left: 3px solid var(--brand-gold);
    font-family: "Poppins", "Segoe UI", system-ui, sans-serif;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.14em;
    line-height: 1.25;
    text-transform: uppercase;
}

.services-page-hero h1 {
    max-width: 15ch;
    margin: 0;
    color: var(--brand-navy);
    font-family: "Poppins", "Segoe UI", system-ui, sans-serif;
    font-size: clamp(2.45rem, 4vw, 3.65rem);
    font-weight: 800;
    letter-spacing: -0.055em;
    line-height: 1.04;
}

.services-page-hero-copy > p:not(.services-page-hero-eyebrow) {
    max-width: 53ch;
    margin: 1.3rem 0 0;
    color: var(--brand-navy);
    font-size: clamp(1rem, 1.35vw, 1.16rem);
    line-height: 1.75;
}

.services-page-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    align-items: center;
    margin-top: 1.8rem;
}

.services-hero-cta,
.services-hero-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 2.95rem;
    font-family: "Poppins", "Segoe UI", system-ui, sans-serif;
    font-size: 0.92rem;
    font-weight: 750;
    line-height: 1;
    text-decoration: none;
    transition: background-color 160ms ease, border-color 160ms ease, color 160ms ease, transform 160ms ease;
}

.services-hero-cta {
    gap: 0.55rem;
    padding: 0.85rem 1.2rem;
    color: var(--brand-navy);
    background: var(--brand-gold);
    border: 1px solid var(--brand-gold);
    border-radius: var(--radius);
}

.services-hero-cta span {
    font-size: 1.2em;
}

.services-hero-link {
    padding: 0.85rem 0.15rem;
    color: var(--brand-navy);
    border-bottom: 2px solid var(--brand-gold);
}

.services-hero-cta:hover,
.services-hero-cta:focus-visible {
    color: var(--brand-navy);
    background: color-mix(in srgb, var(--brand-gold) 84%, var(--brand-navy));
    border-color: color-mix(in srgb, var(--brand-gold) 84%, var(--brand-navy));
    transform: translateY(-1px);
}

.services-hero-link:hover,
.services-hero-link:focus-visible {
    color: var(--brand-navy);
    border-bottom-color: var(--brand-navy);
}

.services-hero-cta:focus-visible,
.services-hero-link:focus-visible {
    outline: 3px solid var(--brand-gold);
    outline-offset: 4px;
}

.services-page-hero-media {
    margin: 0;
    aspect-ratio: 1.32;
    overflow: hidden;
    background: #e8edf8;
    border: 1px solid rgba(9, 9, 95, 0.14);
    border-radius: var(--radius);
    box-shadow: 0 22px 46px rgba(9, 9, 95, 0.12);
}

.services-page-hero-media img,
.services-feature figure img,
.services-delivery-media img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.services-page-hero-media img {
    object-position: center;
}

.services-showcase {
    padding-top: clamp(3.75rem, 7vw, 6.5rem);
    padding-bottom: clamp(3.75rem, 7vw, 6.5rem);
}

.services-showcase-heading {
    max-width: 45rem;
    margin-bottom: clamp(1.8rem, 4vw, 3rem);
}

.services-showcase-heading h2,
.services-delivery-copy h2 {
    margin: 0;
    color: var(--brand-navy);
    font-family: "Poppins", "Segoe UI", system-ui, sans-serif;
    font-size: clamp(2rem, 3.25vw, 3.25rem);
    font-weight: 800;
    letter-spacing: -0.05em;
    line-height: 1.1;
}

.services-showcase-heading p,
.services-delivery-copy > p {
    max-width: 62ch;
    margin: 1rem 0 0;
    color: var(--brand-navy);
    font-size: clamp(0.98rem, 1.2vw, 1.08rem);
    line-height: 1.7;
}

.services-feature-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
    grid-template-areas:
        "design supervision"
        "design management"
        "assessment assessment";
    gap: clamp(1rem, 1.8vw, 1.45rem);
}

.services-feature {
    display: grid;
    min-width: 0;
    overflow: hidden;
    background: #ffffff;
    border: 1px solid rgba(9, 9, 95, 0.16);
    border-radius: var(--radius);
    box-shadow: 0 14px 28px rgba(9, 9, 95, 0.06);
}

.services-feature-design {
    grid-area: design;
    grid-template-rows: minmax(16rem, 1fr) auto;
}

.services-feature-supervision {
    grid-area: supervision;
}

.services-feature-management {
    grid-area: management;
}

.services-feature-supervision,
.services-feature-management {
    grid-template-columns: minmax(9.75rem, 0.7fr) minmax(0, 1fr);
}

.services-feature-assessment {
    grid-area: assessment;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
}

.services-feature figure {
    min-height: 0;
    margin: 0;
    overflow: hidden;
    background: #e8edf8;
}

.services-feature-design figure {
    min-height: 19rem;
}

.services-feature-assessment figure {
    min-height: 16rem;
}

.services-feature-copy {
    align-self: end;
    padding: clamp(1.25rem, 2.3vw, 2rem);
}

.services-feature h3 {
    margin: 0;
    color: var(--brand-navy);
    font-family: "Poppins", "Segoe UI", system-ui, sans-serif;
    font-size: clamp(1.25rem, 1.9vw, 1.65rem);
    font-weight: 780;
    letter-spacing: -0.035em;
    line-height: 1.2;
}

.services-feature p {
    margin: 0.7rem 0 0;
    color: var(--brand-navy);
    font-size: clamp(0.9rem, 1.03vw, 0.98rem);
    line-height: 1.65;
}

.services-delivery {
    padding-top: clamp(3.75rem, 6vw, 5.5rem);
    padding-bottom: clamp(3.75rem, 6vw, 5.5rem);
    background: #f5f8ff;
}

.services-delivery-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
    gap: clamp(2rem, 5vw, 4.8rem);
    align-items: center;
}

.services-delivery-media {
    margin: 0;
    aspect-ratio: 1.3;
    overflow: hidden;
    background: #e8edf8;
    border: 1px solid rgba(9, 9, 95, 0.14);
    border-radius: var(--radius);
}

.services-delivery-list {
    display: grid;
    gap: 0.85rem;
    margin: 1.5rem 0 0;
    padding: 0;
    list-style: none;
}

.services-delivery-list li {
    padding-left: 1rem;
    color: var(--brand-navy);
    border-left: 3px solid var(--brand-gold);
    font-size: clamp(0.9rem, 1.03vw, 0.98rem);
    line-height: 1.55;
}

@media (max-width: 980px) {
    .services-page-hero-grid,
    .services-delivery-grid {
        grid-template-columns: 1fr;
    }

    .services-page-hero-copy {
        max-width: 42rem;
    }

    .services-page-hero-media {
        max-width: 52rem;
    }

    .services-feature-grid {
        grid-template-columns: 1fr 1fr;
        grid-template-areas:
            "design supervision"
            "management assessment";
    }

    .services-feature-design,
    .services-feature-supervision,
    .services-feature-management,
    .services-feature-assessment {
        grid-template-columns: 1fr;
        grid-template-rows: auto 1fr;
    }

    .services-feature figure,
    .services-feature-design figure,
    .services-feature-assessment figure {
        min-height: 0;
        aspect-ratio: 16 / 9;
    }
}

@media (max-width: 640px) {
    .services-page-hero {
        padding-top: 2.35rem;
        padding-bottom: 3.5rem;
    }

    .services-page-hero h1 {
        max-width: 11.5ch;
        font-size: clamp(2.35rem, 12vw, 3.35rem);
    }

    .services-page-hero-actions {
        display: grid;
        grid-template-columns: 1fr;
        gap: 0.8rem;
    }

    .services-hero-cta,
    .services-hero-link {
        width: 100%;
    }

    .services-feature-grid {
        grid-template-columns: 1fr;
        grid-template-areas:
            "design"
            "supervision"
            "management"
            "assessment";
    }

    .services-showcase-heading h2,
    .services-delivery-copy h2 {
        font-size: clamp(1.9rem, 9vw, 2.6rem);
    }
}

@media (prefers-reduced-motion: reduce) {
    .services-hero-cta,
    .services-hero-link {
        transition: none;
    }
}

/* Services page: paired photo and service-detail tiles. */
.page-services .services-feature-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-areas:
        "design supervision"
        "management assessment";
    gap: clamp(1rem, 1.35vw, 1.4rem);
}

.page-services .services-feature,
.page-services .services-feature-design,
.page-services .services-feature-supervision,
.page-services .services-feature-management,
.page-services .services-feature-assessment {
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: auto auto;
    min-height: 0;
    background: #ffffff;
    border: 1px solid rgba(9, 9, 95, 0.12);
    border-radius: var(--radius);
    box-shadow: none;
}

.page-services .services-feature figure,
.page-services .services-feature-design figure,
.page-services .services-feature-assessment figure {
    min-height: 0;
    aspect-ratio: 16 / 9;
    background: #dfe5f2;
}

.page-services .services-feature figure img {
    object-fit: cover;
    object-position: center;
}

.page-services .services-feature-copy {
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: clamp(13.5rem, 16vw, 16.5rem);
    padding: clamp(1.65rem, 2.6vw, 2.6rem);
    color: var(--brand-navy);
    background: #ffffff;
}

.page-services .services-feature h3 {
    color: var(--brand-navy);
    font-size: clamp(1.35rem, 1.85vw, 1.75rem);
    font-weight: 750;
    letter-spacing: -0.04em;
    line-height: 1.18;
}

.page-services .services-feature p {
    max-width: none;
    margin-top: 1rem;
    color: rgba(9, 9, 95, 0.76);
    font-size: clamp(0.95rem, 1.06vw, 1.06rem);
    line-height: 1.6;
}

.page-services .services-feature-link,
.services-regulatory-support a {
    display: inline-flex;
    gap: 0.45rem;
    align-items: center;
    width: fit-content;
    margin-top: 1.3rem;
    color: #078f3d;
    font-size: 0.76rem;
    font-weight: 760;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.page-services .services-feature-link:hover,
.page-services .services-feature-link:focus-visible,
.services-regulatory-support a:hover,
.services-regulatory-support a:focus-visible {
    color: #09095F;
}

.services-regulatory-support {
    padding: clamp(4rem, 8vw, 7rem) 0;
    background: linear-gradient(130deg, rgba(50, 182, 103, 0.11), transparent 48%), #ffffff;
    border-top: 1px solid rgba(9, 9, 95, 0.12);
}

.services-regulatory-support-heading {
    max-width: 47rem;
}

.services-regulatory-support-heading > p:first-child {
    margin: 0 0 0.75rem;
    color: #078f3d;
    font-size: 0.7rem;
    font-weight: 760;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.services-regulatory-support-heading h2 {
    max-width: 17ch;
    margin: 0;
    color: #09095F;
    font-size: clamp(2rem, 3.6vw, 3.8rem);
    font-weight: 780;
    letter-spacing: -0.055em;
    line-height: 1.04;
}

.services-regulatory-support-heading > p:last-child {
    max-width: 62ch;
    margin: 1.1rem 0 0;
    color: rgba(9, 9, 95, 0.74);
    line-height: 1.75;
}

.services-regulatory-support-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0;
    margin-top: clamp(2rem, 4vw, 3.4rem);
    border-top: 1px solid rgba(9, 9, 95, 0.18);
    border-left: 1px solid rgba(9, 9, 95, 0.18);
}

.services-regulatory-support-grid article {
    min-height: 14rem;
    padding: clamp(1.4rem, 3vw, 2.6rem);
    border-right: 1px solid rgba(9, 9, 95, 0.18);
    border-bottom: 1px solid rgba(9, 9, 95, 0.18);
}

.services-regulatory-support-grid h3 {
    margin: 0;
    color: #09095F;
    font-size: clamp(1.25rem, 2vw, 1.65rem);
    font-weight: 750;
    letter-spacing: -0.04em;
    line-height: 1.2;
}

.services-regulatory-support-grid p {
    max-width: 42ch;
    margin: 0.9rem 0 0;
    color: rgba(9, 9, 95, 0.74);
    line-height: 1.7;
}

@media (max-width: 980px) {
    .page-services .services-feature-grid {
        grid-template-columns: 1fr;
        grid-template-areas:
            "design"
            "supervision"
            "management"
            "assessment";
    }

    .page-services .services-feature,
    .page-services .services-feature-design,
    .page-services .services-feature-supervision,
    .page-services .services-feature-management,
    .page-services .services-feature-assessment {
        min-height: clamp(20rem, 48vw, 26rem);
    }

    .services-regulatory-support-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    .page-services .services-feature,
    .page-services .services-feature-design,
    .page-services .services-feature-supervision,
    .page-services .services-feature-management,
    .page-services .services-feature-assessment {
        grid-template-columns: 1fr;
        grid-template-rows: auto 1fr;
        min-height: 0;
    }

    .page-services .services-feature figure,
    .page-services .services-feature-design figure,
    .page-services .services-feature-assessment figure {
        aspect-ratio: 16 / 10;
    }

    .page-services .services-feature-copy {
        min-height: 15rem;
        padding: 1.75rem;
    }
}

/* Services page: cinematic project-site hero. */
.page-services .services-page-hero {
    position: relative;
    display: grid;
    min-height: clamp(34rem, 48vw, 42rem);
    padding: 0;
    overflow: hidden;
    isolation: isolate;
    color: #f7fbfa;
    background: url("assets/services-hero-construction.jpg") center 54% / cover no-repeat;
    border-bottom: 1px solid rgba(247, 251, 250, 0.72);
}

.page-services .services-page-hero::before {
    position: absolute;
    inset: 0;
    z-index: 0;
    background:
        linear-gradient(90deg, rgba(5, 8, 26, 0.28), rgba(5, 8, 26, 0.14) 48%, rgba(5, 8, 26, 0.28)),
        linear-gradient(180deg, rgba(5, 8, 26, 0.08), rgba(5, 8, 26, 0.2));
    content: "";
    pointer-events: none;
}

/* Matches the subtle construction-drawing texture used in the Home hero. */
.page-services .services-page-hero::after {
    position: absolute;
    inset: 0;
    z-index: 0;
    opacity: 0.7;
    background-image:
        linear-gradient(90deg, transparent 0 47%, rgba(247, 251, 250, 0.08) 47.1% 47.25%, transparent 47.35%),
        repeating-linear-gradient(58deg, transparent 0 39px, rgba(247, 251, 250, 0.055) 40px 41px, transparent 42px 84px),
        repeating-linear-gradient(-58deg, transparent 0 39px, rgba(247, 251, 250, 0.055) 40px 41px, transparent 42px 84px);
    content: "";
    pointer-events: none;
}

.page-services .services-page-hero-shade {
    position: relative;
    z-index: 1;
    display: grid;
    min-height: inherit;
    place-items: center;
    padding: clamp(3.75rem, 7vw, 5.5rem) 0;
}

.page-services .services-page-hero-copy {
    max-width: 72rem;
    padding: 0 clamp(1.25rem, 4vw, 3.5rem);
    text-align: center;
}

.page-services .services-page-hero-eyebrow {
    margin: 0 0 0.85rem;
    padding: 0;
    color: var(--brand-navy);
    border: 0;
    font-size: clamp(0.72rem, 0.95vw, 0.86rem);
    font-weight: 650;
    letter-spacing: 0.14em;
    text-shadow: 0 1px 10px rgba(247, 251, 250, 0.78);
}

.page-services .services-page-hero-eyebrow span {
    display: inline-block;
}

.page-services .services-page-hero-eyebrow span + span {
    margin-left: 0.42em;
}

.page-services .services-page-hero h1 {
    max-width: none;
    margin: 0;
    color: #f7fbfa;
    font-size: clamp(2.5rem, 5.2vw, 4.3rem);
    font-weight: 800;
    letter-spacing: -0.045em;
    line-height: 1.02;
    text-shadow: 0 2px 14px rgba(5, 8, 26, 0.76);
    text-transform: uppercase;
}

.page-services .services-page-hero h1 > span {
    color: var(--brand-gold);
}

.page-services .services-page-hero h1::after {
    display: block;
    width: clamp(2.7rem, 4vw, 4rem);
    height: 3px;
    margin: 0.95rem auto 0;
    background: var(--brand-gold);
    content: "";
}

.page-services .services-page-hero-copy > p:not(.services-page-hero-eyebrow) {
    max-width: 60ch;
    margin: 1.1rem auto 0;
    color: rgba(247, 251, 250, 0.92);
    font-size: clamp(0.92rem, 1.15vw, 1.05rem);
    line-height: 1.55;
    text-shadow: 0 2px 12px rgba(5, 8, 26, 0.72);
}

.page-services .services-page-hero-scroll {
    position: absolute;
    bottom: clamp(1.25rem, 3vw, 2.2rem);
    left: 50%;
    display: grid;
    place-items: center;
    transform: translateX(-50%);
    pointer-events: none;
    user-select: none;
}

.page-services .services-page-hero-scroll img {
    display: block;
    width: clamp(2.5rem, 4vw, 3.25rem);
    height: auto;
    filter: drop-shadow(0 2px 7px rgba(5, 8, 26, 0.72));
    transform: rotate(180deg);
}

@media (prefers-reduced-motion: no-preference) {
    .page-services .services-page-hero-scroll {
        animation: services-downward-cue 2.4s ease-in-out infinite;
    }

    @keyframes services-downward-cue {
        0%, 100% {
            opacity: 0.2;
            transform: translate(-50%, 0.45rem);
        }

        35% {
            opacity: 1;
            transform: translate(-50%, 0);
        }

        68% {
            opacity: 0.88;
            transform: translate(-50%, -0.8rem);
        }
    }
}

@media (prefers-reduced-motion: no-preference) {
    .page-services .services-page-hero:not(.is-words-loaded) .services-page-hero-eyebrow span,
    .page-services .services-page-hero:not(.is-words-loaded) .heading-motion-word {
        opacity: 0;
        transform: translate3d(-1.6rem, 0, 0);
    }

    .page-services .services-page-hero.is-words-loaded .services-page-hero-eyebrow span,
    .page-services .services-page-hero.is-words-loaded .heading-motion-word {
        animation: services-hero-word-enter 1600ms cubic-bezier(0.16, 1, 0.3, 1) both;
    }

    .page-services .services-page-hero.is-words-loaded .services-page-hero-eyebrow span:nth-child(1) {
        animation-delay: 0ms;
    }

    .page-services .services-page-hero.is-words-loaded .services-page-hero-eyebrow span:nth-child(2) {
        animation-delay: 220ms;
    }

    .page-services .services-page-hero.is-words-loaded .services-page-hero-eyebrow span:nth-child(3) {
        animation-delay: 440ms;
    }

    .page-services .services-page-hero.is-words-loaded .heading-motion-word:nth-of-type(1) {
        animation-delay: 700ms;
    }

    .page-services .services-page-hero.is-words-loaded .heading-motion-word:nth-of-type(2) {
        animation-delay: 920ms;
    }

    .page-services .services-page-hero.is-words-loaded .heading-motion-word:nth-of-type(3) {
        animation-delay: 1140ms;
    }

    @keyframes services-hero-word-enter {
        from {
            opacity: 0;
            transform: translate3d(-1.6rem, 0, 0);
        }

        to {
            opacity: 1;
            transform: translate3d(0, 0, 0);
        }
    }
}

@media (max-width: 720px) {
    .page-services .services-page-hero {
        min-height: 32rem;
        background-position: 58% center;
    }

    .page-services .services-page-hero-shade {
        padding: 3.8rem 0;
    }

    .page-services .services-page-hero h1 {
        font-size: clamp(2.35rem, 11vw, 3.4rem);
        line-height: 1.06;
    }
}

/* Projects page: project portfolio sourced from the approved company brief. */
.page-projects {
    background: #070744;
    color: #f8fcfb;
}

.page-projects main {
    overflow: hidden;
    background: #070744;
}

.projects-hero,
.projects-intro,
.projects-work,
.projects-cta,
.projects-footer {
    --projects-navy-deep: #070744;
    --projects-navy: #09095F;
    --projects-green: #32B667;
    --projects-gold: #EEBE17;
    --projects-paper: #f8fcfb;
    --projects-muted: rgba(248, 252, 251, 0.72);
}

.projects-hero {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    padding: clamp(4.5rem, 9vw, 8.25rem) 0 clamp(4rem, 8vw, 7rem);
    background:
        linear-gradient(115deg, rgba(50, 182, 103, 0.14), transparent 42%),
        linear-gradient(180deg, #10106d 0%, var(--projects-navy-deep) 75%);
}

.projects-hero::after {
    position: absolute;
    inset: auto -12% -34% 43%;
    z-index: -1;
    width: min(50rem, 58vw);
    aspect-ratio: 1;
    border: 1px solid rgba(238, 190, 23, 0.34);
    border-radius: 50%;
    content: "";
}

.projects-hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.3fr) minmax(16rem, 0.7fr);
    gap: clamp(2.4rem, 7vw, 8.5rem);
    align-items: end;
}

.projects-kicker,
.projects-work-heading > p,
.project-entry-status,
.project-entry-number,
.project-entry-details dt,
.projects-hero-facts dt,
.projects-footer-register {
    margin: 0;
    color: var(--projects-gold);
    font-family: "Poppins", "Segoe UI", sans-serif;
    font-size: 0.71rem;
    font-weight: 700;
    letter-spacing: 0.13em;
    line-height: 1.35;
    text-transform: uppercase;
}

.projects-hero h1 {
    max-width: 14ch;
    margin: 1.15rem 0 1.45rem;
    color: var(--projects-paper);
    font-size: clamp(2.65rem, 5.25vw, 5.25rem);
    font-weight: 800;
    letter-spacing: -0.065em;
    line-height: 0.97;
}

.projects-hero h1 > span {
    display: block;
    color: var(--projects-green);
}

.projects-hero-summary {
    max-width: 49ch;
    margin: 0;
    color: var(--projects-muted);
    font-size: clamp(0.9rem, 1vw, 1.02rem);
    line-height: 1.75;
}

.projects-hero-facts {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem 2.1rem;
    max-width: 35rem;
    margin: 2.35rem 0 0;
}

.projects-hero-facts div {
    padding-top: 0.85rem;
    border-top: 1px solid rgba(248, 252, 251, 0.24);
}

.projects-hero-facts dt {
    color: rgba(248, 252, 251, 0.62);
}

.projects-hero-facts dd {
    margin: 0.35rem 0 0;
    color: var(--projects-paper);
    font-size: 0.98rem;
    font-weight: 650;
}

.projects-hero-image {
    position: relative;
    width: min(100%, 25rem);
    margin: 0 0 0 auto;
    overflow: hidden;
    background: #121269;
    border: 1px solid rgba(248, 252, 251, 0.25);
    border-radius: 8px;
    box-shadow: 1.4rem 1.4rem 0 rgba(238, 190, 23, 0.88);
}

.projects-hero-image img {
    width: 100%;
    min-height: clamp(20rem, 36vw, 30rem);
    object-fit: cover;
    object-position: center;
}

.projects-intro {
    padding: clamp(4.5rem, 8vw, 7.5rem) 0;
    background: #0c0c52;
}

.projects-intro-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(22rem, 0.95fr);
    gap: clamp(2.5rem, 7vw, 8rem);
    align-items: end;
}

.projects-intro h2,
.projects-work-heading h2,
.projects-cta h2 {
    margin: 0;
    color: var(--projects-paper);
    font-size: clamp(2rem, 3.75vw, 4rem);
    font-weight: 780;
    letter-spacing: -0.05em;
    line-height: 1.06;
}

.projects-intro-copy > p {
    max-width: 58ch;
    margin: 1.35rem 0 0;
    color: var(--projects-muted);
    font-size: 1rem;
    line-height: 1.78;
}

.projects-metrics {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0;
    margin: 0;
    border-top: 1px solid rgba(248, 252, 251, 0.26);
    border-left: 1px solid rgba(248, 252, 251, 0.26);
}

.projects-metrics div {
    min-height: 9rem;
    padding: 1.25rem 1.35rem;
    border-right: 1px solid rgba(248, 252, 251, 0.26);
    border-bottom: 1px solid rgba(248, 252, 251, 0.26);
}

.projects-metrics dt {
    color: var(--projects-gold);
    font-size: clamp(2rem, 3.3vw, 3.35rem);
    font-weight: 800;
    letter-spacing: -0.07em;
    line-height: 1;
}

.projects-metrics dd {
    margin: 0.75rem 0 0;
    color: rgba(248, 252, 251, 0.73);
    font-size: 0.79rem;
    font-weight: 650;
    letter-spacing: 0.04em;
    line-height: 1.45;
    text-transform: uppercase;
}

.projects-work {
    padding: clamp(4.5rem, 8vw, 7.5rem) 0 clamp(4rem, 7vw, 6.5rem);
    background: #070744;
}

.projects-work-heading {
    max-width: 48rem;
    margin: 0 0 clamp(3.5rem, 6vw, 6rem);
}

.projects-work-heading > p {
    margin-bottom: 0.95rem;
    color: var(--projects-green);
}

.project-entry {
    display: grid;
    gap: clamp(1.5rem, 3vw, 3.25rem);
    padding: clamp(3rem, 6vw, 5rem) 0;
    border-top: 1px solid rgba(248, 252, 251, 0.2);
}

.project-entry:last-child {
    border-bottom: 1px solid rgba(248, 252, 251, 0.2);
}

.project-entry-identity,
.project-entry-description,
.project-entry-media,
.project-entry-gallery {
    min-width: 0;
}

.project-entry-number {
    color: var(--projects-green);
    font-size: clamp(1.2rem, 2vw, 1.8rem);
    letter-spacing: -0.04em;
}

.project-entry-status {
    margin-top: 1.5rem;
    color: var(--projects-gold);
}

.project-entry h3 {
    max-width: 12ch;
    margin: 0.7rem 0 0;
    color: var(--projects-paper);
    font-size: clamp(2rem, 3.3vw, 3.65rem);
    font-weight: 780;
    letter-spacing: -0.06em;
    line-height: 1.03;
}

.project-entry-location {
    max-width: 36ch;
    margin: 1rem 0 0;
    color: rgba(248, 252, 251, 0.63);
    font-size: 0.9rem;
    line-height: 1.65;
}

.project-entry-description > p {
    max-width: 51ch;
    margin: 0;
    color: rgba(248, 252, 251, 0.84);
    font-size: clamp(1rem, 1.25vw, 1.14rem);
    line-height: 1.76;
}

.project-entry-details {
    display: grid;
    gap: 0.9rem;
    margin: 1.85rem 0 0;
}

.project-entry-details div {
    display: grid;
    grid-template-columns: minmax(5.5rem, 0.5fr) minmax(0, 1.5fr);
    gap: 1rem;
    padding-top: 0.85rem;
    border-top: 1px solid rgba(248, 252, 251, 0.17);
}

.project-entry-details dt {
    color: var(--projects-green);
    font-size: 0.67rem;
}

.project-entry-details dd {
    margin: 0;
    color: var(--projects-paper);
    font-size: 0.9rem;
    font-weight: 600;
    line-height: 1.5;
}

.project-entry-media,
.project-entry-gallery figure {
    margin: 0;
    overflow: hidden;
    background: #121269;
    border: 1px solid rgba(248, 252, 251, 0.18);
    border-radius: 8px;
}

.project-entry-media img,
.project-entry-gallery img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.project-entry-kisaasi {
    grid-template-columns: minmax(0, 0.9fr) minmax(15rem, 0.62fr) minmax(0, 0.9fr);
    align-items: center;
}

.project-entry-kisaasi .project-entry-media {
    min-height: 28rem;
}

.project-entry-nsambya {
    grid-template-columns: minmax(15rem, 0.68fr) minmax(0, 0.92fr) minmax(0, 0.9fr);
    align-items: center;
}

.project-entry-nsambya .project-entry-media {
    min-height: 30rem;
}

.project-entry-nsasa {
    grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
    align-items: start;
}

.project-entry-nsasa .project-entry-gallery {
    display: grid;
    grid-column: 1 / -1;
    grid-template-columns: minmax(0, 1.18fr) minmax(0, 0.82fr);
    gap: clamp(1rem, 2vw, 1.65rem);
    margin-top: clamp(0.75rem, 2vw, 1.7rem);
}

.project-entry-nsasa .project-entry-gallery figure {
    min-height: clamp(14rem, 25vw, 21rem);
}

.project-entry-kira {
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
    align-items: start;
}

.project-entry-kira .project-entry-gallery {
    display: grid;
    grid-row: span 2;
    grid-template-rows: 1.1fr 0.9fr;
    gap: clamp(1rem, 2vw, 1.65rem);
    min-height: 37rem;
}

.project-entry-kira .project-entry-gallery figure {
    min-height: 0;
}

.project-entry-mulawa {
    grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
    align-items: end;
}

.project-entry-mulawa .project-entry-description {
    align-self: end;
    padding-bottom: 0.55rem;
}

.project-entry-mulawa .project-entry-gallery {
    display: grid;
    grid-column: 1 / -1;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: clamp(1rem, 2vw, 1.65rem);
    margin-top: clamp(0.75rem, 2vw, 1.7rem);
}

.project-entry-mulawa .project-entry-gallery figure {
    min-height: clamp(16rem, 28vw, 25rem);
}

.projects-cta {
    padding: clamp(4.5rem, 8vw, 7.5rem) 0;
    background:
        linear-gradient(130deg, rgba(50, 182, 103, 0.18), transparent 45%),
        #0c0c52;
    border-top: 1px solid rgba(238, 190, 23, 0.5);
}

.projects-cta-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(17rem, 0.62fr);
    gap: clamp(2.4rem, 7vw, 8rem);
    align-items: end;
}

.projects-cta-copy > p {
    max-width: 56ch;
    margin: 1.25rem 0 0;
    color: var(--projects-muted);
    line-height: 1.75;
}

.projects-cta-link {
    display: inline-flex;
    gap: 0.75rem;
    align-items: center;
    margin-top: 2rem;
    padding: 0.9rem 1.15rem;
    color: var(--projects-navy);
    background: var(--projects-gold);
    border: 1px solid var(--projects-gold);
    border-radius: 8px;
    font-weight: 760;
    transition: background-color 180ms ease, border-color 180ms ease, transform 180ms ease;
}

.projects-cta-link:hover,
.projects-cta-link:focus-visible {
    background: var(--projects-green);
    border-color: var(--projects-green);
}

.projects-cta-link:active {
    transform: translateY(1px);
}

.projects-contact-details {
    display: grid;
    gap: 1rem;
    margin: 0;
}

.projects-contact-details > * {
    display: grid;
    gap: 0.2rem;
    padding-top: 1rem;
    color: var(--projects-paper);
    border-top: 1px solid rgba(248, 252, 251, 0.24);
    font-style: normal;
}

.projects-contact-details strong {
    color: var(--projects-gold);
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.projects-contact-details span {
    color: var(--projects-paper);
    font-size: 1rem;
    font-weight: 620;
    line-height: 1.55;
}

.projects-footer {
    padding: 3.5rem 0 1.25rem;
    background: #04042d;
}

.projects-footer-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.25fr) minmax(12rem, 0.5fr) minmax(14rem, 0.7fr);
    gap: clamp(2rem, 6vw, 7rem);
    padding-bottom: 2.5rem;
}

.projects-footer-brand .brand {
    color: var(--projects-paper);
}

.projects-footer-brand > p {
    max-width: 40ch;
    margin: 1rem 0 0;
    color: rgba(248, 252, 251, 0.65);
    font-size: 0.88rem;
    line-height: 1.7;
}

.projects-footer-links,
.projects-footer-register {
    display: grid;
    align-content: start;
    gap: 0.65rem;
}

.projects-footer-links a {
    color: var(--projects-paper);
    font-size: 0.9rem;
    font-weight: 600;
    transition: color 180ms ease;
}

.projects-footer-links a:hover,
.projects-footer-links a:focus-visible {
    color: var(--projects-gold);
}

.projects-footer-register {
    color: rgba(248, 252, 251, 0.7);
    font-size: 0.65rem;
    line-height: 1.55;
}

.projects-footer-bottom {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    padding-top: 1.2rem;
    border-top: 1px solid rgba(248, 252, 251, 0.16);
    color: rgba(248, 252, 251, 0.55);
    font-size: 0.76rem;
}

.projects-footer-bottom p {
    margin: 0;
}

@media (max-width: 1040px) {
    .projects-hero-grid,
    .projects-intro-grid,
    .projects-cta-grid,
    .project-entry-kisaasi,
    .project-entry-nsambya {
        grid-template-columns: minmax(0, 1fr) minmax(16rem, 0.72fr);
    }

    .project-entry-kisaasi .project-entry-description,
    .project-entry-nsambya .project-entry-description {
        grid-column: 1 / -1;
    }

    .project-entry-kisaasi .project-entry-media,
    .project-entry-nsambya .project-entry-media {
        min-height: 25rem;
    }

    .projects-footer-grid {
        grid-template-columns: minmax(0, 1fr) minmax(11rem, 0.45fr);
    }

    .projects-footer-register {
        grid-column: 1 / -1;
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 760px) {
    .projects-hero,
    .projects-intro,
    .projects-work,
    .projects-cta {
        padding-block: 4.25rem;
    }

    .projects-hero-grid,
    .projects-intro-grid,
    .projects-cta-grid,
    .project-entry-kisaasi,
    .project-entry-nsambya,
    .project-entry-nsasa,
    .project-entry-kira,
    .project-entry-mulawa,
    .projects-footer-grid {
        grid-template-columns: 1fr;
    }

    .projects-hero-image {
        width: min(100%, 27rem);
        margin: 0;
    }

    .projects-hero-image img {
        min-height: 22rem;
    }

    .projects-metrics {
        max-width: 32rem;
    }

    .project-entry {
        padding-block: 3.4rem;
    }

    .project-entry h3 {
        max-width: 15ch;
    }

    .project-entry-kisaasi .project-entry-media,
    .project-entry-nsambya .project-entry-media {
        min-height: 23rem;
    }

    .project-entry-nsasa .project-entry-gallery,
    .project-entry-kira .project-entry-gallery,
    .project-entry-mulawa .project-entry-gallery {
        grid-column: auto;
        grid-template-columns: 1fr;
        grid-row: auto;
        min-height: 0;
        margin-top: 0;
    }

    .project-entry-nsasa .project-entry-gallery figure,
    .project-entry-kira .project-entry-gallery figure,
    .project-entry-mulawa .project-entry-gallery figure {
        min-height: 17rem;
    }

    .projects-footer-register {
        grid-column: auto;
        grid-template-columns: 1fr;
    }
}

@media (max-width: 520px) {
    .projects-hero h1 {
        font-size: clamp(2.35rem, 11vw, 3.1rem);
    }

    .projects-hero-facts,
    .projects-metrics {
        grid-template-columns: 1fr;
    }

    .projects-metrics div {
        min-height: 0;
    }

    .project-entry-details div {
        grid-template-columns: 1fr;
        gap: 0.3rem;
    }

    .projects-footer-bottom {
        display: grid;
    }
}

/* Projects page - white company palette. */
.page-projects,
.page-projects main {
    background: #ffffff;
    color: #09095F;
}

.projects-hero,
.projects-intro,
.projects-work,
.projects-cta,
.projects-footer {
    --projects-paper: #09095F;
    --projects-muted: rgba(9, 9, 95, 0.72);
    background: #ffffff;
}

.projects-hero {
    background:
        linear-gradient(115deg, rgba(50, 182, 103, 0.12), transparent 42%),
        #ffffff;
}

.projects-intro,
.projects-cta {
    background:
        linear-gradient(130deg, rgba(50, 182, 103, 0.08), transparent 45%),
        #ffffff;
}

.projects-hero-facts div,
.projects-metrics,
.projects-metrics div,
.project-entry,
.project-entry:last-child,
.projects-contact-details > * {
    border-color: rgba(9, 9, 95, 0.2);
}

.projects-hero-facts dt {
    color: rgba(9, 9, 95, 0.62);
}

.projects-hero-image,
.project-entry-media,
.project-entry-gallery figure {
    background: #f7fbfa;
    border-color: rgba(9, 9, 95, 0.2);
}

.projects-metrics dd,
.project-entry-location,
.project-entry-description > p {
    color: rgba(9, 9, 95, 0.72);
}

.projects-footer {
    border-top: 1px solid rgba(9, 9, 95, 0.2);
}

.projects-footer-brand > p,
.projects-footer-register,
.projects-footer-bottom {
    color: rgba(9, 9, 95, 0.7);
}

.projects-footer-bottom {
    border-top-color: rgba(9, 9, 95, 0.16);
}

/* Project listing cards and individual project pages. */
.projects-card-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: clamp(1rem, 1.8vw, 1.5rem);
}

.project-card {
    display: flex;
    flex-direction: column;
    min-width: 0;
    overflow: hidden;
    background: #ffffff;
    border: 1px solid rgba(9, 9, 95, 0.18);
    border-radius: 8px;
    box-shadow: 0 0.65rem 1.6rem rgba(9, 9, 95, 0.07);
}

.project-card-image {
    display: block;
    aspect-ratio: 1.08 / 1;
    margin: 0.6rem 0.6rem 0;
    overflow: hidden;
    background: #eff7f1;
}

.project-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 280ms ease;
}

.project-card:hover .project-card-image img,
.project-card:focus-within .project-card-image img {
    transform: scale(1.045);
}

.project-card-content {
    display: flex;
    flex: 1;
    flex-direction: column;
    align-items: flex-start;
    padding: 1.05rem 1rem 1rem;
}

.project-card-status {
    margin: 0 0 0.6rem;
    color: #078f3d;
    font-size: 0.66rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    line-height: 1.3;
    text-transform: uppercase;
}

.project-card h3 {
    margin: 0;
    color: #09095F;
    font-size: clamp(1.05rem, 1.35vw, 1.36rem);
    font-weight: 650;
    letter-spacing: -0.035em;
    line-height: 1.22;
}

.project-card-link {
    display: inline-flex;
    gap: 0.45rem;
    align-items: center;
    margin-top: auto;
    padding: 0.65rem 0.75rem;
    color: #09095F;
    border: 1px solid #09095F;
    border-radius: 0.35rem;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.035em;
    line-height: 1.2;
    text-transform: uppercase;
    transition: background-color 180ms ease, border-color 180ms ease, color 180ms ease;
}

.project-card-link:hover,
.project-card-link:focus-visible {
    color: #09095F;
    background: #EEBE17;
    border-color: #EEBE17;
}

.page-project-detail {
    background: #ffffff;
    color: #09095F;
}

.project-detail-hero,
.project-detail-overview,
.project-detail-cta {
    --projects-paper: #09095F;
    --projects-muted: rgba(9, 9, 95, 0.72);
    background: #ffffff;
}

.project-detail-hero {
    padding: clamp(3.25rem, 7vw, 6.5rem) 0 clamp(3rem, 6vw, 5.5rem);
    background: linear-gradient(120deg, rgba(50, 182, 103, 0.12), transparent 46%), #ffffff;
}

.project-back-link {
    display: inline-flex;
    gap: 0.45rem;
    align-items: center;
    color: #078f3d;
    font-size: 0.76rem;
    font-weight: 750;
    letter-spacing: 0.075em;
    text-transform: uppercase;
}

.project-back-link:hover,
.project-back-link:focus-visible {
    color: #09095F;
}

.project-detail-hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(17rem, 0.72fr);
    gap: clamp(2rem, 7vw, 7rem);
    align-items: end;
    margin-top: clamp(2rem, 5vw, 4.5rem);
}

.project-detail-kicker {
    margin: 0;
    color: #078f3d;
    font-size: 0.72rem;
    font-weight: 750;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.project-detail-hero h1 {
    max-width: 12ch;
    margin: 0.85rem 0 0;
    color: #09095F;
    font-size: clamp(2.4rem, 4.8vw, 5rem);
    font-weight: 800;
    letter-spacing: -0.06em;
    line-height: 0.98;
}

.project-detail-summary {
    max-width: 56ch;
    margin: 1.2rem 0 0;
    color: rgba(9, 9, 95, 0.72);
    font-size: clamp(0.92rem, 1.1vw, 1.05rem);
    line-height: 1.75;
}

.project-detail-hero-image {
    margin: 0;
    overflow: hidden;
    border: 1px solid rgba(9, 9, 95, 0.2);
    border-radius: 8px;
    box-shadow: 1rem 1rem 0 rgba(238, 190, 23, 0.8);
}

.project-detail-hero-image img {
    display: block;
    width: 100%;
    min-height: clamp(19rem, 31vw, 29rem);
    object-fit: cover;
}

.project-detail-overview {
    padding: clamp(3.75rem, 7vw, 6.25rem) 0;
    border-top: 1px solid rgba(9, 9, 95, 0.16);
}

.project-detail-grid {
    display: grid;
    grid-template-columns: minmax(0, 0.92fr) minmax(17rem, 1.08fr);
    gap: clamp(2rem, 7vw, 7.5rem);
}

.project-detail-grid h2 {
    max-width: 12ch;
    margin: 0;
    color: #09095F;
    font-size: clamp(1.9rem, 3.3vw, 3.45rem);
    font-weight: 780;
    letter-spacing: -0.055em;
    line-height: 1.06;
}

.project-detail-copy > p {
    margin: 0;
    color: rgba(9, 9, 95, 0.72);
    font-size: 1rem;
    line-height: 1.8;
}

.project-detail-facts {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0;
    margin: 2rem 0 0;
    border-top: 1px solid rgba(9, 9, 95, 0.18);
    border-left: 1px solid rgba(9, 9, 95, 0.18);
}

.project-detail-facts div {
    min-height: 6.75rem;
    padding: 1rem 1.05rem;
    border-right: 1px solid rgba(9, 9, 95, 0.18);
    border-bottom: 1px solid rgba(9, 9, 95, 0.18);
}

.project-detail-facts dt {
    color: #078f3d;
    font-size: 0.66rem;
    font-weight: 750;
    letter-spacing: 0.11em;
    text-transform: uppercase;
}

.project-detail-facts dd {
    margin: 0.5rem 0 0;
    color: #09095F;
    font-size: 0.9rem;
    font-weight: 650;
    line-height: 1.5;
}

.project-detail-gallery {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: clamp(1rem, 2vw, 1.5rem);
    margin-top: clamp(2.5rem, 5vw, 4.5rem);
}

.project-detail-gallery figure {
    min-height: clamp(15rem, 28vw, 24rem);
    margin: 0;
    overflow: hidden;
    background: #eff7f1;
    border: 1px solid rgba(9, 9, 95, 0.18);
    border-radius: 8px;
}

.project-detail-gallery img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.project-detail-cta {
    padding: clamp(3.75rem, 7vw, 6.25rem) 0;
    background: linear-gradient(130deg, rgba(50, 182, 103, 0.1), transparent 45%), #ffffff;
    border-top: 1px solid rgba(9, 9, 95, 0.16);
}

.project-detail-cta h2 {
    max-width: 18ch;
    margin: 0;
    color: #09095F;
    font-size: clamp(1.9rem, 3.3vw, 3.4rem);
    font-weight: 780;
    letter-spacing: -0.055em;
    line-height: 1.06;
}

.project-detail-cta p {
    max-width: 58ch;
    margin: 1rem 0 1.7rem;
    color: rgba(9, 9, 95, 0.72);
    line-height: 1.75;
}

/* Focused service pages: SEO landing pages with real service guidance. */
.page-service-detail .project-detail-hero h1 {
    max-width: 15ch;
}

.service-detail-process,
.service-detail-faq {
    padding: clamp(3.75rem, 7vw, 6.25rem) 0;
    background: #ffffff;
    border-top: 1px solid rgba(9, 9, 95, 0.16);
}

.service-detail-heading {
    max-width: 45rem;
}

.service-detail-heading > p {
    margin: 0 0 0.75rem;
    color: #078f3d;
    font-size: 0.7rem;
    font-weight: 760;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.service-detail-heading h2 {
    max-width: 16ch;
    margin: 0;
    color: #09095F;
    font-size: clamp(1.9rem, 3.3vw, 3.45rem);
    font-weight: 780;
    letter-spacing: -0.055em;
    line-height: 1.06;
}

.service-detail-steps {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0;
    margin: clamp(2rem, 4vw, 3.25rem) 0 0;
    padding: 0;
    list-style: none;
    border-top: 1px solid rgba(9, 9, 95, 0.18);
    border-left: 1px solid rgba(9, 9, 95, 0.18);
}

.service-detail-steps li {
    min-height: 14rem;
    padding: clamp(1.25rem, 2.2vw, 2rem);
    border-right: 1px solid rgba(9, 9, 95, 0.18);
    border-bottom: 1px solid rgba(9, 9, 95, 0.18);
}

.service-detail-steps strong {
    display: block;
    color: #09095F;
    font-size: 1.12rem;
    font-weight: 760;
    line-height: 1.25;
}

.service-detail-steps p {
    margin: 0.9rem 0 0;
    color: rgba(9, 9, 95, 0.72);
    font-size: 0.94rem;
    line-height: 1.72;
}

.service-detail-faq {
    background: linear-gradient(130deg, rgba(50, 182, 103, 0.09), transparent 46%), #ffffff;
}

.service-detail-faq-list {
    max-width: 58rem;
    margin-top: clamp(2rem, 4vw, 3.25rem);
    border-top: 1px solid rgba(9, 9, 95, 0.18);
}

.service-detail-faq-list details {
    border-bottom: 1px solid rgba(9, 9, 95, 0.18);
}

.service-detail-faq-list summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1.2rem 0;
    color: #09095F;
    font-weight: 700;
    cursor: pointer;
    list-style: none;
}

.service-detail-faq-list summary::-webkit-details-marker {
    display: none;
}

.service-detail-faq-list summary::after {
    content: "+";
    flex: 0 0 auto;
    color: #078f3d;
    font-size: 1.35rem;
    line-height: 1;
}

.service-detail-faq-list details[open] summary::after {
    content: "−";
}

.service-detail-faq-list p {
    max-width: 66ch;
    margin: 0 0 1.3rem;
    color: rgba(9, 9, 95, 0.72);
    font-size: 0.95rem;
    line-height: 1.75;
}

@media (max-width: 1080px) {
    .projects-card-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 760px) {
    .projects-card-grid,
    .project-detail-hero-grid,
    .project-detail-grid,
    .service-detail-steps {
        grid-template-columns: 1fr;
    }

    .project-detail-hero-image {
        width: min(100%, 30rem);
        margin-left: 0;
    }
}

@media (max-width: 540px) {
    .projects-card-grid,
    .project-detail-gallery,
    .project-detail-facts {
        grid-template-columns: 1fr;
    }
}

/* Projects hero: editorial layout with a wide building visual and metric strip. */
.projects-hero {
    padding: clamp(3rem, 5vw, 5rem) 0 clamp(2.5rem, 4vw, 4rem);
    background: #ffffff;
}

.projects-hero::after {
    display: none;
}

.projects-hero-grid {
    grid-template-columns: minmax(0, 0.86fr) minmax(27rem, 1.14fr);
    gap: clamp(1.5rem, 4vw, 5rem);
    min-height: clamp(28rem, 38vw, 37rem);
    align-items: center;
}

.projects-hero-copy {
    position: relative;
    z-index: 1;
    padding: clamp(1rem, 3vw, 3rem) 0;
}

.projects-kicker {
    display: inline-grid;
    gap: 0.75rem;
    color: #EEBE17;
    font-size: 0.76rem;
}

.projects-kicker::after {
    width: 3rem;
    height: 3px;
    background: #EEBE17;
    content: "";
}

.projects-hero h1 {
    max-width: 10.5ch;
    margin: 1.65rem 0 1.35rem;
    color: #00a154;
    font-size: clamp(3rem, 5.45vw, 5.8rem);
    font-weight: 800;
    letter-spacing: -0.075em;
    line-height: 0.98;
}

.projects-hero h1 > span {
    color: inherit;
}

.projects-hero-summary {
    max-width: 48ch;
    color: #09095F;
    font-size: clamp(0.95rem, 1.15vw, 1.12rem);
    font-weight: 500;
    line-height: 1.62;
}

.projects-hero-image {
    align-self: stretch;
    width: 100%;
    margin: 0;
    overflow: visible;
    background: transparent;
    border: 0;
    border-radius: 0;
    box-shadow: none;
}

.projects-hero-image img {
    width: 100%;
    height: 100%;
    min-height: 0;
    object-fit: contain;
    object-position: right center;
    transform: scaleX(1.34);
    transform-origin: right center;
}

.projects-hero-facts {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0;
    max-width: none;
    margin: clamp(-1.5rem, -1vw, -0.5rem) 0 0;
    overflow: hidden;
    background: #ffffff;
    border: 1px solid rgba(9, 9, 95, 0.14);
    border-radius: 1rem;
    box-shadow: 0 0.85rem 2rem rgba(9, 9, 95, 0.1);
}

.projects-hero-facts > div {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: clamp(0.65rem, 1.3vw, 1.2rem);
    align-items: center;
    min-height: 8.5rem;
    padding: clamp(1rem, 1.8vw, 1.55rem);
    border: 0;
    border-left: 1px solid rgba(9, 9, 95, 0.14);
}

.projects-hero-facts > div:first-child {
    border-left: 0;
}

.projects-metric-icon {
    display: grid;
    width: clamp(3.35rem, 4.6vw, 4.65rem);
    aspect-ratio: 1;
    place-items: center;
    color: #09095F;
    background: #f3f4fa;
    border-radius: 50%;
    font-size: clamp(1.65rem, 2.5vw, 2.35rem);
}

.projects-hero-facts .projects-metric-copy {
    display: block;
    min-height: 0;
    padding: 0;
    border: 0;
}

.projects-hero-facts dt {
    color: #EEBE17;
    font-size: clamp(1.9rem, 3.3vw, 3.25rem);
    font-weight: 800;
    letter-spacing: -0.075em;
    line-height: 0.95;
}

.projects-hero-facts dd {
    margin: 0.5rem 0 0;
    color: #09095F;
    font-size: clamp(0.58rem, 0.72vw, 0.72rem);
    font-weight: 750;
    letter-spacing: 0.055em;
    line-height: 1.35;
    text-transform: uppercase;
}

@media (max-width: 980px) {
    .projects-hero-grid {
        grid-template-columns: minmax(0, 0.95fr) minmax(20rem, 1.05fr);
        min-height: 0;
    }

    .projects-hero-facts > div {
        min-height: 7.5rem;
    }
}

@media (max-width: 760px) {
    .projects-hero {
        padding-top: 2.5rem;
    }

    .projects-hero-grid {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .projects-hero-copy {
        padding: 0;
    }

    .projects-hero h1 {
        max-width: 11.5ch;
        font-size: clamp(2.7rem, 12vw, 4.5rem);
    }

    .projects-hero-image {
        width: min(122%, 39rem);
        margin: -0.5rem -11% -0.5rem auto;
    }

    .projects-hero-image img {
        transform: scaleX(1.14);
    }

    .projects-hero-facts {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        margin-top: 0.5rem;
        border-radius: 0.75rem;
    }

    .projects-hero-facts > div:nth-child(odd) {
        border-left: 0;
    }

    .projects-hero-facts > div:nth-child(n + 3) {
        border-top: 1px solid rgba(9, 9, 95, 0.14);
    }
}

@media (max-width: 420px) {
    .projects-hero-facts > div {
        gap: 0.6rem;
        min-height: 6.5rem;
        padding: 0.85rem 0.7rem;
    }

    .projects-metric-icon {
        width: 2.75rem;
        font-size: 1.45rem;
    }
}

/* The Projects building is a full-bleed hero background behind the content. */
.projects-hero::before {
    position: absolute;
    inset: 0;
    z-index: 0;
    background-image: url("assets/projects/hero-section-high-res.png");
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    content: "";
    pointer-events: none;
}

.projects-hero-grid {
    grid-template-columns: 1fr;
}

.projects-hero-copy,
.projects-hero-facts {
    position: relative;
}

.projects-hero-copy {
    z-index: 1;
    max-width: 42rem;
    margin-inline: auto;
    text-align: center;
}

.projects-hero h1 {
    color: #09095F;
    max-width: none;
    margin-inline: auto;
    font-size: clamp(1.8rem, 3.35vw, 3.6rem);
    text-align: center;
    text-shadow: 0 0.08rem 0.8rem rgba(255, 255, 255, 0.7);
}

.projects-hero h1 > span {
    display: block;
    color: #09095F;
    white-space: nowrap;
}

.projects-hero-summary {
    color: #09095F;
    margin-inline: auto;
    text-align: center;
    text-shadow: 0 0.08rem 0.75rem rgba(255, 255, 255, 0.75);
}

@media (max-width: 760px) {
    .projects-hero::before {
        inset: 0;
        opacity: 1;
        background-position: 62% center;
        background-size: cover;
    }

    .projects-hero-grid {
        grid-template-columns: 1fr;
    }

    .projects-hero h1 {
        font-size: clamp(1.2rem, 5.5vw, 2.5rem);
    }

    .projects-hero h1 > span {
        white-space: nowrap;
    }
}

/* Final responsive baseline: applies consistently to every page and viewport. */
.site-header {
    position: fixed !important;
    inset: 0 0 auto;
    z-index: 2500;
    width: 100%;
}

body {
    min-width: 0;
    padding-top: var(--site-header-offset);
}

main,
main > section,
.container,
[class*="-grid"],
[class*="-layout"],
[class*="-card"],
[class*="-copy"],
[class*="-content"] {
    min-width: 0;
}

p,
h1,
h2,
h3,
h4,
h5,
h6,
a,
li,
dd {
    overflow-wrap: anywhere;
}

@media (max-width: 860px) {
    :root {
        --site-header-offset: 7.6rem;
    }

    .site-header .nav-wrap,
    .site-header .brand,
    .site-header .brand > span {
        min-width: 0;
    }

    .site-header .main-nav {
        max-height: calc(100dvh - var(--site-header-offset) - 0.85rem);
        overflow-y: auto;
        overscroll-behavior: contain;
        -webkit-overflow-scrolling: touch;
    }
}

@media (max-width: 640px) {
    :root {
        --page-side-gap: 1rem;
    }

    .site-header .nav-wrap {
        gap: 0.5rem;
        padding-inline: 0.55rem;
    }

    .site-header .brand {
        gap: 0.5rem;
    }

    .site-header .brand strong {
        font-size: clamp(1.1rem, 5.5vw, 1.3rem);
    }

    .site-header .brand small {
        display: block;
        max-width: 14rem;
        font-size: 0.42rem;
        line-height: 1.1;
    }

    .site-header .main-nav {
        gap: 0.4rem;
        padding: 0.55rem;
    }

    .site-header .nav-link {
        min-height: 2.7rem;
        padding: 0.5rem 0.35rem;
        font-size: 0.76rem;
    }

    .home-service-compact-grid,
    .home-objectives-grid,
    .home-direction-cards,
    .home-values-grid,
    .project-detail-facts,
    .project-detail-gallery {
        grid-template-columns: minmax(0, 1fr);
    }

    .home-service-compact-card > header {
        grid-template-columns: 2.8rem minmax(0, 1fr) auto;
    }

    .home-service-icon {
        width: 2.8rem;
        height: 2.8rem;
    }

    .home-service-icon svg {
        width: 1.7rem;
        height: 1.7rem;
    }

    .whatsapp-button {
        right: 0.85rem;
        bottom: 0.85rem;
    }
}

@media (max-width: 360px) {
    .site-header .nav-wrap {
        min-height: 4.15rem;
    }

    .site-header .brand-mark {
        width: 2.45rem;
        height: 2.45rem;
    }

    .site-header .brand strong {
        font-size: 1.06rem;
    }

    .site-header .brand small {
        font-size: 0.38rem;
    }

    .site-header .main-nav {
        grid-template-columns: minmax(0, 1fr);
    }
}

/* Homepage service catalogue. */
.home-services {
    padding: clamp(3rem, 6vw, 5rem) 0;
    background: #f3f6fb;
    border-block: 0;
}

.home-services .stack-heading {
    margin-bottom: clamp(1.6rem, 3vw, 2.4rem);
    text-align: center;
}

.home-services .stack-heading h2 {
    color: var(--brand-navy);
    font-size: clamp(1.9rem, 3vw, 2.6rem);
}

.home-service-compact-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    max-width: none;
    gap: clamp(0.9rem, 1.6vw, 1.35rem);
    margin: 0 auto;
}

.home-service-compact-card {
    position: relative;
    display: flex;
    flex-direction: column;
    min-height: 380px;
    gap: 0;
    padding: 0.55rem 0.7rem 1rem;
    overflow: hidden;
    background: #ffffff;
    border: 1px solid rgba(9, 9, 95, 0.08);
    border-radius: 16px;
    box-shadow: 0 10px 24px rgba(9, 9, 95, 0.07);
}

.home-service-compact-card::before {
    display: block;
    flex: 0 0 auto;
    height: clamp(12.5rem, 17vw, 15rem);
    background-position: center;
    background-size: cover;
    border-radius: 11px;
    content: "";
}

.home-service-compact-card:nth-child(1)::before {
    background-image: url("assets/structural-design-analysis.png");
}

.home-service-compact-card:nth-child(2)::before {
    background-image: url("assets/construction-supervision-services.jpg");
}

.home-service-compact-card:nth-child(3)::before {
    background-image: url("assets/project-planning-management.png");
}

.home-service-compact-card:nth-child(4)::before {
    background-image: url("assets/structural-integrity-assessment.png");
}

.home-service-compact-card > header {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    align-items: center;
    margin-top: -2.05rem;
    text-align: center;
}

.home-service-icon {
    display: grid;
    width: 4.1rem;
    height: 4.1rem;
    place-items: center;
    color: #078f3d;
    background: #ffffff;
    border: 2px solid #078f3d;
    border-radius: 50%;
    box-shadow: 0 4px 11px rgba(9, 9, 95, 0.13);
    font-size: 1.85rem;
    font-variation-settings: "FILL" 0, "wght" 500, "GRAD" 0, "opsz" 24;
}

.home-service-icon svg {
    width: 1.85rem;
    height: 1.85rem;
}

.home-service-compact-card h3 {
    margin: 0;
    color: var(--brand-navy);
    font-size: clamp(1.1rem, 1.45vw, 1.3rem);
    font-weight: 800;
    letter-spacing: -0.025em;
    line-height: 1.22;
}

.home-service-compact-card > header > b {
    display: none;
}

.home-service-compact-card > p {
    align-self: stretch;
    margin: 0.62rem 0.35rem 0.9rem;
    color: rgba(9, 9, 95, 0.76);
    font-size: clamp(0.84rem, 1vw, 0.95rem);
    line-height: 1.52;
    text-align: center;
}

.home-service-compact-card > footer {
    display: flex;
    justify-content: center;
    margin-top: auto;
    padding-top: 0;
    border-top: 0;
}

.home-service-compact-card > footer .home-service-consult {
    display: none;
}

.home-service-compact-card > footer > a:first-child {
    display: inline-flex;
    gap: 0.35rem;
    align-items: center;
    justify-content: center;
    min-height: 2.15rem;
    padding: 0.42rem 0.78rem;
    color: #ffffff;
    background: #078f3d;
    border-radius: 999px;
    font-size: 0.76rem;
    font-weight: 800;
    line-height: 1;
}

.home-service-compact-card > footer > a:first-child span {
    display: none;
}

.home-service-compact-card:hover,
.home-service-compact-card:focus-within {
    border-color: rgba(7, 143, 61, 0.48);
    box-shadow: 0 16px 30px rgba(9, 9, 95, 0.12);
    transform: translateY(-4px);
}

.home-service-compact-card > footer > a:first-child:hover,
.home-service-compact-card > footer > a:first-child:focus-visible {
    color: #ffffff;
    background: #056f30;
}

@media (max-width: 900px) {
    .home-service-compact-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        max-width: none;
    }
}

@media (max-width: 560px) {
    .home-service-compact-grid {
        grid-template-columns: minmax(0, 1fr);
        max-width: 24rem;
    }

    .home-service-compact-card {
        min-height: 0;
    }

    .home-service-compact-card::before {
        height: 12rem;
    }
}
