:root {
    --ink: #07090d;
    --ink-2: #0c1118;
    --panel: rgba(255, 255, 255, 0.1);
    --panel-strong: rgba(255, 255, 255, 0.16);
    --line: rgba(255, 255, 255, 0.16);
    --line-dark: rgba(9, 13, 18, 0.14);
    --text: #f6f8fb;
    --text-strong: #ffffff;
    --muted: rgba(246, 248, 251, 0.72);
    --body: #d8e0e7;
    --steel: #9aa8b4;
    --gold: #ffc21a;
    --gold-2: #f59b1a;
    --cyan: #7edcea;
    --green: #7bd88f;
    --danger: #ff6b6b;
    --white: #ffffff;
    --shadow: 0 30px 80px rgba(0, 0, 0, 0.32);
    --shadow-soft: 0 20px 48px rgba(0, 0, 0, 0.22);
    --container: 1200px;
    --header-height: 76px;
}

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

html {
    max-width: 100%;
    overflow-x: clip;
    scroll-behavior: smooth;
    background: var(--ink);
}

body {
    margin: 0;
    max-width: 100%;
    color: var(--text);
    background:
        linear-gradient(180deg, #07090d 0%, #10161d 48%, #07090d 100%);
    font-family: Inter, Manrope, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: 1rem;
    line-height: 1.62;
    overflow-x: clip;
    text-rendering: optimizeLegibility;
}

body.nav-open {
    overflow: hidden;
}

img,
picture,
video,
canvas,
svg {
    display: block;
}

img,
video,
canvas,
svg {
    max-width: 100%;
    height: auto;
}

@supports not (overflow: clip) {
    html,
    body {
        overflow-x: hidden;
    }
}

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

button {
    font: inherit;
}

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

::selection {
    color: var(--ink);
    background: var(--gold);
}

.skip-link {
    position: fixed;
    top: 14px;
    left: 14px;
    z-index: 999;
    padding: 10px 14px;
    color: var(--ink);
    background: var(--gold);
    border-radius: 6px;
    font-weight: 900;
    transform: translateY(-140%);
    transition: transform 180ms ease;
}

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

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

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

.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    min-height: var(--header-height);
    background: rgba(7, 9, 13, 0.76);
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(20px);
    transition: background-color 220ms ease, border-color 220ms ease, box-shadow 220ms ease;
}

.site-header.is-scrolled {
    background: rgba(7, 9, 13, 0.92);
    border-color: rgba(255, 194, 26, 0.28);
    box-shadow: 0 20px 54px rgba(0, 0, 0, 0.28);
}

.header-inner {
    width: min(calc(100% - 24px), 1280px);
    min-height: var(--header-height);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    margin-inline: auto;
}

.brand,
.footer-brand {
    display: inline-flex;
    align-items: center;
    min-height: 46px;
}

.brand picture,
.logo-picture {
    display: block;
}

.brand {
    padding: 6px 8px;
    background: linear-gradient(135deg, #ffffff, #f6f8fb);
    border: 1px solid rgba(255, 194, 26, 0.34);
    border-radius: 8px;
    box-shadow: 0 14px 32px rgba(0, 0, 0, 0.22), 0 0 0 1px rgba(255, 255, 255, 0.16) inset;
}

.brand img,
.logo-picture img,
.footer-brand img {
    aspect-ratio: 2068 / 402;
    object-fit: contain;
}

.brand img {
    width: 182px;
    height: auto;
}

.nav-toggle {
    width: 48px;
    height: 48px;
    display: inline-grid;
    place-items: center;
    gap: 4px;
    padding: 12px;
    color: var(--text);
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid var(--line);
    border-radius: 6px;
    cursor: pointer;
}

.nav-toggle span:not(.sr-only) {
    width: 22px;
    height: 2px;
    display: block;
    background: currentColor;
    border-radius: 999px;
    transition: transform 180ms ease, opacity 180ms ease;
}

.nav-open .nav-toggle span:nth-child(1) {
    transform: translateY(6px) rotate(45deg);
}

.nav-open .nav-toggle span:nth-child(2) {
    opacity: 0;
}

.nav-open .nav-toggle span:nth-child(3) {
    transform: translateY(-6px) rotate(-45deg);
}

.primary-nav {
    position: fixed;
    top: calc(var(--header-height) + 10px);
    right: 12px;
    left: 12px;
    display: grid;
    gap: 4px;
    padding: 12px;
    background: rgba(10, 15, 22, 0.96);
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: var(--shadow);
    opacity: 0;
    transform: translateY(-10px);
    visibility: hidden;
    pointer-events: none;
    transition: opacity 180ms ease, transform 180ms ease, visibility 180ms ease;
}

.nav-open .primary-nav {
    opacity: 1;
    transform: translateY(0);
    visibility: visible;
    pointer-events: auto;
}

.primary-nav a,
.footer-nav a {
    min-height: 42px;
    display: inline-flex;
    align-items: center;
    color: var(--muted);
    font-size: 0.92rem;
    font-weight: 800;
}

.primary-nav a {
    position: relative;
    padding: 8px 10px;
    border-radius: 6px;
    overflow: hidden;
}

.primary-nav a:hover,
.primary-nav a.is-active,
.footer-nav a:hover,
.footer-contact a:hover {
    color: var(--text-strong);
    background: rgba(255, 255, 255, 0.08);
}

.primary-nav a::after {
    content: "";
    position: absolute;
    right: 10px;
    bottom: 5px;
    left: 10px;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--gold), transparent);
    transform: scaleX(0);
    transform-origin: center;
    transition: transform 240ms ease;
}

