:root {
  --red: #ff1818;
  --ink: #0a0a0a;
  --paper: #f3f1eb;
  --muted: #aaa8a1;
  --line: rgba(10, 10, 10, 0.16);
  --max: 1440px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "Space Grotesk", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button { font: inherit; }
::selection { color: white; background: var(--red); }

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: fixed;
  top: 8px;
  left: 8px;
  z-index: 100;
  transform: translateY(-150%);
  padding: 12px 16px;
  background: white;
  color: black;
}
.skip-link:focus { transform: translateY(0); }

.site-header {
  position: absolute;
  z-index: 20;
  top: 0;
  left: 50%;
  width: min(calc(100% - 48px), var(--max));
  height: 104px;
  transform: translateX(-50%);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.17);
}

.brand {
  width: fit-content;
  font-family: "Press Start 2P", ui-monospace, monospace;
  font-size: clamp(15px, 1.35vw, 21px);
  letter-spacing: -0.08em;
  white-space: nowrap;
}
.brand span:first-child { color: var(--red); }
.brand span:last-child {
  margin-left: 0.5em;
  color: var(--ink);
}
.site-header .brand {
  padding: 0;
  background: transparent;
}
.site-header .brand span:last-child { color: white; }

nav { display: flex; align-items: center; gap: 34px; }
nav a,
.nav-cta {
  color: white;
  font-size: 13px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}
nav a { position: relative; }
nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -8px;
  width: 100%;
  height: 1px;
  background: var(--red);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.25s ease;
}
nav a:hover::after,
nav a:focus-visible::after {
  transform: scaleX(1);
  transform-origin: left;
}
.nav-cta { justify-self: end; }
.nav-cta span { color: var(--red); margin-left: 8px; }
.menu-toggle { display: none; }

.hero {
  position: relative;
  min-height: 880px;
  height: 100svh;
  max-height: 1080px;
  display: flex;
  color: white;
  background: #050505;
  isolation: isolate;
  overflow: hidden;
}
.hero-art {
  position: absolute;
  inset: 0;
  z-index: -3;
}
.hero-art img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 62% 50%;
  opacity: 0.96;
  filter: contrast(1.08) saturate(0.9);
  animation: hero-breathe 14s ease-in-out infinite alternate;
}
.hero-shade {
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(90deg, #050505 0%, rgba(5,5,5,.93) 26%, rgba(5,5,5,.36) 65%, rgba(5,5,5,.22) 100%),
    linear-gradient(0deg, rgba(5,5,5,.82) 0%, transparent 38%);
}
#bit-rain {
  position: absolute;
  inset: 0;
  z-index: -1;
  width: 100%;
  height: 100%;
  opacity: 0.7;
  mix-blend-mode: screen;
  mask-image: linear-gradient(180deg, black 0 78%, transparent 100%);
}
@keyframes hero-breathe {
  from { transform: scale(1); }
  to { transform: scale(1.035); }
}

.hero-content {
  width: min(calc(100% - 48px), var(--max));
  margin: 0 auto;
  padding: clamp(190px, 22vh, 250px) 0 64px;
  display: flex;
  flex-direction: column;
}
.eyebrow,
.section-label {
  margin: 0;
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.16em;
}
.eyebrow::before,
.section-label::before {
  content: "";
  width: 36px;
  height: 2px;
  background: var(--red);
}
.eyebrow span,
.section-label span { color: var(--red); }
.hero h1 {
  margin: clamp(34px, 6vh, 70px) 0 0;
  max-width: 1100px;
  font-size: clamp(56px, 7.2vw, 118px);
  line-height: 0.91;
  letter-spacing: -0.065em;
  font-weight: 600;
}
.hero h1 span { color: var(--red); }
.hero-bottom {
  margin-top: auto;
  display: flex;
  align-items: flex-end;
  gap: clamp(36px, 8vw, 130px);
}
.hero-bottom > p {
  max-width: 510px;
  margin: 0;
  color: rgba(255,255,255,.76);
  font-size: clamp(18px, 1.5vw, 24px);
  line-height: 1.5;
}
.circle-link {
  width: 128px;
  height: 128px;
  flex: 0 0 auto;
  border: 1px solid rgba(255,255,255,.56);
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.13em;
  transition: color .25s ease, background .25s ease, border .25s ease;
}
.circle-link svg {
  position: absolute;
  width: 24px;
  margin-top: 58px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.4;
}
.circle-link:hover,
.circle-link:focus-visible {
  color: white;
  background: var(--red);
  border-color: var(--red);
}
.signal {
  position: absolute;
  right: max(24px, calc((100% - var(--max)) / 2));
  bottom: 36px;
  display: flex;
  gap: 10px;
  align-items: center;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 10px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: rgba(255,255,255,.58);
}
.signal-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--red);
  box-shadow: 0 0 16px var(--red);
  animation: pulse 2s infinite;
}
@keyframes pulse { 50% { opacity: .35; } }

