/*
Theme Name: Compass View
Author: Jamal
Description: OSINT & Geopolitical analysis theme — institutional monochrome
Version: 3.0
*/

/* ================================================
   CORVUS VISION — INSTITUTIONAL MONOCHROME
   IBM Plex Sans / Serif / Mono
   ================================================ */

/* === VARIABLES === */
:root {
  --white:       #ffffff;
  --black:       #000000;
  --gray-50:     #f5f5f5;
  --gray-100:    #e8e8e8;
  --gray-200:    #d0d0d0;
  --gray-500:    #888888;
  --gray-700:    #555555;

  --text-primary:   #000000;
  --text-secondary: #555555;
  --text-muted:     #888888;

  --font-sans:  'IBM Plex Sans',  sans-serif;
  --font-serif: 'IBM Plex Serif', serif;
  --font-mono:  'IBM Plex Mono',  monospace;

  --max-width:      1200px;
  --masthead-h:     34px;
  --navbar-h:       64px;
}

/* === RESET === */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; scroll-behavior: smooth; }
body {
  background: var(--white);
  color: var(--text-primary);
  font-family: var(--font-sans);
  font-weight: 400;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a   { color: inherit; text-decoration: none; }

/* === CONTAINER === */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 2rem;
}

/* ================================================
   MASTHEAD
   ================================================ */
.masthead {
  background: var(--black);
  height: var(--masthead-h);
  display: flex;
  align-items: center;
}

.masthead-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 2rem;
  width: 100%;
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.masthead-label {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  color: var(--white);
}

.masthead-sep {
  width: 1px;
  height: 12px;
  background: rgba(255,255,255,0.2);
  flex-shrink: 0;
}

.masthead-tagline {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  font-weight: 400;
  letter-spacing: 0.08em;
  color: rgba(255,255,255,0.45);
  flex: 1;
}

.masthead-date {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  font-weight: 400;
  letter-spacing: 0.08em;
  color: rgba(255,255,255,0.4);
  margin-left: auto;
}

/* ================================================
   NAVBAR
   ================================================ */
.navbar {
  background: var(--black);
  border-bottom: none;
  height: var(--navbar-h);
  position: sticky;
  top: 0;
  z-index: 200;
}

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

.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: 1.05rem;
  letter-spacing: -0.02em;
  color: var(--white);
}

.nav-logo .logo-img {
  height: 30px;
  width: auto;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2.25rem;
}

.nav-links a {
  font-family: var(--font-sans);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.65);
  transition: color 0.15s;
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--white);
  transition: width 0.2s ease;
}

.nav-links a:hover { color: var(--white); }
.nav-links a:hover::after { width: 100%; }

.nav-toggle {
  display: none;
  background: none;
  border: 1px solid rgba(255,255,255,0.3);
  padding: 0.35rem 0.65rem;
  font-size: 1rem;
  cursor: pointer;
  color: var(--white);
  line-height: 1;
}

/* ================================================
   PAGE HEADER  (serif H1 + ruled stat row)
   ================================================ */
.page-header {
  padding: 4rem 0 0;
  border-bottom: 1px solid var(--gray-100);
}

.page-header-eyebrow {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  color: var(--text-muted);
  margin-bottom: 1rem;
  display: block;
}

.page-header-title {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 4vw, 3.25rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.12;
  color: var(--black);
  max-width: 780px;
  margin-bottom: 1.25rem;
}

.page-header-desc {
  font-family: var(--font-sans);
  font-weight: 300;
  font-size: 1rem;
  line-height: 1.75;
  color: var(--text-secondary);
  max-width: 640px;
  margin-bottom: 2.5rem;
}

/* Stat row */
.page-header-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--gray-100);
  border-left: 1px solid var(--gray-100);
}

