/* ==========================================================================
   Xtro Group — marketplace operations agency
   Dark-committed brand world, drawn from the logo: green-biased black ground,
   forest-green wireframe structure, chartreuse signature, white.
   Sora (display) · Manrope (body) · JetBrains Mono (data & labels)
   ========================================================================== */

:root {
  color-scheme: dark;

  /* --- Ground. Black with a green bias, sampled from the mark (#000300). --- */
  --void:       #030805;
  --void-deep:  #010402;
  --surface:    #081310;
  --surface-2:  #0C1B15;

  /* --- Structure ------------------------------------------------------- */
  --line:       #15291E;   /* hairline */
  --line-lit:   #21432E;   /* hairline, lit */
  --forest:     #004400;   /* the globe wireframe green, straight from the logo */
  --forest-lit: #0B6B22;

  /* --- Signature. One bold colour; everything else stays quiet. --------- */
  --lime:       #BFFF13;
  --lime-deep:  #8FC40C;
  --lime-haze:  rgba(191, 255, 19, .14);
  --on-lime:    #030805;

  /* --- Type ------------------------------------------------------------ */
  --text:       #E9F3E6;   /* green-biased white */
  --text-soft:  #9BB0A2;
  --text-faint: #64796C;

  /* --- Semantic state. Distinct hues so nothing reads as the accent. ---- */
  --ok:    #BFFF13;
  --watch: #F5A524;
  --risk:  #FF6B57;

  /* --- Glass ----------------------------------------------------------- */
  --glass:      linear-gradient(180deg, rgba(255, 255, 255, .048), rgba(255, 255, 255, .014));
  --glass-edge: rgba(255, 255, 255, .085);
  --glass-top:  inset 0 1px 0 rgba(255, 255, 255, .07);
  --lift:       0 24px 60px -32px rgba(0, 0, 0, .9);

  --focus: var(--lime);

  /* --- Scale ----------------------------------------------------------- */
  --t-display: clamp(2.1rem, 1.15rem + 3.5vw, 4rem);
  --t-h2:      clamp(1.6rem, 1.15rem + 1.7vw, 2.45rem);
  --t-h3:      clamp(1.05rem, .99rem + .32vw, 1.2rem);
  --t-lead:    clamp(1rem, .96rem + .22vw, 1.12rem);
  --t-small:   .875rem;
  --t-mono:    .69rem;

  --gutter: clamp(1.25rem, 4.5vw, 4.5rem);
  --stack:  clamp(3.25rem, 6vw, 6rem);
  --maxw:   1280px;
  --measure: 64ch;

  --display: "Sora", ui-sans-serif, system-ui, "Helvetica Neue", Arial, sans-serif;
  --body:    "Manrope", ui-sans-serif, system-ui, "Helvetica Neue", Arial, sans-serif;
  --mono:    "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
}

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

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
}

body {
  margin: 0;
  background: var(--void);
  color: var(--text);
  font-family: var(--body);
  font-size: .975rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* Fine grain over the whole page — the thing that keeps flat dark from
   looking like flat dark. Cheap: one fixed layer, no repaint. */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  opacity: .04;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)'/%3E%3C/svg%3E");
}

img, svg, canvas, video { max-width: 100%; display: block; }
img, svg, video { height: auto; }

a { color: inherit; }

:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 3px;
  border-radius: 2px;
}

h1, h2, h3, h4 {
  margin: 0;
  font-family: var(--display);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -.038em;
  text-wrap: balance;
}

p { margin: 0; }

::selection { background: var(--lime); color: var(--on-lime); }

.skip {
  position: absolute; left: -9999px; top: 0; z-index: 100;
  background: var(--lime); color: var(--on-lime);
  padding: .75rem 1.15rem;
  font-family: var(--mono); font-size: var(--t-mono);
  text-transform: uppercase; letter-spacing: .12em;
}
.skip:focus { left: 0; }

/* --- Layout scaffolding --------------------------------------------------- */
.shell {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--gutter);
  position: relative;
  z-index: 2;
}

.band { position: relative; border-top: 1px solid var(--line); }
.band__inner { padding-block: var(--stack); }

/* Section opener: eyebrow left, statement right. */
.rowhead {
  display: grid;
  gap: 1.25rem 3.5rem;
}
@media (min-width: 940px) {
  .rowhead { grid-template-columns: 12rem minmax(0, 1fr); }
}

