:root {
  --paper: #f3eadc;
  --ink: #1b1714;
  --muted: #6b6158;
  --line: #d8ccb8;
  --forest: #1a3a32;
  --clay: #c45c26;
  --cream: #fff8ee;
  --shadow: rgba(27, 23, 20, 0.08);
  --display: "Noto Serif SC", "Fraunces", serif;
  --sans: "Noto Sans SC", "Syne", sans-serif;
  --en: "Syne", "Noto Sans SC", sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.7;
  cursor: none;
}

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

img, svg {
  display: block;
  max-width: 100%;
}

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

.cursor {
  position: fixed;
  top: 0;
  left: 0;
  width: 12px;
  height: 12px;
  border: 1.5px solid var(--ink);
  border-radius: 50%;
  pointer-events: none;
  z-index: 80;
  transform: translate(-50%, -50%);
  transition: width 0.2s ease, height 0.2s ease, background 0.2s ease;
  mix-blend-mode: multiply;
}

.cursor.grow {
  width: 36px;
  height: 36px;
  background: rgba(196, 92, 38, 0.18);
}

.nav {
  position: sticky;
  top: 0;
  z-index: 40;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
  padding: 18px 7vw;
  background: color-mix(in srgb, var(--paper) 88%, transparent);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}

.nav-mark {
  font-family: var(--en);
  font-weight: 800;
  letter-spacing: 0.08em;
  font-size: 15px;
}

.nav-links {
  display: flex;
  justify-content: center;
  gap: 28px;
  font-size: 14px;
  letter-spacing: 0.08em;
}

.nav-links a {
  position: relative;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 0;
  height: 1px;
  background: var(--clay);
  transition: width 0.25s ease;
}

.nav-links a:hover::after {
  width: 100%;
}

.nav-status {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  letter-spacing: 0.12em;
  color: var(--muted);
  text-transform: uppercase;
}

.dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #2f7a4a;
  box-shadow: 0 0 0 0 rgba(47, 122, 74, 0.5);
  animation: pulse 2.4s infinite;
}

@keyframes pulse {
  70% { box-shadow: 0 0 0 8px rgba(47, 122, 74, 0); }
}

.hero {
  padding: 12vh 7vw 16vh;
  min-height: 92vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  border-bottom: 1px solid var(--line);
}

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

.hero-name {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 32px;
}

.hero-cn {
  font-family: var(--display);
  font-size: clamp(56px, 11vw, 148px);
  font-weight: 700;
  line-height: 0.9;
  letter-spacing: -0.04em;
}

.hero-en {
  font-family: var(--en);
  font-size: clamp(18px, 3vw, 32px);
  font-weight: 700;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--clay);
}

.hero-lead {
  max-width: 38em;
  font-size: clamp(18px, 2.1vw, 24px);
  line-height: 1.6;
  margin-bottom: 48px;
}

.hero-meta {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  max-width: 820px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
}

.meta-label {
  display: block;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 6px;
}

.scroll-hint {
  margin-top: 10vh;
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
  width: fit-content;
}

.scroll-hint::before {
  content: "";
  display: block;
  width: 1px;
  height: 42px;
  background: var(--ink);
  margin-bottom: 10px;
  animation: drop 1.8s infinite;
  transform-origin: top;
}

@keyframes drop {
  0% { transform: scaleY(0); opacity: 0; }
  40% { transform: scaleY(1); opacity: 1; }
  100% { transform: scaleY(1); opacity: 0; }
}

section {
  padding: 12vh 7vw;
}

.section-head {
  display: flex;
  align-items: baseline;
  gap: 18px;
  margin-bottom: 56px;
  border-bottom: 1px solid var(--line);
  padding-bottom: 16px;
}

.idx {
  font-family: var(--en);
  font-size: 13px;
  letter-spacing: 0.2em;
  color: var(--clay);
}

.section-head h2 {
  font-family: var(--display);
  font-size: clamp(32px, 5vw, 52px);
  font-weight: 700;
  letter-spacing: -0.03em;
}

.about {
  background: var(--cream);
}

.about-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.3fr;
  gap: 72px;
  align-items: start;
}

