:root {
    --fx-bg: #0a0a0a;
    --fx-bg-2: #111827;
    --fx-text: #f8fafc;
    --fx-muted: #94a3b8;
    --fx-primary: #1e4d8f;
    --fx-accent: #2563eb;
    --fx-border: rgba(255, 255, 255, 0.08);
    --fx-font-display: "Barlow Condensed", system-ui, sans-serif;
    --fx-font-body: "Inter", system-ui, sans-serif;
    --fx-container: min(1280px, 100% - 2rem);
}

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

body.fx-site {
    margin: 0;
    font-family: var(--fx-font-body);
    color: var(--fx-text);
    background: var(--fx-bg);
    line-height: 1.5;
}

.fx-skip {
    position: absolute;
    left: -9999px;
    top: 0;
    background: #fff;
    color: #000;
    padding: 0.5rem 1rem;
    z-index: 9999;
}
.fx-skip:focus { left: 1rem; top: 1rem; }

.fx-container {
    width: var(--fx-container);
    margin-inline: auto;
}

.fx-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(10, 10, 10, 0.82);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--fx-border);
}
.fx-header.is-scrolled { background: rgba(10, 10, 10, 0.95); }
.fx-header.is-nav-open {
    background: #0a0a0a;
}

.fx-header__bar {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.65rem 1rem;
    max-width: 1400px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.fx-logo img {
    height: 40px;
    width: auto;
    display: block;
    filter: none;
}
.fx-footer__logo {
    height: 40px;
    width: auto;
    display: block;
    margin-bottom: 0.75rem;
    opacity: 1;
}

.fx-nav-toggle {
    display: inline-flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    margin-left: auto;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 10px;
    width: 44px;
    height: 44px;
    padding: 0;
    cursor: pointer;
    align-items: center;
    flex-shrink: 0;
}
.fx-nav-toggle span {
    display: block;
    width: 18px;
    height: 2px;
    background: #fff;
    border-radius: 2px;
    transition: transform 0.22s ease, opacity 0.22s ease;
    transform-origin: center;
}
.fx-nav-toggle[aria-expanded="true"] span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}
.fx-nav-toggle[aria-expanded="true"] span:nth-child(2) {
    opacity: 0;
}
.fx-nav-toggle[aria-expanded="true"] span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}
@media (min-width: 992px) {
    .fx-nav-toggle { display: none; }
}

.fx-nav-scrim {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.55);
    z-index: 1;
    border: 0;
    padding: 0;
    margin: 0;
    cursor: pointer;
}
.fx-nav-scrim[hidden] { display: none !important; }
@media (min-width: 992px) {
    .fx-nav-scrim { display: none !important; }
}

.fx-nav {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    background: linear-gradient(180deg, #0b1220 0%, #0a0a0a 100%);
    border-bottom: 1px solid var(--fx-border);
    padding: 0.75rem 1rem 1.25rem;
    box-shadow: 0 24px 48px rgba(0, 0, 0, 0.45);
    max-height: min(78vh, 560px);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}
.fx-nav.is-open { display: block; animation: fx-nav-in 0.22s ease; }
@keyframes fx-nav-in {
    from { opacity: 0; transform: translateY(-6px); }
    to { opacity: 1; transform: translateY(0); }
}
@media (min-width: 992px) {
    .fx-nav {
        display: block;
        position: static;
        background: transparent;
        border: 0;
        padding: 0;
        margin-left: 1rem;
        box-shadow: none;
        max-height: none;
        overflow: visible;
        animation: none;
    }
}

.fx-nav__list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}
@media (min-width: 992px) {
    .fx-nav__list {
        flex-direction: row;
        align-items: center;
        gap: 0.15rem;
    }
}

.fx-nav__list a {
    color: var(--fx-text);
    text-decoration: none;
    font-weight: 600;
    font-size: 1.05rem;
    padding: 0.9rem 1rem;
    border-radius: 12px;
    display: block;
    border: 1px solid transparent;
}
.fx-nav__list a:hover,
.fx-nav__list a:focus-visible {
    background: rgba(255, 255, 255, 0.08);
    outline: none;
}
@media (min-width: 992px) {
    .fx-nav__list a {
        font-size: 0.9rem;
        padding: 0.55rem 0.75rem;
        border-radius: 8px;
    }
}

