:root {
  --forest: #1a3a2a;
  --moss: #2d5a3d;
  --sage: #5c8a6a;
  --mist: #a8c5b0;
  --cream: #f5f0e8;
  --sand: #e8ddc8;
  --gold: #c9a84c;
  --warm: #8b6914;
  --text: #1a1a14;
  --white: #fefefe;
  --header-offset: 138px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-offset);
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
}

body {
  font-family: "Jost", sans-serif;
  background: var(--cream);
  color: var(--text);
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
}
body.menu-open {
  overflow: hidden;
}

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  width: 100%;
  max-width: 100%;
  z-index: 1100;
  background: rgba(26, 58, 42, 0.98);
  overflow-x: clip;
}

/* ── NAV ── */
nav {
  position: relative;
  width: 100%;
  max-width: 100%;
  padding: 14px 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  background: rgba(26, 58, 42, 0.9);
  backdrop-filter: blur(12px);
  transition:
    background 0.4s,
    padding 0.4s;
}
nav.scrolled {
  background: rgba(26, 58, 42, 0.97);
  backdrop-filter: blur(12px);
  padding: 12px 48px;
  box-shadow: 0 2px 24px rgba(0, 0, 0, 0.2);
}
.announcement {
  background: rgba(26, 58, 42, 0.98);
  color: var(--cream);
  padding: 10px 24px;
  text-align: center;
  font-size: 0.76rem;
  letter-spacing: 0.1em;
  font-weight: 300;
  line-height: 1.4;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 4px 8px;
  width: 100%;
  max-width: 100%;
}
.announcement > span,
.announcement > a {
  white-space: nowrap;
}
.announcement a {
  color: var(--gold);
  text-decoration: none;
  font-weight: 400;
}
.site-header > nav + .announcement {
  display: none;
}
.nav-logo {
  display: flex;
  align-items: center;
  min-width: 0;
  gap: 12px;
  text-decoration: none;
  flex: 0 1 auto;
}
.nav-logo img {
  width: 50px;
  height: 50px;
  padding: 5px;
  background-color: white;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--gold);
}
.nav-logo-text {
  font-family: "Cormorant Garamond", serif;
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--white);
  letter-spacing: 0.04em;
  line-height: 1.2;
  min-width: 0;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.nav-logo-text span {
  display: block;
  font-size: 0.62rem;
  font-family: "Jost", sans-serif;
  font-weight: 300;
  letter-spacing: 0.2em;
  color: var(--mist);
  text-transform: uppercase;
}
.nav-links {
  display: flex;
  gap: clamp(20px, 3vw, 36px);
  list-style: none;
  flex-wrap: wrap;
  justify-content: flex-end;
  align-items: center;
}
.nav-links a {
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
  font-size: 0.78rem;
  font-weight: 300;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  transition: color 0.3s;
  position: relative;
}
.nav-links a::after {
  content: "";
  position: absolute;
  bottom: -3px;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transition: transform 0.3s;
}
.nav-links a:hover {
  color: var(--gold);
}
.nav-links a:hover::after {
  transform: scaleX(1);
}
.hamburger {
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
  width: 44px;
  height: 44px;
  border: 0;
  background: transparent;
  position: relative;
  z-index: 1201;
  appearance: none;
}
.hamburger span {
  width: 26px;
  height: 2px;
  background: var(--white);
  transition: all 0.3s;
}