.stat-item {
  padding: 1.25rem 1.5rem;
  border-right: 1px solid var(--gray-100);
  border-bottom: 1px solid var(--gray-100);
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

.stat-value {
  font-family: var(--font-serif);
  font-size: 1.8rem;
  font-weight: 600;
  letter-spacing: -0.03em;
  color: var(--black);
  line-height: 1;
}

.stat-label {
  font-family: var(--font-mono);
  font-size: 0.58rem;
  font-weight: 500;
  letter-spacing: 0.13em;
  color: var(--text-muted);
  text-transform: uppercase;
}

/* ================================================
   SECTION LABELS
   ================================================ */
.section-eyebrow {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  color: var(--text-muted);
  margin-bottom: 0.75rem;
  display: block;
  text-transform: uppercase;
}

.section-title {
  font-family: var(--font-serif);
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  font-weight: 600;
  letter-spacing: -0.025em;
  color: var(--black);
  line-height: 1.2;
  margin-bottom: 2.5rem;
}

/* ================================================
   BUTTONS
   ================================================ */
.btn-primary {
  display: inline-block;
  font-family: var(--font-sans);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  background: var(--black);
  color: var(--white);
  padding: 0.75rem 1.75rem;
  border: 1px solid var(--black);
  cursor: pointer;
  transition: background 0.15s, color 0.15s;
}

.btn-primary:hover {
  background: var(--white);
  color: var(--black);
}

.btn-outline {
  display: inline-block;
  font-family: var(--font-sans);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  background: transparent;
  color: var(--black);
  padding: 0.75rem 1.75rem;
  border: 1px solid var(--gray-200);
  cursor: pointer;
  transition: border-color 0.15s, background 0.15s;
}

.btn-outline:hover {
  border-color: var(--black);
  background: var(--gray-50);
}

/* ================================================
   MISSION SECTION
   ================================================ */
.mission-section {
  padding: 5rem 0;
  border-bottom: 1px solid var(--gray-100);
}

.mission-inner { max-width: 720px; }

.mission-text {
  font-family: var(--font-sans);
  font-size: 1.1rem;
  font-weight: 300;
  line-height: 1.85;
  color: var(--text-secondary);
  margin-bottom: 2rem;
}

.mission-text strong {
  font-weight: 600;
  color: var(--black);
}

.mission-cta {
  display: flex;
  gap: 1rem;
  align-items: center;
  flex-wrap: wrap;
}

/* ================================================
   CAPABILITIES GRID
   ================================================ */
.capabilities-section {
  padding: 5rem 0;
  border-bottom: 1px solid var(--gray-100);
}

.capabilities-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--gray-100);
  border-left: 1px solid var(--gray-100);
}

.capability-card {
  padding: 2.5rem 2rem;
  border-right: 1px solid var(--gray-100);
  border-bottom: 1px solid var(--gray-100);
  position: relative;
  overflow: hidden;
  transition: background 0.2s;
}

.capability-card::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--black);
  transition: width 0.3s ease;
  transform-origin: left;
}

.capability-card:hover { background: var(--gray-50); }
.capability-card:hover::after { width: 100%; }

.cap-number {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  margin-bottom: 1.25rem;
}

.capability-card h3 {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--black);
  margin-bottom: 0.75rem;
}

.capability-card p {
  font-family: var(--font-sans);
  font-size: 0.88rem;
  font-weight: 300;
  line-height: 1.7;
  color: var(--text-secondary);
}

/* ================================================
   ARTICLES SECTION  (home.php)
   ================================================ */
.articles-section { padding: 5rem 0; }

.articles-section-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 0;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--gray-100);
}

.articles-section-header h1 {
  font-family: var(--font-serif);
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--black);
}

.articles-count {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  font-weight: 400;
  letter-spacing: 0.1em;
  color: var(--text-muted);
}

.articles-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--gray-100);
  border-left: 1px solid var(--gray-100);
}

/* ================================================
   ARTICLE CARD
   ================================================ */
.article-card {
  border-right: 1px solid var(--gray-100);
  border-bottom: 1px solid var(--gray-100);
  position: relative;
  overflow: hidden;
  transition: transform 0.2s ease;
  background: var(--white);
}

.article-card::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--black);
  transition: width 0.3s ease;
  transform-origin: left;
}

.article-card:hover { transform: translateY(-1px); }
.article-card:hover::after { width: 100%; }

.article-card > a { display: block; height: 100%; }

.article-image {
  width: 100%;
  aspect-ratio: 16/9;
  overflow: hidden;
  border-bottom: 1px solid var(--gray-100);
}

