:root {
  --ink: #14110e;
  --ink-soft: #2a241e;
  --paper: #f3eee4;
  --paper-2: #e8e0d2;
  --cinnabar: #b83a2a;
  --gold: #b89562;
  --muted: #7a7064;
  --line: rgba(20, 17, 14, 0.12);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html {
  scroll-behavior: smooth;
}

body {
  background: var(--paper);
  color: var(--ink);
  font-family: "Outfit", "Noto Serif SC", sans-serif;
  font-weight: 300;
  line-height: 1.6;
  cursor: none;
  overflow-x: hidden;
}

body.touch {
  cursor: auto;
}

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

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

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

.cursor {
  position: fixed;
  top: 0;
  left: 0;
  width: 12px;
  height: 12px;
  pointer-events: none;
  z-index: 100;
  mix-blend-mode: difference;
  transform: translate(-50%, -50%);
  transition: width 0.25s var(--ease), height 0.25s var(--ease);
}

.cursor-dot {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: #f3eee4;
}

.cursor.is-link {
  width: 44px;
  height: 44px;
  background: transparent;
  border: 1px solid #f3eee4;
  border-radius: 50%;
}

.cursor.is-link .cursor-dot {
  display: none;
}

.spine {
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  width: 88px;
  z-index: 40;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  padding: 28px 0;
  border-right: 1px solid var(--line);
  background: rgba(243, 238, 228, 0.72);
  backdrop-filter: blur(10px);
}

.seal {
  width: 44px;
  height: 44px;
  color: var(--cinnabar);
}

.seal svg {
  width: 100%;
  height: 100%;
}

.spine-nav {
  display: flex;
  flex-direction: column;
  gap: 28px;
  writing-mode: vertical-rl;
}

.spine-nav a {
  font-family: "Noto Serif SC", serif;
  font-size: 13px;
  letter-spacing: 0.28em;
  color: var(--muted);
  position: relative;
  transition: color 0.3s ease;
}

.spine-nav a:hover,
.spine-nav a.active {
  color: var(--cinnabar);
}

.spine-year {
  font-size: 11px;
  letter-spacing: 0.3em;
  color: var(--muted);
  writing-mode: vertical-rl;
}

main {
  margin-left: 88px;
}

.hero {
  min-height: 100vh;
  padding: 48px 8vw 64px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.hero-meta {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
}

.hero-title {
  display: grid;
  gap: 8px;
  padding: 8vh 0;
}

.hero-cn {
  font-family: "Noto Serif SC", serif;
  font-weight: 500;
  font-size: clamp(64px, 14vw, 180px);
  line-height: 0.9;
  letter-spacing: 0.08em;
}

.hero-en {
  font-family: "Cormorant Garamond", serif;
  font-style: italic;
  font-weight: 400;
  font-size: clamp(28px, 5vw, 64px);
  color: var(--gold);
  letter-spacing: 0.04em;
}

.hero-lead {
  font-family: "Noto Serif SC", serif;
  font-size: clamp(18px, 2.2vw, 26px);
  max-width: 18em;
  line-height: 1.7;
}

.hero-foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
  padding-top: 48px;
  border-top: 1px solid var(--line);
}

.text-link {
  font-size: 14px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  display: inline-flex;
  gap: 10px;
  align-items: center;
}

.text-link span {
  color: var(--cinnabar);
  transition: transform 0.3s var(--ease);
}

.text-link:hover span {
  transform: translate(4px, -4px);
}

.hero-status {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  color: var(--muted);
}

.pulse {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--cinnabar);
  box-shadow: 0 0 0 0 rgba(184, 58, 42, 0.5);
  animation: pulse 2.4s ease infinite;
}

@keyframes pulse {
  70% {
    box-shadow: 0 0 0 10px rgba(184, 58, 42, 0);
  }
}

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

.marquee-track {
  display: flex;
  align-items: center;
  gap: 28px;
  width: max-content;
  animation: drift 32s linear infinite;
  font-family: "Cormorant Garamond", serif;
  font-size: 18px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

.marquee-track i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--cinnabar);
  display: inline-block;
}

@keyframes drift {
  to {
    transform: translateX(-50%);
  }
}

section {
  padding: 120px 8vw;
}

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

.section-head .num {
  font-family: "Cormorant Garamond", serif;
  font-style: italic;
  color: var(--cinnabar);
  font-size: 20px;
}

.section-head h2 {
  font-family: "Noto Serif SC", serif;
  font-weight: 500;
  font-size: 28px;
  letter-spacing: 0.2em;
}

.about-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 80px;
}

.about-copy {
  font-family: "Noto Serif SC", serif;
  font-size: 20px;
  line-height: 1.9;
}

.about-copy p + p {
  margin-top: 1.2em;
}

.about-copy blockquote {
  margin-top: 2em;
  padding-left: 24px;
  border-left: 2px solid var(--cinnabar);
  font-family: "Cormorant Garamond", serif;
  font-style: italic;
  font-size: 28px;
  line-height: 1.4;
}

.facts {
  display: grid;
  gap: 28px;
  padding-top: 8px;
}

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

.facts dt {
  font-size: 11px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 8px;
}

.facts dd {
  font-family: "Noto Serif SC", serif;
  font-size: 16px;
}

.work {
  background: var(--ink);
  color: var(--paper);
}

.work .section-head h2,
.work .spread-body p,
.work .spread-body h3 {
  color: var(--paper);
}

.work .section-head .num {
  color: #e07a6a;
}

.spread {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
  padding: 48px 0 96px;
  border-top: 1px solid rgba(243, 238, 228, 0.12);
}

.spread.reverse {
  grid-template-columns: 0.9fr 1.1fr;
}