/* ── HERO CAROUSEL ── */
.hero {
  position: relative;
  height: 100vh;
  height: 100svh;
  width: 100%;
  max-width: 100%;
  padding: 0;
  overflow: hidden;
  isolation: isolate;
}
.carousel {
  position: absolute;
  inset: 0;
  display: flex;
  width: 100%;
  min-width: 100%;
  height: 100%;
  flex-wrap: nowrap;
  transition: transform 0.9s cubic-bezier(0.77, 0, 0.175, 1);
}
.carousel-slide {
  flex: 0 0 100%;
  width: 100%;
  min-width: 100%;
  height: 100%;
  position: relative;
  overflow: hidden;
}
.carousel-slide img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.06);
  transition: transform 7s ease;
}
.carousel-slide.active img {
  transform: scale(1);
}
.carousel-slide::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(10, 30, 20, 0.3) 0%,
    rgba(10, 30, 20, 0.1) 40%,
    rgba(10, 30, 20, 0.6) 100%
  );
}
.hero-content {
  position: absolute;
  bottom: 12%;
  left: 0;
  right: 0;
  text-align: center;
  z-index: 10;
  padding: 0 24px;
  width: min(100%, 920px);
  margin: 0 auto;
  animation: heroFadeUp 1.2s ease 0.3s both;
}
.hero-eyebrow {
  font-size: 0.72rem;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 300;
  margin-bottom: 16px;
}
.hero-title {
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(2.8rem, 7vw, 6rem);
  font-weight: 300;
  color: var(--white);
  line-height: 1.05;
  margin-bottom: 20px;
  text-shadow: 0 2px 40px rgba(0, 0, 0, 0.3);
  overflow-wrap: anywhere;
  text-wrap: balance;
}
.hero-title em {
  font-style: italic;
  color: var(--mist);
}
.hero-tagline {
  font-size: 0.88rem;
  font-weight: 200;
  letter-spacing: 0.12em;
  color: rgba(255, 255, 255, 0.75);
  margin-bottom: 36px;
  overflow-wrap: anywhere;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(201, 168, 76, 0.15);
  border: 1px solid rgba(201, 168, 76, 0.5);
  padding: 8px 22px;
  border-radius: 40px;
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
}
.badge-dot {
  width: 6px;
  height: 6px;
  background: var(--gold);
  border-radius: 50%;
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.4;
    transform: scale(0.7);
  }
}

.carousel-nav {
  position: absolute;
  bottom: 5%;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 10;
}
.carousel-dot {
  width: 28px;
  height: 3px;
  background: rgba(255, 255, 255, 0.4);
  border-radius: 2px;
  cursor: pointer;
  transition:
    background 0.3s,
    width 0.3s;
}
.carousel-dot.active {
  background: var(--gold);
  width: 44px;
}
.carousel-arrows {
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  transform: translateY(-50%);
  display: flex;
  justify-content: space-between;
  padding: 0 24px;
  z-index: 10;
  pointer-events: none;
}
.carousel-btn {
  pointer-events: all;
  width: 50px;
  height: 50px;
  border: 1px solid rgba(255, 255, 255, 0.4);
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(8px);
  border-radius: 50%;
  color: white;
  font-size: 1.2rem;
  cursor: pointer;
  transition: all 0.3s;
  display: flex;
  align-items: center;
  justify-content: center;
}
.carousel-btn:hover {
  background: rgba(201, 168, 76, 0.3);
  border-color: var(--gold);
}

@keyframes heroFadeUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ── SECTION COMMON ── */
section {
  padding: 96px 0;
  scroll-margin-top: var(--header-offset);
}
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
}
.section-label {
  font-size: 0.68rem;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--sage);
  font-weight: 400;
  margin-bottom: 12px;
}
.section-title {
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 300;
  line-height: 1.15;
  color: var(--forest);
  margin-bottom: 24px;
}
.section-title em {
  font-style: italic;
  color: var(--sage);
}
.divider {
  width: 60px;
  height: 2px;
  background: linear-gradient(90deg, var(--gold), transparent);
  margin-bottom: 32px;
}

/* ── ABOUT ── */
#about {
  background: var(--white);
}
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.about-img-stack {
  position: relative;
  height: 520px;
}
.about-img-main {
  position: absolute;
  top: 0;
  left: 0;
  width: 78%;
  height: 420px;
  object-fit: cover;
  border-radius: 2px;
  box-shadow: 12px 18px 48px rgba(26, 58, 42, 0.18);
}
.about-img-secondary {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 55%;
  height: 280px;
  object-fit: cover;
  border-radius: 2px;
  box-shadow: 8px 12px 32px rgba(26, 58, 42, 0.14);
  border: 6px solid var(--white);
}
.about-text p {
  font-size: 1rem;
  font-weight: 300;
  line-height: 1.85;
  color: #3a3a2e;
  margin-bottom: 20px;
}
.about-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 32px;
}
.meta-chip {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  border: 1px solid var(--sand);
  border-radius: 40px;
  font-size: 0.78rem;
  font-weight: 300;
  color: var(--forest);
  letter-spacing: 0.06em;
}
.meta-chip svg {
  width: 14px;
  height: 14px;
  stroke: var(--sage);
}
.btn {
  display: inline-block;
  margin-top: 32px;
  padding: 14px 36px;
  background: var(--forest);
  color: var(--white);
  text-decoration: none;
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 300;
  transition: all 0.3s;
  border: 1px solid var(--forest);
}
.btn:hover {
  background: transparent;
  color: var(--forest);
}

