@font-face {
  font-family: "Archivo";
  font-style: normal;
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-display: swap;
  src: url("/assets/fonts/archivo-latin.woff2") format("woff2");
}

:root {
  --void: #05070A;
  --panel: #0A0E13;
  --line: #18212B;
  --line-hi: #2A3643;
  --text: #E6EDF3;
  --soft: #B4C0CB;
  --muted: #8593A1;
  --cyan: #00E5FF;
  --cyan-hi: #7CF4FF;
  --magenta: #FF2E88;
  --cyan-glow: rgba(0, 229, 255, 0.32);
  --cyan-faint: rgba(0, 229, 255, 0.12);

  --mono: ui-monospace, "SF Mono", "Cascadia Mono", "Roboto Mono", Menlo, Consolas, monospace;
  --gutter: 20px;
  --space-section: 120px;
  --max: 1320px;
  --bar-h: 64px;
  --cut: 12px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);

  color-scheme: dark;
  accent-color: var(--cyan);
  scrollbar-color: var(--line-hi) var(--void);
}

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--bar-h) + 16px);
  background: var(--void);
}

body {
  margin: 0;
  background: var(--void);
  color: var(--text);
  font-family: "Archivo", system-ui, sans-serif;
  font-size: 1.0625rem;
  line-height: 1.6;
  font-variant-numeric: tabular-nums;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  caret-color: var(--cyan);
  overflow-x: clip;
}

::selection { background: var(--cyan); color: var(--void); }

img { display: block; max-width: 100%; height: auto; }
p, ul, ol { margin: 0; }
p { text-wrap: pretty; }
ul, ol { padding: 0; list-style: none; }

h1, h2 {
  margin: 0;
  font-stretch: 125%;
  font-weight: 760;
  line-height: 0.98;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  text-wrap: balance;
}

h1 { font-size: clamp(2.5rem, 7.4vw, 5.75rem); }
h2 { font-size: clamp(1.625rem, 1rem + 3.3vw, 3.125rem); }

h3 {
  margin: 0;
  font-size: 1.1875rem;
  font-stretch: 108%;
  font-weight: 650;
  line-height: 1.25;
  letter-spacing: -0.005em;
}

a { color: inherit; }

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

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }

.icon {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex: none;
}

.wrap {
  width: 100%;
  max-width: var(--max);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.skip {
  position: absolute;
  top: 8px;
  left: 8px;
  z-index: 100;
  padding: 10px 16px;
  background: var(--cyan);
  color: var(--void);
  font-weight: 650;
  transform: translateY(-160%);
}

.skip:focus-visible { transform: none; }

.wordmark {
  font-stretch: 125%;
  font-weight: 800;
  font-size: 1.0625rem;
  letter-spacing: 0.04em;
  text-decoration: none;
  text-transform: uppercase;
  white-space: nowrap;
}

.cursor {
  display: inline-block;
  width: 0.55em;
  height: 0.85em;
  margin-left: 0.18em;
  vertical-align: -0.06em;
  background: var(--cyan);
  animation: blink 1.2s steps(1) infinite;
}

.bar {
  position: fixed;
  inset: 0 0 auto;
  z-index: 40;
  padding-top: env(safe-area-inset-top);
  border-bottom: 1px solid transparent;
  transition: background-color 240ms, border-color 240ms;
}

.bar.solid {
  background: rgba(5, 7, 10, 0.82);
  border-bottom-color: var(--line);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  backdrop-filter: blur(14px) saturate(140%);
}

.bar-inner {
  display: flex;
  align-items: center;
  gap: 32px;
  height: var(--bar-h);
  max-width: var(--max);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.bar-inner .button { margin-left: auto; }

.nav { display: none; }

.nav a, .foot-nav a {
  color: var(--muted);
  font-size: 0.9375rem;
  font-weight: 500;
  text-decoration: none;
  transition: color 160ms;
}

.nav a:hover, .foot-nav a:hover { color: var(--text); }

.button {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 28px;
  border: 0;
  background: var(--cyan);
  color: var(--void);
  font: inherit;
  font-size: 0.9375rem;
  font-stretch: 112%;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  overflow: hidden;
  clip-path: polygon(0 0, calc(100% - var(--cut)) 0, 100% var(--cut), 100% 100%, var(--cut) 100%, 0 calc(100% - var(--cut)));
  transition: background-color 160ms;
}

.button::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, transparent 30%, rgba(255, 255, 255, 0.6) 50%, transparent 70%);
  transform: translateX(-120%);
}

