/* ============================================
   ARCHIVES & LIGNÉE — Design System v2
   Heritage palette, editorial typography, modern rhythm
   ============================================ */

:root {
    /* Type Scale */
    --text-xs: clamp(0.75rem, 0.7rem + 0.25vw, 0.875rem);
    --text-sm: clamp(0.875rem, 0.8rem + 0.35vw, 1rem);
    --text-base: clamp(1rem, 0.95rem + 0.25vw, 1.125rem);
    --text-lg: clamp(1.125rem, 1rem + 0.75vw, 1.5rem);
    --text-xl: clamp(1.5rem, 1.2rem + 1.25vw, 2.25rem);
    --text-2xl: clamp(2rem, 1.2rem + 2.5vw, 3.5rem);
    --text-3xl: clamp(2.5rem, 1rem + 4vw, 5rem);
    --text-hero: clamp(3rem, 0.5rem + 7vw, 7rem);

    /* Spacing */
    --space-1: 0.25rem;
    --space-2: 0.5rem;
    --space-3: 0.75rem;
    --space-4: 1rem;
    --space-5: 1.25rem;
    --space-6: 1.5rem;
    --space-8: 2rem;
    --space-10: 2.5rem;
    --space-12: 3rem;
    --space-16: 4rem;
    --space-20: 5rem;
    --space-24: 6rem;
    --space-32: 8rem;

    /* Colors — Heritage Palette */
    --gold: #c5a059;
    --gold-light: #d4b06a;
    --gold-dark: #a8884a;
    --gold-text: #8a6d2e;
    --gold-glow: rgba(197, 160, 89, 0.12);
    --gold-soft: rgba(197, 160, 89, 0.06);

    /* Light mode — warm parchment */
    --color-bg: #f5f0e6;
    --color-surface: #faf6ee;
    --color-surface-2: #f0e8d8;
    --color-surface-offset: #ebe2d0;
    --color-divider: #d9cfb8;
    --color-border: #ccc0a8;
    --color-text: #1a1a1a;
    --color-text-muted: #5a5545;
    --color-text-faint: #8a8372;
    --color-text-inverse: #f5f0e6;
    --shadow-sm: 0 1px 3px rgba(26, 26, 26, 0.06);
    --shadow-card: 0 12px 40px rgba(26, 26, 26, 0.08);
    --shadow-hover: 0 24px 60px rgba(26, 26, 26, 0.14);
    --noise-opacity: 0.03;

    /* Fonts */
    --font-display: 'Cinzel', Georgia, serif;
    --font-body: 'Cormorant Garamond', Georgia, serif;
    --font-ui: 'Montserrat', 'Helvetica Neue', sans-serif;

    /* Transitions */
    --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
    --ease-smooth: cubic-bezier(0.25, 0.46, 0.45, 0.94);
    --transition: all 0.35s var(--ease-out);

    /* Layout */
    --content-narrow: 680px;
    --content-default: 960px;
    --content-wide: 1200px;

    /* Radius */
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 12px;
    --radius-full: 9999px;
}

/* Dark mode */
[data-theme="dark"] {
    --color-bg: #131110;
    --color-surface: #1a1815;
    --color-surface-2: #211e1a;
    --color-surface-offset: #1c1a17;
    --color-divider: #2a2620;
    --color-border: #3a342a;
    --color-text: #e8e0d0;
    --color-text-muted: #b0a892;
    --color-text-faint: #807868;
    --color-text-inverse: #1a1a1a;
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.3);
    --shadow-card: 0 12px 40px rgba(0, 0, 0, 0.4);
    --shadow-hover: 0 24px 60px rgba(0, 0, 0, 0.6);
    --gold-glow: rgba(197, 160, 89, 0.08);
    --gold-soft: rgba(197, 160, 89, 0.04);
    --gold-text: #d4b06a;
    --noise-opacity: 0.05;
}

