/* =========================================================
   NUVO CHURCH — Home page styles
   Change colors in one place: the :root tokens below.
   ========================================================= */

:root {
  --ivory: #F4F0E7;       /* Warm Ivory — main background */
  --cream: #E8E1D4;       /* Soft Cream — alternate sections */
  --charcoal: #252723;    /* Charcoal — headlines, body text, footer */
  --forest: #416B50;      /* Forest Green — primary accent, buttons, links */
  --sage: #A7B9A1;        /* Sage Green — secondary accent, graphics */
  --stone: #B9B2A5;       /* Muted Stone — borders, labels, subtle details */

  --white: #FBF9F4;
  --forest-dark: #345841; /* button hover */
  --ink-soft: #4A4C46;    /* body copy on light backgrounds */
  --muted: #77746B;       /* small labels (darker than Muted Stone for readability) */
  --line: rgba(37, 39, 35, .14);

  --font-display: "Red Hat Display", system-ui, sans-serif;
  --font-body: "Red Hat Text", system-ui, sans-serif;
  --font-serif: "Instrument Serif", Georgia, serif;

  --radius: 22px;
  --gutter: clamp(16px, 4vw, 48px);
  --max: 1320px;
  --ease: cubic-bezier(.22, .8, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--ivory);
  color: var(--charcoal);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
body.is-locked { overflow: hidden; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
figure { margin: 0; }
address { font-style: normal; }
h1, h2, h3 { margin: 0; font-family: var(--font-display); }
button { font: inherit; color: inherit; }

.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }

.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 200;
  background: var(--charcoal); color: var(--ivory); padding: 10px 16px; border-radius: 8px;
}
.skip-link:focus { top: 16px; }
:focus-visible { outline: 2px solid var(--forest); outline-offset: 3px; border-radius: 4px; }

/* ---------- Type helpers ---------- */
.eyebrow {
  margin: 0 0 18px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--muted);
  display: inline-flex; align-items: center; gap: 10px;
}
.eyebrow--light { color: rgba(244, 240, 231, .85); }
.eyebrow--sage { color: var(--sage); }
.eyebrow--center { display: flex; justify-content: center; }

.display {
  font-weight: 900;
  font-size: clamp(2.6rem, 6.2vw, 5.6rem);
  line-height: .95;
  letter-spacing: -.035em;
}
.display em, .hero__title em, .closing__title em {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  letter-spacing: -.01em;
}
.display em { color: var(--forest); }
.display--light { color: var(--ivory); }
.display--light em { color: var(--sage); }
.display--sm { font-size: clamp(2.1rem, 4.4vw, 3.8rem); }

.lede { font-size: clamp(1.05rem, 1.4vw, 1.25rem); color: var(--ink-soft); max-width: 34ch; margin: 0 0 20px; }
.lede--light { color: rgba(244, 240, 231, .78); }

/* ---------- Buttons & links ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 28px;
  border-radius: 999px; border: 1.5px solid transparent;
  font-family: var(--font-display); font-weight: 700; font-size: 15px; letter-spacing: .02em;
  text-decoration: none; cursor: pointer;
  transition: transform .35s var(--ease), background .3s, color .3s, border-color .3s;
}
.btn:hover { transform: translateY(-2px); }
.btn--green { background: var(--forest); color: var(--white); }
.btn--green:hover { background: var(--forest-dark); }
.btn--ink { background: var(--charcoal); color: var(--ivory); }
.btn--ink:hover { background: var(--forest); }
.btn--cream { background: var(--ivory); color: var(--charcoal); }
.btn--cream:hover { background: var(--sage); }
.btn--ghost { border-color: rgba(244, 240, 231, .6); color: var(--ivory); backdrop-filter: blur(6px); background: rgba(255, 255, 255, .06); }
.btn--ghost:hover { background: var(--ivory); color: var(--charcoal); }

.link-arrow, .link-plain {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-display); font-weight: 700; font-size: 15px;
  text-decoration: none; color: var(--forest);
}
.link-plain { color: var(--charcoal); }
.link-plain:hover { color: var(--forest); }
.link-arrow { border-bottom: 1.5px solid currentColor; padding-bottom: 2px; }
.link-arrow span, .link-plain span { transition: transform .3s var(--ease); }
.link-arrow:hover span, .link-plain:hover span, .card__link:hover .link-arrow span, .event:hover .link-plain span { transform: translateX(5px); }

/* =========================================================
   INTRO SPLASH
   ========================================================= */
.intro {
  position: fixed; inset: 0; z-index: 120;
  display: grid; place-items: center;
  background: #161714;
  color: var(--ivory);
  transform: translateY(0);
  transition: transform 1s cubic-bezier(.76, 0, .24, 1);
}
.intro.is-done { transform: translateY(-100%); }   /* shoots up and off the top */
.intro.is-gone { display: none; }
.intro__block { padding: 0 var(--gutter); }
.intro__block > * { margin: 0; }
/* each word fades in from blurry to clear, one after another */
.intro .iw {
  display: inline-block;
  opacity: 0; filter: blur(16px);
  animation: introIn .9s cubic-bezier(.25, .6, .3, 1) forwards;
}
.intro .iw:nth-child(2) { animation-delay: .12s; }
.intro__name .iw:nth-child(1) { animation-delay: .3s; }
.intro__name .iw:nth-child(2) { animation-delay: .42s; }
.intro__kicker {
  font-family: var(--font-display); font-weight: 700; font-size: clamp(14px, 1.3vw, 18px);
  letter-spacing: .1em; text-transform: uppercase; color: rgba(244, 240, 231, .85);
  margin-bottom: 18px !important;
}
.intro__name {
  font-family: var(--font-display); font-weight: 900; text-transform: uppercase;
  font-size: clamp(2rem, 3.6vw, 3.4rem); line-height: .98; letter-spacing: -.02em;
}
@keyframes introIn { to { opacity: 1; filter: blur(0); } }

/* =========================================================
   NAVIGATION — frosted glass bar with drop-downs
   (church.nyc style); folds into a centered "N" on scroll
   ========================================================= */
.nav {
  position: fixed; z-index: 60; top: 16px; left: 0; right: 0;
  display: flex; justify-content: center;
  pointer-events: none;
}
.nav__shell {
  pointer-events: auto;
  position: relative;
  width: min(1040px, calc(100% - 2 * var(--gutter)));
  border-radius: 32px;
  background: rgba(232, 225, 212, .62);
  backdrop-filter: blur(22px) saturate(1.2); -webkit-backdrop-filter: blur(22px) saturate(1.2);
  border: 1px solid rgba(255, 255, 255, .45);
  box-shadow: 0 10px 40px rgba(37, 39, 35, .14);
  overflow: hidden;
  transition: width .7s var(--ease), opacity .25s .4s, background .3s;
}
.nav__row {
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center;
  height: 64px; padding: 0 8px 0 24px;
  transition: opacity .25s;
}
.nav__brand { display: flex; align-items: center; height: 100%; width: 150px; justify-self: start; }
.nav__brand img { width: 100%; height: auto; display: block; }
.nav__menu { display: flex; align-items: center; gap: clamp(20px, 3vw, 40px); }
.nav__item {
  position: relative;
  background: none; border: 0; cursor: pointer; padding: 8px 0;
  font-family: var(--font-display); font-weight: 800; font-size: 18px; letter-spacing: .07em; text-transform: uppercase;
  text-decoration: none; color: var(--charcoal);
  transition: color .2s;
}
.nav__item::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 2px; height: 2px;
  background: var(--forest); transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease);
}
.nav__item:hover, .nav__item[aria-expanded="true"] { color: var(--forest); }
.nav__item:hover::after, .nav__item[aria-expanded="true"]::after { transform: scaleX(1); }
.nav__visit {
  justify-self: end;
  font-family: var(--font-display); font-weight: 700; font-size: 13px; letter-spacing: .08em; text-transform: uppercase;
  text-decoration: none; color: var(--white); background: var(--forest);
  padding: 13px 18px; border-radius: 999px;
  transition: background .25s;
}
.nav__visit:hover { background: var(--forest-dark); }
.nav__burger { display: none; }