.article-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(100%);
  transition: transform 0.4s ease;
}

.article-card:hover .article-image img { transform: scale(1.03); }

.article-card-body { padding: 1.75rem 1.5rem; }

.article-meta {
  font-family: Arial, Helvetica, sans-serif;
  font-size: 0.6rem;
  font-weight: 400;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  text-transform: uppercase;
  margin-bottom: 0.75rem;
}

.article-title {
  font-family: var(--font-serif);
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.35;
  color: var(--black);
  margin-bottom: 0.75rem;
}

.article-excerpt {
  font-family: var(--font-sans);
  font-size: 0.85rem;
  font-weight: 300;
  line-height: 1.65;
  color: var(--text-secondary);
}

.no-posts {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--text-muted);
  padding: 3rem 1.5rem;
  border-right: 1px solid var(--gray-100);
  border-bottom: 1px solid var(--gray-100);
}

/* ================================================
   SINGLE ARTICLE  (single.php)
   ================================================ */
.main-content {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 2rem;
}

.single-article {
  max-width: 760px;
  margin: 0 auto;
  padding: 4rem 0 6rem;
}

.single-eyebrow {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  color: var(--text-muted);
  text-transform: uppercase;
  margin-bottom: 1rem;
  display: block;
}

.single-title {
  font-family: var(--font-serif);
  font-size: clamp(1.85rem, 4vw, 3rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.15;
  color: var(--black);
  margin-bottom: 1.5rem;
}

.single-meta {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 400;
  letter-spacing: 0.07em;
  color: var(--text-muted);
  padding: 1rem 0;
  border-top: 1px solid var(--gray-100);
  border-bottom: 1px solid var(--gray-100);
  margin-bottom: 2.5rem;
}

.single-image { margin-bottom: 2.5rem; }

.single-image img {
  width: 100%;
  filter: grayscale(100%);
}

.single-content {
  font-family: var(--font-sans);
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.8;
  color: var(--text-primary);
}

.single-content h2 {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--black);
  margin: 2.5rem 0 1rem;
}

.single-content h3 {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--black);
  margin: 2rem 0 0.75rem;
}

.single-content p { margin-bottom: 1.25rem; color: var(--text-primary); }

.single-content a {
  color: var(--black);
  border-bottom: 1px solid var(--gray-200);
  transition: border-color 0.15s;
}

.single-content a:hover { border-color: var(--black); }

.single-content blockquote {
  border-left: 3px solid var(--black);
  padding: 1rem 1.5rem;
  margin: 2rem 0;
  background: var(--gray-50);
  font-style: italic;
  font-weight: 300;
  color: var(--text-secondary);
}

.single-content code {
  font-family: var(--font-mono);
  font-size: 0.85em;
  background: var(--gray-50);
  border: 1px solid var(--gray-100);
  padding: 0.1em 0.4em;
}

/* ================================================
   MAPS HUB  (page-maps-hub.php)
   ================================================ */
.maps-hub-page { padding: 4rem 0 6rem; }

.maps-hub-header {
  padding-bottom: 2rem;
  margin-bottom: 2.5rem;
  border-bottom: 1px solid var(--gray-100);
}

.maps-hub-header h1 {
  font-family: var(--font-serif);
  font-size: clamp(1.75rem, 3.5vw, 2.75rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--black);
  margin-bottom: 0.75rem;
}

.maps-hub-header p {
  font-family: var(--font-sans);
  font-weight: 300;
  font-size: 1rem;
  color: var(--text-secondary);
}

.maps-hub-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  border-top: 1px solid var(--gray-100);
  border-left: 1px solid var(--gray-100);
}

.map-card {
  display: flex;
  align-items: flex-start;
  gap: 1.5rem;
  padding: 2rem;
  border-right: 1px solid var(--gray-100);
  border-bottom: 1px solid var(--gray-100);
  position: relative;
  overflow: hidden;
  transition: background 0.2s;
  color: inherit;
}

.map-card::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--black);
  transition: width 0.3s ease;
  transform-origin: left;
}

