:root {
  color-scheme: light;
  --ink: #163033;
  --muted: #607174;
  --line: #d7e5df;
  --paper: #fffaf0;
  --surface: #ffffff;
  --teal: #067a78;
  --green: #287a50;
  --yellow: #f4b83f;
  --red: #c94f3d;
  --shadow: 0 18px 45px rgba(22, 48, 51, .14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: #f6fbf8;
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.5;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select {
  font: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 76px;
  padding: 14px clamp(18px, 4vw, 56px);
  background: rgba(255, 250, 240, .92);
  border-bottom: 1px solid rgba(215, 229, 223, .8);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 210px;
}

.brand-mark {
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  color: white;
  background: var(--teal);
  border-radius: 8px;
  font-weight: 800;
}

.brand strong,
.brand small {
  display: block;
}

.brand small {
  color: var(--green);
  font-weight: 700;
  letter-spacing: 0;
}

.nav {
  display: flex;
  align-items: center;
  gap: clamp(14px, 3vw, 34px);
  color: #254c50;
  font-weight: 700;
}

.nav a:hover {
  color: var(--teal);
}

.menu-button {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
}

.menu-button span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 5px auto;
  background: var(--ink);
}

.hero {
  position: relative;
  min-height: clamp(620px, 78vh, 760px);
  overflow: hidden;
  background: #163033;
}

.hero-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(12, 40, 43, .88) 0%, rgba(12, 40, 43, .62) 42%, rgba(12, 40, 43, .12) 78%),
    linear-gradient(0deg, rgba(12, 40, 43, .7) 0%, rgba(12, 40, 43, 0) 38%);
}

.hero-content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: min(720px, calc(100% - 36px));
  min-height: clamp(620px, 78vh, 760px);
  margin-left: clamp(18px, 6vw, 86px);
  padding: 72px 0 132px;
  color: white;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--yellow);
  font-size: .82rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1 {
  max-width: 11ch;
  margin: 0;
  font-size: clamp(3.1rem, 8vw, 7rem);
  line-height: .95;
  letter-spacing: 0;
}

.hero-copy {
  max-width: 620px;
  margin: 24px 0 34px;
  color: rgba(255, 255, 255, .9);
  font-size: clamp(1.1rem, 2.2vw, 1.45rem);
}

.search-panel {
  width: min(640px, 100%);
  padding: 16px;
  background: rgba(255, 255, 255, .96);
  border: 1px solid rgba(255, 255, 255, .45);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.search-panel label {
  display: block;
  margin-bottom: 8px;
  color: var(--ink);
  font-size: .9rem;
  font-weight: 800;
}

.search-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
}

.search-row input,
.register-form input,
.register-form select {
  width: 100%;
  min-height: 48px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0 14px;
  color: var(--ink);
  background: white;
}

.search-row button,
.register-form button {
  min-height: 48px;
  border: 0;
  border-radius: 8px;
  padding: 0 20px;
  color: white;
  background: var(--teal);
  font-weight: 800;
  cursor: pointer;
}

.quick-access {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  width: min(1180px, calc(100% - 36px));
  margin: -72px auto 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--line);
  box-shadow: var(--shadow);
}

.quick-access a {
  min-height: 118px;
  padding: 22px;
  background: var(--surface);
}

.quick-access span {
  display: block;
  color: var(--muted);
  font-weight: 700;
}

.quick-access strong {
  display: block;
  margin-top: 12px;
  color: var(--green);
  font-size: 2rem;
  line-height: 1;
}

.section {
  width: min(1180px, calc(100% - 36px));
  margin: 0 auto;
  padding: 82px 0 0;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 28px;
}

.section-heading h2 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 3.4rem);
  line-height: 1.04;
  letter-spacing: 0;
}

.section-heading p:not(.eyebrow) {
  color: var(--muted);
}

.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 22px;
}

.filter {
  min-height: 40px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0 14px;
  color: var(--ink);
  background: white;
  cursor: pointer;
}

.filter.active {
  color: white;
  border-color: var(--teal);
  background: var(--teal);
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.directory-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.listing-card,
.news-card {
  min-height: 230px;
  padding: 22px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 10px 28px rgba(22, 48, 51, .08);
}

.tag,
.news-card span {
  display: inline-flex;
  min-height: 28px;
  align-items: center;
  border-radius: 8px;
  padding: 0 10px;
  color: #17413e;
  background: #d9f2ec;
  font-size: .78rem;
  font-weight: 800;
}

.listing-card h3,
.news-card h3 {
  margin: 18px 0 10px;
  font-size: 1.2rem;
  line-height: 1.18;
}

.listing-card p,
.news-card p {
  color: var(--muted);
}

.listing-card a {
  display: inline-flex;
  margin-top: 10px;
  color: var(--teal);
  font-weight: 800;
}

.split {
  display: grid;
  grid-template-columns: minmax(280px, .8fr) minmax(0, 1.2fr);
  gap: 42px;
  align-items: start;
}

.event-list {
  display: grid;
  gap: 14px;
}

.event-list article {
  display: grid;
  grid-template-columns: 86px 1fr;
  gap: 18px;
  align-items: center;
  min-height: 116px;
  padding: 18px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.event-list time {
  display: grid;
  min-height: 76px;
  place-items: center;
  color: white;
  background: var(--red);
  border-radius: 8px;
  font-weight: 900;
  text-align: center;
}

.event-list h3 {
  margin: 0 0 6px;
}

.event-list p {
  margin: 0;
  color: var(--muted);
}

.register {
  display: grid;
  grid-template-columns: minmax(280px, .85fr) minmax(0, 1.15fr);
  gap: 44px;
  align-items: start;
  padding-bottom: 82px;
}

.register-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  padding: 22px;
  background: var(--paper);
  border: 1px solid #eadbbf;
  border-radius: 8px;
}

.register-form label {
  display: grid;
  gap: 8px;
  color: #2f4a47;
  font-weight: 800;
}

.register-form button,
.form-status {
  grid-column: 1 / -1;
}

.form-status {
  min-height: 24px;
  margin: 0;
  color: var(--green);
  font-weight: 800;
}

.site-footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  padding: 28px clamp(18px, 4vw, 56px);
  color: white;
  background: #163033;
}

@media (max-width: 920px) {
  .nav {
    position: absolute;
    top: 76px;
    right: 18px;
    display: none;
    width: min(280px, calc(100vw - 36px));
    padding: 14px;
    background: white;
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: var(--shadow);
  }

  .nav.open {
    display: grid;
  }

  .menu-button {
    display: block;
  }

  .quick-access,
  .card-grid,
  .directory-grid,
  .split,
  .register {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 640px) {
  .site-header {
    min-height: 68px;
  }

  .brand {
    min-width: 0;
  }

  .brand-mark {
    width: 42px;
    height: 42px;
  }

  .brand strong {
    font-size: .96rem;
  }

  .nav {
    top: 68px;
  }

  .hero,
  .hero-content {
    min-height: 650px;
  }

  .hero-content {
    width: calc(100% - 32px);
    margin: 0 auto;
    padding-top: 58px;
  }

  h1 {
    max-width: 9ch;
    font-size: clamp(3.3rem, 16vw, 5rem);
  }

  .search-row,
  .quick-access,
  .card-grid,
  .directory-grid,
  .split,
  .register,
  .register-form {
    grid-template-columns: 1fr;
  }

  .quick-access {
    margin-top: -58px;
  }

  .section {
    padding-top: 62px;
  }

  .event-list article {
    grid-template-columns: 72px 1fr;
    gap: 14px;
  }
}