/* System dark mode fallback */
@media (prefers-color-scheme: dark) {
    :root:not([data-theme]) {
        --color-bg: #131110;
        --color-surface: #1a1815;
        --color-surface-2: #211e1a;
        --color-surface-offset: #1c1a17;
        --color-divider: #2a2620;
        --color-border: #3a342a;
        --color-text: #e8e0d0;
        --color-text-muted: #a09886;
        --color-text-faint: #6b6555;
        --color-text-inverse: #1a1a1a;
        --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.3);
        --shadow-card: 0 12px 40px rgba(0, 0, 0, 0.4);
        --shadow-hover: 0 24px 60px rgba(0, 0, 0, 0.6);
        --gold-glow: rgba(197, 160, 89, 0.08);
        --gold-soft: rgba(197, 160, 89, 0.04);
        --noise-opacity: 0.05;
    }
}

/* ============================================
   BASE STYLES
   ============================================ */

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

html {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    min-height: 100dvh;
    line-height: 1.7;
    font-family: var(--font-body);
    font-size: var(--text-base);
    color: var(--color-text);
    background-color: var(--color-bg);
    overflow-x: hidden;
    position: relative;
}

/* Subtle grain texture overlay */
body::after {
    content: '';
    position: fixed;
    inset: 0;
    z-index: 999;
    pointer-events: none;
    opacity: var(--noise-opacity);
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

img,
picture,
video,
canvas {
    display: block;
    max-width: 100%;
    height: auto;
}

ul, ol {
    list-style: none;
}

a {
    transition: color var(--transition), background var(--transition), border-color var(--transition);
}

h1, h2, h3, h4, h5, h6 {
    text-wrap: balance;
    line-height: 1.2;
}

p, li {
    text-wrap: pretty;
    max-width: 72ch;
}

::selection {
    background: var(--gold-glow);
    color: var(--color-text);
}

:focus-visible {
    outline: 2px solid var(--gold);
    outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

button {
    cursor: pointer;
    background: none;
    border: none;
    font: inherit;
}

/* ============================================
   UTILITIES
   ============================================ */

.container {
    width: 100%;
    max-width: var(--content-default);
    margin: 0 auto;
    padding: 0 var(--space-6);
}

.container-narrow {
    max-width: var(--content-narrow);
}

.container-wide {
    max-width: var(--content-wide);
}

.section {
    padding-block: clamp(var(--space-12), 6vw, var(--space-24));
}

/* ============================================
   SCROLL PROGRESS BAR
   ============================================ */

.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    height: 3px;
    width: 0%;
    background: linear-gradient(to right, var(--gold-dark), var(--gold), var(--gold-light));
    z-index: 200;
    transition: width 0.1s linear;
    box-shadow: 0 0 8px rgba(197, 160, 89, 0.4);
}

/* ============================================
   BACK TO TOP BUTTON
   ============================================ */

.back-to-top {
    position: fixed;
    bottom: var(--space-6);
    right: var(--space-6);
    width: 46px;
    height: 46px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-text);
    color: var(--gold-text);
    border: 1px solid var(--gold);
    border-radius: 50%;
    cursor: pointer;
    z-index: 100;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: opacity 0.4s var(--ease-out), visibility 0.4s var(--ease-out), transform 0.4s var(--ease-out), background 0.4s var(--ease-out);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    background: var(--gold);
    color: var(--color-text);
    transform: translateY(-3px);
}

.back-to-top svg {
    width: 20px;
    height: 20px;
}

/* ============================================
   HEADER / NAVIGATION
   ============================================ */

.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: color-mix(in oklab, var(--color-bg) 88%, transparent);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid transparent;
    transition: transform 0.4s var(--ease-out), border-color 0.4s var(--ease-out), box-shadow 0.4s var(--ease-out);
}

.site-header--scrolled {
    border-bottom-color: var(--color-divider);
    box-shadow: var(--shadow-sm);
}

.site-header--hidden {
    transform: translateY(-100%);
}

.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: var(--space-4) var(--space-6);
    max-width: var(--content-wide);
    margin: 0 auto;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    text-decoration: none;
    color: var(--color-text);
}

