@import url("https://fonts.googleapis.com/css2?family=DM+Mono:wght@300;400;500&family=Manrope:wght@300;400;500;600&display=swap");

:root {
  --ink: #0a0a0a;
  --paper: #f2f0ea;
  --white: #ffffff;
  --line: rgba(10, 10, 10, 0.18);
  --line-dark: rgba(255, 255, 255, 0.18);
  --signal: #d8ff3e;
  --muted: #716f69;
  --space: clamp(72px, 9vw, 144px);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Manrope", Arial, sans-serif;
  font-weight: 400;
  letter-spacing: 0;
}
body.menu-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button { font: inherit; }

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

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 100;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  width: 100%;
  height: 80px;
  padding: 0 3vw;
  color: var(--white);
  border-bottom: 1px solid var(--line-dark);
  transition: background 220ms ease, color 220ms ease;
}
.site-header.scrolled {
  color: var(--ink);
  background: rgba(242, 240, 234, 0.94);
  border-color: var(--line);
  backdrop-filter: blur(16px);
}
.brand { justify-self: start; }
.wordmark { display: inline-flex; align-items: center; color: currentColor; font-size: 18px; line-height: 1; }
.wordmark b, .wordmark strong { font-weight: 400; }
.wordmark b { color: var(--signal); }
.wordmark strong { margin-left: 2px; padding: 5px 6px; background: var(--white); color: var(--ink); }
.wordmark i { margin-left: 3px; font: 400 6px/1 "DM Mono", monospace; font-style: normal; writing-mode: vertical-rl; }
.site-header.scrolled .wordmark b { color: #8b9d00; }
.site-header.scrolled .wordmark strong { background: var(--ink); color: var(--paper); }
.header-coordinate {
  margin: 0;
  font: 300 10px/1.4 "DM Mono", monospace;
  text-transform: uppercase;
}
.header-coordinate span { opacity: 0.48; margin-left: 12px; }
.main-nav { display: flex; align-items: center; gap: 26px; justify-self: end; }
.main-nav a { font-size: 12px; }
.main-nav a:not(.nav-cta) { opacity: 0.72; }
.main-nav a:hover { opacity: 1; }
.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 24px;
  padding: 11px 14px;
  border: 1px solid currentColor;
}
.menu-toggle { display: none; }

.hero {
  position: relative;
  min-height: 92svh;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(480px, 1.08fr);
  align-items: center;
  padding: 128px 5vw 86px;
  background: var(--ink);
  color: var(--white);
}
.system-canvas, .hero-noise { position: absolute; inset: 0; width: 100%; height: 100%; }
.system-canvas { opacity: 0.82; }
.hero-noise {
  pointer-events: none;
  opacity: 0.18;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.35'/%3E%3C/svg%3E");
  mix-blend-mode: soft-light;
}
.hero-copy { position: relative; z-index: 2; align-self: end; padding-bottom: 34px; }
.eyebrow {
  display: flex;
  gap: 28px;
  margin: 0 0 32px;
  font: 300 10px/1.3 "DM Mono", monospace;
  text-transform: uppercase;
  color: rgba(255,255,255,.62);
}
.eyebrow span:first-child { color: var(--signal); }
.hero h1 {
  margin: 0;
  font-size: 132px;
  font-weight: 300;
  line-height: 0.78;
}
.hero-lead {
  max-width: 520px;
  margin: 42px 0 32px;
  font-size: 28px;
  font-weight: 300;
  line-height: 1.3;
}
.hero-action {
  display: inline-flex;
  justify-content: space-between;
  gap: 64px;
  min-width: 280px;
  padding: 14px 0;
  font: 400 12px/1 "DM Mono", monospace;
  border-bottom: 1px solid var(--signal);
}
.hero-action span { color: var(--signal); }