.ticker {
  width: 100%;
  overflow: hidden;
  padding: 23px 0 20px;
  color: white;
  background: var(--red);
}
.ticker-track {
  width: max-content;
  display: flex;
  align-items: center;
  gap: 42px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .16em;
  animation: ticker 25s linear infinite;
}
.ticker-track i { font-style: normal; color: var(--ink); font-size: 8px; }
@keyframes ticker { to { transform: translateX(-50%); } }

.section-pad {
  width: min(calc(100% - 48px), var(--max));
  margin: 0 auto;
  padding: clamp(100px, 12vw, 180px) 0;
}
.intro-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(320px, .65fr);
  gap: 10vw;
  margin-top: clamp(60px, 8vw, 120px);
  align-items: end;
}
.display-title {
  margin: 0;
  font-size: clamp(54px, 7vw, 108px);
  line-height: .95;
  letter-spacing: -.065em;
  font-weight: 600;
}
.display-title span { color: var(--red); }
.intro-copy p { margin: 0; color: #5f5e59; font-size: 16px; line-height: 1.7; }
.intro-copy .lead {
  margin-bottom: 30px;
  color: var(--ink);
  font-size: clamp(21px, 1.8vw, 28px);
  line-height: 1.4;
}
.services-list { margin-top: clamp(85px, 10vw, 140px); border-top: 1px solid var(--line); }
.service {
  min-height: 180px;
  display: grid;
  grid-template-columns: 110px 1fr auto;
  gap: 30px;
  align-items: center;
  border-bottom: 1px solid var(--line);
  transition: padding .3s ease, background .3s ease;
}
.service:hover { padding: 0 24px; background: rgba(255,255,255,.48); }
.service-index {
  align-self: start;
  padding-top: 39px;
  color: var(--red);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 12px;
}
.service h3 {
  margin: 0 0 12px;
  font-size: clamp(28px, 3.2vw, 48px);
  font-weight: 500;
  letter-spacing: -.04em;
}
.service p { max-width: 620px; margin: 0; color: #66645e; line-height: 1.6; }
.service-arrow { font-size: 32px; font-weight: 300; transition: color .2s, transform .2s; }
.service:hover .service-arrow { color: var(--red); transform: translate(5px, -5px); }

.feature-image { padding-top: 0; }
.system-frame { margin: 0; position: relative; overflow: hidden; background: #ddd; }
.system-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.3);
  pointer-events: none;
}
.system-frame img {
  width: 100%;
  height: clamp(460px, 63vw, 820px);
  object-fit: cover;
  transition: transform .8s cubic-bezier(.2,.7,.2,1);
}
.system-frame:hover img { transform: scale(1.025); }
.system-frame figcaption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 22px 26px;
  display: flex;
  justify-content: space-between;
  color: white;
  background: rgba(10,10,10,.87);
  backdrop-filter: blur(10px);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: .13em;
}