.nav-logo svg {
    width: 32px;
    height: 32px;
    flex-shrink: 0;
}

.nav-logo-text {
    font-family: var(--font-display);
    font-size: var(--text-sm);
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--gold-text);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: var(--space-6);
}

.nav-link {
    font-family: var(--font-ui);
    font-size: var(--text-xs);
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--color-text-muted);
    text-decoration: none;
    position: relative;
    padding: var(--space-2) 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gold);
    transition: width 0.3s var(--ease-out);
}

.nav-link:hover,
.nav-link.active {
    color: var(--gold-text);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.theme-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: var(--radius-full);
    background: none;
    border: 1px solid var(--color-border);
    color: var(--color-text-muted);
    cursor: pointer;
    transition: var(--transition);
    flex-shrink: 0;
}

.theme-toggle:hover {
    color: var(--gold-text);
    border-color: var(--gold-text);
}

.theme-toggle svg {
    width: 18px;
    height: 18px;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: var(--space-2);
}

.nav-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--color-text);
    transition: var(--transition);
}

.nav-toggle.active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}
.nav-toggle.active span:nth-child(2) {
    opacity: 0;
}
.nav-toggle.active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

@media (max-width: 860px) {
    .nav-links {
        position: fixed;
        top: 60px;
        left: 0;
        right: 0;
        flex-direction: column;
        background: var(--color-surface);
        padding: var(--space-8) var(--space-6);
        gap: var(--space-5);
        border-bottom: 1px solid var(--color-divider);
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: var(--transition);
        box-shadow: var(--shadow-card);
    }

    .nav-links.open {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }

    .nav-toggle {
        display: flex;
    }
}

/* ============================================
   HERO SECTION
   ============================================ */

.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
    padding: var(--space-20) var(--space-6);
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    animation: kenBurns 20s ease-out infinite alternate;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(
        to bottom,
        rgba(10, 8, 6, 0.55) 0%,
        rgba(10, 8, 6, 0.75) 50%,
        rgba(10, 8, 6, 0.92) 100%
    );
}

.hero-overlay::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at center, transparent 35%, rgba(10, 8, 6, 0.5) 100%);
}

@keyframes kenBurns {
    0% { transform: scale(1) translate(0, 0); }
    100% { transform: scale(1.12) translate(-1%, -1%); }
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 760px;
}

.hero-eyebrow {
    font-family: var(--font-ui);
    font-size: var(--text-xs);
    font-weight: 600;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: var(--gold-text);
    margin-bottom: var(--space-6);
    opacity: 0;
    animation: fadeInUp 0.8s var(--ease-out) 0.6s both;
}

.hero-title {
    font-family: var(--font-display);
    font-size: var(--text-hero);
    font-weight: 700;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: #f5f0e6;
    line-height: 1.1;
    margin-bottom: var(--space-6);
    text-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
    opacity: 0;
    animation: fadeInUp 1s var(--ease-out) 0.3s both;
}

.hero-divider {
    width: 80px;
    height: 2px;
    background: var(--gold);
    margin: 0 auto var(--space-8);
    transform: scaleX(0);
    animation: expandDivider 1s var(--ease-out) 1s forwards;
}

@keyframes expandDivider {
    to { transform: scaleX(1); }
}

.hero-subtitle {
    font-family: var(--font-body);
    font-size: var(--text-lg);
    color: rgba(245, 240, 230, 0.85);
    line-height: 1.6;
    max-width: 560px;
    margin: 0 auto;
    opacity: 0;
    animation: fadeInUp 0.8s var(--ease-out) 1.2s both;
}

.hero-scroll-hint {
    position: absolute;
    bottom: var(--space-8);
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    color: var(--gold-light);
    font-family: var(--font-ui);
    font-size: var(--text-xs);
    letter-spacing: 3px;
    text-transform: uppercase;
    opacity: 0;
    animation: fadeInUp 0.8s var(--ease-out) 2s both;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.8);
    font-weight: 600;
}

