:root {
  --bg: #0f0f0e;
  --bg-soft: #161614;
  --surface: #1c1c19;
  --line: rgba(255, 255, 255, 0.08);
  --text: #f2efe8;
  --muted: #a39e93;
  --muted-2: #6f6a61;
  --accent: #c4a574;
  --accent-soft: rgba(196, 165, 116, 0.14);
  --font-display: "Cormorant Garamond", "Songti SC", "SimSun", serif;
  --font-body: "Inter", "PingFang SC", "Microsoft YaHei", sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --max: 1120px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(900px 500px at 80% -10%, rgba(196, 165, 116, 0.08), transparent 60%),
    radial-gradient(700px 400px at 10% 0%, rgba(255, 255, 255, 0.03), transparent 55%),
    var(--bg);
}

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

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

/* Header */
.site-hd {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 22px 40px;
  transition: background 0.35s var(--ease), border-color 0.35s var(--ease), padding 0.35s var(--ease);
  border-bottom: 1px solid transparent;
}

.site-hd.is-scrolled {
  background: rgba(15, 15, 14, 0.82);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom-color: var(--line);
  padding-top: 14px;
  padding-bottom: 14px;
}

.site-hd__logo {
  font-family: var(--font-display);
  font-size: 22px;
  letter-spacing: 0.08em;
  color: var(--text);
}

.site-hd__nav {
  display: flex;
  gap: 28px;
}

.site-hd__nav a {
  font-size: 13px;
  letter-spacing: 0.12em;
  color: var(--muted);
  transition: color 0.2s var(--ease);
}

.site-hd__nav a:hover {
  color: var(--accent);
}

/* Hero */
.hero {
  min-height: 92vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 120px 24px 80px;
  position: relative;
}

.hero__eyebrow {
  font-size: 12px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 22px;
}

.hero__name {
  font-family: var(--font-display);
  font-size: clamp(56px, 10vw, 104px);
  font-weight: 500;
  letter-spacing: 0.12em;
  line-height: 1;
  margin-bottom: 16px;
}

.hero__role {
  font-size: 15px;
  letter-spacing: 0.28em;
  color: var(--muted);
  margin-bottom: 28px;
}

.hero__tagline {
  max-width: 420px;
  font-family: var(--font-display);
  font-size: clamp(18px, 2.4vw, 24px);
  font-style: italic;
  color: #d8d2c6;
  line-height: 1.6;
}

.hero__scroll {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  color: var(--muted-2);
  font-size: 10px;
  letter-spacing: 0.3em;
}

.hero__scroll i {
  width: 1px;
  height: 42px;
  background: linear-gradient(to bottom, var(--accent), transparent);
  display: block;
}

/* Sections */
.section {
  max-width: var(--max);
  margin: 0 auto;
  padding: 100px 28px 40px;
}

.section__head {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: baseline;
  gap: 16px;
  border-top: 1px solid var(--line);
  padding-top: 22px;
  margin-bottom: 48px;
}

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

.section__title {
  font-family: var(--font-display);
  font-size: 32px;
  font-weight: 500;
  letter-spacing: 0.08em;
}

.section__en {
  font-size: 12px;
  letter-spacing: 0.18em;
  color: var(--muted-2);
  text-transform: uppercase;
}

/* About */
.about__body {
  max-width: 720px;
}

.about__body p {
  font-size: 17px;
  line-height: 2.05;
  color: #d5d0c6;
  margin-bottom: 22px;
}

.about__meta {
  margin-top: 48px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0 28px;
  border-top: 1px solid var(--line);
}

.about__meta > div {
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}

.about__meta dt {
  font-size: 11px;
  letter-spacing: 0.2em;
  color: var(--accent);
  margin-bottom: 8px;
}

.about__meta dd {
  font-size: 14px;
  color: var(--muted);
}

/* Works */
.works__list {
  display: flex;
  flex-direction: column;
  gap: 88px;
}

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

.work__head {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-end;
  gap: 16px;
}

.work__title {
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 500;
  letter-spacing: 0.06em;
}

