:root {
    color-scheme: dark;
    --bg: #050507;
    --text: #f7f8fb;
    --muted: #a4abb7;
    --line: rgba(255, 255, 255, 0.14);
    --glass: rgba(9, 11, 17, 0.58);
    --cyan: #8ea3b8;
    --mint: #08ef70;
    --rose: #45c96f;
    --max: 1180px;
}

* {
    box-sizing: border-box;
}

html {
    background: var(--bg);
    scroll-behavior: smooth;
}

body {
    margin: 0;
    min-width: 320px;
    background:
        radial-gradient(circle at 18% 14%, rgba(142, 163, 184, 0.16), transparent 32rem),
        radial-gradient(circle at 84% 12%, rgba(201, 130, 69, 0.14), transparent 30rem),
        radial-gradient(circle at 50% 94%, rgba(216, 183, 102, 0.1), transparent 36rem),
        #050507;
    color: var(--text);
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    letter-spacing: 0;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

body.hero-page {
    overflow-x: clip;
    overflow-y: auto;
}

body.content-page {
    overflow: auto;
}

body.content-page::before {
    content: "";
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.035), transparent 32rem),
        radial-gradient(circle at 50% 0%, rgba(216, 183, 102, 0.12), transparent 34rem);
}

a {
    color: inherit;
    text-decoration: none;
}

button {
    font: inherit;
}

img {
    display: block;
    max-width: 100%;
}

.grecaptcha-badge {
    visibility: hidden !important;
    pointer-events: none !important;
}

.phone-number {
    direction: ltr;
    unicode-bidi: isolate;
    display: inline-block;
    white-space: nowrap;
}

.ambient {
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.024) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
    background-size: 72px 72px;
    mask-image: linear-gradient(to bottom, black, transparent 86%);
}

.topbar {
    position: fixed;
    top: 18px;
    left: 50%;
    z-index: 40;
    display: grid;
    grid-template-columns: auto 1fr;
    align-items: center;
    gap: 28px;
    width: min(calc(100% - 32px), var(--max));
    min-height: 62px;
    padding: 10px 12px 10px 18px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: rgba(5, 6, 10, 0.66);
    box-shadow: 0 18px 70px rgba(0, 0, 0, 0.35);
    backdrop-filter: blur(26px) saturate(130%);
    transform: translateX(-50%);
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-weight: 850;
}

.brand-logo {
    display: block;
    width: auto;
    height: 34px;
    max-width: 150px;
    padding: 5px 8px;
    border-radius: 8px;
    object-fit: contain;
}

.brand-mark {
    width: 24px;
    height: 24px;
    border-radius: 8px;
    background: linear-gradient(135deg, var(--cyan), var(--mint) 48%, var(--rose));
    box-shadow: 0 0 30px rgba(216, 183, 102, 0.34);
}

.topbar nav {
    display: flex;
    justify-content: flex-end;
    gap: 6px;
}

.topbar nav a {
    display: inline-flex;
    align-items: center;
    min-height: 40px;
    padding: 0 13px;
    border-radius: 8px;
    color: rgba(247, 248, 251, 0.72);
    font-size: 0.88rem;
    transition: color 180ms ease, background 180ms ease, transform 180ms ease;
}

.topbar nav a:hover {
    color: var(--text);
    background: rgba(255, 255, 255, 0.08);
    transform: translateY(-1px);
}

.topbar nav > a.is-active {
    color: var(--text);
    background: rgba(8, 239, 112, 0.13);
}

.language-menu {
    position: relative;
    display: inline-flex;
    align-items: center;
}

.language-button {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 40px;
    padding: 0 13px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.07);
    color: var(--text);
    font-size: 0.88rem;
    cursor: pointer;
    transition: background 180ms ease, border-color 180ms ease;
}

.language-badge {
    display: inline-flex;
    align-items: center;
    min-height: 38px;
    padding: 0 11px;
    border: 1px solid rgba(8, 239, 112, 0.2);
    border-radius: 8px;
    background: rgba(8, 239, 112, 0.08);
    color: var(--text);
    font-size: 0.82rem;
    font-weight: 760;
    white-space: nowrap;
}

.language-button:hover,
.language-menu.is-open .language-button {
    background: rgba(255, 255, 255, 0.11);
    border-color: rgba(255, 255, 255, 0.22);
}

.language-chevron {
    font-size: 0.72rem;
    opacity: 0.72;
}

.language-list {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    z-index: 70;
    display: grid;
    min-width: 150px;
    padding: 6px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: rgba(5, 6, 10, 0.94);
    box-shadow: 0 18px 60px rgba(0, 0, 0, 0.38);
    backdrop-filter: blur(22px);
    opacity: 0;
    transform: translateY(-6px);
    pointer-events: none;
    transition: opacity 160ms ease, transform 160ms ease;
}

.language-menu.is-open .language-list {
    opacity: 1;
    transform: none;
    pointer-events: auto;
}

.topbar nav .language-list a {
    justify-content: flex-start;
    width: 100%;
    min-height: 36px;
    padding: 0 10px;
}

.topbar nav .language-list a.is-active {
    color: var(--text);
    background: rgba(8, 239, 112, 0.14);
}

.menu-toggle {
    display: none;
    position: relative;
    z-index: 62;
    width: 44px;
    height: 44px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.07);
    color: var(--text);
    cursor: pointer;
}

.menu-toggle span {
    position: absolute;
    left: 12px;
    right: 12px;
    height: 2px;
    border-radius: 999px;
    background: currentColor;
    transition: transform 220ms ease, top 220ms ease, opacity 220ms ease;
}

.menu-toggle span:first-child {
    top: 16px;
}

.menu-toggle span:last-child {
    top: 26px;
}

.topbar.is-menu-open .menu-toggle span:first-child {
    top: 21px;
    transform: rotate(45deg);
}

.topbar.is-menu-open .menu-toggle span:last-child {
    top: 21px;
    transform: rotate(-45deg);
}

body.menu-open {
    overflow: hidden;
}

.json-hero {
    --active: 0;
    position: relative;
    z-index: 1;
    width: 100vw;
    height: 100vh;
    overflow: hidden;
    isolation: isolate;
    touch-action: pan-y;
}

.json-hero.is-intro {
    cursor: wait;
}

.json-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    background:
        linear-gradient(90deg, rgba(5, 5, 7, 0.92), rgba(5, 5, 7, 0.16) 46%, rgba(5, 5, 7, 0.78)),
        radial-gradient(circle at 68% 42%, rgba(216, 183, 102, 0.22), transparent 30rem);
}

.hero-copy {
    position: absolute;
    left: max(22px, calc((100vw - var(--max)) / 2));
    top: 50%;
    z-index: 12;
    width: min(520px, 38vw);
    pointer-events: none;
    transform: translateY(-50%);
    transition: opacity 260ms ease, transform 260ms ease, filter 260ms ease;
}

.hero-copy.is-changing {
    opacity: 0;
    filter: blur(10px);
    transform: translateY(calc(-50% + 14px));
}

.json-hero.is-intro .hero-copy .eyebrow,
.json-hero.is-intro .hero-copy h1,
.json-hero.is-intro .hero-copy p:not(.eyebrow) {
    opacity: 0;
    filter: blur(14px);
    transform: translateY(22px);
    animation: introText 850ms cubic-bezier(.18,.9,.18,1) forwards;
}

.json-hero.is-intro .hero-copy h1 {
    animation-delay: 180ms;
}

.json-hero.is-intro .hero-copy p:not(.eyebrow) {
    animation-delay: 360ms;
}

.eyebrow {
    margin: 0 0 18px;
    color: var(--mint);
    font-size: 0.78rem;
    font-weight: 900;
    text-transform: uppercase;
}

h1,
h2,
p {
    margin-top: 0;
}

h1 {
    margin-bottom: 24px;
    font-size: clamp(3rem, 5.8vw, 6.4rem);
    line-height: 0.96;
    font-weight: 880;
    overflow-wrap: anywhere;
}

