/* Public discovery pages share the printed-ledger language of the marketplace. */
:root {
  color-scheme: light;
  --paper: #f5f4f0;
  --ink: #171713;
  --muted: #53534d;
  --rule: #c5c4ba;
  --red: #bc261b;
  --display: Archivo, "Arial Narrow", "Franklin Gothic Medium", Arial, sans-serif;
  --body: Archivo, Arial, sans-serif;
  --mono: "JetBrains Mono", Consolas, "Liberation Mono", monospace;
  --edge: clamp(1rem, 4.5vw, 4.75rem);
}
*, *::before, *::after { box-sizing: border-box; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 1rem/1.55 var(--body);
  overflow-wrap: break-word;
}
a { color: inherit; text-underline-offset: .18em; }
a:focus-visible { outline: 3px solid #204aa5; outline-offset: 4px; }
img { display: block; max-width: 100%; height: auto; }
::selection { color: #fff; background: var(--red); }
.skip-link:not(:focus), .skip:not(:focus) {
  position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%);
}
.skip-link:focus, .skip:focus {
  display: inline-block; padding: .6rem var(--edge); background: white;
}
.site-head, main, footer {
  width: min(100%, 88rem); margin-inline: auto; padding-inline: var(--edge);
}
.site-head {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: .35rem 2rem; padding-block: 1rem .7rem; border-bottom: 2px solid var(--ink);
}
.brand {
  display: inline-flex; align-items: center; gap: .12rem; min-height: 44px;
  font: 900 clamp(1.45rem, 2.8vw, 2rem)/1 var(--display);
  letter-spacing: -.055em; text-decoration: none; text-transform: uppercase;
}
.brand img { width: 2.8rem; height: 2.8rem; object-fit: contain; }
nav, .actions { display: flex; flex-wrap: wrap; align-items: center; gap: .25rem 1.2rem; }
nav a, .kicker {
  font: 700 .77rem/1.4 var(--mono); letter-spacing: .055em; text-transform: uppercase;
}
nav a { display: inline-flex; align-items: center; min-height: 44px; text-decoration: none; }
nav a:is(:hover, [aria-current="page"]) { color: var(--red); text-decoration: underline; }
.hero {
  position: relative; padding-block: clamp(2.75rem, 7vw, 6.5rem) clamp(2.5rem, 5.5vw, 5rem);
  border-bottom: 2px solid var(--ink);
}
.hero::after {
  position: absolute; inset: auto 0 -.5rem; height: .4rem; content: "";
  background: repeating-linear-gradient(90deg, var(--ink) 0 1px, transparent 1px 1rem);
}
.kicker { color: var(--red); margin: 0 0 1rem; }
h1, h2, h3 { margin: 0; font-family: var(--display); text-wrap: balance; }
h1 {
  max-width: 19ch; font-size: clamp(2.55rem, 7vw, 6.75rem);
  font-weight: 900; line-height: .97; letter-spacing: -.055em;
}
.intro { max-width: 62ch; margin: 1.4rem 0 0; color: var(--muted); font-size: clamp(1.05rem, 1.6vw, 1.3rem); }
.actions { margin-top: 1.65rem; gap: .7rem; }
.button {
  display: inline-flex; align-items: center; justify-content: center; min-height: 46px;
  padding: .6rem 1.15rem; border: 2px solid var(--ink); background: white;
  font-weight: 700; text-decoration: none;
}
.actions .button:first-of-type { border-color: var(--red); color: white; background: var(--red); }
.button:hover { box-shadow: 3px 3px 0 var(--ink); }
.layout, .article { padding-block: clamp(2.75rem, 5vw, 4.5rem); }
.layout > .article { padding-block: 0; }
.layout > section + section { margin-top: 3rem; }
h2 { font-weight: 800; font-size: clamp(1.5rem, 3.2vw, 2.85rem); line-height: 1.09; letter-spacing: -.035em; }
h3 { font-size: 1.3rem; line-height: 1.2; }
.cards {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 19rem), 1fr));
  margin-top: 1.4rem; gap: 1rem;
}
.card {
  display: block; position: relative; min-width: 0; padding: 1.35rem 2.6rem 1.45rem 1.35rem;
  border: 1px solid var(--ink); border-top-width: 3px; background: #fff; text-decoration: none;
}
a.card::after { content: "↗"; position: absolute; top: 1.3rem; right: 1rem; color: var(--red); font: 1.25rem/1 var(--body); }
.card :is(h2,h3) { font-size: clamp(1.3rem, 2.3vw, 1.95rem); }
.card p { max-width: 62ch; margin: .75rem 0 0; color: var(--muted); }
a.card:hover { border-color: var(--red); }
a.card:hover :is(h2,h3) { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .15em; }
.article { max-width: 71rem; }
.article > section { padding-block: 1.5rem; border-top: 1px solid var(--rule); }
.article > section:first-child { padding-top: 0; border-top: 0; }
.article p, .article :is(ul, ol, dl) { max-width: 67ch; margin: .8rem 0 0; }
.article p, .article li { line-height: 1.7; }
footer { display: flex; flex-wrap: wrap; align-items: baseline; gap: .75rem 2rem; padding-block: 1.5rem 2.75rem; border-top: 2px solid var(--ink); color: var(--muted); font-size: .9rem; }
footer p { margin: 0; }
@media (min-width: 50rem) {
  .article > section { display: grid; grid-template-columns: minmax(12rem, 1fr) minmax(0, 1.7fr); gap: .45rem 3rem; }
  .article > section > h2 { grid-column: 1; grid-row: 1 / span 2; font-size: clamp(1.5rem, 2.8vw, 2.4rem); }
  .article > section > :not(h2) { grid-column: 2; margin-top: 0; }
}
@media print {
  body { background: white; }
  .site-head nav, .actions, .hero::after { display: none; }
  .hero, .layout, .article { padding-block: 1.2rem; }
  h1 { font-size: 2.5rem; }
  .card, .article > section { break-inside: avoid; }
}
nav .account-cta { padding-inline:.85rem; border:1px solid var(--ink); }
nav .language { text-transform:none; letter-spacing:normal; text-decoration:underline; }
a.card::after { content:"\2197"; }
#event-directory {width:100%}
#event-directory [hidden] {display:none!important}
.directory-search {display:grid;gap:.4rem;max-width:40rem;margin:0 0 1.25rem}
.directory-search label {font-weight:700}
.directory-search input,#event-directory input[readonly] {border:1px solid var(--ink);background:white;padding:.7rem .85rem;font:inherit;width:100%}
.directory-button {border:1px solid var(--ink);background:white;color:var(--ink);cursor:pointer;font:inherit;padding:.6rem 1rem;margin:.6rem 0}
.directory-button:focus-visible,.directory-search input:focus-visible {outline:3px solid #204aa5;outline-offset:2px}
#live-events .article {margin:1.5rem 0}