/* drawer under the bar */
.nav__drawer { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .5s var(--ease); }
.nav__drawer-inner { overflow: hidden; min-height: 0; }
.nav.is-open .nav__drawer { grid-template-rows: 1fr; }
.nav__panel {
  display: none;
  grid-template-columns: repeat(2, max-content); gap: 0 clamp(60px, 8vw, 120px);
  border-top: 1px solid rgba(37, 39, 35, .16);
  padding: 26px 24px 32px;
}
.nav__panel.is-active { display: grid; }
.nav__panel ul { list-style: none; margin: 0; padding: 0; }
.nav__panel li + li { margin-top: 10px; }
.nav__panel a {
  display: inline-block;
  font-family: var(--font-display); font-weight: 800; font-size: 16.5px; letter-spacing: .05em; text-transform: uppercase;
  text-decoration: none; color: var(--charcoal);
  opacity: 0; transform: translateY(8px);
  transition: color .2s, opacity .4s, transform .5s var(--ease);
}
.nav__panel a:hover { color: var(--forest); }
.nav.is-open .nav__panel.is-active a { opacity: 1; transform: none; }
.nav.is-open .nav__panel.is-active ul + ul a { transition-delay: 0s, .08s, .08s; }

/* centered "N" circle */
.nav__circle {
  pointer-events: none;
  position: absolute; top: 0; left: 50%;
  width: 64px; height: 64px; margin-left: -32px; border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, .32); padding: 0; cursor: pointer;
  /* green frosted glass: tinted forest, still blurs whatever is behind it */
  background: linear-gradient(145deg, rgba(98, 145, 112, .80), rgba(52, 89, 65, .70));
  backdrop-filter: blur(18px) saturate(1.6); -webkit-backdrop-filter: blur(18px) saturate(1.6);
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, .38), inset 0 -2px 4px rgba(20, 40, 28, .25), 0 10px 30px rgba(37, 39, 35, .22);
  display: grid; place-items: center;
  opacity: 0; transform: scale(.6);
  transition: opacity .3s, transform .5s var(--ease), background .25s, color .25s;
  color: var(--ivory);
}
.nav__circle span { font-family: var(--font-display); font-weight: 900; font-size: 30px; line-height: 1; letter-spacing: -.04em; text-shadow: 0 1px 6px rgba(20, 40, 28, .35); }
.nav__circle:hover span { text-shadow: none; }
@media (hover: hover) and (pointer: fine) { .nav__circle:hover { background: var(--charcoal); color: var(--ivory); } }

.nav.is-condensed .nav__shell {
  width: 64px; opacity: 0; pointer-events: none;
  transition: width .6s var(--ease), opacity .2s .4s;
}
.nav.is-condensed .nav__row { opacity: 0; }
.nav.is-condensed .nav__circle { pointer-events: auto; opacity: 1; transform: none; transition: opacity .3s .35s, transform .6s .3s var(--ease), background .25s, color .25s; }
.nav.is-condensed .nav__circle:hover { transform: scale(1.06); transition-delay: 0s; }

/* =========================================================
   FULL-SCREEN MENU (small screens)
   ========================================================= */
.menu {
  position: fixed; inset: 0; z-index: 90;
  background: var(--charcoal); color: var(--ivory);
  clip-path: circle(0 at 50% 50px);
  transition: clip-path .8s var(--ease), visibility 0s .8s;
  visibility: hidden;
  overflow-y: auto;
}
.menu.is-open { clip-path: circle(150% at 50% 50px); visibility: visible; transition: clip-path .9s var(--ease); }
.menu__close {
  position: absolute; top: 16px; right: var(--gutter);
  width: 56px; height: 56px; border-radius: 50%;
  border: 1.5px solid rgba(244, 240, 231, .3); background: transparent; color: var(--ivory); cursor: pointer;
  display: grid; place-items: center; transition: background .3s, color .3s;
}
.menu__close:hover { background: var(--ivory); color: var(--charcoal); }
.menu__inner {
  max-width: var(--max); margin: 0 auto;
  padding: 100px var(--gutter) 48px;
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 36px 32px;
}
.menu__group { display: flex; flex-direction: column; align-items: flex-start; }
.menu__label { font-family: var(--font-display); font-weight: 700; font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--sage); margin: 0 0 10px; }
.menu__group a {
  font-family: var(--font-display); font-weight: 900; font-size: clamp(1.7rem, 5.5vw, 2.4rem); line-height: 1.15; letter-spacing: -.02em;
  text-decoration: none; transition: color .2s;
}
.menu__group a:hover { color: var(--sage); }
.menu__foot { grid-column: 1 / -1; border-top: 1px solid rgba(244, 240, 231, .15); padding-top: 26px; display: flex; flex-wrap: wrap; gap: 20px; align-items: center; justify-content: space-between; }
.menu__foot p { margin: 0; color: rgba(244, 240, 231, .78); }
.menu__foot strong { color: var(--ivory); font-family: var(--font-display); }

/* =========================================================
   HERO
   ========================================================= */