.primary-nav a:hover::after,
.primary-nav a.is-active::after {
    transform: scaleX(1);
}

.header-call {
    display: none;
    min-height: 42px;
    align-items: center;
    justify-content: center;
    padding: 10px 14px;
    color: var(--ink);
    background: var(--gold);
    border-radius: 6px;
    font-size: 0.9rem;
    font-weight: 950;
    box-shadow: 0 12px 28px rgba(255, 194, 26, 0.22);
}

.section {
    position: relative;
    padding: clamp(56px, 8vw, 104px) 0;
    scroll-margin-top: calc(var(--header-height) + 18px);
}

.hero + .section {
    padding-top: clamp(38px, 6vw, 72px);
}

.hero {
    position: relative;
    min-height: calc(100svh - var(--header-height, 76px));
    height: auto;
    display: grid;
    align-items: center;
    padding: clamp(36px, 5vw, 72px) 0 clamp(44px, 6vw, 84px);
    isolation: isolate;
    overflow: hidden;
}

.hero-media,
.hero-media img,
.blueprint-grid {
    position: absolute;
    inset: 0;
}

.hero-media {
    z-index: -4;
}

.hero-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    filter: saturate(0.94) contrast(1.08);
    transform: scale(1.04);
}

.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -3;
    background:
        linear-gradient(90deg, rgba(7, 9, 13, 0.96) 0%, rgba(7, 9, 13, 0.82) 44%, rgba(7, 9, 13, 0.38) 72%, rgba(7, 9, 13, 0.82) 100%),
        linear-gradient(180deg, rgba(7, 9, 13, 0.28) 0%, rgba(7, 9, 13, 0.8) 100%);
}

.blueprint-grid {
    z-index: -2;
    background:
        linear-gradient(90deg, rgba(255, 194, 26, 0.1) 1px, transparent 1px),
        linear-gradient(0deg, rgba(255, 255, 255, 0.07) 1px, transparent 1px);
    background-size: 56px 56px;
    mask-image: linear-gradient(90deg, black 0%, transparent 78%);
    opacity: 0.4;
    animation: grid-slide 16s linear infinite;
}

.hero::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: -1;
    height: 38%;
    background: linear-gradient(180deg, transparent, var(--ink));
}

.hero-glass {
    position: absolute;
    z-index: -1;
    border: 1px solid rgba(255, 255, 255, 0.18);
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.15), rgba(255, 255, 255, 0.03));
    backdrop-filter: blur(18px);
    transform: translate3d(var(--scroll-drift, 0px), 0, 0) skewX(-10deg);
    pointer-events: none;
}

.hero-glass--one {
    top: 18%;
    right: 8%;
    width: 23vw;
    min-width: 210px;
    height: 210px;
    animation: panel-drift 8s ease-in-out infinite;
}

.hero-glass--two {
    right: 26%;
    bottom: 24%;
    width: 18vw;
    min-width: 170px;
    height: 150px;
    animation: panel-drift 9s ease-in-out infinite reverse;
}

.hero-layout {
    display: grid;
    gap: 28px;
    align-items: end;
}

.hero-visual-with-engineer {
    position: relative;
    min-height: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
    gap: 14px;
    margin-top: 30px;
    overflow: visible;
}

.hero-engineer-frame {
    position: relative;
    z-index: 4;
    width: min(92vw, 520px);
    max-width: 640px;
    opacity: 0;
    isolation: isolate;
    pointer-events: none;
    filter: drop-shadow(0 34px 70px rgba(0, 0, 0, 0.55));
    transform: translate3d(42px, 28px, 0) scale(0.96);
    animation: heroEngineerIn 1.1s cubic-bezier(0.2, 0.8, 0.2, 1) 450ms forwards;
}

.hero-engineer-frame::before,
.hero-engineer-frame::after {
    content: "";
    position: absolute;
    pointer-events: none;
}

.hero-engineer-frame::before {
    inset: 10% -8% 2% 4%;
    z-index: 0;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 28px;
    background:
        radial-gradient(circle at 50% 18%, rgba(255, 193, 24, 0.16), transparent 36%),
        linear-gradient(135deg, rgba(255, 255, 255, 0.13), rgba(255, 255, 255, 0.03));
    backdrop-filter: blur(14px);
    opacity: 0.86;
    transform: skewX(-8deg);
}

.hero-engineer-frame::after {
    inset: 14% 8% 8% 18%;
    z-index: -2;
    background: radial-gradient(circle at 62% 32%, rgba(255, 193, 24, 0.22), transparent 45%);
    filter: blur(26px);
}

.hero-engineer-image {
    position: relative;
    z-index: 2;
    display: block;
    width: 100%;
    height: auto;
    object-fit: contain;
    transform-origin: bottom center;
    animation: heroEngineerFloat 7s ease-in-out 1.7s infinite;
}

.hero-identity-card {
    position: relative;
    z-index: 5;
    width: min(100%, 420px);
    margin-inline: auto;
}

.hero-copy {
    min-width: 0;
    max-width: 820px;
}

.eyebrow {
    margin: 0 0 12px;
    color: var(--gold);
    font-size: 0.78rem;
    font-weight: 950;
    line-height: 1.35;
    letter-spacing: 0;
    text-transform: uppercase;
}

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

h1,
h2,
h3 {
    color: var(--text-strong);
    line-height: 1.04;
    letter-spacing: 0;
}

h1 {
    max-width: 820px;
    margin-bottom: 18px;
    font-size: 2.62rem;
    font-weight: 950;
}

h2 {
    margin-bottom: 16px;
    font-size: 2.04rem;
    font-weight: 950;
}

h3 {
    margin-bottom: 10px;
    font-size: 1.08rem;
    font-weight: 900;
}

