/* Yazoo blog — design system. Ported from the owner-approved mockup
   (scratchpad/blog-preview/build.py). Warm editorial light theme; burnt orange.
   Fraunces @font-face is declared in head.html (early paint); this file uses the
   family. The Yazo webfont is NEVER served (RFN) — the wordmark is an SVG. */

:root{
  --ink:#201d1a;
  --muted:#6f675f;
  --paper:#f7f3ec;
  --card:#fffdf9;
  --line:#e4ddd1;
  --orange:#cb5e28;
}
*{box-sizing:border-box}
html,body{margin:0}
body{
  background:var(--paper);
  color:var(--ink);
  font:17px/1.65 -apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Helvetica,Arial,sans-serif;
  -webkit-font-smoothing:antialiased;
}
.wrap{max-width:760px;margin:0 auto;padding:0 22px}
img{max-width:100%}

/* ---------- masthead ---------- */
header.site{border-bottom:1px solid var(--line);background:var(--card)}
.mast{max-width:760px;margin:0 auto;padding:30px 22px 18px;text-align:center}
.mark{display:block}
.mark img,.mark svg{height:90px;width:auto;display:inline-block}
nav.cats{display:flex;justify-content:center;gap:30px;flex-wrap:wrap;padding:18px 22px 20px;max-width:760px;margin:0 auto}
nav.cats a{font-size:12.5px;letter-spacing:.14em;text-transform:uppercase;color:var(--ink);text-decoration:none;font-weight:600}
nav.cats a:hover,nav.cats a[aria-current="page"]{color:var(--orange)}

/* ---------- banner ---------- */
/* Cap the banner to a band so it never fills the viewport on wide/tall screens
   (full-width height:auto made it ~600px+ on desktop). Crop with object-fit so
   posts stay above the fold; scales down on phones. */
.banner{width:100%;overflow:hidden;border-bottom:1px solid var(--line)}
.banner img{width:100%;height:clamp(150px,30vh,320px);object-fit:cover;object-position:center;display:block}

/* ---------- shared photo ---------- */
.photo{display:block;border-radius:2px}

/* ---------- category heading ---------- */
.cat-title{font-family:Fraunces;font-weight:560;font-size:30px;line-height:1.1;text-align:center;letter-spacing:-.01em;margin:8px 0 34px;color:var(--ink)}

/* ---------- featured (pinned) ---------- */
/* Pinned posts at the top of the home feed. The eyebrow marks them as featured
   (not just newest); a hairline separates the block from the normal stream. */
.featured{margin:0 0 10px;padding:0 0 6px;border-bottom:1px solid var(--line)}
.featured .eyebrow{font-family:Fraunces;font-weight:600;text-transform:uppercase;letter-spacing:.16em;font-size:12.5px;color:var(--orange);margin:0 0 20px}

/* ---------- feed cards ---------- */
main{padding:40px 0 10px}
article.card{margin:0 0 46px}
article.card .photo,article.card img{width:100%;height:auto;display:block}
article.card h2{font-family:Fraunces;font-weight:560;font-size:28px;line-height:1.15;margin:20px 0 8px}
article.card h2 a{color:var(--ink);text-decoration:none}
article.card h2 a:hover{color:var(--orange)}
article.card p{margin:0 0 10px;color:#38332e}
article.card .date{margin-top:8px}
.more{color:var(--orange);font-weight:600;text-decoration:none}
.date{font-size:13px;letter-spacing:.06em;text-transform:uppercase;color:var(--muted)}
/* permalink for title-less notes (no heading to attach to) */
a.permalink{color:var(--muted);text-decoration:none;font-size:13px;letter-spacing:.06em;text-transform:uppercase}
a.permalink:hover{color:var(--orange)}

/* ---------- pagination ---------- */
.pager{display:flex;justify-content:center;align-items:center;gap:8px;padding:14px 0 50px;flex-wrap:wrap}
.pager a,.pager span{min-width:38px;height:38px;display:inline-flex;align-items:center;justify-content:center;border:1px solid var(--line);border-radius:6px;text-decoration:none;color:var(--ink);font-size:15px;padding:0 10px}
.pager .cur{background:var(--orange);color:#fff;border-color:var(--orange)}
.pager .nx{font-weight:600}

/* ---------- single post ---------- */
.post h1{font-family:Fraunces;font-weight:580;font-size:40px;line-height:1.1;margin:6px 0 10px;letter-spacing:-.01em}
.post .meta{font-size:13px;letter-spacing:.08em;text-transform:uppercase;color:var(--muted);margin-bottom:26px}
.post p{margin:0 0 24px;font-size:18px;color:#2c2824}
.post .lead{font-size:20px;line-height:1.6}
/* Micro.blog post bodies are markdown: images become plain <img>. Full-width,
   natural aspect, capped at column width (portrait stays in-bounds). The synthetic
   .photo / .photo.tall scenes in exampleSite get the same treatment. */
.post img,.post .photo{width:100%;height:auto;display:block;margin:4px 0 26px;border-radius:2px}
.post .tall{max-width:100%}
.post .note{font-family:Fraunces;font-style:italic;color:var(--muted);font-size:18px;text-align:center;margin:0 0 26px}
.post .signoff{font-family:Fraunces;font-style:italic;color:var(--muted);margin:34px 0 10px}

/* ---------- footer ---------- */
.site-foot{background:var(--card);border-top:1px solid var(--line);margin-top:30px}
.site-foot .wrap{padding-top:22px;padding-bottom:22px;text-align:center}
.site-foot p{color:var(--muted);font-size:12.5px;margin:0}

/* ---------- accessibility ---------- */
a:focus-visible,button:focus-visible{outline:2px solid var(--orange);outline-offset:2px}
