/* ============================================
   The Center for Recruiting Excellence (CFRE)
   Design System & Stylesheet
   ============================================ */

/* --- CSS Variables / Design Tokens --- */
:root {
  /* Primary Palette - Institutional Navy & Gold */
  --navy-900: #0a1628;
  --navy-800: #0f2038;
  --navy-700: #162d4a;
  --navy-600: #1e3a5f;
  --navy-500: #2a4a73;
  --navy-400: #3d6291;
  --navy-300: #5a82b0;
  --navy-200: #8baac8;
  --navy-100: #c5d6e8;
  --navy-50: #e8eff6;

  --gold-700: #8a6914;
  --gold-600: #a67c1a;
  --gold-500: #c4952a;
  --gold-400: #d4a843;
  --gold-300: #e0bc6a;
  --gold-200: #ebd49e;
  --gold-100: #f5eacf;
  --gold-50: #faf5e8;

  /* Neutrals */
  --gray-900: #1a1a2e;
  --gray-800: #2d2d44;
  --gray-700: #4a4a5e;
  --gray-600: #64647a;
  --gray-500: #8585a0;
  --gray-400: #a5a5b8;
  --gray-300: #c5c5d3;
  --gray-200: #e0e0ea;
  --gray-100: #f0f0f5;
  --gray-50: #f8f8fb;

  --white: #ffffff;
  --black: #000000;

  /* Semantic Colors */
  --text-primary: var(--gray-900);
  --text-secondary: var(--gray-700);
  --text-muted: var(--gray-500);
  --text-inverse: var(--white);
  --bg-primary: var(--white);
  --bg-secondary: var(--gray-50);
  --bg-tertiary: var(--navy-50);
  --border-color: var(--gray-200);
  --accent: var(--gold-500);

  /* Typography */
  --font-serif: 'Playfair Display', 'Georgia', 'Times New Roman', serif;
  --font-sans: 'Inter', 'Helvetica Neue', Arial, sans-serif;
  --font-mono: 'JetBrains Mono', 'Fira Code', monospace;

  /* Spacing Scale */
  --space-xs: 0.25rem;
  --space-sm: 0.5rem;
  --space-md: 1rem;
  --space-lg: 1.5rem;
  --space-xl: 2rem;
  --space-2xl: 3rem;
  --space-3xl: 4rem;
  --space-4xl: 6rem;

  /* Layout */
  --max-width: 1200px;
  --max-width-narrow: 800px;
  --max-width-wide: 1400px;
  --header-height: 80px;

  /* Shadows */
  --shadow-sm: 0 1px 3px rgba(10, 22, 40, 0.06);
  --shadow-md: 0 4px 12px rgba(10, 22, 40, 0.08);
  --shadow-lg: 0 8px 30px rgba(10, 22, 40, 0.12);
  --shadow-xl: 0 16px 50px rgba(10, 22, 40, 0.16);

  /* Transitions */
  --transition-fast: 150ms ease;
  --transition-base: 250ms ease;
  --transition-slow: 400ms ease;

  /* Border Radius */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
}

/* --- Reset & Base --- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-sans);
  color: var(--text-primary);
  background-color: var(--bg-primary);
  line-height: 1.7;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--navy-600);
  text-decoration: none;
  transition: color var(--transition-fast);
}

a:hover {
  color: var(--gold-600);
}

/* --- Typography --- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-serif);
  color: var(--navy-800);
  line-height: 1.25;
  font-weight: 700;
}

h1 { font-size: 2.75rem; letter-spacing: -0.02em; }
h2 { font-size: 2rem; letter-spacing: -0.01em; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }
h5 { font-size: 1.1rem; }
h6 { font-size: 1rem; }

p {
  margin-bottom: var(--space-md);
  color: var(--text-secondary);
}

.lead {
  font-size: 1.2rem;
  line-height: 1.8;
  color: var(--text-secondary);
}

.overline {
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold-600);
}

.section-label {
  font-family: var(--font-sans);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold-600);
  margin-bottom: var(--space-sm);
  display: block;
}

blockquote {
  border-left: 3px solid var(--gold-500);
  padding: var(--space-lg) var(--space-xl);
  margin: var(--space-xl) 0;
  background: var(--gold-50);
  font-style: italic;
  color: var(--text-secondary);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
}

blockquote cite {
  display: block;
  margin-top: var(--space-sm);
  font-style: normal;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--navy-700);
}

/* --- Layout Utilities --- */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--space-xl);
}