p {
    color: var(--muted);
}

.hero-lede {
    max-width: 760px;
    margin-bottom: 24px;
    color: rgba(255, 255, 255, 0.82);
    font-size: 1.02rem;
}

.hero-actions,
.contact-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 22px;
}

.btn {
    position: relative;
    min-height: 46px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 11px 15px;
    border: 1px solid transparent;
    border-radius: 6px;
    font-size: 0.92rem;
    font-weight: 900;
    line-height: 1.2;
    overflow-wrap: anywhere;
    overflow: hidden;
    transition: transform 180ms ease, border-color 180ms ease, background-color 180ms ease, box-shadow 180ms ease;
}

.btn::after,
.project-card::after,
.service-card::after,
.technical-frame::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(110deg, transparent 0%, rgba(255, 255, 255, 0.28) 45%, transparent 60%);
    transform: translateX(-120%);
    pointer-events: none;
}

.btn:hover::after,
.project-card:hover::after,
.service-card:hover::after,
.technical-frame:hover::after {
    animation: light-sweep 900ms ease;
}

.btn-primary {
    color: var(--ink);
    background: linear-gradient(135deg, var(--gold), var(--gold-2));
    border-color: rgba(255, 255, 255, 0.24);
    box-shadow: 0 18px 38px rgba(255, 194, 26, 0.24);
}

.btn-ghost {
    color: var(--text);
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(14px);
}

.btn-link {
    color: var(--text);
    background: transparent;
    border-color: rgba(255, 194, 26, 0.34);
    text-decoration: underline;
    text-decoration-color: rgba(255, 194, 26, 0.7);
    text-underline-offset: 4px;
}

.btn:hover,
.header-call:hover {
    transform: translateY(-2px);
}

.hero-badges,
.feature-row {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
}

.hero-badges span,
.feature-row span {
    min-height: 38px;
    display: inline-flex;
    align-items: center;
    padding: 8px 11px;
    color: var(--text);
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 6px;
    font-size: 0.84rem;
    font-weight: 850;
    line-height: 1.25;
    backdrop-filter: blur(12px);
}

.hero-panel,
.stat-card,
.service-card,
.project-card,
.technical-frame,
.people-feature,
.company-proof-grid div,
.execution-media-stack figure,
.trust-visual,
.roof-system,
.credential-badge,
.contact-card {
    background:
        linear-gradient(145deg, rgba(255, 255, 255, 0.14), rgba(255, 255, 255, 0.06));
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 8px;
    box-shadow: var(--shadow-soft);
    backdrop-filter: blur(20px);
}

.hero-panel {
    min-width: 0;
    max-width: 460px;
    padding: 20px;
}

.hero-panel img {
    width: min(100%, 320px);
    padding: 10px 12px;
    margin-bottom: 18px;
    background: linear-gradient(135deg, #ffffff, #f6f8fb);
    border: 1px solid rgba(255, 194, 26, 0.3);
    border-radius: 8px;
    box-shadow: 0 18px 34px rgba(0, 0, 0, 0.22);
}

.hero-panel dl,
.project-card dl {
    display: grid;
    gap: 10px;
    margin: 0;
}

.hero-panel dl div,
.project-card dl div {
    display: grid;
    gap: 2px;
}

.hero-panel dt,
.project-card dt {
    color: rgba(255, 255, 255, 0.54);
    font-size: 0.72rem;
    font-weight: 900;
    line-height: 1.25;
    text-transform: uppercase;
}

.hero-panel dd,
.project-card dd {
    margin: 0;
    color: var(--text-strong);
    font-weight: 820;
    line-height: 1.35;
}

.stat-strip {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    margin-top: 28px;
}

.stat-card {
    min-height: 142px;
    padding: 16px;
    overflow: hidden;
}

.stat-card strong {
    display: block;
    color: var(--gold);
    font-size: 2rem;
    font-weight: 950;
    line-height: 1;
}

.stat-card > span {
    display: block;
    margin-top: 6px;
    color: var(--text-strong);
    font-weight: 900;
    line-height: 1.25;
}

.stat-card small {
    display: block;
    margin-top: 10px;
    color: var(--muted);
    font-size: 0.78rem;
    font-weight: 750;
    line-height: 1.4;
}

.services-section,
.credentials-section {
    background:
        linear-gradient(90deg, rgba(255, 255, 255, 0.055) 1px, transparent 1px),
        linear-gradient(0deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px),
        #0c1118;
    background-size: 44px 44px;
}

.section-heading {
    max-width: 820px;
    margin-bottom: 30px;
}

.section-heading p {
    max-width: 710px;
}

.section-heading--split {
    display: grid;
    gap: 16px;
    max-width: none;
    align-items: end;
}

.service-grid {
    display: grid;
    gap: 14px;
}

.service-card {
    position: relative;
    min-height: 430px;
    overflow: hidden;
    display: grid;
    grid-template-rows: auto 1fr;
    transition: transform 220ms ease, border-color 220ms ease, background-color 220ms ease, box-shadow 220ms ease;
}

.service-card::before,
.project-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(255, 255, 255, 0.055) 1px, transparent 1px),
        linear-gradient(0deg, rgba(255, 194, 26, 0.07) 1px, transparent 1px);
    background-size: 34px 34px;
    opacity: 0.42;
    pointer-events: none;
}

.service-card:hover,
.project-card:hover,
.technical-frame:hover,
.people-feature:hover,
.trust-visual:hover,
.execution-media-stack figure:hover {
    transform: translateY(-6px);
    border-color: rgba(255, 194, 26, 0.42);
    box-shadow: 0 34px 80px rgba(0, 0, 0, 0.36);
}

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

