:root {
    --black: #050505;
    --black-soft: #0d0d0d;
    --ink: #171717;
    --white: #ffffff;
    --muted: rgba(255, 255, 255, 0.72);
    --muted-dark: rgba(0, 0, 0, 0.62);
    --line: rgba(255, 255, 255, 0.16);
    --line-dark: rgba(0, 0, 0, 0.12);
    --meta-blue: #1877f2;
    --max: 1180px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: var(--black);
    color: var(--white);
    font-family: "Montserrat", Arial, sans-serif;
    line-height: 1.6;
}

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

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

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

.site-header {
    position: fixed;
    z-index: 20;
    top: 0;
    left: 0;
    right: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 28px clamp(22px, 4vw, 58px);
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.74), rgba(0, 0, 0, 0));
}

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

.main-nav {
    display: flex;
    align-items: center;
    gap: clamp(18px, 3vw, 42px);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0;
    text-transform: uppercase;
}

.main-nav a {
    opacity: 0.78;
    transition: opacity 0.2s ease;
}

.main-nav a:hover {
    opacity: 1;
}

.hero {
    position: relative;
    min-height: 88vh;
    display: grid;
    align-items: end;
    overflow: hidden;
    padding: 150px clamp(22px, 7vw, 96px) 112px;
    isolation: isolate;
}

.hero-bg,
.hero-overlay {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.hero-bg {
    object-fit: cover;
    object-position: center;
    z-index: -3;
    filter: saturate(0.95) contrast(1.1);
}

.hero-overlay {
    z-index: -2;
    background:
        linear-gradient(90deg, rgba(0, 0, 0, 0.94) 0%, rgba(0, 0, 0, 0.74) 42%, rgba(0, 0, 0, 0.22) 100%),
        linear-gradient(0deg, rgba(0, 0, 0, 0.72) 0%, rgba(0, 0, 0, 0) 44%);
}

.hero-content {
    width: 100%;
    max-width: 820px;
    min-width: 0;
}

.eyebrow,
.section-kicker {
    margin: 0 0 18px;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0;
    text-transform: uppercase;
}

.eyebrow::before,
.section-kicker::before {
    content: "";
    display: inline-block;
    width: 6px;
    height: 6px;
    margin-right: 14px;
    vertical-align: 2px;
    background: currentColor;
    border-radius: 50%;
}

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

h1 {
    max-width: 900px;
    margin-bottom: 28px;
    font-size: 104px;
    font-weight: 800;
    line-height: 0.92;
}

h1 span {
    display: block;
}

.hero-copy {
    max-width: 660px;
    margin-bottom: 34px;
    color: var(--muted);
    font-size: 20px;
}

.hero-actions,
.contact-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 58px;
    padding: 18px 26px;
    border: 1px solid var(--line);
    border-radius: 0;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0;
    line-height: 1.2;
    text-transform: uppercase;
    transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.button::after {
    content: "\2192";
    margin-left: 14px;
    font-size: 16px;
    line-height: 1;
}

.button:hover {
    transform: translateY(-2px);
}

.button-primary {
    background: var(--white);
    color: var(--black);
    border-color: var(--white);
}

.button-ghost {
    background: rgba(255, 255, 255, 0.04);
    color: var(--white);
}

.button-ghost:hover {
    background: var(--white);
    color: var(--black);
    border-color: var(--white);
}

.hero-strip {
    position: absolute;
    right: clamp(22px, 5vw, 76px);
    bottom: 26px;
    left: clamp(22px, 5vw, 76px);
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1px;
    border: 1px solid var(--line);
    background: var(--line);
}

.hero-strip span {
    min-height: 66px;
    display: flex;
    align-items: center;
    padding: 18px 20px;
    background: rgba(0, 0, 0, 0.66);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0;
    text-transform: uppercase;
}

.section {
    width: min(var(--max), calc(100% - 44px));
    margin: 0 auto;
    padding: clamp(82px, 12vw, 142px) 0;
}

.intro {
    background: var(--black);
    padding-top: 32px;
}

.intro-grid {
    display: grid;
    grid-template-columns: minmax(0, 0.92fr) minmax(280px, 0.72fr);
    gap: clamp(38px, 8vw, 96px);
    align-items: start;
}

.section-number {
    margin-bottom: 24px;
    font-family: "Raleway", Arial, sans-serif;
    font-size: 86px;
    font-weight: 700;
    line-height: 0.8;
    color: transparent;
    -webkit-text-stroke: 1px rgba(255, 255, 255, 0.34);
}

.intro h2,
.section-heading h2,
.meta-content h2,
.cta h2 {
    margin-bottom: 0;
    font-size: 68px;
    font-weight: 800;
    line-height: 1.02;
}

.intro-copy {
    color: var(--muted);
    font-size: 18px;
}

.intro-copy p + p {
    margin-top: 24px;
}

.services {
    width: 100%;
    max-width: none;
    padding-left: max(22px, calc((100vw - var(--max)) / 2));
    padding-right: max(22px, calc((100vw - var(--max)) / 2));
    background: #f5f5f5;
    color: var(--black);
}

.services .section-number {
    -webkit-text-stroke-color: rgba(0, 0, 0, 0.24);
}

.section-heading {
    max-width: 760px;
    margin-bottom: clamp(40px, 7vw, 76px);
}

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

.service-card {
    min-height: 292px;
    padding: clamp(26px, 3vw, 38px);
    border-right: 1px solid var(--line-dark);
    border-bottom: 1px solid var(--line-dark);
    background: #f5f5f5;
    transition: background 0.2s ease, color 0.2s ease;
}

.service-card:hover {
    background: var(--black);
    color: var(--white);
}

.service-card span {
    display: block;
    margin-bottom: 38px;
    font-family: "Raleway", Arial, sans-serif;
    font-size: 34px;
    font-weight: 700;
    color: rgba(0, 0, 0, 0.28);
}

.service-card:hover span {
    color: rgba(255, 255, 255, 0.38);
}

.service-card h3 {
    margin-bottom: 16px;
    font-size: 24px;
    line-height: 1.15;
}

.service-card p {
    margin-bottom: 0;
    color: var(--muted-dark);
}

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

.meta-band {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(260px, 360px);
    gap: clamp(38px, 7vw, 92px);
    align-items: center;
    padding: clamp(82px, 12vw, 140px) max(22px, calc((100vw - var(--max)) / 2));
    background:
        linear-gradient(rgba(0, 0, 0, 0.78), rgba(0, 0, 0, 0.88)),
        url("../assets/img/project/limaxx-contact-reduit.jpg") center / cover;
}

.meta-content {
    max-width: 780px;
}

.meta-content p:last-child {
    max-width: 680px;
    margin-top: 28px;
    margin-bottom: 0;
    color: var(--muted);
    font-size: 18px;
}

.meta-badge {
    min-height: 360px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 34px;
    border: 1px solid var(--line);
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.96) 0%, rgba(255, 255, 255, 0.96) 76%, var(--meta-blue) 76%, var(--meta-blue) 100%);
    color: var(--black);
}