.principles {
  width: 100%;
  max-width: none;
  padding-left: max(24px, calc((100% - var(--max)) / 2));
  padding-right: max(24px, calc((100% - var(--max)) / 2));
  color: white;
  background: var(--ink);
}
.section-label.light { color: white; }
.principles-head {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 50px;
  align-items: start;
}
.display-title.light { color: white; }
.process-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  margin-top: clamp(90px, 11vw, 150px);
  background: rgba(255,255,255,.17);
  border: 1px solid rgba(255,255,255,.17);
}
.process { min-height: 390px; padding: clamp(28px, 4vw, 54px); background: var(--ink); }
.process-top { display: flex; align-items: center; gap: 18px; color: var(--red); font-family: ui-monospace, monospace; font-size: 12px; }
.process-top i { display: block; flex: 1; height: 1px; background: rgba(255,255,255,.2); }
.process h3 { margin: 130px 0 18px; font-size: clamp(26px, 2.4vw, 38px); font-weight: 500; letter-spacing: -.035em; }
.process p { margin: 0; max-width: 310px; color: #969696; line-height: 1.6; }
.code-line {
  margin-top: 64px;
  padding: 25px 0 0;
  border-top: 1px solid rgba(255,255,255,.16);
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 22px;
  color: #747474;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: .12em;
}
.code-line b { color: var(--red); font-weight: 400; }

.contact {
  padding: clamp(105px, 12vw, 180px) max(24px, calc((100% - var(--max)) / 2));
  background: var(--paper);
  border-top: 6px solid var(--red);
}
.contact .section-label::before { background: var(--ink); }
.contact .section-label span { color: var(--red); }
.contact-grid { display: grid; grid-template-columns: 1.35fr .65fr; gap: 9vw; align-items: end; }
.contact h2 {
  max-width: 900px;
  margin: 76px 0 0;
  font-size: clamp(58px, 8.7vw, 142px);
  line-height: .86;
  letter-spacing: -.075em;
  font-weight: 600;
}
.contact-action { padding-bottom: 8px; }
.contact-action p { margin: 0 0 48px; font-size: 21px; line-height: 1.5; }
.contact-action a {
  padding: 0 0 18px;
  display: flex;
  justify-content: space-between;
  border-bottom: 2px solid var(--ink);
  font-size: 16px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .1em;
}
.contact-action a span { color: var(--red); font-size: 24px; transition: transform .2s ease; }
.contact-action a:hover span { transform: translate(5px,-5px); }
.locations {
  margin-top: clamp(90px, 10vw, 145px);
  padding-top: 34px;
  display: grid;
  grid-template-columns: .7fr 1fr 1fr;
  gap: clamp(30px, 6vw, 100px);
  border-top: 1px solid rgba(10,10,10,.62);
}
.locations-title,
.locations article > span {
  margin: 0;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .15em;
}
.locations article > span { display: block; margin-bottom: 22px; }
.locations address {
  margin: 0;
  font-size: clamp(18px, 1.55vw, 23px);
  font-style: normal;
  line-height: 1.55;
  letter-spacing: -.015em;
}

footer {
  min-height: 180px;
  padding: 48px max(24px, calc((100% - var(--max)) / 2));
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  color: white;
  background: var(--ink);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: .1em;
}
.brand-footer span:last-child { color: white; }
.brand-footer { text-transform: none; }
footer p { color: #777; }
footer > a:last-child { justify-self: end; }

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .75s ease, transform .75s cubic-bezier(.2,.7,.2,1);
}
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: .12s; }
.reveal-delay-2 { transition-delay: .24s; }

