@font-face {
    font-family: "Inter";
    src: url("/assets/fonts/InterVariable.woff2") format("woff2");
    font-style: normal;
    font-weight: 100 900;
    font-display: swap;
}

:root {
    color-scheme: dark;
    --ink: #080a0e;
    --ink-soft: #10141a;
    --steel: #171c23;
    --panel: #1d232c;
    --paper: #f4f5f6;
    --white: #ffffff;
    --muted: #aeb5bf;
    --muted-dark: #5f6874;
    --line: rgba(255, 255, 255, 0.13);
    --line-dark: rgba(8, 10, 14, 0.13);
    --red: #c8102e;
    --red-bright: #e21c3d;
    --header-h: 82px;
    --container: 1480px;
    --pad: clamp(1.25rem, 4vw, 4.5rem);
    --section: clamp(5.5rem, 10vw, 10rem);
    --radius: 1.2rem;
    --ease: cubic-bezier(.2, .8, .2, 1);
    --shadow: 0 32px 80px rgba(0, 0, 0, .22);
}

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: calc(var(--header-h) + 1rem);
    overflow-x: hidden;
}

body {
    margin: 0;
    min-width: 0;
    overflow-x: hidden;
    background: var(--ink);
    color: var(--white);
    font-family: "Inter", system-ui, "Segoe UI", Arial, sans-serif;
    font-size: 1rem;
    font-weight: 450;
    line-height: 1.65;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
}

body.nav-open {
    overflow: hidden;
}

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

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

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

a {
    color: inherit;
}

address {
    font-style: normal;
}

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

h1,
h2,
h3 {
    margin-bottom: .85em;
    font-weight: 680;
    line-height: 1.02;
    letter-spacing: -.045em;
    text-wrap: balance;
}

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

h2 {
    font-size: clamp(2.25rem, 4.4vw, 4.8rem);
}

h3 {
    font-size: clamp(1.35rem, 2vw, 2rem);
    letter-spacing: -.025em;
}

p {
    text-wrap: pretty;
}

::selection {
    background: var(--red);
    color: var(--white);
}

:focus-visible {
    outline: 3px solid #ff5a73;
    outline-offset: 4px;
}

.container {
    width: min(100%, var(--container));
    margin-inline: auto;
    padding-inline: var(--pad);
}

.skip-link {
    position: fixed;
    z-index: 999;
    top: .75rem;
    left: .75rem;
    padding: .75rem 1rem;
    border-radius: .5rem;
    background: var(--white);
    color: var(--ink);
    font-weight: 700;
    transform: translateY(-160%);
    transition: transform .2s ease;
}

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

.eyebrow {
    margin-bottom: 1.25rem;
    color: var(--red-bright);
    font-size: .75rem;
    font-weight: 760;
    line-height: 1.2;
    letter-spacing: .18em;
    text-transform: uppercase;
}

.button-row {
    display: flex;
    flex-wrap: wrap;
    gap: .8rem;
}

.button {
    display: inline-flex;
    min-height: 50px;
    align-items: center;
    justify-content: center;
    gap: 1.4rem;
    padding: .8rem 1.35rem;
    border: 1px solid transparent;
    border-radius: .45rem;
    font-size: .88rem;
    font-weight: 690;
    line-height: 1.1;
    text-decoration: none;
    transition: color .35s var(--ease), background-color .35s var(--ease), border-color .35s var(--ease), transform .35s var(--ease), box-shadow .35s var(--ease);
}

.button span {
    font-size: 1.05rem;
    transition: transform .35s var(--ease);
}

.button-primary {
    background: var(--red);
    color: var(--white);
    box-shadow: 0 15px 35px rgba(200, 16, 46, .22);
}

.button-ghost,
.button-outline {
    border-color: rgba(255, 255, 255, .3);
    background: rgba(255, 255, 255, .045);
    color: var(--white);
    backdrop-filter: blur(10px);
}

.section-light .button-outline {
    border-color: var(--line-dark);
    color: var(--ink);
    background: transparent;
}

.text-link {
    position: relative;
    display: inline-flex;
    min-height: 44px;
    align-items: center;
    gap: .8rem;
    color: var(--white);
    font-size: .92rem;
    font-weight: 680;
    text-decoration: none;
}

.text-link::after {
    position: absolute;
    right: 0;
    bottom: .25rem;
    left: 0;
    height: 1px;
    background: currentColor;
    content: "";
    transform: scaleX(.25);
    transform-origin: left;
    transition: transform .35s var(--ease);
}

/* Header */
.site-header {
    position: fixed;
    z-index: 100;
    top: 0;
    right: 0;
    left: 0;
    height: var(--header-h);
    border-bottom: 1px solid transparent;
    transition: height .35s var(--ease), background-color .35s ease, border-color .35s ease, box-shadow .35s ease;
}

.site-header::before {
    position: absolute;
    inset: 0;
    z-index: -1;
    background: rgba(8, 10, 14, .35);
    backdrop-filter: blur(15px) saturate(125%);
    content: "";
}

.site-header.is-scrolled {
    height: 70px;
    border-color: var(--line);
    box-shadow: 0 12px 40px rgba(0, 0, 0, .16);
}

.site-header.is-scrolled::before,
.nav-open .site-header::before {
    background: rgba(8, 10, 14, .92);
}

.header-inner {
    display: flex;
    height: 100%;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
}

.brand {
    position: relative;
    display: inline-flex;
    min-width: 0;
    min-height: 44px;
    padding: .35rem .65rem;
    align-items: center;
    border: 1px solid rgba(255, 255, 255, .11);
    border-radius: .72rem;
    background: linear-gradient(110deg, rgba(255, 255, 255, .24), rgba(255, 255, 255, .09) 68%, rgba(200, 16, 46, .08));
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .08), 0 10px 28px rgba(0, 0, 0, .18);
    backdrop-filter: blur(10px) saturate(115%);
    isolation: isolate;
    transition: padding .35s var(--ease), border-radius .35s var(--ease), box-shadow .35s ease;
}

.brand::before {
    position: absolute;
    inset: -.2rem;
    z-index: -1;
    border-radius: .9rem;
    background: radial-gradient(circle at 88% 50%, rgba(226, 28, 61, .2), transparent 45%);
    content: "";
    filter: blur(12px);
    opacity: .6;
    pointer-events: none;
}

.brand img {
    width: clamp(11rem, 14.5vw, 15.5rem);
    height: auto;
    filter: drop-shadow(0 9px 20px rgba(0, 0, 0, .42));
    transition: width .35s var(--ease), filter .35s ease;
}

.site-header.is-scrolled .brand {
    padding: .25rem .5rem;
    border-radius: .58rem;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .07), 0 7px 20px rgba(0, 0, 0, .16);
}

.site-header.is-scrolled .brand img {
    width: clamp(9.4rem, 12.35vw, 13.2rem);
}

.main-nav {
    display: flex;
    align-items: center;
    gap: clamp(.85rem, 1.7vw, 1.7rem);
}

.main-nav > a {
    position: relative;
    display: inline-flex;
    min-width: 44px;
    min-height: 44px;
    align-items: center;
    color: rgba(255, 255, 255, .78);
    font-size: .8rem;
    font-weight: 620;
    letter-spacing: .015em;
    text-decoration: none;
    transition: color .25s ease;
}

.main-nav > a:not(.nav-contact)::after {
    position: absolute;
    right: 0;
    bottom: .25rem;
    left: 0;
    height: 2px;
    background: var(--red-bright);
    content: "";
    transform: scaleX(0);
    transform-origin: right;
    transition: transform .3s var(--ease);
}