h2 {
    margin-bottom: 12px;
    font-size: clamp(2.1rem, 4.2vw, 4.8rem);
    line-height: 1;
    font-weight: 840;
}

.hero-copy p:not(.eyebrow),
.page-hero p,
.page-card p {
    color: var(--muted);
    font-size: clamp(0.98rem, 1.08vw, 1.14rem);
    line-height: 1.58;
}

.slider-stage {
    position: absolute;
    inset: 0;
    z-index: 8;
    display: grid;
    place-items: center;
    overflow: hidden;
    perspective: 1600px;
}

.slider-viewport {
    position: relative;
    width: min(50vw, 760px);
    height: min(66vh, 640px);
    margin-left: min(42vw, 520px);
    transform-style: preserve-3d;
}

.showcase-slide {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    opacity: 0;
    pointer-events: none;
    transform:
        translate3d(88vw, 0, -180px)
        rotateY(-22deg)
        scale(0.78);
    transition:
        transform 780ms cubic-bezier(.18,.9,.18,1),
        opacity 520ms ease,
        filter 520ms ease;
    filter: blur(14px) saturate(0.7);
    will-change: transform, opacity, filter;
}

.json-hero.is-intro .showcase-slide.is-active {
    animation: introSlide 1250ms cubic-bezier(.16,.9,.16,1) both;
}

.showcase-slide.is-active {
    z-index: 5;
    opacity: 1;
    pointer-events: auto;
    transform: translate3d(0, 0, 120px) rotateY(0deg) scale(1);
    filter: blur(0) saturate(1.08);
}

.showcase-slide.is-prev,
.showcase-slide.is-next {
    z-index: 3;
    opacity: 0.42;
    filter: blur(2px) saturate(0.86);
}

.showcase-slide.is-prev {
    transform: translate3d(-58vw, 0, -80px) rotateY(18deg) scale(0.72);
}

.showcase-slide.is-next {
    transform: translate3d(42vw, 0, -80px) rotateY(-18deg) scale(0.72);
}

.showcase-slide figure {
    position: relative;
    width: min(100%, 820px);
    aspect-ratio: 16 / 10;
    margin: 0;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.04);
    box-shadow:
        0 34px 110px rgba(0, 0, 0, 0.58),
        0 0 80px rgba(216, 183, 102, 0.13);
}

.showcase-slide figure::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: linear-gradient(180deg, transparent 55%, rgba(0, 0, 0, 0.42));
}

.showcase-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.slide-caption {
    position: absolute;
    left: 50%;
    bottom: 26px;
    width: min(340px, 72%);
    padding: 14px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 8px;
    background: rgba(5, 6, 10, 0.62);
    backdrop-filter: blur(24px);
    transform: translateX(-50%) translateY(18px);
    opacity: 0;
    transition: transform 520ms ease 220ms, opacity 520ms ease 220ms;
}

.showcase-slide.is-active .slide-caption {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

.slide-caption p {
    margin-bottom: 10px;
    color: var(--mint);
    font-size: 0.76rem;
    font-weight: 900;
    text-transform: uppercase;
}

.about-page {
    padding-bottom: 96px;
}

.about-page-hero {
    max-width: 980px;
}

.about-detail {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(340px, 0.72fr);
    gap: clamp(28px, 5vw, 64px);
    align-items: center;
    margin: 22px 0 34px;
}

.about-detail-visual {
    position: relative;
    min-height: 420px;
    margin: 0;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.04);
}

.about-detail-visual::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: linear-gradient(180deg, transparent 52%, rgba(0, 0, 0, 0.46));
}

.about-detail-visual img {
    width: 100%;
    height: 100%;
    min-height: inherit;
    object-fit: cover;
}

.about-detail-copy h2,
.about-standards-head h2 {
    max-width: 760px;
    font-size: clamp(2rem, 3.6vw, 4.2rem);
}

.about-detail-copy p:not(.eyebrow) {
    color: var(--muted);
    font-size: clamp(1rem, 1.12vw, 1.16rem);
    line-height: 1.72;
}

.construction-gallery {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
    margin: 10px 0 38px;
}

.construction-gallery figure {
    min-height: 210px;
    margin: 0;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.04);
}

.construction-gallery img {
    width: 100%;
    height: 100%;
    min-height: inherit;
    object-fit: cover;
}

.about-standards {
    margin-top: 48px;
}

.about-standards-head {
    margin-bottom: 26px;
}

@media (max-width: 980px) {
    .about-detail {
        grid-template-columns: 1fr;
    }

    .about-detail-visual {
        min-height: 320px;
    }

    .construction-gallery {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

.slide-caption h2 {
    font-size: clamp(1.2rem, 2vw, 1.8rem);
    line-height: 1.08;
}

.slide-caption span {
    color: var(--muted);
}

/* .slider-controls {
    position: fixed;
    left: 50%;
    bottom: 24px;
    z-index: 35;
    display: grid;
    grid-template-columns: 42px minmax(170px, 260px) 78px 42px;
    align-items: center;
    gap: 12px;
    padding: 10px 12px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: rgba(5, 6, 10, 0.66);
    color: var(--muted);
    font-size: 0.8rem;
    backdrop-filter: blur(22px);
    transform: translateX(-50%);
    transition: opacity 420ms ease, transform 420ms ease, filter 420ms ease;
} */

.json-hero.is-intro .slider-dots,
.json-hero.is-intro .scroll-hint {
    opacity: 0;
    pointer-events: none;
    filter: blur(12px);
}

.json-hero.is-ready .slider-dots,
.json-hero.is-ready .scroll-hint {
    opacity: 1;
    filter: blur(0);
}


.slider-dots button {
    border: 1px solid var(--line);
    color: var(--text);
    background: rgba(255, 255, 255, 0.06);
    cursor: pointer;
    transition: transform 180ms ease, background 180ms ease, border-color 180ms ease;
}

.slider-dots button:hover {
    border-color: rgba(255, 255, 255, 0.28);
    background: rgba(255, 255, 255, 0.13);
    transform: translateY(-1px);
}

.slider-progress {
    height: 5px;
    overflow: hidden;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.14);
}

.slider-progress i {
    display: block;
    width: 0%;
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, var(--cyan), var(--mint), var(--rose));
    transition: width 520ms ease;
}


.slider-dots {
    position: fixed;
    right: 26px;
    top: 50%;
    z-index: 35;
    display: grid;
    gap: 8px;
    transform: translateY(-50%);
    transition: opacity 420ms ease, filter 420ms ease;
}

.slider-dots button {
    width: 9px;
    height: 28px;
    padding: 0;
    border-radius: 999px;
}

.slider-dots button.is-active {
    height: 52px;
    border-color: transparent;
    background: linear-gradient(180deg, var(--cyan), var(--mint));
}

.scroll-hint {
    position: fixed;
    right: 26px;
    bottom: 28px;
    z-index: 35;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: rgba(247, 248, 251, 0.66);
    font-size: 0.82rem;
    transition: opacity 420ms ease, filter 420ms ease;
}

.scroll-hint span:first-child {
    display: grid;
    place-items: center;
    width: 34px;
    height: 34px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.06);
    animation: pulseLeft 1.7s ease-in-out infinite;
}

.page-shell {
    position: relative;
    z-index: 1;
    width: min(calc(100% - 42px), var(--max));
    margin: 0 auto;
    padding: 154px 0 96px;
}

.page-hero {
    display: grid;
    align-content: center;
    min-height: 64vh;
    padding-bottom: 52px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.page-hero h1 {
    width: min(980px, 100%);
    margin-bottom: 24px;
    font-size: clamp(3.1rem, 6.2vw, 6.2rem);
    line-height: 0.98;
}

.page-hero p:not(.eyebrow) {
    width: min(760px, 100%);
}

.page-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 34px;
}

.page-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 0 18px;
    border: 1px solid var(--line);
    border-radius: 8px;
    color: var(--text);
    background: rgba(255, 255, 255, 0.06);
    font-weight: 800;
    transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.page-button.primary {
    border-color: transparent;
    color: #090805;
    background: linear-gradient(135deg, #fff4d2, var(--mint) 48%, #b8843f);
    box-shadow: 0 16px 48px rgba(216, 183, 102, 0.2);
}

.page-button:hover {
    border-color: rgba(255, 255, 255, 0.26);
    transform: translateY(-2px);
}

.page-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
    margin-top: 28px;
}