.system-map { position: relative; z-index: 3; aspect-ratio: 1; max-width: 700px; width: 100%; justify-self: end; }
.system-map::before, .system-map::after {
  content: "";
  position: absolute;
  inset: 12%;
  border: 1px solid rgba(255,255,255,.13);
  border-radius: 50%;
}
.system-map::after { inset: 29%; border-style: dashed; animation: spin 30s linear infinite; }
.system-core {
  position: absolute;
  left: 50%; top: 50%;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 112px; height: 112px;
  transform: translate(-50%, -50%);
  border: 1px solid var(--signal);
  background: rgba(10,10,10,.84);
}
.system-core span { font-size: 54px; font-weight: 300; line-height: 1; }
.system-core small { position: absolute; bottom: -24px; font: 300 9px "DM Mono", monospace; text-transform: uppercase; color: var(--signal); }
.map-node {
  position: absolute;
  z-index: 3;
  display: grid;
  width: 130px;
  padding: 10px 0;
  border-top: 1px solid rgba(255,255,255,.45);
  transition: color 180ms ease, border-color 180ms ease, transform 180ms ease;
}
.map-node:hover { color: var(--signal); border-color: var(--signal); transform: translateY(-4px); }
.map-node span, .map-node small { font: 300 9px/1.5 "DM Mono", monospace; opacity: .56; text-transform: uppercase; }
.map-node strong { margin: 5px 0; font-size: 15px; font-weight: 400; }
.node-memory { left: 4%; top: 16%; }
.node-tech { right: 2%; top: 25%; }
.node-comms { left: 10%; bottom: 10%; }
.node-finance { right: 9%; bottom: 5%; }
.hero-status {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  z-index: 4;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  height: 46px;
  border-top: 1px solid var(--line-dark);
}
.hero-status span { display: flex; align-items: center; padding: 0 3vw; font: 300 9px "DM Mono", monospace; text-transform: uppercase; border-right: 1px solid var(--line-dark); }
.hero-status span:first-child::before { content: ""; width: 6px; height: 6px; margin-right: 10px; background: var(--signal); border-radius: 50%; box-shadow: 0 0 10px var(--signal); }

.section-index { font: 300 10px/1.3 "DM Mono", monospace; text-transform: uppercase; color: var(--muted); }
.section-index.light { color: rgba(255,255,255,.5); }
.thesis {
  display: grid;
  grid-template-columns: 1fr 3fr;
  gap: 40px;
  padding: var(--space) 5vw;
  border-bottom: 1px solid var(--line);
}
.thesis-copy { max-width: 1050px; }
.thesis-overline { margin: 0 0 18px; font: 400 11px "DM Mono", monospace; text-transform: uppercase; }
.thesis h2, .thesis-answer { margin: 0; font-size: 76px; font-weight: 300; line-height: 1.04; }
.thesis-answer { color: #9a9790; }
.thesis-flow {
  grid-column: 2;
  display: flex;
  align-items: center;
  margin-top: 64px;
  font: 300 10px "DM Mono", monospace;
  text-transform: uppercase;
}
.thesis-flow i { flex: 1; height: 1px; margin: 0 16px; background: var(--line); position: relative; }
.thesis-flow i::after { content: ""; position: absolute; right: 0; top: -2px; width: 5px; height: 5px; background: var(--ink); transform: rotate(45deg); }

.human-layer {
  display: grid;
  grid-template-columns: 1.35fr .65fr;
  min-height: 760px;
  background: var(--white);
}
.team-image { position: relative; margin: 0; min-height: 620px; overflow: hidden; }
.team-image::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, transparent 55%, rgba(0,0,0,.45)); }
.team-image img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.7) contrast(1.06); }
.team-image figcaption { position: absolute; z-index: 2; left: 32px; bottom: 28px; color: white; font: 300 10px "DM Mono", monospace; text-transform: uppercase; }
.human-copy { display: flex; flex-direction: column; justify-content: center; padding: 72px 5vw; border-left: 1px solid var(--line); }
.human-copy h2 { margin: 46px 0 28px; font-size: 58px; font-weight: 300; line-height: 1.08; }
.human-copy > p { max-width: 530px; color: var(--muted); line-height: 1.75; }
.human-copy dl { margin: 48px 0 0; }
.human-copy dl div { display: grid; grid-template-columns: 100px 1fr; padding: 16px 0; border-top: 1px solid var(--line); }
.human-copy dt { font: 300 9px "DM Mono", monospace; text-transform: uppercase; color: var(--muted); }
.human-copy dd { margin: 0; font-size: 13px; }