.main-nav > a[aria-current="page"] {
    color: var(--white);
}

.main-nav > a[aria-current="page"]::after {
    transform: scaleX(1);
}

.main-nav .nav-contact {
    min-height: 44px;
    padding: .6rem 1.15rem;
    border: 1px solid rgba(255, 255, 255, .3);
    border-radius: .4rem;
    color: var(--white);
}

.language-switch {
    display: inline-flex;
    min-height: 44px;
    align-items: center;
    gap: .35rem;
    color: rgba(255, 255, 255, .38);
    font-size: .72rem;
    font-weight: 720;
    letter-spacing: .08em;
}

.language-switch a {
    display: inline-flex;
    min-width: 30px;
    min-height: 44px;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, .62);
    text-decoration: none;
    transition: color .25s ease, background-color .25s ease;
}

.language-switch a[aria-current="true"] {
    color: var(--white);
}

.language-switch a:hover {
    color: var(--white);
}

.header-mobile-controls,
.language-switch-mobile {
    display: none;
}

.nav-toggle {
    display: none;
    width: 48px;
    height: 48px;
    padding: 0;
    border: 1px solid rgba(255, 255, 255, .18);
    border-radius: .45rem;
    background: rgba(255, 255, 255, .04);
    color: var(--white);
    cursor: pointer;
}

.nav-toggle span {
    display: block;
    width: 20px;
    height: 1.5px;
    margin: 5px auto;
    background: currentColor;
    transition: transform .3s var(--ease), opacity .2s ease;
}

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

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

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

/* Hero */
.hero-home {
    position: relative;
    display: grid;
    min-height: max(760px, 100svh);
    align-items: end;
    isolation: isolate;
    overflow: hidden;
    background: var(--ink);
}

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

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

.hero-media::after {
    background:
        linear-gradient(90deg, rgba(4, 6, 9, .98) 0%, rgba(4, 6, 9, .82) 42%, rgba(4, 6, 9, .2) 78%),
        linear-gradient(0deg, rgba(4, 6, 9, .92) 0%, transparent 54%, rgba(4, 6, 9, .48) 100%);
    content: "";
}

.hero-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 62% 48%;
    transform: scale(1.01);
}

.hero-grid {
    z-index: -1;
    opacity: .18;
    background-image:
        linear-gradient(rgba(255, 255, 255, .14) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, .14) 1px, transparent 1px);
    background-size: clamp(80px, 8vw, 150px) clamp(80px, 8vw, 150px);
    mask-image: linear-gradient(90deg, black, transparent 70%);
}

.hero-content {
    padding-top: calc(var(--header-h) + 7rem);
    padding-bottom: clamp(3rem, 7vh, 6.5rem);
}

.hero-content h1 {
    max-width: 1080px;
    margin-bottom: 1.8rem;
    font-size: clamp(3.15rem, 7.35vw, 7.6rem);
    font-weight: 760;
    line-height: .88;
    letter-spacing: -.065em;
}

.hero-lead {
    max-width: 680px;
    margin-bottom: 2.2rem;
    color: rgba(255, 255, 255, .73);
    font-size: clamp(1.02rem, 1.5vw, 1.3rem);
    line-height: 1.55;
}

.hero-facts {
    display: grid;
    max-width: 840px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0;
    margin: clamp(3rem, 7vh, 6.5rem) 0 0;
    padding: 0;
    list-style: none;
}

.hero-facts li {
    display: grid;
    align-content: center;
    gap: .2rem;
    min-height: 72px;
    padding: .75rem 1.25rem;
    border-left: 1px solid rgba(255, 255, 255, .2);
    color: rgba(255, 255, 255, .64);
    font-size: .66rem;
    font-weight: 600;
    letter-spacing: .06em;
    text-transform: uppercase;
}

.hero-facts li:first-child {
    padding-left: 0;
    border-left: 0;
}

.hero-facts strong {
    color: var(--white);
    font-size: .8rem;
    letter-spacing: .02em;
}

.hero-facts span {
    color: rgba(255, 255, 255, .58);
}

/* First-view choreography: restrained, transform-only and home-page scoped. */
@keyframes hero-visual-enter {
    from {
        opacity: .62;
        transform: scale(1.055);
    }

    to {
        opacity: 1;
        transform: scale(1.01);
    }
}

@keyframes hero-copy-enter {
    from {
        opacity: 0;
        transform: translateY(22px);
    }

    to {
        opacity: 1;
        transform: none;
    }
}

@keyframes hero-grid-enter {
    from {
        opacity: 0;
        transform: translateX(-2.5%);
    }

    to {
        opacity: .18;
        transform: none;
    }
}

@keyframes brand-enter {
    from {
        opacity: 0;
        transform: translateY(-12px);
    }

    to {
        opacity: 1;
        transform: none;
    }
}

.page-home .hero-media img {
    animation: hero-visual-enter 1.65s var(--ease) both;
}

.page-home .hero-grid {
    animation: hero-grid-enter 1.15s .12s var(--ease) both;
}

.page-home .hero-content > .eyebrow,
.page-home .hero-content > h1,
.page-home .hero-content > .hero-lead,
.page-home .hero-content > .button-row,
.page-home .hero-content > .hero-facts {
    animation: hero-copy-enter .82s var(--ease) both;
}

.page-home .hero-content > .eyebrow {
    animation-delay: .1s;
}

.page-home .hero-content > h1 {
    animation-delay: .18s;
}

.page-home .hero-content > .hero-lead {
    animation-delay: .29s;
}

.page-home .hero-content > .button-row {
    animation-delay: .4s;
}

.page-home .hero-content > .hero-facts {
    animation-delay: .52s;
}

.page-home .site-header .brand {
    animation: brand-enter .68s .06s var(--ease) both;
}

/* Shared sections */
.section {
    padding-block: var(--section);
}

.section-light {
    background: var(--paper);
    color: var(--ink);
}

.section-heading {
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(250px, .65fr);
    gap: clamp(2rem, 6vw, 8rem);
    align-items: end;
    margin-bottom: clamp(3rem, 6vw, 6rem);
}

.section-heading h2 {
    max-width: 850px;
    margin-bottom: 0;
}

.section-heading > p {
    max-width: 500px;
    margin-bottom: .5rem;
    color: var(--muted-dark);
    font-size: clamp(1rem, 1.3vw, 1.18rem);
}

.why-section .section-heading > p,
.process-section .section-heading > p {
    color: var(--muted);
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    border-top: 1px solid var(--line-dark);
    border-left: 1px solid var(--line-dark);
}

.service-card {
    position: relative;
    display: flex;
    min-height: 330px;
    flex-direction: column;
    grid-column: span 2;
    padding: clamp(1.5rem, 3vw, 2.5rem);
    border-right: 1px solid var(--line-dark);
    border-bottom: 1px solid var(--line-dark);
    background: rgba(255, 255, 255, .35);
    color: var(--ink);
    text-decoration: none;
    isolation: isolate;
    overflow: hidden;
    transition: color .45s var(--ease), transform .45s var(--ease), box-shadow .45s var(--ease);
}

.service-card-primary {
    min-height: 390px;
    grid-column: span 4;
    background:
        radial-gradient(circle at 86% 18%, rgba(200, 16, 46, .18), transparent 19rem),
        linear-gradient(135deg, var(--ink-soft), var(--steel));
    color: var(--white);
}