.button:hover { background: var(--cyan-hi); }
.button:hover::after { transition: transform 700ms var(--ease); transform: translateX(120%); }
.button:active { transform: translateY(1px); }
.button:disabled { background: var(--line-hi); color: var(--muted); cursor: progress; }
.button:disabled::after { display: none; }

.button-sm {
  --cut: 8px;
  min-height: 40px;
  padding: 0 18px;
  font-size: 0.8125rem;
}

.text-link {
  display: inline-flex;
  align-items: center;
  min-height: 52px;
  color: var(--text);
  font-weight: 550;
  text-decoration: underline;
  text-decoration-color: var(--line-hi);
  text-decoration-thickness: 1px;
  text-underline-offset: 6px;
  transition: text-decoration-color 160ms, color 160ms;
}

.text-link:hover { color: var(--cyan); text-decoration-color: var(--cyan); }

.hero {
  position: relative;
  display: flex;
  align-items: flex-end;
  min-height: 100svh;
  padding-block: calc(var(--bar-h) + 48px) 56px;
  overflow: hidden;
  isolation: isolate;
}

.hero-bg, .hero-bg img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: -2;
}

.hero-bg img { object-fit: cover; object-position: 50% 42%; }

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(to top, var(--void) 6%, rgba(5, 7, 10, 0.78) 40%, rgba(5, 7, 10, 0.08) 70%, rgba(5, 7, 10, 0.6));
}

.hero .line { display: block; }

.line-motion {
  color: var(--cyan);
  text-shadow: 0 0 32px var(--cyan-glow);
}

.line-motion.decoding {
  position: relative;
  color: transparent;
  text-shadow: none;
}

.line-motion.decoding::after {
  content: attr(data-text);
  position: absolute;
  inset: 0 auto auto 0;
  width: 100%;
  color: var(--cyan);
  text-shadow: 0 0 32px var(--cyan-glow);
}

.lede {
  max-width: 30rem;
  margin: 24px 0 36px;
  color: var(--soft);
  font-size: 1.1875rem;
  line-height: 1.5;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 32px;
}

.ticker {
  overflow: hidden;
  border-block: 1px solid var(--line);
  background: var(--panel);
  white-space: nowrap;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}

.ticker-track {
  display: flex;
  width: max-content;
  animation: marquee 60s linear infinite;
  will-change: transform;
}

.ticker span {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 15px 40px 15px 0;
  color: var(--text);
  font-size: 0.875rem;
  font-weight: 500;
}

.ticker time {
  color: var(--cyan);
  font-family: var(--mono);
  font-size: 0.8125rem;
}

.section { margin-top: var(--space-section); }

.section-head {
  display: grid;
  gap: 16px;
  margin-bottom: 48px;
}

.section-head p {
  max-width: 28rem;
  color: var(--muted);
  font-size: 1.0625rem;
}

.tiles {
  display: grid;
  gap: 16px;
}

.tile {
  position: relative;
  display: flex;
  align-items: flex-end;
  min-height: 420px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--panel);
  isolation: isolate;
}

.tile img {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1200ms var(--ease);
}

.tile::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(to top, rgba(5, 7, 10, 0.94) 0%, rgba(5, 7, 10, 0.6) 34%, rgba(5, 7, 10, 0) 64%);
}

.tile::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 20px;
  height: 20px;
  border-top: 2px solid var(--cyan);
  border-left: 2px solid var(--cyan);
}

.tile:hover img { transform: scale(1.04); }

.tile-text {
  padding: 24px;
  max-width: 30rem;
}

.tile-text p {
  margin-top: 8px;
  color: var(--soft);
  font-size: 1rem;
}

.jobs {
  display: grid;
  border-top: 1px solid var(--line);
}

.jobs li {
  display: grid;
  grid-template-columns: 24px 1fr;
  column-gap: 16px;
  row-gap: 6px;
  padding-block: 24px;
  border-bottom: 1px solid var(--line);
}

.jobs .icon {
  grid-row: span 2;
  margin-top: 1px;
  color: var(--cyan);
}

.jobs h3 { font-size: 1.0625rem; }

.jobs p {
  color: var(--muted);
  font-size: 0.9375rem;
  line-height: 1.55;
}