.hero-scroll-hint::after {
    content: '';
    display: block;
    width: 1px;
    height: 36px;
    background: rgba(197, 160, 89, 0.4);
    margin: var(--space-3) auto 0;
    animation: scrollLine 2s ease-in-out infinite;
}

@keyframes scrollLine {
    0%, 100% { transform: scaleY(0.3); transform-origin: top; }
    50% { transform: scaleY(1); transform-origin: top; }
}

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

/* ============================================
   SECTION HEADINGS
   ============================================ */

.section-title {
    font-family: var(--font-display);
    font-size: var(--text-2xl);
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--color-text);
    text-align: center;
    margin-bottom: var(--space-4);
}

.section-title .accent {
    color: var(--gold-text);
}

.section-subtitle {
    font-family: var(--font-body);
    font-size: var(--text-lg);
    color: var(--color-text-muted);
    text-align: center;
    font-style: italic;
    margin-bottom: var(--space-12);
}

.section-divider {
    width: 60px;
    height: 2px;
    background: var(--gold);
    margin: 0 auto var(--space-6);
}

/* ============================================
   FACTS / TIMELINE CARDS
   ============================================ */

.facts-section {
    padding-block: clamp(var(--space-12), 5vw, var(--space-20));
    background: var(--color-bg);
}

.facts-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: var(--space-4);
    margin-top: var(--space-10);
}

.fact-card {
    flex: 1;
    min-width: 140px;
    max-width: 200px;
    text-align: center;
    padding: var(--space-8) var(--space-4);
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.fact-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(to right, var(--gold-dark), var(--gold), var(--gold-light));
    transform: scaleX(0);
    transition: transform 0.4s var(--ease-out);
}

.fact-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-card);
    border-color: var(--gold-text);
}

.fact-card:hover::before {
    transform: scaleX(1);
}

.fact-number {
    font-family: var(--font-display);
    font-size: var(--text-xl);
    font-weight: 700;
    color: var(--gold-text);
    margin-bottom: var(--space-2);
}

.fact-label {
    font-family: var(--font-ui);
    font-size: var(--text-xs);
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--color-text-muted);
}

@media (max-width: 600px) {
    .fact-card {
        min-width: 100px;
        padding: var(--space-6) var(--space-3);
    }
}

/* ============================================
   HISTORY / BIOGRAPHY SECTION
   ============================================ */

.history-section {
    background: var(--color-surface);
    position: relative;
}

.history-layout {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: var(--space-12);
    align-items: center;
    margin-top: var(--space-10);
}

.history-portrait {
    position: relative;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-card);
    border: 1px solid var(--color-border);
}

.history-portrait img {
    width: 100%;
    aspect-ratio: 3 / 4;
    object-fit: cover;
    filter: sepia(15%) saturate(0.95);
    transition: filter 0.6s var(--ease-out), transform 0.6s var(--ease-out);
}

.history-portrait:hover img {
    filter: sepia(0%) saturate(1.05);
    transform: scale(1.03);
}

.history-portrait-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: var(--space-4) var(--space-3);
    background: linear-gradient(to top, rgba(10, 8, 6, 0.9), transparent);
    color: rgba(245, 240, 230, 0.9);
    font-family: var(--font-ui);
    font-size: var(--text-xs);
    font-weight: 500;
    text-align: center;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.history-content-card {
    padding: var(--space-8);
    background: var(--color-surface-2);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    position: relative;
}

.history-content-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(to bottom, var(--gold), var(--gold-dark));
    border-radius: var(--radius-md) 0 0 var(--radius-md);
}

.history-content-card h3 {
    font-family: var(--font-display);
    font-size: var(--text-xl);
    color: var(--gold-text);
    margin-bottom: var(--space-6);
    letter-spacing: 1px;
}

.history-details {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-3) var(--space-6);
    margin: var(--space-6) 0;
    padding: var(--space-5) 0;
    border-top: 1px solid var(--color-divider);
    border-bottom: 1px solid var(--color-divider);
}

