:root {
  --green-950: #0b3f19;
  --green-900: #0f6d20;
  --green-800: #1f7f33;
  --green-700: #3a9850;
  --green-200: #d8ead7;
  --cream-50: #fffef9;
  --cream-100: #f9f4e8;
  --cream-200: #f1ead8;
  --gold-300: #e6d39a;
  --ink-900: #1e2a20;
  --ink-700: #586658;
  --white: #ffffff;
  --shadow: 0 22px 60px rgba(32, 51, 34, 0.12);
  --shadow-soft: 0 12px 26px rgba(32, 51, 34, 0.08);
  --radius-xl: 30px;
  --radius-lg: 22px;
  --radius-md: 16px;
  --container: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Plus Jakarta Sans", Arial, sans-serif;
  color: var(--ink-900);
  background:
    radial-gradient(
      circle at top left,
      rgba(58, 152, 80, 0.1),
      transparent 24%
    ),
    radial-gradient(
      circle at top right,
      rgba(230, 211, 154, 0.2),
      transparent 22%
    ),
    linear-gradient(180deg, #f7f3e8 0%, #fffdf7 36%, #f5f0e1 100%);
}

body::before,
body::after {
  position: fixed;
  top: 0;
  width: 72px;
  height: 100vh;
  content: "";
  pointer-events: none;
  opacity: 0.13;
  background: linear-gradient(
    to bottom,
    #0f4fa8 0 14.28%,
    #f4d44d 14.28% 28.56%,
    #e94036 28.56% 42.84%,
    #ffffff 42.84% 57.12%,
    #f39b16 57.12% 71.4%,
    #f7e365 71.4% 85.68%,
    #0f6d20 85.68% 100%
  );
  filter: blur(1px);
}

body::before {
  left: 0;
}

body::after {
  right: 0;
}

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

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

h1,
h2,
h3 {
  margin: 0;
  font-family: "Playfair Display", Georgia, serif;
}

.page-shell {
  width: min(calc(100% - 36px), var(--container));
  margin: 0 auto;
  padding: 22px 0 52px;
}

.site-header,
.hero__copy,
.hero__visual,
.panel,
.info-card,
.person-card,
.division-card,
.gallery-card,
.site-footer {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow);
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 26px;
  padding: 18px 22px;
  margin-bottom: 26px;
  background: rgba(255, 254, 249, 0.78);
  border: 1px solid rgba(15, 109, 32, 0.11);
  backdrop-filter: blur(16px);
}

.brand {
  display: flex;
  align-items: center;
  gap: 18px;
}

.brand > div {
  min-width: 0;
}

.brand__logo {
  width: 84px;
  height: 84px;
  border-radius: 24px;
  object-fit: cover;
  background: var(--white);
  border: 1px solid rgba(15, 109, 32, 0.12);
  box-shadow: var(--shadow-soft);
}

.eyebrow {
  margin: 0 0 8px;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--green-800);
}

h1 {
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1.05;
}

.brand__location {
  max-width: 680px;
  margin: 8px 0 0;
  color: var(--ink-700);
  line-height: 1.6;
}

.main-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  max-width: 100%;
}

.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  width: 48px;
  height: 48px;
  padding: 0;
  border: 1px solid rgba(15, 109, 32, 0.12);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.72);
  color: var(--green-950);
  box-shadow: var(--shadow-soft);
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
  transition:
    transform 0.2s ease,
    opacity 0.2s ease;
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.main-nav a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 7px 11px;
  border-radius: 999px;
  font-size: 0.88rem;
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
  color: var(--green-950);
  background: rgba(255, 255, 255, 0.58);
  border: 1px solid rgba(15, 109, 32, 0.08);
}

.main-nav a:hover,
.main-nav a:focus-visible {
  background: rgba(15, 109, 32, 0.08);
  outline: none;
}

.hero {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  align-items: stretch;
  margin-bottom: 8px;
}

.hero__copy {
  padding: 34px;
  color: var(--white);
  background:
    linear-gradient(145deg, rgba(11, 63, 25, 0.98), rgba(26, 102, 39, 0.94)),
    linear-gradient(180deg, rgba(255, 255, 255, 0.05), transparent);
  box-shadow: var(--shadow);
}

.hero__copy::before {
  position: absolute;
  inset: auto -80px -80px auto;
  width: 220px;
  height: 220px;
  content: "";
  border-radius: 50%;
  background: rgba(230, 211, 154, 0.12);
}

.hero__copy .eyebrow {
  color: rgba(255, 255, 255, 0.8);
}

.hero__copy h2 {
  font-size: clamp(2rem, 4vw, 3.1rem);
  line-height: 1.14;
  max-width: 100%;
}

