:root {
    --black: #0a0a0a;
    --black-2: #111111;
    --black-3: #181818;
    --gold: #c9a84c;
    --gold-light: #e2c47a;
    --gold-dim: #6b5520;
    --cyan: #5ecfcf;
    --cyan-dim: #2a7a7a;
    --cyan-light: #8ee8e8;
    --white: #f5f0e8;
    --white-dim: #a09880;
    --border: rgba(201, 168, 76, 0.15);
    --border-mid: rgba(201, 168, 76, 0.35);
    --border-str: rgba(94, 207, 207, 0.45);
    --text-dim: rgba(160, 152, 128, 0.7);
    --text-muted: rgba(245, 240, 232, 0.45);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background: var(--black);
    color: var(--white);
    font-family: 'Cormorant Garamond', serif;
    min-height: 100vh;
    overflow-x: hidden;
}

a {
    color: inherit;
}

body::before {
    content: '';
    position: fixed;
    inset: 0;
    background-image:
        linear-gradient(rgba(201, 168, 76, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(201, 168, 76, 0.03) 1px, transparent 1px);
    background-size: 60px 60px;
    pointer-events: none;
    z-index: 0;
}

.orb-1 {
    position: fixed;
    top: -200px;
    left: -200px;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(201, 168, 76, 0.06) 0%, transparent 70%);
    pointer-events: none;
    z-index: 0;
    border-radius: 50%;
    animation: orbDrift1 24s ease-in-out infinite;
}

.orb-3 {
    position: fixed;
    top: 50%;
    left: 50%;
    width: 760px;
    height: 760px;
    background: radial-gradient(circle, rgba(201, 168, 76, 0.045) 0%, rgba(94, 207, 207, 0.045) 45%, transparent 75%);
    pointer-events: none;
    z-index: 0;
    border-radius: 50%;
    transform: translate(-50%, -50%);
    animation: orbDrift3 34s ease-in-out infinite;
}

@keyframes orbDrift1 {

    0%,
    100% {
        transform: translate(0, 0) scale(1);
    }

    50% {
        transform: translate(90px, 70px) scale(1.15);
    }
}

@keyframes orbDrift3 {

    0%,
    100% {
        transform: translate(-50%, -50%) scale(1);
    }

    50% {
        transform: translate(calc(-50% + 50px), calc(-50% - 40px)) scale(1.2);
    }
}

@media (prefers-reduced-motion: reduce) {

    .orb-1,
    .orb-3 {
        animation: none;
    }
}

/* ---------- Buttons ---------- */

.btn-cta {
    font-family: 'Cinzel', serif;
    font-size: 11px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--white);
    text-decoration: none;
    background: linear-gradient(135deg, var(--gold-dim), var(--cyan-dim));
    border: none;
    padding: 11px 22px;
    cursor: pointer;
    transition: opacity 0.25s;
    position: relative;
    overflow: hidden;
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
}

.btn-cta::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, var(--gold), var(--cyan));
    opacity: 0;
    transition: opacity 0.25s;
}

.btn-cta:hover::before {
    opacity: 1;
}

.btn-cta span {
    position: relative;
    z-index: 1;
}

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

.btn-ghost {
    font-family: 'DM Mono', monospace;
    font-size: 11px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--white-dim);
    text-decoration: none;
    border: 1px solid var(--border-mid);
    padding: 13px 26px;
    transition: all 0.2s;
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
}

.btn-ghost:hover {
    color: var(--gold-light);
    border-color: var(--gold);
}

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

/* ---------- Shared header ---------- */

header {
    position: relative;
    z-index: 10;
    border-bottom: 1px solid var(--border);
    padding: 0 48px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 14px;
}

.logo-mark {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--gold-dim), var(--cyan-dim));
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Cinzel', serif;
    font-size: 13px;
    color: var(--white);
    letter-spacing: 0.05em;
    font-weight: 500;
}

.logo-name {
    font-family: 'Cinzel', serif;
    font-size: 13px;
    letter-spacing: 0.18em;
    color: var(--white);
    text-transform: uppercase;
}

.logo-sub {
    font-family: 'Cormorant Garamond', serif;
    font-size: 11px;
    color: var(--white-dim);
    letter-spacing: 0.1em;
    font-style: italic;
    display: block;
}

.header-right {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 28px;
}

.nav-link {
    font-family: 'DM Mono', monospace;
    font-size: 10px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--white-dim);
    text-decoration: none;
    transition: color 0.2s;
    white-space: nowrap;
}

.nav-link:hover {
    color: var(--gold-light);
}

/* ---------- Shared footer ---------- */

footer {
    position: relative;
    z-index: 5;
    border-top: 1px solid var(--border);
    padding: 16px 48px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.footer-copy {
    font-family: 'DM Mono', monospace;
    font-size: 10px;
    color: var(--text-dim);
    letter-spacing: 0.08em;
}

.footer-brand {
    font-family: 'Cinzel', serif;
    font-size: 10px;
    letter-spacing: 0.18em;
    color: var(--gold-dim);
}

/* ---------- Scroll progress ---------- */

.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    height: 2px;
    width: 0%;
    background: linear-gradient(90deg, var(--gold), var(--cyan));
    z-index: 50;
    transition: width 0.1s linear;
}

@media (prefers-reduced-motion: reduce) {
    .scroll-progress {
        transition: none;
    }
}

/* ---------- Scroll reveal ---------- */

.fade-in {
    opacity: 0;
    transform: translateY(16px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

.fade-in-child {
    opacity: 0;
    transform: translateY(14px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.fade-in.visible .fade-in-child {
    opacity: 1;
    transform: translateY(0);
}

.fade-in.visible .fade-in-child:nth-child(1) {
    transition-delay: 0.05s;
}

.fade-in.visible .fade-in-child:nth-child(2) {
    transition-delay: 0.12s;
}

.fade-in.visible .fade-in-child:nth-child(3) {
    transition-delay: 0.19s;
}

.fade-in.visible .fade-in-child:nth-child(4) {
    transition-delay: 0.26s;
}

@media (prefers-reduced-motion: reduce) {

    .fade-in,
    .fade-in-child {
        opacity: 1;
        transform: none;
        transition: none;
    }
}

/* ---------- Scrollbar ---------- */

::-webkit-scrollbar {
    width: 3px;
}

::-webkit-scrollbar-track {
    background: var(--black);
}

::-webkit-scrollbar-thumb {
    background: var(--gold-dim);
}

/* ---------- Shared responsive ---------- */

@media (max-width: 900px) {
    header {
        padding-left: 20px;
        padding-right: 20px;
        height: 64px;
    }

    .nav-links {
        display: none;
    }

    footer {
        padding-left: 20px;
        padding-right: 20px;
    }
}
