:root {
  --paper: #fff4e8;
  --coral: #92243b;
  --cyan: #60e6ff;
  --blue: #5577ff;
  --black: #050816;
  --line: rgba(96, 230, 255, .18);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { background: var(--black); color: var(--paper); font-family: "Space Grotesk", sans-serif; }
body { min-width: 320px; overflow-x: hidden; }
a { color: inherit; text-decoration: none; }

.hero {
  position: relative;
  min-height: 100svh;
  overflow: hidden;
  isolation: isolate;
  background:
    radial-gradient(circle at 50% 49%, rgba(85, 119, 255, .13), transparent 34%),
    #050816;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 8;
  pointer-events: none;
  opacity: .15;
  background: repeating-linear-gradient(0deg, transparent 0 4px, rgba(96,230,255,.12) 5px, transparent 6px);
  mix-blend-mode: screen;
}

.noise {
  position: fixed;
  inset: 0;
  z-index: 20;
  opacity: .08;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 160 160' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.95' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.nav {
  position: absolute;
  inset: 0 0 auto;
  z-index: 10;
  height: 88px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 0 clamp(22px, 3.4vw, 54px);
  color: var(--cyan);
  border-bottom: 1px solid var(--line);
  font-family: "DM Mono", monospace;
}

.wordmark {
  display: flex;
  align-items: center;
  gap: 10px;
  width: max-content;
  font-size: 12px;
  font-weight: 500;
  line-height: .88;
  text-transform: uppercase;
}

.wordmark-mark {
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  color: var(--black);
  background: var(--cyan);
  border-radius: 2px;
  font-size: 17px;
  font-style: italic;
}

.nav-links { display: flex; gap: 38px; font-size: 9px; letter-spacing: .18em; text-transform: uppercase; }
.nav-links a { transition: color .2s; }
.nav-links a:hover { color: var(--coral); }

.menu-pill {
  justify-self: end;
  padding: 10px 14px;
  color: var(--cyan);
  border: 1px solid var(--cyan);
  font-size: 9px;
  letter-spacing: .1em;
  text-transform: uppercase;
  transition: .2s ease;
}
.menu-pill:hover { color: var(--black); background: var(--cyan); }

.grid {
  position: absolute;
  inset: 88px 0 0;
  z-index: -1;
  opacity: .17;
  background:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 54px 54px;
  -webkit-mask-image: radial-gradient(ellipse at center, #000, transparent 74%);
  mask-image: radial-gradient(ellipse at center, #000, transparent 74%);
}

.ambient { display: none; }
.eyebrow {
  position: absolute;
  top: 116px;
  left: 50%;
  z-index: 5;
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--blue);
  font: 400 8px/1 "DM Mono", monospace;
  letter-spacing: .2em;
  text-transform: uppercase;
  transform: translateX(-50%);
}
.pulse { width: 6px; height: 6px; background: var(--coral); box-shadow: 0 0 12px var(--coral); animation: blink .8s steps(1) infinite; }

.stage {
  position: absolute;
  inset: 88px 0 0;
  perspective: 1000px;
}

#sphere-canvas { position: absolute; inset: 0; width: 100%; height: 100%; cursor: crosshair; }

.screen-frame {
  position: absolute;
  z-index: 4;
  top: 50%;
  left: 50%;
  width: min(74vw, 960px);
  height: min(65vh, 650px);
  border: 1px solid rgba(185,255,33,.2);
  transform: translate(-50%, -50%);
  pointer-events: none;
}
.screen-frame::before,
.screen-frame::after {
  content: "";
  position: absolute;
  width: 35px;
  height: 35px;
}
.screen-frame::before { top: -1px; left: -1px; border-top: 3px solid var(--cyan); border-left: 3px solid var(--cyan); }
.screen-frame::after { right: -1px; bottom: -1px; border-right: 3px solid var(--cyan); border-bottom: 3px solid var(--cyan); }

.object-label {
  position: absolute;
  z-index: 5;
  padding: 5px 8px;
  color: var(--black);
  background: var(--cyan);
  font: 500 8px/1 "DM Mono", monospace;
  letter-spacing: .12em;
  pointer-events: none;
}
.label-a { top: 20%; left: 16%; }
.label-b { right: 13%; bottom: 21%; color: var(--paper); background: var(--coral); }

.hero-copy {
  position: absolute;
  z-index: 10;
  left: clamp(22px, 3.4vw, 54px);
  bottom: clamp(25px, 4vh, 45px);
}
.hero-copy p { margin-bottom: 14px; color: #9da8c8; font: 400 clamp(11px, .9vw, 13px)/1.5 "DM Mono", monospace; }
.text-link {
  display: inline-flex;
  gap: 30px;
  padding-bottom: 5px;
  color: var(--cyan);
  border-bottom: 1px solid var(--cyan);
  font: 500 8px/1 "DM Mono", monospace;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.side-note {
  position: absolute;
  z-index: 10;
  right: clamp(22px, 3.4vw, 54px);
  bottom: 38px;
  display: flex;
  gap: 24px;
  color: #697594;
  font: 400 8px/1 "DM Mono", monospace;
  letter-spacing: .15em;
  text-transform: uppercase;
}
.scroll-cue { display: none; }

@keyframes blink { 50% { opacity: .15; } }

@media (max-width: 700px) {
  .nav { height: 76px; grid-template-columns: 1fr auto; }
  .nav-links { display: none; }
  .menu-pill { font-size: 7px; }
  .stage { inset: 76px 0 0; }
  .grid { inset: 76px 0 0; background-size: 36px 36px; }
  .eyebrow { top: 98px; }
  .screen-frame { width: 90vw; height: 57vh; }
  .label-a { top: 21%; left: 5%; }
  .label-b { right: 4%; bottom: 23%; }
  .hero-copy { bottom: 24px; }
  .side-note { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; }
}

.section-shell {
  position: relative;
  padding: clamp(90px, 11vw, 170px) clamp(22px, 5vw, 76px);
}

.section-kicker {
  color: var(--cyan);
  font: 500 9px/1 "DM Mono", monospace;
  letter-spacing: .18em;
  text-transform: uppercase;
}

.services-intro h2 {
  font-size: clamp(48px, 7vw, 112px);
  font-weight: 500;
  line-height: .82;
  letter-spacing: -.075em;
  text-align: right;
}

blockquote i,
.contact a i { color: var(--coral); font-family: Georgia, serif; font-weight: 400; }

.services { background: var(--paper); color: #080d22; }
.services .section-kicker { color: var(--blue); }
.services-intro {
  display: grid;
  grid-template-columns: 1.4fr .6fr;
  gap: 50px;
  align-items: end;
  margin: 65px 0 110px;
}
.services-intro h2 { text-align: left; }
.services-intro p { max-width: 390px; color: #566078; font-size: clamp(15px, 1.5vw, 21px); line-height: 1.45; }
.service-list { border-top: 1px solid rgba(8,13,34,.2); }
.service-list article {
  display: grid;
  grid-template-columns: 80px 1fr 1fr;
  gap: 25px;
  align-items: baseline;
  padding: 35px 0;
  border-bottom: 1px solid rgba(8,13,34,.2);
}
.service-list span { color: var(--coral); font: 500 10px/1 "DM Mono", monospace; }
.service-list h3 { font-size: clamp(27px, 3.3vw, 50px); font-weight: 500; letter-spacing: -.05em; }
.service-list p { max-width: 420px; color: #626a7c; line-height: 1.5; }

.manifesto { overflow: hidden; color: var(--paper); background: var(--coral); }
.manifesto-track {
  padding: 18px 0;
  overflow: hidden;
  color: #080d22;
  background: var(--cyan);
  font-size: clamp(25px, 4vw, 58px);
  font-weight: 700;
  white-space: nowrap;
  transform: rotate(-2deg) scale(1.02);
}
.manifesto-track span { display: block; animation: ticker 18s linear infinite; }
.manifesto .section-kicker { color: #080d22; }
.manifesto blockquote { margin: 90px 0; font-size: clamp(43px, 7.5vw, 116px); line-height: .9; letter-spacing: -.07em; }
.manifesto blockquote i { color: #080d22; }
.manifesto-foot { display: flex; justify-content: space-between; gap: 40px; font: 500 10px/1.5 "DM Mono", monospace; letter-spacing: .1em; text-transform: uppercase; }

.contact { min-height: 100svh; display: flex; flex-direction: column; justify-content: space-between; background: #050816; }
.contact > p { margin-top: 70px; color: #7f8bac; font: 400 12px/1 "DM Mono", monospace; letter-spacing: .12em; text-transform: uppercase; }
.contact > a { margin: auto 0; width: max-content; font-size: clamp(68px, 13.5vw, 210px); font-weight: 600; line-height: .72; letter-spacing: -.09em; }
.contact > a:hover i { color: var(--cyan); }
.contact-foot { display: flex; justify-content: space-between; color: #7f8bac; font: 400 8px/1 "DM Mono", monospace; letter-spacing: .13em; text-transform: uppercase; }

@keyframes ticker { to { transform: translateX(-50%); } }

@media (max-width: 700px) {
  .services-intro { grid-template-columns: 1fr; margin: 50px 0 70px; }
  .service-list article { grid-template-columns: 35px 1fr; }
  .service-list article p { grid-column: 2; }
  .manifesto-foot,
  .contact-foot { flex-direction: column; }
  .contact > a { font-size: 21vw; }
}