/* ── SUSTAINABILITY ── */
#sustainability {
  background: var(--forest);
  color: var(--white);
  position: relative;
  overflow: hidden;
}
#sustainability::before {
  content: "";
  position: absolute;
  top: -40%;
  right: -20%;
  width: 600px;
  height: 600px;
  background: radial-gradient(
    circle,
    rgba(92, 138, 106, 0.15) 0%,
    transparent 70%
  );
}
.sustainability-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.sustainability-text .section-title {
  color: var(--white);
}
.sustainability-text .section-label {
  color: var(--mist);
}
.sustainability-text p {
  font-size: 1rem;
  font-weight: 300;
  line-height: 1.85;
  color: rgba(255, 255, 255, 0.75);
  margin-bottom: 20px;
}
.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}
.tag {
  padding: 6px 16px;
  border: 1px solid rgba(201, 168, 76, 0.4);
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  border-radius: 20px;
}
.sustain-images {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.sustain-images img {
  width: 100%;
  aspect-ratio: 3/4;
  object-fit: cover;
  border-radius: 2px;
}
.sustain-images img:first-child {
  grid-row: span 2;
  aspect-ratio: auto;
  height: 100%;
}

/* ── GALLERY ── */
#gallery {
  background: var(--cream);
}
.gallery-intro {
  max-width: 560px;
  margin-bottom: 56px;
}
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 240px;
  gap: 8px;
}
.gallery-item {
  overflow: hidden;
  position: relative;
  cursor: pointer;
}
.gallery-item:nth-child(1) {
  grid-column: span 2;
  grid-row: span 2;
}
.gallery-item:nth-child(5) {
  grid-column: span 2;
}
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.gallery-item:hover img {
  transform: scale(1.07);
}
.gallery-item::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(26, 58, 42, 0);
  transition: background 0.4s;
}
.gallery-item:hover::after {
  background: rgba(26, 58, 42, 0.25);
}

/* ── CHAPEL ── */
#chapel {
  background: var(--sand);
}
.chapel-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.chapel-text p {
  font-size: 1rem;
  font-weight: 300;
  line-height: 1.85;
  color: #3a3a2e;
  margin-bottom: 16px;
}
.chapel-images {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.chapel-images img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: 2px;
}
.chapel-images img:first-child {
  grid-column: span 2;
  height: 280px;
}

/* ── CRAFTWORK ── */
#craft {
  background: var(--white);
}
.craft-intro {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 56px;
}
.craft-intro .divider {
  margin: 0 auto 32px;
}
.craft-slider {
  position: relative;
  overflow: hidden;
}
.craft-track {
  display: flex;
  gap: 20px;
  transition: transform 0.6s ease;
}
.craft-card {
  min-width: calc(33.333% - 14px);
  position: relative;
  overflow: hidden;
  border-radius: 2px;
}
.craft-card img {
  width: 100%;
  height: 380px;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}
.craft-card:hover img {
  transform: scale(1.05);
}
.craft-card-label {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(transparent, rgba(10, 28, 20, 0.8));
  padding: 40px 20px 18px;
  color: var(--cream);
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  font-weight: 300;
}

/* ── SOLACE ── */
#solace {
  background: var(--forest);
  color: var(--white);
}
.solace-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}
.solace-images {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.solace-images img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 2px;
}
.solace-images img:nth-child(1) {
  grid-column: span 2;
  height: 280px;
}
.solace-text .section-title {
  color: var(--white);
}
.solace-text .section-label {
  color: var(--mist);
}
.solace-text p {
  font-size: 1rem;
  font-weight: 300;
  line-height: 1.85;
  color: rgba(255, 255, 255, 0.75);
  margin-bottom: 16px;
}

/* ── CATECHISM ── */
#catechism {
  background: var(--cream);
}
.catechism-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.catechism-images {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.catechism-images img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  border-radius: 2px;
}
.catechism-text p {
  font-size: 1rem;
  font-weight: 300;
  line-height: 1.85;
  color: #3a3a2e;
  margin-bottom: 16px;
}