.hero__copy p {
  margin: 18px 0 0;
  font-size: 1.02rem;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.88);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 18px;
  border: 0;
  border-radius: 999px;
  font-weight: 800;
  cursor: pointer;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    background 0.2s ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-1px);
  outline: none;
}

.button--primary {
  color: var(--white);
  background: linear-gradient(135deg, var(--green-700), var(--green-900));
  box-shadow: 0 14px 24px rgba(12, 75, 24, 0.26);
}

.button--ghost {
  color: var(--white);
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.16);
}

.button--active {
  color: #5b4600;
  background: linear-gradient(135deg, #f7dc67, #e8bf2e);
  border-color: rgba(255, 226, 122, 0.96);
  box-shadow: 0 14px 24px rgba(160, 122, 0, 0.28);
}

.marquee {
  margin-top: 26px;
  overflow: hidden;
  border-radius: 999px;
  background: var(--cream-200);
  border: 1px solid rgba(130, 108, 54, 0.18);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.4);
}

.marquee__track {
  display: inline-flex;
  gap: 42px;
  padding: 14px 22px;
  white-space: nowrap;
  animation: marquee 20s linear infinite;
  font-weight: 700;
  color: var(--ink-900);
}

.hero-info {
  display: grid;
  gap: 12px;
  margin-top: 18px;
  padding: 20px 22px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.16);
}

.hero-info__label {
  margin: 0;
  font-size: 0.84rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.82);
}

.hero-info__content {
  min-height: 260px;
  max-height: 420px;
  overflow-y: auto;
  padding-right: 8px;
  white-space: pre-line;
  line-height: 1.85;
  color: rgba(255, 255, 255, 0.92);
}

.hero-notify {
  display: grid;
  gap: 12px;
  margin-top: 18px;
  padding: 20px 22px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.16);
}

.hero-notify__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
}

.hero-notify__button {
  flex: 0 0 auto;
}

.hero-notify__button:disabled {
  cursor: default;
  opacity: 0.78;
  transform: none;
}

.hero-notify__status {
  margin: 0;
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.94);
}

.hero-notify__status.is-active {
  color: #d9f4c8;
}

.hero-notify__status.is-inactive {
  color: #fff1bf;
}

.hero-notify__hint {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.8);
}

@keyframes marquee {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}

.hero__visual {
  width: 100%;
  padding: 14px;
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.88),
    rgba(248, 242, 228, 0.96)
  );
  border: 1px solid rgba(15, 109, 32, 0.1);
}

.hero__visual::before,
.hero__visual::after {
  position: absolute;
  content: "";
  border-radius: 28px;
  background: rgba(15, 109, 32, 0.06);
}

.hero__visual::before {
  inset: 18px 16px auto auto;
  width: 72%;
  height: calc(100% - 48px);
}

.hero__visual::after {
  inset: 14px auto auto 14px;
  width: 88%;
  height: calc(100% - 34px);
  border: 1px solid rgba(15, 109, 32, 0.08);
  background: transparent;
}

.slideshow {
  position: relative;
  min-height: 713px;
}

.slideshow__nav {
  position: absolute;
  inset: 50% 18px auto 18px;
  z-index: 4;
  transform: translateY(-50%);
}

.slideshow__arrow {
  position: absolute;
  width: 48px;
  height: 48px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.28);
  color: var(--white);
  font-size: 1.15rem;
  font-weight: 800;
  backdrop-filter: blur(10px);
  box-shadow: 0 14px 28px rgba(20, 33, 23, 0.18);
  cursor: pointer;
  transition:
    transform 0.2s ease,
    background 0.2s ease,
    box-shadow 0.2s ease;
}

#slidePrev {
  left: 0;
}

#slideNext {
  right: 0;
}

.slideshow__arrow:hover,
.slideshow__arrow:focus-visible {
  background: rgba(15, 109, 32, 0.72);
  transform: translateY(-1px) scale(1.04);
  outline: none;
}

.slide {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 713px;
  border-radius: 28px;
  overflow: hidden;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px) scale(0.98);
  transition:
    opacity 0.45s ease,
    transform 0.45s ease;
  box-shadow: 0 24px 46px rgba(27, 42, 28, 0.18);
}

.slide.is-active {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
}

.slide:not(.is-active) {
  position: absolute;
  inset: 0;
}

.slide__media {
  width: 100%;
  height: 713px;
}

.slide__media.slide__image {
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 713px;
  object-fit: contain;
}

.slide__video {
  object-fit: cover;
  background: #122315;
}

.slide__text-only {
  display: grid;
  align-content: center;
  justify-items: center;
  gap: 18px;
  padding: 40px;
  text-align: center;
  background:
    radial-gradient(
      circle at top right,
      rgba(255, 255, 255, 0.12),
      transparent 22%
    ),
    linear-gradient(145deg, rgba(11, 63, 25, 0.98), rgba(26, 102, 39, 0.94));
  color: var(--white);
}

