@font-face {
  font-family: "Belwe";
  src: url("/assets/original/Belwe-Regular.ttf") format("truetype");
  font-display: swap;
}

@font-face {
  font-family: "Belwe";
  src: url("/assets/original/Belwe-Std-Bold.otf") format("opentype");
  font-weight: 700 900;
  font-display: swap;
}

:root {
  --brown: #241e20;
  --cream: #efe3d8;
  --white: #fff;
  --wrap: min(1180px, calc(100% - 40px));
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

body:not(.settings-body) {
  background:
    linear-gradient(rgba(36, 30, 32, 0.18), rgba(36, 30, 32, 0.18)),
    url("/assets/original/joshua-bartell-6vvIBTvL90A-unsplash.jpg") center top / cover fixed;
}

.home-page #main {
  width: 80%;
  margin-inline: auto;
  overflow: hidden;
  background: var(--white);
  box-shadow: 0 0 34px rgba(0, 0, 0, 0.34);
}

body:not(.settings-body) .header-inner {
  width: 80%;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
}

.site-wrap {
  width: var(--wrap);
  margin-inline: auto;
}

.screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
}

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 0.5rem;
  left: 0.5rem;
  padding: 0.75rem 1rem;
  color: white;
  background: var(--brown);
  transform: translateY(-150%);
}

.skip-link:focus {
  transform: none;
}

.site-header {
  position: relative;
  z-index: 100;
  background: var(--cream);
}