/* ── VIDEO ── */
#video {
  background: var(--forest);
  text-align: center;
}
#video .section-title {
  color: var(--white);
}
#video .section-label {
  color: var(--mist);
}
.video-container {
  max-width: 360px;
  margin: 0 auto;
}
.video-wrapper {
  display: block;
  width: min(100%, 267px);
  margin: 0 auto;
  border: 1px solid rgba(201, 168, 76, 0.3);
  padding: 8px;
  border-radius: 4px;
  background: rgba(0, 0, 0, 0.3);
}
.video-wrapper iframe {
  display: block;
  width: 100%;
  aspect-ratio: 267 / 591;
  height: auto;
}

/* ── CONTACT ── */
#contact {
  background: var(--white);
}
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
}
.contact-info h3 {
  font-family: "Cormorant Garamond", serif;
  font-size: 1.6rem;
  font-weight: 300;
  color: var(--forest);
  margin-bottom: 24px;
}
.contact-detail {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 20px;
}
.contact-icon {
  width: 36px;
  height: 36px;
  background: var(--forest);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.contact-icon svg {
  width: 16px;
  height: 16px;
  stroke: var(--white);
  fill: none;
}
.contact-detail-text {
  font-size: 0.9rem;
  font-weight: 300;
  line-height: 1.6;
  color: #3a3a2e;
}
.contact-detail-text strong {
  display: block;
  font-weight: 500;
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--sage);
  margin-bottom: 3px;
}
.contact-detail-text a {
  color: inherit;
  text-decoration: none;
}
.contact-detail-text a:hover {
  color: var(--forest);
}
.social-links {
  display: flex;
  gap: 14px;
  margin-top: 32px;
}
.social-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  background: var(--forest);
  color: var(--white);
  text-decoration: none;
  font-size: 0.76rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 300;
  transition: background 0.3s;
  border-radius: 2px;
}
.social-btn:hover {
  background: var(--moss);
}
.contact-map {
  position: relative;
  overflow: hidden;
  border-radius: 2px;
  box-shadow: 0 8px 32px rgba(26, 58, 42, 0.12);
  aspect-ratio: 4 / 3;
  min-height: 360px;
  background: #10281f;
}
.contact-map iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}
.map-overlay {
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 16px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  pointer-events: none;
}
.map-overlay p {
  background: rgba(13, 32, 24, 0.84);
  color: var(--cream);
  font-size: 0.84rem;
  line-height: 1.5;
  font-weight: 300;
  padding: 10px 14px;
  border-radius: 2px;
  backdrop-filter: blur(8px);
}
.map-overlay a {
  pointer-events: auto;
  display: inline-block;
  padding: 8px 20px;
  background: rgba(201, 168, 76, 0.18);
  border: 1px solid rgba(201, 168, 76, 0.55);
  color: var(--gold);
  text-decoration: none;
  font-size: 0.72rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  border-radius: 2px;
  transition:
    background 0.3s,
    color 0.3s;
}
.map-overlay a:hover {
  background: rgba(201, 168, 76, 0.3);
  color: var(--cream);
}
.back-to-top {
  position: fixed;
  right: 18px;
  bottom: 18px;
  width: 48px;
  height: 48px;
  border: 1px solid rgba(201, 168, 76, 0.45);
  border-radius: 50%;
  background: rgba(26, 58, 42, 0.92);
  color: var(--cream);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.22);
  opacity: 0;
  transform: translateY(16px);
  pointer-events: none;
  transition:
    opacity 0.25s ease,
    transform 0.25s ease,
    background 0.25s ease;
  z-index: 1250;
}
.back-to-top.visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
.back-to-top:hover {
  background: rgba(45, 90, 61, 0.98);
}
.ongoing-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(201, 168, 76, 0.12);
  border: 1px solid var(--gold);
  padding: 10px 22px;
  border-radius: 40px;
  font-size: 0.76rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--warm);
  margin-bottom: 28px;
}

/* ── FOOTER ── */
footer {
  background: #0d2018;
  color: rgba(255, 255, 255, 0.6);
  padding: 56px 0 28px;
}
.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
}
.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 60px;
  margin-bottom: 48px;
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
}
.footer-brand img {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid var(--gold);
}
.footer-brand-name {
  font-family: "Cormorant Garamond", serif;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--white);
}
.footer-tagline {
  font-size: 0.84rem;
  font-weight: 300;
  line-height: 1.7;
  font-style: italic;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 20px;
}
.footer-col h4 {
  font-size: 0.7rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 20px;
  font-weight: 400;
}
.footer-col ul {
  list-style: none;
}
.footer-col ul li {
  margin-bottom: 10px;
}
.footer-col ul a {
  color: rgba(255, 255, 255, 0.5);
  text-decoration: none;
  font-size: 0.84rem;
  font-weight: 300;
  transition: color 0.3s;
}
.footer-col ul a:hover {
  color: var(--mist);
}
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.74rem;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.3);
}

