/* =========================================================
   Rajdhani - local font
   ========================================================= */
@font-face {
  font-family: 'Rajdhani';
  src: url('../fonts/Rajdhani/Rajdhani-Light.ttf') format('truetype');
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Rajdhani';
  src: url('../fonts/Rajdhani/Rajdhani-Regular.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Rajdhani';
  src: url('../fonts/Rajdhani/Rajdhani-Medium.ttf') format('truetype');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Rajdhani';
  src: url('../fonts/Rajdhani/Rajdhani-SemiBold.ttf') format('truetype');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Rajdhani';
  src: url('../fonts/Rajdhani/Rajdhani-Bold.ttf') format('truetype');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

/* =========================================================
   Design tokens - FBI palette (federal navy + gold accent)
   ========================================================= */
:root {
  /* Brand palette (black) */
  --brand-50:  #f5f5f5;
  --brand-100: #e8e8e8;
  --brand-200: #d0d0d0;
  --brand-300: #ababab;
  --brand-400: #808080;
  --brand-500: #555555;
  --brand-600: #2a2a2a;
  --brand-700: #1a1a1a;
  --brand-800: #0f0f0f;
  --brand-900: #000000;

  /* Accent (federal gold + alert red) */
  --accent-gold:   #c9a227;
  --accent-gold-2: #b8901c;
  --accent-red:    #b22234;
  --accent-red-2:  #8a1a28;

  /* Neutral scale (slate) */
  --ink-50:  #f8fafc;
  --ink-100: #f1f5f9;
  --ink-200: #e2e8f0;
  --ink-300: #cbd5e1;
  --ink-400: #94a3b8;
  --ink-500: #64748b;
  --ink-600: #475569;
  --ink-700: #334155;
  --ink-800: #1e293b;
  --ink-900: #0f172a;
  --ink-950: #0b1220;

  /* Bootstrap overrides */
  --bs-primary: var(--accent-gold);
  --bs-primary-rgb: 42, 42, 42;
  --bs-body-color: rgba(255, 255, 255, 0.87);
  --bs-body-bg: #000;
  --bs-border-color: var(--ink-200);
  --bs-link-color: var(--brand-600);
  --bs-link-hover-color: var(--brand-700);

  /* Radii */
  --r-xs: 0.4rem;
  --r-sm: 0.6rem;
  --r-md: 0.85rem;
  --r-lg: 1rem;
  --r-xl: 1.25rem;
  --r-2xl: 1.5rem;
  --r-pill: 999px;

  /* Shadows (layered, subtle) */
  --shadow-xs: 0 1px 2px rgba(15, 23, 42, 0.04);
  --shadow-sm: 0 1px 2px rgba(15, 23, 42, 0.05),
               0 2px 4px rgba(15, 23, 42, 0.04);
  --shadow-md: 0 4px 8px -2px rgba(15, 23, 42, 0.06),
               0 8px 16px -4px rgba(15, 23, 42, 0.06);
  --shadow-lg: 0 12px 20px -8px rgba(15, 23, 42, 0.10),
               0 20px 36px -12px rgba(15, 23, 42, 0.10);
  --shadow-xl: 0 24px 48px -16px rgba(15, 23, 42, 0.18),
               0 12px 24px -12px rgba(15, 23, 42, 0.12);
  --shadow-brand: 0 12px 28px -10px rgba(26, 50, 92, 0.45);
  --shadow-ring: 0 0 0 4px rgba(26, 50, 92, 0.18);

  /* Motion */
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --t-fast: 120ms;
  --t-base: 200ms;
  --t-slow: 320ms;

  /* Section rhythm */
  --section-pad: clamp(4rem, 8vw, 7rem);
  --container-max: 1200px;
}

/* =========================================================
   Base
   ========================================================= */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  scroll-padding-top: 110px;
}

body {
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-size: 1rem;
  line-height: 1.65;
  color: var(--ink-700);
  background-color: #000;
  font-feature-settings: "cv02", "cv03", "cv04", "cv11";
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

::selection {
  background: var(--brand-200);
  color: var(--brand-900);
}

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

/* Container width tuning */
@media (min-width: 1200px) {
  .container,
  .container-lg,
  .container-md,
  .container-sm,
  .container-xl {
    max-width: var(--container-max);
  }
}

/* =========================================================
   Typography
   ========================================================= */
h1, h2, h3, h4, h5, h6,
.h1, .h2, .h3, .h4, .h5, .h6 {
  font-family: 'Rajdhani', sans-serif;
  color: #fff;
  letter-spacing: -0.02em;
  line-height: 1.15;
  font-weight: 700;
}

h1, .h1 { font-size: 3rem;   font-weight: 800; }
h2, .h2 { font-size: 2.4rem; }
h3, .h3 { font-size: 2.1rem; }
h4, .h4 { font-size: 1.8rem; }
h5, .h5 { font-size: 1.5rem; }
h6, .h6 { font-size: 1rem !important; }

.display-1, .display-2, .display-3,
.display-4, .display-5, .display-6 {
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.08;
}

.display-4 { font-size: clamp(2.65rem, 5.5vw, 4rem); }
.display-5 { font-size: clamp(2.2rem, 4.5vw, 3.15rem); }
.display-6 { font-size: clamp(1.95rem, 3.5vw, 2.65rem); }

.lead {
  font-size: clamp(1.05rem, 1.4vw, 1.2rem);
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.75);
  font-weight: 400;
}

p { color: rgba(255, 255, 255, 0.75); }

.text-muted { color: rgba(255, 255, 255, 0.5) !important; }
.text-primary { color: rgba(255, 255, 255, 0.6) !important; }

/* =========================================================
   Accent header badge (HUD / tactical style eyebrow label)
   =========================================================
   Colour:  change `--accent-hud` below to retheme everything.
   Speed:   see JS `SCRAMBLE_DURATION` / `SCRAMBLE_INTERVAL`.
   ========================================================= */
:root {
  --accent-hud: 253, 223, 0; /* RGB for the accent colour - edit this to retheme (#fddf00) */
}

.accent-header {
  display: inline-block;
  position: relative;
  padding: 0.2rem 0.65rem;
  font-family: 'Rajdhani', sans-serif;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgb(var(--accent-hud));
  background: rgba(var(--accent-hud), 0.06);
  border: 1px dashed rgba(var(--accent-hud), 0.38);
  border-radius: 2px;
  margin-bottom: 1.5rem;
  line-height: 1.7;
  white-space: nowrap;
}

/* HUD corner brackets - 8 painted lines, one pseudo-element */
.accent-header::before {
  content: '';
  position: absolute;
  inset: -3px;
  background:
    linear-gradient(rgb(var(--accent-hud)), rgb(var(--accent-hud))) top    left  / 8px 1.5px no-repeat,
    linear-gradient(rgb(var(--accent-hud)), rgb(var(--accent-hud))) top    left  / 1.5px 8px no-repeat,
    linear-gradient(rgb(var(--accent-hud)), rgb(var(--accent-hud))) top    right / 8px 1.5px no-repeat,
    linear-gradient(rgb(var(--accent-hud)), rgb(var(--accent-hud))) top    right / 1.5px 8px no-repeat,
    linear-gradient(rgb(var(--accent-hud)), rgb(var(--accent-hud))) bottom right / 8px 1.5px no-repeat,
    linear-gradient(rgb(var(--accent-hud)), rgb(var(--accent-hud))) bottom right / 1.5px 8px no-repeat,
    linear-gradient(rgb(var(--accent-hud)), rgb(var(--accent-hud))) bottom left  / 8px 1.5px no-repeat,
    linear-gradient(rgb(var(--accent-hud)), rgb(var(--accent-hud))) bottom left  / 1.5px 8px no-repeat;
  pointer-events: none;
}

/* Spacing helpers */
.py-6 {
  padding-top: var(--section-pad) !important;
  padding-bottom: var(--section-pad) !important;
}

/* =========================================================
   Focus styles
   ========================================================= */
:focus-visible {
  outline: none;
  box-shadow: var(--shadow-ring);
  border-radius: var(--r-sm);
}
.btn:focus-visible,
.nav-link:focus-visible {
  box-shadow: var(--shadow-ring);
}

/* =========================================================
   Buttons
   ========================================================= */
.btn {
  --bs-btn-padding-y: 0.6rem;
  --bs-btn-padding-x: 1.1rem;
  border-radius: var(--r-sm);
  font-weight: 600;
  letter-spacing: -0.005em;
  transition:
    transform var(--t-fast) var(--ease),
    box-shadow var(--t-base) var(--ease),
    background-color var(--t-base) var(--ease),
    color var(--t-base) var(--ease),
    border-color var(--t-base) var(--ease);
}
.btn:active { transform: translateY(0); }

.btn-lg {
  --bs-btn-padding-y: 0.85rem;
  --bs-btn-padding-x: 1.5rem;
  font-size: 1rem;
  border-radius: var(--r-md);
}

.btn-primary {
  --bs-btn-bg: var(--brand-600);
  --bs-btn-border-color: var(--brand-600);
  --bs-btn-hover-bg: var(--brand-700);
  --bs-btn-hover-border-color: var(--brand-700);
  --bs-btn-active-bg: var(--brand-800);
  --bs-btn-active-border-color: var(--brand-800);
  box-shadow: var(--shadow-brand);
}
.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 16px 32px -10px rgba(79, 70, 229, 0.55);
}

