@import url("https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,500;0,600;0,700;1,500&family=Figtree:ital,wght@0,400;0,500;0,600;1,400&display=swap");

:root {
  --bg: #0c090a;
  --surface: #161214;
  --surface-2: #1f1718;
  --fg: #f6efe6;
  --muted: #cbb8ae;
  --subtle: #9a847c;
  --accent: #c45c4a;
  --accent-fg: #f8f1e8;
  --border: #3a2c2c;
  --play: #d4a078;
  --font-sans: "Figtree", ui-sans-serif, system-ui, sans-serif;
  --font-display: "Cormorant Garamond", ui-serif, Georgia, serif;
  --radius: 1.125rem;
  --max: 72rem;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-font-smoothing: antialiased; background: var(--bg); color: var(--fg); }
body {
  margin: 0;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-sans);
  line-height: 1.55;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
h1, h2, h3 { font-family: var(--font-display); font-weight: 500; letter-spacing: -0.02em; line-height: 1.15; text-wrap: balance; margin: 0; }
h1 { font-size: clamp(2.5rem, 6vw, 4.5rem); }
h2 { font-size: clamp(1.75rem, 4vw, 3rem); }
h3 { font-size: 1.5rem; }
p { margin: 0; text-wrap: pretty; }
ul, ol { margin: 0; padding: 0; list-style: none; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
::selection { background: var(--accent); color: var(--accent-fg); }
svg { width: 1rem; height: 1rem; flex-shrink: 0; }
.skip {
  position: absolute; left: -999px; top: 0;
}
.skip:focus { left: 0.75rem; top: 0.75rem; z-index: 80; background: var(--accent); color: var(--accent-fg); padding: 0.5rem 0.75rem; border-radius: 0.375rem; }
.site-header { position: sticky; top: 0; z-index: 30; border-bottom: 1px solid var(--border); background: var(--bg); }
.bar { max-width: var(--max); margin: 0 auto; height: 4rem; display: flex; align-items: center; justify-content: space-between; padding: 0 1rem; }
.wordmark { font-family: var(--font-display); font-size: 1.35rem; letter-spacing: -0.02em; }
.wordmark.lg { font-size: 1.75rem; }
.desk-nav { display: none; gap: 0.25rem; }
.desk-nav a { display: inline-flex; align-items: center; height: 2.75rem; padding: 0 0.5rem; font-size: 0.875rem; font-weight: 500; color: var(--muted); }
.desk-nav a:hover, .desk-nav a.active { color: var(--fg); }
.icon-btn { width: 2.75rem; height: 2.75rem; display: inline-flex; align-items: center; justify-content: center; border-radius: 0.375rem; color: var(--fg); }
.icon-btn:hover { background: var(--surface-2); }
.menu-btn svg { width: 1.25rem; height: 1.25rem; }
.drawer { position: fixed; inset: 0; z-index: 50; background: rgb(12 11 10 / 0.8); }
.drawer-panel { position: absolute; top: 0; right: 0; height: 100%; width: min(100%, 20rem); background: var(--surface); border-left: 1px solid var(--border); padding: 1.5rem; }
.drawer-close { position: absolute; top: 1rem; right: 1rem; }
.mobile-nav { display: flex; flex-direction: column; gap: 0.25rem; margin-top: 3rem; }
.mobile-nav a { display: flex; align-items: center; height: 3rem; padding: 0 0.75rem; border-radius: 0.375rem; font-size: 1.125rem; color: var(--muted); }
.mobile-nav a:hover { color: var(--fg); background: var(--surface-2); }
main { flex: 1; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 1rem; }
.section { padding: 3rem 1rem 4rem; }
.page-head { max-width: 40rem; }
.page-head .lede, .lede { margin-top: 1rem; font-size: 1.125rem; color: var(--muted); line-height: 1.6; }
.kicker { font-size: 0.75rem; font-weight: 500; letter-spacing: 0.18em; text-transform: uppercase; color: var(--subtle); }
.muted { color: var(--muted); }
.subtle { color: var(--subtle); }
.sm { font-size: 0.875rem; }
.xs { font-size: 0.75rem; }
.h-sm { font-size: 1.5rem; margin-bottom: 0.75rem; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  min-height: 3rem; padding: 0 1.5rem; border-radius: 0.75rem;
  background: var(--accent); color: var(--accent-fg); font-weight: 500; font-size: 1rem;
}
.btn:hover { filter: brightness(0.95); }
.btn-outline { background: transparent; color: var(--fg); border: 1px solid var(--border); }
.btn-outline:hover { background: var(--surface-2); }
.btn-ghost { background: transparent; color: var(--fg); }
.btn-ghost:hover { background: var(--surface-2); }
.actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 2rem; }
.hero { display: grid; }
.hero-photo { position: relative; min-height: 52vh; background: var(--surface-2); overflow: hidden; }
.hero-photo img, .hero-photo video {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
}
.hero-photo::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgb(12 9 10 / 0.15), rgb(12 9 10 / 0.45));
  pointer-events: none;
}
.hero-copy { background: var(--bg); padding: 3.5rem 1.5rem; display: flex; flex-direction: column; justify-content: center; }
.band { border-top: 1px solid var(--border); background: var(--surface); }
.band-row { display: flex; flex-direction: column; gap: 1rem; padding: 2.5rem 1rem; }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 1rem; margin-bottom: 2.5rem; }
.grid-3 { display: grid; gap: 2rem; }
.card a { display: block; }
.cover { overflow: hidden; border-radius: var(--radius); background: var(--surface-2); }
.cover img { aspect-ratio: 1; width: 100%; object-fit: cover; transition: transform 0.5s ease; }
.card a:hover .cover img { transform: scale(1.03); }
.card .kicker { margin-top: 1rem; }
.card h3 { margin-top: 0.25rem; }
.card a:hover h3 { color: var(--accent); }
.cover.lg { box-shadow: 0 18px 40px -24px rgb(0 0 0 / 0.55); }
.split { display: grid; gap: 2.5rem; padding: 4rem 1rem; align-items: center; }
.split .muted { margin: 1rem 0 2rem; max-width: 40rem; }
.frame { overflow: hidden; border-radius: var(--radius); background: var(--surface-2); }
.frame img { width: 100%; aspect-ratio: 3/2; object-fit: cover; }
.teaser { display: grid; overflow: hidden; border-radius: var(--radius); border: 1px solid var(--border); background: var(--surface); }
.teaser img { width: 100%; aspect-ratio: 16/9; object-fit: cover; }
.teaser-copy { padding: 1.5rem; display: flex; flex-direction: column; justify-content: center; }
.teaser-copy h3 { margin-top: 0.5rem; font-size: 1.75rem; }
.accent-link { margin-top: 1.5rem; display: inline-flex; align-items: center; gap: 0.5rem; font-size: 0.875rem; font-weight: 500; color: var(--accent); }
.panel { border: 1px solid var(--border); background: var(--surface); border-radius: var(--radius); padding: 1.25rem 1.5rem; }
.panel .stream-list { margin-top: 1rem; }
.stream-list { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.chip {
  display: inline-flex; align-items: center; gap: 0.5rem; height: 2.75rem; padding: 0 0.9rem;
  border-radius: 0.375rem; border: 1px solid var(--border); background: var(--surface-2); font-size: 0.875rem; font-weight: 500;
}
.chip:hover { background: var(--surface); }
.chip svg { color: var(--muted); width: 0.85rem; height: 0.85rem; }
.year-block { margin-top: 4rem; }
.year-head { display: flex; align-items: baseline; justify-content: space-between; border-bottom: 1px solid var(--border); padding-bottom: 0.75rem; margin-bottom: 2rem; }
.stack-lg { margin-top: 2rem; }
.album-hero { display: grid; gap: 2.5rem; margin-top: 2rem; }
.back { display: inline-flex; align-items: center; gap: 0.5rem; height: 2.75rem; color: var(--muted); font-size: 0.875rem; }
.back:hover { color: var(--fg); }
.tracklist { border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface); overflow: hidden; }
.tracklist li + li { border-top: 1px solid var(--border); }
.track { display: flex; align-items: center; gap: 0.75rem; padding: 0.5rem 0.75rem; }
.idx { width: 1.75rem; font-family: ui-monospace, monospace; font-size: 0.75rem; color: var(--subtle); }
.track-meta { flex: 1; min-width: 0; }
.track-title { font-size: 0.95rem; font-weight: 500; }
.time { font-family: ui-monospace, monospace; font-size: 0.75rem; color: var(--muted); font-variant-numeric: tabular-nums; }
.play-track.is-playing { color: var(--play); background: rgb(156 186 150 / 0.2); }
.video-grid { margin-top: 3rem; }
.thumb { position: relative; overflow: hidden; border-radius: var(--radius); background: var(--surface-2); }
.thumb img { width: 100%; aspect-ratio: 16/9; object-fit: cover; transition: transform 0.5s ease; }
.thumb-btn { display: block; width: 100%; padding: 0; text-align: left; color: inherit; }
.thumb-btn:hover img { transform: scale(1.03); }
.play-chip {
  position: absolute; left: 0.75rem; bottom: 0.75rem;
  display: inline-flex; align-items: center; gap: 0.5rem; height: 2.75rem; padding: 0 0.75rem;
  border-radius: 0.375rem; background: var(--bg); font-size: 0.875rem; font-weight: 500;
}
.video-grid h3 { margin-top: 0.75rem; }
.embed-wrap { margin-top: 2.5rem; overflow: hidden; border-radius: var(--radius); border: 1px solid var(--border); background: var(--surface-2); }
.embed { aspect-ratio: 16/9; }
.embed iframe { width: 100%; height: 100%; border: 0; }
.embed-cap { border-top: 1px solid var(--border); padding: 1rem 1.25rem; }
.about-grid, .contact-grid { display: grid; gap: 2.5rem; margin-top: 2.5rem; }
.prose { display: flex; flex-direction: column; gap: 1.25rem; color: var(--muted); font-size: 1.05rem; line-height: 1.7; }
.prose em { color: var(--fg); font-style: italic; }
.aside { display: flex; flex-direction: column; gap: 1.5rem; }
.form { display: flex; flex-direction: column; gap: 1.1rem; }
.form label { display: flex; flex-direction: column; gap: 0.4rem; font-size: 0.875rem; font-weight: 500; }
.form input, .form textarea {
  height: 2.75rem; border-radius: 0.375rem; border: 1px solid var(--border);
  background: var(--surface); color: var(--fg); padding: 0 0.75rem; font: inherit;
}
.form textarea { min-height: 9rem; height: auto; padding: 0.75rem; border-radius: 0.75rem; }
.underline { text-decoration: underline; text-underline-offset: 4px; }
.center { text-align: center; max-width: 36rem; margin-left: auto; margin-right: auto; padding-top: 6rem; }
.center-actions { justify-content: center; }
.mt { margin-top: 2rem; }
.mt-sm { margin-top: 1rem; }
.mt-lg { margin-top: 3.5rem; }
.block { display: flex; width: 100%; margin-top: 2rem; }
.hide-sm { display: none; }
.show-sm { display: flex; }
.site-footer { border-top: 1px solid var(--border); background: var(--bg); }
.footer-grid { display: grid; gap: 2.5rem; padding: 3.5rem 1rem; }
.plain { margin-top: 0.75rem; display: flex; flex-direction: column; gap: 0.5rem; }
.plain a { font-size: 0.875rem; color: var(--muted); }
.plain a:hover { color: var(--fg); }
.copy { max-width: var(--max); margin: 0 auto; padding: 1.25rem 1rem; border-top: 1px solid var(--border); font-size: 0.75rem; color: var(--subtle); }
.player {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 40;
  border-top: 1px solid var(--border); background: var(--surface);
  padding: 0.75rem 1rem max(0.75rem, env(safe-area-inset-bottom));
}
.player-inner { max-width: 64rem; margin: 0 auto; display: flex; align-items: center; gap: 0.75rem; }
.play-btn { width: 2.75rem; height: 2.75rem; border-radius: 0.375rem; background: var(--accent); color: var(--accent-fg); display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; }
.player-meta { flex: 1; min-width: 0; }
.player-title { font-size: 0.875rem; font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.seek-row { display: flex; align-items: center; gap: 0.75rem; margin-top: 0.4rem; }
.player-seek { flex: 1; height: 0.4rem; appearance: none; background: var(--border); border-radius: 999px; accent-color: var(--accent); }
.player-seek::-webkit-slider-thumb { appearance: none; width: 14px; height: 14px; border-radius: 999px; background: var(--accent); border: 0; }
.toast {
  position: fixed; top: 1rem; left: 50%; transform: translateX(-50%); z-index: 60;
  background: var(--surface); border: 1px solid var(--border); color: var(--fg);
  padding: 0.75rem 1rem; border-radius: 0.5rem; font-size: 0.875rem; max-width: 22rem;
}
body.has-player main { padding-bottom: 7rem; }
@media (min-width: 640px) {
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .hide-sm { display: inline-flex; }
  .show-sm { display: none; }
  .bar, .wrap, .section, .band-row, .split, .footer-grid, .copy { padding-left: 1.5rem; padding-right: 1.5rem; }
  .teaser { grid-template-columns: 1fr 1fr; }
  .teaser-copy { padding: 2.5rem; }
}
@media (min-width: 768px) {
  .desk-nav { display: flex; }
  .menu-btn { display: none; }
}
@media (min-width: 1024px) {
  .hero { grid-template-columns: 1fr 1fr; }
  .hero-photo { min-height: calc(100dvh - 4rem); }
  .hero-copy { padding: 6rem 4rem; }
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
  .band-row { flex-direction: row; align-items: center; justify-content: space-between; }
  .split { grid-template-columns: 1fr 1fr; }
  .album-hero { grid-template-columns: minmax(0, 18rem) 1fr; align-items: start; }
  .about-grid, .contact-grid { grid-template-columns: 1.1fr 0.9fr; }
  .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
}

/* —— Generated album / catalog contract (release-manager 0.1.4) ——
   Album HTML is overwritten on publish. Theme these classes here. */

.eyebrow { font-size: 0.75rem; font-weight: 500; letter-spacing: 0.18em; text-transform: uppercase; color: var(--subtle); }
.desc { margin-top: 1rem; max-width: 38rem; font-size: 1.05rem; line-height: 1.7; color: var(--muted); }

.site-header__inner {
  max-width: var(--max); margin: 0 auto; height: 4rem;
  display: flex; align-items: center; justify-content: space-between; padding: 0 1rem;
}
.nav-desktop { display: none; gap: 0.25rem; }
.nav-desktop a {
  display: inline-flex; align-items: center; height: 2.75rem; padding: 0 0.65rem;
  font-size: 0.875rem; font-weight: 500; color: var(--muted);
}
.nav-desktop a:hover,
.nav-desktop a[aria-current="page"],
.desk-nav a[aria-current="page"] { color: var(--fg); }

.nav-drawer {
  position: fixed; inset: 0; z-index: 50; pointer-events: none;
}
.nav-drawer[aria-hidden="false"] { pointer-events: auto; }
.nav-drawer__backdrop {
  position: absolute; inset: 0; background: rgb(12 11 10 / 0.8); opacity: 0;
  transition: opacity 0.2s ease; border: 0;
}
.nav-drawer[aria-hidden="false"] .nav-drawer__backdrop { opacity: 1; }
.nav-drawer__panel {
  position: absolute; top: 0; right: 0; height: 100%; width: min(100%, 20rem);
  background: var(--surface); border-left: 1px solid var(--border); padding: 1.5rem;
  transform: translateX(100%); transition: transform 0.2s ease;
}
.nav-drawer[aria-hidden="false"] .nav-drawer__panel { transform: none; }
.nav-drawer__panel h2 {
  font-family: var(--font-display); font-size: 1.5rem; font-weight: 500; margin: 2.5rem 0 1rem;
}
.nav-drawer__panel nav { display: flex; flex-direction: column; gap: 0.25rem; }
.nav-drawer__panel nav a {
  display: flex; align-items: center; min-height: 2.75rem; padding: 0 0.75rem;
  border-radius: 0.375rem; font-size: 1.125rem; color: var(--muted);
}
.nav-drawer__panel nav a:hover,
.nav-drawer__panel nav a[aria-current="page"] { color: var(--fg); background: var(--surface-2); }
.menu-close {
  position: absolute; top: 1rem; right: 1rem;
  width: 2.75rem; height: 2.75rem; display: inline-flex; align-items: center; justify-content: center;
  border-radius: 0.375rem; color: var(--fg);
}
.menu-close:hover { background: var(--surface-2); }
.menu-btn {
  width: 2.75rem; height: 2.75rem; display: inline-flex; align-items: center; justify-content: center;
  border-radius: 0.375rem; color: var(--fg);
}
.menu-btn:hover { background: var(--surface-2); }
.menu-btn svg { width: 1.25rem; height: 1.25rem; }

.btn--lg { min-height: 3rem; padding: 0 1.5rem; font-size: 1rem; }
.btn--primary { background: var(--accent); color: var(--accent-fg); }
.btn--outline { background: transparent; color: var(--fg); border: 1px solid var(--border); }
.btn--outline:hover { background: var(--surface-2); }

.chips { display: flex; flex-wrap: wrap; gap: 0.5rem; list-style: none; padding: 0; margin: 0.75rem 0 0; }
.chips a, .chips--sm a {
  display: inline-flex; align-items: center; min-height: 2.75rem; padding: 0 0.9rem;
  border-radius: 0.375rem; border: 1px solid var(--border); background: var(--surface-2);
  font-size: 0.8125rem; font-weight: 500;
}
.chips a:hover { background: var(--surface); border-color: var(--subtle); }

.album-grid { display: grid; gap: 2rem; }
.album-card a { display: block; color: inherit; }
.album-card img {
  width: 100%; aspect-ratio: 1; object-fit: cover;
  border-radius: var(--radius); background: var(--surface-2);
  transition: transform 0.5s ease;
}
.album-card a:hover img { transform: scale(1.03); }
.album-card .meta, .album-card .kicker { margin-top: 1rem; font-size: 0.75rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--subtle); }
.album-card h3 { margin-top: 0.25rem; font-size: 1.5rem; }
.album-card a:hover h3 { color: var(--accent); }
.album-card .count { margin-top: 0.2rem; font-size: 0.875rem; color: var(--muted); }

