/* ============================================================
   00-base.css — reset, CSS variables, base typography
   Big Bear Marketing Website
   Brand: #1A1A1A black, #FFD700 yellow, #15612D green, #0F3B5F navy
   Font: Montserrat (Google Fonts, loaded in index.html)
   ============================================================ */

:root {
  /* Brand colours */
  --c-black:       #1A1A1A;
  --c-black-soft:  #2b2b2b;
  --c-navy:        #0F3B5F;
  --c-navy-dark:   #082840;
  --c-navy-light:  #1a5a8a;
  --c-green:       #15612D;
  --c-green-dark:  #0e4420;
  --c-yellow:      #FFD700;
  --c-yellow-dark: #e0bb00;

  /* Surface colours */
  --c-bg:    #f4f6f9;
  --c-card:  #eaeef3;
  --c-line:  #d5dce6;
  --c-muted: #5a6472;
  --c-white: #ffffff;
  --c-ink:   var(--c-black);

  /* Typography */
  --f-display: "Montserrat", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --f-body:    "Montserrat", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

  /* Spacing scale (4-point base) */
  --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:  1240px;
  --radius:     6px;
  --radius-lg: 14px;

  /* Shadows */
  --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.65;
  color: var(--c-ink);
  background: var(--c-bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ---- Headings ---- */
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); }
p:last-child { margin-bottom: 0; }

/* ---- Eyebrow labels ---- */
.eyebrow {
  display: inline-block;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--c-navy);
  margin-bottom: var(--s-3);
}

/* ---- Buttons — pill style ---- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--s-2);
  padding: 13px 28px;
  border-radius: 999px;
  border: 1.5px solid transparent;
  font-family: var(--f-body);
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.01em;
  white-space: nowrap;
  transition:
    transform 0.18s ease,
    background 0.18s ease,
    color 0.18s ease,
    border-color 0.18s ease,
    box-shadow 0.18s ease;
  box-shadow: 0 1px 2px rgba(15, 59, 95, 0.06);
}
.btn:hover { transform: translateY(-1px); box-shadow: 0 6px 18px rgba(15, 59, 95, 0.18); }
.btn:active { transform: translateY(0); box-shadow: 0 1px 2px rgba(15, 59, 95, 0.08); }
.btn:focus-visible {
  outline: 3px solid var(--c-yellow);
  outline-offset: 2px;
}

.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-black); }
.btn-yellow:hover { background: var(--c-yellow-dark); }

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

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

.btn-ghost-light { background: transparent; color: var(--c-white); border-color: rgba(255,255,255,0.6); }
.btn-ghost-light:hover { background: var(--c-white); color: var(--c-navy); }

/* ---- Visually hidden (screen-reader only) ---- */
.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;
}


/* ============================================================
   Skip link — keyboard accessibility
   ============================================================ */
.skip-link {
  position: absolute;
  top: 8px;
  left: 8px;
  background: var(--c-yellow);
  color: var(--c-black);
  padding: 10px 18px;
  border-radius: 6px;
  font-weight: 700;
  text-decoration: none;
  z-index: 9999;
  transform: translateY(-200%);
  transition: transform 0.2s ease;
}
.skip-link:focus {
  transform: translateY(0);
  outline: 3px solid var(--c-navy);
  outline-offset: 2px;
}
