:root {
  --paper: #f4f0e6;
  --paper-light: #fffdf6;
  --ink: #18201c;
  --muted: #68706a;
  --blue: #164cff;
  --blue-dark: #0c2f9d;
  --acid: #d6ff38;
  --orange: #ff7043;
  --line: rgba(24, 32, 28, 0.18);
  --sans: "Arial Nova", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --serif: Georgia, "Times New Roman", serif;
  --mono: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  --shadow: 0 24px 70px rgba(38, 45, 40, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  overflow-x: hidden;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  background-image: radial-gradient(rgba(24, 32, 28, 0.13) 0.7px, transparent 0.7px);
  background-size: 15px 15px;
  content: "";
  opacity: 0.38;
  pointer-events: none;
}

::selection {
  background: var(--acid);
  color: var(--ink);
}

a {
  color: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

.skip-link {
  position: fixed;
  top: 0.75rem;
  left: 0.75rem;
  z-index: 100;
  padding: 0.65rem 1rem;
  background: var(--ink);
  color: white;
  transform: translateY(-160%);
  transition: transform 180ms ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.shell {
  width: min(1180px, calc(100% - 48px));
  margin-inline: auto;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 92px;
  border-bottom: 1px solid var(--line);
}

.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
}

.wordmark-mark {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border-radius: 50%;
  background: var(--ink);
  color: var(--acid);
  font-family: var(--mono);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: -0.08em;
  transform: rotate(-7deg);
  transition: transform 220ms ease;
}

.wordmark:hover .wordmark-mark {
  transform: rotate(7deg) scale(1.05);
}

.wordmark-name {
  font-size: 0.85rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.site-nav {
  display: flex;
  gap: clamp(1.2rem, 3vw, 2.5rem);
}

.site-nav a {
  position: relative;
  padding-block: 0.35rem;
  font-family: var(--mono);
  font-size: 0.75rem;
  text-decoration: none;
  text-transform: uppercase;
}

.site-nav a::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 2px;
  background: var(--blue);
  content: "";
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 180ms ease;
}

.site-nav a:hover::after,
.site-nav a:focus-visible::after {
  transform: scaleX(1);
  transform-origin: left;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(390px, 0.92fr);
  gap: clamp(3rem, 7vw, 7rem);
  align-items: center;
  min-height: calc(100vh - 92px);
  min-height: calc(100svh - 92px);
  padding-block: clamp(5rem, 11vh, 8rem);
}

.eyebrow {
  margin: 0 0 1.15rem;
  color: var(--blue);
  font-family: var(--mono);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  line-height: 1.4;
  text-transform: uppercase;
}

.eyebrow span {
  color: var(--orange);
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2 {
  font-weight: 800;
  letter-spacing: -0.055em;
  line-height: 0.96;
}

h1 {
  max-width: 780px;
  margin-bottom: 2rem;
  font-size: clamp(3.6rem, 7.3vw, 7.4rem);
}

h1 em {
  color: var(--blue);
  font-family: var(--serif);
  font-weight: 400;
}

.hero-intro {
  max-width: 650px;
  margin-bottom: 2rem;
  color: #414943;
  font-size: clamp(1.05rem, 1.7vw, 1.24rem);
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem 1.75rem;
  align-items: center;
}

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.15rem;
  border: 2px solid var(--ink);
  border-radius: 100px;
  font-size: 0.82rem;
  font-weight: 800;
  text-decoration: none;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.button-primary {
  background: var(--ink);
  box-shadow: 4px 4px 0 var(--acid);
  color: white;
}

.button:hover,
.button:focus-visible {
  box-shadow: 7px 7px 0 var(--acid);
  transform: translate(-2px, -2px);
}

.text-link {
  padding-block: 0.3rem;
  border-bottom: 1px solid currentColor;
  font-family: var(--mono);
  font-size: 0.78rem;
  font-weight: 700;
  text-decoration: none;
}

.text-link span {
  display: inline-block;
  transition: transform 180ms ease;
}

.text-link:hover span {
  transform: translate(3px, -3px);
}

.signal-board {
  position: relative;
  width: min(100%, 470px);
  aspect-ratio: 0.89;
  justify-self: end;
  overflow: hidden;
  border: 2px solid var(--ink);
  border-radius: 34px;
  background: var(--blue);
  box-shadow: 12px 12px 0 var(--ink), var(--shadow);
  transform: perspective(1000px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg));
  transition: transform 240ms ease-out;
}

.board-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.13) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.13) 1px, transparent 1px);
  background-size: 38px 38px;
  mask-image: linear-gradient(to bottom, black, transparent 93%);
}

