/* ── Reset ── */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* ── Variables ── */
:root {
    --blue:   #2A4A6F;
    --gold:   #C9A961;
    --silver: #D4D4D4;
    --font:   'Cinzel', serif;
}

/* ── Body ── */
body {
    background-color: var(--blue);
    min-height: 100vh;
    font-family: var(--font);
    color: var(--silver);
    overflow-x: hidden;
}

/* ════════════════════════
   NAV
   ════════════════════════ */
#nav {
    position: fixed;
    top: 32px;
    right: 40px;
    z-index: 100;
}

/* ── Hamburger button ── */
#menuBtn {
    width: 44px;
    height: 44px;
    background: transparent;
    border: none;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    justify-content: center;
    gap: 6px;
    padding: 4px;
}

#menuBtn span {
    display: block;
    height: 1.5px;
    background: var(--silver);
    border-radius: 2px;
    transition: all 0.35s ease;
}

#menuBtn span:nth-child(1) { width: 28px; }
#menuBtn span:nth-child(2) { width: 20px; }
#menuBtn span:nth-child(3) { width: 28px; }

/* Open state — becomes X */
#menuBtn.open span:nth-child(1) {
    width: 26px;
    transform: translateY(7.5px) rotate(45deg);
}
#menuBtn.open span:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}
#menuBtn.open span:nth-child(3) {
    width: 26px;
    transform: translateY(-7.5px) rotate(-45deg);
}

/* ── Panel ── */
#menuPanel {
    position: absolute;
    top: calc(100% + 14px);
    right: 0;
    width: 300px;
    background: rgba(10, 20, 36, 0.96);
    border: 1px solid rgba(201, 169, 97, 0.25);
    padding: 28px 24px;
    display: flex;
    flex-direction: column;
    gap: 0;

    /* Hidden */
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition:
        opacity    0.3s ease,
        transform  0.3s ease,
        visibility 0.3s linear;
}

#menuPanel.open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* ── Section label ── */
.label {
    font-size: 0.65rem;
    letter-spacing: 0.35em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 12px;
}

/* ── Links ── */
#menuPanel a {
    display: block;
    text-decoration: none;
    font-size: 0.85rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--silver);
    padding: 8px 0;
    border-bottom: 1px solid rgba(255,255,255,0.05);
    transition: color 0.2s ease, padding-left 0.2s ease;
}

#menuPanel a:last-child {
    border-bottom: none;
}

#menuPanel a:hover {
    color: var(--gold);
    padding-left: 8px;
}

/* ── Divider ── */
.divider {
    height: 1px;
    background: linear-gradient(to right, transparent, rgba(201,169,97,0.3), transparent);
    margin: 20px 0;
}

/* ── Section ── */
.section {
    display: flex;
    flex-direction: column;
}

/* ════════════════════════
   HERO
   ════════════════════════ */
#hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 40px 24px;
    gap: 0;
}

#logo {
    width: min(640px, 80vw);
    height: auto;
    display: block;
    mix-blend-mode: lighten;
    animation: fadeUp 1.8s ease both;
}


@keyframes fadeUp {
    from { opacity: 0; transform: translateY(16px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* ── Mobile ── */
@media (max-width: 600px) {
    #nav { top: 20px; right: 20px; }
    #menuPanel { width: 260px; }
    #logo { width: 88vw; }
}