.service-card-primary::before {
    background: linear-gradient(135deg, #161b22, #961027 72%, var(--red));
}

.service-card-primary::after {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    width: 3px;
    background: var(--red);
    content: "";
    pointer-events: none;
}

.service-card-primary h3 {
    max-width: 14ch;
    font-size: clamp(2rem, 3.2vw, 3.4rem);
}

.service-card-primary p {
    max-width: 56ch;
    color: rgba(255, 255, 255, .72);
}

.service-card-wide {
    min-height: 300px;
    grid-column: span 3;
}

.service-card::before {
    position: absolute;
    inset: 0;
    z-index: -1;
    background: var(--ink-soft);
    content: "";
    transform: translateY(101%);
    transition: transform .5s var(--ease);
}

.service-card-accent::before {
    background: linear-gradient(135deg, #a40b25, var(--red));
}

.service-card > span,
.principle > span,
.value-item > span,
.process-list > li > span {
    color: var(--red);
    font-size: .72rem;
    font-weight: 760;
    letter-spacing: .15em;
}

.service-card h3 {
    margin-top: auto;
    margin-bottom: 1rem;
}

.service-card p {
    max-width: 36ch;
    margin-bottom: 0;
    color: var(--muted-dark);
    font-size: .92rem;
    line-height: 1.55;
    transition: color .45s var(--ease);
}

.service-card.service-card-primary p {
    color: rgba(255, 255, 255, .72);
}

.service-card i {
    position: absolute;
    top: 1.75rem;
    right: 1.75rem;
    font-size: 1.2rem;
    font-style: normal;
    transition: transform .4s var(--ease);
}

.why-section,
.process-section {
    position: relative;
    background:
        radial-gradient(circle at 82% 20%, rgba(200, 16, 46, .11), transparent 25rem),
        var(--ink-soft);
    overflow: clip;
}

.split-layout {
    display: grid;
    grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr);
    gap: clamp(3rem, 8vw, 10rem);
}

.sticky-copy {
    align-self: start;
}

.sticky-copy h2 {
    max-width: 620px;
}

.sticky-copy > p:not(.eyebrow) {
    max-width: 560px;
    margin-bottom: 2rem;
    color: var(--muted);
}

.value-list {
    border-top: 1px solid var(--line);
}

.value-item {
    display: grid;
    grid-template-columns: 60px minmax(0, 1fr);
    gap: 1.25rem;
    padding-block: clamp(2rem, 4vw, 3.5rem);
    border-bottom: 1px solid var(--line);
}

.value-item h3 {
    margin-bottom: .65rem;
}

.value-item p {
    max-width: 52ch;
    margin-bottom: 0;
    color: var(--muted);
}

.section-projects {
    background: #0b0e13;
}

.section-projects .section-heading > p {
    color: var(--muted);
}

.project-feature {
    display: grid;
    grid-template-columns: 1.65fr 1fr;
    gap: 1rem;
    margin-bottom: 2rem;
}

.project-tile {
    position: relative;
    min-height: clamp(400px, 52vw, 740px);
    margin: 0;
    overflow: hidden;
    background: var(--steel);
}

.project-tile:not(.project-tile-wide) {
    min-height: clamp(400px, 52vw, 740px);
}

.project-tile picture,
.gallery-item picture {
    display: block;
    width: 100%;
    height: 100%;
}

.project-tile img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .8s var(--ease), filter .5s ease;
}

.project-tile::after {
    position: absolute;
    inset: 0;
    background: linear-gradient(0deg, rgba(0, 0, 0, .76), transparent 45%);
    content: "";
    pointer-events: none;
}

.project-tile figcaption {
    position: absolute;
    z-index: 1;
    right: 1.5rem;
    bottom: 1.5rem;
    left: 1.5rem;
    font-size: .82rem;
    font-weight: 660;
}

.field-story {
    background: #e9ecef;
    color: var(--ink);
}

.service-anchor-nav {
    position: relative;
    z-index: 2;
    border-bottom: 1px solid var(--line);
    background: #0c1015;
    color: var(--white);
}

.service-anchor-inner {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
}

.service-anchor-inner a {
    display: flex;
    min-width: 0;
    min-height: 76px;
    padding: 1rem clamp(.7rem, 1.5vw, 1.35rem);
    align-items: center;
    gap: .65rem;
    border-left: 1px solid var(--line);
    color: rgba(255, 255, 255, .76);
    font-size: clamp(.72rem, .9vw, .86rem);
    font-weight: 650;
    line-height: 1.25;
    text-decoration: none;
    transition: color .25s ease, background-color .25s ease;
}

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

.service-anchor-inner span {
    flex: 0 0 auto;
    color: #ff5a73;
    font-size: .65rem;
    letter-spacing: .08em;
}

.service-anchor-inner a:hover,
.service-anchor-inner a:focus-visible {
    background: rgba(255, 255, 255, .055);
    color: var(--white);
}

.service-story {
    position: relative;
    border-bottom: 1px solid rgba(8, 10, 14, .1);
    overflow: clip;
}

.service-story-reverse:not(.service-story-dark) {
    background: #f3f4f5;
}

.service-story-grid {
    position: relative;
    grid-template-areas: "media copy";
}

.service-story-grid > .field-story-copy {
    grid-area: copy;
}

.service-story-grid > .field-story-media {
    grid-area: media;
}

.service-story-reverse .service-story-grid {
    grid-template-areas: "copy media";
    grid-template-columns: minmax(0, 1.14fr) minmax(0, .86fr);
}

.service-story-grid:target::before {
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--red-bright), transparent 72%);
    content: "";
}

.service-story-dark {
    background:
        radial-gradient(circle at 12% 82%, rgba(200, 16, 46, .11), transparent 28rem),
        #0d1116;
    color: var(--white);
}

.service-story-dark .field-story-copy > p:not(.eyebrow) {
    color: var(--muted);
}

.service-story-dark .eyebrow,
.service-story-dark .capability-list span {
    color: #ff5a73;
}

.service-story-dark .capability-list {
    border-color: var(--line);
}

.service-story-dark .capability-list li {
    border-color: var(--line);
}

.field-story.service-story-dark .text-link {
    color: var(--white);
}

.service-story-steel {
    background: #dfe3e6;
}

.service-story-pv .field-story-media {
    aspect-ratio: 4 / 3;
}

.service-story-pv .field-story-media img {
    object-position: center;
}

.field-story-grid {
    display: grid;
    grid-template-columns: minmax(0, .86fr) minmax(0, 1.14fr);
    gap: clamp(3rem, 8vw, 10rem);
    align-items: center;
}

.field-story-media {
    min-height: 0;
    aspect-ratio: 3 / 4;
    margin: 0;
    overflow: hidden;
    background: #b8bec4;
}

.field-story-media picture,
.field-story-media img {
    display: block;
    width: 100%;
    height: 100%;
}

.field-story-media img {
    object-fit: cover;
    object-position: 50% 42%;
    transition: transform .9s var(--ease);
}

.field-story-copy {
    max-width: 710px;
}

.service-story .field-story-copy .eyebrow {
    font-size: clamp(.84rem, 1vw, .98rem);
    letter-spacing: .16em;
}

.field-story-copy > p:not(.eyebrow) {
    max-width: 59ch;
    color: var(--muted-dark);
    font-size: clamp(1.04rem, 1.45vw, 1.22rem);
}