.container--narrow {
  max-width: var(--max-width-narrow);
}

.container--wide {
  max-width: var(--max-width-wide);
}

.section {
  padding: var(--space-3xl) 0;
}

.section--alt {
  background-color: var(--bg-secondary);
}

.section--navy {
  background-color: var(--navy-800);
  color: var(--text-inverse);
}

.section--navy h2,
.section--navy h3,
.section--navy h4 {
  color: var(--white);
}

.section--navy p {
  color: var(--navy-100);
}

.section--navy .overline,
.section--navy .section-label {
  color: var(--gold-400);
}

.grid {
  display: grid;
  gap: var(--space-xl);
}

.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }

.flex {
  display: flex;
  gap: var(--space-xl);
}

.flex--center {
  align-items: center;
  justify-content: center;
}

.text-center { text-align: center; }
.text-right { text-align: right; }

/* --- Header & Navigation --- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--white);
  border-bottom: 1px solid var(--border-color);
  height: var(--header-height);
  transition: box-shadow var(--transition-base);
}

.site-header.scrolled {
  box-shadow: var(--shadow-md);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.site-logo {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  text-decoration: none;
  flex-shrink: 0;
}

.site-logo__icon {
  width: 44px;
  height: 44px;
  background: var(--navy-800);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.site-logo__icon::after {
  content: 'CFRE';
  font-family: var(--font-sans);
  font-size: 0.55rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: var(--gold-400);
}

.site-logo__text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.site-logo__name {
  font-family: var(--font-serif);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--navy-800);
}

.site-logo__tagline {
  font-size: 0.7rem;
  color: var(--text-muted);
  letter-spacing: 0.02em;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 0;
}

.main-nav__link {
  display: inline-flex;
  align-items: center;
  padding: var(--space-sm) var(--space-md);
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--text-secondary);
  text-decoration: none;
  border-radius: var(--radius-sm);
  transition: all var(--transition-fast);
  white-space: nowrap;
}

.main-nav__link:hover,
.main-nav__link--active {
  color: var(--navy-800);
  background: var(--navy-50);
}

.main-nav__link--active {
  font-weight: 600;
}

/* Mobile Menu Toggle */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: var(--space-sm);
  color: var(--navy-800);
}

.menu-toggle svg {
  width: 24px;
  height: 24px;
}

/* Top Bar */
.top-bar {
  background: var(--navy-900);
  color: var(--white);
  font-size: 0.75rem;
  padding: var(--space-xs) 0;
}

.top-bar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.top-bar a {
  color: var(--white);
}

.top-bar a:hover {
  color: var(--gold-400);
}

/* --- Hero Sections --- */
.hero {
  background: linear-gradient(135deg, var(--navy-900) 0%, var(--navy-700) 100%);
  color: var(--text-inverse);
  padding: var(--space-4xl) 0;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 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");
  opacity: 0.5;
}

.hero .container {
  position: relative;
  z-index: 1;
}

.hero h1 {
  color: var(--white);
  font-size: 3rem;
  margin-bottom: var(--space-lg);
  max-width: 700px;
}

.hero .lead {
  color: var(--navy-100);
  max-width: 600px;
  margin-bottom: var(--space-2xl);
}

.hero .overline {
  color: var(--gold-400);
  margin-bottom: var(--space-md);
}

.hero--compact {
  padding: var(--space-3xl) 0;
}

