/* ============================================================
   Pagans in VR — shared site styles
   ============================================================ */

/* ---------- Reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  margin: 0;
  font-family: 'Open Sans', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  color: #2b2b2b;
  background: #faf7f1;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4 {
  font-family: 'Merriweather', Georgia, serif;
  color: #2b2436;
  line-height: 1.25;
  margin: 0 0 0.6em;
}
h1 { font-size: clamp(2rem, 5vw, 3rem); }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.3rem); }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1em; }
a { color: #5b3a8a; }
img { max-width: 100%; display: block; }

.skip-link {
  position: absolute; left: -9999px; top: 0;
  background: #2b2436; color: #fff; padding: 0.6rem 1rem;
  z-index: 9999; border-radius: 0 0 6px 0;
}
.skip-link:focus { left: 0; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 1.5rem; }

.button {
  display: inline-block;
  background: #b8945a;
  color: #fff !important;
  padding: 0.85rem 1.8rem;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 600;
  letter-spacing: 0.3px;
  border: none;
  cursor: pointer;
  font-size: 1rem;
  transition: background 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
  box-shadow: 0 4px 16px rgba(184, 148, 90, 0.35);
}
.button:hover { background: #a0814b; transform: translateY(-2px); box-shadow: 0 8px 20px rgba(184, 148, 90, 0.4); }
.button.button-outline {
  background: transparent;
  border: 2px solid #b8945a;
  color: #b8945a !important;
  box-shadow: none;
  padding: calc(0.85rem - 2px) calc(1.8rem - 2px);
}
.button.button-outline:hover { background: #b8945a; color: #fff !important; }

/* ---------- Top navigation ---------- */
.site-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 1rem 1.5rem;
  background: transparent;
  transition: background 0.3s ease, padding 0.3s ease, box-shadow 0.3s ease;
}
.site-nav.is-scrolled {
  background: rgba(20, 14, 30, 0.92);
  padding: 0.55rem 1.5rem;
  box-shadow: 0 6px 24px rgba(0,0,0,0.25);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.site-nav .nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
}
.site-nav .brand {
  font-family: 'Merriweather', Georgia, serif;
  font-size: 1.4rem;
  color: #fff;
  text-decoration: none;
  text-shadow: 0 2px 12px rgba(0,0,0,0.55);
  font-weight: 700;
}
.site-nav ul {
  list-style: none;
  display: flex;
  gap: 1.5rem;
  margin: 0; padding: 0;
}
.site-nav ul a {
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  text-shadow: 0 2px 10px rgba(0,0,0,0.55);
  padding: 0.4rem 0;
  border-bottom: 2px solid transparent;
  transition: border-color 0.2s;
}
.site-nav ul a:hover,
.site-nav ul a[aria-current="page"] { border-bottom-color: #b8945a; }
.menu-toggle {
  display: none;
  background: rgba(255,255,255,0.15);
  color: #fff;
  border: 1px solid rgba(255,255,255,0.4);
  padding: 0.5rem 0.9rem;
  border-radius: 6px;
  cursor: pointer;
  font-size: 0.95rem;
}
@media (max-width: 800px) {
  .menu-toggle { display: block; }
  .site-nav ul {
    position: absolute;
    top: 100%; right: 1rem;
    background: rgba(20, 14, 30, 0.96);
    flex-direction: column;
    gap: 0;
    padding: 0.5rem 0;
    border-radius: 10px;
    min-width: 200px;
    display: none;
    box-shadow: 0 8px 30px rgba(0,0,0,0.4);
  }
  .site-nav ul.is-open { display: flex; }
  .site-nav ul li { padding: 0; }
  .site-nav ul a { display: block; padding: 0.7rem 1.2rem; }
}

/* ---------- Slideshow banner ---------- */
.banner {
  position: relative;
  width: 100%;
  min-height: 90vh;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.banner .slides { position: absolute; inset: 0; z-index: 0; }
.banner .slide {
  position: absolute; inset: 0;
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  opacity: 0;
  transform: scale(1.05);
  transition: opacity 1.6s ease-in-out;
  will-change: opacity, transform;
}
.banner .slide.is-active {
  opacity: 1;
  animation: kenBurns 9s ease-in-out forwards;
}
@keyframes kenBurns {
  0%   { transform: scale(1.05) translate(0, 0); }
  100% { transform: scale(1.18) translate(-1.5%, -1%); }
}
.banner .overlay {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.35) 0%, rgba(0,0,0,0.55) 60%, rgba(0,0,0,0.7) 100%);
  z-index: 1;
}
.banner .banner-content {
  position: relative;
  z-index: 2;
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 6rem 1.5rem 5rem;
  color: #fff;
}
.banner .banner-content h1,
.banner .banner-content h2 {
  color: #fff;
  font-size: clamp(2.4rem, 6vw, 4.5rem);
  margin: 0 0 1rem;
  letter-spacing: 0.5px;
  text-shadow: 0 2px 24px rgba(0,0,0,0.65);
  animation: fadeUp 1.4s ease both 0.3s;
}
.banner .banner-content p {
  font-size: clamp(1.05rem, 2vw, 1.3rem);
  margin: 0 0 2rem;
  max-width: 760px;
  text-shadow: 0 2px 16px rgba(0,0,0,0.7);
  animation: fadeUp 1.4s ease both 0.7s;
}
.banner .banner-content .cta { animation: fadeUp 1.4s ease both 1.1s; }
.banner .dots {
  position: absolute;
  bottom: 1.25rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 3;
}
.banner .dots button {
  width: 10px; height: 10px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.7);
  background: rgba(255,255,255,0.25);
  padding: 0; cursor: pointer;
  transition: background 0.3s, transform 0.3s;
}
.banner .dots button.is-active { background: #fff; transform: scale(1.25); }
.banner .scroll-arrow {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  color: #fff;
  z-index: 3;
  animation: bounce 2s infinite;
  text-decoration: none;
  font-size: 1.8rem;
  text-shadow: 0 2px 12px rgba(0,0,0,0.7);
}
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50%      { transform: translateX(-50%) translateY(8px); }
}

