/* =========================================================
   Reliable Commando — Single 3D Scene experience
   Fixed WebGL stage + scroll-driven chapter overlays
   ========================================================= */

:root {
  --bg: #080b11;
  --surface: rgba(18, 24, 34, 0.72);
  --line: rgba(255, 255, 255, 0.10);
  --text: #eef2f8;
  --muted: #93a0b3;
  --amber: #ffb129;
  --amber-2: #ff7a18;
  --cyan: #35e0d2;
  --danger: #ff4d5e;
  --radius: 16px;
  --radius-lg: 22px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --font: "Segoe UI", system-ui, -apple-system, Roboto, Helvetica, Arial, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
svg { display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
::selection { background: var(--amber); color: #101010; }

.skip-link { position: absolute; left: -999px; top: 0; z-index: 999; background: var(--amber); color: #101010; padding: 10px 16px; font-weight: 700; }
.skip-link:focus { left: 0; }

/* ---------- The single 3D scene ---------- */
#bg-canvas {
  position: fixed; inset: 0; width: 100%; height: 100%;
  z-index: 0; display: block;
}
/* Cinematic vignette + brand tint over the render */
.scene-vignette {
  position: fixed; inset: 0; z-index: 1; pointer-events: none;
  background:
    radial-gradient(120% 100% at 50% 40%, transparent 55%, rgba(4,6,10,0.7) 100%),
    radial-gradient(80% 60% at 85% 10%, rgba(255,177,41,0.10), transparent 60%),
    radial-gradient(70% 60% at 10% 100%, rgba(53,224,210,0.08), transparent 60%);
}

/* The scroll timeline: this is the ONLY thing that scrolls.
   Height = chapters * 100vh. Everything else is fixed.
   Native CSS scroll-snap gives a gentle settle per chapter
   without any JS wheel hijacking. */
html { scroll-behavior: smooth; scroll-snap-type: y proximity; }
.scroll-track { position: relative; z-index: 1; }
.scroll-step { height: 100vh; scroll-snap-align: start; }

/* ---------- Nav ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 40;
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px clamp(16px, 4vw, 40px);
  transition: background 0.4s var(--ease), backdrop-filter 0.4s, border-color 0.4s;
  border-bottom: 1px solid transparent;
}
.nav.is-stuck { background: rgba(8,11,17,0.6); backdrop-filter: blur(14px); border-bottom-color: var(--line); }
.nav__brand { display: flex; align-items: center; gap: 12px; cursor: pointer; }
.nav__logo { color: var(--amber); filter: drop-shadow(0 0 8px rgba(255,177,41,0.5)); }
.nav__name { display: flex; flex-direction: column; line-height: 1.3; }
.nav__name strong { font-size: 1rem; letter-spacing: 0.12em; }
.nav__name em { font-style: normal; font-size: 0.64rem; letter-spacing: 0.24em; color: var(--muted); text-transform: uppercase; }
.nav__links { display: flex; align-items: center; gap: 26px; }
.nav__links a { font-size: 0.9rem; color: var(--muted); cursor: pointer; position: relative; transition: color 0.25s; }
.nav__links a:not(.nav__cta):hover { color: var(--text); }
.nav__links a:not(.nav__cta)::after { content:""; position:absolute; left:0; bottom:-6px; width:0; height:2px; background: var(--amber); transition: width 0.3s var(--ease); }
.nav__links a:not(.nav__cta):hover::after { width: 100%; }
.nav__cta { background: linear-gradient(135deg, var(--amber), var(--amber-2)); color:#14100a !important; font-weight:700; padding:10px 18px; border-radius:999px; box-shadow: 0 8px 24px -8px rgba(255,122,24,0.7); transition: transform 0.25s var(--ease); }
.nav__cta:hover { transform: translateY(-2px); }
/* ---- Services dropdown ---- */
.nav__dropdown { position: relative; }
.nav__dropbtn {
  background: none; border: 0; padding: 0; cursor: pointer;
  font: inherit; font-size: 0.9rem; color: var(--muted);
  display: inline-flex; align-items: center; gap: 7px;
  transition: color 0.25s;
}
.nav__dropbtn:hover,
.nav__dropbtn[aria-expanded="true"] { color: var(--text); }
.nav__caret {
  width: 6px; height: 6px;
  border-right: 2px solid currentColor; border-bottom: 2px solid currentColor;
  transform: rotate(45deg) translateY(-2px);
  transition: transform 0.25s var(--ease);
}
.nav__dropbtn[aria-expanded="true"] .nav__caret { transform: rotate(-135deg) translateY(-2px); }

.nav__menu {
  position: absolute; top: calc(100% + 16px); left: -18px;
  min-width: 200px; padding: 8px;
  display: none; flex-direction: column; gap: 2px;
  background: rgba(8,11,17,0.94);
  border: 1px solid var(--line); border-radius: 14px;
  box-shadow: 0 18px 40px -12px rgba(0,0,0,0.6);
  backdrop-filter: blur(14px);
  z-index: 50;
}
.nav__dropdown.is-open .nav__menu { display: flex; }
.nav__links .nav__menu a { padding: 10px 14px; border-radius: 9px; white-space: nowrap; }
.nav__links .nav__menu a:hover { background: rgba(255,255,255,0.07); color: var(--text); }
/* your global nav underline animation shouldn't appear inside the panel */
.nav__links .nav__menu a:not(.nav__cta)::after { display: none; }
.nav__toggle { display:none; flex-direction:column; gap:5px; background:none; border:0; cursor:pointer; padding:8px; z-index:60; }
.nav__toggle span { width:26px; height:2px; background: var(--text); border-radius:2px; transition: transform 0.3s var(--ease), opacity 0.3s; }
.nav__toggle[aria-expanded="true"] span:nth-child(1){ transform: translateY(7px) rotate(45deg); }
.nav__toggle[aria-expanded="true"] span:nth-child(2){ opacity:0; }
.nav__toggle[aria-expanded="true"] span:nth-child(3){ transform: translateY(-7px) rotate(-45deg); }

/* ---------- Chapter progress rail ---------- */
.rail { position: fixed; right: clamp(14px, 3vw, 30px); top: 50%; transform: translateY(-50%); z-index: 40; display: grid; gap: 14px; }
.rail li { cursor: pointer; padding: 4px; }
.rail li span { display:block; width: 10px; height: 10px; border: 1px solid var(--muted); border-radius: 50%; transition: all 0.3s var(--ease); }
.rail li.is-active span { background: var(--amber); border-color: var(--amber); transform: scale(1.4); box-shadow: 0 0 14px var(--amber); }

/* ---------- Overlay layer (fixed, above scene, below nav) ---------- */
.overlays { position: fixed; inset: 0; z-index: 20; pointer-events: none; }
.chapter {
  position: absolute; inset: 0;
  display: grid; align-items: center;
  padding: 0 clamp(20px, 7vw, 110px);
  opacity: 0; visibility: hidden;
  transition: opacity 0.6s var(--ease), visibility 0.6s;
}
.chapter.is-active { opacity: 1; visibility: visible; }
.chapter__inner {
  max-width: 560px; pointer-events: auto;
  transform: translateY(40px) scale(0.98);
  opacity: 0;
  transition: transform 0.7s var(--ease), opacity 0.7s var(--ease);
}
.chapter.is-active .chapter__inner { transform: none; opacity: 1; }
.align-left { justify-self: start; text-align: left; }
.align-right { justify-self: end; text-align: right; }
.align-center { justify-self: center; text-align: center; max-width: 720px; }
.align-right .checklist li { padding-left: 0; padding-right: 32px; }
.align-right .checklist li::before { left: auto; right: 0; }
.align-right .mini-list li { align-items: flex-end; }

/* Frosted panel behind text for readability over the 3D */
.chapter__inner {
  background: linear-gradient(180deg, rgba(8,11,17,0.55), rgba(8,11,17,0.30));
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(22px, 3vw, 38px);
  backdrop-filter: blur(10px);
  box-shadow: 0 40px 80px -50px rgba(0,0,0,0.9);
}
.align-center .chapter__inner { background: linear-gradient(180deg, rgba(8,11,17,0.6), rgba(8,11,17,0.4)); }

/* ---------- Typography / content ---------- */
.eyebrow { color: var(--amber); letter-spacing: 0.3em; font-size: 0.72rem; font-weight: 700; margin-bottom: 18px; text-shadow: 0 0 18px rgba(255,177,41,0.5); }
.kicker { color: var(--amber); letter-spacing: 0.2em; font-size: 0.74rem; font-weight: 700; text-transform: uppercase; margin-bottom: 14px; }
.display { font-size: clamp(2.4rem, 7vw, 5rem); line-height: 0.98; font-weight: 800; letter-spacing: -0.02em; }
.title { font-size: clamp(1.9rem, 5vw, 3.4rem); line-height: 1.02; font-weight: 800; letter-spacing: -0.02em; }
.grad { background: linear-gradient(120deg, var(--amber), var(--amber-2) 45%, var(--cyan)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lead { color: #c7d0dc; font-size: clamp(1rem, 2vw, 1.16rem); margin-top: 18px; }
.actions { display: flex; gap: 14px; margin-top: 28px; flex-wrap: wrap; }
.align-right .actions { justify-content: flex-end; }

.btn { display:inline-flex; align-items:center; justify-content:center; gap:10px; padding:13px 26px; border-radius:999px; font-weight:700; font-size:0.94rem; cursor:pointer; border:1px solid transparent; transition: transform 0.25s var(--ease), box-shadow 0.25s, border-color 0.25s, color 0.25s; }
.btn--primary { background: linear-gradient(135deg, var(--amber), var(--amber-2)); color:#14100a; box-shadow: 0 12px 30px -10px rgba(255,122,24,0.8); }
.btn--primary:hover { transform: translateY(-3px); box-shadow: 0 18px 40px -10px rgba(255,122,24,0.9); }
.btn--ghost { border-color: var(--line); color: var(--text); }
.btn--ghost:hover { border-color: var(--amber); color: var(--amber); transform: translateY(-3px); }
.btn--full { width: 100%; }

.checklist { margin-top: 24px; display: grid; gap: 12px; }
.checklist li { position: relative; padding-left: 32px; }
.checklist li::before { content:"✓"; position:absolute; left:0; top:2px; width:22px; height:22px; border-radius:6px; background: rgba(255,177,41,0.16); color: var(--amber); display:grid; place-items:center; font-size:0.8rem; font-weight:800; }

.mini-list { margin-top: 22px; display: grid; gap: 14px; }
.mini-list li { display: grid; gap: 2px; }
.mini-list b { color: var(--text); font-size: 1.02rem; }
.mini-list span { color: var(--muted); font-size: 0.9rem; }

/* Stats */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; margin-top: 20px; }
.stat { display: grid; justify-items: center; }
.stat__num { font-size: clamp(2rem, 5vw, 3.4rem); font-weight: 800; background: linear-gradient(120deg, var(--amber), var(--amber-2)); -webkit-background-clip: text; background-clip: text; color: transparent; line-height: 1; }
.stat__plus { font-size: clamp(1.2rem, 3vw, 1.8rem); font-weight: 800; color: var(--amber); }
.stat p { color: var(--muted); font-size: 0.8rem; letter-spacing: 0.05em; margin-top: 6px; }

/* Values */
.values { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 26px; }
.value { background: rgba(255,255,255,0.03); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; }
.value h4 { color: var(--cyan); margin-bottom: 6px; letter-spacing: 0.05em; }
.value p { color: var(--muted); font-size: 0.88rem; }

/* Contact */
.contact__form { display: grid; gap: 14px; margin-top: 22px; text-align: left; }
.row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field { display: grid; gap: 6px; }
.field label { font-size: 0.74rem; color: var(--muted); letter-spacing: 0.08em; text-transform: uppercase; }
.field input, .field select { background: rgba(6,9,14,0.8); border: 1px solid var(--line); color: var(--text); padding: 12px 14px; border-radius: 12px; font: inherit; font-size: 0.95rem; transition: border-color 0.25s, box-shadow 0.25s; }
.field input:focus, .field select:focus { outline: none; border-color: var(--amber); box-shadow: 0 0 0 3px rgba(255,177,41,0.15); }
.field input.invalid { border-color: var(--danger); box-shadow: 0 0 0 3px rgba(255,77,94,0.18); }
.form__status { font-size: 0.88rem; color: var(--cyan); min-height: 1.1em; }
.contact__meta { margin-top: 20px; color: var(--muted); font-size: 0.88rem; }
.contact__meta a:hover { color: var(--amber); }
.footer__copy { margin-top: 14px; color: var(--muted); font-size: 0.76rem; }

/* Scroll cue */
.scroll-cue { position: absolute; bottom: 34px; left: 50%; transform: translateX(-50%); color: var(--muted); font-size: 0.68rem; letter-spacing: 0.3em; display: grid; justify-items: center; gap: 8px; pointer-events: none; }
.scroll-cue span { width: 22px; height: 36px; border: 2px solid var(--line); border-radius: 12px; position: relative; }
.scroll-cue span::after { content:""; position:absolute; left:50%; top:8px; width:3px; height:7px; background: var(--amber); border-radius:2px; transform: translateX(-50%); animation: scrollDot 1.6s var(--ease) infinite; }
@keyframes scrollDot { 0%{opacity:0; transform: translate(-50%,0);} 40%{opacity:1;} 80%{opacity:0; transform: translate(-50%,12px);} 100%{opacity:0;} }

/* ---------- Preloader ---------- */
.preloader { position: fixed; inset: 0; z-index: 999; display: grid; place-items: center; background: radial-gradient(120% 120% at 50% 30%, #0e1420, #05070b); transition: opacity 0.7s var(--ease), visibility 0.7s; }
.preloader.is-done { opacity: 0; visibility: hidden; }
.preloader__badge { display: grid; place-items: center; gap: 18px; color: var(--amber); }
.preloader__badge svg { filter: drop-shadow(0 0 18px rgba(255,177,41,0.5)); animation: badgePulse 1.6s var(--ease) infinite; }
.preloader__text { letter-spacing: 0.3em; font-size: 0.8rem; font-weight: 700; color: var(--muted); }
.preloader__bar { width: 180px; height: 3px; background: rgba(255,255,255,0.1); border-radius: 3px; overflow: hidden; }
.preloader__bar span { display: block; height: 100%; width: 0%; background: linear-gradient(90deg, var(--amber), var(--amber-2)); transition: width 0.3s var(--ease); }
.dots i { animation: blink 1.4s infinite; } .dots i:nth-child(2){ animation-delay:.2s; } .dots i:nth-child(3){ animation-delay:.4s; }
@keyframes blink { 0%,100%{opacity:.2;} 50%{opacity:1;} }
@keyframes badgePulse { 0%,100%{ transform: scale(1);} 50%{ transform: scale(1.06);} }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .nav__links { position: fixed; inset: 0; flex-direction: column; justify-content: center; gap: 22px; height: 100dvh; background: rgba(6,9,14,0.97); backdrop-filter: blur(16px); transform: translateX(100%); transition: transform 0.5s var(--ease); overflow-y: auto; padding: 80px 20px; }
  .nav__links.is-open { transform: translateX(0); }
  .nav__links a { color: var(--text); font-size: 1.25rem; }
    .nav__dropdown { display: flex; flex-direction: column; align-items: center; }
  .nav__dropbtn { font-size: 1.25rem; color: var(--text); }
  .nav__menu {
    position: static; min-width: 0; margin-top: 14px; padding: 0;
    background: none; border: 0; box-shadow: none; backdrop-filter: none;
    align-items: center; gap: 12px;
  }
  .nav__links .nav__menu a { font-size: 1.05rem; color: var(--muted); padding: 4px 0; }
  .nav__toggle { display: flex; }
  .rail { display: none; }
  .stats { grid-template-columns: repeat(2, 1fr); gap: 28px 20px; }
  .values { grid-template-columns: 1fr; }
}
@media (max-width: 520px) {
  .row { grid-template-columns: 1fr; }
  .nav__name em { display: none; }
}

/* =========================================================
   STATIC MODE — a normal, natively-scrolling document so NO
   content is ever cropped. Triggered THREE ways, whichever
   comes first, so it is robust regardless of JS timing:
     1) body.static-mode  (added by JS on mobile/touch)
     2) @media (max-width: 900px)  (pure-CSS safety net)
     3) prefers-reduced-motion
   The shared rules live in .rc-static; the selectors below
   just point all three triggers at it.
   ========================================================= */

/* --- shared unpinned layout (applied by the triggers) ---
   NOTE: the 3D canvas stays as a FIXED BACKGROUND on mobile
   (it is NOT hidden here). The scroll timeline / rail / cue
   are hidden because content now scrolls natively. */
.rc-static .scroll-track,
.rc-static .rail,
.rc-static .scroll-cue { display: none !important; }

/* Canvas kept fixed behind the scrolling content on mobile (always on). */
.rc-static #bg-canvas { position: fixed; inset: 0; z-index: 0; }
.rc-static .scene-vignette { position: fixed; inset: 0; z-index: 1; }
.rc-static-bg { background: linear-gradient(180deg, #060910, #0a0e14); }

.rc-static .overlays { position: static; pointer-events: auto; height: auto; }
.rc-static .chapter {
  position: static; inset: auto; display: block;
  opacity: 1 !important; visibility: visible !important;
  min-height: 0;
  padding: 88px clamp(18px, 6vw, 48px) 44px; /* top pad clears fixed nav */
}
.rc-static .chapter:first-of-type { padding-top: 108px; }
.rc-static .chapter__inner {
  transform: none !important; opacity: 1 !important;
  max-width: 640px; margin: 0 auto; width: 100%;
}
.rc-static .align-center.wide { max-width: 760px; }
.rc-static .align-left,
.rc-static .align-right,
.rc-static .align-center { justify-self: center; text-align: left; }
.rc-static .align-center { text-align: center; }
.rc-static .actions { justify-content: flex-start; }
.rc-static .align-center .actions { justify-content: center; }
.rc-static .align-right .checklist li { padding-left: 32px; padding-right: 0; }
.rc-static .align-right .checklist li::before { left: 0; right: auto; }
.rc-static .align-right .mini-list li { align-items: flex-start; }

/* --- Trigger 1: JS class on mobile/touch --- */
body.static-mode { /* alias to the shared rules */ }

/* --- Trigger 2: pure-CSS safety net at <=900px ---
   Re-declare the shared block for the width media query so the
   mobile layout works even if JS hasn't set the class yet. */
@media (max-width: 900px) {
  /* Keep the 3D canvas as a fixed background; only remove the
     scroll timeline machinery so content scrolls natively. */
  .scroll-track, .rail, .scroll-cue { display: none !important; }
  #bg-canvas { position: fixed !important; inset: 0 !important; z-index: 0 !important; }
  .scene-vignette { position: fixed !important; inset: 0 !important; z-index: 1 !important; }
  html { scroll-snap-type: none !important; }
  body { background: linear-gradient(180deg, #060910, #0a0e14); }
  .overlays { position: static !important; pointer-events: auto !important; height: auto !important; }
  .chapter {
    position: static !important; inset: auto !important; display: block !important;
    opacity: 1 !important; visibility: visible !important; min-height: 0 !important;
    padding: 88px clamp(18px, 6vw, 40px) 44px !important;
  }
  .chapter:first-of-type { padding-top: 108px !important; }
  .chapter__inner {
    transform: none !important; opacity: 1 !important;
    max-width: 640px !important; margin: 0 auto !important; width: 100% !important;
  }
  .align-left, .align-right, .align-center { justify-self: center; text-align: left; }
  .align-center { text-align: center; }
  .actions { justify-content: flex-start; }
  .align-center .actions { justify-content: center; }
  .align-right .checklist li { padding-left: 32px; padding-right: 0; }
  .align-right .checklist li::before { left: 0; right: auto; }
  .align-right .mini-list li { align-items: flex-start; }
}

/* Grids collapse for narrow screens */
@media (max-width: 640px) {
  .stats { grid-template-columns: repeat(2, 1fr); }
  .clients { grid-template-columns: repeat(2, 1fr); }
  .personnel { grid-template-columns: repeat(2, 1fr); }
  .values { grid-template-columns: 1fr; }
}
@media (max-width: 380px) {
  .clients { grid-template-columns: 1fr; }
  .personnel { grid-template-columns: 1fr; }
}
/* Buttons go full-width and stack for easy tapping */
@media (max-width: 520px) {
  .actions { flex-direction: column; align-items: stretch; }
  .actions .btn { width: 100%; }
}

/* ---------- Reduced motion: linear document, all chapters visible ---------- */
@media (prefers-reduced-motion: reduce) {
  #bg-canvas { display: none; }
  .scene-vignette, .scroll-track, .rail, .scroll-cue { display: none; }
  .overlays { position: static; pointer-events: auto; }
  .chapter { position: static; inset: auto; opacity: 1; visibility: visible; min-height: auto; padding: 60px clamp(20px, 6vw, 60px); }
  .chapter__inner { transform: none; opacity: 1; max-width: 900px; margin: 0 auto; }
  .align-left, .align-right, .align-center { justify-self: center; text-align: left; }
  body { background: linear-gradient(180deg, #060910, #0a0e14); }
}

/* =========================================================
   CLIENTS + PERSONNEL chapters
   ========================================================= */

/* Wider inner panel for the gallery chapter */
.align-center.wide { max-width: 900px; }

/* Clients logo/name grid */
.clients {
  margin-top: 26px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}
.clients li {
  display: grid;
  place-items: center;
  text-align: center;
  padding: 18px 12px;
  min-height: 70px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: #cdd6e2;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--line);
  border-radius: 12px;
  transition: transform 0.3s var(--ease), border-color 0.3s, color 0.3s, background 0.3s;
}
.clients li:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 177, 41, 0.5);
  color: var(--amber);
  background: rgba(255, 177, 41, 0.06);
}
.clients__note { margin-top: 16px; color: var(--muted); font-size: 0.78rem; }
.clients__note code { color: var(--cyan); background: rgba(53,224,210,0.08); padding: 1px 6px; border-radius: 5px; }

/* Personnel photo gallery */
.personnel {
  margin-top: 26px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}
.person {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  background: #0b1017;
  aspect-ratio: 3/4;
  transition: transform 0.35s var(--ease), border-color 0.35s, box-shadow 0.35s;
}
.person:hover { transform: translateY(-6px); border-color: rgba(53,224,210,0.5); box-shadow: 0 30px 60px -35px rgba(0,0,0,0.95); }
.person img { width: 100%; height: 100%; object-fit: cover;object-position: center top; display: block; filter: grayscale(0.25) contrast(1.05); }
.person figcaption {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 26px 14px 12px;
  font-size: 0.82rem; font-weight: 700; letter-spacing: 0.03em;
  color: #eef2f8;
  background: linear-gradient(180deg, transparent, rgba(4,6,10,0.92));
}
/* Tactical placeholder when a photo is missing (onerror adds .is-missing) */
.person.is-missing img { display: none; }
.person.is-missing {
  background:
    radial-gradient(80% 60% at 50% 30%, rgba(53,224,210,0.10), transparent 60%),
    repeating-linear-gradient(45deg, rgba(255,255,255,0.03) 0 10px, transparent 10px 20px),
    #0b1017;
}
.person.is-missing::before {
  content: "PHOTO";
  position: absolute; inset: 0;
  display: grid; place-items: center;
  color: var(--muted); font-size: 0.72rem; letter-spacing: 0.3em; font-weight: 700;
}

@media (max-width: 900px) {
  .clients { grid-template-columns: repeat(2, 1fr); }
  .personnel { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 520px) {
  .clients { grid-template-columns: repeat(2, 1fr); }
  .personnel { grid-template-columns: repeat(2, 1fr); }
}

/* =========================================================
   CAREERS form + resume dropzone
   ========================================================= */
.career__form { display: grid; gap: 14px; margin-top: 22px; text-align: left; }
.career__form textarea {
  background: rgba(6,9,14,0.8); border: 1px solid var(--line); color: var(--text);
  padding: 12px 14px; border-radius: 12px; font: inherit; font-size: 0.95rem; resize: vertical;
  transition: border-color 0.25s, box-shadow 0.25s;
}
.career__form textarea:focus { outline: none; border-color: var(--amber); box-shadow: 0 0 0 3px rgba(255,177,41,0.15); }

/* Honeypot: visually hidden from real users */
.hp { position: absolute !important; left: -9999px !important; opacity: 0; height: 0; width: 0; }

/* File dropzone */
.dropzone {
  position: relative;
  display: grid; justify-items: center; gap: 4px;
  padding: 22px 16px;
  border: 1.5px dashed var(--line);
  border-radius: 14px;
  background: rgba(6,9,14,0.6);
  cursor: pointer;
  text-align: center;
  transition: border-color 0.25s, background 0.25s, box-shadow 0.25s;
}
.dropzone:hover { border-color: var(--amber); background: rgba(255,177,41,0.05); }
.dropzone input[type="file"] {
  position: absolute; inset: 0; opacity: 0; cursor: pointer; width: 100%; height: 100%;
}
.dropzone__icon { font-size: 1.5rem; }
.dropzone__text { font-weight: 700; color: var(--text); font-size: 0.92rem; word-break: break-word; }
.dropzone__hint { color: var(--muted); font-size: 0.74rem; letter-spacing: 0.04em; }
.dropzone.has-file { border-color: var(--cyan); border-style: solid; background: rgba(53,224,210,0.06); }
.dropzone.has-file .dropzone__icon::before { content: "✓ "; color: var(--cyan); }
.dropzone.invalid { border-color: var(--danger); background: rgba(255,77,94,0.06); }