.page-card {
    min-height: 260px;
    padding: 30px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.075), rgba(255, 255, 255, 0.032)),
        var(--glass);
    box-shadow: 0 24px 86px rgba(0, 0, 0, 0.24);
    backdrop-filter: blur(22px);
    transition: transform 220ms ease, border-color 220ms ease, background 220ms ease;
    overflow: hidden;
}

.page-card:hover {
    border-color: rgba(255, 255, 255, 0.24);
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.105), rgba(255, 255, 255, 0.044)),
        var(--glass);
    transform: translateY(-6px);
}

.visual-card {
    overflow: hidden;
    padding: 0;
}

.visual-card img {
    width: 100%;
    height: 330px;
    object-fit: cover;
    transition: transform 650ms ease, filter 650ms ease;
}

.visual-card:hover img {
    filter: saturate(1.08) contrast(1.05);
    transform: scale(1.05);
}

.visual-card strong,
.visual-card h2,
.visual-card p {
    padding-inline: 22px;
}

.visual-card strong {
    margin-top: 20px;
}

.visual-card h2 {
    margin-top: 0;
    margin-bottom: 10px;
}

.visual-card p {
    padding-bottom: 22px;
}

.page-card strong {
    display: block;
    margin-bottom: 14px;
    color: var(--mint);
    font-size: 0.78rem;
    text-transform: uppercase;
}

.page-card h2,
.service-showcase h2,
.estimate-card h2,
.contact-panel h2,
.brief-panel h2 {
    max-width: 100%;
    margin: 0 0 12px;
    font-size: clamp(1.35rem, 2.1vw, 2.05rem);
    line-height: 1.12;
    overflow-wrap: anywhere;
}

.page-card p,
.service-showcase p,
.estimate-card p,
.contact-panel p,
.brief-panel p,
.brief-panel li {
    max-width: 100%;
    margin-bottom: 0;
    font-size: 0.98rem;
    line-height: 1.55;
    overflow-wrap: anywhere;
}

.metric-strip {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
    margin: 34px 0 48px;
}

.metric-strip div,
.wide-panel,
.service-showcase article,
.contact-panel,
.brief-panel {
    border: 1px solid var(--line);
    border-radius: 8px;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.03)),
        rgba(9, 11, 17, 0.56);
    box-shadow: 0 24px 86px rgba(0, 0, 0, 0.24);
    backdrop-filter: blur(22px);
}

.metric-strip div {
    min-height: 160px;
    padding: 22px;
    display: grid;
    align-content: end;
}

.metric-strip strong {
    display: block;
    font-size: clamp(2.2rem, 5vw, 5.4rem);
    line-height: 0.95;
}

.metric-strip span {
    display: block;
    margin-top: 8px;
    color: var(--muted);
}

.service-showcase {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
    margin: 34px 0 20px;
}

.service-showcase article {
    min-height: 360px;
    padding: 30px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.service-showcase span {
    color: var(--mint);
    font-weight: 900;
}

.service-showcase p,
.wide-panel p,
.brief-panel li,
.contact-lines span {
    color: var(--muted);
    line-height: 1.65;
}

.wide-panel {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.7fr);
    gap: 34px;
    align-items: end;
    margin-top: 18px;
    padding: clamp(28px, 5vw, 58px);
}

.wide-panel h2 {
    max-width: 780px;
}

.estimate-grid {
    align-items: stretch;
}

.estimate-card {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.estimate-card.featured {
    border-color: rgba(216, 183, 102, 0.42);
    background:
        linear-gradient(180deg, rgba(216, 183, 102, 0.16), rgba(255, 255, 255, 0.04)),
        rgba(9, 11, 17, 0.58);
}

.estimate-card .page-button {
    margin-top: auto;
}

.contact-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
    gap: 16px;
    margin-top: 34px;
}

.contact-panel,
.brief-panel {
    padding: clamp(28px, 5vw, 54px);
}

.contact-panel h2 {
    overflow-wrap: anywhere;
}

.contact-lines {
    display: grid;
    gap: 10px;
    margin-top: 32px;
}

.contact-lines span {
    padding-top: 12px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.brief-panel ul {
    display: grid;
    gap: 14px;
    margin: 24px 0 0;
    padding-left: 18px;
}

@keyframes pulseLeft {
    0%, 100% {
        transform: translateX(0);
    }
    50% {
        transform: translateX(-7px);
    }
}

@keyframes introText {
    to {
        opacity: 1;
        filter: blur(0);
        transform: translateY(0);
    }
}

@keyframes introSlide {
    0% {
        opacity: 0;
        filter: blur(24px) saturate(0.72);
        transform: translate3d(26vw, 0, -260px) rotateY(-24deg) scale(0.62);
    }
    58% {
        opacity: 1;
        filter: blur(0) saturate(1.05);
        transform: translate3d(-2vw, 0, 140px) rotateY(2deg) scale(1.04);
    }
    100% {
        opacity: 1;
        filter: blur(0) saturate(1.08);
        transform: translate3d(0, 0, 120px) rotateY(0deg) scale(1);
    }
}

@media (max-width: 980px) {
    .topbar {
        grid-template-columns: auto auto;
        justify-content: space-between;
        gap: 14px;
        left: 16px;
        transform: none;
    }

    .menu-toggle {
        display: block;
    }

    .topbar nav {
        position: fixed;
        inset: 0;
        z-index: 58;
        display: grid;
        align-content: center;
        justify-content: stretch;
        gap: 10px;
        min-height: 100vh;
        padding: 108px 22px 34px;
        background:
            radial-gradient(circle at 80% 12%, rgba(216, 183, 102, 0.15), transparent 20rem),
            rgba(5, 6, 10, 0.96);
        backdrop-filter: blur(28px) saturate(130%);
        opacity: 0;
        pointer-events: none;
        transform: translateY(-14px) scale(0.985);
        transition: opacity 220ms ease, transform 220ms ease;
    }

    .topbar.is-menu-open nav {
        opacity: 1;
        pointer-events: auto;
        transform: translateY(0) scale(1);
    }

    .topbar nav a {
        min-height: 66px;
        justify-content: space-between;
        padding: 0 18px;
        border: 1px solid rgba(255, 255, 255, 0.1);
        background: rgba(255, 255, 255, 0.045);
        color: var(--text);
        font-size: clamp(1.45rem, 6vw, 2.35rem);
        font-weight: 820;
    }

    .topbar nav a::after {
        content: "->";
        color: var(--mint);
        font-size: 1rem;
    }

    .language-menu {
        display: grid;
        width: 100%;
    }

    .language-button {
        justify-content: space-between;
        min-height: 66px;
        padding: 0 18px;
        font-size: clamp(1.25rem, 5vw, 1.85rem);
        font-weight: 820;
    }

    .language-badge {
        width: 100%;
        min-height: 56px;
        justify-content: center;
        font-size: clamp(1rem, 4vw, 1.35rem);
        font-weight: 820;
    }

    .language-list {
        position: static;
        display: none;
        width: 100%;
        margin-top: 8px;
        opacity: 1;
        transform: none;
        pointer-events: auto;
    }

    .language-menu.is-open .language-list {
        display: grid;
    }

    .topbar nav .language-list a {
        min-height: 52px;
        font-size: clamp(1.05rem, 4vw, 1.45rem);
    }

    .topbar nav .language-list a::after {
        content: "";
    }

    .hero-copy {
        top: 126px;
        left: 22px;
        width: min(650px, calc(100vw - 36px));
        transform: none;
    }

    .hero-copy.is-changing {
        transform: translateY(14px);
    }

    h1 {
        margin-bottom: 14px;
        font-size: clamp(2.6rem, 8vw, 4.6rem);
        line-height: 1;
    }

    .slider-viewport {
        width: min(86vw, 640px);
        height: min(48vh, 440px);
        margin-left: 0;
        margin-top: 30vh;
    }

    .slide-caption {
        width: min(320px, 78%);
        bottom: 14px;
    }

    .page-grid {
        grid-template-columns: 1fr;
    }

    .metric-strip,
    .service-showcase,
    .wide-panel,
    .contact-layout {
        grid-template-columns: 1fr;
    }

    .wide-panel {
        align-items: start;
    }
}

@media (max-width: 620px) {
    .topbar {
        top: 10px;
        left: 10px;
        width: calc(100% - 20px);
    }

    .topbar nav {
        inset: 0;
        min-height: 100vh;
        padding: 96px 12px 26px;
    }

    .topbar nav a {
        min-height: 62px;
        padding: 0 14px;
    }

    .construction-gallery {
        grid-template-columns: 1fr;
    }

    .hero-copy {
        top: 112px;
        left: 18px;
        width: calc(100vw - 36px);
    }

    .hero-copy p:not(.eyebrow) {
        width: 100%;
        display: -webkit-box;
        -webkit-line-clamp: 3;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

    .slider-viewport {
        width: 92vw;
        height: 38vh;
        margin-top: 38vh;
    }

    .showcase-slide figure {
        width: min(88vw, 420px);
    }

    .slide-caption {
        display: none;
    }


    .slider-dots,
    .scroll-hint {
        display: none;
    }

    .page-shell {
        width: calc(100% - 36px);
        padding-top: 140px;
    }

    .page-hero {
        min-height: 58vh;
    }

    .page-hero h1 {
        font-size: clamp(2.5rem, 10vw, 4.2rem);
        line-height: 1;
    }

    .page-actions,
    .page-button {
        width: 100%;
    }

    .metric-strip {
        grid-template-columns: 1fr;
    }

    .page-card,
    .service-showcase article,
    .contact-panel,
    .brief-panel {
        min-height: auto;
        padding: 22px;
    }

    .page-card h2,
    .service-showcase h2,
    .estimate-card h2,
    .contact-panel h2,
    .brief-panel h2 {
        font-size: clamp(1.2rem, 6vw, 1.65rem);
        line-height: 1.14;
    }

    .page-card p,
    .service-showcase p,
    .estimate-card p,
    .contact-panel p,
    .brief-panel p,
    .brief-panel li {
        font-size: 0.94rem;
        line-height: 1.5;
    }

    .service-showcase article {
        min-height: 260px;
    }

    .visual-card {
        padding: 0;
    }

    .visual-card img {
        height: 260px;
    }

    .visual-card strong,
    .visual-card h2,
    .visual-card p {
        padding-inline: 18px;
    }

    .visual-card p {
        padding-bottom: 18px;
    }
}

@media (max-height: 760px) and (max-width: 980px) {
    .hero-copy {
        top: 96px;
    }

    .hero-copy .eyebrow {
        margin-bottom: 8px;
    }

    .hero-copy h1 {
        margin-bottom: 8px;
        font-size: clamp(2.2rem, 7vw, 3.8rem);
    }

    .hero-copy p:not(.eyebrow) {
        -webkit-line-clamp: 2;
    }

    .slider-viewport {
        height: 34vh;
        margin-top: 42vh;
    }

}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        animation-duration: 1ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 1ms !important;
    }

    .partners-marquee {
        overflow-x: auto;
        mask-image: none;
    }

    .partners-track {
        animation: none !important;
    }
}

