:root {
  --ink: #1c1915;
  --ink-2: #5a534a;
  --paper: #f4efe6;
  --paper-2: #ebe4d6;
  --line: #d9d0c2;
  --gold: #a6843a;
  --navy: #1a2430;
}

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

html {
  scroll-behavior: auto;
}

body {
  margin: 0;
  min-height: 100svh;
  background:
    radial-gradient(90% 50% at 100% 0%, rgba(166, 132, 58, 0.08), transparent 50%),
    var(--paper);
  color: var(--ink);
  font-family: "Noto Sans SC", "PingFang SC", "Microsoft JhengHei", sans-serif;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

.wrap {
  width: min(1080px, calc(100% - 40px));
  margin-inline: auto;
}

.mast {
  padding: 28px 0 8px;
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-2);
}

.letter {
  padding: 28px 0 48px;
  max-width: 46rem;
}

.letter .who {
  margin: 0 0 8px;
  font-size: 13px;
  letter-spacing: 0.18em;
  color: var(--gold);
  font-weight: 600;
}

.letter h1 {
  margin: 0 0 22px;
  font-family: "Noto Serif SC", "Songti SC", serif;
  font-weight: 600;
  font-size: clamp(32px, 5vw, 48px);
  line-height: 1.25;
  letter-spacing: 0.04em;
}

.letter p {
  margin: 0 0 14px;
  color: var(--ink-2);
  font-size: 16px;
}

.letter strong {
  color: var(--ink);
  font-weight: 600;
}

.rows {
  display: grid;
  gap: 18px;
  padding-bottom: 64px;
}

.row {
  display: grid;
  grid-template-columns: 92px 1fr 240px;
  gap: 28px;
  align-items: stretch;
  background: #fbf8f1;
  border: 1px solid var(--line);
  text-decoration: none;
  color: inherit;
  height: 168px;
  overflow: hidden;
  scroll-margin-block: 24vh;
  transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
}

.row:hover,
.row:focus-visible {
  transform: translateY(-2px);
  border-color: #c9b58a;
  box-shadow: 0 14px 36px rgba(28, 25, 21, 0.08);
  outline: none;
}

.row-index {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 20px 0 20px 20px;
  font-variant-numeric: tabular-nums;
}

.row-index .num {
  font-family: "Noto Serif SC", serif;
  font-size: 28px;
  letter-spacing: 0.06em;
}

.row-index .swatches {
  display: flex;
  gap: 6px;
}

.swatch {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.12);
}

.row-copy {
  padding: 22px 0;
}

.row-copy h2 {
  margin: 0 0 8px;
  font-family: "Noto Serif SC", serif;
  font-size: 24px;
  font-weight: 600;
  letter-spacing: 0.06em;
}

.row-copy p {
  margin: 0;
  color: var(--ink-2);
  font-size: 14px;
}

.row-go {
  margin-top: 12px;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
}

.row:hover .row-go {
  color: #8a6a24;
}

.row-visual {
  position: relative;
  width: 240px;
  height: 168px;
  min-height: 0;
  overflow: hidden;
}

.row-visual img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  filter: saturate(0.85);
}

.row-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  mix-blend-mode: multiply;
  opacity: 0.18;
  background: var(--tint, #2db3a9);
}

.foot {
  border-top: 1px solid var(--line);
  padding: 22px 0 36px;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  color: var(--ink-2);
  font-size: 12px;
}

@media (max-width: 800px) {
  .row {
    grid-template-columns: 1fr;
  }
  .row-index {
    flex-direction: row;
    align-items: center;
    padding: 16px 16px 0;
  }
  .row-copy {
    padding: 8px 16px 16px;
  }
  .row {
    height: auto;
    min-height: 0;
  }
  .row-visual {
    width: 100%;
    height: 160px;
  }
  .mast,
  .foot {
    flex-direction: column;
    gap: 6px;
  }
}