.board-label {
  position: absolute;
  top: 25px;
  left: 27px;
  color: rgba(255, 255, 255, 0.76);
  font-family: var(--mono);
  font-size: 0.64rem;
  letter-spacing: 0.08em;
}

.board-orbit {
  position: absolute;
  border: 1px solid rgba(255, 255, 255, 0.38);
  border-radius: 50%;
}

.orbit-one {
  top: 17%;
  left: -17%;
  width: 130%;
  height: 72%;
  transform: rotate(-18deg);
}

.orbit-two {
  top: 39%;
  left: 10%;
  width: 88%;
  height: 32%;
  transform: rotate(29deg);
}

.signal-dot {
  position: absolute;
  width: 11px;
  height: 11px;
  border: 2px solid var(--ink);
  border-radius: 50%;
  background: var(--acid);
  box-shadow: 0 0 0 8px rgba(214, 255, 56, 0.18);
  animation: ping 2.8s ease-in-out infinite;
}

.signal-dot-one {
  top: 18%;
  right: 14%;
}

.signal-dot-two {
  bottom: 13%;
  left: 24%;
  animation-delay: -1.4s;
}

@keyframes ping {
  50% { box-shadow: 0 0 0 14px rgba(214, 255, 56, 0.04); }
}

.pin-card {
  position: absolute;
  z-index: 2;
  display: flex;
  flex-direction: column;
  padding: 1rem 1.1rem 1.15rem;
  border: 2px solid var(--ink);
  background: var(--paper-light);
  box-shadow: 6px 6px 0 var(--ink);
  transform: rotate(var(--rotation));
}

.pin-card::before {
  position: absolute;
  top: -7px;
  left: 50%;
  width: 14px;
  height: 14px;
  border: 2px solid var(--ink);
  border-radius: 50%;
  background: var(--orange);
  content: "";
  transform: translateX(-50%);
}

.pin-card strong {
  margin: 0.25rem 0 0.1rem;
  font-size: clamp(1.1rem, 2.2vw, 1.5rem);
  letter-spacing: -0.04em;
  line-height: 1.15;
}

.pin-card > span:last-child {
  color: var(--muted);
  font-size: 0.68rem;
}

.pin-index {
  color: var(--blue);
  font-family: var(--mono);
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.1em;
}

.pin-now {
  --rotation: -3deg;
  top: 14%;
  left: 10%;
  width: 56%;
}

.pin-before {
  --rotation: 4deg;
  top: 43%;
  right: 7%;
  width: 59%;
}

.pin-later {
  --rotation: -2deg;
  bottom: 8%;
  left: 8%;
  width: 63%;
  background: var(--acid);
}

.board-line {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  fill: none;
  stroke: rgba(255, 255, 255, 0.68);
  stroke-dasharray: 5 9;
  stroke-width: 2;
}

.ticker {
  overflow: hidden;
  border-block: 2px solid var(--ink);
  background: var(--acid);
}

.ticker-track {
  display: flex;
  width: max-content;
  align-items: center;
  gap: 1.5rem;
  padding-block: 0.7rem;
  font-family: var(--mono);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  animation: ticker 30s linear infinite;
}

.ticker-track i {
  color: var(--blue);
  font-style: normal;
}

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

.section {
  padding-block: clamp(6rem, 12vw, 10rem);
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(150px, 0.34fr) minmax(0, 1fr);
  gap: 2rem;
  align-items: start;
  margin-bottom: clamp(3rem, 7vw, 5.5rem);
}

