@import url('https://fonts.googleapis.com/css2?family=Barlow+Condensed:wght@600;700;800;900&family=Inter:wght@300;400;500;600;700;800;900&family=JetBrains+Mono:wght@500;700&display=swap');

/* ==========================================================================
   Design tokens
   ========================================================================== */
:root {
    --red: #d9232a;
    --red-dark: #b51b21;
    --red-soft: #ff777d;
    --ink: #0d1117;
    --ink-2: #131920;
    --steel: #263238;
    --steel-2: #1b2429;
    --concrete: #e5e8e7;
    --concrete-2: #dce1e1;
    --panel: #f0f2f1;
    --line: #cbd2d1;
    --muted: #59666c;
    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-display: 'Barlow Condensed', 'Arial Narrow', 'Roboto Condensed', sans-serif;
    --font-mono: 'JetBrains Mono', ui-monospace, 'SFMono-Regular', Consolas, monospace;
    --ease-out: cubic-bezier(0.2, 0.7, 0.3, 1);
    --ease-in-out: cubic-bezier(0.76, 0, 0.24, 1);
    --header-h: 5rem;
    --hazard: repeating-linear-gradient(-45deg, #d9232a 0 14px, #0d1117 14px 28px);
    --grid-lines:
        linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
    --grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.55'/%3E%3C/svg%3E");
}

/* Minimal reset – the detail pages do not load Tailwind's preflight. */
*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    /* Android Chrome ignores overflow-x on body alone – without this the page can be dragged sideways. */
    overflow-x: hidden;
    overflow-x: clip;
    max-width: 100%;
}

html.lenis,
html.lenis body {
    height: auto;
}

html.lenis.lenis-smooth {
    scroll-behavior: auto !important;
}

html.lenis.lenis-stopped,
html.menu-open {
    overflow: hidden;
}

section[id],
footer[id] {
    scroll-margin-top: 1.5rem;
}

.section-nav ~ section[id],
.section-nav ~ footer[id] {
    scroll-margin-top: 5.5rem;
}

body {
    margin: 0;
    font-family: var(--font-sans);
    background-color: var(--concrete);
    color: var(--ink);
    overflow-x: hidden;
    overflow-x: clip;
}

[hidden] {
    display: none !important;
}

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

/* Display typography */
h1,
h2 {
    font-family: var(--font-display);
    font-weight: 800;
    letter-spacing: -0.005em;
    line-height: 1;
    text-transform: uppercase;
}

/* Long German compounds must never push the layout wider than the screen. */
h1,
h2,
h3 {
    -webkit-hyphens: auto;
    hyphens: auto;
    overflow-wrap: break-word;
}

.section-title {
    margin: 0;
    color: var(--ink);
    font-family: var(--font-display);
    font-size: clamp(2.9rem, 7vw, 5.75rem);
    font-weight: 800;
    letter-spacing: -0.005em;
    line-height: 1;
    text-transform: uppercase;
}

.section-title span {
    color: var(--red);
}

.section-title--light {
    color: #fff;
}

.section-title--sm {
    font-size: clamp(2.5rem, 5.2vw, 4.4rem);
}

.editorial-lead {
    max-width: 32rem;
    margin: 0;
    color: #475569;
    font-size: clamp(1rem, 1.3vw, 1.125rem);
    line-height: 1.75;
}

.editorial-heading-dark .editorial-lead {
    color: #b6c2cc;
}

/* ==========================================================================
   Homepage hero
   ========================================================================== */
.hero-section {
    position: relative;
    display: flex;
    min-height: 100vh;
    min-height: 100svh;
    isolation: isolate;
    overflow: hidden;
    background: var(--ink);
    color: #fff;
}

.hero-side-line {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 4;
    width: 7px;
    height: min(72vh, 720px);
    background: var(--red);
    transform-origin: top center;
    will-change: transform;
}

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

.hero-media {
    z-index: 0;
    overflow: hidden;
    background: var(--steel-2);
}

.hero-video {
    position: absolute;
    inset: 0;
    z-index: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 48%;
    opacity: 0.62;
    filter: grayscale(0.3) contrast(1.08);
    will-change: transform;
}

.hero-shade {
    z-index: 1;
    background:
        linear-gradient(90deg, rgba(9, 12, 16, 0.9) 0%, rgba(9, 12, 16, 0.55) 55%, rgba(9, 12, 16, 0.2) 100%),
        linear-gradient(0deg, rgba(9, 12, 16, 0.95) 0%, rgba(9, 12, 16, 0) 70%);
}

