:root {
    --bg-0: #0f1318;
    --bg-1: #171f28;
    --panel: #1f2833;
    --panel-soft: #263342;
    --line: rgba(184, 195, 206, 0.24);
    --line-strong: rgba(184, 195, 206, 0.38);
    --text-0: #f1f4f7;
    --text-1: #bac4cf;
    --accent: #d3a862;
    --accent-strong: #e3b66b;
    --container-max: 1160px;
    --radius-md: 14px;
    --radius-lg: 18px;
    --space-section: clamp(44px, 6vw, 68px);
    --focus-ring: 0 0 0 3px rgba(211, 168, 98, 0.34);
    --font-body: "Avenir Next", Avenir, "Segoe UI", sans-serif;
    --font-display: "Avenir Next", Avenir, "Segoe UI", sans-serif;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

body {
    margin: 0;
    color: var(--text-0);
    font-family: var(--font-body);
    line-height: 1.65;
    background:
        radial-gradient(circle at 12% 8%, rgba(58, 72, 94, 0.28), transparent 35%),
        radial-gradient(circle at 88% 20%, rgba(42, 53, 67, 0.34), transparent 35%),
        linear-gradient(175deg, var(--bg-1) 0%, var(--bg-0) 58%);
    min-height: 100vh;
}

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

.container {
    width: min(var(--container-max), 92vw);
    margin: 0 auto;
}

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    border: 0;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
}

.fade-in {
    animation: pageFade 0.45s ease-out both;
}