/* ================================================================
   HERO FIXED UI — HIDE WHEN SCROLLED PAST
   ================================================================ */

.slider-dots.is-hidden,
.scroll-hint.is-hidden {
    opacity: 0 !important;
    pointer-events: none;
}

/* ================================================================
   HERO
   ================================================================ */

.site-hero {
    position: relative;
    height: 100vh;
    min-height: 680px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* Background image */
.site-hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.site-hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 38%;
    filter: saturate(0.65) brightness(0.88);
    animation: heroZoom 16s ease-out forwards;
}

.site-hero-bg::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(105deg,
            rgba(5, 5, 7, 0.97) 14%,
            rgba(5, 5, 7, 0.72) 48%,
            rgba(5, 5, 7, 0.94)
        ),
        linear-gradient(to top, rgba(5, 5, 7, 0.9) 0%, transparent 44%),
        radial-gradient(circle at 68% 42%, rgba(216, 183, 102, 0.16), transparent 32rem);
}

@keyframes heroZoom {
    from { transform: scale(1.08); }
    to   { transform: scale(1); }
}

/* Content wrapper */
.site-hero-content {
    position: relative;
    z-index: 2;
    flex: 1;
    display: flex;
    align-items: center;
}

.site-hero-inner {
    width: min(calc(100% - 42px), var(--max));
    margin: 0 auto;
    padding-top: 80px;
}

/* Est. badge */
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    height: 36px;
    padding: 0 16px;
    margin-bottom: 36px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(16px);
    color: var(--muted);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    opacity: 0;
    filter: blur(8px);
    transform: translateY(14px);
    animation: introText 800ms cubic-bezier(.18, .9, .18, 1) 280ms forwards;
}

.hero-badge-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--mint);
    box-shadow: 0 0 10px rgba(8, 239, 112, 0.7);
    flex-shrink: 0;
}

.hero-badge-sep {
    opacity: 0.45;
}

/* Main heading — brand name */
.site-hero-heading {
    margin: 0;
    font-size: clamp(5.5rem, 13vw, 15.5rem);
    line-height: 0.88;
    font-weight: 900;
    letter-spacing: -0.025em;
}

.hero-line {
    display: block;
    opacity: 0;
    filter: blur(18px);
    transform: translateY(28px);
    animation: introText 900ms cubic-bezier(.18, .9, .18, 1) forwards;
}

.hero-line:nth-child(1) { animation-delay: 460ms; }
.hero-line-two          { animation-delay: 620ms; }

.hero-dot {
    color: var(--mint);
}

/* Divider rule */
.hero-rule {
    display: flex;
    align-items: center;
    gap: 20px;
    margin: 32px 0 28px;
    opacity: 0;
    animation: introText 800ms cubic-bezier(.18, .9, .18, 1) 780ms forwards;
}

.hero-rule-bar {
    display: block;
    width: 56px;
    height: 2px;
    border-radius: 2px;
    background: linear-gradient(90deg, var(--mint), transparent);
    flex-shrink: 0;
}

.hero-rule-label {
    color: var(--muted);
    font-size: 0.75rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    white-space: nowrap;
}

/* Subtitle */
.site-hero-sub {
    max-width: 520px;
    color: var(--muted);
    font-size: clamp(1rem, 1.12vw, 1.16rem);
    line-height: 1.65;
    margin: 0 0 36px;
    opacity: 0;
    filter: blur(10px);
    transform: translateY(16px);
    animation: introText 860ms cubic-bezier(.18, .9, .18, 1) 920ms forwards;
}

/* CTAs */
.site-hero-actions {
    opacity: 0;
    filter: blur(8px);
    transform: translateY(14px);
    animation: introText 860ms cubic-bezier(.18, .9, .18, 1) 1060ms forwards;
}