.hero-grid {
    z-index: 2;
    pointer-events: none;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
    background-size: 96px 96px;
    -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 25%, #000 75%, transparent 100%);
    mask-image: linear-gradient(180deg, transparent 0%, #000 25%, #000 75%, transparent 100%);
}

.hero-inner {
    position: relative;
    z-index: 3;
    display: flex;
    width: 100%;
    flex-direction: column;
    justify-content: flex-end;
    gap: clamp(1.5rem, 4vh, 2.75rem);
    padding-top: 7rem;
    padding-bottom: clamp(5.5rem, 12vh, 7.5rem);
}

.hero-topline {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem 2rem;
}

.hero-kicker {
    display: inline-flex;
    align-items: center;
    gap: 0.85rem;
    color: rgba(255, 255, 255, 0.82);
    font: 700 0.7rem/1.3 var(--font-mono);
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.hero-kicker::before {
    width: 2.25rem;
    height: 2px;
    flex: 0 0 auto;
    background: var(--red);
    content: "";
}

.hero-kicker-text > span {
    color: var(--red-soft);
}

.hero-coords {
    color: rgba(255, 255, 255, 0.5);
    font: 500 0.66rem/1.3 var(--font-mono);
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.hero-title {
    margin: 0;
    color: #fff;
    font-family: var(--font-display);
    font-size: clamp(4rem, 16vw, 12.5rem);
    font-weight: 900;
    letter-spacing: -0.01em;
    line-height: 0.96;
    text-transform: uppercase;
}

.hero-title-line {
    display: block;
    overflow: hidden;
    padding: 0.06em 0 0.02em;
    margin: -0.06em 0 -0.12em;
}

.hero-title-line > span {
    display: inline-block;
}

.hero-title .is-red {
    color: var(--red);
}

.hero-bottom {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: end;
    gap: 2rem 3rem;
    padding-top: 1.75rem;
    border-top: 1px solid rgba(255, 255, 255, 0.18);
}

.hero-description {
    max-width: 34rem;
    margin: 0;
    color: #cbd5e1;
    font-size: clamp(1rem, 1.35vw, 1.125rem);
    line-height: 1.7;
}

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

.hero-scroll {
    position: absolute;
    right: 0;
    bottom: 1.6rem;
    left: 0;
    z-index: 4;
    display: flex;
    width: max-content;
    margin-inline: auto;
    flex-direction: column;
    align-items: center;
    gap: 0.6rem;
    color: rgba(255, 255, 255, 0.6);
    font: 700 0.58rem/1 var(--font-mono);
    letter-spacing: 0.3em;
    text-decoration: none;
    text-transform: uppercase;
    transition: color 200ms ease;
}

.hero-scroll:hover,
.hero-scroll:focus-visible {
    color: #fff;
}

.hero-scroll-line {
    position: relative;
    display: block;
    width: 1px;
    height: 2.4rem;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.2);
}

.hero-scroll-line::after {
    position: absolute;
    inset: 0;
    background: var(--red);
    content: "";
    animation: scroll-cue 2s var(--ease-in-out) infinite;
}

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

    55% {
        transform: translateY(0);
    }

    100% {
        transform: translateY(100%);
    }
}

.hero-hazard {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 4;
}

/* ==========================================================================
   Header navigation (homepage + detail pages)
   ========================================================================== */
.section-nav {
    position: fixed;
    top: 0;
    right: 0;
    left: 0;
    z-index: 40;
    border-bottom: 1px solid transparent;
    background: transparent;
    transition: background-color 300ms ease, border-color 300ms ease, transform 500ms var(--ease-out);
}

.section-nav.is-scrolled,
.section-nav.is-over-hero {
    border-bottom-color: rgba(255, 255, 255, 0.1);
    background: rgba(13, 17, 23, 0.9);
    -webkit-backdrop-filter: blur(16px);
    backdrop-filter: blur(16px);
}

.section-nav.is-hidden,
.detail-topbar.is-hidden {
    transform: translateY(-101%);
}

html.menu-open .section-nav {
    border-bottom-color: transparent;
    background: transparent;
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
    transform: none;
}

.section-nav > div {
    display: grid;
    min-height: var(--header-h);
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: clamp(1rem, 2.5vw, 2.5rem);
}

.section-nav-brand {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
}

.section-nav-brand img {
    display: block;
    width: 2.5rem;
    height: 3.1rem;
    object-fit: contain;
}

.section-nav-links {
    display: flex;
    min-width: 0;
    align-items: center;
    justify-content: center;
    gap: clamp(0.9rem, 2vw, 2rem);
}

.section-nav-links a,
.detail-nav a {
    position: relative;
    display: inline-flex;
    flex: 0 0 auto;
    align-items: baseline;
    gap: 0.45rem;
    padding: 0.55rem 0;
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-decoration: none;
    text-transform: uppercase;
    transition: color 200ms ease;
}

.section-nav-links a::after,
.detail-nav a::after {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    height: 2px;
    background: var(--red);
    content: "";
    transform: scaleX(0);
    transform-origin: right center;
    transition: transform 400ms var(--ease-out);
}

.section-nav-links a:hover,
.section-nav-links a:focus-visible,
.section-nav-links a[aria-current="page"],
.detail-nav a:hover,
.detail-nav a:focus-visible,
.detail-nav a[aria-current="page"] {
    color: #fff;
}

.section-nav-links a:hover::after,
.section-nav-links a:focus-visible::after,
.section-nav-links a[aria-current="page"]::after,
.detail-nav a:hover::after,
.detail-nav a:focus-visible::after,
.detail-nav a[aria-current="page"]::after {
    transform: scaleX(1);
    transform-origin: left center;
}

.section-nav-links a span {
    color: var(--red-soft);
    font: 700 0.6rem/1 var(--font-mono);
    letter-spacing: 0.06em;
}

.section-nav a:focus-visible,
.detail-topbar a:focus-visible {
    outline: 2px solid var(--red);
    outline-offset: 4px;
}

.section-eyebrow {
    display: inline-block;
    color: var(--red);
    font: 700 0.7rem/1.3 var(--font-mono);
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

/* Hamburger toggle */
.nav-toggle {
    position: relative;
    display: none;
    width: 3rem;
    height: 3rem;
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: var(--red);
    color: #fff;
    cursor: pointer;
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
    transition: background-color 250ms ease;
}

.nav-toggle span {
    pointer-events: none;
}

.nav-toggle:hover {
    background: var(--red-dark);
}

.nav-toggle:focus-visible {
    outline: 2px solid #fff;
    outline-offset: 3px;
}

.nav-toggle span {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 1.35rem;
    height: 2px;
    margin: -1px 0 0 -0.675rem;
    background: currentColor;
    transform-origin: center;
    transition: transform 450ms var(--ease-in-out), opacity 250ms ease, width 300ms var(--ease-out);
}

.nav-toggle span:nth-child(1) {
    transform: translateY(-7px);
}

.nav-toggle span:nth-child(2) {
    width: 0.85rem;
}

.nav-toggle span:nth-child(3) {
    transform: translateY(7px);
}

.nav-toggle:hover span:nth-child(2) {
    width: 1.35rem;
}

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

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

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

.editorial-heading {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(16rem, 0.8fr);
    align-items: end;
    gap: 2rem;
}

.editorial-heading .section-eyebrow {
    display: block;
    margin-bottom: 1rem;
}

.editorial-heading-dark p {
    color: #cbd5e1;
}

/* ==========================================================================
   Homepage: process timeline
   ========================================================================== */
.process-section {
    position: relative;
    overflow: hidden;
    isolation: isolate;
    padding-block: clamp(5rem, 10vw, 8rem);
    background-color: var(--ink);
    color: #fff;
}

.process-bg-word {
    position: absolute;
    bottom: -0.14em;
    left: 0;
    z-index: -1;
    color: transparent;
    font: 900 clamp(8rem, 26vw, 24rem)/0.8 var(--font-display);
    text-transform: uppercase;
    white-space: nowrap;
    -webkit-text-stroke: 1px rgba(255, 255, 255, 0.09);
    pointer-events: none;
    user-select: none;
}

.process-timeline {
    --progress: 1;
    position: relative;
}

.process-track {
    position: absolute;
    top: 7px;
    right: 0;
    left: 0;
    height: 2px;
    background: rgba(255, 255, 255, 0.14);
}

.process-progress {
    position: absolute;
    inset: 0;
    background: var(--red);
    transform: scaleX(var(--progress));
    transform-origin: left center;
}

.process-list {
    position: relative;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 2rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.process-step {
    position: relative;
    padding-top: 2.75rem;
    transition: opacity 500ms ease;
}

.process-dot {
    position: absolute;
    top: 0;
    left: 0;
    width: 16px;
    height: 16px;
    border: 2px solid var(--red);
    background: var(--red);
    transform: rotate(45deg);
    transition: background-color 400ms ease, border-color 400ms ease, transform 500ms var(--ease-out);
}

.process-number {
    display: block;
    margin-bottom: 1rem;
    color: var(--red);
    font: 900 clamp(3.5rem, 5vw, 4.75rem)/0.85 var(--font-display);
}

.process-step h3 {
    margin: 0 0 0.7rem;
    color: #fff;
    font: 800 1.6rem/1 var(--font-display);
    text-transform: uppercase;
}

.process-step p {
    max-width: 28rem;
    color: #b6c2cc;
    font-size: 0.9rem;
    line-height: 1.7;
}

.process-timeline.is-animated .process-step:not(.is-active) {
    opacity: 0.4;
}

.process-timeline.is-animated .process-step:not(.is-active) .process-dot {
    border-color: rgba(255, 255, 255, 0.35);
    background: var(--ink);
    transform: rotate(45deg) scale(0.8);
}

@media (max-width: 767px) {
    .process-track {
        top: 0;
        right: auto;
        bottom: 0;
        left: 7px;
        width: 2px;
        height: auto;
    }

    .process-progress {
        transform: scaleY(var(--progress));
        transform-origin: center top;
    }

    .process-list {
        grid-template-columns: 1fr;
        gap: 2.5rem;
        padding-left: 2.75rem;
    }

    .process-step {
        padding-top: 0;
    }

    .process-dot {
        top: 0.35rem;
        left: -2.75rem;
    }
}

.about-facts {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem 1.5rem;
    padding-top: 1rem;
    border-top: 1px solid #cbd2d1;
    color: #334155;
    font-size: 0.8rem;
    font-weight: 700;
}

.about-facts span::before {
    margin-right: 0.5rem;
    color: #d9232a;
    content: "—";
}

/* ==========================================================================
   Homepage: about
   ========================================================================== */
.about-section {
    padding-block: clamp(5rem, 10vw, 8rem);
    background-color: var(--concrete);
}

.about-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    align-items: center;
    gap: clamp(3rem, 7vw, 6rem);
}

.about-copy > * + * {
    margin-top: 1.4rem;
}

.about-copy p {
    max-width: 36rem;
    color: #475569;
    line-height: 1.8;
}

.about-copy strong {
    color: var(--ink);
    font-weight: 800;
}

.about-copy .btn {
    margin-top: 2rem;
}

.about-visual {
    position: relative;
    padding-bottom: 4rem;
}

.about-photo {
    position: relative;
    aspect-ratio: 4 / 5;
    overflow: hidden;
    background: var(--steel-2);
}

.about-photo img {
    position: absolute;
    top: -8%;
    left: 0;
    width: 100%;
    height: 116%;
    object-fit: cover;
    object-position: 63% center;
}

.about-photo::after {
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 3.5rem;
    height: 3.5rem;
    border-top: 3px solid var(--red);
    border-right: 3px solid var(--red);
    content: "";
    z-index: 3;
}

.about-focus {
    position: absolute;
    bottom: 0;
    left: -2.5rem;
    z-index: 4;
    width: min(78%, 22rem);
    overflow: hidden;
    padding: clamp(1.75rem, 3vw, 2.5rem);
    background: var(--steel);
    color: #fff;
    box-shadow: 0 30px 60px -30px rgba(13, 17, 23, 0.6);
}

.about-focus::after {
    position: absolute;
    right: -3rem;
    bottom: -6rem;
    width: 14rem;
    height: 14rem;
    border: 1px solid rgba(255, 255, 255, 0.12);
    content: "";
    transform: rotate(45deg);
}

.about-focus .section-eyebrow {
    color: var(--red-soft);
}

.about-focus h3 {
    position: relative;
    z-index: 1;
    margin: 1.25rem 0 1rem;
    font-family: var(--font-display);
    font-size: clamp(2.4rem, 4vw, 3.4rem);
    font-weight: 900;
    line-height: 1;
    text-transform: uppercase;
}

.about-focus h3 span {
    color: var(--red-soft);
}

.about-focus p {
    position: relative;
    z-index: 1;
    max-width: 18rem;
    color: #cbd5e1;
    font-size: 0.88rem;
    line-height: 1.7;
}

.text-link {
    position: relative;
    z-index: 1;
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    margin-top: 1.5rem;
    color: #fff;
    font-size: 0.85rem;
    font-weight: 700;
}

.text-link i {
    color: #f87171;
    transition: transform 260ms ease;
}

.text-link:hover i {
    transform: translateX(4px);
}

.hall-section-cta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    margin-top: 2rem;
    padding: 1.25rem 0;
    border-top: 1px solid #cbd2d1;
    border-bottom: 1px solid #cbd2d1;
}

.hall-section-cta p {
    color: #334155;
    font-weight: 700;
}

.hall-section-cta .text-link {
    margin-top: 0;
    color: #263238;
}

.hall-section-cta .text-link i {
    color: #d9232a;
}

/* ==========================================================================
   Homepage: additional services
   ========================================================================== */
.secondary-services {
    background-color: var(--concrete-2);
}

.secondary-services > div {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
    align-items: center;
    gap: clamp(2.5rem, 5vw, 4rem);
}

.secondary-services-copy .section-eyebrow {
    display: block;
    margin-bottom: 1rem;
}

.secondary-services-copy h2 span {
    color: #64748b;
}

.secondary-services-copy p {
    max-width: 35rem;
    margin-top: 1.5rem;
    color: #475569;
    line-height: 1.8;
}

.service-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1px;
    margin: 0;
    padding: 0;
    border: 1px solid var(--line);
    background: var(--line);
    list-style: none;
}

.service-list li {
    position: relative;
    display: flex;
    min-height: 5.5rem;
    align-items: center;
    gap: 1rem;
    overflow: hidden;
    isolation: isolate;
    padding: 1.25rem 1.4rem;
    background: var(--panel);
    color: var(--steel);
    font-size: 0.85rem;
    font-weight: 800;
    transition: color 350ms ease;
}

.service-list li::before {
    position: absolute;
    inset: 0;
    z-index: -1;
    background: var(--red);
    content: "";
    transform: scaleY(0);
    transform-origin: center bottom;
    transition: transform 450ms var(--ease-out);
}

.service-list li:hover {
    color: #fff;
}

.service-list li:hover::before {
    transform: scaleY(1);
}

.service-list li i {
    display: grid;
    width: 2.5rem;
    height: 2.5rem;
    flex: 0 0 auto;
    place-items: center;
    background: var(--ink);
    color: #fff;
    font-size: 0.9rem;
    transition: background-color 350ms ease, color 350ms ease;
}

.service-list li:hover i {
    background: #fff;
    color: var(--red);
}