.fx-nav__cta {
    display: grid;
    gap: 0.65rem;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid var(--fx-border);
}
.fx-btn--block {
    width: 100%;
    justify-content: center;
    min-height: 48px;
}
@media (min-width: 992px) {
    .fx-nav__cta { display: none; }
}

.fx-header__actions {
    display: none;
    gap: 0.5rem;
    align-items: center;
}
@media (min-width: 992px) {
    .fx-header__actions { display: flex; margin-left: auto; }
}

body.fx-nav-locked {
    overflow: hidden;
    touch-action: none;
}
@media (prefers-reduced-motion: reduce) {
    .fx-nav.is-open { animation: none; }
    .fx-nav-toggle span { transition: none; }
}

.fx-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
    border-radius: 999px;
    font-weight: 700;
    font-size: 0.85rem;
    text-decoration: none;
    padding: 0.55rem 1.1rem;
    border: 2px solid transparent;
    transition: transform 0.15s ease, background 0.15s ease, color 0.15s ease;
}
.fx-btn--lg { padding: 0.75rem 1.35rem; font-size: 0.95rem; }
.fx-btn--solid {
    background: #fff;
    color: #0f172a;
}
.fx-btn--solid:hover { background: #e2e8f0; color: #0f172a; }
.fx-btn--ghost {
    border-color: rgba(255, 255, 255, 0.45);
    color: #fff;
}
.fx-btn--ghost:hover { background: rgba(255, 255, 255, 0.1); color: #fff; }

.fx-hero {
    position: relative;
    min-height: min(88vh, 820px);
    overflow: hidden;
}
.fx-hero__slides { position: relative; height: 100%; min-height: inherit; }
.fx-hero__slide {
    position: absolute;
    inset: 0;
    background: #111 center/cover no-repeat;
    opacity: 0;
    transition: opacity 0.7s ease;
    pointer-events: none;
}
.fx-hero__slide.is-active { opacity: 1; pointer-events: auto; z-index: 1; }
.fx-hero__slide:nth-child(1) { background-image: linear-gradient(120deg, #0f172a 0%, #1e3a8a 45%, #0f172a 100%); }
.fx-hero__slide:nth-child(2) { background-image: linear-gradient(135deg, #1e293b 0%, #1e4d8f 50%, #0f172a 100%); }
.fx-hero__slide:nth-child(3) { background-image: linear-gradient(160deg, #0f172a 0%, #2563eb 40%, #111827 100%); }

.fx-hero__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(0,0,0,.55) 0%, rgba(0,0,0,.15) 55%, rgba(0,0,0,.35) 100%);
}
.fx-hero__content {
    position: relative;
    z-index: 2;
    min-height: min(88vh, 820px);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding-bottom: 4rem;
    max-width: 720px;
}
.fx-kicker {
    font-family: var(--fx-font-display);
    letter-spacing: 0.2em;
    text-transform: uppercase;
    font-size: 0.8rem;
    color: #93c5fd;
    margin: 0 0 0.75rem;
}
.fx-hero__title {
    font-family: var(--fx-font-display);
    font-size: clamp(2.8rem, 8vw, 5.5rem);
    line-height: 0.95;
    font-weight: 800;
    text-transform: uppercase;
    margin: 0 0 1rem;
    letter-spacing: 0.02em;
}
.fx-hero__sub {
    font-size: clamp(1rem, 2.2vw, 1.25rem);
    color: #cbd5e1;
    max-width: 36ch;
    margin: 0 0 1.5rem;
}
.fx-hero__dots {
    position: absolute;
    bottom: 1.5rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 0.5rem;
    z-index: 3;
}
.fx-hero__dots button {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: 0;
    background: rgba(255,255,255,.35);
    cursor: pointer;
}
.fx-hero__dots button.is-active { background: #fff; transform: scale(1.15); }

.fx-section { padding: 4rem 0; }
.fx-section--dark { background: #0f172a; }
.fx-section--center { min-height: 50vh; display: flex; align-items: center; }
.fx-section__head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1.75rem;
}
.fx-section__title {
    font-family: var(--fx-font-display);
    font-size: clamp(2rem, 4vw, 2.75rem);
    text-transform: uppercase;
    margin: 0;
    font-weight: 800;
    letter-spacing: 0.03em;
}
.fx-link {
    color: #93c5fd;
    text-decoration: none;
    font-weight: 600;
    white-space: nowrap;
}
.fx-link:hover { color: #fff; }

.fx-cat-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
}
@media (min-width: 768px) {
    .fx-cat-grid { grid-template-columns: repeat(3, 1fr); gap: 1rem; }
}
@media (min-width: 1200px) {
    .fx-cat-grid { grid-template-columns: repeat(6, 1fr); }
}
.fx-cat-tile {
    aspect-ratio: 3/4;
    border-radius: 12px;
    background: linear-gradient(180deg, #1e293b 0%, #0f172a 100%) center/cover no-repeat;
    border: 1px solid var(--fx-border);
    display: flex;
    align-items: flex-end;
    padding: 1rem;
    text-decoration: none;
    color: #fff;
    font-family: var(--fx-font-display);
    font-size: 1.35rem;
    font-weight: 700;
    text-transform: uppercase;
    transition: transform 0.2s ease, border-color 0.2s ease;
    position: relative;
    overflow: hidden;
}
.fx-cat-tile.has-photo::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0,0,0,.15) 0%, rgba(0,0,0,.75) 100%);
}
.fx-cat-tile span {
    position: relative;
    z-index: 1;
}
.fx-cat-tile:hover {
    transform: translateY(-4px);
    border-color: rgba(255,255,255,.25);
    color: #fff;
}

.fx-product-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}
@media (min-width: 768px) {
    .fx-product-grid { grid-template-columns: repeat(4, 1fr); }
}
.fx-product-card {
    text-decoration: none;
    color: inherit;
    background: #111827;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid var(--fx-border);
    transition: transform 0.2s ease;
}
.fx-product-card:hover { transform: translateY(-3px); color: inherit; }
.fx-product-card__img {
    aspect-ratio: 1;
    background: #1e293b center/cover no-repeat;
}
.fx-product-card__body { padding: 0.85rem 1rem 1rem; }
.fx-product-card__cat {
    margin: 0 0 0.25rem;
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--fx-muted);
}
.fx-product-card__body h3 {
    margin: 0;
    font-size: 0.95rem;
    font-weight: 600;
    line-height: 1.3;
}

.fx-split {
    display: grid;
    grid-template-columns: 1fr;
}
@media (min-width: 992px) {
    .fx-split { grid-template-columns: 1.15fr 0.85fr; min-height: 520px; }
}
.fx-split__media {
    min-height: 280px;
    background: #0f172a;
    position: relative;
    overflow: hidden;
}
.fx-split__media--u {
    min-height: 340px;
}
@media (min-width: 992px) {
    .fx-split__media--u { min-height: 520px; }
}
.fx-split__photo {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 55% 20%;
    display: block;
    transform: scale(1.02);
    transition: transform 1.1s ease;
}
.fx-split--u:hover .fx-split__photo {
    transform: scale(1.06);
}
.fx-split__media--u::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(0, 0, 0, 0.15) 0%, transparent 40%, rgba(0, 0, 0, 0.35) 100%);
    pointer-events: none;
    z-index: 1;
}
.fx-split__content {
    padding: 3rem 1.5rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    background: #000;
}
@media (min-width: 992px) {
    .fx-split__content { padding: 3rem 4rem; }
}
.fx-split__title {
    font-family: var(--fx-font-display);
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    margin: 0 0 1rem;
    text-transform: uppercase;
    font-weight: 800;
}
.fx-split__text { color: var(--fx-muted); max-width: 42ch; margin-bottom: 1.5rem; }
.fx-split__actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.85rem;
}
.fx-split__content .fx-btn {
    width: auto;
    align-self: flex-start;
}