.spread.reverse .spread-visual {
  order: 2;
}

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

.spread-body h3 {
  font-family: "Noto Serif SC", serif;
  font-weight: 500;
  font-size: clamp(32px, 4vw, 48px);
  margin-bottom: 20px;
  letter-spacing: 0.06em;
}

.spread-body p {
  font-family: "Noto Serif SC", serif;
  font-size: 16px;
  line-height: 1.9;
  color: rgba(243, 238, 228, 0.78);
}

.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  list-style: none;
  margin-top: 28px;
}

.tags li {
  font-size: 11px;
  letter-spacing: 0.16em;
  padding: 6px 12px;
  border: 1px solid rgba(243, 238, 228, 0.2);
  border-radius: 99px;
}

.spread-visual {
  position: relative;
  min-height: 420px;
  overflow: hidden;
}

.v1 {
  background: radial-gradient(circle at 30% 40%, #3d2a1c 0%, #1a1410 55%, #0d0b09 100%);
}

.v-orb {
  position: absolute;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  right: 18%;
  top: 22%;
  background: radial-gradient(circle at 35% 30%, #d9b27c, #8a5a28 55%, #3a2414);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.4);
}

.v-bar {
  position: absolute;
  left: 12%;
  bottom: 18%;
  width: 42%;
  height: 8px;
  background: var(--cinnabar);
}

.v-seal-mark {
  position: absolute;
  left: 14%;
  top: 18%;
  font-family: "Noto Serif SC", serif;
  font-size: 72px;
  color: var(--cinnabar);
  opacity: 0.9;
}

.v2 {
  background: #d8cbb6;
  display: grid;
  place-items: center;
}

.v-page {
  width: 46%;
  height: 68%;
  background: #f6f1e6;
  box-shadow: 18px 18px 0 #c4b49a;
  transform: rotate(-6deg);
}

.v-page.p2 {
  position: absolute;
  width: 40%;
  height: 58%;
  background: #efe6d4;
  transform: rotate(8deg) translate(40px, 20px);
  box-shadow: none;
  border: 1px solid #c9b89a;
}

.v-line {
  position: absolute;
  width: 28%;
  height: 1px;
  background: var(--cinnabar);
  bottom: 22%;
  left: 18%;
}

.v3 {
  background: linear-gradient(160deg, #24312c, #101614);
  display: flex;
  align-items: flex-end;
  justify-content: space-around;
  padding: 48px;
  font-family: "Cormorant Garamond", serif;
  font-size: 72px;
  color: #c4a574;
}

.v3 span:nth-child(2) {
  transform: translateY(-40px);
  color: #e8dcc6;
}

.v4 {
  background: #1c1712;
  display: grid;
  place-items: center;
}

.v-bottle {
  width: 72px;
  height: 240px;
  background: linear-gradient(90deg, #2b2118, #5a4634 40%, #2b2118);
  border-radius: 8px 8px 4px 4px;
  position: relative;
}

.v-bottle::before {
  content: "";
  position: absolute;
  top: -36px;
  left: 22px;
  width: 28px;
  height: 40px;
  background: #3a2d22;
  border-radius: 4px 4px 0 0;
}

.v-label {
  position: absolute;
  font-family: "Noto Serif SC", serif;
  font-size: 28px;
  color: var(--paper);
  mix-blend-mode: difference;
}

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

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

.note-list li {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 32px;
  padding: 36px 0;
  border-top: 1px solid var(--line);
}

.note-list time {
  font-family: "Cormorant Garamond", serif;
  font-style: italic;
  font-size: 22px;
  color: var(--cinnabar);
}

.note-list h3 {
  font-family: "Noto Serif SC", serif;
  font-size: 22px;
  font-weight: 500;
  margin-bottom: 8px;
}

.note-list p {
  color: var(--ink-soft);
  max-width: 40em;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}

.contact-lead {
  font-family: "Noto Serif SC", serif;
  font-size: 28px;
  line-height: 1.7;
}

.contact-card {
  border-top: 2px solid var(--ink);
  padding-top: 28px;
}

.mail {
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(28px, 3vw, 40px);
  display: inline-block;
  margin-bottom: 16px;
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s ease;
}

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

.contact-hint {
  color: var(--muted);
  font-size: 14px;
  margin-bottom: 36px;
}

.contact-row {
  display: flex;
  justify-content: space-between;
  padding: 16px 0;
  border-top: 1px solid var(--line);
  font-size: 14px;
}

.contact-row span {
  color: var(--muted);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 11px;
}

.site-foot {
  display: flex;
  justify-content: space-between;
  padding: 32px 8vw 48px;
  border-top: 1px solid var(--line);
  font-size: 12px;
  letter-spacing: 0.16em;
  color: var(--muted);
}

[data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  animation: rise 0.9s var(--ease) forwards;
  animation-play-state: paused;
}

[data-reveal].in {
  animation-play-state: running;
}

@keyframes rise {
  to {
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 900px) {
  body {
    cursor: auto;
  }

  .cursor {
    display: none;
  }

  .spine {
    width: 100%;
    height: 64px;
    bottom: auto;
    flex-direction: row;
    padding: 0 20px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .spine-nav {
    writing-mode: horizontal-tb;
    flex-direction: row;
    gap: 18px;
  }

  .spine-year {
    writing-mode: horizontal-tb;
  }

  main {
    margin-left: 0;
    padding-top: 64px;
  }

  .about-grid,
  .spread,
  .spread.reverse,
  .contact-grid,
  .note-list li {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .spread.reverse .spread-visual {
    order: 0;
  }

  .spread-visual {
    min-height: 280px;
  }

  section {
    padding: 80px 6vw;
  }

  .hero {
    padding: 32px 6vw 48px;
  }
}
