:root {
  color-scheme: dark;
  --ground: #11110f;
  --ink: #f0efe8;
  --muted: #8f8e86;
  --line: #373732;
  --signal: #d8ff52;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--ground);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "Helvetica Neue", "Hiragino Sans", "Yu Gothic", sans-serif;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
a:hover { color: var(--signal); }
a:focus-visible { outline: 2px solid var(--signal); outline-offset: 5px; }

.site-header,
main,
footer {
  width: min(100% - 40px, 1180px);
  margin-inline: auto;
}

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

.wordmark { font-size: 0.83rem; font-weight: 700; letter-spacing: 0.16em; }
.wordmark span { color: var(--signal); }
nav { display: flex; gap: 24px; font-size: 0.8rem; }

.intro { padding: clamp(80px, 14vw, 175px) 0 clamp(90px, 13vw, 155px); }
.eyebrow { margin: 0 0 22px; color: var(--signal); font-size: 0.7rem; letter-spacing: 0.14em; text-transform: uppercase; }
h1 { margin: 0; max-width: 980px; font-size: clamp(3.2rem, 9vw, 8.7rem); font-weight: 400; letter-spacing: -0.065em; line-height: 0.87; }
.lead { max-width: 500px; margin: 42px 0 0 auto; color: #c4c3bc; font-size: clamp(1rem, 1.6vw, 1.2rem); line-height: 1.85; }

.projects { padding-bottom: 90px; }
.section-heading { display: flex; justify-content: space-between; padding: 15px 0; border-top: 1px solid var(--ink); }
.section-heading h2, .section-heading p { margin: 0; font-size: 0.74rem; font-weight: 400; text-transform: uppercase; letter-spacing: 0.11em; }
.project-list { margin: 0; padding: 0; list-style: none; }
.project-list li { border-top: 1px solid var(--line); }
.project-list li:last-child { border-bottom: 1px solid var(--line); }
.project-row { display: grid; grid-template-columns: 56px minmax(230px, 1fr) minmax(110px, 0.42fr) 90px 24px; gap: 16px; align-items: start; min-height: 132px; padding: 28px 0; }
.project-row:not(.is-pending):hover h2 { color: var(--signal); }
.project-index, .project-category, .project-status, .arrow { color: var(--muted); font-size: 0.7rem; }
.project-copy h2 { margin: -6px 0 9px; font-size: clamp(1.8rem, 4vw, 3.65rem); font-weight: 400; letter-spacing: -0.045em; }
.project-copy p { max-width: 450px; margin: 0; color: var(--muted); font-size: 0.84rem; line-height: 1.6; }
.project-category { line-height: 1.5; }
.project-status { color: #bbb9b0; }
.arrow { color: var(--signal); font-size: 1rem; }

.note { max-width: 620px; margin: 0 0 130px auto; padding-top: 16px; border-top: 1px solid var(--line); color: var(--muted); font-size: clamp(1rem, 2vw, 1.5rem); line-height: 1.55; }
.note p { margin: 0; }

footer { display: flex; justify-content: space-between; padding: 24px 0 42px; border-top: 1px solid var(--ink); color: var(--muted); font-size: 0.72rem; }
footer p { margin: 0; }

@media (max-width: 760px) {
  .site-header, main, footer { width: min(100% - 28px, 1180px); }
  .site-header { min-height: 72px; }
  .intro { padding-top: 72px; }
  .lead { margin-left: 0; }
  .project-row { grid-template-columns: 36px 1fr auto; min-height: 0; }
  .project-category { grid-column: 2; }
  .project-status { grid-column: 3; grid-row: 1; }
  .arrow { display: none; }
}

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

