/* ============================================================
   SALETTE MALAYALEE COMMUNITY — Main Stylesheet
   Theme: White & Muted Bronze | Mixed Typography | Mobile-first
   ============================================================ */

/* ── Design Tokens ── */
:root {
  /* Colors */
  --white:        #FFFFFF;
  --ivory:        #FDFAF4;
  --gold:         #8A6A3F;
  --gold-light:   #C8B28D;
  --gold-pale:    #F2EDE4;
  --charcoal:     #1C1C1C;
  --slate:        #4A4A4A;
  --muted:        #888888;
  --divider:      #E8DFC8;
  --brushed-metal:
    radial-gradient(ellipse at 22% 22%, rgba(113,148,178,0.13) 0%, transparent 34%),
    radial-gradient(ellipse at 78% 66%, rgba(138,106,63,0.055) 0%, transparent 38%),
    radial-gradient(ellipse at 52% 105%, rgba(0,0,0,0.3) 0%, transparent 48%),
    repeating-linear-gradient(0deg, rgba(255,255,255,0.014) 0 1px, rgba(0,0,0,0.018) 1px 2px, transparent 2px 4px),
    linear-gradient(105deg, #263A4B 0%, #30475A 34%, #1B2B38 72%, #101A23 100%);

  /* Typography */
  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body:    'Inter', system-ui, sans-serif;

  /* Scale using clamp() for fluid type */
  --text-xs:    clamp(0.80rem, 1.6vw, 0.84rem);
  --text-sm:    clamp(0.92rem, 1.9vw, 0.98rem);
  --text-base:  clamp(1rem, 2.05vw, 1.07rem);
  --text-lg:    clamp(1.1rem, 2.5vw, 1.2rem);
  --text-xl:    clamp(1.4rem, 3vw, 1.6rem);
  --text-2xl:   clamp(1.8rem, 4vw, 2.4rem);
  --text-3xl:   clamp(2.4rem, 5.5vw, 3.6rem);
  --text-hero:  clamp(3rem, 8vw, 6rem);

  /* Spacing */
  --space-xs:   0.5rem;
  --space-sm:   1rem;
  --space-md:   2rem;
  --space-lg:   4rem;
  --space-xl:   6rem;
  --space-2xl:  9rem;

  /* Layout */
  --max-width:  1140px;
  --radius:     2px;
  --radius-lg:  6px;

  /* Transitions */
  --ease:       cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --duration:   300ms;
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  font-size: var(--text-base);
  color: var(--charcoal);
  background: var(--white);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

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

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

ul, ol { list-style: none; }

button {
  font-family: var(--font-body);
  cursor: pointer;
  border: none;
  background: none;
}

/* ── Utility ── */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin-inline: auto;
  padding-inline: clamp(1.25rem, 5vw, 3rem);
}

.section {
  padding-block: var(--space-xl);
}

.section--dark {
  background: var(--brushed-metal);
  color: var(--white);
}

.section--dark .eyebrow {
  color: var(--gold-light);
}

.section--ivory {
  background: var(--ivory);
}

.section--gold-pale {
  background: var(--gold-pale);
}

.eyebrow {
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  display: block;
  margin-bottom: var(--space-sm);
}

.section-title {
  font-family: var(--font-display);
  font-size: var(--text-3xl);
  font-weight: 300;
  line-height: 1.15;
  color: var(--charcoal);
}

.section-title--light {
  color: var(--white);
}

.section-title--gold {
  color: var(--gold);
}

.section-subtitle {
  font-size: var(--text-lg);
  color: var(--slate);
  margin-top: var(--space-sm);
  max-width: 56ch;
  font-weight: 300;
}

.section-subtitle--light {
  color: rgba(255,255,255,0.86);
}

.gold-rule {
  width: 48px;
  height: 1.5px;
  background: var(--gold);
  margin-block: var(--space-md);
}

.gold-rule--center {
  margin-inline: auto;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.85rem 2rem;
  border: 1.5px solid var(--gold);
  color: var(--gold);
  transition: background var(--duration) var(--ease), color var(--duration) var(--ease);
}

.btn:hover, .btn:focus-visible {
  background: var(--gold);
  color: var(--white);
  outline: none;
}

.btn--filled {
  background: var(--gold);
  color: var(--white);
}

.btn--filled:hover, .btn--filled:focus-visible {
  background: #715331;
  border-color: #715331;
}

/* ── NAVIGATION ── */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  transition: background var(--duration) var(--ease), box-shadow var(--duration) var(--ease);
}

