@font-face {
  font-family: Outfit;
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("/assets/fonts/outfit-latin-500-normal.woff2") format("woff2");
}

@font-face {
  font-family: Outfit;
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("/assets/fonts/outfit-latin-700-normal.woff2") format("woff2");
}

@font-face {
  font-family: "Source Sans 3";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/assets/fonts/source-sans-3-latin-400-normal.woff2") format("woff2");
}

@font-face {
  font-family: "Source Sans 3";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("/assets/fonts/source-sans-3-latin-600-normal.woff2") format("woff2");
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
  background: var(--bg);
  color: var(--ink);
}

body {
  font-family: var(--font-body);
  font-size: 1.05rem;
  line-height: 1.55;
}

::selection {
  background: var(--soft);
  color: var(--ink);
}

.skip {
  position: absolute;
  left: 1rem;
  top: 0;
  transform: translateY(-140%);
  background: var(--accent);
  color: var(--band-ink);
  padding: 0.45rem 0.7rem;
  z-index: 3;
}

.skip:focus {
  transform: none;
}

a:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

.sidebar a:focus-visible {
  outline-color: var(--sidebar-ink);
}

.shell {
  display: flex;
  align-items: stretch;
  min-height: 100vh;
}

.sidebar {
  display: flex;
  flex: 0 0 15.5rem;
  flex-direction: column;
  justify-content: space-between;
  width: 15.5rem;
  min-height: 100vh;
  padding: 1.45rem 1.1rem 1.2rem;
  background: var(--sidebar);
  color: var(--sidebar-ink);
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  color: inherit;
  text-decoration: none;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.18rem;
  letter-spacing: -0.03em;
}

.mark {
  display: grid;
  place-items: center;
  width: 2.15rem;
  height: 2.15rem;
  border-radius: 8px;
  background: var(--accent);
  color: var(--band-ink);
  font-size: 0.78rem;
  letter-spacing: 0.02em;
}

.tagline {
  margin: 0.75rem 0 0;
  color: var(--sidebar-muted);
  font-size: 0.92rem;
  line-height: 1.35;
  text-wrap: balance;
}

.side-nav,
.side-foot {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.side-nav {
  margin-top: 1.7rem;
}

.side-nav a,
.side-foot a {
  color: inherit;
  text-decoration: none;
  border-radius: 8px;
  padding: 0.42rem 0.55rem;
}

.side-nav a {
  font-family: var(--font-heading);
  font-weight: 500;
}

.side-foot {
  gap: 0.1rem;
}

.side-foot a {
  color: var(--sidebar-muted);
  font-size: 0.92rem;
}

.side-nav a[aria-current="page"],
.side-nav a[aria-current="true"],
.side-foot a[aria-current="page"] {
  background: var(--sidebar-active);
  color: var(--sidebar-ink);
}

.maincol {
  flex: 1;
  min-width: 0;
  min-height: 100vh;
}

.pane {
  width: min(68rem, calc(100% - 1rem));
  padding: 2rem 1.7rem 3.2rem;
}

.page-head h1,
.band h1,
.card-body h2,
.rows h2,
.contact-card h2,
.prose h2,
.notice-label {
  font-family: var(--font-heading);
  font-weight: 700;
  letter-spacing: -0.04em;
  text-wrap: balance;
}

.eyebrow {
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.74rem;
  font-weight: 600;
  color: var(--accent);
}

.page-head h1 {
  margin: 0.25rem 0 0.55rem;
  font-size: clamp(2.4rem, 5vw, 3.7rem);
  line-height: 0.98;
  letter-spacing: -0.045em;
}

.page-head p {
  max-width: 38rem;
  margin: 0;
  color: var(--muted);
  font-size: 1.12rem;
}

.cat-block {
  margin-top: 2rem;
}

.cat-block-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  padding-bottom: 0.45rem;
  border-bottom: 3px solid var(--swatch, var(--accent));
}

.cat-block h2 {
  margin: 0;
  font-family: var(--font-heading);
  font-size: clamp(1.6rem, 3vw, 2.1rem);
  letter-spacing: -0.04em;
}

.cat-block h2 a,
.cat-all {
  color: inherit;
  text-decoration: none;
}

.cat-all {
  color: var(--swatch, var(--accent));
  font-weight: 600;
}

.cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin: 1rem 0 0;
  padding: 0;
  list-style: none;
}

.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-top: 4px solid var(--swatch);
  border-radius: 18px;
  overflow: hidden;
}

.card a {
  display: grid;
  grid-template-columns: 9.25rem 1fr;
  min-height: 12rem;
  height: 100%;
  color: inherit;
  text-decoration: none;
}

.text-card a {
  grid-template-columns: 1fr;
  min-height: 0;
}

.media {
  position: relative;
  display: block;
  min-height: 100%;
  background: var(--soft);
  overflow: hidden;
}