.service-card-media {
    position: relative;
    overflow: hidden;
    aspect-ratio: 16 / 10;
    background: #111820;
}

.service-card-media::after,
.people-feature picture::after,
.trust-visual picture::after,
.execution-media-stack figure::after,
.contact-team-media::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, transparent 46%, rgba(7, 9, 13, 0.7)),
        linear-gradient(90deg, rgba(255, 194, 26, 0.18), transparent 34%);
    pointer-events: none;
}

.service-card-media img,
.people-feature img,
.trust-visual img,
.execution-media-stack img,
.contact-team-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.015);
    transition: transform 620ms ease, filter 620ms ease;
}

.service-card:hover .service-card-media img,
.people-feature:hover img,
.trust-visual:hover img,
.execution-media-stack figure:hover img,
.contact-card:hover .contact-team-media img {
    transform: scale(1.065);
    filter: saturate(1.08) contrast(1.04);
}

.service-card-body {
    display: grid;
    gap: 14px;
    padding: 20px;
}

.service-card-topline {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.service-number {
    width: 44px;
    height: 44px;
    display: grid;
    place-items: center;
    color: var(--ink);
    background: var(--gold);
    border-radius: 6px;
    font-weight: 950;
    box-shadow: 0 0 24px rgba(255, 194, 26, 0.22);
}

.service-kicker {
    min-height: 30px;
    display: inline-flex;
    align-items: center;
    padding: 6px 9px;
    color: var(--gold);
    background: rgba(255, 194, 26, 0.08);
    border: 1px solid rgba(255, 194, 26, 0.2);
    border-radius: 6px;
    font-size: 0.7rem;
    font-weight: 950;
    line-height: 1.15;
    text-transform: uppercase;
}

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

.service-application {
    display: grid;
    gap: 6px;
    padding: 12px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 8px;
}

.service-application span {
    color: var(--gold);
    font-size: 0.7rem;
    font-weight: 950;
    line-height: 1.2;
    text-transform: uppercase;
}

.service-application strong {
    color: var(--text);
    font-size: 0.88rem;
    font-weight: 780;
    line-height: 1.45;
}

.service-action {
    width: fit-content;
    min-height: 38px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--text-strong);
    font-size: 0.84rem;
    font-weight: 950;
    text-decoration: underline;
    text-decoration-color: rgba(255, 194, 26, 0.64);
    text-underline-offset: 5px;
}

.service-action span {
    color: var(--gold);
    transform: translateX(0);
    transition: transform 180ms ease;
}

.service-action:hover span {
    transform: translateX(4px);
}

