@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700;800&family=Literata:opsz,wght@7..72,500;7..72,700&display=swap');

:root {
  --bg: #f4f8f5;
  --surface: #ffffff;
  --surface-2: #edf5ee;
  --text: #16322b;
  --muted: #4f6a62;
  --brand: #1f7a5a;
  --brand-dark: #14543d;
  --accent: #c6a34e;
  --border: #d4e4da;
  --shadow: 0 16px 40px rgba(14, 56, 45, 0.12);
  --radius: 16px;
  --container: 1160px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: radial-gradient(circle at 20% -10%, #d8ebe0 0, transparent 38%), var(--bg);
  color: var(--text);
  font-family: 'Manrope', 'Segoe UI', sans-serif;
  line-height: 1.65;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  width: 100%;
  display: block;
  border-radius: 12px;
}

.container {
  width: min(var(--container), calc(100% - 2.25rem));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 90;
  backdrop-filter: blur(10px);
  background: rgba(244, 248, 245, 0.88);
  border-bottom: 1px solid var(--border);
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem;
  padding: 0.8rem 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  min-width: 0;
}

.brand img {
  width: 56px;
  height: 56px;
  object-fit: cover;
  border-radius: 50%;
  border: 2px solid rgba(198, 163, 78, 0.3);
}

.brand h1 {
  margin: 0;
  font-size: 1rem;
  line-height: 1.3;
  font-weight: 800;
}

.brand p {
  margin: 0;
  color: var(--muted);
  font-size: 0.84rem;
}

.nav-toggle {
  display: none;
  border: 0;
  background: var(--surface-2);
  color: var(--brand-dark);
  border-radius: 10px;
  width: 42px;
  height: 42px;
  font-size: 1.2rem;
  cursor: pointer;
}

.site-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 0.15rem;
  flex-wrap: nowrap;
  justify-content: flex-end;
}

.site-nav {
  flex: 1 1 auto;
  min-width: 0;
}

.site-nav li {
  position: relative;
}

