:root {
  --paper: #f8f5ef;
  --ink: #201e1a;
  --muted: #625e56;
  --line: #ddd6ca;
  --line-strong: #aaa398;
  --accent: #c4513f;
  --accent-soft: #f1d8d0;
  --sans: "Instrument Sans", "Helvetica Neue", Arial, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, SFMono-Regular, Consolas, monospace;
  --wrap: min(1180px, calc(100% - 48px));
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  background-image: linear-gradient(to right, rgba(32, 30, 26, 0.025) 1px, transparent 1px);
  background-size: max(9vw, 112px) 100%;
  content: "";
  pointer-events: none;
}

a {
  color: inherit;
}

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

.mono {
  font-family: var(--mono);
  letter-spacing: 0.04em;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 10;
  padding: 10px 14px;
  background: var(--ink);
  color: var(--paper);
  transform: translateY(-150%);
}

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

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

.wordmark {
  display: inline-flex;
  align-items: baseline;
  color: var(--ink);
  font-size: 1.9rem;
  font-variation-settings: "wdth" 88;
  font-weight: 650;
  letter-spacing: -0.07em;
  line-height: 1;
  text-decoration: none;
}

.wordmark-mark {
  width: 8px;
  height: 8px;
  margin-right: 12px;
  align-self: center;
  background: var(--accent);
  transition: border-radius 220ms ease, transform 220ms ease;
}

.wordmark:hover .wordmark-mark,
.wordmark:focus-visible .wordmark-mark {
  border-radius: 50%;
  transform: rotate(45deg) scale(0.88);
}

.wordmark-c {
  color: var(--accent);
}

nav {
  display: flex;
  gap: clamp(24px, 4vw, 52px);
}

nav a {
  padding: 12px 0;
  font-size: 0.95rem;
  text-decoration-color: transparent;
  text-decoration-thickness: 1px;
  text-underline-offset: 6px;
  transition: color 180ms ease, text-decoration-color 180ms ease;
}

nav a:hover,
nav a:focus-visible {
  color: var(--accent);
  text-decoration-color: currentColor;
}

.hero {
  display: grid;
  min-height: min(700px, calc(100svh - 104px));
  padding-block: clamp(72px, 11vw, 152px) 48px;
  grid-template-columns: minmax(76px, 1fr) minmax(0, 8fr) minmax(48px, 1fr);
  column-gap: 24px;
}

.hero-index,
.section-number,
.project-number,
.project-kind,
.project-status {
  margin: 0;
  color: var(--muted);
  font-size: 0.75rem;
  text-transform: uppercase;
}

.hero-index {
  padding-top: 10px;
}