.detail-item {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    font-family: var(--font-ui);
    font-size: var(--text-xs);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--color-text-muted);
    line-height: 1.5;
}

.detail-item::before {
    content: '';
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--gold);
    flex-shrink: 0;
}

.history-text {
    font-family: var(--font-body);
    font-size: var(--text-lg);
    line-height: 1.8;
    color: var(--color-text);
}

.history-text strong {
    color: var(--gold-text);
    font-weight: 600;
}

.quote-block {
    margin-top: var(--space-6);
    padding: var(--space-6);
    border-left: 3px solid var(--gold);
    background: var(--gold-glow);
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
    font-style: italic;
    font-size: var(--text-base);
    color: var(--color-text-muted);
    line-height: 1.7;
}

.quote-block small {
    display: block;
    margin-top: var(--space-3);
    font-size: var(--text-xs);
    color: var(--color-text-faint);
    font-style: normal;
    letter-spacing: 1px;
    text-transform: uppercase;
}

@media (max-width: 768px) {
    .history-layout {
        grid-template-columns: 1fr;
        gap: var(--space-8);
    }

    .history-portrait {
        max-width: 320px;
        margin: 0 auto;
    }
}

/* ============================================
   PULL QUOTE
   ============================================ */

.pull-quote-section {
    padding-block: clamp(var(--space-16), 8vw, var(--space-24));
    background: var(--color-bg);
    text-align: center;
}

.pull-quote {
    max-width: 760px;
    margin: 0 auto;
    position: relative;
}

.pull-quote-mark {
    font-family: var(--font-display);
    font-size: 5rem;
    line-height: 1;
    color: var(--gold-text);
    opacity: 0.3;
    margin-bottom: -1rem;
}

.pull-quote-text {
    font-family: var(--font-body);
    font-size: var(--text-xl);
    font-style: italic;
    line-height: 1.6;
    color: var(--color-text);
    max-width: 680px;
    margin: 0 auto;
}

.pull-quote-divider {
    width: 60px;
    height: 2px;
    background: var(--gold);
    margin: var(--space-6) auto;
}

.pull-quote-source {
    font-family: var(--font-ui);
    font-size: var(--text-xs);
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--color-text-muted);
}

/* ============================================
   BUTTONS
   ============================================ */

.btn-group {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-4);
    justify-content: center;
    margin: var(--space-10) 0;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-3);
    padding: var(--space-4) var(--space-6);
    font-family: var(--font-ui);
    font-size: var(--text-xs);
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    text-decoration: none;
    border-radius: var(--radius-sm);
    transition: var(--transition);
    cursor: pointer;
    border: 1px solid transparent;
    white-space: nowrap;
}

.btn-primary {
    background: var(--color-text);
    color: var(--color-bg);
    border-color: var(--color-text);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 30px rgba(26, 26, 26, 0.2);
}

.btn-gold {
    background: var(--gold);
    color: #1a1a1a;
    border-color: var(--gold-text);
}

.btn-gold:hover {
    background: var(--gold-light);
    transform: translateY(-2px);
    box-shadow: 0 12px 30px rgba(197, 160, 89, 0.3);
}

.btn-outline {
    background: transparent;
    color: var(--color-text);
    border-color: var(--gold-text);
}

.btn-outline:hover {
    background: var(--gold);
    color: #1a1a1a;
    transform: translateY(-2px);
}

.btn svg {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}

/* ============================================
   GALLERY
   ============================================ */

.gallery-section {
    background: var(--color-bg);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-4);
    max-width: var(--content-default);
    margin: 0 auto;
}

.gallery-item {
    position: relative;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    border-radius: var(--radius-sm);
    cursor: pointer;
    border: 1px solid var(--color-border);
    background: var(--color-surface-2);
}

.gallery-item--large {
    grid-column: span 2;
    grid-row: span 2;
    aspect-ratio: auto;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: sepia(20%) saturate(0.9);
    transition: transform 0.6s var(--ease-out), filter 0.6s var(--ease-out);
}

