:root{
    --home-bg:#202020;
    --home-panel:#292929;
    --home-ink:#f3f1eb;
    --home-muted:#b9b7b1;
    --home-line:rgba(255,255,255,.12);
    --home-accent:#ff2b91;
}

body.public-home{
    margin:0;
    background:var(--home-bg);
    color:var(--home-ink);
}

.home-nav{
    position:sticky;
    top:0;
    z-index:20;
    display:flex;
    align-items:center;
    justify-content:space-between;
    min-height:72px;
    padding:0 max(24px,calc((100vw - 1440px)/2));
    border-bottom:1px solid var(--home-line);
    background:rgba(32,32,32,.9);
    backdrop-filter:blur(18px);
}

.home-brand{
    color:var(--home-ink);
    text-decoration:none;
    font-size:24px;
    font-weight:900;
    letter-spacing:-.055em;
}

.home-nav-links{
    display:flex;
    gap:24px;
}

.home-nav-links a{
    color:var(--home-muted);
    text-decoration:none;
    font-weight:700;
}

.home-nav-links a:hover{
    color:var(--home-ink);
}

.home-hero{
    display:grid;
    grid-template-columns:minmax(0,1.05fr) minmax(360px,.95fr);
    gap:64px;
    align-items:end;
    width:min(1440px,calc(100% - 56px));
    min-height:720px;
    margin:auto;
    padding:92px 0 80px;
}

.home-hero-copy{
    padding-bottom:24px;
}

.home-kicker{
    margin:0 0 18px;
    color:var(--home-accent);
    font-size:12px;
    font-weight:900;
    letter-spacing:.16em;
    text-transform:uppercase;
}

.home-hero h1{
    max-width:820px;
    margin:0;
    font-size:clamp(62px,8vw,128px);
    line-height:.84;
    letter-spacing:-.075em;
    text-transform:uppercase;
}

.home-intro{
    max-width:690px;
    margin:34px 0 0;
    color:var(--home-muted);
    font-size:clamp(18px,2vw,26px);
    line-height:1.45;
}

.home-cta{
    display:inline-flex;
    margin-top:34px;
    padding:0 0 7px;
    border-bottom:3px solid var(--home-accent);
    color:var(--home-accent);
    text-decoration:none;
    font-size:15px;
    font-weight:900;
    letter-spacing:.08em;
    text-transform:uppercase;
}

.home-featured{
    position:relative;
    display:block;
    min-height:570px;
    overflow:hidden;
    background:#151515;
    color:#fff;
    text-decoration:none;
}

.home-featured img{
    display:block;
    width:100%;
    height:570px;
    object-fit:cover;
    filter:saturate(.9) contrast(1.04);
    transition:transform .5s ease;
}

.home-featured:hover img{
    transform:scale(1.025);
}

.home-featured:after{
    content:"";
    position:absolute;
    inset:45% 0 0;
    background:linear-gradient(transparent,rgba(0,0,0,.78));
}

.home-featured-label,
.home-featured-title{
    position:absolute;
    z-index:2;
    left:26px;
}

.home-featured-label{
    bottom:68px;
    color:#ddd;
    font-size:11px;
    font-weight:800;
    letter-spacing:.12em;
    text-transform:uppercase;
}

.home-featured-title{
    right:26px;
    bottom:22px;
    font-size:29px;
    font-weight:900;
    letter-spacing:-.04em;
}

.home-featured-empty{
    display:grid;
    place-items:center;
    background:linear-gradient(145deg,#393939,#111);
    color:#777;
    font-size:64px;
    font-weight:900;
    letter-spacing:-.06em;
}

.home-gallery-section{
    width:min(1440px,calc(100% - 56px));
    margin:auto;
    padding:86px 0 120px;
    border-top:1px solid var(--home-line);
}

.home-section-header{
    display:flex;
    align-items:end;
    justify-content:space-between;
    gap:32px;
    margin-bottom:38px;
}

.home-section-header h2{
    margin:0;
    font-size:clamp(48px,7vw,92px);
    line-height:.9;
    letter-spacing:-.065em;
    text-transform:uppercase;
}

.home-section-header>p{
    max-width:430px;
    margin:0;
    color:var(--home-muted);
    font-size:18px;
}

.home-gallery-grid{
    display:grid;
    grid-template-columns:repeat(3,minmax(0,1fr));
    gap:34px 24px;
}

.home-gallery-card{
    min-width:0;
}

.home-gallery-card>a{
    display:block;
    color:inherit;
    text-decoration:none;
}

.home-gallery-thumb{
    display:grid;
    place-items:center;
    width:100%;
    aspect-ratio:1/1;
    overflow:hidden;
    background:#111;
}

.home-gallery-thumb img{
    display:block;
    width:100%;
    height:100%;
    object-fit:contain;
    transition:transform .35s ease,filter .35s ease;
}

.home-gallery-card:hover .home-gallery-thumb img{
    transform:scale(1.018);
    filter:brightness(1.04);
}

.home-gallery-placeholder{
    display:grid;
    place-items:center;
    width:100%;
    height:100%;
    background:linear-gradient(145deg,#343434,#151515);
    color:#696969;
    font-size:34px;
    font-weight:900;
    letter-spacing:-.05em;
}

.home-gallery-copy{
    display:grid;
    grid-template-columns:minmax(0,1fr) auto;
    gap:18px;
    align-items:start;
    padding-top:15px;
}

.home-gallery-copy h3{
    margin:0;
    font-size:22px;
    line-height:1.05;
    letter-spacing:-.035em;
}

.home-gallery-copy p{
    margin:7px 0 0;
    color:var(--home-muted);
}

.home-gallery-meta{
    display:grid;
    gap:4px;
    color:#8f8d88;
    font-size:12px;
    text-align:right;
    white-space:nowrap;
}

.home-empty{
    padding:64px 28px;
    border:1px solid var(--home-line);
    background:var(--home-panel);
    text-align:center;
}

.home-empty h3{
    margin:0 0 8px;
    font-size:28px;
}

.home-empty p{
    margin:0;
    color:var(--home-muted);
}

.home-footer{
    display:grid;
    grid-template-columns:1fr auto auto;
    gap:24px;
    align-items:center;
    padding:34px max(24px,calc((100vw - 1440px)/2));
    border-top:1px solid var(--home-line);
    color:var(--home-muted);
}

.home-footer p{
    margin:0;
}

@media(max-width:1050px){
    .home-hero{
        grid-template-columns:1fr;
        min-height:auto;
    }
    .home-featured{
        min-height:480px;
    }
    .home-featured img{
        height:480px;
    }
    .home-gallery-grid{
        grid-template-columns:repeat(2,minmax(0,1fr));
    }
}

@media(max-width:680px){
    .home-nav{
        min-height:62px;
        padding:0 16px;
    }
    .home-nav-links a:first-child{
        display:none;
    }
    .home-hero,
    .home-gallery-section{
        width:min(100% - 28px,1440px);
    }
    .home-hero{
        gap:36px;
        padding:56px 0 58px;
    }
    .home-hero h1{
        font-size:52px;
    }
    .home-featured,
    .home-featured img{
        min-height:340px;
        height:340px;
    }
    .home-section-header{
        align-items:start;
        flex-direction:column;
    }
    .home-gallery-grid{
        grid-template-columns:1fr;
        gap:34px;
    }
    .home-gallery-copy{
        grid-template-columns:1fr;
    }
    .home-gallery-meta{
        display:flex;
        gap:12px;
        text-align:left;
    }
    .home-footer{
        grid-template-columns:1fr;
        align-items:start;
    }
}
