:root {
  --bg: #f1eee8;
  --fg: #111111;
  --muted: #555555;
  --line: rgba(17, 17, 17, 0.18);
  --accent: #e33b25;
  --nav-bg: rgba(241, 238, 232, 0.82);
  --font-display: 'Helvetica Neue', Helvetica, Arial, 'PingFang SC', 'Microsoft YaHei', sans-serif;
  --font-sans: 'Helvetica Neue', Helvetica, Arial, 'PingFang SC', 'Microsoft YaHei', sans-serif;
  --font-mono: ui-monospace, SFMono-Regular, Consolas, 'Liberation Mono', monospace;
}

body {
  background-color: var(--bg);
  background-image:
    linear-gradient(rgba(17, 17, 17, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(17, 17, 17, 0.035) 1px, transparent 1px);
  background-size: 80px 80px;
  color: var(--fg);
  animation: page-in 0.7s cubic-bezier(0.2, 0.7, 0.2, 1) both;
}

@keyframes page-in {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

::selection {
  background: #111;
  color: #f1eee8;
}

.hero {
  min-height: 100svh;
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  padding-top: 72px;
  border-bottom: 1px solid #111;
}

.hero-copy {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 56px;
  padding: clamp(74px, 10vh, 128px) clamp(20px, 5vw, 72px) clamp(26px, 4vh, 46px);
}

.eyebrow {
  margin: 0 0 26px;
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #666;
}

h1 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(3rem, 8.6vw, 9.4rem);
  font-weight: 800;
  line-height: 0.78;
  letter-spacing: -0.075em;
  text-transform: uppercase;
}

h1 span {
  display: block;
}

h1 .outline {
  color: transparent;
  -webkit-text-stroke: 1.5px #111;
}

.hero-cn {
  margin: 30px 0 0;
  padding-left: 14px;
  border-left: 3px solid var(--accent);
  font-size: clamp(1.05rem, 1.7vw, 1.45rem);
  letter-spacing: 0.02em;
  line-height: 1.5;
}

.hero-meta {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px 26px;
  max-width: 660px;
  padding-top: 20px;
  border-top: 1px solid #111;
}

.hero-meta div {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.hero-meta span {
  font-family: var(--font-mono);
  font-size: 8px;
  letter-spacing: 0.15em;
  color: #777;
}

.hero-meta b {
  font-size: 12px;
  font-weight: 600;
  line-height: 1.5;
}

.hero-scene {
  position: relative;
  min-height: 62vh;
  border-left: 1px solid #111;
  overflow: hidden;
}

.hero-scene .scene {
  position: absolute;
  inset: 0;
}

.scene-fallback {
  background:
    linear-gradient(#111, #111) 20% 100% / 12% 54% no-repeat,
    linear-gradient(#111, #111) 44% 100% / 10% 40% no-repeat,
    linear-gradient(#111, #111) 62% 100% / 8% 28% no-repeat,
    linear-gradient(transparent, transparent);
}

.scene-label {
  position: absolute;
  right: 14px;
  top: 16px;
  writing-mode: vertical-rl;
  font-family: var(--font-mono);
  font-size: 8px;
  letter-spacing: 0.18em;
  color: #666;
  pointer-events: none;
}

.drag-hint {
  position: absolute;
  left: 16px;
  bottom: 16px;
  font-family: var(--font-mono);
  font-size: 8px;
  letter-spacing: 0.14em;
  color: #666;
  pointer-events: none;
}

.manifesto,
.selected {
  padding: clamp(70px, 9vw, 130px) clamp(20px, 5vw, 72px);
  border-bottom: 1px solid #111;
}

.section-head {
  display: grid;
  grid-template-columns: 70px 1fr 1fr;
  gap: 24px;
  align-items: start;
  margin-bottom: 44px;
}

.section-no {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  color: var(--accent);
}

.section-head h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(2rem, 4.2vw, 4.2rem);
  font-weight: 800;
  line-height: 0.88;
  letter-spacing: -0.055em;
}

.section-head p {
  justify-self: end;
  max-width: 360px;
  margin: 0;
  font-size: 12.5px;
  line-height: 1.85;
  color: #555;
}

.rows {
  border-top: 1px solid #111;
}

.row {
  display: grid;
  grid-template-columns: 90px 1fr 1.4fr;
  gap: 24px;
  align-items: start;
  padding: 28px 0;
  border-bottom: 1px solid #111;
}

.row-no {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  color: var(--accent);
}

.row h3 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.45rem, 2.6vw, 2.4rem);
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1.1;
}

.row p {
  max-width: 540px;
  margin: 0;
  font-size: 12.8px;
  line-height: 1.9;
  color: #555;
}

.entries {
  border-top: 1px solid #111;
}

.entry {
  display: grid;
  grid-template-columns: 64px 1fr 1fr 30px;
  gap: 20px;
  align-items: center;
  padding: 24px 8px;
  border-bottom: 1px solid #111;
  transition:
    background 0.25s ease,
    color 0.25s ease,
    padding 0.25s ease;
}

.entry:hover,
.entry:focus-visible {
  padding-left: 22px;
  background: #111;
  color: #f1eee8;
}

.entry-no {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.1em;
}

.entry-title {
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 2vw, 2rem);
  font-weight: 600;
  letter-spacing: -0.025em;
}

.entry-note {
  font-size: 12px;
  opacity: 0.62;
}

.entry-arrow {
  justify-self: end;
}

.contact {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 44px;
  padding: clamp(70px, 10vw, 140px) clamp(20px, 5vw, 72px);
  background: #111;
  color: #f1eee8;
}

.contact h2 {
  margin: 20px 0 0;
  font-family: var(--font-display);
  font-size: clamp(3rem, 8vw, 8.5rem);
  font-weight: 800;
  line-height: 0.78;
  letter-spacing: -0.075em;
}

.contact .dot {
  color: var(--accent);
}

.contact-bottom {
  align-self: end;
}

.contact-bottom p {
  max-width: 420px;
  margin: 0;
  font-size: 13.5px;
  line-height: 1.9;
  color: rgba(241, 238, 232, 0.62);
}

.contact-mail {
  display: inline-block;
  margin-top: 30px;
  padding-bottom: 6px;
  border-bottom: 1px solid rgba(241, 238, 232, 0.3);
  font-family: var(--font-display);
  font-size: clamp(1.3rem, 2.4vw, 2.2rem);
  letter-spacing: -0.02em;
  transition: color 0.25s ease, border-color 0.25s ease;
}

.contact-mail:hover {
  color: var(--accent);
  border-color: var(--accent);
}

.contact-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
  margin-top: 28px;
  font-family: var(--font-mono);
  font-size: 8.5px;
  letter-spacing: 0.1em;
  color: rgba(241, 238, 232, 0.48);
}

.footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 14px;
  padding: 22px clamp(20px, 5vw, 72px);
  border-top: 1px solid #111;
  font-family: var(--font-mono);
  font-size: 8.5px;
  letter-spacing: 0.12em;
  color: #555;
}

.footer a:hover {
  color: #111;
}

@media (max-width: 980px) {
  .hero {
    grid-template-columns: 1fr;
    padding-top: 64px;
  }

  .hero-scene {
    min-height: 58vh;
    border-left: 0;
    border-top: 1px solid #111;
  }

  .section-head {
    grid-template-columns: 56px 1fr;
  }

  .section-head p {
    grid-column: 2;
    justify-self: start;
    max-width: 520px;
  }

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

  .contact-bottom {
    align-self: start;
  }
}

@media (max-width: 700px) {
  .hero-copy {
    gap: 28px;
    padding-bottom: 22px;
  }

  .hero-meta {
    grid-template-columns: 1fr;
    gap: 10px 20px;
  }

  .hero-scene {
    min-height: 52vh;
  }

  .row {
    grid-template-columns: 48px 1fr;
  }

  .row p {
    grid-column: 2;
  }

  .entry {
    grid-template-columns: 38px 1fr 24px;
    padding: 20px 4px;
  }

  .entry-note {
    display: none;
  }

  .scene-label {
    display: none;
  }
}
