/* ======================== VARIABLES ======================== */
:root {
    --color-primary: #e09145;
    --color-primary-light: #fcd9b8;
    --color-primary-dark: #b86e28;
    --color-bg-1: #0e0f12;
    --color-bg-2: #17181d;
    --color-bg-3: #1e2026;
    --color-bg-card: #1a1b20;
    --color-border: rgba(255, 255, 255, 0.07);
    --color-text: #a8aab0;
    --color-white: #f0f0f0;
    --container-width: 90%;
    --max-width: 1400px;
    --transition: all 400ms cubic-bezier(0.25, 0.46, 0.45, 0.94);
    --transition-slow: all 700ms cubic-bezier(0.25, 0.46, 0.45, 0.94);
    --radius: 0.75rem;
    --radius-lg: 1.5rem;
}

/* ======================== RESET ======================== */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    border: 0;
    outline: 0;
    list-style: none;
    text-decoration: none;
    box-sizing: border-box;
}

::-webkit-scrollbar { width: 5px; background: var(--color-bg-2); }
::-webkit-scrollbar-thumb { background: var(--color-primary); border-radius: 4px; }

html { scroll-behavior: smooth; }

body {
    font-family: 'Montserrat', sans-serif;
    background: var(--color-bg-1);
    color: var(--color-text);
    line-height: 1.75;
    overflow-x: hidden;
}

img {
    display: block;
    width: 100%;
    object-fit: cover;
}

h1, h2, h3, h4 {
    color: var(--color-white);
    line-height: 1.1;
    font-family: 'Playfair Display', serif;
    font-weight: 700;
}

h1 { font-size: clamp(2.5rem, 6vw, 5.5rem); }
h2 { font-size: clamp(2rem, 4vw, 3.5rem); }

a { color: var(--color-text); transition: var(--transition); }
a:hover { color: var(--color-primary); }

.container {
    width: var(--container-width);
    margin: 0 auto;
    max-width: var(--max-width);
}

/* ======================== BUTTONS ======================== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.85rem 2rem;
    border-radius: 50px;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    outline: none;
}

.btn--primary {
    background: linear-gradient(135deg, var(--color-primary), var(--color-primary-dark));
    color: var(--color-bg-1);
}

.btn--primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 32px rgba(224, 145, 69, 0.4);
    color: var(--color-bg-1);
}

.btn--ghost {
    background: transparent;
    color: var(--color-white);
    border: 1.5px solid rgba(255, 255, 255, 0.25);
}

.btn--ghost:hover {
    border-color: var(--color-primary);
    color: var(--color-primary);
    transform: translateY(-3px);
}

.btn--lg { padding: 1rem 2.5rem; font-size: 1rem; }

/* ======================== SECTION SHARED ======================== */
.section__eyebrow {
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--color-primary);
    margin-bottom: 0.75rem;
}

.section__title {
    margin-bottom: 1.25rem;
    color: var(--color-white);
}

.section__title em {
    font-style: italic;
    color: var(--color-primary);
    font-family: 'Playfair Display', serif;
}

.section__desc {
    color: var(--color-text);
    max-width: 50ch;
}

.section__header { margin-bottom: 3.5rem; }

/* ======================== PAGE HERO BANNER (non-home pages) ======================== */
.page-hero {
    position: relative;
    height: 40vh;
    min-height: 320px;
    display: flex;
    align-items: flex-end;
    justify-content: flex-start;
    overflow: hidden;
}

.page-hero__bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.page-hero__bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.4) saturate(0.5);
}

.page-hero__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, var(--color-bg-1) 0%, rgba(14,15,18,0.5) 60%, transparent 100%);
    z-index: 1;
}

.page-hero__content {
    position: relative;
    z-index: 2;
    width: var(--container-width);
    max-width: var(--max-width);
    margin: 0 auto;
    padding-bottom: 3rem;
}

.page-hero__content .section__eyebrow { margin-bottom: 0.5rem; }
.page-hero__content h1 { font-size: clamp(2.2rem, 5vw, 4rem); }

/* ======================== LOADER ======================== */
.loader {
    position: fixed;
    inset: 0;
    background: var(--color-bg-1);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    transition: opacity 0.6s ease, visibility 0.6s ease;
}

.loader.hidden {
    opacity: 0;
    visibility: hidden;
}

.loader__inner {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.loader__ring {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    border: 2px solid var(--color-border);
    border-top-color: var(--color-primary);
    animation: spin 1s linear infinite;
}

@keyframes spin { to { transform: rotate(360deg); } }

.loader__logo {
    position: absolute;
    font-family: 'Playfair Display', serif;
    font-size: 1rem;
    font-weight: 700;
    color: var(--color-primary);
    letter-spacing: 0.15em;
}

/* ======================== CUSTOM CURSOR ======================== */
.cursor,
.cursor-follower {
    position: fixed;
    border-radius: 50%;
    pointer-events: none;
    z-index: 9998;
    transition: transform 0.1s ease;
}

.cursor {
    width: 8px;
    height: 8px;
    background: var(--color-primary);
    transform: translate(-50%, -50%);
}

.cursor-follower {
    width: 36px;
    height: 36px;
    border: 1.5px solid rgba(224, 145, 69, 0.5);
    transform: translate(-50%, -50%);
    transition: all 0.18s ease;
}

@media (hover: none) {
    .cursor, .cursor-follower { display: none; }
}

/* ======================== SCROLL REVEAL ======================== */
.reveal-up,
.reveal-left,
.reveal-right {
    opacity: 0;
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal-up  { transform: translateY(40px); }
.reveal-left  { transform: translateX(-50px); }
.reveal-right { transform: translateX(50px); }

.reveal-up.visible,
.reveal-left.visible,
.reveal-right.visible {
    opacity: 1;
    transform: translate(0);
}
