/* Hunt Venture Safaris — design tokens for huntventuresafaris.com
   Mirrors the design system's tokens.json. Dark (brand) theme is the default;
   light (bone) applies via [data-theme="light"] or the OS preference. */
:root, [data-theme="dark"] {
  color-scheme: dark;
  --field: #1B211E;
  --field-deep: #141916;
  --panel: #252E29;
  --panel-raised: #2E3833;
  --ink: #F4F1EA;
  --ink-muted: #B5BCB4;
  --brass: #C9A45C;
  --brass-rule: #C9A45C;
  --brass-bright: #E3C47F;
  --crimson: #BD2030;
  --crimson-hover: #A51B29;
  --on-crimson: #FFFFFF;
  --crimson-on-dark: #F47A82;
  --line: #38443D;
  --line-strong: #7C877F;
  --plate: #F4F1EA;
  --graphite: #5A5A5D;
  --brand-field: #1B211E;
  --success: #8CCBD3;
  --warn: #E3B66A;
  --danger: var(--crimson-on-dark);
  --glass: rgba(27, 33, 30, 0.72);
  --scrim: rgba(20, 25, 22, 0.62);
  --shadow-float: 0 8px 24px #00000066;
  --shadow-focus: 0 0 0 2px #1b211e, 0 0 0 4px #e3c47f;
}

[data-theme="light"] {
  color-scheme: light;
  --field: #F4F1EA;
  --field-deep: #E7E4DC;
  --panel: #FBF9F5;
  --panel-raised: #FFFFFF;
  --ink: #1B211E;
  --ink-muted: #545B56;
  --brass: #735824;
  --brass-rule: #9A7A3A;
  --brass-bright: #735824;
  --crimson-on-dark: #BD2030;
  --line: #DDD7CA;
  --line-strong: #7D776B;
  --success: #1F6E7A;
  --warn: #8A5A00;
  --glass: rgba(244, 241, 234, 0.78);
  --shadow-float: 0 8px 24px #1b211e1f;
  --shadow-focus: 0 0 0 2px #f4f1ea, 0 0 0 4px #735824;
}

@media (prefers-color-scheme: light) {
  :root:not([data-theme="dark"]) {
    color-scheme: light;
    --field: #F4F1EA;
    --field-deep: #E7E4DC;
    --panel: #FBF9F5;
    --panel-raised: #FFFFFF;
    --ink: #1B211E;
    --ink-muted: #545B56;
    --brass: #735824;
    --brass-rule: #9A7A3A;
    --brass-bright: #735824;
    --crimson-on-dark: #BD2030;
    --line: #DDD7CA;
    --line-strong: #7D776B;
    --success: #1F6E7A;
    --warn: #8A5A00;
    --glass: rgba(244, 241, 234, 0.78);
    --shadow-float: 0 8px 24px #1b211e1f;
    --shadow-focus: 0 0 0 2px #f4f1ea, 0 0 0 4px #735824;
  }
}

:root {
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 24px;
  --space-6: 32px;
  --space-7: 48px;
  --space-8: 64px;
  --space-9: 96px;
  --space-10: 128px;
  --radius-0: 0px;
  --radius-1: 2px;
  --radius-2: 4px;
  --radius-full: 9999px;
  --container-max: 1200px;
  --text-max: 680px;
  --gutter: 24px;
  --target-min: 44px;
  --nav-height: 64px;
  --rule-width: 1px;
  --focus-width: 2px;
  --z-nav: 100;
  --z-menu: 110;
  --duration-quick: 150ms;
  --duration-base: 240ms;
  --duration-reveal: 900ms;
  --ease-out: cubic-bezier(0.2, 0.7, 0.2, 1);
  --font-display: "Libre Caslon Display", "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  --font-sans: "Public Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  --font-ui: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", "Helvetica Neue", Arial, sans-serif;
}

@media (prefers-reduced-motion: reduce) {
  :root { --duration-quick: 0ms; --duration-base: 0ms; --duration-reveal: 0ms; }
}

/* Type styles */
.display { font-family: var(--font-display); font-size: 64px; line-height: 68px; font-weight: 400; letter-spacing: -0.01em; }
.h1 { font-family: var(--font-display); font-size: 48px; line-height: 54px; font-weight: 400; letter-spacing: -0.005em; }
.h2 { font-family: var(--font-display); font-size: 36px; line-height: 42px; font-weight: 400; }
.h3 { font-family: var(--font-sans); font-size: 22px; line-height: 28px; font-weight: 600; }
.eyebrow { font-family: var(--font-sans); font-size: 13px; line-height: 16px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--brass); }
.lead { font-family: var(--font-sans); font-size: 20px; line-height: 32px; font-weight: 400; }
.body { font-family: var(--font-sans); font-size: 17px; line-height: 28px; font-weight: 400; }
.body-small { font-family: var(--font-sans); font-size: 15px; line-height: 24px; font-weight: 400; }
.label { font-family: var(--font-sans); font-size: 15px; line-height: 20px; font-weight: 600; }
.caption { font-family: var(--font-sans); font-size: 13px; line-height: 20px; font-weight: 500; }
.data { font-family: var(--font-sans); font-size: 17px; line-height: 24px; font-weight: 600; font-variant-numeric: tabular-nums lining-nums; }
.data-lg { font-family: var(--font-sans); font-size: 32px; line-height: 36px; font-weight: 600; letter-spacing: -0.01em; font-variant-numeric: tabular-nums lining-nums; }
.scientific { font-family: var(--font-sans); font-size: 15px; line-height: 24px; font-weight: 400; font-style: italic; color: var(--ink-muted); }

@media (max-width: 767px) {
  .display { font-size: 44px; line-height: 48px; }
  .h1 { font-size: 36px; line-height: 42px; }
  .h2 { font-size: 30px; line-height: 36px; }
}
