/* =========================================================
   OFISTUDIO · HOME
========================================================= */


/* =========================================================
   HERO
========================================================= */

.hero {
    position: relative;
    min-height: calc(100svh - var(--header-height));
    display: flex;
    align-items: flex-end;
    overflow: hidden;
}

.hero-media {
    position: absolute;
    inset: 0;
}

.hero-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.hero-overlay {
    position: absolute;
    inset: 0;

    background:
        linear-gradient(
            90deg,
            rgba(0, 0, 0, 0.90) 0%,
            rgba(0, 0, 0, 0.68) 42%,
            rgba(0, 0, 0, 0.26) 78%,
            rgba(0, 0, 0, 0.16) 100%
        ),
        linear-gradient(
            0deg,
            #080808 0%,
            rgba(8, 8, 8, 0.82) 5%,
            transparent 42%
        );
}

.hero-content {
    position: relative;
    z-index: 2;

    padding:
        clamp(90px, 11vw, 145px)
        0
        clamp(55px, 7vw, 80px);
}

.hero h1 {
    max-width: 920px;
    margin: 0;

    font-size:
        clamp(56px, 8.5vw, 118px);

    line-height: 0.85;
    letter-spacing: -0.065em;
}

.hero h1 span {
    color: var(--accent);
}

.hero-description {
    max-width: 690px;

    margin:
        32px 0 0;

    color: #d0d0cb;

    font-size:
        clamp(18px, 2vw, 22px);

    line-height: 1.55;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;

    gap: 12px;

    margin-top: 32px;
}

.hero-meta {
    display: grid;

    grid-template-columns:
        repeat(4, max-content);

    gap:
        22px 38px;

    margin-top:
        clamp(45px, 7vw, 72px);

    color: #94948f;

    font-size: 12px;
}

.hero-meta span {
    display: flex;
    flex-direction: column;
}

.hero-meta strong {
    margin-bottom: 2px;

    color: #fff;

    font-size: 14px;
}


/* =========================================================
   INTRO
========================================================= */

.intro-section {
    background: #0b0b0b;
}

.intro-layout {
    display: grid;

    grid-template-columns:
        1.15fr 0.85fr;

    gap:
        clamp(50px, 9vw, 120px);

    align-items: start;
}

.intro-section h2,
.section-heading h2,
.feature-band h2,
.skalata-content h2,
.location-section h2,
.faq-intro h2,
.cta h2 {
    margin: 0;

    font-size:
        clamp(43px, 6vw, 80px);

    line-height: 0.97;

    letter-spacing: -0.055em;
}

.intro-copy p:not(.lead) {
    color: var(--muted);
}

.intro-copy p:last-child {
    margin-bottom: 0;
}


/* =========================================================
   SECTION HEADINGS
========================================================= */

.section-heading {
    display: grid;

    grid-template-columns:
        1.2fr 0.8fr;

    gap: 70px;

    align-items: end;

    margin-bottom:
        clamp(38px, 6vw, 65px);
}

.section-heading > p {
    max-width: 480px;

    margin:
        0 0 7px;

    color: var(--muted);

    font-size: 18px;
}


/* =========================================================
   SPACES
========================================================= */

.spaces-section {
    background: var(--bg);
}

.split-cards {
    display: grid;

    grid-template-columns:
        repeat(2, minmax(0, 1fr));

    gap: 20px;
}

.space-card {
    overflow: hidden;

    border-radius: var(--radius-lg);
}

.light-card {
    background: var(--light);
    color: #111;
}

.dark-card {
    background: #141414;

    border:
        1px solid var(--line);
}

.space-card-media {
    height:
        clamp(340px, 40vw, 500px);

    overflow: hidden;
}

.space-card-media img {
    width: 100%;
    height: 100%;

    object-fit: cover;

    transition:
        transform 600ms ease;
}

.space-card:hover .space-card-media img {
    transform: scale(1.025);
}

.space-card-body {
    padding:
        clamp(28px, 4vw, 42px);
}

.card-number {
    float: right;

    color: currentColor;

    font-size: 12px;

    opacity: 0.45;
}

.space-card h3 {
    margin:
        8px 0 18px;

    max-width: 520px;

    font-size:
        clamp(31px, 4vw, 41px);

    line-height: 1.02;

    letter-spacing: -0.04em;
}

.space-card p {
    max-width: 560px;

    color: #62625e;
}

.dark-card p {
    color: #aaa9a3;
}

.mini-features {
    display: flex;
    flex-wrap: wrap;

    gap: 7px;

    margin:
        26px 0 4px;
}

.mini-features span {
    padding:
        7px 11px;

    border:
        1px solid
        rgba(0, 0, 0, 0.12);

    border-radius: 999px;

    font-size: 11px;
    font-weight: 700;
}

.dark-card .mini-features span {
    border-color: var(--line);

    color: #aaa9a3;
}

