@font-face {
  font-family: "Open Sans";
  src: url("fonts/open-sans-400.ttf") format("truetype");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "Open Sans";
  src: url("fonts/open-sans-600.ttf") format("truetype");
  font-style: normal;
  font-weight: 600;
  font-display: swap;
}

@font-face {
  font-family: "Open Sans";
  src: url("fonts/open-sans-700.ttf") format("truetype");
  font-style: normal;
  font-weight: 700;
  font-display: swap;
}

@font-face {
  font-family: "Open Sans";
  src: url("fonts/open-sans-800.ttf") format("truetype");
  font-style: normal;
  font-weight: 800;
  font-display: swap;
}

:root {
  --navy: #092b4a;
  --blue: #086bb7;
  --blue-dark: #07568f;
  --teal: #006a70;
  --teal-soft: #dceced;
  --ink: #152d40;
  --muted: #587083;
  --paper: #f2f6f4;
  --cream: #fbfaf6;
  --white: #fff;
  --line: #d7e1df;
  --line-strong: #b9cbc9;
  --sans: "Open Sans", "Clear Sans", Arial, Helvetica, sans-serif;
  --serif: Georgia, "Times New Roman", Times, serif;
  --shadow: 0 18px 50px rgba(14, 50, 63, .09);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 18px;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  line-height: 1.62;
  text-rendering: optimizeLegibility;
}

button,
input,
select,
textarea {
  font: inherit;
}

a,
button,
summary,
select,
input,
textarea {
  outline-offset: 4px;
}

a:focus-visible,
button:focus-visible,
summary:focus-visible,
select:focus-visible,
input:focus-visible,
textarea:focus-visible {
  outline: 3px solid #f2b84b;
}

.public-header {
  min-height: 88px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  padding: .72rem max(1rem, calc((100vw - 92rem) / 2));
  background: rgba(255, 255, 255, .96);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(12px);
}

.public-brand {
  display: flex;
  align-items: center;
  gap: 1.15rem;
  color: var(--navy);
  text-decoration: none;
  font-weight: 800;
}

.public-brand img {
  width: 7.35rem;
  height: 3.7rem;
  object-fit: contain;
  object-position: left center;
}

.public-brand span {
  padding-left: 1.15rem;
  border-left: 1px solid var(--line-strong);
}

.public-header nav {
  display: flex;
  align-items: center;
  gap: 1.45rem;
}

.public-header nav > a {
  color: #324b5c;
  text-decoration: none;
  font-weight: 700;
}

.public-header nav > a:not(.login-link):hover,
.public-header nav > a:not(.login-link):focus-visible {
  color: var(--blue);
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: .28rem;
}

.login-link,
.primary-button,
.secondary-button,
.print-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.15rem;
  border: 1px solid var(--navy);
  border-radius: 999px;
  padding: .72rem 1.35rem;
  color: var(--navy);
  background: var(--white);
  font-weight: 800;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  transition: transform .18s ease, background .18s ease, border-color .18s ease, box-shadow .18s ease;
}

.login-link,
.primary-button {
  border-color: var(--blue);
  background: var(--blue);
  color: var(--white) !important;
  box-shadow: 0 8px 20px rgba(8, 107, 183, .17);
}

.login-link:hover,
.primary-button:hover {
  border-color: var(--blue-dark);
  background: var(--blue-dark);
  transform: translateY(-1px);
}

