  html {
    scroll-behavior: smooth;
  }

  .input {
    padding: 0.75rem;
    border-radius: 0.5rem;
    border: 1px solid #ec5413;
    background: #1c120d;
    color: white;
  }

  .skill-card {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
    border: 1px solid #ec5413;
    border-radius: 0.5rem;
    background: #2a1a13;
    font-weight: bold;
    text-align: center;
  }

  .glow-button {
    box-shadow: 0 0 10px #ec5413;
    transition: 0.3s;
  }
  .glow-button:hover {
    box-shadow: 0 0 20px #ff6a2e;
  }

  .btn-primary {
    padding: 1rem 3rem;   /* height (top/bottom), width (left/right) */
    font-size: 1.25rem;   /* text size */
    border-radius: 0.5rem;
    background-color: #ec5413;
    color: white;
    font-weight: bold;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
  }
  .btn-primary:hover {
    background-color: #ff6a2e;
  }

  #hero-tagline {
    transition: opacity 1s ease-in-out;
  }
  /* Hide scrollbar for Chrome, Safari, Edge */
  .scrollbar-hide::-webkit-scrollbar {
    display: none;
  }
  /* Hide scrollbar for Firefox */
  .scrollbar-hide {
    scrollbar-width: none;
  }


  /* --- EXISTING LANDING PAGE STYLES --- */
html {
  scroll-behavior: smooth;
}

.input {
  padding: 0.75rem;
  border-radius: 0.5rem;
  border: 1px solid #ec5413;
  background: #1c120d;
  color: white;
}

.skill-card {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  border: 1px solid #ec5413;
  border-radius: 0.5rem;
  background: #2a1a13;
  font-weight: bold;
  text-align: center;
}

.glow-button {
  box-shadow: 0 0 10px #ec5413;
  transition: 0.3s;
}
.glow-button:hover {
  box-shadow: 0 0 20px #ff6a2e;
}

.btn-primary {
  padding: 1rem 3rem;   /* height (top/bottom), width (left/right) */
  font-size: 1.25rem;   /* text size */
  border-radius: 0.5rem;
  background-color: #ec5413;
  color: white;
  font-weight: bold;
  box-shadow: 0 4px 10px rgba(0,0,0,0.3);
}
.btn-primary:hover {
  background-color: #ff6a2e;
}

#hero-tagline {
  transition: opacity 1s ease-in-out;
}
/* Hide scrollbar for Chrome, Safari, Edge */
.scrollbar-hide::-webkit-scrollbar {
  display: none;
}
/* Hide scrollbar for Firefox */
.scrollbar-hide {
  scrollbar-width: none;
}

/* --- SSOS PROJECT PAGE STYLES --- */

body {
  margin: 0;
  padding: 0;
  font-family: 'Space Grotesk', sans-serif;
  background: radial-gradient(ellipse at bottom, #0d1b2a, #000); /* dark space feel */
  color: #e0e0e0;
  line-height: 1.6;
  overflow-x: hidden;
}

/* Header styling */
header {
  text-align: center;
  padding: 2.5rem 1rem;
  background: rgba(18, 18, 18, 0.85);
  border-bottom: 2px solid #ec5413;
  box-shadow: 0 2px 10px rgba(236, 84, 19, 0.4);
}

header h1 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 3.5rem;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: 1.5px;
  margin-bottom: 0.5rem;
  text-shadow: 0 2px 6px rgba(0,0,0,0.6); /* subtle shadow */
}

header p {
  font-size: 1.1rem;
  color: #cccccc;
  font-weight: 400;
  text-shadow: 0 0 6px rgba(236, 84, 19, 0.4);
}

/* Section styling */
section {
  width: 100%;
  max-width: 100%;        /* full width */
  margin: 0 auto;
  padding: 4rem 2rem;
  background: transparent; /* remove box background */
  border: none;            /* no border */
  box-shadow: none;        /* no glow box */
}


section h2, section h3 {
  color: #ec5413;
  font-size: 2rem;
  margin-bottom: 1rem;
}

section p, section li {
  font-size: 1.1rem;
  line-height: 1.8;
  color: #e0e0e0;
  max-width: 900px;
  margin: auto;
}


section h3 {
  font-size: 1.3rem;
  color: #ff6a2e;
  margin-top: 1.5rem;
}


/* Images */
img {
  display: block;
  margin: 1.5rem auto;
  max-width: 100%;
  border: 2px solid #ec5413;
  border-radius: 0.5rem;
  box-shadow: 0 0 15px rgba(236, 84, 19, 0.3);
}