.fx-status-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    border-radius: 999px;
    border: 1px solid rgba(147, 197, 253, 0.4);
    background: rgba(37, 99, 235, 0.18);
    color: #93c5fd;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 0.55rem 1rem;
}
.fx-status-pill::before {
    content: "";
    width: 0.5rem;
    height: 0.5rem;
    border-radius: 50%;
    background: #60a5fa;
    box-shadow: 0 0 0 0 rgba(96, 165, 250, 0.55);
    animation: fx-soon-pulse 1.8s ease-out infinite;
}
@keyframes fx-soon-pulse {
    0% { box-shadow: 0 0 0 0 rgba(96, 165, 250, 0.55); }
    70% { box-shadow: 0 0 0 8px rgba(96, 165, 250, 0); }
    100% { box-shadow: 0 0 0 0 rgba(96, 165, 250, 0); }
}
@media (prefers-reduced-motion: reduce) {
    .fx-split__photo,
    .fx-split--u:hover .fx-split__photo {
        transform: none;
        transition: none;
    }
    .fx-status-pill::before { animation: none; }
}

.fx-section--stats {
    position: relative;
    background:
        radial-gradient(ellipse 80% 120% at 10% 50%, rgba(37, 99, 235, 0.22), transparent 55%),
        radial-gradient(ellipse 60% 100% at 90% 50%, rgba(147, 197, 253, 0.08), transparent 50%),
        #0b1220;
    border-block: 1px solid rgba(255, 255, 255, 0.08);
    padding: 0;
    overflow: hidden;
}
.fx-section--stats::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px);
    background-size: 22px 22px;
    opacity: 0.55;
    pointer-events: none;
}
.fx-stats {
    position: relative;
    z-index: 1;
    list-style: none;
    margin: 0;
    padding: 1.75rem 0;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0;
}
@media (min-width: 768px) {
    .fx-stats {
        grid-template-columns: repeat(4, 1fr);
        padding: 2rem 0;
    }
}
.fx-stats__item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
    text-align: center;
    padding: 1.25rem 1rem;
    position: relative;
    transition: background 0.25s ease, transform 0.25s ease;
}
@media (min-width: 768px) {
    .fx-stats__item:not(:last-child)::after {
        content: "";
        position: absolute;
        top: 18%;
        bottom: 18%;
        right: 0;
        width: 1px;
        background: linear-gradient(180deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    }
}
@media (max-width: 767.98px) {
    .fx-stats__item:nth-child(odd)::after {
        content: "";
        position: absolute;
        top: 16%;
        bottom: 16%;
        right: 0;
        width: 1px;
        background: linear-gradient(180deg, transparent, rgba(255, 255, 255, 0.16), transparent);
    }
    .fx-stats__item:nth-child(-n+2) {
        border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    }
}
.fx-stats__item:hover {
    background: rgba(255, 255, 255, 0.03);
}
.fx-stats__icon {
    width: 2.35rem;
    height: 2.35rem;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0.35rem;
    color: #93c5fd;
    background: rgba(37, 99, 235, 0.18);
    border: 1px solid rgba(147, 197, 253, 0.28);
    font-size: 1.05rem;
    transition: transform 0.25s ease, background 0.25s ease, border-color 0.25s ease;
}
.fx-stats__item:hover .fx-stats__icon {
    transform: translateY(-2px);
    background: rgba(37, 99, 235, 0.28);
    border-color: rgba(147, 197, 253, 0.45);
}
.fx-stats__label {
    display: block;
    font-family: var(--fx-font-display);
    font-size: clamp(1.55rem, 3vw, 2rem);
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #fff;
    line-height: 1;
}
.fx-stats__text {
    font-size: 0.84rem;
    color: #94a3b8;
    max-width: 16ch;
    line-height: 1.35;
}
@media (prefers-reduced-motion: reduce) {
    .fx-stats__item,
    .fx-stats__icon {
        transition: none;
    }
    .fx-stats__item:hover .fx-stats__icon {
        transform: none;
    }
}

.fx-cta-band {
    background: #fff;
    color: #0f172a;
    padding: 3rem 0;
}
.fx-cta-band__inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
}
.fx-cta-band h2 {
    font-family: var(--fx-font-display);
    text-transform: uppercase;
    font-size: clamp(1.75rem, 3vw, 2.25rem);
    margin: 0 0 0.35rem;
    font-weight: 800;
}
.fx-cta-band p { margin: 0; color: #64748b; }
.fx-cta-band .fx-btn--solid { background: #0f172a; color: #fff; }
.fx-cta-band .fx-btn--ghost { border-color: #0f172a; color: #0f172a; }
.fx-cta-band__actions { display: flex; flex-wrap: wrap; gap: 0.75rem; }

.fx-page-hero {
    padding: 3rem 0 2rem;
    background: #0f172a;
    border-bottom: 1px solid var(--fx-border);
}
.fx-page-hero__title {
    font-family: var(--fx-font-display);
    font-size: clamp(2.2rem, 5vw, 3rem);
    text-transform: uppercase;
    margin: 0;
    font-weight: 800;
}
.fx-page-hero__lead {
    margin: 0.85rem 0 0;
    color: var(--fx-muted);
    max-width: 40ch;
    font-size: 1.05rem;
}
.fx-content {
    color: #cbd5e1;
    max-width: 720px;
}
.fx-content a { color: #93c5fd; }

.fx-section--contact { padding-top: 2.5rem; }
.fx-contact {
    display: grid;
    gap: 2rem;
}
@media (min-width: 992px) {
    .fx-contact {
        grid-template-columns: 1.2fr 0.8fr;
        gap: 3rem;
        align-items: start;
    }
}
.fx-contact__list {
    display: grid;
    gap: 0.85rem;
}
.fx-contact__item {
    display: grid;
    grid-template-columns: auto 1fr;
    grid-template-rows: auto auto auto;
    column-gap: 1rem;
    row-gap: 0.15rem;
    padding: 1.15rem 1.25rem;
    border: 1px solid var(--fx-border);
    background: #0f172a;
    text-decoration: none;
    color: inherit;
    transition: border-color 0.15s ease, background 0.15s ease;
}
a.fx-contact__item:hover {
    border-color: rgba(147, 197, 253, 0.45);
    background: #111827;
}
.fx-contact__icon {
    grid-row: 1 / span 3;
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(37, 99, 235, 0.18);
    color: #93c5fd;
    font-size: 1.1rem;
    align-self: start;
}
.fx-contact__label {
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--fx-muted);
}
.fx-contact__value {
    font-size: 1.05rem;
    font-weight: 600;
    color: #fff;
    line-height: 1.45;
}
.fx-contact__map {
    grid-column: 2;
    margin-top: 0.35rem;
    color: #93c5fd;
    font-size: 0.85rem;
    font-weight: 600;
    text-decoration: none;
    width: fit-content;
}
.fx-contact__map:hover { color: #fff; }
.fx-contact__aside {
    padding: 2rem 1.5rem;
    background: #000;
    border: 1px solid var(--fx-border);
}
@media (min-width: 992px) {
    .fx-contact__aside { padding: 2.5rem 2rem; position: sticky; top: 5.5rem; }
}
.fx-contact__aside-title {
    font-family: var(--fx-font-display);
    font-size: clamp(1.75rem, 3vw, 2.25rem);
    text-transform: uppercase;
    font-weight: 800;
    margin: 0 0 0.75rem;
}
.fx-contact__aside-text {
    color: var(--fx-muted);
    margin: 0 0 1.5rem;
    line-height: 1.55;
}
.fx-contact__aside-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}
.fx-contact__extra {
    margin-top: 2.5rem;
    padding-top: 2rem;
    border-top: 1px solid var(--fx-border);
}

.fx-footer {
    background: #000;
    border-top: 1px solid var(--fx-border);
    padding: 3rem 0 0;
    margin-top: auto;
}
.fx-footer__grid {
    display: grid;
    gap: 2rem;
    padding-bottom: 2rem;
}
@media (min-width: 768px) {
    .fx-footer__grid { grid-template-columns: 1.2fr 1fr 1fr; }
}
.fx-footer__tag { color: var(--fx-muted); font-size: 0.9rem; margin: 0; }
.fx-footer__title {
    font-family: var(--fx-font-display);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-size: 0.95rem;
    margin: 0 0 0.75rem;
}
.fx-footer__links {
    list-style: none;
    margin: 0;
    padding: 0;
}
.fx-footer__links a {
    color: var(--fx-muted);
    text-decoration: none;
    font-size: 0.9rem;
    line-height: 2;
}
.fx-footer__links a:hover { color: #fff; }
.fx-footer__bottom {
    border-top: 1px solid var(--fx-border);
    padding: 1rem 0 1.5rem;
    font-size: 0.8rem;
    color: var(--fx-muted);
}

/* —— Works / team showcase (/douleies) —— */
.fx-page-hero--works {
    padding: 3.25rem 0 2.5rem;
    background:
        radial-gradient(ellipse 70% 90% at 0% 0%, rgba(37, 99, 235, 0.22), transparent 55%),
        linear-gradient(180deg, #0f172a 0%, #0a0a0a 100%);
    border-bottom: 0;
}
.fx-page-hero__row {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    justify-content: space-between;
    gap: 1.5rem;
}
.fx-works-count {
    text-align: right;
    min-width: 5.5rem;
}
.fx-works-count__num {
    display: block;
    font-family: var(--fx-font-display);
    font-weight: 800;
    font-size: clamp(2.5rem, 6vw, 3.5rem);
    line-height: 0.9;
    color: #fff;
    letter-spacing: 0.02em;
}
.fx-works-count__label {
    display: block;
    margin-top: 0.35rem;
    font-size: 0.75rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #94a3b8;
    font-weight: 700;
}

.fx-works {
    padding: 0.5rem 0 4rem;
    background: #0a0a0a;
}
.fx-works__empty {
    text-align: center;
    padding: 3.5rem 1.25rem;
    color: var(--fx-muted);
    border: 1px dashed var(--fx-border);
    border-radius: 1.15rem;
    background: rgba(15, 23, 42, 0.45);
}
.fx-works__empty p { margin: 0 0 1.25rem; }

.fx-works__grid {
    display: grid;
    gap: 1.25rem;
    grid-template-columns: 1fr;
}
@media (min-width: 768px) {
    .fx-works__grid--n1 {
        grid-template-columns: 1fr;
        max-width: 920px;
        margin-inline: auto;
    }
    .fx-works__grid--n2 {
        grid-template-columns: 1.35fr 1fr;
        align-items: stretch;
    }
    .fx-works__grid--n3,
    .fx-works__grid--n4 {
        grid-template-columns: repeat(12, 1fr);
        gap: 1.35rem;
    }
    .fx-works__grid--n3 .fx-work-card:nth-child(1) { grid-column: span 7; }
    .fx-works__grid--n3 .fx-work-card:nth-child(2) { grid-column: span 5; }
    .fx-works__grid--n3 .fx-work-card:nth-child(3) { grid-column: span 12; }
    .fx-works__grid--n4 .fx-work-card:nth-child(1) { grid-column: span 7; }
    .fx-works__grid--n4 .fx-work-card:nth-child(2) { grid-column: span 5; }
    .fx-works__grid--n4 .fx-work-card:nth-child(3),
    .fx-works__grid--n4 .fx-work-card:nth-child(4) { grid-column: span 6; }
    .fx-works__grid--n4 .fx-work-card:nth-child(n+5) { grid-column: span 4; }
}

.fx-work-card {
    position: relative;
    border-radius: 1.25rem;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: #0b1220;
    min-height: 22rem;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.28);
    transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), border-color 0.3s ease, box-shadow 0.35s ease;
}
.fx-work-card--featured { min-height: min(72vh, 560px); }
@media (min-width: 768px) {
    .fx-works__grid--n2 .fx-work-card--featured { min-height: 520px; }
    .fx-works__grid--n3 .fx-work-card:nth-child(1),
    .fx-works__grid--n4 .fx-work-card:nth-child(1) { min-height: 480px; }
    .fx-works__grid--n3 .fx-work-card:nth-child(3) { min-height: 360px; }
}
.fx-work-card:hover {
    transform: translateY(-6px);
    border-color: rgba(147, 197, 253, 0.28);
    box-shadow: 0 28px 60px rgba(0, 0, 0, 0.45);
}
.fx-work-card__link {
    display: block;
    height: 100%;
    color: inherit;
    text-decoration: none;
    position: relative;
}
.fx-work-card__media {
    position: absolute;
    inset: 0;
}
.fx-work-card__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    display: block;
    transition: transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
}
.fx-work-card:hover .fx-work-card__media img { transform: scale(1.06); }
.fx-work-card__shade {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, rgba(0, 0, 0, 0.05) 25%, rgba(0, 0, 0, 0.55) 70%, rgba(0, 0, 0, 0.88) 100%),
        radial-gradient(ellipse at 80% 10%, rgba(37, 99, 235, 0.18), transparent 45%);
    pointer-events: none;
}
.fx-work-card__meta {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 2;
    padding: 1.35rem 1.35rem 1.45rem;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.3rem;
}
.fx-work-card__team {
    margin: 0;
    font-size: 0.7rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #93c5fd;
    font-weight: 700;
}
.fx-work-card__title {
    margin: 0;
    font-family: var(--fx-font-display);
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    font-size: clamp(1.45rem, 3vw, 2.1rem);
    line-height: 1.05;
    color: #fff;
}
.fx-work-card__text {
    margin: 0.35rem 0 0;
    color: #cbd5e1;
    font-size: 0.9rem;
    line-height: 1.45;
    max-width: 42ch;
}
.fx-work-card__view {
    margin-top: 0.85rem;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #0f172a;
    background: #fff;
    border-radius: 999px;
    padding: 0.45rem 0.9rem;
    opacity: 0;
    transform: translateY(8px);
    transition: opacity 0.25s ease, transform 0.25s ease;
}
.fx-work-card:hover .fx-work-card__view,
.fx-work-card__link:focus-visible .fx-work-card__view {
    opacity: 1;
    transform: translateY(0);
}
@media (hover: none) {
    .fx-work-card__view { opacity: 1; transform: none; }
}

.fx-work-lightbox {
    position: fixed;
    inset: 0;
    z-index: 4000;
    background: rgba(0, 0, 0, 0.92);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
    backdrop-filter: blur(6px);
}
.fx-work-lightbox[hidden] { display: none !important; }
.fx-work-lightbox img {
    max-width: min(1100px, 96vw);
    max-height: 90vh;
    object-fit: contain;
    border-radius: 0.75rem;
    box-shadow: 0 24px 80px rgba(0, 0, 0, 0.55);
}
.fx-work-lightbox__close {
    position: absolute;
    top: 1rem;
    right: 1.1rem;
    width: 2.75rem;
    height: 2.75rem;
    border: 0;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
    font-size: 1.75rem;
    line-height: 1;
    cursor: pointer;
}
.fx-work-lightbox__close:hover { background: rgba(255, 255, 255, 0.22); }

.fx-logo-rail {
    padding: 3rem 0 3.5rem;
    border-top: 1px solid var(--fx-border);
    background:
        radial-gradient(ellipse 70% 80% at 50% 0%, rgba(37, 99, 235, 0.14), transparent 55%),
        #0a0a0a;
}
.fx-logo-rail__head {
    text-align: center;
    max-width: 36rem;
    margin: 0 auto 2rem;
}
.fx-logo-rail__title {
    margin: 0 0 0.65rem;
    font-family: var(--fx-font-display);
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    font-size: clamp(1.6rem, 3.5vw, 2.35rem);
    color: #fff;
    line-height: 1;
}
.fx-logo-rail__lead {
    margin: 0;
    color: var(--fx-muted);
    font-size: 1rem;
}
.fx-logo-rail__grid {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}
@media (min-width: 640px) {
    .fx-logo-rail__grid { grid-template-columns: repeat(3, 1fr); }
}
@media (min-width: 992px) {
    .fx-logo-rail__grid { grid-template-columns: repeat(5, 1fr); gap: 1.25rem; }
}
.fx-logo-rail__item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.65rem;
    padding: 1.15rem 0.85rem;
    border: 1px solid var(--fx-border);
    border-radius: 1rem;
    background: rgba(15, 23, 42, 0.72);
    transition: border-color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}
.fx-logo-rail__item:hover {
    border-color: rgba(147, 197, 253, 0.35);
    background: rgba(17, 24, 39, 0.95);
    transform: translateY(-3px);
}
.fx-logo-rail__item img {
    width: 88px;
    height: 88px;
    object-fit: contain;
    display: block;
    filter: drop-shadow(0 8px 16px rgba(0, 0, 0, 0.35));
}
.fx-logo-rail__item span {
    font-size: 0.78rem;
    color: #cbd5e1;
    text-align: center;
    line-height: 1.25;
}
@media (prefers-reduced-motion: reduce) {
    .fx-work-card,
    .fx-work-card__media img,
    .fx-work-card__view,
    .fx-logo-rail__item { transition: none; }
    .fx-work-card:hover,
    .fx-logo-rail__item:hover { transform: none; }
    .fx-work-card:hover .fx-work-card__media img { transform: none; }
    .fx-work-card__view { opacity: 1; transform: none; }
}