.hero {
  min-height: 41rem;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background:
    radial-gradient(circle at 76% 34%, rgba(255, 255, 255, .82) 0 13%, rgba(255, 255, 255, 0) 42%),
    linear-gradient(118deg, #dcebed 0%, #edf4f2 52%, #f9faf7 100%);
}

.hero::before {
  content: "";
  position: absolute;
  z-index: -1;
  width: 38rem;
  aspect-ratio: 1;
  right: -6rem;
  top: -14rem;
  border: 1px solid rgba(0, 106, 112, .1);
  border-radius: 50%;
  box-shadow: 0 0 0 6rem rgba(255, 255, 255, .18), 0 0 0 12rem rgba(255, 255, 255, .09);
}

.hero-inner {
  width: min(100% - 2.5rem, 92rem);
  min-height: 36rem;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(24rem, .72fr);
  align-items: center;
  gap: clamp(3rem, 7vw, 8rem);
  padding: clamp(4rem, 7vw, 7rem) 0 8.5rem;
}

.hero-copy {
  max-width: 45rem;
}

.eyebrow {
  margin: 0 0 .68rem;
  color: var(--teal);
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .14em;
  line-height: 1.45;
  text-transform: uppercase;
}

.hero h1,
.public-section h2,
.about-section h2,
.upcoming-panel h2,
.program-month h3,
.event-content h4,
.guest-request-intro h5 {
  font-family: var(--serif);
  color: var(--navy);
  font-weight: 700;
}

.hero h1 {
  max-width: 11ch;
  margin: .18rem 0 1.25rem;
  font-size: clamp(3.55rem, 6.2vw, 6.3rem);
  letter-spacing: -.055em;
  line-height: .97;
}

.hero-text {
  max-width: 37rem;
  margin: 0 0 1.9rem;
  color: #456073;
  font-size: clamp(1.05rem, 1.5vw, 1.3rem);
  line-height: 1.65;
}

.hero-silhouette {
  width: min(110rem, 116vw);
  height: auto;
  position: absolute;
  z-index: -1;
  left: 50%;
  bottom: -2.8rem;
  transform: translateX(-50%);
  opacity: .13;
  filter: saturate(.7);
  pointer-events: none;
}

.upcoming-panel {
  align-self: center;
  border: 1px solid rgba(163, 187, 188, .72);
  border-radius: 1.25rem;
  background: rgba(255, 255, 255, .92);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.upcoming-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.5rem 1.45rem 1.1rem;
  border-bottom: 1px solid var(--line);
}

.upcoming-heading .eyebrow {
  display: block;
  margin-bottom: .15rem;
}

.upcoming-panel h2 {
  margin: 0;
  font-size: 2rem;
  letter-spacing: -.025em;
  line-height: 1.1;
}

.upcoming-heading > a {
  color: var(--blue);
  font-size: .84rem;
  font-weight: 800;
  white-space: nowrap;
}

.upcoming-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.upcoming-list li + li {
  border-top: 1px solid var(--line);
}

.upcoming-list a {
  display: grid;
  grid-template-columns: 3.8rem 1fr 1.25rem;
  align-items: center;
  gap: .9rem;
  padding: .9rem 1.15rem;
  color: var(--ink);
  text-decoration: none;
  transition: background .18s ease;
}

.upcoming-list a:hover {
  background: #f1f7f7;
}

.upcoming-list time {
  display: grid;
  place-items: center;
  align-content: center;
  width: 3.65rem;
  height: 3.65rem;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--cream);
  color: var(--navy);
  line-height: 1;
}

.upcoming-list time strong {
  font-family: var(--serif);
  font-size: 1.42rem;
}

