:root {
  --orange: #f56600;
  --orange-dark: #b94700;
  --purple: #522d80;
  --purple-dark: #2e1a47;
  --ink: #24242a;
  --muted: #626269;
  --line: #d8d8d2;
  --paper: #fff;
  --ground: #f4f4f1;
  --green: #8a9a16;
  --focus: #1479b8;
  --wrap: 1120px;
}

* { box-sizing: border-box; }
html { min-height: 100%; }
body {
  min-height: 100%;
  margin: 0;
  background: var(--ground);
  color: var(--ink);
  font: 16px/1.55 Arial, Helvetica, sans-serif;
}
img { max-width: 100%; height: auto; }
a { color: var(--purple); }
button { font: inherit; }
[hidden] { display: none !important; }
:where(a[href], button, input, select, textarea, summary, [tabindex]:not([tabindex="-1"])):focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
}
.wrap { width: min(var(--wrap), calc(100% - 36px)); margin: 0 auto; }
.catalog-hero {
  color: #fff;
  background:
    radial-gradient(circle at 88% 22%, rgba(245, 102, 0, 0.35), transparent 30%),
    linear-gradient(135deg, var(--purple-dark), var(--purple));
}
.catalog-hero__inner { width: min(calc(100% - 28px), var(--wrap)); margin: 0 auto; padding: 52px 0 58px; }
.catalog-hero__kicker { display: flex; min-height: 44px; align-items: center; justify-content: space-between; gap: 16px; }
.eyebrow { margin: 0; color: #ffc29b; font-size: 0.72rem; font-weight: 800; letter-spacing: 0; text-transform: uppercase; }
.catalog-hero h1 {
  max-width: 980px;
  margin: 8px 0 14px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.25rem, 10vw, 4.35rem);
  letter-spacing: 0;
  line-height: 0.98;
}
.catalog-hero h1 span { display: block; }
.catalog-hero__heading > p { max-width: 600px; margin: 0 0 24px; color: rgba(255, 255, 255, 0.82); font-size: 1.05rem; }

.landing-share { position: relative; flex: 0 0 auto; }
.landing-share__trigger {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.45);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.96);
  color: var(--purple);
  cursor: pointer;
}
.landing-share__trigger:hover,
.landing-share__trigger[aria-expanded="true"] { background: #f1edf5; }
.landing-share__trigger:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; }
.landing-share__trigger svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}
.landing-share__menu {
  position: fixed;
  z-index: 1500;
  display: grid;
  width: min(210px, calc(100vw - 16px));
  overflow: hidden;
  border: 1px solid #b8bec7;
  border-radius: 6px;
  background: #fff;
  color: var(--ink);
  box-shadow: 0 12px 28px rgba(25, 30, 36, 0.22);
}
.landing-share__menu a,
.landing-share__menu button {
  display: flex;
  width: 100%;
  min-height: 39px;
  align-items: center;
  margin: 0;
  padding: 8px 12px;
  border: 0;
  border-radius: 0;
  background: #fff;
  color: var(--ink);
  font-size: 0.82rem;
  font-weight: 700;
  text-align: left;
  text-decoration: none;
  cursor: pointer;
}
.landing-share__menu a:hover,
.landing-share__menu button:hover { background: #f1f3f5; }
.landing-share__menu a:focus-visible,
.landing-share__menu button:focus-visible { position: relative; z-index: 1; outline: 2px solid var(--purple); outline-offset: -2px; }
.landing-share__status { color: #3f2853; font-size: 0.75rem; font-weight: 700; line-height: 1.3; }
.landing-share__status:not(:empty) { min-height: 32px; padding: 8px 12px; background: #f1edf5; }

.directory-content { padding-top: 38px; padding-bottom: 58px; }
.directory-section + .directory-section { margin-top: 42px; padding-top: 34px; border-top: 1px solid #d5d5cf; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 18px; }
.section-heading h2 { margin: 0; font-family: Georgia, "Times New Roman", serif; font-size: 1.8rem; line-height: 1.2; }
.section-heading p { max-width: 560px; margin: 0; color: var(--muted); }
.event-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.event-card { overflow: hidden; border: 1px solid #dcdcd7; border-radius: 8px; background: #fff; box-shadow: 0 8px 24px rgba(46, 26, 71, 0.07); }
.event-card__image { aspect-ratio: 16 / 8; overflow: hidden; border-bottom: 4px solid #b5c72c; background: #e8e8e4; }
.event-card__image img { width: 100%; height: 100%; object-fit: cover; }
.event-card__body { display: grid; gap: 12px; padding: 20px; }
.event-card__eyebrow { color: var(--orange-dark); font-size: 0.78rem; font-weight: 700; text-transform: uppercase; }
.event-card h3 { margin: 0; font-family: Georgia, "Times New Roman", serif; font-size: 1.28rem; line-height: 1.25; }
.event-card p { margin: 0; color: #56565e; }
.event-meta { display: grid; gap: 6px; margin: 0; }
.event-meta div { display: grid; grid-template-columns: 62px minmax(0, 1fr); gap: 10px; }
.event-meta dt { color: var(--purple); font-weight: 700; }
.event-meta dd { margin: 0; color: #4e4e55; }
.event-link {
  justify-self: start;
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  border-radius: 6px;
  background: var(--purple);
  color: #fff;
  padding: 9px 14px;
  font-weight: 700;
  text-decoration: none;
}
.event-link:hover { background: #3f205d; }
.event-link:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; }
.empty-state { border-left: 5px solid var(--orange); background: #fff; padding: 18px; }

.site-footer { background: var(--ground); color: var(--muted); }
.site-footer__inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 18px;
  padding: 24px 0;
  border-top: 1px solid var(--line);
  font-size: 0.82rem;
}
.site-footer a { color: var(--purple); font-weight: 700; }
.site-footer a:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; }

@media (min-width: 700px) {
  .catalog-hero__inner { padding-top: 76px; padding-bottom: 82px; }
}

@media (max-width: 900px) {
  .section-heading { display: grid; gap: 8px; }
}

@media (max-width: 760px) {
  .event-grid { grid-template-columns: 1fr; }
}

@media (max-width: 520px) {
  .catalog-hero h1 { font-size: clamp(2.15rem, 11vw, 3.2rem); }
  .site-footer__inner { display: grid; }
}
