/* ==========================================================================
   base.css — Reset, custom properties, typography
   ========================================================================== */

:root {
    /* Colors */
    --c-bg:          #0A0B0E;
    --c-surface:     #151618;
    --c-surface2:    #1D1F22;
    --c-border:      #2A2C30;
    --c-text:        #EAE8E4;
    --c-text-dim:    #948F88;
    --c-accent:      #D4853D;
    --c-accent-hover:#E69B52;
    --c-accent-soft: rgba(212, 133, 61, 0.12);
    --c-gold:        #C9A95C;
    --c-white:       #FAF8F5;
    --c-error:       #E05C4D;
    --c-success:     #5CB06E;

    /* Fonts */
    --f-heading: 'Crimson Pro', Georgia, serif;
    --f-body:    'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;

    /* Spacing (8px grid) */
    --s-4:   0.25rem;
    --s-8:   0.5rem;
    --s-12:  0.75rem;
    --s-16:  1rem;
    --s-24:  1.5rem;
    --s-32:  2rem;
    --s-40:  2.5rem;
    --s-48:  3rem;
    --s-64:  4rem;
    --s-80:  5rem;
    --s-96:  6rem;
    --s-120: 7.5rem;

    /* Transitions */
    --ease: cubic-bezier(0.25, 0.46, 0.45, 0.94);
    --dur:  320ms;

    /* Layout */
    --max-w:    1200px;
    --header-h: 64px;

    /* Border Radius */
    --r-sm: 6px;
    --r-md: 12px;
    --r-lg: 16px;
}

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: calc(var(--header-h) + var(--s-24));
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: var(--f-body);
    font-size: 1rem;
    line-height: 1.7;
    color: var(--c-text);
    background-color: var(--c-bg);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: var(--c-accent-hover);
    text-decoration: none;
    transition: color var(--dur) var(--ease);
}

a:hover {
    color: var(--c-accent);
}

ul, ol {
    list-style: none;
}

button, input, select, textarea {
    font-family: inherit;
    font-size: inherit;
    color: inherit;
}

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

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--f-heading);
    font-weight: 600;
    line-height: 1.2;
    color: var(--c-white);
}

h1 {
    font-size: clamp(2rem, 4vw + 0.5rem, 3.25rem);
    font-weight: 700;
}

h2 {
    font-size: clamp(1.5rem, 3vw + 0.5rem, 2.25rem);
}

h3 {
    font-size: clamp(1.15rem, 2vw + 0.5rem, 1.5rem);
}

p {
    margin-bottom: var(--s-16);
}

p:last-child {
    margin-bottom: 0;
}

/* Eyebrow / Label */
.rz-eyebrow {
    display: block;
    font-family: var(--f-body);
    font-size: 0.8125rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--c-accent-hover);
    margin-bottom: var(--s-12);
}

/* Selection */
::selection {
    background: var(--c-accent-soft);
    color: var(--c-white);
}