.rowhead__label {
  font-family: var(--mono);
  font-size: var(--t-mono);
  font-weight: 500;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--text-faint);
  display: flex;
  align-items: center;
  align-self: start;
  gap: .65rem;
  padding-top: .6rem;
}
.rowhead__label::before {
  content: "";
  width: .38rem; height: .38rem;
  flex: none;
  border-radius: 50%;
  background: var(--lime);
  box-shadow: 0 0 10px 1px var(--lime-haze);
}

.rowhead__title { font-size: var(--t-h2); }

.rowhead__note {
  margin-top: 1rem;
  max-width: var(--measure);
  color: var(--text-soft);
  font-size: var(--t-lead);
  line-height: 1.6;
}

.rowbody { margin-top: clamp(2.5rem, 5vw, 4rem); }
@media (min-width: 940px) { .rowbody--indent { margin-left: 15.5rem; } }

/* --- Utility -------------------------------------------------------------- */
.mono {
  font-family: var(--mono);
  font-size: var(--t-mono);
  font-weight: 500;
  letter-spacing: .16em;
  text-transform: uppercase;
}
.num { font-variant-numeric: tabular-nums; }

/* A word set in the signature colour. Used once or twice, never more. */
.lit { color: var(--lime); }

/* --- Buttons -------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .65rem;
  padding: .95rem 1.6rem;
  font-family: var(--mono);
  font-size: var(--t-mono);
  font-weight: 500;
  letter-spacing: .14em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  border: 1px solid var(--glass-edge);
  background: var(--glass);
  box-shadow: var(--glass-top);
  color: var(--text);
  transition: border-color .2s ease, color .2s ease, background .2s ease,
              box-shadow .2s ease, transform .2s ease;
}
.btn:hover {
  border-color: var(--lime);
  color: var(--lime);
  box-shadow: var(--glass-top), 0 0 0 1px rgba(191, 255, 19, .12), 0 10px 34px -14px rgba(191, 255, 19, .35);
}
.btn:active { transform: translateY(1px); }

.btn--primary {
  background: var(--lime);
  border-color: var(--lime);
  color: var(--on-lime);
  font-weight: 600;
  box-shadow: 0 0 0 1px rgba(191, 255, 19, .18), 0 14px 40px -16px rgba(191, 255, 19, .55);
}
.btn--primary:hover {
  background: #D4FF4A;
  border-color: #D4FF4A;
  color: var(--on-lime);
  box-shadow: 0 0 0 1px rgba(191, 255, 19, .3), 0 18px 52px -14px rgba(191, 255, 19, .75);
}

.btn__arrow { transition: transform .2s ease; }
.btn:hover .btn__arrow { transform: translateX(4px); }

/* --- Masthead ------------------------------------------------------------- */
.masthead {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(3, 8, 5, .72);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid var(--line);
}

.masthead__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  height: 4.5rem;
}

.wordmark {
  display: inline-flex;
  align-items: center;
  gap: .7rem;
  text-decoration: none;
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: -.035em;
}
.wordmark__globe { width: 1.85rem; height: 1.85rem; flex: none; }
.wordmark__name { display: inline-flex; align-items: baseline; gap: .35rem; }
.wordmark__name b { font-weight: 700; color: var(--text); }
.wordmark__name span { font-weight: 700; color: var(--lime); }

.wordmark__sub {
  font-family: var(--mono);
  font-size: var(--t-mono);
  font-weight: 400;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--text-faint);
  border-left: 1px solid var(--line-lit);
  padding-left: .7rem;
  margin-left: .3rem;
}
@media (max-width: 700px) { .wordmark__sub { display: none; } }

.nav { display: flex; align-items: center; gap: 2rem; }
.nav__links { display: flex; gap: 2rem; list-style: none; margin: 0; padding: 0; }
@media (max-width: 940px) { .nav__links { display: none; } }

.nav__link {
  position: relative;
  font-family: var(--mono);
  font-size: var(--t-mono);
  letter-spacing: .13em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--text-soft);
  transition: color .2s ease;
}
.nav__link::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -.55rem;
  height: 1px;
  background: var(--lime);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .25s ease;
}
.nav__link:hover { color: var(--text); }
.nav__link:hover::after, .nav__link[aria-current="page"]::after { transform: scaleX(1); }
.nav__link[aria-current="page"] { color: var(--text); }