.gallery-item:hover img {
    transform: scale(1.06);
    filter: sepia(0%) saturate(1.1);
}

.gallery-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: var(--space-4) var(--space-3);
    background: linear-gradient(to top, rgba(10, 8, 6, 0.9), transparent);
    color: rgba(245, 240, 230, 0.9);
    font-family: var(--font-ui);
    font-size: var(--text-xs);
    font-weight: 500;
    text-align: center;
    letter-spacing: 1px;
    text-transform: uppercase;
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.4s var(--ease-out), transform 0.4s var(--ease-out);
    pointer-events: none;
}

.gallery-item:hover .gallery-caption {
    opacity: 1;
    transform: translateY(0);
}

@media (max-width: 768px) {
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .gallery-item--large {
        grid-column: span 2;
        grid-row: span 1;
    }
}

@media (max-width: 400px) {
    .gallery-grid {
        grid-template-columns: 1fr;
    }
    .gallery-item--large {
        grid-column: span 1;
    }
}

/* ============================================
   LIGHTBOX
   ============================================ */

.lightbox {
    position: fixed;
    inset: 0;
    z-index: 200;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(10, 8, 6, 0.95);
    backdrop-filter: blur(8px);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s var(--ease-out), visibility 0.4s var(--ease-out);
}

.lightbox.open {
    opacity: 1;
    visibility: visible;
}

.lightbox-img {
    max-width: 90vw;
    max-height: 85vh;
    border-radius: var(--radius-sm);
    box-shadow: 0 40px 100px rgba(0, 0, 0, 0.6);
    transform: scale(0.9);
    transition: transform 0.4s var(--ease-out);
}

.lightbox.open .lightbox-img {
    transform: scale(1);
}

.lightbox-close {
    position: absolute;
    top: var(--space-6);
    right: var(--space-6);
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: none;
    border: 1px solid rgba(245, 240, 230, 0.3);
    border-radius: 50%;
    color: rgba(245, 240, 230, 0.8);
    cursor: pointer;
    transition: var(--transition);
}

.lightbox-close:hover {
    color: var(--gold-text);
    border-color: var(--gold-text);
}

.lightbox-close svg {
    width: 20px;
    height: 20px;
}

.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: none;
    border: 1px solid rgba(245, 240, 230, 0.2);
    border-radius: 50%;
    color: rgba(245, 240, 230, 0.6);
    cursor: pointer;
    transition: var(--transition);
}

.lightbox-nav:hover {
    color: var(--gold-text);
    border-color: var(--gold-text);
}

.lightbox-prev { left: var(--space-6); }
.lightbox-next { right: var(--space-6); }

.lightbox-nav svg {
    width: 24px;
    height: 24px;
}

@media (max-width: 600px) {
    .lightbox-nav {
        width: 36px;
        height: 36px;
    }
    .lightbox-prev { left: var(--space-3); }
    .lightbox-next { right: var(--space-3); }
}

/* ============================================
   CONTACT
   ============================================ */

.contact-section {
    background: var(--color-surface);
    text-align: center;
    padding-block: clamp(var(--space-12), 5vw, var(--space-20));
}

.contact-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: var(--space-4);
    margin-top: var(--space-8);
}

.contact-link {
    display: inline-flex;
    align-items: center;
    gap: var(--space-3);
    color: var(--color-text);
    text-decoration: none;
    font-family: var(--font-ui);
    font-size: var(--text-sm);
    font-weight: 600;
    padding: var(--space-3) var(--space-5);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-full);
    transition: var(--transition);
}

.contact-link:hover {
    color: var(--gold-text);
    border-color: var(--gold-text);
    background: var(--gold-glow);
    transform: translateY(-2px);
}

.contact-link svg {
    width: 18px;
    height: 18px;
    color: var(--gold-text);
}

/* ============================================
   FOOTER
   ============================================ */

.site-footer {
    text-align: center;
    padding: var(--space-10) var(--space-6);
    border-top: 1px solid var(--color-divider);
    background: var(--color-bg);
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: var(--space-4) var(--space-6);
    margin-bottom: var(--space-6);
}

