/* ==========================================================================
   Hope Lutheran Church — "Light on the Water"
   Gulf Coast Florida · deep teal / warm gold / soft cream / terracotta
   --------------------------------------------------------------------------
   1.  Tokens & fonts
   2.  Base & utilities
   3.  Navigation
   4.  Hero (animated Gulf sunset)
   5.  Sections, eyebrows & titles
   6.  Welcome
   7.  Worship
   8.  Verse
   9.  Ministries
   10. Events
   11. Prayer candle
   12. Visit
   13. Footer
   14. Reveal animations
   15. Responsive
   16. Reduced motion
   ========================================================================== */

/* ---------- 1 · Tokens & fonts ---------- */
:root {
  --teal: #0e3a3a;
  --teal-deep: #082323;
  --teal-soft: #14524e;
  --gold: #c9a227;
  --gold-pale: #e9d48a;
  --cream: #faf7f0;
  --cream-dim: #f1ead9;
  --ink: #2b2b28;
  --muted: #6f6a5e;
  --terracotta: #c1663e;
  --line: #e5dcc6;
  --serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --radius: 14px;
  --shadow: 0 18px 50px rgba(14, 58, 58, 0.12);
  --nav-h: 72px;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--sans);
  font-weight: 400;
  line-height: 1.65;
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 { font-family: var(--serif); font-weight: 600; line-height: 1.12; margin: 0 0 0.5em; }

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

a { color: inherit; }

::selection { background: var(--gold); color: var(--teal-deep); }

/* ---------- 2 · Base & utilities ---------- */
.container { width: min(1140px, 92%); margin-inline: auto; }
.container.narrow { width: min(760px, 92%); }

.section { padding: clamp(4.5rem, 9vw, 7.5rem) 0; scroll-margin-top: var(--nav-h); }