.map-card:hover { background: var(--gray-50); }
.map-card:hover::after { width: 100%; }

.map-card-icon {
  width: 42px;
  height: 42px;
  border: 1px solid var(--gray-200);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 0.95rem;
  color: var(--black);
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}

.map-card:hover .map-card-icon {
  background: var(--black);
  color: var(--white);
  border-color: var(--black);
}

.map-card-body { flex: 1; }

.map-card-body h3 {
  font-family: var(--font-serif);
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--black);
  margin-bottom: 0.5rem;
}

.map-card-body p {
  font-family: var(--font-sans);
  font-size: 0.85rem;
  font-weight: 300;
  line-height: 1.65;
  color: var(--text-secondary);
}

.map-card-arrow {
  color: var(--gray-500);
  font-size: 0.85rem;
  transition: transform 0.2s, color 0.2s;
  align-self: center;
  flex-shrink: 0;
}

.map-card:hover .map-card-arrow {
  transform: translateX(4px);
  color: var(--black);
}

/* ================================================
   MAP PAGE HEADER
   ================================================ */
.map-page-header {
  background: var(--white);
  border-bottom: 1px solid var(--gray-100);
  padding: 1.75rem 0 1.5rem;
}

.map-page-header-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 2rem;
}

.map-page-meta {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin-bottom: 0.6rem;
}

.map-page-eyebrow {
  font-family: var(--font-mono);
  font-size: 0.58rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  color: var(--text-muted);
}

.map-page-id {
  font-family: var(--font-mono);
  font-size: 0.58rem;
  font-weight: 400;
  letter-spacing: 0.12em;
  color: var(--gray-200);
  padding: 0.15rem 0.5rem;
  border: 1px solid var(--gray-100);
  background: var(--gray-50);
}

.map-page-title {
  font-family: var(--font-serif);
  font-size: clamp(1.25rem, 2.5vw, 1.75rem);
  font-weight: 700;
  letter-spacing: -0.025em;
  color: var(--black);
  line-height: 1.2;
  margin-bottom: 0.4rem;
}

.map-page-desc {
  font-family: var(--font-sans);
  font-size: 0.85rem;
  font-weight: 300;
  color: var(--text-secondary);
  max-width: 680px;
  line-height: 1.6;
  margin-top: 0.25rem;
}

/* ================================================
   MAP FULL PAGE  (page-map.php)
   ================================================ */
.map-full-page {
  height: calc(100vh - var(--navbar-h) - 110px);
  min-height: 500px;
  display: flex;
}

.map-full-page--fullscreen {
  height: calc(100vh - var(--navbar-h));
}

.map-iframe {
  width: 100%;
  height: 100%;
  border: none;
  display: block;
}

.map-no-url {
  display: flex;
  align-items: center;
  padding: 4rem 0;
}

.map-no-url p {
  font-family: var(--font-sans);
  font-size: 0.9rem;
  color: var(--text-secondary);
  padding: 1.5rem;
  border: 1px solid var(--gray-100);
  background: var(--gray-50);
}

/* ================================================
   FOOTER
   ================================================ */
.footer {
  background: var(--black);
  color: var(--white);
}

.footer-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 3rem 2rem 2rem;
}

.footer-brand-line {
  display: flex;
  align-items: baseline;
  gap: 2rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  margin-bottom: 2rem;
}

.footer-name {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  color: var(--white);
  white-space: nowrap;
}

.footer-tagline {
  font-family: var(--font-sans);
  font-size: 0.8rem;
  font-weight: 300;
  color: rgba(255,255,255,0.4);
  line-height: 1.5;
}

.footer-links-row {
  display: grid;
  grid-template-columns: repeat(3, auto);
  gap: 4rem;
  justify-content: start;
  padding-bottom: 2rem;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  margin-bottom: 1.75rem;
}

