/* ── Header ── */
.rg-header {
    position: fixed;
    top: 0; left: 0;
    width: 100%;
    z-index: 1000;
    height: 72px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 clamp(1.25rem, 4vw, 3rem);
    background: transparent;
    border-bottom: 1px solid transparent;
    transition: background 0.5s ease, border-color 0.5s ease, height 0.4s ease;
}
.rg-header::before {
    content: '';
    position: absolute; inset: 0;
    background: linear-gradient(to bottom, rgba(5,0,0,0.82) 0%, rgba(5,0,0,0) 100%);
    pointer-events: none;
    opacity: 1;
    transition: opacity 0.5s ease;
}
.rg-header.rg-scrolled {
    background: rgba(5,0,0,0.96);
    border-bottom-color: var(--color-border);
    height: 64px;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}
.rg-header.rg-scrolled::before { opacity: 0; }

/* ── Logo ── */
.rg-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
    flex-shrink: 0;
    position: relative;
    z-index: 2;
}
.rg-logo-symbol {
    width: 36px; height: 36px;
    border: 1px solid rgba(228,222,208,0.4);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-display);
    font-size: 13px; font-weight: 700;
    color: var(--color-text);
    letter-spacing: 0.05em;
    flex-shrink: 0;
    transition: border-color 0.3s ease;
}
.rg-logo:hover .rg-logo-symbol { border-color: rgba(228,222,208,0.8); }
.rg-logo-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
    line-height: 1;
}
.rg-logo-name {
    font-family: var(--font-display);
    font-size: 14px; font-weight: 700;
    color: var(--color-text);
    letter-spacing: 0.18em;
    text-transform: uppercase;
}
.rg-logo-sub {
    font-family: var(--font-body);
    font-size: 8.5px; font-weight: 500;
    color: rgba(228,222,208,0.45);
    letter-spacing: 0.28em;
    text-transform: uppercase;
}

/* ── Desktop nav ── */
.rg-nav {
    display: flex;
    align-items: center;
    gap: 2rem;
    position: relative;
    z-index: 2;
}
.rg-nav-list {
    display: flex;
    align-items: center;
    gap: 2rem;
    list-style: none;
    margin: 0; padding: 0;
}
.rg-nav-list li a,
.rg-nav > a {
    font-family: var(--font-body);
    font-size: 11px; font-weight: 600;
    color: rgba(228,222,208,0.72);
    text-decoration: none;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    position: relative;
    transition: color 0.25s ease;
    white-space: nowrap;
}
.rg-nav-list li a::after,
.rg-nav > a:not(.rg-nav-cta)::after {
    content: '';
    position: absolute;
    bottom: -3px; left: 0; right: 0;
    height: 1px;
    background: var(--color-text);
    transform: scaleX(0);
    transform-origin: center;
    transition: transform 0.3s ease;
}
.rg-nav-list li a:hover,
.rg-nav > a:hover { color: var(--color-text); }
.rg-nav-list li a:hover::after,
.rg-nav > a:not(.rg-nav-cta):hover::after { transform: scaleX(1); }
.rg-nav-list li.current-menu-item > a { color: var(--color-text); }
.rg-nav-list li.current-menu-item > a::after { transform: scaleX(1); }

/* ── CTA button ── */
.rg-nav-cta {
    font-family: var(--font-display) !important;
    font-size: 10px !important; font-weight: 700 !important;
    color: var(--color-text) !important;
    letter-spacing: 0.18em !important;
    text-transform: uppercase !important;
    border: 1px solid rgba(228,222,208,0.45);
    padding: 9px 20px;
    transition: background 0.3s ease, border-color 0.3s ease !important;
    white-space: nowrap;
}
.rg-nav-cta::after { display: none !important; }
.rg-nav-cta:hover {
    background: rgba(228,222,208,0.08) !important;
    border-color: rgba(228,222,208,0.9) !important;
}

/* ── Hamburger ── */
.rg-hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none; border: none;
    cursor: pointer;
    padding: 6px 4px;
    position: relative;
    z-index: 1100;
}
.rg-hamburger span {
    display: block;
    width: 24px; height: 1px;
    background: var(--color-text);
    transition: transform 0.35s ease, opacity 0.35s ease;
}
.rg-hamburger.rg-open span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.rg-hamburger.rg-open span:nth-child(2) { opacity: 0; }
.rg-hamburger.rg-open span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* ── Mobile nav ── */
.rg-mobile-nav {
    display: none;
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100dvh;
    background: rgba(5,0,0,0.97);
    z-index: 1000;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease;
}
.rg-mobile-nav.rg-open { opacity: 1; pointer-events: all; }
.rg-mobile-nav-list {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
    list-style: none;
    margin: 0; padding: 0;
}
.rg-mobile-nav-list li a,
.rg-mobile-nav > a {
    font-family: var(--font-display);
    font-size: clamp(1.1rem, 4vw, 1.5rem); font-weight: 400;
    color: rgba(228,222,208,0.7);
    text-decoration: none;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    transition: color 0.25s ease;
}
.rg-mobile-nav-list li a:hover,
.rg-mobile-nav > a:hover { color: var(--color-text); }
.rg-mobile-cta {
    margin-top: 1rem;
    border: 1px solid rgba(228,222,208,0.4) !important;
    padding: 14px 40px !important;
    font-size: 13px !important;
    color: var(--color-text) !important;
    transition: background 0.3s ease, border-color 0.3s ease !important;
}
.rg-mobile-cta:hover {
    background: rgba(228,222,208,0.08) !important;
    border-color: rgba(228,222,208,0.8) !important;
}