.visually-hidden {
  position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.eyebrow {
  font-size: 0.72rem; font-weight: 600; letter-spacing: 0.28em;
  text-transform: uppercase; color: var(--terracotta); margin: 0 0 1.2rem;
}
.eyebrow-light { color: var(--gold-pale); }

.section-title {
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  color: var(--teal);
  margin-bottom: 1rem;
}
.section-title em { font-style: italic; color: var(--terracotta); }

.section-lede { font-size: 1.1rem; color: var(--muted); max-width: 46rem; }

.btn {
  display: inline-block; padding: 0.9rem 1.9rem; border-radius: 999px;
  font-weight: 600; font-size: 0.95rem; letter-spacing: 0.04em; text-decoration: none;
  border: 1px solid transparent; cursor: pointer; transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-gold { background: var(--gold); color: var(--teal-deep); box-shadow: 0 10px 26px rgba(201, 162, 39, 0.35); }
.btn-gold:hover { background: var(--gold-pale); }
.btn-teal { background: var(--teal); color: var(--cream); }
.btn-teal:hover { background: var(--teal-soft); box-shadow: var(--shadow); }
.btn-ghost { background: transparent; color: var(--gold-pale); border-color: rgba(201, 162, 39, 0.5); }
.btn-ghost:hover { border-color: var(--gold); }

.muted { color: var(--muted); font-size: 0.92em; }

/* ---------- 3 · Navigation ---------- */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  transition: background 0.35s ease, box-shadow 0.35s ease;
}
.nav-inner {
  height: var(--nav-h); display: flex; align-items: center; justify-content: space-between;
}
.brand { display: flex; align-items: center; gap: 0.7rem; text-decoration: none; }
.brand-cross { width: 18px; height: 30px; fill: var(--gold); flex: none; }
.brand-word {
  font-family: var(--serif); font-weight: 600; font-size: 1.25rem; letter-spacing: 0.02em;
  color: var(--cream); transition: color 0.35s ease;
}
.nav-links { display: flex; align-items: center; gap: 2rem; }
.nav-links a {
  text-decoration: none; font-size: 0.92rem; font-weight: 500; letter-spacing: 0.06em;
  color: rgba(250, 247, 240, 0.88); position: relative; padding: 0.3rem 0;
}
.nav-links a::after {
  content: ""; position: absolute; left: 0; bottom: 0; height: 2px; width: 0;
  background: var(--gold); transition: width 0.28s ease;
}
.nav-links a:hover::after { width: 100%; }
.nav-cta {
  border: 1px solid rgba(201, 162, 39, 0.7); border-radius: 999px; padding: 0.55rem 1.4rem !important;
}
.nav-cta::after { display: none; }
.nav-cta:hover { background: var(--gold); color: var(--teal-deep) !important; }

/* Solid state once past the hero */
.nav.scrolled { background: var(--cream); box-shadow: 0 6px 24px rgba(14, 58, 58, 0.12); }
.nav.scrolled .brand-word { color: var(--teal); }
.nav.scrolled .nav-links a { color: var(--teal); }
.nav.scrolled .nav-cta:hover { color: var(--teal-deep) !important; }

.nav-toggle {
  display: none; background: none; border: 0; cursor: pointer; padding: 0.6rem;
}
.nav-toggle span { display: block; width: 26px; height: 2px; background: var(--cream); margin: 6px 0; transition: 0.3s ease; }
.nav.scrolled .nav-toggle span { background: var(--teal); }

/* ---------- 4 · Hero ---------- */
.hero {
  position: relative; min-height: 100svh; display: flex; align-items: center;
  color: var(--cream); overflow: clip;
  background: linear-gradient(180deg, #062020 0%, var(--teal) 46%, #0f4a48 72%, #7a4a22 100%);
}
.hero-sky { position: absolute; inset: -6%; }
.blob { position: absolute; border-radius: 50%; filter: blur(70px); will-change: transform; }

/* The sun: a warm gold disc sinking toward the waterline */
.blob-sun {
  width: 34vmin; height: 34vmin; left: 50%; top: 58%;
  background: radial-gradient(circle, #ffe9b0 0%, var(--gold) 45%, rgba(201, 162, 39, 0) 70%);
  transform: translate(-50%, -50%);
  animation: sunSettle 14s ease-in-out infinite alternate;
}
/* Broad warm glow spreading across the horizon */
.blob-glow {
  width: 120vmin; height: 44vmin; left: 50%; top: 66%;
  background: radial-gradient(ellipse, rgba(193, 102, 62, 0.55) 0%, rgba(193, 102, 62, 0) 70%);
  transform: translate(-50%, -50%);
  animation: glowPulse 9s ease-in-out infinite alternate;
}
/* Deep teal currents drifting in the upper sky/water */
.blob-wave-a {
  width: 70vmin; height: 70vmin; left: -12%; top: -14%;
  background: radial-gradient(circle, rgba(20, 82, 78, 0.9) 0%, rgba(20, 82, 78, 0) 70%);
  animation: driftA 22s ease-in-out infinite alternate;
}
.blob-wave-b {
  width: 60vmin; height: 60vmin; right: -10%; top: 8%;
  background: radial-gradient(circle, rgba(8, 35, 35, 0.9) 0%, rgba(8, 35, 35, 0) 70%);
  animation: driftB 26s ease-in-out infinite alternate;
}
@keyframes sunSettle {
  from { transform: translate(-50%, -52%) scale(1); }
  to   { transform: translate(-50%, -44%) scale(1.06); }
}
@keyframes glowPulse {
  from { opacity: 0.75; transform: translate(-50%, -50%) scaleX(1); }
  to   { opacity: 1;    transform: translate(-50%, -50%) scaleX(1.12); }
}
@keyframes driftA {
  from { transform: translate(0, 0); } to { transform: translate(9vmin, 5vmin); }
}
@keyframes driftB {
  from { transform: translate(0, 0); } to { transform: translate(-8vmin, 7vmin); }
}

/* Film grain for texture */
.hero-grain {
  position: absolute; inset: 0; opacity: 0.16; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)' opacity='0.6'/%3E%3C/svg%3E");
}

.hero-inner { position: relative; text-align: center; padding: calc(var(--nav-h) + 2rem) 0 5rem; }
.hero-kicker {
  font-size: 0.75rem; font-weight: 600; letter-spacing: 0.34em; text-transform: uppercase;
  color: var(--gold-pale); margin: 0 0 1.4rem;
}
.hero-title {
  font-size: clamp(3.2rem, 9vw, 6.8rem); font-weight: 600; letter-spacing: 0.01em;
  margin-bottom: 0.6rem; text-wrap: balance;
  text-shadow: 0 4px 40px rgba(6, 32, 32, 0.55);
}
.hero-tagline {
  font-family: var(--serif); font-style: italic; font-size: clamp(1.3rem, 2.6vw, 1.8rem);
  color: rgba(250, 247, 240, 0.92); margin: 0 0 2.4rem;
}
.hero-services { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; margin-bottom: 2rem; }
.service-pill {
  display: inline-flex; align-items: baseline; gap: 0.7rem; text-decoration: none;
  background: rgba(250, 247, 240, 0.1); border: 1px solid rgba(201, 162, 39, 0.65);
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
  border-radius: 999px; padding: 0.8rem 1.7rem; color: var(--cream);
  transition: background 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
}
.service-pill:hover { background: var(--gold); transform: translateY(-2px); box-shadow: 0 12px 30px rgba(201, 162, 39, 0.35); }
.service-pill:hover .pill-day, .service-pill:hover .pill-time { color: var(--teal-deep); }
.pill-day { font-family: var(--serif); font-size: 1.25rem; font-weight: 600; color: var(--gold-pale); }
.pill-time { font-size: 0.95rem; font-weight: 600; letter-spacing: 0.08em; }
.hero-visit {
  display: inline-block; margin-top: 0.4rem; color: var(--cream); font-size: 0.95rem;
  text-decoration: underline; text-underline-offset: 6px; text-decoration-color: var(--gold);
}
.hero-visit:hover { color: var(--gold-pale); }

/* Scroll cue */
.scroll-cue {
  position: absolute; left: 50%; bottom: 2rem; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 0.5rem;
  text-decoration: none; color: rgba(250, 247, 240, 0.7);
}
.scroll-cue-text { font-size: 0.68rem; letter-spacing: 0.3em; text-transform: uppercase; }
.scroll-cue-line { width: 1px; height: 44px; background: rgba(250,247,240,0.35); position: relative; overflow: hidden; }
.scroll-cue-line::after {
  content: ""; position: absolute; inset: 0; background: var(--gold);
  animation: cueDrop 2.2s ease-in-out infinite;
}
@keyframes cueDrop {
  0% { transform: translateY(-100%); } 55% { transform: translateY(0); } 100% { transform: translateY(100%); }
}

/* ---------- 5 · Sections ---------- */
.welcome { background: var(--cream); }

/* ---------- 6 · Welcome ---------- */
.mission-quote { margin: 0 0 2rem; }
.mission-quote p {
  font-family: var(--serif); font-size: clamp(1.7rem, 3.6vw, 2.6rem); font-weight: 500;
  font-style: italic; line-height: 1.4; color: var(--teal); text-wrap: balance;
}
.mission-quote p::before { content: ""; display: block; width: 64px; height: 3px; background: var(--gold); margin-bottom: 1.6rem; }
.welcome-note { color: var(--muted); font-size: 1.05rem; max-width: 40rem; }

/* ---------- 7 · Worship ---------- */
.worship { background: var(--cream-dim); }
.service-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 1.8rem; margin-top: 2.8rem; }
.service-card {
  background: var(--cream); border-radius: var(--radius); padding: 2.4rem;
  border-top: 4px solid var(--gold); box-shadow: var(--shadow);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  position: relative; overflow: hidden;
}
.service-card:nth-child(2) { border-top-color: var(--terracotta); }
.service-card:hover { transform: translateY(-6px); box-shadow: 0 26px 60px rgba(14, 58, 58, 0.16); }
.service-when { display: flex; align-items: baseline; gap: 0.9rem; margin-bottom: 1.1rem; }
.service-day {
  font-family: var(--serif); font-size: 1.6rem; font-weight: 600; color: var(--teal);
}
.service-time {
  font-size: 0.85rem; font-weight: 700; letter-spacing: 0.14em; color: var(--cream);
  background: var(--teal); border-radius: 999px; padding: 0.35rem 0.95rem;
}
.service-card:nth-child(2) .service-time { background: var(--terracotta); }
.service-name { font-size: 1.9rem; color: var(--teal); margin-bottom: 0.4rem; }
.service-style { font-style: italic; font-family: var(--serif); font-size: 1.15rem; color: var(--terracotta); margin: 0 0 0.6rem; }
.service-detail { color: var(--muted); font-size: 0.98rem; margin: 0 0 1.6rem; }
.card-link { font-weight: 600; font-size: 0.92rem; color: var(--teal); text-decoration: none; border-bottom: 2px solid var(--gold); padding-bottom: 2px; }
.card-link:hover { color: var(--terracotta); border-color: var(--terracotta); }

/* ---------- 8 · Verse ---------- */
.verse {
  position: relative; background: var(--teal-deep); color: var(--cream);
  padding: clamp(5rem, 11vw, 8.5rem) 0; overflow: clip; text-align: center;
}
/* Slow-drifting light, like sun through water */
.verse-light {
  position: absolute; inset: -20%; pointer-events: none;
  background: radial-gradient(ellipse 46% 60% at 30% 40%, rgba(201, 162, 39, 0.16) 0%, rgba(201, 162, 39, 0) 70%),
              radial-gradient(ellipse 40% 55% at 72% 62%, rgba(20, 82, 78, 0.9) 0%, rgba(20, 82, 78, 0) 70%);
  animation: verseDrift 18s ease-in-out infinite alternate;
}
@keyframes verseDrift {
  from { transform: translate(-4%, -3%) rotate(-2deg); }
  to   { transform: translate(4%, 3%) rotate(2deg); }
}
.verse-inner { position: relative; }
.verse-cross { width: 30px; height: 50px; fill: var(--gold); margin: 0 auto 2rem; opacity: 0.9; }
.verse blockquote { margin: 0; }
.verse blockquote p {
  font-family: var(--serif); font-style: italic; font-weight: 500;
  font-size: clamp(1.8rem, 4.2vw, 2.9rem); line-height: 1.45; text-wrap: balance; margin: 0 0 1.4rem;
}
.verse cite { font-style: normal; font-size: 0.85rem; letter-spacing: 0.3em; text-transform: uppercase; color: var(--gold-pale); }

/* ---------- 9 · Ministries ---------- */
.ministries { background: var(--cream); }
.study-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); gap: 1.4rem; margin-top: 2.8rem; }
.study-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.8rem; transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}
.study-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); border-color: var(--gold); }
.study-name { font-size: 1.45rem; color: var(--teal); margin-bottom: 1rem; padding-bottom: 0.9rem; border-bottom: 1px solid var(--line); }
.study-meta { margin: 0; }
.study-meta > div { display: flex; gap: 1rem; padding: 0.35rem 0; font-size: 0.95rem; }
.study-meta dt { flex: 0 0 64px; font-weight: 600; font-size: 0.75rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--terracotta); padding-top: 0.2rem; }
.study-meta dd { margin: 0; color: var(--ink); }