.nav__cta { padding: .72rem 1.2rem; }
@media (max-width: 560px) { .nav__cta { display: none; } }

/* --- Hero ----------------------------------------------------------------- */
.hero { position: relative; overflow: hidden; }

/* Ambient emerald bloom behind the globe. */
.hero::before {
  content: "";
  position: absolute;
  top: -18%; right: -8%;
  width: min(1100px, 105vw);
  aspect-ratio: 1;
  background: radial-gradient(circle at 50% 50%,
    rgba(11, 107, 34, .30) 0%,
    rgba(11, 107, 34, .12) 34%,
    rgba(3, 8, 5, 0) 66%);
  pointer-events: none;
  z-index: 0;
}

.hero__inner { padding-block: clamp(3.5rem, 7vw, 6.5rem) clamp(3rem, 5vw, 4.5rem); }

.hero__grid {
  display: grid;
  gap: clamp(2.5rem, 5vw, 3.5rem);
  align-items: center;
}
@media (min-width: 1000px) {
  .hero__grid { grid-template-columns: minmax(0, 1.08fr) minmax(0, 1fr); gap: 4rem; }
}

.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .8rem;
  color: var(--text-soft);
  margin-bottom: 1.6rem;
  padding: .4rem .8rem .4rem .58rem;
  border: 1px solid var(--line-lit);
  border-radius: 100px;
  background: rgba(255, 255, 255, .022);
}
.hero__eyebrow::before {
  content: "";
  width: .4rem; height: .4rem;
  border-radius: 50%;
  background: var(--lime);
  box-shadow: 0 0 12px 2px var(--lime-haze);
}

.hero__title { font-size: var(--t-display); letter-spacing: -.042em; font-weight: 800; }
.hero__title .lit {
  background: linear-gradient(100deg, #BFFF13 0%, #E4FF7A 48%, #6FA400 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero__lead {
  margin-top: 1.5rem;
  max-width: 54ch;
  font-size: var(--t-lead);
  line-height: 1.65;
  color: var(--text-soft);
}

.hero__actions { margin-top: 2rem; display: flex; flex-wrap: wrap; gap: .85rem; }

/* Globe stage */
.globe {
  position: relative;
  aspect-ratio: 1;
  width: 100%;
  max-width: 560px;
  margin-inline: auto;
}
.globe canvas { width: 100%; height: 100%; }

.globe__legend {
  position: absolute;
  left: 0; bottom: 0;
  display: flex;
  align-items: center;
  gap: .55rem;
  font-family: var(--mono);
  font-size: var(--t-mono);
  letter-spacing: .13em;
  text-transform: uppercase;
  color: var(--text-faint);
}
.globe__legend b { color: var(--lime); font-weight: 500; }

/* Ledger row under the hero */
.hero__meta {
  margin: clamp(3rem, 6vw, 4.5rem) 0 0;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.75rem 2.5rem;
}
@media (min-width: 900px) { .hero__meta { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.hero__meta div { display: grid; gap: .45rem; align-content: start; }
.hero__meta dt { color: var(--text-faint); }
.hero__meta dd {
  margin: 0;
  font-family: var(--display);
  font-weight: 600;
  font-size: var(--t-small);
  letter-spacing: -.02em;
  line-height: 1.45;
}

/* --- Channel rail --------------------------------------------------------- */
.channels__inner {
  padding-block: 2rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem clamp(1.5rem, 4vw, 3rem);
}
.channels__label { color: var(--text-faint); flex: none; }
.channels__list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .9rem clamp(1.1rem, 2.6vw, 2.1rem);
  list-style: none;
  margin: 0;
  padding: 0;
}
.channels__list li {
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(.92rem, .88rem + .2vw, 1rem);
  letter-spacing: -.025em;
  color: var(--text-soft);
  transition: color .2s ease;
}
.channels__list li:hover { color: var(--text); }
.channels__list li::before {
  content: "";
  display: inline-block;
  width: 4px; height: 4px;
  margin-right: .75rem;
  vertical-align: middle;
  background: var(--forest-lit);
  transform: rotate(45deg);
}

/* --- Glass card, the one repeated object ---------------------------------- */
.card {
  position: relative;
  background: var(--glass);
  border: 1px solid var(--glass-edge);
  box-shadow: var(--glass-top);
  border-radius: 3px;
  transition: border-color .25s ease, transform .25s ease, box-shadow .25s ease;
}
/* Hairline that lights up on hover — the only per-card flourish. */
.card::before {
  content: "";
  position: absolute;
  inset: -1px -1px auto -1px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--lime), transparent);
  opacity: 0;
  transition: opacity .3s ease;
}
.card:hover { transform: translateY(-3px); border-color: rgba(191, 255, 19, .22); box-shadow: var(--glass-top), var(--lift); }
.card:hover::before { opacity: .85; }