.footer-link {
    font-family: var(--font-ui);
    font-size: var(--text-xs);
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--color-text-muted);
    text-decoration: none;
    transition: var(--transition);
}

.footer-link:hover {
    color: var(--gold-text);
}

.footer-divider {
    width: 60px;
    height: 1px;
    background: var(--color-divider);
    margin: 0 auto var(--space-6);
}

.visit-counter {
    margin-bottom: var(--space-4);
}

.visit-badge {
    display: inline-flex;
    align-items: center;
    gap: var(--space-3);
    padding: var(--space-2) var(--space-5);
    background: var(--color-surface-2);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-full);
    font-family: var(--font-ui);
}

.visit-badge-label {
    font-size: var(--text-xs);
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--color-text-faint);
}

.visit-badge-numbers {
    display: inline-flex;
    align-items: center;
    gap: var(--space-1);
}

.visit-badge-page {
    font-size: var(--text-sm);
    font-weight: 700;
    color: var(--gold-text);
}

.visit-badge-sep {
    font-size: var(--text-xs);
    color: var(--color-text-faint);
}

.visit-badge-total {
    font-size: var(--text-sm);
    font-weight: 600;
    color: var(--color-text-muted);
}

.site-footer p {
    font-family: var(--font-ui);
    font-size: var(--text-xs);
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--color-text-faint);
    margin: 0;
}

/* ============================================
   TIMELINE (Enquête page)
   ============================================ */

.timeline {
    position: relative;
    max-width: var(--content-narrow);
    margin: var(--space-10) auto;
    padding-left: var(--space-8);
}

.timeline::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(to bottom, var(--gold), var(--gold-dark), transparent);
}

.timeline-item {
    position: relative;
    margin-bottom: var(--space-8);
    padding: var(--space-5) var(--space-6);
    background: var(--color-surface-2);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.timeline-item:hover {
    transform: translateX(4px);
    box-shadow: var(--shadow-card);
    border-color: var(--gold-text);
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: calc(-1 * var(--space-8) - 5px);
    top: var(--space-6);
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--gold);
    border: 3px solid var(--color-bg);
    box-shadow: 0 0 0 2px var(--gold);
    z-index: 1;
}

.timeline-date {
    font-family: var(--font-display);
    font-size: var(--text-sm);
    font-weight: 700;
    color: var(--gold-text);
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: var(--space-2);
}

.timeline-content {
    font-family: var(--font-body);
    font-size: var(--text-base);
    color: var(--color-text);
    line-height: 1.7;
}

/* ============================================
   DOCUMENT SECTIONS (Enquête page)
   ============================================ */

.page-wrapper {
    padding-top: 100px;
    padding-bottom: var(--space-16);
}

.page-content {
    max-width: var(--content-narrow);
    margin: 0 auto;
}

.page-content > h1 {
    font-family: var(--font-display);
    font-size: var(--text-2xl);
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--color-text);
    text-align: center;
    margin-bottom: var(--space-4);
}

.page-content > .divider {
    width: 60px;
    height: 2px;
    background: var(--gold);
    margin: 0 auto var(--space-4);
}

.doc-subtitle {
    font-family: var(--font-ui);
    font-size: var(--text-sm);
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--color-text-muted);
    text-align: center;
    margin-bottom: var(--space-8);
}

.ornament {
    text-align: center;
    margin: var(--space-8) 0;
    color: var(--gold-text);
}

.ornament svg {
    width: 32px;
    height: 32px;
    margin: 0 auto;
}

.doc-section {
    margin: var(--space-10) 0;
    line-height: 1.8;
}

.doc-section h2 {
    font-family: var(--font-display);
    font-size: var(--text-xl);
    color: var(--color-text);
    margin-bottom: var(--space-4);
    letter-spacing: 1px;
}

.doc-section h2 .number {
    color: var(--gold-text);
    margin-right: var(--space-3);
}

