:root {
  color-scheme: light;
  --ink: #18313f;
  --muted: #657680;
  --brand: #244a63;
  --brand-strong: #17384d;
  --gold: #ba8a3d;
  --paper: #fffdfa;
  --line: rgba(36, 74, 99, 0.14);
  --shadow: 0 24px 72px rgba(24, 49, 63, 0.13), 0 3px 10px rgba(24, 49, 63, 0.06);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-synthesis: none;
}

* {
  box-sizing: border-box;
}

html {
  min-width: 20rem;
  background: #edf2f3;
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 12% 0%, rgba(186, 138, 61, 0.13), transparent 28rem),
    radial-gradient(circle at 94% 12%, rgba(36, 74, 99, 0.11), transparent 34rem),
    linear-gradient(180deg, #f8f7f2 0, #edf2f3 72%, #e8eeee 100%);
  line-height: 1.58;
}

a {
  color: inherit;
}

a:focus-visible {
  outline: 3px solid rgba(186, 138, 61, 0.65);
  outline-offset: 4px;
  border-radius: 0.35rem;
}

.skip-link {
  position: fixed;
  z-index: 20;
  top: 0.75rem;
  left: 0.75rem;
  padding: 0.65rem 0.9rem;
  border-radius: 0.65rem;
  color: #fff;
  background: var(--brand-strong);
  transform: translateY(-180%);
}

.skip-link:focus {
  transform: translateY(0);
}

.page-shell {
  width: min(72rem, calc(100% - 2rem));
  margin: 0 auto;
  padding: clamp(1rem, 3vw, 2.5rem) 0 2rem;
}

.site-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: clamp(1rem, 3vw, 2rem);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.72rem;
  text-decoration: none;
}

.brand-mark {
  display: grid;
  width: 2.55rem;
  aspect-ratio: 1;
  place-items: center;
  flex: 0 0 auto;
  border-radius: 50%;
  filter: drop-shadow(0 5px 10px rgba(24, 49, 63, 0.16));
}

.brand-mark img {
  display: block;
  width: 100%;
  height: 100%;
}

.brand-copy {
  display: grid;
  gap: 0.02rem;
}

.brand-copy strong {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1rem, 2.4vw, 1.23rem);
  font-weight: 600;
  letter-spacing: -0.015em;
}

.brand-copy small {
  color: var(--muted);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.quiet-link,
.button-link {
  display: inline-flex;
  min-height: 2.75rem;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  padding: 0.62rem 0.9rem;
  border: 1px solid var(--line);
  border-radius: 0.72rem;
  color: var(--brand-strong);
  background: rgba(255, 253, 250, 0.68);
  font-size: 0.88rem;
  font-weight: 700;
  text-decoration: none;
  transition: transform 160ms ease, border-color 160ms ease, background-color 160ms ease;
}

.quiet-link:hover,
.button-link:hover {
  border-color: rgba(36, 74, 99, 0.35);
  background: #fff;
  transform: translateY(-1px);
}

.button-link--primary {
  border-color: var(--brand);
  color: #fff;
  background: var(--brand);
  box-shadow: 0 9px 24px rgba(36, 74, 99, 0.2);
}

.button-link--primary:hover {
  border-color: var(--brand-strong);
  color: #fff;
  background: var(--brand-strong);
}

.hero-card,
.content-card {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(36, 74, 99, 0.12);
  border-radius: clamp(1.15rem, 2vw, 1.65rem);
  background: rgba(255, 253, 250, 0.94);
  box-shadow: var(--shadow);
}

.hero-card::before {
  position: absolute;
  inset: 0 0 auto;
  height: 0.24rem;
  background: linear-gradient(90deg, var(--brand), var(--gold) 48%, rgba(186, 138, 61, 0.15));
  content: "";
}

.hero-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: clamp(1rem, 4vw, 3rem);
  align-items: end;
  padding: clamp(1.35rem, 4vw, 3.2rem);
}

.eyebrow {
  margin: 0 0 0.45rem;
  color: #8a652d;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

h1,
h2 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 500;
  letter-spacing: -0.025em;
  line-height: 1.08;
}

h1 {
  max-width: 18ch;
  font-size: clamp(2rem, 6vw, 4.15rem);
}

h2 {
  font-size: clamp(1.35rem, 3vw, 2rem);
}

.hero-summary {
  max-width: 46rem;
  margin: 1rem 0 0;
  color: var(--muted);
  font-size: clamp(0.98rem, 2vw, 1.08rem);
}

.hero-meta {
  display: grid;
  min-width: min(100%, 15rem);
  gap: 0.55rem;
  margin: 0;
}

.hero-meta div {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.4rem 0.75rem;
  align-items: baseline;
  padding: 0.62rem 0.72rem;
  border: 1px solid var(--line);
  border-radius: 0.65rem;
  background: rgba(237, 242, 243, 0.46);
}