.hero--compact h1 {
  font-size: 2.25rem;
}

/* Gold accent bar under hero */
.hero-accent {
  height: 4px;
  background: linear-gradient(90deg, var(--gold-600) 0%, var(--gold-400) 50%, var(--gold-600) 100%);
}

/* --- Cards --- */
.card {
  background: var(--white);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: var(--space-xl);
  transition: all var(--transition-base);
}

.card:hover {
  box-shadow: var(--shadow-md);
  border-color: var(--navy-200);
}

.card--elevated {
  box-shadow: var(--shadow-sm);
  border: none;
}

.card--elevated:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-2px);
}

.card__overline {
  font-family: var(--font-sans);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold-600);
  margin-bottom: var(--space-sm);
}

.card__title {
  font-size: 1.2rem;
  margin-bottom: var(--space-sm);
}

.card__text {
  font-size: 0.92rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

.card__footer {
  margin-top: var(--space-lg);
  padding-top: var(--space-md);
  border-top: 1px solid var(--border-color);
  font-size: 0.85rem;
  color: var(--text-muted);
}

.card--featured {
  border-left: 4px solid var(--gold-500);
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  padding: 0.7rem 1.6rem;
  font-family: var(--font-sans);
  font-size: 0.9rem;
  font-weight: 600;
  border-radius: var(--radius-sm);
  border: 2px solid transparent;
  cursor: pointer;
  transition: all var(--transition-fast);
  text-decoration: none;
  white-space: nowrap;
}

.btn--primary {
  background: var(--gold-500);
  color: var(--navy-900);
  border-color: var(--gold-500);
}

.btn--primary:hover {
  background: var(--gold-600);
  border-color: var(--gold-600);
  color: var(--navy-900);
}

.btn--secondary {
  background: transparent;
  color: var(--white);
  border-color: var(--navy-300);
}

.btn--secondary:hover {
  border-color: var(--gold-400);
  color: var(--gold-400);
}

.btn--outline {
  background: transparent;
  color: var(--navy-700);
  border-color: var(--navy-300);
}

.btn--outline:hover {
  border-color: var(--navy-600);
  background: var(--navy-50);
  color: var(--navy-800);
}

.btn--sm {
  padding: 0.45rem 1rem;
  font-size: 0.82rem;
}

/* --- Stats Row --- */
.stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-xl);
  padding: var(--space-lg) 0;
}

.stat {
  text-align: center;
}

.stat__number {
  font-family: var(--font-serif);
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--gold-500);
  line-height: 1;
  margin-bottom: var(--space-xs);
}

.stat__label {
  font-size: 0.85rem;
  color: var(--navy-200);
  font-weight: 500;
}

/* --- Team / People --- */
.person-card {
  text-align: center;
  padding: var(--space-xl);
}

.person-card__photo {
  width: 140px;
  height: 140px;
  border-radius: 50%;
  margin: 0 auto var(--space-lg);
  background: linear-gradient(135deg, var(--navy-100), var(--navy-200));
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-serif);
  font-size: 2rem;
  font-weight: 700;
  color: var(--navy-600);
  border: 3px solid var(--white);
  box-shadow: var(--shadow-md);
}

.person-card__name {
  font-size: 1.15rem;
  margin-bottom: 0.15rem;
}

.person-card__title {
  font-family: var(--font-sans);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--gold-600);
  margin-bottom: var(--space-sm);
}

.person-card__bio {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

.person-card__credentials {
  margin-top: var(--space-md);
  font-size: 0.78rem;
  color: var(--text-muted);
  font-style: italic;
}

/* --- Tables --- */
.table-wrapper {
  overflow-x: auto;
  margin: var(--space-xl) 0;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
}

table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.92rem;
}

thead {
  background: var(--navy-800);
  color: var(--white);
}

th {
  padding: var(--space-md) var(--space-lg);
  text-align: left;
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 0.02em;
}