/* ==========================================================================
   Homepage: footer
   ========================================================================== */
.site-footer {
    position: relative;
    background-color: var(--ink);
    background-image: var(--grid-lines);
    background-size: 64px 64px;
    color: #94a3b8;
}

.footer-lead {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: end;
    gap: 3rem;
    padding: 0 0 3.5rem;
}

.footer-lead .section-eyebrow {
    display: block;
    margin-bottom: 1rem;
}

.footer-title {
    font-size: clamp(3.4rem, 9vw, 8rem);
}

.footer-lead-text {
    max-width: 34rem;
    margin-top: 1.5rem;
    color: #94a3b8;
    font-size: 1rem;
    line-height: 1.75;
}

.footer-contact-links {
    display: grid;
    justify-items: start;
    gap: 0.9rem;
    padding-bottom: 0.4rem;
}

.footer-contact-links > a {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    color: #fff;
    font-size: 1rem;
    font-weight: 700;
    text-decoration: none;
    transition: color 200ms ease;
}

.footer-contact-links > a:hover {
    color: var(--red-soft);
}

.footer-contact-links > a i {
    width: 1rem;
    color: var(--red-soft);
}

.footer-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 0.75rem;
}

.footer-heading {
    color: #fff;
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.footer-links {
    display: grid;
    gap: 0.55rem;
    font-weight: 500;
}

.footer-links a {
    color: #94a3b8;
    text-decoration: none;
    transition: color 200ms ease, padding-left 300ms var(--ease-out);
}

.footer-links a:hover {
    padding-left: 0.4rem;
    color: #fff;
}

/* Červené tlačidlové vyžarovanie / tiene */
.action-shadow {
    box-shadow: 0 10px 26px -8px rgba(38, 50, 56, 0.24);
}

.action-shadow:hover {
    box-shadow: 0 12px 28px -8px rgba(38, 50, 56, 0.34);
}

/* Záložné pozadie pri výpadku externých obrázkov */
.bg-fallback-hall {
    background: linear-gradient(135deg, #1e293b 0%, #334155 100%);
}

.logo-svg-footer {
    height: 56px;
    width: auto;
    display: block;
}

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

}

/* ==========================================================================
   Homepage: hall cards with blueprint drawings
   ========================================================================== */
.hall-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.5rem;
}

.hall-card-link {
    display: block;
    color: inherit;
    text-decoration: none;
}

.hall-card-link:focus-visible {
    outline: 3px solid var(--red);
    outline-offset: 4px;
}

.hall-card {
    position: relative;
    display: flex;
    height: 100%;
    flex-direction: column;
    overflow: hidden;
    border: 1px solid rgba(38, 50, 56, 0.14);
    background: #fff;
    box-shadow: 0 14px 36px -32px rgba(13, 17, 23, 0.65);
    transition: transform 450ms var(--ease-out), border-color 300ms ease, box-shadow 400ms ease;
}

.hall-card::before {
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    z-index: 3;
    height: 4px;
    background: var(--red);
    content: "";
    transform: scaleX(0);
    transform-origin: left center;
    transition: transform 550ms var(--ease-out);
}

.hall-card-link:hover .hall-card,
.hall-card-link:focus-visible .hall-card {
    border-color: rgba(217, 35, 42, 0.35);
    box-shadow: 0 34px 60px -36px rgba(13, 17, 23, 0.6);
    transform: translateY(-6px);
}

.hall-card-link:hover .hall-card::before,
.hall-card-link:focus-visible .hall-card::before {
    transform: scaleX(1);
}

.hall-card-visual {
    position: relative;
    display: flex;
    min-height: 14rem;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background-color: var(--steel-2);
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.06) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.06) 1px, transparent 1px);
    background-size: 24px 24px;
}

.hall-card-visual::after {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 50% 55%, transparent 40%, rgba(13, 17, 23, 0.55) 100%);
    content: "";
    pointer-events: none;
}

.hall-card-visual svg {
    position: relative;
    z-index: 1;
    width: min(86%, 21rem);
    height: auto;
    overflow: visible;
    transition: transform 700ms var(--ease-out);
}

.hall-card-link:hover .hall-card-visual svg {
    transform: scale(1.05);
}

.drawing-grid {
    stroke: rgba(255, 255, 255, 0.1);
    stroke-width: 0.7;
}

.drawing-main {
    stroke: #e5e8e7;
    stroke-linecap: square;
    stroke-linejoin: miter;
    stroke-width: 2.6;
}

.drawing-accent {
    stroke: var(--red);
    stroke-linecap: square;
    stroke-linejoin: miter;
    stroke-width: 1.8;
}

.drawing-dimension {
    stroke: #7d8b92;
    stroke-linecap: square;
    stroke-linejoin: miter;
    stroke-width: 1;
}

