@font-face {
  font-family: Barlow Condensed;
  src: url(fonts/BarlowCondensed-ExtraBold.ttf) format("truetype");
  font-weight: 800;
  font-display: swap;
}
:root {
  --ink: #101010;
  --pink: #ff2896;
  --yellow: #f5f3eb;
  --paper: #f8f3e9;
  --line: #b9b9ad;
  color: var(--ink);
  background: var(--paper);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 17px;
  line-height: 1.55;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
}
a {
  color: inherit;
  text-underline-offset: 0.21em;
}
a:hover {
  text-decoration-thickness: 3px;
}
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 4px solid #a20051;
  outline-offset: 4px;
}
.skip {
  position: absolute;
  left: 1rem;
  top: -6rem;
  z-index: 5;
  background: white;
  padding: 0.7rem;
}
.skip:focus {
  top: 0.4rem;
}
header {
  background: var(--ink);
  color: var(--paper);
  border-bottom: 1px solid #474740;
}
.nav,
footer {
  max-width: 1400px;
  margin: auto;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: center;
  padding: 1rem clamp(1.1rem, 5vw, 5rem);
}
.brand {
  font:
    800 clamp(1.5rem, 3vw, 2.1rem)/1 "Barlow Condensed",
    sans-serif;
  letter-spacing: -0.04em;
  text-decoration: none;
  white-space: nowrap;
}
.brand em {
  color: var(--pink);
  font-style: normal;
}
nav {
  display: flex;
  gap: clamp(0.6rem, 2.1vw, 2rem);
  flex-wrap: wrap;
}
nav a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-size: 0.91rem;
  font-weight: 700;
}
.hero {
  display: grid;
  grid-template-columns: 1.03fr 1fr;
  background: var(--ink);
  color: var(--paper);
  overflow: hidden;
}
.hero-copy {
  padding: clamp(2rem, 5vw, 5rem);
  padding-right: 1rem;
  align-self: center;
}
.hero figure {
  margin: 0;
  overflow: hidden;
  min-height: 100%;
  background: var(--pink);
}
.hero figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.overline {
  font: 700 0.78rem/1.4 monospace;
  text-transform: uppercase;
  letter-spacing: 0.09em;
}
.hero .overline {
  color: var(--yellow);
}
h1,
h2,
h3,
.directory strong {
  font-family: "Barlow Condensed", "Arial Narrow", sans-serif;
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 0.98;
}
h1 {
  font-size: clamp(3.2rem, 7.5vw, 7rem);
  margin: 0.22em 0;
}
.hero h1 {
  font-size: clamp(4rem, 8.8vw, 8.4rem);
  line-height: 0.87;
  margin: 0.18em 0 0.22em;
}
.hero h1 em {
  font-style: normal;
  color: var(--pink);
}
h2 {
  font-size: clamp(2.4rem, 4.4vw, 4.4rem);
  margin: 0.65em 0 0.24em;
}
h3 {
  font-size: 2.3rem;
  margin: 0.4em 0;
}
.lead {
  font-size: clamp(1.13rem, 1.7vw, 1.5rem);
  line-height: 1.43;
  max-width: 36em;
}
.hero .lead {
  max-width: 29em;
}
.actions {
  display: flex;
  align-items: center;
  gap: 1.4rem;
  flex-wrap: wrap;
  margin: 1.8rem 0 0.45rem;
}
.button,
button {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.3rem;
  min-height: 48px;
  font:
    700 1rem Arial,
    sans-serif;
  background: var(--ink);
  color: white;
  text-decoration: none;
  padding: 0.9rem 1.2rem;
  border: 1px solid var(--ink);
  border-radius: 2px;
  cursor: pointer;
}
.bright {
  background: var(--yellow);
  color: var(--ink);
}
.text-link {
  font-weight: bold;
}
.button:hover,
button:hover {
  box-shadow: 4px 4px 0 #64645c;
}
.section {
  padding: clamp(2.3rem, 5vw, 4.6rem) clamp(1.1rem, 5vw, 5rem);
  max-width: 1400px;
  margin: auto;
}
.paper {
  border-bottom: 1px solid var(--line);
}
.split,
.two {
  display: flex;
  gap: 2rem;
  align-items: center;
  justify-content: space-between;
}
.split > div {
  max-width: 45rem;
}
.split h2 {
  margin-top: 0.05em;
}
.split .button {
  flex-shrink: 0;
}
.two {
  align-items: stretch;
}
.two article {
  flex: 1;
  border-top: 3px solid var(--ink);
  padding: 0.9rem 0;
}
.narrow {
  max-width: 860px;
  margin-left: max(0px, calc((100vw - 1400px) / 2));
}
.narrow h2 {
  font-size: 2.25rem;
  margin-top: 1.25em;
}
footer {
  background: var(--ink);
  color: var(--paper);
  max-width: none;
  margin-top: 1rem;
}
footer p {
  margin: 0.3rem 0;
  font-size: 0.85rem;
}
label {
  display: block;
  font-weight: 700;
  margin-bottom: 1rem;
}
input,
select,
textarea {
  display: block;
  width: 100%;
  margin: 0.3rem 0 0;
  border: 1px solid var(--ink);
  border-radius: 2px;
  padding: 0.7rem;
  background: #fffdf7;
  color: var(--ink);
  font: inherit;
}
textarea {
  resize: vertical;
}
.filter {
  display: flex;
  align-items: flex-end;
  gap: 1rem;
  margin: 2rem 0;
}
.filter label {
  flex: 1;
  margin: 0;
}
.filter button {
  min-height: 52px;
}
.directory {
  padding: 0;
  list-style: none;
  margin: 1.3rem 0;
}
.venue-card {
  border-top: 1px solid var(--line);
  padding: 1.35rem 0;
}
.venue-card h2 {
  font-size: clamp(2rem, 3.7vw, 3rem);
  margin: .15rem 0 .4rem;
  overflow-wrap: anywhere;
}
.venue-card h2 a { text-decoration: none; }
.venue-card h2 a:hover { text-decoration: underline; }
.venue-card p { margin: .25rem 0; }
.directory-summary, .venue-tags {
  display: flex;
  flex-wrap: wrap;
  gap: .45rem 1.1rem;
  align-items: baseline;
}
.directory-summary p { margin: 0; font-weight: bold; }
.source-line, .directory-summary a, .note { font-size: .9rem; }
.venue-tags { padding: 0; margin: .65rem 0; list-style: none; }
.venue-tags li {
  max-width: 100%;
  padding: .3rem .6rem;
  border-left: .25rem solid var(--ink);
  background: #ede6de;
  font-size: .86rem;
}
.venue-tags .tag-risk { background: #f5f3eb; border-color: #474740; }
.venue-tags .tag-support, .venue-tags .tag-charity_run { background: #f5f3eb; border-color: #474740; }
.venue-tags .tag-grant { background: #f5f3eb; border-color: #474740; }
.venue-tags time { white-space: nowrap; }
.status,
code {
  display: inline-block;
  background: var(--yellow);
  padding: 0.35rem 0.7rem;
  font-weight: bold;
}
.ledger {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
}
.ledger > * {
  padding: 0.7rem 0;
  border-bottom: 1px solid var(--line);
}
.ledger dd {
  margin: 0;
  font-weight: bold;
}
hr {
  border: 0;
  border-top: 1px solid var(--line);
  margin: 2rem 0;
}
main {
  min-height: 62vh;
}
[role="alert"] {
  padding: 1rem;
  border-left: 5px solid #474740;
  background: #f5f3eb;
}
@media (max-width: 760px) {
  .hero {
    grid-template-columns: 1fr;
  }
  .hero-copy {
    padding: 2rem 1.1rem;
  }
  .hero h1 {
    font-size: clamp(4.1rem, 15vw, 7.4rem);
  }
  .hero figure {
    height: clamp(210px, 56vw, 350px);
    min-height: 0;
  }
  .hero figure img {
    object-position: center 61%;
  }
  .split,
  .two,
  .filter,
  footer {
    align-items: stretch;
    flex-direction: column;
    gap: 0.8rem;
  }
  .split .button {
    align-self: flex-start;
  }
  .filter label {
    width: 100%;
  }
  .actions {
    gap: 1rem;
  }
  .nav {
    gap: 0.6rem;
  }
  .nav a {
    font-size: 0.85rem;
  }
  .nav .brand {
    font-size: 1.55rem;
  }
  .directory strong {
    font-size: 2.1rem;
  }
  .ledger {
    grid-template-columns: 1fr 1fr;
  }
  .narrow {
    margin: auto;
  }
}
@media (max-width: 360px) {
  .nav {
    flex-wrap: wrap;
  }
  .hero h1 {
    font-size: 17vw;
  }
}
@media print {
  header,
  footer,
  .skip {
    display: none;
  }
  .section {
    padding: 0;
  }
}
.private-key {
  overflow-wrap: anywhere;
  max-width: 100%;
}
summary {
  cursor: pointer;
  text-decoration: underline;
  padding: 0.6rem 0;
}
details {
  margin: 1rem 0;
}
h1,
.directory strong,
dd {
  overflow-wrap: anywhere;
}

.preview-strip {
  padding: .65rem clamp(1.1rem, 5vw, 5rem);
  background: var(--yellow);
  color: var(--ink);
  font-size: .9rem;
  font-weight: 700;
}

.scope-switch {
  display: flex;
  flex-wrap: wrap;
  gap: .45rem;
  margin: 1.5rem 0;
}
.scope-switch a {
  border: 1px solid var(--ink);
  padding: .45rem .85rem;
  text-decoration: none;
}
.scope-switch a[aria-current="page"] {
  background: var(--ink);
  color: var(--paper);
}
.scope-switch span { margin-left: .45rem; font-size: .85em; }
.scope-switch a:hover { text-decoration: underline; }
.venue-tags .tag-emerging { background: #f5f3eb; border-color: #474740; }
@media (min-width: 761px) {
  .filter { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)) auto; }
  .filter label:first-child { grid-column: span 2; }
}


.art-forms { background: var(--yellow); }
.art-forms h2 { margin: .1em 0 .45em; }
.art-forms nav { gap: .5rem .75rem; }
.art-forms nav a { border: 1px solid var(--ink); padding: .3rem .75rem; }

@media (max-width: 460px) {
  .nav { flex-direction: column; align-items: flex-start; gap: .2rem; padding-block: .7rem .25rem; }
  .nav nav { width: 100%; justify-content: space-between; gap: .4rem; }
}
