@font-face { font-family: "Inter"; src: url("/assets/fonts/inter.woff2") format("woff2"); font-weight: 100 900; font-style: normal; font-display: swap; }
@font-face { font-family: "Cardo"; src: url("/assets/fonts/cardo-400.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Cardo"; src: url("/assets/fonts/cardo-400i.woff2") format("woff2"); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: "Cardo"; src: url("/assets/fonts/cardo-700.woff2") format("woff2"); font-weight: 700; font-style: normal; font-display: swap; }

:root {
  --bg: #f9f9f9;
  --text: #111111;
  --muted: #636363;
  --line: #d9d9d9;
  --accent: #111111;
  --serif: "Cardo", "Iowan Old Style", "Apple Garamond", Baskerville, "Times New Roman", serif;
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --pad: clamp(20px, 5vw, 48px);
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--text); font-family: var(--sans); font-size: 17px; line-height: 1.6; }
a { color: inherit; }
img { max-width: 100%; height: auto; display: block; }

.site-header { max-width: 1280px; margin: 0 auto; padding: 20px var(--pad); }
.brand { display: inline-flex; align-items: center; gap: 16px; text-decoration: none; font-weight: 600; font-size: 15px; }
.brand img { width: 60px; height: 60px; }

main { max-width: 1280px; margin: 0 auto; padding: 0 var(--pad); }
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 400; line-height: 1.15; margin: 0 0 .6em; }
h1 { font-size: clamp(34px, 5vw, 52px); }
h2 { font-size: clamp(28px, 4vw, 42px); }
h3 { font-size: 26px; }

.home { padding: var(--pad) 0; }
.home h2, .home h1 { margin-bottom: 1em; }
.cards { list-style: none; margin: 0; padding: 0; display: grid; gap: 28px; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); }
.cards li img { width: 100%; aspect-ratio: 1024 / 500; object-fit: cover; margin-bottom: 8px; }
.card-title { font-size: 15px; }
.cat .meta { margin-bottom: 0; }
.list { list-style: none; margin: 0; padding: 0; max-width: 650px; }
.list li { padding: 0 0 36px; margin-bottom: 36px; border-bottom: 1px solid var(--line); }
.list h2 { font-size: 30px; margin: 14px 0 6px; }
.list h2 a { text-decoration: none; }

.post { max-width: 650px; margin: 0 auto; padding: var(--pad) 0; }
.post .feat { margin: 0 0 32px; max-width: 1024px; }
.post .feat img { width: 100%; border-radius: 16px; object-fit: cover; }
.post.page { }
.meta { color: var(--muted); font-size: 14px; margin: 0 0 28px; }
.meta a { color: var(--text); }
.entry p, .entry ul, .entry ol { margin: 0 0 1.1em; }
.entry ul, .entry ol { padding-left: 1.4em; }
.entry li { margin-bottom: .25em; }
.entry img { border-radius: 8px; margin: 1em 0; }
.entry h2, .entry h3 { margin-top: 1.4em; }

.btns { display: flex; flex-wrap: wrap; gap: 12px; margin: 0 0 1.6em !important; }
.btn, .submit { display: inline-block; background: var(--accent); color: #fff; text-decoration: none; padding: 10px 18px; font: 600 14px/1.2 var(--sans); border-radius: 4px; border: 0; cursor: pointer; }
.btn:hover, .submit:hover { background: #333; }
.submit { background: #0a5aa0; padding: 11px 18px; }
.submit:hover { background: #084a85; }

.contact label { font-size: 14px; font-weight: 600; }
.contact input[type=text], .contact input[type=email], .contact textarea { width: 100%; max-width: 560px; margin-top: 6px; padding: 10px 12px; font: 16px var(--sans); border: 1px solid #c8c8c8; border-radius: 3px; background: #fff; color: var(--text); }
.contact textarea { min-height: 150px; resize: vertical; }
.contact .req { color: #c00; }
.contact .hp { position: absolute; left: -9999px; height: 0; overflow: hidden; }

.site-footer { max-width: 1280px; margin: 60px auto 0; padding: 48px var(--pad); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 32px; }
.site-footer .foot-brand img { width: 128px; height: 128px; margin-bottom: 14px; }
.foot-title { margin: 0; font-size: 18px; }
.foot-title a { text-decoration: none; }
.foot-tag { margin: 4px 0 0; font-size: 14px; color: var(--muted); }
.foot-nav { display: flex; gap: 24px; align-items: flex-start; font-size: 15px; }
.foot-nav a { text-decoration: none; }
.foot-nav a:hover { text-decoration: underline; }

@media (max-width: 600px) { body { font-size: 16px; } }