.header-inner {
  display: flex;
  min-height: 112px;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.site-logo {
  width: min(300px, 48vw);
}

.site-logo img {
  width: 100%;
}

.main-menu {
  display: flex;
  align-items: center;
}

.main-menu a {
  padding: 14px 16px;
  color: var(--brown);
  font-size: 0.92rem;
  font-weight: 700;
  text-decoration: none;
  text-transform: uppercase;
}

.main-menu a:hover,
.main-menu a:focus-visible {
  color: white;
  background: var(--brown);
}

.main-menu .nav-apply {
  margin-left: 8px;
  padding: 10px 15px;
  border: 1px solid rgba(36, 30, 32, 0.72);
  background: rgba(255, 255, 255, 0.38);
  box-shadow: 0 2px 7px rgba(36, 30, 32, 0.1);
  letter-spacing: 0.025em;
}

.main-menu .nav-apply:hover,
.main-menu .nav-apply:focus-visible,
.main-menu .nav-apply.active {
  color: var(--cream);
  background: var(--brown);
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 40px;
  padding: 8px;
  border: 0;
  background: var(--brown);
}

.menu-toggle span:not(.screen-reader-text) {
  display: block;
  height: 2px;
  margin: 5px 0;
  background: white;
}

.hero-slider {
  position: relative;
  width: 100%;
  margin-inline: auto;
  overflow: hidden;
  background: var(--brown);
}

.slides {
  position: relative;
  aspect-ratio: 1920 / 843;
}

.slide {
  position: absolute;
  inset: 0;
  margin: 0;
  opacity: 0;
  transition: opacity 1.1s ease;
}

.slide.active {
  z-index: 1;
  opacity: 1;
}

.slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.slider-arrow {
  position: absolute;
  z-index: 3;
  top: 50%;
  width: 46px;
  height: 46px;
  border: 0;
  border-radius: 50%;
  color: white;
  background: rgba(36, 30, 32, 0.6);
  font-size: 2rem;
  transform: translateY(-50%);
  cursor: pointer;
}

.slider-prev {
  left: 18px;
}

.slider-next {
  right: 18px;
}

.slider-dots {
  position: absolute;
  z-index: 3;
  bottom: 16px;
  left: 50%;
  display: flex;
  gap: 8px;
  transform: translateX(-50%);
}

.slider-dots button {
  width: 10px;
  height: 10px;
  padding: 0;
  border: 1px solid white;
  border-radius: 50%;
  background: transparent;
}

.slider-dots button.active {
  background: white;
}

.feature-links {
  display: grid;
  gap: 18px;
  width: 100%;
  max-width: none;
  padding: 28px 20px 24px;
  background: var(--cream);
  grid-template-columns: repeat(3, 1fr);
}

.feature-links a {
  transition: transform 160ms ease;
}

.feature-links a:hover,
.feature-links a:focus-visible {
  transform: translateY(-3px);
}

.feature-links img {
  width: 100%;
  border: 2px solid var(--brown);
}

.departments {
  margin-top: 0;
  padding: 28px 0 74px;
  background: var(--cream);
}

.section-title {
  margin-bottom: 40px;
  text-align: center;
}

.section-title h1,
.section-title h2 {
  margin: 0;
  font-family: "Belwe", Georgia, serif;
  font-size: clamp(2.5rem, 5vw, 3.4rem);
  font-variant: small-caps;
  letter-spacing: 0.02em;
}

.section-title span {
  display: block;
  width: 14%;
  height: 3px;
  margin: 9px auto 0;
  background: var(--brown);
}

.department-row {
  display: grid;
  gap: 28px;
  align-items: start;
  margin-top: 32px;
}

.department-row--two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.department-row--three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.department-card {
  text-align: center;
}

.department-card h2 {
  margin: 0;
  padding: 14px 12px;
  color: white;
  background:
    linear-gradient(rgba(36, 30, 32, 0.72), rgba(36, 30, 32, 0.72)),
    url("/assets/original/joshua-bartell-6vvIBTvL90A-unsplash.jpg") center/cover;
  font-family: "Belwe", Georgia, serif;
  font-size: clamp(1.65rem, 3vw, 2.2rem);
  font-variant: small-caps;
}

.department-card > img {
  width: 100%;
  aspect-ratio: 4 / 3;
  border: 7px solid var(--brown);
  object-fit: cover;
}

.department-card p {
  margin: 17px auto 0;
  max-width: 42rem;
  font-size: 1.14rem;
  font-weight: 500;
}

.department-card ul {
  display: inline-block;
  margin: 14px auto 0;
  padding-left: 1.4rem;
  text-align: left;
  font-size: 1.05rem;
}

.family-tradition {
  padding: 72px 0;
  background: white;
}

.tradition-inner {
  display: grid;
  align-items: center;
  gap: 48px;
  grid-template-columns: minmax(320px, 1fr) 1fr;
}

.tradition-inner > img {
  width: 100%;
  border: 2px solid var(--brown);
}

.tradition-inner h2 {
  margin: 0 0 12px;
  font-family: "Belwe", Georgia, serif;
  font-size: clamp(2.3rem, 5vw, 3.8rem);
}

.tradition-inner p {
  margin: 0;
  font-family: "Belwe", Georgia, serif;
  font-size: clamp(1.4rem, 3vw, 2rem);
}

.reviews {
  color: white;
  background: url("/assets/original/joshua-bartell-6vvIBTvL90A-unsplash.jpg") center/cover fixed;
}

.reviews-overlay {
  padding: 74px 0;
  background: rgba(36, 30, 32, 0.78);
}

.section-title--light span {
  background: var(--cream);
}

.review-grid {
  display: grid;
  gap: 24px;
  grid-template-columns: repeat(3, 1fr);
}

.review-grid blockquote {
  margin: 0;
  padding: 26px 24px;
  border-left: 5px solid var(--cream);
  background: rgba(36, 30, 32, 0.74);
  font-size: 1.08rem;
}

.review-grid cite {
  display: block;
  margin-top: 14px;
  font-weight: 700;
}

.legal-notes {
  padding: 20px 0;
  color: var(--cream);
  background: var(--brown);
  font-size: 0.82rem;
}

.legal-notes p {
  margin: 7px 0;
}

.site-footer {
  padding-top: 60px;
  background: var(--cream);
}

.footer-grid {
  display: grid;
  gap: 48px;
  grid-template-columns: 1.25fr 0.85fr 1fr;
}

.footer-logo {
  width: min(280px, 100%);
}

.footer-grid h2 {
  margin: 0 0 18px;
  font-family: "Belwe", Georgia, serif;
  font-size: 2.25rem;
  font-variant: small-caps;
}

.facebook-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #0165e1;
  font-size: 1.1rem;
  font-weight: 800;
  text-decoration: none;
}

.facebook-link img {
  width: 38px;
}