td {
  padding: var(--space-md) var(--space-lg);
  border-bottom: 1px solid var(--border-color);
  color: var(--text-secondary);
}

tbody tr:last-child td {
  border-bottom: none;
}

tbody tr:hover {
  background: var(--gray-50);
}

/* --- Report Specific Styles --- */
.report-header {
  border-bottom: 3px solid var(--gold-500);
  padding-bottom: var(--space-xl);
  margin-bottom: var(--space-2xl);
}

.report-meta {
  display: flex;
  gap: var(--space-xl);
  flex-wrap: wrap;
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-top: var(--space-md);
}

.report-meta dt {
  font-weight: 600;
  color: var(--text-secondary);
}

.report-meta dd {
  margin-left: 0;
}

.report-body h2 {
  margin-top: var(--space-3xl);
  margin-bottom: var(--space-lg);
  padding-bottom: var(--space-sm);
  border-bottom: 2px solid var(--navy-100);
}

.report-body h3 {
  margin-top: var(--space-2xl);
  margin-bottom: var(--space-md);
}

.report-body p {
  margin-bottom: var(--space-md);
}

.report-body ul, .report-body ol {
  margin: var(--space-md) 0;
  padding-left: var(--space-xl);
}

.report-body li {
  margin-bottom: var(--space-sm);
  color: var(--text-secondary);
  line-height: 1.7;
}

.report-finding {
  background: var(--navy-800);
  color: var(--white);
  padding: var(--space-xl);
  border-radius: var(--radius-md);
  margin: var(--space-2xl) 0;
  border-left: 4px solid var(--gold-500);
}

.report-finding h4 {
  color: var(--gold-400);
  font-family: var(--font-sans);
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: var(--space-sm);
}

.report-finding p {
  color: var(--navy-100);
  font-size: 1.05rem;
  line-height: 1.7;
  margin-bottom: 0;
}

.sources-list {
  list-style: none;
  padding: 0;
  margin: var(--space-lg) 0;
}

.sources-list li {
  padding: var(--space-sm) 0;
  font-size: 0.85rem;
  color: var(--text-muted);
  border-bottom: 1px solid var(--gray-100);
  padding-left: var(--space-lg);
  position: relative;
}

.sources-list li::before {
  content: counter(source-counter) '.';
  counter-increment: source-counter;
  position: absolute;
  left: 0;
  font-weight: 600;
  color: var(--text-secondary);
}

.sources-list {
  counter-reset: source-counter;
}

/* --- Report Card (for listings) --- */
.report-card {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: var(--space-xl);
  padding: var(--space-xl);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  transition: all var(--transition-base);
  text-decoration: none;
  color: inherit;
  margin-bottom: var(--space-lg);
}

.report-card:hover {
  box-shadow: var(--shadow-md);
  border-color: var(--navy-200);
  color: inherit;
}

.report-card__badge {
  width: 80px;
  height: 100px;
  background: var(--navy-800);
  border-radius: var(--radius-sm);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--gold-400);
  font-family: var(--font-sans);
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  flex-shrink: 0;
  line-height: 1.3;
  text-align: center;
  padding: var(--space-sm);
}

.report-card__badge span {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  color: var(--white);
  display: block;
  margin-bottom: 2px;
}

.report-card__content {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.report-card__title {
  font-size: 1.15rem;
  margin-bottom: var(--space-xs);
}

.report-card__subtitle {
  font-size: 0.9rem;
  color: var(--text-secondary);
  margin-bottom: var(--space-sm);
}

.report-card__meta {
  font-size: 0.78rem;
  color: var(--text-muted);
  display: flex;
  gap: var(--space-lg);
}

/* --- Practice Area Cards --- */
.practice-card {
  padding: var(--space-2xl);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  transition: all var(--transition-base);
  position: relative;
  overflow: hidden;
}

.practice-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--gold-500);
  transform: scaleX(0);
  transition: transform var(--transition-base);
}