/* ── SCROLL REVEAL ── */
.reveal {
  opacity: 0;
  --reveal-x: 0px;
  --reveal-y: 28px;
  --reveal-delay: 0s;
  transform: translate3d(var(--reveal-x), var(--reveal-y), 0);
  transition:
    opacity 0.8s ease,
    transform 0.8s ease;
  transition-delay: var(--reveal-delay);
  will-change: opacity, transform;
}
.reveal.visible {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}
.reveal[data-wow="left"] {
  --reveal-x: -48px;
  --reveal-y: 0px;
}
.reveal[data-wow="right"] {
  --reveal-x: 48px;
  --reveal-y: 0px;
}
.reveal[data-wow="up"] {
  --reveal-x: 0px;
  --reveal-y: 48px;
}
.reveal[data-wow="down"] {
  --reveal-x: 0px;
  --reveal-y: -48px;
}
.reveal-delay-1 {
  --reveal-delay: 0.1s;
}
.reveal-delay-2 {
  --reveal-delay: 0.2s;
}
.reveal-delay-3 {
  --reveal-delay: 0.3s;
}
.reveal-delay-4 {
  --reveal-delay: 0.4s;
}

/* ── LIGHTBOX ── */
.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(5, 15, 10, 0.96);
  align-items: center;
  justify-content: center;
  cursor: zoom-out;
}
.lightbox.open {
  display: flex;
}
.lightbox img {
  max-width: 90vw;
  max-height: 90vh;
  object-fit: contain;
  border-radius: 2px;
}
.lightbox-close {
  position: absolute;
  top: 24px;
  right: 28px;
  color: white;
  font-size: 2rem;
  cursor: pointer;
  line-height: 1;
  opacity: 0.6;
  transition: opacity 0.2s;
}
.lightbox-close:hover {
  opacity: 1;
}

/* ── MOBILE ── */
@media (max-width: 1100px) {
  nav {
    padding: 12px 32px;
  }
  nav.scrolled {
    padding: 10px 32px;
  }
  .container,
  .footer-inner {
    padding-left: 32px;
    padding-right: 32px;
  }
  .about-grid,
  .sustainability-grid,
  .chapel-grid,
  .solace-grid,
  .catechism-grid,
  .contact-grid {
    gap: 56px;
  }
  .gallery-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .craft-card {
    min-width: calc(50% - 10px);
  }
}

