:root {
  color-scheme: light;
  --ink: #171714;
  --paper: #f3f0e8;
  --warm: #ded7c8;
  --acid: #d7ff54;
  --orange: #ff5b35;
  --night: #13221d;
  --line: rgba(23, 23, 20, 0.24);
  --max: 1220px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
}

.page-shell {
  overflow: hidden;
}

.site-header,
.hero,
.work-section,
.capabilities,
.company,
.contact,
footer {
  width: min(calc(100% - 48px), var(--max));
  margin-inline: auto;
}

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

.wordmark {
  font-size: 1.45rem;
  font-weight: 850;
  letter-spacing: -0.07em;
  text-decoration: none;
}

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

nav {
  display: flex;
  align-items: center;
  gap: 34px;
}

nav a {
  font-size: 0.84rem;
  font-weight: 700;
  text-decoration: none;
}

.nav-contact {
  padding: 12px 18px;
  border: 1px solid var(--ink);
  border-radius: 999px;
}

.hero {
  min-height: 720px;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(360px, 0.85fr);
  align-items: center;
  gap: 70px;
  padding-block: 80px;
}

.eyebrow {
  margin: 0 0 24px;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.72rem;
  font-weight: 750;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  text-wrap: balance;
}

h1 {
  max-width: 820px;
  margin: 0;
  font-size: clamp(4.35rem, 8.6vw, 8.25rem);
  line-height: 0.82;
  letter-spacing: -0.085em;
  font-weight: 880;
}

h1 em {
  color: var(--orange);
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
  letter-spacing: -0.07em;
}

.hero-intro {
  max-width: 570px;
  margin: 44px 0 0;
  font-size: clamp(1.15rem, 2vw, 1.45rem);
  line-height: 1.5;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 28px;
  margin-top: 38px;
}

.button,
.text-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  font-size: 0.82rem;
  font-weight: 800;
  text-decoration: none;
}

.button {
  padding: 0 24px;
  border: 1px solid var(--ink);
  border-radius: 999px;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.button:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 0 var(--ink);
}

.button-primary {
  background: var(--acid);
}

.text-link {
  gap: 8px;
  border-bottom: 1px solid var(--ink);
}

.hero-mark {
  position: relative;
  width: min(100%, 480px);
  aspect-ratio: 1;
  justify-self: end;
  display: grid;
  place-items: center;
}

.hero-mark::before {
  content: "";
  position: absolute;
  inset: 4%;
  border-radius: 50%;
  background: var(--acid);
  box-shadow: 18px 18px 0 var(--ink);
}

.orbit {
  position: absolute;
  border: 1px solid var(--ink);
  border-radius: 50%;
}

.orbit::after {
  content: "";
  position: absolute;
  width: 15px;
  height: 15px;
  top: 10%;
  left: 12%;
  border-radius: 50%;
  background: var(--orange);
}

.orbit-one {
  inset: 18%;
  animation: orbit 18s linear infinite;
}

.orbit-two {
  inset: 31%;
  animation: orbit 11s linear infinite reverse;
}

.core {
  position: relative;
  z-index: 2;
  font-size: clamp(4rem, 9vw, 7rem);
  font-weight: 900;
  letter-spacing: -0.12em;
}

.mark-label {
  position: absolute;
  z-index: 2;
  font: 700 0.65rem/1 ui-monospace, SFMono-Regular, Menlo, monospace;
  letter-spacing: 0.16em;
}

.mark-label-top {
  top: 17%;
  right: 19%;
}

.mark-label-bottom {
  bottom: 17%;
  left: 17%;
}

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

.manifesto {
  padding: 92px max(24px, calc((100vw - var(--max)) / 2));
  background: var(--ink);
  color: var(--paper);
}

.manifesto p {
  max-width: 1120px;
  margin: 0 auto;
  font-size: clamp(2.15rem, 4.7vw, 5rem);
  font-weight: 650;
  line-height: 1.05;
  letter-spacing: -0.055em;
}

.work-section,
.capabilities,
.company {
  padding-block: 120px;
}

.section-heading {
  display: grid;
  grid-template-columns: 0.75fr 1.25fr;
  gap: 40px;
  align-items: start;
  margin-bottom: 64px;
}

.section-heading h2,
.company h2,
.contact h2 {
  margin: 0;
  font-size: clamp(2.9rem, 5.8vw, 6rem);
  line-height: 0.95;
  letter-spacing: -0.065em;
}

.project-card {
  min-height: 580px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: var(--night);
  color: #f8f4e9;
}

.project-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: clamp(36px, 5vw, 72px);
}

.project-meta {
  width: 100%;
  display: flex;
  justify-content: space-between;
  gap: 24px;
  font: 700 0.68rem/1.3 ui-monospace, SFMono-Regular, Menlo, monospace;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #b7c3b4;
}

.project-copy h3 {
  margin: auto 0 28px;
  max-width: 560px;
  font-size: clamp(2.6rem, 4.8vw, 5rem);
  line-height: 0.95;
  letter-spacing: -0.06em;
}

.project-copy p {
  max-width: 520px;
  margin: 0 0 36px;
  color: #cbd2c8;
  font-size: 1.05rem;
  line-height: 1.55;
}

.button-light {
  color: var(--ink);
  background: var(--acid);
  border-color: var(--acid);
}

.button-light:hover {
  box-shadow: 0 6px 0 var(--orange);
}

