:root {
  --paper: #f3efe6;
  --paper-light: #faf8f3;
  --ink: #1b1b18;
  --muted: #66645e;
  --line: #d4cfc4;
  --rust: #a94f32;
  --rust-dark: #713421;
  --invoice: #087f5b;
  --invoice-pale: #d9eee6;
  --build: #176b47;
  --build-pale: #d9f2b4;
  --shell: min(1180px, calc(100vw - 48px));
  --serif: ui-serif, Georgia, Cambria, "Times New Roman", serif;
  --sans: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 10% 5%, rgba(255, 255, 255, .72), transparent 26rem),
    var(--paper);
  font: 16px/1.65 var(--sans);
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
}

.shell {
  width: var(--shell);
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 12px;
  left: 12px;
  padding: 10px 16px;
  color: white;
  background: var(--ink);
  transform: translateY(-180%);
}

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

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

.site-header {
  position: relative;
  z-index: 10;
  border-bottom: 1px solid var(--line);
}

.header-inner {
  min-height: 88px;
  display: flex;
  align-items: center;
  gap: 18px;
}

.wordmark {
  font: 700 27px/1 var(--serif);
  letter-spacing: -.04em;
  text-decoration: none;
}

.wordmark-dot {
  color: var(--rust);
}

.environment-badge {
  padding: 4px 9px 3px;
  border: 1px solid var(--rust);
  border-radius: 999px;
  color: var(--rust-dark);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.header-inner nav {
  display: flex;
  gap: 32px;
  margin-left: auto;
}

.header-inner nav a {
  position: relative;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .08em;
  text-decoration: none;
  text-transform: uppercase;
}

.header-inner nav a::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: -7px;
  left: 0;
  height: 1px;
  background: var(--rust);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 180ms ease;
}

.header-inner nav a:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

.hero {
  min-height: 690px;
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(300px, .75fr);
  align-items: center;
  gap: clamp(40px, 8vw, 120px);
  padding-block: clamp(72px, 11vw, 150px);
}

.eyebrow {
  margin: 0 0 18px;
  color: var(--rust-dark);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .2em;
  text-transform: uppercase;
}

.hero h1,
.section-heading h2 {
  margin: 0;
  font: 500 clamp(58px, 7vw, 101px)/.92 var(--serif);
  letter-spacing: -.062em;
}

.hero h1 em {
  color: var(--rust);
  font-weight: 400;
}

.hero-intro {
  max-width: 690px;
  margin: 34px 0 32px;
  color: var(--muted);
  font: 400 clamp(18px, 2vw, 22px)/1.55 var(--sans);
}

.text-link,
.project-link {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  border-bottom: 1px solid currentColor;
  color: var(--rust-dark);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .08em;
  text-decoration: none;
  text-transform: uppercase;
}

.text-link span,
.project-link span {
  transition: transform 180ms ease;
}

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

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

.hero-mark {
  position: relative;
  aspect-ratio: 1;
  width: min(100%, 420px);
  justify-self: end;
}

.hero-mark::before {
  content: "";
  position: absolute;
  inset: 12%;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: rgba(250, 248, 243, .4);
}

.hero-v {
  position: absolute;
  z-index: 2;
  inset: 18% 0 auto;
  color: var(--ink);
  font: 500 clamp(130px, 18vw, 230px)/1 var(--serif);
  text-align: center;
  letter-spacing: -.1em;
}

.orbit {
  position: absolute;
  z-index: 3;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--rust);
  box-shadow: 0 0 0 8px var(--paper);
}

.orbit-one {
  top: 14%;
  right: 21%;
}

.orbit-two {
  bottom: 16%;
  left: 19%;
  background: var(--ink);
}

.mark-label {
  position: absolute;
  z-index: 4;
  color: var(--muted);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .2em;
  text-transform: uppercase;
}

.mark-label-top {
  top: 5%;
  left: 29%;
}

.mark-label-right {
  top: 51%;
  right: -2%;
  transform: rotate(90deg);
}

.mark-label-bottom {
  right: 29%;
  bottom: 4%;
}

.projects-section {
  padding-block: clamp(90px, 12vw, 160px);
  color: var(--paper-light);
  background: var(--ink);
}

.section-heading {
  display: grid;
  grid-template-columns: 80px 1fr;
  align-items: start;
  margin-bottom: clamp(56px, 8vw, 100px);
}

.section-number {
  margin: 6px 0 0;
  color: #8c8981;
  font: 12px/1 var(--sans);
  letter-spacing: .12em;
}

.projects-section .eyebrow {
  color: #d78b70;
}

.section-heading h2 {
  font-size: clamp(45px, 5.7vw, 76px);
  line-height: .98;
}

.project-list {
  border-top: 1px solid #44443f;
}

.project-card {
  position: relative;
  min-height: 360px;
  display: grid;
  grid-template-columns: 80px minmax(0, 1fr) minmax(160px, 270px);
  gap: 0;
  align-items: center;
  padding-block: 48px;
  border-bottom: 1px solid #44443f;
  overflow: hidden;
}

