:root {
  --black: #050505;
  --jet: #0D0D0D;
  --carbon: #161616;
  --char: #1F1F1F;
  --steel: #6E6A5C;
  --gold: #E2B53C;
  --gold-bright: #F5C842;
  --gold-deep: #9C7E2A;
  --white: #FFFFFF;
  --muted: #BDB59C;
  --line: rgba(226, 181, 60, 0.18);
  --panel: rgba(22, 22, 22, 0.72);
  --max: 1180px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--white);
  background: var(--black);
  font-family: "Inter", "Helvetica Neue", Arial, sans-serif;
  line-height: 1.55;
}

a { color: inherit; text-decoration: none; }

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

/* ============================================================
   Header / Nav
   ============================================================ */

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 20;
  display: grid;
  grid-template-columns: auto 1fr auto auto;
  align-items: center;
  gap: 28px;
  min-height: 86px;
  padding: 10px clamp(18px, 4vw, 56px);
  background: rgba(5, 5, 5, 0.92);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
}

.brand img {
  width: auto;
  height: clamp(58px, 5.4vw, 72px);
}

.primary-nav {
  justify-self: end;
  display: flex;
  gap: 24px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.primary-nav a,
.mobile-nav a {
  transition: color 160ms ease;
}

.primary-nav a:hover,
.primary-nav a.is-active,
.mobile-nav a.is-active {
  color: var(--gold);
}

.nav-action,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border: 1px solid rgba(226, 181, 60, 0.45);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 160ms ease, color 160ms ease, border-color 160ms ease;
}

.nav-action {
  color: var(--gold);
  background: rgba(226, 181, 60, 0.08);
}

.nav-action:hover {
  background: rgba(226, 181, 60, 0.18);
}

.button.primary {
  color: var(--black);
  background: var(--gold);
  border-color: var(--gold);
  box-shadow: 0 18px 48px rgba(226, 181, 60, 0.22);
}

.button.primary:hover {
  background: var(--gold-bright);
}

.button.secondary {
  color: var(--gold);
  background: rgba(226, 181, 60, 0.06);
}

.button.secondary:hover {
  background: rgba(226, 181, 60, 0.14);
}

.menu-button {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(226, 181, 60, 0.36);
  background: rgba(226, 181, 60, 0.06);
}

.menu-button span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: var(--gold);
}

.mobile-nav {
  position: fixed;
  top: 86px;
  left: 0;
  right: 0;
  z-index: 19;
  display: none;
  padding: 10px 22px 20px;
  background: rgba(5, 5, 5, 0.98);
  border-bottom: 1px solid var(--line);
}

.mobile-nav a {
  display: block;
  padding: 14px 0;
  color: rgba(255, 255, 255, 0.82);
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* ============================================================
   Hero (home)
   ============================================================ */

.hero {
  position: relative;
  min-height: 760px;
  height: clamp(760px, 100vh, 980px);
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(20px, 1fr) minmax(0, var(--max)) minmax(20px, 1fr);
  align-items: center;
  padding: 120px 0 86px;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 78% 40%, rgba(226, 181, 60, 0.22), transparent 40%),
    radial-gradient(circle at 25% 80%, rgba(226, 181, 60, 0.08), transparent 35%),
    linear-gradient(90deg, rgba(5, 5, 5, 1) 0%, rgba(5, 5, 5, 0.86) 38%, rgba(13, 13, 13, 0.65) 72%, rgba(22, 22, 22, 0.4)),
    linear-gradient(180deg, rgba(5, 5, 5, 0.04), rgba(5, 5, 5, 0.96));
}

.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 50% 50%, transparent 38%, rgba(5,5,5,0.45) 100%);
}

.hero::after,
.section-dark::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 42%;
  opacity: 0.18;
  background-image:
    linear-gradient(rgba(226, 181, 60, 0.32) 1px, transparent 1px),
    linear-gradient(90deg, rgba(226, 181, 60, 0.32) 1px, transparent 1px);
  background-size: 76px 76px;
  transform: perspective(650px) rotateX(62deg) translateY(38%);
  transform-origin: bottom;
  pointer-events: none;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hero-drone {
  position: absolute;
  top: 16%;
  right: clamp(2vw, 8vw, 12vw);
  width: min(46vw, 540px);
  height: auto;
  opacity: 0.92;
  filter: drop-shadow(0 24px 64px rgba(226, 181, 60, 0.16));
}

