:root{
  --bg:#f7f4ed;--panel:#ffffff;--ink:#14202b;--muted:#566370;--line:rgba(20,32,43,.14);
  --accent:#8f5a00;--accent-bg:#ffc857;--focus:#0b5fff;
  --display:'Bricolage Grotesque','Trebuchet MS',system-ui,sans-serif;
  --body:'Public Sans',system-ui,-apple-system,'Segoe UI',Roboto,sans-serif;
  box-sizing:border-box;padding-top:env(safe-area-inset-top,0px);padding-bottom:env(safe-area-inset-bottom,0px);
}
@media (prefers-color-scheme: dark){
  :root{--bg:#07131f;--panel:#0d2033;--ink:#e9f6f3;--muted:#9fb4ba;--line:rgba(233,246,243,.16);--accent:#ffc857;--focus:#8fc2ff}
}
*,*::before,*::after{box-sizing:inherit}
html{scroll-behavior:smooth;scroll-padding-top:70px}
body{margin:0;background:var(--bg);color:var(--ink);font-family:var(--body);font-size:1.0625rem;line-height:1.6}
a{color:var(--accent);text-underline-offset:3px}
:focus-visible{outline:3px solid var(--focus);outline-offset:3px;border-radius:4px}
.wrap{max-width:1080px;margin:0 auto;padding:0 clamp(16px,4vw,32px)}
.hero{padding:clamp(40px,8vw,88px) 0 clamp(16px,3vw,32px)}
.hero h1{font-family:var(--display);font-weight:700;font-size:clamp(2.4rem,7vw,4.2rem);line-height:1.05;margin:0 0 16px;letter-spacing:-.02em}
.hero .lede{font-size:clamp(1.1rem,2.4vw,1.35rem);max-width:36em;color:var(--muted);margin:0}
.section{padding:clamp(24px,5vw,48px) 0}
.section h2{font-family:var(--display);font-weight:700;font-size:clamp(1.6rem,4vw,2.1rem);margin:0 0 6px}
.section .sub{color:var(--muted);margin:0 0 22px}
.featured{display:grid;grid-template-columns:1.15fr 1fr;border:1px solid var(--line);border-radius:20px;overflow:hidden;background:var(--panel);text-decoration:none;color:inherit}
.featured img{width:100%;height:100%;object-fit:cover;display:block;min-height:240px}
.featured .body{padding:clamp(18px,3vw,32px);display:flex;flex-direction:column;gap:10px;justify-content:center}
.featured h3{font-family:var(--body);font-weight:700;font-size:clamp(1.5rem,3.6vw,2rem);margin:0;line-height:1.15}
.featured p{margin:0;color:var(--muted)}
.btn{display:inline-block;align-self:flex-start;margin-top:8px;padding:.7em 1.2em;border-radius:999px;background:var(--accent-bg);color:#1a1200;font-weight:700}
.featured:hover .btn{filter:brightness(1.06)}
.featured+.featured{margin-top:18px}
.tag{display:inline-block;align-self:flex-start;font:700 .75rem/1 var(--body);letter-spacing:.06em;text-transform:uppercase;padding:.35em .6em;border-radius:6px;background:var(--accent-bg);color:#1a1200}
.newest{margin:18px 0 0;display:flex;flex-wrap:wrap;align-items:center;gap:8px 16px;font-weight:600}
.newest .all{font-weight:500;color:var(--muted);padding-left:16px;border-left:1px solid var(--line)}
.more{font-family:var(--display);font-weight:700;font-size:1.2rem;margin:28px 0 12px}
.news{list-style:none;margin:0;padding:0;max-width:46rem;border-top:1px solid var(--line)}
.news li{display:grid;grid-template-columns:8.5rem 1fr;gap:4px 28px;padding:12px 0;border-bottom:1px solid var(--line)}
.news time{color:var(--muted);font-variant-numeric:tabular-nums}
.news a{font-weight:600}
@media (max-width:520px){.news li{grid-template-columns:1fr}.newest .all{border-left:0;padding-left:0;flex-basis:100%}}
@media (max-width:560px){
  .grid{gap:12px}
  .grid .card{flex-direction:row;align-items:flex-start}
  .grid .card img{width:36%;flex:none;margin:12px 0 12px 12px;border-radius:9px}
  .grid .card .body{padding:10px 12px 12px;min-width:0}
  .grid .card h3{font-size:1.05rem}
  .grid .card p{font-size:.88rem;line-height:1.45}
}
.grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(min(100%,300px),1fr));gap:18px}
.card{display:flex;flex-direction:column;border:1px solid var(--line);border-radius:16px;overflow:hidden;background:var(--panel);text-decoration:none;color:inherit;transition:transform .15s,border-color .15s}
.card:hover{transform:translateY(-3px);border-color:var(--accent)}
.card img{width:100%;height:auto;aspect-ratio:8/5;object-fit:cover;display:block}
.card .body{padding:14px 16px 18px}
.card h3{font-family:var(--body);font-weight:700;font-size:1.2rem;margin:0 0 6px;line-height:1.2}
.card p{margin:0;color:var(--muted);font-size:.95rem;line-height:1.5}
@media (max-width:720px){.featured{grid-template-columns:1fr}.featured img{min-height:0;aspect-ratio:8/5}}
.prose{max-width:42rem;margin:0 auto;padding:clamp(28px,6vw,64px) clamp(16px,4vw,32px)}
.prose h1{font-family:var(--display);font-weight:700;font-size:clamp(2rem,6vw,3rem);line-height:1.1;margin:0 0 16px}
.prose h2{font-family:var(--display);font-weight:700;font-size:1.4rem;margin:2em 0 .4em}
.prose p,.prose li{max-width:40rem}
.prose li{margin:.35em 0}
.prose .updated{color:var(--muted);font-size:.9rem}
@media (prefers-reduced-motion:reduce){*{transition:none!important;scroll-behavior:auto!important}.card:hover{transform:none}}