.media img,
.swatch-fill {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.swatch-fill {
  background: var(--swatch);
}

.card-body {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  padding: 0.95rem 1rem 1rem 1.05rem;
}

.cat {
  color: var(--swatch);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.card-body h2 {
  margin: 0;
  font-size: 1.28rem;
  line-height: 1.2;
  letter-spacing: -0.03em;
}

.summary {
  color: var(--muted);
  font-size: 0.98rem;
}

.card-body time {
  margin-top: auto;
  color: var(--muted);
  font-size: 0.82rem;
}

.rows {
  margin: 1.2rem 0 0;
  padding: 0;
  list-style: none;
}

.rows li {
  display: grid;
  grid-template-columns: 3rem 1fr auto;
  gap: 0.8rem 1.2rem;
  align-items: baseline;
  padding: 1.1rem 0;
  border-top: 1px solid var(--line);
}

.rows li:last-child {
  border-bottom: 1px solid var(--line);
}

.num {
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--accent);
}

.rows h2 {
  margin: 0;
  font-size: 1.35rem;
  letter-spacing: -0.03em;
}

.rows h2 a {
  color: inherit;
  text-decoration: none;
}

.rows h2 a:hover,
.card:hover h2 {
  color: var(--accent);
}

.rows p {
  margin: 0.25rem 0 0;
  color: var(--muted);
}

.rows time {
  color: var(--muted);
  font-size: 0.9rem;
}

.band {
  margin-bottom: 1rem;
  padding: 1.7rem 1.5rem 1.4rem;
  border-radius: 22px;
  background: var(--band);
  color: var(--band-ink);
}

.band .eyebrow,
.band .eyebrow a {
  color: var(--band-muted);
  text-decoration: underline;
  text-underline-offset: 0.18em;
}

.band h1 {
  margin: 0.35rem 0 0.7rem;
  font-size: clamp(2rem, 4vw, 3.15rem);
  line-height: 1.02;
}

.lead {
  max-width: 40rem;
  margin: 0;
  color: var(--band-muted);
  font-size: 1.12rem;
}

.band time {
  display: inline-block;
  margin-top: 0.9rem;
  font-size: 0.92rem;
}

.hero {
  display: block;
  width: 100%;
  max-height: 420px;
  margin: 0 0 1rem;
  object-fit: cover;
  border-radius: 18px;
  background: var(--soft);
}

.notice {
  max-width: 42rem;
  margin: 0 0 1.3rem;
  padding: 0.9rem 1rem;
  border: 1px solid var(--line);
  border-left: 4px solid var(--swatch, var(--accent));
  border-radius: 14px;
  background: var(--card);
}

.notice-label {
  margin: 0 0 0.2rem;
  color: var(--swatch, var(--accent));
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.notice p {
  margin: 0;
}

.notice a,
.prose a,
.mail {
  color: var(--accent);
  font-weight: 600;
}

.prose,
.static-prose {
  max-width: 42rem;
}

.prose h2 {
  margin: 1.7rem 0 0.35rem;
  font-size: 1.45rem;
}

.prose p,
.prose ul,
.prose ol,
.prose blockquote {
  margin: 0.8rem 0;
}

.prose ul,
.prose ol {
  padding-left: 1.2rem;
}

.prose blockquote {
  margin-left: 0;
  padding: 0.8rem 1rem;
  border-radius: 12px;
  background: var(--card);
}

.prose code {
  font-family: ui-monospace, "JetBrains Mono", monospace;
  font-size: 0.9em;
}

.contact-card {
  max-width: 28rem;
  margin-top: 1.4rem;
  padding: 1.05rem 1.15rem 1.15rem;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--card);
}

.contact-card h2 {
  margin: 0 0 0.35rem;
  font-size: 1.4rem;
}

.contact-card p {
  margin: 0;
  color: var(--muted);
}

.mail {
  display: inline-block;
  margin-top: 0.55rem;
  font-family: var(--font-heading);
  text-decoration: none;
}

.empty {
  color: var(--muted);
}

@media (max-width: 860px) {
  .shell {
    display: block;
  }

  .sidebar {
    width: auto;
    min-height: 0;
    gap: 0.4rem;
  }

  .side-nav,
  .side-foot {
    flex-direction: row;
    flex-wrap: wrap;
  }

  .side-nav {
    margin-top: 0.9rem;
  }

  .maincol {
    min-height: 0;
  }

  .pane {
    padding: 1.2rem 1rem 2.4rem;
  }

  .cards,
  .card a {
    grid-template-columns: 1fr;
  }

  .media {
    height: 180px;
    min-height: 180px;
  }

  .rows li {
    grid-template-columns: 2.4rem 1fr;
  }

  .rows time {
    grid-column: 2;
  }
}