/* Footer */
footer {
  text-align: center;
  padding: 1.5rem;
  background: #1c120d;
  border-top: 2px solid #ec5413;
  font-size: 0.9rem;
  color: #aaa;
}

.video-banner {
  position: relative;
  width: 100vw;        /* Full viewport width */
  height: 80vh;        /* Taller immersive video */
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.video-banner video {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;   /* Crop instead of squish */
  z-index: -1;
}


.video-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  color: #fff;
}

.video-content h1 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 4rem;
  font-weight: 800;
  color: #fff;
}

.video-content p {
  font-size: 1.5rem;
  margin-top: 1rem;
}

.github-link {
  display: inline-block;
  margin-left: 0.5rem;
  vertical-align: middle;
}

.github-icon {
  width: 68px;
  height: 68px;
  
  transition: transform 0.2s ease, filter 0.2s ease;
  border: none;          /* remove border */
  box-shadow: none;      /* remove glow */
  background: none;      /* remove background */
  padding: 0;            /* no padding */
}


/* Maverick part */


    :root {
      --bg: #0d0d0f;
      --card: #161616;
      --text: #e5e7eb;
      --muted: #9ca3af;
      --primary: #ec5413;
      --hud: rgba(0,0,0,0.4);
      --hud-border: rgba(16,185,129,0.35);
      --hud-text: #a7f3d0;
    }
    body {
      margin: 0;
      background: var(--bg);
      color: var(--text);
      font-family: "Space Grotesk", system-ui, -apple-system, Segoe UI, Roboto, "Helvetica Neue", Arial, "Noto Sans", "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
      line-height: 1.6;
    }
    a { color: var(--primary); text-decoration: none; }
    a:hover { text-decoration: underline; }

    /* Header (simple, consistent with your other project pages) */
    header.header {
      padding: 2rem 1rem 1rem;
      text-align: center;
      border-bottom: 1px solid rgba(236,84,19,0.2);
    }
    header.header h1 {
      margin: 0 0 .5rem;
      font-size: clamp(1.5rem, 3vw, 2.25rem);
      font-weight: 700;
      letter-spacing: .02em;
    }
    header.header p {
      margin: 0 auto;
      color: var(--muted);
      max-width: 900px;
    }

    /* HERO: full-bleed YouTube with overlay + HUD */
    .hero {
      position: relative;
      width: 100%;
      height: min(100vh, 760px);
      overflow: hidden;
      border-bottom: 1px solid rgba(236,84,19,0.2);
    }
    .hero iframe,
    .hero .hero-video {
      position: absolute; inset: 0;
      width: 100%; height: 100%;
    }
    .hero .overlay {
      position: absolute; inset: 0;
      background: rgba(0,0,0,0.6);
    }
    .hero-content {
      position: absolute; inset: 0;
      display: grid;
      grid-template-rows: auto 1fr auto;
      padding: 1.25rem;
    }
    .hero-top {
      display: flex; align-items: flex-start; justify-content: space-between; gap: 1rem;
      max-width: 1200px; margin: 0 auto; width: 100%;
    }
    .hero-titlegroup small {
      display: block;
      color: var(--muted);
      font-size: .75rem;
      letter-spacing: .08em;
    }
    .hero-titlegroup h2 {
      margin: .25rem 0 0;
      font-size: clamp(1.25rem, 2.5vw, 1.75rem);
      font-weight: 700;
    }
    .hero-titlegroup .subtitle {
      color: var(--muted);
      font-size: .95rem;
      margin-top: .2rem;
    }
    .hero-status {
      background: var(--hud);
      border: 1px solid rgba(236,84,19,0.35);
      border-radius: .5rem;
      padding: .75rem 1rem;
      min-width: 200px;
    }
    .hero-status small { color: #bbbbbb; display: block; font-size: .75rem; }
    .hero-status strong { display: block; margin-top: .25rem; }

    .hero-center {
      display: grid; place-items: center; text-align: center; padding: 1rem;
    }
    .hero-center h1 {
      margin: 0;
      font-size: clamp(1.75rem, 4vw, 3rem);
      font-weight: 800;
      text-shadow: 0 4px 14px rgba(0,0,0,0.5);
    }
    .hero-center p {
      color: var(--muted);
      max-width: 900px;
      margin: .75rem auto 1rem;
      padding: 0 1rem;
    }
    .cta {
      display: inline-flex; align-items: center; gap: .5rem;
      background: var(--primary);
      color: #000;
      padding: .6rem 1rem;
      border-radius: .6rem;
      font-weight: 700;
      box-shadow: 0 6px 30px rgba(236,84,19,0.3);
      transition: transform .15s ease, filter .15s ease;
    }
    .cta:hover { transform: translateY(-1px); filter: brightness(1.05); }

    .hero-bottom {
      display: flex; align-items: center; justify-content: space-between;
      color: var(--muted);
      font-size: .8rem;
      max-width: 1200px; margin: 0 auto; width: 100%;
    }

    /* Telemetry HUD */
    .telemetry {
      margin: 1rem auto 0; 
      width: min(92vw, 700px);
      color: var(--hud-text);
      font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
    }
    .telemetry-grid {
      display: grid; grid-template-columns: repeat(2, 1fr); gap: .75rem;
    }
    .tile {
      background: var(--hud);
      border: 1px solid var(--hud-border);
      border-radius: .5rem;
      padding: .6rem .75rem;
    }
    .tile small { color: #d1d5db; font-size: .7rem; display: block; }
    .tile strong { color: #fff; display: block; margin-top: .25rem; }

    /* Main sections */
    main {
      max-width: 1100px;
      margin: -3rem auto 4rem;
      padding: 0 1rem;
    }
    section.block {
      background: rgba(0,0,0,0.5);
      backdrop-filter: blur(4px);
      border: 1px solid rgba(236,84,19,0.2);
      border-radius: .9rem;
      padding: 1.25rem 1rem;
      margin-top: 1rem;
    }
    @media (min-width: 768px) {
      section.block { padding: 1.5rem 1.25rem; }
    }
    h2.section-title {
      margin: 0 0 .25rem;
      font-size: clamp(1.25rem, 2.4vw, 1.8rem);
      font-weight: 700;
    }
    .grid-3 {
      display: grid;
      grid-template-columns: 1fr;
      gap: 1rem;
      margin-top: 1rem;
    }
    @media (min-width: 900px) {
      .grid-3 { grid-template-columns: repeat(3, 1fr); }
    }
    .card {
      background: var(--card);
      border: 1px solid rgba(236,84,19,0.15);
      border-radius: .8rem;
      padding: 1rem;
    }
    pre.code {
      background: rgba(0,0,0,0.45);
      border-radius: .5rem;
      padding: .75rem;
      overflow: auto;
      color: #bbf7d0;
      font-size: .85rem;
    }
    ul {
      padding-left: 1.1rem;
    }
    li { margin: .35rem 0; }

    footer {
      text-align: center;
      color: var(--muted);
      border-top: 1px solid rgba(236,84,19,0.2);
      padding: 1.2rem;
      margin-top: 2rem;
      font-size: .9rem;
    }

    /* ====== DOSSIER PANEL (MISSION BRIEF) ====== */
.dossier-panel {
  background: rgba(18, 22, 18, 0.85);
  border: 1px solid rgba(97, 122, 97, 0.4);
  padding: 2rem 1.5rem;
  margin-top: 4rem;
  border-radius: 8px;
  color: #d0d4cc;
  font-family: "Space Grotesk", sans-serif;
}

.dossier-header {
  font-family: "JetBrains Mono", monospace;
  color: #9faf9a;
  font-size: 0.9rem;
  letter-spacing: 0.08em;
  margin-bottom: 1.5rem;
}

.dossier-body p {
  font-size: 0.95rem;
  line-height: 1.6;
  color: #cbd3c6;
}

.mission-criteria {
  margin: 1rem 0;
  padding-left: 1.4rem;
  color: #c7d2c7;
}

.mission-criteria li {
  margin-bottom: 0.5rem;
}

.mission-notice {
  background: rgba(52, 62, 52, 0.7);
  border-left: 3px solid #889e82;
  padding: 1rem;
  margin-top: 1.5rem;
  font-family: "JetBrains Mono", monospace;
  font-size: 0.85rem;
  color: #d7dfd4;
}

/* ===== DOSSIER: Controller Modules (Muted Olive HUD) ===== */

.dossier-modules {
  display: grid;
  gap: 1.1rem;
  margin-top: 1.25rem;
}

/* For narrow screens, single column; for wide, stack (can tweak) */
@media (min-width: 920px) {
  .dossier-modules {
    grid-template-columns: 1fr; /* Single column */
  }
}

.module-card {
  background: rgba(18, 22, 18, 0.88);           /* dark olive base */
  border: 1px solid rgba(120, 133, 112, 0.35);  /* desaturated olive border */
  border-radius: 10px;
  padding: 1.15rem;
  color: #d8dfd6;
  box-shadow: 0 6px 24px rgba(5,8,6,0.45);
  font-family: "Space Grotesk", system-ui, sans-serif;
}

/* Header bar with callsign */
.module-header {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  margin-bottom: 0.85rem;
}
.module-header .callsign {
  font-family: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Monaco, "Courier New", monospace;
  color: #9aa98f;
  font-weight: 700;
  letter-spacing: 0.06em;
  font-size: 0.86rem;
}
.module-header .tagline {
  color: #bfc9bb;
  font-size: 0.92rem;
  font-weight: 600;
}

/* body / lead */
.module-body .lead {
  color: #cfe3d3;
  margin: 0.35rem 0 0.8rem;
  font-size: 0.95rem;
}

/* module blocks layout */
.module-blocks {
  display: grid;
  gap: 0.75rem;
}
@media (min-width: 720px) {
  .module-blocks { grid-template-columns: 1fr; }
}
.module-blocks .block h4 {
  margin: 0 0 0.4rem;
  color: #dce9de;
  font-size: 0.95rem;
}
.module-blocks .block ul {
  margin: 0;
  padding-left: 1.05rem;
  color: #c7d3c2;
  font-size: 0.9rem;
}
.module-blocks .block p.muted {
  margin: 0.25rem 0 0;
  color: #aebba5;
  font-family: "JetBrains Mono", monospace;
  font-size: 0.88rem;
  background: rgba(10,12,10,0.22);
  padding: 0.6rem;
  border-radius: 6px;
  border-left: 3px solid rgba(136,158,130,0.25);
}

/* small utilities */
.code { font-family: "JetBrains Mono", monospace; color: #bbf0c9; background: rgba(0,0,0,0.35); padding: 0.4rem 0.6rem; border-radius: 4px; display: inline-block; font-size: 0.87rem; }
.callsign { display: inline-block; }

/* responsive tweaks */
@media (max-width: 640px) {
  .module-card { padding: 0.9rem; }
  .module-header .callsign { font-size: 0.82rem; }
}

.module-btn {
  display: block;
  margin-top: 1rem;
  padding: 0.6rem 1rem;
  text-align: center;
  font-family: "JetBrains Mono", monospace;
  font-size: 0.85rem;
  background: rgba(30, 35, 30, 0.8);
  border: 1px solid rgba(130, 145, 130, 0.5);
  border-radius: 6px;
  color: #cfe3d3;
  letter-spacing: 0.04em;
  transition: background 0.2s, border-color 0.2s;
}
.module-btn:hover {
  background: rgba(60, 70, 60, 0.9);
  border-color: rgba(180, 200, 180, 0.8);
}

/* ====== HANGAR BAY SECTION (HUD) ====== */
.hangar-section {
  margin-top: 4rem;
  padding: 2rem;
  background: rgba(18, 22, 18, 0.85);
  border: 1px solid rgba(120, 133, 112, 0.35);
  border-radius: 10px;
}

.hangar-title {
  font-family: "JetBrains Mono", monospace;
  color: #9aa98f;
  font-size: 1rem;
  letter-spacing: 0.08em;
  text-align: center;
  margin-bottom: 2rem;
}

/* Performance Table (HUD Matrix) */
.perf-table {
  width: 100%;
  border-collapse: collapse;
  font-family: "JetBrains Mono", monospace;
  background: rgba(30, 35, 30, 0.5);
  border: 1px solid rgba(110, 125, 110, 0.4);
  margin-bottom: 2rem;
}

.table-head {
  background: rgba(55, 65, 55, 0.6);
  padding: 0.75rem 1rem;
  font-weight: bold;
  color: #d8dfd6;
  text-align: center;
  border-bottom: 1px solid rgba(110,125,110,0.4);
}

.table-row {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  padding: 0.75rem 1rem;
  border-bottom: 1px solid rgba(110,125,110,0.25);
}

.table-row div {
  padding: 0.4rem 0;
  color: #cbd3c6;
}

.metric {
  font-weight: 600;
  color: #e3e8e1;
}

/* Video Feed */
.video-block {
  margin-top: 2rem;
}

.video-title {
  font-family: "JetBrains Mono", monospace;
  color: #9aa98f;
  font-size: 0.9rem;
  margin-bottom: 0.5rem;
}

.hud-video iframe {
  width: 100%;
  border: 1px solid rgba(120, 133, 112, 0.35);
  border-radius: 6px;
  background: #000;
}


.table-head-row {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  background: rgba(55, 65, 55, 0.6);
  border-bottom: 1px solid rgba(110,125,110,0.4);
}

.head-metric {
  padding: 0.75rem 1rem;
  font-weight: bold;
  color: #d8dfd6;
  font-family: "JetBrains Mono", monospace;
}

.head-col {
  padding: 0.75rem 1rem;
  text-align: center;
  font-weight: bold;
  color: #d3dbc8;
  font-family: "JetBrains Mono", monospace;
  border-left: 1px solid rgba(110,125,110,0.25);
}

.briefing-btn {
  display: block;
  margin: 2rem auto 0;
  padding: 1rem 2rem;
  max-width: 500px;
  text-align: center;
  font-family: "JetBrains Mono", monospace;
  font-size: 1rem;
  font-weight: 700;
  color: #fff; /* White text */
  background: rgba(236, 84, 19, 0.15);      /* Transparent orange base */
  border: 1px solid rgba(236, 84, 19, 0.7); /* Orange border */
  border-radius: 8px;
  letter-spacing: 0.08em;
  transition: 0.2s;
}

.briefing-btn:hover {
  background: rgba(236, 84, 19, 0.85);  /* Solid fiery orange */
  border-color: rgba(236, 84, 19, 1);
  color: #000; /* Invert text to black for contrast */
}


/* =========================================================
   URBAN SEARCH & RESCUE (USAR) THEME
   Clean, field-robotics, deployment-oriented
   ========================================================= */

/* ---------- HERO ---------- */

.hero {
  position: relative;
  padding: 6rem 1.5rem;
  background: linear-gradient(
    to bottom,
    rgba(10, 10, 10, 0.85),
    rgba(20, 20, 20, 0.95)
  );
  border-bottom: 1px solid rgba(255, 120, 60, 0.25);
}

.hero-content.center {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}

.hero h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 1rem;
}

.hero p {
  font-size: 1.1rem;
  line-height: 1.7;
  color: #d6d6d6;
  max-width: 750px;
  margin: 0 auto;
}

/* ---------- PAGE CONTENT ---------- */

.content {
  max-width: 1000px;
  margin: 0 auto;
  padding: 4rem 1.5rem;
}

/* ---------- SECTIONS ---------- */

.section {
  margin-bottom: 4.5rem;
}

.section h2 {
  font-size: 1.6rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: #ffffff;
  border-left: 4px solid #ec5413;
  padding-left: 0.75rem;
}

.section h3 {
  font-size: 1.2rem;
  font-weight: 600;
  margin-top: 2rem;
  margin-bottom: 0.5rem;
  color: #f0f0f0;
}

.section p {
  line-height: 1.7;
  color: #cccccc;
  max-width: 850px;
}

/* ---------- LISTS ---------- */

.section ul {
  margin-top: 1rem;
  padding-left: 1.5rem;
}

.section ul li {
  margin-bottom: 0.5rem;
  color: #cfcfcf;
}

/* ---------- CAPABILITIES ---------- */

.capabilities {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.capability {
  background: rgba(30, 30, 30, 0.9);
  border: 1px solid rgba(255, 120, 60, 0.25);
  border-radius: 6px;
  padding: 1.5rem;
}

.capability h3 {
  margin-top: 0;
  font-size: 1.15rem;
  color: #ffffff;
}

.capability p {
  font-size: 0.95rem;
  color: #d2d2d2;
}

/* ---------- AUTONOMY STACK ---------- */

.stack {
  margin-top: 2rem;
  padding: 1.5rem;
  background: rgba(15, 15, 15, 0.9);
  border: 1px dashed rgba(255, 120, 60, 0.4);
  border-radius: 6px;
  font-family: monospace;
  font-size: 0.95rem;
  color: #f0f0f0;
  line-height: 1.6;
  max-width: 500px;
}

/* ---------- FOOTER ---------- */

footer {
  padding: 2rem 1.5rem;
  text-align: center;
  font-size: 0.85rem;
  color: #9a9a9a;
  border-top: 1px solid rgba(255, 120, 60, 0.2);
}

.inline-video {
  max-width: 900px;
  margin: 3rem auto;
  aspect-ratio: 16 / 9;
  border-radius: 6px;
  overflow: hidden;
  border: 1px solid rgba(255, 120, 60, 0.25);
  background: #000;
}

.inline-video iframe {
  width: 100%;
  height: 100%;
  border: none;
}