.field-story .text-link {
    margin-top: 1.5rem;
    color: var(--ink);
}

.capability-list,
.qualification-list {
    margin: clamp(2rem, 4vw, 3.5rem) 0 0;
    padding: 0;
    border-top: 1px solid var(--line-dark);
    list-style: none;
}

.capability-list li,
.qualification-list li {
    display: grid;
    min-height: 64px;
    grid-template-columns: 3.2rem minmax(0, 1fr);
    align-items: center;
    border-bottom: 1px solid var(--line-dark);
    font-weight: 620;
}

.capability-list span,
.qualification-list span {
    color: var(--red);
    font-size: .7rem;
    font-weight: 780;
    letter-spacing: .12em;
}

.qualification-section {
    background:
        radial-gradient(circle at 15% 75%, rgba(200, 16, 46, .12), transparent 26rem),
        #090c10;
}

.qualification-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(350px, .9fr);
    gap: clamp(3rem, 8vw, 10rem);
    align-items: end;
}

.qualification-grid > div > p:not(.eyebrow) {
    max-width: 62ch;
    color: var(--muted);
    font-size: clamp(1.04rem, 1.45vw, 1.22rem);
}

.qualification-list {
    margin-top: 0;
    border-color: var(--line);
}

.qualification-list li {
    min-height: 76px;
    border-color: var(--line);
}

.about-visual {
    padding-top: 0;
    background: var(--paper);
    color: var(--ink);
}

.about-visual-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.25fr) minmax(300px, .75fr);
    gap: clamp(3rem, 7vw, 8rem);
    align-items: center;
}

.about-visual figure {
    min-height: 0;
    aspect-ratio: 4 / 3;
    margin: 0;
    overflow: hidden;
    background: #c9cdd1;
}

.about-visual picture,
.about-visual img {
    display: block;
    width: 100%;
    height: 100%;
}

.about-visual img {
    object-fit: cover;
    transition: transform .9s var(--ease);
}

.about-visual-grid > div > p:not(.eyebrow) {
    color: var(--muted-dark);
    font-size: clamp(1.04rem, 1.4vw, 1.2rem);
}

.cta-section {
    background: var(--paper);
    color: var(--ink);
}

.cta-panel {
    position: relative;
    padding-block: clamp(4rem, 9vw, 8rem);
    padding-right: max(var(--pad), 7vw);
    padding-left: max(var(--pad), 7vw);
    background:
        linear-gradient(115deg, rgba(8, 10, 14, .99), rgba(8, 10, 14, .9)),
        url("/assets/site/images/modern/mast-site-1400.webp") center/cover;
    color: var(--white);
    overflow: hidden;
}

.cta-panel::after {
    position: absolute;
    top: -60%;
    right: -8%;
    width: 30rem;
    height: 30rem;
    border: 1px solid rgba(255, 255, 255, .1);
    border-radius: 50%;
    box-shadow: 0 0 0 5rem rgba(255, 255, 255, .025), 0 0 0 10rem rgba(255, 255, 255, .018);
    content: "";
}

.cta-panel > * {
    position: relative;
    z-index: 1;
}

.cta-panel h2 {
    max-width: 900px;
    margin-bottom: 1.2rem;
}

.cta-panel > p:not(.eyebrow) {
    max-width: 650px;
    margin-bottom: 2rem;
    color: var(--muted);
    font-size: 1.08rem;
}

/* Subpages */
.page-hero {
    position: relative;
    display: grid;
    min-height: clamp(610px, 72svh, 820px);
    align-items: end;
    padding-top: var(--header-h);
    background:
        linear-gradient(90deg, rgba(5, 7, 10, .96), rgba(5, 7, 10, .56) 56%, rgba(5, 7, 10, .32)),
        linear-gradient(0deg, var(--ink) 0%, transparent 45%),
        url("/assets/site/images/modern/mast-construction-1400.webp") center 42%/cover;
    overflow: hidden;
}

.page-hero::after {
    position: absolute;
    inset: 0;
    opacity: .16;
    background-image: linear-gradient(90deg, transparent 0 79%, rgba(255, 255, 255, .12) 79% 79.1%, transparent 79.1%);
    background-size: 20% 100%;
    content: "";
    pointer-events: none;
}

.page-hero-about {
    background-image:
        linear-gradient(90deg, rgba(5, 7, 10, .96), rgba(5, 7, 10, .48) 62%, rgba(5, 7, 10, .3)),
        linear-gradient(0deg, var(--ink) 0%, transparent 45%),
        url("/assets/site/images/modern/mobilfunk-antennen-kabeltechnik-1400.webp");
    background-position: center, center, 54% center;
}

.page-hero-jobs {
    background-image:
        linear-gradient(90deg, rgba(5, 7, 10, .96), rgba(5, 7, 10, .5) 62%, rgba(5, 7, 10, .28)),
        linear-gradient(0deg, var(--ink) 0%, transparent 45%),
        url("/assets/site/images/modern/mast-lift-1200.webp");
}

.page-hero-contact {
    background-color: #05070a;
    background-image:
        linear-gradient(90deg, rgba(5, 7, 10, .97), rgba(5, 7, 10, .5) 62%, rgba(5, 7, 10, .3)),
        linear-gradient(0deg, var(--ink) 0%, transparent 45%),
        url("/assets/site/images/modern/mobilfunk-dachstandort-1200.webp");
    background-repeat: no-repeat;
    background-position: center, center, right center;
    background-size: auto, auto, auto 100%;
}

.page-hero-legal {
    min-height: 520px;
    background:
        radial-gradient(circle at 75% 30%, rgba(200, 16, 46, .16), transparent 27rem),
        linear-gradient(135deg, #080a0e, #171c23);
}

.page-hero-content {
    position: relative;
    z-index: 1;
    padding-bottom: clamp(4rem, 8vw, 7rem);
}

.page-hero-content h1 {
    max-width: 1050px;
    margin-bottom: 1.35rem;
    font-size: clamp(3.4rem, 7vw, 7rem);
}

.page-hero-content > p:last-child {
    max-width: 690px;
    margin-bottom: 0;
    color: rgba(255, 255, 255, .7);
    font-size: clamp(1.05rem, 1.5vw, 1.28rem);
}

.process-list {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    margin: 0;
    padding: 0;
    border-top: 1px solid var(--line);
    border-left: 1px solid var(--line);
    list-style: none;
}

.process-list li {
    min-height: 270px;
    padding: clamp(1.5rem, 3vw, 2.75rem);
    border-right: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}

.process-list h3 {
    margin-top: 5rem;
}

.process-list p {
    margin-bottom: 0;
    color: var(--muted);
    font-size: .92rem;
}

.about-grid,
.contact-layout,
.jobs-layout {
    display: grid;
    grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
    gap: clamp(3rem, 8vw, 10rem);
}

.about-copy p,
.jobs-layout > div > p:not(.eyebrow),
.contact-copy > p:not(.eyebrow) {
    color: var(--muted-dark);
    font-size: clamp(1.08rem, 1.5vw, 1.3rem);
}

.about-copy p + p {
    margin-top: 1.8rem;
}

.principle-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    border-top: 1px solid var(--line);
    border-left: 1px solid var(--line);
}

.principle {
    min-width: 0;
    min-height: 285px;
    padding: clamp(1.5rem, 3vw, 2.5rem);
    border-right: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}

.principle h3 {
    margin-top: 4.8rem;
}

