/* Bring your bunny (or something) — shared styles */

:root {
  --ink:        #1c1c1c;
  --ink-soft:   #4a4a4a;
  --ink-faint:  #767676;
  --paper:      #ffffff;
  --card:       #fafafa;
  --line:       #e2e2e2;
  --accent:     #084FA6;
  --band:       #084FA6;
  --sans:       "Outfit", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --maxw:       860px;
  --radius:     16px;
}

@media (prefers-color-scheme: dark) {
  :root {
    --ink:       #ececec;
    --ink-soft:  #bdbdbd;
    --ink-faint: #8e8e8e;
    --paper:     #16181c;
    --card:      #1e2126;
    --line:      #31353c;
  }
}

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

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }

.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 20px; }

/* ---------- top bar ---------- */

.topbar { border-bottom: 1px solid var(--line); }
.topbar-inner { display: flex; align-items: center; gap: 16px; min-height: 54px; }
.brand {
  font-weight: 600; font-size: .95rem;
  text-decoration: none; white-space: nowrap;
}
.topnav {
  margin-left: auto; display: flex; gap: 2px;
  flex-wrap: nowrap; min-width: 0;
  overflow-x: auto; scrollbar-width: none; -ms-overflow-style: none;
}
.topnav::-webkit-scrollbar { display: none; }
.topnav a {
  flex: 0 0 auto;
  text-decoration: none; font-size: .875rem;
  color: var(--ink-faint); padding: 5px 10px; border-radius: 4px;
}
.topnav a:hover { color: var(--ink); }
.topnav a[aria-current="page"] { color: var(--ink); font-weight: 500; }

/* ---------- header band ---------- */

.band { background: var(--band); color: #fff; }
.band-inner { padding: 44px 20px 40px; }
.band .kicker {
  margin: 0 0 10px;
  font-size: .78rem; font-weight: 500; letter-spacing: .06em; text-transform: uppercase;
  color: rgba(255, 255, 255, .72);
}
.band h1 {
  font-size: clamp(1.75rem, 4.5vw, 2.4rem);
  font-weight: 600; line-height: 1.2; letter-spacing: -.01em;
  margin: 0;
}
.band .where { margin: 6px 0 0; font-size: 1.15rem; font-weight: 500; color: rgba(255, 255, 255, .88); }
.band .lede { margin: 18px 0 0; max-width: 58ch; color: rgba(255, 255, 255, .88); }
.band .links { margin: 22px 0 0; display: flex; flex-wrap: wrap; gap: 10px 20px; font-size: .95rem; }
.band .links a { color: #fff; }

.facts {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 20px 28px; margin: 26px 0 0; padding: 20px 0 0;
  border-top: 1px solid rgba(255, 255, 255, .28);
}
.facts dt {
  font-size: .74rem; font-weight: 500; letter-spacing: .06em; text-transform: uppercase;
  color: rgba(255, 255, 255, .68);
}
.facts dd { margin: 3px 0 0; font-weight: 500; }
.facts dd small { display: block; font-weight: 400; font-size: .85rem; color: rgba(255, 255, 255, .72); }

/* ---------- content ---------- */

section { padding: 38px 0 0; }

h2 {
  font-size: 1.15rem; font-weight: 600; letter-spacing: .01em;
  margin: 0 0 14px; padding-bottom: 8px;
  border-bottom: 1px solid var(--line);
}
h3 { font-size: 1rem; font-weight: 600; line-height: 1.35; margin: 0 0 2px; }
p { margin: 0 0 1em; }
.prose { max-width: 68ch; color: var(--ink-soft); }
.prose p:last-child { margin-bottom: 0; }
.prose strong { color: var(--ink); font-weight: 600; }

.note {
  border: 1px solid var(--line);
  border-left: 3px solid var(--accent);
  background: var(--card);
  padding: 14px 18px;
  color: var(--ink-soft);
}
.note p:last-child { margin-bottom: 0; }
.note strong { color: var(--ink); }

/* details */
.detail-list { margin: 0; }
.detail-list > div {
  display: grid; grid-template-columns: minmax(120px, 170px) 1fr;
  gap: 4px 24px; padding: 11px 0;
  border-bottom: 1px solid var(--line);
  align-items: baseline;
}
.detail-list > div:last-child { border-bottom: 0; }
.detail-list dt { font-size: .95rem; color: var(--ink-faint); }
.detail-list dd { margin: 0; }
.detail-list dd small { display: block; color: var(--ink-faint); font-size: .88rem; }

/* organizers */
.people { list-style: none; margin: 0; padding: 0; columns: 2; column-gap: 32px; }
.people li { margin: 0 0 8px; break-inside: avoid; }
.people span { color: var(--ink-faint); }

/* editions */
.editions { list-style: none; margin: 0; padding: 0; }
.editions li { border-bottom: 1px solid var(--line); }
.editions li:last-child { border-bottom: 0; }
.edition {
  display: grid; grid-template-columns: 34px 1fr;
  gap: 4px 16px; padding: 14px 0;
  text-decoration: none;
}
a.edition:hover h3 { text-decoration: underline; }
.edition .num { color: var(--ink-faint); font-variant-numeric: tabular-nums; }
.edition .meta { font-size: .92rem; color: var(--ink-faint); }
.tag {
  display: inline-block; margin-left: 6px;
  font-size: .7rem; font-weight: 500; letter-spacing: .04em; text-transform: uppercase;
  padding: 1px 7px; border: 1px solid var(--line); border-radius: 3px;
  color: var(--ink-faint); vertical-align: 2px;
}

/* figure */
figure { margin: 0; }
figure img { border: 1px solid var(--line); border-radius: var(--radius); }
figcaption { margin-top: 8px; font-size: .88rem; color: var(--ink-faint); }

.split { display: grid; grid-template-columns: 1fr 300px; gap: 32px; align-items: start; }

@media (max-width: 700px) {
  .split { grid-template-columns: 1fr; gap: 20px; }
  .detail-list > div { grid-template-columns: 1fr; }
  .people { columns: 1; }
  .band-inner { padding: 34px 20px 32px; }
}

footer.site {
  margin-top: 48px;
  border-top: 1px solid var(--line);
  padding: 20px 0 40px;
  color: var(--ink-faint); font-size: .9rem;
}
footer.site p { margin: 0; }
