@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&family=Lora:wght@400;600;700&display=swap');

/* =========================================
   CSS VARIABLES
   ========================================= */
:root {
  --primary:       #2563EB;
  --primary-dark:  #1D4ED8;
  --primary-hover: #1E40AF;
  --primary-light: #EFF6FF;
  --primary-muted: #DBEAFE;
  --accent:        #0EA5E9;
  --accent-light:  #E0F2FE;
  --graphite:      #374151;
  --graphite-dark: #1F2937;
  --dark:          #111827;
  --gray:          #6B7280;
  --gray-light:    #9CA3AF;
  --light-gray:    #F9FAFB;
  --border:        #E5E7EB;
  --border-light:  #F3F4F6;
  --white:         #FFFFFF;
  --success:       #10B981;
  --success-light: #ECFDF5;
  --warning:       #F59E0B;
  --error:         #EF4444;
  --shadow-sm:     0 1px 3px rgba(0,0,0,.06), 0 1px 2px rgba(0,0,0,.04);
  --shadow:        0 4px 16px rgba(0,0,0,.07);
  --shadow-md:     0 8px 30px rgba(0,0,0,.09);
  --shadow-lg:     0 16px 48px rgba(37,99,235,.12);
  --radius-sm:     6px;
  --radius:        10px;
  --radius-lg:     16px;
  --radius-xl:     24px;
  --transition:    all .22s ease;
}

/* =========================================
   RESET
   ========================================= */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: 'Inter', sans-serif;
  color: var(--graphite);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
input, textarea, select { font-family: inherit; font-size: inherit; }

/* =========================================
   TYPOGRAPHY
   ========================================= */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Inter', sans-serif;
  color: var(--dark);
  line-height: 1.25;
  font-weight: 700;
}
h1 { font-size: clamp(1.85rem, 3.5vw, 2.8rem); }
h2 { font-size: clamp(1.5rem, 2.8vw, 2.1rem); }
h3 { font-size: clamp(1.15rem, 2vw, 1.5rem); }
h4 { font-size: 1.15rem; }
h5 { font-size: 1rem; }
p  { color: var(--graphite); line-height: 1.75; margin-bottom: 1rem; }
p:last-child { margin-bottom: 0; }

.lead {
  font-size: 1.15rem;
  color: var(--gray);
  line-height: 1.8;
  font-weight: 400;
}

.text-primary   { color: var(--primary) !important; }
.text-graphite  { color: var(--graphite) !important; }
.text-gray      { color: var(--gray) !important; }
.text-dark      { color: var(--dark) !important; }
.text-white     { color: var(--white) !important; }
.text-center    { text-align: center; }
.text-left      { text-align: left; }

.font-serif     { font-family: 'Lora', serif; }

/* =========================================
   LAYOUT
   ========================================= */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}
.container-sm  { max-width: 860px;  margin: 0 auto; padding: 0 24px; }
.container-lg  { max-width: 1360px; margin: 0 auto; padding: 0 24px; }

.section        { padding: 80px 0; }
.section-sm     { padding: 52px 0; }
.section-lg     { padding: 100px 0; }

.grid           { display: grid; }
.grid-2         { grid-template-columns: repeat(2, 1fr); gap: 32px; }
.grid-3         { grid-template-columns: repeat(3, 1fr); gap: 28px; }
.grid-4         { grid-template-columns: repeat(4, 1fr); gap: 24px; }
.grid-auto      { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 28px; }

.flex           { display: flex; }
.flex-center    { align-items: center; }
.flex-between   { justify-content: space-between; }
.flex-col       { flex-direction: column; }
.flex-wrap      { flex-wrap: wrap; }
.gap-1          { gap: 8px; }
.gap-2          { gap: 16px; }
.gap-3          { gap: 24px; }
.gap-4          { gap: 32px; }

.mt-1 { margin-top: 8px; }
.mt-2 { margin-top: 16px; }
.mt-3 { margin-top: 24px; }
.mt-4 { margin-top: 32px; }
.mt-5 { margin-top: 48px; }
.mb-1 { margin-bottom: 8px; }
.mb-2 { margin-bottom: 16px; }
.mb-3 { margin-bottom: 24px; }
.mb-4 { margin-bottom: 32px; }
.mb-5 { margin-bottom: 48px; }