.hero {
  position: relative;
  height: 100vh; height: 100svh; min-height: 620px;
  display: flex; align-items: flex-end;
  color: var(--ivory);
  overflow: hidden;
  background: var(--charcoal);
}
.hero__media { position: absolute; inset: 0; }
.hero__video { position: absolute; inset: 0; pointer-events: none; }
.hero__video video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; }
.hero__video iframe {
  position: absolute; top: 50%; left: 50%;
  width: 100vw; height: 56.25vw;
  min-height: 100%; min-width: 177.78vh; min-width: 177.78svh;
  transform: translate(-50%, -50%) scale(1.3); /* crops YouTube's title bar + corner buttons */
  border: 0;
}
/* invisible shield so the video can never be hovered, paused or clicked */
.hero__video::after { content: ""; position: absolute; inset: 0; }
.hero__video { filter: saturate(.95) contrast(1.03); }
/* Neutral city-night overlay: dark vignette + film grain (no green tint) */
.hero__shade {
  position: absolute; inset: 0;
  background:
    radial-gradient(120% 90% at 50% 40%, rgba(12, 11, 10, 0) 35%, rgba(12, 11, 10, .55) 100%),
    linear-gradient(180deg, rgba(12, 11, 10, .45) 0%, rgba(12, 11, 10, .08) 30%),
    linear-gradient(0deg, rgba(12, 11, 10, .88) 0%, rgba(12, 11, 10, .35) 50%, rgba(12, 11, 10, .12) 100%);
}
.hero__shade::after {
  content: ""; position: absolute; inset: -50%;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .55 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  opacity: .12; mix-blend-mode: overlay;
  animation: grain 1.2s steps(6) infinite;
}
@keyframes grain {
  0% { transform: translate(0, 0); } 20% { transform: translate(-3%, 2%); } 40% { transform: translate(2%, -3%); }
  60% { transform: translate(-2%, -1%); } 80% { transform: translate(3%, 3%); } 100% { transform: translate(0, 0); }
}
.hero__content { position: relative; width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter) clamp(56px, 10vh, 110px); }
.hero__title {
  font-weight: 900;
  font-size: clamp(3rem, 9vw, 8.6rem);
  line-height: .92; letter-spacing: -.04em;
  margin-bottom: 22px;
}
.hero__title em { color: var(--sage); }
.hero__sub { font-size: clamp(1.05rem, 1.6vw, 1.3rem); margin: 0 0 30px; color: rgba(244, 240, 231, .88); max-width: 48ch; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero__scroll {
  position: absolute; right: var(--gutter); bottom: clamp(56px, 10vh, 110px);
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  font-family: var(--font-display); font-size: 11px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase;
  text-decoration: none; color: rgba(244, 240, 231, .8);
}
.hero__scroll span { writing-mode: vertical-rl; }
.hero__scroll svg { animation: nudge 2s ease-in-out infinite; }
@keyframes nudge { 50% { transform: translateY(6px); } }
.hero__sound {
  position: absolute; right: var(--gutter); top: 108px;
  width: 40px; height: 40px; border-radius: 50%;
  background: rgba(37, 39, 35, .35); border: 1px solid rgba(244, 240, 231, .35); color: var(--ivory);
  display: grid; place-items: center; cursor: pointer; backdrop-filter: blur(6px);
}
.hero__sound[hidden] { display: none; }
.hero__sound .i-play { display: none; }
.hero__sound.is-paused .i-play { display: block; }
.hero__sound.is-paused .i-pause { display: none; }
.hero .reveal { transition-delay: calc(var(--i, 0) * 120ms); }

/* =========================================================
   SECTIONS
   ========================================================= */
.section { padding: clamp(80px, 12vw, 160px) 0; }
.section__head {
  display: grid; grid-template-columns: 1.3fr 1fr; gap: 40px; align-items: end;
  margin-bottom: clamp(40px, 6vw, 72px);
}
/* "NUVO / is for you." — the second line is sized so both lines are the same width */
.sundays__title { display: block; width: fit-content; line-height: .9; }
.sundays__big { display: block; font-size: 1.4em; text-transform: uppercase; letter-spacing: -.02em; }
.sundays__sub { display: block; font-size: .9em; margin-top: .06em; }
.sundays__info address { margin: 0 0 18px; color: var(--ink-soft); }
.sundays__info strong { color: var(--charcoal); font-family: var(--font-display); }

/* Image cards */
.cards { display: grid; gap: clamp(16px, 2vw, 28px); }
.cards--3 { grid-template-columns: repeat(3, 1fr); }
.card__link { display: block; text-decoration: none; }
.card__img { border-radius: var(--radius); overflow: hidden; aspect-ratio: 1; background: var(--cream); }
.card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.card__link:hover .card__img img { transform: scale(1.045); }
.card__body { padding: 18px 4px 0; }
/* Titles are baked into the card artwork, so this text is for SEO + screen readers only */
.card__body h3, .card__body p {
  position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap;
}
.card--dark .link-arrow { color: var(--sage); }

/* =========================================================
   VISION — blur to clear
   ========================================================= */
.vision { padding: clamp(100px, 14vw, 200px) 0 clamp(80px, 12vw, 160px); background: var(--white); }
.vision__title {
  font-weight: 900;
  font-size: clamp(2.5rem, 7vw, 7rem);
  line-height: .98; letter-spacing: -.04em;
  max-width: 15ch;
}
[data-blur-reveal] .w {
  display: inline-block;
  filter: blur(var(--b, 14px));
  opacity: var(--o, .12);
  transform: translateY(var(--y, 12px));
  will-change: filter, opacity, transform;
}
[data-blur-reveal] .w--accent { color: var(--forest); }
.vision__body {
  display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 7vw, 110px); align-items: center;
  margin-top: clamp(60px, 8vw, 110px);
}
.vision__copy p { font-size: clamp(1.05rem, 1.25vw, 1.18rem); color: var(--ink-soft); margin: 0 0 20px; max-width: 54ch; }
.vision__copy .vision__kicker { font-family: var(--font-serif); font-style: italic; font-size: clamp(1.5rem, 2.2vw, 2rem); line-height: 1.25; color: var(--charcoal); margin: 32px 0 34px; }
.vision__photos { position: relative; aspect-ratio: 1 / 1.05; }
.vision__photo { position: absolute; border-radius: var(--radius); overflow: hidden; box-shadow: 0 30px 60px rgba(37, 39, 35, .15); }
.vision__photo img { width: 100%; height: 100%; object-fit: cover; }
.vision__photo--a { top: 0; left: 0; width: 60%; aspect-ratio: 4 / 5; z-index: 1; }
.vision__photo--b { top: 9%; right: 0; width: 44%; aspect-ratio: 1; border: 8px solid var(--white); z-index: 2; }
.vision__photo--c { bottom: 0; right: 10%; width: 52%; aspect-ratio: 5 / 4; border: 8px solid var(--white); z-index: 3; }

/* =========================================================
   UPCOMING EVENTS
   ========================================================= */
.events { background: var(--cream); }
.events__head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px 32px; margin-bottom: clamp(32px, 4vw, 52px); }
/* Events scroll sideways: three across on computers, the next one peeking in on smaller screens */
.events__grid {
  --gap: clamp(14px, 1.6vw, 22px);
  display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 2 * var(--gap)) / 3); gap: var(--gap);
  overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scroll-behavior: smooth;
  padding: 4px 0 28px; margin-bottom: -28px; scroll-padding: 0;
  scrollbar-width: none;
}
.events__grid::-webkit-scrollbar { display: none; }
.events__grid:focus-visible { outline: 2px solid var(--forest); outline-offset: 6px; border-radius: var(--radius); }
.events__grid > .event { scroll-snap-align: start; }
.js .events__grid .reveal { opacity: 1; transform: none; }
.events__tools { display: flex; align-items: center; gap: 22px; }
.events__arrows { display: flex; gap: 8px; }
.events__arrows[hidden] { display: none; }
.events__arrow {
  width: 48px; height: 48px; border-radius: 50%; cursor: pointer; display: grid; place-items: center;
  border: 1.5px solid var(--stone); background: transparent; color: var(--charcoal);
  transition: background .25s, color .25s, border-color .25s, opacity .25s;
}
.events__arrow svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.events__arrow:hover:not(:disabled) { background: var(--charcoal); border-color: var(--charcoal); color: var(--ivory); }
.events__arrow:disabled { opacity: .35; cursor: default; }
.event {
  position: relative;
  display: flex; flex-direction: column;
  min-height: clamp(300px, 30vw, 430px);
  padding: clamp(26px, 2.6vw, 40px);
  background: var(--ivory);
  border: 1px solid var(--stone); border-radius: var(--radius);
  transition: background .35s, box-shadow .35s, border-color .35s;
}
.event:hover { background: var(--white); border-color: var(--sage); box-shadow: 0 20px 40px rgba(37, 39, 35, .08); }
.event__date { margin: 0; font-family: var(--font-display); font-weight: 700; font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: var(--forest); }
.event__title { margin-top: clamp(28px, 3.4vw, 44px); font-weight: 900; font-size: clamp(1.9rem, 2.8vw, 2.7rem); line-height: .98; letter-spacing: -.03em; max-width: 11ch; }
.event__blurb { margin: 16px 0 0; color: var(--ink-soft); font-size: 16px; line-height: 1.55; max-width: 34ch; }
.event__link { margin-top: auto; padding-top: 28px; }
.event__link::after { content: ""; position: absolute; inset: 0; border-radius: inherit; } /* whole card clickable */