.company-section {
    overflow: hidden;
    background:
        radial-gradient(circle at 18% 12%, rgba(255, 194, 26, 0.16), transparent 28%),
        linear-gradient(180deg, #10161d 0%, #07090d 100%);
}

.company-layout,
.execution-layout {
    display: grid;
    gap: 28px;
    align-items: center;
}

.company-copy {
    max-width: 700px;
}

.people-feature,
.trust-visual,
.execution-media-stack figure {
    position: relative;
    overflow: hidden;
    margin: 0;
    transition: transform 220ms ease, border-color 220ms ease, box-shadow 220ms ease;
}

.people-feature picture,
.trust-visual picture,
.execution-media-stack picture,
.contact-team-media {
    position: relative;
    display: block;
    overflow: hidden;
    aspect-ratio: 4 / 3;
    background: #111820;
}

.people-feature figcaption,
.trust-visual figcaption {
    position: relative;
    padding: 14px 16px 16px;
    color: var(--muted);
    font-size: 0.86rem;
    font-weight: 780;
    line-height: 1.45;
}

.company-proof-grid {
    display: grid;
    gap: 10px;
    margin-top: 24px;
}

.company-proof-grid div {
    padding: 16px;
}

.company-proof-grid span {
    display: block;
    margin-bottom: 6px;
    color: var(--gold);
    font-size: 0.7rem;
    font-weight: 950;
    line-height: 1.25;
    text-transform: uppercase;
}

.company-proof-grid strong {
    display: block;
    color: var(--text-strong);
    font-size: 0.96rem;
    font-weight: 900;
    line-height: 1.3;
}

.execution-section {
    overflow: hidden;
    background:
        linear-gradient(90deg, rgba(255, 194, 26, 0.12), transparent 46%),
        linear-gradient(180deg, #07090d, #10161d 48%, #07090d);
}

.execution-copy {
    max-width: 680px;
}

.execution-list {
    display: grid;
    gap: 10px;
    padding: 0;
    margin: 24px 0;
    list-style: none;
}

.execution-list li {
    position: relative;
    padding: 12px 12px 12px 34px;
    color: var(--text);
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 8px;
    font-weight: 820;
    line-height: 1.4;
}

.execution-list li::before {
    content: "";
    position: absolute;
    top: 20px;
    left: 14px;
    width: 10px;
    height: 10px;
    background: var(--gold);
    border-radius: 50%;
    box-shadow: 0 0 18px rgba(255, 194, 26, 0.5);
}

.execution-media-stack {
    display: grid;
    gap: 14px;
}

.execution-media-stack figure:nth-child(2) {
    transform: translateX(0);
}

.projects-section {
    background:
        linear-gradient(180deg, #07090d, #121920 42%, #07090d);
}

.filter-bar {
    position: relative;
    display: flex;
    gap: 8px;
    padding: 8px;
    margin-bottom: 24px;
    overflow-x: auto;
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid rgba(255, 255, 255, 0.13);
    border-radius: 8px;
    scrollbar-width: thin;
}

.filter-button {
    min-height: 40px;
    flex: 0 0 auto;
    padding: 8px 12px;
    color: var(--muted);
    background: transparent;
    border: 1px solid transparent;
    border-radius: 6px;
    font-size: 0.84rem;
    font-weight: 850;
    cursor: pointer;
}

.filter-button:hover,
.filter-button.is-active {
    color: var(--ink);
    background: var(--gold);
    border-color: rgba(255, 255, 255, 0.28);
}

.project-grid {
    display: grid;
    gap: 16px;
}

.project-card {
    position: relative;
    overflow: hidden;
    transition: transform 180ms ease, border-color 180ms ease, opacity 180ms ease;
}

.project-card[hidden] {
    display: none;
}

.project-card picture {
    position: relative;
    overflow: hidden;
    aspect-ratio: 16 / 10;
    background: #111820;
}

.project-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 500ms ease, filter 500ms ease;
}

.project-card:hover img {
    transform: scale(1.04);
    filter: saturate(1.08) contrast(1.04);
}

.project-body {
    position: relative;
    z-index: 1;
    display: grid;
    gap: 14px;
    padding: 18px;
}

.category-badge {
    width: fit-content;
    display: inline-flex;
    min-height: 30px;
    align-items: center;
    padding: 6px 9px;
    color: var(--ink);
    background: var(--gold);
    border-radius: 6px;
    font-size: 0.72rem;
    font-weight: 950;
    line-height: 1.2;
}

.project-card h3 {
    margin-bottom: 0;
}

.view-work {
    width: fit-content;
    color: var(--gold);
    font-size: 0.84rem;
    font-weight: 900;
    opacity: 0;
    transform: translateY(8px);
    transition: opacity 180ms ease, transform 180ms ease;
}

.project-card:hover .view-work {
    opacity: 1;
    transform: translateY(0);
}

.upvc-section {
    overflow: hidden;
    background:
        linear-gradient(90deg, rgba(255, 194, 26, 0.12), transparent 44%),
        linear-gradient(180deg, #10161d 0%, #071015 100%);
}

.upvc-layout,
.contact-layout,
.credentials-layout {
    display: grid;
    gap: 28px;
    align-items: center;
}

.upvc-copy {
    max-width: 650px;
}

.technical-frame {
    position: relative;
    overflow: hidden;
}

.technical-frame picture {
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: #101820;
}

.technical-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 500ms ease;
}

.technical-frame:hover img {
    transform: scale(1.025);
}

.roof-system {
    display: grid;
    gap: 24px;
    padding: 18px;
    margin-top: 24px;
}

.layer-stack {
    display: grid;
    gap: 10px;
    perspective: 900px;
}

.layer-stack span {
    min-height: 46px;
    display: flex;
    align-items: center;
    padding: 10px 14px;
    color: var(--ink);
    background: linear-gradient(90deg, var(--gold), #fff4b8);
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: 6px;
    font-weight: 950;
    transform: rotateX(12deg);
    box-shadow: 0 16px 30px rgba(0, 0, 0, 0.24);
    animation: layer-rise 4s ease-in-out infinite;
}

.layer-stack span:nth-child(2) {
    color: var(--text-strong);
    background: linear-gradient(90deg, rgba(15, 22, 30, 0.96), rgba(154, 168, 180, 0.26));
    animation-delay: 220ms;
}

.layer-stack span:nth-child(3) {
    color: var(--text-strong);
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.2), rgba(154, 168, 180, 0.24));
    animation-delay: 440ms;
}

.roof-lists {
    display: grid;
    gap: 18px;
}

.roof-lists h3 {
    margin-bottom: 12px;
}

.roof-lists ul {
    display: grid;
    gap: 8px;
    padding: 0;
    margin: 0;
    list-style: none;
}

.roof-lists li {
    position: relative;
    padding-left: 18px;
    color: var(--muted);
    font-weight: 780;
}

.roof-lists li::before {
    content: "";
    position: absolute;
    top: 0.72em;
    left: 0;
    width: 8px;
    height: 2px;
    background: var(--gold);
}

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

.swatch-grid span {
    min-height: 38px;
    display: flex;
    align-items: center;
    padding: 7px 9px;
    color: var(--text);
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.13);
    border-radius: 6px;
    font-size: 0.8rem;
    font-weight: 820;
}

.upvc-media-row {
    display: grid;
    gap: 16px;
    margin-top: 18px;
}

.credentials-section {
    background-color: #0b1016;
}

.credentials-copy {
    min-width: 0;
}

.credential-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    margin-top: 24px;
}

.credential-badge {
    min-height: 84px;
    display: flex;
    align-items: center;
    padding: 14px;
    color: var(--text-strong);
    font-size: 0.9rem;
    font-weight: 900;
}

.credential-badge::before {
    content: "";
    width: 10px;
    height: 10px;
    flex: 0 0 auto;
    margin-right: 10px;
    background: var(--green);
    border-radius: 50%;
    box-shadow: 0 0 18px rgba(123, 216, 143, 0.56);
}

.trust-visual {
    align-self: start;
}