/* =========================================
   BUTTONS
   ========================================= */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 28px;
  border-radius: var(--radius);
  font-size: 0.95rem;
  font-weight: 600;
  transition: var(--transition);
  white-space: nowrap;
  text-decoration: none;
  cursor: pointer;
}
.btn-primary {
  background: var(--primary);
  color: var(--white);
  border: 2px solid var(--primary);
}
.btn-primary:hover {
  background: var(--primary-dark);
  border-color: var(--primary-dark);
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(37,99,235,.3);
}
.btn-outline {
  background: transparent;
  color: var(--primary);
  border: 2px solid var(--primary);
}
.btn-outline:hover {
  background: var(--primary);
  color: var(--white);
  transform: translateY(-1px);
}
.btn-white {
  background: var(--white);
  color: var(--primary);
  border: 2px solid var(--white);
}
.btn-white:hover {
  background: var(--primary-light);
  border-color: var(--primary-light);
}
.btn-ghost {
  background: transparent;
  color: var(--graphite);
  border: 2px solid var(--border);
}
.btn-ghost:hover {
  border-color: var(--primary);
  color: var(--primary);
}
.btn-sm {
  padding: 8px 20px;
  font-size: 0.875rem;
}
.btn-lg {
  padding: 16px 36px;
  font-size: 1.05rem;
  border-radius: var(--radius-lg);
}
.btn-icon {
  width: 44px;
  height: 44px;
  padding: 0;
  justify-content: center;
  border-radius: 50%;
}

/* =========================================
   HEADER & NAVIGATION
   ========================================= */
.header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255,255,255,.96);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  transition: var(--transition);
}
.header.scrolled {
  box-shadow: var(--shadow);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
  gap: 24px;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  flex-shrink: 0;
}
.nav-logo-mark {
  width: 36px;
  height: 36px;
  background: var(--primary);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 800;
  font-size: 1.05rem;
  letter-spacing: -.5px;
}
.nav-logo-text {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--dark);
  letter-spacing: -.5px;
}
.nav-logo-text span {
  color: var(--primary);
}
.nav-menu {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
}
.nav-menu a {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 8px 14px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--graphite);
  border-radius: var(--radius-sm);
  transition: var(--transition);
  white-space: nowrap;
}
.nav-menu a:hover,
.nav-menu a.active {
  color: var(--primary);
  background: var(--primary-light);
}
.nav-dropdown {
  position: relative;
}
.nav-dropdown-menu {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  min-width: 240px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  padding: 8px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: var(--transition);
  z-index: 100;
}
.nav-dropdown:hover .nav-dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.nav-dropdown-menu a {
  display: block;
  padding: 10px 14px;
  font-size: 0.875rem;
  color: var(--graphite);
  border-radius: var(--radius-sm);
}
.nav-dropdown-menu a:hover {
  background: var(--primary-light);
  color: var(--primary);
}
.nav-cta {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
}
.hamburger span {
  width: 24px;
  height: 2px;
  background: var(--graphite);
  border-radius: 2px;
  transition: var(--transition);
  display: block;
}
.hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* =========================================
   HERO SECTIONS
   ========================================= */
.hero {
  background: var(--light-gray);
  padding: 80px 0 72px;
  overflow: hidden;
  position: relative;
}
.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.hero-content { max-width: 560px; }
.hero-eyebrow {
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--primary);
  margin-bottom: 20px;
  display: block;
}
.hero h1 {
  margin-bottom: 20px;
  color: var(--dark);
}
.hero-desc {
  font-size: 1.1rem;
  color: var(--gray);
  line-height: 1.8;
  margin-bottom: 36px;
}
.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}
.hero-image {
  position: relative;
}
.hero-image img {
  width: 100%;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
  object-fit: cover;
  aspect-ratio: 4/3;
}

/* Page hero (inner pages) */
.page-hero {
  background: linear-gradient(135deg, var(--light-gray) 0%, var(--primary-light) 100%);
  padding: 60px 0;
  border-bottom: 1px solid var(--border);
}
.page-hero h1 { font-size: clamp(1.6rem, 3vw, 2.2rem); margin-bottom: 12px; }
.page-hero .lead { max-width: 640px; }