.btn-outline-primary {
  --bs-btn-color: var(--brand-700);
  --bs-btn-border-color: var(--brand-200);
  --bs-btn-bg: #ffffff;
  --bs-btn-hover-bg: var(--brand-50);
  --bs-btn-hover-border-color: var(--brand-300);
  --bs-btn-hover-color: var(--brand-700);
  --bs-btn-active-bg: var(--brand-100);
}
.btn-outline-primary:hover { transform: translateY(-1px); }

.btn-outline-secondary {
  --bs-btn-color: var(--ink-700);
  --bs-btn-border-color: var(--ink-200);
  --bs-btn-bg: #ffffff;
  --bs-btn-hover-bg: var(--ink-50);
  --bs-btn-hover-border-color: var(--ink-300);
  --bs-btn-hover-color: var(--ink-900);
}
.btn-outline-secondary:hover { transform: translateY(-1px); }

.btn-light {
  --bs-btn-bg: #ffffff;
  --bs-btn-border-color: #ffffff;
  --bs-btn-color: var(--brand-700);
  --bs-btn-hover-bg: var(--brand-50);
  --bs-btn-hover-border-color: var(--brand-50);
  --bs-btn-hover-color: var(--brand-800);
  box-shadow: var(--shadow-md);
}
.btn-light:hover { transform: translateY(-1px); }

/* =========================================================
   Site Header - two-row, White House-style
   ========================================================= */