.service-logos {
  display: grid;
  gap: 22px;
}

.service-logos img {
  max-width: 170px;
  max-height: 64px;
  object-fit: contain;
  object-position: left center;
}

.contact-list {
  display: grid;
  gap: 13px;
  padding: 0;
  list-style: none;
}

.apply-button {
  display: inline-block;
  padding: 13px 20px;
  color: white;
  background: var(--brown);
  font-weight: 800;
  text-decoration: none;
}

.policy-links {
  display: flex;
  gap: 30px;
  padding: 36px 0 20px;
  font-family: "Belwe", Georgia, serif;
  font-size: 1.18rem;
  font-weight: 700;
}

.copyright {
  padding: 17px 20px;
  color: var(--cream);
  background: var(--brown);
  text-align: center;
}

.copyright p {
  margin: 0;
}

.weekly-page {
  width: 80%;
  margin-inline: auto;
  padding: 64px 0 74px;
  background: transparent;
}

.weekly-page > .site-wrap {
  width: calc(100% - 40px);
  max-width: none;
}

.weekly-title {
  margin-bottom: 44px;
  text-align: center;
}

.weekly-title h1 {
  margin: 0;
  font-family: "Belwe", Georgia, serif;
  font-size: clamp(3rem, 7vw, 4rem);
  font-variant: small-caps;
  font-weight: 400;
}

.weekly-title span {
  display: block;
  width: 17%;
  height: 3px;
  margin: 7px auto 0;
  background: var(--brown);
}

.weekly-page .weekly-title {
  color: var(--cream);
  text-shadow: 0 2px 7px rgba(0, 0, 0, 0.68);
}

.weekly-page .weekly-title span {
  background: var(--cream);
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.5);
}