@keyframes pageFade {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.reveal {
    opacity: 0;
    transform: translateY(16px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.navbar {
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid var(--line);
    background: rgba(16, 20, 25, 0.82);
    backdrop-filter: blur(8px);
}

@media (max-width: 900px) {
    .navbar {
        backdrop-filter: none;
        background: rgba(16, 20, 25, 0.95);
    }
}

.nav-container {
    min-height: 78px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.logo a {
    font-family: var(--font-display);
    font-size: clamp(1.16rem, 2vw, 1.46rem);
    letter-spacing: 0.03em;
    font-weight: 600;
}

.nav-links {
    display: flex;
    flex-wrap: wrap;
    gap: clamp(12px, 1.7vw, 22px);
}

.nav-links a {
    color: var(--text-1);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-size: 0.77rem;
    font-weight: 600;
    transition: color 0.22s ease;
}

.nav-links a:hover {
    color: var(--text-0);
}

.nav-links a.active {
    color: var(--accent);
}

.hero {
    position: relative;
    min-height: clamp(255px, 42vh, 432px);
    display: flex;
    align-items: end;
    overflow: hidden;
    border-bottom: 1px solid var(--line);
}

.hero-backdrop {
    position: absolute;
    inset: 0;
}

.hero-backdrop::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, rgba(10, 14, 19, 0.34) 18%, rgba(10, 14, 19, 0.84) 80%),
        linear-gradient(90deg, rgba(10, 14, 19, 0.62) 6%, rgba(10, 14, 19, 0.2) 55%);
}

.hero-backdrop img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.hero-backdrop .hero-rotator-slot {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 0.85s ease;
}

.hero-backdrop .hero-rotator-slot.is-visible {
    opacity: 1;
}

.hero-layout {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 800px;
    padding: clamp(54px, 8vw, 96px) 0 clamp(34px, 5vw, 52px);
}

.eyebrow {
    margin: 0 0 9px;
    color: #e1b574;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    font-size: 0.75rem;
    font-weight: 700;
}

.hero-copy h2 {
    margin: 0;
    font-family: var(--font-display);
    font-size: clamp(2rem, 4.3vw, 3.08rem);
    line-height: 1.08;
    text-wrap: balance;
    font-weight: 600;
}

.lead {
    margin: 16px 0 0;
    color: var(--text-1);
    max-width: 58ch;
    font-size: clamp(1rem, 1.3vw, 1.08rem);
    line-height: 1.68;
}

.hero-actions {
    margin-top: 24px;
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.btn {
    display: inline-block;
    border-radius: 999px;
    padding: 11px 18px;
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.btn:hover {
    transform: translateY(-1px);
}

.btn-primary {
    color: #1e2022;
    background: linear-gradient(120deg, var(--accent), var(--accent-strong));
}

.btn-ghost {
    border: 1px solid var(--line);
    color: var(--text-0);
    background: rgba(30, 38, 48, 0.65);
}

.signature {
    margin: 18px 0 0;
    color: #a8b3bf;
    font-size: 0.92rem;
}

.collections {
    padding: var(--space-section) 0;
}

.section-head {
    margin-bottom: 24px;
}

.section-head h2 {
    margin: 0;
    font-family: var(--font-display);
    font-size: clamp(1.45rem, 3vw, 2.06rem);
    line-height: 1.18;
    font-weight: 600;
}

.collection-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.collection-card {
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: linear-gradient(180deg, var(--panel-soft), var(--panel));
    box-shadow: 0 14px 28px rgba(0, 0, 0, 0.24);
    transition: border-color 0.24s ease, transform 0.24s ease, box-shadow 0.24s ease;
}

.collection-card:hover {
    border-color: rgba(211, 168, 98, 0.66);
    transform: translateY(-3px);
    box-shadow: 0 18px 30px rgba(0, 0, 0, 0.28);
}

.collection-card img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    display: block;
}

.card-content {
    padding: 16px 16px 17px;
}

.card-label {
    margin: 0;
    color: #e7bf81;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-size: 0.73rem;
    font-weight: 700;
}

.card-content h3 {
    margin: 8px 0 9px;
    font-size: 1.08rem;
    line-height: 1.28;
}

.card-content p {
    margin: 0;
    color: var(--text-1);
    font-size: 0.93rem;
    line-height: 1.56;
}

.about-note {
    padding: 0 0 calc(var(--space-section) + 6px);
}

.about-layout {
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    padding: 18px;
    background: rgba(25, 33, 42, 0.58);
    display: grid;
    grid-template-columns: 100px 1fr;
    gap: 18px;
    align-items: center;
}

.about-layout img {
    width: 100px;
    height: 100px;
    border-radius: 999px;
    object-fit: cover;
    border: 2px solid var(--line-strong);
}

.about-layout p {
    margin: 0;
    color: var(--text-1);
    line-height: 1.62;
}

.bio-signoff {
    display: block;
    margin-top: 12px;
    color: #d9e2ec;
    font-weight: 600;
}

footer {
    border-top: 1px solid var(--line);
    text-align: center;
    color: #9ca9b7;
    padding: 22px 0 26px;
    font-size: 0.84rem;
}

code {
    color: #efcb95;
}

.contact-modal {
    position: fixed;
    inset: 0;
    z-index: 5000;
    display: none;
    background: rgba(8, 12, 17, 0.75);
}

.contact-modal.active {
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-modal-content {
    position: relative;
    width: min(510px, 92vw);
    background: linear-gradient(180deg, #273445, #1a2531);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    padding: 26px;
}

.contact-modal-content h2 {
    margin-top: 0;
    margin-bottom: 14px;
    font-family: var(--font-display);
    font-size: 1.45rem;
    font-weight: 600;
}

.close-contact {
    position: absolute;
    top: 12px;
    right: 16px;
    border: none;
    border-radius: 999px;
    padding: 2px 9px;
    background: transparent;
    color: var(--text-0);
    font-size: 26px;
    line-height: 1;
    cursor: pointer;
}

.form-group {
    display: flex;
    flex-direction: column;
    margin-bottom: 12px;
}

.form-group label {
    margin-bottom: 6px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    border-radius: 10px;
    border: 1px solid rgba(184, 195, 206, 0.34);
    background: rgba(7, 12, 19, 0.58);
    color: var(--text-0);
    padding: 10px 11px;
    font: inherit;
}

.submit-btn {
    border: none;
    border-radius: 10px;
    padding: 10px 15px;
    background: linear-gradient(120deg, var(--accent), var(--accent-strong));
    color: #202020;
    font-weight: 700;
    cursor: pointer;
}

.submit-btn:disabled {
    cursor: wait;
    opacity: 0.75;
}

.form-status {
    min-height: 1.25rem;
    margin: 10px 0 0;
    font-size: 0.9rem;
    color: #d4deea;
}

.form-status.is-success {
    color: #9ed5a8;
}

.form-status.is-error {
    color: #ffb3aa;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible {
    outline: none;
    box-shadow: var(--focus-ring);
}

@media (max-width: 1080px) {
    .collection-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 760px) {
    .nav-container {
        padding: 13px 0;
        align-items: flex-start;
        flex-direction: column;
    }

    .hero {
        min-height: 306px;
    }

    .hero-actions {
        flex-direction: column;
        align-items: flex-start;
    }

    .btn {
        width: 100%;
        text-align: center;
    }

    .collection-grid {
        grid-template-columns: 1fr;
    }

    .about-layout {
        grid-template-columns: 1fr;
        text-align: center;
        justify-items: center;
    }

}

@media (max-width: 560px) {
    .collections {
        padding: clamp(36px, 10vw, 48px) 0;
    }

    .contact-modal-content {
        padding: 24px 18px 20px;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}