.nav.scrolled {
  background: rgba(246, 241, 231, 0.96);
  box-shadow: 0 1px 0 rgba(138,106,63,0.2), 0 8px 24px rgba(28,28,28,0.045);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.nav:not(.scrolled) .nav__inner .nav__name,
.nav:not(.scrolled) .nav__inner .nav__link {
  color: var(--white);
}

.nav:not(.scrolled) .nav__inner .nav__hamburger span {
  background: var(--white);
}

.nav:not(.scrolled) .nav__inner .nav__cta {
  border-color: var(--gold-light);
  color: var(--gold-light);
}

.nav:not(.scrolled) .nav__inner .nav__cta:hover {
  background: var(--gold-light);
  color: #111820;
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  padding-inline: clamp(1.25rem, 5vw, 3rem);
  max-width: var(--max-width);
  margin-inline: auto;
}

.nav__brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex: 0 0 auto;
}

.nav__cross {
  display: none;
}

.nav__logo {
  width: 32px;
  height: 42px;
  object-fit: contain;
  object-position: center;
  filter: drop-shadow(0 2px 3px rgba(0,0,0,0.18));
}

.nav.scrolled .nav__logo {
  filter: drop-shadow(0 2px 4px rgba(92,66,28,0.28));
}

.nav__name {
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 2.5vw, 1.65rem);
  font-weight: 600;
  letter-spacing: 0.02em;
  line-height: 1;
  color: var(--charcoal);
}

.nav.scrolled .nav__name { color: var(--charcoal); }

.nav__links {
  display: flex;
  align-items: center;
  gap: 2.5rem;
}

.nav__link {
  font-size: var(--text-sm);
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  white-space: nowrap;
  color: var(--charcoal);
  position: relative;
  transition: color var(--duration) var(--ease);
}

.nav__link::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0;
  width: 0; height: 1px;
  background: var(--gold);
  transition: width var(--duration) var(--ease);
}

.nav__link:hover::after,
.nav__link.active::after { width: 100%; }

.nav__link:hover { color: var(--gold); }
.nav__member-login { color: var(--gold); font-weight: 600; }
.nav:not(.scrolled) .nav__inner .nav__member-login { color: var(--gold-light); }
.nav__mobile-member-login { display:none; margin-left:auto; padding:.42rem .65rem; border:1px solid var(--gold); color:var(--gold); font-size:.65rem; font-weight:700; letter-spacing:.05em; text-transform:uppercase; white-space:nowrap; }
.nav__mobile-member-login:hover,.nav__mobile-member-login:focus-visible { color:var(--white); background:var(--gold); outline:none; }

.nav__more {
  position: relative;
}

.nav__more-button {
  display: block;
}

.nav__more-menu {
  position: absolute;
  top: calc(100% + 1rem);
  right: 0;
  display: grid;
  min-width: 220px;
  padding: 0.5rem;
  background: var(--white);
  border: 1px solid var(--divider);
  box-shadow: 0 16px 40px rgba(28,28,28,0.12);
  visibility: hidden;
  opacity: 0;
  transform: translateY(-6px);
  transition: opacity var(--duration) var(--ease), transform var(--duration) var(--ease), visibility var(--duration) var(--ease);
}

.nav__more.open .nav__more-menu,
.nav__more:focus-within .nav__more-menu {
  visibility: visible;
  opacity: 1;
  transform: translateY(0);
}

.nav__more-link {
  padding: 0.7rem 0.85rem;
  color: var(--charcoal);
  font-size: var(--text-sm);
  font-weight: 500;
  letter-spacing: 0.04em;
  white-space: nowrap;
}

