:root {
  color-scheme: dark;
  --home-void: #0f1117;
  --home-surface: #16181f;
  --home-rule: #2f3442;
  --home-text: #eceef5;
  --home-muted: #9ba1b4;
  --home-green: #3ecf8e;
  --home-blue: #6c8ff5;
}

* { box-sizing: border-box; }

html { min-width: 320px; background: var(--home-void); }

body.calendar-home {
  min-height: 100vh;
  margin: 0;
  color: var(--home-text);
  background:
    linear-gradient(rgba(108, 143, 245, .045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(108, 143, 245, .045) 1px, transparent 1px),
    var(--home-void);
  background-size: 48px 48px;
  font-family: "Jost", "DM Sans", system-ui, sans-serif;
}

.home-shell {
  width: min(1180px, 100%);
  min-height: 100vh;
  margin: 0 auto;
  padding: max(28px, env(safe-area-inset-top)) clamp(22px, 5vw, 72px)
    max(24px, env(safe-area-inset-bottom));
  display: grid;
  grid-template-rows: auto 1fr auto;
}

.home-masthead,
.home-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.home-masthead {
  padding-bottom: 24px;
  border-bottom: 1px solid var(--home-rule);
}

.home-brand { display: flex; align-items: center; gap: 14px; }
.home-brand img { width: 48px; height: 48px; }
.home-brand span { display: grid; gap: 1px; }
.home-brand strong {
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(19px, 2vw, 24px);
  line-height: 1.1;
  letter-spacing: -.02em;
}
.home-brand small,
.home-zone,
.home-footer {
  color: var(--home-muted);
  font-size: 12px;
  letter-spacing: .09em;
  text-transform: uppercase;
}

.home-zone { display: flex; align-items: center; gap: 9px; margin: 0; }
.home-zone span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--home-green);
  box-shadow: 0 0 0 5px rgba(62, 207, 142, .1);
}

.home-main {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(360px, .95fr);
  align-items: center;
  gap: clamp(56px, 9vw, 130px);
  padding: clamp(64px, 10vh, 120px) 0;
}

.home-intro { max-width: 650px; }
.home-eyebrow {
  margin: 0 0 20px;
  color: var(--home-green);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.home-intro h1 {
  margin: 0;
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(52px, 8vw, 104px);
  font-weight: 700;
  line-height: .91;
  letter-spacing: -.055em;
}
.home-intro h1 em { color: var(--home-green); font-weight: inherit; }
.home-lead {
  max-width: 520px;
  margin: 30px 0 0;
  color: #c8cbd8;
  font-size: clamp(17px, 2vw, 21px);
  line-height: 1.55;
}

.home-destinations {
  border-top: 1px solid var(--home-rule);
  animation: home-rise .55s ease-out both;
}

.home-action {
  position: relative;
  min-height: 144px;
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr) auto;
  align-items: center;
  gap: 18px;
  padding: 25px 4px;
  border-bottom: 1px solid var(--home-rule);
  color: var(--home-text);
  text-decoration: none;
  transition: border-color .18s ease, padding .18s ease, background .18s ease;
}
.home-action::before {
  content: "";
  position: absolute;
  inset: 16px auto 16px -16px;
  width: 3px;
  background: transparent;
  transition: background .18s ease;
}
.home-action:hover,
.home-action:focus-visible {
  padding-right: 12px;
  padding-left: 12px;
  background: rgba(255, 255, 255, .025);
  border-color: #4a5164;
  outline: none;
}
.home-action--programs:hover::before,
.home-action--programs:focus-visible::before { background: var(--home-green); }
.home-action--admin:hover::before,
.home-action--admin:focus-visible::before { background: var(--home-blue); }
.home-action-index {
  align-self: start;
  padding-top: 5px;
  color: var(--home-muted);
  font: 600 11px/1 "Geist", monospace;
}
.home-action-copy { display: grid; gap: 8px; }
.home-action-copy strong {
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(27px, 3vw, 37px);
  line-height: 1;
  letter-spacing: -.03em;
}
.home-action-copy small {
  color: var(--home-muted);
  font-size: 14px;
  line-height: 1.45;
}
.home-action-arrow {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border: 1px solid var(--home-rule);
  border-radius: 50%;
  font-size: 20px;
  transition: color .18s ease, border-color .18s ease, transform .18s ease;
}
.home-action:hover .home-action-arrow,
.home-action:focus-visible .home-action-arrow { transform: translate(2px, -2px); }
.home-action--programs:hover .home-action-arrow,
.home-action--programs:focus-visible .home-action-arrow {
  color: var(--home-green);
  border-color: var(--home-green);
}
.home-action--admin:hover .home-action-arrow,
.home-action--admin:focus-visible .home-action-arrow {
  color: var(--home-blue);
  border-color: var(--home-blue);
}

.home-footer {
  padding-top: 20px;
  border-top: 1px solid var(--home-rule);
  letter-spacing: .06em;
}

@keyframes home-rise {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 820px) {
  .home-main {
    grid-template-columns: 1fr;
    align-content: center;
    gap: 52px;
    padding: 60px 0 72px;
  }
  .home-intro h1 { font-size: clamp(52px, 15vw, 84px); }
  .home-destinations { max-width: 620px; }
}

@media (max-width: 520px) {
  .home-shell { padding-inline: 20px; }
  .home-zone { display: none; }
  .home-brand img { width: 44px; height: 44px; }
  .home-main { padding: 48px 0 60px; gap: 40px; }
  .home-lead { margin-top: 22px; font-size: 17px; }
  .home-action {
    min-height: 128px;
    grid-template-columns: 28px minmax(0, 1fr) auto;
    gap: 12px;
  }
  .home-action-copy strong { font-size: 27px; }
  .home-action-arrow { width: 40px; height: 40px; }
  .home-footer { align-items: flex-start; flex-direction: column; gap: 6px; }
}

@media (prefers-reduced-motion: reduce) {
  .home-destinations { animation: none; }
  .home-action,
  .home-action::before,
  .home-action-arrow { transition: none; }
}
