: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; }
.visually-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  margin: -1px !important;
  padding: 0 !important;
  border: 0 !important;
  clip: rect(0 0 0 0) !important;
  clip-path: inset(50%) !important;
  white-space: nowrap !important;
}

.skip-link {
  position: fixed;
  top: 8px;
  left: 8px;
  z-index: 10000;
  padding: 10px 14px;
  border: 2px solid var(--purple);
  border-radius: 4px;
  background: #fff;
  color: var(--purple);
  font-weight: 800;
  transform: translateY(calc(-100% - 12px));
}
.skip-link:focus {
  outline: 3px solid var(--focus);
  outline-offset: 2px;
  transform: translateY(0);
}

.site-header {
  position: sticky;
  z-index: 20;
  top: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(46, 26, 71, 0.98);
  color: #fff;
}
.site-header__inner {
  display: flex;
  min-height: 60px;
  width: min(calc(100% - 24px), var(--wrap));
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin: 0 auto;
}
.brand {
  display: inline-flex;
  min-width: 0;
  align-items: center;
  gap: 9px;
  color: #fff;
  text-decoration: none;
}
.brand__leaf { width: 42px; height: 42px; flex: 0 0 42px; object-fit: contain; }
.brand__text { display: grid; min-width: 0; line-height: 1; }
.brand__text strong { font-size: 1rem; font-weight: 850; }
.brand__text small {
  margin-top: 3px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.64rem;
  font-weight: 700;
  letter-spacing: 0;
}
.menu-button {
  display: grid;
  width: 44px;
  height: 44px;
  place-content: center;
  gap: 5px;
  padding: 0;
  border: 0;
  background: transparent;
  color: #fff;
  cursor: pointer;
}
.menu-button span { display: block; width: 22px; height: 2px; border-radius: 2px; background: currentColor; }
.menu-button:focus-visible,
.site-nav__more-trigger:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; }
.site-nav {
  position: absolute;
  top: 60px;
  right: 12px;
  left: 12px;
  display: none;
  padding: 8px;
  border-radius: 8px;
  background: var(--purple-dark);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.24);
}
.site-nav[data-open="true"] { display: grid; }
.site-nav__more { position: relative; }
.site-nav__more-trigger {
  display: none;
  width: 100%;
  min-height: 44px;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 11px 12px;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: #fff;
  font-weight: 700;
  cursor: pointer;
}
.site-nav__more-trigger:hover,
.site-nav__more-trigger[aria-expanded="true"] { background: rgba(255, 255, 255, 0.1); }
.site-nav__more-trigger > span {
  width: 8px;
  height: 8px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: translateY(-2px) rotate(45deg);
  transition: transform 150ms ease;
}
.site-nav__more-trigger[aria-expanded="true"] > span { transform: translateY(2px) rotate(225deg); }
.site-nav__more-menu {
  display: grid;
  overflow: hidden;
  margin-top: 5px;
  padding: 6px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.22);
}
.site-nav__more-menu a {
  display: flex;
  min-height: 42px;
  align-items: center;
  padding: 9px 10px;
  border-radius: 6px;
  color: var(--ink);
  font-weight: 700;
  text-decoration: none;
}
.site-nav__more-menu a:hover { background: #f1edf5; color: var(--purple-dark); }
.site-nav__more-menu a:focus-visible { position: relative; z-index: 1; outline: 3px solid var(--focus); outline-offset: -2px; }
.site-nav__more-menu hr { width: 100%; margin: 5px 0; border: 0; border-top: 1px solid var(--line); }

.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) {
  .menu-button { display: none; }
  .site-nav,
  .site-nav[data-open="true"] { position: static; display: flex; flex: 0 0 auto; align-items: center; padding: 0; background: transparent; box-shadow: none; }
  .site-nav__more { flex: 0 0 auto; }
  .site-nav__more-trigger { display: flex; width: auto; white-space: nowrap; }
  .site-nav__more-menu { position: absolute; top: calc(100% + 7px); right: 0; width: 245px; margin: 0; }
  .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; }
}

@media (max-width: 380px) {
  .brand__leaf { width: 38px; height: 38px; flex-basis: 38px; }
  .brand__text strong { font-size: 0.92rem; }
  .brand__text small { font-size: 0.58rem; }
}

@media (prefers-reduced-motion: reduce) {
  .site-nav__more-trigger > span { transition: none; }
}