.nav__more-link:hover,
.nav__more-link:focus-visible {
  background: var(--gold-pale);
  color: var(--gold);
  outline: none;
}

.nav__cta {
  font-size: var(--text-sm);
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.6rem 1.4rem;
  border: 1.5px solid var(--gold);
  color: var(--gold);
  transition: background var(--duration) var(--ease), color var(--duration) var(--ease);
}

.nav__cta:hover {
  background: var(--gold);
  color: var(--white);
}

/* Hamburger */
.nav__hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  cursor: pointer;
  background: none;
  border: none;
}

.nav__hamburger span {
  display: block;
  width: 24px;
  height: 1.5px;
  background: var(--charcoal);
  transition: transform var(--duration) var(--ease), opacity var(--duration) var(--ease);
}

.nav__hamburger.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav__hamburger.open span:nth-child(2) { opacity: 0; }
.nav__hamburger.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* Mobile drawer */
.nav__drawer {
  display: none;
  flex-direction: column;
  background: var(--white);
  border-top: 1px solid var(--divider);
  padding: var(--space-md) clamp(1.25rem, 5vw, 3rem) var(--space-lg);
  gap: 1.5rem;
}

.nav__drawer.open { display: flex; }

.nav__drawer .nav__link {
  font-size: var(--text-base);
}

/* ── Back to top ── */
.back-to-top {
  position: fixed;
  right: clamp(1rem, 4vw, 2rem);
  bottom: clamp(1rem, 4vw, 2rem);
  z-index: 90;
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border: 1px solid var(--gold);
  border-radius: 50%;
  background: var(--charcoal);
  color: var(--gold-light);
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: opacity var(--duration) var(--ease), transform var(--duration) var(--ease), visibility var(--duration) var(--ease), background var(--duration) var(--ease), color var(--duration) var(--ease);
}

.back-to-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:hover,
.back-to-top:focus-visible {
  background: var(--gold);
  color: var(--white);
  outline: none;
}

.back-to-top svg {
  width: 20px;
  height: 20px;
}

/* ── HERO ── */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: #1A2632;
}

.hero__bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 50% 42%, rgba(200,178,141,0.13) 0%, transparent 34%),
    var(--brushed-metal);
}

.hero__layout {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: center;
  padding-top: 72px;
}

.hero__content {
  width: min(100%, 820px);
  text-align: center;
}

.hero__eyebrow {
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold-light);
  display: block;
  margin-bottom: var(--space-md);
  animation: fadeDown 1.2s var(--ease) 0.15s both;
}

.hero__title {
  font-family: var(--font-display);
  font-size: clamp(3.3rem, 7vw, 6.8rem);
  font-weight: 400;
  color: var(--white);
  line-height: 0.94;
  letter-spacing: -0.035em;
  margin-bottom: var(--space-md);
  animation: fadeDown 1.2s var(--ease) 0.3s both;
}

.hero__title span,
.hero__title strong {
  display: block;
}

.hero__title strong {
  margin-top: 0.22em;
  color: var(--gold-light);
  font-size: 0.72em;
  font-weight: 400;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.hero__intro {
  max-width: 58ch;
  margin-inline: auto;
  color: rgba(255,255,255,0.86);
  font-size: var(--text-lg);
  font-weight: 300;
  line-height: 1.75;
  animation: fadeDown 1.2s var(--ease) 0.45s both;
}

.hero__actions {
  display: flex;
  justify-content: center;
  gap: 1rem;
  align-items: center;
  flex-wrap: wrap;
  margin-top: var(--space-md);
  animation: fadeDown 1.2s var(--ease) 0.6s both;
}

.hero__text-link {
  color: rgba(255,255,255,0.84);
  font-size: var(--text-sm);
  font-weight: 500;
  transition: color var(--duration) var(--ease);
}

.hero__text-link span { display: inline-block; margin-left: 0.4rem; transition: transform var(--duration) var(--ease); }
.hero__text-link:hover { color: var(--white); }
.hero__text-link:hover span { transform: translateX(4px); }

.hero__scroll {
  position: absolute;
  bottom: 2rem; left: 50%;
  translate: -50% 0;
  display: none;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  color: rgba(255,255,255,0.72);
  font-size: var(--text-xs);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  animation: fadeDown 1.5s var(--ease) 1s both;
}

@media (min-width: 1280px) and (min-height: 800px) {
  .hero__scroll { display: flex; }
}

.hero__scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, rgba(138,106,63,0.6), transparent);
  animation: scrollLine 2s ease-in-out infinite;
}

