:root {
  --black: #050505;
  --ink: #111111;
  --white: #ffffff;
  --paper: #ffffff;
  --muted: #5f5f5f;
  --line: rgba(0, 0, 0, 0.14);
  --line-dark: rgba(0, 0, 0, 0.14);
  --pink: #ff2bd6;
  --green: #39ff88;
  --radius: 6px;
  --max: 1200px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--white);
  color: var(--black);
  font-family: Inter, Arial, Helvetica, sans-serif;
  font-size: 16px;
  line-height: 1.5;
  text-rendering: optimizeLegibility;
}

body.menu-open {
  overflow: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

::selection {
  background: var(--green);
  color: var(--black);
}

.skip-link {
  position: fixed;
  left: 1rem;
  top: 1rem;
  z-index: 100;
  transform: translateY(-160%);
  background: var(--green);
  color: var(--black);
  padding: 0.6rem 0.8rem;
  border-radius: var(--radius);
  font-weight: 800;
}

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

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  border-bottom: 1px solid var(--line-dark);
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(16px);
}

.nav-shell {
  max-width: var(--max);
  min-height: 72px;
  margin: 0 auto;
  padding: 0 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  font-weight: 900;
  text-transform: uppercase;
}

.brand-logo {
  width: 42px;
  height: 42px;
  object-fit: cover;
  border: 1px solid var(--line-dark);
  border-radius: var(--radius);
  background: var(--white);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.nav-links a {
  color: rgba(0, 0, 0, 0.72);
}

.nav-links a:hover,
.nav-links a:focus-visible {
  color: var(--pink);
}

.nav-toggle {
  display: none;
  border: 1px solid var(--line-dark);
  border-radius: var(--radius);
  background: transparent;
  color: var(--black);
  padding: 0.65rem 0.85rem;
  font-weight: 800;
  text-transform: uppercase;
}

.hero {
  position: relative;
  min-height: 88svh;
  display: grid;
  align-items: end;
  padding: 9rem 1.25rem 2rem;
  overflow: hidden;
  isolation: isolate;
}

#architectureCanvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: -2;
  background: var(--white);
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.97), rgba(255, 255, 255, 0.68) 52%, rgba(255, 255, 255, 0.94)),
    linear-gradient(180deg, rgba(255, 255, 255, 0.68), rgba(255, 255, 255, 1));
}

.hero-content,
.hero-metrics {
  width: min(100%, var(--max));
  margin: 0 auto;
}

.hero-content {
  padding-bottom: 2rem;
}

.hero-lockup {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  margin-bottom: 1.4rem;
  color: var(--black);
  font-size: 0.82rem;
  font-weight: 950;
  text-transform: uppercase;
}

.hero-lockup img {
  width: 64px;
  height: 64px;
  object-fit: cover;
  border: 1px solid var(--line-dark);
  border-radius: var(--radius);
  background: var(--white);
}

.eyebrow {
  margin: 0 0 1rem;
  color: var(--pink);
  font-size: 0.78rem;
  font-weight: 950;
  text-transform: uppercase;
}

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

h1,
h2,
h3 {
  line-height: 0.94;
  letter-spacing: 0;
}

h1 {
  max-width: 1030px;
  margin-bottom: 1.3rem;
  font-family: Impact, "Arial Black", Arial, sans-serif;
  font-size: 8.4rem;
  font-weight: 950;
  text-transform: uppercase;
}

h1 span {
  display: block;
}

h1 span:last-child {
  color: var(--pink);
}

.hero-copy {
  max-width: 720px;
  color: rgba(0, 0, 0, 0.76);
  font-size: 1.08rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 1.8rem;
}

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  border: 1px solid currentColor;
  border-radius: var(--radius);
  padding: 0.8rem 1rem;
  font-weight: 950;
  text-transform: uppercase;
  transition: transform 180ms ease, background 180ms ease, color 180ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
}

.button-primary {
  background: var(--white);
  color: var(--black);
}

.button-primary:hover,
.button-primary:focus-visible {
  color: var(--green);
}

.button-ghost {
  color: var(--black);
  background: var(--white);
}

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line-dark);
  border: 1px solid var(--line-dark);
}

.hero-metrics div {
  min-height: 108px;
  background: rgba(255, 255, 255, 0.9);
  padding: 1rem;
}

.hero-metrics dt {
  color: var(--green);
  font-family: Impact, "Arial Black", Arial, sans-serif;
  font-size: 2.4rem;
  line-height: 1;
}

.hero-metrics dd {
  margin: 0.4rem 0 0;
  color: rgba(0, 0, 0, 0.66);
  font-size: 0.88rem;
  text-transform: uppercase;
}

.signal-strip {
  min-height: 56px;
  overflow: hidden;
  display: flex;
  align-items: center;
  gap: 1rem;
  border-block: 1px solid var(--line);
  background: var(--white);
  color: var(--black);
  white-space: nowrap;
}