/* ---------- 10 · Events ---------- */
.events { background: var(--teal); color: var(--cream); }
.events .section-title { color: var(--cream); }
.events .section-title em { color: var(--gold-pale); }
.events .eyebrow { color: var(--gold-pale); }
.event-cards { display: grid; gap: 1.6rem; margin-top: 2.8rem; }
.event-card {
  background: rgba(250, 247, 240, 0.06); border: 1px solid rgba(201, 162, 39, 0.4);
  border-radius: var(--radius); padding: 2.4rem; max-width: 640px;
  display: grid; grid-template-columns: auto 1fr; gap: 1.8rem; align-items: start;
  transition: transform 0.3s ease, border-color 0.3s ease, background 0.3s ease;
}
.event-card:hover { transform: translateY(-4px); border-color: var(--gold); background: rgba(250, 247, 240, 0.09); }
.event-badge { width: 64px; height: 64px; color: var(--gold); background: rgba(201,162,39,0.14); border-radius: 50%; display: grid; place-items: center; }
.event-badge svg { width: 36px; height: 36px; }
.event-date { font-size: 0.8rem; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold-pale); margin: 0 0 0.5rem; }
.event-name { font-size: 2rem; margin-bottom: 0.6rem; }
.event-detail { color: rgba(250, 247, 240, 0.82); margin: 0; }

