:root {
  color-scheme: light;
  --ink: #1a1a1a;
  --mute: #888;
  --rule: #d8d8d8;
  --bg: #fff;
  --measure: 640px;
  font-family: "Helvetica Neue", Helvetica, Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-feature-settings: "tnum", "kern";
  -webkit-font-smoothing: antialiased;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html,
body {
  background: var(--bg);
  color: var(--ink);
  font-size: 15px;
  line-height: 1.55;
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  padding: 48px 32px 64px;
}

a {
  color: inherit;
  text-decoration: none;
  border-bottom: 1px solid var(--ink);
  padding-bottom: 1px;
}

a:hover {
  border-bottom-color: var(--mute);
  color: var(--mute);
}

main {
  width: 100%;
  max-width: var(--measure);
  margin: 0 auto;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

header {
  width: 100%;
  max-width: var(--measure);
  margin: 0 auto 64px;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 24px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--rule);
}

header .name {
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

header .name a {
  border-bottom: none;
}

header nav {
  display: flex;
  gap: 22px;
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--mute);
}

header nav a {
  border-bottom: none;
}

header nav a[aria-current="page"] {
  color: var(--ink);
}

footer {
  width: 100%;
  max-width: var(--measure);
  margin: 96px auto 0;
  padding-top: 14px;
  border-top: 1px solid var(--rule);
  display: flex;
  justify-content: space-between;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--mute);
}

h1 {
  font-size: 32px;
  font-weight: 500;
  letter-spacing: -0.01em;
  margin-bottom: 18px;
}

h2 {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--mute);
  margin: 48px 0 16px;
}

p {
  margin-bottom: 18px;
}

p.lead {
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
}

/* Works list */
.works {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.works li {
  display: grid;
  grid-template-columns: 32px 1fr 64px;
  gap: 24px;
  align-items: baseline;
  padding: 18px 0;
  border-bottom: 1px solid var(--rule);
}

.works li:first-child {
  border-top: 1px solid var(--rule);
}

.works .idx {
  font-variant-numeric: tabular-nums;
  font-size: 12px;
  color: var(--mute);
  letter-spacing: 0.08em;
}

.works .body {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.works .title {
  font-size: 17px;
  font-weight: 500;
}

.works .desc {
  font-size: 13px;
  color: var(--mute);
  line-height: 1.5;
}

.works .year {
  font-variant-numeric: tabular-nums;
  font-size: 12px;
  color: var(--mute);
  text-align: right;
  letter-spacing: 0.04em;
}

.works li.planned {
  opacity: 0.45;
}

.works li.planned .title::after {
  content: " (planned)";
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--mute);
  margin-left: 6px;
}

/* About */
.bio p {
  font-size: 15px;
  max-width: 56ch;
}

.dl {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 8px 24px;
  font-size: 13px;
  margin-top: 8px;
}

.dl dt {
  color: var(--mute);
  letter-spacing: 0.04em;
}

.dl dd {
  color: var(--ink);
}

/* mark — small geometric accent (structural nod) */
.mark {
  display: inline-block;
  width: 8px;
  height: 8px;
  background: var(--ink);
  margin-right: 10px;
  vertical-align: 0;
}

@media (max-width: 600px) {
  body {
    padding: 32px 20px 48px;
  }
  header {
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
  }
  h1 {
    font-size: 26px;
  }
  .works li {
    grid-template-columns: 28px 1fr;
  }
  .works .year {
    grid-column: 2;
    text-align: left;
    margin-top: 2px;
  }
}