.practice-card:hover::before {
  transform: scaleX(1);
}

.practice-card:hover {
  box-shadow: var(--shadow-md);
}

.practice-card__icon {
  width: 48px;
  height: 48px;
  background: var(--navy-50);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-lg);
  font-size: 1.5rem;
}

.practice-card__title {
  font-size: 1.15rem;
  margin-bottom: var(--space-sm);
}

.practice-card__text {
  font-size: 0.9rem;
  color: var(--text-secondary);
  margin-bottom: var(--space-md);
}

.practice-card__count {
  font-size: 0.78rem;
  color: var(--text-muted);
  font-weight: 500;
}

/* --- Timeline --- */
.timeline {
  position: relative;
  padding-left: var(--space-2xl);
}

.timeline::before {
  content: '';
  position: absolute;
  left: 8px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--navy-200);
}

.timeline__item {
  position: relative;
  margin-bottom: var(--space-2xl);
}

.timeline__item::before {
  content: '';
  position: absolute;
  left: calc(-1 * var(--space-2xl) + 2px);
  top: 6px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--gold-500);
  border: 3px solid var(--white);
  box-shadow: 0 0 0 2px var(--navy-200);
}

.timeline__year {
  font-family: var(--font-sans);
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--gold-600);
  letter-spacing: 0.05em;
  margin-bottom: var(--space-xs);
}

.timeline__title {
  font-size: 1.1rem;
  margin-bottom: var(--space-xs);
}

.timeline__text {
  font-size: 0.9rem;
  color: var(--text-secondary);
}

/* --- Footer --- */
.site-footer {
  background: var(--navy-900);
  color: var(--navy-200);
  padding: var(--space-3xl) 0 var(--space-xl);
  margin-top: auto;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: var(--space-2xl);
  margin-bottom: var(--space-2xl);
}

.footer-about {
  padding-right: var(--space-xl);
}

.footer-about p {
  font-size: 0.88rem;
  color: var(--white);
  line-height: 1.7;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  margin-bottom: var(--space-lg);
  text-decoration: none;
}

.footer-logo__icon {
  width: 36px;
  height: 36px;
  background: var(--navy-700);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-sans);
  font-size: 0.45rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: var(--gold-400);
}

.footer-logo__text {
  font-family: var(--font-serif);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--white);
}

.footer-heading {
  font-family: var(--font-sans);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: var(--space-lg);
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: var(--space-sm);
}

.footer-links a {
  font-size: 0.88rem;
  color: var(--white);
  transition: color var(--transition-fast);
}

.footer-links a:hover {
  color: var(--gold-400);
}

.footer-bottom {
  border-top: 1px solid var(--navy-700);
  padding-top: var(--space-xl);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.78rem;
  color: var(--white);
}

.footer-bottom a {
  color: var(--white);
}

.footer-bottom a:hover {
  color: var(--gold-400);
}

/* --- Methodology Steps --- */
.methodology-step {
  display: grid;
  grid-template-columns: 60px 1fr;
  gap: var(--space-lg);
  margin-bottom: var(--space-2xl);
  align-items: start;
}

.methodology-step__number {
  width: 60px;
  height: 60px;
  background: var(--navy-800);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-serif);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--gold-400);
  flex-shrink: 0;
}

.methodology-step__content h3 {
  margin-bottom: var(--space-sm);
  font-size: 1.2rem;
}

.methodology-step__content p {
  font-size: 0.92rem;
}

/* --- Pill / Tag --- */
.tag {
  display: inline-block;
  padding: 0.2rem 0.7rem;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  border-radius: 20px;
  background: var(--navy-50);
  color: var(--navy-600);
  text-transform: uppercase;
}

.tag--gold {
  background: var(--gold-100);
  color: var(--gold-700);
}

/* --- Divider --- */
.divider {
  height: 1px;
  background: var(--border-color);
  margin: var(--space-2xl) 0;
  border: none;
}