/* ---------- 11 · Prayer candle ---------- */
.prayer {
  background: var(--teal-deep); color: var(--cream); text-align: center;
  padding: clamp(4.5rem, 9vw, 7rem) 0; scroll-margin-top: var(--nav-h);
}
.prayer-title { font-size: clamp(2.2rem, 4.6vw, 3.2rem); margin-bottom: 0.8rem; }
.prayer-note { color: rgba(250, 247, 240, 0.72); max-width: 34rem; margin: 0 auto 2.2rem; font-size: 1rem; }

.candle-scene { display: flex; justify-content: center; margin-bottom: 2.2rem; min-height: 190px; }
.candle { position: relative; width: 64px; height: 170px; }
/* Glow halo — fades in when lit */
.candle-glow {
  position: absolute; left: 50%; top: -46px; width: 150px; height: 150px;
  transform: translateX(-50%); border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 205, 110, 0.4) 0%, rgba(255, 205, 110, 0) 65%);
  opacity: 0; transition: opacity 1.2s ease;
}
/* The flame — hidden until lit */
.flame {
  position: absolute; left: 50%; top: 6px; width: 26px; height: 44px;
  transform: translateX(-50%) scale(0); transform-origin: 50% 100%;
  transition: transform 0.9s cubic-bezier(0.34, 1.4, 0.64, 1);
}
.candle.lit .flame { transform: translateX(-50%) scale(1); animation: flicker 1.6s ease-in-out infinite; }
.candle.lit .candle-glow { opacity: 1; animation: glowBreathe 3.2s ease-in-out infinite; }
.flame::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(ellipse 55% 70% at 50% 62%, #fff7dd 0%, #ffd873 38%, #f5a83d 68%, rgba(245, 168, 61, 0) 100%);
  border-radius: 50% 50% 50% 50% / 62% 62% 38% 38%;
}
.flame-core {
  position: absolute; left: 50%; bottom: 6px; width: 10px; height: 16px; transform: translateX(-50%);
  background: radial-gradient(ellipse at 50% 70%, #fffdf4 0%, rgba(255, 253, 244, 0) 75%);
  border-radius: 50%;
}
@keyframes flicker {
  0%, 100% { transform: translateX(-50%) scale(1) rotate(-1.2deg); }
  25%      { transform: translateX(-52%) scale(1.03, 0.97) rotate(1.4deg); }
  50%      { transform: translateX(-48%) scale(0.98, 1.04) rotate(-1deg); }
  75%      { transform: translateX(-51%) scale(1.02, 0.98) rotate(1deg); }
}
@keyframes glowBreathe {
  0%, 100% { opacity: 0.75; } 50% { opacity: 1; }
}
.wick {
  position: absolute; left: 50%; top: 46px; width: 3px; height: 12px;
  transform: translateX(-50%); background: #3a2c1c; border-radius: 2px;
}
.candle-body {
  position: absolute; left: 50%; bottom: 0; width: 52px; height: 112px; transform: translateX(-50%);
  background: linear-gradient(90deg, #d9cba6 0%, #f6efdc 30%, #fbf7ec 50%, #f6efdc 70%, #cbbd93 100%);
  border-radius: 8px 8px 6px 6px;
  box-shadow: inset -6px 0 12px rgba(120, 100, 60, 0.18);
}
.candle-body::before { /* melted top */
  content: ""; position: absolute; top: -7px; left: 4px; right: 4px; height: 16px;
  background: #fbf7ec; border-radius: 50%;
  box-shadow: inset 0 -4px 8px rgba(120, 100, 60, 0.25);
}

.prayer-form { max-width: 480px; margin: 0 auto; }
.prayer-form textarea {
  width: 100%; background: rgba(250, 247, 240, 0.07); color: var(--cream);
  border: 1px solid rgba(201, 162, 39, 0.35); border-radius: 10px;
  padding: 1rem 1.2rem; font-family: var(--sans); font-size: 0.98rem; line-height: 1.6;
  resize: vertical; margin-bottom: 1.2rem; transition: border-color 0.25s ease;
}
.prayer-form textarea::placeholder { color: rgba(250, 247, 240, 0.4); }
.prayer-form textarea:focus { outline: none; border-color: var(--gold); }
.prayer-actions { display: flex; gap: 0.9rem; justify-content: center; flex-wrap: wrap; }
.prayer-saved { color: var(--gold-pale); font-size: 0.88rem; margin-top: 1rem; font-style: italic; }

/* ---------- 12 · Visit ---------- */
.visit { background: var(--cream); }
.visit-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; margin-top: 2.6rem; align-items: center; }
.visit-block { margin-bottom: 1.6rem; }
.visit-label { font-size: 0.72rem; font-weight: 600; letter-spacing: 0.24em; text-transform: uppercase; color: var(--terracotta); margin: 0 0 0.35rem; }
.visit-value { font-size: 1.12rem; margin: 0; color: var(--ink); }
.visit-value a { color: var(--teal); text-decoration: none; border-bottom: 1px solid var(--gold); }
.visit-value a:hover { color: var(--terracotta); }
.visit-info .btn { margin-top: 0.8rem; }
.visit-art { border-radius: var(--radius); box-shadow: var(--shadow); width: 100%; height: auto; }

/* ---------- 13 · Footer ---------- */
.footer { background: var(--teal-deep); color: rgba(250, 247, 240, 0.75); padding: 3rem 0 2.4rem; }
.footer-inner { display: flex; flex-direction: column; gap: 1.6rem; }
.footer-brand { display: flex; align-items: center; gap: 0.9rem; }
.footer-name { font-family: var(--serif); font-size: 1.3rem; font-weight: 600; color: var(--cream); margin: 0; }
.footer-denom { font-size: 0.82rem; letter-spacing: 0.08em; margin: 0.2rem 0 0; color: rgba(250, 247, 240, 0.55); }
.footer-nav { display: flex; gap: 1.6rem; flex-wrap: wrap; }
.footer-nav a { font-size: 0.88rem; text-decoration: none; color: rgba(250, 247, 240, 0.75); }
.footer-nav a:hover { color: var(--gold-pale); }
.footer-copy { font-size: 0.8rem; color: rgba(250, 247, 240, 0.45); margin: 0; border-top: 1px solid rgba(250, 247, 240, 0.12); padding-top: 1.4rem; }

/* ---------- 14 · Reveal animations ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.22, 1, 0.36, 1); }
.reveal.visible { opacity: 1; transform: none; }
.reveal:nth-child(2) { transition-delay: 0.08s; }
.reveal:nth-child(3) { transition-delay: 0.16s; }
.reveal:nth-child(4) { transition-delay: 0.24s; }

/* ---------- 15 · Responsive ---------- */
@media (max-width: 900px) {
  .visit-grid { grid-template-columns: 1fr; }
  .visit-card { order: -1; }
}
@media (max-width: 760px) {
  .nav-toggle { display: block; }
  .nav-links {
    position: fixed; top: var(--nav-h); right: 0; left: 0;
    background: var(--cream); flex-direction: column; align-items: stretch; gap: 0;
    padding: 0.6rem 4%; box-shadow: 0 18px 40px rgba(14, 58, 58, 0.18);
    transform: translateY(-12px); opacity: 0; pointer-events: none;
    transition: opacity 0.3s ease, transform 0.3s ease;
  }
  .nav-links.open { transform: none; opacity: 1; pointer-events: auto; }
  .nav-links a { color: var(--teal) !important; padding: 0.9rem 0.4rem; border-bottom: 1px solid var(--line); }
  .nav-links a:last-child { border-bottom: 0; }
  .nav-links a::after { display: none; }
  .nav-cta { text-align: center; margin-top: 0.5rem; border: 1px solid var(--gold); }
  .nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
  .hero-services { gap: 0.7rem; }
  .event-card { grid-template-columns: 1fr; }
}

/* ---------- 16 · Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
  .reveal { opacity: 1; transform: none; }
}

.digital-partner { text-align: center; margin-top: 1.6rem; padding-top: 1.4rem; border-top: 1px solid rgba(250, 247, 240, 0.12); }
.dp-label { font-size: 0.7rem; letter-spacing: 0.22em; text-transform: uppercase; color: rgba(250, 247, 240, 0.55); margin: 0 0 0.3rem; }
.dp-sub { font-size: 0.7rem; letter-spacing: 0.14em; text-transform: uppercase; color: rgba(250, 247, 240, 0.4); margin: 0 0 0.6rem; }
.dp-link { text-decoration: none; }
.dp-logo { font-family: "Cormorant Garamond", Georgia, serif; font-size: 1.4rem; font-weight: 600; color: #d4a24e; letter-spacing: 0.02em; }
.dp-logo:hover { color: #e8bc6a; }