.signal-strip span {
  display: inline-flex;
  align-items: center;
  min-height: 56px;
  padding-inline: 1.1rem;
  border-right: 1px solid var(--line-dark);
  font-family: Impact, "Arial Black", Arial, sans-serif;
  font-size: 1.5rem;
  text-transform: uppercase;
}

.signal-strip span:nth-child(2n) {
  color: var(--pink);
}

.signal-strip span:nth-child(3n) {
  color: #008f45;
}

.section {
  padding: 6.5rem 1.25rem;
}

.section-dark {
  background: var(--white);
  color: var(--black);
}

.section-light {
  background: var(--paper);
  color: var(--black);
}

.section-process {
  background: var(--white);
  color: var(--black);
}

.section-research {
  background: var(--white);
  color: var(--black);
}

.section-heading {
  width: min(100%, var(--max));
  margin: 0 auto 2.4rem;
}

.section-heading.compact {
  margin-bottom: 0;
}

.section-heading h2,
.media-band h2,
.contact-layout h2 {
  max-width: 900px;
  margin-bottom: 1rem;
  font-family: Impact, "Arial Black", Arial, sans-serif;
  font-size: 5.5rem;
  font-weight: 950;
  text-transform: uppercase;
}

.section-heading p,
.media-band p,
.contact-layout p {
  max-width: 720px;
  color: currentColor;
}

.section-dark .section-heading p,
.section-research .section-heading p,
.media-band p,
.contact-section p {
  color: rgba(0, 0, 0, 0.72);
}

.offer-grid,
.project-grid,
.paper-grid,
.team-grid {
  width: min(100%, var(--max));
  margin: 0 auto;
  display: grid;
  gap: 1rem;
}

.offer-grid {
  grid-template-columns: repeat(4, 1fr);
}

.offer-card,
.project-card,
.paper-card,
.team-card,
.sector-grid article {
  border: 1px solid var(--line-dark);
  border-radius: var(--radius);
  background: var(--white);
  padding: 1.1rem;
}