/* =========================================================
   CONNECT (dark)
   ========================================================= */
.connect { background: var(--charcoal); color: var(--ivory); }

/* =========================================================
   STORIES
   ========================================================= */
.stories { background: var(--ivory); }
.stories__head { text-align: center; margin-bottom: clamp(36px, 5vw, 60px); }
.stories__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; max-width: 1100px; margin: 0 auto; }
.story {
  position: relative; display: block; width: 100%;
  aspect-ratio: 1; padding: 0; border: 0; cursor: pointer;
  border-radius: 10px; overflow: hidden; background: var(--charcoal);
}
.story img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  filter: grayscale(1) contrast(1.05);
  transition: filter .6s, transform 1s var(--ease);
}
.story img.is-hq { transform: scale(1.34); }   /* crops YouTube's black bars */
.story:hover img { filter: grayscale(0); transform: scale(1.05); }
.story:hover img.is-hq { transform: scale(1.4); }
.story__overlay {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(0deg, rgba(37, 39, 35, .6), rgba(37, 39, 35, 0) 55%);
  color: var(--ivory);
}
.story__play {
  width: 64px; height: 64px; border-radius: 50%;
  background: var(--forest); color: var(--white);
  display: grid; place-items: center;
  opacity: 0; transform: scale(.8);
  transition: opacity .3s, transform .4s var(--ease);
}
.story__name {
  position: absolute; left: 20px; right: 20px; bottom: 18px; text-align: left;
  font-family: var(--font-serif); font-style: italic; font-size: clamp(1.3rem, 2vw, 1.8rem); line-height: 1.05;
}
.story:hover .story__play, .story:focus-visible .story__play { opacity: 1; transform: none; }
.stories__more { text-align: center; margin-top: 36px; }
@media (hover: none) { .story__play { display: none; } }

.lightbox {
  position: fixed; inset: 0; z-index: 150;
  background: rgba(25, 27, 24, .94);
  display: grid; place-items: center; padding: 72px var(--gutter) 32px;
}
.lightbox[hidden] { display: none; }
.lightbox__frame { width: min(1120px, 100%); aspect-ratio: 16 / 9; max-height: 80vh; background: #000; border-radius: 14px; overflow: hidden; }
.lightbox__frame iframe { width: 100%; height: 100%; border: 0; display: block; }
.lightbox__close {
  position: absolute; top: 16px; right: var(--gutter);
  width: 52px; height: 52px; border-radius: 50%; border: 0; cursor: pointer;
  background: var(--ivory); color: var(--charcoal); display: grid; place-items: center;
}
.lightbox__close:hover { background: var(--sage); }

/* =========================================================
   PASTOR
   ========================================================= */
.pastor__grid { display: grid; grid-template-columns: 1.15fr 1fr; gap: clamp(40px, 7vw, 110px); align-items: center; }
.pastor__photos { position: relative; padding-bottom: 22%; }
.pastor__photo { border-radius: var(--radius); overflow: hidden; box-shadow: 0 30px 60px rgba(37, 39, 35, .15); }
.pastor__photo img { width: 100%; }
.pastor__photo--a { width: 86%; }
.pastor__photo--b { position: absolute; right: 0; bottom: 0; width: 50%; border: 8px solid var(--ivory); }
.pastor__copy h2 { margin-bottom: 26px; }
.pastor__copy p { color: var(--ink-soft); margin: 0 0 18px; max-width: 48ch; }
.pastor__copy .link-arrow { margin-top: 12px; }

/* =========================================================
   LATEST MESSAGE
   ========================================================= */
.message { background: var(--cream); }
.message__frame { position: relative; aspect-ratio: 16 / 9; border-radius: var(--radius); overflow: hidden; background: var(--charcoal); }
.message__frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.message__load { position: absolute; inset: 0; border: 0; padding: 0; cursor: pointer; background: none; color: var(--ivory); }
.message__load img { width: 100%; height: 100%; object-fit: cover; filter: brightness(.62); transition: transform 1s var(--ease), filter .5s; }
.message__load:hover img { transform: scale(1.03); filter: brightness(.5); }
.message__play {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  width: 96px; height: 96px; border-radius: 50%; background: var(--forest); color: var(--white);
  display: grid; place-items: center; transition: transform .4s var(--ease), background .3s;
}
.message__load:hover .message__play { transform: translate(-50%, -50%) scale(1.08); background: var(--forest-dark); }
.message__label { position: absolute; left: 28px; bottom: 24px; font-family: var(--font-display); font-weight: 700; letter-spacing: .08em; text-transform: uppercase; font-size: 13px; }
.message__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 28px; margin-top: 32px; }

/* =========================================================
   PRAYER + GIVE
   ========================================================= */
.duo { padding-top: clamp(80px, 10vw, 130px); }
.duo__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(16px, 2vw, 28px); }
.duo__card { position: relative; overflow: hidden; border-radius: var(--radius); min-height: 560px; display: flex; align-items: flex-end; }
.duo__content { position: relative; padding: clamp(28px, 4vw, 56px); }
.duo__content h2 { margin-bottom: 16px; }
.duo__content p:not(.eyebrow) { margin: 0 0 28px; max-width: 38ch; }
.duo__card--prayer { color: var(--ivory); background: var(--charcoal); }
.duo__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 25%; transition: transform 1.2s var(--ease); }
.duo__card--prayer::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(30, 33, 29, .95) 15%, rgba(30, 33, 29, .2) 70%); }
.duo__card--prayer .duo__content { z-index: 1; }
.duo__card--prayer:hover .duo__bg { transform: scale(1.04); }
.duo__card--prayer p:not(.eyebrow) { color: rgba(244, 240, 231, .85); }
.duo__card--give { background: var(--forest); color: var(--ivory); }
.duo__card--give .duo__content { z-index: 1; }
.duo__card--give p:not(.eyebrow) { color: rgba(244, 240, 231, .82); font-size: 1.08rem; }
.duo__card--give .display em { color: var(--sage); }
.give__ripples {
  position: absolute; top: 0; right: 0; width: 82%; height: auto;
  fill: none; stroke: var(--sage); stroke-width: 1.2;
}
.give__ripples circle { opacity: .5; transform-origin: 400px 0; animation: ripple 6s ease-in-out infinite; }
.give__ripples circle:nth-child(1) { opacity: .9; }
.give__ripples circle:nth-child(2) { opacity: .7; animation-delay: .4s; }
.give__ripples circle:nth-child(3) { opacity: .55; animation-delay: .8s; }
.give__ripples circle:nth-child(4) { opacity: .4; animation-delay: 1.2s; }
.give__ripples circle:nth-child(5) { opacity: .28; animation-delay: 1.6s; }
.give__ripples circle:nth-child(6) { opacity: .18; animation-delay: 2s; }
@keyframes ripple { 50% { transform: scale(1.06); } }
.duo__card--give:hover .give__ripples circle { animation-duration: 3s; }

/* =========================================================
   TESTIMONIALS (home)
   ========================================================= */