@media (max-width: 640px) { .banner { min-height: 70vh; } }

/* ---------- Generic content sections ---------- */
section.section {
  padding: 5rem 1.5rem;
}
section.section .container { padding: 0; }
section.section h2 { text-align: center; margin-bottom: 0.8rem; }
section.section .lead {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 3rem;
  color: #4a4458;
  font-size: 1.05rem;
}
.section-dark {
  background: linear-gradient(135deg, #2b2436 0%, #3d2f4f 100%);
  color: #f1ecf7;
}
.section-dark h2 { color: #fff; }
.section-dark .lead {
  color: #ffffff;
  opacity: 1;
  font-weight: 600;
  font-size: 1.15rem;
  text-shadow: 0 1px 2px rgba(0,0,0,0.5);
}

/* Services section: light background so the "Find your path..." line reads in black */
#services.section-dark {
  background: #faf7f1;
  color: #2b2436;
}
#services.section-dark h2 { color: #2b2436; }
#services.section-dark .lead {
  color: #000000;
  opacity: 1;
  font-weight: 600;
  font-size: 1.15rem;
  text-shadow: none;
}

/* ---------- About (two-column) ---------- */
.about {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  max-width: 1100px;
  margin: 0 auto;
}
.about .about-image {
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 14px 40px rgba(43, 36, 54, 0.18);
  aspect-ratio: 4 / 3;
}
.about .about-image img { width: 100%; height: 100%; object-fit: cover; }
.about h2 { text-align: left; }
@media (max-width: 800px) {
  .about { grid-template-columns: 1fr; gap: 2rem; }
  .about h2 { text-align: center; }
}