.contact-section {
    background:
        linear-gradient(90deg, rgba(255, 194, 26, 0.12), transparent 42%),
        linear-gradient(180deg, #07090d, #10161d);
}

.contact-copy {
    max-width: 680px;
}

.contact-card {
    display: grid;
    gap: 0;
    padding: 0;
    overflow: hidden;
    font-style: normal;
}

.contact-team-media {
    aspect-ratio: 16 / 10;
}

.contact-card-brand,
.contact-card > span,
.contact-card > a {
    margin-inline: 20px;
}

.contact-card-brand {
    display: grid;
    gap: 12px;
    margin-top: 18px;
    margin-bottom: 12px;
}

.logo-picture--contact img {
    width: min(100%, 300px);
    padding: 10px 12px;
    background: linear-gradient(135deg, #ffffff, #f6f8fb);
    border: 1px solid rgba(255, 194, 26, 0.3);
    border-radius: 8px;
    box-shadow: 0 18px 34px rgba(0, 0, 0, 0.22);
}

.contact-card strong {
    color: var(--text-strong);
    font-size: 1.15rem;
    font-weight: 950;
}

.contact-card span,
.contact-card a {
    color: var(--muted);
    font-weight: 800;
    overflow-wrap: anywhere;
}

.contact-card a {
    display: inline-flex;
    width: fit-content;
    margin-bottom: 10px;
    text-decoration: underline;
    text-decoration-color: rgba(255, 194, 26, 0.68);
    text-underline-offset: 4px;
}

.contact-card > span {
    margin-bottom: 10px;
}

.site-footer {
    background: #05070a;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.footer-layout {
    display: grid;
    gap: 24px;
    padding: 38px 0 26px;
}

.footer-brand {
    width: fit-content;
}

.footer-brand img {
    width: min(100%, 280px);
    padding: 10px 12px;
    background: linear-gradient(135deg, #ffffff, #f6f8fb);
    border: 1px solid rgba(255, 194, 26, 0.3);
    border-radius: 8px;
    box-shadow: 0 18px 34px rgba(0, 0, 0, 0.22);
}

.footer-nav,
.footer-contact {
    display: grid;
    gap: 8px;
}

.footer-contact a,
.footer-contact span {
    color: var(--muted);
    font-weight: 780;
}

.footer-bottom {
    padding: 18px 0 26px;
    color: rgba(255, 255, 255, 0.54);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.84rem;
}

.section::after {
    content: "";
    position: absolute;
    right: 12%;
    bottom: 0;
    left: 12%;
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, rgba(255, 194, 26, 0.16) 35%, rgba(255, 194, 26, 0.68) 50%, rgba(255, 194, 26, 0.16) 65%, transparent 100%);
    background-size: 220% 100%;
    opacity: 0.42;
    animation: divider-scan 7s ease-in-out infinite;
    pointer-events: none;
}

.blueprint-grid::after {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 32% 42%, rgba(255, 194, 26, 0.2), transparent 30%);
    opacity: 0;
    animation: grid-glow 7s ease-in-out infinite;
}

.js-enabled .reveal {
    opacity: 0;
    filter: blur(8px);
    transform: translateY(28px) scale(0.985);
    transition:
        opacity 720ms cubic-bezier(0.2, 0.8, 0.2, 1),
        transform 720ms cubic-bezier(0.2, 0.8, 0.2, 1),
        filter 720ms ease;
    transition-delay: var(--reveal-delay, 0ms);
}

.js-enabled .hero .reveal {
    opacity: 1;
    filter: none;
    transform: none;
}

.js-enabled .reveal.is-visible {
    opacity: 1;
    filter: blur(0);
    transform: translateY(0) scale(1);
}

.js-enabled .hero-copy > .eyebrow,
.js-enabled .hero-copy h1,
.js-enabled .hero-lede,
.js-enabled .hero-actions,
.js-enabled .hero-badges,
.js-enabled .hero-panel,
.js-enabled .stat-card {
    opacity: 0;
    animation: hero-rise 760ms cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
}

.js-enabled .hero-copy h1 {
    animation-delay: 130ms;
}

.js-enabled .hero-lede {
    animation-delay: 240ms;
}

.js-enabled .hero-actions {
    animation-delay: 350ms;
}

.js-enabled .hero-badges {
    animation-delay: 440ms;
}

.js-enabled .hero-panel {
    animation-delay: 360ms;
}

.js-enabled .stat-card:nth-child(1) {
    animation-delay: 560ms;
}

.js-enabled .stat-card:nth-child(2) {
    animation-delay: 660ms;
}

.js-enabled .stat-card:nth-child(3) {
    animation-delay: 760ms;
}

.js-enabled .stat-card:nth-child(4) {
    animation-delay: 860ms;
}

@keyframes grid-slide {
    from {
        background-position: 0 0;
    }
    to {
        background-position: 56px 56px;
    }
}

@keyframes grid-glow {
    0%,
    100% {
        opacity: 0;
        transform: translate3d(-8%, 4%, 0) scale(0.9);
    }
    45% {
        opacity: 1;
        transform: translate3d(14%, -6%, 0) scale(1.08);
    }
}

@keyframes divider-scan {
    0%,
    100% {
        background-position: 100% 0;
        opacity: 0.22;
    }
    50% {
        background-position: 0 0;
        opacity: 0.62;
    }
}

@keyframes hero-rise {
    from {
        opacity: 0;
        transform: translateY(30px) scale(0.98);
        filter: blur(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
        filter: blur(0);
    }
}

@keyframes heroEngineerIn {
    to {
        opacity: 1;
        transform: translate3d(0, 0, 0) scale(1);
    }
}

@keyframes heroEngineerFloat {
    0%,
    100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

@keyframes panel-drift {
    0%,
    100% {
        transform: translate3d(var(--scroll-drift, 0px), 0, 0) skewX(-10deg);
    }
    50% {
        transform: translate3d(calc(var(--scroll-drift, 0px) + 14px), -10px, 0) skewX(-10deg);
    }
}

@keyframes light-sweep {
    from {
        transform: translateX(-120%);
    }
    to {
        transform: translateX(120%);
    }
}

@keyframes layer-rise {
    0%,
    100% {
        transform: translateY(0) rotateX(12deg);
    }
    50% {
        transform: translateY(-6px) rotateX(12deg);
    }
}

@media (min-width: 620px) {
    .container {
        width: min(calc(100% - 48px), var(--container));
    }

    h1 {
        font-size: 3.18rem;
    }

    h2 {
        font-size: 2.36rem;
    }

    .hero-actions,
    .contact-actions {
        align-items: center;
    }

    .stat-strip {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }

    .service-grid,
    .project-grid,
    .credential-grid,
    .upvc-media-row,
    .company-proof-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

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

@media (min-width: 900px) {
    :root {
        --header-height: 84px;
    }

    .header-inner {
        width: min(calc(100% - 48px), 1280px);
    }

    .brand img {
        width: 214px;
    }

    .nav-toggle {
        display: none;
    }

    .primary-nav {
        position: static;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 2px;
        padding: 0;
        background: transparent;
        border: 0;
        border-radius: 0;
        box-shadow: none;
        opacity: 1;
        transform: none;
        visibility: visible;
        pointer-events: auto;
    }

    .primary-nav a {
        padding-inline: 9px;
        font-size: 0.88rem;
    }

    .header-call {
        display: inline-flex;
    }

    .section {
        padding: clamp(64px, 6vw, 92px) 0;
    }

    .hero {
        min-height: calc(100svh - var(--header-height));
        padding: clamp(34px, 4.2vw, 58px) 0 clamp(38px, 5vw, 66px);
    }

    .hero-layout,
    .company-layout,
    .execution-layout,
    .upvc-layout,
    .contact-layout,
    .credentials-layout {
        grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.85fr);
        gap: 50px;
    }

    .hero-layout {
        width: min(calc(100% - 48px), 1320px);
        grid-template-columns: minmax(0, 0.92fr) minmax(420px, 1.08fr);
    }

    .hero-visual-with-engineer {
        min-height: clamp(430px, 58vh, 640px);
        align-self: stretch;
        margin-top: 0;
    }

    .hero-engineer-frame {
        position: absolute;
        right: clamp(-1rem, -1vw, 0rem);
        bottom: clamp(2.5rem, 5.8vh, 4.8rem);
        width: min(43vw, 570px);
    }

    .hero-identity-card {
        position: absolute;
        right: auto;
        bottom: clamp(0.25rem, 1.8vh, 1.4rem);
        left: clamp(-3.5rem, -4vw, -1rem);
        max-width: 360px;
        margin: 0;
    }

    .hero-panel {
        justify-self: end;
    }

    .hero-visual-with-engineer .hero-panel {
        justify-self: auto;
    }

    h1 {
        font-size: clamp(3.7rem, 4.35vw, 4.45rem);
    }

    h2 {
        font-size: 3rem;
    }

    .hero-lede {
        font-size: 1.12rem;
    }

    .section-heading--split {
        grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.9fr);
    }

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

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

    .company-layout {
        grid-template-columns: minmax(320px, 0.9fr) minmax(0, 1.1fr);
    }

    .execution-layout {
        grid-template-columns: minmax(0, 0.92fr) minmax(360px, 1.08fr);
    }

    .execution-media-stack figure:nth-child(2) {
        margin-top: -42px;
        margin-left: 76px;
    }

    .roof-system {
        grid-template-columns: minmax(260px, 0.8fr) minmax(0, 1.2fr);
        padding: 24px;
    }

    .roof-lists {
        grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.1fr) minmax(0, 1.1fr);
    }

    .footer-layout {
        grid-template-columns: minmax(0, 0.75fr) minmax(0, 1fr) minmax(0, 1fr);
        align-items: start;
    }
}

@media (min-width: 1120px) {
    .primary-nav a {
        padding-inline: 11px;
        font-size: 0.92rem;
    }

    .service-card {
        min-height: 540px;
    }
}

@media (min-width: 1500px) {
    h1 {
        font-size: clamp(4.2rem, 4vw, 4.65rem);
    }
}

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

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

    .header-inner {
        min-height: var(--header-height);
        gap: 10px;
        padding-block: 8px;
    }

    .brand {
        min-height: 44px;
        padding: 5px 6px;
        border-radius: 8px;
    }

    .brand img {
        width: min(150px, 42vw);
    }

    .nav-toggle {
        min-width: 44px;
        min-height: 44px;
        width: 44px;
        height: 44px;
        padding: 10px;
        border-radius: 8px;
    }

    .primary-nav {
        top: calc(var(--header-height) + 8px);
    }

    .section {
        padding-block: 46px;
    }

    .section + .section {
        margin-top: 0;
    }

    .hero + .section {
        padding-top: 40px;
    }

    .hero {
        min-height: calc(100svh - var(--header-height));
        padding: clamp(14px, 4vw, 24px) 0 30px;
        overflow: hidden;
    }

    .hero::before {
        background:
            linear-gradient(90deg, rgba(7, 9, 13, 0.98) 0%, rgba(7, 9, 13, 0.74) 54%, rgba(7, 9, 13, 0.42) 100%),
            linear-gradient(180deg, rgba(7, 9, 13, 0.12) 0%, rgba(7, 9, 13, 0.86) 72%, rgba(7, 9, 13, 0.98) 100%);
    }

    .hero-glass--one {
        top: 17%;
        right: -28%;
        width: 72vw;
        min-width: 260px;
        height: 190px;
        opacity: 0.66;
    }

    .hero-glass--two {
        right: 18%;
        bottom: 31%;
        min-width: 150px;
        width: 42vw;
        height: 130px;
        opacity: 0.52;
    }

    .hero-layout {
        position: relative;
        min-height: calc(100svh - var(--header-height) - 44px);
        display: grid;
        grid-template-columns: 1fr;
        align-items: end;
        gap: 0;
        overflow: hidden;
    }

    .hero-visual-with-engineer {
        position: absolute;
        inset: 0;
        z-index: 0;
        min-height: 100%;
        width: 100%;
        margin: 0;
        overflow: hidden;
        pointer-events: none;
    }

    .hero-visual-with-engineer::before,
    .hero-visual-with-engineer::after {
        content: "";
        position: absolute;
        pointer-events: none;
    }

    .hero-visual-with-engineer::before {
        inset: 0;
        z-index: 3;
        background:
            linear-gradient(90deg, rgba(3, 8, 12, 0.92) 0%, rgba(3, 8, 12, 0.64) 48%, rgba(3, 8, 12, 0.38) 100%),
            linear-gradient(180deg, rgba(3, 8, 12, 0.08) 0%, rgba(3, 8, 12, 0.48) 42%, rgba(3, 8, 12, 0.96) 86%);
    }

    .hero-visual-with-engineer::after {
        right: -22%;
        bottom: 20%;
        z-index: 1;
        width: 84%;
        height: 46%;
        background: radial-gradient(circle, rgba(255, 198, 28, 0.32), transparent 68%);
        filter: blur(24px);
    }

    .hero-engineer-frame {
        position: absolute;
        top: clamp(4px, 2vw, 12px);
        right: clamp(-82px, -18vw, -56px);
        width: clamp(365px, 110vw, 470px);
        max-width: none;
        opacity: 1;
        filter: drop-shadow(0 30px 64px rgba(0, 0, 0, 0.58));
        transform: none;
    }

    .hero-engineer-frame::before {
        inset: 6% -3% 0 10%;
        border-radius: 24px;
        opacity: 0.5;
    }

    .hero-engineer-frame::after {
        inset: 10% 12% 36% 34%;
        opacity: 0.9;
    }

    .hero-engineer-image {
        width: 100%;
        object-fit: cover;
        object-position: center top;
        opacity: 0.9;
    }

    .hero-identity-card {
        display: none;
    }

    .hero-copy {
        position: relative;
        z-index: 4;
        max-width: 100%;
        padding-top: clamp(172px, 34vh, 260px);
        text-shadow: 0 2px 18px rgba(0, 0, 0, 0.48);
    }

    .hero-copy .eyebrow {
        margin-bottom: 9px;
        font-size: 0.74rem;
    }

    h1 {
        max-width: 100%;
        margin-bottom: 14px;
        font-size: clamp(2.18rem, 9.8vw, 3.25rem);
        line-height: 0.96;
        letter-spacing: 0;
    }

    .hero-lede {
        display: -webkit-box;
        max-width: 35rem;
        margin-bottom: 17px;
        overflow: hidden;
        color: rgba(255, 255, 255, 0.86);
        font-size: 0.96rem;
        line-height: 1.58;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 3;
    }

    .hero-actions {
        display: flex;
        flex-wrap: nowrap;
        gap: 10px;
        margin: 0 0 14px;
        padding: 0 0 7px;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        scrollbar-width: none;
        -webkit-overflow-scrolling: touch;
    }

    .hero-actions::-webkit-scrollbar,
    .hero-badges::-webkit-scrollbar {
        display: none;
    }

    .hero-actions .btn {
        min-width: min(76vw, 290px);
        min-height: 52px;
        flex: 0 0 auto;
        justify-content: center;
        border-radius: 12px;
        scroll-snap-align: start;
        text-align: center;
        white-space: nowrap;
    }

    .hero-actions .btn-link {
        min-width: min(82vw, 310px);
    }

    .hero-badges {
        flex-wrap: nowrap;
        gap: 8px;
        padding-bottom: 4px;
        overflow-x: auto;
        scrollbar-width: none;
        -webkit-overflow-scrolling: touch;
    }

    .hero-badges span {
        min-height: 34px;
        flex: 0 0 auto;
        padding: 7px 10px;
        border-radius: 10px;
        font-size: 0.76rem;
        background: rgba(255, 255, 255, 0.1);
    }

    .stat-strip {
        gap: 8px;
        margin-top: 18px;
    }

    .stat-card {
        min-height: 116px;
        padding: 14px;
    }
}