.companies { padding: var(--space) 5vw; background: var(--ink); color: var(--white); }
.companies-heading { display: grid; grid-template-columns: 1fr 2fr 1fr; gap: 40px; align-items: end; margin-bottom: 80px; }
.companies-heading h2 { margin: 0; font-size: 68px; font-weight: 300; line-height: 1.03; }
.companies-heading > p:last-child { max-width: 310px; margin: 0; color: rgba(255,255,255,.55); font-size: 13px; line-height: 1.7; }
.company-stack { border-top: 1px solid var(--line-dark); }
.company {
  position: relative;
  display: grid;
  grid-template-columns: .48fr .9fr 2fr auto;
  gap: 30px;
  align-items: center;
  min-height: 245px;
  border-bottom: 1px solid var(--line-dark);
  overflow: hidden;
  isolation: isolate;
}
.company::before { content: attr(data-company); position: absolute; right: 0; bottom: -42px; z-index: -1; font: 300 210px/1 "Manrope", sans-serif; color: rgba(255,255,255,.025); transition: color 300ms ease, transform 300ms ease; }
.company:hover::before { color: rgba(216,255,62,.08); transform: translateX(-20px); }
.company-id { align-self: stretch; padding-top: 28px; border-right: 1px solid var(--line-dark); }
.company-id span { display: block; font: 300 11px "DM Mono", monospace; color: var(--signal); }
.company-id small { display: block; margin-top: 84px; font: 300 9px "DM Mono", monospace; text-transform: uppercase; color: rgba(255,255,255,.45); writing-mode: vertical-rl; }
.company-brand img { max-width: 150px; max-height: 64px; object-fit: contain; filter: brightness(0) invert(1); }
.company-brand.duke img { max-width: 110px; }
.company-copy { padding: 28px 0; }
.company-copy > p:first-child { margin: 0 0 12px; font: 300 9px "DM Mono", monospace; text-transform: uppercase; color: var(--signal); }
.company-copy h3 { max-width: 770px; margin: 0 0 15px; font-size: 34px; font-weight: 300; line-height: 1.18; }
.company-copy > p:last-child { max-width: 640px; margin: 0; color: rgba(255,255,255,.53); font-size: 13px; line-height: 1.65; }
.company > a { display: flex; justify-content: space-between; gap: 44px; align-self: end; min-width: 140px; padding: 16px 0 28px; font: 300 10px "DM Mono", monospace; text-transform: uppercase; border-top: 1px solid rgba(255,255,255,.4); }
.company > a:hover { color: var(--signal); border-color: var(--signal); }

.culture { display: grid; grid-template-columns: 1fr 1.5fr 1.5fr; gap: 48px; padding: var(--space) 5vw; background: var(--paper); }
.culture-title p { margin: 0 0 18px; font: 300 10px "DM Mono", monospace; text-transform: uppercase; }
.culture-title h2 { margin: 0; font-size: 64px; font-weight: 300; line-height: 1.04; }
.culture-lines p { display: grid; grid-template-columns: 48px 1fr; margin: 0; padding: 24px 0; font-size: 24px; font-weight: 300; border-top: 1px solid var(--line); }
.culture-lines span { font: 300 9px "DM Mono", monospace; color: var(--muted); }

.contact { position: relative; padding: var(--space) 5vw; overflow: hidden; background: var(--signal); }
.contact-signal { position: absolute; right: -2vw; top: 50%; width: 44vw; aspect-ratio: 1; transform: translateY(-50%); }
.contact-signal span { position: absolute; inset: 10%; border: 1px solid rgba(10,10,10,.25); border-radius: 50%; }
.contact-signal span:nth-child(2) { inset: 28%; }
.contact-signal span:nth-child(3) { inset: 46%; background: var(--ink); }
.contact .section-index { color: rgba(10,10,10,.55); }
.contact-copy { position: relative; z-index: 2; max-width: 900px; margin-top: 74px; }
.contact-copy h2 { margin: 0; font-size: 100px; font-weight: 300; line-height: .98; }
.contact-copy p { max-width: 560px; margin: 32px 0 0; font-size: 18px; line-height: 1.6; }
.contact-actions { position: relative; z-index: 2; display: grid; max-width: 620px; margin-top: 72px; }
.contact-actions a { display: flex; justify-content: space-between; padding: 18px 0; font: 400 12px "DM Mono", monospace; border-top: 1px solid rgba(10,10,10,.45); }

.site-footer { display: grid; grid-template-columns: 1fr 1fr 1fr auto; align-items: center; gap: 24px; min-height: 112px; padding: 24px 5vw; background: var(--ink); color: rgba(255,255,255,.55); font: 300 9px "DM Mono", monospace; text-transform: uppercase; }
.footer-wordmark { justify-self: start; color: var(--white); }
.site-footer p { margin: 0; }
.site-footer a { color: var(--white); }

