:root {
    --hm-black: #050404;
    --hm-black-soft: #0c0908;
    --hm-gold: #d9b35f;
    --hm-gold-bright: #f1d58a;
    --hm-red: #7a1218;
    --hm-red-bright: #a51922;
    --hm-ivory: #fff6df;
    --hm-border: rgba(217, 179, 95, 0.48);
    --hm-muted: rgba(255, 246, 223, 0.72);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    min-height: 100vh;
    color: var(--hm-ivory);
    background: radial-gradient(circle at 50% 0%, rgba(122,18,24,0.32), transparent 30%), var(--hm-black);
    font-family: "Inter", Arial, sans-serif;
}

.hm-page-shell,
.hm-stage {
    min-height: 100vh;
}

.hm-stage {
    position: relative;
    overflow-x: hidden;
    background:
        linear-gradient(90deg, rgba(217,179,95,0.05) 0 1px, transparent 1px 100%),
        radial-gradient(circle at 20% 15%, rgba(217,179,95,0.18), transparent 25%),
        radial-gradient(circle at 75% 20%, rgba(122,18,24,0.22), transparent 25%),
        #050404;
    background-size: 72px 72px, auto, auto, auto;
}

.hm-stage::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
        linear-gradient(to bottom, rgba(5,4,4,0.12), rgba(5,4,4,0.8)),
        radial-gradient(circle at center, transparent 30%, rgba(0,0,0,0.62) 82%);
}

/* Header Wrapper */
.hm-header-wrapper {
    position: sticky;
    top: 0;
    z-index: 999;
    width: 100%;
    background: rgba(5, 4, 4, 0.93);
    border-bottom: 1px solid var(--hm-border);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    transition: box-shadow 260ms ease, background-color 260ms ease, border-color 260ms ease;
}

.hm-header-wrapper.hm-scrolled {
    background: rgba(5, 4, 4, 0.98);
    border-color: rgba(217, 179, 95, 0.66);
    box-shadow: 0 16px 44px rgba(0, 0, 0, 0.45);
}

.hm-header-inner {
    width: min(1200px, calc(100% - 40px));
    min-height: 82px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 28px;
}

/* Logo */
.hm-logo {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    color: var(--hm-ivory);
    text-decoration: none;
    white-space: nowrap;
}

.hm-logo-mark {
    width: 43px;
    height: 43px;
    display: grid;
    place-items: center;
    border: 1px solid rgba(217, 179, 95, 0.78);
    border-radius: 999px;
    color: var(--hm-gold-bright);
    font-family: "Cormorant Garamond", Georgia, serif;
    font-size: 18px;
    font-weight: 700;
    letter-spacing: 0.07em;
    background:
        radial-gradient(circle at 34% 22%, rgba(241, 213, 138, 0.18), transparent 38%),
        linear-gradient(145deg, rgba(122, 18, 24, 0.36), rgba(0, 0, 0, 0.1));
    box-shadow: 0 0 20px rgba(217, 179, 95, 0.12);
}

.hm-logo-text {
    font-family: "Cormorant Garamond", Georgia, serif;
    font-size: clamp(26px, 2.3vw, 34px);
    font-weight: 700;
    letter-spacing: 0.025em;
    line-height: 1;
}

/* Navigation Menu */
.hm-navigation {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: clamp(14px, 1.7vw, 26px);
}

.hm-navigation a {
    position: relative;
    color: var(--hm-gold);
    text-decoration: none;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.13em;
    text-transform: uppercase;
    transition: color 220ms ease, transform 220ms ease;
}

.hm-navigation a::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: -12px;
    width: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--hm-red-bright), var(--hm-gold-bright), transparent);
    transform: translateX(-50%);
    transition: width 260ms ease;
}

.hm-navigation a:hover,
.hm-navigation a:focus-visible {
    color: var(--hm-red-bright);
    transform: translateY(-1px);
    outline: none;
}

.hm-navigation a:hover::after,
.hm-navigation a:focus-visible::after {
    width: 100%;
}

/* Social Icons */
.hm-social-icons {
    display: inline-flex;
    align-items: center;
    justify-content: flex-end;
    gap: 11px;
}

.hm-social-icons a {
    width: 34px;
    height: 34px;
    display: grid;
    place-items: center;
    color: var(--hm-gold);
    border: 1px solid rgba(217, 179, 95, 0.42);
    border-radius: 999px;
    background: rgba(255, 246, 223, 0.025);
    text-decoration: none;
    transition: transform 220ms ease, color 220ms ease, border-color 220ms ease, background-color 220ms ease, box-shadow 220ms ease;
}