.hero-meta dt {
  color: var(--muted);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-meta dd {
  margin: 0;
  font-size: 0.88rem;
  font-weight: 700;
  text-align: right;
}

.content-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 18rem;
  gap: 1rem;
  align-items: start;
  margin-top: 1rem;
}

.content-card {
  padding: clamp(1.2rem, 3vw, 2.15rem);
  box-shadow: 0 16px 45px rgba(24, 49, 63, 0.08);
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.2rem;
}

.event-count {
  margin: 0;
  color: var(--muted);
  font-size: 0.82rem;
  white-space: nowrap;
}

.event-list {
  display: grid;
  gap: 0.68rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.event-item {
  display: grid;
  grid-template-columns: 0.45rem minmax(0, 1fr);
  gap: 0.85rem;
  align-items: stretch;
  min-height: 4rem;
  padding: 0.78rem 0.9rem 0.78rem 0.72rem;
  border: 1px solid var(--line);
  border-radius: 0.78rem;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.92), rgba(247, 246, 241, 0.76));
}

.event-swatch {
  width: 100%;
  border-radius: 99px;
  background: var(--event-color, var(--gold));
  box-shadow: inset 0 0 0 1px rgba(24, 49, 63, 0.13);
}

.event-copy {
  display: grid;
  gap: 0.12rem;
  align-content: center;
}

.event-copy strong {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1rem, 2vw, 1.16rem);
  font-weight: 600;
  line-height: 1.3;
}

.event-copy small,
.empty-state {
  color: var(--muted);
}

.empty-state {
  margin: 0;
  padding: 1rem;
  border: 1px dashed rgba(36, 74, 99, 0.24);
  border-radius: 0.8rem;
  background: rgba(237, 242, 243, 0.4);
}

.action-panel {
  position: sticky;
  top: 1rem;
  display: grid;
  gap: 0.65rem;
}

.action-panel .button-link {
  justify-content: flex-start;
}

.action-panel__note {
  margin: 0.4rem 0 0;
  padding-top: 0.9rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.78rem;
}

.mini-icon {
  width: 1.05rem;
  height: 1.05rem;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.article-card {
  max-width: 52rem;
  margin: 0 auto;
}

.article-card p,
.article-card li {
  color: #425962;
}

.article-card h2 {
  margin-top: 1.9rem;
  font-size: 1.35rem;
}

.article-card h2:first-of-type {
  margin-top: 1.35rem;
}

.article-card ul {
  padding-left: 1.2rem;
}

.privacy-note {
  padding: 0.9rem 1rem;
  border-left: 0.22rem solid var(--gold);
  border-radius: 0.25rem 0.7rem 0.7rem 0.25rem;
  background: rgba(186, 138, 61, 0.08);
}

.error-card {
  max-width: 44rem;
  margin: 10vh auto 0;
  text-align: center;
}

.error-card h1 {
  max-width: none;
}

.error-card .button-link {
  margin-top: 0.75rem;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.35rem 0 0.2rem;
  color: var(--muted);
  font-size: 0.78rem;
}

.site-footer p {
  margin: 0;
}

.site-footer nav {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.site-footer a:hover {
  color: var(--brand);
}

@media (max-width: 48rem) {
  .hero-card,
  .content-grid {
    grid-template-columns: 1fr;
  }

  .hero-meta {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hero-meta div:last-child:nth-child(odd) {
    grid-column: 1 / -1;
  }

  .action-panel {
    position: static;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .action-panel__note {
    grid-column: 1 / -1;
  }
}

@media (max-width: 34rem) {
  .page-shell {
    width: min(100% - 1rem, 72rem);
    padding-top: 0.65rem;
  }

  .site-bar {
    align-items: flex-start;
  }

  .brand-copy small,
  .site-bar > .quiet-link {
    display: none;
  }

  .hero-card {
    padding: 1.25rem 1rem;
  }

  .hero-meta,
  .action-panel {
    grid-template-columns: 1fr;
  }

  .hero-meta div:last-child:nth-child(odd),
  .action-panel__note {
    grid-column: auto;
  }

  .content-card {
    padding: 1.05rem 0.9rem;
  }

  .section-heading,
  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}

@media print {
  html,
  body {
    background: #fff;
  }

  .page-shell {
    width: 100%;
    padding: 0;
  }

  .site-bar,
  .action-panel,
  .site-footer,
  .skip-link {
    display: none !important;
  }

  .hero-card,
  .content-card {
    border-color: #bbb;
    border-radius: 0;
    box-shadow: none;
  }

  .hero-card {
    padding: 1rem 0 1.25rem;
  }

  .content-grid {
    display: block;
  }

  .content-card {
    padding: 1rem 0;
  }
}
