:root {
  --paper: #f3efe6;
  --paper-2: #e7e1d4;
  --ink: #1c1915;
  --muted: #6d655c;
  --line: #d8d0c3;
  --pine: #1f5c4d;
  --pine-2: #16483c;
  --card: #faf7f1;
  --shadow: 0 18px 50px rgba(28, 25, 21, 0.06);
  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, "Songti SC", "STSong", "Noto Serif SC", serif;
  --sans: "Avenir Next", "PingFang SC", "Hiragino Sans GB", "Noto Sans SC", "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(1200px 500px at 10% -10%, rgba(31, 92, 77, 0.08), transparent 55%),
    linear-gradient(180deg, #f7f4ee 0%, var(--paper) 28%, #efeadd 100%);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.7;
  min-height: 100vh;
}
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 0.18em; }
a:hover { color: var(--pine); }
img { max-width: 100%; }

.wrap { width: min(1080px, calc(100% - 40px)); margin: 0 auto; }
.top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 28px 0 18px;
}
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.mark {
  width: 36px; height: 36px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--pine); color: #f6f3ec;
  font-family: var(--serif); font-weight: 600;
}
.brand b { font-family: var(--serif); font-size: 22px; font-weight: 600; letter-spacing: 0.08em; }
.brand small { display: block; color: var(--muted); letter-spacing: 0.14em; font-size: 11px; }
nav { display: flex; gap: 22px; font-size: 14px; }
nav a { text-decoration: none; color: var(--muted); }
nav a[aria-current="page"], nav a:hover { color: var(--ink); }

.hero { padding: 54px 0 28px; display: grid; grid-template-columns: 1.4fr 0.8fr; gap: 48px; align-items: end; }
.kicker { color: var(--pine); letter-spacing: 0.22em; font-size: 12px; margin: 0 0 14px; }
h1 {
  font-family: var(--serif);
  font-weight: 560;
  font-size: clamp(40px, 6vw, 72px);
  line-height: 1.12;
  letter-spacing: -0.03em;
  margin: 0 0 18px;
}
.lede { font-size: 18px; max-width: 38em; margin: 0; color: #3c3832; }
.hero-side {
  border-left: 1px solid var(--line);
  padding: 8px 0 8px 22px;
  color: var(--muted);
  font-size: 14px;
}
.hero-side strong { display: block; color: var(--ink); font-weight: 600; margin-bottom: 6px; }

.section { padding: 28px 0 10px; }
.section-h {
  display: flex; justify-content: space-between; align-items: baseline;
  border-top: 1px solid var(--ink); padding-top: 14px; margin-bottom: 18px;
}
.section-h h2 { font-family: var(--serif); font-size: 28px; margin: 0; font-weight: 560; }
.section-h a { color: var(--muted); font-size: 14px; }

.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 18px 18px 16px;
  box-shadow: var(--shadow);
  min-height: 210px;
  display: flex; flex-direction: column;
  text-decoration: none;
}
.card .year { color: var(--pine); font-size: 12px; letter-spacing: 0.16em; }
.card h3 { font-family: var(--serif); font-size: 24px; margin: 10px 0 8px; font-weight: 560; }
.card p { margin: 0; color: var(--muted); font-size: 14px; }
.swatch { height: 74px; border-radius: 12px; margin-bottom: 8px; }
.s1 { background: linear-gradient(135deg, #1f5c4d, #8fbfa8); }
.s2 { background: linear-gradient(160deg, #c4552a, #f0c9a0); }
.s3 { background: linear-gradient(145deg, #243044, #8aa0b8); }
.s4 { background: linear-gradient(135deg, #6b4c7a, #e7d3c5); }
.s5 { background: linear-gradient(160deg, #8a6a32, #efe2c0); }
.s6 { background: linear-gradient(145deg, #1c1915, #8d867c); }

.notes { display: grid; gap: 0; }
.note {
  display: grid;
  grid-template-columns: 110px 1fr auto;
  gap: 18px;
  align-items: baseline;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
  text-decoration: none;
}
.note time { color: var(--muted); font-variant-numeric: tabular-nums; font-size: 14px; }
.note b { font-family: var(--serif); font-size: 22px; font-weight: 560; }
.note span { color: var(--muted); font-size: 14px; }

.about-strip {
  margin: 36px 0 10px;
  padding: 28px;
  border-radius: 22px;
  background: var(--pine);
  color: #f4f1ea;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 24px;
}
.about-strip h2 { font-family: var(--serif); font-weight: 560; margin: 0 0 8px; font-size: 32px; }
.about-strip p { margin: 0; color: rgba(244, 241, 234, 0.86); }
.about-strip a { color: #fff; }

footer {
  display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap;
  padding: 28px 0 40px; color: var(--muted); font-size: 13px;
}

.page-title { padding: 18px 0 8px; }
.page-title h1 { font-size: clamp(36px, 5vw, 56px); }
.prose { max-width: 42em; padding-bottom: 20px; }
.prose h1 { font-size: clamp(34px, 4vw, 48px); }
.prose .meta { color: var(--muted); margin-bottom: 18px; }
.prose p { font-size: 17px; }
.prose h2 { font-family: var(--serif); font-weight: 560; font-size: 26px; margin-top: 1.6em; }

.work-list { display: grid; gap: 14px; }
.work-row {
  display: grid;
  grid-template-columns: 92px 1fr;
  gap: 18px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
  text-decoration: none;
}
.work-row h3 { margin: 0 0 4px; font-family: var(--serif); font-size: 26px; font-weight: 560; }
.work-row p { margin: 0; color: var(--muted); }

.missing { padding: 12vh 0 20vh; }
.missing h1 { font-size: clamp(40px, 6vw, 68px); }

@media (max-width: 800px) {
  .hero, .about-strip, .cards { grid-template-columns: 1fr; }
  .hero-side { border-left: 0; border-top: 1px solid var(--line); padding: 16px 0 0; }
  .note, .work-row { grid-template-columns: 1fr; gap: 4px; }
  .top { align-items: flex-start; flex-direction: column; }
}
