*, *::before, *::after { box-sizing: border-box; }
:root {
  --bg: #040405;
  --bg-soft: #0b0c0e;
  --panel: rgba(15, 16, 19, 0.82);
  --panel-strong: #111318;
  --border: rgba(255,255,255,0.09);
  --border-strong: rgba(255,199,44,0.28);
  --text: #f4f4ef;
  --soft: #babdb8;
  --muted: #777d80;
  --dim: #4a5054;
  --gold: #ffc72c;
  --red: #ff3b3b;
  --cyan: #22d4e8;
  --font-display: "Jura", sans-serif;
  --font-body: "Montserrat", sans-serif;
}
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--text);
  font-family: var(--font-body);
  background:
    radial-gradient(900px circle at 14% 8%, rgba(255,199,44,0.08), transparent 42%),
    radial-gradient(780px circle at 86% 20%, rgba(34,212,232,0.055), transparent 44%),
    radial-gradient(620px circle at 70% 78%, rgba(255,59,59,0.045), transparent 50%),
    #040405;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  background:
    linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.022) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(to bottom, #000 0%, transparent 78%);
  opacity: 0.42;
}
a { color: inherit; }
.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 30;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 0 max(22px, calc((100vw - 1180px) / 2));
  border-bottom: 1px solid var(--border);
  background: rgba(4,4,5,0.88);
  backdrop-filter: blur(20px);
}
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; min-width: 0; }
.brand img { width: 34px; height: 34px; object-fit: contain; }
.brand span { display: block; font-family: var(--font-display); font-size: 11px; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase; line-height: 1; }
.brand small { display: block; margin-top: 4px; color: var(--dim); font-family: var(--font-display); font-size: 8px; letter-spacing: 0.28em; text-transform: uppercase; }
.nav-links { display: flex; align-items: center; gap: 26px; list-style: none; margin: 0; padding: 0; }
.nav-links a { color: var(--muted); text-decoration: none; font-size: 13px; font-weight: 600; transition: color 0.16s ease; }
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--text); }
.nav-actions { display: flex; align-items: center; gap: 10px; }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 42px;
  padding: 0 20px;
  border: 1px solid var(--border);
  border-radius: 5px;
  color: var(--text);
  background: rgba(255,255,255,0.025);
  text-decoration: none;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.01em;
}
.btn.gold { color: #050506; background: var(--gold); border-color: var(--gold); }
.btn:hover { border-color: var(--border-strong); }
.shell { width: min(1180px, calc(100% - 40px)); margin: 0 auto; }
.hero { min-height: 74vh; display: grid; align-items: center; padding: 128px 0 72px; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; color: var(--gold); font-family: var(--font-display); font-size: 10px; font-weight: 800; letter-spacing: 0.22em; text-transform: uppercase; }
.eyebrow::before { content: ""; width: 24px; height: 1px; background: var(--gold); }
h1, h2, h3 { font-family: var(--font-display); margin: 0; letter-spacing: 0; }
h1 { max-width: 820px; margin-top: 22px; font-size: clamp(48px, 8vw, 104px); line-height: 0.92; font-weight: 800; }
h1 em, h2 em { color: var(--gold); font-style: normal; }
h2 { font-size: clamp(34px, 5vw, 64px); line-height: 0.98; font-weight: 800; }
h3 { font-size: 21px; line-height: 1.15; }
.lead { max-width: 700px; margin: 26px 0 0; color: var(--soft); font-size: clamp(16px, 2vw, 20px); line-height: 1.75; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.section { padding: 88px 0; border-top: 1px solid rgba(255,255,255,0.06); position: relative; }
.section.alt { background: linear-gradient(180deg, rgba(13,13,13,0.42), rgba(4,4,5,0.92)); }
.grid-2 { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 42px; align-items: start; }
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.panel, .lane, .system-card {
  border: 1px solid var(--border);
  background: linear-gradient(145deg, rgba(255,255,255,0.045), rgba(255,255,255,0.015));
  box-shadow: 0 24px 90px rgba(0,0,0,0.28);
}
.panel { border-radius: 8px; padding: 28px; }
.lane { border-radius: 6px; padding: 22px; min-height: 150px; }
.lane p, .system-card p, .panel p { color: var(--soft); line-height: 1.75; font-size: 14px; }
.meta { color: var(--muted); font-family: var(--font-display); font-size: 10px; letter-spacing: 0.18em; text-transform: uppercase; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.chip { color: var(--soft); border: 1px solid var(--border); background: rgba(255,255,255,0.025); border-radius: 4px; padding: 7px 10px; font-size: 12px; }
.system-card { border-radius: 8px; padding: 26px; }
.system-head { display: flex; align-items: center; gap: 14px; margin-bottom: 16px; }
.system-head img { width: 42px; height: 42px; object-fit: contain; }
.status { color: var(--gold); font-family: var(--font-display); font-size: 10px; letter-spacing: 0.16em; text-transform: uppercase; }
.media-strip { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 10px; }
.media-strip img, .media-strip video { width: 100%; height: 100%; min-height: 260px; object-fit: cover; border-radius: 8px; border: 1px solid rgba(255,199,44,0.16); filter: saturate(1.08) brightness(0.9); }
.operator-hero {
  position: relative;
  min-height: 520px;
  overflow: hidden;
  border-top: 1px solid rgba(255,59,59,0.16);
  border-bottom: 1px solid rgba(255,199,44,0.1);
  background: #040405;
}
.operator-hero img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 45%;
  opacity: 0.82;
  filter: saturate(1.08) contrast(1.05) brightness(0.86);
}
.operator-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(4,4,5,0.12), rgba(4,4,5,0.68) 68%, rgba(4,4,5,0.92)),
    linear-gradient(180deg, rgba(4,4,5,0.5), transparent 36%, rgba(4,4,5,0.88));
}
.operator-hero .shell {
  position: relative;
  z-index: 1;
  min-height: 520px;
  display: grid;
  align-content: center;
  justify-items: end;
  text-align: right;
}
.operator-hero h2 { max-width: 560px; }
.operator-hero p { max-width: 520px; color: var(--soft); line-height: 1.75; }
.asset-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 14px;
}
.asset-card {
  position: relative;
  overflow: hidden;
  min-height: 420px;
  border: 1px solid rgba(255,59,59,0.16);
  border-radius: 8px;
  background: rgba(255,255,255,0.02);
}
.asset-card img {
  width: 100%;
  height: 100%;
  min-height: 420px;
  display: block;
  object-fit: cover;
  filter: saturate(1.08) brightness(0.88);
}
.asset-card.reference img { object-fit: contain; padding: 10px; background: #020203; }
.asset-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(4,4,5,0.82), transparent 44%);
  pointer-events: none;
}
.asset-label {
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 16px;
  z-index: 1;
}
.asset-label strong {
  display: block;
  font-family: var(--font-display);
  font-size: 13px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.asset-label span {
  display: block;
  margin-top: 6px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.5;
}
.contact-list { display: grid; gap: 12px; }
.contact-list a { color: var(--text); text-decoration: none; border: 1px solid var(--border); border-radius: 6px; padding: 16px; background: rgba(255,255,255,0.025); }
.form-note { color: var(--soft); line-height: 1.7; }
footer { padding: 42px 0; border-top: 1px solid var(--border); color: var(--muted); }
.footer-row { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.footer-links { display: flex; flex-wrap: wrap; gap: 18px; }
.footer-links a { color: var(--muted); text-decoration: none; font-size: 12px; }
.todo { color: var(--dim); font-size: 12px; line-height: 1.7; border-left: 1px solid rgba(255,199,44,0.28); padding-left: 14px; }
@media (max-width: 820px) {
  .nav { height: 62px; }
  .nav-links { display: none; }
  .nav-actions .btn:not(.gold) { display: none; }
  .shell { width: min(100% - 32px, 1180px); }
  .hero { min-height: auto; padding-top: 112px; }
  .grid-2, .grid-3, .media-strip, .asset-grid { grid-template-columns: 1fr; }
  .section { padding: 64px 0; }
  h1 { font-size: clamp(45px, 14vw, 68px); }
  .actions .btn { width: 100%; }
  .operator-hero, .operator-hero .shell { min-height: 460px; }
  .operator-hero img { object-position: 34% 50%; opacity: 0.66; }
  .operator-hero::after { background: linear-gradient(180deg, rgba(4,4,5,0.18), rgba(4,4,5,0.86)); }
  .operator-hero .shell { justify-items: start; text-align: left; align-content: end; padding-bottom: 42px; }
}
