@font-face {
  font-family: Inter;
  src: url('fonts/Inter.ttf') format('truetype');
  font-weight: 100 900;
  font-display: swap;
}

:root {
  color-scheme: light;
  --paper: #f3f2f0;
  --ink: #080808;
  --line: #aaa9a7;
  --placeholder: #c8c8c7;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: Inter, Arial, sans-serif; }
a { color: inherit; text-decoration: none; }
[hidden] { display: none !important; }
a:focus-visible { outline: 2px solid var(--ink); outline-offset: 7px; }

.site { width: 87.3%; max-width: 1600px; margin: 0 auto; padding-bottom: 58px; }
.header { height: 66px; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--line); }
.logo { font-size: 30px; font-weight: 700; letter-spacing: -1.8px; line-height: 1; }
nav { height: 100%; display: flex; align-items: stretch; gap: 52px; padding-right: 13px; }
nav a { position: relative; display: flex; align-items: center; font-size: 13px; }
nav a::after { content: ""; position: absolute; height: 3px; left: -3px; right: -3px; bottom: -1px; background: var(--ink); transform: scaleX(0); transition: transform 150ms ease; }
nav a[aria-current="page"]::after, nav a:hover::after { transform: scaleX(1); }

.hero { display: grid; grid-template-columns: 1fr 1.08fr; column-gap: 32px; padding-top: 36px; border-bottom: 1px solid var(--line); }
.intro { display: flex; flex-direction: column; justify-content: center; align-items: flex-start; padding: 16px 0 3px; }
h1 { margin: 0 0 25px -7px; font-size: clamp(80px, 10.94vw, 168px); font-weight: 750; line-height: .84; letter-spacing: -.015em; }
.intro p { margin: 0; font-size: 15px; line-height: 1.2; letter-spacing: 6.2px; text-transform: uppercase; }
.placeholder { background: var(--placeholder); }
.featured { width: 100%; aspect-ratio: 2.2 / 1; }
.hero-bottom { grid-column: 1 / -1; display: flex; align-items: center; justify-content: space-between; height: 46px; }
.scroll-link { display: flex; align-items: center; width: 25px; height: 30px; }
.scroll-link svg { fill: none; stroke: currentColor; stroke-width: 1; }
.slide-markers { display: flex; align-items: center; gap: 11px; }
.slide-markers span { display: block; width: 31px; height: 1px; background: var(--line); }
.slide-markers .selected { height: 3px; background: var(--ink); }

.projects { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: 14px; row-gap: 34px; padding-top: 34px; scroll-margin-top: 24px; }
.project { position: relative; aspect-ratio: 2 / 1; }
.project-arrow { position: absolute; right: 20px; bottom: 16px; width: 12px; height: 12px; }
.project-arrow::before { content: ""; position: absolute; top: 0; right: 0; width: 10px; height: 10px; border-top: 1px solid var(--ink); border-right: 1px solid var(--ink); }
.project-arrow::after { content: ""; position: absolute; top: 5px; right: -1px; width: 15px; height: 1px; background: var(--ink); transform: rotate(-45deg); }

.info { padding: 100px 0; }
.info h2 { margin: 0 0 32px; font-size: clamp(64px, 9vw, 140px); line-height: 1; letter-spacing: -.06em; }
.info p { margin: 0 0 60px; font-size: 18px; }
.back-link { display: inline-block; font-size: 14px; border-bottom: 1px solid var(--ink); padding-bottom: 8px; }
.back-link span { margin-left: 30px; }

@media (max-width: 900px) {
  .site { width: calc(100% - 64px); padding-bottom: 40px; }
  nav { gap: 30px; padding-right: 0; }
  .hero { column-gap: 24px; }
  h1 { font-size: 11.2vw; margin-left: -4px; margin-bottom: 20px; }
  .intro p { font-size: 10px; letter-spacing: 3px; }
  .projects { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 20px; }
}

@media (max-width: 600px) {
  .site { width: calc(100% - 40px); padding-bottom: 24px; }
  .header { height: 70px; }
  .logo { font-size: 25px; letter-spacing: -1.4px; }
  nav { gap: 19px; }
  nav a { font-size: 11px; }
  .hero { grid-template-columns: 1fr; padding-top: 50px; }
  .intro { padding: 0 0 38px; }
  h1 { font-size: clamp(90px, 24vw, 144px); margin-bottom: 24px; }
  .intro p { font-size: 11px; letter-spacing: 3.6px; }
  .hero-bottom { height: 48px; }
  .projects { gap: 18px; padding-top: 24px; grid-template-columns: 1fr; }
  .project-arrow { right: 16px; bottom: 14px; }
  .info { padding-top: 70px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  nav a::after { transition: none; }
}