.meta-badge span {
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0;
    text-transform: uppercase;
}

.meta-badge strong {
    margin: 18px 0 24px;
    font-size: 62px;
    font-weight: 800;
    line-height: 0.9;
}

.meta-badge small {
    width: fit-content;
    padding-top: 20px;
    border-top: 1px solid var(--line-dark);
    color: var(--muted-dark);
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0;
    text-transform: uppercase;
}

.process {
    background: var(--black);
}

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

.process-list li {
    min-height: 260px;
    padding: 30px;
    background: var(--black-soft);
}

.process-list span {
    display: block;
    margin-bottom: 36px;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0;
    text-transform: uppercase;
}

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

.cta {
    padding: clamp(92px, 13vw, 160px) max(22px, calc((100vw - var(--max)) / 2));
    background: #f5f5f5;
    color: var(--black);
}

.cta-inner {
    max-width: 980px;
}

.cta .eyebrow {
    color: var(--black);
}

.cta h2 {
    margin-bottom: 34px;
}

.cta .button-primary {
    background: var(--black);
    color: var(--white);
    border-color: var(--black);
}

.cta .button-ghost {
    background: transparent;
    color: var(--black);
    border-color: var(--line-dark);
}

.cta .button-ghost:hover {
    background: var(--black);
    color: var(--white);
    border-color: var(--black);
}

.site-footer {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 34px;
    align-items: end;
    padding: 54px clamp(22px, 5vw, 76px);
    background: var(--black);
    color: var(--muted);
    border-top: 1px solid var(--line);
}

.site-footer img {
    width: 164px;
    margin-bottom: 18px;
}

.site-footer p {
    margin-bottom: 0;
}

.site-footer address {
    font-style: normal;
    text-align: right;
}

.site-footer a {
    color: var(--white);
}

@media (max-width: 980px) {
    .site-header {
        align-items: flex-start;
    }

    .main-nav {
        gap: 16px;
        font-size: 11px;
    }

    .hero {
        min-height: 88vh;
        padding-top: 132px;
        padding-bottom: 146px;
    }

    h1 {
        font-size: 82px;
    }

    .hero-strip,
    .service-grid,
    .process-list,
    .intro-grid,
    .meta-band {
        grid-template-columns: 1fr 1fr;
    }

    .meta-band {
        align-items: stretch;
    }
}

@media (max-width: 720px) {
    .site-header {
        position: absolute;
        flex-direction: column;
        gap: 18px;
        padding-top: 24px;
    }

    .brand img {
        width: 148px;
    }

    .main-nav {
        width: 100%;
        justify-content: flex-start;
        gap: 10px;
        flex-wrap: wrap;
        overflow-x: visible;
        padding-bottom: 4px;
    }

    .hero {
        display: block;
        min-height: auto;
        padding: 120px 22px 42px;
    }

    .hero-content,
    .hero-strip {
        width: 100%;
        max-width: 380px;
    }

    h1,
    .hero-copy {
        max-width: 380px;
    }

    h1 {
        font-size: 42px;
    }

    .hero-copy,
    .intro-copy,
    .meta-content p:last-child {
        font-size: 16px;
    }

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

    .button {
        width: 100%;
    }

    .hero-strip,
    .service-grid,
    .process-list,
    .intro-grid,
    .meta-band,
    .site-footer {
        grid-template-columns: 1fr;
    }

    .hero-strip {
        position: static;
        margin-top: 28px;
    }

    .hero-strip span {
        min-height: 44px;
    }

    .section {
        width: min(var(--max), calc(100% - 36px));
        padding: 74px 0;
    }

    .section-number {
        font-size: 66px;
    }

    .intro h2,
    .section-heading h2,
    .meta-content h2,
    .cta h2 {
        font-size: 42px;
    }

    .service-card,
    .process-list li {
        min-height: auto;
    }

    .meta-badge {
        min-height: 270px;
    }

    .site-footer address {
        text-align: left;
    }
}

@media (max-width: 420px) {
    .main-nav {
        font-size: 10px;
        letter-spacing: 0;
    }

    .hero-content,
    .hero-strip,
    h1,
    .hero-copy {
        max-width: 286px;
    }

    .hero {
        padding-top: 118px;
    }

    h1 {
        font-size: 36px;
    }

    .hero-strip span {
        padding: 14px;
        font-size: 10px;
    }
}
