/* Bearhead brand foundation — mirrors bearhead-site globals.css (live token values).
   Self-contained for Cloudflare Pages; ports into the Next marketing site as a component layer. */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&family=Cormorant+Garamond:wght@400;500;600&family=Syncopate:wght@400;700&display=swap');

:root {
  /* Colors — live values from bearhead-site */
  --teal: #1A3A4A;
  --teal-light: #2A5A6A;
  --warm-white: #F5F0E8;
  --terracotta: #B15036;
  --terracotta-hover: #9B4530;
  --charcoal: #2D2D2D;
  --charcoal-60: rgb(45 45 45 / 0.6);
  --charcoal-40: rgb(45 45 45 / 0.4);
  --line: rgb(45 45 45 / 0.12);

  /* Fonts */
  --font-heading: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-body: 'Cormorant Garamond', Georgia, serif;
  --font-accent: 'Syncopate', sans-serif;

  /* Radii */
  --radius-button: 8px;
  --radius-card: 12px;
  --radius-container: 16px;

  /* Shadows */
  --shadow-card: 0 2px 8px rgba(0, 0, 0, 0.04);
  --shadow-hover: 0 8px 24px rgba(0, 0, 0, 0.08);

  /* Status colors (report only — tuned to sit beside the palette) */
  --good: #3F7A5E;
  --warn: #C8893A;
  --bad: #B15036;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--warm-white);
  color: var(--charcoal);
  font-family: var(--font-body);
  font-weight: 500;
  font-size: clamp(1.0625rem, 0.95rem + 0.35vw, 1.1875rem);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  text-wrap: balance;
  margin: 0;
  color: inherit;
}

p { text-wrap: pretty; }

a { color: var(--terracotta); text-decoration: none; }
a:hover { color: var(--terracotta-hover); }

::selection { background: rgb(177 80 54 / 0.25); }

:focus-visible { outline: 2px solid var(--terracotta); outline-offset: 2px; }

/* Type scale */
.t-display { font-family: var(--font-heading); font-weight: 800; font-size: clamp(2.5rem, 1.5rem + 4vw, 4.5rem); line-height: 1; letter-spacing: -0.03em; }
.t-h1 { font-family: var(--font-heading); font-weight: 700; font-size: clamp(2rem, 1.5rem + 2vw, 3rem); line-height: 1.1; letter-spacing: -0.02em; }
.t-h2 { font-family: var(--font-heading); font-weight: 700; font-size: clamp(1.5rem, 1.25rem + 1vw, 2rem); line-height: 1.2; letter-spacing: -0.015em; }
.t-h3 { font-family: var(--font-heading); font-weight: 600; font-size: clamp(1.25rem, 1.1rem + 0.5vw, 1.5rem); line-height: 1.3; letter-spacing: -0.01em; }
.t-body-lg { font-size: clamp(1.125rem, 1rem + 0.25vw, 1.25rem); line-height: 1.6; }

/* Accent label — Syncopate, uppercase, terracotta */
.label {
  font-family: var(--font-accent);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--terracotta);
}

/* Buttons */
.btn {
  display: inline-block;
  font-family: var(--font-heading);
  font-weight: 600;
  padding: 1rem 2rem;
  border-radius: var(--radius-button);
  cursor: pointer;
  border: none;
  transition: transform 120ms cubic-bezier(0.25,0.46,0.45,0.94), box-shadow 120ms cubic-bezier(0.25,0.46,0.45,0.94), background 120ms;
}
.btn-primary { background: var(--terracotta); color: var(--warm-white); }
.btn-primary:hover { background: var(--terracotta-hover); color: var(--warm-white); transform: scale(1.02); box-shadow: var(--shadow-hover); }
.btn-secondary { background: transparent; color: var(--warm-white); border: 2px solid var(--warm-white); }
.btn-secondary:hover { background: var(--warm-white); color: var(--teal); }

/* Cards */
.card {
  background: var(--warm-white);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
  padding: 1.5rem;
}
.card-hover { transition: transform 180ms cubic-bezier(0.25,0.46,0.45,0.94), box-shadow 180ms; }
.card-hover:hover { transform: translateY(-2px); box-shadow: var(--shadow-hover); }

/* Layout */
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 1.5rem; }
.prose { max-width: 65ch; }

/* Section rhythm */
.sec { padding: clamp(3rem, 8vw, 6rem) 0; }
.sec-teal { background: var(--teal); color: var(--warm-white); }
.sec-warm { background: var(--warm-white); color: var(--charcoal); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
  html { scroll-behavior: auto; }
}