@media (max-width: 900px) {
  .site-header { grid-template-columns: 1fr auto; height: 86px; }
  .site-header nav {
    position: fixed;
    top: 0;
    left: -24px;
    width: calc(100% + 48px);
    min-height: 100vh;
    padding: 130px 28px 50px;
    flex-direction: column;
    align-items: flex-start;
    gap: 30px;
    background: var(--ink);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-20px);
    transition: .3s ease;
  }
  .site-header nav.open { opacity: 1; visibility: visible; transform: translateY(0); }
  nav a { font-size: 32px; text-transform: none; letter-spacing: -.03em; }
  .nav-cta { display: none; }
  .menu-toggle {
    z-index: 2;
    display: grid;
    gap: 7px;
    justify-self: end;
    width: 48px;
    height: 48px;
    padding: 14px 10px;
    border: 0;
    background: transparent;
  }
  .menu-toggle span:not(.sr-only) { width: 28px; height: 1px; background: white; transition: .25s ease; }
  .menu-toggle[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] span:nth-child(2) { transform: translateY(-4px) rotate(-45deg); }
  .hero { min-height: 780px; }
  .hero-shade { background: linear-gradient(90deg, rgba(5,5,5,.94), rgba(5,5,5,.38)), linear-gradient(0deg, #050505 0%, transparent 48%); }
  .hero-content { padding-top: 180px; }
  .hero-bottom { gap: 26px; }
  .circle-link { width: 98px; height: 98px; }
  .intro-grid, .principles-head, .contact-grid { grid-template-columns: 1fr; }
  .intro-grid { gap: 54px; }
  .principles-head { gap: 70px; }
  .process { min-height: 340px; padding: 30px; }
  .process h3 { margin-top: 100px; }
  .contact-grid { gap: 80px; }
  .contact-action { max-width: 520px; }
  .locations { grid-template-columns: .6fr 1fr 1fr; gap: 36px; }
  footer { grid-template-columns: 1fr auto; gap: 30px; }
  footer p { display: none; }
}

@media (max-width: 680px) {
  .site-header,
  .hero-content,
  .section-pad { width: calc(100% - 32px); }
  .brand { font-size: 14px; }
  .site-header .brand { padding: 0; }
  .hero { height: auto; min-height: min(100svh, 780px); max-height: none; }
  .hero-art img { object-position: 66% 50%; opacity: .78; }
  .hero-shade { background: linear-gradient(90deg, #050505 0%, rgba(5,5,5,.76) 85%), linear-gradient(0deg, #050505 2%, transparent 58%); }
  .hero h1 { font-size: clamp(46px, 14vw, 72px); line-height: .94; }
  .eyebrow { font-size: 10px; }
  .hero-bottom { align-items: center; }
  .hero-bottom > p { font-size: 17px; }
  .circle-link { display: none; }
  .signal { display: none; }
  .section-pad { padding: 94px 0; }
  .display-title { font-size: clamp(48px, 15vw, 76px); }
  .intro-copy .lead { font-size: 21px; }
  .service {
    min-height: auto;
    padding: 34px 0;
    grid-template-columns: 38px 1fr;
    gap: 14px;
  }
  .service:hover { padding: 34px 12px; }
  .service-index { padding-top: 10px; }
  .service-arrow { display: none; }
  .service h3 { font-size: 28px; }
  .feature-image { padding-top: 0; }
  .system-frame img { height: 480px; }
  .system-frame figcaption { gap: 12px; font-size: 9px; }
  .principles { padding-left: 16px; padding-right: 16px; }
  .process-grid { grid-template-columns: 1fr; }
  .process { min-height: 290px; }
  .process h3 { margin-top: 76px; }
  .code-line { justify-content: flex-start; }
  .contact { padding-left: 16px; padding-right: 16px; }
  .contact h2 { margin-top: 60px; font-size: clamp(58px, 19vw, 90px); }
  .contact-action p { font-size: 18px; }
  .locations { grid-template-columns: 1fr; gap: 0; padding-top: 0; }
  .locations-title { padding: 24px 0 34px; }
  .locations article { padding: 28px 0; border-top: 1px solid rgba(10,10,10,.32); }
  .locations article > span { margin-bottom: 15px; }
  footer { padding-left: 16px; padding-right: 16px; min-height: 140px; }
  footer > a:last-child { font-size: 9px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}