.slide__text-tag {
  display: inline-flex;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.16);
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.slide__text-title {
  max-width: 18ch;
  margin: 0;
  font-size: clamp(2rem, 4vw, 3.4rem);
  line-height: 1.1;
  font-family: "Playfair Display", Georgia, serif;
}

.slide__text-body {
  max-width: 760px;
  margin: 0;
  font-size: 1.04rem;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.88);
}

.slideshow__controls {
  display: flex;
  justify-content: center;
  gap: 10px;
  padding: 18px 0 4px;
}

.slideshow__controls button {
  width: 12px;
  height: 12px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(15, 109, 32, 0.22);
  cursor: pointer;
}

.slideshow__controls button.is-active {
  width: 34px;
  border-radius: 999px;
  background: var(--green-900);
}

.section {
  margin-top: 38px;
}

.structure-toggle-section,
.structure-actions {
  display: flex;
  justify-content: center;
}

.structure-actions {
  margin-top: 24px;
  padding-top: 0;
}

.structure-toggle-button,
.structure-close-button {
  min-width: min(100%, 320px);
}

.hero + .section {
  margin-top: 18px;
}

.section-heading {
  margin-bottom: 18px;
}

.section-heading h2 {
  font-size: clamp(1.9rem, 3vw, 2.7rem);
}

.section-intro {
  max-width: 720px;
  margin: 10px 0 0;
  color: var(--ink-700);
  line-height: 1.8;
}

.panel h3 {
  font-size: 1.38rem;
  margin-bottom: 10px;
}

.panel p,
.simple-list li {
  color: var(--ink-700);
  line-height: 1.7;
}

.activities-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

.location-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

.panel {
  padding: 28px;
  background: rgba(255, 255, 255, 0.74);
  border: 1px solid rgba(15, 109, 32, 0.09);
}

.panel--soft {
  background: linear-gradient(
    180deg,
    rgba(239, 248, 238, 0.92),
    rgba(255, 255, 255, 0.92)
  );
}

.panel--white {
  background: rgba(255, 255, 255, 0.88);
}

.weekly-list,
.division-card__members {
  display: grid;
  gap: 10px;
}

.activity-line {
  display: grid;
  gap: 2px;
  padding: 0 0 10px;
  border-bottom: 1px solid rgba(15, 109, 32, 0.08);
}

.activity-line strong {
  display: block;
  color: var(--green-950);
  font-size: 1.02rem;
}

.activity-line span {
  color: var(--ink-700);
  line-height: 1.65;
}

.simple-list {
  margin: 14px 0 0;
  padding-left: 20px;
}

.simple-list li + li {
  margin-top: 10px;
}

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

.person-card,
.member-chip {
  display: grid;
  gap: 12px;
  align-items: start;
  min-width: 0;
}

.person-card {
  grid-template-columns: 1fr;
  justify-items: center;
  padding: 12px 8px;
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.92),
    rgba(244, 238, 223, 0.94)
  );
  border: 1px solid rgba(15, 109, 32, 0.08);
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
}

.person-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 46px rgba(27, 42, 28, 0.15);
}

.person-card__photo,
.member-chip__photo {
  width: 80px;
  height: 80px;
  object-fit: cover;
  object-position: center 32%;
  border-radius: 14px;
  background: var(--cream-200);
  box-shadow: var(--shadow-soft);
}

.person-card > div,
.member-chip > div {
  width: 100%;
  text-align: center;
}

.person-card__name {
  font-size: 0.84rem;
  line-height: 1.35;
}

.person-card__role {
  font-weight: 600;
}

.person-card__role,
.member-chip__role {
  display: block;
  margin-top: 3px;
  font-size: 0.72rem;
  line-height: 1.35;
  color: var(--ink-700);
}

.person-card__name,
.member-chip__name,
.person-card__role,
.member-chip__role {
  overflow-wrap: anywhere;
}

.division-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
  margin-top: 24px;
}

.division-card {
  padding: 18px;
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.88),
    rgba(245, 239, 225, 0.92)
  );
  border: 1px solid rgba(15, 109, 32, 0.08);
}

.division-card__title {
  margin-bottom: 14px;
  color: var(--green-950);
  font-size: 1.12rem;
}

.member-chip {
  grid-template-columns: 1fr;
  justify-items: center;
  padding: 10px 6px;
  border-radius: 14px;
  background: rgba(15, 109, 32, 0.05);
  border: 1px solid rgba(15, 109, 32, 0.06);
}

.member-chip__name {
  display: block;
  font-size: 0.8rem;
  line-height: 1.35;
}

.division-card__members {
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 10px;
}

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

.gallery-card {
  display: flex;
  flex-direction: column;
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid rgba(15, 109, 32, 0.08);
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
}