.doc-section p {
    font-family: var(--font-body);
    font-size: var(--text-base);
    line-height: 1.8;
    color: var(--color-text);
    margin-bottom: var(--space-4);
}

.doc-section strong {
    color: var(--gold-text);
    font-weight: 600;
}

.doc-section ul {
    list-style: none;
    padding: 0;
}

.doc-section ul li {
    position: relative;
    padding-left: var(--space-6);
    margin-bottom: var(--space-3);
    font-family: var(--font-body);
    font-size: var(--text-base);
    line-height: 1.7;
}

.doc-section ul li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 12px;
    width: 8px;
    height: 2px;
    background: var(--gold);
}

.highlight-box {
    border: 1px solid var(--gold);
    padding: var(--space-6) var(--space-8);
    background: var(--gold-glow);
    border-radius: var(--radius-sm);
    font-style: italic;
    margin: var(--space-6) 0;
    font-size: var(--text-lg);
    line-height: 1.7;
    color: var(--color-text);
    position: relative;
}

.highlight-box::before {
    content: '';
    position: absolute;
    top: -1px;
    left: var(--space-6);
    right: var(--space-6);
    height: 3px;
    background: var(--gold);
}

.highlight-box small {
    display: block;
    margin-top: var(--space-3);
    font-size: var(--text-xs);
    color: var(--color-text-faint);
    font-style: normal;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.back-btn {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    margin-top: var(--space-8);
    font-family: var(--font-ui);
    font-size: var(--text-sm);
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--color-text-muted);
    text-decoration: none;
    transition: var(--transition);
}

.back-btn:hover {
    color: var(--gold-text);
}

.back-btn svg {
    width: 18px;
    height: 18px;
}

/* ============================================
   CAMPING-CAR PAGE
   ============================================ */

.camping-hero {
    position: relative;
    min-height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
    padding: var(--space-20) var(--space-6);
}

.camping-logo {
    margin-bottom: var(--space-6);
}

.camping-logo img {
    width: 200px;
    height: auto;
    border-radius: 50%;
    margin: 0 auto;
    border: 3px solid var(--gold);
    box-shadow: 0 0 40px rgba(197, 160, 89, 0.35);
}

.camping-title {
    font-family: var(--font-display);
    font-size: var(--text-3xl);
    font-weight: 700;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: #f5f0e6;
    margin-bottom: var(--space-4);
    text-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
}

.camping-subtitle {
    font-family: var(--font-body);
    font-size: var(--text-xl);
    color: var(--gold-text);
    margin-bottom: var(--space-4);
}

.camping-quote {
    font-family: var(--font-body);
    font-size: var(--text-lg);
    font-style: italic;
    color: rgba(245, 240, 230, 0.85);
}

.specs-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-4);
    margin-top: var(--space-10);
}

.spec-card {
    text-align: center;
    padding: var(--space-8) var(--space-4);
    background: var(--color-surface-2);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    transition: var(--transition);
}

.spec-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-card);
    border-color: var(--gold-text);
}

.spec-card h3 {
    font-family: var(--font-display);
    font-size: var(--text-sm);
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--gold-text);
    margin-bottom: var(--space-3);
}

.spec-card p {
    font-family: var(--font-body);
    font-size: var(--text-base);
    color: var(--color-text);
    line-height: 1.6;
}

@media (max-width: 600px) {
    .specs-grid {
        grid-template-columns: 1fr;
    }
}

/* ============================================
   SECTION TRANSITION
   ============================================ */

.section-transition {
    height: 1px;
    background: linear-gradient(to right, transparent, var(--color-divider), transparent);
    margin: 0;
}

/* ============================================
   SCROLL REVEAL ANIMATIONS
   ============================================ */

.reveal,
.reveal-left,
.reveal-right,
.reveal-scale {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}

.reveal-left {
    transform: translateX(-40px);
}

.reveal-right {
    transform: translateX(40px);
}

.reveal-scale {
    transform: scale(0.95);
}

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

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }
