/*
 * ═══════════════════════════════════════════════════════════════
 * BLS GLOBAL STYLE GUIDE — staging.blakelearn.com
 * ═══════════════════════════════════════════════════════════════
 * Single source of truth for colors, fonts, and base tokens.
 * All pages should reference this file. Page-specific styles
 * stay in page <style> tags but MUST use these variables —
 * never redefine colors or font stacks locally.
 * ═══════════════════════════════════════════════════════════════
 */

/* ── FONTS ────────────────────────────────────────────────────
   Load order matters. These go before any page CSS.
   Preconnect tags should also be in <head> before this link.
   ──────────────────────────────────────────────────────────── */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,500;0,600;0,700;1,400;1,500&family=Raleway:wght@300;400;500;600;700;800&display=swap');

/* ── COLOR TOKENS ─────────────────────────────────────────────
   Use these everywhere. Do not hardcode hex in page CSS.
   ──────────────────────────────────────────────────────────── */
:root {
  /* Brand */
  --navy:           #0E3D66;   /* primary navy */
  --navy-dark:      #0A2F50;   /* darker navy for depth */
  --navy-deep:      #07213A;   /* deepest navy */
  --gold:           #D4A843;   /* primary gold */
  --gold-dark:      #B8902E;   /* gold hover / darker accent */
  --gold-soft:      #E8D598;   /* light gold tint */

  /* Neutral */
  --white:          #FFFFFF;
  --cream:          #F5F6F8;   /* light page background */
  --cream-warm:     #F7F4EE;   /* warmer cream for section alternates */
  --gray-border:    #E2E4EA;
  --gray-text:      #6B7280;
  --ink:            #1B2B5E;   /* dark body text */
  --ink-soft:       #374151;   /* secondary body text */

  /* ── TYPOGRAPHY STACKS ───────────────────────────────────────
     --font-serif  → headlines, display text
     --font-sans   → body, UI, labels
     --font-mono   → eyebrows, tags, small caps labels
     ─────────────────────────────────────────────────────────── */
  --font-serif:     'Playfair Display', Georgia, serif;
  --font-sans:      'Raleway', -apple-system, system-ui, sans-serif;
  --font-mono:      'Raleway', sans-serif;  /* Raleway in small-caps/tracked = mono feel */

  /* ── LAYOUT ──────────────────────────────────────────────── */
  --max-w:          1440px;
  --content-w:      1280px;
}

/* ── BASE RESET & DEFAULTS ───────────────────────────────────── */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-sans);
  color: var(--ink);
  background: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

input, button, select, textarea, a {
  font-family: var(--font-sans);
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

/* ── LAYOUT UTILITIES ───────────────────────────────────────── */
.container { max-width: var(--max-w); margin: 0 auto; padding: 0 50px; }
@media (max-width: 768px) { .container { padding: 0 24px; } }

/* Section backgrounds + spacing */
.sec-white { background: var(--white); padding: 80px 0; }
.sec-gray  { background: var(--cream); padding: 80px 0; border-top: 1px solid var(--gray-border); border-bottom: 1px solid var(--gray-border); }
.sec-navy  { background: var(--navy);  padding: 80px 0; }

/* Card grids */
.card-grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.card-grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.card-grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
@media (max-width: 900px) { .card-grid-3, .card-grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .card-grid-2, .card-grid-3, .card-grid-4 { grid-template-columns: 1fr; } }

/* ── TYPOGRAPHY UTILITIES ───────────────────────────────────── */
.section-label {
  font-size: 11px; font-weight: 700; letter-spacing: 0.15em;
  text-transform: uppercase; color: var(--gold); margin-bottom: 16px;
}
.section-h2 {
  font-family: var(--font-serif); font-size: clamp(28px, 3.5vw, 44px);
  font-weight: 700; color: var(--navy); line-height: 1.2; margin-bottom: 16px;
}
.section-h2-white {
  font-family: var(--font-serif); font-size: clamp(28px, 3.5vw, 44px);
  font-weight: 700; color: var(--white); line-height: 1.2; margin-bottom: 16px;
}
.section-body {
  font-size: 17px; color: var(--ink-soft); line-height: 1.85;
  max-width: 720px; margin-bottom: 24px;
}
.section-body-white {
  font-size: 17px; color: rgba(255,255,255,0.8); line-height: 1.85;
  max-width: 720px; margin-bottom: 24px;
}

/* ── BUTTONS ────────────────────────────────────────────────── */
.btn-primary {
  display: inline-block; background: var(--gold); color: var(--navy);
  padding: 14px 28px; border-radius: 50px; font-weight: 700; font-size: 15px;
  text-decoration: none; border: none; cursor: pointer;
  transition: background 0.2s, transform 0.15s;
}
.btn-primary:hover { background: var(--gold-dark); transform: translateY(-2px); }

.btn-outline-white {
  display: inline-block; background: transparent; color: var(--white);
  padding: 13px 28px; border-radius: 50px; font-weight: 700; font-size: 15px;
  text-decoration: none; border: 2px solid rgba(255,255,255,0.6);
  cursor: pointer; transition: all 0.2s;
}
.btn-outline-white:hover { background: rgba(255,255,255,0.15); border-color: var(--white); }

/* ── CTA STRIP ──────────────────────────────────────────────── */
.cta-strip { background: var(--navy); padding: 80px 0; text-align: center; }
.cta-strip-h2 {
  font-family: var(--font-serif); font-size: clamp(24px, 3vw, 40px);
  font-weight: 700; color: var(--white); margin-bottom: 16px; line-height: 1.2;
}
.cta-strip-sub { font-size: 17px; color: rgba(255,255,255,0.7); margin-bottom: 32px; }

/* ── FOOTER ─────────────────────────────────────────────────── */
footer { background: var(--white); border-top: 1px solid var(--gray-border); }
.footer-main { padding: 64px 0 48px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-desc { font-size: 14px; color: var(--gray-text); line-height: 1.7; }
.footer-col-title {
  font-size: 13px; font-weight: 700; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--navy); margin-bottom: 18px;
}
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-col ul li a { font-size: 14px; color: var(--ink-soft); text-decoration: none; transition: color 0.2s; }
.footer-col ul li a:hover { color: var(--gold); }
.social-link { display: flex; align-items: center; gap: 10px; font-size: 14px; color: var(--ink-soft); text-decoration: none; transition: color 0.2s; margin-bottom: 10px; }
.social-link:hover { color: var(--gold); }
.social-icon { width: 32px; height: 32px; border-radius: 6px; background: var(--cream); border: 1px solid var(--gray-border); display: flex; align-items: center; justify-content: center; font-size: 14px; font-weight: 700; color: var(--navy); flex-shrink: 0; }
.footer-bar { border-top: 1px solid var(--gray-border); padding: 20px 0; text-align: center; }
.footer-bar p { font-size: 13px; color: var(--gray-text); }

/* ── PAGE HERO (shared across all subpages) ──────────────────
   Exact style match to our-team header.
   Use these classes on every interior page hero section.
   ──────────────────────────────────────────────────────────── */
.page-hero-wrap {
  background: var(--navy);
  position: relative;
  padding: 120px 0 80px;
  overflow: hidden;
  min-height: 480px;
}
.page-hero-wrap::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(212,168,67,.12) 1px, transparent 1.5px);
  background-size: 28px 28px;
  opacity: .55;
  pointer-events: none;
}
.ph-corner {
  position: absolute;
  width: 28px; height: 28px;
  border: 1.5px solid var(--gold);
}
.ph-corner.tl { top: 120px; left: 56px; border-right: 0; border-bottom: 0; }
.ph-corner.tr { top: 120px; right: 56px; border-left: 0; border-bottom: 0; }
.ph-corner.bl { bottom: 40px; left: 56px; border-right: 0; border-top: 0; }
.ph-corner.br { bottom: 40px; right: 56px; border-left: 0; border-top: 0; }
.ph-meta {
  position: absolute;
  top: 70px; left: 50%;
  transform: translateX(-50%);
  display: flex; align-items: center; gap: 20px;
  color: var(--gold);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  z-index: 2;
  white-space: nowrap;
}
.ph-meta .ph-dot {
  width: 5px; height: 5px;
  background: var(--gold);
  border-radius: 50%;
}
.ph-inner {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 920px;
  margin: 0 auto;
  padding: 0 40px;
}
.ph-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  color: var(--gold);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  margin-bottom: 32px;
}
.ph-eyebrow::before,
.ph-eyebrow::after {
  content: '';
  width: 32px; height: 1px;
  background: var(--gold);
}
.ph-h1 {
  font-family: var(--font-serif);
  font-weight: 500;
  line-height: 1.02;
  letter-spacing: -0.02em;
  color: var(--white);
  font-size: clamp(44px, 4.96vw, 70px);
  margin: 0 0 28px 0;
}
.ph-h1 .it {
  font-style: italic;
  font-weight: 400;
  color: var(--gold);
}
.ph-blurb {
  font-size: clamp(16px, 1.2vw, 18px);
  line-height: 1.75;
  color: rgba(255,255,255,.78);
  max-width: 640px;
  margin: 0 auto;
  text-align: center;
}
@media (max-width: 720px) {
  .page-hero-wrap { padding: 24px 0 48px; }  /* body padding handles nav offset */
  .ph-corner.tl, .ph-corner.tr { top: 16px; }
  .ph-corner.tl, .ph-corner.bl { left: 16px; }
  .ph-corner.tr, .ph-corner.br { right: 16px; }
  .ph-corner.bl, .ph-corner.br { bottom: 16px; }
  .ph-corner { width: 18px; height: 18px; }
  .ph-meta { top: 30px; font-size: 10px; letter-spacing: 0.16em; }
  .ph-inner { padding: 0 24px; }
  .ph-h1 { font-size: clamp(36px, 8vw, 60px); }
}

/* ── NAV (shared across all pages) ──────────────────────────
   Canonical nav styles. Any page-local nav CSS is superseded
   by these rules. Do not redefine nav styles in page <style>.
   ──────────────────────────────────────────────────────────── */
#navbar { position: fixed; top: 12px; left: 12px; right: 12px; z-index: 1000; background: var(--white); border-radius: 50px; box-shadow: 0 2px 16px rgba(0,0,0,0.10); padding: 12px 40px; }
.nav-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.nav-logo { display: flex; align-items: center; gap: 10px; text-decoration: none; white-space: nowrap; flex-shrink: 0; }
.nav-links { display: flex; align-items: center; gap: 4px; list-style: none; flex: 1; justify-content: center; }
.nav-item { position: relative; }
.nav-item > a { font-size: 15px; font-weight: 500; color: var(--navy); text-decoration: none; padding: 8px 14px; border-radius: 8px; transition: background 0.2s, color 0.2s; display: flex; align-items: center; gap: 4px; white-space: nowrap; }
.nav-item > a:hover { color: var(--gold); background: rgba(212,168,67,0.08); }
.nav-item > span:hover { background: rgba(212,168,67,0.08); border-radius: 8px; }
.nav-item > a .caret, .nav-item > span .caret { font-size: 10px; transition: transform 0.2s; }
.nav-item:hover > a .caret, .nav-item:hover > span .caret { transform: rotate(180deg); }
.dropdown { display: block; visibility: hidden; opacity: 0; pointer-events: none; position: absolute; top: calc(100% + 8px); left: 50%; transform: translateX(-50%); min-width: 220px; background: var(--white); border-radius: 12px; box-shadow: 0 8px 40px rgba(14,61,102,0.15); padding: 8px 0; border: 1px solid var(--gray-border); z-index: 200; transition: opacity 0.15s ease, visibility 0.15s ease; }
.nav-item::after { content: ""; position: absolute; top: 100%; left: -10px; right: -10px; height: 12px; z-index: 199; display: none; }
.nav-item:hover::after { display: block; }
@media (hover: hover) { .nav-item:hover .dropdown { display: block; visibility: visible; opacity: 1; pointer-events: auto; } }
.dropdown a { display: block; padding: 10px 20px; font-size: 14px; font-weight: 500; color: var(--navy); text-decoration: none; transition: background 0.15s, color 0.15s; white-space: nowrap; }
.dropdown a:hover { background: rgba(212,168,67,0.1); color: var(--gold); }
.btn-nav { background: var(--gold) !important; color: var(--navy) !important; padding: 12px 26px !important; border-radius: 50px !important; font-weight: 700 !important; font-size: 15px !important; text-decoration: none !important; white-space: nowrap; flex-shrink: 0; }
.btn-nav:hover { background: var(--gold-dark) !important; }
.hamburger { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 4px; }
.hamburger span { display: block; width: 24px; height: 2px; background: var(--navy); border-radius: 2px; transition: all 0.3s; }
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
@media (max-width: 1024px) {
  /* #navbar mobile: full-width, no float, no radius */
  #navbar { top: 0; left: 0; right: 0; border-radius: 0; padding: 12px 20px; box-shadow: 0 2px 12px rgba(0,0,0,0.10); }
  body { padding-top: 68px; }
  .hamburger { display: flex; }
  .nav-links { display: none; position: absolute; top: calc(100% + 8px); left: 0; right: 0; background: var(--white); flex-direction: column; align-items: flex-start; padding: 16px 0 24px; box-shadow: 0 8px 30px rgba(27,43,94,0.12); border-radius: 16px; max-height: 80vh; overflow-y: auto; }
  .nav-links.open { display: flex; }
  .nav-item { width: 100%; }
  .nav-item > a, .nav-item > span { padding: 12px 24px !important; font-size: 16px !important; border-radius: 0 !important; display: flex !important; width: 100% !important; box-sizing: border-box; cursor: pointer !important; }
  .dropdown { display: none !important; position: static; transform: none; box-shadow: none; border: none; visibility: visible; opacity: 1; pointer-events: auto; padding: 0 0 0 16px; border-left: 3px solid var(--gold); margin: 0 24px 8px; transition: none; }
  .dropdown a { padding: 8px 16px; font-size: 14px; }
  .nav-item.mobile-open .dropdown { display: block !important; }
  .btn-nav { margin: 8px 24px 0; display: block; text-align: center; }
}