/* Shared background for header + hero */
.page-hero-bg {
  position: relative;
  overflow: hidden;
  margin-top: -145px;
  min-height: 100vh;
  background-color: #000;
}

.page-hero-bg::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 25%;
  background: linear-gradient(to top, transparent 0%, #000 100%);
  z-index: 2;
  pointer-events: none;
}

.page-hero-bg::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 35%;
  background: linear-gradient(to bottom, transparent 0%, #000 100%);
  z-index: 2;
  pointer-events: none;
}

.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: 0;
}

.site-header {
  background: transparent;
  z-index: 1030;
  transition: background 220ms ease;
}
.site-header.header-scrolled {
  background: #000;
}

/* Top row */
.site-header__top {
  padding: 0.65rem 0;
}

.site-header__top-inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
}

/* Menu button */
.site-header__menu-btn {
  background: none;
  border: none;
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  cursor: pointer;
  padding: 0.4rem 0.55rem;
  border-radius: var(--r-sm);
  transition: background-color var(--t-base) var(--ease), color var(--t-base) var(--ease);
  white-space: nowrap;
}
@media (min-width: 992px) {
  .site-header__menu-btn {
    padding: 0.4rem 0.55rem;
    width: fit-content;
  }
}
.site-header__menu-btn:hover {
  background-color: rgba(255, 255, 255, 0.1);
  color: #fff;
}
.site-header__menu-btn i {
  font-size: 1.15rem;
}

/* Inline header search form */
.site-header__search-form {
  justify-self: end;
  display: flex;
  align-items: center;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: var(--r-pill);
  overflow: hidden;
  transition: border-color var(--t-base) var(--ease), background var(--t-base) var(--ease);
}

.site-header__search-form:focus-within {
  border-color: rgba(255,255,255,0.45);
  background: rgba(255,255,255,0.13);
}

.site-header__search-input {
  background: none;
  border: none;
  outline: none;
  color: #fff;
  font-size: 0.82rem;
  padding: 0.35rem 0.75rem;
  width: 160px;
  transition: width var(--t-base) var(--ease);
}

.site-header__search-input::placeholder {
  color: rgba(255,255,255,0.7);
}

.site-header__search-input::-webkit-search-cancel-button {
  filter: invert(1);
}

.site-header__search-submit {
  background: none;
  border: none;
  color: rgba(255,255,255,0.7);
  padding: 0.35rem 0.65rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  transition: color var(--t-base) var(--ease);
}

.site-header__search-submit:hover {
  color: #fff;
}

/* Center logo */
.site-header__logo {
  display: flex;
  justify-content: center;
  align-items: center;
}
.site-header__logo img {
  height: 48px;
  width: auto;
  display: block;
}

/* Bottom nav row */
.site-header__nav {
  background-color: transparent;
}

.site-header__nav-list {
  display: flex;
  justify-content: center;
  align-items: center;
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-header__nav-link {
  display: block;
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 0.7rem 1rem;
  border-bottom: 3px solid transparent;
  transition:
    color var(--t-base) var(--ease),
    border-color var(--t-base) var(--ease),
    background-color var(--t-base) var(--ease);
}
.site-header__nav-link--tip {
  color: #fddf00 !important;
}

.site-header__nav-link:hover,
.site-header__nav-link.active {
  color: var(--accent-gold);
  border-bottom-color: var(--accent-gold);
  background-color: rgba(255, 255, 255, 0.04);
}

/* Scroll padding accounts for the sticky header height (~115px) */
html { scroll-padding-top: 115px; }

@media (min-width: 768px) {
  .site-header__logo img { height: 85px; }
  .site-header__top { padding: 1.5rem 0 0 0; }
}

@media (max-width: 767.98px) {
  .site-header__logo img { height: 38px; }
  .page-hero-bg { min-height: 35vh !important; }
  .hero { min-height: 35vh !important; padding: 0 0 1.25rem; align-items: flex-end !important; justify-content: center !important; text-align: center !important; }
  .hero-headline { text-align: center; }
  .hero-headline .hero-subheadline { margin-top: 0.25rem !important; font-size: 1rem; }
  .site-header__nav { display: none !important; }
  .site-header__search-input { display: none !important; }
  .site-header__search-form { background: none; border: none; padding: 0; }
  .site-header__search-submit { color: rgba(255,255,255,0.8); background: none; border: none; font-size: 1.15rem; padding: 0.25rem; }
}

@media (max-width: 480px) {
  .site-header__nav-list { flex-wrap: wrap; }
  .site-header__nav-link { padding: 0.55rem 0.5rem; }
}

/* =========================================================
   Hero
   ========================================================= */
.hero {
  position: relative;
  z-index: 3;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  min-height: calc(100vh - 115px);
  margin-top: 115px;
  padding: 3rem 0 5rem;
  overflow: hidden;
  text-align: center;
}

.hero-headline {
  font-size: clamp(2.2rem, 5.5vw, 5rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.1;
  color: #fff;
  margin: 0 auto;
  max-width: 820px;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.5);
}

.hero-headline span {
  color: var(--accent-gold);
}

.hero-headline .hero-subheadline {
  display: block;
  font-size: clamp(1.25rem, 2.5vw, 1.75rem);
  font-weight: 400;
  letter-spacing: 0;
  line-height: 1.25;
  color: #fff;
  margin-top: 0;
}

@keyframes heroReveal {
  from {
    opacity: 0;
    transform: translateY(28px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-reveal {
  display: block;
  opacity: 0;
  animation: heroReveal 1.4s cubic-bezier(0.22, 1, 0.36, 1) forwards;
  color: #fff !important;
}

.badge.rounded-pill {
  border-radius: var(--r-pill);
  font-weight: 600;
  letter-spacing: 0.01em;
}
.badge.text-bg-light {
  background-color: #fff !important;
  color: var(--ink-700) !important;
  border-color: var(--ink-200) !important;
  box-shadow: var(--shadow-xs);
}

/* =========================================================
   Sections - alternating, spaced
   ========================================================= */
section {
  position: relative;
  scroll-margin-top: 110px;
}
section h2,
header h1 { color: #fff; }

#what-we-investigate,
#about,
#submit-a-tip {
  background: #000;
}
#what-we-investigate::before,
#submit-a-tip::before { top: 0; }
#what-we-investigate::after,
#about::after { bottom: 0; }

/* =========================================================
   Feature cards
   ========================================================= */
.feature-card {
  background: #111;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--r-lg);
  padding: 2rem 1.85rem;
  box-shadow: var(--shadow-xs);
  transition:
    transform var(--t-base) var(--ease),
    box-shadow var(--t-base) var(--ease),
    border-color var(--t-base) var(--ease);
  position: relative;
  overflow: hidden;
}
.feature-card::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.0), rgba(99, 102, 241, 0.06));
  opacity: 0;
  transition: opacity var(--t-base) var(--ease);
}
.feature-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}
.feature-card:hover::after { opacity: 1; }
.feature-card h3 {
  margin-bottom: 0.5rem;
  font-size: 1.15rem;
  letter-spacing: -0.01em;
}
.feature-card p { font-size: 0.97rem; }