.hm-social-icons a:hover,
.hm-social-icons a:focus-visible {
    color: var(--hm-ivory);
    border-color: rgba(165, 25, 34, 0.86);
    background: rgba(122, 18, 24, 0.42);
    box-shadow: 0 0 18px rgba(122, 18, 24, 0.38);
    transform: translateY(-2px);
    outline: none;
}

.hm-social-icons svg {
    width: 16px;
    height: 16px;
    fill: currentColor;
}

.hm-menu-toggle {
    display: none;
    width: 44px;
    height: 44px;
    border: 1px solid rgba(217, 179, 95, 0.48);
    border-radius: 999px;
    background: rgba(255, 246, 223, 0.03);
    color: var(--hm-gold);
    cursor: pointer;
    place-items: center;
    gap: 4px;
    padding: 0;
}

.hm-menu-toggle span {
    display: block;
    width: 19px;
    height: 2px;
    background: currentColor;
    border-radius: 99px;
    transition: transform 220ms ease, opacity 220ms ease;
}

.hm-menu-toggle.hm-open span:nth-child(1) {
    transform: translateY(6px) rotate(45deg);
}

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

.hm-menu-toggle.hm-open span:nth-child(3) {
    transform: translateY(-6px) rotate(-45deg);
}

.hm-hero-placeholder {
    position: relative;
    z-index: 1;
    width: min(980px, calc(100% - 40px));
    min-height: calc(100vh - 82px);
    margin: 0 auto;
    display: grid;
    place-items: center;
    align-content: center;
    text-align: center;
    padding: 78px 0;
}

.hm-kicker {
    margin: 0 0 20px;
    color: var(--hm-gold-bright);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.32em;
    text-transform: uppercase;
}

.hm-hero-placeholder h1 {
    margin: 0;
    color: var(--hm-ivory);
    font-family: "Cormorant Garamond", Georgia, serif;
    font-size: clamp(72px, 12vw, 160px);
    line-height: 0.85;
    letter-spacing: 0.015em;
    text-shadow: 0 0 34px rgba(217, 179, 95, 0.16);
}

.hm-hero-placeholder p:last-child {
    width: min(620px, 100%);
    margin: 22px auto 0;
    color: var(--hm-muted);
    font-size: clamp(16px, 2vw, 20px);
    line-height: 1.7;
}

.hm-demo-spacer {
    position: relative;
    z-index: 1;
    height: 80vh;
    border-top: 1px solid rgba(217, 179, 95, 0.14);
    background: linear-gradient(to bottom, rgba(122,18,24,0.12), transparent);
}

@media (max-width: 1020px) {
    .hm-header-inner {
        grid-template-columns: auto auto;
        justify-content: space-between;
        gap: 18px;
        min-height: 76px;
    }

    .hm-menu-toggle {
        display: inline-grid;
    }

    .hm-navigation {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        display: grid;
        justify-items: center;
        gap: 0;
        padding: 18px 24px 20px;
        background: rgba(5, 4, 4, 0.98);
        border-bottom: 1px solid rgba(217, 179, 95, 0.34);
        box-shadow: 0 22px 35px rgba(0, 0, 0, 0.4);
        transform: translateY(-10px);
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        transition: transform 240ms ease, opacity 240ms ease, visibility 240ms ease;
    }

    .hm-navigation.hm-open {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
    }

    .hm-navigation a {
        width: min(420px, 100%);
        padding: 15px 0;
        text-align: center;
        border-bottom: 1px solid rgba(217, 179, 95, 0.1);
    }

    .hm-navigation a::after {
        bottom: 6px;
    }

    .hm-social-icons {
        grid-column: 1 / -1;
        justify-content: center;
        width: 100%;
        padding: 0 0 13px;
        order: 3;
        display: none;
    }

    .hm-header-wrapper.hm-mobile-expanded .hm-social-icons {
        display: inline-flex;
    }
}

@media (max-width: 560px) {
    .hm-header-inner {
        width: min(100% - 28px, 1200px);
        min-height: 70px;
    }

    .hm-logo-mark {
        width: 38px;
        height: 38px;
        font-size: 16px;
    }

    .hm-logo-text {
        font-size: 25px;
    }

    .hm-hero-placeholder {
        min-height: calc(100vh - 70px);
    }
}
