@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('../fonts/inter-var-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
    U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193,
    U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('../fonts/inter-var-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF,
    U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020,
    U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('../fonts/cormorant-500-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
    U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193,
    U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('../fonts/cormorant-500-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF,
    U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020,
    U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('../fonts/cormorant-600-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
    U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193,
    U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('../fonts/cormorant-600-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF,
    U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020,
    U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('../fonts/cormorant-700-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
    U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193,
    U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('../fonts/cormorant-700-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF,
    U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020,
    U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: 'Cormorant-fallback';
  src: local('Georgia');
  size-adjust: 86%;
  ascent-override: 107%;
  descent-override: 33%;
  line-gap-override: 0%;
}

@font-face {
  font-family: 'Inter-fallback';
  src: local('Arial');
  size-adjust: 107.4%;
  ascent-override: 90.2%;
  descent-override: 22.48%;
  line-gap-override: 0%;
}

:root {

  --ng-surface: #0b0a08;        
  --ng-surface-raised: #16130f; 
  --ng-line: #3a3226;           
  --ng-gold: #c9a55a;           
  --ng-gold-bright: #e6c778;    
  --ng-on-gold: #1a1408;        
  --ng-ink: #f4ede0;            
  --ng-ink-muted: #b5aa97;      
  --ng-positive: #6cc197;
  --ng-negative: #e8826f;

  --ng-accent-rgb: 201, 165, 90;
  --ng-accent-bright-rgb: 230, 199, 120;
  --ng-surface-rgb: 11, 10, 8;
  --ng-ink-rgb: 244, 237, 224;
  --ng-surface-deep: #0f0d0a;
  --bca-alert-line: #5a4a2a;

  --bca-dark-green: #0b0a08;
  --bca-teal: #c9a55a;
  --bca-mint: #e6c778;
  --bca-black: #000000;
  --bca-white: #f4ede0;

  --bca-teal-50: #1c1710;
  --bca-teal-100: #2a2215;
  --bca-teal-200: #e6c778;
  --bca-teal-300: #d9b96b;
  --bca-teal-400: #c9a55a;
  --bca-teal-500: #b8964f;
  --bca-teal-600: #c9a55a;
  --bca-teal-700: #e6c778;
  --bca-teal-800: #0b0a08;
  --bca-teal-900: #1a1408;  

  --bca-ink-900: #f4ede0;
  --bca-ink-800: #ebe3d4;
  --bca-ink-700: #d8cebd;
  --bca-ink-600: #c4b9a6;
  --bca-ink-500: #b5aa97;
  --bca-ink-400: #8f8574;
  --bca-ink-300: #5a5042;
  --bca-ink-200: #3a3226;
  --bca-ink-100: #221d17;
  --bca-ink-50: #16130f;

  --bca-win: #6cc197;
  --bca-loss: #e8826f;
  --bca-warn: #e6c778;
  --bca-info: #8fb8d0;

  --bca-cta: #c9a55a;
  --bca-cta-hover: #e6c778;
  --bca-star: #c9a55a;
  --bca-star-empty: #3a3226;

  --fg-1: var(--ng-ink);
  --fg-2: #d8cebd;
  --fg-3: var(--ng-ink-muted);
  --fg-onbrand: var(--ng-ink);   
  --fg-oncta: var(--ng-on-gold); 

  --bg-page: var(--ng-surface);
  --bg-0: var(--ng-surface-raised);
  --bg-1: #1b1712;
  --bg-2: #221d17;
  --bg-brand: #0b0a08;
  --bg-accent: var(--ng-gold);
  --bg-soft: #1c1710;

  --border-1: var(--ng-line);
  --border-2: #4a4134;
  --border-strong: #8f8574;

  --font-display: 'Cormorant Garamond', 'Cormorant-fallback', Georgia, 'Times New Roman', serif;
  --font-body: 'Inter', 'Inter-fallback', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-ui: var(--font-body); 
  --font-mono: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;

  --fw-regular: 400;
  --fw-medium: 500;
  --fw-semi: 600;
  --fw-bold: 700;

  --fs-display: clamp(2.5rem, 1.5rem + 4vw, 4.5rem);
  --fs-h1: clamp(2.1rem, 1.5rem + 2.4vw, 3rem);
  --fs-h2: clamp(1.75rem, 1.35rem + 1.4vw, 2.25rem);
  --fs-h3: clamp(1.25rem, 1.1rem + 0.6vw, 1.5rem);
  --fs-h4: 1.25rem;
  --fs-lead: 1.125rem;
  --fs-body: 1rem;
  --fs-small: 0.875rem;
  --fs-micro: 0.75rem;

  --lh-tight: 1.1;
  --lh-snug: 1.25;
  --lh-normal: 1.5;
  --lh-loose: 1.7;

  --tr-tight: 0;
  --tr-eyebrow: 0.12em;

  --s-1: 4px;
  --s-2: 8px;
  --s-3: 12px;
  --s-4: 16px;
  --s-5: 20px;
  --s-6: 24px;
  --s-8: 32px;
  --s-10: 40px;
  --s-12: 48px;
  --s-16: 64px;
  --s-20: 80px;
  --s-24: 96px;

  --wrap: 1100px;
  --wrap-reading: 760px;
  --gutter: 20px;

  --r-xs: 2px;
  --r-sm: 4px;
  --r-md: 6px;
  --r-lg: 10px;
  --r-xl: 12px;
  --r-pill: 999px;

  --shadow-xs: 0 1px 2px rgba(0, 0, 0, 0.4);
  --shadow-sm: 0 2px 6px rgba(0, 0, 0, 0.35);
  --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.45);
  --shadow-lg: 0 16px 40px rgba(0, 0, 0, 0.55);
  --shadow-brand: 0 0 0 1px rgba(var(--ng-accent-rgb), 0.35);

  --ease-standard: cubic-bezier(0.2, 0, 0, 1);
  --ease-emph: cubic-bezier(0.2, 0.8, 0.2, 1);
  --dur-fast: 120ms;
  --dur-base: 200ms;
  --dur-slow: 320ms;
}

@media (min-width: 768px) {
  :root {
    --gutter: 32px;
  }
}

@media (min-width: 1024px) {
  :root {

    --gutter: 48px;
  }
}

@media (prefers-reduced-motion: reduce) {
  :root {
    --dur-fast: 1ms;
    --dur-base: 1ms;
    --dur-slow: 1ms;
  }
}