.jobs-principles .principle h3 {
    max-width: 100%;
    font-size: clamp(1.45rem, 1.65vw, 1.8rem);
    hyphens: manual;
    line-height: 1.08;
    overflow-wrap: anywhere;
    text-wrap: pretty;
}

.principle p {
    margin-bottom: 0;
    color: var(--muted);
    font-size: .92rem;
}

.application-card,
.contact-card {
    border: 1px solid var(--line-dark);
    background: var(--white);
}

.application-card {
    padding: clamp(2rem, 5vw, 4rem);
    box-shadow: 0 35px 90px rgba(8, 10, 14, .08);
}

.card-label,
.contact-card > span {
    color: var(--red);
    font-size: .72rem;
    font-weight: 750;
    letter-spacing: .14em;
    text-transform: uppercase;
}

.application-card h3 {
    margin-top: 2rem;
    font-size: clamp(1.9rem, 3vw, 3.2rem);
}

.application-card > p:not(.card-label) {
    color: var(--muted-dark);
}

.application-card .privacy-note {
    margin: 2rem 0 0;
    font-size: .8rem;
}

.application-card .privacy-note a {
    color: var(--ink);
}

.contact-copy h2 {
    font-size: clamp(2.2rem, 4.4vw, 4.6rem);
}

.contact-cards {
    border-top: 1px solid var(--line-dark);
}

.contact-card {
    padding: clamp(1.6rem, 3vw, 2.8rem);
    border-top: 0;
}

.contact-card > a,
.contact-card > strong {
    display: block;
    margin: 1.1rem 0 .4rem;
    color: var(--ink);
    font-size: clamp(1.2rem, 2.2vw, 2rem);
    font-weight: 650;
    line-height: 1.3;
    letter-spacing: -.03em;
    overflow-wrap: anywhere;
    text-decoration: none;
}

.contact-card p {
    margin-bottom: 0;
    color: var(--muted-dark);
    font-size: .88rem;
}

.contact-action-link {
    position: relative;
    display: flex;
    min-height: 64px;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: .72rem 1rem;
    border: 1px solid rgba(200, 16, 46, .2);
    isolation: isolate;
    overflow: hidden;
    transition: border-color .4s var(--ease), box-shadow .4s var(--ease), color .4s var(--ease);
}

