:root {
  --bg: #0f0e0c;
  --paper: #161410;
  --ink: #ece6d8;
  --mute: #8f8778;
  --line: rgba(236, 230, 216, 0.12);
  --accent: #c45c26;
  --gold: #d4a574;
  --serif: "Instrument Serif", "Noto Serif SC", serif;
  --sans: "Noto Sans SC", system-ui, 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;
}

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

.grain {
  pointer-events: none;
  position: fixed;
  inset: 0;
  z-index: 50;
  opacity: 0.07;
  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='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 40px;
  background: linear-gradient(to bottom, rgba(15, 14, 12, 0.92), rgba(15, 14, 12, 0));
}

.nav-mark {
  font-family: var(--serif);
  font-size: 20px;
  letter-spacing: 0.04em;
}

.nav-links {
  display: flex;
  gap: 32px;
  font-size: 13px;
  letter-spacing: 0.12em;
}

.nav-links a {
  color: var(--mute);
  transition: color 0.2s;
}

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

.nav-toggle {
  display: none;
  width: 32px;
  height: 20px;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  height: 1px;
  background: var(--ink);
}

.nav-toggle span + span {
  margin-top: 8px;
}

.hero {
  padding: 160px 40px 100px;
  max-width: 1100px;
}

.hero-kicker {
  color: var(--gold);
  font-size: 13px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-bottom: 28px;
}

.hero-title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(42px, 7vw, 92px);
  line-height: 1.08;
  letter-spacing: -0.02em;
}

.hero-title span {
  display: block;
}

.hero-title .italic {
  font-style: italic;
  color: var(--gold);
}

.hero-lead {
  max-width: 520px;
  margin-top: 36px;
  color: var(--mute);
  font-size: 16px;
}

.hero-meta {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-top: 48px;
}

.btn {
  display: inline-flex;
  align-items: center;
  height: 44px;
  padding: 0 22px;
  border: 1px solid var(--accent);
  color: var(--ink);
  font-size: 13px;
  letter-spacing: 0.12em;
  transition: background 0.2s, color 0.2s;
}

.btn:hover {
  background: var(--accent);
  color: #fff;
}

.hero-avail {
  color: var(--mute);
  font-size: 13px;
}

.strip {
  overflow: hidden;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 18px 0;
}

.strip-track {
  display: flex;
  gap: 56px;
  width: max-content;
  animation: marquee 28s linear infinite;
  color: var(--mute);
  font-family: var(--serif);
  font-size: 22px;
  font-style: italic;
}

@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

.work,
.about,
.contact {
  padding: 100px 40px 40px;
  max-width: 1100px;
}

.section-head {
  display: flex;
  align-items: baseline;
  gap: 18px;
  margin-bottom: 48px;
}

.num {
  color: var(--accent);
  font-size: 12px;
  letter-spacing: 0.2em;
}

.section-head h2 {
  font-family: var(--serif);
  font-size: 36px;
  font-weight: 400;
}

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

.work-item {
  display: grid;
  grid-template-columns: 80px 1fr auto;
  gap: 24px;
  align-items: start;
  padding: 28px 0;
  border-top: 1px solid var(--line);
  transition: padding-left 0.25s;
}

.work-item:hover {
  padding-left: 12px;
}

.work-year {
  color: var(--mute);
  font-size: 13px;
  padding-top: 8px;
}

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

.work-body p {
  color: var(--mute);
  max-width: 520px;
  font-size: 14px;
}

.work-tag {
  color: var(--gold);
  font-size: 12px;
  letter-spacing: 0.08em;
  padding-top: 12px;
  white-space: nowrap;
}

.about-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 64px;
}

.about-copy p + p {
  margin-top: 20px;
}

.about-copy p {
  color: var(--mute);
  font-size: 17px;
}

.facts {
  border-top: 1px solid var(--line);
}

.facts > div {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}

.facts dt {
  color: var(--mute);
  font-size: 12px;
  letter-spacing: 0.12em;
}

.facts dd {
  font-size: 15px;
}

.contact-lead {
  color: var(--mute);
  margin-bottom: 28px;
}

.mail {
  font-family: var(--serif);
  font-size: clamp(28px, 5vw, 56px);
  color: var(--gold);
  border-bottom: 1px solid transparent;
}

.mail:hover {
  border-bottom-color: var(--gold);
}

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

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

.foot {
  display: flex;
  justify-content: space-between;
  padding: 80px 40px 40px;
  color: var(--mute);
  font-size: 12px;
  letter-spacing: 0.08em;
}

@media (max-width: 800px) {
  .nav {
    padding: 18px 20px;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 16px;
    padding: 20px;
    background: var(--paper);
  }

  body.menu-open .nav-links {
    display: flex;
  }

  .nav-toggle {
    display: block;
  }

  .hero,
  .work,
  .about,
  .contact,
  .foot {
    padding-left: 20px;
    padding-right: 20px;
  }

  .hero {
    padding-top: 120px;
  }

  .work-item {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}
