/* services.css — moved from site.css */
.page-services {
    --scale: min(1, 100vw / 772px);
    padding-bottom: 4rem;
    background: #000;
}
.svc-grid {
    width: min(var(--max), calc(100% - (var(--gutter) * 2)));
    margin-inline: auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    align-items: start;
}
.svc {
    position: relative;
    width: 100%;
    aspect-ratio: 568 / 600;
    border-radius: 25px;
    box-shadow: var(--frame-shadow);
    color: #fff;
    background: #000;
    transform-origin: 50% 50%;
    transition: transform 280ms cubic-bezier(.2,.8,.2,1), box-shadow 280ms ease;
}
.svc-clip {
    position: absolute;
    inset: 0;
    border-radius: 25px;
    clip-path: inset(0 round 25px);
    container-type: inline-size;
}
.svc-sheen-well {
    position: absolute;
    inset: 0;
    z-index: 4;
    border-radius: 25px;
    pointer-events: none;
}
.svc-media {
    position: absolute;
    inset: 0;
    z-index: 0;
}
.svc-visual {
    position: absolute;
    inset: 0;
    background-image: var(--svc-bg);
    background-size: auto 100%;
    background-position: center;
    background-repeat: no-repeat;
}
.svc-glass {
    position: absolute;
    inset: 0;
    z-index: 1;
    box-sizing: border-box;
    border: 0;
    background: linear-gradient(0deg, rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(50px);
    -webkit-backdrop-filter: blur(50px);
}
html.contact-open .svc,
html.viewer-open .svc { overflow: hidden; }
html.contact-open .svc-clip,
html.viewer-open .svc-clip { clip-path: none; }
html.contact-open .svc-glass,
html.viewer-open .svc-glass {
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
}
.svc-floor { display: none; }
.svc-hero {
    position: absolute;
    z-index: 3;
    left: 50%;
    top: -5%;
    width: calc(530 / 568 * 100%);
    height: calc(500 / 600 * 100%);
    transform: translateX(-50%);
    object-fit: contain;
    object-position: center;
    pointer-events: none;
}
.svc-copy {
    position: absolute;
    z-index: 5;
    left: calc(48 / 568 * 100%);
    right: calc(48 / 568 * 100%);
    bottom: calc(28 / 600 * 100%);
}
.svc-kicker {
    margin: 0 0 0.45rem;
    font-size: 2.2cqi;
    font-weight: 500;
    letter-spacing: 0.308cqi;
    line-height: 1.28;
    text-transform: uppercase;
    color: #fff;
    opacity: 0.45;
}
.svc-copy h2 {
    margin: 0 0 0.7rem;
    font-size: 4.085cqi;
    font-weight: 500;
    letter-spacing: -0.03em;
    line-height: 1.25;
    color: #fff;
}
.svc-body {
    margin: 0;
    font-size: 2.817cqi;
    font-weight: 400;
    line-height: 1.5315;
    opacity: 0.7;
}

@media (max-width: 899px) {
    .page-services { padding-top: 0; }
    .svc-grid {
        display: flex;
        flex-direction: column;
        width: 100%;
        gap: 0;
    }
    .svc {
        aspect-ratio: auto;
        height: auto;
        display: flex;
        flex-direction: column;
        border: 0;
        border-radius: 0;
        overflow: visible;
        box-shadow: none;
        background: #000;
        transition: none;
    }
    .svc:hover {
        transform: none;
        box-shadow: none;
    }
    .svc-clip {
        position: relative;
        inset: auto;
        border-radius: 0;
        clip-path: none;
        display: flex;
        flex-direction: column;
    }
    .svc .frame-stroke,
    .svc-sheen-well,
    .svc .sheen,
    .svc .spot { display: none; }
    .svc-media {
        position: relative;
        inset: auto;
        height: calc(520px * var(--scale));
        flex: none;
        background: #000;
    }
    .svc.is-first .svc-media {
        height: calc(520px * var(--scale) + var(--nav-h));
    }
    .svc-visual {
        top: 0;
        bottom: auto;
        height: calc(395px * var(--scale));
        background-size: auto 100%;
        background-position: center top;
    }
    .svc.is-first .svc-visual {
        height: calc(395px * var(--scale) + var(--nav-h));
    }
    .svc-glass { display: none; }
    .svc-floor {
        display: block;
        position: absolute;
        left: 0;
        right: 0;
        bottom: 0;
        z-index: 1;
        height: calc(130px * var(--scale));
        background: #000;
        pointer-events: none;
    }
    .svc-floor::after {
        content: "";
        position: absolute;
        inset: 0;
        background: radial-gradient(80% 150% at 50% -38.08%, #fff 0%, rgba(255, 255, 255, 0) 100%);
        opacity: 0.3;
    }
    .svc-hero {
        left: 50%;
        top: auto;
        bottom: 0;
        transform: translateX(-50%);
        width: calc(772px * var(--scale));
        height: calc(600px * var(--scale));
        object-position: bottom center;
    }
    .svc-copy {
        position: relative;
        left: auto;
        right: auto;
        bottom: auto;
        width: min(var(--max), calc(100% - (var(--gutter) * 2)));
        margin-inline: auto;
        padding: 0 0 2.5rem;
    }
    .svc-copy h2 { font-size: 22px; }
    .svc-kicker { font-size: 12px; letter-spacing: 1.6px; }
    .svc-body { font-size: 15px; opacity: 0.5; }
}