.offer-card {
  min-height: 310px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.card-index,
.project-type,
.role {
  margin-bottom: 1rem;
  color: var(--pink);
  font-size: 0.72rem;
  font-weight: 950;
  text-transform: uppercase;
}

.offer-card h3,
.project-card h3,
.paper-card h3,
.team-card h3,
.sector-grid h3 {
  font-size: 1.55rem;
  line-height: 1;
  text-transform: uppercase;
}

.offer-card p:last-child,
.project-card p:last-child,
.paper-card p:last-child,
.team-card p:last-child,
.sector-grid p {
  margin-bottom: 0;
  color: rgba(0, 0, 0, 0.68);
}

.split {
  width: min(100%, var(--max));
  margin: 0 auto;
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 2.5rem;
  align-items: start;
}

.sector-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

.section-light .sector-grid article,
.section-light .team-card {
  border-color: var(--line-dark);
  background: var(--white);
}

.section-light .sector-grid p,
.section-light .team-card p {
  color: rgba(0, 0, 0, 0.68);
}

.process-rail {
  width: min(100%, var(--max));
  margin: 0 auto;
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  border: 1px solid var(--line-dark);
}

.process-rail li {
  min-height: 230px;
  padding: 1rem;
  border-right: 1px solid var(--line-dark);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.process-rail li:last-child {
  border-right: 0;
}

.process-rail span {
  font-family: Impact, "Arial Black", Arial, sans-serif;
  font-size: 2.6rem;
  text-transform: uppercase;
}

.process-rail p {
  margin: 0;
}

.project-grid {
  grid-template-columns: repeat(4, 1fr);
}

.project-card {
  min-height: 245px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.project-card.highlight-green {
  border-color: rgba(57, 255, 136, 0.7);
  box-shadow: inset 0 0 0 1px rgba(57, 255, 136, 0.18);
}

.project-card.highlight-pink {
  border-color: rgba(255, 43, 214, 0.7);
  box-shadow: inset 0 0 0 1px rgba(255, 43, 214, 0.18);
}

.logo-wall {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border: 1px solid var(--line-dark);
  background: var(--white);
}

.logo-wall div {
  min-height: 118px;
  display: grid;
  place-items: center;
  border-right: 1px solid var(--line-dark);
  border-bottom: 1px solid var(--line-dark);
  color: rgba(0, 0, 0, 0.7);
  font-weight: 950;
  text-align: center;
  text-transform: uppercase;
}

.logo-wall div:nth-child(4n) {
  border-right: 0;
}

.logo-wall div:nth-last-child(-n + 4) {
  border-bottom: 0;
}

.paper-grid {
  grid-template-columns: repeat(3, 1fr);
}

.paper-card {
  min-height: 230px;
}

.paper-card h3 {
  margin-bottom: 1rem;
}

.media-band {
  width: min(100%, var(--max));
  margin: 0 auto;
  border-block: 1px solid var(--line-dark);
  padding: 3rem 0;
}

.media-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.media-links a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--line-dark);
  border-radius: var(--radius);
  padding: 0.7rem 0.85rem;
  font-weight: 900;
  text-transform: uppercase;
}

.media-links a:hover,
.media-links a:focus-visible {
  color: var(--pink);
  background: var(--white);
  border-color: var(--pink);
}

.team-grid {
  grid-template-columns: 1.35fr repeat(3, 1fr);
}

.team-card {
  min-height: 290px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.team-card.founder {
  background: var(--white);
  color: var(--black);
  border-color: var(--black);
}

.team-card.founder p:last-child {
  color: rgba(0, 0, 0, 0.72);
}

.contact-section {
  background: var(--white);
  color: var(--black);
  border-top: 1px solid var(--line-dark);
}

.contact-layout {
  width: min(100%, var(--max));
  margin: 0 auto;
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 3rem;
}

.contact-lines {
  display: grid;
  gap: 0.75rem;
  margin-top: 2rem;
  color: var(--green);
  font-weight: 900;
}

.contact-form {
  display: grid;
  gap: 1rem;
}

.contact-form label {
  display: grid;
  gap: 0.4rem;
}

.contact-form span {
  color: rgba(0, 0, 0, 0.7);
  font-size: 0.78rem;
  font-weight: 950;
  text-transform: uppercase;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid var(--line-dark);
  border-radius: var(--radius);
  background: var(--white);
  color: var(--black);
  padding: 0.9rem 0.95rem;
  outline: none;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(57, 255, 136, 0.18);
}

.contact-form textarea {
  resize: vertical;
  min-height: 150px;
}

.site-footer {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  border-top: 1px solid var(--line-dark);
  padding: 1.25rem;
  color: rgba(0, 0, 0, 0.68);
  text-transform: uppercase;
  font-size: 0.76rem;
  font-weight: 900;
}

.site-footer p {
  margin: 0;
}

.site-footer p:nth-child(2) {
  color: var(--green);
  text-align: center;
}

.site-footer p:last-child {
  text-align: right;
}

@media (max-width: 1120px) {
  h1 {
    font-size: 6.2rem;
  }

  .section-heading h2,
  .media-band h2,
  .contact-layout h2 {
    font-size: 4.2rem;
  }

  .offer-grid,
  .project-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .paper-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .team-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .process-rail {
    grid-template-columns: 1fr;
  }

  .process-rail li {
    min-height: 150px;
    border-right: 0;
    border-bottom: 1px solid var(--line-dark);
  }

  .process-rail li:last-child {
    border-bottom: 0;
  }
}

@media (max-width: 760px) {
  .nav-shell {
    min-height: 64px;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .nav-links {
    position: fixed;
    inset: 64px 0 auto 0;
    display: none;
    min-height: calc(100svh - 64px);
    padding: 1.25rem;
    background: rgba(255, 255, 255, 0.98);
    flex-direction: column;
    align-items: stretch;
  }

  .nav-links.is-open {
    display: flex;
  }

  .nav-links a {
    border-bottom: 1px solid var(--line-dark);
    padding: 1rem 0;
    font-size: 1.4rem;
    color: var(--black);
  }

  .hero {
    min-height: 86svh;
    padding-top: 7.5rem;
  }

  h1 {
    font-size: 3.35rem;
  }

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

  .hero-actions,
  .media-links {
    display: grid;
  }

  .hero-actions .button,
  .media-links a,
  .contact-form .button {
    width: 100%;
  }

  .hero-metrics {
    grid-template-columns: 1fr;
  }

  .hero-metrics div {
    min-height: 88px;
  }

  .signal-strip span {
    font-size: 1.15rem;
  }

  .section {
    padding: 4rem 1rem;
  }

  .section-heading h2,
  .media-band h2,
  .contact-layout h2 {
    font-size: 2.9rem;
  }

  .split,
  .contact-layout {
    grid-template-columns: 1fr;
  }

  .offer-grid,
  .project-grid,
  .paper-grid,
  .team-grid,
  .sector-grid {
    grid-template-columns: 1fr;
  }

  .offer-card,
  .project-card,
  .paper-card,
  .team-card {
    min-height: 0;
  }

  .logo-wall {
    grid-template-columns: repeat(2, 1fr);
  }

  .logo-wall div:nth-child(4n) {
    border-right: 1px solid var(--line-dark);
  }

  .logo-wall div:nth-child(2n) {
    border-right: 0;
  }

  .logo-wall div:nth-last-child(-n + 4) {
    border-bottom: 1px solid var(--line-dark);
  }

  .logo-wall div:nth-last-child(-n + 2) {
    border-bottom: 0;
  }

  .site-footer {
    grid-template-columns: 1fr;
  }

  .site-footer p,
  .site-footer p:nth-child(2),
  .site-footer p:last-child {
    text-align: left;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
