@font-face {
  font-family: "Inter Tight";
  src: url("/fonts/inter-tight-latin-wght-normal.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}

:root {
  --paper: #F4F1EA;
  --ink: #141414;
  --mute: #5A564E;
  --red: #E8442B;
  --pad: clamp(1.25rem, 5vw, 4rem);
  --sans: "Inter Tight", ui-sans-serif, -apple-system, "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, "SF Mono", Menlo, Consolas, "Liberation Mono", monospace;
  --zh: "Noto Sans SC", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
}

* { box-sizing: border-box; margin: 0; }
html { background: var(--paper); color: var(--ink); -webkit-text-size-adjust: 100%; }
body { font: 400 1.125rem/1.55 var(--sans); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--red); outline-offset: 4px; }

.mono { font: 500 0.75rem/1.4 var(--mono); letter-spacing: 0.08em; text-transform: uppercase; }

/* nav */
.nav { display: flex; justify-content: space-between; align-items: center; padding: 1.25rem var(--pad); }
.brand { display: flex; align-items: center; gap: 0.6rem; text-decoration: none; font-weight: 700; letter-spacing: -0.02em; font-size: 1.05rem; }
.logo { width: 1.75rem; height: 1.75rem; display: block; }
.nav .mono { text-decoration: none; padding: 0.6rem 0; border-bottom: 1px solid var(--ink); }
.nav .mono:hover { color: var(--red); border-color: var(--red); }

/* hero */
.hero { padding: clamp(3.5rem, 11vw, 9rem) var(--pad) clamp(4rem, 9vw, 8rem); }
h1 { font-weight: 800; font-size: clamp(3.1rem, 11.6vw, 11rem); line-height: 0.92; letter-spacing: -0.045em; word-spacing: 0.06em; }
.lede { max-width: 30ch; text-wrap: balance; margin-top: clamp(1.75rem, 3.5vw, 3rem); font-size: clamp(1.15rem, 1.9vw, 1.5rem); line-height: 1.4; letter-spacing: -0.01em; }
.grid { --cell: 30px; display: grid; margin-top: clamp(3rem, 7vw, 6rem); grid-template-columns: repeat(var(--cols, 12), var(--cell)); grid-auto-rows: var(--cell); justify-content: space-between; touch-action: pan-y; }
.grid .dot { width: 8px; height: 8px; place-self: center; transition: background-color 1s ease-out; }
.grid .dot.on, .grid .dot.lit { background: var(--red); border-color: var(--red); }
.grid .dot.lit { transition: none; }
.grid .dot.on { animation: fill 0.7s 0.5s cubic-bezier(.2,.8,.2,1) backwards; }
.zh { margin-top: clamp(1.5rem, 3vw, 2.5rem); font: 500 clamp(1.1rem, 1.8vw, 1.4rem)/1.4 var(--zh); letter-spacing: 0.15em; }

/* dots */
.dot { display: inline-block; width: 12px; height: 12px; border-radius: 50%; border: 1.5px solid var(--ink); background: transparent; flex: none; }
.grid .dot { border-width: 0; background: rgba(20, 20, 20, 0.22); }
.mark { transition: background-color 0.6s ease-out, border-color 0.6s ease-out; }
.mark.on { background: var(--red); border-color: var(--red); }
.dot.half { background: linear-gradient(90deg, var(--red) 50%, transparent 50%); border-color: var(--red); }
@keyframes fill { from { transform: scale(0.2); opacity: 0.4; } }

/* sections */
.sec { display: grid; grid-template-columns: 1fr; gap: 1.5rem; padding: clamp(3.5rem, 8vw, 7rem) var(--pad); border-top: 1px solid var(--ink); }
.label { display: flex; align-items: center; gap: 0.75rem; color: var(--mute); align-self: start; }
h2 { font-weight: 800; font-size: clamp(2rem, 5.2vw, 4.25rem); line-height: 0.98; letter-spacing: -0.04em; word-spacing: 0.05em; }
.big { margin-top: clamp(1.5rem, 3vw, 2.5rem); max-width: 26ch; font-size: clamp(1.5rem, 3.2vw, 2.6rem); line-height: 1.15; letter-spacing: -0.03em; font-weight: 500; }
.note { margin-top: 1.5rem; color: var(--mute); }
.mono.note { margin-top: 2.25rem; color: var(--ink); }

.list { list-style: none; padding: 0; margin-top: clamp(2rem, 4vw, 3.5rem); border-top: 1px solid var(--ink); max-width: 46rem; }
.list li { padding: 1.75rem 0 2rem; border-bottom: 1px solid rgba(20,20,20,.25); }
.row { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; margin-bottom: 0.75rem; }
h3 { font-weight: 800; font-size: clamp(2rem, 4.6vw, 3.5rem); letter-spacing: -0.04em; line-height: 1; }
.status { display: inline-flex; align-items: center; gap: 0.5rem; white-space: nowrap; }
.list p { max-width: 34ch; font-size: 1.2rem; }

.cta .mail { display: inline-block; margin-top: clamp(1.5rem, 3vw, 2.5rem); font-weight: 800; font-size: clamp(1.45rem, 6.2vw, 4.25rem); letter-spacing: -0.045em; line-height: 1.05; text-decoration: none; border-bottom: 0.08em solid var(--red); overflow-wrap: anywhere; }
.cta .mail:hover { color: var(--red); }

.foot { display: flex; justify-content: space-between; align-items: center; padding: 2.5rem var(--pad) 3rem; border-top: 1px solid var(--ink); color: var(--mute); }
.foot .logo { width: 1.5rem; height: 1.5rem; color: var(--ink); }

@media (min-width: 820px) {
  .sec { grid-template-columns: minmax(9rem, 1fr) 4fr; gap: 3rem; }
  .label { padding-top: 0.6rem; }
  .grid { --cell: 36px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