@keyframes scrollLine {
  0% { transform: scaleY(0); transform-origin: top; }
  50% { transform: scaleY(1); transform-origin: top; }
  51% { transform: scaleY(1); transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}

@keyframes fadeDown {
  from { opacity: 0; transform: translateY(-16px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ── WELCOME ── */
.welcome {
  padding-block: var(--space-2xl);
}

.welcome__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 6vw, 5rem);
  align-items: center;
}

.welcome__text .section-title {
  margin-top: var(--space-xs);
}

.welcome__body {
  margin-top: var(--space-md);
  color: var(--slate);
  font-weight: 300;
  font-size: var(--text-lg);
  line-height: 1.8;
}

.welcome__body p + p { margin-top: 1rem; }

.welcome__actions { margin-top: var(--space-lg); }

.welcome__image-wrap {
  position: relative;
}

.welcome__card {
  width: min(100%, 410px);
  min-height: 100%;
  margin-inline: auto;
  padding: clamp(1.5rem, 4vw, 2.5rem);
  background: linear-gradient(145deg, var(--ivory), var(--gold-pale));
  border: 1px solid var(--divider);
  box-shadow: 0 18px 45px rgba(28,28,28,0.07);
}

.welcome__card-heading {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  padding-bottom: var(--space-md);
  border-bottom: 1px solid var(--divider);
}

.welcome__card-logo {
  width: 72px;
  height: 92px;
  object-fit: contain;
  flex: 0 0 auto;
  filter: drop-shadow(0 10px 18px rgba(28,28,28,0.14));
}

.welcome__card-motto {
  flex: 1;
  color: var(--gold);
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 400;
  line-height: 1.25;
  text-align: center;
}

.welcome__card-motto span {
  display: block;
}

.welcome__card-verse {
  margin-block: var(--space-md);
  color: var(--slate);
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-style: italic;
  line-height: 1.6;
}

.welcome__card-verse cite {
  display: block;
  margin-top: 0.5rem;
  color: var(--gold);
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-style: normal;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.welcome__card-pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--divider);
  border: 1px solid var(--divider);
}

.welcome__card-pillars span {
  padding: 0.8rem 0.5rem;
  background: rgba(255,255,255,0.62);
  color: var(--gold);
  font-size: var(--text-xs);
  font-weight: 500;
  text-align: center;
}

.welcome__image {
  width: 100%;
  aspect-ratio: 4/5;
  object-fit: cover;
  display: block;
}

.welcome__motto-panel {
  width: 100%;
  aspect-ratio: 4/5;
  background: var(--brushed-metal);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.3em;
  padding: clamp(2rem, 5vw, 4rem);
  color: var(--gold-light);
  text-align: center;
}

.welcome__motto-line {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 5vw, 4.5rem);
  font-weight: 400;
  line-height: 1;
}

.welcome__image-accent {
  position: absolute;
  bottom: -1.5rem; left: -1.5rem;
  width: 80px; height: 80px;
  z-index: 1;
  border: 2px solid var(--gold);
  pointer-events: none;
}

/* ── PILLARS (Mission / Vision / Values) ── */
.pillars {
  padding-block: var(--space-xl);
}

.pillars__header {
  text-align: center;
  max-width: 56ch;
  margin-inline: auto;
  margin-bottom: var(--space-lg);
}

.pillars__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--divider);
  border: 1px solid var(--divider);
}

.pillar {
  background: var(--white);
  padding: clamp(2rem, 4vw, 3.5rem) clamp(1.5rem, 3vw, 2.5rem);
  position: relative;
  transition: background var(--duration) var(--ease);
}

.pillar:hover { background: var(--ivory); }

