:root {
  --ink: #17211b;
  --muted: #66746c;
  --paper: #f6f1e7;
  --paper-2: #ece2d0;
  --line: rgba(23, 33, 27, .14);
  --accent: #2f6f63;
  --accent-2: #b65d36;
  --code: #26322c;
  --card: rgba(255, 252, 245, .72);
  --shadow: 0 24px 80px rgba(24, 31, 26, .12);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 12% 8%, rgba(182, 93, 54, .16), transparent 26rem),
    radial-gradient(circle at 88% 2%, rgba(47, 111, 99, .18), transparent 24rem),
    linear-gradient(135deg, var(--paper), #fbf7ef 42%, var(--paper-2));
  font-family: Georgia, 'Noto Serif SC', 'Songti SC', serif;
  line-height: 1.72;
  min-height: 100vh;
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: .17;
  background-image:
    linear-gradient(rgba(23,33,27,.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(23,33,27,.045) 1px, transparent 1px);
  background-size: 32px 32px;
  mask-image: linear-gradient(to bottom, #000, transparent 80%);
}
a { color: inherit; text-decoration-color: rgba(47,111,99,.45); text-underline-offset: .18em; }
a:hover { color: var(--accent); }
.wrap { width: min(1120px, calc(100% - 40px)); margin: 0 auto; }
.site-header { padding: 32px 0 28px; }
.nav { display: flex; justify-content: space-between; gap: 24px; align-items: center; border-bottom: 1px solid var(--line); padding-bottom: 18px; }
.brand { display: flex; gap: 12px; align-items: center; text-decoration: none; }
.mark { width: 36px; height: 36px; border: 1px solid var(--ink); display:grid; place-items:center; border-radius: 50%; background: rgba(255,255,255,.35); box-shadow: inset 0 0 0 6px rgba(47,111,99,.08); font-weight: 700; }
.brand strong { letter-spacing: .08em; font-size: 14px; text-transform: uppercase; }
.brand span { color: var(--muted); display:block; font-size: 12px; margin-top: -4px; }
.links { display: flex; gap: 18px; flex-wrap: wrap; font-size: 14px; color: var(--muted); }
.links a { text-decoration: none; border-bottom: 1px solid transparent; }
.links a:hover { border-color: var(--accent); }
.hero { display: grid; grid-template-columns: 1.12fr .88fr; gap: 56px; align-items: end; padding: 78px 0 60px; }
.kicker { color: var(--accent-2); font-size: 13px; letter-spacing: .18em; text-transform: uppercase; font-weight: 700; }
h1 { font-size: clamp(46px, 7vw, 92px); line-height: .92; letter-spacing: -.06em; margin: 14px 0 22px; }
.lead { font-size: clamp(18px, 2.2vw, 25px); color: #39443e; max-width: 720px; }
.status-card { position: relative; padding: 28px; border: 1px solid var(--line); background: var(--card); backdrop-filter: blur(14px); border-radius: 28px; box-shadow: var(--shadow); }
.status-card::before { content:""; position:absolute; inset: 14px; border:1px dashed rgba(47,111,99,.24); border-radius: 20px; pointer-events:none; }
.status-card h2 { margin:0 0 16px; font-size: 18px; }
.metric { display:flex; justify-content:space-between; gap:12px; padding: 12px 0; border-top:1px solid var(--line); font-size: 14px; }
.metric span:first-child { color: var(--muted); }
.dot { width: 8px; height: 8px; border-radius: 50%; display:inline-block; margin-right:8px; background: var(--accent); box-shadow: 0 0 0 5px rgba(47,111,99,.12); }
.grid { display:grid; grid-template-columns: repeat(3, 1fr); gap: 22px; padding: 28px 0 72px; }
.card { min-height: 260px; padding: 24px; border:1px solid var(--line); background: rgba(255,252,245,.62); border-radius: 24px; box-shadow: 0 16px 50px rgba(24,31,26,.07); transition: transform .22s ease, box-shadow .22s ease; }
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.card time { font-size: 12px; color: var(--accent-2); letter-spacing: .08em; text-transform: uppercase; }
.card h2 { font-size: 25px; line-height: 1.08; letter-spacing: -.03em; margin: 16px 0 12px; }
.card p { color: var(--muted); margin: 0 0 18px; }
.tag { display:inline-block; font-size:12px; color: var(--accent); border:1px solid rgba(47,111,99,.25); border-radius:999px; padding: 2px 9px; margin-right: 6px; }
.article { display:grid; grid-template-columns: 220px minmax(0, 760px); gap: 54px; padding: 58px 0 90px; }
.toc { position: sticky; top: 20px; align-self:start; color: var(--muted); font-size: 14px; border-left: 2px solid rgba(47,111,99,.25); padding-left: 16px; }
.article-main { background: rgba(255,252,245,.66); border:1px solid var(--line); border-radius: 28px; padding: clamp(26px, 5vw, 58px); box-shadow: var(--shadow); }
.article-main h1 { font-size: clamp(38px, 5vw, 66px); }
.article-main h2 { font-size: 28px; margin-top: 44px; letter-spacing: -.03em; }
.article-main p, .article-main li { color: #354039; }
pre { overflow:auto; padding: 18px; border-radius: 16px; background: var(--code); color: #e9eee8; font-size: 14px; line-height: 1.55; }
code { font-family: 'Cascadia Code', 'SFMono-Regular', Consolas, monospace; }
.inline-note { border-left: 4px solid var(--accent); padding: 14px 18px; background: rgba(47,111,99,.08); border-radius: 0 14px 14px 0; }
.archive-list { max-width: 850px; padding: 40px 0 90px; }
.archive-item { display:grid; grid-template-columns: 130px 1fr; gap: 24px; padding: 24px 0; border-bottom:1px solid var(--line); }
.archive-item time { color: var(--accent-2); font-size: 13px; }
.site-footer { border-top:1px solid var(--line); padding: 28px 0 42px; color: var(--muted); font-size: 13px; display:flex; justify-content:space-between; gap:18px; flex-wrap:wrap; }
@media (max-width: 860px) { .hero, .article { grid-template-columns: 1fr; } .grid { grid-template-columns: 1fr; } .toc { position: static; } .archive-item { grid-template-columns: 1fr; gap: 4px; } }
