/* Fluid desktop and tablet sizing */
@media (max-width: 1350px) {
    .navbar {
        gap: clamp(0.75rem, 1.8vw, 1.25rem);
        padding-inline: clamp(1.25rem, 4vw, 4%);
    }

    .brand {
        gap: clamp(0.5rem, 1vw, 0.75rem);
    }

    .brand-logo {
        width: clamp(8rem, 12vw, 9.7rem);
    }

    .brand-tagline {
        font-size: 10px;
        letter-spacing: 0.08em;
    }

    .nav-links {
        gap: clamp(0.75rem, 1.7vw, 1.4375rem);
    }

    .nav-link {
        font-size: var(--type-caption);
    }

    .nav-actions {
        gap: clamp(0.375rem, 0.65vw, 0.5rem);
    }

    .social-icon {
        width: clamp(1.875rem, 3vw, 2.375rem);
        height: clamp(1.875rem, 3vw, 2.375rem);
        font-size: 0.9375rem;
    }

    .nav-cta {
        height: clamp(2.5rem, 4vw, 2.875rem);
        gap: clamp(0.4375rem, 0.8vw, 0.625rem);
        padding-inline: clamp(0.625rem, 1.2vw, 1rem);
        font-size: var(--type-micro);
    }
}

/* Switch to a compact dropdown before the desktop navigation gets crowded. */
@media (max-width: 1100px) {
    :root {
        --nav-height: clamp(4rem, 8vw, 4.875rem);
    }

    .navbar {
        justify-content: space-between;
        padding-inline: 5%;
    }

    .brand-logo {
        width: clamp(7.5rem, 18vw, 8.75rem);
    }

    .brand-divider,
    .brand-tagline,
    .nav-actions {
        display: none;
    }

    .menu-toggle {
        display: flex;
        z-index: 10001;
        gap: clamp(0.25rem, 0.8vw, 0.375rem);
        padding: clamp(0.375rem, 1.2vw, 0.5rem);
    }

    .menu-toggle span {
        width: clamp(1.375rem, 4vw, 1.6875rem);
    }

    .nav-links {
        position: absolute;
        top: 100%;
        left: 0;
        display: flex;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        width: 100%;
        height: auto;
        padding: clamp(0.5rem, 2vw, 0.75rem) 5% clamp(1rem, 3vw, 1.25rem);
        background: var(--nav-background);
        border-top: 1px solid var(--nav-border);
        box-shadow: 0 0.75rem 1.25rem rgba(0, 0, 0, 0.07);
        visibility: hidden;
        opacity: 0;
        transform: translateY(-0.625rem);
        pointer-events: none;
        transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s ease;
    }

    .nav-links.show {
        visibility: visible;
        opacity: 1;
        transform: translateY(0);
        pointer-events: auto;
    }

    .nav-links li {
        height: auto;
        border-bottom: 1px solid #EEEEEE;
    }

    .nav-link {
        width: 100%;
        height: auto;
        padding-block: clamp(0.75rem, 2.5vw, 0.9375rem);
        font-size: var(--type-small);
    }

    .nav-link::after {
        display: none;
    }

    .nav-link.active {
        color: var(--nav-primary);
    }

    .menu-toggle.active span:nth-child(1) {
        transform: translateY(clamp(0.375rem, 1vw, 0.5rem)) rotate(45deg);
    }

    .menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }

    .menu-toggle.active span:nth-child(3) {
        transform: translateY(clamp(-0.5rem, -1vw, -0.375rem)) rotate(-45deg);
    }
}

/* Hero image and overlay content */
body {
    font-family: var(--nav-font);
}

.hero-section {
    position: static;
    width: 100%;
    display: flex;
    align-items: center;
    min-height: clamp(34rem, 76svh, 48rem);
    padding: clamp(3rem, 7vw, 6rem) 5%;
    overflow: hidden;
    color: #FFFFFF;
    background-color: #17191c;
    background-image:
        linear-gradient(90deg, rgba(7, 13, 20, 0.94) 0%, rgba(7, 13, 20, 0.82) 34%, rgba(7, 13, 20, 0.28) 68%, rgba(7, 13, 20, 0.08) 100%),
        url("../assets/embodiery.JPG");
    background-position: center, center 52%;
    background-size: cover;
    background-repeat: no-repeat;
}

.hero-content {
    width: 100%;
    max-width: 48rem;
    margin-inline: 0;
    animation: hero-enter 700ms ease-out both;
}

.hero-eyebrow {
    margin: 0 0 clamp(0.875rem, 2vw, 1.5rem);
    font-size: var(--type-caption);
    font-weight: 700;
    letter-spacing: 0.08em;
    line-height: 1.4;
    text-transform: uppercase;
}

.hero-content h1 {
    max-width: 11ch;
    margin: 0;
    font-size: var(--type-display);
    font-weight: 800;
    line-height: 0.99;
    overflow-wrap: break-word;
}

.hero-content h1 span {
    display: block;
    color: #E5BE83;
}

.hero-description {
    max-width: 39rem;
    margin: clamp(1rem, 2vw, 1.5rem) 0 0;
    color: rgba(255, 255, 255, 0.9);
    font-size: var(--type-lead);
    line-height: 1.65;
}

.hero-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: clamp(0.75rem, 1.5vw, 1.125rem);
    min-height: clamp(3rem, 5vw, 3.5rem);
    margin-top: clamp(1.5rem, 3vw, 2.5rem);
    padding: 0 clamp(1.25rem, 2.2vw, 2rem);
    border-radius: 999px;
    background: #E5BE83;
    color: #17191c;
    font-size: var(--type-small);
    font-weight: 700;
    transition: background-color 180ms ease, transform 180ms ease;
}

.hero-cta:hover {
    transform: translateY(-2px);
    background: #F0D19E;
}

.hero-cta:focus-visible {
    outline: 3px solid #FFFFFF;
    outline-offset: 4px;
}

@keyframes hero-enter {
    from {
        opacity: 0;
        transform: translateY(0.75rem);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 600px) {
    :root {
        --nav-height: clamp(3.75rem, 12vw, 4.5rem);
    }

    .navbar {
        padding-inline: 5%;
    }

    .brand-logo {
        width: clamp(6.5rem, 30vw, 8.75rem);
    }

    .hero-section {
        min-height: clamp(36rem, 82svh, 44rem);
        align-items: flex-end;
        padding: 3rem 6% clamp(3rem, 12vw, 4.5rem);
        background-image:
            linear-gradient(0deg, rgba(7, 13, 20, 0.96) 0%, rgba(7, 13, 20, 0.84) 42%, rgba(7, 13, 20, 0.25) 100%),
            url("../assets/embodiery.JPG");
        background-position: center, 56% center;
    }

    .hero-content h1 {
        max-width: 12ch;
        font-size: var(--type-title-large);
    }

    .hero-description {
        max-width: 34rem;
        font-size: var(--type-body);
    }

    .hero-cta {
        width: fit-content;
        max-width: 100%;
    }
}

@media (prefers-reduced-motion: reduce) {
    .hero-content {
        animation: none;
    }

    .hero-cta {
        transition: none;
    }
}