.feature-icon {
  width: 56px;
  height: 56px;
  border-radius: var(--r-md);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 1.1rem;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08);
  transition: transform var(--t-base) var(--ease);
  background-color: rgba(255,255,255,0.08) !important;
  color: var(--accent-gold) !important;
}
.feature-card:hover .feature-icon {
  transform: scale(1.05) rotate(-3deg);
}

/* =========================================================
   About
   ========================================================= */
.about-video-link {
  display: block;
  text-decoration: none;
}

.about-video-wrap {
  position: relative;
  border-radius: var(--r-xl);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  aspect-ratio: 16 / 9;
  background: #000;
}

.about-video-thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: opacity var(--t-base) var(--ease), transform var(--t-slow) var(--ease);
}

.about-video-link:hover .about-video-thumb {
  opacity: 0.75;
  transform: scale(1.03);
}

.about-video-play {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 4.5rem;
  color: #fff;
  text-shadow: 0 2px 16px rgba(0,0,0,0.5);
  transition: transform var(--t-base) var(--ease);
}

.about-video-link:hover .about-video-play {
  transform: scale(1.12);
}

.about-video-label {
  position: absolute;
  bottom: 1rem;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(0,0,0,0.72);
  color: #fff;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  padding: 0.35rem 0.85rem;
  border-radius: var(--r-pill);
  white-space: nowrap;
}


/* Sequential fade - out first, then in */
section.social-section #socialCarousel.carousel-fade .carousel-item {
  opacity: 0;
  transition: opacity 0.2s ease;
}

section.social-section #socialCarousel.carousel-fade .carousel-item.active {
  opacity: 1;
}

section.social-section #socialCarousel.carousel-fade .carousel-item.active.carousel-item-start,
section.social-section #socialCarousel.carousel-fade .carousel-item.active.carousel-item-end {
  opacity: 0;
  z-index: 2;
  transition: opacity 0.2s ease;
}

section.social-section #socialCarousel.carousel-fade .carousel-item-next.carousel-item-start,
section.social-section #socialCarousel.carousel-fade .carousel-item-prev.carousel-item-end {
  opacity: 1;
  z-index: 3;
  transition: opacity 0.2s ease 0.2s;
}

/* Social carousel */
section.social-section {
  position: relative;
}

section.social-section .social-follow-btn {
  background: #000;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.5);
  transition: background 0.2s ease, border-color 0.2s ease;
}

section.social-section .social-follow-btn:hover {
  background: #1a1a1a;
  color: #fff;
  border-color: #fff;
}

section.social-section #socialCarousel {
  position: relative;
}

section.social-section .social-carousel__content-wrap {
  position: relative;
}

section.social-section .social-carousel__control {
  display: none;

}

section.social-section .social-carousel__control.carousel-control-prev { left: 1rem; }
section.social-section .social-carousel__control.carousel-control-next { right: 1rem; }

@media (min-width: 1200px) {
  section.social-section .social-carousel__control.carousel-control-prev {
    left: max(1rem, calc((100% - 1140px) / 2 - 3.5rem));
  }
  section.social-section .social-carousel__control.carousel-control-next {
    right: max(1rem, calc((100% - 1140px) / 2 - 3.5rem));
  }
}

@media (min-width: 1400px) {
  section.social-section .social-carousel__control {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,0.15);
    border: 1px solid rgba(255,255,255,0.25);
    border-radius: 50%;
    color: rgba(255,255,255,0.9);
    font-size: 1.4rem;
    line-height: 1;
    transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
    z-index: 10;
  }
  section.social-section .social-carousel__control.carousel-control-prev {
    left: calc((100% - 1320px) / 2 - 3.5rem);
  }
  section.social-section .social-carousel__control.carousel-control-next {
    right: calc((100% - 1320px) / 2 - 3.5rem);
  }
}