.upcoming-list time span {
  margin-top: .15rem;
  color: var(--muted);
  font-size: .65rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.upcoming-copy {
  min-width: 0;
  display: grid;
}

.upcoming-copy > strong {
  overflow: hidden;
  color: var(--navy);
  font-size: .98rem;
  line-height: 1.32;
  text-overflow: ellipsis;
}

.upcoming-copy small {
  margin-top: .16rem;
  overflow: hidden;
  color: var(--muted);
  font-size: .75rem;
  line-height: 1.35;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.upcoming-group {
  display: flex;
  align-items: center;
  gap: .4rem;
  margin-bottom: .2rem;
  color: var(--teal);
  font-size: .67rem;
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.upcoming-group::before {
  content: "";
  width: .58rem;
  height: .58rem;
  border-radius: 50%;
  background: var(--group);
}

.upcoming-arrow {
  color: var(--blue);
  font-size: 1.25rem;
  transition: transform .18s ease;
}

.upcoming-list a:hover .upcoming-arrow {
  transform: translateX(.18rem);
}

.upcoming-empty {
  margin: 0;
  padding: 2rem 1.5rem;
  color: var(--muted);
}

.public-section {
  width: min(100% - 2rem, 88rem);
  margin: 0 auto;
  padding: clamp(4rem, 7vw, 7rem) 0;
  scroll-margin-top: 6rem;
}

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

.section-heading h2,
.about-section h2 {
  margin: .08rem 0 .3rem;
  font-size: clamp(2.8rem, 5vw, 4.8rem);
  letter-spacing: -.045em;
  line-height: 1;
}

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

.public-filter {
  display: grid;
  grid-template-columns: repeat(2, minmax(14rem, 1fr));
  gap: 1.15rem;
  margin-bottom: 2.8rem;
  padding: 1.25rem;
  border: 1px solid var(--line);
  border-radius: 1rem;
  background: rgba(255, 255, 255, .82);
}

.public-filter label {
  display: grid;
  gap: .38rem;
  color: var(--navy);
  font-size: .88rem;
  font-weight: 800;
}

.public-filter select {
  width: 100%;
  min-height: 3.25rem;
  padding: .75rem 2.4rem .75rem .9rem;
  border: 1px solid #aebfc7;
  border-radius: .65rem;
  background: var(--white);
  color: var(--ink);
}

.program-list {
  display: grid;
  gap: 3.2rem;
}

.program-month h3 {
  margin: 0 0 1.1rem;
  color: var(--navy);
  font-size: 2rem;
  line-height: 1.1;
}

.program-month h3::after {
  content: "";
  display: inline-block;
  width: 3rem;
  height: 1px;
  margin: 0 0 .45rem .8rem;
  background: var(--line-strong);
}

.event-list {
  display: grid;
  gap: 1.15rem;
}

.public-event {
  display: grid;
  grid-template-columns: 8.25rem 1fr;
  overflow: hidden;
  border: 1px solid var(--line);
  border-left: 6px solid var(--group);
  border-radius: 1.05rem;
  background: var(--white);
  box-shadow: 0 8px 28px rgba(15, 48, 61, .05);
  scroll-margin-top: 7rem;
}

.public-event:target {
  box-shadow: 0 0 0 4px rgba(8, 107, 183, .17), var(--shadow);
}

.event-date {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  padding: 1.55rem .8rem;
  border-right: 1px solid var(--line);
  background: linear-gradient(180deg, #fbfcfa, #f5f8f7);
  color: var(--navy);
}

.event-date strong {
  font-family: var(--serif);
  font-size: 3rem;
  line-height: .95;
}

.event-date span {
  margin-top: .35rem;
  font-weight: 800;
}

.event-date small {
  color: var(--muted);
}

.event-content {
  padding: 1.45rem 1.65rem 1.55rem;
}

.group-label {
  display: flex;
  align-items: center;
  gap: .5rem;
  margin: 0 0 .35rem;
  color: var(--muted);
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .025em;
  text-transform: uppercase;
}

.group-label span {
  display: inline-grid;
  place-items: center;
  width: 1.75rem;
  height: 1.75rem;
  border-radius: 50%;
  background: var(--group);
  color: var(--white);
}

.event-content h4 {
  margin: .08rem 0 .58rem;
  font-size: clamp(1.55rem, 2.5vw, 2rem);
  letter-spacing: -.02em;
  line-height: 1.15;
}

.event-content > p:not(.group-label) {
  max-width: 64rem;
  margin: .35rem 0 .95rem;
}

.event-details {
  display: grid;
  gap: .34rem;
  margin: .9rem 0;
}

.event-details div {
  display: grid;
  grid-template-columns: 7.2rem 1fr;
  gap: .8rem;
}

.event-details dt {
  color: var(--navy);
  font-weight: 800;
}

.event-details dd {
  margin: 0;
  color: #405b6d;
}

.additional-info {
  max-width: 65rem;
  margin: 1.1rem 0 .25rem;
  padding: .9rem 1rem;
  border-left: 4px solid var(--teal);
  border-radius: 0 .7rem .7rem 0;
  background: #edf6f5;
  color: #294b58;
}

.additional-info strong {
  display: block;
  margin-bottom: .16rem;
  color: var(--teal);
}

.additional-info p {
  margin: 0;
}

.map-link {
  display: inline-block;
  margin-top: .45rem;
  color: var(--blue);
  font-weight: 800;
  text-underline-offset: .2rem;
}

.public-notice {
  margin: 0 0 1.5rem;
  padding: 1rem 1.2rem;
  border-radius: .8rem;
  font-weight: 700;
}

.public-notice.success {
  border: 1px solid #b9dec5;
  background: #dff3e5;
  color: #155b31;
}

.public-notice.error {
  border: 1px solid #efc6bf;
  background: #fae3e0;
  color: #912d22;
}

.event-content .public-notice {
  margin: 1.2rem 0 0;
}

.guest-request {
  margin-top: 1.25rem;
}

.guest-request summary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.15rem;
  padding: .72rem 1.3rem;
  border: 1px solid var(--blue);
  border-radius: 999px;
  background: var(--blue);
  color: var(--white);
  font-weight: 800;
  line-height: 1.2;
  cursor: pointer;
  list-style: none;
  box-shadow: 0 8px 20px rgba(8, 107, 183, .15);
}

.guest-request summary::after {
  content: "+";
  margin-left: .65rem;
  font-size: 1.25rem;
  font-weight: 600;
  line-height: 1;
}

.guest-request[open] summary {
  border-color: var(--line-strong);
  background: var(--white);
  color: var(--blue);
  box-shadow: none;
}

.guest-request[open] summary::after {
  content: "–";
}

.guest-request summary::-webkit-details-marker {
  display: none;
}

.guest-request-panel {
  display: grid;
  grid-template-columns: minmax(13rem, .72fr) minmax(0, 1.28fr);
  gap: 1.4rem;
  margin-top: 1rem;
  padding: 1.35rem;
  border: 1px solid var(--line);
  border-radius: 1rem;
  background: #f4f8f7;
}

.guest-request-intro {
  padding: .3rem .45rem;
}

.guest-request-intro h5 {
  margin: .1rem 0 .45rem;
  font-size: 1.45rem;
  line-height: 1.2;
}

.guest-request-intro > p:not(.eyebrow) {
  margin: 0;
  color: var(--muted);
  font-size: .88rem;
}

.guest-request-intro .guest-request-note {
  margin-top: 1rem !important;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
  color: var(--ink) !important;
}

.guest-request form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .9rem;
}

.guest-request label {
  display: grid;
  gap: .3rem;
  color: var(--navy);
  font-size: .84rem;
  font-weight: 800;
}

.guest-request input,
.guest-request textarea {
  width: 100%;
  min-height: 3rem;
  padding: .7rem .8rem;
  border: 1px solid #aebfc7;
  border-radius: .55rem;
  background: var(--white);
  color: var(--ink);
}

.guest-request textarea {
  min-height: 6.5rem;
  resize: vertical;
}

.guest-request .full {
  grid-column: 1 / -1;
}

.guest-privacy {
  margin: 0;
  color: var(--muted) !important;
  font-size: .75rem !important;
  font-weight: 400 !important;
}

.website-field {
  position: absolute !important;
  left: -10000px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
}

.guest-request button {
  justify-self: start;
}

.public-empty {
  padding: 3rem;
  border: 1px dashed var(--line-strong);
  border-radius: 1rem;
  background: var(--white);
  text-align: center;
}

.public-empty p {
  color: var(--muted);
}

.about-section {
  display: grid;
  grid-template-columns: minmax(18rem, .82fr) minmax(20rem, 1.18fr);
  gap: clamp(2.5rem, 8vw, 8rem);
  padding: clamp(4.5rem, 8vw, 8rem) max(1.25rem, calc((100vw - 88rem) / 2));
  border-top: 1px solid var(--line);
  background: var(--cream);
}

.about-section p {
  max-width: 48rem;
  color: #405b6d;
  font-size: 1.03rem;
}

.about-section .secondary-button {
  margin-top: .7rem;
}

footer {
  display: flex;
  justify-content: space-between;
  gap: 2rem;
  padding: 2.2rem max(1.25rem, calc((100vw - 88rem) / 2));
  background: var(--navy);
  color: var(--white);
}

footer > div {
  display: grid;
}

footer span {
  color: #bfd0dc;
}

.footer-links {
  justify-items: end;
  gap: .2rem;
}

footer a {
  color: var(--white);
  font-weight: 700;
}

@media (max-width: 1050px) {
  html {
    font-size: 17px;
  }

  .hero-inner {
    grid-template-columns: minmax(0, .9fr) minmax(22rem, .75fr);
    gap: 2.25rem;
  }

  .hero h1 {
    font-size: clamp(3.4rem, 6.5vw, 5rem);
  }
}

@media (max-width: 820px) {
  .public-brand img {
    width: 5.6rem;
  }

  .public-brand span,
  .public-header nav > a:not(.login-link) {
    display: none;
  }

  .hero-inner {
    width: min(100% - 2rem, 46rem);
    grid-template-columns: 1fr;
    gap: 2.5rem;
    padding: 3.4rem 0 7rem;
  }

  .hero-copy {
    max-width: 42rem;
  }

  .hero h1 {
    max-width: 12ch;
    font-size: clamp(3rem, 11vw, 5.2rem);
  }

  .upcoming-panel {
    width: 100%;
  }

  .hero-silhouette {
    width: 130vw;
    bottom: -1rem;
    opacity: .1;
  }

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

  .public-filter,
  .about-section,
  .guest-request-panel {
    grid-template-columns: 1fr;
  }

  footer {
    flex-direction: column;
  }

  .footer-links {
    justify-items: start;
  }
}

@media (max-width: 560px) {
  html {
    font-size: 16px;
  }

  .public-header {
    min-height: 70px;
    padding: .55rem .85rem;
  }

  .public-header .login-link {
    min-height: 2.75rem;
    padding: .55rem .9rem;
    font-size: .88rem;
  }

  .hero-inner {
    width: calc(100% - 1.5rem);
    padding-top: 2.7rem;
  }

  .hero h1 {
    font-size: clamp(2.75rem, 13vw, 4rem);
  }

  .hero-text {
    font-size: 1.02rem;
  }

  .hero-copy .primary-button {
    width: 100%;
  }

  .upcoming-heading {
    padding: 1.25rem 1rem .95rem;
  }

  .upcoming-panel h2 {
    font-size: 1.75rem;
  }

  .upcoming-heading > a {
    font-size: .76rem;
  }

  .upcoming-list a {
    grid-template-columns: 3.35rem 1fr;
    gap: .75rem;
    padding: .82rem .9rem;
  }

  .upcoming-list time {
    width: 3.25rem;
    height: 3.25rem;
  }

  .upcoming-arrow {
    display: none;
  }

  .public-section {
    width: calc(100% - 1.5rem);
  }

  .section-heading h2,
  .about-section h2 {
    font-size: 2.55rem;
  }

  .public-event {
    grid-template-columns: 4.65rem 1fr;
    border-left-width: 5px;
  }

  .event-date {
    padding: 1.05rem .25rem;
  }

  .event-date strong {
    font-size: 2.1rem;
  }

  .event-date span {
    font-size: .7rem;
  }

  .event-content {
    padding: 1.05rem .9rem 1.2rem;
  }

  .event-content h4 {
    font-size: 1.42rem;
  }

  .event-details div {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .guest-request summary,
  .guest-request button {
    width: 100%;
  }

  .guest-request-panel {
    margin-left: -4.15rem;
    padding: 1rem;
  }

  .guest-request form {
    grid-template-columns: 1fr;
  }

  .guest-request .full {
    grid-column: auto;
  }

  .about-section,
  footer {
    padding-inline: 1rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  * {
    transition: none !important;
  }
}

@media print {
  body {
    background: var(--white);
    font-size: 10pt;
  }

  .public-header,
  .hero,
  .about-section,
  footer,
  .public-filter,
  .print-button,
  .map-link,
  .guest-request,
  .public-notice {
    display: none !important;
  }

  .public-section {
    max-width: none;
    width: 100%;
    padding: 0;
  }

  .section-heading {
    margin: 0 0 1rem;
  }

  .section-heading h2 {
    font-size: 24pt;
  }

  .program-list {
    gap: 1rem;
  }

  .program-month {
    break-inside: auto;
  }

  .program-month h3 {
    font-size: 16pt;
  }

  .event-list {
    gap: .45rem;
  }

  .public-event {
    grid-template-columns: 6rem 1fr;
    break-inside: avoid;
    box-shadow: none;
    border-radius: 0;
  }

  .event-date strong {
    font-size: 22pt;
  }

  .event-content {
    padding: .6rem .8rem;
  }

  .event-content h4 {
    font-size: 13pt;
  }

  .event-details {
    margin: .3rem 0;
  }

  .event-details div {
    grid-template-columns: 6rem 1fr;
  }
}
