:root {
  color-scheme: dark;
  --ink: #e8e4dc;
  --muted: #99958d;
  --paper: #12110f;
  --surface: #191816;
  --line: #34312c;
  --accent: #e65f3c;
  --serif: "Newsreader", Georgia, serif;
  --sans: "Manrope", Arial, sans-serif;
  --mono: "DM Mono", monospace;
  font-synthesis: none;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: linear-gradient(rgba(255, 255, 255, 0.018) 1px, transparent 1px), var(--paper);
  background-size: 100% 5rem;
  font-family: var(--sans);
}

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

button {
  color: inherit;
  font: inherit;
}

.site-header {
  position: relative;
  z-index: 10;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  height: 6.5rem;
  padding: 0 3.5vw;
  border-bottom: 1px solid var(--line);
}

.wordmark {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  width: fit-content;
  font-family: var(--serif);
  font-size: 1.3rem;
  font-style: italic;
}

.wordmark-line {
  width: 1.8rem;
  height: 1px;
  background: var(--accent);
}

nav {
  display: flex;
  gap: 2.5rem;
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

nav a,
footer a {
  transition: color 180ms ease;
}

nav a:hover,
footer a:hover {
  color: var(--accent);
}

.language-toggle {
  justify-self: end;
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
}

.language-toggle [data-language] {
  color: var(--muted);
}

.language-toggle [data-language].active {
  color: var(--ink);
}

.toggle-divider {
  margin: 0 0.25rem;
  color: var(--line);
}

.hero {
  position: relative;
  min-height: calc(100svh - 6.5rem);
  padding: 7vh 3.5vw 5vh;
  overflow: hidden;
}

.hero::after {
  position: absolute;
  top: 11%;
  right: -9vw;
  width: 31vw;
  aspect-ratio: 1;
  border: 1px solid var(--line);
  border-radius: 50%;
  content: "";
}

.hero-index,
.section-marker,
.project-number,
.project-year,
.eyebrow,
footer {
  font-family: var(--mono);
  font-size: 0.68rem;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.hero-index {
  position: absolute;
  top: 7vh;
  right: 3.5vw;
  color: var(--muted);
}

.eyebrow {
  margin: 0 0 8vh;
  color: var(--accent);
}

h1 {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(5rem, 13.5vw, 13rem);
  font-weight: 300;
  line-height: 0.68;
  letter-spacing: -0.065em;
}

.hero-title-offset {
  margin-left: 11vw;
  color: transparent;
  -webkit-text-stroke: 1px var(--ink);
}

.hero-footer {
  display: grid;
  grid-template-columns: minmax(16rem, 31rem) auto;
  align-items: end;
  justify-content: space-between;
  gap: 3rem;
  margin: 12vh 8vw 0 33vw;
}

.hero-intro {
  margin: 0;
  color: var(--muted);
  font-family: var(--serif);
  font-size: clamp(1.25rem, 1.8vw, 1.8rem);
  line-height: 1.35;
}

.round-link {
  display: grid;
  width: 7.2rem;
  aspect-ratio: 1;
  padding: 1rem;
  border: 1px solid var(--line);
  border-radius: 50%;
  font-family: var(--mono);
  font-size: 0.62rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition:
    border-color 180ms ease,
    background 180ms ease;
}

.round-link svg {
  align-self: end;
  justify-self: end;
  width: 1.35rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.2;
}

.round-link:hover {
  border-color: var(--accent);
  background: var(--accent);
}

.section-grid {
  display: grid;
  grid-template-columns: minmax(10rem, 22vw) 1fr;
  min-height: 80vh;
  padding: 8rem 3.5vw;
  border-top: 1px solid var(--line);
}

.section-marker {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  color: var(--muted);
}

.section-marker span:first-child {
  color: var(--accent);
}

.section-content h2 {
  max-width: 60rem;
  margin: -0.15em 0 5rem;
  font-family: var(--serif);
  font-size: clamp(3.5rem, 7vw, 7.5rem);
  font-weight: 300;
  line-height: 0.92;
  letter-spacing: -0.045em;
}

.about-copy {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 5vw;
  max-width: 64rem;
  color: var(--muted);
  font-size: clamp(1rem, 1.25vw, 1.2rem);
  line-height: 1.75;
}

.about-copy p {
  margin: 0;
}

.disciplines {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 5rem;
}

.disciplines span,
.project-meta span {
  padding: 0.6rem 0.8rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-family: var(--mono);
  font-size: 0.62rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.work {
  background: var(--surface);
}

.project-card {
  display: grid;
  grid-template-columns: 3.5rem 1fr auto;
  gap: 1.5rem;
  padding: 2.3rem 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  transition: border-color 180ms ease;
}

.project-card:hover {
  border-color: var(--accent);
}

.project-card:hover .project-heading svg {
  color: var(--accent);
  transform: translate(0.25rem, -0.25rem);
}

.project-number,
.project-year {
  padding-top: 0.6rem;
  color: var(--muted);
}

.project-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.project-heading h3 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(2.8rem, 5vw, 5.5rem);
  font-weight: 300;
  letter-spacing: -0.04em;
}

.project-heading svg {
  width: 2rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.1;
  transition:
    color 180ms ease,
    transform 180ms ease;
}

.project-main > p {
  max-width: 42rem;
  margin: 1.5rem 0 2.5rem;
  color: var(--muted);
  line-height: 1.7;
}

.project-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

footer {
  display: flex;
  justify-content: space-between;
  padding: 2rem 3.5vw;
  border-top: 1px solid var(--line);
  color: var(--muted);
}

footer p {
  margin: 0;
}

@media (max-width: 800px) {
  .site-header {
    grid-template-columns: 1fr auto;
    height: 5rem;
    padding: 0 1.25rem;
  }

  nav {
    display: none;
  }

  .hero {
    min-height: calc(100svh - 5rem);
    padding: 4rem 1.25rem 2.5rem;
  }

  .hero::after {
    top: 17%;
    right: -35vw;
    width: 85vw;
  }

  .hero-index {
    top: 4rem;
    right: 1.25rem;
  }

  .eyebrow {
    margin-bottom: 6rem;
  }

  h1 {
    font-size: clamp(4.2rem, 23vw, 7.5rem);
    line-height: 0.78;
  }

  .hero-title-offset {
    margin-left: 0;
  }

  .hero-footer {
    grid-template-columns: 1fr auto;
    align-items: end;
    gap: 1.5rem;
    margin: 7rem 0 0;
  }

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

  .round-link {
    width: 5.7rem;
  }

  .section-grid {
    grid-template-columns: 1fr;
    gap: 4rem;
    min-height: auto;
    padding: 6rem 1.25rem;
  }

  .section-marker {
    flex-direction: row;
    justify-content: space-between;
  }

  .section-content h2 {
    margin-bottom: 3.5rem;
  }

  .about-copy {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .disciplines {
    margin-top: 3.5rem;
  }

  .project-card {
    grid-template-columns: 2rem 1fr;
    gap: 0.75rem;
  }

  .project-year {
    display: none;
  }

  .project-heading svg {
    width: 1.5rem;
  }

  footer {
    padding: 1.5rem 1.25rem;
  }
}

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

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