:root {
  --ink: #14181f;
  --muted: #4b5563;
  --teal: #1d9692;
  --teal-dark: #126e6b;
  --mint: #d1f0f0;
  --green: #149041;
  --paper: #f7faf9;
}

* { box-sizing: border-box; }
body { background: var(--paper); color: var(--ink); font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; margin: 0; }
a { color: inherit; }
.skip-link { left: 1rem; position: absolute; top: -4rem; z-index: 20; }
.skip-link:focus { background: white; padding: 0.75rem; top: 1rem; }
.site-nav { background: white; border-bottom: 1px solid rgba(20,24,31,.12); }
.nav-inner { align-items: center; display: flex; justify-content: space-between; margin: auto; max-width: 1240px; padding: .9rem 1.25rem; }
.nav-inner img { display: block; height: 40px; width: auto; }
.nav-links { align-items: center; display: flex; gap: 1.25rem; }
.nav-links a { font-size: .9rem; font-weight: 700; text-decoration: none; }
.nav-cta { background: var(--teal); color: white; padding: .75rem 1rem; }
.hero { background-color: var(--mint); background-image: linear-gradient(rgba(29,150,146,.14) 1px,transparent 1px),linear-gradient(90deg,rgba(29,150,146,.14) 1px,transparent 1px); background-size: 32px 32px; border-bottom: 1px solid rgba(20,24,31,.12); }
.hero-inner { margin: auto; max-width: 1240px; padding: 5rem 1.25rem; }
.eyebrow { color: var(--teal-dark); font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: .75rem; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; }
h1 { font-size: clamp(2.8rem, 8vw, 6rem); letter-spacing: -.055em; line-height: .95; margin: 1.2rem 0; max-width: 11ch; }
h1 span { color: var(--teal); display: block; }
.intro { color: #374151; font-size: clamp(1.05rem, 2vw, 1.3rem); line-height: 1.65; max-width: 60ch; }
.content { margin: auto; max-width: 1240px; padding: 3rem 1.25rem 5rem; }
.sr-only { height: 1px; margin: -1px; overflow: hidden; padding: 0; position: absolute; width: 1px; clip: rect(0, 0, 0, 0); white-space: nowrap; }
.filters { align-items: center; display: flex; gap: 1rem 2rem; justify-content: space-between; margin-bottom: 1.5rem; }
.filters input { background: white; border: 1px solid rgba(20,24,31,.2); font: inherit; min-width: 300px; padding: .8rem 1rem; }
.filters input:focus { border-color: var(--teal); outline: 2px solid rgba(29,150,146,.18); }
.filter-buttons { display: flex; gap: .5rem; overflow-x: auto; padding: .2rem; }
.filter-buttons button { background: white; border: 1px solid rgba(20,24,31,.15); cursor: pointer; font: inherit; font-size: .78rem; font-weight: 700; padding: .65rem .8rem; white-space: nowrap; }
.filter-buttons button.active { background: var(--ink); border-color: var(--ink); color: white; }
.count { border-bottom: 1px solid rgba(20,24,31,.16); color: var(--muted); font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: .8rem; margin: 0 0 2rem; padding-bottom: 1rem; }
.grid { display: grid; gap: 2.2rem 1.7rem; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.card { background: white; border-top: 4px solid var(--ink); box-shadow: 5px 5px 0 #e4f5f4; display: flex; flex-direction: column; min-width: 0; }
.card[hidden] { display: none; }
.card-image { aspect-ratio: 16 / 9; background: var(--mint); display: block; overflow: hidden; }
.card-image picture { display: block; height: 100%; width: 100%; }
.card-image img { display: block; height: 100%; object-fit: cover; transition: transform .35s ease; width: 100%; }
.card:hover .card-image img { transform: scale(1.025); }
.card-body { display: flex; flex: 1; flex-direction: column; padding: 1.4rem; }
.category { color: var(--green); font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: .7rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.card h2 { font-size: 1.3rem; letter-spacing: -.02em; line-height: 1.25; margin: .65rem 0 .75rem; }
.card h2 a { text-decoration: none; }
.card h2 a:hover { color: var(--teal-dark); }
.card p { color: var(--muted); font-size: .9rem; line-height: 1.65; margin: 0; }
.meta { color: #6b7280; display: flex; font-size: .75rem; gap: 1rem; justify-content: space-between; margin-top: auto; padding-top: 1.4rem; }
.closing { background: var(--ink); color: white; }
.closing-inner { align-items: center; display: flex; gap: 2rem; justify-content: space-between; margin: auto; max-width: 1240px; padding: 3rem 1.25rem; }
.closing h2 { font-size: clamp(1.6rem, 3vw, 2.4rem); margin: .5rem 0 0; }
.closing a { background: var(--teal); flex: 0 0 auto; font-weight: 800; padding: 1rem 1.25rem; text-decoration: none; }
footer { background: #0d1117; color: #d1d5db; font-size: .85rem; padding: 2rem 1.25rem; text-align: center; }
@media (max-width: 960px) { .filters { align-items: stretch; flex-direction: column; } .filter-buttons { width: 100%; } .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .nav-links a:not(.nav-cta) { display: none; } .hero-inner { padding: 3.5rem 1.25rem; } .filters input { min-width: 0; width: 100%; } .grid { grid-template-columns: 1fr; } .closing-inner { align-items: flex-start; flex-direction: column; } }