/* =========================================
   BREADCRUMBS
   ========================================= */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  color: var(--gray);
  margin-bottom: 20px;
  flex-wrap: wrap;
}
.breadcrumb a { color: var(--primary); }
.breadcrumb a:hover { text-decoration: underline; }
.breadcrumb-sep { color: var(--gray-light); }

/* =========================================
   STATS STRIP
   ========================================= */
.stats-strip {
  background: var(--primary);
  padding: 40px 0;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: rgba(255,255,255,.15);
}
.stat-item {
  text-align: center;
  padding: 20px;
  background: transparent;
}
.stat-number {
  display: block;
  font-size: 2rem;
  font-weight: 800;
  color: var(--white);
  line-height: 1;
  margin-bottom: 6px;
}
.stat-label {
  font-size: 0.82rem;
  color: rgba(255,255,255,.75);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: .8px;
}

/* =========================================
   CARDS
   ========================================= */
.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: var(--transition);
}
.card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
  border-color: var(--primary-muted);
}
.card-body { padding: 28px; }
.card-img {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
}
.card-eyebrow {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 10px;
  display: block;
}
.card h3 { margin-bottom: 12px; font-size: 1.1rem; }
.card p  { font-size: 0.9rem; color: var(--gray); margin-bottom: 18px; line-height: 1.65; }
.card-link {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--primary);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: var(--transition);
}
.card-link:hover { gap: 10px; }

/* Icon card */
.icon-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: var(--transition);
}
.icon-card:hover {
  box-shadow: var(--shadow-md);
  border-color: var(--primary);
  transform: translateY(-2px);
}
.icon-card-icon {
  width: 52px;
  height: 52px;
  background: var(--primary-light);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}
.icon-card-icon svg {
  width: 24px;
  height: 24px;
  color: var(--primary);
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.icon-card h3 { margin-bottom: 10px; font-size: 1.05rem; }
.icon-card p  { font-size: 0.9rem; color: var(--gray); line-height: 1.65; }

/* Highlight card */
.highlight-card {
  background: var(--primary);
  color: var(--white);
  border-radius: var(--radius-lg);
  padding: 36px;
}
.highlight-card h3, .highlight-card p { color: var(--white); }
.highlight-card p { opacity: .85; }

/* =========================================
   SECTION HEADINGS
   ========================================= */
.section-header { max-width: 620px; }
.section-header.centered { margin: 0 auto; text-align: center; }
.section-eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--primary);
  margin-bottom: 12px;
}
.section-header h2 { margin-bottom: 14px; }
.section-header p { color: var(--gray); }

/* =========================================
   PANEL / DASHBOARD BLOCKS
   ========================================= */
.panel {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.panel-header {
  padding: 20px 28px;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--light-gray);
}
.panel-header h3 { font-size: 1rem; margin: 0; }
.panel-body { padding: 28px; }

.data-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
  border-bottom: 1px solid var(--border-light);
}
.data-row:last-child { border-bottom: none; padding-bottom: 0; }
.data-label { font-size: 0.9rem; color: var(--gray); }
.data-value {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--dark);
}
.data-value.up   { color: var(--success); }
.data-value.down { color: var(--error); }

/* =========================================
   TAGS / CATEGORIES
   ========================================= */
.tag {
  display: inline-flex;
  align-items: center;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 0.78rem;
  font-weight: 600;
  background: var(--primary-light);
  color: var(--primary);
  border: 1px solid var(--primary-muted);
}
.tag-gray {
  background: var(--light-gray);
  color: var(--gray);
  border-color: var(--border);
}

/* =========================================
   ACCORDION / FAQ
   ========================================= */