.text-link {
    display: inline-flex;
    align-items: center;

    gap: 7px;

    margin-top: 25px;

    font-weight: 800;

    transition:
        gap var(--transition),
        color var(--transition);
}

.text-link:hover {
    gap: 12px;

    color: var(--accent);
}

.light-card .text-link:hover {
    color: #586b00;
}


/* =========================================================
   FEATURE DJ
========================================================= */

.feature-band {
    background: #f0eee8;
    color: #101010;
}

.feature-band .section-kicker {
    color: #5e6800;
}

.feature-band-head {
    display: grid;

    grid-template-columns:
        1.25fr 0.75fr;

    gap:
        clamp(45px, 8vw, 100px);

    align-items: end;
}

.feature-band-head p {
    color: #595954;

    font-size: 18px;
}

.dark-link:hover {
    color: #697b00;
}

.feature-image {
    height:
        clamp(420px, 58vw, 680px);

    margin-top:
        clamp(40px, 7vw, 65px);

    overflow: hidden;

    border-radius: var(--radius-lg);
}

.feature-image img {
    width: 100%;
    height: 100%;

    object-fit: cover;
}

.spec-grid {
    display: grid;

    grid-template-columns:
        repeat(4, 1fr);

    margin-top: 34px;

    border-top:
        1px solid #bab8b1;
}

.spec-grid div {
    padding:
        25px 16px
        0 0;
}

.spec-grid strong,
.spec-grid span {
    display: block;
}

.spec-grid strong {
    font-size: 15px;
}

.spec-grid span {
    margin-top: 4px;

    color: #70706b;

    font-size: 13px;
}


/* =========================================================
   USE CASES
========================================================= */

.uses-section {
    background: #080808;
}

.use-grid {
    display: grid;

    grid-template-columns:
        repeat(3, minmax(0, 1fr));

    gap: 1px;

    overflow: hidden;

    background:
        var(--line);

    border:
        1px solid var(--line);

    border-radius:
        var(--radius-lg);
}

.use-grid article {
    min-height: 285px;

    padding:
        clamp(28px, 4vw, 42px);

    background: var(--bg);
}

.use-grid article > span {
    color: var(--accent);

    font-size: 11px;
    font-weight: 800;

    letter-spacing: 0.08em;
}

.use-grid h3 {
    margin:
        55px 0 13px;

    font-size:
        clamp(23px, 3vw, 29px);

    line-height: 1.05;

    letter-spacing: -0.025em;
}

.use-grid p {
    max-width: 330px;

    margin-bottom: 0;

    color: var(--muted);
}


/* =========================================================
   DJ SKALATA
========================================================= */

.skalata-section {
    background: #101010;
}

.skalata-grid {
    display: grid;

    grid-template-columns:
        1fr 1fr;

    gap:
        clamp(45px, 8vw, 100px);

    align-items: center;
}

.skalata-media {
    min-height: 680px;

    overflow: hidden;

    border-radius: var(--radius-lg);
}

.skalata-media img {
    width: 100%;
    height: 100%;

    min-height: 680px;

    object-fit: cover;
}

.skalata-content h2 {
    margin-bottom: 30px;
}

.skalata-content > p:not(.lead) {
    color: var(--muted);
}

.skalata-services {
    display: grid;

    grid-template-columns:
        repeat(2, minmax(0, 1fr));

    gap: 1px;

    margin:
        34px 0 25px;

    background:
        var(--line);

    border:
        1px solid var(--line);

    border-radius:
        var(--radius-md);

    overflow: hidden;
}

.skalata-services > div {
    min-height: 120px;

    padding: 22px;

    background: #101010;
}

.skalata-services strong,
.skalata-services span {
    display: block;
}

.skalata-services strong {
    font-size: 14px;
}

.skalata-services span {
    margin-top: 7px;

    color: var(--muted);

    font-size: 12px;
}

.small-note {
    font-size: 12px;
}


/* =========================================================
   GALLERY
========================================================= */

.gallery-preview {
    background: var(--bg);
}

.gallery-heading {
    align-items: end;
}

.gallery-heading .text-link {
    justify-self: end;
}

.gallery-mosaic {
    display: grid;

    grid-template-columns:
        1.2fr 0.8fr;

    grid-template-rows:
        320px 320px;

    gap: 12px;
}

.gallery-mosaic figure {
    margin: 0;

    overflow: hidden;

    border-radius: var(--radius-md);
}

.gallery-mosaic .gallery-main {
    grid-row:
        1 / 3;
}

.gallery-mosaic img {
    width: 100%;
    height: 100%;

    object-fit: cover;

    transition:
        transform 600ms ease;
}

.gallery-mosaic figure:hover img {
    transform: scale(1.025);
}


/* =========================================================
   LOCATION
========================================================= */

.location-section {
    background: #101010;
}

.location-grid {
    display: grid;

    grid-template-columns:
        1.1fr 0.9fr;

    gap:
        clamp(50px, 9vw, 120px);

    align-items: start;
}