.divider--gold {
  height: 3px;
  background: linear-gradient(90deg, var(--gold-500), transparent);
  max-width: 80px;
}

/* --- Confidential Badge --- */
.confidential-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-xs);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--navy-400);
  background: var(--navy-50);
  padding: 0.3rem 0.8rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--navy-100);
}

/* --- Contact Form --- */
.form-group {
  margin-bottom: var(--space-lg);
}

.form-group label {
  display: block;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: var(--space-xs);
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 0.7rem 1rem;
  font-family: var(--font-sans);
  font-size: 0.92rem;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  background: var(--white);
  color: var(--text-primary);
  transition: border-color var(--transition-fast);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--navy-400);
  box-shadow: 0 0 0 3px rgba(42, 74, 115, 0.1);
}

.form-group textarea {
  min-height: 120px;
  resize: vertical;
}

/* --- Form Status Messages --- */
.form-status {
  margin-top: var(--space-lg);
  padding: var(--space-md) var(--space-lg);
  border-radius: var(--radius-sm);
  font-size: 0.92rem;
  font-weight: 500;
}

.form-status--success {
  background: #e8f5e9;
  color: #2e7d32;
  border: 1px solid #a5d6a7;
}

.form-status--error {
  background: #fce4ec;
  color: #c62828;
  border: 1px solid #ef9a9a;
}

/* --- Responsive --- */
@media (max-width: 1024px) {
  .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .grid--3 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .stats-row { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  :root {
    --header-height: 64px;
  }

  h1 { font-size: 2rem; }
  h2 { font-size: 1.5rem; }
  h3 { font-size: 1.25rem; }

  .hero h1 { font-size: 2rem; }
  .hero { padding: var(--space-2xl) 0; }

  .container {
    padding: 0 var(--space-md);
  }

  .section {
    padding: var(--space-2xl) 0;
  }

  .grid--2,
  .grid--3,
  .grid--4 {
    grid-template-columns: 1fr;
  }

  .stats-row {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-lg);
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .footer-bottom {
    flex-direction: column;
    gap: var(--space-sm);
    text-align: center;
  }

  .main-nav {
    display: none;
    position: absolute;
    top: var(--header-height);
    left: 0;
    right: 0;
    background: var(--white);
    flex-direction: column;
    padding: var(--space-md);
    border-bottom: 1px solid var(--border-color);
    box-shadow: var(--shadow-lg);
  }

  .main-nav.is-open {
    display: flex;
  }

  .main-nav__link {
    padding: var(--space-md);
    width: 100%;
  }

  .menu-toggle {
    display: block;
  }

  .report-card {
    grid-template-columns: 1fr;
  }

  .report-card__badge {
    width: 100%;
    height: 50px;
    flex-direction: row;
    gap: var(--space-sm);
  }

  .report-card__badge span {
    font-size: 1.2rem;
    margin-bottom: 0;
  }

  .report-meta {
    flex-direction: column;
    gap: var(--space-sm);
  }

  .top-bar {
    display: none;
  }
}

@media (max-width: 480px) {
  .stats-row {
    grid-template-columns: 1fr;
  }

  .hero h1 {
    font-size: 1.75rem;
  }
}

/* --- Print Styles --- */
@media print {
  .site-header,
  .site-footer,
  .top-bar,
  .hero-accent,
  .btn {
    display: none;
  }

  body {
    font-size: 11pt;
    color: #000;
  }

  .section {
    padding: 1rem 0;
  }

  .report-finding {
    background: #f5f5f5;
    color: #000;
    border: 2px solid #333;
  }

  .report-finding h4 {
    color: #333;
  }

  .report-finding p {
    color: #000;
  }

  blockquote,
  .report-finding,
  .table-wrapper,
  table {
    break-inside: avoid;
    page-break-inside: avoid;
  }

  h2, h3, h4 {
    break-after: avoid;
    page-break-after: avoid;
  }
}