.accordion { border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--border); }
.accordion-item { border-bottom: 1px solid var(--border); }
.accordion-item:last-child { border-bottom: none; }
.accordion-trigger {
  width: 100%;
  padding: 20px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  background: var(--white);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--dark);
  text-align: left;
  transition: var(--transition);
  cursor: pointer;
  border: none;
}
.accordion-trigger:hover { background: var(--light-gray); color: var(--primary); }
.accordion-trigger.active { background: var(--primary-light); color: var(--primary); }
.accordion-icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  transition: transform .25s ease;
  color: var(--primary);
}
.accordion-trigger.active .accordion-icon { transform: rotate(180deg); }
.accordion-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height .35s ease;
}
.accordion-body.open { max-height: 800px; }
.accordion-content {
  padding: 0 24px 20px;
  font-size: 0.9rem;
  color: var(--gray);
  line-height: 1.75;
}

/* =========================================
   TABLES
   ========================================= */
.table-wrapper {
  overflow-x: auto;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
}
table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
}
thead { background: var(--light-gray); }
th {
  padding: 14px 18px;
  text-align: left;
  font-weight: 600;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: .6px;
  color: var(--graphite);
  border-bottom: 1px solid var(--border);
  white-space: nowrap;
}
td {
  padding: 14px 18px;
  color: var(--graphite);
  border-bottom: 1px solid var(--border-light);
}
tbody tr:last-child td { border-bottom: none; }
tbody tr:hover { background: var(--light-gray); }
.table-number { text-align: right; font-variant-numeric: tabular-nums; }

/* =========================================
   FORMS
   ========================================= */
.form-group { margin-bottom: 22px; }
.form-label {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--graphite);
  margin-bottom: 8px;
}
.form-label span { color: var(--error); }
.form-control {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  font-size: 0.9rem;
  color: var(--dark);
  background: var(--white);
  transition: var(--transition);
  outline: none;
}
.form-control:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(37,99,235,.1);
}
.form-control::placeholder { color: var(--gray-light); }
textarea.form-control {
  resize: vertical;
  min-height: 120px;
}
select.form-control { appearance: none; cursor: pointer; }

.form-check { display: flex; align-items: flex-start; gap: 10px; }
.form-check input[type="checkbox"] {
  width: 18px;
  height: 18px;
  margin-top: 2px;
  flex-shrink: 0;
  accent-color: var(--primary);
  cursor: pointer;
}
.form-check label { font-size: 0.875rem; color: var(--gray); line-height: 1.5; cursor: pointer; }
.form-check label a { color: var(--primary); }

/* =========================================
   ALERT / MESSAGE
   ========================================= */
.alert {
  padding: 16px 20px;
  border-radius: var(--radius);
  font-size: 0.9rem;
  font-weight: 500;
  display: flex;
  align-items: flex-start;
  gap: 12px;
}
.alert-success {
  background: var(--success-light);
  color: #065F46;
  border: 1px solid #A7F3D0;
}
.alert-info {
  background: var(--primary-light);
  color: var(--primary-hover);
  border: 1px solid var(--primary-muted);
}
.alert-warning {
  background: #FFFBEB;
  color: #92400E;
  border: 1px solid #FDE68A;
}

/* =========================================
   PROGRESS BAR
   ========================================= */
.progress-item { margin-bottom: 18px; }
.progress-label {
  display: flex;
  justify-content: space-between;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--graphite);
  margin-bottom: 7px;
}
.progress-bar-bg {
  height: 8px;
  background: var(--border);
  border-radius: 4px;
  overflow: hidden;
}
.progress-bar-fill {
  height: 100%;
  background: var(--primary);
  border-radius: 4px;
  transition: width .8s ease;
}

/* =========================================
   CHAPTER NAVIGATOR (SIDEBAR)
   ========================================= */
.content-layout {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 40px;
  align-items: start;
}
.sticky-sidebar {
  position: sticky;
  top: 88px;
}
.sidebar-nav {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.sidebar-nav-header {
  padding: 16px 20px;
  background: var(--light-gray);
  border-bottom: 1px solid var(--border);
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--graphite);
}
.sidebar-nav a {
  display: block;
  padding: 11px 20px;
  font-size: 0.875rem;
  color: var(--gray);
  border-bottom: 1px solid var(--border-light);
  transition: var(--transition);
}
.sidebar-nav a:last-child { border-bottom: none; }
.sidebar-nav a:hover, .sidebar-nav a.active {
  color: var(--primary);
  background: var(--primary-light);
  padding-left: 24px;
}

/* =========================================
   ARTICLE / CONTENT
   ========================================= */