.pillar__icon {
  font-size: 1.6rem;
  margin-bottom: var(--space-md);
  display: block;
  color: var(--gold);
}

.pillar__title {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 400;
  margin-bottom: var(--space-sm);
  color: var(--charcoal);
}

.pillar__text {
  font-size: var(--text-sm);
  color: var(--slate);
  line-height: 1.75;
  font-weight: 300;
}

/* ── GATHERINGS ── */
.gatherings {
  padding-block: var(--space-xl);
}

.gatherings__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(1.5rem, 4vw, 3rem);
  margin-top: var(--space-lg);
}

.gathering-card {
  border: 1px solid var(--divider);
  padding: clamp(1.5rem, 3vw, 2.5rem);
  position: relative;
  overflow: hidden;
  transition: border-color var(--duration) var(--ease);
}

.gathering-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 3px; height: 0;
  background: var(--gold);
  transition: height var(--duration) var(--ease);
}

.gathering-card:hover::before { height: 100%; }
.gathering-card:hover { border-color: var(--gold-pale); }

.gathering-card__type {
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: var(--space-sm);
}

.gathering-card__title {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  font-weight: 300;
  margin-bottom: var(--space-sm);
}

.gathering-card__detail {
  font-size: var(--text-sm);
  color: var(--slate);
  display: flex;
  align-items: baseline;
  gap: 0.6rem;
  margin-top: 0.4rem;
}

.gathering-card__detail strong {
  color: var(--charcoal);
  font-weight: 500;
  min-width: 4.5rem;
}

/* ── EVENTS ── */
.events { padding-block: var(--space-xl); }

.events__header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: var(--space-lg);
  flex-wrap: wrap;
  gap: 1rem;
}

.events__list {
  display: flex;
  flex-direction: column;
  gap: 1px;
  background: var(--divider);
  border: 1px solid var(--divider);
}
.events__status { padding:2rem; color:var(--slate); text-align:center; }

.event-item {
  background: var(--white);
  display: grid;
  grid-template-columns: 80px 1fr auto;
  gap: 0;
  align-items: stretch;
  transition: background var(--duration) var(--ease);
}

.event-item:hover { background: var(--ivory); }

.event-item__date {
  background: var(--charcoal);
  color: var(--white);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  min-height: 88px;
  text-align: center;
}

.event-item__date-day {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  font-weight: 300;
  line-height: 1;
  color: var(--gold-light);
}

.event-item__date-month {
  font-size: var(--text-xs);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.82);
  margin-top: 0.2rem;
}

.event-item__body {
  padding: 1.25rem 1.5rem;
}

.event-item__title {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 400;
  margin-bottom: 0.3rem;
}

.event-item__meta {
  font-size: var(--text-xs);
  color: var(--muted);
  letter-spacing: 0.04em;
}

.event-item__meta span + span::before {
  content: ' · ';
}

.event-item__tag {
  align-self: center;
  padding-right: 1.5rem;
}

.tag {
  font-size: var(--text-xs);
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.3rem 0.75rem;
  border: 1px solid var(--gold);
  color: var(--gold);
}

/* ── GALLERY ── */
.gallery { padding-block: var(--space-xl); }

.gallery__header {
  text-align: center;
  margin-bottom: var(--space-lg);
}

.gallery__grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-template-rows: auto;
  gap: 6px;
}

.gallery__item {
  overflow: hidden;
  background: var(--divider);
}

.gallery__item--1 { grid-column: span 5; grid-row: span 2; }
.gallery__item--2 { grid-column: span 4; }
.gallery__item--3 { grid-column: span 3; }
.gallery__item--4 { grid-column: span 4; }
.gallery__item--5 { grid-column: span 3; }
.gallery__item--6 { grid-column: span 4; }
.gallery__item--7 { grid-column: span 3; }

.gallery__img {
  width: 100%;
  height: 100%;
  min-height: 200px;
  object-fit: cover;
  transition: transform 0.5s var(--ease);
}

.gallery__item:hover .gallery__img { transform: scale(1.04); }