.gallery-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 46px rgba(27, 42, 28, 0.14);
}

.gallery-card__image {
  width: 100%;
  height: 260px;
  object-fit: cover;
}

.gallery-card__body {
  display: grid;
  gap: 10px;
  padding: 18px;
}

.gallery-card__title {
  font-size: 1.3rem;
  color: var(--green-950);
}

.gallery-card__text {
  margin: 0;
  line-height: 1.75;
  color: var(--ink-700);
}

.map-frame {
  overflow: hidden;
  margin-top: 16px;
  border-radius: var(--radius-lg);
}

.map-frame iframe {
  width: 100%;
  min-height: 360px;
  border: 0;
}

.site-footer {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  padding: 28px;
  margin-top: 38px;
  color: var(--white);
  background: linear-gradient(135deg, var(--green-950), var(--green-800));
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 16px;
}

.footer-brand__logo {
  width: 72px;
  height: 72px;
  object-fit: cover;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.95);
  padding: 4px;
}

.footer-column {
  display: grid;
  align-content: start;
}

.site-footer p {
  margin: 8px 0 0;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.88);
}

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

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 34px;
}

.footer-links a {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 0 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.toast {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 20;
  max-width: min(360px, calc(100% - 32px));
  padding: 16px 18px;
  border-radius: 18px;
  color: var(--white);
  background: rgba(15, 109, 32, 0.95);
  box-shadow: var(--shadow);
}

@media (max-width: 1100px) {
  .gallery-grid,
  .site-footer {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 860px) {
  body::before,
  body::after {
    width: 34px;
  }

  .gallery-grid,
  .location-grid,
  .site-footer {
    grid-template-columns: 1fr;
  }

  .site-header {
    align-items: flex-start;
    gap: 16px;
  }

  .brand {
    flex: 1 1 auto;
    min-width: 0;
  }

  .nav-toggle {
    display: inline-flex;
    margin-left: auto;
  }

  .main-nav {
    display: none;
    grid-template-columns: repeat(2, max-content);
    justify-content: start;
    gap: 10px;
    width: auto;
    margin-top: -4px;
  }

  .main-nav.is-open {
    display: grid;
  }

  .main-nav a {
    width: auto;
    min-height: 42px;
    padding: 10px 12px;
  }

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

  .division-card__members {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .footer-brand {
    align-items: flex-start;
  }

  .slideshow,
  .slide,
  .slide__media {
    min-height: 483px;
    height: 483px;
  }

  .slide__media.slide__image {
    height: auto;
    max-height: 483px;
  }

  .slideshow__nav {
    inset: 50% 10px auto 10px;
  }

  .slideshow__arrow {
    width: 38px;
    height: 38px;
    font-size: 0.95rem;
  }
}

@media (max-width: 560px) {
  .page-shell {
    width: min(calc(100% - 12px), var(--container));
    padding-top: 14px;
  }

  .site-header,
  .hero__copy,
  .hero__visual,
  .panel,
  .site-footer {
    padding: 16px;
  }

  .hero-info,
  .hero-notify {
    padding: 18px;
  }

  .hero-notify {
    margin-top: 26px;
  }

  .hero-notify__row {
    align-items: stretch;
  }

  .hero-notify__button {
    width: 100%;
  }

  .site-header {
    flex-wrap: nowrap;
    align-items: flex-start;
    gap: 6px;
    padding: 12px 10px 12px 12px;
  }

  .brand {
    flex: 1 1 0;
    align-items: flex-start;
    gap: 5px;
  }

  h1 {
    font-size: clamp(1.3rem, 5.2vw, 1.4rem);
    line-height: 1;
  }

  .eyebrow {
    margin-bottom: 3px;
    font-size: 0.5rem;
    letter-spacing: 0.06em;
  }

  .brand__location {
    margin-top: 2px;
    font-size: 0.8rem;
    line-height: 1.32;
  }

  .main-nav {
    grid-template-columns: 1fr;
  }

  .brand__logo {
    width: 40px;
    height: 40px;
    border-radius: 12px;
  }

  .nav-toggle {
    width: 34px;
    height: 34px;
    margin-left: auto;
    border-radius: 10px;
    flex: 0 0 auto;
  }

  .nav-toggle span {
    width: 14px;
  }

  .footer-brand__logo {
    width: 58px;
    height: 58px;
  }

  .person-card {
    padding: 12px 10px;
  }

  .member-chip {
    padding: 12px 10px;
  }

  .leadership-grid,
  .division-card__members {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .person-card__photo,
  .member-chip__photo {
    width: 72px;
    height: 72px;
    border-radius: 14px;
  }

  .person-card__name,
  .member-chip__name {
    font-size: 0.8rem;
  }

  .person-card__role,
  .member-chip__role {
    font-size: 0.68rem;
  }
}
