:root {
    --bg: #0d0d0d;
    --panel: #141414;
    --text: #f5f1e8;
    --muted: #b9b3a6;
    --accent: #d6c7a1;
    --line: rgba(255, 255, 255, 0.08);
    --header-offset: 86px;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: Arial, Helvetica, sans-serif;
}

html {
    scroll-behavior: smooth;
}

body {
    background: var(--bg);
    color: var(--text);
    overflow-x: hidden;
}

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

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

.site-header {
    position: fixed;
    inset: 0 0 auto;
    z-index: 1000;
    border-bottom: 1px solid var(--line);
    background: rgba(10, 10, 10, 0.72);
    backdrop-filter: blur(10px);
}

.site-header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 18px 60px;
}

.brand {
    display: inline-flex;
    align-items: center;
    line-height: 0;
}

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

.site-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
}

.site-nav a {
    color: var(--muted);
    transition: color 0.3s ease;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
    color: var(--accent);
}

.page {
    padding-top: 0;
}

.hero {
    min-height: 100vh;
    display: grid;
    place-items: center;
    padding: calc(var(--header-offset) + 40px) 20px 80px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(rgba(0, 0, 0, 0.32), rgba(0, 0, 0, 0.65));
    z-index: 1;
}

.hero--image {
    background-position: center;
    background-size: 108%;
    animation: hero-zoom 16s ease-in-out infinite alternate;
}

@keyframes hero-zoom {
    from {
        background-size: 108%;
    }
    to {
        background-size: 100%;
    }
}

.hero__content {
    position: relative;
    z-index: 2;
    max-width: 860px;
}

.eyebrow {
    color: var(--accent);
    letter-spacing: 4px;
    text-transform: uppercase;
    font-size: 12px;
    margin-bottom: 18px;
}

.hero h1,
.section-title {
    letter-spacing: 4px;
    text-transform: uppercase;
}

.hero h1 {
    font-size: clamp(2.2rem, 6vw, 4.25rem);
    line-height: 1.05;
}

.hero p,
.lead,
.text-muted {
    color: var(--muted);
}

.hero p {
    margin: 20px auto 0;
    max-width: 680px;
    line-height: 1.8;
}

.actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    justify-content: center;
    margin-top: 32px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 28px;
    border: 1px solid var(--accent);
    background: transparent;
    color: var(--accent);
    transition: 0.3s ease;
}

.btn:hover {
    background: var(--accent);
    color: #000;
}

.btn--ghost {
    border-color: var(--line);
    color: var(--text);
}

.btn--ghost:hover {
    background: transparent;
    border-color: var(--accent);
    color: var(--accent);
}

.section {
    padding: 110px 80px;
}

.section + .section {
    border-top: 1px solid var(--line);
}

.section-title {
    font-size: clamp(1.5rem, 3vw, 2.1rem);
    margin-bottom: 18px;
}

.section-header {
    max-width: 760px;
    margin-bottom: 44px;
}

.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 24px;
}

.card {
    padding: 28px;
    border: 1px solid var(--line);
    background: var(--panel);
    transition:
        transform 0.25s ease,
        border-color 0.25s ease;
}

.card:hover {
    transform: translateY(-6px);
    border-color: var(--accent);
}

.card h3 {
    margin-bottom: 12px;
    font-size: 1.05rem;
}

.card p {
    color: var(--muted);
    line-height: 1.8;
}

.timeline {
    display: grid;
    gap: 26px;
    padding-left: 24px;
    border-left: 2px solid var(--accent);
}

.timeline-item {
    position: relative;
    padding-left: 18px;
}

.timeline-item::before {
    content: "";
    position: absolute;
    left: -33px;
    top: 8px;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: var(--accent);
}

.timeline-item h3 {
    margin-bottom: 8px;
    font-size: 1.1rem;
}

.timeline-item p {
    color: var(--muted);
    line-height: 1.8;
}

.team {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
}

.member {
    padding: 24px;
    border: 1px solid var(--line);
    background: var(--panel);
    text-align: center;
    transition:
        transform 0.25s ease,
        border-color 0.25s ease;
}

.member:hover {
    transform: translateY(-6px);
    border-color: var(--accent);
}

.portrait {
    width: min(100%, 360px);
    height: auto;
    max-height: 75vh;
    object-fit: contain;
    margin: 0 auto 18px;
}

