:root {
  --bg: #12110f;
  --ink: #f3efe6;
  --muted: #9b9488;
  --line: rgba(243, 239, 230, 0.12);
  --gold: #c9a36a;
  --paper: #1c1a16;
  --serif: "Noto Serif SC", "Songti SC", serif;
  --sans: "Noto Sans SC", "PingFang SC", sans-serif;
  --display: "Syne", "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: 400;
  line-height: 1.7;
  min-height: 100vh;
}

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

.grain {
  pointer-events: none;
  position: fixed;
  inset: 0;
  z-index: 20;
  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='.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: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 22px 7vw;
  background: linear-gradient(to bottom, rgba(18, 17, 15, 0.92), rgba(18, 17, 15, 0.55) 70%, transparent);
  backdrop-filter: blur(8px);
}

.nav-mark {
  font-family: var(--display);
  font-weight: 800;
  letter-spacing: 0.12em;
  font-size: 14px;
}

.nav-links {
  display: flex;
  gap: 28px;
  font-size: 13px;
  color: var(--muted);
}

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

.nav-status {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: var(--gold);
  letter-spacing: 0.08em;
}

.nav-status i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #7dba7a;
  box-shadow: 0 0 0 4px rgba(125, 186, 122, 0.16);
}

.hero {
  padding: 12vh 7vw 16vh;
  min-height: 88vh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

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

.hero-name {
  font-family: var(--serif);
  font-size: clamp(64px, 12vw, 168px);
  font-weight: 700;
  line-height: 0.92;
  letter-spacing: -0.04em;
}

.hero-lead {
  max-width: 34em;
  margin-top: 36px;
  font-size: clamp(18px, 2vw, 22px);
  font-weight: 300;
  color: #d8d2c6;
}

.hero-meta {
  display: flex;
  gap: 22px;
  margin-top: 40px;
  color: var(--muted);
  font-size: 13px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.scroll-hint {
  margin-top: 12vh;
  width: fit-content;
  font-size: 13px;
  color: var(--muted);
  border-bottom: 1px solid var(--line);
  padding-bottom: 4px;
}

.scroll-hint:hover {
  color: var(--ink);
}

.section {
  padding: 10vh 7vw;
  border-top: 1px solid var(--line);
}

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

.index {
  font-family: var(--display);
  color: var(--gold);
  font-size: 13px;
  letter-spacing: 0.16em;
}

.section-head h2 {
  font-family: var(--serif);
  font-size: clamp(32px, 5vw, 56px);
  font-weight: 600;
}

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

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

.work-item:last-child a {
  border-bottom: 1px solid var(--line);
}

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

.work-num {
  font-family: var(--display);
  color: var(--muted);
  padding-top: 10px;
}

.work-body h3 {
  font-family: var(--serif);
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 600;
  margin-bottom: 10px;
}

.work-body p {
  max-width: 40em;
  color: var(--muted);
}

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

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

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

.about-copy {
  font-size: 18px;
  font-weight: 300;
  color: #ddd7cb;
}

.facts {
  display: grid;
  gap: 28px;
}

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

.facts dt {
  font-size: 12px;
  letter-spacing: 0.16em;
  color: var(--gold);
  text-transform: uppercase;
}

.facts dd {
  margin-top: 6px;
}

.now-card {
  background: var(--paper);
  padding: 48px 40px;
  border: 1px solid var(--line);
}

.now-label {
  font-family: var(--display);
  letter-spacing: 0.2em;
  color: var(--gold);
  font-size: 12px;
  margin-bottom: 16px;
}

.now-text {
  font-size: 22px;
  font-weight: 300;
  max-width: 28em;
}

.mail {
  display: inline-block;
  font-family: var(--serif);
  font-size: clamp(28px, 5vw, 56px);
  border-bottom: 1px solid var(--gold);
  line-height: 1.3;
}

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

.socials {
  display: flex;
  gap: 28px;
  list-style: none;
  margin-top: 36px;
  color: var(--muted);
}

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

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

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

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

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

  .hero {
    min-height: 78vh;
    padding-top: 8vh;
  }

  .now-card {
    padding: 32px 24px;
  }
}