.site-hero-ghost {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

/* Bottom stats bar */
.site-hero-bottom {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: min(calc(100% - 42px), var(--max));
    margin: 0 auto;
    padding: 20px 0 28px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    opacity: 0;
    animation: introText 860ms cubic-bezier(.18, .9, .18, 1) 1200ms forwards;
}

.site-hero-stats {
    display: flex;
    align-items: center;
    gap: 0;
}

.site-hero-stat {
    display: flex;
    align-items: baseline;
    gap: 8px;
    padding: 0 28px;
}

.site-hero-stat:first-child {
    padding-left: 0;
}

.site-hero-stat strong {
    font-size: clamp(1.2rem, 2.2vw, 1.9rem);
    font-weight: 880;
    line-height: 1;
}

.site-hero-stat span {
    color: var(--muted);
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.hero-stat-sep {
    display: block;
    width: 1px;
    height: 28px;
    background: rgba(255, 255, 255, 0.14);
    flex-shrink: 0;
}

/* Scroll cue */
.site-hero-scroll {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    color: rgba(247, 248, 251, 0.42);
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    text-decoration: none;
    transition: color 200ms ease;
    animation: heroScrollBounce 2.2s ease-in-out 2.4s infinite;
}

.site-hero-scroll:hover {
    color: var(--text);
}

.site-hero-scroll-icon {
    display: grid;
    place-items: center;
    width: 34px;
    height: 34px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.05);
    font-size: 0.9rem;
    transition: border-color 200ms ease, background 200ms ease;
}

.site-hero-scroll:hover .site-hero-scroll-icon {
    border-color: rgba(255, 255, 255, 0.28);
    background: rgba(255, 255, 255, 0.1);
}

@keyframes heroScrollBounce {
    0%, 100% { transform: translateY(0); }
    50%       { transform: translateY(8px); }
}

/* ================================================================
   SHOWCASE REEL — scroll-driven sticky
   ================================================================ */

/* Tall outer container drives the scroll distance */
.showcase-scroll {
    position: relative;
    z-index: 1;
    height: 1000vh; /* 9 slides × ~100vh scroll each + 1 for the sticky element */
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

/* The slider sticks while parent scrolls */
.showcase-reel {
    position: sticky !important;
    top: 0;
}

/* Override the old pulseLeft on the scroll-hint arrow — now points down */
.showcase-reel .scroll-hint span:first-child {
    animation: pulseDown 1.8s ease-in-out infinite;
}

@keyframes pulseDown {
    0%, 100% { transform: translateY(0); }
    50%       { transform: translateY(7px); }
}

.showcase-reel-label {
    position: absolute;
    top: 0;
    left: max(22px, calc((100vw - var(--max)) / 2));
    right: max(22px, calc((100vw - var(--max)) / 2));
    z-index: 14;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 104px;
    pointer-events: none;
}

.showcase-reel-label .eyebrow {
    margin: 0;
}

.showcase-reel-hint {
    color: var(--muted);
    font-size: 0.82rem;
    margin: 0;
}

/* When the slider is used as showcase-reel, the hero-copy h1 becomes h2 */
.showcase-reel .hero-copy h2 {
    font-size: clamp(2.4rem, 4.5vw, 5.2rem);
    line-height: 0.97;
    font-weight: 860;
    margin-bottom: 18px;
}

/* ================================================================
   RESPONSIVE — PROJECTS SCROLL
   ================================================================ */

@media (max-width: 980px) {
    .project-item {
        display: flex !important;
        flex-direction: column;
        gap: 20px;
        padding: 104px 22px 70px;
        align-items: stretch;
        justify-content: flex-start;
    }

    .project-visual {
        order: -1;
        flex: 0 0 auto;
    }

    .project-visual figure {
        aspect-ratio: unset;
        height: clamp(200px, 40vh, 380px);
        max-height: none;
        border-radius: 10px;
    }

    .project-content {
        display: flex;
        flex-direction: column;
        justify-content: center;
        flex: 1;
    }

    .project-content h2 {
        font-size: clamp(1.6rem, 5vw, 2.4rem);
    }

    .project-content > p {
        font-size: 0.94rem;
    }

    .projects-dots {
        bottom: 22px;
    }
}

@media (max-width: 620px) {
    .project-item {
        padding: 92px 18px 64px;
        gap: 16px;
    }

    .project-visual figure {
        height: clamp(180px, 38vh, 300px);
    }
}

/* ================================================================
   RESPONSIVE — SHOWCASE REEL
   ================================================================ */

@media (max-width: 980px) {
    .showcase-reel-hint {
        display: none;
    }
}

@media (max-width: 620px) {
    .showcase-reel-label {
        padding-top: 78px;
        padding-inline: 18px;
    }
}

/* ================================================================
   ABOUT SECTION
   ================================================================ */

.about-section {
    position: relative;
    z-index: 1;
    padding: 108px 0 0;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    overflow: hidden;
}

.about-shell {
    width: min(calc(100% - 42px), var(--max));
    margin: 0 auto;
}

/* Top label row */
.about-top-label {
    display: flex;
    align-items: center;
    gap: 24px;
    margin-bottom: 52px;
}

.about-top-label .eyebrow {
    margin: 0;
    flex-shrink: 0;
}

.about-top-line {
    display: block;
    flex: 1;
    height: 1px;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.14), transparent);
}

/* Main grid: image left, content right */
.about-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 52px;
    align-items: start;
}

/* Photo */
.about-visual {
    position: relative;
}

.about-figure {
    position: relative;
    margin: 0;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 8px;
    overflow: hidden;
    aspect-ratio: 4 / 3;
    box-shadow: 0 40px 100px rgba(0, 0, 0, 0.5), 0 0 60px rgba(216, 183, 102, 0.08);
}

.about-figure img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: saturate(0.85);
    transition: transform 800ms ease, filter 800ms ease;
}

.about-figure:hover img {
    transform: scale(1.04);
    filter: saturate(1);
}

.about-figure::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: linear-gradient(to top, rgba(5, 5, 7, 0.72) 0%, transparent 55%);
}

.about-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 2;
    padding: 22px 24px;
}

.about-caption .eyebrow {
    margin-bottom: 4px;
    font-size: 0.72rem;
}

.about-caption p {
    margin: 0;
    font-size: 1.05rem;
    font-weight: 750;
    color: var(--text);
}

/* Content */
.about-body {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.about-heading {
    font-size: clamp(2rem, 3vw, 3.2rem);
    line-height: 1.06;
    font-weight: 860;
    margin: 0 0 28px;
}

.about-desc {
    color: var(--muted);
    font-size: clamp(0.97rem, 1.05vw, 1.1rem);
    line-height: 1.67;
    margin: 0 0 18px;
}

.about-desc:last-of-type {
    margin-bottom: 28px;
}

/* Capability tags */
.about-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    list-style: none;
    margin: 0 0 34px;
    padding: 0;
}

.about-tags li {
    padding: 7px 14px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.05);
    color: rgba(247, 248, 251, 0.78);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    transition: border-color 180ms ease, color 180ms ease, background 180ms ease;
}

.about-tags li:hover {
    border-color: rgba(8, 239, 112, 0.38);
    color: var(--mint);
    background: rgba(8, 239, 112, 0.06);
}

/* Stats strip — full-width bottom band */
.about-stats-strip {
    display: grid;
    grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr;
    align-items: center;
    margin-top: 60px;
    padding: 40px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.about-stat-item {
    padding: 0 32px;
    text-align: center;
}

.about-stat-item:first-child {
    padding-left: 0;
    text-align: left;
}

.about-stat-item:last-child {
    padding-right: 0;
    text-align: right;
}

.about-stat-item strong {
    display: block;
    font-size: clamp(2.4rem, 4.8vw, 5rem);
    line-height: 0.95;
    font-weight: 880;
    letter-spacing: -0.02em;
    background: linear-gradient(135deg, var(--text) 35%, rgba(247, 248, 251, 0.55));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.about-stat-item span {
    display: block;
    margin-top: 10px;
    color: var(--muted);
    font-size: 0.82rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.about-stat-div {
    width: 1px;
    height: 52px;
    background: rgba(255, 255, 255, 0.1);
}

.partners-section {
    margin-top: 54px;
}

.partners-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 14px;
}

.partner-card,
.partner-logo {
    display: grid;
    place-items: center;
    margin: 0;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.92);
}

.partner-card {
    min-height: 118px;
    padding: 22px;
}

.partner-card img,
.partner-logo img {
    max-width: 100%;
    max-height: 72px;
    object-fit: contain;
}

.home-partners {
    position: relative;
    z-index: 1;
    padding: 46px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    overflow: hidden;
}

.home-partners-head {
    width: min(calc(100% - 42px), var(--max));
    margin: 0 auto 20px;
}

.partners-marquee {
    overflow: hidden;
    mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}

.partners-track {
    display: flex;
    width: max-content;
    gap: 14px;
    animation: partners-scroll 42s linear infinite;
}

.partners-marquee:hover .partners-track {
    animation-play-state: paused;
}

.partner-logo {
    width: 190px;
    height: 104px;
    flex: 0 0 auto;
    padding: 20px;
}

@keyframes partners-scroll {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-50%);
    }
}