.contact-action-link::before {
    position: absolute;
    inset: 0;
    z-index: -1;
    background: linear-gradient(115deg, #961027, var(--red) 72%, var(--red-bright));
    content: "";
    transform: translateY(102%);
    transition: transform .5s var(--ease);
}

.contact-action-link i {
    flex: 0 0 auto;
    color: var(--red);
    font-size: 1.08rem;
    font-style: normal;
    transition: color .4s var(--ease), transform .4s var(--ease);
}

.contact-action-link:focus-visible,
.contact-action-link:active {
    border-color: var(--red-bright);
    box-shadow: 0 16px 36px rgba(200, 16, 46, .24);
    color: var(--white);
}

.contact-action-link:focus-visible::before,
.contact-action-link:active::before {
    transform: none;
}

.contact-action-link:focus-visible i,
.contact-action-link:active i {
    color: var(--white);
    transform: translateX(5px);
}

.contact-map-link {
    line-height: 1.22;
}

.contact-map-link strong {
    font: inherit;
}

.brief-list {
    display: grid;
    max-width: 850px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: .8rem 3rem;
    padding: 0;
    list-style: none;
}

.brief-list li {
    display: flex;
    min-height: 44px;
    align-items: center;
    gap: .9rem;
    color: var(--white);
}

.brief-list li::before {
    width: .42rem;
    height: .42rem;
    border-radius: 50%;
    background: var(--red-bright);
    content: "";
}

/* Gallery */
.gallery-grid {
    display: grid;
    grid-auto-flow: dense;
    grid-auto-rows: 290px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: .8rem;
}

.gallery-item {
    position: relative;
    min-width: 0;
    min-height: 44px;
    padding: 0;
    border: 0;
    background: var(--steel);
    color: var(--white);
    cursor: zoom-in;
    overflow: hidden;
}

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

.gallery-portrait {
    grid-row: span 2;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .65s var(--ease), filter .45s ease;
}

@supports (background-image: image-set(url("x.avif") type("image/avif"))) {
    .cta-panel {
        background:
            linear-gradient(115deg, rgba(8, 10, 14, .99), rgba(8, 10, 14, .9)),
            image-set(url("/assets/site/images/modern/mast-site-1400.avif") type("image/avif"), url("/assets/site/images/modern/mast-site-1400.webp") type("image/webp")) center/cover;
    }

    .page-hero {
        background-image:
            linear-gradient(90deg, rgba(5, 7, 10, .96), rgba(5, 7, 10, .56) 56%, rgba(5, 7, 10, .32)),
            linear-gradient(0deg, var(--ink) 0%, transparent 45%),
            image-set(url("/assets/site/images/modern/mast-construction-1400.avif") type("image/avif"), url("/assets/site/images/modern/mast-construction-1400.webp") type("image/webp"));
    }

    .page-hero-about {
        background-image:
            linear-gradient(90deg, rgba(5, 7, 10, .96), rgba(5, 7, 10, .48) 62%, rgba(5, 7, 10, .3)),
            linear-gradient(0deg, var(--ink) 0%, transparent 45%),
            image-set(url("/assets/site/images/modern/mobilfunk-antennen-kabeltechnik-1400.avif") type("image/avif"), url("/assets/site/images/modern/mobilfunk-antennen-kabeltechnik-1400.webp") type("image/webp"));
    }

    .page-hero-jobs {
        background-image:
            linear-gradient(90deg, rgba(5, 7, 10, .96), rgba(5, 7, 10, .5) 62%, rgba(5, 7, 10, .28)),
            linear-gradient(0deg, var(--ink) 0%, transparent 45%),
            image-set(url("/assets/site/images/modern/mast-lift-1200.avif") type("image/avif"), url("/assets/site/images/modern/mast-lift-1200.webp") type("image/webp"));
    }

    .page-hero-contact {
        background-image:
            linear-gradient(90deg, rgba(5, 7, 10, .97), rgba(5, 7, 10, .5) 62%, rgba(5, 7, 10, .3)),
            linear-gradient(0deg, var(--ink) 0%, transparent 45%),
            image-set(url("/assets/site/images/modern/mobilfunk-dachstandort-1200.avif") type("image/avif"), url("/assets/site/images/modern/mobilfunk-dachstandort-1200.webp") type("image/webp"));
    }

    .page-hero-legal {
        background:
            radial-gradient(circle at 75% 30%, rgba(200, 16, 46, .16), transparent 27rem),
            linear-gradient(135deg, #080a0e, #171c23);
    }
}

.gallery-item::after {
    position: absolute;
    inset: 0;
    background: linear-gradient(0deg, rgba(0, 0, 0, .8), transparent 50%);
    content: "";
    pointer-events: none;
}

.gallery-item > span {
    position: absolute;
    z-index: 1;
    right: 1.25rem;
    bottom: 1.1rem;
    left: 1.25rem;
    font-size: .8rem;
    font-weight: 660;
    line-height: 1.35;
    text-align: left;
}

.lightbox {
    width: min(94vw, 1480px);
    max-width: none;
    height: min(92vh, 1000px);
    max-height: none;
    padding: 0;
    border: 1px solid rgba(255, 255, 255, .18);
    background: #050609;
    box-shadow: 0 30px 100px rgba(0, 0, 0, .7);
    overflow: hidden;
}

.lightbox::backdrop {
    background: rgba(0, 0, 0, .88);
    backdrop-filter: blur(12px);
}

.lightbox img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.lightbox-close {
    position: absolute;
    z-index: 2;
    top: .8rem;
    right: .8rem;
    display: grid;
    width: 48px;
    height: 48px;
    place-items: center;
    padding: 0;
    border: 1px solid rgba(255, 255, 255, .28);
    border-radius: 50%;
    background: rgba(8, 10, 14, .75);
    color: var(--white);
    font-size: 1.6rem;
    line-height: 1;
    cursor: pointer;
    backdrop-filter: blur(10px);
}

/* Legal, employee area and 404 */
.legal-content {
    max-width: 1050px;
    padding-top: clamp(4.5rem, 8vw, 8rem);
    padding-bottom: clamp(5rem, 10vw, 10rem);
    color: var(--ink);
    background: var(--paper);
}

.page-impressum,
.page-datenschutz {
    background: var(--paper);
}

.legal-content h2 {
    margin-top: clamp(2.7rem, 5vw, 4.5rem);
    margin-bottom: 1rem;
    padding-top: 1.2rem;
    border-top: 1px solid var(--line-dark);
    font-size: clamp(1.45rem, 2.5vw, 2.3rem);
}

.legal-content p,
.legal-content address {
    max-width: 76ch;
    color: #3f4751;
}

.legal-content a {
    color: #9e0b23;
    font-weight: 600;
    overflow-wrap: anywhere;
}

.coming-soon,
.not-found {
    position: relative;
    display: grid;
    min-height: 100svh;
    align-items: center;
    padding-top: var(--header-h);
    background:
        radial-gradient(circle at 70% 45%, rgba(200, 16, 46, .2), transparent 24rem),
        linear-gradient(135deg, #080a0e, #151a22);
    overflow: hidden;
}

.coming-soon-glow {
    position: absolute;
    top: 20%;
    right: -10rem;
    width: min(55vw, 48rem);
    aspect-ratio: 1;
    border: 1px solid rgba(255, 255, 255, .08);
    border-radius: 50%;
    box-shadow: 0 0 0 6rem rgba(255, 255, 255, .018), 0 0 0 12rem rgba(255, 255, 255, .012);
}

.coming-soon-content,
.not-found .container {
    position: relative;
    z-index: 1;
    padding-top: 6rem;
    padding-bottom: 6rem;
}

.coming-soon-content h1,
.not-found h1 {
    max-width: 950px;
}

.coming-soon-content > p:not(.eyebrow),
.not-found .container > p:not(.eyebrow) {
    max-width: 600px;
    margin-bottom: 2rem;
    color: var(--muted);
    font-size: 1.1rem;
}

/* ALPEX Intern: public preview only; protected files are added later server-side. */
.intern-hero {
    position: relative;
    display: grid;
    min-height: min(860px, 92svh);
    align-items: end;
    padding-top: var(--header-h);
    background:
        radial-gradient(circle at 78% 47%, rgba(200, 16, 46, .18), transparent 22rem),
        linear-gradient(135deg, #07090c 10%, #0d1117 58%, #171319 100%);
    isolation: isolate;
    overflow: hidden;
}

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

.intern-hero-grid {
    position: absolute;
    inset: 0;
    z-index: -2;
    background-image:
        linear-gradient(rgba(255, 255, 255, .055) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, .055) 1px, transparent 1px);
    background-position: center;
    background-size: clamp(72px, 8vw, 145px) clamp(72px, 8vw, 145px);
    mask-image: linear-gradient(90deg, black 0%, rgba(0, 0, 0, .65) 55%, transparent 95%);
}

.intern-orbit {
    position: absolute;
    right: clamp(-13rem, -8vw, -4rem);
    bottom: clamp(1rem, 6vw, 7rem);
    width: min(58vw, 48rem);
    aspect-ratio: 1;
    border: 1px solid rgba(255, 255, 255, .11);
    border-radius: 50%;
    box-shadow:
        0 0 0 clamp(3.5rem, 7vw, 7rem) rgba(255, 255, 255, .018),
        0 0 0 clamp(7rem, 14vw, 14rem) rgba(255, 255, 255, .012);
    pointer-events: none;
}

.intern-orbit::before,
.intern-orbit::after,
.intern-orbit span {
    position: absolute;
    border-radius: 50%;
    content: "";
}

.intern-orbit::before {
    inset: 19%;
    border: 1px solid rgba(200, 16, 46, .44);
}

.intern-orbit::after {
    inset: 40%;
    background: var(--red);
    box-shadow: 0 0 70px rgba(200, 16, 46, .42);
}

.intern-orbit span:first-child {
    top: 6%;
    left: 48%;
    width: 9px;
    height: 9px;
    background: rgba(255, 255, 255, .68);
    box-shadow: 0 0 22px rgba(255, 255, 255, .45);
}

.intern-orbit span:last-child {
    right: 15%;
    bottom: 18%;
    width: 6px;
    height: 6px;
    background: var(--red-bright);
}

.intern-hero-content {
    position: relative;
    z-index: 1;
    padding-bottom: clamp(4.25rem, 9vw, 9rem);
}

.intern-status {
    display: inline-flex;
    min-height: 34px;
    margin-bottom: clamp(1.5rem, 3vw, 2.5rem);
    padding: .4rem .75rem;
    border: 1px solid rgba(255, 255, 255, .14);
    border-radius: 99px;
    align-items: center;
    gap: .55rem;
    background: rgba(255, 255, 255, .045);
    color: rgba(255, 255, 255, .74);
    font-size: .72rem;
    font-weight: 690;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.intern-status span {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--red-bright);
    box-shadow: 0 0 14px rgba(226, 28, 61, .7);
}

.intern-hero h1 {
    max-width: 1040px;
    margin-bottom: 1.8rem;
    font-size: clamp(3.1rem, 7.1vw, 7.25rem);
    line-height: .9;
    letter-spacing: -.065em;
}

.intern-lead {
    max-width: 720px;
    margin-bottom: 0;
    color: rgba(255, 255, 255, .69);
    font-size: clamp(1.02rem, 1.45vw, 1.25rem);
}

.intern-modules {
    background: var(--paper);
    color: var(--ink);
}

.intern-module-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    border-top: 1px solid rgba(8, 10, 14, .15);
    border-left: 1px solid rgba(8, 10, 14, .15);
}

.intern-module {
    position: relative;
    display: flex;
    min-width: 0;
    min-height: 390px;
    padding: clamp(1.7rem, 3.2vw, 3.2rem);
    border-right: 1px solid rgba(8, 10, 14, .15);
    border-bottom: 1px solid rgba(8, 10, 14, .15);
    flex-direction: column;
    overflow: hidden;
}

.intern-module::after {
    position: absolute;
    right: 0;
    bottom: 0;
    width: 3px;
    height: 0;
    background: var(--red);
    content: "";
    transition: height .45s var(--ease);
}

.intern-module-primary {
    background:
        radial-gradient(circle at 90% 10%, rgba(200, 16, 46, .28), transparent 15rem),
        #0b0e13;
    color: var(--white);
}

.intern-module-number {
    color: var(--red);
    font-size: .72rem;
    font-weight: 760;
    letter-spacing: .15em;
}

.intern-module-state {
    margin: 1.3rem 0 auto;
    color: #69727d;
    font-size: .68rem;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
}

.intern-module-primary .intern-module-state {
    color: rgba(255, 255, 255, .48);
}

.intern-module h3 {
    max-width: 12ch;
    margin-bottom: 1rem;
    font-size: clamp(1.8rem, 2.8vw, 3rem);
}

.intern-module p:last-child {
    max-width: 36ch;
    margin-bottom: 0;
    color: var(--muted-dark);
    font-size: .92rem;
}

.intern-module-primary p:last-child {
    color: rgba(255, 255, 255, .67);
}

.intern-access-section {
    background:
        radial-gradient(circle at 13% 8%, rgba(200, 16, 46, .13), transparent 22rem),
        #07090c;
}

.intern-access-panel {
    display: grid;
    grid-template-columns: minmax(0, .95fr) minmax(360px, 1.05fr);
    gap: clamp(3rem, 7vw, 8rem);
    padding: clamp(2rem, 5vw, 5.5rem);
    border: 1px solid rgba(255, 255, 255, .12);
    align-items: start;
    background: rgba(255, 255, 255, .022);
}

.intern-access-panel h2 {
    margin-bottom: 0;
    font-size: clamp(2.2rem, 4.2vw, 4.5rem);
}

.intern-access-list {
    display: grid;
    gap: 0;
    margin: 0;
    padding: 0;
    list-style: none;
}

.intern-access-list li {
    display: grid;
    grid-template-columns: 38px minmax(0, 1fr);
    gap: 1rem;
    padding: 1.35rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, .1);
}

.intern-access-list li:first-child {
    padding-top: 0;
}

.intern-access-list > li > span {
    color: var(--red-bright);
    font-size: .68rem;
    font-weight: 760;
    letter-spacing: .12em;
}

.intern-access-list strong {
    display: block;
    margin-bottom: .4rem;
    color: var(--white);
    font-size: 1rem;
}

.intern-access-list p {
    margin-bottom: 0;
    color: var(--muted);
    font-size: .88rem;
}

.intern-access-panel .button {
    justify-self: start;
}

/* Footer */
.site-footer {
    padding-top: clamp(4rem, 8vw, 7rem);
    border-top: 1px solid var(--line);
    background: #06080b;
    color: var(--white);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr .7fr .7fr;
    gap: clamp(2.5rem, 5vw, 6rem);
    padding-bottom: clamp(3.5rem, 6vw, 6rem);
}

.footer-intro img {
    width: min(100%, 215px);
    height: auto;
    margin: -.35rem 0 1.8rem -.55rem;
    padding: .35rem .55rem;
    background: radial-gradient(ellipse at 45% 48%, rgba(255, 255, 255, .14), rgba(255, 255, 255, .035) 55%, transparent 76%);
    filter: drop-shadow(0 8px 18px rgba(0, 0, 0, .42));
}

.footer-intro p {
    max-width: 420px;
    color: var(--muted);
    font-size: .9rem;
}

.footer-title {
    margin-bottom: 1.25rem;
    color: var(--white);
    font-size: .72rem;
    font-weight: 760;
    letter-spacing: .14em;
    text-transform: uppercase;
}

.site-footer address,
.footer-links {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: .5rem;
    color: var(--muted);
    font-size: .84rem;
}

.site-footer address a,
.footer-links a {
    display: inline-flex;
    min-width: 44px;
    min-height: 44px;
    align-items: center;
    text-decoration: none;
}

.logout-form {
    margin-top: 1.2rem;
}

.logout-form button {
    min-height: 44px;
    padding: 0;
    border: 0;
    background: transparent;
    color: var(--muted);
    font-size: .84rem;
    cursor: pointer;
    text-decoration: underline;
    text-underline-offset: .3rem;
}

.footer-bottom {
    display: flex;
    min-height: 76px;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    border-top: 1px solid var(--line);
    color: #727a84;
    font-size: .72rem;
    letter-spacing: .04em;
}

/* Progressive motion */
.js .reveal {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity .8s var(--ease), transform .8s var(--ease);
}

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

@media (hover: hover) and (pointer: fine) {
    .button:hover {
        transform: translateY(-2px);
    }

    .button:hover span {
        transform: translateX(4px);
    }

    .button-primary:hover {
        background: var(--red-bright);
        box-shadow: 0 18px 45px rgba(200, 16, 46, .34);
    }

    .button-ghost:hover {
        border-color: rgba(255, 255, 255, .58);
        background: rgba(255, 255, 255, .1);
    }

    .button-outline:hover {
        border-color: var(--ink);
        background: var(--ink);
        color: var(--white);
    }

    .text-link:hover::after {
        transform: scaleX(1);
    }

    .main-nav > a:hover {
        color: var(--white);
    }

    .main-nav > a:not(.nav-contact):hover::after {
        transform: scaleX(1);
        transform-origin: left;
    }

    .main-nav .nav-contact:hover {
        border-color: var(--red-bright);
        background: var(--red);
    }

    .service-card:hover {
        z-index: 2;
        color: var(--white);
        box-shadow: var(--shadow);
        transform: translateY(-4px);
    }

    .service-card:hover::before {
        transform: none;
    }

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

    .service-card:hover i {
        transform: translateX(6px);
    }

    .contact-action-link:hover {
        border-color: var(--red-bright);
        box-shadow: 0 16px 36px rgba(200, 16, 46, .24);
        color: var(--white);
    }

    .contact-action-link:hover::before {
        transform: none;
    }

    .contact-action-link:hover i {
        color: var(--white);
        transform: translateX(5px);
    }

    .field-story-media:hover img,
    .about-visual figure:hover img {
        transform: scale(1.025);
    }

    .project-tile:hover img,
    .gallery-item:hover img {
        filter: saturate(1.06) contrast(1.04);
        transform: scale(1.035);
    }

    .site-footer a:hover,
    .logout-form button:hover {
        color: var(--white);
    }

    .intern-module:hover::after {
        height: 100%;
    }
}

@media (min-width: 961px) {
    .sticky-copy {
        position: sticky;
        top: calc(var(--header-h) + 3rem);
    }
}

@media (max-width: 1180px) {
    :root {
        --header-h: 74px;
    }

    .header-inner {
        gap: .35rem;
    }

    .header-mobile-controls {
        display: flex;
        align-items: center;
        gap: .375rem;
    }

    .nav-toggle {
        display: block;
    }

    .main-nav {
        position: fixed;
        z-index: -1;
        top: var(--header-h);
        right: 0;
        bottom: 0;
        left: 0;
        display: flex;
        padding: 2rem var(--pad) 3rem;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        background: rgba(8, 10, 14, .985);
        overflow-y: auto;
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        transform: translateY(-1rem);
        transition: opacity .3s ease, transform .4s var(--ease);
    }

    .main-nav[data-open="true"] {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
        transform: none;
    }

    .main-nav > a {
        min-height: 64px;
        border-bottom: 1px solid var(--line);
        font-size: clamp(1.15rem, 3vw, 1.7rem);
        font-weight: 590;
        letter-spacing: -.02em;
    }

    .main-nav > a::after {
        display: none;
    }

    .main-nav .nav-contact {
        min-height: 56px;
        justify-content: center;
        margin-top: 1.5rem;
        border-color: var(--red);
        background: var(--red);
        font-size: 1rem;
    }

    .language-switch-desktop {
        display: none;
    }

    .language-switch-mobile {
        display: inline-flex;
        width: auto;
        min-height: 48px;
        padding-inline: .1rem;
        justify-content: center;
        gap: .2rem;
        border: 1px solid rgba(255, 255, 255, .18);
        border-radius: .45rem;
        background: rgba(255, 255, 255, .04);
        font-size: .68rem;
    }

    .language-switch-mobile a {
        min-width: 26px;
        min-height: 46px;
        border-radius: .32rem;
    }

    .language-switch-mobile a[aria-current="true"] {
        background: rgba(255, 255, 255, .08);
    }

    .site-header.is-scrolled .brand img {
        width: 10.4rem;
    }

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

    .service-card,
    .service-card-primary,
    .service-card-wide {
        grid-column: span 1;
    }

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

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

    .footer-grid > :last-child {
        grid-column: 2;
    }
}

@media (max-width: 900px) {
    .section-heading,
    .split-layout,
    .about-grid,
    .about-visual-grid,
    .field-story-grid,
    .qualification-grid,
    .contact-layout,
    .jobs-layout {
        grid-template-columns: 1fr;
    }

    .section-heading {
        gap: 1.5rem;
    }

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

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

    .service-anchor-inner a:nth-child(3n) {
        border-right: 1px solid var(--line);
    }

    .service-anchor-inner a:nth-child(n + 4) {
        border-top: 1px solid var(--line);
    }

    .service-story-grid,
    .service-story-reverse .service-story-grid {
        grid-template-areas: "copy" "media";
        grid-template-columns: 1fr;
    }

    .service-story-grid {
        gap: 3rem;
    }

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

    .project-tile,
    .project-tile:not(.project-tile-wide) {
        min-height: min(76vw, 620px);
    }

    .field-story-media,
    .about-visual figure {
        min-height: 0;
    }

    .about-visual-grid > div,
    .field-story-copy {
        max-width: 720px;
    }

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

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

    .intern-module-grid,
    .intern-access-panel {
        grid-template-columns: 1fr;
    }

    .intern-module {
        min-height: 330px;
    }

    .intern-access-panel {
        gap: 3rem;
    }

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

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

@media (max-width: 680px) {
    :root {
        --pad: 1.25rem;
        --section: 5rem;
        --radius: .8rem;
    }

    body {
        font-size: .98rem;
    }

    h2 {
        font-size: clamp(2.15rem, 11vw, 3.2rem);
    }

    .brand img {
        width: 10.35rem;
    }

    .site-header.is-scrolled .brand img {
        width: 9.7rem;
    }

    .brand {
        padding: .28rem .5rem;
        border-radius: .58rem;
    }

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

    .service-anchor-inner a,
    .service-anchor-inner a:nth-child(3n) {
        min-height: 64px;
        border-top: 1px solid var(--line);
        border-right: 0;
    }

    .service-anchor-inner a:nth-child(-n + 2) {
        border-top: 0;
    }

    .service-anchor-inner a:nth-child(2n) {
        border-right: 1px solid var(--line);
    }

    .service-story .field-story-copy h2 {
        font-size: clamp(2.4rem, 12vw, 3.45rem);
    }

    .facade-story .field-story-copy h2 {
        font-size: clamp(2.25rem, 9.8vw, 3rem);
    }

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

    .hero-media::after {
        background:
            linear-gradient(0deg, rgba(4, 6, 9, .96) 0%, rgba(4, 6, 9, .63) 58%, rgba(4, 6, 9, .35) 100%),
            linear-gradient(90deg, rgba(4, 6, 9, .62), transparent);
    }

    .hero-media img {
        object-position: 58% 45%;
    }

    .hero-content {
        padding-top: 9rem;
        padding-bottom: 2.4rem;
    }

    .hero-content h1 {
        max-width: 10ch;
        margin-bottom: 1.35rem;
        font-size: clamp(3.05rem, 14.7vw, 4.5rem);
        line-height: .89;
        overflow-wrap: normal;
    }

    .intern-hero {
        min-height: 740px;
    }

    .intern-orbit {
        right: -13rem;
        bottom: 5rem;
        width: 31rem;
        opacity: .72;
    }

    .intern-hero-content {
        padding-bottom: 4rem;
    }

    .intern-hero h1 {
        font-size: clamp(3.05rem, 14vw, 4.45rem);
        line-height: .91;
    }

    .intern-lead {
        font-size: .98rem;
    }

    .intern-module {
        min-height: 300px;
        padding: 1.65rem;
    }

    .intern-access-panel {
        gap: 2.5rem;
        padding: 1.65rem;
    }

    .hero-lead {
        margin-bottom: 1.6rem;
        font-size: 1rem;
        line-height: 1.55;
    }

    .button-row {
        flex-direction: column;
    }

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

    .button {
        min-height: 54px;
    }

    .hero-facts {
        display: grid;
        grid-template-columns: 1fr;
        gap: 0;
        margin-top: 2.5rem;
    }

    .hero-facts li {
        min-height: 58px;
        padding: .7rem 0;
        border-top: 1px solid rgba(255, 255, 255, .16);
        border-left: 0;
        font-size: .66rem;
    }

    .service-grid,
    .process-list,
    .principle-grid {
        display: grid;
        grid-template-columns: 1fr;
    }

    .service-card {
        grid-column: auto;
    }

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

    .value-item {
        grid-template-columns: 42px minmax(0, 1fr);
    }

    .process-list li,
    .principle {
        min-height: 230px;
    }

    .process-list h3,
    .principle h3 {
        margin-top: 3.5rem;
    }

    .page-hero {
        min-height: 630px;
        background-position: 40% 50%;
    }

    .page-hero-about {
        background-position: center, center, 62% 50%;
    }

    .page-hero-jobs {
        background-position: 50% 44%;
    }

    .page-hero-contact {
        background-position: center, center, 52% 40%;
        background-size: auto, auto, cover;
    }

    .page-hero-legal {
        min-height: 440px;
    }

    .page-hero-content h1 {
        font-size: clamp(3.2rem, 14vw, 4.7rem);
    }

    .page-hero-content > p:last-child {
        font-size: 1rem;
    }

    .contact-card > a,
    .contact-card > strong {
        font-size: 1.18rem;
    }

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

    .gallery-grid {
        display: grid;
        grid-auto-rows: auto;
        grid-template-columns: 1fr;
        gap: .75rem;
    }

    .gallery-item,
    .gallery-portrait,
    .gallery-item:nth-child(5n + 1) {
        grid-column: auto;
        grid-row: auto;
        aspect-ratio: 4 / 3;
    }

    .gallery-portrait {
        aspect-ratio: 3 / 4;
    }

    .lightbox {
        width: 100vw;
        height: 100svh;
        border: 0;
    }

    .cta-panel {
        margin-inline: 0;
        padding: 3.5rem 1.5rem;
    }

    .cta-panel::after {
        display: none;
    }

    .field-story-media,
    .about-visual figure {
        min-height: 0;
        aspect-ratio: 4 / 5;
    }

    .about-visual figure {
        aspect-ratio: 4 / 3;
    }

    .legal-content {
        padding-inline: 1.25rem;
    }

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

    .footer-bottom {
        min-height: 100px;
        flex-direction: column;
        align-items: flex-start;
        justify-content: center;
        gap: .35rem;
    }
}

@media (max-width: 370px) {
    .hero-content h1 {
        font-size: 2.85rem;
    }

    .brand img {
        width: 8.4rem;
    }

    .site-header.is-scrolled .brand img {
        width: 8rem;
    }

    .hero-facts li {
        letter-spacing: .035em;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
        scroll-behavior: auto !important;
        transition-duration: .01ms !important;
    }

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