.work__meta {
  font-size: 12px;
  letter-spacing: 0.16em;
  color: var(--muted-2);
}

.work__desc {
  max-width: 640px;
  font-size: 15px;
  line-height: 1.9;
  color: var(--muted);
}

.work__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.work__grid button {
  appearance: none;
  border: 0;
  background: var(--surface);
  padding: 0;
  cursor: zoom-in;
  overflow: hidden;
  border-radius: 4px;
  aspect-ratio: 4 / 3;
  position: relative;
}

.work__grid button img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.55s var(--ease), filter 0.35s var(--ease);
}

.work__grid button:hover img {
  transform: scale(1.04);
  filter: brightness(1.05);
}

.work__grid button:nth-child(1) {
  grid-column: span 2;
  grid-row: span 2;
  aspect-ratio: auto;
  min-height: 360px;
}

.work__more {
  margin-top: 4px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  letter-spacing: 0.14em;
  color: var(--accent);
  background: transparent;
  border: 1px solid rgba(196, 165, 116, 0.35);
  border-radius: 999px;
  padding: 10px 18px;
  cursor: pointer;
  transition: background 0.25s var(--ease), color 0.25s var(--ease);
}

.work__more:hover {
  background: var(--accent);
  color: #1a1712;
}

.work__links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 8px;
}

.work__links a {
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--muted);
  border-bottom: 1px solid rgba(163, 158, 147, 0.4);
  padding-bottom: 2px;
  transition: color 0.2s var(--ease), border-color 0.2s var(--ease);
}

.work__links a:hover {
  color: var(--accent);
  border-color: var(--accent);
}

/* End */
.end {
  min-height: 50vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding-bottom: 60px;
}

.end__label {
  font-size: 11px;
  letter-spacing: 0.28em;
  color: var(--accent);
  margin-bottom: 16px;
  text-transform: uppercase;
}

.end__title {
  font-family: var(--font-display);
  font-size: clamp(28px, 5vw, 48px);
  font-weight: 500;
  letter-spacing: 0.06em;
  margin-bottom: 12px;
}

.end__hint {
  font-size: 14px;
  color: var(--muted-2);
  margin-bottom: 56px;
}

.end__foot {
  font-size: 12px;
  color: var(--muted-2);
  letter-spacing: 0.06em;
}

/* Lightbox */
.lb {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: rgba(8, 8, 7, 0.94);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 48px 72px 72px;
}

.lb[hidden] {
  display: none !important;
}

.lb__img {
  max-width: min(1200px, 100%);
  max-height: calc(100vh - 120px);
  object-fit: contain;
  border-radius: 2px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.45);
}

.lb__close,
.lb__prev,
.lb__next {
  position: absolute;
  appearance: none;
  border: 0;
  background: transparent;
  color: var(--text);
  cursor: pointer;
  font-size: 36px;
  line-height: 1;
  opacity: 0.7;
  transition: opacity 0.2s var(--ease);
}

.lb__close:hover,
.lb__prev:hover,
.lb__next:hover {
  opacity: 1;
  color: var(--accent);
}

.lb__close {
  top: 18px;
  right: 24px;
  font-size: 40px;
}

.lb__prev {
  left: 18px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 56px;
}

.lb__next {
  right: 18px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 56px;
}

.lb__cap {
  position: absolute;
  bottom: 22px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 12px;
  letter-spacing: 0.14em;
  color: var(--muted);
}

/* Responsive */
@media (max-width: 900px) {
  .work__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .work__grid button:nth-child(1) {
    grid-column: span 2;
    min-height: 260px;
  }

  .about__meta {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .site-hd {
    padding: 16px 18px;
  }

  .site-hd__nav {
    gap: 16px;
  }

  .section {
    padding: 80px 18px 30px;
  }

  .section__head {
    grid-template-columns: auto 1fr;
  }

  .section__en {
    display: none;
  }

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

  .work__grid button:nth-child(1) {
    min-height: 220px;
  }

  .lb {
    padding: 56px 12px 64px;
  }

  .lb__prev,
  .lb__next {
    font-size: 40px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .work__grid button img {
    transition: none;
  }
}