.hall-card-visual-label,
.hall-card-visual-caption {
    position: absolute;
    z-index: 2;
    color: rgba(255, 255, 255, 0.55);
    font: 700 0.58rem/1.2 var(--font-mono);
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.hall-card-visual-label {
    top: 1rem;
    left: 1.25rem;
}

.hall-card-visual-caption {
    right: 1.25rem;
    bottom: 1rem;
    color: #fff;
    font-size: 0.62rem;
}

.hall-card-content {
    position: relative;
    display: flex;
    flex: 1;
    flex-direction: column;
    align-items: flex-start;
    padding: 1.75rem 1.75rem 1.9rem;
}

.hall-card-num {
    position: absolute;
    top: 1rem;
    right: 1.4rem;
    color: transparent;
    font: 900 4.5rem/1 var(--font-display);
    -webkit-text-stroke: 1px rgba(38, 50, 56, 0.25);
    transition: color 400ms ease, -webkit-text-stroke-color 400ms ease;
}

.hall-card-link:hover .hall-card-num,
.hall-card-link:focus-visible .hall-card-num {
    color: var(--red);
    -webkit-text-stroke-color: var(--red);
}

.hall-card-code {
    margin-bottom: 1rem;
    color: var(--red);
    font: 700 0.65rem/1.2 var(--font-mono);
    letter-spacing: 0.12em;
}

.hall-card-content h3 {
    margin: 0 0 0.75rem;
    color: var(--ink);
    font-family: var(--font-display);
    font-size: clamp(1.9rem, 2.6vw, 2.35rem);
    font-weight: 800;
    line-height: 1;
    text-transform: uppercase;
}

.hall-card-content p {
    margin: 0 0 1.65rem;
    color: var(--muted);
    font-size: 0.9rem;
    line-height: 1.75;
}

.hall-card-more {
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
    margin-top: auto;
    padding-top: 0.25rem;
    color: var(--steel);
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.hall-card-more i {
    color: var(--red);
    transition: transform 260ms ease;
}

.hall-card-link:hover .hall-card-more i,
.hall-card-link:focus-visible .hall-card-more i {
    transform: translateX(5px);
}

@media (max-width: 899px) {
    .hall-grid {
        grid-template-columns: 1fr;
    }
}

@media (min-width: 640px) and (max-width: 899px) {
    .hall-card {
        flex-direction: row;
    }

    .hall-card-visual {
        flex: 0 0 44%;
    }
}

@media (max-width: 1199px) {
    :root {
        --header-h: 4.5rem;
    }

    .section-nav-links,
    .section-nav-cta,
    .detail-nav,
    .detail-top-cta {
        display: none !important;
    }

    .nav-toggle {
        display: inline-flex;
    }

    .section-nav .nav-toggle {
        grid-column: 3;
        justify-self: end;
    }

    .section-nav-brand img {
        width: 2.2rem;
        height: 2.75rem;
    }
}

@media (max-width: 639px) {
    .detail-back {
        display: none !important;
    }

    .hall-card-visual {
        min-height: 12rem;
    }

    .hall-card-content {
        padding: 1.5rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    .hall-card-link:hover .hall-card,
    .hall-card-link:focus-visible .hall-card {
        transform: none;
    }
}

/* ==========================================================================
   Detail pages: header
   ========================================================================== */
.detail-page {
    background: var(--concrete);
}

.detail-topbar {
    position: sticky;
    top: 0;
    z-index: 40;
    /* back link | centred logo | navigation – the logo always sits in the middle */
    display: grid;
    min-height: var(--header-h);
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
    align-items: center;
    gap: 1rem;
    padding: 0.8rem max(1.5rem, calc((100vw - 80rem) / 2));
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(13, 17, 23, 0.94);
    -webkit-backdrop-filter: blur(14px);
    backdrop-filter: blur(14px);
    color: #fff;
    transition: transform 500ms var(--ease-out), background-color 300ms ease, border-color 300ms ease;
}

html.menu-open .detail-topbar {
    border-bottom-color: transparent;
    background: transparent;
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
    transform: none;
}

.detail-back {
    grid-column: 1;
    justify-self: start;
}

.detail-brand {
    grid-column: 2;
    display: block;
}

.detail-topbar-actions {
    grid-column: 3;
    display: flex;
    min-width: 0;
    align-items: center;
    justify-content: flex-end;
    gap: clamp(1rem, 2vw, 1.75rem);
}

.detail-nav {
    display: flex;
    align-items: center;
    gap: clamp(1rem, 2.4vw, 2rem);
}

.detail-back,
.detail-footer a {
    display: inline-flex;
    align-items: center;
    gap: 0.7rem;
    font-weight: 800;
    text-decoration: none;
    transition: color 200ms ease, transform 240ms ease;
}

.detail-back {
    color: rgba(255, 255, 255, 0.78);
    font-size: 0.7rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.detail-back i {
    color: var(--red);
}

.detail-footer a {
    color: #e2e8f0;
    font-size: 0.82rem;
}

.detail-back:hover {
    color: #fff;
    transform: translateX(-3px);
}

.detail-footer a:hover {
    color: var(--red-soft);
    transform: translateX(-3px);
}

.image-placeholder {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background:
        linear-gradient(135deg, rgba(38, 50, 56, 0.08) 25%, transparent 25%) 0 0 / 24px 24px,
        linear-gradient(315deg, rgba(38, 50, 56, 0.06) 25%, transparent 25%) 0 0 / 24px 24px,
        #dce1e1;
    color: #64748b;
}

.image-placeholder::before,
.image-placeholder::after {
    position: absolute;
    content: "";
    pointer-events: none;
}

.image-placeholder::before {
    inset: 0.8rem;
    border: 1px dashed rgba(38, 50, 56, 0.32);
}

.image-placeholder::after {
    width: 3.5rem;
    height: 3.5rem;
    border: 1px solid rgba(38, 50, 56, 0.18);
    border-radius: 50%;
}

.image-placeholder-label {
    position: relative;
    z-index: 1;
    padding: 0.4rem 0.65rem;
    background: rgba(220, 225, 225, 0.88);
    color: #334155;
    font: 700 0.67rem/1.4 'JetBrains Mono', monospace;
    letter-spacing: 0.06em;
    text-align: center;
    text-transform: uppercase;
}

.hero-media .video-placeholder-label {
    background: rgba(13, 17, 23, 0.48);
    color: rgba(255, 255, 255, 0.75);
}

/* ==========================================================================
   Homepage: projects collage
   ========================================================================== */
.projects-teaser {
    display: grid;
    grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
    align-items: center;
    gap: clamp(2.5rem, 6vw, 6rem);
    padding: clamp(5rem, 9vw, 8rem) max(1.5rem, calc((100vw - 80rem) / 2));
    background: var(--panel);
}

.projects-copy > * + * {
    margin-top: 1.25rem;
}

.projects-copy p {
    max-width: 32rem;
    color: #475569;
    line-height: 1.8;
}

.projects-copy .btn {
    margin-top: 2rem;
}

.projects-collage {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: clamp(15rem, 28vw, 24rem) clamp(10rem, 17vw, 15rem);
    gap: 1rem;
}

.collage-item {
    position: relative;
    display: block;
    overflow: hidden;
    background: var(--steel-2);
    color: #fff;
    text-decoration: none;
}

.collage-item--main {
    grid-column: 1 / -1;
}

.collage-item img {
    position: absolute;
    top: -8%;
    left: 0;
    width: 100%;
    height: 116%;
    object-fit: cover;
    filter: grayscale(0.2) contrast(1.05);
    transition: scale 900ms var(--ease-out), filter 600ms ease;
}

.collage-item:hover img,
.collage-item:focus-visible img {
    filter: none;
    scale: 1.06;
}

.collage-item::after {
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(0deg, rgba(13, 17, 23, 0.55), transparent 55%);
    content: "";
    pointer-events: none;
}

.collage-item:focus-visible {
    outline: 3px solid var(--red);
    outline-offset: 4px;
}

.collage-tag {
    position: absolute;
    bottom: 1rem;
    left: 1rem;
    z-index: 3;
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.55rem 0.75rem;
    background: var(--ink);
    font: 700 0.62rem/1 var(--font-mono);
    letter-spacing: 0.14em;
    transition: background-color 300ms ease;
}

.collage-tag i {
    transition: transform 300ms var(--ease-out);
}

.collage-item:hover .collage-tag {
    background: var(--red);
}

.collage-item:hover .collage-tag i {
    transform: translateX(3px);
}

.leadership-heading h2,
.about-story h2,
.contact-details h2 {
    margin: 1rem 0;
    color: #0d1117;
    font-size: clamp(2.5rem, 6vw, 5rem);
    font-weight: 900;
    letter-spacing: -0.07em;
    line-height: 1;
}

.about-story h2 span {
    color: #d9232a;
}

.leadership-heading p,
.about-story-copy > p,
.contact-page-heading > p {
    max-width: 38rem;
    color: #475569;
    line-height: 1.8;
}

.about-more-link {
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    margin-top: 2rem;
    color: #263238;
    font-size: 0.85rem;
    font-weight: 800;
    text-decoration: none;
}

.about-more-link i {
    color: #d9232a;
    transition: transform 220ms ease;
}

.about-more-link:hover i {
    transform: translateX(5px);
}

.page-heading {
    padding: clamp(5rem, 11vw, 10rem) max(1.5rem, calc((100vw - 80rem) / 2)) clamp(3rem, 6vw, 5rem);
    background: #e5e8e7;
}

.page-heading h1 {
    max-width: 68rem;
    margin: 1.2rem 0;
    color: #0d1117;
    font-size: clamp(3.2rem, 9vw, 7rem);
    font-weight: 900;
    letter-spacing: -0.075em;
    line-height: 1;
}

.page-heading h1 span {
    color: #d9232a;
}

.page-heading > p {
    max-width: 48rem;
    font-size: clamp(1rem, 1.5vw, 1.2rem);
    line-height: 1.8;
}

.project-grid-section {
    padding: 1rem max(1.5rem, calc((100vw - 80rem) / 2)) clamp(4rem, 8vw, 7rem);
}

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

.project-card {
    display: flex;
    min-width: 0;
    flex-direction: column;
    background: #fff;
    color: inherit;
    text-decoration: none;
    transition: transform 360ms ease, box-shadow 360ms ease;
}

.project-card:hover,
.project-card:focus-visible {
    transform: translateY(-7px);
    box-shadow: 0 24px 50px -32px rgba(13, 17, 23, 0.48);
}

.project-card:focus-visible {
    outline: 3px solid #d9232a;
    outline-offset: 4px;
}

.project-card-media {
    position: relative;
    min-height: 17rem;
    overflow: hidden;
    background: #dce1e1;
}

.project-card-red-wipe {
    position: absolute;
    z-index: 2;
    inset: 0;
    background: #d9232a;
    pointer-events: none;
    transform-origin: right center;
    will-change: transform;
}

.project-card-image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 500ms ease;
}

.project-card:hover .project-card-image,
.project-card:focus-visible .project-card-image {
    transform: scale(1.04);
}

.project-card-number {
    position: absolute;
    right: 1.5rem;
    bottom: 0.3rem;
    color: rgba(38, 50, 56, 0.18);
    font-size: 7rem;
    font-weight: 900;
    letter-spacing: -0.1em;
    line-height: 1;
    z-index: 3;
}

.project-card-copy {
    display: flex;
    flex: 1;
    flex-direction: column;
    align-items: flex-start;
    padding: 1.5rem;
}

.project-card-copy h2 {
    margin: 0.6rem 0;
    font-size: 1.55rem;
    font-weight: 900;
}

.project-card-copy p {
    color: #64748b;
    font-size: 0.9rem;
    line-height: 1.7;
}

.project-card-link {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    margin-top: auto;
    padding-top: 1.5rem;
    font-size: 0.8rem;
    font-weight: 800;
}

.project-card-link i {
    color: #d9232a;
    transition: transform 220ms ease;
}

.project-card:hover .project-card-link i {
    transform: translateX(5px);
}

.placeholder-note {
    margin-top: 1.5rem;
    color: #64748b;
    font-size: 0.8rem;
}

.project-detail-hero {
    position: relative;
    display: flex;
    min-height: 65svh;
    align-items: flex-end;
    overflow: hidden;
    padding: clamp(2rem, 7vw, 6rem) max(1.5rem, calc((100vw - 80rem) / 2));
    background: #263238;
    color: #fff;
}

.project-detail-media,
.project-detail-shade {
    position: absolute;
    inset: 0;
}

.project-detail-shade {
    background: linear-gradient(0deg, rgba(13, 17, 23, 0.82), rgba(13, 17, 23, 0.12));
}

.project-detail-copy {
    position: relative;
    z-index: 1;
}

.project-detail-copy .section-eyebrow {
    color: #ff777d;
}

.project-detail-media {
    object-fit: cover;
}

.project-detail-copy h1 {
    margin: 1rem 0;
    font-size: clamp(3rem, 8vw, 6rem);
    font-weight: 900;
    letter-spacing: -0.07em;
    line-height: 1;
}

.project-detail-copy p {
    color: #e2e8f0;
    font-size: 1.1rem;
}

.project-detail-content {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(18rem, 0.9fr);
    gap: clamp(2rem, 7vw, 7rem);
    padding: clamp(4rem, 9vw, 8rem) max(1.5rem, calc((100vw - 80rem) / 2));
}

.project-detail-lead h2 {
    margin: 1rem 0;
    color: #0d1117;
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    font-weight: 900;
    letter-spacing: -0.06em;
}

.project-detail-lead p {
    max-width: 42rem;
    color: #475569;
    line-height: 1.8;
}

.project-facts {
    border-top: 1px solid #cbd2d1;
}

.project-facts > div {
    padding: 1rem 0;
    border-bottom: 1px solid #cbd2d1;
}

.project-facts dt {
    color: #64748b;
    font-size: 0.75rem;
    font-weight: 700;
}

.project-facts dd {
    margin-top: 0.35rem;
    font-weight: 800;
}

.about-story {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(18rem, 0.8fr);
    align-items: center;
    gap: clamp(2rem, 7vw, 7rem);
    padding: 1rem max(1.5rem, calc((100vw - 80rem) / 2)) clamp(4rem, 9vw, 8rem);
}

.about-story-copy .detail-button {
    margin-top: 1.5rem;
}

.about-story-image {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 29rem;
    object-fit: cover;
}

.company-support {
    padding: clamp(4rem, 8vw, 7rem) max(1.5rem, calc((100vw - 80rem) / 2));
    background: #263238;
}

.company-support .detail-info-heading {
    max-width: 48rem;
}

.company-support .detail-info-heading h2,
.leadership-heading h2 {
    color: #fff;
}

.company-support .detail-info-heading p {
    max-width: 44rem;
    margin-top: 1rem;
    color: #cbd5e1;
    line-height: 1.8;
}

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

.support-grid article {
    padding: 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.18);
    transition: transform 300ms ease, border-color 300ms ease;
}

.support-grid article:hover {
    transform: translateY(-5px);
    border-color: #ff777d;
}

.support-grid article > i {
    color: #ff777d;
    font-size: 1.5rem;
}

.support-grid h3 {
    margin: 1.2rem 0 0.5rem;
    color: #fff;
    font-weight: 800;
}

.support-grid p {
    color: #cbd5e1;
    font-size: 0.86rem;
    line-height: 1.7;
}

.leadership-section {
    padding: clamp(4rem, 9vw, 8rem) max(1.5rem, calc((100vw - 80rem) / 2));
    background: #202a2f;
}

.leadership-heading {
    max-width: 50rem;
    margin-bottom: 2.5rem;
}

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

.leader-card {
    display: grid;
    grid-template-columns: minmax(10rem, 0.8fr) minmax(0, 1.2fr);
    background: #f0f2f1;
}

.leader-photo {
    min-height: 19rem;
}

.leader-card-copy {
    align-self: center;
    padding: clamp(1.25rem, 3vw, 2rem);
}

.leader-card-copy h3 {
    margin: 0.7rem 0;
    font-size: 1.5rem;
    font-weight: 900;
}

.leader-card-copy > a {
    color: #334155;
    font-size: 0.82rem;
    font-weight: 700;
    text-decoration: none;
}

.leader-card-copy > a i {
    margin-right: 0.3rem;
    color: #d9232a;
}

.leader-card-copy > p {
    margin-top: 1rem;
    color: #64748b;
    font-size: 0.85rem;
    line-height: 1.7;
}

.contact-layout {
    display: grid;
    grid-template-columns: minmax(0, 0.85fr) minmax(22rem, 1.15fr);
    gap: clamp(2rem, 8vw, 8rem);
    padding: 0 max(1.5rem, calc((100vw - 80rem) / 2)) clamp(4rem, 9vw, 8rem);
}

.contact-details h2 {
    font-size: clamp(2.5rem, 5vw, 4.5rem);
}

.contact-details > a,
.contact-address {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-top: 1.5rem;
    color: #263238;
    font-weight: 700;
    text-decoration: none;
}

.contact-details > a > i,
.contact-address > i {
    width: 1.2rem;
    margin-top: 0.2rem;
    color: #d9232a;
}

.contact-details small {
    display: block;
    margin-bottom: 0.25rem;
    color: #64748b;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
}

.contact-note {
    max-width: 23rem;
    margin-top: 2rem;
    padding: 1rem;
    border-left: 3px solid #d9232a;
    background: #f0f2f1;
    color: #64748b;
    font-size: 0.78rem;
    line-height: 1.6;
}

.contact-form {
    display: grid;
    gap: 1rem;
    padding: clamp(1.25rem, 4vw, 2.5rem);
    background: #f0f2f1;
}

.contact-form label {
    display: grid;
    gap: 0.45rem;
    color: #334155;
    font-size: 0.78rem;
    font-weight: 800;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
    width: 100%;
    padding: 0.85rem;
    border: 1px solid #cbd2d1;
    border-radius: 0;
    background: #fff;
    color: #0d1117;
    font: inherit;
    font-weight: 400;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
    border-color: #d9232a;
    outline: 2px solid rgba(217, 35, 42, 0.15);
}

.contact-form > p {
    color: #64748b;
    font-size: 0.75rem;
}

.detail-brand img {
    display: block;
    width: auto;
    height: 2.7rem;
}

.detail-hero {
    position: relative;
    display: flex;
    min-height: min(78svh, 760px);
    align-items: flex-end;
    overflow: hidden;
    padding: clamp(2rem, 7vw, 6rem) max(1.5rem, calc((100vw - 80rem) / 2));
    background: #0d1117;
    color: #fff;
    isolation: isolate;
}

.detail-hero-image,
.detail-hero-shade {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.detail-hero-image {
    z-index: -2;
    object-fit: cover;
    opacity: 0.64;
}

.detail-hero-shade {
    z-index: -1;
    background: linear-gradient(90deg, rgba(9, 12, 16, 0.86), rgba(9, 12, 16, 0.48) 72%, rgba(9, 12, 16, 0.2)),
        linear-gradient(0deg, rgba(9, 12, 16, 0.78), transparent 75%);
}

.detail-hero-copy {
    position: relative;
    z-index: 1;
    max-width: 56rem;
}

.detail-hero-copy .section-eyebrow {
    color: #ff777d;
}

.detail-hero-copy h1 {
    max-width: 52rem;
    margin: 1.2rem 0;
    font-size: clamp(3.2rem, 9vw, 7rem);
    font-weight: 900;
    letter-spacing: -0.07em;
    line-height: 1;
}

.detail-hero-copy p {
    max-width: 42rem;
    color: #e2e8f0;
    font-size: clamp(1rem, 2vw, 1.3rem);
    line-height: 1.75;
}

.detail-hero-link {
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    margin-top: 1.5rem;
    padding: 0.9rem 0;
    border-bottom: 2px solid #d9232a;
    color: #fff;
    font-size: 0.95rem;
    font-weight: 800;
    text-decoration: none;
}

.detail-hero-link i {
    color: #ff777d;
    transition: transform 260ms ease;
}

.detail-hero-link:hover i {
    transform: translateX(5px);
}

.detail-hero-index {
    position: absolute;
    right: clamp(1rem, 5vw, 5rem);
    bottom: -0.22em;
    color: rgba(255, 255, 255, 0.08);
    font-size: clamp(10rem, 30vw, 27rem);
    font-weight: 900;
    letter-spacing: -0.1em;
    line-height: 1;
    pointer-events: none;
}

.content-section {
    padding: clamp(4rem, 9vw, 8rem) max(1.5rem, calc((100vw - 80rem) / 2));
}

.detail-intro {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(18rem, 0.8fr);
    align-items: center;
    gap: clamp(2rem, 7vw, 7rem);
}

.detail-intro h2,
.detail-info-heading h2,
.detail-steps h2 {
    margin-top: 1rem;
    color: #0d1117;
    font-size: clamp(2.4rem, 5vw, 4.5rem);
    font-weight: 900;
    letter-spacing: -0.06em;
    line-height: 1;
}

.detail-intro h2 span {
    color: #d9232a;
}

.detail-intro > p {
    color: #475569;
    font-size: clamp(1rem, 1.4vw, 1.15rem);
    line-height: 1.9;
}

.detail-info-section {
    padding: clamp(4rem, 8vw, 7rem) max(1.5rem, calc((100vw - 80rem) / 2));
    background: #263238;
    color: #fff;
}

.detail-info-heading {
    margin-bottom: 3rem;
}

.detail-info-heading .section-eyebrow,
.detail-cta .section-eyebrow {
    color: #ff777d;
}

.detail-info-heading h2 {
    color: #fff;
}

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

.detail-info-card {
    min-height: 15rem;
    padding: clamp(1.5rem, 3vw, 2.5rem);
    border: 1px solid rgba(255, 255, 255, 0.18);
    background: rgba(255, 255, 255, 0.035);
    transition: transform 350ms ease, border-color 300ms ease, background-color 300ms ease;
}

.detail-info-card:hover {
    transform: translateY(-6px);
    border-color: rgba(255, 119, 125, 0.8);
    background: rgba(255, 255, 255, 0.07);
}

.detail-info-card > span,
.detail-steps li > span {
    color: #ff777d;
    font: 700 0.75rem/1.2 'JetBrains Mono', monospace;
    letter-spacing: 0.1em;
}

.detail-info-card h3,
.detail-steps h3 {
    margin: 2rem 0 0.8rem;
    font-size: 1.3rem;
    font-weight: 800;
}

.detail-info-card p,
.detail-steps li p {
    color: #cbd5e1;
    font-size: 0.92rem;
    line-height: 1.8;
}

.detail-steps {
    display: grid;
    grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
    gap: clamp(2rem, 7vw, 7rem);
}

.detail-steps ol {
    margin: 0;
    padding: 0;
    border-top: 1px solid #cbd2d1;
    list-style: none;
}

.detail-steps li {
    display: grid;
    grid-template-columns: 3rem minmax(0, 1fr);
    gap: 1rem;
    padding: 1.5rem 0;
    border-bottom: 1px solid #cbd2d1;
}

.detail-steps li h3 {
    margin: 0 0 0.5rem;
    color: #0d1117;
}

.detail-steps li p {
    color: #475569;
}

.detail-cta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    padding: clamp(3rem, 7vw, 6rem) max(1.5rem, calc((100vw - 80rem) / 2));
    background: #dce1e1;
}

.detail-cta h2 {
    margin: 0.8rem 0;
    color: #0d1117;
    font-size: clamp(2.2rem, 5vw, 4rem);
    font-weight: 900;
    letter-spacing: -0.06em;
}

.detail-cta p {
    color: #475569;
    line-height: 1.7;
}

.detail-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    padding: 1.5rem max(1.5rem, calc((100vw - 80rem) / 2));
    background: #0d1117;
    color: #94a3b8;
    font-size: 0.8rem;
}

@media (max-width: 639px) {
    .detail-topbar {
        padding-inline: 1.5rem;
    }

    .detail-brand img {
        height: 2.3rem;
    }

    .detail-hero {
        min-height: 72svh;
        padding: 2rem 1.5rem 3rem;
    }

    .detail-intro,
    .detail-steps {
        grid-template-columns: minmax(0, 1fr);
        gap: 2rem;
    }

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

    .detail-info-card {
        min-height: 0;
    }

    .detail-info-card h3 {
        margin-top: 1.2rem;
    }

    .detail-cta,
    .detail-footer {
        align-items: flex-start;
        flex-direction: column;
    }
}

@media (prefers-reduced-motion: reduce) {
    .hall-card-link:hover .hall-card,
    .hall-card-link:focus-visible .hall-card,
    .detail-info-card:hover,
    .detail-button:hover {
        transform: none;
    }

    .hall-card-link:hover .hall-card-media img,
    .hall-card-link:focus-visible .hall-card-media img {
        transform: none;
    }
}

.heading-wipe {
    will-change: clip-path;
}

.heading-wipe-context {
    position: relative;
    isolation: isolate;
}

.heading-wipe-band {
    position: absolute;
    z-index: 3;
    display: block;
    background: #d9232a;
    pointer-events: none;
    transform-origin: left center;
    will-change: transform, opacity;
}

.section-eyebrow::after {
    display: inline-block;
    width: 1.65rem;
    height: 1px;
    margin-left: 0.65rem;
    background: #d9232a;
    content: "";
    vertical-align: middle;
    transform: scaleX(var(--eyebrow-line-progress, 1));
    transform-origin: left center;
}

.detail-hero > .detail-hero-image,
.project-detail-hero > .project-detail-media {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.detail-hero > .detail-hero-image {
    z-index: -2;
}

.project-detail-hero > .project-detail-media {
    z-index: 0;
}

.project-detail-hero > .project-detail-shade {
    z-index: 1;
}

.contact-form .detail-button {
    justify-self: start;
}

.footer-legal-links {
    display: flex;
    gap: 1.25rem;
}

.footer-legal-links a {
    color: #94a3b8;
    text-decoration: none;
    transition: color 200ms ease;
}

.footer-legal-links a:hover {
    color: #fff;
}

.legal-page {
    padding-bottom: 2rem;
}

.legal-draft-notice {
    padding: 1rem 1.2rem;
    border-left: 3px solid #d9232a;
    background: #f0f2f1;
    color: #475569;
    font-size: 0.9rem;
    font-weight: 700;
}

.legal-content {
    display: grid;
    gap: 1rem;
    max-width: 62rem;
    margin: 0 auto;
    padding: 0 1.5rem clamp(4rem, 8vw, 7rem);
}

.legal-content section {
    padding: 1.5rem 0;
    border-bottom: 1px solid #cbd2d1;
}

.legal-content h2 {
    margin-bottom: 0.75rem;
    font-size: 1.25rem;
    font-weight: 800;
}

.legal-content p {
    margin-top: 0.5rem;
    color: #475569;
    line-height: 1.8;
}

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

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

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

@media (max-width: 639px) {
    .projects-teaser,
    .about-story,
    .project-detail-content,
    .contact-layout {
        grid-template-columns: 1fr;
    }

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

    .project-card-media {
        min-height: 14rem;
    }

    .about-story-image {
        min-height: 18rem;
    }

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

    .leader-photo {
        min-height: 17rem;
    }

    .contact-layout {
        gap: 3rem;
    }

    .footer-legal-links {
        flex-wrap: wrap;
    }
}

/* ==========================================================================
   Industrial redesign: shared components
   ========================================================================== */

/* Buttons ------------------------------------------------------------------ */
.btn,
.detail-button,
.detail-top-cta {
    position: relative;
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;
    gap: 0.85rem;
    min-height: 3.4rem;
    overflow: hidden;
    isolation: isolate;
    padding: 0 1.6rem;
    border: 1px solid var(--red);
    border-radius: 0;
    background: var(--red);
    color: #fff;
    cursor: pointer;
    font-family: var(--font-sans);
    font-size: 0.74rem;
    font-weight: 800;
    letter-spacing: 0.14em;
    line-height: 1;
    text-decoration: none;
    text-transform: uppercase;
    white-space: nowrap;
    transition: color 350ms ease, border-color 350ms ease;
}

/* Phones: long labels wrap onto two lines instead of pushing the page wider. */
@media (max-width: 639px) {
    .btn,
    .detail-button,
    .detail-top-cta {
        flex-shrink: 1;
        max-width: 100%;
        padding-block: 0.9rem;
        line-height: 1.3;
        text-align: center;
        white-space: normal;
    }
}

.btn::before,
.detail-button::before,
.detail-top-cta::before {
    position: absolute;
    inset: 0;
    z-index: -1;
    background: var(--ink);
    content: "";
    transform: scaleX(0);
    transform-origin: right center;
    transition: transform 550ms var(--ease-in-out);
}

.btn:hover::before,
.btn:focus-visible::before,
.detail-button:hover::before,
.detail-button:focus-visible::before,
.detail-top-cta:hover::before,
.detail-top-cta:focus-visible::before {
    transform: scaleX(1);
    transform-origin: left center;
}

.btn i,
.detail-button i,
.detail-top-cta i {
    color: currentColor;
    font-size: 0.72rem;
    transition: transform 350ms var(--ease-out);
}

.btn:hover i,
.btn:focus-visible i,
.detail-button:hover i,
.detail-top-cta:hover i {
    transform: translateX(4px);
}

.btn:focus-visible,
.detail-button:focus-visible,
.detail-top-cta:focus-visible {
    outline: 2px solid var(--red);
    outline-offset: 3px;
}

.btn--sm,
.detail-top-cta {
    min-height: 2.75rem;
    padding: 0 1.1rem;
    font-size: 0.68rem;
}

.btn--invert::before,
.detail-top-cta::before {
    background: #fff;
}

.btn--invert:hover,
.btn--invert:focus-visible,
.detail-top-cta:hover,
.detail-top-cta:focus-visible {
    border-color: #fff;
    color: var(--ink);
}

.btn--ghost {
    border-color: rgba(255, 255, 255, 0.5);
    background: transparent;
}

.btn--ghost::before {
    background: var(--red);
}

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

.btn--dark,
.detail-button {
    border-color: var(--steel);
    background: var(--steel);
}

.btn--dark::before,
.detail-button::before {
    background: var(--red);
}

.btn--dark:hover,
.btn--dark:focus-visible,
.detail-button:hover,
.detail-button:focus-visible {
    border-color: var(--red);
}

/* Hazard strip ------------------------------------------------------------- */
.hazard-strip {
    display: block;
    height: 10px;
    background: var(--hazard);
    animation: hazard-move 2.4s linear infinite;
}

@keyframes hazard-move {
    from {
        background-position: 0 0;
    }

    to {
        background-position: 39.598px 0;
    }
}

/* Textures ----------------------------------------------------------------- */
.texture-concrete {
    position: relative;
    isolation: isolate;
}

.texture-concrete::before,
.page-heading::before {
    position: absolute;
    inset: 0;
    z-index: -1;
    background-image: var(--grain);
    background-size: 220px 220px;
    content: "";
    opacity: 0.22;
    mix-blend-mode: multiply;
    pointer-events: none;
}

.texture-grid,
.detail-info-section,
.company-support,
.leadership-section {
    background-image: var(--grid-lines);
    background-size: 64px 64px;
}

/* Key figures -------------------------------------------------------------- */
.stats-band {
    position: relative;
    padding-block: clamp(3.5rem, 7vw, 5.5rem);
    background-color: var(--steel-2);
    color: #fff;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    margin: 0;
    border-left: 1px solid rgba(255, 255, 255, 0.12);
}

.stat {
    display: flex;
    flex-direction: column-reverse;
    justify-content: flex-end;
    gap: 0.9rem;
    padding: 0.25rem clamp(1rem, 2.5vw, 2rem);
    border-right: 1px solid rgba(255, 255, 255, 0.12);
}

.stat dd {
    display: flex;
    align-items: flex-start;
    margin: 0;
    color: #fff;
    font: 900 clamp(4rem, 8vw, 7rem)/0.82 var(--font-display);
    font-variant-numeric: tabular-nums;
}

.stat-plus {
    margin-left: 0.04em;
    color: var(--red);
    font-size: 0.5em;
    line-height: 1;
}

.stat dt {
    max-width: 14rem;
    color: rgba(255, 255, 255, 0.62);
    font: 700 0.64rem/1.55 var(--font-mono);
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

/* Marquee ------------------------------------------------------------------ */
.marquee {
    position: relative;
    z-index: 2;
    overflow: hidden;
    padding-block: 1.75rem;
    background: linear-gradient(180deg, var(--steel-2) 50%, var(--concrete) 50%);
}

.marquee-band {
    margin-inline: -2rem;
    padding-block: 1rem;
    border-block: 2px solid var(--ink);
    background: var(--red);
    color: #fff;
    transform: rotate(-1.6deg);
}

.marquee-track {
    display: flex;
    width: max-content;
    animation: marquee 48s linear infinite;
    will-change: transform;
}

.marquee-group {
    display: flex;
    flex: 0 0 auto;
    align-items: center;
}

.marquee-group span {
    padding-inline: 1.6rem;
    font: 800 clamp(1.6rem, 3.6vw, 2.9rem)/1 var(--font-display);
    letter-spacing: 0.02em;
    text-transform: uppercase;
    white-space: nowrap;
}

.marquee-group .is-outline {
    color: transparent;
    -webkit-text-stroke: 1.2px #fff;
}

.marquee-group i {
    width: 0.7rem;
    height: 0.7rem;
    flex: 0 0 auto;
    background: var(--ink);
    transform: rotate(45deg);
}

@keyframes marquee {
    to {
        transform: translateX(-50%);
    }
}

/* Mobile menu -------------------------------------------------------------- */
.mobile-menu {
    position: fixed;
    inset: 0;
    z-index: 35;
    visibility: hidden;
    pointer-events: none;
    transition: visibility 0s linear 900ms;
}

.mobile-menu.is-open {
    visibility: visible;
    pointer-events: auto;
    /* Visible immediately (also under reduced motion) so focus can move into the menu. */
    transition: none;
}

.mobile-menu::before {
    position: absolute;
    inset: 0;
    background: var(--red);
    clip-path: inset(0 0 100% 0);
    content: "";
    transition: clip-path 650ms var(--ease-in-out) 180ms;
}

.mobile-menu.is-open::before {
    clip-path: inset(0 0 0 0);
    transition-delay: 0s;
}

.mobile-menu-panel {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    overflow-y: auto;
    overscroll-behavior: contain;
    background-color: var(--ink);
    background-image: var(--grid-lines);
    background-size: 64px 64px;
    clip-path: inset(0 0 100% 0);
    transition: clip-path 650ms var(--ease-in-out);
}

.mobile-menu.is-open .mobile-menu-panel {
    clip-path: inset(0 0 0 0);
    transition-delay: 160ms;
}

.mobile-menu-inner {
    display: flex;
    width: 100%;
    max-width: 80rem;
    flex: 1 0 auto;
    flex-direction: column;
    justify-content: space-between;
    gap: 2.5rem;
    margin: 0 auto;
    padding: calc(var(--header-h) + 1.5rem) 1.5rem 2rem;
}

.mobile-menu-label {
    color: rgba(255, 255, 255, 0.45);
    font: 700 0.64rem/1 var(--font-mono);
    letter-spacing: 0.2em;
    text-transform: uppercase;
}

.mobile-menu-nav {
    display: flex;
    flex-direction: column;
    margin-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.mobile-menu-nav a {
    position: relative;
    display: grid;
    grid-template-columns: 2.25rem minmax(0, 1fr) auto;
    align-items: center;
    gap: 0.75rem;
    padding: 0.85rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    color: #fff;
    opacity: 0;
    text-decoration: none;
    transform: translateY(2rem);
    transition: opacity 250ms ease, transform 250ms ease, color 200ms ease;
}

.mobile-menu.is-open .mobile-menu-nav a {
    opacity: 1;
    transform: none;
    transition:
        opacity 600ms var(--ease-out) calc(380ms + var(--i, 0) * 60ms),
        transform 750ms var(--ease-out) calc(380ms + var(--i, 0) * 60ms),
        color 200ms ease;
}

.mobile-menu-nav a:focus-visible {
    outline: 2px solid var(--red);
    outline-offset: 2px;
}

.mobile-menu-num {
    color: var(--red-soft);
    font: 700 0.68rem/1 var(--font-mono);
    letter-spacing: 0.1em;
}

.mobile-menu-text {
    font: 800 clamp(2.1rem, 9vw, 3.6rem)/1 var(--font-display);
    text-transform: uppercase;
    transition: color 200ms ease, transform 400ms var(--ease-out);
}

.mobile-menu-nav a i {
    color: var(--red);
    font-size: 1rem;
    opacity: 0;
    transform: translateX(-10px);
    transition: opacity 300ms ease, transform 300ms var(--ease-out);
}

.mobile-menu-nav a:hover .mobile-menu-text,
.mobile-menu-nav a:focus-visible .mobile-menu-text {
    transform: translateX(6px);
}

.mobile-menu-nav a:hover i,
.mobile-menu-nav a:focus-visible i,
.mobile-menu-nav a[aria-current="page"] i {
    opacity: 1;
    transform: none;
}

.mobile-menu-nav a[aria-current="page"] .mobile-menu-text {
    color: var(--red-soft);
}

.mobile-menu-footer {
    display: grid;
    gap: 1.5rem;
    opacity: 0;
    transform: translateY(1rem);
    transition: opacity 250ms ease, transform 250ms ease;
}

.mobile-menu.is-open .mobile-menu-footer {
    opacity: 1;
    transform: none;
    transition: opacity 600ms ease 780ms, transform 700ms var(--ease-out) 780ms;
}

.mobile-menu-contact {
    display: grid;
    gap: 0.65rem;
}

.mobile-menu-contact a,
.mobile-menu-contact span {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.9rem;
    font-weight: 600;
    text-decoration: none;
}

.mobile-menu-contact i {
    width: 1rem;
    color: var(--red-soft);
}

.mobile-menu-panel > .hazard-strip {
    flex: 0 0 auto;
}

@media (min-width: 640px) {
    .mobile-menu-footer {
        grid-template-columns: minmax(0, 1fr) auto;
        align-items: end;
    }
}

@media (max-height: 640px) {
    .mobile-menu-text {
        font-size: 1.9rem;
    }

    .mobile-menu-nav a {
        padding: 0.6rem 0;
    }
}

@media (min-width: 1200px) {
    .mobile-menu {
        display: none;
    }
}

/* Preloader ---------------------------------------------------------------- */
.preloader {
    display: none;
}

html.preload .preloader {
    position: fixed;
    inset: 0;
    z-index: 120;
    display: block;
    animation: preloader-failsafe 0s linear 6s forwards;
}

@keyframes preloader-failsafe {
    to {
        visibility: hidden;
        opacity: 0;
        pointer-events: none;
    }
}

.preloader-panel {
    position: absolute;
    inset: 0;
}

.preloader-panel--red {
    background: var(--red);
}

.preloader-panel--dark {
    background-color: var(--ink);
    background-image: var(--grid-lines);
    background-size: 64px 64px;
}

.preloader-inner {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    color: #fff;
}

.preloader-logo {
    width: 5.5rem;
    height: auto;
    overflow: visible;
}

.preloader-logo path {
    fill: transparent;
    stroke: var(--red);
    stroke-dasharray: 1;
    stroke-dashoffset: 1;
    stroke-width: 6;
}

.preloader-meta {
    display: flex;
    width: min(16rem, 70vw);
    justify-content: space-between;
    color: rgba(255, 255, 255, 0.6);
    font: 700 0.64rem/1 var(--font-mono);
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.preloader-bar {
    position: relative;
    width: min(16rem, 70vw);
    height: 2px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.12);
}

.preloader-bar span {
    position: absolute;
    inset: 0;
    background: var(--red);
    transform: scaleX(0);
    transform-origin: left center;
}

/* Page transition ---------------------------------------------------------- */
.page-wipe,
html.wipe-in body::after {
    position: fixed;
    inset: 0;
    z-index: 100;
    display: grid;
    place-items: center;
    background: var(--red);
    color: #fff;
    font: 800 1rem/1 var(--font-display);
    letter-spacing: 0.35em;
    pointer-events: none;
    text-transform: uppercase;
}

.page-wipe {
    transform: translateY(100%);
}

html.wipe-in body::after {
    content: "Ascensio Swiss";
    animation: wipe-reveal 750ms var(--ease-in-out) 60ms both;
}

@keyframes wipe-reveal {
    from {
        transform: translateY(0);
    }

    to {
        transform: translateY(-100%);
    }
}

/* Custom cursor ------------------------------------------------------------ */
.cursor {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 110;
    pointer-events: none;
}

.cursor-ring {
    position: absolute;
    top: 0;
    left: 0;
    display: grid;
    width: 2.5rem;
    height: 2.5rem;
    margin: -1.25rem 0 0 -1.25rem;
    place-items: center;
    border: 1px solid rgba(217, 35, 42, 0.85);
    border-radius: 50%;
    transition:
        width 400ms var(--ease-out),
        height 400ms var(--ease-out),
        margin 400ms var(--ease-out),
        background-color 300ms ease,
        border-color 300ms ease,
        opacity 300ms ease;
}

.cursor.is-hover .cursor-ring {
    width: 3.75rem;
    height: 3.75rem;
    margin: -1.875rem 0 0 -1.875rem;
    background: rgba(217, 35, 42, 0.12);
}

.cursor.has-label .cursor-ring {
    width: 6rem;
    height: 6rem;
    margin: -3rem 0 0 -3rem;
    border-color: var(--red);
    background: var(--red);
}

.cursor-label {
    color: #fff;
    font: 800 0.62rem/1 var(--font-sans);
    letter-spacing: 0.14em;
    opacity: 0;
    text-transform: uppercase;
    transition: opacity 200ms ease;
}

.cursor.has-label .cursor-label {
    opacity: 1;
}

.cursor.is-hidden .cursor-ring {
    opacity: 0;
}

/* Scroll progress ---------------------------------------------------------- */
.scroll-progress {
    position: fixed;
    top: 0;
    right: 0;
    left: 0;
    z-index: 45;
    height: 3px;
    background: var(--red);
    pointer-events: none;
    transform: scaleX(0);
    transform-origin: left center;
}

/* Inquiry modal ------------------------------------------------------------ */
.inquiry-modal {
    border-top: 6px solid var(--red);
}

.inquiry-modal-title {
    color: var(--ink);
    font: 800 1.6rem/1 var(--font-display);
    text-transform: uppercase;
}

/* Detail pages: industrial upgrades ---------------------------------------- */
.page-heading {
    position: relative;
    isolation: isolate;
    overflow: hidden;
}

.page-heading::after {
    position: absolute;
    top: 0;
    left: 0;
    width: 7px;
    height: 70%;
    background: var(--red);
    content: "";
}

.detail-info-card {
    position: relative;
    overflow: hidden;
}

.detail-info-card::before,
.project-card::before,
.support-grid article::before {
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    z-index: 4;
    height: 4px;
    background: var(--red);
    content: "";
    transform: scaleX(0);
    transform-origin: left center;
    transition: transform 550ms var(--ease-out);
}

.detail-info-card:hover::before,
.project-card:hover::before,
.project-card:focus-visible::before,
.support-grid article:hover::before {
    transform: scaleX(1);
}

.project-card,
.support-grid article {
    position: relative;
}

.project-card-number,
.detail-hero-index {
    font-family: var(--font-display);
    letter-spacing: -0.02em;
}

.detail-cta {
    position: relative;
    background-color: var(--ink);
    background-image: var(--grid-lines);
    background-size: 64px 64px;
    color: #fff;
}

.detail-cta::before {
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    height: 10px;
    background: var(--hazard);
    content: "";
    animation: hazard-move 2.4s linear infinite;
}

.detail-cta h2 {
    color: #fff;
}

.detail-cta p {
    color: #b6c2cc;
}

.detail-cta .detail-button {
    border-color: var(--red);
    background: var(--red);
}

.detail-cta .detail-button::before {
    background: #fff;
}

.detail-cta .detail-button:hover,
.detail-cta .detail-button:focus-visible {
    border-color: #fff;
    color: var(--ink);
}

.detail-footer {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

/* Display typography overrides for detail pages ---------------------------- */
.page-heading h1,
.detail-hero-copy h1,
.project-detail-copy h1 {
    font-family: var(--font-display);
    font-size: clamp(3.6rem, 11vw, 9rem);
    font-weight: 800;
    letter-spacing: -0.005em;
    line-height: 1;
}

.leadership-heading h2,
.about-story h2,
.contact-details h2,
.project-detail-lead h2,
.detail-intro h2,
.detail-info-heading h2,
.detail-steps h2,
.detail-cta h2 {
    font-family: var(--font-display);
    font-size: clamp(2.7rem, 6vw, 5.25rem);
    font-weight: 800;
    letter-spacing: -0.005em;
    line-height: 1;
}

.detail-info-card h3,
.detail-steps li h3,
.support-grid h3,
.leader-card-copy h3,
.project-card-copy h2 {
    font-family: var(--font-display);
    font-weight: 800;
    letter-spacing: 0;
    line-height: 1.05;
    text-transform: uppercase;
}

.detail-info-card h3,
.detail-steps li h3 {
    font-size: 1.75rem;
}

.project-card-copy h2 {
    font-size: 2rem;
}

.support-grid h3 {
    font-size: 1.5rem;
}

.leader-card-copy h3 {
    font-size: 2rem;
}

/* Reduced motion ----------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
    .hazard-strip,
    .detail-cta::before,
    .marquee-track,
    .hero-scroll-line::after {
        animation: none !important;
    }

    .cursor,
    .scroll-progress,
    .preloader {
        display: none !important;
    }

    html.wipe-in body::after {
        display: none;
    }
}

/* ==========================================================================
   Homepage: responsive overrides (kept last so they win over base rules)
   ========================================================================== */
@media (max-width: 1023px) {
    .hero-bottom {
        grid-template-columns: 1fr;
        align-items: start;
    }

    .about-grid,
    .projects-teaser {
        grid-template-columns: 1fr;
    }

    .about-visual {
        max-width: 36rem;
        padding-bottom: 0;
    }

    .about-focus {
        position: relative;
        bottom: auto;
        left: auto;
        width: auto;
        margin: -5rem 1rem 0;
    }

    .secondary-services > div {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 767px) {
    .stats-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        row-gap: 2.5rem;
    }

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

@media (max-width: 639px) {
    .hero-section {
        min-height: 100svh;
    }

    .hero-inner {
        gap: 1.5rem;
        padding-top: 6.5rem;
        padding-bottom: 5.25rem;
    }

    .hero-coords,
    .hero-scroll {
        display: none;
    }

    .hero-shade {
        background:
            linear-gradient(90deg, rgba(9, 12, 16, 0.8), rgba(9, 12, 16, 0.45)),
            linear-gradient(0deg, rgba(9, 12, 16, 0.95), rgba(9, 12, 16, 0.2) 85%);
    }

    .hero-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .hero-actions .btn,
    .footer-actions .btn {
        justify-content: space-between;
    }

    .hall-section-cta {
        align-items: flex-start;
        flex-direction: column;
        gap: 0.75rem;
    }

    .editorial-heading {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

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

    .service-list li {
        min-height: 4.5rem;
    }

    .projects-collage {
        grid-template-rows: 15rem 10rem;
        gap: 0.6rem;
    }

    .footer-actions {
        width: 100%;
        flex-direction: column;
        align-items: stretch;
    }
}

/* ==========================================================================
   Content update: new sections & fixes
   ========================================================================== */

/* GSAP entrance animations own the transform while they run. */
.is-gsap-animating {
    transition: none !important;
}

.section-title--xs {
    font-size: clamp(2.1rem, 4vw, 3.3rem);
}

/* Additional trades are a secondary offer – keep them compact. */
.service-list li {
    min-height: 4.25rem;
    padding: 1rem 1.2rem;
    font-size: 0.8rem;
}

.service-list li i {
    width: 2.1rem;
    height: 2.1rem;
    font-size: 0.8rem;
}

/* Homepage: why Ascensio Swiss --------------------------------------------- */
.why-section {
    position: relative;
    padding-block: clamp(5rem, 9vw, 7.5rem);
    background-color: var(--steel-2);
    color: #fff;
}

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

.why-card {
    position: relative;
    overflow: hidden;
    padding: clamp(1.5rem, 2.5vw, 2.1rem);
    border: 1px solid rgba(255, 255, 255, 0.14);
    background: rgba(255, 255, 255, 0.03);
    transition: transform 400ms var(--ease-out), border-color 300ms ease, background-color 300ms ease;
}

.why-card::before {
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    height: 4px;
    background: var(--red);
    content: "";
    transform: scaleX(0);
    transform-origin: left center;
    transition: transform 550ms var(--ease-out);
}

.why-card:hover {
    border-color: rgba(255, 119, 125, 0.55);
    background: rgba(255, 255, 255, 0.06);
    transform: translateY(-6px);
}

.why-card:hover::before {
    transform: scaleX(1);
}

.why-card-num {
    position: absolute;
    top: 1rem;
    right: 1.25rem;
    color: transparent;
    font: 900 3.5rem/1 var(--font-display);
    -webkit-text-stroke: 1px rgba(255, 255, 255, 0.16);
}

.why-card > i {
    display: grid;
    width: 3rem;
    height: 3rem;
    place-items: center;
    background: var(--red);
    color: #fff;
    font-size: 1.1rem;
}

.why-card h3 {
    margin: 1.5rem 0 0.7rem;
    font: 800 1.65rem/1.05 var(--font-display);
    text-transform: uppercase;
}

.why-card p {
    color: #b6c2cc;
    font-size: 0.88rem;
    line-height: 1.7;
}

/* Detail pages: blueprint instead of an empty hero image ------------------- */
.detail-hero-blueprint {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding: 5rem max(1.5rem, calc((100vw - 80rem) / 2)) 3rem;
    background-color: var(--steel-2);
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
    background-size: 32px 32px;
    opacity: 1;
}

.detail-hero-blueprint svg {
    width: min(58%, 46rem);
    height: auto;
    overflow: visible;
}

.detail-hero-blueprint .drawing-main {
    stroke-width: 2.2;
}

.detail-hero-blueprint-label {
    position: absolute;
    top: 2rem;
    right: max(1.5rem, calc((100vw - 80rem) / 2));
    color: rgba(255, 255, 255, 0.5);
    font: 700 0.62rem/1 var(--font-mono);
    letter-spacing: 0.16em;
}

/* Key figures band on detail pages ----------------------------------------- */
.stats-band--page {
    padding-inline: max(1.5rem, calc((100vw - 80rem) / 2));
}

/* About page --------------------------------------------------------------- */
.about-story-copy > p + p {
    margin-top: 1rem;
}

.about-story-note {
    padding-left: 1rem;
    border-left: 3px solid var(--line);
    color: #64748b !important;
    font-size: 0.9rem;
}

.values-section {
    display: grid;
    grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
    align-items: center;
    gap: clamp(2.5rem, 7vw, 6rem);
    padding: clamp(5rem, 9vw, 8rem) max(1.5rem, calc((100vw - 80rem) / 2));
    background: var(--concrete);
}

.values-media {
    position: relative;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    background: var(--steel-2);
}

.values-media img {
    position: absolute;
    top: -8%;
    left: 0;
    width: 100%;
    height: 116%;
    object-fit: cover;
    object-position: 35% center;
}

.values-media::after {
    position: absolute;
    bottom: 1rem;
    left: 1rem;
    width: 3.5rem;
    height: 3.5rem;
    border-bottom: 3px solid var(--red);
    border-left: 3px solid var(--red);
    content: "";
}

.values-copy h2 {
    margin: 1rem 0;
    color: var(--ink);
    font-size: clamp(2.7rem, 6vw, 5.25rem);
}

.values-copy h2 span {
    color: var(--red);
}

.values-copy > p {
    max-width: 38rem;
    color: #475569;
    line-height: 1.8;
}

.values-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0 2rem;
    margin: 2rem 0 0;
    padding: 0;
    list-style: none;
}

.values-list li {
    padding: 1.1rem 0;
    border-top: 1px solid var(--line);
    color: #59666c;
    font-size: 0.88rem;
    line-height: 1.6;
}

.values-list strong {
    display: block;
    margin-bottom: 0.3rem;
    color: var(--ink);
    font: 800 1.35rem/1.05 var(--font-display);
    text-transform: uppercase;
}

.direct-contact {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.75rem 1.75rem;
    margin-top: 2rem;
    padding: 1.4rem 1.6rem;
    border-left: 4px solid var(--red);
    background: var(--steel);
    color: #fff;
}

.direct-contact-label {
    flex-basis: 100%;
    color: var(--red-soft);
    font: 700 0.64rem/1.3 var(--font-mono);
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.direct-contact-person {
    flex-basis: 100%;
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 0.25rem 0.75rem;
    margin: 0;
}

.direct-contact-person strong {
    font-family: var(--font-display);
    font-size: 1.6rem;
    font-weight: 800;
    letter-spacing: 0.01em;
    line-height: 1;
    text-transform: uppercase;
}

.direct-contact-person span {
    color: rgba(255, 255, 255, 0.7);
    font: 700 0.7rem/1.3 var(--font-mono);
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.direct-contact a {
    min-width: 0;
    overflow-wrap: anywhere;
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
    color: #fff;
    font-size: 1rem;
    font-weight: 700;
    text-decoration: none;
    transition: color 200ms ease;
}

.direct-contact a:hover {
    color: var(--red-soft);
}

.direct-contact i {
    color: var(--red-soft);
}

/* Project detail ------------------------------------------------------------ */
.project-detail-content .project-facts {
    margin-top: 1.25rem;
}

.project-facts dd a {
    color: var(--ink);
    text-decoration: none;
}

.project-facts dd a:hover {
    color: var(--red);
}

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

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

    .values-media {
        max-width: 32rem;
    }

    .detail-hero-blueprint svg {
        width: min(80%, 34rem);
        opacity: 0.45;
    }
}

@media (max-width: 639px) {
    .why-grid,
    .values-list {
        grid-template-columns: 1fr;
    }

    .detail-hero-blueprint {
        align-items: flex-start;
        padding-top: 4rem;
    }

    .detail-hero-blueprint-label {
        display: none;
    }
}