.reveal { opacity: 0; transform: translateY(28px); transition: opacity 700ms ease, transform 700ms cubic-bezier(.2,.7,.2,1); }
.reveal.visible { opacity: 1; transform: translateY(0); }
.delay-1 { transition-delay: 120ms; }

@keyframes spin { to { transform: rotate(360deg); } }

@media (max-width: 980px) {
  .site-header { grid-template-columns: 1fr auto; height: 68px; padding: 0 20px; }
  .header-coordinate { display: none; }
  .wordmark { font-size: 16px; }
  .menu-toggle { display: grid; width: 42px; height: 42px; padding: 12px; border: 0; background: transparent; color: inherit; }
  .menu-toggle span { display: block; width: 100%; height: 1px; margin: auto; background: currentColor; transition: transform 180ms ease; }
  .menu-toggle[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] span:last-child { transform: translateY(-4px) rotate(-45deg); }
  .main-nav { position: fixed; inset: 68px 0 0; display: none; flex-direction: column; align-items: stretch; justify-content: flex-start; gap: 0; padding: 24px 20px; background: var(--paper); color: var(--ink); }
  .main-nav.open { display: flex; }
  .main-nav a { padding: 20px 0; font-size: 20px; border-bottom: 1px solid var(--line); }
  .nav-cta { margin-top: auto; }
  .hero { grid-template-columns: 1fr; min-height: 940px; padding: 116px 20px 80px; }
  .hero-copy { align-self: start; }
  .hero h1 { font-size: 92px; }
  .hero-lead { font-size: 24px; }
  .thesis h2, .thesis-answer { font-size: 58px; }
  .human-copy h2 { font-size: 50px; }
  .companies-heading h2 { font-size: 58px; }
  .culture-title h2 { font-size: 54px; }
  .contact-copy h2 { font-size: 76px; }
  .system-map { width: min(100%, 570px); margin: -40px auto 0; }
  .hero-status span { padding: 0 16px; }
  .thesis { grid-template-columns: 1fr; padding-left: 20px; padding-right: 20px; }
  .thesis-flow { grid-column: 1; }
  .human-layer { grid-template-columns: 1fr; }
  .team-image { min-height: 70vw; }
  .human-copy { border-left: 0; border-top: 1px solid var(--line); padding: 72px 20px; }
  .companies { padding-left: 20px; padding-right: 20px; }
  .companies-heading { grid-template-columns: 1fr; }
  .company { grid-template-columns: 80px 160px 1fr; }
  .company > a { grid-column: 3; margin-bottom: 20px; }
  .culture { grid-template-columns: 1fr; padding-left: 20px; padding-right: 20px; }
  .contact { padding-left: 20px; padding-right: 20px; }
  .site-footer { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 620px) {
  .hero { min-height: 820px; }
  .hero h1 { font-size: 68px; }
  .eyebrow { justify-content: space-between; gap: 12px; }
  .eyebrow span:last-child { text-align: right; }
  .hero-lead { margin-top: 30px; font-size: 20px; }
  .system-map { margin-top: -20px; }
  .system-core { width: 76px; height: 76px; }
  .system-core span { font-size: 34px; }
  .map-node { width: 100px; }
  .map-node strong { font-size: 12px; }
  .node-memory { left: 0; }
  .node-tech { right: 0; }
  .hero-status { grid-template-columns: 1fr 1fr; }
  .hero-status span:last-child { display: none; }
  .thesis h2, .thesis-answer { font-size: 38px; }
  .human-copy h2, .companies-heading h2, .culture-title h2 { font-size: 42px; }
  .thesis-flow { flex-wrap: wrap; gap: 12px; }
  .thesis-flow i { flex-basis: 24px; margin: 0; }
  .team-image { min-height: 90vw; }
  .human-copy dl div { grid-template-columns: 82px 1fr; }
  .companies-heading { margin-bottom: 46px; }
  .company { grid-template-columns: 52px 1fr; gap: 18px; padding: 18px 0; }
  .company-id { grid-row: 1 / span 3; }
  .company-id small { margin-top: 62px; }
  .company-brand { grid-column: 2; }
  .company-copy { grid-column: 2; padding: 14px 0; }
  .company > a { grid-column: 2; }
  .company::before { font-size: 150px; }
  .contact-signal { width: 85vw; right: -36vw; opacity: .5; }
  .contact-copy h2 { font-size: 48px; }
  .contact-actions a { gap: 16px; overflow-wrap: anywhere; }
  .site-footer { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .system-map::after { animation: none; }
}