.article-header { margin-bottom: 40px; }
.article-meta {
  display: flex;
  gap: 16px;
  align-items: center;
  font-size: 0.82rem;
  color: var(--gray);
  margin-bottom: 16px;
  flex-wrap: wrap;
}
.article-meta span { display: flex; align-items: center; gap: 5px; }
.article-body h2 {
  font-size: 1.5rem;
  margin: 40px 0 16px;
  padding-top: 24px;
  border-top: 2px solid var(--border);
  color: var(--dark);
}
.article-body h3 { font-size: 1.15rem; margin: 28px 0 12px; color: var(--dark); }
.article-body p  { margin-bottom: 18px; }
.article-body ul { margin: 16px 0; padding-left: 0; }
.article-body ul li {
  padding: 6px 0 6px 24px;
  position: relative;
  font-size: 0.95rem;
  color: var(--graphite);
  border-bottom: 1px solid var(--border-light);
}
.article-body ul li:last-child { border-bottom: none; }
.article-body ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 8px;
  height: 8px;
  background: var(--primary);
  border-radius: 50%;
}
.article-body ol { counter-reset: item; margin: 16px 0; padding-left: 0; }
.article-body ol li {
  counter-increment: item;
  padding: 8px 0 8px 36px;
  position: relative;
  font-size: 0.95rem;
  color: var(--graphite);
}
.article-body ol li::before {
  content: counter(item);
  position: absolute;
  left: 0;
  top: 8px;
  width: 24px;
  height: 24px;
  background: var(--primary);
  color: white;
  border-radius: 50%;
  font-size: 0.75rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}
.callout {
  background: var(--primary-light);
  border-left: 4px solid var(--primary);
  padding: 20px 24px;
  border-radius: 0 var(--radius) var(--radius) 0;
  margin: 28px 0;
}
.callout p { color: var(--primary-hover); margin-bottom: 0; font-size: 0.95rem; }
.callout-title { font-weight: 700; color: var(--primary); font-size: 0.875rem; text-transform: uppercase; letter-spacing: .5px; margin-bottom: 8px; }

/* =========================================
   TIMELINE
   ========================================= */
.timeline { position: relative; padding-left: 40px; }
.timeline::before {
  content: '';
  position: absolute;
  left: 14px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--border);
}
.timeline-item { position: relative; margin-bottom: 36px; }
.timeline-dot {
  position: absolute;
  left: -33px;
  top: 4px;
  width: 14px;
  height: 14px;
  background: var(--primary);
  border-radius: 50%;
  border: 3px solid var(--white);
  box-shadow: 0 0 0 2px var(--primary);
}
.timeline-year {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 4px;
}
.timeline-item h4 { margin-bottom: 6px; }
.timeline-item p { font-size: 0.875rem; color: var(--gray); }

/* =========================================
   TEAM CARDS
   ========================================= */
.team-card {
  text-align: center;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 36px 24px 28px;
  transition: var(--transition);
}
.team-card:hover {
  box-shadow: var(--shadow-md);
  border-color: var(--primary-muted);
}
.team-photo {
  width: 88px;
  height: 88px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 18px;
  border: 3px solid var(--primary-muted);
}
.team-name { font-size: 1.05rem; font-weight: 700; margin-bottom: 4px; }
.team-role { font-size: 0.85rem; color: var(--primary); font-weight: 600; margin-bottom: 12px; }
.team-bio  { font-size: 0.85rem; color: var(--gray); line-height: 1.65; }