.testi { background: var(--cream); }
.testi__title { text-align: center; margin-bottom: clamp(36px, 5vw, 64px); }
.testi__slider { overflow: hidden; }
.testi__track { display: flex; transition: transform .9s var(--ease); }
.tslide {
  flex: 0 0 100%; margin: 0;
  display: grid; grid-template-columns: minmax(0, 380px) 1fr; gap: clamp(28px, 5vw, 80px); align-items: center;
}
.tslide img { width: 100%; aspect-ratio: 1; object-fit: cover; object-position: center 25%; border-radius: var(--radius); }
.tslide blockquote {
  margin: 0 0 28px; font-family: var(--font-serif); font-style: italic; font-weight: 400;
  font-size: clamp(1.7rem, 3vw, 2.8rem); line-height: 1.18; letter-spacing: -.01em; color: var(--charcoal);
}
.tslide figcaption { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 16px; }
.tslide figcaption strong { font-family: var(--font-display); font-weight: 900; font-size: 1.5rem; letter-spacing: -.02em; }
.tslide figcaption span { font-family: var(--font-display); font-weight: 700; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: var(--forest); }
.testi__dots { display: flex; justify-content: center; gap: 10px; margin-top: clamp(30px, 4vw, 48px); }
.testi__dots button { width: 12px; height: 12px; border-radius: 999px; border: 0; padding: 0; cursor: pointer; background: var(--stone); transition: width .4s var(--ease), background .3s; }
.testi__dots button[aria-selected="true"] { width: 36px; background: var(--forest); }
@media (max-width: 760px) {
  .tslide { grid-template-columns: 1fr; }
  .tslide img { max-width: 260px; }
}

/* =========================================================
   CONTACT CARD (staff contact on inner pages)
   ========================================================= */
.contact { padding-bottom: 0; }
.contact__card { display: grid; grid-template-columns: minmax(0, 360px) 1fr; gap: clamp(28px, 5vw, 64px); align-items: center; background: var(--cream); border-radius: var(--radius); padding: clamp(22px, 3vw, 40px); }
.contact__card img { width: 100%; aspect-ratio: 1; object-fit: cover; object-position: center 30%; border-radius: 50%; }
.contact__card h2 { margin-bottom: 6px; }
.contact__role { font-family: var(--font-display); font-weight: 700; color: var(--forest); margin: 0 0 14px; }
.contact__card p:not(.eyebrow):not(.contact__role) { color: var(--ink-soft); max-width: 52ch; margin: 0 0 24px; }
@media (max-width: 1000px) { .contact__card { grid-template-columns: 1fr; } .contact__card img { max-width: 220px; } }

/* =========================================================
   CLOSING
   ========================================================= */
.closing { padding: clamp(100px, 14vw, 200px) 0; text-align: center; }
.closing .container { display: flex; flex-direction: column; align-items: center; }
.closing__title {
  font-weight: 900;
  font-size: clamp(2.8rem, 8vw, 8rem);
  line-height: .95; letter-spacing: -.04em;
  max-width: 12ch; margin-bottom: 40px;
}
.closing__actions { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 28px; }

/* =========================================================
   FOOTER + custom social icons
   ========================================================= */
.footer { background: var(--charcoal); color: var(--ivory); padding: clamp(64px, 8vw, 110px) 0 28px; overflow: hidden; }
.footer__top { display: grid; grid-template-columns: .9fr 2fr; gap: 48px; }
.footer__brand img { width: 230px; margin-bottom: 22px; }
.footer__brand p { color: rgba(244, 240, 231, .7); margin: 0 0 26px; max-width: 32ch; }
.footer__cols { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; }
.footer h3 { font-size: 13px; letter-spacing: .16em; text-transform: uppercase; color: var(--sage); margin-bottom: 16px; }
.footer__cols p { margin: 0; color: rgba(244, 240, 231, .78); }
.footer ul { list-style: none; margin: 0; padding: 0; }
.footer__cols li { margin-bottom: 8px; }
.footer__cols a { text-decoration: none; color: rgba(244, 240, 231, .78); transition: color .2s; }
.footer__cols a:hover { color: var(--sage); }
.footer__cols .footer__areas { margin-top: 14px; }
.footer__cols .footer__areas a { color: var(--sage); font-weight: 600; }

.social { display: flex; gap: 12px; }
.social a { display: block; width: 48px; height: 48px; transition: transform .35s var(--ease); }
.social a:hover { transform: translateY(-3px) rotate(-4deg); }
.social svg { width: 100%; height: 100%; }
.social .s-bg { fill: var(--ivory); transition: fill .3s; }
.social .s-fg { stroke: var(--charcoal); transition: stroke .3s; }
.social .s-dot { fill: var(--forest); transition: fill .3s; }
.social a:hover .s-bg { fill: var(--forest); }
.social a:hover .s-fg { stroke: var(--ivory); }
.social a:hover .s-dot { fill: var(--sage); }

.footer__wordmark {
  font-family: var(--font-display); font-weight: 900;
  font-size: clamp(7rem, 30vw, 26rem); line-height: .8; letter-spacing: -.06em;
  color: transparent; -webkit-text-stroke: 1.5px rgba(167, 185, 161, .38);
  margin: clamp(48px, 7vw, 90px) 0 28px; text-align: center; user-select: none;
}
.footer__bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; border-top: 1px solid rgba(244, 240, 231, .14); padding-top: 22px; font-size: 14px; color: rgba(244, 240, 231, .6); }
.footer__bottom p { margin: 0; }
.footer__bottom a { text-decoration: none; }
.footer__bottom a:hover { color: var(--sage); }

/* =========================================================
   SCROLL REVEAL
   ========================================================= */
