@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;0,600;0,700;1,400&family=Outfit:wght@300;400;500;600;700&display=swap');

:root {
    /* Core Palette: Deep Heritage Gold on Midnight */
    --bg-deep: #030303;
    --bg-surface: #0a0a0a;
    --accent-gold: #d4af37;
    /* Real Gold Hex */
    --accent-gold-rgb: 212, 175, 55;
    --accent-glow: rgba(var(--accent-gold-rgb), 0.12);

    /* Text Stack */
    --text-high: #fdfdfd;
    --text-mid: #b4b4b4;
    --text-low: #707070;

    /* Heritage System */
    --glass-bg: rgba(10, 10, 10, 0.85);
    --glass-border: rgba(var(--accent-gold-rgb), 0.15);
    --glass-highlight: rgba(255, 255, 255, 0.05);

    /* --- Fluid Typography & Scale --- */
    /* Removed --fs-h1, --fs-h2, --fs-h3, --fs-body as they are now directly applied */

    /* Animation Tokens */
    --ease-premium: cubic-bezier(0.19, 1, 0.22, 1);
    --transition: all 0.7s var(--ease-premium);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-font-smoothing: antialiased;
}

html {
    scroll-behavior: smooth;
    background-color: var(--bg-deep);
}

/* --- Base --- */
body {
    background-color: var(--bg-deep);
    color: var(--text-high);
    font-family: 'Outfit', sans-serif;
    line-height: 1.6;
    overflow-x: hidden;
    /* Safety against wiggle */
    -webkit-font-smoothing: antialiased;
}

h1 {
    font-size: clamp(3.5rem, 10vw, 6.5rem);
}

h2 {
    font-size: clamp(2.2rem, 6vw, 3.8rem);
}

h3 {
    font-size: clamp(1.4rem, 4vw, 2rem);
}

p {
    font-size: clamp(1rem, 1.2vw, 1.15rem);
}

h1,
h2,
h3,
h4 {
    font-family: 'Cormorant Garamond', serif;
    font-weight: 600;
    color: var(--text-high);
    line-height: 1.1;
    letter-spacing: -0.01em;
}

.container {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 5%;
    overflow: hidden;
    /* Prevent horizontal scroll */
}

/* Specific styling for Heritage highlights */
.text-gradient {
    background: linear-gradient(135deg, #fff 0%, var(--accent-gold) 50%, #fff 100%);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 700;
    display: inline-block;
}

.section-padding {
    padding: clamp(3rem, 8vh, 6rem) 0;
}

/* Heritage Pattern Overlay */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: radial-gradient(circle at 2px 2px, rgba(var(--accent-gold-rgb), 0.03) 1px, transparent 0);
    background-size: 40px 40px;
    z-index: -1;
    pointer-events: none;
}