section.social-section .social-carousel__control:hover {
  background: rgba(255,255,255,0.3);
  border-color: rgba(255,255,255,0.5);
  color: #fff;
}

section.social-section .social-carousel__indicators {
  position: static;
  margin: 2rem 0 0;
  gap: 0.4rem;
}

section.social-section .social-carousel__indicators [data-bs-target] {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,0.3);
  border: none;
  opacity: 1;
  transition: background 0.2s ease;
}

section.social-section .social-carousel__indicators .active {
  background: #fff;
}

section.social-section .social-carousel__counter {
  text-align: center;
  margin-top: 0.6rem;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.45);
  letter-spacing: 0.05em;
}

/* Off-canvas nav */
#siteOffcanvas {
  background: #000;
  border-right: 1px solid rgba(255,255,255,0.1);
  width: 300px;
}

#siteOffcanvas .offcanvas-header {
  border-bottom: 1px solid rgba(255,255,255,0.1);
  padding: 1.25rem 1.5rem;
}

/* FBI Jobs */
.fbi-jobs-section {
  position: relative;
  min-height: 520px;
  display: flex;
  align-items: center;
  background-image: url('../img/FBI-Jobs.png');
  background-size: cover;
  background-position: center;
}

.fbi-jobs-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.45);
  z-index: 0;
}

.fbi-jobs-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 35%;
  background: linear-gradient(to bottom, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0) 100%);
  z-index: 2;
  pointer-events: none;
}

.fbi-jobs-section::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 35%;
  background: linear-gradient(to top, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0) 100%);
  z-index: 2;
  pointer-events: none;
}

.fbi-jobs-content {
  position: relative;
  z-index: 3;
  padding-top: 5rem;
  padding-bottom: 5rem;
}

.fbi-jobs__title {
  font-size: clamp(2.2rem, 5vw, 3.75rem);
  font-weight: 800;
  color: #fff;
  margin-bottom: 1rem;
  max-width: 700px;
}

.fbi-jobs__body {
  font-size: clamp(1rem, 1.5vw, 1.25rem);
  color: rgba(255,255,255,0.8);
  max-width: 560px;
  line-height: 1.65;
  margin: 0;
}

/* Our Reach */
.reach-card {
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: var(--r-lg);
  overflow: hidden;
}

.reach-top {
  display: grid;
  grid-template-columns: 1fr 320px;
}

.reach-map {
  border-right: 1px solid rgba(255,255,255,0.15);
}

.reach-map__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.reach-headline {
  padding: 2.5rem 2rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.reach-headline__title {
  font-size: clamp(1.5rem, 2.5vw, 2.25rem);
  font-weight: 800;
  color: #fff;
  line-height: 1.15;
  margin-bottom: 1.25rem;
}

.reach-headline__body {
  font-size: 0.97rem;
  color: rgba(255,255,255,0.7);
  line-height: 1.65;
  margin: 0;
}

.reach-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid rgba(255,255,255,0.15);
}

.reach-stat-group {
  padding: 1.5rem 2rem;
  border-right: 1px solid rgba(255,255,255,0.15);
}

.reach-stat-group:last-child {
  border-right: none;
}

.reach-stat-group__label {
  font-size: 0.85rem;
  font-weight: 700;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 0.75rem;
}

.reach-stat-group__figures {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.reach-stat-group__number {
  font-size: clamp(2rem, 3.5vw, 2.75rem);
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.03em;
  line-height: 1;
}

.reach-stat-group__desc {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.55);
  line-height: 1.35;
  margin-top: 0.3rem;
}

.reach-stat-group__divider {
  width: 1px;
  height: 48px;
  background: rgba(255,255,255,0.2);
  flex-shrink: 0;
}

.reach-stat-group__globe {
  margin-left: auto;
}

.reach-stat-group__globe-img {
  width: 72px;
  height: 72px;
  object-fit: contain;
  display: block;
}

@media (max-width: 768px) {
  .reach-top {
    grid-template-columns: 1fr;
  }
  .reach-map {
    border-right: none;
    border-bottom: 1px solid rgba(255,255,255,0.15);
  }
  .reach-stats {
    grid-template-columns: 1fr;
  }
  .reach-stat-group {
    border-right: none;
    border-bottom: 1px solid rgba(255,255,255,0.15);
  }
  .reach-stat-group:last-child {
    border-bottom: none;
  }
}

/* Results stats */
.results-stat {
  background: transparent;
  border: none;
  border-radius: var(--r-lg);
  padding: 0.75rem 1rem;
  height: 100%;
  text-align: center;
}

.results-stat__img {
  height: 120px;
  object-fit: cover;
  border-radius: var(--r-md);
  margin: 0 auto 1.25rem auto;
  display: block;
}

.results-stat__number {
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin-bottom: 0.5rem;
}

.results-stat__number--down {
  color: #fff;
}

.results-stat__label {
  font-size: 0.92rem;
  color: rgba(255,255,255,0.6);
  line-height: 1.5;
}

/* Partnership cards */
.partnership-card {
  background: #111;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--r-lg);
  padding: 2rem 1.85rem;
  height: 100%;
}

.partnership-card__title {
  font-size: 1.5rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 0.75rem;
}

.partnership-card__body {
  font-size: 0.97rem;
  color: rgba(255,255,255,0.6);
  line-height: 1.65;
  margin: 0;
}

/* =========================================================
   I Want To - quick link cards
   ========================================================= */