.weekly-grid {
  display: grid;
  gap: 24px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.weekly-grid a {
  align-self: start;
  background: white;
}

.weekly-grid img {
  width: 100%;
  height: auto;
}

.ad-lightbox[hidden] {
  display: none;
}

.ad-lightbox {
  position: fixed;
  z-index: 1000;
  inset: 0;
  overflow-y: auto;
  padding: 28px 0 48px;
  background:
    linear-gradient(rgba(20, 16, 17, 0.82), rgba(20, 16, 17, 0.82)),
    url("/assets/original/joshua-bartell-6vvIBTvL90A-unsplash.jpg") center top / cover fixed;
}

.ad-lightbox-frame {
  position: relative;
  width: 80%;
  margin-inline: auto;
}

.ad-lightbox img {
  width: 100%;
  height: auto;
  border: 8px solid white;
  background: white;
  box-shadow: 0 18px 60px rgba(0, 0, 0, 0.52);
}

.ad-lightbox-close {
  position: sticky;
  z-index: 2;
  top: 10px;
  display: block;
  width: 46px;
  height: 46px;
  margin: 0 0 10px auto;
  border: 2px solid white;
  border-radius: 50%;
  color: white;
  background: var(--brown);
  font-size: 1.8rem;
  line-height: 1;
  cursor: pointer;
}

.ad-lightbox-open {
  overflow: hidden;
}

.compact-footer {
  margin-top: 0;
}

.inside-page {
  padding: 64px 0 80px;
}

body:not(.settings-body) .inside-page {
  width: 80%;
  margin-inline: auto;
  background: var(--cream);
  box-shadow: 0 0 34px rgba(0, 0, 0, 0.34);
}

.location-grid {
  display: grid;
  gap: 50px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.location-card {
  text-align: center;
}

.location-card > img {
  width: 100%;
}

.location-card h2 {
  margin: 22px 0 0;
  font-family: "Belwe", Georgia, serif;
  font-size: 2.5rem;
  font-variant: small-caps;
  font-weight: 400;
}

.small-divider {
  display: block;
  width: 28%;
  height: 2px;
  margin: 6px auto 18px;
  background: var(--brown);
}

.location-card p {
  margin: 8px 0;
  font-size: 1.35rem;
}

.location-card .apply-button {
  margin-top: 14px;
}

.contact-wrap {
  max-width: 840px;
}

.contact-title {
  margin-bottom: 36px;
  text-align: center;
}

.contact-title h1 {
  margin: 0;
  font-family: "Belwe", Georgia, serif;
  font-size: 2.4rem;
  text-transform: uppercase;
}

.contact-title span {
  display: block;
  width: 6%;
  height: 1px;
  margin: 5px auto 0;
  background: var(--brown);
}

.contact-form {
  display: grid;
  gap: 20px;
}

.contact-form label {
  display: grid;
  gap: 7px;
  font-weight: 700;
}

.contact-form input,
.contact-form textarea,
.contact-form select {
  width: 100%;
  padding: 13px 14px;
  border: 1px solid rgba(36, 30, 32, 0.4);
  color: var(--brown);
  background: white;
  font: inherit;
}

.contact-form textarea {
  resize: vertical;
}

.form-button {
  border: 0;
  cursor: pointer;
  justify-self: start;
}

.form-note {
  margin: 0;
  color: #62575a;
  font-size: 0.9rem;
}

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

.form-result {
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
}

.form-result p {
  font-size: 1.1rem;
  line-height: 1.7;
}

.form-grid {
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

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

.full-application {
  gap: 30px;
}

.full-application > fieldset,
.choice-group,
.repeat-card {
  margin: 0;
  padding: 24px;
  border: 1px solid rgba(36, 30, 32, 0.24);
}

.full-application legend {
  padding: 0 10px;
  font-family: "Belwe", Georgia, serif;
  font-size: 1.75rem;
  font-weight: 700;
}

.full-application fieldset > * + * {
  margin-top: 20px;
}

.choice-group {
  padding-top: 16px;
}

.choice-group legend {
  font-family: Arial, Helvetica, sans-serif;
  font-size: 1rem;
}

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

.choice-grid label {
  display: flex;
  align-items: center;
  gap: 9px;
}

.choice-grid input {
  width: auto;
  margin: 0;
}

.repeat-card {
  background: #faf7f4;
}

.repeat-card h3 {
  margin: 0 0 18px;
  font-family: "Belwe", Georgia, serif;
  font-size: 1.4rem;
}

.repeat-add,
.repeat-remove {
  padding: 10px 16px;
  border: 1px solid var(--brown);
  color: var(--brown);
  background: white;
  font-weight: 700;
  cursor: pointer;
}

.repeat-remove {
  margin-top: 18px;
}

.legal-content {
  max-width: 940px;
  line-height: 1.7;
}

.legal-content > h1:first-child,
.legal-content > h2:first-child {
  margin: 0;
  text-align: center;
  font-family: "Belwe", Georgia, serif;
  font-size: clamp(2.5rem, 6vw, 3.95rem);
  font-variant: small-caps;
  font-weight: 400;
}

.legal-content > h1:first-child::after,
.legal-content > h2:first-child::after {
  content: "";
  display: block;
  width: 17%;
  height: 3px;
  margin: 8px auto 25px;
  background: var(--brown);
}

.legal-content h1:not(:first-child),
.legal-content h2:not(:first-child) {
  margin: 42px 0 8px;
  font-family: "Belwe", Georgia, serif;
  font-size: clamp(1.8rem, 4vw, 2.9rem);
  font-variant: small-caps;
  font-weight: 400;
}

.legal-content a {
  color: inherit;
}

.settings-body {
  min-height: 100vh;
  background: #f7f2ed;
}

.settings-wrap {
  max-width: 1080px;
}

.settings-grid {
  display: grid;
  gap: 28px;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  align-items: start;
}

.settings-card {
  padding: 30px;
  border: 1px solid rgba(36, 30, 32, 0.2);
  background: white;
  box-shadow: 0 14px 40px rgba(36, 30, 32, 0.08);
}

.settings-card h2 {
  margin: 0 0 12px;
  font-family: "Belwe", Georgia, serif;
  font-size: 2rem;
}

.settings-card--wide {
  grid-column: 1 / -1;
}

.weekly-schedule-grid {
  display: grid;
  gap: 18px;
  margin-top: 24px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.weekly-schedule-slot {
  align-content: start;
  padding: 22px;
  border: 1px solid rgba(36, 30, 32, 0.22);
  background: #faf7f4;
}

.weekly-schedule-slot header {
  padding-bottom: 12px;
  border-bottom: 2px solid rgba(36, 30, 32, 0.18);
}

.weekly-slot-kicker {
  display: block;
  margin-bottom: 3px;
  color: #786a63;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.weekly-schedule-slot h3 {
  margin: 0;
  font-family: "Belwe", Georgia, serif;
  font-size: 1.55rem;
}

.weekly-slot-status {
  margin: 7px 0 0;
  color: #6f5f58;
  font-weight: 700;
}

.weekly-slot-status--live {
  color: #2d6b38;
}

.weekly-upload-or {
  margin-block: -8px;
  text-align: center;
}

.weekly-upload-status {
  min-height: 1.35em;
  font-weight: 700;
}

.slider-settings-list {
  display: grid;
  gap: 18px;
  margin: 22px 0;
}

.slider-settings-row {
  display: grid;
  gap: 16px;
  align-items: end;
  padding: 18px;
  border: 1px solid rgba(36, 30, 32, 0.2);
  background: #faf7f4;
  grid-template-columns: 92px minmax(180px, 1fr) minmax(220px, 1.3fr);
}

.slider-settings-row img {
  width: 92px;
  aspect-ratio: 16 / 7;
  border: 2px solid var(--brown);
  object-fit: cover;
}

.slider-settings-row label {
  margin: 0;
}

.settings-login {
  max-width: 520px;
  margin: 0 auto;
}

.settings-alert {
  margin: 0 0 24px;
  padding: 14px 18px;
  border-left: 5px solid var(--brown);
  background: white;
}

.settings-success {
  border-color: #2d7a3e;
}

.settings-error {
  border-color: #a52b2b;
}

.settings-warning {
  border-color: #b7791f;
}

.settings-logout {
  margin-top: 28px;
  text-align: right;
}

.settings-logout button {
  border: 0;
  color: var(--brown);
  background: transparent;
  text-decoration: underline;
  cursor: pointer;
}

@media (max-width: 840px) {
  .home-page #main {
    width: 100%;
  }

  body:not(.settings-body) .header-inner {
    width: var(--wrap);
  }

  .weekly-page,
  body:not(.settings-body) .inside-page {
    width: 100%;
  }

  .ad-lightbox-frame {
    width: calc(100% - 24px);
  }

  .hero-slider {
    width: 100%;
  }

  .form-grid--four,
  .choice-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .header-inner {
    min-height: 88px;
  }

  .menu-toggle {
    display: block;
  }

  .main-menu {
    position: absolute;
    top: 100%;
    right: 0;
    display: none;
    width: min(340px, 86vw);
    padding: 12px;
    background: white;
    box-shadow: 0 16px 35px rgba(36, 30, 32, 0.22);
    flex-direction: column;
    align-items: stretch;
  }

  .main-menu.open {
    display: flex;
  }

  .main-menu .nav-apply {
    margin: 6px 0 0;
  }

  .feature-links,
  .department-row--three,
  .review-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .feature-links {
    max-width: 560px;
  }

  .department-row--two {
    grid-template-columns: 1fr;
  }

  .tradition-inner {
    grid-template-columns: 1fr;
  }

  .weekly-grid {
    gap: 24px;
    grid-template-columns: 1fr;
  }

  .location-grid {
    grid-template-columns: 1fr;
  }

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

  .settings-grid {
    grid-template-columns: 1fr;
  }

  .weekly-schedule-grid {
    grid-template-columns: 1fr;
  }

  .slider-settings-row {
    align-items: stretch;
    grid-template-columns: 72px 1fr;
  }

  .slider-settings-row label:last-child {
    grid-column: 1 / -1;
  }
}

@media (max-width: 560px) {
  :root {
    --wrap: min(100% - 24px, 1180px);
  }

  .choice-grid {
    grid-template-columns: 1fr;
  }

  .full-application > fieldset,
  .choice-group,
  .repeat-card {
    padding: 18px;
  }

  .site-logo {
    width: min(240px, 68vw);
  }

  .slides {
    aspect-ratio: 16 / 7.5;
  }

  .slider-arrow {
    width: 38px;
    height: 38px;
  }

  .departments {
    margin-top: 0;
    padding: 46px 0;
  }
}