.footer-col {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.footer-col-head {
  font-family: var(--font-mono);
  font-size: 0.57rem;
  font-weight: 500;
  letter-spacing: 0.17em;
  color: rgba(255,255,255,0.35);
  margin-bottom: 0.35rem;
  text-transform: uppercase;
}

.footer-col a,
.footer-col span {
  font-family: var(--font-sans);
  font-size: 0.8rem;
  font-weight: 300;
  color: rgba(255,255,255,0.55);
  transition: color 0.15s;
}

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

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.footer-bottom > span:first-child {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  font-weight: 400;
  letter-spacing: 0.05em;
  color: rgba(255,255,255,0.3);
}

.footer-legal { display: flex; gap: 1.5rem; }

.footer-legal a {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  font-weight: 400;
  letter-spacing: 0.08em;
  color: rgba(255,255,255,0.3);
  transition: color 0.15s;
}

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

/* ================================================
   RESPONSIVE
   ================================================ */
@media (max-width: 1024px) {
  .capabilities-grid  { grid-template-columns: repeat(2, 1fr); }
  .articles-grid      { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .masthead-tagline { display: none; }

  .nav-links {
    display: none;
    position: absolute;
    top: var(--navbar-h);
    left: 0;
    right: 0;
    background: var(--white);
    border-bottom: 1px solid var(--gray-100);
    flex-direction: column;
    gap: 0;
    padding: 0;
    z-index: 199;
  }

  .nav-links.open { display: flex; }

  .nav-links a {
    padding: 1rem 2rem;
    border-bottom: 1px solid var(--gray-50);
  }

  .nav-links a::after { display: none; }
  .nav-toggle { display: flex; }

  .page-header-stats { grid-template-columns: repeat(2, 1fr); }
  .capabilities-grid { grid-template-columns: 1fr; }
  .articles-grid     { grid-template-columns: 1fr; }
  .maps-hub-grid     { grid-template-columns: 1fr; }

  .footer-links-row {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }

  .footer-brand-line { flex-direction: column; gap: 0.5rem; }
  .footer-bottom { flex-direction: column; align-items: flex-start; gap: 0.75rem; }
}

@media (max-width: 480px) {
  .container { padding: 0 1.25rem; }
  .page-header-stats { grid-template-columns: repeat(2, 1fr); }
  .footer-links-row  { grid-template-columns: 1fr; }
  .mission-cta { flex-direction: column; }
}

/* ================================================
   HERO MAP  (index.php homepage)
   ================================================ */
.world-map {
  position: relative;
  width: 100%;
  margin-top: -3rem;
}

.world-map svg {
  display: block;
  width: 100%;
  height: auto;
  opacity: 0.85;
  -webkit-mask-image: linear-gradient(to bottom, transparent 0%, #000 20%, #000 80%, transparent 100%);
          mask-image: linear-gradient(to bottom, transparent 0%, #000 20%, #000 80%, transparent 100%);
}

.hero-dot {
  position: absolute;
  width: 9px;
  height: 9px;
  background: #CC0000;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;
}

/* Pull hero text up under the faded map */
.page-header .container {
  margin-top: -5rem;
  position: relative;
  z-index: 1;
}

/* Pull mission block up under the header, and trim the gap
   before Featured Maps (leave room for future article covers) */
.mission-section {
  padding-top: 1.5rem;
  padding-bottom: 2rem;
}

.capabilities-section {
  padding-top: 1.5rem;
}

/* ================================================
   HEADER CROW
   ================================================ */
.header-crow-wrap {
  position: relative;
  display: inline-flex;
  line-height: 0;
  margin-left: auto;
  margin-right: 1.5rem;
  align-self: center;
}

.header-crow {
  height: 26px;
  width: auto;
  display: block;
}

/* Black crow-shaped cover; fades out on hover so the crow "appears" */
.header-crow-wrap::after {
  content: "";
  position: absolute;
  inset: 0;
  background: #000;
  -webkit-mask: url("images/crow.svg") center / contain no-repeat;
          mask: url("images/crow.svg") center / contain no-repeat;
  transition: opacity 0.4s ease;
}

.header-crow-wrap:hover::after {
  opacity: 0;
}

/* All headings site-wide use Segoe UI */
h1, h2, h3, h4, h5, h6 {
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif !important;
}

/* Single-article cover image */
.article-cover {
  width: 100%;
  margin: 0 0 2.5rem;
}

.article-cover img {
  display: block;
  width: 100%;
  height: auto;
}