.band {
  position: relative;
  display: flex;
  align-items: flex-end;
  margin-top: var(--space-section);
  min-height: 78svh;
  padding-block: 120px 56px;
  overflow: hidden;
  isolation: isolate;
  border-block: 1px solid var(--line);
}

.band img {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.band::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(to top, var(--void) 2%, rgba(5, 7, 10, 0.35) 55%, rgba(5, 7, 10, 0.55));
}

.band-text h2 span { display: block; text-wrap: balance; }

.band-text p {
  margin-top: 20px;
  color: var(--soft);
  font-size: 1.125rem;
}

.scan {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  animation: scan 8s var(--ease) infinite;
  will-change: transform;
}

.scan::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 1px;
  background: var(--cyan);
  box-shadow: 0 0 16px 1px var(--cyan-glow);
  opacity: 0.6;
}

.steps { display: grid; }

.steps li {
  display: grid;
  grid-template-columns: 48px 1fr;
  column-gap: 16px;
  row-gap: 6px;
  align-content: start;
  padding-block: 28px;
  border-top: 1px solid var(--line);
}

.steps li:last-child { border-bottom: 1px solid var(--line); }

.num {
  grid-row: span 2;
  color: var(--cyan);
  font-size: 2rem;
  font-stretch: 125%;
  font-weight: 300;
  line-height: 1;
}

.steps p { color: var(--muted); }

.about {
  display: grid;
  gap: 40px;
  align-items: center;
}

.frame {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
}

.frame::before, .frame::after {
  content: "";
  position: absolute;
  z-index: 1;
  width: 20px;
  height: 20px;
  border: 0 solid var(--cyan);
}

.frame::before { top: 0; left: 0; border-top-width: 2px; border-left-width: 2px; }
.frame::after { right: 0; bottom: 0; border-right-width: 2px; border-bottom-width: 2px; }

.frame img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }

.person {
  display: flex;
  flex-direction: column;
  gap: 2px;
  margin: 0 0 20px;
  padding-left: 16px;
  border-left: 1px solid var(--cyan);
}

.person strong { font-size: 1.1875rem; font-stretch: 108%; font-weight: 650; }
.person span { color: var(--muted); font-size: 0.9375rem; }

.about-text > p:last-child { max-width: 34rem; color: var(--muted); }

.panel {
  position: relative;
  display: grid;
  gap: 40px;
  padding: 40px 20px 44px;
  border: 1px solid var(--line);
  background: var(--panel);
  clip-path: polygon(0 0, calc(100% - 24px) 0, 100% 24px, 100% 100%, 24px 100%, 0 calc(100% - 24px));
}

.panel::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 2px;
  background: linear-gradient(90deg, var(--cyan), transparent 60%);
}

.contact-head p {
  margin-top: 16px;
  max-width: 26rem;
  color: var(--muted);
}

.lead {
  display: grid;
  gap: 20px;
}

.field label {
  display: block;
  margin-bottom: 8px;
  color: var(--text);
  font-size: 0.875rem;
  font-weight: 550;
}

.field label span { color: var(--muted); font-weight: 400; }

.field input, .field textarea {
  display: block;
  width: 100%;
  min-height: 52px;
  padding: 14px 16px;
  border: 1px solid var(--line-hi);
  border-radius: 0;
  background: var(--void);
  color: var(--text);
  font: inherit;
  font-size: 1rem;
  line-height: 1.4;
  transition: border-color 160ms, box-shadow 160ms;
  -webkit-appearance: none;
  appearance: none;
}

.field textarea { resize: vertical; min-height: 128px; }

.field input:hover, .field textarea:hover { border-color: #3A4857; }

.field input:focus, .field textarea:focus {
  outline: none;
  border-color: var(--cyan);
  box-shadow: 0 0 0 3px var(--cyan-faint);
}

.field input:-webkit-autofill {
  -webkit-text-fill-color: var(--text);
  box-shadow: 0 0 0 100px var(--void) inset;
}

.field [aria-invalid="true"] { border-color: var(--magenta); }
.field [aria-invalid="true"]:focus { border-color: var(--magenta); box-shadow: 0 0 0 3px rgba(255, 46, 136, 0.18); }

.field-error:not(:empty) {
  margin-top: 8px;
  color: var(--magenta);
  font-size: 0.875rem;
}

.trap {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px 24px;
  margin-top: 4px;
}

.form-foot .button { width: 100%; }

.form-status { color: var(--magenta); font-size: 0.9375rem; }

.sent {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  align-self: center;
  max-width: 30rem;
  font-size: clamp(1.125rem, 2.4vw, 1.375rem);
  font-stretch: 108%;
  font-weight: 600;
  line-height: 1.4;
}

.sent .icon {
  width: 28px;
  height: 28px;
  margin-top: 1px;
  color: var(--cyan);
  stroke-width: 2;
}

.sent:focus { outline: none; }

.foot {
  margin-top: var(--space-section);
  border-top: 1px solid var(--line);
}

.foot-inner {
  display: grid;
  gap: 20px;
  padding-block: 32px 40px;
}

.foot-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
}