.hero-copy {
  position: relative;
  max-width: 920px;
  animation: settle-in 620ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

.eyebrow {
  margin: 0 0 36px;
  color: var(--accent);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

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

h1 {
  margin: 0;
  font-size: clamp(3.2rem, 7.4vw, 7.6rem);
  font-variation-settings: "wdth" 82;
  font-weight: 520;
  letter-spacing: -0.065em;
  line-height: 0.94;
}

h1 span {
  color: var(--accent);
}

.byline {
  margin: clamp(40px, 7vw, 76px) 0 0;
  color: var(--muted);
  font-size: clamp(1rem, 1.4vw, 1.15rem);
}

.hero-rule {
  display: flex;
  justify-content: flex-end;
  gap: 5px;
}

.hero-rule span {
  display: block;
  width: 3px;
  height: clamp(36px, 7vw, 76px);
  background: var(--line);
  transform: translateY(9px) skewY(-12deg);
}

.hero-rule span:nth-child(2) {
  height: clamp(56px, 10vw, 112px);
  background: var(--accent);
  transform: translateY(-7px) skewY(-12deg);
}

.hero-rule span:nth-child(3) {
  transform: translateY(18px) skewY(-12deg);
}

.projects,
.about {
  padding-block: clamp(88px, 11vw, 152px);
  border-top: 1px solid var(--line-strong);
}

.section-heading {
  display: grid;
  margin-bottom: clamp(44px, 7vw, 84px);
  grid-template-columns: minmax(76px, 1fr) 3fr 4fr 1fr;
  column-gap: 24px;
  align-items: baseline;
}

.section-heading h2 {
  margin: 0;
  font-size: clamp(2rem, 3.3vw, 3.4rem);
  font-variation-settings: "wdth" 85;
  font-weight: 540;
  letter-spacing: -0.045em;
}

.section-heading > p:last-child {
  max-width: 430px;
  margin: 0;
  color: var(--muted);
  font-size: 1.05rem;
}

.project-list {
  border-top: 1px solid var(--ink);
}

.project-card {
  position: relative;
  display: grid;
  min-height: 176px;
  padding: 36px 0;
  overflow: hidden;
  border-bottom: 1px solid var(--line-strong);
  grid-template-columns: minmax(76px, 1fr) 7fr 2fr;
  column-gap: 24px;
  align-items: start;
  color: inherit;
  text-decoration: none;
}

.project-card::before {
  position: absolute;
  inset: 0 auto 0 0;
  width: 4px;
  background: var(--accent);
  content: "";
  transform: translateY(101%);
  transition: transform 240ms ease;
}

.project-card:hover::before {
  transform: translateY(0);
}

.project-card:focus-visible::before {
  transform: translateY(0);
}

.project-copy {
  transition: transform 240ms ease;
}

.project-card:hover .project-copy {
  transform: translateX(10px);
}

.project-card:focus-visible .project-copy {
  transform: translateX(10px);
}

.project-copy h3 {
  margin: -0.15em 0 14px;
  font-size: clamp(2rem, 4.8vw, 4.4rem);
  font-variation-settings: "wdth" 84;
  font-weight: 510;
  letter-spacing: -0.055em;
  line-height: 1;
}

.project-copy p {
  max-width: 530px;
  margin: 0;
  color: var(--muted);
  font-size: 1rem;
}

.project-kind,
.project-status {
  justify-self: end;
}

.project-status {
  display: flex;
  align-items: center;
  gap: 9px;
  color: var(--accent);
  font-weight: 500;
}

.project-status span {
  width: 7px;
  height: 7px;
  background: var(--accent);
  border-radius: 50%;
}

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

.about .section-heading {
  margin-bottom: clamp(48px, 7vw, 86px);
}

.about-copy {
  width: min(740px, 75%);
  margin-left: calc(10% + 24px);
}

.about-copy > p:first-child {
  margin: 0;
  font-size: clamp(1.8rem, 3.8vw, 3.65rem);
  font-variation-settings: "wdth" 88;
  font-weight: 460;
  letter-spacing: -0.045em;
  line-height: 1.08;
}

.signature {
  margin: 42px 0 0;
  color: var(--accent);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.site-footer {
  display: grid;
  min-height: 120px;
  padding-block: 28px;
  border-top: 1px solid var(--line-strong);
  color: var(--muted);
  font-size: 0.82rem;
  grid-template-columns: 1fr 1fr auto;
  align-items: center;
}

.site-footer p {
  margin: 0;
}

.site-footer > p:nth-child(2) {
  justify-self: center;
}

.footer-mark {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font-size: 1rem;
  font-weight: 650;
}

.footer-mark span {
  width: 7px;
  height: 7px;
  background: var(--accent);
}

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 5px;
}

@keyframes settle-in {
  from {
    opacity: 0;
    transform: translateY(10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 760px) {
  :root {
    --wrap: calc(100% - 32px);
  }

  body::before {
    background-size: 25% 100%;
  }

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

  .wordmark {
    font-size: 1.65rem;
  }

  nav {
    gap: 18px;
  }

  nav a {
    min-height: 44px;
    font-size: 0.88rem;
  }

  .hero {
    min-height: calc(100svh - 82px);
    padding-block: 54px 30px;
    grid-template-columns: 1fr auto;
  }

  .hero-index {
    grid-column: 1;
    padding: 0;
  }

  .hero-copy {
    align-self: center;
    grid-column: 1 / -1;
  }

  .eyebrow {
    margin-bottom: 24px;
    font-size: 0.75rem;
  }

  h1 {
    font-size: clamp(3rem, 14.8vw, 5rem);
    line-height: 0.95;
  }

  .byline {
    max-width: 280px;
    margin-top: 36px;
    line-height: 1.45;
  }

  .hero-rule {
    grid-row: 1;
    grid-column: 2;
  }

  .projects,
  .about {
    padding-block: 78px;
  }

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

  .section-heading h2 {
    font-size: 2.3rem;
  }

  .section-heading > p:last-child {
    grid-column: 2;
    font-size: 1rem;
  }

  .project-card {
    min-height: 184px;
    padding: 28px 0;
    grid-template-columns: 42px 1fr;
    row-gap: 25px;
  }

  .project-copy h3 {
    font-size: clamp(2.4rem, 12vw, 3.4rem);
  }

  .project-kind,
  .project-status {
    grid-column: 2;
    justify-self: start;
  }

  .project-card:hover .project-copy {
    transform: translateX(5px);
  }

  .about .section-heading {
    margin-bottom: 45px;
  }

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

  .about-copy > p:first-child {
    font-size: clamp(1.75rem, 8.8vw, 2.55rem);
  }

  .site-footer {
    min-height: 150px;
    grid-template-columns: 1fr auto;
    row-gap: 18px;
  }

  .site-footer > p:nth-child(2) {
    grid-row: 2;
    justify-self: start;
  }

  .site-footer > p:last-child {
    grid-row: 1;
    grid-column: 2;
  }
}

@media (max-width: 410px) {
  nav a:first-child {
    display: none;
  }

  h1 {
    font-size: clamp(2.75rem, 14.5vw, 3.7rem);
  }
}

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

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
  }
}