.portrait-frame {
  background: var(--forest);
  box-shadow: 18px 18px 0 var(--clay);
}

.portrait-cap {
  margin-top: 16px;
  font-size: 12px;
  letter-spacing: 0.12em;
  color: var(--muted);
  text-transform: uppercase;
}

.about-copy .drop::first-letter {
  font-family: var(--display);
  float: left;
  font-size: 72px;
  line-height: 0.75;
  padding-right: 10px;
  color: var(--forest);
}

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

.facts {
  list-style: none;
  margin-top: 36px;
  border-top: 1px solid var(--line);
  padding-top: 20px;
}

.facts li {
  padding: 10px 0;
  border-bottom: 1px dashed var(--line);
  font-size: 15px;
}

.facts strong {
  display: inline-block;
  min-width: 7.5em;
  font-family: var(--en);
  font-size: 13px;
  letter-spacing: 0.04em;
}

.work-item {
  border-top: 1px solid var(--line);
  padding: 36px 0;
}

.work-item.featured {
  display: grid;
  grid-template-columns: auto 1.2fr 1fr;
  gap: 40px;
  align-items: center;
  padding: 48px 0 64px;
}

.work-no {
  font-family: var(--en);
  font-size: 12px;
  letter-spacing: 0.18em;
  color: var(--clay);
  margin-bottom: 12px;
}

.work-item h3 {
  font-family: var(--display);
  font-size: clamp(28px, 3.4vw, 44px);
  margin-bottom: 8px;
}

.work-role {
  color: var(--muted);
  font-size: 14px;
  margin-bottom: 16px;
}

.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}

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

.work-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}

.work-visual {
  height: 280px;
  background: var(--forest);
  position: relative;
  overflow: hidden;
}

.v-a .sheet {
  position: absolute;
  background: var(--paper);
  width: 58%;
  height: 72%;
  top: 18%;
  left: 18%;
  box-shadow: 0 10px 30px var(--shadow);
}

.v-a .sheet:nth-child(1) { transform: rotate(-8deg); }
.v-a .sheet:nth-child(2) { transform: rotate(3deg); left: 28%; background: var(--cream); }
.v-a .sheet:nth-child(3) { transform: rotate(11deg); left: 34%; background: #e9d8c4; }

.notes {
  background: var(--forest);
  color: var(--paper);
}

.notes .section-head {
  border-color: rgba(243, 234, 220, 0.2);
}

.notes .idx {
  color: #e8a078;
}

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

.note-list li {
  display: grid;
  grid-template-columns: 110px 1fr auto;
  gap: 24px;
  align-items: baseline;
  padding: 22px 0;
  border-bottom: 1px solid rgba(243, 234, 220, 0.18);
}

.note-list time {
  font-family: var(--en);
  font-size: 13px;
  letter-spacing: 0.14em;
  opacity: 0.7;
}

.note-list a {
  font-family: var(--display);
  font-size: clamp(20px, 2.4vw, 28px);
}

.note-list a:hover {
  color: #e8a078;
}

.note-list span {
  font-size: 14px;
  opacity: 0.65;
}

.contact-lead {
  max-width: 36em;
  font-size: 20px;
  margin-bottom: 36px;
}

.mail {
  font-family: var(--display);
  font-size: clamp(28px, 5vw, 56px);
  border-bottom: 2px solid var(--clay);
  width: fit-content;
  display: inline-block;
  line-height: 1.2;
}

.social {
  display: flex;
  gap: 28px;
  margin-top: 40px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-size: 13px;
}

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

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

@media (hover: none) {
  body { cursor: auto; }
  .cursor { display: none; }
}

@media (max-width: 900px) {
  .nav {
    grid-template-columns: 1fr auto;
  }
  .nav-status { display: none; }
  .nav-links { justify-content: flex-end; gap: 16px; font-size: 13px; }
  .hero-meta, .about-grid, .work-item.featured, .work-row, .note-list li, .foot {
    grid-template-columns: 1fr;
  }
  .work-visual { height: 200px; }
  .note-list span { display: none; }
  .hero { min-height: auto; padding-top: 8vh; }
}