/* ---------- Services grid ---------- */
.services {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
  max-width: 1100px;
  margin: 0 auto;
}
.service-card {
  background: #fff;
  border: 1px solid #ece5d8;
  border-radius: 12px;
  padding: 1.75rem 1.5rem;
  text-align: center;
  transition: transform 0.3s, box-shadow 0.3s, border-color 0.3s;
}
.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 30px rgba(43, 36, 54, 0.12);
  border-color: #b8945a;
}
.service-card .icon {
  width: 56px; height: 56px;
  margin: 0 auto 1rem;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, #b8945a 0%, #d9b27f 100%);
  color: #fff;
  border-radius: 50%;
  font-size: 1.6rem;
}
.service-card h3 { margin-bottom: 0.4rem; }
.service-card p { margin: 0; color: #4a4458; font-size: 0.95rem; }

/* ---------- CTA strip ---------- */
.cta-strip {
  background: linear-gradient(135deg, #2b2436 0%, #4a3a5a 100%);
  color: #fff;
  text-align: center;
  padding: 4rem 1.5rem;
}
.cta-strip h2 { color: #fff; }
.cta-strip p { color: #ddd3eb; max-width: 600px; margin: 0 auto 1.8rem; }

/* ---------- Community poem block ---------- */
.poem-block {
  max-width: 460px;
  margin: 0 auto 2rem;
  padding: 1.4rem 1.5rem 1.2rem;
  background: #fff;
  border: 1px solid #ece5d8;
  border-radius: 12px;
  box-shadow: 0 6px 20px rgba(43, 36, 54, 0.07);
  text-align: center;
  position: relative;
}
.poem-block::before {
  content: '\2748';
  display: block;
  font-size: 1.15rem;
  color: #b8945a;
  margin-bottom: 0.3rem;
  line-height: 1;
}
.poem-block .poem-title {
  font-family: 'Merriweather', Georgia, serif;
  color: #2b2436;
  font-size: 1.15rem;
  margin: 0 0 0.7rem;
  letter-spacing: 0.3px;
}
.poem-block .poem-body {
  font-family: 'Merriweather', Georgia, serif;
  font-style: italic;
  color: #3a3149;
  font-size: 0.9rem;
  line-height: 1.45;
}
.poem-block .poem-body p {
  margin: 0 0 0.1em;
}
.poem-block .poem-amen {
  margin-top: 0.7rem !important;
  font-style: normal;
  font-weight: 700;
  color: #5b3a8a;
  letter-spacing: 0.5px;
  font-size: 0.95rem;
}
.poem-block .poem-attribution {
  margin: 0.7rem 0 0;
  font-size: 0.85rem;
  color: #4a4458;
  font-family: 'Open Sans', sans-serif;
  font-style: normal;
}
@media (max-width: 600px) {
  .poem-block { padding: 1.2rem 1rem 1rem; }
  .poem-block .poem-body { font-size: 0.9rem; }
}

/* ---------- Testimonials slider ---------- */
.testimonials {
  max-width: 900px;
  margin: 0 auto;
  position: relative;
}
.testimonial-track {
  position: relative;
  min-height: 220px;
}
.testimonial {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 2rem 1.5rem;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 10px 30px rgba(43, 36, 54, 0.10);
  opacity: 0;
  transition: opacity 0.6s ease;
  pointer-events: none;
}
.testimonial.is-active { opacity: 1; pointer-events: auto; }
.testimonial blockquote {
  font-size: 1.15rem;
  font-style: italic;
  color: #2b2436;
  max-width: 700px;
  margin: 0 0 1rem;
  position: relative;
}
.testimonial blockquote::before,
.testimonial blockquote::after {
  font-family: 'Merriweather', Georgia, serif;
  color: #b8945a;
  font-size: 2.5rem;
  line-height: 0;
  position: relative;
  top: 0.4em;
}
.testimonial blockquote::before { content: '“'; margin-right: 4px; }
.testimonial blockquote::after  { content: '”'; margin-left: 4px; }
.testimonial-dots {
  display: flex;
  gap: 8px;
  justify-content: center;
  margin-top: 1.5rem;
}
.testimonial-dots button {
  width: 10px; height: 10px;
  border-radius: 50%;
  border: 1px solid #b8945a;
  background: transparent;
  padding: 0; cursor: pointer;
}
.testimonial-dots button.is-active { background: #b8945a; }

/* ---------- FAQ accordion ---------- */
.faq { max-width: 800px; margin: 0 auto; }
.faq details {
  background: #fff;
  border: 1px solid #ece5d8;
  border-radius: 10px;
  margin-bottom: 0.8rem;
  overflow: hidden;
}
.faq summary {
  list-style: none;
  cursor: pointer;
  padding: 1.1rem 1.4rem;
  font-weight: 600;
  font-family: 'Merriweather', Georgia, serif;
  color: #2b2436;
  position: relative;
  padding-right: 3rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: '+';
  position: absolute;
  right: 1.4rem;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.4rem;
  color: #b8945a;
  transition: transform 0.25s ease;
}
.faq details[open] summary::after { content: '\2212'; }
.faq details > div {
  padding: 0 1.4rem 1.2rem;
  color: #4a4458;
}

/* ---------- Contact form ---------- */
.contact { max-width: 700px; margin: 0 auto; }
.contact form {
  display: grid;
  gap: 1rem;
}
.contact .row-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
@media (max-width: 600px) { .contact .row-2 { grid-template-columns: 1fr; } }
.contact input,
.contact textarea {
  width: 100%;
  padding: 0.85rem 1rem;
  border: 1px solid #d9d2c2;
  border-radius: 8px;
  font: inherit;
  background: #fff;
  color: #2b2436;
}
.contact textarea { min-height: 140px; resize: vertical; }
.contact input:focus,
.contact textarea:focus { outline: 2px solid #b8945a; border-color: #b8945a; }
.contact .check {
  display: flex;
  gap: 0.6rem;
  align-items: flex-start;
  font-size: 0.92rem;
  color: #4a4458;
}
.contact .check input { width: auto; }
.contact button { justify-self: center; min-width: 220px; }
.contact .alt {
  text-align: center;
  margin-top: 1.2rem;
  color: #4a4458;
  font-size: 0.95rem;
}

/* ---------- Footer ---------- */
.site-footer {
  background: #1d1828;
  color: #d9d3e7;
  padding: 3.5rem 1.5rem 2rem;
}
.site-footer .footer-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 2.5rem;
}
@media (max-width: 800px) {
  .site-footer .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 500px) {
  .site-footer .footer-grid { grid-template-columns: 1fr; }
}
.site-footer h3 {
  color: #fff;
  font-size: 1.05rem;
  margin: 0 0 0.8rem;
}
.site-footer p, .site-footer li, .site-footer a {
  font-size: 0.93rem;
}
.site-footer a { color: #d9b27f; text-decoration: none; }
.site-footer a:hover { color: #fff; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer ul li { margin-bottom: 0.5rem; }
.site-footer .brand-block .logo {
  font-family: 'Merriweather', Georgia, serif;
  font-size: 1.4rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 0.6rem;
  display: inline-block;
}
.site-footer .social-icons {
  display: flex;
  gap: 0.8rem;
  margin-top: 0.6rem;
}
.site-footer .social-icons a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px; height: 38px;
  background: rgba(255,255,255,0.07);
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.12);
}
.site-footer .social-icons a:hover { background: #b8945a; border-color: #b8945a; }
.site-footer .social-icons svg { width: 18px; height: 18px; fill: currentColor; }
.site-footer .copyright {
  max-width: 1200px;
  margin: 2.5rem auto 0;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255,255,255,0.1);
  text-align: center;
  font-size: 0.85rem;
  color: #948aaf;
}

/* ============================================================
   Past Rituals page — gallery + lightbox
   ============================================================ */
.pr-intro { max-width: 900px; margin: 0 auto; padding: 4rem 1.5rem 2rem; text-align: center; }
.pr-intro h2 { margin-top: 0; }

.pr-gallery,
.pr-video-frame {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem 1.5rem 5rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1rem;
}
.pr-gallery figure,
.pr-video-frame figure {
  margin: 0;
  position: relative;
  overflow: hidden;
  border-radius: 10px;
  cursor: pointer;
  background: #111;
  aspect-ratio: 16 / 10;
  box-shadow: 0 6px 18px rgba(0,0,0,0.15);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}
.pr-gallery figure:hover,
.pr-video-frame figure:hover { transform: translateY(-4px); box-shadow: 0 12px 28px rgba(0,0,0,0.25); }
.pr-gallery figure img,
.pr-video-frame figure img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.6s ease; }
.pr-gallery figure:hover img,
.pr-video-frame figure:hover img { transform: scale(1.06); }
.pr-gallery figcaption,
.pr-video-frame figcaption {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 0.6rem 0.9rem;
  color: #fff;
  font-size: 0.9rem;
  background: linear-gradient(180deg, rgba(0,0,0,0) 0%, rgba(0,0,0,0.75) 100%);
  opacity: 0;
  transition: opacity 0.35s ease;
}
.pr-gallery figure:hover figcaption,
.pr-gallery figure:focus-within figcaption,
.pr-video-frame figure:hover figcaption,
.pr-video-frame figure:focus-within figcaption { opacity: 1; }

/* Picture-frame layout: 3-column grid, video centered (5th cell), caption (9th cell). */
.pr-video-frame {
  grid-template-columns: 1fr 1.6fr 1fr;
  gap: 1rem;
}
.pr-video-frame figure {
  aspect-ratio: 4 / 3;
}
.pr-video-frame .frame-video {
  background: #1d1828;
  border-radius: 10px;
  overflow: hidden;
  aspect-ratio: 1 / 1;
  box-shadow: 0 12px 36px rgba(43, 36, 54, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  align-self: center;
}
.pr-video-frame .frame-video iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}
.pr-video-frame .frame-video video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.pr-video-frame .frame-video-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #d9d3e7;
  padding: 1.5rem;
}
.pr-video-frame .placeholder-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  color: #fff;
  margin-bottom: 0.8rem;
}
.pr-video-frame .placeholder-title {
  margin: 0;
  font-family: 'Merriweather', Georgia, serif;
  font-size: 1.05rem;
  color: #fff;
}
.pr-video-frame .placeholder-sub {
  margin: 0.2rem 0 0;
  font-size: 0.9rem;
  color: #b3a8d4;
  font-style: italic;
}
.pr-video-frame .frame-caption {
  background: #faf7f1;
  border: 1px solid #ece5d8;
  border-radius: 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 1rem 1.25rem;
  aspect-ratio: 4 / 3;
}
.pr-video-frame .frame-caption h3 {
  font-family: 'Merriweather', Georgia, serif;
  margin: 0 0 0.3rem;
  font-size: 1.05rem;
  color: #2b2436;
}
.pr-video-frame .frame-caption p {
  margin: 0;
  font-size: 0.9rem;
  color: #4a4458;
  font-style: italic;
}
@media (max-width: 800px) {
  .pr-video-frame {
    grid-template-columns: 1fr 1fr;
  }
  .pr-video-frame .frame-video {
    grid-column: 1 / -1;
  }
}
@media (max-width: 500px) {
  .pr-video-frame {
    grid-template-columns: 1fr;
  }
  .pr-video-frame .frame-video { grid-column: auto; }
}

.pr-lightbox {
  position: fixed; inset: 0;
  background: rgba(0,0,0,0.92);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  padding: 1.5rem;
}
.pr-lightbox.is-open { display: flex; }
.pr-lightbox img {
  max-width: 95vw;
  max-height: 85vh;
  border-radius: 6px;
  box-shadow: 0 12px 40px rgba(0,0,0,0.6);
  user-select: none;
}
.pr-lightbox .pr-lb-caption {
  position: absolute;
  bottom: 1rem;
  left: 50%;
  transform: translateX(-50%);
  color: #eee;
  font-size: 0.95rem;
  background: rgba(0,0,0,0.55);
  padding: 0.4rem 0.9rem;
  border-radius: 999px;
  max-width: 90vw;
  text-align: center;
}
.pr-lightbox button {
  position: absolute;
  background: rgba(255,255,255,0.12);
  color: #fff;
  border: 1px solid rgba(255,255,255,0.35);
  bo