.foot p { color: var(--muted); font-size: 0.875rem; }

.page-simple {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  min-height: 80svh;
  padding-top: calc(var(--bar-h) + 48px);
}

.page-simple p {
  max-width: 30rem;
  margin: 20px 0 36px;
  color: var(--muted);
}

.js .reveal {
  clip-path: inset(0 0 100% 0);
  transition: clip-path 1100ms var(--ease);
}

.js .reveal.in { clip-path: inset(0); }
.js .tiles .reveal:nth-child(2) { transition-delay: 120ms; }
.js .tiles .reveal:nth-child(3) { transition-delay: 60ms; }
.js .tiles .reveal:nth-child(4) { transition-delay: 180ms; }

@keyframes blink { 50% { opacity: 0; } }
@keyframes marquee { to { transform: translateX(-50%); } }
@keyframes scan { from { transform: translateY(0); } to { transform: translateY(100%); } }

@media (min-width: 720px) {
  :root {
    --gutter: 32px;
    --bar-h: 72px;
  }

  .hero { align-items: center; padding-bottom: 96px; }

  .hero::before {
    background:
      linear-gradient(to top, var(--void) 3%, transparent 40%),
      linear-gradient(90deg, rgba(5, 7, 10, 0.92) 0%, rgba(5, 7, 10, 0.6) 42%, rgba(5, 7, 10, 0) 72%);
  }

  .section-head {
    grid-template-columns: 7fr 5fr;
    align-items: end;
    gap: 32px;
    margin-bottom: 56px;
  }

  .section-head p { justify-self: end; }

  .tiles { grid-template-columns: 1fr 1fr; }
  .tile { min-height: 460px; }

  .jobs { grid-template-columns: 1fr 1fr; column-gap: 48px; }

  .steps { grid-template-columns: repeat(3, 1fr); column-gap: 32px; }
  .steps li { grid-template-columns: 1fr; padding-top: 32px; }
  .steps li:last-child { border-bottom: 0; }
  .num { grid-row: auto; margin-bottom: 40px; font-size: 2.75rem; }

  .panel { padding: 56px 48px; }
  .lead { grid-template-columns: repeat(2, 1fr); column-gap: 20px; }
  .field-wide { grid-column: 1 / -1; }
  .form-foot .button { width: auto; min-width: 180px; }

  .foot-inner {
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 40px;
  }

  .foot-nav { justify-content: center; }
}

@media (min-width: 1000px) {
  .nav {
    display: flex;
    gap: 28px;
    margin-left: auto;
  }

  .bar-inner .button { margin-left: 8px; }
}

@media (min-width: 1160px) {
  :root {
    --gutter: 48px;
    --space-section: 168px;
  }

  .tiles {
    grid-template-columns: repeat(12, 1fr);
    gap: 20px;
  }

  .tile { min-height: 540px; }
  .tile:nth-child(1), .tile:nth-child(4) { grid-column: span 7; }
  .tile:nth-child(2), .tile:nth-child(3) { grid-column: span 5; }
  .tile-text { padding: 36px; }

  .jobs { grid-template-columns: repeat(4, 1fr); column-gap: 40px; border-top: 0; }
  .jobs li {
    grid-template-columns: 1fr;
    row-gap: 10px;
    padding-block: 32px 36px;
    border-bottom: 0;
    border-top: 1px solid var(--line);
  }
  .jobs .icon { grid-row: auto; margin-bottom: 14px; }

  .band { min-height: 82vh; padding-bottom: 88px; }

  .about {
    grid-template-columns: 7fr 5fr;
    gap: 64px;
    align-items: center;
  }

  .panel {
    grid-template-columns: 5fr 7fr;
    gap: 72px;
    padding: 80px 72px;
  }
}

@media (hover: none) {
  .tile:hover img { transform: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
  }
  .js .reveal { clip-path: none; }
}
