:root {
  --ink: #1c241c;
  --ink-soft: #3d4a3d;
  --paper: #f3efe6;
  --paper-deep: #e7e0d2;
  --mist: #d9e2d6;
  --forest: #2f5d45;
  --forest-deep: #1e3d2d;
  --leaf: #4f7a5c;
  --gold: #b8893d;
  --gold-soft: #d4b06a;
  --cream: #fffaf2;
  --white: #ffffff;
  --shadow: 0 24px 60px rgba(30, 61, 45, 0.18);
  --radius: 18px;
  --max: 1120px;
  --font-display: "Fraunces", "Times New Roman", serif;
  --font-body: "Onest", "Segoe UI", sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1.05rem;
  line-height: 1.65;
  background:
    radial-gradient(1200px 600px at 10% -10%, rgba(79, 122, 92, 0.14), transparent 60%),
    radial-gradient(900px 500px at 100% 0%, rgba(184, 137, 61, 0.12), transparent 55%),
    linear-gradient(180deg, #f7f3eb 0%, #efe8da 45%, #e8f0e7 100%);
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--forest);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

a:hover {
  color: var(--forest-deep);
}

.container {
  width: min(var(--max), calc(100% - 2rem));
  margin-inline: auto;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--forest);
  color: white;
  padding: 0.75rem 1rem;
  z-index: 1000;
}

.skip-link:focus {
  left: 1rem;
  top: 1rem;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(14px);
  background: rgba(247, 243, 235, 0.82);
  border-bottom: 1px solid rgba(47, 93, 69, 0.1);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 4.25rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: inherit;
  text-decoration: none;
}

.brand-mark {
  width: 2.4rem;
  height: 2.4rem;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: linear-gradient(145deg, var(--forest), var(--forest-deep));
  color: var(--cream);
  font-family: var(--font-display);
  font-weight: 600;
  box-shadow: 0 8px 20px rgba(30, 61, 45, 0.25);
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.brand-text strong {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 600;
}

.brand-text span {
  font-size: 0.78rem;
  color: var(--ink-soft);
}

.nav {
  display: flex;
  align-items: center;
  gap: 0.35rem 1.1rem;
}

.nav a {
  color: var(--ink-soft);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  position: relative;
}

.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.35rem;
  width: 100%;
  height: 2px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s var(--ease);
}

.nav a:hover,
.nav a[aria-current="page"] {
  color: var(--forest-deep);
}

.nav a:hover::after,
.nav a[aria-current="page"]::after {
  transform: scaleX(1);
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  padding: 0.55rem 1rem;
  border-radius: 999px;
  background: var(--forest);
  color: var(--cream) !important;
  text-decoration: none !important;
  box-shadow: 0 10px 24px rgba(47, 93, 69, 0.28);
}

.nav-cta::after {
  display: none !important;
}

.menu-toggle {
  display: none;
  position: relative;
  z-index: 60;
  border: 0;
  background: rgba(255, 250, 242, 0.7);
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 0.85rem;
  cursor: pointer;
  border: 1px solid rgba(47, 93, 69, 0.12);
}

.menu-toggle span {
  display: block;
  width: 1.2rem;
  height: 2px;
  margin: 0.28rem auto;
  background: var(--ink);
  transition: transform 0.28s var(--ease), opacity 0.2s ease;
  transform-origin: center;
}

.menu-toggle.is-open span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.menu-toggle.is-open span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.is-open span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

.nav-backdrop {
  display: none;
}

body.menu-open {
  overflow: hidden;
}

/* Hero */
.hero {
  position: relative;
  min-height: min(92vh, 860px);
  display: grid;
  align-items: end;
  overflow: hidden;
  color: var(--cream);
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.05);
  animation: heroZoom 18s var(--ease) infinite alternate;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(16, 28, 20, 0.28) 0%, rgba(16, 28, 20, 0.55) 45%, rgba(16, 28, 20, 0.88) 100%),
    radial-gradient(800px 400px at 80% 20%, rgba(184, 137, 61, 0.18), transparent 60%);
}

.hero-cutout {
  position: absolute;
  right: -2%;
  bottom: -4%;
  width: min(48vw, 560px);
  z-index: 1;
  pointer-events: none;
  filter: drop-shadow(0 30px 40px rgba(0, 0, 0, 0.45));
  animation: floatY 7s ease-in-out infinite;
}

.hero-cutout img {
  width: 100%;
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: 7rem 0 4.5rem;
  width: min(var(--max), calc(100% - 2rem));
  margin-inline: auto;
}

.hero-kicker {
  display: inline-block;
  margin: 0 0 1rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 0.78rem;
  color: var(--gold-soft);
}

.hero h1 {
  margin: 0;
  max-width: 12ch;
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 7vw, 5.2rem);
  font-weight: 560;
  line-height: 1.02;
  letter-spacing: -0.02em;
  text-wrap: balance;
}

.hero-lead {
  margin: 1.1rem 0 0;
  max-width: 34ch;
  font-size: clamp(1.05rem, 2.2vw, 1.25rem);
  color: rgba(255, 250, 242, 0.88);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 1.8rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  padding: 0.85rem 1.3rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 600;
  text-decoration: none;
  transition: transform 0.3s var(--ease), background 0.3s var(--ease), color 0.3s var(--ease);
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: var(--gold);
  color: #1b1408;
}

.btn-ghost {
  background: rgba(255, 250, 242, 0.1);
  border-color: rgba(255, 250, 242, 0.35);
  color: var(--cream);
  backdrop-filter: blur(8px);
}

/* Sections */
section {
  padding: 4.5rem 0;
}

.section-head {
  max-width: 40rem;
  margin-bottom: 2rem;
}