.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.js .reveal.is-in { opacity: 1; transform: none; }

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 1000px) {
  .nav__menu, .nav__visit { display: none; }
  .nav__row { grid-template-columns: 1fr auto; padding: 0 9px 0 20px; height: 62px; }
  .nav__burger {
    display: grid; place-content: center; gap: 6px; justify-self: end;
    width: 44px; height: 44px; border-radius: 50%; border: 0; cursor: pointer;
    background: rgba(37, 39, 35, .08);
  }
  .nav__burger span { display: block; width: 18px; height: 2px; background: currentColor; border-radius: 2px; }
  .nav__circle { width: 60px; height: 60px; margin-left: -30px; }
  .nav__circle span { font-size: 26px; }
  .nav.is-condensed .nav__shell { width: 60px; }
  .section__head, .vision__body, .pastor__grid, .footer__top { grid-template-columns: 1fr; }
  .events__grid { grid-auto-columns: calc((100% - var(--gap)) / 2.15); margin-inline: calc(-1 * var(--gutter)); padding-inline: var(--gutter); scroll-padding-inline: var(--gutter); }
  .event { min-height: 0; }
  .event__title { margin-top: 26px; }
}
@media (max-width: 760px) {
  body { font-size: 16px; }
  .nav { top: 12px; }
  .nav__brand { width: 138px; }
  .cards--3 { grid-template-columns: 1fr; }
  .stories__grid { grid-template-columns: repeat(2, 1fr); gap: 4px; }
  .duo__grid { grid-template-columns: 1fr; }
  .duo__card { min-height: 480px; }
  .hero__scroll { display: none; }
  .hero__actions .btn { flex: 1 1 auto; }
  .footer__cols { grid-template-columns: 1fr 1fr; }
  .footer__cols > div:first-child { grid-column: 1 / -1; }
  .message__play { width: 72px; height: 72px; }
  .menu__inner { grid-template-columns: 1fr; padding-top: 88px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  [data-blur-reveal] .w { filter: none !important; opacity: 1 !important; transform: none !important; }
}
.nowrap { white-space: nowrap; }

/* Testimonials: more compact */
.testi.section { padding: clamp(60px, 7vw, 96px) 0; }
.testi__title { font-size: clamp(2.2rem, 4.2vw, 3.6rem); margin-bottom: clamp(24px, 3vw, 40px); }
.testi__slider { max-width: 1000px; margin: 0 auto; }
.tslide { grid-template-columns: minmax(0, 240px) 1fr; gap: clamp(22px, 3.5vw, 48px); }
.tslide blockquote { font-size: clamp(1.25rem, 1.9vw, 1.75rem); line-height: 1.25; margin-bottom: 16px; }
.tslide figcaption strong { font-size: 1.15rem; }
.testi__dots { margin-top: clamp(20px, 2.6vw, 32px); }
@media (max-width: 760px) {
  .tslide { grid-template-columns: 1fr; gap: 16px; align-content: start; }
  .tslide img { width: 112px; max-width: none; border-radius: 50%; }
  .tslide blockquote { font-size: 1.15rem; line-height: 1.3; }
}

/* =========================================================
   PHONE + TABLET NAV (≤1000px) — glass "N" circle -> frosted menu
   ========================================================= */
@media (max-width: 1000px) {
  .nav { top: 14px; }
  .nav.menu-open { z-index: 95; }
  .nav.menu-open .nav__circle { transform: none; }

  .menu {
    background: rgba(244, 240, 231, .62);
    backdrop-filter: blur(26px) saturate(1.3); -webkit-backdrop-filter: blur(26px) saturate(1.3);
    color: var(--charcoal);
    clip-path: circle(0 at 50% 44px);
  }
  .menu.is-open { clip-path: circle(150% at 50% 44px); }
  .menu__close { display: none; }
  .menu__inner { display: block; max-width: none; padding: 0; min-height: 100%; }

  .mnav {
    min-height: 100vh; min-height: 100dvh;
    display: flex; flex-direction: column; align-items: center; text-align: center;
    padding: 128px var(--gutter) 36px;
  }
  .mnav__cats { display: flex; flex-direction: column; align-items: center; gap: 2px; }
  .mnav__cat {
    font-family: var(--font-display); font-weight: 900; text-transform: uppercase;
    font-size: clamp(1.9rem, 8.6vw, 3rem); line-height: 1.16; letter-spacing: -.01em;
    color: var(--charcoal); text-decoration: none;
    background: none; border: 0; padding: 2px 10px; cursor: pointer;
    transition: opacity .35s, color .25s;
    opacity: 0; transform: translateY(14px);
  }
  .menu.is-open .mnav__cat { opacity: 1; transform: none; transition: opacity .5s, transform .6s var(--ease), color .25s; }
  .menu.is-open .mnav__cat:nth-child(1) { transition-delay: .15s; }
  .menu.is-open .mnav__cat:nth-child(2) { transition-delay: .21s; }
  .menu.is-open .mnav__cat:nth-child(3) { transition-delay: .27s; }
  .menu.is-open .mnav__cat:nth-child(4) { transition-delay: .33s; }
  .menu.is-open .mnav__cat:nth-child(5) { transition-delay: .39s; }
  .mnav.has-active .mnav__cat { opacity: .38; transition-delay: 0s; }
  .mnav.has-active .mnav__cat.is-active { opacity: 1; color: var(--forest); }

  .mnav__subs { margin-top: 34px; }
  .mnav__sub { display: none; flex-direction: column; align-items: center; gap: 16px; }
  .mnav__sub.is-active { display: flex; }
  .mnav__sub a {
    font-family: var(--font-display); font-weight: 700; text-transform: uppercase;
    font-size: 1.08rem; letter-spacing: .08em; color: var(--charcoal); text-decoration: none;
    animation: mnavIn .45s var(--ease) both;
  }
  .mnav__sub a:hover { color: var(--forest); }
  .mnav__sub a:nth-child(2) { animation-delay: .05s; }
  .mnav__sub a:nth-child(3) { animation-delay: .1s; }
  .mnav__sub a:nth-child(4) { animation-delay: .15s; }
  .mnav__sub a:nth-child(5) { animation-delay: .2s; }
  .mnav__sub a:nth-child(6) { animation-delay: .25s; }

  .mnav .menu__foot {
    margin-top: auto; padding-top: 40px; border-top: 0;
    flex-direction: column; justify-content: center; text-align: center; gap: 16px;
  }
  .mnav .menu__foot p { color: var(--ink-soft); font-size: 15px; }
  .mnav .menu__foot strong { color: var(--charcoal); }
}
@keyframes mnavIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

/* =========================================================
   MESSAGE CLIPS (YouTube Shorts) — under the latest message
   ========================================================= */
.message { padding-bottom: clamp(48px, 6vw, 80px); }
.clips { background: var(--cream); padding-top: 0; }
.clips__head { text-align: center; max-width: 620px; margin: 0 auto clamp(26px, 3.5vw, 40px); padding-top: clamp(36px, 5vw, 56px); border-top: 1px solid var(--line); }
.clips__title { font-weight: 900; font-size: clamp(1.9rem, 3.4vw, 2.8rem); letter-spacing: -.03em; line-height: 1; margin: 0 0 10px; }
.clips__title em { font-family: var(--font-serif); font-weight: 400; font-style: italic; letter-spacing: -.01em; color: var(--forest); }
.clips__lede { color: var(--ink-soft); margin: 0; }
.clips__row { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(14px, 2vw, 24px); max-width: 780px; margin: 0 auto; }
.js .clips__row { opacity: 0; transition: opacity .5s ease; }
.js .clips__row.is-ready { opacity: 1; }
.clip { background: none; border: 0; padding: 0; cursor: pointer; text-align: left; color: inherit; font: inherit; display: flex; flex-direction: column; justify-content: flex-start; align-self: start; }
.clip__media { position: relative; display: block; aspect-ratio: 9 / 16; border-radius: 18px; overflow: hidden; background: var(--charcoal); box-shadow: 0 16px 34px rgba(37, 39, 35, .14); }
.clip__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.clip__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(12, 11, 10, .35), rgba(12, 11, 10, 0) 40%); }
.clip:hover .clip__media img, .clip:focus-visible .clip__media img { transform: scale(1.04); }
.clip__play {
  position: absolute; z-index: 1; left: 14px; bottom: 14px; width: 40px; height: 40px; border-radius: 50%;
  display: grid; place-items: center; background: rgba(251, 249, 244, .92); color: var(--charcoal);
  transition: background .25s, color .25s, transform .3s var(--ease);
}
.clip__play svg { margin-left: 2px; }
.clip:hover .clip__play, .clip:focus-visible .clip__play { background: var(--forest); color: var(--white); transform: scale(1.08); }
.clip__title {
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
  margin-top: 12px; font-family: var(--font-display); font-weight: 700; font-size: 15px; line-height: 1.3; color: var(--charcoal);
}
.clip__title:empty { display: none; }
/* vertical player for clips */
.lightbox--vertical .lightbox__frame { width: auto; height: min(80vh, 760px); aspect-ratio: 9 / 16; max-width: 100%; }
@media (max-width: 760px) {
  .clips__row {
    grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 46%;
    overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none;
    margin: 0 calc(var(--gutter) * -1); padding: 4px var(--gutter) 14px; scroll-padding-left: var(--gutter);
  }
  .clips__row::-webkit-scrollbar { display: none; }
  .clip { scroll-snap-align: start; }
  .clip__title { -webkit-line-clamp: 3; font-size: 14.5px; }
}