.year-block { margin-top: 4rem; }
.year-block:first-of-type { margin-top: 2.5rem; }
.year-block__head {
  display: flex; align-items: baseline; justify-content: space-between;
  border-bottom: 1px solid var(--border); padding-bottom: 0.75rem; margin-bottom: 2rem;
}
.year-block__head h2 { font-size: 1.75rem; }
.year-block__head p { font-size: 0.875rem; color: var(--subtle); }

.tracks { margin-top: 3.5rem; }
.tracks h2 { margin-bottom: 1rem; font-size: 1.75rem; }
.track-list {
  list-style: none; padding: 0; margin: 0;
  border: 1px solid var(--border); border-radius: var(--radius);
  background: var(--surface); overflow: hidden;
}
.track-list > li {
  display: grid;
  grid-template-columns: 2.75rem 1.75rem 1fr auto;
  gap: 0.5rem 0.75rem;
  align-items: center;
  padding: 0.85rem 1rem;
  border-top: 1px solid var(--border);
}
.track-list > li:first-child { border-top: 0; }
.track-num { font-family: ui-monospace, monospace; font-size: 0.75rem; color: var(--subtle); }
.track-title { font-size: 1rem; font-weight: 500; min-width: 0; }
.track-title small { display: block; margin-top: 0.15rem; font-size: 0.75rem; font-weight: 400; color: var(--subtle); }
.track-dur { font-family: ui-monospace, monospace; font-size: 0.75rem; color: var(--muted); font-variant-numeric: tabular-nums; }

