:root {
  color-scheme: light;
  --paper: #f2eee4;
  --ink: #172321;
  --muted: #77756e;
  --line: rgba(23, 35, 33, 0.13);
  --accent: #a33d30;
  --night: #12211f;
  --night-muted: #aeb7b1;
  --wrap: min(1080px, calc(100% - 48px));
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--paper); }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "Noto Serif SC", "Songti SC", SimSun, serif;
  text-rendering: optimizeLegibility;
}
a { color: inherit; }
.wrap { width: var(--wrap); margin-inline: auto; }

.site-header {
  min-height: 94px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
}
.site-mark {
  width: 38px;
  height: 42px;
  display: grid;
  place-items: center;
  color: #fffaf0;
  background: var(--accent);
  box-shadow: 4px 5px 0 rgba(90, 47, 39, 0.2);
  text-decoration: none;
  font-size: 18px;
  font-weight: 700;
}
.site-header nav { display: flex; align-items: center; gap: 38px; }
.site-header nav a {
  position: relative;
  padding: 10px 0;
  color: #494b46;
  text-decoration: none;
  font-size: 15px;
  letter-spacing: 0.12em;
}
.site-header nav a::after {
  content: "";
  position: absolute;
  right: 50%;
  bottom: 3px;
  left: 50%;
  height: 1px;
  background: var(--accent);
  transition: 180ms ease;
}
.site-header nav a:hover::after,
.site-header nav a.active::after { right: 0; left: 0; }

.hero {
  min-height: 540px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 240px;
  align-items: center;
  gap: 80px;
  background-image: repeating-linear-gradient(90deg, transparent 0, transparent calc(16.666% - 1px), rgba(23,35,33,.055) calc(16.666% - 1px), rgba(23,35,33,.055) 16.666%);
}
.hero-copy { padding: 74px 24px; }
.eyebrow {
  margin: 0 0 35px;
  color: var(--accent);
  font-family: ui-sans-serif, system-ui, sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.3em;
}
.eyebrow.light { color: #c77b6f; }
.hero h1 {
  max-width: 780px;
  margin: 0;
  font-size: clamp(64px, 8.3vw, 108px);
  font-weight: 500;
  line-height: 1.05;
  letter-spacing: 0.03em;
}
.hero-intro {
  margin: 34px 0 0;
  color: var(--muted);
  font-size: 17px;
  letter-spacing: 0.08em;
}
.hero-seal {
  width: 126px;
  height: 126px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  place-items: center;
  justify-self: center;
  border: 1px solid rgba(163, 61, 48, 0.42);
  border-radius: 50%;
  color: var(--accent);
  font-size: 24px;
  transform: rotate(-8deg);
}
.hero-seal span:first-child { border-right: 1px solid rgba(163, 61, 48, 0.32); padding-right: 12px; }
.hero-seal span:last-child { padding-left: 12px; }

.notes-section { padding: 82px 0 96px; color: #eef1ed; background: var(--night); }
.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 30px;
  border-bottom: 1px solid rgba(255,255,255,.15);
  padding-bottom: 26px;
}
.section-heading .eyebrow { margin-bottom: 13px; }
.section-heading h2 { margin: 0; font-size: 31px; font-weight: 500; letter-spacing: .08em; }
.section-heading > span { color: var(--night-muted); font-family: ui-sans-serif, system-ui, sans-serif; font-size: 12px; }
.note-list { display: grid; }
.note-card {
  display: grid;
  grid-template-columns: 116px minmax(0, 1fr) auto;
  align-items: start;
  gap: 34px;
  border-bottom: 1px solid rgba(255,255,255,.13);
  padding: 34px 0;
}
.note-card time { color: #9aa8a1; font-family: ui-sans-serif, system-ui, sans-serif; font-size: 11px; letter-spacing: .08em; }
.note-card h3 { margin: -7px 0 10px; font-size: clamp(22px, 3vw, 31px); font-weight: 500; }
.note-card h3 a { text-decoration: none; }
.note-card h3 a:hover { color: #e2aa9e; }
.note-card p { max-width: 680px; margin: 0; color: var(--night-muted); font-size: 14px; line-height: 1.9; }
.tags { display: flex; flex-wrap: wrap; gap: 9px; margin: 18px 0 0; padding: 0; list-style: none; }
.tags li { border: 1px solid rgba(255,255,255,.16); border-radius: 999px; padding: 4px 9px; color: #aeb7b1; font-size: 10px; }
.read-link { align-self: center; color: #d9ddd9; text-decoration: none; font-size: 13px; white-space: nowrap; }
.read-link span { margin-left: 5px; color: #c77b6f; }

.page-main { min-height: calc(100vh - 205px); padding: 86px 0 110px; }
.page-title,
.article-title { max-width: 790px; margin: 0 auto 62px; border-bottom: 1px solid var(--line); padding-bottom: 42px; }
.page-title .eyebrow { margin-bottom: 24px; }
.page-title h1,
.article-title h1 { margin: 0; font-size: clamp(46px, 7vw, 74px); font-weight: 500; line-height: 1.18; }
.page-title > p:last-child,
.article-title > p { margin: 24px 0 0; color: var(--muted); font-size: 16px; line-height: 1.8; }
.article-title time { display: block; margin-bottom: 24px; color: var(--accent); font-family: ui-sans-serif, system-ui, sans-serif; font-size: 11px; letter-spacing: .12em; }
.prose { max-width: 720px; margin: 0 auto; font-size: 17px; line-height: 2.05; }
.prose p { margin: 0 0 24px; }
.prose h2 { margin: 52px 0 20px; font-size: 28px; font-weight: 500; }
.prose blockquote { margin: 42px 0; border-left: 2px solid var(--accent); padding: 4px 0 4px 26px; color: #64665f; font-size: 19px; }
.back-link { width: 720px; max-width: 100%; display: block; margin: 62px auto 0; color: var(--accent); text-decoration: none; font-size: 14px; }

.site-footer { border-top: 1px solid var(--line); padding: 28px 0 36px; color: #787970; }
.site-footer .wrap { display: flex; justify-content: space-between; gap: 30px; }
.site-footer p { margin: 0; font-size: 12px; letter-spacing: .05em; }

@media (max-width: 760px) {
  :root { --wrap: min(100% - 32px, 1080px); }
  .site-header { min-height: 78px; }
  .site-header nav { gap: 20px; }
  .site-header nav a { font-size: 13px; }
  .hero { min-height: 560px; grid-template-columns: 1fr; gap: 0; }
  .hero-copy { padding: 62px 8px 28px; }
  .hero h1 { font-size: clamp(56px, 17vw, 78px); }
  .hero-intro { font-size: 15px; line-height: 1.8; }
  .hero-seal { width: 86px; height: 86px; justify-self: start; margin: 0 0 52px 8px; font-size: 18px; }
  .hero-seal span:first-child { padding-right: 8px; }
  .hero-seal span:last-child { padding-left: 8px; }
  .notes-section { padding: 64px 0 72px; }
  .note-card { grid-template-columns: 1fr auto; gap: 18px 20px; }
  .note-card time { grid-column: 1 / -1; }
  .read-link { grid-column: 2; grid-row: 2; }
  .page-main { padding: 62px 0 80px; }
  .page-title, .article-title { margin-bottom: 42px; padding-bottom: 32px; }
  .prose { font-size: 16px; line-height: 2; }
  .site-footer .wrap { display: grid; gap: 9px; }
}

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