/* ============================================
   JBS CONSULTATION — BASE STYLES
   Reset, brand tokens, typography
   Per brand guidelines (Page 6, 7)
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Manrope:wght@400;500;600;700;800&family=Fraunces:opsz,wght@9..144,300;9..144,400;9..144,500&display=swap');

:root {
    /* Cinematic palette — the selected direction */
    --ink: #0E0F0D;
    --ink-2: #161814;
    --ink-3: #1F221D;
    --forest: #183D36;
    --forest-light: #234C43;
    --emerald: #2E9B7E;
    --emerald-soft: #5AB89C;
    --sage: #B1CBB4;
    --sage-pale: #DCE6DC;
    --brass: #C79A6B;
    --brass-bright: #E0B98F;

    --paper: #F7F5EF;
    --paper-warm: #EDE9DE;
    --paper-deep: #DED8C7;

    --text-primary: #F7F5EF;
    --text-secondary: rgba(247, 245, 239, 0.7);
    --text-tertiary: rgba(247, 245, 239, 0.45);
    --text-dark: #0E0F0D;
    --text-dark-soft: #3A3D36;

    --rule-light: rgba(247, 245, 239, 0.12);
    --rule-medium: rgba(247, 245, 239, 0.22);
    --rule-dark: rgba(14, 15, 13, 0.15);

    --font-display: 'Fraunces', 'Georgia', serif;
    --font-heading: 'Manrope', 'Arial', sans-serif;
    --font-body: 'Inter', 'Arial', sans-serif;

    --space-xs: 0.5rem;
    --space-sm: 1rem;
    --space-md: 2rem;
    --space-lg: 4rem;
    --space-xl: 7rem;
    --space-2xl: 12rem;

    --max-width: 1400px;
    --ease-cinema: cubic-bezier(0.65, 0, 0.35, 1);
    --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    background-color: var(--ink);
    color: var(--text-primary);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }
a { text-decoration: none; color: inherit; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
ul { list-style: none; }

::selection {
    background-color: var(--brass);
    color: var(--ink);
}

::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--ink); }
::-webkit-scrollbar-thumb {
    background: var(--forest-light);
    border-radius: 0;
}
::-webkit-scrollbar-thumb:hover { background: var(--emerald); }

/* ============================================
   TYPOGRAPHY
   ============================================ */
.display {
    font-family: var(--font-display);
    font-weight: 300;
    font-size: clamp(2.75rem, 6.5vw, 5.75rem);
    line-height: 1.02;
    letter-spacing: -0.028em;
    color: var(--text-primary);
}
.display em {
    font-style: italic;
    font-weight: 300;
    color: var(--brass-bright);
}
.display-light { color: var(--text-dark); }
.display-light em { color: var(--emerald); }

.heading-lg {
    font-family: var(--font-display);
    font-weight: 400;
    font-size: clamp(1.875rem, 3.5vw, 3rem);
    line-height: 1.1;
    letter-spacing: -0.022em;
    color: var(--text-primary);
}
.heading-lg em {
    font-style: italic;
    color: var(--brass-bright);
}

.heading-md {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: clamp(1.125rem, 1.6vw, 1.375rem);
    line-height: 1.3;
    letter-spacing: -0.01em;
    color: var(--text-primary);
}

.heading-sm {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 1rem;
    line-height: 1.35;
    color: var(--text-primary);
}

.body-lg {
    font-size: clamp(1.0625rem, 1.3vw, 1.1875rem);
    line-height: 1.7;
    color: var(--text-secondary);
    font-weight: 300;
}

.body-base {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--text-secondary);
    font-weight: 300;
}

.body-sm {
    font-size: 0.8125rem;
    line-height: 1.6;
    color: var(--text-tertiary);
    font-weight: 400;
}

.eyebrow {
    font-family: var(--font-heading);
    font-weight: 500;
    font-size: 0.6875rem;
    letter-spacing: 0.28em;
    text-transform: uppercase;
    color: var(--brass);
    display: inline-flex;
    align-items: center;
    gap: 0.875rem;
}
.eyebrow::before {
    content: '';
    width: 32px;
    height: 1px;
    background-color: var(--brass);
    opacity: 0.6;
}
.eyebrow--dark { color: var(--forest); }
.eyebrow--dark::before { background-color: var(--forest); }

/* ============================================
   LAYOUT
   ============================================ */
.container {
    width: 100%;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 var(--space-md);
}

.container-narrow {
    width: 100%;
    max-width: 960px;
    margin: 0 auto;
    padding: 0 var(--space-md);
}

.grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-xl);
    align-items: center;
}

/* ============================================
   SCROLL REVEAL
   ============================================ */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 1.2s var(--ease-cinema), transform 1.2s var(--ease-cinema);
}
.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}
.reveal-delay-1 { transition-delay: 0.12s; }
.reveal-delay-2 { transition-delay: 0.24s; }
.reveal-delay-3 { transition-delay: 0.36s; }
.reveal-delay-4 { transition-delay: 0.48s; }