:root {
  --ink: #20212a;
  --muted: #535663;
  --paper: #faf9f7;
  --line: #dadbe4;
  --link: #424fba;
  font: 16px/1.6 "Instrument Sans", "Segoe UI", Arial, sans-serif;
  color: var(--ink);
  background: var(--paper);
}

* { box-sizing: border-box; }
body { margin: 0; }
a { color: var(--link); text-underline-offset: .22em; }
a:focus-visible { outline: 3px solid var(--link); outline-offset: 4px; }
img { display: block; max-width: 100%; height: auto; }
.wrap { width: min(1120px, calc(100% - 48px)); margin-inline: auto; }
.skip-link { position: absolute; left: 20px; top: -100px; padding: 8px 14px; background: white; }
.skip-link:focus { top: 12px; z-index: 2; }

.site-header, .site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px 20px;
  padding-block: 20px;
  border-bottom: 1px solid var(--line);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font-weight: 750;
  text-decoration: none;
  font-size: 1.2rem;
}

.brand-logo {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  object-fit: contain;
}

.site-header > a:last-child { font-weight: 650; text-decoration: none; }
.site-header > a:last-child:hover { text-decoration: underline; }
.site-footer { border-top: 1px solid var(--line); border-bottom: 0; color: var(--muted); font-size: .9rem; }

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 32%);
  align-items: center;
  gap: clamp(20px, 4vw, 48px);
  padding: clamp(34px, 8vw, 88px) 0;
  border-bottom: 1px solid var(--line);
}

.hero-logo {
  width: min(100%, 300px);
  height: auto;
  justify-self: center;
}

.hero h1, .post h1 { margin: 8px 0 15px; font-size: clamp(2.7rem, 8vw, 6rem); font-weight: 700; letter-spacing: -.065em; line-height: 1; overflow-wrap: anywhere; }
.hero p { max-width: 34ch; font-size: 1.18rem; }
.eyebrow { margin: 0; color: var(--link); font-size: .78rem; font-weight: 700; letter-spacing: .095em; text-transform: uppercase; }
.button { display: inline-block; border: 1px solid var(--link); padding: 9px 15px; text-decoration: none; font-weight: 650; }
.button:hover { color: white; background: var(--link); }

.feed { padding: 32px 0 56px; }
.feed h2 { margin: 0 0 20px; font-size: clamp(1.65rem, 5vw, 2.5rem); letter-spacing: -.045em; }
.post-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 285px), 1fr)); gap: 24px; }
.card { overflow: hidden; border-bottom: 1px solid var(--line); }
.card img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: contain;
}
.card-body { padding: 14px 0 20px; }
.card time { font-size: .84rem; color: var(--muted); }
.card h3 { margin: 4px 0; line-height: 1.2; font-size: 1.35rem; }
.card p { margin: 8px 0 0; color: var(--muted); }

.post { margin: 24px 0 64px; }
.post-header { margin-bottom: clamp(20px, 4vw, 36px); }
.post h1 { font-size: clamp(2.3rem, 6vw, 4.75rem); }
.back { display: inline-block; margin-bottom: 18px; }
.post-cover {
  width: 100%;
  height: auto;
  max-height: 75vh;
  object-fit: contain;
}
.post-summary { margin: 26px 0 32px; padding: 17px 22px; border: 1px solid var(--link); }
.post-summary h2 { margin: 0 0 7px; color: var(--link); text-transform: uppercase; font-size: 1rem; letter-spacing: .06em; }
.post-summary p { margin: 0; font-size: clamp(1rem, 2vw, 1.2rem); }

.prose { max-width: 84ch; margin: 30px auto 0; font-size: clamp(1.06rem, 2vw, 1.22rem); line-height: 1.8; overflow-wrap: anywhere; }
.prose h2, .prose h3 { margin: 1.55em 0 .55em; line-height: 1.2; letter-spacing: -.025em; }
.prose h2 { font-size: 1.6em; }
.prose h3 { font-size: 1.28em; }
.prose p { margin: 0 0 1.15em; }
.prose img { margin: 1.3em auto; }
.prose hr { border: 0; border-top: 1px solid #aeb3da; margin: 2.25em 0; }
.prose figure { margin: 1.5em 0; }
.prose figure img { margin: 0 auto; }
.prose figcaption { margin: .5em 0 0; color: var(--muted); font-size: .84em; text-align: center; }
.prose pre { overflow: auto; padding: 12px; background: white; border: 1px solid var(--line); }
.prose blockquote { margin-inline: 0; padding-left: 16px; border-left: 3px solid var(--link); color: var(--muted); }
.article-section + .article-section { margin-top: 1.8em; }

@media (max-width: 600px) {
  .hero { grid-template-columns: minmax(0, 1fr); }
  .hero-logo { width: min(100%, 180px); }
}

@media (max-width: 500px) {
  .wrap { width: calc(100% - 30px); }
  .post-summary { padding: 14px 16px; }
}