/* ================================================================
   STICKY PROJECTS SECTION
   ================================================================ */

.projects-scroll {
    position: relative;
    z-index: 1;
    height: 900vh;
    height: 900dvh;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.projects-sticky {
    position: sticky;
    top: 0;
    height: 100vh;
    height: 100dvh;
    overflow: hidden;
    isolation: isolate;
}

.projects-sticky::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    background:
        radial-gradient(circle at 76% 50%, rgba(216, 183, 102, 0.1), transparent 38rem),
        radial-gradient(circle at 18% 80%, rgba(8, 239, 112, 0.06), transparent 28rem),
        linear-gradient(180deg, rgba(255, 255, 255, 0.025), transparent 30rem);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.projects-header {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 104px max(22px, calc((100vw - var(--max)) / 2)) 0;
}

.projects-header .eyebrow {
    margin: 0;
}

.projects-counter {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 0.88rem;
    font-weight: 700;
    color: var(--muted);
}

.projects-counter [data-projects-current] {
    color: var(--text);
    font-size: 1rem;
    font-weight: 900;
    transition: opacity 300ms ease;
}

.proj-sep {
    opacity: 0.4;
}

.project-item {
    position: absolute;
    inset: 0;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
    align-items: center;
    gap: 56px;
    padding: 164px max(22px, calc((100vw - var(--max)) / 2)) 100px;
    opacity: 0;
    pointer-events: none;
    filter: blur(14px);
    transform: translateY(28px);
    transition:
        opacity 640ms cubic-bezier(.18, .9, .18, 1),
        filter 640ms cubic-bezier(.18, .9, .18, 1),
        transform 640ms cubic-bezier(.18, .9, .18, 1);
}

.project-item.is-active {
    opacity: 1;
    pointer-events: auto;
    filter: blur(0);
    transform: translateY(0);
    z-index: 3;
}

.project-content .eyebrow {
    margin-bottom: 16px;
}

.project-content h2 {
    font-size: clamp(2rem, 3.2vw, 3.4rem);
    line-height: 1.02;
    font-weight: 850;
    margin-bottom: 22px;
}

.project-content > p {
    color: var(--muted);
    font-size: clamp(1rem, 1.1vw, 1.14rem);
    line-height: 1.6;
    max-width: 480px;
    margin-bottom: 0;
}

.project-content .page-button {
    display: inline-flex;
    margin-top: 30px;
}

.project-visual figure {
    margin: 0;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 8px;
    overflow: hidden;
    aspect-ratio: 16 / 10;
    box-shadow:
        0 40px 120px rgba(0, 0, 0, 0.55),
        0 0 60px rgba(216, 183, 102, 0.1);
}

.project-visual img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 900ms ease;
}

.project-item.is-active .project-visual img {
    transform: scale(1.03);
}

.projects-dots {
    position: absolute;
    bottom: 42px;
    left: 50%;
    z-index: 10;
    display: flex;
    gap: 8px;
    transform: translateX(-50%);
}

.proj-dot {
    width: 28px;
    height: 9px;
    padding: 0;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.06);
    color: var(--text);
    cursor: pointer;
    transition: width 220ms ease, background 220ms ease, border-color 220ms ease;
}

.proj-dot:hover {
    border-color: rgba(255, 255, 255, 0.28);
    background: rgba(255, 255, 255, 0.13);
}

.proj-dot.is-active {
    width: 52px;
    border-color: transparent;
    background: linear-gradient(90deg, var(--cyan), var(--mint));
}

/* ================================================================
   FOOTER
   ================================================================ */

.site-footer {
    position: relative;
    z-index: 1;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    background:
        radial-gradient(circle at 28% 0%, rgba(216, 183, 102, 0.08), transparent 28rem),
        linear-gradient(180deg, rgba(255, 255, 255, 0.022), transparent),
        rgba(5, 5, 10, 0.97);
}

.footer-inner {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 48px;
    width: min(calc(100% - 42px), var(--max));
    margin: 0 auto;
    padding: 72px 0 60px;
}

.footer-brand p {
    margin: 18px 0 0;
    color: var(--muted);
    font-size: 0.94rem;
    line-height: 1.62;
    max-width: 320px;
}

.footer-logo {
    height: 32px;
    max-width: 140px;
}

.footer-cta {
    margin-top: 28px;
    display: inline-flex;
}

.footer-nav,
.footer-contact {
    display: grid;
    gap: 12px;
    align-content: start;
}

.footer-nav strong,
.footer-contact strong {
    display: block;
    color: var(--text);
    font-size: 0.76rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.07em;
    margin-bottom: 4px;
    padding-bottom: 14px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-nav a,
.footer-contact a {
    color: var(--muted);
    font-size: 0.93rem;
    transition: color 180ms ease;
}

.footer-contact span {
    color: rgba(164, 171, 183, 0.7);
    font-size: 0.93rem;
}

.footer-nav a:hover,
.footer-contact a:hover {
    color: var(--text);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.07);
}

.footer-bottom-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: min(calc(100% - 42px), var(--max));
    margin: 0 auto;
    padding: 22px 0;
    color: rgba(247, 248, 251, 0.36);
    font-size: 0.84rem;
}

/* ================================================================
   RESPONSIVE — HERO
   ================================================================ */

@media (max-width: 980px) {
    .site-hero-inner {
        padding-top: 88px;
    }

    .site-hero-heading {
        font-size: clamp(4rem, 13vw, 9rem);
    }

    .hero-rule-label {
        display: none;
    }

    .site-hero-stats {
        gap: 0;
        flex-wrap: nowrap;
    }

    .site-hero-stat {
        padding: 0 16px;
    }

    .hero-stat-sep {
        height: 22px;
    }
}

@media (max-width: 620px) {
    .site-hero-inner {
        padding-top: 96px;
    }

    .site-hero-heading {
        font-size: clamp(3.8rem, 18vw, 7rem);
        letter-spacing: -0.02em;
    }

    .hero-badge {
        height: 32px;
        font-size: 0.72rem;
        margin-bottom: 26px;
    }

    .hero-rule {
        margin: 22px 0 20px;
    }

    .site-hero-sub {
        font-size: 0.94rem;
    }

    .hero-stat-sep {
        display: none;
    }

    .site-hero-stat {
        padding: 0 12px;
    }

    .site-hero-stat:first-child {
        padding-left: 0;
    }

    .site-hero-scroll {
        display: none;
    }
}

/* ================================================================
   RESPONSIVE — ABOUT
   ================================================================ */

@media (max-width: 980px) {
    .about-section {
        padding-top: 80px;
    }

    .about-grid {
        grid-template-columns: 1fr;
        gap: 36px;
    }

    .about-figure {
        aspect-ratio: 16 / 9;
    }

    .about-stats-strip {
        grid-template-columns: 1fr auto 1fr;
        grid-template-rows: 1fr auto 1fr;
        gap: 0;
        margin-top: 48px;
    }

    .about-stat-item:nth-child(3),
    .about-stat-item:nth-child(5) {
        display: none;
    }

    .about-stat-div:nth-child(4) {
        display: none;
    }

    .about-stat-div {
        width: 1px;
        height: 40px;
    }

    .partners-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .partner-logo {
        width: 168px;
        height: 96px;
    }
}