.metric-panel {
  position: absolute;
  bottom: clamp(80px, 12vw, 150px);
  right: clamp(26px, 5vw, 80px);
  display: grid;
  gap: 4px;
  min-width: 175px;
  padding: 18px 20px;
  border: 1px solid rgba(226, 181, 60, 0.34);
  background: rgba(5, 5, 5, 0.74);
  backdrop-filter: blur(8px);
}

.metric-panel span {
  color: var(--muted);
  font-size: 0.66rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.metric-panel strong {
  margin-bottom: 9px;
  color: var(--gold);
  font-size: 0.9rem;
  text-transform: uppercase;
}

.hero-content {
  position: relative;
  z-index: 2;
  grid-column: 2;
  max-width: 720px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

h1, h2, h3, p { margin-top: 0; }

h1 {
  margin-bottom: 22px;
  font-size: clamp(3rem, 5.8vw, 5.9rem);
  line-height: 0.96;
  font-weight: 900;
  letter-spacing: 0.01em;
  overflow-wrap: break-word;
}

.hero-logo-title {
  margin: 0 0 26px;
}

.hero-logo-title img {
  width: min(560px, 88vw);
  height: auto;
  filter: drop-shadow(0 24px 52px rgba(0, 0, 0, 0.6));
}

.hero-tagline {
  display: block;
  margin-top: 8px;
  color: var(--white);
  font-size: clamp(1.6rem, 3vw, 2.6rem);
  font-weight: 900;
  letter-spacing: 0.04em;
  line-height: 1.05;
  text-transform: uppercase;
}

.hero-tagline em {
  color: var(--gold);
  font-style: normal;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(2rem, 4vw, 3.6rem);
  line-height: 1.02;
  overflow-wrap: break-word;
}

h3 {
  margin-bottom: 12px;
  font-size: 0.95rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--white);
}

.hero-content p:not(.eyebrow) {
  max-width: 660px;
  margin-bottom: 30px;
  color: rgba(255, 255, 255, 0.84);
  font-size: 1.12rem;
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

/* ============================================================
   Sections
   ============================================================ */

.mission-focus,
.mission-areas,
.section-dark,
.differentiators,
.flow-section,
.contractor-band,
.cta-section,
.capability-details,
.experience-grid,
.about-panel,
.contact-section {
  display: grid;
  grid-template-columns: minmax(20px, 1fr) minmax(0, var(--max)) minmax(20px, 1fr);
}

.mission-focus > *,
.mission-areas > *,
.section-dark > *,
.differentiators > *,
.flow-section > *,
.contractor-band > *,
.cta-section > *,
.capability-details > *,
.experience-grid > *,
.about-panel > *,
.contact-section > * {
  grid-column: 2;
}

.mission-focus {
  grid-template-columns: minmax(20px, 1fr) minmax(260px, 430px) minmax(0, 710px) minmax(20px, 1fr);
  gap: clamp(28px, 6vw, 72px);
  align-items: start;
  padding: clamp(66px, 8vw, 108px) 0;
  color: var(--black);
  background: linear-gradient(180deg, #faf6e8, #f3ecd1);
}

.mission-focus .section-copy { grid-column: 2; }

.mission-focus > p {
  grid-column: 3;
  padding-top: 34px;
  color: #2a2a2a;
  font-size: 1.1rem;
}

.mission-focus .eyebrow {
  color: var(--gold-deep);
}

.mission-focus h2 {
  color: var(--black);
}

.mission-areas {
  padding: clamp(66px, 8vw, 108px) 0;
  background:
    linear-gradient(180deg, rgba(5, 5, 5, 0.98), rgba(13, 13, 13, 0.95)),
    radial-gradient(circle at 78% 18%, rgba(226, 181, 60, 0.18), transparent 36%);
}

.mission-card-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  background: rgba(226, 181, 60, 0.18);
  border: 1px solid rgba(226, 181, 60, 0.22);
}

.mission-card-grid article {
  min-height: 270px;
  padding: 28px;
  background:
    linear-gradient(180deg, rgba(22, 22, 22, 0.94), rgba(5, 5, 5, 0.96)),
    linear-gradient(135deg, rgba(226, 181, 60, 0.15), transparent 50%);
}

.mission-card-grid span {
  display: block;
  margin-bottom: 46px;
  color: var(--gold);
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.mission-card-grid p {
  color: var(--muted);
}

.section-dark {
  position: relative;
  overflow: hidden;
  padding: clamp(68px, 8vw, 110px) 0;
  background:
    linear-gradient(180deg, rgba(5, 5, 5, 0.96), rgba(13, 13, 13, 0.92)),
    radial-gradient(circle at 85% 20%, rgba(226, 181, 60, 0.18), transparent 38%);
}

.section-heading {
  max-width: 760px;
  margin-bottom: 34px;
}

.section-heading h2 {
  color: inherit;
  font-size: clamp(1.05rem, 1.5vw, 1.35rem);
  line-height: 1.2;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.section-summary {
  max-width: 560px;
  margin: -8px 0 0;
  color: var(--muted);
  font-size: 1.02rem;
}

.capability-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  border: 1px solid var(--line);
  background: var(--line);
}

.capability-card,
.diff-grid article,
.flow-diagram article,
.capability-details article,
.experience-grid article,
.about-panel article,
.contact-info,
.contact-form {
  background: rgba(22, 22, 22, 0.78);
  border: 1px solid rgba(226, 181, 60, 0.12);
}

.capability-card {
  min-height: 280px;
  padding: 30px;
  transition: border-color 160ms ease, background 160ms ease, transform 160ms ease;
}

.capability-card:hover {
  border-color: rgba(226, 181, 60, 0.55);
  background: rgba(22, 22, 22, 0.95);
  transform: translateY(-2px);
}

.capability-card p,
.diff-grid p,
.flow-diagram p,
.capability-details p,
.experience-grid p,
.about-panel p,
.contact-info p {
  color: var(--muted);
}

.technical-icon {
  display: block;
  width: 54px;
  height: 54px;
  margin-bottom: 24px;
  fill: none;
  stroke: var(--gold);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  filter: drop-shadow(0 0 12px rgba(226, 181, 60, 0.34));
}

.differentiators {
  position: relative;
  overflow: hidden;
  padding: clamp(54px, 6vw, 82px) 0;
  background:
    linear-gradient(90deg, rgba(5, 5, 5, 0.98), rgba(13, 13, 13, 0.94)),
    radial-gradient(circle at 15% 0%, rgba(226, 181, 60, 0.15), transparent 28%);
  color: var(--white);
}

.watermark {
  position: absolute;
  right: 4vw;
  top: 50%;
  width: min(420px, 40vw);
  height: 260px;
  transform: translateY(-50%);
  background: url("assets/rttg-logo.png") center/contain no-repeat;
  opacity: 0.06;
}

.diff-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  background: transparent;
  border-top: 1px solid rgba(226, 181, 60, 0.22);
}

.diff-grid article {
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr);
  gap: 22px;
  min-height: 210px;
  padding: 30px 28px 26px 0;
  background: transparent;
  border: 0;
  border-right: 1px solid rgba(226, 181, 60, 0.22);
}

.diff-grid article:last-child {
  border-right: 0;
}

.diff-grid .technical-icon {
  width: 48px;
  height: 48px;
  margin: 0;
}

.diff-grid h3 {
  margin-bottom: 18px;
  color: var(--white);
  font-size: 0.85rem;
  line-height: 1.45;
}

.diff-grid p {
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
}

.experience-grid span {
  color: var(--gold);
  font-weight: 900;
}

/* Partner band */
.partner-band {
  display: grid;
  grid-template-columns: minmax(20px, 1fr) minmax(0, var(--max)) minmax(20px, 1fr);
  padding: clamp(46px, 6vw, 72px) 0;
  background: linear-gradient(180deg, var(--jet), var(--black));
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.partner-band > .inner { grid-column: 2; }

.partner-band .section-heading { margin-bottom: 22px; }

.partner-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.partner-card {
  display: grid;
  grid-template-columns: 86px minmax(0, 1fr);
  gap: 22px;
  align-items: center;
  padding: 26px 28px;
  background: rgba(22, 22, 22, 0.84);
  border: 1px solid rgba(226, 181, 60, 0.22);
  transition: border-color 160ms ease, background 160ms ease;
}

.partner-card:hover {
  border-color: rgba(226, 181, 60, 0.55);
  background: rgba(22, 22, 22, 0.96);
}

.partner-card .partner-mark {
  display: grid;
  place-items: center;
  width: 86px;
  height: 86px;
  border: 1px solid rgba(226, 181, 60, 0.35);
  border-radius: 50%;
  background: rgba(5, 5, 5, 0.6);
  color: var(--gold);
  font-weight: 900;
  font-size: 1.1rem;
  letter-spacing: 0.16em;
}

.partner-card h3 {
  margin: 0 0 6px;
  color: var(--white);
  font-size: 0.95rem;
  letter-spacing: 0.1em;
}

.partner-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

/* Flow */
.flow-section {
  padding: clamp(44px, 5vw, 64px) 0 clamp(44px, 5vw, 64px);
  background:
    linear-gradient(180deg, var(--black), #080808),
    radial-gradient(circle at 20% 20%, rgba(226, 181, 60, 0.12), transparent 30%);
}

.flow-section .section-heading {
  margin-bottom: 14px;
}

.flow-diagram {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  padding: 12px 0 32px;
  border-top: 1px solid rgba(226, 181, 60, 0.22);
}

.flow-diagram article {
  position: relative;
  display: grid;
  grid-template-columns: 74px minmax(0, 1fr);
  align-items: center;
  gap: 18px;
  min-height: 96px;
  padding: 18px 30px 18px 0;
  background: transparent;
  border: 0;
}

.flow-diagram .technical-icon {
  width: 58px;
  height: 58px;
  margin: 0;
  padding: 12px;
  border: 1px solid rgba(226, 181, 60, 0.32);
  border-radius: 50%;
  background: rgba(22, 22, 22, 0.5);
}

.flow-diagram article:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 12px;
  z-index: 2;
  width: 32px;
  height: 2px;
  background: var(--gold);
  box-shadow: 0 0 16px rgba(226, 181, 60, 0.55);
}

.flow-diagram article:not(:last-child)::before {
  content: "";
  position: absolute;
  top: calc(50% - 5px);
  right: 11px;
  z-index: 3;
  width: 10px;
  height: 10px;
  border-top: 2px solid var(--gold);
  border-right: 2px solid var(--gold);
  transform: rotate(45deg);
}

.flow-diagram p {
  margin: 0;
  color: var(--white);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* Contractor band */
.contractor-band {
  grid-template-columns: minmax(20px, 1fr) minmax(0, 560px) minmax(0, 620px) minmax(20px, 1fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
  padding: clamp(58px, 7vw, 88px) 0;
  background: linear-gradient(180deg, #faf6e8, #f3ecd1);
  color: var(--black);
}

.contractor-band > div:first-child {
  grid-column: 2;
}

.contractor-band .eyebrow { color: var(--gold-deep); }
.contractor-band h2 { color: var(--black); }

.contractor-points {
  grid-column: 3;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  background: #d6c98a;
  border: 1px solid #d6c98a;
}

.contractor-points p {
  margin: 0;
  min-height: 96px;
  display: grid;
  align-items: center;
  padding: 22px 24px;
  background: #f7f1d8;
  color: #2a2a2a;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.contractor-points p::before {
  content: "";
  width: 34px;
  height: 2px;
  margin-bottom: 14px;
  background: var(--gold-deep);
}

/* CTA */
.cta-section {
  grid-template-columns: minmax(20px, 1fr) 260px minmax(0, 620px) minmax(220px, 300px) minmax(20px, 1fr);
  gap: clamp(24px, 4vw, 54px);
  align-items: center;
  padding: clamp(36px, 5vw, 56px) 0;
  background:
    linear-gradient(90deg, rgba(5, 5, 5, 0.96), rgba(5, 5, 5, 0.82)),
    radial-gradient(circle at 80% 50%, rgba(226, 181, 60, 0.18), transparent 38%),
    var(--black);
  border-top: 1px solid var(--line);
}

.cta-section > img {
  grid-column: 2;
  width: 250px;
  max-width: none;
  opacity: 0.96;
}

.cta-section > div { grid-column: 3; }
.cta-section > .button { grid-column: 4; justify-self: start; }

.cta-section h2 {
  margin-bottom: 10px;
  font-size: clamp(1.35rem, 2.3vw, 2.05rem);
  line-height: 1.18;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.cta-section p {
  max-width: 620px;
  margin: 0;
  color: var(--muted);
}

/* Page hero */
.page-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-height: 440px;
  padding: 132px 0 58px;
  display: grid;
  grid-template-columns: minmax(20px, 1fr) minmax(0, var(--max)) minmax(20px, 1fr);
  align-items: end;
  background:
    radial-gradient(circle at 72% 50%, rgba(226, 181, 60, 0.55) 0 2px, transparent 3px),
    radial-gradient(circle at 84% 34%, rgba(226, 181, 60, 0.35) 0 2px, transparent 3px),
    radial-gradient(circle at 91% 68%, rgba(226, 181, 60, 0.38) 0 2px, transparent 3px),
    radial-gradient(circle at 82% 22%, rgba(226, 181, 60, 0.18), transparent 28%),
    radial-gradient(circle at 70% 72%, rgba(226, 181, 60, 0.08), transparent 30%),
    linear-gradient(110deg, rgba(5, 5, 5, 1), rgba(5, 5, 5, 0.98) 48%, rgba(13, 13, 13, 0.92));
  border-bottom: 1px solid rgba(226, 181, 60, 0.12);
}

.page-hero::before {
  content: "";
  position: absolute;
  inset: 86px 0 0;
  z-index: -2;
  opacity: 0.14;
  background:
    linear-gradient(rgba(226, 181, 60, 0.18) 1px, transparent 1px),
    linear-gradient(90deg, rgba(226, 181, 60, 0.18) 1px, transparent 1px);
  background-size: 78px 78px;
}

.page-hero::after {
  content: "";
  position: absolute;
  right: clamp(22px, 7vw, 112px);
  top: 112px;
  z-index: -1;
  width: min(48vw, 620px);
  aspect-ratio: 1.65;
  border-top: 1px solid rgba(226, 181, 60, 0.42);
  border-right: 1px solid rgba(226, 181, 60, 0.2);
  border-radius: 50%;
  transform: rotate(-14deg);
  opacity: 0.7;
}

.page-hero > div { position: relative; z-index: 1; grid-column: 2; max-width: 840px; min-width: 0; }
.page-hero h1 {
  max-width: 680px;
  font-size: clamp(1.9rem, 2.65vw, 2.85rem);
  line-height: 1.12;
}
.page-hero p { max-width: 760px; color: var(--muted); font-size: 1.1rem; }

/* Capabilities detail */
.capability-details {
  gap: 18px;
  padding: clamp(62px, 8vw, 106px) 0;
  background: var(--black);
}

.capability-details article {
  display: grid;
  grid-template-columns: minmax(260px, 0.7fr) minmax(0, 1fr);
  gap: clamp(20px, 5vw, 64px);
  padding: clamp(28px, 4vw, 48px);
  min-width: 0;
}

.capability-details h2 { margin-bottom: 0; font-size: clamp(1.5rem, 3vw, 2.6rem); color: var(--white); }
.capability-details ul { margin: 0; color: var(--muted); display: grid; gap: 10px; padding-left: 18px; }
.capability-details li::marker { color: var(--gold); }

.experience-grid,
.about-panel,
.contact-section {
  gap: 18px;
  padding: clamp(62px, 8vw, 106px) 0;
  background: var(--black);
}

.experience-grid {
  grid-template-columns: minmax(20px, 1fr) repeat(3, minmax(0, calc(var(--max) / 3))) minmax(20px, 1fr);
}

.experience-grid article { grid-column: auto; min-height: 240px; padding: 28px; min-width: 0; }
.experience-grid article:nth-child(3n + 1) { grid-column-start: 2; }
.experience-grid h2,
.about-panel h2 {
  font-size: clamp(1.3rem, 2.2vw, 2rem);
  line-height: 1.12;
  color: var(--white);
}

.about-panel {
  grid-template-columns: minmax(20px, 1fr) repeat(3, minmax(0, calc(var(--max) / 3))) minmax(20px, 1fr);
}
.about-panel article { grid-column: auto; padding: 30px; min-width: 0; }
.about-panel article:first-child { grid-column-start: 2; }

.contact-section {
  grid-template-columns: minmax(20px, 1fr) minmax(0, 690px) minmax(280px, 420px) minmax(20px, 1fr);
}

.contact-form { grid-column: 2; padding: 30px; display: grid; gap: 18px; }
.contact-info { grid-column: 3; padding: 30px; align-self: start; }
.contact-info h2 { color: var(--white); }
.contact-info a { color: var(--gold); }

label { display: grid; gap: 8px; color: var(--muted); font-weight: 800; letter-spacing: 0.04em; text-transform: uppercase; font-size: 0.75rem; }
input, textarea { width: 100%; border: 1px solid rgba(226, 181, 60, 0.24); background: rgba(5, 5, 5, 0.86); color: var(--white); padding: 13px 14px; font: inherit; }
input:focus, textarea:focus { border-color: var(--gold); outline: 0; }
textarea { resize: vertical; }

/* Footer */
.site-footer {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 30px clamp(20px, 4vw, 56px);
  background: #050505;
  border-top: 1px solid var(--line);
}

.site-footer::after {
  content: "";
  position: absolute;
  right: 5vw;
  width: 260px;
  height: 150px;
  background: url("assets/rttg-logo.png") center/contain no-repeat;
  opacity: 0.045;
}

.site-footer img { position: relative; z-index: 1; height: 82px; width: auto; }
.site-footer p { position: relative; z-index: 1; margin: 0; color: var(--muted); letter-spacing: 0.12em; text-transform: uppercase; }

@media (max-width: 980px) {
  .site-header { display: flex; justify-content: space-between; }
  .primary-nav, .nav-action { display: none; }
  .menu-button { display: block; flex: 0 0 44px; }
  .mobile-nav.is-open { display: block; }
  .metric-panel { display: none; }
  .hero-drone { width: min(60vw, 380px); right: -4vw; top: 8%; opacity: 0.55; }
  .mission-focus,
  .mission-areas,
  .section-dark,
  .differentiators,
  .flow-section,
  .contractor-band,
  .cta-section,
  .page-hero,
  .capability-details,
  .contact-section {
    grid-template-columns: 20px minmax(0, 1fr) 20px;
  }
  .mission-focus .section-copy,
  .mission-focus > p,
  .contractor-band > div:first-child,
  .contractor-points,
  .cta-section > div,
  .cta-section > img,
  .cta-section > .button,
  .page-hero > div,
  .contact-form,
  .contact-info { grid-column: 2; }
  .mission-focus > p { padding-top: 0; }
  .capability-grid, .diff-grid, .flow-diagram, .mission-card-grid, .partner-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .diff-grid article:nth-child(2n) { border-right: 0; }
  .flow-diagram article:nth-child(2n)::after,
  .flow-diagram article:nth-child(2n)::before { display: none; }
  .capability-details article { grid-template-columns: 1fr; }
  .experience-grid,
  .about-panel { grid-template-columns: 20px minmax(0, 1fr) 20px; }
  .experience-grid article,
  .experience-grid article:nth-child(3n + 1),
  .about-panel article,
  .about-panel article:first-child { grid-column: 2; }
}

@media (max-width: 620px) {
  .site-header { min-height: 78px; padding-inline: 16px; }
  .brand img { height: 54px; }
  .mobile-nav { top: 78px; }
  .hero { min-height: 720px; height: auto; padding-top: 118px; }
  h1 { font-size: clamp(2.45rem, 12vw, 3.35rem); }
  .hero-logo-title img { width: min(340px, 92vw); }
  .hero-tagline { font-size: clamp(1.15rem, 6vw, 1.6rem); }
  h2 { font-size: clamp(2rem, 10vw, 2.8rem); }
  .hero-content p:not(.eyebrow) { font-size: 1rem; }
  .button-row, .button { width: 100%; }
  .capability-grid, .diff-grid, .flow-diagram, .mission-card-grid, .contractor-points, .partner-grid { grid-template-columns: 1fr; }
  .diff-grid article,
  .diff-grid article:nth-child(2n) {
    grid-template-columns: 54px minmax(0, 1fr);
    padding: 26px 0;
    border-right: 0;
    border-bottom: 1px solid rgba(226, 181, 60, 0.18);
  }
  .diff-grid article:last-child { border-bottom: 0; }
  .flow-diagram article {
    grid-template-columns: 68px minmax(0, 1fr);
    padding-right: 0;
  }
  .flow-diagram article:not(:last-child)::after {
    display: block;
    left: 29px;
    top: auto;
    bottom: -10px;
    width: 2px;
    height: 20px;
  }
  .flow-diagram article:not(:last-child)::before {
    display: block;
    left: 25px;
    right: auto;
    top: auto;
    bottom: -10px;
    transform: rotate(135deg);
  }
  .cta-section { gap: 20px; text-align: left; }
  .cta-section > img { width: 156px; }
  .page-hero { min-height: 500px; padding-top: 126px; }
  .capability-details h2,
  .experience-grid h2,
  .about-panel h2,
  .contact-info h2 { font-size: clamp(1.35rem, 7vw, 2rem); }
  .site-footer { align-items: flex-start; }
  .site-footer p { letter-spacing: 0.08em; }
}

/* ============================================================
   Careers
   ============================================================ */

.careers-section {
  display: grid;
  grid-template-columns: minmax(20px, 1fr) minmax(0, var(--max)) minmax(20px, 1fr);
  padding: clamp(62px, 8vw, 106px) 0;
  background: var(--black);
}
.careers-section > .inner { grid-column: 2; }

.careers-section .section-heading { margin-bottom: 26px; }

.role-list { display: grid; gap: 14px; margin: 0; padding: 0; list-style: none; }

.role-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: clamp(18px, 4vw, 36px);
  padding: clamp(22px, 3vw, 32px) clamp(24px, 4vw, 36px);
  background: rgba(22, 22, 22, 0.78);
  border: 1px solid rgba(226, 181, 60, 0.12);
  border-left: 3px solid var(--gold);
  transition: border-color 160ms ease, background 160ms ease, transform 160ms ease;
}
.role-card:hover {
  background: rgba(22, 22, 22, 0.96);
  border-color: rgba(226, 181, 60, 0.55);
  transform: translateY(-1px);
}
.role-card h3 {
  margin: 0 0 8px;
  color: var(--white);
  font-size: clamp(1.05rem, 1.6vw, 1.35rem);
  letter-spacing: 0.04em;
}
.role-card p { margin: 0 0 10px; color: var(--muted); }

.role-meta { display: flex; flex-wrap: wrap; gap: 8px; }
.role-meta .chip {
  display: inline-flex;
  align-items: center;
  padding: 5px 10px;
  background: rgba(5, 5, 5, 0.7);
  color: var(--muted);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border: 1px solid rgba(226, 181, 60, 0.18);
}
.role-meta .chip.priority {
  color: var(--gold);
  border-color: rgba(226, 181, 60, 0.55);
  background: rgba(226, 181, 60, 0.1);
}

.no-roles {
  padding: clamp(32px, 5vw, 48px);
  background: rgba(22, 22, 22, 0.7);
  border: 1px dashed rgba(226, 181, 60, 0.32);
  text-align: center;
}
.no-roles h3 {
  margin: 0 0 10px;
  color: var(--white);
  font-size: clamp(1.1rem, 1.8vw, 1.4rem);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.no-roles p { margin: 0 auto 18px; max-width: 56ch; color: var(--muted); }

.why-strix {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  margin-bottom: 38px;
  background: rgba(226, 181, 60, 0.18);
  border: 1px solid rgba(226, 181, 60, 0.22);
}
.why-strix article {
  padding: 28px;
  background: rgba(22, 22, 22, 0.84);
}
.why-strix h3 {
  margin: 0 0 8px;
  color: var(--white);
  font-size: 0.92rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.why-strix p { margin: 0; color: var(--muted); font-size: 0.96rem; }

/* Role detail */
.role-detail {
  display: grid;
  grid-template-columns: minmax(20px, 1fr) minmax(0, calc(var(--max) * 0.66)) minmax(0, calc(var(--max) * 0.32)) minmax(20px, 1fr);
  gap: clamp(28px, 4vw, 56px);
  padding: clamp(58px, 8vw, 100px) 0;
  background: var(--black);
}
.role-detail .role-body { grid-column: 2; min-width: 0; }
.role-detail .role-aside { grid-column: 3; align-self: start; }

.role-body section { margin-bottom: clamp(28px, 4vw, 44px); }
.role-body h2 {
  margin: 0 0 14px;
  font-size: clamp(1.05rem, 1.5vw, 1.3rem);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--white);
}
.role-body h3 {
  margin: 22px 0 10px;
  color: var(--white);
  font-size: 1rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.role-body p { color: var(--muted); }
.role-body ul { padding-left: 20px; margin: 0 0 16px; color: var(--muted); }
.role-body li { margin-bottom: 8px; }
.role-body li::marker { color: var(--gold); }

.role-meta-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 14px 0 28px;
}

.role-aside .panel {
  padding: 28px;
  background: rgba(22, 22, 22, 0.78);
  border: 1px solid rgba(226, 181, 60, 0.18);
}
.role-aside .panel + .panel { margin-top: 18px; }
.role-aside h3 {
  margin: 0 0 10px;
  color: var(--white);
  font-size: 0.85rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.role-aside p { margin: 0 0 14px; color: var(--muted); font-size: 0.95rem; }
.role-aside .button { width: 100%; }
.role-aside ul { padding-left: 18px; margin: 0; color: var(--muted); font-size: 0.92rem; }
.role-aside li { margin-bottom: 6px; }
.role-aside li::marker { color: var(--gold); }

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 18px;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.back-link:hover { color: var(--gold); }

@media (max-width: 980px) {
  .careers-section { grid-template-columns: 20px minmax(0, 1fr) 20px; }
  .why-strix { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .role-detail { grid-template-columns: 20px minmax(0, 1fr) 20px; }
  .role-detail .role-body,
  .role-detail .role-aside { grid-column: 2; }
  .role-card { grid-template-columns: 1fr; }
}

@media (max-width: 620px) {
  .why-strix { grid-template-columns: 1fr; }
}

/* ============================================================
   Career application form (resume upload)
   ============================================================ */

.career-form {
  display: grid;
  gap: 18px;
  padding: clamp(28px, 4vw, 40px);
  background: rgba(22, 22, 22, 0.78);
  border: 1px solid rgba(226, 181, 60, 0.18);
}

.career-form h3 {
  margin: 0;
  color: var(--white);
  font-size: 0.95rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.career-form p.form-intro {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.career-form .field-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.career-form label {
  display: grid;
  gap: 8px;
  color: var(--muted);
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-size: 0.72rem;
}

.career-form .req {
  color: var(--gold);
  margin-left: 4px;
}

.career-form input[type="text"],
.career-form input[type="email"],
.career-form input[type="tel"],
.career-form textarea,
.career-form select {
  width: 100%;
  border: 1px solid rgba(226, 181, 60, 0.24);
  background: rgba(5, 5, 5, 0.86);
  color: var(--white);
  padding: 13px 14px;
  font: inherit;
  text-transform: none;
  letter-spacing: normal;
}

.career-form select {
  appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, var(--gold) 50%),
                    linear-gradient(135deg, var(--gold) 50%, transparent 50%);
  background-position: calc(100% - 22px) 50%, calc(100% - 14px) 50%;
  background-size: 8px 8px;
  background-repeat: no-repeat;
}

.career-form input:focus,
.career-form textarea:focus,
.career-form select:focus {
  border-color: var(--gold);
  outline: 0;
}

.career-form textarea {
  resize: vertical;
  min-height: 110px;
}

/* Honeypot field — hidden from real users, baited for bots */
.career-form .honeypot {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* File upload */
.file-field {
  display: grid;
  gap: 8px;
}

.file-field-control {
  position: relative;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 14px;
  padding: 12px 14px;
  border: 1px dashed rgba(226, 181, 60, 0.4);
  background: rgba(5, 5, 5, 0.6);
  cursor: pointer;
  transition: border-color 160ms ease, background 160ms ease;
}

.file-field-control:hover {
  border-color: var(--gold);
  background: rgba(5, 5, 5, 0.78);
}

.file-field-control input[type="file"] {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: pointer;
}

.file-field-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 38px;
  padding: 0 16px;
  background: rgba(226, 181, 60, 0.16);
  border: 1px solid rgba(226, 181, 60, 0.55);
  color: var(--gold);
  font-size: 0.7rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.file-field-label {
  color: var(--muted);
  font-size: 0.86rem;
  letter-spacing: normal;
  text-transform: none;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.file-field-label[data-state="selected"] {
  color: var(--white);
}

.file-field-help {
  color: var(--muted);
  font-size: 0.72rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

/* Submit + status */
.form-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
}

.form-status {
  font-size: 0.88rem;
  color: var(--muted);
  letter-spacing: normal;
  text-transform: none;
}

.form-status[data-state="pending"] { color: var(--gold); }
.form-status[data-state="success"] { color: #7BD389; }
.form-status[data-state="error"] { color: #F08A8A; }

.career-form button[type="submit"][disabled] {
  opacity: 0.6;
  cursor: not-allowed;
}

@media (max-width: 620px) {
  .career-form .field-row { grid-template-columns: 1fr; }
}