@media (max-width: 430px) {
    .container {
        width: min(calc(100% - 24px), var(--container));
    }

    .brand img {
        width: min(146px, 42vw);
    }

    .hero {
        padding-top: 14px;
    }

    h1 {
        max-width: 100%;
        font-size: clamp(2.04rem, 9.3vw, 2.75rem);
    }

    h2 {
        font-size: 1.78rem;
    }

    .hero-actions .btn {
        width: auto;
    }

    .contact-actions .btn {
        width: 100%;
    }

    .hero-lede {
        font-size: 0.94rem;
    }

    .btn {
        padding-inline: 12px;
    }

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

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

    .hero-panel .logo-picture img,
    .logo-picture--contact img {
        width: min(100%, 250px);
    }

    .contact-card-brand,
    .contact-card > span,
    .contact-card > a {
        margin-inline: 16px;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation: none !important;
        transition: none !important;
        scroll-behavior: auto !important;
    }

    .js-enabled .reveal {
        opacity: 1;
        transform: none;
    }

    .hero-engineer-frame,
    .hero-engineer-image {
        opacity: 1 !important;
        transform: none !important;
    }

    .btn:hover,
    .header-call:hover,
    .service-card:hover,
    .project-card:hover,
    .technical-frame:hover,
    .people-feature:hover,
    .trust-visual:hover,
    .execution-media-stack figure:hover {
        transform: none;
    }
}