.project-index {
  align-self: start;
  padding-top: 8px;
  color: #8c8981;
  font-size: 12px;
}

.project-content {
  position: relative;
  z-index: 2;
  max-width: 700px;
}

.project-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 20px;
  margin-bottom: 25px;
  color: #aaa79f;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #dceee7;
}

.status > span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #55c69d;
  box-shadow: 0 0 0 4px rgba(85, 198, 157, .14);
}

.status-beta {
  color: #eef8dd;
}

.status-beta > span {
  background: #b8df78;
  box-shadow: 0 0 0 4px rgba(184, 223, 120, .14);
}

.project-card h3 {
  margin: 0 0 18px;
  color: white;
  font: 600 clamp(39px, 5vw, 68px)/1 var(--sans);
  letter-spacing: -.06em;
}

.project-card h3 span {
  color: var(--invoice);
}

.project-buildsignal h3 span {
  color: #6fae88;
}

.project-card p {
  max-width: 650px;
  margin: 0 0 28px;
  color: #bbb8b0;
  font-size: 17px;
}

.project-link {
  color: #e5e1d7;
}

.project-monogram {
  position: relative;
  z-index: 1;
  display: grid;
  aspect-ratio: 1;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 50%;
  color: var(--invoice-pale);
  background:
    radial-gradient(circle at 32% 29%, rgba(255, 255, 255, .16), transparent 34%),
    var(--invoice);
  font: 600 clamp(40px, 6vw, 72px)/1 var(--serif);
  letter-spacing: -.06em;
  transform: rotate(4deg);
}

.project-buildsignal .project-monogram {
  color: #193627;
  background:
    radial-gradient(circle at 32% 29%, rgba(255, 255, 255, .4), transparent 34%),
    var(--build-pale);
  transform: rotate(-4deg);
}

.about-section {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, .7fr);
  gap: clamp(60px, 10vw, 150px);
  padding-block: clamp(100px, 14vw, 190px);
}

.about-section .section-heading {
  grid-template-columns: 70px 1fr;
  margin: 0;
}

.about-copy {
  align-self: end;
  padding-bottom: 6px;
  color: var(--muted);
}

.about-copy p {
  margin: 0 0 22px;
}

.about-copy .about-lead {
  color: var(--ink);
  font: 400 23px/1.5 var(--serif);
}

.site-footer {
  color: #cfccc4;
  background: #242420;
}

.footer-inner {
  min-height: 260px;
  display: grid;
  grid-template-columns: 1fr auto auto;
  align-items: end;
  gap: clamp(40px, 8vw, 110px);
  padding-block: 55px;
}

.footer-wordmark {
  display: inline-block;
  margin-bottom: 13px;
  color: white;
  font-size: 34px;
}

.footer-inner p {
  margin: 0;
  color: #99968f;
  font-size: 13px;
}

.footer-links {
  display: grid;
  gap: 7px;
}

.footer-links .eyebrow {
  margin-bottom: 6px;
  color: #d78b70;
}

.footer-links a {
  color: #e6e2d8;
  font-size: 14px;
  text-decoration-color: #68665f;
  text-underline-offset: 4px;
}

.copyright {
  white-space: nowrap;
}

@media (max-width: 860px) {
  :root {
    --shell: min(100% - 36px, 720px);
  }

  .hero {
    min-height: auto;
    grid-template-columns: 1fr;
  }

  .hero-copy {
    position: relative;
    z-index: 2;
  }

  .hero-mark {
    width: min(75vw, 360px);
    justify-self: center;
    margin-top: -35px;
    opacity: .82;
  }

  .project-card {
    grid-template-columns: 54px minmax(0, 1fr) 140px;
  }

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

  .about-copy {
    max-width: 620px;
    margin-left: 70px;
  }
}

@media (max-width: 620px) {
  .header-inner {
    min-height: 74px;
  }

  .header-inner nav {
    gap: 17px;
  }

  .header-inner nav a {
    font-size: 10px;
  }

  .hero {
    padding-block: 70px 85px;
  }

  .hero h1 {
    font-size: clamp(50px, 16vw, 75px);
  }

  .hero-mark {
    margin-top: -10px;
  }

  .section-heading,
  .about-section .section-heading {
    grid-template-columns: 42px 1fr;
  }

  .project-card {
    grid-template-columns: 42px 1fr;
    min-height: 0;
  }

  .project-monogram {
    display: none;
  }

  .project-meta {
    display: grid;
  }

  .project-card h3 {
    font-size: clamp(37px, 12vw, 52px);
  }

  .about-copy {
    margin-left: 42px;
  }

  .footer-inner {
    grid-template-columns: 1fr 1fr;
    align-items: start;
  }

  .copyright {
    grid-column: 1 / -1;
  }
}

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

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
  }
}