@media (max-width: 768px) {
  nav {
    padding: 14px 24px;
    gap: 14px;
    align-items: center;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    min-height: 78px;
  }
  nav.scrolled {
    padding: 12px 24px;
  }
  .announcement {
    padding: 8px 12px;
    font-size: 0.62rem;
    line-height: 1.35;
    letter-spacing: 0.04em;
    gap: 3px 8px;
  }
  .nav-logo {
    min-width: 0;
    gap: 12px;
    overflow: hidden;
    max-width: 100%;
  }
  .nav-logo img {
    width: 48px;
    height: 48px;
  }
  .nav-logo-text {
    min-width: 0;
    font-size: 1.08rem;
    max-width: min(62vw, 240px);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
  .nav-logo-text span {
    font-size: 0.58rem;
    letter-spacing: 0.16em;
  }
  .nav-links {
    display: flex;
    position: fixed;
    top: var(--header-offset);
    left: 0;
    right: 0;
    height: calc(100dvh - var(--header-offset));
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    gap: 28px;
    padding: 28px 24px 32px;
    background: rgba(26, 58, 42, 0.98);
    backdrop-filter: blur(12px);
    transform: translateY(-105%);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition:
      transform 0.35s ease,
      opacity 0.25s ease;
    overflow-y: auto;
    z-index: 1100;
  }
  .nav-links.open {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }
  .nav-links li {
    width: 100%;
    text-align: center;
  }
  .nav-links.open a {
    font-size: 1.15rem;
    display: inline-block;
    padding: 4px 0;
  }
  .hamburger {
    display: flex;
    width: 48px;
    height: 48px;
    flex: 0 0 48px;
    align-items: center;
    justify-content: center;
    padding: 0;
    margin-left: auto;
    z-index: 1201;
  }
  .hamburger span {
    width: 26px;
  }
  section {
    padding: 64px 0;
  }
  .container {
    padding: 0 20px;
  }
  .about-grid,
  .sustainability-grid,
  .chapel-grid,
  .solace-grid,
  .catechism-grid,
  .contact-grid,
  .craft-track {
    grid-template-columns: 1fr;
  }
  .about-img-stack {
    height: auto;
    display: grid;
    gap: 12px;
  }
  .about-img-main,
  .about-img-secondary {
    position: relative;
    top: auto;
    left: auto;
    right: auto;
    bottom: auto;
    width: 100%;
    height: 240px;
  }
  .about-img-secondary {
    border-width: 4px;
  }
  .gallery-grid {
    grid-template-columns: 1fr 1fr;
    grid-auto-rows: 160px;
  }
  .gallery-item:nth-child(1) {
    grid-column: span 2;
    grid-row: span 1;
  }
  .gallery-item:nth-child(5) {
    grid-column: span 2;
  }
  .craft-slider {
    overflow: visible;
  }
  .craft-track {
    flex-direction: column;
    gap: 16px;
  }
  .craft-card {
    min-width: 100%;
  }
  .footer-top {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .footer-bottom {
    flex-direction: column;
    gap: 8px;
    text-align: center;
  }
  .carousel-btn {
    width: 38px;
    height: 38px;
    font-size: 0.9rem;
  }
  .hero {
    width: 100%;
  }
  
}

@media (max-width: 576px) {
  nav {
    padding: 12px 16px;
    gap: 10px;
    min-height: 72px;
  }

  nav.scrolled {
    padding: 10px 16px;
  }
  .nav-logo img {
    width: 44px;
    height: 44px;
  }
  .nav-logo-text {
    font-size: 1rem;
    line-height: 1.08;
    max-width: min(58vw, 190px);
  }
  .nav-logo-text span {
    font-size: 0.52rem;
    letter-spacing: 0.13em;
  }
  .announcement {
    padding: 7px 10px;
    font-size: 0.55rem;
    line-height: 1.3;
    letter-spacing: 0.03em;
    gap: 2px 6px;
  }
  .hero-content {
    bottom: 10%;
    padding: 0 16px;
    width: min(100%, 92vw);
  }
  .hero-eyebrow {
    font-size: 0.58rem;
    letter-spacing: 0.14em;
    line-height: 1.4;
  }
  .hero-title {
    font-size: clamp(1.9rem, 8vw, 2.35rem);
    line-height: 1.02;
    margin-bottom: 14px;
    max-width: 92vw;
    margin-inline: auto;
  }
  .hero-tagline {
    font-size: 0.68rem;
    letter-spacing: 0.06em;
    line-height: 1.5;
    margin-bottom: 20px;
    max-width: 88vw;
    margin-inline: auto;
  }
  .hero-badge {
    max-width: 100%;
    text-align: center;
    line-height: 1.4;
    letter-spacing: 0.12em;
    padding: 8px 12px;
    font-size: 0.6rem;
  }
  .gallery-grid {
    grid-template-columns: 1fr;
  }
  .gallery-item:nth-child(1),
  .gallery-item:nth-child(5) {
    grid-column: auto;
    grid-row: auto;
  }
  .chapel-images,
  .sustain-images,
  .solace-images,
  .catechism-images {
    grid-template-columns: 1fr;
  }
  .chapel-images img,
  .sustain-images img,
  .solace-images img,
  .catechism-images img {
    height: 220px;
  }
  .chapel-images img:first-child,
  .sustain-images img:first-child,
  .solace-images img:nth-child(1) {
    grid-column: auto;
    grid-row: auto;
    height: 220px;
  }
  .social-links {
    flex-direction: column;
    align-items: flex-start;
  }
  .contact-map {
    min-height: 300px;
  }
  .map-overlay {
    left: 12px;
    right: 12px;
    bottom: 12px;
  }
  .map-overlay p {
    font-size: 0.76rem;
  }
  .map-overlay a {
    font-size: 0.66rem;
    padding: 7px 16px;
  }
  .back-to-top {
    right: 14px;
    bottom: 14px;
    width: 44px;
    height: 44px;
  }
  .footer-inner {
    padding: 0 16px;
  }
}