.member__photo {
    display: grid;
    place-items: center;
    min-height: 320px;
    margin-bottom: 18px;
    border: 1px solid var(--line);
    background: #2b2b2b;
    color: var(--muted);
}

.member h3 {
    margin-bottom: 8px;
}

.member__role {
    color: var(--accent);
}

.prose {
    max-width: 980px;
    color: var(--muted);
    line-height: 1.9;
    font-size: 1.05rem;
}

.gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 22px;
}

.gallery--collage {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

.gallery--collage-3 {
    display: block;
    column-count: 3;
    column-gap: 10px;
}

.gallery-card {
    padding: 16px;
    border: 1px solid var(--line);
    background: var(--panel);
}

.gallery--collage .gallery-card {
    padding: 0;
    border: 0;
    background: transparent;
    line-height: 0;
}

.gallery-image {
    width: 100%;
    height: auto;
    max-height: 75vh;
    display: block;
    object-fit: contain;
    border: 1px solid var(--line);
    background: var(--bg);
    margin-bottom: 14px;
}

.gallery--collage .gallery-image {
    margin-bottom: 0;
}

.gallery--collage-3 .gallery-card {
    display: block;
    break-inside: avoid;
    margin-bottom: 10px;
    overflow: visible;
}

.gallery--collage-3 .gallery-image {
    width: 100%;
    height: auto;
    max-height: 75vh;
    object-fit: contain;
    border: 0;
}

.gallery--collage-3 .gallery-image--crop {
    aspect-ratio: 3 / 4;
    object-fit: cover;
    object-position: center;
}

.reference-showcase {
    display: grid;
    grid-template-columns: minmax(0, 2fr) minmax(260px, 1fr);
    gap: 24px;
    align-items: start;
}

.reference-showcase--single {
    grid-template-columns: minmax(0, 1fr);
}

.reference-stack {
    display: grid;
    gap: 14px;
}

.reference-frame {
    padding: 14px;
    border: 1px solid var(--line);
    background: var(--panel);
}

.reference-caption {
    text-align: center;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--accent);
}

.reference-card {
    padding: 14px;
    border: 1px solid var(--line);
    background: var(--panel);
}

.reference-image {
    width: 100%;
    height: auto;
    max-height: 75vh;
    object-fit: contain;
    display: block;
}

.placeholder {
    display: grid;
    place-items: center;
    min-height: 180px;
    margin-bottom: 14px;
    background: #2b2b2b;
    color: var(--muted);
}

.split {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 40px;
    align-items: start;
}

.feature {
    align-items: center;
}

.feature-split {
    justify-items: center;
}

.feature__media img {
    width: 100%;
    height: auto;
    max-height: 75vh;
    object-fit: contain;
    border: 1px solid var(--line);
    background: var(--panel);
}

.feature__media {
    width: min(100%, 420px);
}

.feature__text {
    display: grid;
    gap: 18px;
}

.feature--reverse .feature__media {
    order: 2;
}

.feature--reverse .feature__text {
    order: 1;
}

.stack {
    display: grid;
    gap: 18px;
}

.note {
    padding: 18px 20px;
    border: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.03);
}

.contact-grid {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 40px;
}

form {
    display: grid;
    gap: 18px;
}

input,
textarea {
    width: 100%;
    padding: 15px;
    border: 1px solid var(--line);
    background: var(--panel);
    color: var(--text);
}

textarea {
    min-height: 150px;
    resize: vertical;
}

.site-footer {
    padding: 34px 40px;
    border-top: 1px solid var(--line);
    text-align: center;
    color: var(--muted);
}

@media (max-width: 900px) {
    .site-header__inner,
    .section {
        padding-left: 20px;
        padding-right: 20px;
    }

    .split,
    .contact-grid {
        grid-template-columns: 1fr;
    }

    .feature__media {
        width: min(100%, 360px);
    }

    .feature--reverse .feature__media,
    .feature--reverse .feature__text {
        order: initial;
    }

    .timeline {
        padding-left: 18px;
    }

    .reference-showcase {
        grid-template-columns: 1fr;
    }

    .gallery--collage-3 {
        column-count: 2;
    }
}

@media (max-width: 620px) {
    .gallery--collage-3 {
        column-count: 1;
    }

    @media (prefers-reduced-motion: reduce) {
        .hero--image {
            animation: none;
            background-size: cover;
        }
    }
}