.section-heading h2,
.elsewhere h2 {
  max-width: 880px;
  margin-bottom: 0;
  font-size: clamp(2.8rem, 5.7vw, 5.8rem);
}

.about-layout {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(3rem, 8vw, 8rem);
}

.about-copy {
  color: #424a44;
}

.about-copy p {
  max-width: 620px;
}

.about-copy .lead {
  color: var(--ink);
  font-family: var(--serif);
  font-size: clamp(1.45rem, 2.5vw, 2rem);
  line-height: 1.35;
}

.fact-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  margin: 0;
  border-top: 2px solid var(--ink);
  border-left: 2px solid var(--ink);
}

.fact {
  min-height: 190px;
  padding: 1.5rem;
  border-right: 2px solid var(--ink);
  border-bottom: 2px solid var(--ink);
  background: rgba(255, 253, 246, 0.68);
}

.fact:nth-child(2) {
  background: var(--blue);
  color: white;
}

.fact:nth-child(3) {
  background: var(--acid);
}

.fact dt {
  font-size: clamp(3rem, 6vw, 5.5rem);
  font-weight: 800;
  letter-spacing: -0.08em;
  line-height: 1;
}

.fact dd {
  max-width: 160px;
  margin: 1rem 0 0;
  font-family: var(--mono);
  font-size: 0.69rem;
  line-height: 1.5;
  text-transform: uppercase;
}

.work {
  border-block: 2px solid var(--ink);
  background: var(--ink);
  color: var(--paper-light);
}

.work .eyebrow {
  color: var(--acid);
}

.section-heading-row {
  grid-template-columns: 1fr minmax(220px, 0.3fr);
}

.section-heading-row > p {
  align-self: end;
  margin-bottom: 0;
  color: #abb1ad;
  font-size: 0.9rem;
}

.project-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  border-top: 1px solid rgba(255, 255, 255, 0.3);
  border-left: 1px solid rgba(255, 255, 255, 0.3);
}

.project-card {
  position: relative;
  display: grid;
  min-height: 365px;
  grid-template-rows: auto 1fr;
  padding: clamp(1.5rem, 3.5vw, 2.75rem);
  overflow: hidden;
  border-right: 1px solid rgba(255, 255, 255, 0.3);
  border-bottom: 1px solid rgba(255, 255, 255, 0.3);
  color: inherit;
  text-decoration: none;
  transition: background-color 220ms ease, color 220ms ease;
}

.project-card:hover,
.project-card:focus-visible {
  background: var(--acid);
  color: var(--ink);
  outline: 0;
}

.project-card:focus-visible {
  box-shadow: inset 0 0 0 4px var(--blue);
}

