:root {
  --ink: #2b2f3a;
  --ink-soft: #4a5467;
  --gold: #c6a26a;
  --cream: #f7f2ea;
  --sand: #efe3d3;
  --sage: #8c9b8f;
  --sky: #d7e4f3;
  --blue: #3f6f9a;
  --blue-deep: #2a4f73;
  --white: #ffffff;
  --shadow: 0 20px 40px rgba(42, 79, 115, 0.15);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Optima", "Candara", "Trebuchet MS", sans-serif;
  color: var(--ink);
  background: linear-gradient(155deg, #eef3fa 0%, var(--white) 40%, var(--sky) 100%);
}

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

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

.container {
  width: min(1120px, 92vw);
  margin: 0 auto;
}

.top-banner {
  background: var(--blue-deep);
  color: var(--white);
  padding: 10px 0;
  font-size: 0.95rem;
  letter-spacing: 0.5px;
}

.top-banner .banner-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 22px;
  border-radius: 999px;
  background: var(--blue);
  color: var(--white);
  font-weight: 600;
  border: 1px solid transparent;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.button:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

.button.outline {
  background: transparent;
  border-color: var(--blue);
  color: var(--blue-deep);
}

.navbar {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(42, 79, 115, 0.12);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 0;
  gap: 16px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: "Palatino Linotype", "Book Antiqua", Palatino, serif;
  text-transform: uppercase;
  letter-spacing: 3px;
  font-size: 0.9rem;
}

.brand-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.brand img {
  width: 54px;
  height: 54px;
}

.footer-mark {
  margin-top: 26px;
  text-align: center;
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.9rem;
  background: rgba(255, 255, 255, 0.12);
  border-radius: 16px;
  padding: 18px 16px;
}

.footer-mark img {
  width: 160px;
  height: auto;
  margin: 0 auto 10px;
  background: #ffffff;
  padding: 8px 12px;
  border-radius: 12px;
}

.nav-links {
  display: flex;
  gap: 18px;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 2px;
}

.nav-cta {
  display: flex;
  gap: 12px;
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.2rem;
}

.hero {
  padding: 80px 0 110px;
  background: radial-gradient(circle at 10% 20%, rgba(63, 111, 154, 0.12), transparent 55%),
    radial-gradient(circle at 90% 0%, rgba(198, 162, 106, 0.12), transparent 50%);
}

.hero-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 36px;
  align-items: center;
}

.hero h1 {
  font-family: "Palatino Linotype", "Book Antiqua", Palatino, serif;
  font-size: clamp(2.6rem, 4vw, 4rem);
  margin: 0 0 18px;
}

.hero p {
  font-size: 1.1rem;
  color: var(--ink-soft);
  margin-bottom: 28px;
}

.hero-card {
  background: var(--white);
  border-radius: 24px;
  padding: 26px;
  box-shadow: var(--shadow);
}

.hero-card h3 {
  margin-top: 0;
}

.hero-media {
  background: var(--white);
  border-radius: 24px;
  padding: 16px;
  box-shadow: var(--shadow);
  text-align: center;
}

.hero-media img {
  border-radius: 18px;
  width: 100%;
  height: auto;
  max-height: 360px;
  object-fit: cover;
}

.hero-media p {
  margin: 12px 0 0;
  color: var(--ink-soft);
  font-size: 0.95rem;
}

.section {
  padding: 80px 0;
}

.section:nth-of-type(even) {
  background: linear-gradient(120deg, rgba(63, 111, 154, 0.08) 0%, rgba(215, 228, 243, 0.4) 100%);
}

.section-title {
  font-family: "Palatino Linotype", "Book Antiqua", Palatino, serif;
  font-size: clamp(2rem, 3vw, 2.8rem);
  margin-bottom: 12px;
}

.section-subtitle {
  color: var(--ink-soft);
  margin-bottom: 28px;
  max-width: 640px;
}

.prose {
  color: var(--ink-soft);
  font-size: 1.02rem;
  line-height: 1.7;
  max-width: 860px;
  margin-bottom: 32px;
}

.prose p {
  margin: 0 0 16px;
}

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 20px;
}

.contact-form {
  margin-top: 24px;
}

.contact-form form {
  display: grid;
  gap: 14px;
  margin-top: 12px;
}

.contact-form label {
  display: grid;
  gap: 6px;
  font-weight: 600;
  color: var(--ink);
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px solid rgba(42, 79, 115, 0.2);
  font-family: inherit;
  font-size: 0.95rem;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: 2px solid rgba(63, 111, 154, 0.35);
  border-color: rgba(63, 111, 154, 0.5);
}

.card {
  background: var(--white);
  border-radius: 18px;
  padding: 22px;
  box-shadow: var(--shadow);
  min-height: 180px;
}

.card.highlight {
  background: linear-gradient(135deg, rgba(198, 162, 106, 0.18), rgba(63, 111, 154, 0.16));
}

.staff-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
}

.staff-card {
  background: var(--white);
  padding: 22px;
  border-radius: 18px;
  box-shadow: var(--shadow);
}

.staff-photo {
  width: 200px;
  border-radius: 16px;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  margin-bottom: 16px;
  max-width: 200px;
  margin-left: auto;
  margin-right: auto;
}

.social-links {
  display: grid;
  gap: 10px;
  margin: 12px 0 0;
}

.social-links + .button {
  margin-top: 12px;
}

.social-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 12px;
  border-radius: 10px;
  font-weight: 600;
  color: var(--white);
  background: var(--blue-deep);
}

.social-link svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.social-link.facebook {
  background: #1877f2;
}

.social-link.youtube {
  background: #ff0000;
}

.icon-link {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 8px;
  color: var(--white);
}

.icon-link svg {
  width: 22px;
  height: 22px;
  fill: currentColor;
}

.icon-link.youtube {
  background: #ff0000;
}

.qr-image {
  width: 140px;
  height: 140px;
  margin-top: 14px;
  border-radius: 12px;
  border: 1px solid rgba(42, 79, 115, 0.12);
}

.rnm-button {
  margin-top: 10px;
  background: linear-gradient(135deg, #3f6f9a, #2a4f73);
}

.staff-card .role {
  color: var(--sage);
  font-weight: 600;
  margin: 6px 0 12px;
}

.event-list {
  display: grid;
  gap: 18px;
}

.event-item {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 18px;
  background: var(--white);
  border-radius: 18px;
  padding: 20px;
  box-shadow: var(--shadow);
}

.event-date {
  background: var(--blue-deep);
  color: var(--white);
  border-radius: 16px;
  padding: 12px 16px;
  text-align: center;
  min-width: 90px;
  font-family: "Palatino Linotype", "Book Antiqua", Palatino, serif;
}

.callout {
  background: linear-gradient(120deg, var(--blue-deep) 0%, #4b5f7a 100%);
  color: var(--white);
  padding: 50px 0;
}

.callout .button {
  background: var(--white);
  color: var(--ink);
}

.footer {
  padding: 50px 0 30px;
  background: var(--ink);
  color: var(--white);
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
}

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

.fade-in {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 860px) {
  .nav-links {
    display: none;
    flex-direction: column;
    gap: 12px;
    padding: 12px 0;
  }

  .nav-links.open {
    display: flex;
  }

  .nav-cta {
    display: none;
  }

  .nav-toggle {
    display: block;
  }
}

@media (max-width: 640px) {
  .event-item {
    grid-template-columns: 1fr;
  }

  .event-date {
    justify-self: start;
  }
}