.site-nav a {
  display: block;
  padding: 0.48rem 0.72rem;
  border-radius: 999px;
  color: var(--brand-dark);
  font-weight: 700;
  font-size: 0.84rem;
  white-space: nowrap;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.site-nav a:hover,
.site-nav a.active {
  background: var(--brand);
  color: #fff;
}

.site-nav .submenu {
  position: absolute;
  top: calc(100% + 0.35rem);
  right: 0;
  min-width: 260px;
  padding: 0.4rem;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 12px;
  box-shadow: 0 14px 30px rgba(14, 56, 45, 0.14);
  display: none;
  z-index: 20;
}

.site-nav .submenu a {
  border-radius: 8px;
  font-size: 0.88rem;
  padding: 0.5rem 0.75rem;
}

.site-nav .has-submenu:hover .submenu,
.site-nav .has-submenu:focus-within .submenu {
  display: block;
}

.hero {
  padding: 4.2rem 0 3rem;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 2rem;
  align-items: center;
}

.hero-card {
  background: linear-gradient(130deg, #ffffff 0%, #eef7ef 100%);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: clamp(1.25rem, 3vw, 2.4rem);
}

.kicker {
  margin: 0 0 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.11em;
  font-weight: 700;
  font-size: 0.74rem;
  color: var(--brand);
}

.hero h2,
.page-intro h2,
.section-title h2 {
  margin: 0;
  font-family: 'Literata', Georgia, serif;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.hero h2 {
  font-size: clamp(1.9rem, 4.5vw, 3rem);
}

.hero p {
  color: var(--muted);
  margin: 1rem 0 0;
}

.button-row {
  margin-top: 1.35rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.68rem 1.2rem;
  border-radius: 999px;
  font-weight: 700;
  border: 1px solid transparent;
}

.btn-primary {
  background: var(--brand);
  color: #fff;
}

.btn-outline {
  border-color: var(--brand);
  color: var(--brand-dark);
}

.visual-stack {
  display: grid;
  gap: 0.9rem;
}

.visual-stack img {
  border-radius: var(--radius);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  object-fit: cover;
}

.section {
  padding: 1.2rem 0 3.25rem;
}

.section-title {
  margin-bottom: 1rem;
}

.section-title p {
  color: var(--muted);
  margin: 0.4rem 0 0;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.card-grid.four-up {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 9px 24px rgba(22, 50, 43, 0.08);
}

.card.clickable-card,
.event-card.clickable-card {
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.card.clickable-card:hover,
.event-card.clickable-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 28px rgba(22, 50, 43, 0.12);
  border-color: #b9d8ca;
}

.card.clickable-card:focus-visible,
.event-card.clickable-card:focus-visible {
  outline: 3px solid rgba(31, 122, 90, 0.24);
  outline-offset: 2px;
}

.card .card-body {
  padding: 1rem;
}

.card h3 {
  margin: 0;
  font-size: 1.05rem;
}

.card h3 a,
.event-card h3 a {
  color: var(--brand-dark);
}

.card h3 a:hover,
.event-card h3 a:hover {
  color: var(--brand);
}

.card p {
  margin: 0.6rem 0 0;
  color: var(--muted);
  font-size: 0.94rem;
}

.badge {
  display: inline-block;
  margin-top: 0.9rem;
  font-size: 0.75rem;
  padding: 0.3rem 0.65rem;
  border-radius: 999px;
  background: #e5f3eb;
  color: var(--brand-dark);
}

.page-intro {
  padding: 3rem 0 2rem;
}

.page-intro .container {
  background: linear-gradient(120deg, #ffffff, #eef6f0);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: clamp(1.2rem, 3vw, 2.2rem);
}

.content-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 1.15rem;
}

.surface {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 1rem 1.1rem;
}

.surface h3 {
  margin-top: 0;
  font-family: 'Literata', Georgia, serif;
  font-size: 1.2rem;
}

.surface p,
.surface li {
  color: var(--muted);
}

.surface ul {
  padding-left: 1.1rem;
  margin: 0.5rem 0 0;
}

.staff-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.staff-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 10px 20px rgba(18, 59, 48, 0.08);
}

.staff-card img {
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 0;
}

.staff-card .card-body {
  padding: 0.95rem;
}

.staff-card h3 {
  margin: 0;
  font-size: 1rem;
}

.staff-card p {
  margin: 0.35rem 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.staff-card a {
  color: var(--brand-dark);
  font-size: 0.87rem;
  font-weight: 700;
}

.events-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.event-card {
  border: 1px solid var(--border);
  border-radius: 14px;
  background: #fff;
  overflow: hidden;
}

.event-card .card-body {
  padding: 1rem;
}

.event-card h3 {
  margin: 0;
}

.event-card p {
  color: var(--muted);
}

.contact-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.contact-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.contact-list li {
  padding: 0.45rem 0;
  border-bottom: 1px dashed var(--border);
  color: var(--muted);
}

.site-footer {
  margin-top: 2.5rem;
  padding: 1.3rem 0;
  border-top: 1px solid var(--border);
  color: var(--muted);
  background: #f0f5f1;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  font-size: 0.92rem;
}

.reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 980px) {
  .hero-grid,
  .content-grid,
  .contact-wrap {
    grid-template-columns: 1fr;
  }

  .card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .card-grid.four-up {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .staff-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 1080px) {
  .nav-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .site-nav {
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    background: rgba(244, 248, 245, 0.98);
    border-bottom: 1px solid var(--border);
    display: none;
  }

  .site-nav.open {
    display: block;
  }

  .site-nav ul {
    flex-direction: column;
    align-items: stretch;
    gap: 0.15rem;
    padding: 0.6rem 1rem 0.9rem;
    flex-wrap: nowrap;
  }

  .site-nav .submenu {
    position: static;
    display: block;
    min-width: 0;
    background: transparent;
    border: 0;
    box-shadow: none;
    padding: 0.2rem 0 0.1rem 0.8rem;
  }

  .site-nav .submenu a {
    font-size: 0.86rem;
    opacity: 0.95;
  }

  .site-nav a {
    border-radius: 10px;
  }

  .card-grid,
  .events-grid,
  .staff-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 2.4rem;
  }
}