.project-number,
.project-type {
  font-family: var(--mono);
  font-size: 0.65rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.project-number {
  color: var(--acid);
}

.project-card:hover .project-number,
.project-card:focus-visible .project-number {
  color: var(--blue);
}

.project-copy {
  position: relative;
  z-index: 2;
  align-self: end;
  max-width: 390px;
}

.project-type {
  margin-bottom: 0.75rem;
  color: #aeb5b0;
}

.project-card:hover .project-type,
.project-card:focus-visible .project-type {
  color: var(--blue-dark);
}

.project-copy h3 {
  margin-bottom: 0.8rem;
  font-size: clamp(2.25rem, 4vw, 4rem);
  letter-spacing: -0.055em;
  line-height: 1;
}

.project-copy > p:last-child {
  max-width: 350px;
  margin-bottom: 0;
  color: #c5cac7;
  font-size: 0.9rem;
}

.project-card:hover .project-copy > p:last-child,
.project-card:focus-visible .project-copy > p:last-child {
  color: #303832;
}

.project-arrow {
  position: absolute;
  top: 1.7rem;
  right: 1.9rem;
  z-index: 3;
  font-size: 1.4rem;
  transition: transform 180ms ease;
}

.project-card:hover .project-arrow,
.project-card:focus-visible .project-arrow {
  transform: translate(4px, -4px);
}

.project-motif {
  position: absolute;
  top: 28px;
  right: 54px;
  width: 170px;
  height: 140px;
  color: rgba(255, 255, 255, 0.16);
  transition: color 220ms ease, transform 350ms ease;
}

.project-card:hover .project-motif,
.project-card:focus-visible .project-motif {
  color: rgba(22, 76, 255, 0.35);
  transform: rotate(3deg) scale(1.04);
}

.motif-nodes i {
  position: absolute;
  width: 22px;
  height: 22px;
  border: 2px solid currentColor;
  border-radius: 50%;
}

.motif-nodes i:nth-child(1) { top: 8%; left: 9%; }
.motif-nodes i:nth-child(2) { top: 13%; right: 11%; }
.motif-nodes i:nth-child(3) { bottom: 7%; left: 24%; }
.motif-nodes i:nth-child(4) { right: 25%; bottom: 24%; }

.motif-nodes::before,
.motif-nodes::after {
  position: absolute;
  top: 47%;
  left: 5%;
  width: 90%;
  height: 2px;
  background: currentColor;
  content: "";
  transform: rotate(25deg);
}

.motif-nodes::after { transform: rotate(-32deg); }

.motif-port {
  width: 140px;
  height: 120px;
  border: 4px solid currentColor;
  border-radius: 50% 50% 14px 14px;
}

.motif-port::before,
.motif-port::after,
.motif-port i {
  position: absolute;
  bottom: 18px;
  width: 12px;
  height: 38px;
  border: 3px solid currentColor;
  content: "";
}

.motif-port::before { left: 26px; }
.motif-port i { left: 61px; }
.motif-port::after { right: 26px; }

.motif-frames i {
  position: absolute;
  width: 118px;
  height: 78px;
  border: 3px solid currentColor;
  background: var(--ink);
}

.project-card:hover .motif-frames i,
.project-card:focus-visible .motif-frames i { background: var(--acid); }
.motif-frames i:nth-child(1) { top: 0; left: 0; }
.motif-frames i:nth-child(2) { top: 19px; left: 19px; }
.motif-frames i:nth-child(3) { top: 38px; left: 38px; }

.motif-calendar {
  display: grid;
  width: 150px;
  height: 120px;
  grid-template-columns: repeat(3, 1fr);
  gap: 7px;
  padding-top: 25px;
  border-top: 5px solid currentColor;
}

.motif-calendar i {
  border: 2px solid currentColor;
}

.bench-note {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  margin-top: 4rem;
  padding: 1.5rem 0;
  border-block: 1px solid rgba(255, 255, 255, 0.28);
}

.bench-note .eyebrow {
  margin-bottom: 0.35rem;
}

.bench-question {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(1.3rem, 2.5vw, 2rem);
}

.shuffle-button {
  flex: 0 0 auto;
  padding: 0.65rem 0.9rem;
  border: 1px solid rgba(255, 255, 255, 0.48);
  border-radius: 100px;
  background: transparent;
  color: white;
  cursor: pointer;
  font-family: var(--mono);
  font-size: 0.66rem;
  text-transform: uppercase;
}

.shuffle-button span {
  display: inline-block;
  margin-right: 0.35rem;
  transition: transform 300ms ease;
}

.shuffle-button:hover span,
.shuffle-button:focus-visible span {
  transform: rotate(180deg);
}

.timeline {
  margin: 0;
  padding: 0;
  list-style: none;
}

.timeline li {
  display: grid;
  grid-template-columns: minmax(140px, 0.27fr) 1fr;
  gap: 2rem;
  align-items: baseline;
  padding-block: 2rem;
  border-top: 1px solid var(--line);
}

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

.timeline-year {
  color: var(--blue);
  font-family: var(--mono);
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
}

.timeline h3 {
  margin-bottom: 0.3rem;
  font-size: clamp(1.5rem, 2.8vw, 2.4rem);
  letter-spacing: -0.04em;
}

.timeline p {
  max-width: 680px;
  margin-bottom: 0;
  color: var(--muted);
}

.elsewhere {
  padding-block: clamp(5rem, 10vw, 8rem);
  background: var(--blue);
  color: white;
}

.elsewhere .eyebrow {
  color: var(--acid);
}

.elsewhere h2 {
  margin-bottom: clamp(3rem, 6vw, 5rem);
}

.door-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  border-top: 1px solid rgba(255, 255, 255, 0.5);
  border-left: 1px solid rgba(255, 255, 255, 0.5);
}