@media (max-width: 620px) {
    .about-section {
        padding-top: 64px;
    }

    .about-shell {
        width: calc(100% - 36px);
    }

    .about-top-label {
        margin-bottom: 36px;
    }

    .about-heading {
        font-size: clamp(2rem, 8.5vw, 3.2rem);
    }

    .about-tags {
        gap: 6px;
    }

    .about-tags li {
        font-size: 0.74rem;
        padding: 6px 12px;
    }

    .about-stats-strip {
        grid-template-columns: 1fr 1fr;
        grid-template-rows: unset;
        gap: 0;
        padding: 32px 0;
    }

    .about-stat-item {
        padding: 16px 0;
        text-align: left;
    }

    .about-stat-item:nth-child(3),
    .about-stat-item:nth-child(5) {
        display: block;
    }

    .about-stat-div {
        display: none;
    }

    .about-stat-item strong {
        font-size: clamp(2rem, 9vw, 3.5rem);
    }

    .partners-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
    }

    .partner-card {
        min-height: 96px;
        padding: 16px;
    }

    .partner-logo {
        width: 146px;
        height: 86px;
        padding: 16px;
    }
}

/* ================================================================
   SCROLL STORY
   ================================================================ */

.story-scroll {
    position: relative;
    z-index: 1;
    height: 500vh;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.story-sticky {
    position: sticky;
    top: 0;
    height: 100vh;
    overflow: hidden;
    isolation: isolate;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Crossfading backgrounds */
.story-bgs {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.story-bg {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 900ms ease;
}

.story-bg.is-active {
    opacity: 1;
}

.story-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: saturate(0.5) brightness(0.66);
    transform: scale(1.06);
    transition: transform 9s ease-out;
}

.story-bg.is-active img {
    transform: scale(1);
}

/* Overlay */
.story-sticky::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    background:
        linear-gradient(105deg, rgba(5, 5, 7, 0.94) 14%, rgba(5, 5, 7, 0.52) 54%, rgba(5, 5, 7, 0.9)),
        linear-gradient(to top, rgba(5, 5, 7, 0.88) 0%, transparent 42%),
        radial-gradient(circle at 64% 44%, rgba(216, 183, 102, 0.15), transparent 36rem);
}

/* Beats */
.story-beat {
    position: absolute;
    inset: 0;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    padding: 0 max(24px, calc((100vw - var(--max)) / 2));
    opacity: 0;
    pointer-events: none;
    transition: opacity 600ms ease;
}

.story-beat.is-active {
    opacity: 1;
    pointer-events: auto;
}

/* Eyebrow */
.story-eyebrow {
    margin: 0 0 22px;
    color: var(--mint);
    font-size: 0.78rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

/* Heading */
.story-heading {
    margin: 0;
    font-size: clamp(3.4rem, 8vw, 10rem);
    line-height: 0.93;
    font-weight: 900;
    letter-spacing: -0.03em;
}

/* Word-by-word reveal */
.story-word {
    display: inline-block;
    opacity: 0;
    transform: translateY(28px);
    filter: blur(10px);
    transition:
        opacity 560ms cubic-bezier(.18, .9, .18, 1),
        transform 560ms cubic-bezier(.18, .9, .18, 1),
        filter 540ms ease;
}

.story-beat.is-active .story-word {
    opacity: 1;
    transform: none;
    filter: none;
}

/* CTA row in beat 3 */
.story-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 38px;
}

/* Progress bar at bottom */
.story-progress-wrap {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 4;
    height: 3px;
    background: rgba(255, 255, 255, 0.1);
}

.story-progress-fill {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, var(--cyan), var(--mint));
    transition: width 120ms linear;
}

/* Beat counter */
.story-beat-label {
    position: absolute;
    right: max(24px, calc((100vw - var(--max)) / 2));
    bottom: 34px;
    z-index: 4;
    color: rgba(247, 248, 251, 0.4);
    font-size: 0.82rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    font-variant-numeric: tabular-nums;
}

/* ── Story responsive ── */
@media (max-width: 980px) {
    .story-heading {
        font-size: clamp(2.8rem, 10vw, 6.5rem);
    }
}

@media (max-width: 620px) {
    .story-heading {
        font-size: clamp(2.5rem, 13vw, 4.8rem);
    }

    .story-beat {
        padding: 0 20px;
    }

    .story-beat-label {
        right: 20px;
    }

    .story-actions {
        flex-direction: column;
        width: 100%;
    }

    .story-actions .page-button {
        width: 100%;
        justify-content: center;
    }
}

/* ================================================================
   RESPONSIVE — FOOTER
   ================================================================ */

@media (max-width: 980px) {
    .footer-inner {
        grid-template-columns: 1fr 1fr;
        gap: 36px;
        padding: 56px 0 44px;
    }

    .footer-brand {
        grid-column: 1 / -1;
    }
}

@media (max-width: 620px) {
    .footer-inner {
        grid-template-columns: 1fr;
        gap: 26px;
        padding: 48px 0 36px;
    }

    .footer-brand {
        grid-column: auto;
    }

    .footer-bottom-inner {
        flex-direction: column;
        gap: 6px;
        text-align: center;
        padding: 18px 0;
    }
}

/* ================================================================
   VIDEO HERO — canvas scroll-driven
   ================================================================ */

.vh-pin {
    position: relative;
}

.vh-section {
    position: sticky;
    top: 0;
    width: 100%;
    height: 100vh;
    min-height: 100svh;
    overflow: hidden;
    isolation: isolate;
    background: var(--bg);
}

.vh-canvas {
    position: absolute;
    inset: 0;
    z-index: 1;
    width: 100%;
    height: 100%;
    display: block;
    background: var(--bg);
}

.vh-overlay {
    position: absolute;
    inset: 0;
    z-index: 2;
    pointer-events: none;
    background:
        linear-gradient(105deg, rgba(5,5,7,0.95) 0%, rgba(5,5,7,0.26) 52%, rgba(5,5,7,0.78)),
        linear-gradient(to top, rgba(5,5,7,0.8) 0%, transparent 44%),
        radial-gradient(circle at 72% 44%, rgba(216,183,102,0.14), transparent 36rem);
}

.vh-scenes {
    position: absolute;
    inset: 0;
    z-index: 3;
    pointer-events: none;
}

.vh-scene {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    width: min(760px, calc(100% - 40px));
    padding: clamp(84px, 10vw, 132px) 0 clamp(72px, 8vw, 108px);
    margin-left: clamp(20px, 7vw, 104px);
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.55s ease, transform 0.55s ease;
    pointer-events: none;
}

.vh-scene.is-active {
    opacity: 1;
    transform: none;
    pointer-events: auto;
}

.vh-scene.is-exit {
    opacity: 0;
    transform: translateY(-28px);
}

.vh-eyebrow {
    margin: 0 0 18px;
    color: var(--mint);
    font-size: clamp(0.72rem, 0.9vw, 0.86rem);
    font-weight: 900;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.vh-scene h2 {
    max-width: 14ch;
    margin: 0;
    font-size: clamp(2.4rem, 4.8vw, 5rem);
    line-height: 0.96;
    font-weight: 900;
    letter-spacing: -0.02em;
}

.vh-scene > p {
    max-width: 480px;
    margin: 22px 0 0;
    color: rgba(247,248,251,0.78);
    font-size: clamp(0.95rem, 1.4vw, 1.18rem);
    line-height: 1.62;
}

.vh-tag {
    display: inline-block;
    margin-top: 22px;
    padding: 8px 18px;
    border: 1px solid rgba(8,239,112,0.38);
    border-radius: 999px;
    color: var(--mint);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.vh-scene-cta {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 28px;
    pointer-events: auto;
}

.vh-hint {
    position: absolute;
    left: clamp(20px, 7vw, 104px);
    bottom: clamp(22px, 4vw, 46px);
    z-index: 4;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    color: rgba(247,248,251,0.6);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    pointer-events: none;
}

.vh-hint-bar {
    display: block;
    width: 44px;
    height: 2px;
    overflow: hidden;
    background: rgba(255,255,255,0.22);
    flex-shrink: 0;
}

.vh-hint-bar::before {
    content: "";
    display: block;
    width: var(--vh-progress, 0%);
    height: 100%;
    background: var(--mint);
    transition: width 80ms linear;
}

.vh-load {
    position: absolute;
    right: clamp(20px, 5vw, 70px);
    bottom: clamp(22px, 4vw, 46px);
    z-index: 4;
    color: rgba(247,248,251,0.6);
    font-size: 0.84rem;
    pointer-events: none;
}

.vh-section.is-ready .vh-load { display: none; }

/* Scene counter */
.vh-counter {
    position: absolute;
    right: clamp(20px, 5vw, 70px);
    top: 50%;
    z-index: 4;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 6px;
    pointer-events: none;
}

.vh-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: rgba(255,255,255,0.28);
    transition: background 300ms ease, transform 300ms ease;
}

.vh-dot.is-active {
    background: var(--mint);
    transform: scale(1.5);
}

@media (max-width: 760px) {
    .vh-overlay {
        background:
            linear-gradient(to top, rgba(5,5,7,0.92) 0%, rgba(5,5,7,0.32) 46%, rgba(5,5,7,0.58));
    }

    .vh-scene {
        justify-content: flex-end;
        width: calc(100% - 32px);
        margin: 0 auto;
        padding-top: 96px;
        padding-bottom: 108px;
    }

    .vh-scene h2 {
        font-size: clamp(2.2rem, 9vw, 3.8rem);
    }

    .vh-hint  { left: 16px; bottom: 28px; }
    .vh-load  { right: 16px; bottom: 58px; }
    .vh-counter { display: none; }
}

/* ================================================================
   CTA BAND
   ================================================================ */

.cta-band {
    position: relative;
    z-index: 1;
    padding: 96px 0;
    border-top: 1px solid rgba(255,255,255,0.08);
    overflow: hidden;
}

.cta-band::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
        radial-gradient(circle at 50% 50%, rgba(8,239,112,0.07), transparent 32rem),
        radial-gradient(circle at 14% 80%, rgba(216,183,102,0.1), transparent 28rem);
}