.quick-link-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  text-align: center;
  gap: 0.75rem;
  background: #111;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--r-lg);
  padding: 1.5rem;
  height: 100%;
  color: #fff;
  text-decoration: none;
  box-shadow: var(--shadow-xs);
  transition:
    transform var(--t-base) var(--ease),
    box-shadow var(--t-base) var(--ease),
    border-color var(--t-base) var(--ease);
  position: relative;
  overflow: hidden;
}

.quick-link-card::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.0), rgba(99, 102, 241, 0.06));
  opacity: 0;
  transition: opacity var(--t-base) var(--ease);
}

.quick-link-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
  color: #fff;
}

.quick-link-card:hover::after {
  opacity: 1;
}

.quick-link-card__icon-img {
  width: 100px;
  height: 100px;
  object-fit: contain;
  flex-shrink: 0;
  opacity: 0.9;
}

.quick-link-card__label {
  font-size: 0.9rem;
  font-weight: 600;
  line-height: 1.4;
}

.quick-link-card__icon {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.4);
  flex-shrink: 0;
  transition: color 0.2s ease, transform 0.2s ease;
}

.quick-link-card:hover .quick-link-card__icon {
  color: #fff;
  transform: translateX(3px);
}

/* Quick Links - mobile side scroll */
.quick-link-scroll-track {
  display: flex;
  gap: 3.5rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  padding-bottom: 1rem;
  cursor: grab;
}

.quick-link-scroll-track:active {
  cursor: grabbing;
}

.quick-link-scroll-track::-webkit-scrollbar {
  height: 4px;
}

.quick-link-scroll-track::-webkit-scrollbar-track {
  background: rgba(255,255,255,0.06);
  border-radius: 2px;
}

.quick-link-scroll-track::-webkit-scrollbar-thumb {
  background: rgba(255,255,255,0.2);
  border-radius: 2px;
}

.quick-link-scroll-item {
  flex: 0 0 140px;
  scroll-snap-align: start;
  position: relative;
}

.quick-link-scroll-item:not(:last-child)::after {
  content: '\F138';
  font-family: "bootstrap-icons";
  position: absolute;
  left: 100%;
  width: 3.5rem;
  bottom: 0;
  text-align: center;
  color: rgba(255, 255, 255, 0.35);
  font-size: 1.5rem;
  pointer-events: none;
}

/* Quick Links - desktop marquee */
@keyframes quick-link-marquee-scroll {
  0%   { transform: translateX(var(--ql-marquee-start, 0px)); }
  100% { transform: translateX(calc(-100% + 100vw)); }
}

.quick-link-marquee {
  overflow: hidden;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
}

.quick-link-marquee__track {
  display: flex;
  gap: 3.5rem;
  align-items: stretch;
  width: max-content;
  padding: 0 2rem;
  animation: quick-link-marquee-scroll 45s linear 1 forwards;
  animation-play-state: paused;
  cursor: grab;
}

.quick-link-marquee.in-view .quick-link-marquee__track {
  animation-play-state: running;
}

.quick-link-marquee__track.is-dragging {
  cursor: grabbing;
  user-select: none;
}

.quick-link-marquee__item {
  flex: 0 0 200px;
  width: 200px;
  position: relative;
}

.quick-link-marquee__item:not(:last-child)::after {
  content: '\F138';
  font-family: "bootstrap-icons";
  position: absolute;
  left: 100%;
  width: 3.5rem;
  bottom: 0;
  text-align: center;
  color: rgba(255, 255, 255, 0.35);
  font-size: 1.5rem;
  pointer-events: none;
}

/* Investigate feature cards with background images */
.investigate-bg-card {
  position: relative;
  background-size: cover;
  background-position: center;
  min-height: 200px;
  display: flex;
  align-items: flex-end;
  padding: 1.5rem;
  overflow: hidden;
}

.investigate-bg-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.75) 0%, rgba(0,0,0,0.2) 60%, transparent 100%);
  border-radius: inherit;
  z-index: 2;
}

.investigate-bg-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0);
  transition: background 0.35s ease;
  z-index: 3;
}

.investigate-bg-card:hover::after {
  background: rgba(0,0,0,0.45);
}

.investigate-bg-card--terrorism       { background-image: url('../img/terrorism.jpeg'); }
.investigate-bg-card--counterintelligence { background-image: url('../img/counterintelligence-and-espionage.webp'); }
.investigate-bg-card--cybercrime      { background-image: url('../img/cybercrime.jpeg'); }
.investigate-bg-card--organized       { background-image: url('../img/organized-crime.webp'); }
.investigate-bg-card--white-collar    { background-image: url('../img/white-collar-crime.webp'); }
.investigate-bg-card--violent         { background-image: url('../img/violent-crime.jpg'); }

.investigate-bg-card h3 {
  position: relative;
  z-index: 4;
  color: #fff;
  margin: 0;
  font-size: 2rem;
  text-shadow: 0 2px 8px rgba(0,0,0,0.5);
}

/* Investigate cards */
.investigate-card {
  background-color: #111;
  background-size: cover;
  background-position: center;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--r-lg);
  overflow: hidden;
  min-height: 200px;
  display: flex;
  align-items: flex-end;
  padding: 1.5rem;
  position: relative;
}

.investigate-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.75) 0%, rgba(0,0,0,0.2) 60%, transparent 100%);
  border-radius: inherit;
}

.investigate-card__title {
  font-size: 1.25rem;
  font-weight: 700;
  color: #fff;
  margin: 0;
  position: relative;
  z-index: 2;
  text-shadow: 0 2px 8px rgba(0,0,0,0.6);
}