.location-copy > p:not(.lead) {
    color: var(--muted);
}


/* =========================================================
   FAQ
========================================================= */

.faq-section {
    background: #0b0b0b;
}

.faq-layout {
    display: grid;

    grid-template-columns:
        0.75fr 1.25fr;

    gap:
        clamp(50px, 10vw, 130px);

    align-items: start;
}

.faq-intro {
    position: sticky;

    top:
        calc(var(--header-height) + 40px);
}

.faq-intro p {
    max-width: 390px;

    margin-top: 25px;

    color: var(--muted);
}

.faq-list {
    border-top:
        1px solid var(--line);
}

.faq-list details {
    border-bottom:
        1px solid var(--line);
}

.faq-list summary {
    position: relative;

    padding:
        27px 50px
        27px 0;

    cursor: pointer;

    list-style: none;

    font-size:
        clamp(18px, 2vw, 22px);

    font-weight: 700;

    line-height: 1.3;
}

.faq-list summary::-webkit-details-marker {
    display: none;
}

.faq-list summary::after {
    content: "+";

    position: absolute;

    top: 50%;
    right: 5px;

    color: var(--accent);

    font-size: 26px;
    font-weight: 400;

    transform: translateY(-50%);
}

.faq-list details[open] summary::after {
    content: "−";
}

.faq-list details p {
    max-width: 700px;

    padding:
        0 45px
        26px 0;

    color: var(--muted);
}


/* =========================================================
   CTA
========================================================= */

.cta {
    background: var(--accent);
    color: #0c0c0c;
}

.cta-inner {
    display: flex;

    align-items: flex-end;
    justify-content: space-between;

    gap: 60px;
}

.cta-kicker {
    color: #111;
}

.cta h2 {
    color: #0b0b0b;
}

.cta p {
    max-width: 600px;

    margin:
        24px 0 0;

    color: #363a20;

    font-size: 17px;
}

.cta-actions {
    min-width: 260px;

    display: flex;
    flex-direction: column;

    gap: 16px;

    align-items: stretch;
}

.cta-primary {
    background: #0c0c0c;
    color: #fff;

    border-color: #0c0c0c;
}

.cta-primary:hover {
    background: #1b1b1b;

    border-color: #1b1b1b;
}

.cta-contact {
    text-align: center;

    font-size: 13px;
    font-weight: 800;
}


/* =========================================================
   RESPONSIVE
========================================================= */

@media (max-width: 950px) {

    .hero-meta {
        grid-template-columns:
            repeat(2, max-content);
    }

    .intro-layout,
    .section-heading,
    .feature-band-head,
    .skalata-grid,
    .location-grid,
    .faq-layout {
        grid-template-columns: 1fr;
    }

    .section-heading {
        gap: 25px;
    }

    .split-cards {
        grid-template-columns: 1fr;
    }

    .use-grid {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }

    .skalata-media,
    .skalata-media img {
        min-height: 520px;
    }

    .faq-intro {
        position: static;
    }

}


@media (max-width: 700px) {

    .hero {
        min-height: 760px;
    }

    .hero-overlay {
        background:
            linear-gradient(
                0deg,
                #080808 0%,
                rgba(8, 8, 8, 0.78) 24%,
                rgba(0, 0, 0, 0.43) 65%,
                rgba(0, 0, 0, 0.30) 100%
            ),
            linear-gradient(
                90deg,
                rgba(0, 0, 0, 0.56),
                rgba(0, 0, 0, 0.12)
            );
    }

    .hero h1 {
        font-size:
            clamp(54px, 17vw, 80px);
    }

    .hero-meta {
        grid-template-columns:
            repeat(2, 1fr);

        gap: 22px;
    }

    .space-card-media {
        height: 340px;
    }

    .feature-image {
        height: 440px;
    }

    .spec-grid {
        grid-template-columns:
            repeat(2, 1fr);
    }

    .use-grid {
        grid-template-columns: 1fr;
    }

    .use-grid article {
        min-height: 230px;
    }

    .use-grid h3 {
        margin-top: 38px;
    }

    .skalata-services {
        grid-template-columns: 1fr;
    }

    .gallery-heading .text-link {
        justify-self: start;
    }

    .gallery-mosaic {
        grid-template-columns: 1fr;
        grid-template-rows: none;
    }

    .gallery-mosaic .gallery-main {
        grid-row: auto;
    }

    .gallery-mosaic figure {
        height: 330px;
    }

    .cta-inner {
        align-items: flex-start;

        flex-direction: column;
    }

    .cta-actions {
        width: 100%;
    }

}


@media (max-width: 480px) {

    .hero {
        min-height: 720px;
    }

    .hero-actions {
        flex-direction: column;
    }

    .hero-actions .btn {
        width: 100%;
    }

    .hero-meta {
        font-size: 11px;
    }

    .spec-grid div {
        padding-top: 20px;
    }

    .gallery-mosaic figure {
        height: 290px;
    }

}