/* =========================================
   CONTACT LAYOUT
   ========================================= */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 48px;
  align-items: start;
}
.contact-info-item {
  display: flex;
  gap: 16px;
  margin-bottom: 28px;
}
.contact-icon {
  width: 44px;
  height: 44px;
  background: var(--primary-light);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.contact-icon svg {
  width: 20px;
  height: 20px;
  stroke: var(--primary);
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.contact-info-item h4 { font-size: 0.9rem; margin-bottom: 4px; }
.contact-info-item p  { font-size: 0.9rem; color: var(--gray); margin: 0; }

/* =========================================
   FOOTER
   ========================================= */
.footer {
  background: var(--graphite-dark);
  color: rgba(255,255,255,.75);
  padding: 72px 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,.1);
}
.footer-brand p {
  color: rgba(255,255,255,.6);
  font-size: 0.875rem;
  line-height: 1.75;
  margin: 16px 0 24px;
}
.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
}
.footer-logo-mark {
  width: 34px;
  height: 34px;
  background: var(--primary);
  border-radius: 7px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 800;
  font-size: 1rem;
}
.footer-logo-text {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--white);
  letter-spacing: -.5px;
}
.footer-col h4 {
  color: var(--white);
  font-size: 0.875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 18px;
}
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul li a {
  color: rgba(255,255,255,.6);
  font-size: 0.875rem;
  transition: var(--transition);
}
.footer-col ul li a:hover { color: var(--white); padding-left: 4px; }
.footer-contact-item {
  display: flex;
  gap: 10px;
  margin-bottom: 14px;
  font-size: 0.875rem;
  color: rgba(255,255,255,.6);
  align-items: flex-start;
}
.footer-contact-item svg {
  width: 16px;
  height: 16px;
  stroke: var(--accent);
  fill: none;
  stroke-width: 2;
  flex-shrink: 0;
  margin-top: 2px;
}
.footer-bottom {
  padding: 24px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}
.footer-bottom p { font-size: 0.82rem; color: rgba(255,255,255,.45); margin: 0; }
.footer-bottom-links {
  display: flex;
  gap: 20px;
}
.footer-bottom-links a {
  font-size: 0.82rem;
  color: rgba(255,255,255,.45);
  transition: var(--transition);
}
.footer-bottom-links a:hover { color: rgba(255,255,255,.8); }

/* =========================================
   COOKIE BANNER
   ========================================= */
.cookie-banner {
  position: fixed;
  bottom: 24px;
  left: 24px;
  right: 24px;
  max-width: 600px;
  background: var(--graphite-dark);
  color: rgba(255,255,255,.9);
  padding: 20px 24px;
  border-radius: var(--radius-lg);
  box-shadow: 0 20px 60px rgba(0,0,0,.3);
  z-index: 9999;
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  transition: var(--transition);
}
.cookie-banner.hidden { opacity: 0; pointer-events: none; transform: translateY(20px); }
.cookie-banner p { font-size: 0.875rem; color: rgba(255,255,255,.75); margin: 0; flex: 1; min-width: 200px; }
.cookie-banner p a { color: var(--accent); }
.cookie-banner-btns { display: flex; gap: 10px; flex-shrink: 0; }

/* =========================================
   BG UTILITIES
   ========================================= */
.bg-white      { background: var(--white); }
.bg-light      { background: var(--light-gray); }
.bg-primary    { background: var(--primary); }
.bg-primary-light { background: var(--primary-light); }
.bg-graphite   { background: var(--graphite-dark); }

/* =========================================
   BLOG
   ========================================= */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.blog-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: var(--transition);
}
.blog-card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }
.blog-card-img {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
}
.blog-card-body { padding: 24px; }
.blog-card-meta {
  display: flex;
  gap: 12px;
  font-size: 0.78rem;
  color: var(--gray);
  margin-bottom: 10px;
}
.blog-card h3 { font-size: 1.05rem; margin-bottom: 10px; line-height: 1.4; }
.blog-card p  { font-size: 0.875rem; color: var(--gray); line-height: 1.65; }

/* =========================================
   DEFINITIONS / GLOSSARY
   ========================================= */
.def-list dt {
  font-weight: 700;
  color: var(--dark);
  padding: 14px 0 6px;
  border-top: 1px solid var(--border-light);
  font-size: 0.95rem;
}
.def-list dt:first-child { border-top: none; }
.def-list dd {
  padding: 0 0 12px 0;
  color: var(--gray);
  font-size: 0.9rem;
  line-height: 1.7;
}

/* =========================================
   POLICY PAGES
   ========================================= */
