/* 内容浮出：纸面底、行列式排版，右栏是会被"啃"出来的图板。 */
:root {
  --paper: #f3f0e9;
  --ink: #16181c;
  --muted: #6f6a60;
  --line: rgba(22, 24, 28, .14);
  --accent: #ff4a1c;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 16px/1.6 ui-sans-serif, system-ui, -apple-system, "PingFang SC", "Microsoft YaHei", sans-serif;
  -webkit-font-smoothing: antialiased;
  /* 纸面上压一层极淡的网点，别让大面积纯色显得太"屏幕" */
  background-image: radial-gradient(rgba(22, 24, 28, .045) 1px, transparent 1px);
  background-size: 4px 4px;
}

/* ── 顶栏 ── */
.bar {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  padding: 14px 28px;
  border-bottom: 1px solid var(--line);
  background: color-mix(in srgb, var(--paper) 86%, transparent);
  backdrop-filter: blur(10px);
}

.bar__brand {
  font-size: 14px;
  font-weight: 650;
  letter-spacing: -.01em;
}

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

/* ── 版心 ── */
.page {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 28px;
}

/* ── 开场 ── */
.hero {
  display: flex;
  flex-direction: column;
  justify-content: center;
  /* 不到一整屏：让第一行露出一点，才看得出下面还有东西 */
  min-height: min(64svh, 620px);
  padding: 9vh 0 8vh;
}

.hero__kicker {
  margin: 0 0 22px;
  color: var(--accent);
  font-size: 12px;
  font-weight: 650;
  letter-spacing: .22em;
  text-transform: uppercase;
}

.hero__title {
  margin: 0;
  font-size: clamp(40px, 8.4vw, 92px);
  line-height: 1.06;
  font-weight: 680;
  letter-spacing: -.035em;
}

.hero__lede {
  max-width: 34ch;
  margin: 30px 0 0;
  color: var(--muted);
  font-size: 16px;
}

.hero__arrow {
  margin-top: 48px;
  color: var(--muted);
  font-size: 20px;
  animation: nudge 2.4s ease-in-out infinite;
}

@keyframes nudge {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(6px); }
}

/* ── 每一行：左边参数，右边图板 ── */
.row {
  display: grid;
  grid-template-columns: 210px minmax(0, 1fr);
  gap: 56px;
  align-items: start;
  padding: 92px 0;
  border-top: 1px solid var(--line);
}

.row__meta {
  position: sticky;
  top: 84px;
}

.row__num {
  display: block;
  color: var(--muted);
  font-size: 12px;
  font-variant-numeric: tabular-nums;
  letter-spacing: .1em;
}

.row__name {
  margin: 6px 0 10px;
  font-size: 26px;
  font-weight: 650;
  letter-spacing: -.02em;
}

.row__note {
  margin: 0;
  color: var(--muted);
  font-size: 13.5px;
}

.row__code {
  display: inline-block;
  margin: 14px 0 0;
  padding: 3px 8px;
  border-radius: 5px;
  background: rgba(22, 24, 28, .06);
  color: var(--ink);
  font: 12px/1.6 ui-monospace, SFMono-Regular, Menlo, monospace;
}

/* ── 图板 ── */
.panel {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  margin: 0;
  min-height: 380px;
  padding: 26px 28px 24px;
  border-radius: 20px;
  overflow: hidden;
}

.panel__tag {
  font: 11.5px/1 ui-monospace, SFMono-Regular, Menlo, monospace;
  letter-spacing: .08em;
  text-transform: uppercase;
  opacity: .62;
}

.panel__word {
  margin: auto 0;
  font-size: clamp(72px, 13vw, 148px);
  line-height: .9;
  font-weight: 700;
  letter-spacing: -.05em;
}

.panel__cap {
  max-width: 34ch;
  font-size: 13px;
  line-height: 1.55;
  opacity: .74;
}

.panel--sand { background: #e7dabd; }
.panel--sky { background: #cdd9e6; }
.panel--sage { background: #ccdcc3; }
.panel--film {
  background:
    radial-gradient(120% 90% at 15% 10%, #ff8a5c, transparent 60%),
    radial-gradient(120% 120% at 85% 90%, #6d5cff, transparent 55%),
    #ffcf9e;
}
.panel--apricot { background: #f2b28b; }
.panel--lilac { background: #d7cde9; }
.panel--ink { background: #191b21; color: #f2efe9; }
.panel--ink .panel__tag, .panel--ink .panel__cap { opacity: .62; }
.panel--red { background: #e5533c; color: #fdf3ee; }

/* ── 依次出现的三个小块 ── */
.tiles {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  align-self: center;
  width: 100%;
}

.tile {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 240px;
  padding: 18px;
  border-radius: 16px;
  font-size: 30px;
  font-weight: 650;
  letter-spacing: -.03em;
}

.tile span {
  font: 11px/1 ui-monospace, SFMono-Regular, Menlo, monospace;
  letter-spacing: .08em;
  opacity: .55;
}

.tile--a { background: #e9e1cf; }
.tile--b { background: #dfe7d7; }
.tile--c { background: #e4d9e7; }

/* ── 跟着滚动浓淡的那段话 ── */
.statement {
  margin: 0;
  padding: 18vh 0;
}

.statement p {
  margin: 0;
  font-size: clamp(28px, 5vw, 52px);
  line-height: 1.25;
  font-weight: 650;
  letter-spacing: -.03em;
}

.statement footer {
  margin-top: 22px;
  color: var(--muted);
  font-size: 13.5px;
}

.spacer {
  display: grid;
  place-items: center;
  min-height: 62vh;
  border-top: 1px solid var(--line);
}

.spacer span {
  color: var(--muted);
  font-size: 12px;
  letter-spacing: .14em;
}

/* ── 页脚 ── */
.foot {
  max-width: 1080px;
  margin: 0 auto;
  padding: 40px 28px 72px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 13px;
}

.foot p { margin: 0 0 6px; }

.foot code {
  padding: 1px 5px;
  border-radius: 4px;
  background: rgba(22, 24, 28, .06);
  color: var(--ink);
  font: 12px/1.6 ui-monospace, SFMono-Regular, Menlo, monospace;
}

.foot__meta { font-size: 12px; letter-spacing: .02em; }

@media (max-width: 760px) {
  .bar { padding: 12px 18px; }
  .page { padding: 0 18px; }
  .row { grid-template-columns: 1fr; gap: 26px; padding: 64px 0; }
  .row__meta { position: static; }
  .row__name { font-size: 22px; }
  .panel { min-height: 300px; padding: 20px; }
  .panel__word { font-size: clamp(64px, 20vw, 96px); }
  .tiles { grid-template-columns: 1fr; }
  .tile { min-height: 150px; }
  .foot { padding: 32px 18px 56px; }
}

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