
:root {
  --background: 30 12% 94%; --foreground: 24 8% 13%;
  --card: 30 15% 97%; --muted: 45 8% 84%; --muted-foreground: 24 6% 35%;
  --accent: 15 100% 55%; --accent-foreground: 24 8% 10%;
  --border: 30 8% 77%; --ring: 15 100% 45%; --radius: 14px;
  --font-body: 'DM Sans', sans-serif; --font-display: 'Anton', sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 110px; }
body { margin: 0; background: hsl(var(--background)); color: hsl(var(--foreground)); font: 1rem/1.7 var(--font-body); overflow-wrap: anywhere; }
a { color: inherit; text-underline-offset: .2em; transition: color 150ms, background-color 150ms, transform 150ms; }
a:hover { text-decoration-thickness: 2px; }
a:active { opacity: .8; }
:focus-visible { outline: 2px solid hsl(var(--ring)); outline-offset: 5px; }
::selection { background: hsl(var(--accent)); color: hsl(var(--foreground)); }
img { display: block; max-width: 100%; height: auto; }
h1, h2, h3, h4, h5, h6, .display { font-family: var(--font-display); font-weight: 400; text-transform: uppercase; letter-spacing: -.035em; line-height: 1.04; }
h1 { font-size: clamp(2.6rem, 6vw, 5.5rem); margin: .75rem 0 1.25rem; }
p { margin: 0 0 1.25rem; }
.wrap { width: min(1280px, calc(100% - 40px)); margin-inline: auto; }
.skip-link { position: absolute; left: 20px; top: -100px; z-index: 10; background: hsl(var(--card)); padding: 12px; }
.skip-link:focus { top: 10px; }
.site-header { width: min(1060px, calc(100% - 48px)); margin: 24px auto 0; border-radius: 20px; background: hsl(var(--background)); box-shadow: 0 0 0 1px hsl(var(--foreground) / .12); }
.header-nav { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px 20px; padding: 12px 16px 12px 20px; }
.wordmark { font: 23px/.95 var(--font-display); letter-spacing: -.035em; text-transform: uppercase; display: inline-flex; align-items: center; gap: 9px; text-decoration: none; flex-shrink: 0; }
.motif { display: inline-block; color: hsl(var(--accent)); font: 40px/1 var(--font-display); letter-spacing: -6px; transform: rotate(12deg); padding-right: 8px; }
.accent { color: hsl(var(--accent)); }
.nav-links, .footer-links, .legal-links { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 20px; font-size: .875rem; font-weight: 600; }
.nav-links a, .footer-links a, .legal-links a { display: inline-flex; align-items: center; min-height: 44px; }
.nav-links a, .footer-links a { text-decoration: none; }
.nav-links a:hover, .footer-links a:hover { text-decoration: underline; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 12px; min-height: 48px; padding: 12px 22px; border: 1px solid hsl(var(--border)); border-radius: var(--radius); font-weight: 700; text-decoration: none; }
.button.primary { background: hsl(var(--accent)); color: hsl(var(--accent-foreground)); border-color: transparent; }
.button:hover { background: hsl(var(--muted)); transform: translateY(-2px); }
.button.primary:hover { background: hsl(var(--accent) / .85); }
.button:active { transform: scale(.97); }
.mobile-menu { display: none; }
main { padding-block: 64px 80px; min-height: 50vh; }
.intro { max-width: 760px; margin-bottom: 48px; }
.eyebrow { font-size: .75rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; margin-bottom: .5rem; }
.lead { font-size: clamp(1.1rem, 2.2vw, 1.3rem); color: hsl(var(--muted-foreground)); }
.feed-links { display: flex; flex-wrap: wrap; gap: 12px 24px; }
.feed-links a { display: inline-flex; align-items: center; min-height: 44px; font-weight: 600; }
.post-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.post-card { min-width: 0; overflow: hidden; border: 1px solid hsl(var(--border)); border-radius: var(--radius); background: hsl(var(--card)); }
.card-cover { display: block; }
.card-cover img { width: 100%; aspect-ratio: 16/10; object-fit: cover; }
.card-body { padding: 24px; }
.card-body h2 { margin: 16px 0; font-size: 1.8rem; line-height: 1.12; }
.card-body h2 a { text-decoration: none; }
.card-body h2 a:hover { text-decoration: underline; }
.card-body p { color: hsl(var(--muted-foreground)); }
.read-link { display: inline-flex; align-items: center; min-height: 44px; font-weight: 700; }
.chips { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 12px 0; }
.chip { display: inline-block; max-width: 100%; padding: 3px 10px; border-radius: 999px; background: hsl(var(--muted)); color: hsl(var(--foreground)); font-size: .75rem; line-height: 1.6; }
.chip.category { border: 1px solid hsl(var(--border)); background: hsl(var(--background)); font-weight: 700; }
.date { color: hsl(var(--muted-foreground)); font-size: .875rem; font-variant-numeric: tabular-nums; }
.empty { max-width: 70ch; padding: 32px; border: 1px solid hsl(var(--border)); background: hsl(var(--card)); border-radius: var(--radius); }
.empty h2 { font-size: 2rem; margin-top: 0; }
.article-header, .article-body, .article-end { max-width: 70ch; margin-inline: auto; }
.breadcrumb { display: inline-flex; align-items: center; min-height: 44px; margin-bottom: 20px; font-weight: 600; }
.article-header h1 { font-size: clamp(2.6rem, 5.5vw, 4.6rem); line-height: 1.08; }
.cover { max-width: 1000px; margin: 32px auto 48px; }
.cover img { width: 100%; border-radius: var(--radius); }
.article-body { font-size: 1.125rem; line-height: 1.7; margin-top: 40px; }
.article-body > :first-child { margin-top: 0; }
.article-body h1, .article-body h2 { font-size: clamp(1.8rem, 4vw, 2.5rem); }
.article-body h3 { font-size: 1.7rem; }
.article-body h4, .article-body h5, .article-body h6 { font-size: 1.3rem; }
.article-body h1, .article-body h2, .article-body h3, .article-body h4, .article-body h5, .article-body h6 { margin: 2em 0 .7em; line-height: 1.2; }
.article-body p, .article-body ul, .article-body ol { margin: 0 0 1.3em; }
.article-body ul, .article-body ol { padding-left: 1.5em; }
.article-body li { margin-block: .4em; }
.article-body li > ul, .article-body li > ol { margin-bottom: .5em; }
.article-body a { text-decoration: underline; text-decoration-color: hsl(var(--accent)); text-decoration-thickness: 2px; }
.article-body a:hover { text-decoration-color: currentColor; }
.article-body blockquote { margin: 1.8em 0; padding: 12px 24px; border-left: 4px solid hsl(var(--accent)); background: hsl(var(--card)); }
.article-body blockquote p:last-child { margin-bottom: 0; }
.article-body pre { max-width: 100%; overflow-x: auto; padding: 20px; background: hsl(var(--foreground)); color: hsl(var(--background)); border-radius: var(--radius); line-height: 1.6; }
.article-body code { font: .875em/1.6 ui-monospace, SFMono-Regular, Consolas, monospace; overflow-wrap: anywhere; background: hsl(var(--muted)); padding: .15em .3em; border-radius: 4px; }
.article-body pre code { background: none; padding: 0; color: inherit; white-space: pre; }
.article-body hr { border: 0; border-top: 1px solid hsl(var(--border)); margin: 2em 0; }
.table-scroll { max-width: 100%; overflow-x: auto; margin-block: 1.5em; }
table { border-collapse: collapse; width: 100%; font-size: .9em; }
th, td { padding: 12px; border: 1px solid hsl(var(--border)); text-align: left; min-width: 100px; }
th { background: hsl(var(--muted)); }
.article-body img { border-radius: var(--radius); margin-block: 24px; }
.article-end { margin-top: 48px; padding-top: 24px; border-top: 1px solid hsl(var(--border)); }
.site-footer { padding-block: 48px; }
.footer-top { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: start; gap: 32px; border-bottom: 1px solid hsl(var(--border)); padding-bottom: 36px; }
.footer-top p { margin: 16px 0 0; font-size: .875rem; color: hsl(var(--muted-foreground)); }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 20px; padding-top: 24px; }
.footer-bottom p { margin: 0; font-size: .75rem; color: hsl(var(--muted-foreground)); }
.powered { display: inline-flex; align-items: center; gap: 10px; border: 1px solid hsl(var(--accent) / .25); border-radius: var(--radius); background: hsl(var(--accent) / .1); padding: 10px 16px; font-size: .75rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; text-decoration: none; min-height: 44px; }
.powered svg { width: 14px; height: 14px; fill: hsl(var(--accent)); }
.footer-display { margin: 48px 0 0; overflow: hidden; white-space: nowrap; font-size: clamp(3rem, 13.4vw, 13rem); line-height: 1; letter-spacing: -.05em; }
@media (max-width: 960px) { .post-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .desktop-links { display: none; } .mobile-menu { display: block; } }
@media (max-width: 600px) {
  .wrap { width: calc(100% - 40px); }
  .site-header { width: calc(100% - 40px); }
  .header-nav { padding: 16px; gap: 12px; }
  .header-nav > .button { font-size: .875rem; padding-inline: 14px; }
  .mobile-menu { flex-basis: 100%; }
  .mobile-menu summary { min-height: 44px; cursor: pointer; font-weight: 600; padding-block: 8px; }
  .mobile-menu .nav-links { flex-direction: column; align-items: stretch; padding-top: 8px; }
  .mobile-menu .nav-links a { padding-block: 8px; }
  main { padding-block: 40px 56px; }
  .intro { margin-bottom: 32px; }
  .post-grid { grid-template-columns: minmax(0, 1fr); }
  .card-body { padding: 20px; }
  .empty { padding: 24px; }
  .article-body { font-size: 1rem; }
  .article-body blockquote { padding-inline: 16px; }
  .footer-links { gap: 4px 20px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } a { transition: none; } .button:hover, .button:active { transform: none; } }