.policy-body {
  max-width: 780px;
  margin: 0 auto;
}
.policy-body h2 {
  font-size: 1.3rem;
  margin: 40px 0 14px;
  color: var(--dark);
  padding-top: 30px;
  border-top: 1px solid var(--border);
}
.policy-body h2:first-of-type { border-top: none; margin-top: 0; padding-top: 0; }
.policy-body h3 { font-size: 1.05rem; margin: 24px 0 10px; color: var(--graphite); }
.policy-body p  { font-size: 0.925rem; line-height: 1.8; color: var(--graphite); }
.policy-body ul { margin: 12px 0; padding-left: 22px; }
.policy-body ul li { font-size: 0.9rem; color: var(--graphite); line-height: 1.7; margin-bottom: 7px; list-style: disc; }
.policy-meta {
  background: var(--light-gray);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px 20px;
  font-size: 0.85rem;
  color: var(--gray);
  margin-bottom: 36px;
}
.policy-meta span { font-weight: 600; color: var(--graphite); }

/* =========================================
   KEY METRICS BLOCK
   ========================================= */
.metric-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px 28px;
  position: relative;
  overflow: hidden;
}
.metric-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--primary);
}
.metric-label { font-size: 0.78rem; font-weight: 600; text-transform: uppercase; letter-spacing: 1px; color: var(--gray); margin-bottom: 8px; }
.metric-value { font-size: 1.8rem; font-weight: 800; color: var(--dark); line-height: 1; margin-bottom: 4px; }
.metric-sub   { font-size: 0.8rem; color: var(--gray); }

/* =========================================
   TABS
   ========================================= */
.tabs { margin-bottom: 32px; }
.tab-list {
  display: flex;
  gap: 4px;
  border-bottom: 2px solid var(--border);
  margin-bottom: 28px;
  overflow-x: auto;
}
.tab-btn {
  padding: 12px 22px;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--gray);
  border-radius: var(--radius-sm) var(--radius-sm) 0 0;
  transition: var(--transition);
  white-space: nowrap;
  border: none;
  background: none;
  cursor: pointer;
  border-bottom: 2px solid transparent;
  margin-bottom: -2px;
}
.tab-btn.active, .tab-btn:hover { color: var(--primary); border-bottom-color: var(--primary); }
.tab-panel { display: none; }
.tab-panel.active { display: block; }

/* =========================================
   SUCCESS MESSAGE
   ========================================= */
.success-message {
  display: none;
  text-align: center;
  padding: 48px 32px;
}
.success-icon {
  width: 64px;
  height: 64px;
  background: var(--success-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}
.success-icon svg { width: 30px; height: 30px; stroke: var(--success); fill: none; stroke-width: 2.5; }
.success-message h3 { font-size: 1.4rem; margin-bottom: 10px; }
.success-message p  { color: var(--gray); }

/* =========================================
   FEATURED BAND
   ========================================= */
.featured-band {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-hover) 100%);
  padding: 72px 0;
  position: relative;
  overflow: hidden;
}
.featured-band::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.featured-band .container { position: relative; z-index: 1; }

/* =========================================
   RESPONSIVE
   ========================================= */
@media (max-width: 1024px) {
  .grid-4  { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .content-layout { grid-template-columns: 1fr; }
  .sticky-sidebar { position: static; }
}
@media (max-width: 768px) {
  .nav-menu, .nav-cta { display: none; }
  .hamburger { display: flex; }
  .nav-menu.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--white);
    border-bottom: 1px solid var(--border);
    padding: 16px 24px;
    gap: 4px;
    box-shadow: var(--shadow-md);
  }
  .nav-menu.open .nav-cta { display: flex; padding: 12px 0; }
  .nav-dropdown-menu { position: static; box-shadow: none; border: none; opacity: 1; visibility: visible; transform: none; padding: 4px 0 4px 16px; background: var(--light-gray); margin-top: 4px; border-radius: var(--radius); }
  .hero-inner { grid-template-columns: 1fr; gap: 40px; }
  .hero-image { display: none; }
  .grid-2, .grid-3 { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .blog-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .section { padding: 56px 0; }
  .page-hero { padding: 44px 0; }
}
@media (max-width: 480px) {
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; justify-content: center; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .cookie-banner { bottom: 0; left: 0; right: 0; border-radius: var(--radius-lg) var(--radius-lg) 0 0; }
}

/* auto-aliases R13 */
:root {
  --accent-blue: #3b82f6;
}