.gallery__placeholder {
  width: 100%;
  min-height: 200px;
  height: 100%;
  background: linear-gradient(135deg, var(--gold-pale) 0%, var(--divider) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  color: var(--gold);
  transition: transform 0.5s var(--ease);
}

.gallery__item:hover .gallery__placeholder { transform: scale(1.04); }

.gallery__footer {
  text-align: center;
  margin-top: var(--space-md);
}

/* SPIRITUAL / TEN COMMANDMENTS TEASER */
.spiritual {
  padding-block: var(--space-xl);
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(ellipse at 82% 12%, rgba(138,106,63,0.08) 0%, transparent 52%),
    var(--brushed-metal);
}

.spiritual__bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 70% 50%, rgba(138,106,63,0.08) 0%, transparent 60%),
    var(--charcoal);
}

.spiritual__inner {
  position: relative;
  max-width: 1040px;
  margin-inline: auto;
}

.spiritual__header {
  margin-bottom: clamp(2rem, 5vw, 3.5rem);
}

.spiritual__header .section-title {
  max-width: 16ch;
}

.spiritual__teaser {
  max-width: 680px;
  padding-top: var(--space-md);
  border-top: 1px solid rgba(200,178,141,0.28);
}

.spiritual__teaser p {
  max-width: 58ch;
  color: rgba(255,255,255,0.8);
  font-size: var(--text-base);
  line-height: 1.8;
}

.spiritual__teaser-link {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  margin-top: var(--space-md);
  color: var(--gold-light);
  font-size: var(--text-sm);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.spiritual__teaser-link span {
  transition: transform var(--duration) var(--ease);
}

.spiritual__teaser-link:hover span,
.spiritual__teaser-link:focus-visible span {
  transform: translateX(5px);
}

/* ── LEADERSHIP ── */
.leadership { padding-block: var(--space-xl); }

.leadership__header {
  text-align: center;
  margin-bottom: var(--space-lg);
}

.leadership__tabs {
  display: flex;
  gap: 0;
  border-bottom: 1px solid var(--divider);
  margin-bottom: var(--space-lg);
}

.leadership__tab {
  font-size: var(--text-sm);
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.75rem 1.5rem;
  color: var(--muted);
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
  transition: color var(--duration) var(--ease), border-color var(--duration) var(--ease);
  cursor: pointer;
}

.leadership__tab:hover { color: var(--charcoal); }
.leadership__tab.active { color: var(--gold); border-color: var(--gold); }

.leadership__panel { display: none; }
.leadership__panel.active { display: block; }

.leadership__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 1.5rem;
}

.person-card {
  text-align: center;
}

.person-card:has(.person-card__name:empty) {
  display: none;
}

.person-card__avatar {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold-pale), var(--divider));
  margin-inline: auto;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  color: var(--gold);
  overflow: hidden;
  border: 2px solid var(--divider);
}

.person-card:has(.person-card__photo) .person-card__avatar {
  display: none;
}

.person-card__photo {
  width: 96px;
  height: 96px;
  margin: 0 auto 1rem;
  border: 2px solid var(--divider);
  border-radius: 50%;
  object-fit: cover;
}

.person-card__avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.person-card__name {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 400;
  margin-bottom: 0.25rem;
}

.person-card__role {
  font-size: var(--text-sm);
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
}

/* ── CONTACT ── */
.contact { padding-block: var(--space-xl); }

.contact__grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: clamp(2rem, 6vw, 5rem);
  align-items: start;
}

.contact__info-item {
  display: flex;
  gap: 1rem;
  align-items: baseline;
  padding: 1rem 0;
  border-bottom: 1px solid var(--divider);
}

.contact__info-label {
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  min-width: 5.5rem;
}

.contact__info-value {
  font-size: var(--text-sm);
  color: var(--slate);
}

.contact__info-value a:hover { color: var(--gold); }

.contact__form {
  display: grid;
  gap: 1rem;
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.form-field label {
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--charcoal);
}