/* Strategy cards */
.strategy-card {
  background: #111;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--r-lg);
  padding: 2rem 1.85rem;
  height: 100%;
}

.strategy-card__title {
  font-size: 1.5rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 0.75rem;
}

.strategy-card__body {
  font-size: 0.97rem;
  color: rgba(255,255,255,0.7);
  line-height: 1.65;
  margin: 0;
}

/* =========================================================
   Footer
   ========================================================= */
.site-footer {
  position: relative;
  overflow: hidden;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
}

@media (min-width: 768px) {
  .site-footer {
    border-top: none;
  }
}

.footer-bg-img {
  display: none;
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  pointer-events: none;
}

.site-footer > .container {
  position: relative;
  z-index: 2;
}

.footer-logo-img {
  max-width: 300px;
  height: auto;
}

.footer-copyright {
  white-space: nowrap;
}

@media (min-width: 768px) {
  .footer-bg-img {
    display: block;
  }

  .site-footer {
    padding-top: 6rem !important;
  }
}

footer h5 a {
  color: #fff;
  text-decoration: none;
}
footer h5 a:hover {
  color: rgba(255,255,255,0.75);
}

.footer-links a {
  color: #fff;
  text-decoration: none;
  display: inline-block;
  padding: 0.3rem 0;
  border-radius: 4px;
  transition: color var(--t-fast) var(--ease), transform var(--t-fast) var(--ease);
}
.footer-links a:hover {
  color: #fff;
  transform: translateX(2px);
}

/* =========================================================
   Back to top
   ========================================================= */
.back-to-top {
  position: fixed;
  right: clamp(1rem, 2vw, 1.5rem);
  bottom: clamp(1rem, 2vw, 1.5rem);
  width: 46px;
  height: 46px;
  border-radius: 50%;
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transform: translateY(12px) scale(0.95);
  transition:
    opacity var(--t-base) var(--ease),
    transform var(--t-base) var(--ease),
    box-shadow var(--t-base) var(--ease);
  z-index: 1030;
  box-shadow: var(--shadow-brand);
}
.back-to-top.show {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0) scale(1);
}
.back-to-top:hover {
  transform: translateY(-2px) scale(1);
}

/* =========================================================
   Responsive tweaks
   ========================================================= */
@media (max-width: 991.98px) {
  .hero { text-align: left; }
}

@media (max-width: 767.98px) {
  .hero .badge { font-size: 0.72rem; }
  .feature-card { padding: 1.6rem 1.4rem; }
  .display-4 { font-size: 2.5rem; }
  .display-6 { font-size: 1.95rem; }
  .lead { font-size: 1.02rem; }
}

@media (max-width: 575.98px) {
  :root { --section-pad: 3.5rem; }
  .btn-lg { padding: 0.75rem 1.25rem; font-size: 0.95rem; }
  .footer-links a:hover { transform: none; }
}

/* =========================================================
   X / Tweet cards
   ========================================================= */
.tweet-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.tweet-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: #000;
  color: #fff;
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.tweet-avatar--photo { object-fit: cover; object-position: center; }

.tweet-account {
  display: flex;
  flex-direction: column;
  line-height: 1.25;
  flex: 1;
}

.tweet-name {
  font-weight: 700;
  font-size: 0.9rem;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.tweet-verified {
  color: #1d9bf0;
  font-size: 0.85rem;
}

.tweet-verified--pink {
  color: #ff4775;
}

.tweet-handle {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.5);
}

.tweet-x-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  color: #fff;
  text-decoration: none;
  flex-shrink: 0;
  opacity: 0.85;
  transition: opacity 0.2s ease;
}

.tweet-x-link:hover {
  opacity: 1;
  color: #fff;
}

.tweet-x-view-label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.tweet-x-logo {
  font-size: 1.1rem;
  color: #fff;
  flex-shrink: 0;
}

.tweet-platform-logo {
  width: 6rem;
  height: 6rem;
  object-fit: contain;
  flex-shrink: 0;
}

.tweet-mention {
  text-decoration: none;
  color: #1d9bf0;
}

.tweet-body {
  font-size: 0.92rem;
  color: rgba(255,255,255,0.8);
  line-height: 1.55;
  margin: 0;
  flex: 1;
}

/* Enlarged tweet for carousel slide */
.tweet-slide .tweet-avatar {
  width: 64px;
  height: 64px;
}

.tweet-slide .tweet-name {
  font-size: 1.15rem;
}

.tweet-slide .tweet-handle {
  font-size: 1rem;
}

.tweet-slide .tweet-verified {
  font-size: 1rem;
}

.tweet-slide .tweet-x-logo {
  font-size: 1.6rem;
}

.tweet-slide .tweet-body {
  font-size: 1.2rem;
  line-height: 1.65;
}

.tweet-date {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.4);
}

/* =========================================================
   Most Wanted cards
   ========================================================= */
/* Most Wanted - desktop carousel */
/* Most Wanted - desktop marquee */
@keyframes wanted-marquee-scroll {
  0%   { transform: translateX(var(--marquee-start, 0px)); }
  100% { transform: translateX(calc(-100% + 100vw)); }
}

.wanted-marquee {
  overflow: hidden;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
}

.wanted-marquee__track {
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
  width: max-content;
  padding: 0 2rem;
  animation: wanted-marquee-scroll 45s linear 1 forwards;
  animation-play-state: paused;
}