/* ── Footer ── */
.rg-footer {
    background: var(--color-bg-black);
    border-top: 1px solid var(--color-border);
    padding: 4rem 0 0;
}
.rg-footer-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 clamp(1.5rem, 5vw, 4rem);
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 4rem;
    margin-bottom: 4rem;
}
.rg-footer-logo a {
    display: flex;
    flex-direction: column;
    gap: 6px;
    text-decoration: none;
}
.rg-footer-logo-name {
    font-family: var(--font-display);
    font-size: 16px; font-weight: 700;
    color: var(--color-text);
    letter-spacing: 0.18em;
    text-transform: uppercase;
}
.rg-footer-logo-sub {
    font-family: var(--font-body);
    font-size: 9px; font-weight: 500;
    color: rgba(228,222,208,0.35);
    letter-spacing: 0.28em;
    text-transform: uppercase;
}
.rg-footer-cols {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}
.rg-footer-col h3 {
    font-family: var(--font-display);
    font-size: 10px; font-weight: 700;
    color: rgba(228,222,208,0.4);
    letter-spacing: 0.22em;
    text-transform: uppercase;
    margin-bottom: 1.25rem;
}
.rg-footer-col ul {
    list-style: none;
    margin: 0; padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}
.rg-footer-col ul li,
.rg-footer-col ul li a {
    font-family: var(--font-body);
    font-size: 13px; font-weight: 400;
    color: rgba(228,222,208,0.55);
    text-decoration: none;
    letter-spacing: 0.04em;
    transition: color 0.25s ease;
}
.rg-footer-col ul li a:hover { color: var(--color-text); }
.rg-footer-bottom {
    border-top: 1px solid var(--color-border);
    padding: 1.5rem clamp(1.5rem, 5vw, 4rem);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}
.rg-footer-bottom p {
    font-family: var(--font-body);
    font-size: 11px; font-weight: 400;
    color: rgba(228,222,208,0.3);
    letter-spacing: 0.06em;
}
.rg-footer-bottom p a {
    color: rgba(228,222,208,0.3);
    text-decoration: none;
    transition: color 0.25s ease;
}
.rg-footer-bottom p a:hover { color: var(--color-text); }
.rg-footer-social {
    display: flex;
    gap: 1.5rem;
}
.rg-footer-social a {
    font-family: var(--font-body);
    font-size: 10px; font-weight: 600;
    color: rgba(228,222,208,0.3);
    text-decoration: none;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    transition: color 0.25s ease;
}
.rg-footer-social a:hover { color: var(--color-text); }

/* ── Page content offset ── */
.rg-main { padding-top: 72px; }

/* ── Responsive ── */
@media (max-width: 900px) {
    .rg-nav { display: none; }
    .rg-hamburger { display: flex; }
    .rg-mobile-nav { display: flex; }
    .rg-footer-inner { grid-template-columns: 1fr; gap: 2rem; }
    .rg-footer-cols { grid-template-columns: 1fr 1fr; }
    .rg-footer-bottom { flex-direction: column; text-align: center; }
}
@media (max-width: 560px) {
    .rg-footer-cols { grid-template-columns: 1fr; }
}
/* /* ── Footer text brightness boost ── */
.rg-footer-logo-name { color: #ffffff !important; }
.rg-footer-logo-sub { color: rgba(255,255,255,0.9) !important; }
.rg-footer-col h3 { color: #ffffff !important; }
.rg-footer-col ul li,
.rg-footer-col ul li a { color: rgba(255,255,255,0.9) !important; }
.rg-footer-bottom p,
.rg-footer-bottom p a { color: rgba(255,255,255,0.8) !important; }
.rg-footer-social a { color: rgba(255,255,255,0.9) !important; }
.rg-footer-col ul li a:hover,
.rg-footer-social a:hover { color: #ffffff !important; }

.rg-logo-img {
    width: 120px;
    height: auto;
    object-fit: contain;
    display: block;
}
.rg-nav-list li a,
.rg-nav-list li a:visited {
    text-decoration: none !important;
}