.form-field input,
.form-field textarea,
.form-field select {
  font-family: var(--font-body);
  font-size: var(--text-sm);
  color: var(--charcoal);
  background: var(--ivory);
  border: 1px solid var(--divider);
  padding: 0.85rem 1rem;
  transition: border-color var(--duration) var(--ease), background var(--duration) var(--ease);
  outline: none;
  width: 100%;
  appearance: none;
  border-radius: 0;
}

.form-field input:focus,
.form-field textarea:focus,
.form-field select:focus {
  border-color: var(--gold);
  background: var(--white);
}

.form-field textarea { min-height: 130px; resize: vertical; }

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

/* ── FOOTER ── */
.footer {
  background: var(--brushed-metal);
  color: rgba(255,255,255,0.82);
  padding-block: var(--space-xl) var(--space-md);
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  margin-bottom: var(--space-xl);
}

.footer__brand-name {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 300;
  color: var(--white);
  margin-bottom: var(--space-sm);
}

.footer__brand-lockup {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: var(--space-sm);
}

.footer__brand-lockup .footer__brand-name { margin-bottom: 0; }

.footer__logo {
  width: 46px;
  height: 60px;
  object-fit: contain;
  filter: drop-shadow(0 4px 8px rgba(0,0,0,0.28));
}

.footer__brand-tagline {
  font-size: var(--text-sm);
  line-height: 1.7;
  font-weight: 300;
  margin-bottom: var(--space-md);
}

.footer__col-title {
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: var(--space-md);
}

.footer__links {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer__link {
  font-size: var(--text-sm);
  color: rgba(255,255,255,0.78);
  transition: color var(--duration) var(--ease);
}

.footer__link:hover { color: var(--white); }

.footer__bottom {
  border-top: 1px solid rgba(255,255,255,0.07);
  padding-top: var(--space-md);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer__bottom a {
  color: rgba(255,255,255,0.78) !important;
}

.footer__bottom a:hover,
.footer__bottom a:focus-visible {
  color: var(--white) !important;
}

.footer__copy {
  font-size: var(--text-xs);
  color: rgba(255,255,255,0.68);
}

.footer__cross {
  font-size: 1rem;
  color: var(--gold-light);
  opacity: 0.85;
}

/* ── SCROLL REVEAL ── */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* ── REDUCED MOTION ── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
  html { scroll-behavior: auto; }
}

/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
  .pillars__grid { grid-template-columns: 1fr; gap: 1px; }
  .spiritual__inner { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 1100px) {
  .nav__links, .nav__cta { display: none; }
  .community-page .nav__mobile-member-login { display:inline-flex; }
  .nav__hamburger { display: flex; }
}

@media (max-width: 768px) {
  .hero { min-height: auto; padding-block: 8rem 5rem; }
  .hero__layout { padding-top: 0; }
  .hero__content { max-width: none; }
  .hero__title { font-size: clamp(3rem, 14vw, 5rem); }
  .hero__scroll { display: none; }

  .welcome__grid { grid-template-columns: 1fr; }
  .welcome__image-wrap { order: initial; }
  .welcome__image-accent { display: none; }

  .gatherings__grid { grid-template-columns: 1fr; }

  .event-item {
    grid-template-columns: 64px 1fr;
  }
  .event-item__tag { display: none; }

  .gallery__grid {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto;
  }
  .gallery__item--1,
  .gallery__item--2,
  .gallery__item--3,
  .gallery__item--4,
  .gallery__item--5,
  .gallery__item--6,
  .gallery__item--7 {
    grid-column: span 1;
    grid-row: span 1;
  }

  .contact__grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .leadership__grid { grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); }
  .footer__grid { grid-template-columns: 1fr 1fr; gap:2rem 1.25rem; }
  .footer__grid > :first-child { grid-column:1 / -1; }
  .footer__bottom { flex-direction: column; text-align: center; }
}

@media (max-width: 480px) {
  .hero__actions { flex-direction: column; }
  .welcome__card { padding: 1.25rem; }
  .welcome__card-heading { align-items: flex-start; }
  .welcome__card-logo { width: 58px; height: 76px; }
  .gallery__grid { grid-template-columns: 1fr; }
  .gallery__item { grid-column: span 1 !important; }
}