.wanted-marquee.in-view .wanted-marquee__track {
  animation-play-state: running;
}

.wanted-marquee__track {
  cursor: grab;
}

.wanted-marquee__track.is-dragging {
  cursor: grabbing;
  user-select: none;
}

.wanted-marquee__item {
  flex: 0 0 260px;
  width: 260px;
}

/* Most Wanted - horizontal scroll track */
.wanted-scroll-track {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-padding-left: 0;
  -webkit-overflow-scrolling: touch;
  padding-bottom: 1rem;
  cursor: grab;
}

.wanted-scroll-track:active {
  cursor: grabbing;
}

.wanted-scroll-track::-webkit-scrollbar {
  height: 4px;
}

.wanted-scroll-track::-webkit-scrollbar-track {
  background: rgba(255,255,255,0.06);
  border-radius: 2px;
}

.wanted-scroll-track::-webkit-scrollbar-thumb {
  background: rgba(255,255,255,0.2);
  border-radius: 2px;
}

.wanted-scroll-item {
  flex: 0 0 220px;
  scroll-snap-align: start;
}

@media (max-width: 767.98px) {
  .wanted-scroll-item { flex: 0 0 160px; }
}

/* Portrait image cards - Most Wanted */
.wanted-portrait {
  display: block;
  position: relative;
  border-radius: var(--r-lg);
  overflow: hidden;
  text-decoration: none;
  background: #111827;
}

.wanted-capture-stat {
  margin-bottom: 1.5rem;
  font-size: 1.1rem;
  font-weight: 500;
  color: rgba(255,255,255,0.75);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.wanted-capture-stat__number {
  font-weight: 700;
  color: #fff;
}

.wanted-portrait__badge {
  position: absolute;
  top: 0.65rem;
  left: 0.65rem;
  background: var(--accent-red, #b22234);
  color: #fff;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.28rem 0.6rem;
  border-radius: var(--r-xs);
  z-index: 4;
  display: flex;
  flex-direction: column;
  align-items: center;
  line-height: 1.3;
}

.wanted-portrait__badge-date {
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  opacity: 0.9;
  text-transform: none;
}

.wanted-portrait__img {
  width: 100%;
  height: auto;
  display: block;
  display: block;
}

.wanted-portrait__overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 1.25rem 1rem 1rem;
  background: linear-gradient(to top, rgba(0,0,0,0.88) 0%, rgba(0,0,0,0.4) 60%, transparent 100%);
  text-align: center;
}

.wanted-portrait__name {
  font-size: 0.95rem;
  font-weight: 700;
  color: #fff;
  margin: 0 0 0.2rem;
  line-height: 1.2;
}

.tweet-more-link { display: none; }
.tweet-para-spacer { display: block; line-height: 0.5; }
.tweet-video-modal-trigger { cursor: pointer; }
.tweet-slide .tweet-more-link { color: #1d9bf0; font-size: 1rem; margin-top: 0.35rem; text-decoration: none; display: none; }
.tweet-show-more { display: block; color: #1d9bf0; font-size: 1rem; margin-top: 0.35rem; text-decoration: none; }
.tweet-show-more:hover { text-decoration: underline; }
.tweet-slide .tweet-more-link:hover { text-decoration: underline; }
.tweet-slide .tweet-more-link:hover { text-decoration: underline; }

@media (max-width: 767.98px) {
  .tweet-slide .tweet-avatar { width: 42px; height: 42px; }
  .tweet-slide .tweet-name { font-size: 0.9rem; }
  .tweet-slide .tweet-handle { font-size: 0.8rem; }
  .tweet-slide .tweet-verified { font-size: 0.85rem; }
  .tweet-slide .tweet-x-logo { font-size: 1.1rem; }
  .tweet-slide .tweet-body { font-size: 0.92rem; line-height: 1.55; margin-bottom: 0 !important; }
  .tweet-more-link { display: block; color: #1d9bf0; font-size: 0.9rem; margin-top: 0.25rem; text-decoration: none; }
  .social-section .about-video-wrap { aspect-ratio: 16 / 9; }
  .social-section .about-video-thumb {
    max-height: none;
    object-fit: cover;
    width: 100%;
    height: 100%;
  }
  #socialCarousel .row { --bs-gutter-y: 0.75rem; }
  #socialCarousel.carousel-fade .carousel-item { opacity: 1 !important; transition: transform 0.35s ease !important; transform: translateX(0); float: left; margin-right: -100%; }
  #socialCarousel.carousel-fade .carousel-item:not(.active):not(.carousel-item-next):not(.carousel-item-prev) { display: none !important; }
  #socialCarousel.carousel-fade .carousel-item.active, #socialCarousel.carousel-fade .carousel-item-next, #socialCarousel.carousel-fade .carousel-item-prev { display: block !important; opacity: 1 !important; }
  #socialCarousel.carousel-fade .carousel-item-next:not(.carousel-item-start), #socialCarousel.carousel-fade .carousel-item.active.carousel-item-end { transform: translateX(100%) !important; }
  #socialCarousel.carousel-fade .carousel-item-prev:not(.carousel-item-end), #socialCarousel.carousel-fade .carousel-item.active.carousel-item-start { transform: translateX(-100%) !important; }
}

/* =========================================================
   Reduced motion
   ========================================================= */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
  .hero-reveal { opacity: 1; transform: none; }
  .feature-card:hover,
  .btn:hover,
  .back-to-top:hover { transform: none; }
}