.door-grid a {
  position: relative;
  display: flex;
  min-height: 175px;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.35rem;
  border-right: 1px solid rgba(255, 255, 255, 0.5);
  border-bottom: 1px solid rgba(255, 255, 255, 0.5);
  text-decoration: none;
  transition: background 180ms ease, color 180ms ease;
}

.door-grid a:hover,
.door-grid a:focus-visible {
  background: var(--acid);
  color: var(--ink);
  outline: 0;
}

.door-grid span {
  margin-bottom: 0.35rem;
  font-family: var(--mono);
  font-size: 0.65rem;
  text-transform: uppercase;
}

.door-grid strong {
  font-size: clamp(1.7rem, 3vw, 2.7rem);
  letter-spacing: -0.045em;
}

.door-grid i {
  position: absolute;
  top: 1rem;
  right: 1rem;
  font-style: normal;
  transition: transform 180ms ease;
}

.door-grid a:hover i,
.door-grid a:focus-visible i {
  transform: translate(4px, -4px);
}

.site-footer {
  display: flex;
  min-height: 120px;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  font-family: var(--mono);
  font-size: 0.65rem;
  text-transform: uppercase;
}

.site-footer p {
  margin: 0;
}

.js .reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 700ms ease, transform 700ms cubic-bezier(0.2, 0.7, 0.2, 1);
}

.js .reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

:focus-visible {
  outline: 3px solid var(--orange);
  outline-offset: 4px;
}

@media (max-width: 900px) {
  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
    padding-top: 5rem;
  }

  .signal-board {
    width: min(100%, 560px);
    justify-self: center;
  }

  .about-layout {
    grid-template-columns: 1fr;
  }

  .section-heading {
    grid-template-columns: 1fr;
    gap: 0.4rem;
  }

  .section-heading-row > p {
    max-width: 500px;
  }
}

@media (max-width: 680px) {
  .shell {
    width: min(100% - 28px, 1180px);
  }

  .site-header {
    min-height: 76px;
  }

  .wordmark-name {
    display: none;
  }

  .site-nav {
    gap: 1rem;
  }

  .site-nav a {
    font-size: 0.66rem;
  }

  .hero {
    padding-block: 4rem 5rem;
  }

  h1 {
    font-size: clamp(3.15rem, 15vw, 5.2rem);
  }

  .hero-intro {
    font-size: 1rem;
  }

  .signal-board {
    border-radius: 22px;
    box-shadow: 7px 7px 0 var(--ink);
  }

  .pin-card {
    padding: 0.72rem 0.78rem 0.8rem;
    box-shadow: 4px 4px 0 var(--ink);
  }

  .pin-card > span:last-child {
    font-size: 0.58rem;
  }

  .section {
    padding-block: 5.5rem;
  }

  .section-heading h2,
  .elsewhere h2 {
    font-size: clamp(2.7rem, 13vw, 4.2rem);
  }

  .fact {
    min-height: 155px;
    padding: 1.1rem;
  }

  .fact dd {
    font-size: 0.6rem;
  }

  .project-grid,
  .door-grid {
    grid-template-columns: 1fr;
  }

  .project-card {
    min-height: 325px;
  }

  .bench-note {
    align-items: flex-start;
    flex-direction: column;
  }

  .timeline li {
    grid-template-columns: 1fr;
    gap: 0.5rem;
  }

  .door-grid a {
    min-height: 145px;
  }

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
    gap: 0.5rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .js .reveal {
    opacity: 1;
    transform: none;
  }
}

@media print {
  .ticker,
  .signal-board,
  .shuffle-button {
    display: none;
  }

  .hero,
  .about-layout {
    grid-template-columns: 1fr;
  }

  .work,
  .elsewhere {
    background: white;
    color: black;
  }
}