.project-visual {
  position: relative;
  overflow: hidden;
  min-height: 540px;
  background:
    linear-gradient(rgba(23, 23, 20, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(23, 23, 20, 0.08) 1px, transparent 1px),
    var(--acid);
  background-size: 38px 38px;
}

.terrain {
  position: absolute;
  border: 3px solid var(--ink);
  border-radius: 50% 42% 62% 34%;
  transform: rotate(-18deg);
}

.terrain-one {
  inset: 14% -12% 18% 10%;
  background: var(--orange);
}

.terrain-two {
  inset: 33% 18% -18% -5%;
  background: var(--paper);
  transform: rotate(22deg);
}

.route {
  position: absolute;
  z-index: 3;
  width: 55%;
  height: 76%;
  top: 10%;
  left: 24%;
  border: 6px solid var(--night);
  border-top-color: transparent;
  border-bottom-color: transparent;
  border-radius: 48% 52% 45% 55%;
  transform: rotate(31deg);
}

.coordinate,
.project-stamp {
  position: absolute;
  z-index: 4;
  font: 750 0.68rem/1.5 ui-monospace, SFMono-Regular, Menlo, monospace;
  letter-spacing: 0.1em;
}

.coordinate {
  top: 28px;
  left: 28px;
}

.project-stamp {
  right: 28px;
  bottom: 28px;
  text-align: right;
}

.capabilities {
  border-bottom: 1px solid var(--line);
}

.section-heading.compact {
  margin-bottom: 54px;
}

.capability-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--ink);
}

.capability-grid article {
  min-height: 310px;
  padding: 32px;
  border-right: 1px solid var(--ink);
}

.capability-grid article:last-child {
  border-right: 0;
}

.capability-grid span {
  font: 700 0.68rem/1 ui-monospace, SFMono-Regular, Menlo, monospace;
}

.capability-grid h3 {
  margin: 90px 0 18px;
  font-size: 1.45rem;
  letter-spacing: -0.03em;
}

.capability-grid p {
  margin: 0;
  color: #53534b;
  line-height: 1.55;
}

.company {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 90px;
}

.company-copy > p {
  margin: 0 0 64px;
  font-size: 1.3rem;
  line-height: 1.55;
}

dl {
  margin: 0;
  border-top: 1px solid var(--line);
}

dl div {
  display: grid;
  grid-template-columns: 0.7fr 1.3fr;
  gap: 24px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}

dt {
  color: #66665d;
  font-size: 0.84rem;
}

dd {
  margin: 0;
  font-weight: 650;
  line-height: 1.45;
}

.contact {
  width: auto;
  max-width: none;
  padding: 110px max(24px, calc((100vw - var(--max)) / 2));
  color: var(--paper);
  background: var(--orange);
}

.contact h2 {
  max-width: 950px;
}

.contact > a {
  display: inline-flex;
  gap: 12px;
  margin-top: 54px;
  padding-bottom: 8px;
  border-bottom: 2px solid currentColor;
  font-size: clamp(1.35rem, 2.5vw, 2rem);
  font-weight: 750;
  text-decoration: none;
}

footer {
  min-height: 170px;
  display: grid;
  grid-template-columns: 1fr auto auto;
  align-items: center;
  gap: 38px;
  color: #5d5d55;
  font-size: 0.78rem;
}

.wordmark-footer {
  color: var(--ink);
}

footer p {
  margin: 0;
}

@media (max-width: 900px) {
  .hero {
    grid-template-columns: 1fr;
    gap: 54px;
    padding-block: 72px;
  }

  .hero-mark {
    width: min(82vw, 460px);
    justify-self: center;
  }

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

  .project-card {
    min-height: 0;
  }

  .project-copy h3 {
    margin-top: 100px;
  }

  .capability-grid {
    grid-template-columns: 1fr;
  }

  .capability-grid article {
    min-height: 240px;
    border-right: 0;
    border-bottom: 1px solid var(--ink);
  }

  .capability-grid article:last-child {
    border-bottom: 0;
  }

  .capability-grid h3 {
    margin-top: 60px;
  }

  footer {
    grid-template-columns: 1fr;
    gap: 16px;
    padding-block: 44px;
  }
}

@media (max-width: 620px) {
  .site-header,
  .hero,
  .work-section,
  .capabilities,
  .company,
  footer {
    width: min(calc(100% - 32px), var(--max));
  }

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

  nav {
    gap: 16px;
  }

  nav > a:not(.nav-contact) {
    display: none;
  }

  h1 {
    font-size: clamp(3.6rem, 18vw, 5.4rem);
  }

  .hero {
    min-height: auto;
    padding-block: 62px 82px;
  }

  .hero-actions {
    align-items: flex-start;
    flex-direction: column;
  }

  .manifesto,
  .contact {
    padding-inline: 20px;
  }

  .work-section,
  .capabilities,
  .company {
    padding-block: 84px;
  }

  .section-heading {
    grid-template-columns: 1fr;
    gap: 10px;
    margin-bottom: 42px;
  }

  .project-meta {
    align-items: flex-start;
    flex-direction: column;
  }

  .project-copy h3 {
    margin-top: 68px;
  }

  .project-visual {
    min-height: 430px;
  }

  .company {
    gap: 54px;
  }

  dl div {
    grid-template-columns: 1fr;
    gap: 8px;
  }
}

@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;
  }
}
