:root {
  --bg: #14110e;
  --bg-soft: #1c1814;
  --ink: #efe6d6;
  --muted: #b7aa96;
  --line: rgba(239, 230, 214, 0.14);
  --accent: #d26a3a;
  --serif: "Instrument Serif", "Noto Serif SC", serif;
  --sans: "Noto Sans SC", sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-weight: 300;
  line-height: 1.7;
  min-height: 100vh;
}

.grain {
  pointer-events: none;
  position: fixed;
  inset: 0;
  opacity: 0.07;
  z-index: 8;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

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

.nav {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 22px 7vw;
  background: rgba(20, 17, 14, 0.84);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}

.logo {
  font-family: var(--serif);
  font-size: 28px;
  letter-spacing: 0.08em;
}

.nav nav {
  display: flex;
  gap: 28px;
  font-size: 13px;
  letter-spacing: 0.16em;
}

.nav nav a {
  color: var(--muted);
}

.nav nav a:hover {
  color: var(--ink);
}

main {
  padding: 0 7vw 80px;
}

.hero {
  padding: 110px 0 90px;
  max-width: 920px;
}

.eyebrow {
  color: var(--accent);
  letter-spacing: 0.18em;
  font-size: 12px;
  text-transform: uppercase;
  margin-bottom: 28px;
}

.hero h1 {
  font-family: var(--serif);
  font-size: clamp(40px, 7vw, 84px);
  line-height: 1.12;
  font-weight: 500;
}

.lede {
  margin-top: 32px;
  max-width: 560px;
  color: var(--muted);
  font-size: 18px;
}

.hero-meta {
  margin-top: 48px;
  display: flex;
  gap: 36px;
  color: var(--muted);
  font-size: 13px;
  letter-spacing: 0.08em;
}

.section-label {
  color: var(--accent);
  font-size: 12px;
  letter-spacing: 0.22em;
  margin-bottom: 18px;
}

section {
  padding: 72px 0;
  border-top: 1px solid var(--line);
}

h2 {
  font-family: var(--serif);
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 500;
  line-height: 1.25;
  margin-bottom: 24px;
}

.about-grid {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr;
  gap: 64px;
  align-items: start;
}

.about p {
  color: var(--muted);
  margin-bottom: 16px;
  max-width: 560px;
}

.facts {
  list-style: none;
  background: var(--bg-soft);
  border: 1px solid var(--line);
  padding: 28px;
}

.facts li {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
  font-size: 14px;
}

.facts li:last-child {
  border-bottom: 0;
}

.facts span {
  color: var(--muted);
}

.work-list {
  display: flex;
  flex-direction: column;
}

.work-item {
  display: grid;
  grid-template-columns: 90px 1fr;
  gap: 24px;
  padding: 28px 0;
  border-bottom: 1px solid var(--line);
}

.work-year {
  color: var(--muted);
  letter-spacing: 0.12em;
  padding-top: 6px;
}

.work-item h3 {
  font-family: var(--serif);
  font-size: 28px;
  font-weight: 500;
  margin-bottom: 8px;
}

.work-item p {
  color: var(--muted);
  max-width: 640px;
}

.tags {
  margin-top: 14px;
  display: flex;
  gap: 10px;
}

.tags span {
  border: 1px solid var(--line);
  padding: 4px 10px;
  font-size: 12px;
  color: var(--muted);
  letter-spacing: 0.08em;
}

.note-list {
  list-style: none;
}

.note-list li {
  display: grid;
  grid-template-columns: 70px 1fr;
  gap: 20px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
}

.note-list time {
  color: var(--accent);
  letter-spacing: 0.08em;
}

.contact h2 {
  margin-bottom: 12px;
}

.contact p {
  color: var(--muted);
  margin-bottom: 28px;
}

.mail {
  font-family: var(--serif);
  font-size: clamp(28px, 5vw, 52px);
  border-bottom: 1px solid var(--accent);
  display: inline-block;
  padding-bottom: 6px;
}

.social {
  margin-top: 36px;
  display: flex;
  gap: 28px;
  color: var(--muted);
  letter-spacing: 0.16em;
  font-size: 13px;
}

footer {
  padding: 28px 7vw 48px;
  display: flex;
  justify-content: space-between;
  color: var(--muted);
  font-size: 13px;
  border-top: 1px solid var(--line);
}

@media (max-width: 800px) {
  .nav nav {
    display: none;
  }

  .about-grid,
  .work-item,
  .note-list li,
  footer,
  .hero-meta {
    grid-template-columns: 1fr;
    display: flex;
    flex-direction: column;
    gap: 12px;
  }

  .hero {
    padding-top: 72px;
  }
}
