/* ============================================================
   00-base.css — reset, CSS variables, base typography
   Disable last. Everything else depends on the variables here.
   ============================================================ */

:root {
  /* Colours */
  --c-ink: #1a1a1a;
  --c-ink-soft: #2b2b2b;
  --c-timber: #1e3a5f;          /* deep blue replaces dark timber for anchor sections */

  /* New brand palette: blue + green + hi-vis yellow */
  --c-blue: #1e3a5f;             /* primary brand — eyebrows, banners, links, hover */
  --c-blue-dark: #0f2540;        /* hover/active states */
  --c-blue-light: #3a6a91;       /* lighter accent, link hover on dark bg */
  --c-green: #2d6a4f;            /* primary CTA — action buttons, success */
  --c-green-dark: #1d4a35;       /* CTA hover */
  --c-yellow: #f9c74f;           /* hi-vis pop — stars, badges, status dot */
  --c-yellow-dark: #e0a82e;      /* yellow hover */

  /* Backwards-compat: anywhere that still says --c-amber gets the new blue */
  --c-amber: var(--c-blue);
  --c-amber-dark: var(--c-blue-dark);

  --c-bg: #f5f7f9;               /* slightly cooler bg to suit blue/green */
  --c-card: #eaeef2;
  --c-line: #d8dee5;
  --c-muted: #5d6772;
  --c-white: #ffffff;
  --c-success: #2d6a4f;

  /* Type — Inter is the site font; system fallback ensures graceful degrade */
  --f-display: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --f-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

  /* Spacing scale */
  --s-1: 4px;
  --s-2: 8px;
  --s-3: 16px;
  --s-4: 24px;
  --s-5: 32px;
  --s-6: 48px;
  --s-7: 64px;
  --s-8: 96px;
  --s-9: 128px;

  /* Layout */
  --container: 1280px;
  --radius: 6px;
  --radius-lg: 14px;

  /* Shadow */
  --shadow-sm: 0 1px 2px rgba(0,0,0,0.06), 0 2px 6px rgba(0,0,0,0.04);
  --shadow-md: 0 4px 12px rgba(0,0,0,0.08), 0 2px 4px rgba(0,0,0,0.04);
  --shadow-lg: 0 12px 30px rgba(0,0,0,0.12);
}

/* Reset */
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
img, svg, video { display: block; max-width: 100%; height: auto; }
button, input, textarea, select { font: inherit; color: inherit; }
button { cursor: pointer; }
a { color: inherit; text-decoration: none; }
ul, ol { margin: 0; padding: 0; list-style: none; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--f-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--c-ink);
  background: var(--c-bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4 {
  font-family: var(--f-display);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.01em;
  margin: 0 0 var(--s-3);
  color: var(--c-ink);
}

h1 { font-size: clamp(2.4rem, 5vw, 4rem); letter-spacing: -0.02em; }
h2 { font-size: clamp(1.8rem, 3.6vw, 2.6rem); }
h3 { font-size: clamp(1.25rem, 2vw, 1.5rem); }
h4 { font-size: 1.05rem; }

p { margin: 0 0 var(--s-3); }

.eyebrow {
  display: inline-block;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--c-amber-dark);
  margin-bottom: var(--s-3);
}

/* Buttons — modern pill style */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--s-2);
  padding: 13px 26px;
  border-radius: 999px;            /* full pill */
  border: 1.5px solid transparent;
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0;
  text-transform: none;            /* sentence case, not SHOUTING */
  transition: transform 0.18s ease, background 0.18s ease, color 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
  white-space: nowrap;
  box-shadow: 0 1px 2px rgba(15, 37, 64, 0.06);
}
.btn:hover { transform: translateY(-1px); box-shadow: 0 6px 18px rgba(15, 37, 64, 0.16); }
.btn:active { transform: translateY(0); box-shadow: 0 1px 2px rgba(15, 37, 64, 0.08); }

.btn-primary { background: var(--c-green); color: var(--c-white); }
.btn-primary:hover { background: var(--c-green-dark); }

.btn-yellow { background: var(--c-yellow); color: var(--c-ink); }
.btn-yellow:hover { background: var(--c-yellow-dark); }

.btn-dark { background: var(--c-ink); color: var(--c-white); }
.btn-dark:hover { background: var(--c-timber); }

.btn-ghost { background: transparent; color: var(--c-ink); border-color: var(--c-ink); }
.btn-ghost:hover { background: var(--c-ink); color: var(--c-white); }

.btn-light { background: var(--c-white); color: var(--c-ink); }
.btn-light:hover { background: var(--c-card); }

/* Visually hidden */
.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}