.section-head h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 4vw, 2.8rem);
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.section-head p {
  margin: 0.75rem 0 0;
  color: var(--ink-soft);
}

.eyebrow {
  display: inline-block;
  margin-bottom: 0.55rem;
  color: var(--leaf);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 0.75rem;
  font-weight: 650;
}

/* Schedule — photo only, fully visible */
.schedule {
  position: relative;
}

.schedule-poster {
  margin: 0;
  border-radius: calc(var(--radius) + 8px);
  overflow: hidden;
  box-shadow: var(--shadow);
  background: #111;
}

.schedule-poster img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
}

/* News */
.news-card {
  position: relative;
  overflow: hidden;
  border-radius: calc(var(--radius) + 6px);
  background: var(--cream);
  border: 1px solid rgba(47, 93, 69, 0.1);
  box-shadow: var(--shadow);
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  min-height: 340px;
}

.news-card--single {
  max-width: 100%;
}

.news-card-body {
  padding: 1.6rem 1.5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.news-card-media {
  position: relative;
  overflow: hidden;
}

.news-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s var(--ease);
}

.news-card:hover .news-card-media img {
  transform: scale(1.06);
}

.news-date {
  color: var(--leaf);
  font-size: 0.85rem;
  font-weight: 600;
}

.news-card h3 {
  margin: 0.4rem 0 0.7rem;
  font-family: var(--font-display);
  font-size: 1.8rem;
  line-height: 1.15;
}

.news-card p {
  margin: 0;
  color: var(--ink-soft);
}

/* Gallery — one photo */
.gallery-one {
  margin: 0;
  border-radius: calc(var(--radius) + 4px);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.gallery-one img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
}

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

/* About / faith / contacts blocks */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: center;
}

.prose h2,
.prose h1 {
  font-family: var(--font-display);
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.prose p,
.prose li {
  color: var(--ink-soft);
}

.faith-list {
  margin: 1rem 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.85rem;
}

.faith-list li {
  padding: 1rem 1.1rem;
  border-radius: var(--radius);
  background: rgba(255, 250, 242, 0.75);
  border: 1px solid rgba(47, 93, 69, 0.1);
}

.faith-list strong {
  color: var(--forest-deep);
}

.map-frame {
  border: 0;
  width: 100%;
  min-height: 360px;
  border-radius: calc(var(--radius) + 4px);
  box-shadow: var(--shadow);
}

.contact-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.contact-card {
  padding: 1.3rem;
  border-radius: var(--radius);
  background: rgba(255, 250, 242, 0.8);
  border: 1px solid rgba(47, 93, 69, 0.1);
}

.contact-card h3 {
  margin: 0 0 0.45rem;
  font-family: var(--font-display);
  font-size: 1.25rem;
}

.contact-card p {
  margin: 0;
  color: var(--ink-soft);
}

.page-hero {
  padding: 4.5rem 0 2rem;
}

.page-hero h1 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  line-height: 1.1;
}

.page-hero p {
  margin: 0.8rem 0 0;
  max-width: 42rem;
  color: var(--ink-soft);
}

/* Footer */
.site-footer {
  margin-top: 2rem;
  padding: 2.5rem 0 2rem;
  background: linear-gradient(180deg, transparent, rgba(30, 61, 45, 0.08));
  border-top: 1px solid rgba(47, 93, 69, 0.12);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 1.5rem;
}

.site-footer h3 {
  margin: 0 0 0.6rem;
  font-family: var(--font-display);
  font-size: 1.2rem;
}

.site-footer p,
.site-footer a {
  color: var(--ink-soft);
}

.footer-links {
  display: grid;
  gap: 0.35rem;
}

.footer-bottom {
  margin-top: 1.8rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(47, 93, 69, 0.12);
  color: var(--ink-soft);
  font-size: 0.9rem;
}

@keyframes floatY {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-14px);
  }
}

@keyframes heroZoom {
  from {
    transform: scale(1.05);
  }
  to {
    transform: scale(1.12);
  }
}

@media (max-width: 920px) {
  .menu-toggle {
    display: inline-block;
  }

  .nav-backdrop {
    display: block;
    position: fixed;
    inset: 0;
    z-index: 45;
    background: rgba(16, 28, 20, 0.35);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s ease;
  }

  .nav-backdrop.is-visible {
    opacity: 1;
    pointer-events: auto;
  }

  .nav {
    position: fixed;
    top: 4.5rem;
    left: 1rem;
    right: 1rem;
    z-index: 55;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0.15rem;
    padding: 0.75rem;
    border-radius: 1rem;
    background: rgba(247, 243, 235, 0.98);
    border: 1px solid rgba(47, 93, 69, 0.12);
    box-shadow: var(--shadow);
    transform: translateY(-8px);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.22s ease, transform 0.22s var(--ease), visibility 0.22s;
  }

  .nav.is-open {
    transform: none;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }

  .nav a {
    padding: 0.85rem 1rem;
    border-radius: 0.75rem;
    font-size: 1.05rem;
  }

  .nav a::after {
    display: none;
  }

  .nav a:active,
  .nav a[aria-current="page"] {
    background: rgba(47, 93, 69, 0.08);
  }

  .nav-cta {
    justify-content: center;
    margin-top: 0.35rem;
  }

  .hero {
    min-height: min(88vh, 760px);
  }

  .hero-content {
    padding: 5.5rem 0 3.2rem;
  }

  .hero h1 {
    max-width: 11ch;
  }

  .hero-cutout {
    display: none;
  }

  .news-card,
  .split,
  .contact-cards,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .news-card-media {
    min-height: 220px;
  }

  .schedule-poster {
    border-radius: 14px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}