/* =========================================================
   SITE SEARCH — nav button + full-screen frosted search
   (overlay is built by /assets/js/search.js)
   ========================================================= */
.nav__end { justify-self: end; display: flex; align-items: center; gap: 6px; }
.nav__search {
  width: 46px; height: 46px; border-radius: 50%; border: 0; padding: 0; cursor: pointer;
  display: grid; place-items: center; background: transparent; color: var(--charcoal);
  transition: background .25s, color .25s;
}
.nav__search:hover, .nav__search:focus-visible { background: rgba(251, 249, 244, .7); color: var(--forest); }
.nav__search svg, .mnav__search svg { width: 21px; height: 21px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }

.mnav__search {
  display: flex; align-items: center; gap: 12px;
  width: min(420px, 100%); margin: 0 auto 34px; padding: 15px 20px;
  border-radius: 999px; border: 1px solid rgba(37, 39, 35, .14);
  background: rgba(251, 249, 244, .7); color: var(--muted);
  font-family: var(--font-body); font-size: 16px; text-align: left; cursor: pointer;
  opacity: 0; transform: translateY(14px);
}
.menu.is-open .mnav__search { opacity: 1; transform: none; transition: opacity .5s .1s, transform .6s .1s var(--ease); }
.mnav__search svg { color: var(--charcoal); flex: none; }

.srch {
  position: fixed; inset: 0; z-index: 120;
  background: rgba(244, 240, 231, .9);
  backdrop-filter: blur(26px) saturate(1.3); -webkit-backdrop-filter: blur(26px) saturate(1.3);
  overflow-y: auto; overscroll-behavior: contain;
  opacity: 0; transition: opacity .25s ease;
}
.srch.is-open { opacity: 1; }
.srch[hidden] { display: none; }
.srch__inner { padding-top: clamp(28px, 6vh, 64px); padding-bottom: 64px; max-width: 1040px; }
.srch__top { display: flex; align-items: center; justify-content: space-between; margin-bottom: clamp(18px, 3vh, 30px); }
.srch__top .eyebrow { margin: 0; }
.srch__close {
  width: 52px; height: 52px; border-radius: 50%; border: 1px solid rgba(37, 39, 35, .14); cursor: pointer;
  display: grid; place-items: center; background: var(--white); color: var(--charcoal);
  transition: background .25s, color .25s, transform .3s var(--ease);
}
.srch__close:hover { background: var(--charcoal); color: var(--ivory); transform: rotate(90deg); }
.srch__close svg, .srch__clear svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }

.srch__form {
  position: relative; display: flex; align-items: center; gap: clamp(10px, 1.6vw, 18px);
  border-bottom: 2px solid var(--charcoal); padding-bottom: 12px;
  transform: translateY(12px); transition: transform .5s var(--ease), border-color .25s;
}
.srch.is-open .srch__form { transform: none; }
.srch__form:focus-within { border-color: var(--forest); }
.srch__icon { width: clamp(26px, 3.4vw, 40px); height: clamp(26px, 3.4vw, 40px); flex: none; fill: none; stroke: var(--charcoal); stroke-width: 2.2; stroke-linecap: round; }
.srch__input {
  flex: 1; min-width: 0; border: 0; outline: 0; background: transparent; padding: 0;
  font-family: var(--font-display); font-weight: 900; letter-spacing: -.03em; color: var(--charcoal);
  font-size: clamp(1.7rem, 5vw, 3.6rem); line-height: 1.15;
}
.srch__input::placeholder { color: rgba(37, 39, 35, .28); }
.srch__input::-webkit-search-cancel-button, .srch__input::-webkit-search-decoration { -webkit-appearance: none; appearance: none; }
.srch__clear {
  flex: none; width: 40px; height: 40px; border-radius: 50%; border: 0; cursor: pointer;
  display: grid; place-items: center; background: rgba(37, 39, 35, .07); color: var(--charcoal);
}
.srch__clear:hover { background: rgba(37, 39, 35, .14); }
.srch__clear[hidden] { display: none; }

.srch__status { margin: 16px 0 0; min-height: 1.4em; color: var(--muted); font-size: 15px; }
.srch__status a { color: var(--forest); font-weight: 600; }
.srch__try { border: 0; background: none; padding: 0; font: inherit; font-weight: 600; color: var(--forest); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }

.srch__list { margin-top: 6px; }
.srch__hit {
  display: grid; grid-template-columns: 1fr auto; column-gap: 20px; align-items: center;
  padding: 18px 20px; margin: 0 -20px; border-radius: 18px;
  color: var(--charcoal); text-decoration: none;
  animation: mnavIn .4s var(--ease) both;
}
.srch__hit:nth-child(2) { animation-delay: .03s; } .srch__hit:nth-child(3) { animation-delay: .06s; }
.srch__hit:nth-child(4) { animation-delay: .09s; } .srch__hit:nth-child(5) { animation-delay: .12s; }
.srch__hit { position: relative; }
.srch__hit + .srch__hit::before { content: ""; position: absolute; top: 0; left: 20px; right: 20px; height: 1px; background: var(--line); }
.srch__hit.is-active::before, .srch__hit.is-active + .srch__hit::before { opacity: 0; }
.srch__hit.is-active, .srch__hit:focus-visible { background: var(--white); box-shadow: 0 10px 30px rgba(37, 39, 35, .08); outline: 0; }
.srch__type { grid-column: 1; font-family: var(--font-display); font-weight: 700; font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.srch__t { grid-column: 1; margin-top: 4px; font-family: var(--font-display); font-weight: 800; font-size: clamp(1.2rem, 1.9vw, 1.45rem); letter-spacing: -.02em; line-height: 1.2; }
.srch__s { grid-column: 1; margin-top: 4px; color: var(--ink-soft); font-size: 15px; line-height: 1.5; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.srch__go { grid-column: 2; grid-row: 1 / span 3; width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; background: transparent; transition: background .25s, color .25s, transform .3s var(--ease); }
.srch__go svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.srch__hit.is-active .srch__go { background: var(--forest); color: var(--white); transform: translateX(3px); }
.srch mark { background: none; color: var(--forest); font-weight: inherit; box-shadow: inset 0 -.12em 0 rgba(65, 107, 80, .22); }
.srch__s mark { font-weight: 600; }

.srch__sugg { margin-top: clamp(26px, 5vh, 48px); }
.srch__sugg[hidden] { display: none; }
.srch__label { margin: 0 0 14px; font-family: var(--font-display); font-weight: 700; font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.srch__grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 4px clamp(16px, 2.4vw, 32px); }
.srch__grid a {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  padding: 13px 0; border-bottom: 1px solid var(--line);
  font-family: var(--font-display); font-weight: 800; font-size: clamp(1.02rem, 1.4vw, 1.15rem); letter-spacing: -.01em;
  color: var(--charcoal); text-decoration: none; transition: color .2s;
}
.srch__grid a svg { width: 18px; height: 18px; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; opacity: .35; transition: transform .3s var(--ease), opacity .2s; }
.srch__grid a:hover, .srch__grid a:focus-visible { color: var(--forest); }
.srch__grid a:hover svg, .srch__grid a:focus-visible svg { opacity: 1; transform: translateX(4px); }

@media (max-width: 1000px) {
  .nav__end { display: none; }
  .srch__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 560px) {
  .srch__inner { padding-top: 20px; }
  .srch__close { width: 46px; height: 46px; }
  .srch__hit { padding: 15px 14px; margin: 0 -14px; column-gap: 12px; }
  .srch__hit + .srch__hit::before { left: 14px; right: 14px; }
  .srch__go { width: 34px; height: 34px; }
}
@media (prefers-reduced-motion: reduce) {
  .srch, .srch__form, .srch__hit { transition: none; animation: none; transform: none; }
}
@media (max-width: 640px) {
  .events__grid { grid-auto-columns: 84%; }
  .events__arrows { display: none; }
}

/* ---------- "Read the follow-up" buttons on the Messages pages + home ---------- */
.mfollow {
  display: inline-flex; align-items: center; gap: 10px; margin-top: 14px; padding: 12px 18px 12px 14px;
  border-radius: 999px; background: var(--forest); color: var(--white); text-decoration: none;
  font-family: var(--font-display); font-weight: 800; font-size: 14.5px; line-height: 1.2;
  transition: background .25s;
}
.mfollow:hover { background: var(--forest-dark); }
.mfollow[hidden] { display: none; }
.message__actions .mfollow { margin-top: 0; }
.mfollows { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 14px; }
.mfollows .mfollow { margin-top: 0; }
.mfollow--alt { background: transparent; color: var(--forest); box-shadow: inset 0 0 0 1.5px var(--forest); }
.mfollow--alt:hover { background: var(--forest); color: var(--white); }
.mfollow--alt .mfollow__ico { background: rgba(65, 107, 80, .12); }
.mfollow--alt:hover .mfollow__ico { background: rgba(251, 249, 244, .16); }
.mfollow__ico { flex: none; width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: rgba(251, 249, 244, .16); }
.mfollow svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.mfollow__go { transition: transform .3s var(--ease); }
.mfollow:hover .mfollow__go { transform: translateX(3px); }

/* =========================================================
   WEEKLY EMAIL SIGN-UP (top of the footer; built by main.js)
   ========================================================= */
.signup {
  display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(22px, 4vw, 56px); align-items: center;
  margin-bottom: clamp(48px, 6vw, 80px); padding: clamp(26px, 3.6vw, 48px);
  border-radius: var(--radius); background: rgba(244, 240, 231, .06); border: 1px solid rgba(244, 240, 231, .12);
}
.signup__k { margin: 0 0 8px; font-family: var(--font-display); font-weight: 700; font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--sage); }
.signup__t { margin: 0; font-family: var(--font-display); font-weight: 900; font-size: clamp(2rem, 3.6vw, 2.9rem); line-height: 1; letter-spacing: -.035em; color: var(--ivory); }
.signup__t em { font-family: var(--font-serif); font-weight: 400; font-style: italic; letter-spacing: -.01em; color: var(--sage); }
.signup__d { margin: 12px 0 0; color: rgba(244, 240, 231, .72); max-width: 42ch; }
.signup__form { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 10px; align-items: end; }
.signup__form .signup__field:nth-of-type(3) { grid-column: 1; }
.signup__btn { justify-self: stretch; }
.signup__field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.signup__field span { font-family: var(--font-display); font-weight: 700; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: rgba(244, 240, 231, .6); }
.signup__field input {
  width: 100%; height: 52px; padding: 0 18px; border-radius: 999px; border: 1.5px solid rgba(244, 240, 231, .2);
  background: rgba(244, 240, 231, .06); color: var(--ivory); font: inherit; font-size: 16px; transition: border-color .2s, background .2s;
}
.signup__field input::placeholder { color: rgba(244, 240, 231, .38); }
.signup__field input:focus { outline: 0; border-color: var(--sage); background: rgba(244, 240, 231, .1); }
.signup__btn {
  height: 52px; padding: 0 24px; border: 0; border-radius: 999px; cursor: pointer; white-space: nowrap;
  background: var(--sage); color: var(--charcoal); font-family: var(--font-display); font-weight: 800; font-size: 15px; transition: background .2s, transform .2s;
}
.signup__btn:hover { background: var(--ivory); }
.signup__btn:disabled { opacity: .7; cursor: default; }
.signup__hp { position: absolute; left: -5000px; }
.signup__msg { grid-column: 1 / -1; margin: 2px 0 0; min-height: 1.3em; font-size: 14.5px; color: rgba(244, 240, 231, .75); }
.signup__msg.is-ok { color: var(--sage); font-weight: 600; }
.signup__msg.is-err { color: #F2B8A8; }
@media (max-width: 900px) {
  .signup { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .signup__form { grid-template-columns: 1fr; }
  .signup__btn { width: 100%; }
}

/* =========================================================
   CHRISTMAS BAR (bottom of every page; built by main.js)
   ========================================================= */
.xbar {
  position: fixed; z-index: 80; left: 0; right: 0; bottom: 0;
  display: flex; align-items: center; gap: 8px;
  padding: 14px clamp(16px, 3vw, 40px) calc(14px + env(safe-area-inset-bottom));
  background: #293B2B; color: #E9E6DD;
  border-radius: 22px 22px 0 0;
  box-shadow: 0 -10px 34px rgba(20, 30, 22, .28);
  transform: translateY(110%); transition: transform .55s cubic-bezier(.2, .8, .2, 1);
}
.xbar.is-up { transform: none; }
.xbar::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  background: radial-gradient(60% 140% at 12% 50%, rgba(232, 190, 92, .16), transparent 70%);
}
.xbar__link {
  position: relative; flex: 1; min-width: 0; display: flex; align-items: center; gap: clamp(16px, 3vw, 40px);
  color: inherit; text-decoration: none;
}
.xbar__logo { height: 50px; width: auto; display: block; flex-shrink: 0; }
.xbar__info {
  font-family: var(--font-display); font-weight: 600; font-size: 1rem; line-height: 1.35;
  color: rgba(233, 230, 221, .88); min-width: 0;
}
.xbar__br { display: none; }
.xbar__btn {
  margin-left: auto; flex-shrink: 0; display: inline-flex; align-items: center;
  padding: 14px 26px; border-radius: 999px;
  background: #E9E6DD; color: #293B2B;
  font-family: var(--font-display); font-weight: 800; font-size: .9rem; letter-spacing: .08em; text-transform: uppercase;
  transition: background .2s, transform .2s;
}
.xbar__link:hover .xbar__btn, .xbar__link:focus-visible .xbar__btn { background: #E8C46A; transform: translateY(-1px); }
.xbar__close {
  position: relative; flex-shrink: 0; width: 42px; height: 42px; border: 0; border-radius: 50%;
  display: grid; place-items: center; background: transparent; color: #E9E6DD; cursor: pointer;
}
.xbar__close:hover { background: rgba(233, 230, 221, .12); }
body.has-xbar { padding-bottom: 92px; }
@media (max-width: 1000px) {
  .xbar__dot { display: none; }
  .xbar__br { display: inline; }
  .xbar__info { font-size: .9rem; }
}
@media (max-width: 760px) {
  .xbar { padding: 12px 8px calc(12px + env(safe-area-inset-bottom)) 16px; border-radius: 18px 18px 0 0; }
  .xbar__link { gap: 12px; }
  .xbar__info { display: none; }
  .xbar__logo { height: 40px; }
  .xbar__btn { padding: 12px 16px; font-size: .74rem; letter-spacing: .06em; }
  .xbar__close { width: 36px; height: 36px; }
  body.has-xbar { padding-bottom: 76px; }
}
@media (prefers-reduced-motion: reduce) { .xbar { transition: none; } }
@media print { .xbar { display: none; } }