/* --- Services ------------------------------------------------------------- */
.services { display: grid; gap: 1rem; }
@media (min-width: 680px)  { .services { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1080px) { .services { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

.service { padding: 1.7rem 1.55rem 1.8rem; display: grid; gap: .8rem; align-content: start; }
.service__name { font-size: var(--t-h3); }
.service__copy { color: var(--text-soft); font-size: var(--t-small); line-height: 1.65; }
.service__terms { margin: .3rem 0 0; padding: 0; list-style: none; display: flex; flex-wrap: wrap; gap: .35rem; }
.service__terms li {
  font-family: var(--mono);
  font-size: .655rem;
  letter-spacing: .06em;
  color: var(--text-faint);
  border: 1px solid var(--line-lit);
  border-radius: 2px;
  padding: .2rem .45rem;
}

/* --- Process: a real sequence, so the numbers mean something -------------- */
.steps { list-style: none; margin: 0; padding: 0; display: grid; }

.step {
  display: grid;
  gap: .85rem 2.5rem;
  padding-block: 2rem;
  border-top: 1px solid var(--line);
  align-items: start;
  transition: background .25s ease;
}
.step:last-child { border-bottom: 1px solid var(--line); }
.step:hover { background: rgba(255, 255, 255, .015); }
@media (min-width: 900px) {
  .step { grid-template-columns: 5rem minmax(0, 14rem) minmax(0, 1fr) 8rem; }
}

.step__n {
  font-family: var(--mono);
  font-size: .9rem;
  font-weight: 500;
  font-variant-numeric: tabular-nums;
  color: var(--lime);
  line-height: 1.3;
}
.step__name { font-size: var(--t-h3); }
.step__copy { color: var(--text-soft); font-size: var(--t-small); line-height: 1.7; max-width: 50ch; }
.step__when {
  font-family: var(--mono);
  font-size: var(--t-mono);
  letter-spacing: .13em;
  text-transform: uppercase;
  color: var(--text-faint);
}
@media (min-width: 900px) { .step__when { text-align: right; } }

/* --- Console panel: the instrument of the trade --------------------------- */
.console { overflow: hidden; }

.console__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: .85rem 1.15rem;
  border-bottom: 1px solid var(--line);
  background: rgba(0, 0, 0, .28);
  color: var(--text-faint);
}
.console__live { display: inline-flex; align-items: center; gap: .5rem; color: var(--lime); }
.console__live::before {
  content: "";
  width: .4rem; height: .4rem;
  border-radius: 50%;
  background: currentColor;
  box-shadow: 0 0 9px 1px var(--lime-haze);
}

.metrics { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
/* Trim the trailing cell borders so they never double against the card edge. */
.metric:nth-child(3n) { border-right: 0; }
@media (max-width: 820px) {
  .metrics { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .metric:nth-child(3n) { border-right: 1px solid var(--line); }
  .metric:nth-child(2n) { border-right: 0; }
}
@media (max-width: 460px) {
  .metrics { grid-template-columns: minmax(0, 1fr); }
  .metric { border-right: 0; }
}

.metric {
  position: relative;
  padding: 1.25rem 1.2rem 1.35rem 1.45rem;
  display: grid;
  gap: .5rem;
  align-content: start;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
/* Severity reads as form as well as colour. */
.metric::before {
  content: "";
  position: absolute;
  left: 0; top: 1.3rem;
  width: 2px; height: 1.5rem;
  background: var(--forest-lit);
}
.metric[data-state="ok"]::before    { background: var(--ok); box-shadow: 0 0 10px 0 var(--lime-haze); }
.metric[data-state="watch"]::before { background: var(--watch); }
.metric[data-state="risk"]::before  { background: var(--risk); }

.metric__label { color: var(--text-faint); }
.metric__value {
  font-family: var(--display);
  font-size: 1.45rem;
  font-weight: 700;
  letter-spacing: -.04em;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}
.metric__value sup { font-size: .5em; font-weight: 600; top: -.75em; letter-spacing: 0; }
.metric__delta { font-family: var(--mono); font-size: .66rem; letter-spacing: .05em; font-variant-numeric: tabular-nums; color: var(--text-soft); }
.is-ok    { color: var(--ok); }
.is-watch { color: var(--watch); }
.is-risk  { color: var(--risk); }

.console__foot {
  padding: .85rem 1.15rem;
  background: rgba(0, 0, 0, .28);
  color: var(--text-faint);
  font-family: var(--mono);
  font-size: .66rem;
  letter-spacing: .04em;
  line-height: 1.6;
}

/* --- Operating facts ------------------------------------------------------ */
.facts { display: grid; gap: 1rem; }
@media (min-width: 700px)  { .facts { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1080px) { .facts { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.fact { padding: 1.6rem 1.5rem; display: grid; gap: .6rem; align-content: start; }
.fact__k { color: var(--text-faint); }
.fact__v { font-size: var(--t-small); line-height: 1.65; color: var(--text-soft); }
.fact__v strong { color: var(--text); font-weight: 600; }

/* --- Engagements ---------------------------------------------------------- */
.engagements { display: grid; gap: 1rem; }
@media (min-width: 900px) { .engagements { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

.engagement { padding: 1.8rem 1.6rem 1.9rem; display: grid; gap: .85rem; align-content: start; }
.engagement--lead {
  border-color: rgba(191, 255, 19, .28);
  background: linear-gradient(180deg, rgba(191, 255, 19, .055), rgba(255, 255, 255, .012));
}
.engagement--lead::before { opacity: .5; }
.engagement__tag { color: var(--text-faint); justify-self: start; }
.engagement--lead .engagement__tag {
  color: var(--on-lime);
  background: var(--lime);
  padding: .24rem .55rem;
  border-radius: 2px;
}
.engagement__name { font-size: var(--t-h3); }
.engagement__copy { color: var(--text-soft); font-size: var(--t-small); line-height: 1.65; }
.engagement__list { margin: .4rem 0 0; padding: 0; list-style: none; display: grid; gap: .55rem; }
.engagement__list li { position: relative; padding-left: 1.25rem; font-size: var(--t-small); color: var(--text-soft); }
.engagement__list li::before {
  content: "";
  position: absolute; left: 0; top: .66em;
  width: .45rem; height: .45rem;
  border: 1px solid var(--lime);
  transform: rotate(45deg);
}

/* --- Careers -------------------------------------------------------------- */
.role { padding: 1.9rem 1.7rem; display: grid; gap: 1.6rem 2.5rem; align-items: center; }
@media (min-width: 900px) { .role { grid-template-columns: minmax(0, 1fr) auto; } }
.role__title { font-size: var(--t-h3); }
.role__meta { margin: .85rem 0 0; padding: 0; list-style: none; display: flex; flex-wrap: wrap; gap: .4rem; }
.role__meta li {
  font-family: var(--mono);
  font-size: .655rem;
  letter-spacing: .06em;
  color: var(--text-faint);
  border: 1px solid var(--line-lit);
  border-radius: 2px;
  padding: .22rem .5rem;
}
.role__copy { margin-top: 1rem; color: var(--text-soft); font-size: var(--t-small); line-height: 1.7; max-width: 58ch; }

/* --- Contact -------------------------------------------------------------- */
.contact__grid { display: grid; gap: clamp(2.5rem, 5vw, 4rem); }
@media (min-width: 980px) { .contact__grid { grid-template-columns: minmax(0, 1fr) minmax(0, .82fr); } }

.form { display: grid; gap: 1.15rem; }
.field { display: grid; gap: .5rem; }
.field > label {
  color: var(--text-faint);
  font-family: var(--mono);
  font-size: var(--t-mono);
  letter-spacing: .16em;
  text-transform: uppercase;
}

.field input,
.field select,
.field textarea {
  font-family: var(--body);
  font-size: var(--t-small);
  color: var(--text);
  background: rgba(255, 255, 255, .028);
  border: 1px solid var(--line-lit);
  border-radius: 3px;
  padding: .85rem .95rem;
  width: 100%;
  transition: border-color .2s ease, box-shadow .2s ease, background .2s ease;
}
.field input::placeholder, .field textarea::placeholder { color: var(--text-faint); }
.field input:hover, .field select:hover, .field textarea:hover { border-color: var(--forest-lit); }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--lime);
  background: rgba(255, 255, 255, .045);
  box-shadow: 0 0 0 3px rgba(191, 255, 19, .12);
}
.field textarea { resize: vertical; min-height: 7.5rem; line-height: 1.65; }
.field select { appearance: none; }
.field select option { background: var(--surface-2); color: var(--text); }

.form__row { display: grid; gap: 1.15rem; }
@media (min-width: 560px) { .form__row { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.form__note { color: var(--text-faint); font-size: .8rem; line-height: 1.6; }

.contactcard { display: grid; gap: 0; align-content: start; }
.contactcard__block { display: grid; gap: .55rem; padding-block: 1.3rem; border-top: 1px solid var(--line); }
.contactcard__block:first-child { padding-top: 0; border-top: 0; }
.contactcard__k { color: var(--text-faint); }
.contactcard__v { font-size: var(--t-small); line-height: 1.7; color: var(--text-soft); }
.contactcard__v a {
  color: var(--text);
  text-decoration: none;
  border-bottom: 1px solid rgba(191, 255, 19, .4);
  padding-bottom: 1px;
  transition: color .2s ease, border-color .2s ease;
}
.contactcard__v a:hover { color: var(--lime); border-bottom-color: var(--lime); }

/* --- Footer --------------------------------------------------------------- */
.foot { border-top: 1px solid var(--line); background: var(--void-deep); }
.foot__inner {
  padding-block: 3rem 3.5rem;
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 2rem 3rem;
}
.foot__legal { margin-top: 1rem; color: var(--text-faint); font-size: .78rem; line-height: 1.7; max-width: 46ch; }
.foot__links { display: flex; flex-wrap: wrap; gap: .85rem 1.75rem; list-style: none; margin: 0; padding: 0; }
.foot__links a {
  font-family: var(--mono);
  font-size: var(--t-mono);
  letter-spacing: .13em;
  text-transform: uppercase;
  color: var(--text-soft);
  text-decoration: none;
  transition: color .2s ease;
}
.foot__links a:hover { color: var(--lime); }

/* --- Careers page --------------------------------------------------------- */
.prose { max-width: var(--measure); display: grid; gap: 1.15rem; }
.prose p { color: var(--text-soft); line-height: 1.75; }
.prose ul { margin: 0; padding: 0; list-style: none; display: grid; gap: .75rem; }
.prose ul li { position: relative; padding-left: 1.5rem; color: var(--text-soft); line-height: 1.7; }
.prose ul li::before {
  content: "";
  position: absolute; left: 0; top: .68em;
  width: .45rem; height: .45rem;
  border: 1px solid var(--lime);
  transform: rotate(45deg);
}
.prose ul li strong { color: var(--text); font-weight: 600; }

.rolespec { display: grid; gap: 1rem; }
@media (min-width: 640px) { .rolespec { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1000px) { .rolespec { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.rolespec__cell { padding: 1.25rem 1.3rem; display: grid; gap: .5rem; align-content: start; }
.rolespec__k { color: var(--text-faint); }
.rolespec__v { font-family: var(--display); font-weight: 600; font-size: var(--t-small); letter-spacing: -.02em; line-height: 1.45; }

/* --- Mobile navigation ---------------------------------------------------- */
.navtoggle {
  display: none;
  width: 2.4rem; height: 2.4rem;
  align-items: center;
  justify-content: center;
  gap: 4px;
  flex-direction: column;
  border: 1px solid var(--line-lit);
  border-radius: 3px;
  background: rgba(255, 255, 255, .022);
  cursor: pointer;
  transition: border-color .2s ease;
}
.navtoggle:hover { border-color: var(--lime); }
.navtoggle span {
  display: block;
  width: 15px; height: 1.5px;
  background: var(--text);
  transition: transform .25s ease, opacity .25s ease;
}
.navtoggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(5.5px) rotate(45deg); }
.navtoggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.navtoggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-5.5px) rotate(-45deg); }
@media (max-width: 940px) { .navtoggle { display: flex; } }

.mobilenav {
  position: fixed;
  inset: 4.5rem 0 0 0;
  z-index: 55;
  background: rgba(3, 8, 5, .97);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-top: 1px solid var(--line);
  overflow-y: auto;
}
.mobilenav__inner { padding-block: 2.5rem 3rem; display: grid; gap: 2rem; }
.mobilenav__links { list-style: none; margin: 0; padding: 0; display: grid; }
.mobilenav__links a {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  padding-block: 1.1rem;
  border-bottom: 1px solid var(--line);
  font-family: var(--display);
  font-weight: 600;
  font-size: 1.2rem;
  letter-spacing: -.032em;
  text-decoration: none;
  color: var(--text);
}
.mobilenav__links a:hover { color: var(--lime); }
.mobilenav__links a span {
  font-family: var(--mono);
  font-size: var(--t-mono);
  font-weight: 400;
  letter-spacing: .13em;
  text-transform: uppercase;
  color: var(--text-faint);
}
.mobilenav__foot { display: grid; gap: .9rem; }
.mobilenav .btn { justify-content: center; }
@media (min-width: 941px) { .mobilenav { display: none; } }

/* ==========================================================================
   Artwork & motion
   Every animated thing here is ambient or hover-triggered, and every one of
   them renders complete at rest — nothing is parked waiting on a scroll.
   ========================================================================== */

@keyframes draw      { from { stroke-dashoffset: 100; } to { stroke-dashoffset: 0; } }
@keyframes spin      { to { transform: rotate(360deg); } }
@keyframes spinBack  { to { transform: rotate(-360deg); } }
@keyframes railPulse { 0% { background-position: 0 -140%; } 100% { background-position: 0 240%; } }
@keyframes marquee   { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@keyframes breathe   { 0%, 100% { opacity: .35; transform: scale(1); } 50% { opacity: 1; transform: scale(1.35); } }
@keyframes sweep     { to { transform: rotate(360deg); } }
@keyframes shimmer   { 0%, 100% { opacity: .5; } 50% { opacity: 1; } }

/* --- Service icons -------------------------------------------------------- */
.icon {
  width: 2.1rem;
  height: 2.1rem;
  overflow: visible;
  color: var(--forest-lit);
  transition: color .3s ease;
}
.icon [data-stroke] {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.35;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 100;
  stroke-dashoffset: 0;
}
.icon [data-accent] { fill: var(--lime); transition: transform .35s cubic-bezier(.2, .8, .3, 1); transform-origin: center; }

.service:hover .icon { color: var(--lime); }
.service:hover .icon [data-stroke] { animation: draw .85s cubic-bezier(.65, 0, .35, 1); }
.service:hover .icon [data-accent] { transform: scale(1.45); }
@media (prefers-reduced-motion: reduce) {
  .service:hover .icon [data-stroke] { animation: none; }
}

.service { gap: .95rem; }
.service__name { margin-top: .15rem; }

/* --- Process rail ---------------------------------------------------------- */
@media (min-width: 900px) {
  .step { grid-template-columns: 2.6rem 3.5rem minmax(0, 13rem) minmax(0, 1fr) 8rem; }
}

.step__rail {
  position: relative;
  align-self: stretch;
  justify-self: center;
  width: 1px;
  min-height: 2.5rem;
  background: var(--line-lit);
  overflow: hidden;
}
@media (max-width: 899px) { .step__rail { display: none; } }

/* A signal running down the rail, offset per stage so it reads as a relay. */
.step__rail::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 0%, var(--lime) 50%, transparent 100%);
  background-size: 100% 55%;
  background-repeat: no-repeat;
  animation: railPulse 3.6s linear infinite;
  animation-delay: var(--delay, 0s);
  opacity: .85;
}

.step__node {
  position: absolute;
  /* The rail column is 2.6rem wide and the rail is centred in it. */
  left: 1.3rem;
  top: 2.1rem;
  width: .5rem; height: .5rem;
  margin-left: -.25rem;
  border-radius: 50%;
  background: var(--lime);
  box-shadow: 0 0 0 3px rgba(3, 8, 5, 1), 0 0 14px 1px var(--lime-haze);
}
@media (max-width: 899px) { .step__node { display: none; } }
.step { position: relative; }

/* --- Channel marquee ------------------------------------------------------- */
.marquee {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
  flex: 1 1 320px;
  min-width: 0;
}
.marquee__track {
  display: flex;
  width: max-content;
  animation: marquee 42s linear infinite;
}
.marquee:hover .marquee__track { animation-play-state: paused; }
@media (prefers-reduced-motion: reduce) {
  .marquee__track { animation: none; }
  .marquee { -webkit-mask-image: none; mask-image: none; overflow-x: auto; }
}
.marquee__set {
  display: flex;
  align-items: center;
  gap: clamp(1.5rem, 3vw, 2.6rem);
  list-style: none;
  margin: 0;
  padding: 0 clamp(.75rem, 1.5vw, 1.3rem);
  flex: none;
}

/* --- Orbit artwork (careers) ---------------------------------------------- */
.orbit { position: relative; width: 100%; max-width: 300px; aspect-ratio: 1; justify-self: center; }
.orbit svg { width: 100%; height: 100%; overflow: visible; }
.orbit__ring { fill: none; stroke: var(--forest-lit); stroke-width: 1; transform-box: view-box; transform-origin: 50% 50%; }
.orbit__ring--a { stroke-dasharray: 3 7; animation: spin 46s linear infinite; }
.orbit__ring--b { stroke-dasharray: 2 9; animation: spinBack 34s linear infinite; opacity: .7; }
.orbit__ring--c { stroke-dasharray: 1 6; animation: spin 62s linear infinite; opacity: .45; }
.orbit__body { fill: none; stroke: var(--forest-lit); stroke-width: 1.1; opacity: .55; }
.orbit__sat { fill: var(--lime); transform-box: view-box; transform-origin: 50% 50%; }
.orbit__sat--a { animation: spin 46s linear infinite; }
.orbit__sat--b { animation: spinBack 34s linear infinite; }
.orbit__core { fill: var(--lime); animation: breathe 3.4s ease-in-out infinite; transform-box: fill-box; transform-origin: center; }
.orbit__halo { fill: var(--lime); opacity: .1; }

/* --- Radar locator (contact) ---------------------------------------------- */
.radar { position: relative; width: 100%; max-width: 210px; aspect-ratio: 1; }
.radar svg { width: 100%; height: 100%; }
.radar__grid { fill: none; stroke: var(--forest-lit); stroke-width: .9; opacity: .55; }
.radar__cross { fill: none; stroke: var(--forest-lit); stroke-width: .9; opacity: .35; }
.radar__sweep { transform-box: view-box; transform-origin: 50% 50%; animation: sweep 4.5s linear infinite; }
.radar__blip { fill: var(--lime); animation: breathe 3.4s ease-in-out infinite; transform-box: fill-box; transform-origin: center; }
.radar__label {
  font-family: var(--mono);
  font-size: 5.4px;
  letter-spacing: .16em;
  fill: var(--text-faint);
  text-transform: uppercase;
}
.radar__label--lit { fill: var(--lime); }

.locator { display: grid; gap: 1.4rem; grid-template-columns: minmax(0, 1fr); align-items: center; }
@media (min-width: 420px) { .locator { grid-template-columns: auto minmax(0, 1fr); } }

/* --- Careers layout with artwork ------------------------------------------ */
.careers__grid { display: grid; gap: clamp(2rem, 4vw, 3.5rem); align-items: center; }
@media (min-width: 1000px) { .careers__grid { grid-template-columns: minmax(0, 1fr) 300px; } }

/* --- Footer ghost wordmark ------------------------------------------------- */
.foot { position: relative; overflow: hidden; }
.foot__ghost {
  position: absolute;
  left: 50%;
  bottom: -.32em;
  transform: translateX(-50%);
  margin: 0;
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(3.75rem, 13vw, 10.5rem);
  letter-spacing: -.055em;
  line-height: .8;
  white-space: nowrap;
  pointer-events: none;
  user-select: none;
  background: linear-gradient(180deg, rgba(191, 255, 19, .09), rgba(11, 107, 34, 0) 72%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: shimmer 7s ease-in-out infinite;
}

/* --- Ambient hero mesh ----------------------------------------------------- */
.hero__mesh {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: .5;
  background-image:
    linear-gradient(to right, rgba(11, 107, 34, .16) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(11, 107, 34, .16) 1px, transparent 1px);
  background-size: 86px 86px;
  -webkit-mask-image: radial-gradient(ellipse 75% 62% at 62% 34%, #000 0%, transparent 74%);
  mask-image: radial-gradient(ellipse 75% 62% at 62% 34%, #000 0%, transparent 74%);
}
