.client-gallery-shell,
.client-embed {
    min-height: 100vh;
    background: #0d0d0f;
    color: #f7f3eb;
    font-family: Montserrat, Arial, sans-serif;
}

.client-gallery-hero {
    position: relative;
    min-height: 56vh;
    display: grid;
    align-items: end;
    overflow: hidden;
}

.client-gallery-hero img,
.client-embed-cover img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: .58;
}

.client-gallery-hero__copy,
.client-embed-cover div {
    position: relative;
    padding: clamp(32px, 7vw, 96px);
    max-width: 920px;
}

.client-gallery-hero__copy span,
.client-embed-cover span,
.client-gallery-toolbar span,
.client-gallery-card span {
    color: var(--gallery-accent, #d6b25e);
    text-transform: uppercase;
    letter-spacing: .08em;
    font-size: .75rem;
    font-weight: 700;
}

.client-gallery-hero h1,
.client-embed-cover h1 {
    margin: 10px 0;
    font-size: clamp(2.3rem, 6vw, 5.8rem);
    line-height: 1;
}

.client-gallery-access,
.client-gallery-toolbar,
.client-gallery-grid,
.client-gallery-receipt,
.client-gallery-empty {
    width: min(1120px, calc(100% - 32px));
    margin: 32px auto;
}

.client-gallery-access {
    display: grid;
    gap: 14px;
    max-width: 540px;
    padding: 28px;
    border: 1px solid rgba(255, 255, 255, .16);
    border-radius: 8px;
    background: #171719;
}

.client-gallery-access input {
    min-height: 46px;
    padding: 0 14px;
    border: 1px solid rgba(255, 255, 255, .16);
    border-radius: 4px;
    background: #0f0f11;
    color: #fff;
}

.client-gallery-access button,
.client-gallery-toolbar button,
.client-gallery-card button,
.client-embed-cover a {
    display: inline-flex;
    min-height: 42px;
    align-items: center;
    justify-content: center;
    padding: 0 18px;
    border: 0;
    border-radius: 4px;
    background: var(--gallery-accent, #d6b25e);
    color: #111;
    font-weight: 800;
    text-decoration: none;
}

.client-gallery-error {
    color: #ffb3b3;
}

.client-gallery-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
}

.client-gallery-toolbar h2 {
    margin: 4px 0 0;
}

.client-gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 18px;
    padding-bottom: 48px;
}

.client-gallery-card {
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, .14);
    border-radius: 8px;
    background: #171719;
}

.client-gallery-card img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
}

.client-gallery-card div {
    display: grid;
    gap: 8px;
    padding: 16px;
}

.client-gallery-card h3,
.client-gallery-card p {
    margin: 0;
}

.client-gallery-card p {
    color: #cfc7bc;
    font-size: .92rem;
}

.client-gallery-card button.is-favorite {
    background: #f7f3eb;
}

.client-embed-cover {
    position: relative;
    min-height: 62vh;
    display: grid;
    align-items: end;
    overflow: hidden;
}

.client-embed-strip {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
}

.client-embed-strip img {
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
}

@media (max-width: 720px) {
    .client-gallery-toolbar,
    .client-embed-strip {
        grid-template-columns: repeat(2, 1fr);
        display: grid;
    }

    .client-gallery-toolbar button {
        width: 100%;
    }
}