.cta-inner {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    width: min(calc(100% - 42px), var(--max));
    margin: 0 auto;
}

.cta-inner .eyebrow { margin-bottom: 20px; }

.cta-inner h2 {
    max-width: 14ch;
    font-size: clamp(2.4rem, 4.5vw, 4.4rem);
    line-height: 0.96;
    font-weight: 900;
    letter-spacing: -0.02em;
    margin-bottom: 22px;
}

.cta-inner > p {
    max-width: 520px;
    color: var(--muted);
    font-size: clamp(1rem, 1.3vw, 1.2rem);
    line-height: 1.65;
    margin-bottom: 0;
}

.cta-inner .page-actions {
    justify-content: center;
    margin-top: 36px;
}

.cta-inner .about-stat-item strong {
    font-size: clamp(0.9rem, 1.5vw, 1.2rem);
    font-weight: 800;
    letter-spacing: 0.01em;
}

html[dir="rtl"] body {
    text-align: right;
}

html[dir="rtl"] .vh-scene,
html[dir="rtl"] .story-beat,
html[dir="rtl"] .scene {
    margin-left: 0;
    margin-right: clamp(20px, 7vw, 104px);
    align-items: flex-start;
}

html[dir="rtl"] .vh-hint,
html[dir="rtl"] .scroll-hint {
    left: auto;
    right: clamp(20px, 7vw, 104px);
}

html[dir="rtl"] .vh-load,
html[dir="rtl"] .loading-message {
    right: auto;
    left: clamp(20px, 5vw, 70px);
}

html[dir="rtl"] .vh-counter {
    right: auto;
    left: clamp(20px, 5vw, 70px);
}

html[dir="rtl"] .page-actions,
html[dir="rtl"] .vh-scene-cta,
html[dir="rtl"] .story-actions {
    justify-content: flex-start;
}

html[dir="rtl"] .about-top-label,
html[dir="rtl"] .projects-header,
html[dir="rtl"] .footer-bottom-inner,
html[dir="rtl"] .topbar nav,
html[dir="rtl"] .contact-lines {
    direction: rtl;
}

html[dir="rtl"] .project-content,
html[dir="rtl"] .page-hero,
html[dir="rtl"] .page-card,
html[dir="rtl"] .wide-panel,
html[dir="rtl"] .contact-panel,
html[dir="rtl"] .brief-panel,
html[dir="rtl"] .footer-brand,
html[dir="rtl"] .footer-nav,
html[dir="rtl"] .footer-contact {
    text-align: right;
}

html[dir="rtl"] .brief-panel ul {
    padding-left: 0;
    padding-right: 1.1rem;
}

html[dir="rtl"] .cta-inner,
html[dir="rtl"] .cta-inner .page-actions {
    text-align: center;
    justify-content: center;
}

html[dir="rtl"] .brand-logo {
    direction: ltr;
}

/* Final navbar pass: compact desktop, closed drawer on tablet/mobile. */
.topbar {
    grid-template-columns: auto minmax(0, 1fr);
    gap: 18px;
    width: min(calc(100% - 32px), 1320px);
    min-height: 58px;
    padding: 8px 10px 8px 14px;
    border-color: rgba(255, 255, 255, 0.16);
    background: rgba(5, 6, 10, 0.78);
}

.topbar nav {
    align-items: center;
    justify-content: flex-end;
    min-width: 0;
    gap: 4px;
}

.topbar nav > a,
.language-button {
    min-height: 38px;
    padding: 0 11px;
    border-radius: 8px;
    white-space: nowrap;
    font-size: 0.82rem;
    font-weight: 760;
}

.topbar nav > a {
    color: rgba(247, 248, 251, 0.76);
}

.language-button {
    border-color: rgba(8, 239, 112, 0.22);
    background: rgba(8, 239, 112, 0.08);
}

@media (max-width: 1280px) {
    .topbar {
        left: 16px;
        right: 16px;
        width: auto;
        grid-template-columns: auto auto;
        justify-content: space-between;
        transform: none;
    }

    .menu-toggle {
        display: block;
    }

    .topbar nav {
        position: fixed;
        inset: 0;
        z-index: 58;
        display: none;
        align-content: start;
        justify-content: stretch;
        gap: 8px;
        min-height: 100vh;
        padding: 102px 18px 28px;
        overflow-y: auto;
        background:
            linear-gradient(180deg, rgba(5, 6, 10, 0.98), rgba(5, 6, 10, 0.94)),
            radial-gradient(circle at 78% 18%, rgba(8, 239, 112, 0.12), transparent 24rem);
        backdrop-filter: blur(28px) saturate(130%);
    }

    .topbar.is-menu-open nav {
        display: grid;
    }

    .topbar nav > a,
    .language-button {
        width: 100%;
        min-height: 56px;
        justify-content: space-between;
        padding: 0 16px;
        border: 1px solid rgba(255, 255, 255, 0.12);
        background: rgba(255, 255, 255, 0.055);
        color: var(--text);
        font-size: clamp(1.05rem, 4.4vw, 1.55rem);
        font-weight: 820;
    }

    .language-badge {
        width: 100%;
        min-height: 56px;
        justify-content: center;
        font-size: clamp(1rem, 4vw, 1.35rem);
        font-weight: 820;
    }

    .topbar nav > a::after {
        content: "->";
        color: var(--mint);
        font-size: 0.88rem;
    }

    .language-menu {
        display: grid;
        width: 100%;
    }

    .language-list {
        position: static;
        display: none;
        width: 100%;
        min-width: 0;
        margin-top: 8px;
        opacity: 1;
        transform: none;
        pointer-events: auto;
    }

    .language-menu.is-open .language-list {
        display: grid;
    }

    .topbar nav .language-list a {
        min-height: 46px;
        font-size: 1rem;
    }

    .topbar nav .language-list a::after {
        content: "";
    }
}

@media (max-width: 620px) {
    .topbar {
        top: 10px;
        left: 10px;
        right: 10px;
    }

    .brand-logo {
        height: 32px;
        max-width: 132px;
    }

    .menu-toggle {
        width: 42px;
        height: 42px;
    }

    .topbar nav {
        padding: 92px 12px 24px;
    }
}

@media (max-width: 620px) {
    .cta-band { padding: 72px 0; }
    .cta-inner .page-actions { flex-direction: column; width: 100%; }
    .cta-inner .page-button { width: 100%; justify-content: center; }
}