.play-btn {
  width: 2.75rem; height: 2.75rem; border-radius: 0.375rem;
  display: inline-flex; align-items: center; justify-content: center;
  color: var(--muted); background: transparent; flex-shrink: 0;
}
.play-btn:hover { color: var(--fg); background: var(--surface-2); }
.play-btn.is-playing { color: var(--play); background: rgb(156 186 150 / 0.18); }
.play-btn svg { width: 1rem; height: 1rem; fill: currentColor; }

.score-preview {
  grid-column: 1 / -1;
  width: 100%;
  max-width: 52rem;
  height: auto;
  justify-self: center;
  margin-top: 0.5rem;
  border: 1px solid var(--border);
  border-radius: 0.25rem;
  background: #f3eadc;
}

.player__inner {
  max-width: 64rem; margin: 0 auto;
  display: flex; align-items: center; gap: 0.75rem;
}
.player__info { flex: 1; min-width: 0; }
.player__info strong { display: block; font-size: 0.875rem; font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.player__info span { display: block; font-size: 0.75rem; color: var(--muted); }
.player__seek-row { display: flex; align-items: center; gap: 0.75rem; margin-top: 0.4rem; }
.player__seek-row time { font-family: ui-monospace, monospace; font-size: 0.75rem; color: var(--subtle); width: 2rem; }
.icon-btn--accent {
  width: 2.75rem; height: 2.75rem; border-radius: 0.375rem;
  background: var(--accent); color: var(--accent-fg);
  display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.icon-btn--accent svg { width: 1rem; height: 1rem; fill: currentColor; }
.icon-btn--ghost { color: var(--muted); }
.icon-btn--ghost:hover { color: var(--fg); background: var(--surface-2); }

.site-footer__grid { display: grid; gap: 2.5rem; padding: 3.5rem 1rem; }
.site-footer .blurb { margin-top: 0.75rem; font-size: 0.875rem; color: var(--muted); line-height: 1.5; }
.site-footer h3 { font-family: var(--font-sans); font-size: 0.75rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--subtle); margin-bottom: 0.75rem; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 0.5rem; }
.site-footer ul a { font-size: 0.875rem; color: var(--muted); }
.site-footer ul a:hover { color: var(--fg); }
.legal { border-top: 1px solid var(--border); }
.legal p { max-width: var(--max); margin: 0 auto; padding: 1.25rem 1rem; font-size: 0.75rem; color: var(--subtle); }

@media (min-width: 640px) {
  .album-grid { grid-template-columns: repeat(2, 1fr); }
  .site-header__inner, .site-footer__grid, .legal p { padding-left: 1.5rem; padding-right: 1.5rem; }
}
@media (min-width: 768px) {
  .nav-desktop { display: flex; }
  .menu-btn { display: none; }
}
@media (min-width: 1024px) {
  .album-grid { grid-template-columns: repeat(3, 1fr); }
  .album-hero { grid-template-columns: minmax(0, 18rem) 1fr; align-items: start; gap: 3rem; }
  .site-footer__grid { grid-template-columns: 1.4fr 1fr 1fr; }
  .tracks { margin-top: 4.5rem; }
}

.blog-toolbar {
  display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between;
  gap: 1rem; margin: 2rem 0 2.5rem;
}
.blog-search { display: flex; flex-direction: column; gap: 0.4rem; font-size: 0.75rem; font-weight: 500; letter-spacing: 0.12em; text-transform: uppercase; color: var(--subtle); }
.blog-search input {
  min-width: min(100%, 16rem); height: 2.75rem; padding: 0 0.9rem;
  border: 1px solid var(--border); border-radius: 0.375rem;
  background: var(--surface); color: var(--fg); font: inherit; letter-spacing: 0; text-transform: none;
}
.post-grid { display: grid; gap: 2rem; }
.post-card a { display: block; color: inherit; }
.post-card img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: var(--radius); background: var(--surface-2); }
.post-card .meta { margin-top: 1rem; }
.post-card h3 { margin-top: 0.35rem; }
.post-card a:hover h3 { color: var(--accent); }
.post-cover { margin: 2rem 0; overflow: hidden; border-radius: var(--radius); }
.post-cover img { width: 100%; max-height: 28rem; object-fit: cover; }
.post-body { margin-top: 2rem; max-width: 42rem; }
.post-body h2, .post-body h3 { color: var(--fg); margin-top: 1.75rem; }
.post-body a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
.post-body ul, .post-body ol { padding-left: 1.25rem; list-style: disc; display: flex; flex-direction: column; gap: 0.4rem; }
.post-body pre { overflow: auto; padding: 1rem; background: var(--surface-2); border: 1px solid var(--border); border-radius: 0.5rem; font-size: 0.875rem; }

.mascot-row { display: grid; gap: 1rem; margin-top: 2rem; }
.mascot-card { position: relative; overflow: hidden; border-radius: var(--radius); background: var(--surface-2); aspect-ratio: 1; }
.mascot-card video, .mascot-card img { width: 100%; height: 100%; object-fit: cover; }
.mascot-card figcaption {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 0.75rem 1rem;
  background: linear-gradient(transparent, rgb(12 9 10 / 0.85));
  font-size: 0.8125rem; color: var(--fg);
}

@media (min-width: 640px) {
  .post-grid { grid-template-columns: repeat(2, 1fr); }
  .mascot-row { grid-template-columns: repeat(3, 1fr); }
}
@media (min-width: 1024px) {
  .post-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (prefers-reduced-motion: reduce) {
  .hero-photo video { display: none; }
}