/* ── HERO SPECIFICITY OVERRIDES ──────────────────────────────
   Force hero styles to win over any embed component resets.
   These use .page-hero-wrap scope so they only apply in heroes.
   ──────────────────────────────────────────────────────────── */
.page-hero-wrap .ph-h1 {
  color: #ffffff !important;
  font-family: 'Playfair Display', Georgia, serif !important;
  font-size: clamp(44px, 4.96vw, 70px) !important;
  font-weight: 500 !important;
  line-height: 1.02 !important;
  letter-spacing: -0.02em !important;
  margin: 0 0 28px 0 !important;
}
.page-hero-wrap .ph-h1 .it {
  color: #D4A843 !important;
  font-style: italic !important;
  font-weight: 400 !important;
}
.page-hero-wrap .ph-blurb {
  color: rgba(255,255,255,.78) !important;
  text-align: center !important;
  margin: 28px auto 0 !important;
  max-width: 720px !important;
  font-size: clamp(16px, 1.2vw, 18px) !important;
  line-height: 1.75 !important;
}
.page-hero-wrap .ph-eyebrow {
  color: #D4A843 !important;
}
.page-hero-wrap .ph-meta {
  color: #D4A843 !important;
}

/* ═══════════════════════════════════════════════════════════════
   HEADING CONSOLIDATION — Added via Global Heading Manager
   ═══════════════════════════════════════════════════════════════
   Date: June 11, 2026
   Replaces inline styles from 14 pages
   Backups stored in: _backups/heading-consolidation-2026-06-11/
   ═══════════════════════════════════════════════════════════════ */

/* CTA Section White Heading — Raleway sans-serif for action sections */
.cta-h2-white {
  font-family: 'Raleway', sans-serif;
  font-size: clamp(28px, 3.2vw, 40px);
  font-weight: 700;
  color: #ffffff;
  margin: 0 0 12px;
  line-height: 1.18;
}

